Contract 0x05bEAC652F2b2d0a468367487B8bFb992e2ea685

Txn Hash Method
Block
From
To
Value [Txn Fee]
0xddccc3097c28c29140c21f8a59a7cfc31ce5c8b99c421fcb7c6c64da9889bc10Set Value18335732022-09-09 20:36:06139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003013332
0xf0fee65828250e91203aaedd5ec9f4cf2725126069d38dec63c045aca6ee6a74Set Value18335692022-09-09 20:35:18139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.00301455
0xa6eb72f651811007269fb95e809cf49871fa7e80e556c48a6b22a5bb1c9ae673Set Value18335642022-09-09 20:34:18139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003013332
0x71be8252445725d0db50ee462107480b714661173dbc119bdc284db75c428ebaSet Value18335322022-09-09 20:27:48139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.00302588946
0x530bc926587d52cfc3b481d8e69a08ba58a504ed4c55a92b20855ff6bf4eb404Set Value18335222022-09-09 20:25:42139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.00302588946
0xc26b6d143c581b1113a1d68ebee6957b9f80e38366417f4a16e171bebf511504Set Value18335142022-09-09 20:23:48139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.0030294
0x6a1a9560bc58e85d66d6292febb3f5b61f338e6d76c103eafab1ed48e33988ffSet Value18334652022-09-09 20:13:18139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003267000297
0x9175c24adf897e9b58c58d93b285abf5d65886f99a1c35a2e0b7a03548da53a7Set Value18334292022-09-09 20:05:54139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003354185786
0xc661a7589ad27ecbf746fbf0f67177320299afa6a4aecb95d6ec21828bec64d8Set Value18333872022-09-09 19:57:12139 days 2 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003746065906
0x3cdd051ba1407a0ccb4802e4645823bebabc8eabaf8f62e985e7d7bf5701ed86Set Value18333512022-09-09 19:49:42139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003861
0x0da90edcb6ee3096f572c18df348942a07d751b222efe9613b4909ea515b9beaSet Value18333412022-09-09 19:47:36139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.004639724305
0xe3cb40e61c7c3890fe1da8a36c3c1d5b66856bd6090b6e9c591caa1d3e7b74fdSet Value18333312022-09-09 19:45:36139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.004989497575
0xe81b68842c7d390626163cf1649dd802e2f3fd929e32413c2beed1ed11d76b7fSet Value18333122022-09-09 19:41:24139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.005114279452
0xc59fc7a241742b89b28cec93c63ed41a5ff5564dc7f29709892051abe9c81de3Set Value18333022022-09-09 19:39:24139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.005272749167
0x14fea31a5858aa68f23c8131d5b91bb88bc8cc0f1a811292ff8f9a615d9da436Set Value18331982022-09-09 19:17:36139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.004098540643
0x563f6980e68c2846f020e73e7f54ac44c91c4fa45101fa0ebb9f38ab023858f3Set Value18331952022-09-09 19:17:00139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.004098540643
0xdf368dad5d365cac710ad22b898cd6389da8c03afff9a1791992f220a9957b49Set Value18331532022-09-09 19:07:48139 days 3 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003783191643
0x29c1e827b798951e8a7c0441e2dfbd318e543248dc6618585edcb9d365911dc6Set Value18330152022-09-09 18:39:06139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.003258090288
0x9a0a28bd0d7ea77e44b64fc2fe0f7e8a3eb9f382eae712a42d0f4a54e617c340Set Value18329742022-09-09 18:30:24139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.00301455
0x9e0dae32b039a6e0873a656cee487ac56af89b64f628254f856248d24fc6ca85Set Value18329682022-09-09 18:29:12139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.0029688
0xe6d0c0ec73e4c8f5f50d8de6f2fd80bf751970377315efe7ad067097c390c3feSet Value18328922022-09-09 18:13:24139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.0049588
0x2c7dc3679cb2a39523bb097d07681e69a1ec957eb8cc3a390a46fc6a77aebe34Set Value18328922022-09-09 18:13:24139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.0049588
0x48af73af46700bc638599a8904fc4b40e56d2c9703773df6e2d207d5b19e424cSet Value18328872022-09-09 18:12:12139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.00496
0xe802541c4ce68c6ef3edd2bf422a537b8d1fb6d559ade1b71df0dc7986907ab7Set Value18328872022-09-09 18:12:12139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.00496
0x98f14e9d36df848683cab02a1036176c31f5f56e977768d0157994f758f584daSet Value18328832022-09-09 18:11:24139 days 4 hrs ago0xeba8f0a4e21d0211838beefb0d86af18eb4c1364 IN  0x05beac652f2b2d0a468367487b8bfb992e2ea6850 GLMR0.0049588
[ 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 0xf99cf4a64f1fb53f077c7e736236f726b0dcb338

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 moonbeam.moonscan.io on 2022-07-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 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.