Contract 0xb3095c1C74737cCefc0a8D7D4b9Dfb7446D3415B

 

Contract Overview

Robust Protocol: RBT Reserve
Balance:
0 BNB

BNB Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x673a9356bb2f3f5fb45b9eae374611b2c67a354ed2e45ff798dad168929fc7360x6080604065525372021-04-14 7:34:52156 days 5 hrs agoRobust Protocol: Deployer IN  Contract Creation0 BNB0.003457
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
rbtReserve

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-14
*/

// SPDX-License-Identifier: MIT


/*

Robust Token (RBT) Reserve

Description:

RBT Reserve is owned by the RBT Timelock smart contract.

After launch, 50 000 RBT will be locked in this RBT Reserve.

Contract Ownership:
https://docs.robustprotocol.fi/contracts-ownership

website: https://robustprotocol.fi
contracts: https://docs.robustprotocol.fi/contracts
email: [email protected]
twitter: https://twitter.com/robustprotocol
telegram: https://t.me/robustprotocol
medium: https://medium.com/@robustprotocol
gitbook: https://docs.robustprotocol.fi

*/

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


/**
 * @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);
}


/**
 * @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);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}


/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @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, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * 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.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @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`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @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, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}



/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

    /**
     * @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);
}

interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @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.
     *
     * _Available since v3.1._
     */
    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 {_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 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 override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @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 override 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.
     */
    function grantRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");

        _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.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _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 granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

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

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}


