Contract 0xbf91446115f3E3eaF5079A88E078F876C0d7A6A8 9

 

Contract Overview

Dopex: gOHM Volatility Oracle
Balance:
0 ETH

ETH Value:
$0.00
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x41389592ec2f768e3650dc1eb05accfcef815bad1585e85ebd460c861d62d5a3Update Volatilit...1329077982023-09-20 16:38:0416 hrs 29 mins ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.0000251 0.1
0xf4f2fb64f9cfbe3f1e37fd5fed4605c86ac657802d706185d943224d1b6aae28Update Volatilit...1325854662023-09-19 16:38:051 day 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00002618 0.1
0x8752487af991ca696c54ad9ddae6b334c973fd24f02d9c97b43901994b3d7fdcUpdate Volatilit...1322736622023-09-18 16:38:032 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00003145 0.1
0x1808e7edcf4b5507dc7a265310b9418669060360ed8c1c15597e0127aa293eeeUpdate Volatilit...1319689122023-09-17 16:38:033 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.0000162 0.1
0x9b1e1039eba0917bda10df1b31f03ecc76176ff3f44d8bf600e77eb312b06598Update Volatilit...1316806862023-09-16 16:38:044 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00001749 0.1
0x4b7336e49985aa698147fc64171f111a56f58793b70dae4811bbf6b6f251a3c2Update Volatilit...1313788352023-09-15 16:38:035 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00001883 0.1
0xb8e8e8583f246a85a989d7216329a6b727db4be4bfc6b7776d998506472c4e72Update Volatilit...1310785682023-09-14 16:38:046 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00004461 0.1
0xf25144b441d467ba249cdb0e5eb03ae8127f3ca26979731f02d20ced66e66bfeUpdate Volatilit...1307701422023-09-13 16:38:037 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00002874 0.1
0x389c01546c070538150d4f81066178404b4af1fd68e8b564ecd89d7e1e948ba3Update Volatilit...1304686702023-09-12 16:38:048 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.0000321 0.1
0x06e0430e6d6b8274e992135229acdb7f0f43f782c996d8000b836c7c203ba0f6Update Volatilit...1301634072023-09-11 16:38:039 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00005575 0.1
0xfd02bf5da84955d3e304d68a1e8fcc3b857c1fc9f7d46ed8e187c93169c08c2fUpdate Volatilit...1298546112023-09-10 16:38:0310 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00002161 0.1
0x15394d92f07984e0941924f877be184dd1694b4fa843e3dafb56f090086e25c7Update Volatilit...1295558612023-09-09 16:38:0411 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00002496 0.1
0xf14b979167265ebb9827de2b99c9a47252b1827aa3714f11684bfb56eb9944acUpdate Volatilit...1292541852023-09-08 16:38:0312 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00004472 0.1
0xd1af0bcdccf7a16d2dfa3c8acdca2018598a1ac50006358f023dffc669299859Update Volatilit...1289347222023-09-07 16:38:0413 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00004345 0.1
0x77e9a95416c001b171dd0a1dcfb423641492bf69c731e398900c0fcf0f80fe46Update Volatilit...1286290582023-09-06 16:38:0414 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00005126 0.1
0x1d39dfdf667b95755d4ead02c6d88aeea5169e02ba7b8e4d6555da4694650aaaUpdate Volatilit...1283105542023-09-05 16:38:0415 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00003002 0.1
0x8cda483add387807f24de0e102ce16787dd8c4e46127e3454d4599423bc47c3eUpdate Volatilit...1280050702023-09-04 16:38:0416 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00004699 0.1
0x58bde610343f1a323379ad153ad1bf43aae236b7da292e82ea16f00081b3ce79Update Volatilit...1277005242023-09-03 16:38:0317 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00003107 0.1
0x168be895afdbbd7dac68a9a80eb77b67bf2b0aa4afdd77bf847a3456a1df4501Update Volatilit...1273989782023-09-02 16:38:0318 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00003368 0.1
0x08104c106642ad693de14771c6ebd1eaa82044c2f529587d34cf3d6dbadc6324Update Volatilit...1270805482023-09-01 16:38:0419 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00006195 0.1
0x568e4656f7e2bf90f422cf0e0a7b879e46d0a366c2e0576426e1e74ad914f24dUpdate Volatilit...1267589132023-08-31 16:38:0420 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00005803 0.1
0xb9483406d0951da858ee5dcf48123a0d710dbed4bdeb75427c4bbcc7c1f7c417Update Volatilit...1264404482023-08-30 16:38:0421 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00006869 0.1
0xef0bb791e8275f8c59b2f181e3b3250ad9e118dd212db977c4a5645571c2d500Update Volatilit...1261327852023-08-29 16:38:0322 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00009158 0.1
0xf88e5604d4e4441c8bbcef91fbc3f0b2540694fea687eb40d4e6729d0d1d8deeUpdate Volatilit...1258267222023-08-28 16:38:0323 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00006754 0.1
0x4888eb6075fa7161c50fd9a3dde4dbfa4d2c0187614295611f353e2e7b147ab7Update Volatilit...1255204772023-08-27 16:38:0324 days 16 hrs ago0xf6ac2908c52400b1db3783675c0d4d279519b841 IN  Dopex: gOHM Volatility Oracle0 ETH0.00003664 0.1
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x1cac68331aeb12d55c0e2ec65129d9dcaf778ecfd047a18ac4b5d45313d0db97707359732023-03-17 11:53:46187 days 21 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x4bf978439b21012bda362b81a24c9056be01e8e2e1de458a3bb3795ce71853d0691365502023-03-12 12:38:22192 days 20 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x831966833e76fb50f447a8b9fd7c9f85fc037c497294b0fcd9e7b5fdaf2ba471685244532023-03-10 12:09:13194 days 20 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x2e73fd52dbe05768225e3f0fd9c90f7930a7c473a7999ef771533800255bdb4e684868792023-03-10 9:26:10194 days 23 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x7a51f905e40af1fb2d0e542900a918fc0e69241d28aa6aaf1027b42384039afa683286142023-03-09 21:19:40195 days 11 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x2bc2a50f862cf25d46c2815f95e80a8249c3cadfac886afa11cfda18b95e5b59683281992023-03-09 21:17:48195 days 11 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x118c54ff095fa309ff8c40dbefa197e140d6f819873314ae9b57b9ed24bd3f8b663244402023-03-03 8:53:34202 days 14 mins ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xa1f0eacd35aa28ab9f11ebe892fdf966bf3a1fdaf8a3c7cfcd187556f42d6dfb640663062023-02-24 9:41:13208 days 23 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x422a049bd18a603970e8b37536fe01624d3276cfed61d92fea3f2f86ff1b45f2619967542023-02-18 5:14:55215 days 3 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xce8739f0aef692f5ee49297b13d9cd8453b4fb4b7ebff08b21b66351d6615a90617548052023-02-17 11:01:29215 days 22 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x8906c7a2a8110f08203f375ac30d6607a39c4e25e174e910c1e85c4631f626a6617542312023-02-17 10:59:00215 days 22 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xdba4cd2fdcfe06070ef129d2d3b7bd861b7a2cd278b9f7f347a503d13443dd2e607420952023-02-14 4:20:35219 days 4 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xe1bd61017ba37ffa22cc3e395bfd6c9a117cc6ec1111c451de5501ea47332dfb607384192023-02-14 4:02:49219 days 5 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xbb3a88441d95b1a1b2c3f018bf0d9576ac8f155257882f69c70559023af39660607343002023-02-14 3:43:26219 days 5 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xbfaf1d133ac9d16e8bfb9dac5b1853d1f870d258de68f771da43746416f97f77596496832023-02-10 9:11:42222 days 23 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x9458cc8d1acd96f4540c31614c4c92404ae51248dce69185226ce72cce445895558692682023-01-27 13:23:28236 days 19 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xe1859f485d3205a7e5f5b3b66290eb4e0b7c7cf72886f67b4cb4115d4d1aa60b543818412023-01-20 22:41:42243 days 10 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x22323c5e2b9f86e653de6be3b4516f61404d29c0076662a2d74c9753d6b21772531095022023-01-14 22:08:03249 days 10 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x2c51cd5f37b9b92a620d79cee107d2f70310729d594fb0cb73704f8eb311ee46507446552023-01-04 8:27:11260 days 40 mins ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xa9650ba8897065a166cbba622ebf9045c3d97e5846945a976732d279befeb4c3507299502023-01-04 7:09:45260 days 1 hr ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x3d345dca3d6ab2289e2425c2550de92d35ed30b58a819229511e90d40e7a142b497724542022-12-30 10:34:36264 days 22 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x8da3c6dadbc9f4e3e58b2770da1a9bfc3c1397e9a100c2b56043166713af40cd479518462022-12-22 5:12:15273 days 3 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0xe4818d869911ff5713726a9fe47271b252abb0f1b89eed1c1a6bbd968400a168454056472022-12-11 23:03:24283 days 10 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x3a996061a8bbe9da7a7e8a5aace51b2c3c976f97f896f99dcd7276ad2a5a3067437126192022-12-05 4:25:57290 days 4 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
0x52022bd56f2c133429621318ee390aa31b23eed250dea6f9fdc4c1bcf1e62350410700782022-11-25 10:59:27299 days 22 hrs ago Dopex: gOHM Volatility Oracle V2 Dopex: gOHM Volatility Oracle0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GohmVolatilityOracle

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
File 1 of 4 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

