Contract 0x230182ad3e21144cc091514b3ac0f5e94b8925a7

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x147e43130ade05f70d8584b7de0b63ec7d897fef17a29d192487fd8896697cfbSet Value665879242022-05-29 3:14:1528 secs ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xc7bc33e4dbd4971add08b1b1751b4d33abdd809662b196e3836bf93a6c952a52Set Value665879102022-05-29 3:13:5845 secs ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x80ad24dbcbc478c94c1bc2dd5d43277073e68302a66bac8a58dcb0eb9aa066ebSet Value665878282022-05-29 3:12:132 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x67fc78a0bf8a2bc401e8a340c19d9eaa5273a32106175b9ab5d2c0661a1efddcSet Value665878162022-05-29 3:11:572 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xd65fbe759338f3e18c8ef392ba99a8dd8784d1cd954d66578fd75fdbffb4c12fSet Value665877432022-05-29 3:10:244 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xd9237d1cfd5bb90e99b764dd479852d5461dc82e43aee7e1966b1028debb47bdSet Value665877282022-05-29 3:10:054 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x05c2440a5547e82b4c8a5ab7e586b9737ddc1140a78a3abee6da9c73d818f8afSet Value665876382022-05-29 3:08:126 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x67a2d22e730d0f5f3df39c658f2d513651ab38f6deabee598281a2b617f57f80Set Value665876252022-05-29 3:07:576 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xf4ee3c18318f9e765a2560fbd0bf1c9741bf3715666db339c390469c5592fc36Set Value665875422022-05-29 3:06:138 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xefb71bcd069a18e500707748653da91461361be08bb97605f12e15d7e8ab8366Set Value665875282022-05-29 3:05:568 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xc05bfd550acf6ffdc1d7c00272dbbc928efa2437d93ed2baf6991a7a2fa11729Set Value665874352022-05-29 3:03:5710 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xbbe0fa7d709c3c4e40fabdb48736657d850d3c388e529aca9569f6cdd7a3502dSet Value665873592022-05-29 3:02:2012 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xe7844ef66ab5f402867028f33fb5f21a4f4094004c24350ee2714e7d892a72cdSet Value665873422022-05-29 3:02:0012 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x43776bbbdc91dad82f404a19a53cb29c8b1f3c121d9f2e4b94c837b832bb01ecSet Value665872582022-05-29 3:00:1514 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xc4ba3d00567d2713008aabd737e0418f18ab09a084c1c8aed766f8dd519c3523Set Value665872432022-05-29 2:59:5614 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x9e63771d0064cb132efcfbf3586b97a2eea66dca353b2edc1fd336d7cf39fd64Set Value665871672022-05-29 2:58:2116 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x43c4bdb74f43e02dc9724c0013e5298a4f4b462b76d8af626ed78314a766e294Set Value665871502022-05-29 2:57:5916 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xed8950c264554d701dfd753025fffd3ffa645dba68a7ffb552b3f2475879a631Set Value665870662022-05-29 2:56:1518 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x0156faa26cb54b1a6de526c40cf2fdfc7fac558b1c78bc68a7435087203adb81Set Value665870522022-05-29 2:55:5718 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x42a75eb5553aa847185bc555a5fc8910ab06103c5fbcad9e423e77b41aab28ebSet Value665869682022-05-29 2:54:1320 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xfaedf3f5daafc5999f849c5aecff9548698fd48663dcff7680836d804fbe3f9cSet Value665869552022-05-29 2:53:5720 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xb4273f015a1ab25ac6512f5492be513b2e6506c8f880377cff0cce8eba6a8e35Set Value665868722022-05-29 2:52:1222 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0xe9b791d44c95f5571442f04998f7e97248627bb8a54f2906afaab114e5c1d6b0Set Value665868592022-05-29 2:51:5622 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x1d471e36de9310feaf8b54edcb8f83e2edf8464966aec8dd858f080652208c93Set Value665867792022-05-29 2:50:1524 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
0x3d4b01ad0151973b49b9dc55637f2f936bff6a6cb69fb16cf696c1254817a806Set Value665867642022-05-29 2:49:5724 mins ago0xecee8507d92b9ab9da0afbf794f1e6e137170899 IN  0x230182ad3e21144cc091514b3ac0f5e94b8925a70 ETH0
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x506578687de78bb9db825c5aa514ffe1d49f563e

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 aurorascan.dev on 2022-03-23
*/

// 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 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

Swarm Source

ipfs://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.