ETH Price: $3,352.73 (-2.41%)
Gas: 6.32 Gwei

Contract

0x1032B50925D1C4135e0bD11BBB7345DD8CF43242
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Add Rebase Data212693212024-11-26 3:45:1123 hrs ago1732592711IN
0x1032B509...D8CF43242
0 ETH0.001122276.0769845
Add Rebase Data212621812024-11-25 3:47:3547 hrs ago1732506455IN
0x1032B509...D8CF43242
0 ETH0.001196626.47957529
Add Rebase Data212556022024-11-24 5:45:352 days ago1732427135IN
0x1032B509...D8CF43242
0 ETH0.001510798.18079821
Add Rebase Data212484302024-11-23 5:45:113 days ago1732340711IN
0x1032B509...D8CF43242
0 ETH0.00176499.5561368
Add Rebase Data212412672024-11-22 5:45:114 days ago1732254311IN
0x1032B509...D8CF43242
0 ETH0.001715649.28942581
Add Rebase Data212338052024-11-21 4:45:115 days ago1732164311IN
0x1032B509...D8CF43242
0 ETH0.0022756712.32174789
Add Rebase Data212263472024-11-20 3:45:116 days ago1732074311IN
0x1032B509...D8CF43242
0 ETH0.0019511510.56462104
Add Rebase Data212194712024-11-19 4:45:117 days ago1731991511IN
0x1032B509...D8CF43242
0 ETH0.001078537.44454548
Add Rebase Data212122952024-11-18 4:45:118 days ago1731905111IN
0x1032B509...D8CF43242
0 ETH0.001397629.64700919
Add Rebase Data212048242024-11-17 3:45:119 days ago1731815111IN
0x1032B509...D8CF43242
0 ETH0.00177039.585365
Add Rebase Data211976522024-11-16 3:45:1110 days ago1731728711IN
0x1032B509...D8CF43242
0 ETH0.002673714.47687849
Add Rebase Data211901942024-11-15 2:45:1112 days ago1731638711IN
0x1032B509...D8CF43242
0 ETH0.0021314.70346888
Add Rebase Data211830312024-11-14 2:45:1113 days ago1731552311IN
0x1032B509...D8CF43242
0 ETH0.0080404843.53551672
Add Rebase Data211758652024-11-13 2:45:1114 days ago1731465911IN
0x1032B509...D8CF43242
0 ETH0.0057045130.88729087
Add Rebase Data211687052024-11-12 2:45:1115 days ago1731379511IN
0x1032B509...D8CF43242
0 ETH0.0047241225.57892392
Add Rebase Data211615442024-11-11 2:46:4716 days ago1731293207IN
0x1032B509...D8CF43242
0 ETH0.002622914.20182158
Add Rebase Data211543632024-11-10 2:45:1117 days ago1731206711IN
0x1032B509...D8CF43242
0 ETH0.00149898.114795
Add Rebase Data211471912024-11-09 2:45:1118 days ago1731120311IN
0x1032B509...D8CF43242
0 ETH0.001388957.52003497
Add Rebase Data211404302024-11-08 4:07:3518 days ago1731038855IN
0x1032B509...D8CF43242
0 ETH0.001651228.94122058
Add Rebase Data211332472024-11-07 4:00:1119 days ago1730952011IN
0x1032B509...D8CF43242
0 ETH0.0021239511.5009972
Add Rebase Data211260092024-11-06 3:45:1120 days ago1730864711IN
0x1032B509...D8CF43242
0 ETH0.0080587143.63705141
Add Rebase Data211185492024-11-05 2:45:1122 days ago1730774711IN
0x1032B509...D8CF43242
0 ETH0.000763064.13189162
Add Rebase Data211116772024-11-04 3:45:1122 days ago1730691911IN
0x1032B509...D8CF43242
0 ETH0.000625843.79818246
Add Rebase Data211042142024-11-03 2:45:3524 days ago1730601935IN
0x1032B509...D8CF43242
0 ETH0.001305377.06752473
Add Rebase Data210970642024-11-02 2:45:5925 days ago1730515559IN
0x1032B509...D8CF43242
0 ETH0.000637753.4529385
View all transactions

Advanced mode:
Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ElasticVaultAPRTracker

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license
File 1 of 3 : ElasticVaultAPRTracker.sol
// SPDX-License-Identifier: NONE

pragma solidity 0.8.9;

import "Ownable.sol";

contract ElasticVaultAPRTracker is Ownable {
    
    struct RebaseData {
        uint256 oldAMPLSupply;
        uint256 newAMPLSupply;
        uint256 amplVaultBalance;
        uint256 ohmEEFILPVaultBalance;
        uint256 estimated30DayAmplStakerApr;
        uint256 estimated30DayOHMEEFILpApr;
        uint256 time;
    }

    RebaseData[] public rebaseDataList;

    function addRebaseData(RebaseData calldata _rebaseData) public onlyOwner {
        rebaseDataList.push(_rebaseData);
    }

    function getAllRebaseData() public view returns (RebaseData[] memory) {
        return rebaseDataList;
    }
}

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

pragma solidity ^0.8.0;

import "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);
    }
}

File 3 of 3 : Context.sol
// 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;
    }
}

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

