Contract 0x75511bebb4cbe794deb3bddb61212dfd8a6a4792

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x548d19c8481b0debd3c0a67e54b2ce71a7c3ce5beaa559fb754a8077cc9cdd20Set Value21191122022-06-30 13:14:3016 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xdfd0caf8926fae740a215429fa48a030c22965c2a10d7c85e25e0afab99a6c9bSet Value21190652022-06-30 13:02:3628 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326964
0xc4581920a50dae06e75870cba8b23b9eea5f7d82fc2aa7279afe7d18e02eb38bSet Value21190402022-06-30 12:56:3634 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326964
0xffb7df88a9b64980a7e4720aeaf311aa36bc8b450e9d110da53340147c59de54Set Value21190392022-06-30 12:56:2434 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0x302208628662d7628df80a321342bfb57b6469fb0c8ed9a198d6858e689a01afSet Value21190332022-06-30 12:55:0036 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326964
0x374ac3495fbcf5eb9f85407cb851d195ec1ce5148460574a8a8458d904f114cfSet Value21190282022-06-30 12:53:1837 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326964
0x9c7830bb64932a3accca1b68796c7f47cae924250f22c504d731273accf4ca4aSet Value21189962022-06-30 12:44:2446 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xdfd03cf262ea48484e3e597dcdce2b761a757eb02b10a0717646d7374df9b7ebSet Value21189832022-06-30 12:40:2450 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xc3cb493b5afb4ec03930e589dc62cde5af63b7bdae067de6a0f0f5aa04b49ce7Set Value21189652022-06-30 12:36:3054 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0x034aca1fd835256fd51d53cbc9e852d0838d3538ab0ea1f7f66dbba2b2b36fc4Set Value21189572022-06-30 12:34:4256 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326964
0x908945194703ea8d19955fcff12bc2af2d719326db9d22602cd4caf8b679df52Set Value21189562022-06-30 12:34:2456 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0x024779e10cd992e8cbac3b81ccfe42347304d01b304f968b112a539bf1fbd90aSet Value21189252022-06-30 12:27:551 hr 3 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0x8ba6cffb0d27b097bd3b46879a959561b7a0f855caf5e7f74032f32441b7f110Set Value21189182022-06-30 12:26:241 hr 4 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xbde0b6dbccbe2fad84e0553a039e9e142359b08edbd20a989ffae486dcca1e31Set Value21189162022-06-30 12:26:001 hr 5 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0x479c7d62f66b9dae555dad7f0d27280d55a5bab70687e9eda324d1c7cabb5310Set Value21188602022-06-30 12:12:301 hr 18 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xdef2104f1458771f463612bee2a20a94397c69ef9b543a123343bd33bdeb32feSet Value21188472022-06-30 12:08:481 hr 22 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326832
0x20ab1f7e062f75c2636361fd5751b4cd25a2abc0186bd395a2d4a3b19c2d1948Set Value21188392022-06-30 12:06:421 hr 24 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326832
0x40d625f2fdc11e80562b792987692cce97eebf231fb6f00e186cb7eb53551b7cSet Value21188182022-06-30 12:02:241 hr 28 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0x225ec9c3d001191670adc90b02aa15cb6de3360a81e436f202aa5aed60c40d8eSet Value21187932022-06-30 11:56:421 hr 34 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326832
0xa5e53cfef27fc77ba9e8c6f1a7f496c55cf118c01bbcedb51bf01290dfdc579dSet Value21187442022-06-30 11:46:421 hr 44 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326832
0xd71fc711851bd867c01bcaef150f1c8b544d4b1a7ee6f52a99712955b9d1d893Set Value21187432022-06-30 11:46:301 hr 44 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xf7be130a017a1d9f6fede6ec23d9feb6b9dfd886af66e2eac480af393f03779aSet Value21187312022-06-30 11:43:001 hr 48 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.0000326832
0x4e2748c326441ae803003a6968bf38655a35a735a4dd3f6c5ddddf85e6fcfcd5Set Value21187212022-06-30 11:40:241 hr 50 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xe110427fbf321aab5ce9b5352f3609b0787c27e8a6324d218c12ca17ce2373dbSet Value21187062022-06-30 11:36:541 hr 54 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
0xef74b8358141534b0a917be4590748fb2ab9aa5930f2b59a3385320be99c21ccSet Value21186922022-06-30 11:32:421 hr 58 mins ago0x03e95dc0d955547208912554e9126ebf3ed45f0f IN  0x75511bebb4cbe794deb3bddb61212dfd8a6a47920 MOVR0.00003267
[ 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 moonriver.moonscan.io on 2022-04-12
*/

// 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"}]

608060405234801561001057600080fd5b50600180546001600160a01b0319163317905561054d806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea264697066735822122041d3b1b2f1091db1b27bc3464cae27fd18f24ca75555a2f7a79f85ab7814acc664736f6c63430007040033

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://41d3b1b2f1091db1b27bc3464cae27fd18f24ca75555a2f7a79f85ab7814acc6
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.