contract rbtReserve is Context, AccessControl {

    using SafeERC20 for IERC20;

    bytes32 public constant WITHDRAWAL_ROLE = keccak256("WITHDRAWAL_ROLE");
	
	address public rbtTimelock;

    constructor(address _rbtTimelock)  {
		
		require(_rbtTimelock != address(0), "_rbtTimelock: Timelock cannot be a zero address");
		
		rbtTimelock = _rbtTimelock;
        
        _setupRole(WITHDRAWAL_ROLE, rbtTimelock);
		
        _setupRole(DEFAULT_ADMIN_ROLE, rbtTimelock);
        
    }

    function withdraw(IERC20 token, address recipient, uint256 amount) public {
        
        require(hasRole(WITHDRAWAL_ROLE, _msgSender()), "Error: must have withdrawal role to withdraw");
        
        token.safeTransfer(recipient, amount);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rbtTimelock","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"rbtTimelock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","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":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610c35380380610c3583398101604081905261002f91610189565b6001600160a01b03811661005e5760405162461bcd60e51b8152600401610055906101b7565b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383811691909117918290556100ab917f0744af9828f5bfd2e0f842fd62674fe7c160a394d457c33e1a56eeae3a44a9ef91166100c9565b6001546100c3906000906001600160a01b03166100c9565b50610206565b6100d382826100d7565b5050565b6100e1828261015c565b6100d3576000828152602081815260408083206001600160a01b03851684529091529020805460ff19166001179055610118610185565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b3390565b60006020828403121561019a578081fd5b81516001600160a01b03811681146101b0578182fd5b9392505050565b6020808252602f908201527f5f72627454696d656c6f636b3a2054696d656c6f636b2063616e6e6f7420626560408201526e2061207a65726f206164647265737360881b606082015260800190565b610a20806102156000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c806367db90c21161006657806367db90c21461012957806391d1485414610131578063a217fddf14610144578063d547741f1461014c578063d9caed121461015f5761009e565b806301ffc9a7146100a3578063248a9ca3146100cc5780632f2ff15d146100ec57806336568abe146101015780635a63f39e14610114575b600080fd5b6100b66100b13660046106a9565b610172565b6040516100c3919061075a565b60405180910390f35b6100df6100da366004610662565b61019d565b6040516100c39190610765565b6100ff6100fa36600461067a565b6101b2565b005b6100ff61010f36600461067a565b6101f9565b61011c61023b565b6040516100c3919061072d565b6100df61024a565b6100b661013f36600461067a565b61026e565b6100df610297565b6100ff61015a36600461067a565b61029c565b6100ff61016d3660046106d1565b6102c4565b60006001600160e01b03198216637965db0b60e01b1480610197575061019782610325565b92915050565b60009081526020819052604090206001015490565b6101c66101be8361019d565b61013f61033e565b6101eb5760405162461bcd60e51b81526004016101e2906107a1565b60405180910390fd5b6101f58282610342565b5050565b61020161033e565b6001600160a01b0316816001600160a01b0316146102315760405162461bcd60e51b81526004016101e290610953565b6101f582826103c7565b6001546001600160a01b031681565b7f0744af9828f5bfd2e0f842fd62674fe7c160a394d457c33e1a56eeae3a44a9ef81565b6000918252602082815260408084206001600160a01b0393909316845291905290205460ff1690565b600081565b6102a86101be8361019d565b6102315760405162461bcd60e51b81526004016101e290610836565b6102f07f0744af9828f5bfd2e0f842fd62674fe7c160a394d457c33e1a56eeae3a44a9ef61013f61033e565b61030c5760405162461bcd60e51b81526004016101e290610907565b6103206001600160a01b038416838361044a565b505050565b6001600160e01b031981166301ffc9a760e01b14919050565b3390565b61034c828261026e565b6101f5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916600117905561038361033e565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6103d1828261026e565b156101f5576000828152602081815260408083206001600160a01b03851684529091529020805460ff1916905561040661033e565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6103208363a9059cbb60e01b8484604051602401610469929190610741565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915260006104f0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661052a9092919063ffffffff16565b805190915015610320578080602001905181019061050e9190610642565b6103205760405162461bcd60e51b81526004016101e2906108bd565b60606105398484600085610543565b90505b9392505050565b6060824710156105655760405162461bcd60e51b81526004016101e2906107f0565b61056e85610603565b61058a5760405162461bcd60e51b81526004016101e290610886565b600080866001600160a01b031685876040516105a69190610711565b60006040518083038185875af1925050503d80600081146105e3576040519150601f19603f3d011682016040523d82523d6000602084013e6105e8565b606091505b50915091506105f8828286610609565b979650505050505050565b3b151590565b6060831561061857508161053c565b8251156106285782518084602001fd5b8160405162461bcd60e51b81526004016101e2919061076e565b600060208284031215610653578081fd5b8151801515811461053c578182fd5b600060208284031215610673578081fd5b5035919050565b6000806040838503121561068c578081fd5b82359150602083013561069e816109d2565b809150509250929050565b6000602082840312156106ba578081fd5b81356001600160e01b03198116811461053c578182fd5b6000806000606084860312156106e5578081fd5b83356106f0816109d2565b92506020840135610700816109d2565b929592945050506040919091013590565b600082516107238184602087016109a2565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b90815260200190565b600060208252825180602084015261078d8160408501602087016109a2565b601f01601f19169190910160400192915050565b6020808252602f908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526e0818591b5a5b881d1bc819dc985b9d608a1b606082015260800190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b60208082526030908201527f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60408201526f2061646d696e20746f207265766f6b6560801b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252602c908201527f4572726f723a206d7573742068617665207769746864726177616c20726f6c6560408201526b20746f20776974686472617760a01b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60005b838110156109bd5781810151838201526020016109a5565b838111156109cc576000848401525b50505050565b6001600160a01b03811681146109e757600080fd5b5056fea2646970667358221220dd793ca9a305c7575077ad38ce9e8547ab9f3c2d917e57453f7d559855f7f25864736f6c634300080000330000000000000000000000009733f3838c013468165e7cf69ea87a8dd2e976fb

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

0000000000000000000000009733f3838c013468165e7cf69ea87a8dd2e976fb

-----Decoded View---------------
Arg [0] : _rbtTimelock (address): 0x9733f3838c013468165e7cf69ea87a8dd2e976fb

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009733f3838c013468165e7cf69ea87a8dd2e976fb


Deployed ByteCode Sourcemap

22857:771:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18892:217;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;19529:123;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;19914:232::-;;;;;;:::i;:::-;;:::i;:::-;;21133:218;;;;;;:::i;:::-;;:::i;23024:26::-;;;:::i;:::-;;;;;;;:::i;22947:70::-;;;:::i;19201:139::-;;;;;;:::i;:::-;;:::i;17657:49::-;;;:::i;20391:235::-;;;;;;:::i;:::-;;:::i;23369:256::-;;;;;;:::i;:::-;;:::i;18892:217::-;18977:4;-1:-1:-1;;;;;;19001:47:0;;-1:-1:-1;;;19001:47:0;;:100;;;19065:36;19089:11;19065:23;:36::i;:::-;18994:107;18892:217;-1:-1:-1;;18892:217:0:o;19529:123::-;19595:7;19622:12;;;;;;;;;;:22;;;;19529:123::o;19914:232::-;20007:41;20015:18;20028:4;20015:12;:18::i;:::-;20035:12;:10;:12::i;20007:41::-;19999:101;;;;-1:-1:-1;;;19999:101:0;;;;;;;:::i;:::-;;;;;;;;;20113:25;20124:4;20130:7;20113:10;:25::i;:::-;19914:232;;:::o;21133:218::-;21240:12;:10;:12::i;:::-;-1:-1:-1;;;;;21229:23:0;:7;-1:-1:-1;;;;;21229:23:0;;21221:83;;;;-1:-1:-1;;;21221:83:0;;;;;;;:::i;:::-;21317:26;21329:4;21335:7;21317:11;:26::i;23024:::-;;;-1:-1:-1;;;;;23024:26:0;;:::o;22947:70::-;22989:28;22947:70;:::o;19201:139::-;19279:4;19303:12;;;;;;;;;;;-1:-1:-1;;;;;19303:29:0;;;;;;;;;;;;;;;19201:139::o;17657:49::-;17702:4;17657:49;:::o;20391:235::-;20485:41;20493:18;20506:4;20493:12;:18::i;20485:41::-;20477:102;;;;-1:-1:-1;;;20477:102:0;;;;;;;:::i;23369:256::-;23472:38;22989:28;23497:12;:10;:12::i;23472:38::-;23464:95;;;;-1:-1:-1;;;23464:95:0;;;;;;;:::i;:::-;23580:37;-1:-1:-1;;;;;23580:18:0;;23599:9;23610:6;23580:18;:37::i;:::-;23369:256;;;:::o;2951:157::-;-1:-1:-1;;;;;;3060:40:0;;-1:-1:-1;;;3060:40:0;2951:157;;;:::o;1151:98::-;1231:10;1151:98;:::o;22381:229::-;22456:22;22464:4;22470:7;22456;:22::i;:::-;22451:152;;22495:6;:12;;;;;;;;;;;-1:-1:-1;;;;;22495:29:0;;;;;;;;;:36;;-1:-1:-1;;22495:36:0;22527:4;22495:36;;;22578:12;:10;:12::i;:::-;-1:-1:-1;;;;;22551:40:0;22569:7;-1:-1:-1;;;;;22551:40:0;22563:4;22551:40;;;;;;;;;;22381:229;;:::o;22618:230::-;22693:22;22701:4;22707:7;22693;:22::i;:::-;22689:152;;;22764:5;22732:12;;;;;;;;;;;-1:-1:-1;;;;;22732:29:0;;;;;;;;;:37;;-1:-1:-1;;22732:37:0;;;22816:12;:10;:12::i;:::-;-1:-1:-1;;;;;22789:40:0;22807:7;-1:-1:-1;;;;;22789:40:0;22801:4;22789:40;;;;;;;;;;22618:230;;:::o;11118:177::-;11201:86;11221:5;11251:23;;;11276:2;11280:5;11228:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;11228:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11228:58:0;-1:-1:-1;;;;;;11228:58:0;;;;;;;;;;13976:23;14002:69;14030:4;14002:69;;;;;;;;;;;;;;;;;14010:5;-1:-1:-1;;;;;14002:27:0;;;:69;;;;;:::i;:::-;14086:17;;13976:95;;-1:-1:-1;14086:21:0;14082:224;;14228:10;14217:30;;;;;;;;;;;;:::i;:::-;14209:85;;;;-1:-1:-1;;;14209:85:0;;;;;;;:::i;6716:195::-;6819:12;6851:52;6873:6;6881:4;6887:1;6890:12;6851:21;:52::i;:::-;6844:59;;6716:195;;;;;;:::o;7768:530::-;7895:12;7953:5;7928:21;:30;;7920:81;;;;-1:-1:-1;;;7920:81:0;;;;;;;:::i;:::-;8020:18;8031:6;8020:10;:18::i;:::-;8012:60;;;;-1:-1:-1;;;8012:60:0;;;;;;;:::i;:::-;8146:12;8160:23;8187:6;-1:-1:-1;;;;;8187:11:0;8207:5;8215:4;8187:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8145:75;;;;8238:52;8256:7;8265:10;8277:12;8238:17;:52::i;:::-;8231:59;7768:530;-1:-1:-1;;;;;;;7768:530:0:o;3798:422::-;4165:20;4204:8;;;3798:422::o;10308:742::-;10423:12;10452:7;10448:595;;;-1:-1:-1;10483:10:0;10476:17;;10448:595;10597:17;;:21;10593:439;;10860:10;10854:17;10921:15;10908:10;10904:2;10900:19;10893:44;10808:148;11003:12;10996:20;;-1:-1:-1;;;10996:20:0;;;;;;;;:::i;14:297:1:-;;134:2;122:9;113:7;109:23;105:32;102:2;;;155:6;147;140:22;102:2;192:9;186:16;245:5;238:13;231:21;224:5;221:32;211:2;;272:6;264;257:22;316:190;;428:2;416:9;407:7;403:23;399:32;396:2;;;449:6;441;434:22;396:2;-1:-1:-1;477:23:1;;386:120;-1:-1:-1;386:120:1:o;511:327::-;;;640:2;628:9;619:7;615:23;611:32;608:2;;;661:6;653;646:22;608:2;702:9;689:23;679:33;;762:2;751:9;747:18;734:32;775:33;802:5;775:33;:::i;:::-;827:5;817:15;;;598:240;;;;;:::o;843:306::-;;954:2;942:9;933:7;929:23;925:32;922:2;;;975:6;967;960:22;922:2;1006:23;;-1:-1:-1;;;;;;1058:32:1;;1048:43;;1038:2;;1110:6;1102;1095:22;1154:484;;;;1314:2;1302:9;1293:7;1289:23;1285:32;1282:2;;;1335:6;1327;1320:22;1282:2;1379:9;1366:23;1398:33;1425:5;1398:33;:::i;:::-;1450:5;-1:-1:-1;1507:2:1;1492:18;;1479:32;1520:35;1479:32;1520:35;:::i;:::-;1272:366;;1574:7;;-1:-1:-1;;;1628:2:1;1613:18;;;;1600:32;;1272:366::o;1643:274::-;;1810:6;1804:13;1826:53;1872:6;1867:3;1860:4;1852:6;1848:17;1826:53;:::i;:::-;1895:16;;;;;1780:137;-1:-1:-1;;1780:137:1:o;1922:203::-;-1:-1:-1;;;;;2086:32:1;;;;2068:51;;2056:2;2041:18;;2023:102::o;2130:274::-;-1:-1:-1;;;;;2322:32:1;;;;2304:51;;2386:2;2371:18;;2364:34;2292:2;2277:18;;2259:145::o;2409:187::-;2574:14;;2567:22;2549:41;;2537:2;2522:18;;2504:92::o;2601:177::-;2747:25;;;2735:2;2720:18;;2702:76::o;2783:383::-;;2932:2;2921:9;2914:21;2964:6;2958:13;3007:6;3002:2;2991:9;2987:18;2980:34;3023:66;3082:6;3077:2;3066:9;3062:18;3057:2;3049:6;3045:15;3023:66;:::i;:::-;3150:2;3129:15;-1:-1:-1;;3125:29:1;3110:45;;;;3157:2;3106:54;;2904:262;-1:-1:-1;;2904:262:1:o;3171:411::-;3373:2;3355:21;;;3412:2;3392:18;;;3385:30;3451:34;3446:2;3431:18;;3424:62;-1:-1:-1;;;3517:2:1;3502:18;;3495:45;3572:3;3557:19;;3345:237::o;3587:402::-;3789:2;3771:21;;;3828:2;3808:18;;;3801:30;3867:34;3862:2;3847:18;;3840:62;-1:-1:-1;;;3933:2:1;3918:18;;3911:36;3979:3;3964:19;;3761:228::o;3994:412::-;4196:2;4178:21;;;4235:2;4215:18;;;4208:30;4274:34;4269:2;4254:18;;4247:62;-1:-1:-1;;;4340:2:1;4325:18;;4318:46;4396:3;4381:19;;4168:238::o;4411:353::-;4613:2;4595:21;;;4652:2;4632:18;;;4625:30;4691:31;4686:2;4671:18;;4664:59;4755:2;4740:18;;4585:179::o;4769:406::-;4971:2;4953:21;;;5010:2;4990:18;;;4983:30;5049:34;5044:2;5029:18;;5022:62;-1:-1:-1;;;5115:2:1;5100:18;;5093:40;5165:3;5150:19;;4943:232::o;5180:408::-;5382:2;5364:21;;;5421:2;5401:18;;;5394:30;5460:34;5455:2;5440:18;;5433:62;-1:-1:-1;;;5526:2:1;5511:18;;5504:42;5578:3;5563:19;;5354:234::o;5593:411::-;5795:2;5777:21;;;5834:2;5814:18;;;5807:30;5873:34;5868:2;5853:18;;5846:62;-1:-1:-1;;;5939:2:1;5924:18;;5917:45;5994:3;5979:19;;5767:237::o;6009:258::-;6081:1;6091:113;6105:6;6102:1;6099:13;6091:113;;;6181:11;;;6175:18;6162:11;;;6155:39;6127:2;6120:10;6091:113;;;6222:6;6219:1;6216:13;6213:2;;;6257:1;6248:6;6243:3;6239:16;6232:27;6213:2;;6062:205;;;:::o;6272:133::-;-1:-1:-1;;;;;6349:31:1;;6339:42;;6329:2;;6395:1;6392;6385:12;6329:2;6319:86;:::o

Swarm Source

ipfs://dd793ca9a305c7575077ad38ce9e8547ab9f3c2d917e57453f7d559855f7f258
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.