ETH Price: $3,143.02 (+1.33%)

Contract

0x7d9fF6cb1BC3491fed7bF279D8532cAb594b29e8

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Mint979042982023-06-05 3:15:37953 days ago1685934937IN
0x7d9fF6cb...b594b29e8
0 ETH0.000048650.1
Mint928062672023-05-21 3:25:50968 days ago1684639550IN
0x7d9fF6cb...b594b29e8
0 ETH0.000055010.1
Mint905711122023-05-14 9:56:26975 days ago1684058186IN
0x7d9fF6cb...b594b29e8
0 ETH0.000076940.1
Mint891785812023-05-10 7:03:59979 days ago1683702239IN
0x7d9fF6cb...b594b29e8
0 ETH0.000092240.1
Mint891303922023-05-10 3:41:34979 days ago1683690094IN
0x7d9fF6cb...b594b29e8
0 ETH0.000089280.1
Mint882149692023-05-07 11:00:17982 days ago1683457217IN
0x7d9fF6cb...b594b29e8
0 ETH0.000133550.1
Mint870603092023-05-04 2:09:42985 days ago1683166182IN
0x7d9fF6cb...b594b29e8
0 ETH0.000132730.1
Mint853562442023-04-29 2:09:44990 days ago1682734184IN
0x7d9fF6cb...b594b29e8
0 ETH0.000067150.1
Mint843411872023-04-26 2:22:05993 days ago1682475725IN
0x7d9fF6cb...b594b29e8
0 ETH0.000066620.1
Mint836560152023-04-24 2:12:36995 days ago1682302356IN
0x7d9fF6cb...b594b29e8
0 ETH0.000070090.1
Mint812394562023-04-17 1:38:311002 days ago1681695511IN
0x7d9fF6cb...b594b29e8
0 ETH0.000050340.1
Mint802345142023-04-14 3:35:041005 days ago1681443304IN
0x7d9fF6cb...b594b29e8
0 ETH0.000053570.1
Mint793717852023-04-11 14:39:501008 days ago1681223990IN
0x7d9fF6cb...b594b29e8
0 ETH0.000069480.1
Mint781739672023-04-08 2:37:471011 days ago1680921467IN
0x7d9fF6cb...b594b29e8
0 ETH0.000040060.1
Mint771721262023-04-05 4:10:241014 days ago1680667824IN
0x7d9fF6cb...b594b29e8
0 ETH0.000071480.1
Mint747663342023-03-29 2:52:351021 days ago1680058355IN
0x7d9fF6cb...b594b29e8
0 ETH0.000046760.1
Mint726448502023-03-23 0:38:241027 days ago1679531904IN
0x7d9fF6cb...b594b29e8
0 ETH0.000052090.1
Mint716514532023-03-20 4:06:421030 days ago1679285202IN
0x7d9fF6cb...b594b29e8
0 ETH0.000040360.1
Mint714589232023-03-19 14:38:211031 days ago1679236701IN
0x7d9fF6cb...b594b29e8
0 ETH0.000037420.1
Mint702627232023-03-16 2:34:161034 days ago1678934056IN
0x7d9fF6cb...b594b29e8
0 ETH0.000045150.1
Mint680715592023-03-09 2:01:541041 days ago1678327314IN
0x7d9fF6cb...b594b29e8
0 ETH0.000058620.1
Mint671512412023-03-06 2:14:361044 days ago1678068876IN
0x7d9fF6cb...b594b29e8
0 ETH0.00006050.1
Mint651331462023-02-27 16:12:381050 days ago1677514358IN
0x7d9fF6cb...b594b29e8
0 ETH0.000067570.1
Mint639449332023-02-24 0:58:211054 days ago1677200301IN
0x7d9fF6cb...b594b29e8
0 ETH0.000059210.1
Mint632622892023-02-22 0:27:561056 days ago1677025676IN
0x7d9fF6cb...b594b29e8
0 ETH0.000053470.1
View all transactions

Latest 25 internal transactions (View All)