Contract Security Audit

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":[{"components":[{"internalType":"uint256","name":"oldAMPLSupply","type":"uint256"},{"internalType":"uint256","name":"newAMPLSupply","type":"uint256"},{"internalType":"uint256","name":"amplVaultBalance","type":"uint256"},{"internalType":"uint256","name":"ohmEEFILPVaultBalance","type":"uint256"},{"internalType":"uint256","name":"estimated30DayAmplStakerApr","type":"uint256"},{"internalType":"uint256","name":"estimated30DayOHMEEFILpApr","type":"uint256"},{"internalType":"uint256","name":"time","type":"uint256"}],"internalType":"struct ElasticVaultAPRTracker.RebaseData","name":"_rebaseData","type":"tuple"}],"name":"addRebaseData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAllRebaseData","outputs":[{"components":[{"internalType":"uint256","name":"oldAMPLSupply","type":"uint256"},{"internalType":"uint256","name":"newAMPLSupply","type":"uint256"},{"internalType":"uint256","name":"amplVaultBalance","type":"uint256"},{"internalType":"uint256","name":"ohmEEFILPVaultBalance","type":"uint256"},{"internalType":"uint256","name":"estimated30DayAmplStakerApr","type":"uint256"},{"internalType":"uint256","name":"estimated30DayOHMEEFILpApr","type":"uint256"},{"internalType":"uint256","name":"time","type":"uint256"}],"internalType":"struct ElasticVaultAPRTracker.RebaseData[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rebaseDataList","outputs":[{"internalType":"uint256","name":"oldAMPLSupply","type":"uint256"},{"internalType":"uint256","name":"newAMPLSupply","type":"uint256"},{"internalType":"uint256","name":"amplVaultBalance","type":"uint256"},{"internalType":"uint256","name":"ohmEEFILPVaultBalance","type":"uint256"},{"internalType":"uint256","name":"estimated30DayAmplStakerApr","type":"uint256"},{"internalType":"uint256","name":"estimated30DayOHMEEFILpApr","type":"uint256"},{"internalType":"uint256","name":"time","type":"uint256"}],"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"}]

608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6104f08061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80634d9371cd14610067578063715018a61461008557806386e872271461008f5780638da5cb5b146100a2578063c4fd250f146100bd578063f2fde38b14610105575b600080fd5b61006f610118565b60405161007c91906103d7565b60405180910390f35b61008d6101bd565b005b61008d61009d366004610459565b6101d1565b6000546040516001600160a01b03909116815260200161007c565b6100d06100cb366004610471565b61025d565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e00161007c565b61008d61011336600461048a565b6102af565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156101b457838290600052602060002090600702016040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250508152602001906001019061013c565b50505050905090565b6101c561032d565b6101cf6000610387565b565b6101d961032d565b60018054808201825560009190915281906007027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6016102588282813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a0820135600582015560c082013560068201555050565b505050565b6001818154811061026d57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6102b761032d565b6001600160a01b0381166103215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61032a81610387565b50565b6000546001600160a01b031633146101cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610318565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b602080825282518282018190526000919060409081850190868401855b8281101561044c5781518051855286810151878601528581015186860152606080820151908601526080808201519086015260a0808201519086015260c0908101519085015260e090930192908501906001016103f4565b5091979650505050505050565b600060e0828403121561046b57600080fd5b50919050565b60006020828403121561048357600080fd5b5035919050565b60006020828403121561049c57600080fd5b81356001600160a01b03811681146104b357600080fd5b939250505056fea26469706673582212206230e7757c45e8d14562bb7756b0d93a2969b4277c3f008ec1f7ad19d99ba51f64736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100625760003560e01c80634d9371cd14610067578063715018a61461008557806386e872271461008f5780638da5cb5b146100a2578063c4fd250f146100bd578063f2fde38b14610105575b600080fd5b61006f610118565b60405161007c91906103d7565b60405180910390f35b61008d6101bd565b005b61008d61009d366004610459565b6101d1565b6000546040516001600160a01b03909116815260200161007c565b6100d06100cb366004610471565b61025d565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e00161007c565b61008d61011336600461048a565b6102af565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156101b457838290600052602060002090600702016040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250508152602001906001019061013c565b50505050905090565b6101c561032d565b6101cf6000610387565b565b6101d961032d565b60018054808201825560009190915281906007027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6016102588282813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a0820135600582015560c082013560068201555050565b505050565b6001818154811061026d57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6102b761032d565b6001600160a01b0381166103215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61032a81610387565b50565b6000546001600160a01b031633146101cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610318565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b602080825282518282018190526000919060409081850190868401855b8281101561044c5781518051855286810151878601528581015186860152606080820151908601526080808201519086015260a0808201519086015260c0908101519085015260e090930192908501906001016103f4565b5091979650505050505050565b600060e0828403121561046b57600080fd5b50919050565b60006020828403121561048357600080fd5b5035919050565b60006020828403121561049c57600080fd5b81356001600160a01b03811681146104b357600080fd5b939250505056fea26469706673582212206230e7757c45e8d14562bb7756b0d93a2969b4277c3f008ec1f7ad19d99ba51f64736f6c63430008090033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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  ]

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.