More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 16461425 | 587 days ago | IN | 0 ETH | 0.01281789 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
20646331 | 7 hrs ago | 0 ETH | |||||
20646331 | 7 hrs ago | 0 ETH | |||||
20609271 | 5 days ago | 0 ETH | |||||
20609271 | 5 days ago | 0 ETH | |||||
20601731 | 6 days ago | 0 ETH | |||||
20601731 | 6 days ago | 0 ETH | |||||
20495832 | 21 days ago | 0 ETH | |||||
20495832 | 21 days ago | 0 ETH | |||||
20194649 | 63 days ago | 0 ETH | |||||
20194649 | 63 days ago | 0 ETH | |||||
20174080 | 66 days ago | 0 ETH | |||||
20174080 | 66 days ago | 0 ETH | |||||
19908703 | 103 days ago | 0 ETH | |||||
19908703 | 103 days ago | 0 ETH | |||||
19886796 | 106 days ago | 0 ETH | |||||
19886796 | 106 days ago | 0 ETH | |||||
19886796 | 106 days ago | 0 ETH | |||||
19886796 | 106 days ago | 0 ETH | |||||
19857109 | 110 days ago | 0 ETH | |||||
19857109 | 110 days ago | 0 ETH | |||||
19857108 | 110 days ago | 0 ETH | |||||
19857108 | 110 days ago | 0 ETH | |||||
19857108 | 110 days ago | 0 ETH | |||||
19857108 | 110 days ago | 0 ETH | |||||
18345132 | 322 days ago | 0 ETH |
Loading...
Loading
Contract Name:
ARTHPriceKeeper
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 100 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { KeeperCompatibleInterface } from "./interfaces/KeeperCompatibleInterface.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { IGMUOracle } from "./interfaces/IGMUOracle.sol"; import { IRegistry } from "./interfaces/IRegistry.sol"; /** * @dev This keeper contract rewards the caller with a certain amount of MAHA based on their * contribution to keeping the oracle up-to-date */ contract ARTHPriceKeeper is Ownable, KeeperCompatibleInterface { IGMUOracle public gmuOracle; IRegistry public registry; uint256 public mahaRewardPerEpoch; constructor( IGMUOracle _gmuOracle, IRegistry _registry, uint256 _mahaRewardPerEpoch, address _governance ) { gmuOracle = _gmuOracle; mahaRewardPerEpoch = _mahaRewardPerEpoch; registry = _registry; _transferOwnership(_governance); } function updateMahaReward(uint256 reward) external onlyOwner { mahaRewardPerEpoch = reward; } function nextUpkeepTime() external view returns (uint256) { return gmuOracle.nextEpochPoint(); } function checkUpkeep(bytes calldata) external view override returns (bool, bytes memory) { return (gmuOracle.callable(), ""); } function performUpkeep(bytes calldata performData) external override { gmuOracle.updatePrice(); // if the keeper wants a maha reward, we provide it with one; usually // non-chainlink keepers would ask for a MAHA reward if (performData.length > 0) { uint256 flag = abi.decode(performData, (uint256)); if (flag >= 1) { require( IERC20(registry.maha()).balanceOf(address(this)) >= mahaRewardPerEpoch, "not enough maha for rewards" ); IERC20(registry.maha()).transfer(msg.sender, mahaRewardPerEpoch); } } } function refund(IERC20 token) external onlyOwner { token.transfer(msg.sender, token.balanceOf(address(this))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface KeeperCompatibleInterface { /** * @notice method that is simulated by the keepers to see if any work actually * needs to be performed. This method does does not actually need to be * executable, and since it is only ever simulated it can consume lots of gas. * @dev To ensure that it is never called, you may want to add the * cannotExecute modifier from KeeperBase to your implementation of this * method. * @param checkData specified in the upkeep registration so it is always the * same for a registered upkeep. This can easily be broken down into specific * arguments using `abi.decode`, so multiple upkeeps can be registered on the * same contract and easily differentiated by the contract. * @return upkeepNeeded boolean to indicate whether the keeper should call * performUpkeep or not. * @return performData bytes that the keeper should call performUpkeep with, if * upkeep is needed. If you would like to encode data to decode later, try * `abi.encode`. */ function checkUpkeep(bytes calldata checkData) external returns (bool upkeepNeeded, bytes memory performData); /** * @notice method that is actually executed by the keepers, via the registry. * The data returned by the checkUpkeep simulation will be passed into * this method to actually be executed. * @dev The input to this method should not be trusted, and the caller of the * method should not even be restricted to any single registry. Anyone should * be able call it, and the input should be validated, there is no guarantee * that the data passed in is the performData returned from checkUpkeep. This * could happen due to malicious keepers, racing keepers, or simply a state * change while the performUpkeep transaction is waiting for confirmation. * Always validate the data passed in. * @param performData is the data which was passed back from the checkData * simulation. If it is encoded, it can easily be decoded into other types by * calling `abi.decode`. This data should not be trusted, and should be * validated against the contract's current state. */ function performUpkeep(bytes calldata performData) external; }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import { IPriceFeed } from "./IPriceFeed.sol"; import { IEpoch } from "./IEpoch.sol"; interface IGMUOracle is IPriceFeed, IEpoch { function updatePrice() external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IRegistry { event MahaChanged(address indexed whom, address _old, address _new); event VoterChanged(address indexed whom, address _old, address _new); event LockerChanged(address indexed whom, address _old, address _new); event GovernorChanged(address indexed whom, address _old, address _new); event StakerChanged(address indexed whom, address _old, address _new); event EmissionControllerChanged( address indexed whom, address _old, address _new ); function maha() external view returns (address); function gaugeVoter() external view returns (address); function locker() external view returns (address); function staker() external view returns (address); function emissionController() external view returns (address); function governor() external view returns (address); function getAllAddresses() external view returns ( address, address, address, address, address ); function ensureNotPaused() external; function setMAHA(address _new) external; function setEmissionController(address _new) external; function setStaker(address _new) external; function setVoter(address _new) external; function setLocker(address _new) external; function setGovernor(address _new) external; }
// 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); } }
// 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: Unlicense pragma solidity ^0.8.0; pragma experimental ABIEncoderV2; interface IPriceFeed { // --- Events --- event LastGoodPriceUpdated(uint256 _lastGoodPrice); // --- Function --- function fetchPrice() external returns (uint256); function getDecimalPercision() external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IEpoch { function callable() external view returns (bool); function getLastEpoch() external view returns (uint256); function getCurrentEpoch() external view returns (uint256); function getNextEpoch() external view returns (uint256); function nextEpochPoint() external view returns (uint256); function getPeriod() external view returns (uint256); function getStartTime() external view returns (uint256); }
// 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; } }
{ "optimizer": { "enabled": true, "runs": 100 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IGMUOracle","name":"_gmuOracle","type":"address"},{"internalType":"contract IRegistry","name":"_registry","type":"address"},{"internalType":"uint256","name":"_mahaRewardPerEpoch","type":"uint256"},{"internalType":"address","name":"_governance","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":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"checkUpkeep","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gmuOracle","outputs":[{"internalType":"contract IGMUOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mahaRewardPerEpoch","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextUpkeepTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"performData","type":"bytes"}],"name":"performUpkeep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"refund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"registry","outputs":[{"internalType":"contract IRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"updateMahaReward","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610af9380380610af983398101604081905261002f916100cf565b6100383361007f565b600180546001600160a01b038087166001600160a01b031992831617909255600384905560028054928616929091169190911790556100768161007f565b5050505061013b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080600080608085870312156100e4578384fd5b84516100ef81610123565b602086015190945061010081610123565b60408601516060870151919450925061011881610123565b939692955090935050565b6001600160a01b038116811461013857600080fd5b50565b6109af8061014a6000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80637b103999116100715780637b103999146101105780638da5cb5b1461013057806399f897f6146101415780639da3fe2e14610154578063f2fde38b14610167578063fa89401a1461017a57600080fd5b806325fd04cc146100ae5780634585e33b146100ca5780636e04ff0d146100df578063715018a61461010057806376b62e1a14610108575b600080fd5b6100b760035481565b6040519081526020015b60405180910390f35b6100dd6100d8366004610856565b61018d565b005b6100f26100ed366004610856565b610480565b6040516100c1929190610907565b6100dd610525565b6100b7610539565b600254610123906001600160a01b031681565b6040516100c191906108f3565b6000546001600160a01b0316610123565b6100dd61014f3660046108c3565b6105bb565b600154610123906001600160a01b031681565b6100dd6101753660046107f7565b6105c8565b6100dd6101883660046107f7565b610641565b600160009054906101000a90046001600160a01b03166001600160a01b031663673a7e286040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156101dd57600080fd5b505af11580156101f1573d6000803e3d6000fd5b50508215915061047c905057600061020b828401846108c3565b90506001811061047a57600354600260009054906101000a90046001600160a01b03166001600160a01b0316633de00c366040518163ffffffff1660e01b815260040160206040518083038186803b15801561026657600080fd5b505afa15801561027a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029e919061081a565b6001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016102c991906108f3565b60206040518083038186803b1580156102e157600080fd5b505afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031991906108db565b101561036c5760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420656e6f756768206d61686120666f722072657761726473000000000060448201526064015b60405180910390fd5b600260009054906101000a90046001600160a01b03166001600160a01b0316633de00c366040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f2919061081a565b60035460405163a9059cbb60e01b815233600482015260248101919091526001600160a01b03919091169063a9059cbb90604401602060405180830381600087803b15801561044057600080fd5b505af1158015610454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104789190610836565b505b505b5050565b60006060600160009054906101000a90046001600160a01b03166001600160a01b0316636a2ab6026040518163ffffffff1660e01b815260040160206040518083038186803b1580156104d257600080fd5b505afa1580156104e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050a9190610836565b60405180602001604052806000815250915091509250929050565b61052d61074d565b61053760006107a7565b565b600154604080516362cb3e1360e11b815290516000926001600160a01b03169163c5967c26916004808301926020929190829003018186803b15801561057e57600080fd5b505afa158015610592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b691906108db565b905090565b6105c361074d565b600355565b6105d061074d565b6001600160a01b0381166106355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610363565b61063e816107a7565b50565b61064961074d565b6040516370a0823160e01b81526001600160a01b0382169063a9059cbb90339083906370a082319061067f9030906004016108f3565b60206040518083038186803b15801561069757600080fd5b505afa1580156106ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cf91906108db565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561071557600080fd5b505af1158015610729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047c9190610836565b6000546001600160a01b031633146105375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610363565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610808578081fd5b813561081381610964565b9392505050565b60006020828403121561082b578081fd5b815161081381610964565b600060208284031215610847578081fd5b81518015158114610813578182fd5b60008060208385031215610868578081fd5b823567ffffffffffffffff8082111561087f578283fd5b818501915085601f830112610892578283fd5b8135818111156108a0578384fd5b8660208285010111156108b1578384fd5b60209290920196919550909350505050565b6000602082840312156108d4578081fd5b5035919050565b6000602082840312156108ec578081fd5b5051919050565b6001600160a01b0391909116815260200190565b8215158152600060206040818401528351806040850152825b8181101561093c57858101830151858201606001528201610920565b8181111561094d5783606083870101525b50601f01601f191692909201606001949350505050565b6001600160a01b038116811461063e57600080fdfea26469706673582212203eea7007ffe528d39c451cdc053a6a8fa01e4987e1169567260a13c20e45643a64736f6c634300080400330000000000000000000000007ee5010cbd5e499b7d66a7cba2ec3bde5fca8e000000000000000000000000002684861ba9dada685a11c4e9e5aed8630f08afe00000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000006357edbfe5ada570005ceb8fad3139ef5a8863cc
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80637b103999116100715780637b103999146101105780638da5cb5b1461013057806399f897f6146101415780639da3fe2e14610154578063f2fde38b14610167578063fa89401a1461017a57600080fd5b806325fd04cc146100ae5780634585e33b146100ca5780636e04ff0d146100df578063715018a61461010057806376b62e1a14610108575b600080fd5b6100b760035481565b6040519081526020015b60405180910390f35b6100dd6100d8366004610856565b61018d565b005b6100f26100ed366004610856565b610480565b6040516100c1929190610907565b6100dd610525565b6100b7610539565b600254610123906001600160a01b031681565b6040516100c191906108f3565b6000546001600160a01b0316610123565b6100dd61014f3660046108c3565b6105bb565b600154610123906001600160a01b031681565b6100dd6101753660046107f7565b6105c8565b6100dd6101883660046107f7565b610641565b600160009054906101000a90046001600160a01b03166001600160a01b031663673a7e286040518163ffffffff1660e01b8152600401600060405180830381600087803b1580156101dd57600080fd5b505af11580156101f1573d6000803e3d6000fd5b50508215915061047c905057600061020b828401846108c3565b90506001811061047a57600354600260009054906101000a90046001600160a01b03166001600160a01b0316633de00c366040518163ffffffff1660e01b815260040160206040518083038186803b15801561026657600080fd5b505afa15801561027a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029e919061081a565b6001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016102c991906108f3565b60206040518083038186803b1580156102e157600080fd5b505afa1580156102f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061031991906108db565b101561036c5760405162461bcd60e51b815260206004820152601b60248201527f6e6f7420656e6f756768206d61686120666f722072657761726473000000000060448201526064015b60405180910390fd5b600260009054906101000a90046001600160a01b03166001600160a01b0316633de00c366040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ba57600080fd5b505afa1580156103ce573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103f2919061081a565b60035460405163a9059cbb60e01b815233600482015260248101919091526001600160a01b03919091169063a9059cbb90604401602060405180830381600087803b15801561044057600080fd5b505af1158015610454573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104789190610836565b505b505b5050565b60006060600160009054906101000a90046001600160a01b03166001600160a01b0316636a2ab6026040518163ffffffff1660e01b815260040160206040518083038186803b1580156104d257600080fd5b505afa1580156104e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061050a9190610836565b60405180602001604052806000815250915091509250929050565b61052d61074d565b61053760006107a7565b565b600154604080516362cb3e1360e11b815290516000926001600160a01b03169163c5967c26916004808301926020929190829003018186803b15801561057e57600080fd5b505afa158015610592573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b691906108db565b905090565b6105c361074d565b600355565b6105d061074d565b6001600160a01b0381166106355760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610363565b61063e816107a7565b50565b61064961074d565b6040516370a0823160e01b81526001600160a01b0382169063a9059cbb90339083906370a082319061067f9030906004016108f3565b60206040518083038186803b15801561069757600080fd5b505afa1580156106ab573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cf91906108db565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561071557600080fd5b505af1158015610729573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061047c9190610836565b6000546001600160a01b031633146105375760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610363565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208284031215610808578081fd5b813561081381610964565b9392505050565b60006020828403121561082b578081fd5b815161081381610964565b600060208284031215610847578081fd5b81518015158114610813578182fd5b60008060208385031215610868578081fd5b823567ffffffffffffffff8082111561087f578283fd5b818501915085601f830112610892578283fd5b8135818111156108a0578384fd5b8660208285010111156108b1578384fd5b60209290920196919550909350505050565b6000602082840312156108d4578081fd5b5035919050565b6000602082840312156108ec578081fd5b5051919050565b6001600160a01b0391909116815260200190565b8215158152600060206040818401528351806040850152825b8181101561093c57858101830151858201606001528201610920565b8181111561094d5783606083870101525b50601f01601f191692909201606001949350505050565b6001600160a01b038116811461063e57600080fdfea26469706673582212203eea7007ffe528d39c451cdc053a6a8fa01e4987e1169567260a13c20e45643a64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007ee5010cbd5e499b7d66a7cba2ec3bde5fca8e000000000000000000000000002684861ba9dada685a11c4e9e5aed8630f08afe00000000000000000000000000000000000000000000000008ac7230489e800000000000000000000000000006357edbfe5ada570005ceb8fad3139ef5a8863cc
-----Decoded View---------------
Arg [0] : _gmuOracle (address): 0x7EE5010Cbd5e499b7d66a7cbA2Ec3BdE5fca8e00
Arg [1] : _registry (address): 0x2684861Ba9dadA685a11C4e9E5aED8630f08afe0
Arg [2] : _mahaRewardPerEpoch (uint256): 10000000000000000000
Arg [3] : _governance (address): 0x6357EDbfE5aDA570005ceB8FAd3139eF5A8863CC
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007ee5010cbd5e499b7d66a7cba2ec3bde5fca8e00
Arg [1] : 0000000000000000000000002684861ba9dada685a11c4e9e5aed8630f08afe0
Arg [2] : 0000000000000000000000000000000000000000000000008ac7230489e80000
Arg [3] : 0000000000000000000000006357edbfe5ada570005ceb8fad3139ef5a8863cc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1.89 | 1,000 | $1,890 |
Loading...
Loading
[ 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.