Contract 0xb625e016be9d268f77103d7e83646abeced63f51

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x035fbc44c3dcfaa949a44a231537e589ac815a9e6951eb4fc4ff3ecdd6963886Set Value(pending)2022-07-04 0:46:232 secs ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN 0xb625e016be9d268f77103d7e83646abeced63f510 ETH(Pending)
0x418adb38d5b9436c44bdbdc0567c1b664671f1e1e700659710909f1d7e635051Set Value690783292022-07-04 0:44:531 min ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x8d5d83cd542d477bf900fdadd75f6ccf133eea876d4841fe03800a15de552f03Set Value690783212022-07-04 0:44:421 min ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x425a350de4ed8d8b3ad159aae3f93f42c131bd6f4602135b8a6b1bc56d7450d4Set Value690783132022-07-04 0:44:321 min ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x3587e092df61e75363480f781c3779e78974bc9da7901e93ad241d7a49a847fcSet Value690783052022-07-04 0:44:212 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xde0803a3f45b3f28d9d4a4d3c30dd39e85bb1af301136aab36c1482602484de7Set Value690782402022-07-04 0:42:543 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xac83ed67f02f4d68208a12ac6870656c4360570b80678ef51bc86abf833ea082Set Value690782322022-07-04 0:42:433 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x3265fa4e1280872163d69a4664802cd2b82121ea94673032d95f28bf85c2aea7Set Value690782242022-07-04 0:42:333 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x0599952aff3683c49b5d41ea4e0b67562ceab5d908fef9420ec68b4236d4be5aSet Value690782152022-07-04 0:42:214 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xbeaf349892b323067ecda04447fc0baf77df318cbd5afa82cd7b392fe4fcf3c8Set Value690781512022-07-04 0:40:545 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xff15a47050442483494f9d34b9e3c0ab868334d54562d29b691b1e4d1e25bd14Set Value690781432022-07-04 0:40:445 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x7ecd1ec50b6301b982a9adf375bf551ec8e8d07a744ad4269d1c9680f1617b85Set Value690781352022-07-04 0:40:335 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x3399a317aa28cc085198c9fa8aa07e21663d17735a9b3cb947701f082a82045aSet Value690781252022-07-04 0:40:206 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xa763f1db9643b44afff8e21180551866946313363aff6fb04d7fa1f743d7b7d7Set Value690780582022-07-04 0:38:527 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x8f193f1e3b4429a0bcad1276927939597fb7fb357a939035ce37af5f52334998Set Value690780502022-07-04 0:38:427 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x769905d6e9793a4cefcc0b2145f69ebbf81c98720bb2db66c74572ff36276efbSet Value690780422022-07-04 0:38:317 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xb382ed9916cdfbe067c666251233aa07657ea13b5c4e1f1c2f7b531b7efdcb5fSet Value690780342022-07-04 0:38:218 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xea43c547ab04591f6f772f65dde2d892b19b21e9e8e997f5d2f1b61b05ee6d48Set Value690779682022-07-04 0:36:569 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x5dd1336851883b296ae382d80905ba5a5d0ad75e0fe6f0247e42b610852d510cSet Value690779592022-07-04 0:36:469 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xeabe24ec99fa8d28298236e03184243a1a5c1fc382b4841027546db394f5974cSet Value690779372022-07-04 0:36:2010 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xf45b7e369c29622a1b3cdf5ad67bf8cfddf13eb324db240e1fd6d03bf3a280d0Set Value690778642022-07-04 0:34:5511 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x9e5c501f49d2454ca1fcbbb2dc73e34d4a17a5e1bab11c196dc570150de653efSet Value690778552022-07-04 0:34:4411 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xedfc476d7aaee6372cbcd0b2fa8f3b09bc2140e4a7258a1113e00a1aa003571eSet Value690778462022-07-04 0:34:3311 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0xb7350a965079ce3f3e890db23a6d4aec9db9a85cb6e8ed35dc2a80a528d4e10aSet Value690778352022-07-04 0:34:2012 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 ETH0
0x659fa148ee623bfaddb4b0e3342ce3cdd3703c1260860df6efc104960117d917Set Value690777642022-07-04 0:32:5313 mins ago0x2c82d4e1b081aacc8c6431656825b673356fb555 IN  0xb625e016be9d268f77103d7e83646abeced63f510 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.