File 2 of 4 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

File 3 of 4 : IVolatilityOracle.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

interface IVolatilityOracle {
    function getVolatility() external view returns (uint256);
}

File 4 of 4 : GohmVolatilityOracle.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;

// Contracts
import {Ownable} from '@openzeppelin/contracts/access/Ownable.sol';

// Interfaces
import {IVolatilityOracle} from '../interfaces/IVolatilityOracle.sol';

contract GohmVolatilityOracle is Ownable, IVolatilityOracle {
    /*==== PUBLIC VARS ====*/

    uint256 public lastVolatility;

    /*==== SETTER FUNCTIONS (ONLY OWNER) ====*/

    /**
     * @notice Updates the last volatility for gOHM
     * @param v volatility
     * @return volatility of gOHM
     */
    function updateVolatility(uint256 v) external onlyOwner returns (uint256) {
        require(v != 0, 'VolatilityOracle: Volatility cannot be 0');

        lastVolatility = v;

        return v;
    }

    /*==== VIEWS ====*/

    /**
     * @notice Gets the volatility of gOHM
     * @return volatility
     */
    function getVolatility() external view override returns (uint256) {
        require(lastVolatility != 0, 'VolatilityOracle: Last volatility == 0');

        return lastVolatility;
    }
}

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

Contract ABI

