ETH Price: $3,403.60 (+1.12%)

Contract

0x09B114dAC9b0848819a59E944D631B98E06CDfA3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Value183182212023-10-10 6:19:47444 days ago1696918787IN
0x09B114dA...8E06CDfA3
0 ETH0.000161614.97284412
Set Value183092882023-10-09 0:18:11445 days ago1696810691IN
0x09B114dA...8E06CDfA3
0 ETH0.000172085.2949479
Set Value182948482023-10-06 23:50:47447 days ago1696636247IN
0x09B114dA...8E06CDfA3
0 ETH0.00017775.46782332
Set Value182895122023-10-06 5:55:35448 days ago1696571735IN
0x09B114dA...8E06CDfA3
0 ETH0.000186555.74016568
Set Value182808792023-10-05 0:57:47449 days ago1696467467IN
0x09B114dA...8E06CDfA3
0 ETH0.000191435.89035204
Set Value182532182023-10-01 4:11:47453 days ago1696133507IN
0x09B114dA...8E06CDfA3
0 ETH0.000201496.19972341
Set Value182389282023-09-29 4:14:47455 days ago1695960887IN
0x09B114dA...8E06CDfA3
0 ETH0.000210666.4819393
Set Value182308952023-09-28 1:12:59456 days ago1695863579IN
0x09B114dA...8E06CDfA3
0 ETH0.000219886.76580365
Set Value182052012023-09-24 10:56:11459 days ago1695552971IN
0x09B114dA...8E06CDfA3
0 ETH0.00022787.00940008
Set Value181962732023-09-23 4:55:59461 days ago1695444959IN
0x09B114dA...8E06CDfA3
0 ETH0.000239497.36899269
Set Value181676732023-09-19 4:47:23465 days ago1695098843IN
0x09B114dA...8E06CDfA3
0 ETH0.0002487.63102761
Set Value181519962023-09-16 23:38:35467 days ago1694907515IN
0x09B114dA...8E06CDfA3
0 ETH0.000255767.86962334
Set Value181246712023-09-13 3:20:47471 days ago1694575247IN
0x09B114dA...8E06CDfA3
0 ETH0.000269748.29969292
Set Value181044132023-09-10 7:14:23474 days ago1694330063IN
0x09B114dA...8E06CDfA3
0 ETH0.000281998.67676383
Set Value180964582023-09-09 4:28:35475 days ago1694233715IN
0x09B114dA...8E06CDfA3
0 ETH0.000292368.99588261
Set Value180527742023-09-03 1:44:47481 days ago1693705487IN
0x09B114dA...8E06CDfA3
0 ETH0.000296579.12535615
Set Value180526022023-09-03 1:10:23481 days ago1693703423IN
0x09B114dA...8E06CDfA3
0 ETH0.000307089.44882982
Set Value180522492023-09-02 23:59:11481 days ago1693699151IN
0x09B114dA...8E06CDfA3
0 ETH0.0003297310.14573808
Set Value180017382023-08-26 22:10:47488 days ago1693087847IN
0x09B114dA...8E06CDfA3
0 ETH0.000342310.53253608
Set Value180016782023-08-26 21:58:35488 days ago1693087115IN
0x09B114dA...8E06CDfA3
0 ETH0.0003606311.09645733
Set Value179034892023-08-13 4:15:47502 days ago1691900147IN
0x09B114dA...8E06CDfA3
0 ETH0.0003739611.50652407
Set Value177018252023-07-15 22:49:11530 days ago1689461351IN
0x09B114dA...8E06CDfA3
0 ETH0.0003633111.17893805
Set Value175516032023-06-24 19:59:11551 days ago1687636751IN
0x09B114dA...8E06CDfA3
0 ETH0.0004045312.4473762
Set Value175177372023-06-20 1:47:35556 days ago1687225655IN
0x09B114dA...8E06CDfA3
0 ETH0.0004046712.45156155
Set Value175032892023-06-18 1:06:23558 days ago1687050383IN
0x09B114dA...8E06CDfA3
0 ETH0.0004413713.58079946
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
213609182024-12-08 22:59:4718 days ago1733698787
0x09B114dA...8E06CDfA3
0 ETH
210571432024-10-27 13:04:2360 days ago1730034263
0x09B114dA...8E06CDfA3
0 ETH
210571092024-10-27 12:57:3560 days ago1730033855
0x09B114dA...8E06CDfA3
0 ETH
209931802024-10-18 14:54:5969 days ago1729263299
0x09B114dA...8E06CDfA3
0 ETH
209717552024-10-15 15:07:2372 days ago1729004843
0x09B114dA...8E06CDfA3
0 ETH
209697572024-10-15 8:24:4773 days ago1728980687
0x09B114dA...8E06CDfA3
0 ETH
209557122024-10-13 9:19:2375 days ago1728811163
0x09B114dA...8E06CDfA3
0 ETH
209556972024-10-13 9:16:2375 days ago1728810983
0x09B114dA...8E06CDfA3
0 ETH
209523812024-10-12 22:03:4775 days ago1728770627
0x09B114dA...8E06CDfA3
0 ETH
209269872024-10-09 8:57:5979 days ago1728464279
0x09B114dA...8E06CDfA3
0 ETH
209106862024-10-07 2:26:5981 days ago1728268019
0x09B114dA...8E06CDfA3
0 ETH
208780922024-10-02 13:24:1185 days ago1727875451
0x09B114dA...8E06CDfA3
0 ETH
208571522024-09-29 15:20:1188 days ago1727623211
0x09B114dA...8E06CDfA3
0 ETH
208455062024-09-28 0:20:1190 days ago1727482811
0x09B114dA...8E06CDfA3
0 ETH
207807832024-09-18 23:33:2399 days ago1726702403
0x09B114dA...8E06CDfA3
0 ETH
207626292024-09-16 10:36:59101 days ago1726483019
0x09B114dA...8E06CDfA3
0 ETH
207626242024-09-16 10:35:59101 days ago1726482959
0x09B114dA...8E06CDfA3
0 ETH
207474152024-09-14 7:39:35104 days ago1726299575
0x09B114dA...8E06CDfA3
0 ETH
207122412024-09-09 9:44:47109 days ago1725875087
0x09B114dA...8E06CDfA3
0 ETH
206715932024-09-03 17:38:11114 days ago1725385091
0x09B114dA...8E06CDfA3
0 ETH
206346282024-08-29 13:46:47119 days ago1724939207
0x09B114dA...8E06CDfA3
0 ETH
205955932024-08-24 2:51:23125 days ago1724467883
0x09B114dA...8E06CDfA3
0 ETH
205943062024-08-23 22:32:35125 days ago1724452355
0x09B114dA...8E06CDfA3
0 ETH
205868682024-08-22 21:34:59126 days ago1724362499
0x09B114dA...8E06CDfA3
0 ETH
205711652024-08-20 16:55:59128 days ago1724172959
0x09B114dA...8E06CDfA3
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DIADafiOracle

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-07-08
*/

