Contract 0x07cdb153645d40ca90aa96e568936d5be967c480

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xdfca9cf33ba8cd3ca890e2fb24ea1705f35b338b25e2987642e6b300d824189bSet Value(pending)2022-05-25 5:56:5016 secs ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN 0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR(Pending)
0x07071d2997898f3bccb06b4d8494125e0e1059271dc989150a0ef6e630496d6bSet Value18931032022-05-25 5:56:4224 secs ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x9e68c3d16cb8300b703a0a385271b03e4fdb5b5f391dda35b24e5f2337c9d28cSet Value18931022022-05-25 5:56:3036 secs ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x0881d81dce00ded8d2c0db0e6e4652adb31dbd879de043026749f532c3d52bc9Set Value18931012022-05-25 5:56:1848 secs ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x7472a05ea076ef453ab722d599ff4a70c550737265fc8d852f70eecdce2333e9Set Value18931002022-05-25 5:56:061 min ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000327096
0x160294895c860ca577e20b0b1b161fc3f2eb5bd25f7228ed63601d4834c7badaSet Value18930992022-05-25 5:55:541 min ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.00003267
0x4df4859fa4ec9d61c545c39abc6f437ce2ea08145f2f28a6135f7b9c5970e071Set Value18930992022-05-25 5:55:541 min ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x8a4250fa3bc3d9f08df5c625e8aa01545e0846c138b4ae4b59d33b654fdca561Set Value18930982022-05-25 5:55:361 min ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x661b026b165bddaa43646e800f2024e30294bf7796f3b9d9bd10d3a3d2be30f0Set Value18930972022-05-25 5:55:241 min ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x281e78554e4d6a7aff17be2215de1229c1b4d973d912f84dc18442f321b2f0c6Set Value18930872022-05-25 5:53:064 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000327096
0xbabe681c0451aec1617f4966df304dc7964e6dda41786caaeb8cc5dcc250f3fbSet Value18930862022-05-25 5:52:544 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.00003267
0x687a4752051bcb584340e73d097aafe3355da637502f6395fb38cdc9f093f561Set Value18930862022-05-25 5:52:544 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x9508891c8747ef12504842f8162a4245d34bf07832e9778c33e7e9f0cc404320Set Value18930852022-05-25 5:52:304 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x9e4508f13f3ca1545cae8d721795c1cbfcf6cc9595b6234e3eeabc61dc457a9eSet Value18930852022-05-25 5:52:304 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x23d083e9b6ab8ac0f0ce4de8e3acc10f828c27415c5800db5d66dcc8981b7a76Set Value18930832022-05-25 5:51:545 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326964
0xacc0a8bbbba6be95a5ae42aa761c26c96fcf61367b350e94a22e49e9e6bae325Set Value18930822022-05-25 5:51:365 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0xbd4749d1114ff1485a34f107b105ac6f06c75e6deea00e99bd5aa0a450329d0eSet Value18930812022-05-25 5:51:245 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x4ef571842913d29a2dbf7a273abd3073c1264e105dd87f6d3f150d04b06d8901Set Value18930802022-05-25 5:51:125 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0xbfe07c1cb6fdd9b5756bd5bb0a99d0e809b2c6e7f8832635024cf11f9b3d83d5Set Value18930802022-05-25 5:51:125 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000327096
0xf9f87ce4fa36082abe7d91eb1def387e5edfa968b702b53a79a789a67621b9b8Set Value18930792022-05-25 5:50:486 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.00003267
0x20401de4c7d802abda979cec56b532dc0f311d3809ef22861426e7e18b1c0712Set Value18930782022-05-25 5:50:366 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x72f8f5e81912986f131bce45e2bdb50509f094caab9db3e2d62c3288da4d0500Set Value18930772022-05-25 5:50:246 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x3ccd3a819be08a6591eec9b5376a702ea08730d28969539534633741e77a6c03Set Value18930772022-05-25 5:50:246 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
0x9e1de089377c79729bc63ea614ba2d3bf2de4ef2a4ff6b188339994ddf7909b3Set Value18930742022-05-25 5:49:487 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326964
0x3cf5817f8f222d9bfc031483d5f5d0579520766ae3359ca7f10f28859d8bd3bbSet Value18930742022-05-25 5:49:487 mins ago0xcae87235121bc98dbbabdd983114f60af286eb99 IN  0x07cdb153645d40ca90aa96e568936d5be967c4800 MOVR0.0000326832
[ 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 0xa5fb311F87c5b869c1a724fC6Bd93d7Adce1c870

Contract Name:
DIAOracle

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at moonriver.moonscan.io on 2021-11-15
*/

pragma solidity 0.7.4;

contract DIAOracle {
    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 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"}]

608060405234801561001057600080fd5b50600180546001600160a01b0319163317905561054d806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea2646970667358221220173e1e0e4683f714af1a3b281da47c6b7975dd28084f2304133052d163c4907164736f6c63430007040033

Deployed ByteCode Sourcemap

26:1127:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;52:41:0;;-1:-1:-1;52:41:0;;-1:-1:-1;;;;;52:41:0:i;:::-;;;;;;;;;;;;;;;;908:242;;;;;;;;;;;;;;;;-1:-1:-1;908:242:0;-1:-1:-1;;;;;908:242:0;;:::i;:::-;;335:282;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;335:282:0;;-1:-1:-1;;;;;;;335:282:0;;;;;-1:-1:-1;335:282:0;;;;;;;;;-1:-1:-1;335:282:0;;-1:-1:-1;335:282:0:i;629:267::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;629:267:0;;-1:-1:-1;629:267:0;;-1:-1:-1;;;;;629:267:0:i;:::-;;;;;-1:-1:-1;;;;;629:267:0;;;;;;-1:-1:-1;;;;;629:267:0;;;;;;;;;;;;;;;;52:41;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;908:242::-;1017:13;;-1:-1:-1;;;;;1017:13:0;1003:10;:27;995:36;;;;;;1042:13;:39;;-1:-1:-1;;;;;1042:39:0;;-1:-1:-1;;;;;;1042:39:0;;;;;;;;1097:45;;;;;;;;;;;;;;;;908:242;:::o;335:282::-;446:13;;-1:-1:-1;;;;;446:13:0;432:10;:27;424:36;;;;;;471:14;518:9;-1:-1:-1;;;;;488:39:0;511:3;500:5;-1:-1:-1;;;;;490:16:0;489:25;;488:39;471:56;;552:6;538;545:3;538:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;538:11:0;;;;;;;;;;;;;;;;-1:-1:-1;538:11:0;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;574:35:0;;;;;;;;;;;;;;;;-1:-1:-1;;574:35:0;;;;;;;;;;;;;;;;;;;;538:11;;574:35;;;;;;;;;;-1:-1:-1;574:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;335:282;;;;:::o;629:267::-;687:7;696;716:14;733:6;740:3;733:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;733:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;733:11:0;;;;;;;;;;;;;;;;-1:-1:-1;733:11:0;;;;;;;;;;;848:3;838:13;;;;-1:-1:-1;;;;;785:15:0;;;;-1:-1:-1;838:13:0;-1:-1:-1;;;;;629:267:0:o

Swarm Source

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