Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 183 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Add Rebase Data | 21269321 | 23 hrs ago | IN | 0 ETH | 0.00112227 | ||||
Add Rebase Data | 21262181 | 47 hrs ago | IN | 0 ETH | 0.00119662 | ||||
Add Rebase Data | 21255602 | 2 days ago | IN | 0 ETH | 0.00151079 | ||||
Add Rebase Data | 21248430 | 3 days ago | IN | 0 ETH | 0.0017649 | ||||
Add Rebase Data | 21241267 | 4 days ago | IN | 0 ETH | 0.00171564 | ||||
Add Rebase Data | 21233805 | 5 days ago | IN | 0 ETH | 0.00227567 | ||||
Add Rebase Data | 21226347 | 6 days ago | IN | 0 ETH | 0.00195115 | ||||
Add Rebase Data | 21219471 | 7 days ago | IN | 0 ETH | 0.00107853 | ||||
Add Rebase Data | 21212295 | 8 days ago | IN | 0 ETH | 0.00139762 | ||||
Add Rebase Data | 21204824 | 9 days ago | IN | 0 ETH | 0.0017703 | ||||
Add Rebase Data | 21197652 | 10 days ago | IN | 0 ETH | 0.0026737 | ||||
Add Rebase Data | 21190194 | 12 days ago | IN | 0 ETH | 0.00213 | ||||
Add Rebase Data | 21183031 | 13 days ago | IN | 0 ETH | 0.00804048 | ||||
Add Rebase Data | 21175865 | 14 days ago | IN | 0 ETH | 0.00570451 | ||||
Add Rebase Data | 21168705 | 15 days ago | IN | 0 ETH | 0.00472412 | ||||
Add Rebase Data | 21161544 | 16 days ago | IN | 0 ETH | 0.0026229 | ||||
Add Rebase Data | 21154363 | 17 days ago | IN | 0 ETH | 0.0014989 | ||||
Add Rebase Data | 21147191 | 18 days ago | IN | 0 ETH | 0.00138895 | ||||
Add Rebase Data | 21140430 | 18 days ago | IN | 0 ETH | 0.00165122 | ||||
Add Rebase Data | 21133247 | 19 days ago | IN | 0 ETH | 0.00212395 | ||||
Add Rebase Data | 21126009 | 20 days ago | IN | 0 ETH | 0.00805871 | ||||
Add Rebase Data | 21118549 | 22 days ago | IN | 0 ETH | 0.00076306 | ||||
Add Rebase Data | 21111677 | 22 days ago | IN | 0 ETH | 0.00062584 | ||||
Add Rebase Data | 21104214 | 24 days ago | IN | 0 ETH | 0.00130537 | ||||
Add Rebase Data | 21097064 | 25 days ago | IN | 0 ETH | 0.00063775 |
Loading...
Loading
Contract Name:
ElasticVaultAPRTracker
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Standard Json-Input format)
// 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; } }
// 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); } }
// 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; } }
{ "evmVersion": "istanbul", "optimizer": { "enabled": true, "runs": 200 }, "libraries": { "ElasticVaultAPRTracker.sol": {} }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b5061001a3361001f565b61006f565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6104f08061007e6000396000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80634d9371cd14610067578063715018a61461008557806386e872271461008f5780638da5cb5b146100a2578063c4fd250f146100bd578063f2fde38b14610105575b600080fd5b61006f610118565b60405161007c91906103d7565b60405180910390f35b61008d6101bd565b005b61008d61009d366004610459565b6101d1565b6000546040516001600160a01b03909116815260200161007c565b6100d06100cb366004610471565b61025d565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e00161007c565b61008d61011336600461048a565b6102af565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156101b457838290600052602060002090600702016040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250508152602001906001019061013c565b50505050905090565b6101c561032d565b6101cf6000610387565b565b6101d961032d565b60018054808201825560009190915281906007027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6016102588282813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a0820135600582015560c082013560068201555050565b505050565b6001818154811061026d57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6102b761032d565b6001600160a01b0381166103215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61032a81610387565b50565b6000546001600160a01b031633146101cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610318565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b602080825282518282018190526000919060409081850190868401855b8281101561044c5781518051855286810151878601528581015186860152606080820151908601526080808201519086015260a0808201519086015260c0908101519085015260e090930192908501906001016103f4565b5091979650505050505050565b600060e0828403121561046b57600080fd5b50919050565b60006020828403121561048357600080fd5b5035919050565b60006020828403121561049c57600080fd5b81356001600160a01b03811681146104b357600080fd5b939250505056fea26469706673582212206230e7757c45e8d14562bb7756b0d93a2969b4277c3f008ec1f7ad19d99ba51f64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c80634d9371cd14610067578063715018a61461008557806386e872271461008f5780638da5cb5b146100a2578063c4fd250f146100bd578063f2fde38b14610105575b600080fd5b61006f610118565b60405161007c91906103d7565b60405180910390f35b61008d6101bd565b005b61008d61009d366004610459565b6101d1565b6000546040516001600160a01b03909116815260200161007c565b6100d06100cb366004610471565b61025d565b604080519788526020880196909652948601939093526060850191909152608084015260a083015260c082015260e00161007c565b61008d61011336600461048a565b6102af565b60606001805480602002602001604051908101604052809291908181526020016000905b828210156101b457838290600052602060002090600702016040518060e00160405290816000820154815260200160018201548152602001600282015481526020016003820154815260200160048201548152602001600582015481526020016006820154815250508152602001906001019061013c565b50505050905090565b6101c561032d565b6101cf6000610387565b565b6101d961032d565b60018054808201825560009190915281906007027fb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6016102588282813581556020820135600182015560408201356002820155606082013560038201556080820135600482015560a0820135600582015560c082013560068201555050565b505050565b6001818154811061026d57600080fd5b90600052602060002090600702016000915090508060000154908060010154908060020154908060030154908060040154908060050154908060060154905087565b6102b761032d565b6001600160a01b0381166103215760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b61032a81610387565b50565b6000546001600160a01b031633146101cf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610318565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b602080825282518282018190526000919060409081850190868401855b8281101561044c5781518051855286810151878601528581015186860152606080820151908601526080808201519086015260a0808201519086015260c0908101519085015260e090930192908501906001016103f4565b5091979650505050505050565b600060e0828403121561046b57600080fd5b50919050565b60006020828403121561048357600080fd5b5035919050565b60006020828403121561049c57600080fd5b81356001600160a01b03811681146104b357600080fd5b939250505056fea26469706673582212206230e7757c45e8d14562bb7756b0d93a2969b4277c3f008ec1f7ad19d99ba51f64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.