Parent Transaction Hash Block From To
716514532023-03-20 4:06:421030 days ago1679285202
0x7d9fF6cb...b594b29e8
0 ETH
716514532023-03-20 4:06:421030 days ago1679285202
0x7d9fF6cb...b594b29e8
0 ETH
714589232023-03-19 14:38:211031 days ago1679236701
0x7d9fF6cb...b594b29e8
0 ETH
714589232023-03-19 14:38:211031 days ago1679236701
0x7d9fF6cb...b594b29e8
0 ETH
702627232023-03-16 2:34:161034 days ago1678934056
0x7d9fF6cb...b594b29e8
0 ETH
702627232023-03-16 2:34:161034 days ago1678934056
0x7d9fF6cb...b594b29e8
0 ETH
680715592023-03-09 2:01:541041 days ago1678327314
0x7d9fF6cb...b594b29e8
0 ETH
680715592023-03-09 2:01:541041 days ago1678327314
0x7d9fF6cb...b594b29e8
0 ETH
671512412023-03-06 2:14:361044 days ago1678068876
0x7d9fF6cb...b594b29e8
0 ETH
671512412023-03-06 2:14:361044 days ago1678068876
0x7d9fF6cb...b594b29e8
0 ETH
651331462023-02-27 16:12:381050 days ago1677514358
0x7d9fF6cb...b594b29e8
0 ETH
651331462023-02-27 16:12:381050 days ago1677514358
0x7d9fF6cb...b594b29e8
0 ETH
639449332023-02-24 0:58:211054 days ago1677200301
0x7d9fF6cb...b594b29e8
0 ETH
639449332023-02-24 0:58:211054 days ago1677200301
0x7d9fF6cb...b594b29e8
0 ETH
632622892023-02-22 0:27:561056 days ago1677025676
0x7d9fF6cb...b594b29e8
0 ETH
632622892023-02-22 0:27:561056 days ago1677025676
0x7d9fF6cb...b594b29e8
0 ETH
622811762023-02-19 2:05:211059 days ago1676772321
0x7d9fF6cb...b594b29e8
0 ETH
622811762023-02-19 2:05:211059 days ago1676772321
0x7d9fF6cb...b594b29e8
0 ETH
619732112023-02-18 3:23:451060 days ago1676690625
0x7d9fF6cb...b594b29e8
0 ETH
619732112023-02-18 3:23:451060 days ago1676690625
0x7d9fF6cb...b594b29e8
0 ETH
604321972023-02-13 3:12:431065 days ago1676257963
0x7d9fF6cb...b594b29e8
0 ETH
604321972023-02-13 3:12:431065 days ago1676257963
0x7d9fF6cb...b594b29e8
0 ETH
590596622023-02-08 9:22:331070 days ago1675848153
0x7d9fF6cb...b594b29e8
0 ETH
590596622023-02-08 9:22:331070 days ago1675848153
0x7d9fF6cb...b594b29e8
0 ETH
561077312023-01-28 10:46:421081 days ago1674902802
0x7d9fF6cb...b594b29e8
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GarbiTreasury

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

import './interfaces/IGarbiTimeLock.sol';

contract GarbiTreasury is Ownable {

    using SafeMath for uint256;

    IERC20 public GRB;
    address public miningMachine;
    IGarbiTimeLock public garbiTimeLockContract;

    modifier onlyMiningMachine()
    {
        require(_msgSender() == miningMachine, 'INVALID_PERMISSION');
        _;
    }

    constructor(
        IERC20 _grb,
        IGarbiTimeLock _garbiTimeLockContract
    ) {
        GRB = _grb;
        garbiTimeLockContract = _garbiTimeLockContract;
    }

    function mint(address _user, uint256 _amount) external onlyMiningMachine {
        require(_amount <= GRB.balanceOf(address(this)), "INVALID_AMOUNT");
        GRB.transfer(_user, _amount);
    }

    function setMiningMachineContract() public onlyOwner {

        require(garbiTimeLockContract.isQueuedTransaction(address(this), 'setMiningMachineContract'), "INVALID_PERMISSION");

        address _miningMachineContract = garbiTimeLockContract.getAddressChangeOnTimeLock(address(this), 'setMiningMachineContract', 'miningMachineContract');

        require(_miningMachineContract != address(0), "INVALID_ADDRESS");

        miningMachine = _miningMachineContract;

        garbiTimeLockContract.clearFieldValue('setMiningMachineContract', 'miningMachineContract', 1);
        garbiTimeLockContract.doneTransactions('setMiningMachineContract');
    }

}

// SPDX-License-Identifier: MIT
pragma solidity >=0.6.12;