[{"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":"getVolatility","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastVolatility","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","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":"v","type":"uint256"}],"name":"updateVolatility","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6103b18061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80632834a7c8146100675780633af2888b1461008d578063715018a6146100955780638843be741461009f5780638da5cb5b146100a8578063f2fde38b146100c3575b600080fd5b61007a6100753660046102fd565b6100d6565b6040519081526020015b60405180910390f35b61007a610171565b61009d6101dc565b005b61007a60015481565b6000546040516001600160a01b039091168152602001610084565b61009d6100d1366004610316565b610212565b600080546001600160a01b0316331461010a5760405162461bcd60e51b815260040161010190610346565b60405180910390fd5b816101685760405162461bcd60e51b815260206004820152602860248201527f566f6c6174696c6974794f7261636c653a20566f6c6174696c6974792063616e60448201526706e6f7420626520360c41b6064820152608401610101565b50600181905590565b6000600154600014156101d55760405162461bcd60e51b815260206004820152602660248201527f566f6c6174696c6974794f7261636c653a204c61737420766f6c6174696c6974604482015265079203d3d20360d41b6064820152608401610101565b5060015490565b6000546001600160a01b031633146102065760405162461bcd60e51b815260040161010190610346565b61021060006102ad565b565b6000546001600160a01b0316331461023c5760405162461bcd60e51b815260040161010190610346565b6001600160a01b0381166102a15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610101565b6102aa816102ad565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006020828403121561030f57600080fd5b5035919050565b60006020828403121561032857600080fd5b81356001600160a01b038116811461033f57600080fd5b9392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220d3fe9df34f1ab197a15d47891277174433387ecbc6c69091b166efd47ba9891264736f6c63430008090033

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