Source Code
Latest 25 from a total of 40 transactions
| Transaction Hash |
|
Block
|
From
|
To
|
|||||
|---|---|---|---|---|---|---|---|---|---|
| Mint | 97904298 | 953 days ago | IN | 0 ETH | 0.00004865 | ||||
| Mint | 92806267 | 968 days ago | IN | 0 ETH | 0.00005501 | ||||
| Mint | 90571112 | 975 days ago | IN | 0 ETH | 0.00007694 | ||||
| Mint | 89178581 | 979 days ago | IN | 0 ETH | 0.00009224 | ||||
| Mint | 89130392 | 979 days ago | IN | 0 ETH | 0.00008928 | ||||
| Mint | 88214969 | 982 days ago | IN | 0 ETH | 0.00013355 | ||||
| Mint | 87060309 | 985 days ago | IN | 0 ETH | 0.00013273 | ||||
| Mint | 85356244 | 990 days ago | IN | 0 ETH | 0.00006715 | ||||
| Mint | 84341187 | 993 days ago | IN | 0 ETH | 0.00006662 | ||||
| Mint | 83656015 | 995 days ago | IN | 0 ETH | 0.00007009 | ||||
| Mint | 81239456 | 1002 days ago | IN | 0 ETH | 0.00005034 | ||||
| Mint | 80234514 | 1005 days ago | IN | 0 ETH | 0.00005357 | ||||
| Mint | 79371785 | 1008 days ago | IN | 0 ETH | 0.00006948 | ||||
| Mint | 78173967 | 1011 days ago | IN | 0 ETH | 0.00004006 | ||||
| Mint | 77172126 | 1014 days ago | IN | 0 ETH | 0.00007148 | ||||
| Mint | 74766334 | 1021 days ago | IN | 0 ETH | 0.00004676 | ||||
| Mint | 72644850 | 1027 days ago | IN | 0 ETH | 0.00005209 | ||||
| Mint | 71651453 | 1030 days ago | IN | 0 ETH | 0.00004036 | ||||
| Mint | 71458923 | 1031 days ago | IN | 0 ETH | 0.00003742 | ||||
| Mint | 70262723 | 1034 days ago | IN | 0 ETH | 0.00004515 | ||||
| Mint | 68071559 | 1041 days ago | IN | 0 ETH | 0.00005862 | ||||
| Mint | 67151241 | 1044 days ago | IN | 0 ETH | 0.0000605 | ||||
| Mint | 65133146 | 1050 days ago | IN | 0 ETH | 0.00006757 | ||||
| Mint | 63944933 | 1054 days ago | IN | 0 ETH | 0.00005921 | ||||
| Mint | 63262289 | 1056 days ago | IN | 0 ETH | 0.00005347 |
Latest 25 internal transactions (View All)
| Parent Transaction Hash | Block | From | To | |||
|---|---|---|---|---|---|---|
| 71651453 | 1030 days ago | 0 ETH | ||||
| 71651453 | 1030 days ago | 0 ETH | ||||
| 71458923 | 1031 days ago | 0 ETH | ||||
| 71458923 | 1031 days ago | 0 ETH | ||||
| 70262723 | 1034 days ago | 0 ETH | ||||
| 70262723 | 1034 days ago | 0 ETH | ||||
| 68071559 | 1041 days ago | 0 ETH | ||||
| 68071559 | 1041 days ago | 0 ETH | ||||
| 67151241 | 1044 days ago | 0 ETH | ||||
| 67151241 | 1044 days ago | 0 ETH | ||||
| 65133146 | 1050 days ago | 0 ETH | ||||
| 65133146 | 1050 days ago | 0 ETH | ||||
| 63944933 | 1054 days ago | 0 ETH | ||||
| 63944933 | 1054 days ago | 0 ETH | ||||
| 63262289 | 1056 days ago | 0 ETH | ||||
| 63262289 | 1056 days ago | 0 ETH | ||||
| 62281176 | 1059 days ago | 0 ETH | ||||
| 62281176 | 1059 days ago | 0 ETH | ||||
| 61973211 | 1060 days ago | 0 ETH | ||||
| 61973211 | 1060 days ago | 0 ETH | ||||
| 60432197 | 1065 days ago | 0 ETH | ||||
| 60432197 | 1065 days ago | 0 ETH | ||||
| 59059662 | 1070 days ago | 0 ETH | ||||
| 59059662 | 1070 days ago | 0 ETH | ||||
| 56107731 | 1081 days ago | 0 ETH |
Cross-Chain Transactions
Loading...
Loading
Contract Name:
GarbiTreasury
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// 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);
}
}{
"remappings": [],
"optimizer": {
"enabled": true,
"runs": 200
},
"evmVersion": "london",
"libraries": {},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"devdoc",
"userdoc",
"metadata",
"abi"
]
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
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"}]Contract Creation Code
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
Loading...
Loading
Loading...
Loading
Loading...
Loading
Net Worth in USD
$14,443.91
Net Worth in ETH
4.595552
Token Allocations
GRB
100.00%
Multichain Portfolio | 35 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ARB | 100.00% | $0.199226 | 72,500 | $14,443.91 |
Loading...
Loading
Loading...
Loading
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.