Contract 0xa707a5c6a180da0ae2ef17ebff54f1f3589d9670 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3e8cc8f00f1f96b3c6f9b1aa49447763cd74b21954eebdffeb6e5687430a50bcSet Value714305282024-05-25 20:43:5131 secs ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010087
0x71631f082ebab03b9728825dd7706b2e2888fc8f217368f3b15b96329a6d6798Set Value714305082024-05-25 20:43:4636 secs ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010106
0x1ff40dedbb9bbcae8902ee278165b5a91afbda6f2cb31c989b74f2035c279569Set Value714304992024-05-25 20:43:3745 secs ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010004
0x22fd29c53941ae2c973d91e01756159bb9b0c1fb19932cde6038353063cdd0c6Set Value714303582024-05-25 20:40:583 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.01
0xb3b6c149c4e1a7e264b10df303ce0370f2b680882f53b30e50db212c39a6443cSet Value714211052024-05-25 19:40:591 hr 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000390.011033
0xf3440e10b16161ce6b06024fbbce8208704ba24e372fc328c277cb2920ab590cSet Value714210842024-05-25 19:40:531 hr 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000380.010888
0xb735c07f3fd18c200c8d0643714846451884848a0d2a57f6745cef5b3eca6543Set Value714210622024-05-25 19:40:481 hr 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000380.010634
0xa8adcd882996d1c8210621b568b8ceceb1aa2250b6f35405f9a4e43375868a03Set Value714140502024-05-25 18:58:461 hr 45 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010149
0xcd7a397198212c99863fbd4f572fc9c9e472fa1adf64c92c5e62fa7f74d7a688Set Value714138102024-05-25 18:56:481 hr 47 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010048
0x7927dff15c0e501dfa8159d096a84bd04b0c8e857446d6b6470b3efdeba30cb8Set Value714116472024-05-25 18:40:592 hrs 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.01
0x25b54e2bc22228f05b6abe2bd9514080e9999a08357ec56f60ebeb809d669a48Set Value714116252024-05-25 18:40:532 hrs 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000370.010392
0x8d9ce729e42cbe46df99a893bceabb2353341a374ba7e2a690a41a00a0c28d18Set Value714116112024-05-25 18:40:482 hrs 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010214
0x5f4753f37620e310228106fc916f0fa6705db7b42fbbce6f185552bfa944f878Set Value714064272024-05-25 18:10:472 hrs 33 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010141
0xad6cfe3282c046a2df01668349e9b794342d8c6a94309095650cc4e2a0e82a5aSet Value714058612024-05-25 18:06:512 hrs 37 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000370.010055
0x4bd56292503c1beadf3b4cf8cef9d7433010ecb9694ba7c16b69d6e097fe35b1Set Value714031822024-05-25 17:46:462 hrs 57 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000370.010189
0xa763dbcac4203b95299671968627080a11de8aaac2050de953a930731bb34a22Set Value714028592024-05-25 17:44:472 hrs 59 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000370.01041
0xc006fbcfba8ea1491f95e0076ef0334927918756828b7beaa06efea2ec3ebadbSet Value714022712024-05-25 17:41:093 hrs 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.01024
0xef3aa1413673b6bf346c107eb6d68e7e2e8234bf2e3103b910be97d533ff3cbfSet Value714022562024-05-25 17:41:023 hrs 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010034
0xc82de95d29b0dac0ae333b07eb3900fbe2eff6b3f42de1065d4ed80b60946356Set Value714022302024-05-25 17:40:543 hrs 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.01
0x73156c6f8b29318f8e5e40c139acd2f41d6cad477408b9f408831541cbd5ac54Set Value714022062024-05-25 17:40:473 hrs 3 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.0101
0x4fac38f4483a092e2f9c3ab2ace757592f6feeb9c513038164d64408d9b8a061Set Value714018562024-05-25 17:38:473 hrs 5 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010149
0x08916d823958d01b04999c2048060695d793d3619db939adc32455cbd0fe2dafSet Value714015002024-05-25 17:36:473 hrs 7 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010297
0x6d2f9d3e830fb40fee86c2147f68b8d185e4a57a4c4df07a5568d5c2c1dc811dSet Value714011582024-05-25 17:34:473 hrs 9 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000360.010347
0x210b65879fd1ff0ada87f4290ff2f4488a7d74bb9e644c3444c93e9416ab4f70Set Value714008042024-05-25 17:32:473 hrs 11 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000350.010049
0x6468d23f81b790cd5657f9ca182f7397bc8e6d97d976e6017ab844ef03713e61Set Value713973902024-05-25 17:04:473 hrs 39 mins ago0x82c70cb085bab320ff8d9b48519105d1faf83ca2 IN  0xa707a5c6a180da0ae2ef17ebff54f1f3589d96700 ETH0.000000390.010271
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DIAOracleV2

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Nova.Arbiscan.io on 2023-05-08
*/

