Contract 0xd3709072c338689f94a4072a26bb993559d9a026

 
 
Txn Hash
Method
Block
From
To
Value [Txn Fee]
0x32c8265e9945151317e26664de9b17cfc712a9a9bb22487a6d4cae91563fceb9Set Value386348072023-01-28 18:20:5337 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001611799158 49.593820247
0x1d3c6f9f4276776651b9586916e5d120902f17059772b34d202417a8c570ef7eSet Value386346942023-01-28 18:16:5341 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001848392859 56.873626441
0xbbe7b54b749ea7bbd26ee61cebec4e3f91bd215f3340a28b61c1813fa96e993eSet Value386346382023-01-28 18:14:5343 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002002192173 61.605913025
0xc0f28b06e7294c9e0517b9ff3ce48f07f9c3e4b9fc115f83a058c475e8155157Set Value386344752023-01-28 18:08:5449 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001462281356 44.993272495
0x55f4f3da4545fde055433d0a91f1991a40dee4d721058beaadf39cd70becc72aSet Value386343622023-01-28 18:04:5453 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001843099045 56.710739876
0xd850411f52a2529aaff2c6713b6ecc9863b367097120f57c5e230d15db270ae1Set Value386343052023-01-28 18:02:5455 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001470133628 45.234880867
0x2097f333399ca73abb8bf07023860130aec069c34d4478473cf14426f4c8fc36Set Value386342512023-01-28 18:00:5357 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001504537848 46.293472275
0x60742367dda9d9839e831e1783409983d708ebed19ec6fb33abb17d4837ad847Set Value386341942023-01-28 17:58:5359 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001609758876 49.531042367
0xf9b19aec3e98ca1a043e9a80f0a0eb3172f7adaa34287ff76a966adb01e15c80Set Value386341382023-01-28 17:56:531 hr 1 min ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002105331288 64.779424274
0x73e5578454e631e546dde13df48e6fc042c58bda1cac431b8a916dfd527ec200Set Value386340812023-01-28 17:54:531 hr 3 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001630886838 50.181133492
0x2185c3fc8d60787cc543d93564e719a2a82fb553877a6bca43b8f77a23de9e82Set Value386340272023-01-28 17:52:571 hr 5 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001572037829 48.370394748
0x27f34818d1ce24ab9fe14f360d9f9094f98696f5e2f248178fdd953654720e36Set Value386339682023-01-28 17:50:531 hr 7 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001607230559 49.453247998
0x09deffaf972884cdd58f59c605a6abf626de3f5f5bceb44ea0b020688b12e9ffSet Value386335752023-01-28 17:36:541 hr 21 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.00233126859 71.731341261
0x213a3b603cdd7a8851cce176cc0c5a2433f319e8ffb3908be78b650a2070efddSet Value386334612023-01-28 17:32:521 hr 25 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001889764774 58.146608445
0x935db228a7b57c3bf183ffff73d73661e430687bb4d79a6225a97c8250e2da02Set Value386330122023-01-28 17:16:551 hr 41 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001970084579 60.617987055
0xe2c6982035fe844e1b1d470a47e91c27a911983f7643501eb24793442da94396Set Value386320022023-01-28 16:40:532 hrs 17 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002056982961 63.29178343
0xc5cf80aed55dccd8a379208cbd526bc9c4b0ddd257360259e211f91374e84c5cSet Value386306632023-01-28 15:52:533 hrs 5 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002802266891 86.223596657
0x3774f1db71b2f427ee16895408879c8e808786425f75e85aa2694f54c0b3fd97Set Value386296052023-01-28 15:14:533 hrs 43 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.00277271084 85.314179694
0x5be78f835012f6e61e916acf2d68d4ef8725c1cfc2b5e0c24942f8be9059f25bSet Value386293792023-01-28 15:06:533 hrs 51 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.003117284954 95.916460144
0x23acfd0bc2a8dcdcdffbdff9110021d135c2a9c2c9bf9f8b6c58ec00ccc8d8f9Set Value386277872023-01-28 14:08:534 hrs 49 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002878165907 88.558950994
0xcfb85a29f4f1a1295112a6124e75653064c6a46f5d5b6a681667817b182eaa97Set Value386274222023-01-28 13:54:535 hrs 3 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.001975584619 60.787219073
0xecdeb074a7c631a750caba5f046790cd000eeae62dfa27a26a20e6b16c10562bSet Value386271392023-01-28 13:44:535 hrs 13 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002650140544 81.542785989
0x541ef82c256b01b118bf13f9b01d9bc16d8b63272f9ee351f730ee9b578f5ce1Set Value386267592023-01-28 13:30:535 hrs 27 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002898730576 89.191710033
0xe189f93bd1b96a4a76273b21797c66e9ef1670efb270d3325b381cc47cff89cdSet Value386265332023-01-28 13:22:535 hrs 35 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.002933346892 90.25682747
0xe80f75645eaa1a33417a7425adfba525dccb6d3cb2d0e464bc8691ed76fc45ddSet Value386261962023-01-28 13:10:565 hrs 47 mins ago0x6335f45328a729c38d40c8bd5039ddc592d1e001 IN  0xd3709072c338689f94a4072a26bb993559d9a0260 MATIC0.004103229368 126.253211336
[ 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 0xf44b3c104f39209cd8420a1d3ca4338818aa72ab

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 polygonscan.com on 2022-01-05
*/

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 Security Audit

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

26:1131:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54:41:0;;-1:-1:-1;54:41:0;;-1:-1:-1;;;;;54:41:0:i;:::-;;;;;;;;;;;;;;;;912:242;;;;;;;;;;;;;;;;-1:-1:-1;912:242:0;-1:-1:-1;;;;;912:242:0;;:::i;:::-;;337:282;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;337:282:0;;-1:-1:-1;;;;;;;337:282:0;;;;;-1:-1:-1;337:282:0;;;;;;;;;-1:-1:-1;337:282:0;;-1:-1:-1;337:282:0:i;631:269::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;631:269:0;;-1:-1:-1;631:269:0;;-1:-1:-1;;;;;631:269:0:i;:::-;;;;;-1:-1:-1;;;;;631:269:0;;;;;;-1:-1:-1;;;;;631:269:0;;;;;;;;;;;;;;;;54:41;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;912:242::-;1021:13;;-1:-1:-1;;;;;1021:13:0;1007:10;:27;999:36;;;;;;1046:13;:39;;-1:-1:-1;;;;;1046:39:0;;-1:-1:-1;;;;;;1046:39:0;;;;;;;;1101:45;;;;;;;;;;;;;;;;912:242;:::o;337:282::-;448:13;;-1:-1:-1;;;;;448:13:0;434:10;:27;426:36;;;;;;473:14;520:9;-1:-1:-1;;;;;490:39:0;513:3;502:5;-1:-1:-1;;;;;492:16:0;491:25;;490:39;473:56;;554:6;540;547:3;540:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;540:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;540:11:0;;;;;;;;;;;;;;;;-1:-1:-1;540:11:0;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;576:35:0;;;;;;;;;;;;;;;;-1:-1:-1;;576:35:0;;;;;;;;;;;;;;;;;;;;540:11;;576:35;;;;;;;;;;-1:-1:-1;576:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;337:282;;;;:::o;631:269::-;691:7;700;720:14;737:6;744:3;737:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;737:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;737:11:0;;;;;;;;;;;;;;;;-1:-1:-1;737:11:0;;;;;;;;;;;852:3;842:13;;;;-1:-1:-1;;;;;789:15:0;;;;-1:-1:-1;842:13:0;-1:-1:-1;;;;;631: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
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.