pragma solidity 0.7.4;

contract DIADafiOracle {
    mapping (string => uint256) public values;
    address oracleUpdater;
    
    event OracleUpdate(string key, uint128 value, uint128 timestamp);
    event UpdaterAddressChange(address newUpdater);
    
    constructor() {
        oracleUpdater = msg.sender;
    }
    
    function setValue(string memory key, uint128 value, uint128 timestamp) public {
        require(msg.sender == oracleUpdater);
        uint256 cValue = (((uint256)(value)) << 128) + timestamp;
        values[key] = cValue;
        emit OracleUpdate(key, value, timestamp);
    }
    
    function getValue(string memory key) public view returns (uint128, uint128) {
        uint256 cValue = values[key];
        uint128 timestamp = (uint128)(cValue % 2**128);
        uint128 value = (uint128)(cValue >> 128);
        return (value, timestamp);
    }
    
    function updateOracleUpdaterAddress(address newOracleUpdaterAddress) public {
        require(msg.sender == oracleUpdater);
        oracleUpdater = newOracleUpdaterAddress;
        emit UpdaterAddressChange(newOracleUpdaterAddress);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"key","type":"string"},{"indexed":false,"internalType":"uint128","name":"value","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"timestamp","type":"uint128"}],"name":"OracleUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newUpdater","type":"address"}],"name":"UpdaterAddressChange","type":"event"},{"inputs":[{"internalType":"string","name":"key","type":"string"}],"name":"getValue","outputs":[{"internalType":"uint128","name":"","type":"uint128"},{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"key","type":"string"},{"internalType":"uint128","name":"value","type":"uint128"},{"internalType":"uint128","name":"timestamp","type":"uint128"}],"name":"setValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOracleUpdaterAddress","type":"address"}],"name":"updateOracleUpdaterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"values","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600180546001600160a01b0319163317905561054d806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea26469706673582212207e4e19087a528874be962b8238decf7c62f607e985b8c21718f4390cd158300064736f6c63430007040033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea26469706673582212207e4e19087a528874be962b8238decf7c62f607e985b8c21718f4390cd158300064736f6c63430007040033

Deployed Bytecode Sourcemap

26:1131:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;56:41:0;;-1:-1:-1;56:41:0;;-1:-1:-1;;;;;56:41:0:i;:::-;;;;;;;;;;;;;;;;912:242;;;;;;;;;;;;;;;;-1:-1:-1;912:242:0;-1:-1:-1;;;;;912:242:0;;:::i;:::-;;339:282;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;339:282:0;;-1:-1:-1;;;;;;;339:282:0;;;;;-1:-1:-1;339:282:0;;;;;;;;;-1:-1:-1;339:282:0;;-1:-1:-1;339:282:0:i;633:267::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;633:267:0;;-1:-1:-1;633:267:0;;-1:-1:-1;;;;;633:267:0:i;:::-;;;;;-1:-1:-1;;;;;633:267:0;;;;;;-1:-1:-1;;;;;633:267:0;;;;;;;;;;;;;;;;56:41;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;912:242::-;1021:13;;-1:-1:-1;;;;;1021:13:0;1007:10;:27;999:36;;;;;;1046:13;:39;;-1:-1:-1;;;;;1046:39:0;;-1:-1:-1;;;;;;1046:39:0;;;;;;;;1101:45;;;;;;;;;;;;;;;;912:242;:::o;339:282::-;450:13;;-1:-1:-1;;;;;450:13:0;436:10;:27;428:36;;;;;;475:14;522:9;-1:-1:-1;;;;;492:39:0;515:3;504:5;-1:-1:-1;;;;;494:16:0;493:25;;492:39;475:56;;556:6;542;549:3;542:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;542:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;542:11:0;;;;;;;;;;;;;;;;-1:-1:-1;542:11:0;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;578:35:0;;;;;;;;;;;;;;;;-1:-1:-1;;578:35:0;;;;;;;;;;;;;;;;;;;;542:11;;578:35;;;;;;;;;;-1:-1:-1;578:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;339:282;;;;:::o;633:267::-;691:7;700;720:14;737:6;744:3;737:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;737:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;737:11:0;;;;;;;;;;;;;;;;-1:-1:-1;737:11:0;;;;;;;;;;;852:3;842:13;;;;-1:-1:-1;;;;;789:15:0;;;;-1:-1:-1;842:13:0;-1:-1:-1;;;;;633:267:0:o

Swarm Source

ipfs://7e4e19087a528874be962b8238decf7c62f607e985b8c21718f4390cd1583000

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.