// compiled using solidity 0.7.4

pragma solidity 0.7.4;

contract DIAOracleV2 {
    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) external 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 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"}]

608060405234801561001057600080fd5b50600180546001600160a01b0319163317905561054d806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea26469706673582212201dbd2d2595871132685a64fa9a76d5dd82fe4b43c7a277a026abb7353f1e33a464736f6c63430007040033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea26469706673582212201dbd2d2595871132685a64fa9a76d5dd82fe4b43c7a277a026abb7353f1e33a464736f6c63430007040033

Deployed ByteCode Sourcemap

62:1131:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;90:41:0;;-1:-1:-1;90:41:0;;-1:-1:-1;;;;;90:41:0:i;:::-;;;;;;;;;;;;;;;;948:242;;;;;;;;;;;;;;;;-1:-1:-1;948:242:0;-1:-1:-1;;;;;948:242:0;;:::i;:::-;;373:282;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;373:282:0;;-1:-1:-1;;;;;;;373:282:0;;;;;-1:-1:-1;373:282:0;;;;;;;;;-1:-1:-1;373:282:0;;-1:-1:-1;373:282:0:i;667:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;667:269:0;;-1:-1:-1;667:269:0;;-1:-1:-1;;;;;667:269:0:i;:::-;;;;;-1:-1:-1;;;;;667:269:0;;;;;;-1:-1:-1;;;;;667:269:0;;;;;;;;;;;;;;;;90:41;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;948:242::-;1057:13;;-1:-1:-1;;;;;1057:13:0;1043:10;:27;1035:36;;;;;;1082:13;:39;;-1:-1:-1;;;;;1082:39:0;;-1:-1:-1;;;;;;1082:39:0;;;;;;;;1137:45;;;;;;;;;;;;;;;;948:242;:::o;373:282::-;484:13;;-1:-1:-1;;;;;484:13:0;470:10;:27;462:36;;;;;;509:14;556:9;-1:-1:-1;;;;;526:39:0;549:3;538:5;-1:-1:-1;;;;;528:16:0;527:25;;526:39;509:56;;590:6;576;583:3;576:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;576:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;576:11:0;;;;;;;;;;;;;;;;-1:-1:-1;576:11:0;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;612:35:0;;;;;;;;;;;;;;;;-1:-1:-1;;612:35:0;;;;;;;;;;;;;;;;;;;;576:11;;612:35;;;;;;;;;;-1:-1:-1;612:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;373:282;;;;:::o;667:269::-;727:7;736;756:14;773:6;780:3;773:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;773:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;773:11:0;;;;;;;;;;;;;;;;-1:-1:-1;773:11:0;;;;;;;;;;;888:3;878:13;;;;-1:-1:-1;;;;;825:15:0;;;;-1:-1:-1;878:13:0;-1:-1:-1;;;;;667:269:0:o

Metadata Hash

1dbd2d2595871132685a64fa9a76d5dd82fe4b43c7a277a026abb7353f1e33a4
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.