interface IGarbiTimeLock {
	function doneTransactions(string memory _functionName) external;
	function clearFieldValue(string memory _functionName, string memory _fieldName, uint8 _typeOfField) external;
	function getAddressChangeOnTimeLock(address _contractCall, string memory _functionName, string memory _fieldName) external view returns(address); 
	function getUintChangeOnTimeLock(address _contractCall, string memory _functionName, string memory _fieldName) external view returns(uint256);
	function isQueuedTransaction(address _contractCall, string memory _functionName) external view returns(bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC20","name":"_grb","type":"address"},{"internalType":"contract IGarbiTimeLock","name":"_garbiTimeLockContract","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"GRB","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"garbiTimeLockContract","outputs":[{"internalType":"contract IGarbiTimeLock","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"miningMachine","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setMiningMachineContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5060405161096938038061096983398101604081905261002f916100d1565b61003833610069565b600180546001600160a01b039384166001600160a01b0319918216179091556003805492909316911617905561010b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811681146100ce57600080fd5b50565b600080604083850312156100e457600080fd5b82516100ef816100b9565b6020840151909250610100816100b9565b809150509250929050565b61084f8061011a6000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100e1578063b0176ce8146100f2578063bce645db14610105578063f2fde38b1461011857600080fd5b806310a57f3a1461008d57806340c10f19146100bc578063512e82d8146100d1578063715018a6146100d9575b600080fd5b6003546100a0906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100cf6100ca36600461064f565b61012b565b005b6100cf6102b0565b6100cf610503565b6000546001600160a01b03166100a0565b6001546100a0906001600160a01b031681565b6002546100a0906001600160a01b031681565b6100cf61012636600461067b565b610517565b6002546001600160a01b0316336001600160a01b0316146101885760405162461bcd60e51b815260206004820152601260248201527124a72b20a624a22fa822a926a4a9a9a4a7a760711b60448201526064015b60405180910390fd5b6001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156101d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f4919061069f565b8111156102345760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b604482015260640161017f565b60015460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af1158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab91906106b8565b505050565b6102b8610590565b60035460405163109cc30b60e21b81526001600160a01b03909116906342730c2c906102e890309060040161070a565b602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906106b8565b61036a5760405162461bcd60e51b815260206004820152601260248201527124a72b20a624a22fa822a926a4a9a9a4a7a760711b604482015260640161017f565b600354604051636bfb078d60e01b81526000916001600160a01b031690636bfb078d9061039b90309060040161072d565b602060405180830381865afa1580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc919061078c565b90506001600160a01b0381166104265760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4144445245535360881b604482015260640161017f565b600280546001600160a01b0319166001600160a01b0383811691909117909155600354604051636e977f0b60e01b8152911690636e977f0b9061046e906001906004016107a9565b600060405180830381600087803b15801561048857600080fd5b505af115801561049c573d6000803e3d6000fd5b50506003546040516345503fcb60e11b81526001600160a01b039091169250638aa07f9691506104ce90600401610801565b600060405180830381600087803b1580156104e857600080fd5b505af11580156104fc573d6000803e3d6000fd5b5050505050565b61050b610590565b61051560006105ea565b565b61051f610590565b6001600160a01b0381166105845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161017f565b61058d816105ea565b50565b6000546001600160a01b031633146105155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161017f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461058d57600080fd5b6000806040838503121561066257600080fd5b823561066d8161063a565b946020939093013593505050565b60006020828403121561068d57600080fd5b81356106988161063a565b9392505050565b6000602082840312156106b157600080fd5b5051919050565b6000602082840312156106ca57600080fd5b8151801515811461069857600080fd5b601881527f7365744d696e696e674d616368696e65436f6e74726163740000000000000000602082015260400190565b6001600160a01b03821681526040602082018190526000906106989083016106da565b6001600160a01b03821681526060602082018190526000906107509083016106da565b82810360408401526107848160158152741b5a5b9a5b99d35858da1a5b9950dbdb9d1c9858dd605a1b602082015260400190565b949350505050565b60006020828403121561079e57600080fd5b81516106988161063a565b6060815260006107bb606083016106da565b82810360208401526107ef8160158152741b5a5b9a5b99d35858da1a5b9950dbdb9d1c9858dd605a1b602082015260400190565b91505060ff8316604083015292915050565b602081526000610813602083016106da565b9291505056fea2646970667358221220ca67bdb5041249e3a07d63c992643d3a4e2b83b83c2b7480f7b18a2769862d3a64736f6c634300081100330000000000000000000000005fd71280b6385157b291b9962f22153fc9e7900000000000000000000000000082e0455e55ee4e8a773db7de60114a1bb6e495bb

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100e1578063b0176ce8146100f2578063bce645db14610105578063f2fde38b1461011857600080fd5b806310a57f3a1461008d57806340c10f19146100bc578063512e82d8146100d1578063715018a6146100d9575b600080fd5b6003546100a0906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b6100cf6100ca36600461064f565b61012b565b005b6100cf6102b0565b6100cf610503565b6000546001600160a01b03166100a0565b6001546100a0906001600160a01b031681565b6002546100a0906001600160a01b031681565b6100cf61012636600461067b565b610517565b6002546001600160a01b0316336001600160a01b0316146101885760405162461bcd60e51b815260206004820152601260248201527124a72b20a624a22fa822a926a4a9a9a4a7a760711b60448201526064015b60405180910390fd5b6001546040516370a0823160e01b81523060048201526001600160a01b03909116906370a0823190602401602060405180830381865afa1580156101d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f4919061069f565b8111156102345760405162461bcd60e51b815260206004820152600e60248201526d1253959053125117d05353d5539560921b604482015260640161017f565b60015460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af1158015610287573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906102ab91906106b8565b505050565b6102b8610590565b60035460405163109cc30b60e21b81526001600160a01b03909116906342730c2c906102e890309060040161070a565b602060405180830381865afa158015610305573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061032991906106b8565b61036a5760405162461bcd60e51b815260206004820152601260248201527124a72b20a624a22fa822a926a4a9a9a4a7a760711b604482015260640161017f565b600354604051636bfb078d60e01b81526000916001600160a01b031690636bfb078d9061039b90309060040161072d565b602060405180830381865afa1580156103b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103dc919061078c565b90506001600160a01b0381166104265760405162461bcd60e51b815260206004820152600f60248201526e494e56414c49445f4144445245535360881b604482015260640161017f565b600280546001600160a01b0319166001600160a01b0383811691909117909155600354604051636e977f0b60e01b8152911690636e977f0b9061046e906001906004016107a9565b600060405180830381600087803b15801561048857600080fd5b505af115801561049c573d6000803e3d6000fd5b50506003546040516345503fcb60e11b81526001600160a01b039091169250638aa07f9691506104ce90600401610801565b600060405180830381600087803b1580156104e857600080fd5b505af11580156104fc573d6000803e3d6000fd5b5050505050565b61050b610590565b61051560006105ea565b565b61051f610590565b6001600160a01b0381166105845760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161017f565b61058d816105ea565b50565b6000546001600160a01b031633146105155760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161017f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b038116811461058d57600080fd5b6000806040838503121561066257600080fd5b823561066d8161063a565b946020939093013593505050565b60006020828403121561068d57600080fd5b81356106988161063a565b9392505050565b6000602082840312156106b157600080fd5b5051919050565b6000602082840312156106ca57600080fd5b8151801515811461069857600080fd5b601881527f7365744d696e696e674d616368696e65436f6e74726163740000000000000000602082015260400190565b6001600160a01b03821681526040602082018190526000906106989083016106da565b6001600160a01b03821681526060602082018190526000906107509083016106da565b82810360408401526107848160158152741b5a5b9a5b99d35858da1a5b9950dbdb9d1c9858dd605a1b602082015260400190565b949350505050565b60006020828403121561079e57600080fd5b81516106988161063a565b6060815260006107bb606083016106da565b82810360208401526107ef8160158152741b5a5b9a5b99d35858da1a5b9950dbdb9d1c9858dd605a1b602082015260400190565b91505060ff8316604083015292915050565b602081526000610813602083016106da565b9291505056fea2646970667358221220ca67bdb5041249e3a07d63c992643d3a4e2b83b83c2b7480f7b18a2769862d3a64736f6c63430008110033

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

0000000000000000000000005fd71280b6385157b291b9962f22153fc9e7900000000000000000000000000082e0455e55ee4e8a773db7de60114a1bb6e495bb

-----Decoded View---------------
Arg [0] : _grb (address): 0x5Fd71280b6385157b291b9962f22153FC9E79000
Arg [1] : _garbiTimeLockContract (address): 0x82e0455E55eE4E8a773DB7DE60114a1Bb6e495bB

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000005fd71280b6385157b291b9962f22153fc9e79000
Arg [1] : 00000000000000000000000082e0455e55ee4e8a773db7de60114a1bb6e495bb


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ 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.