Contract 0xffc35803af6de50f67e7ea5b023118342ab3e629

Contract Overview

Balance:
0 DEV
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x259a711743616e32993366cacb085f8a0f8f062833c9b3edfc89397943791eb1Set Value36340282023-01-28 10:22:363 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000046032
0x5d37053af5011f51c00bfbb34244def3a202b0c5841bb265558238e3be414ae4Set Value36339892023-01-28 10:14:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000047398
0xbe8392f5c815aa4b55591234c3c18a5d9c9a1b7ed1feb142ad2ac5f7639b1d36Set Value36339452023-01-28 10:05:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000049033
0x5792afcb6376b4e5ce62915d35f196596b674bc04713349cff31e5323cdeabb3Set Value36339362023-01-28 10:03:243 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000049379
0x7ec5f308557f44bed99f817d9e655727bbbae982360edb941604318887f3563eSet Value36339362023-01-28 10:03:243 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.00000004941
0x9e339c87d0ba5c4a07ab887db599f9a71ba53ae9a0bcd0eb54d5a4803f15df99Set Value36339352023-01-28 10:03:123 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000049447
0xaad39d5d0ff4f3898130f2d227d252afb80a0b950c625e6e7eb964f6e7a467aaSet Value36339352023-01-28 10:03:123 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.00000004941
0xf976292e7743ec9ef7c7903df3520e181ae81a407774591eff0e270d180fde57Set Value36339272023-01-28 10:01:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000049717
0x6f270e69dc6575ce708b939ceb4aa72e67e25399a29d0d5ddc4c51b055b21538Set Value36339272023-01-28 10:01:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000049698
0x7e9c4b1cb7807c2f6102e1a3c24dd56527ff96a593aee94a8c80ae468148f329Set Value36339272023-01-28 10:01:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.00000004968
0xe21109bf6d96b2b080a49be1cac7ceaea650820491c74fd851afe263ea0a1424Set Value36339272023-01-28 10:01:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000049717
0x1891f357d48540d75051d9a0999e5067a6ba588193126d383526ba60002ac6e8Set Value36339272023-01-28 10:01:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.00000004968
0x2a7bbb8439bd7fa519d977d6117bd701a944ed6c6a85effeaa6df7e479b393b0Set Value36339172023-01-28 9:59:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050084
0x7838939ff6d98b21126eac89fdca5212da25502b557a21da396809bb905df459Set Value36339172023-01-28 9:59:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050065
0xcdedddc9e4e86458f97fe98f37990e1e385f04f42d3f001b19e100ae850cb0f2Set Value36339172023-01-28 9:59:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050047
0xfd18c0d8c00b5b5c7b847081d010582716b268e2d2f16bc908ade5122f4ed2f7Set Value36339172023-01-28 9:59:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050084
0xca7b8dea1742c539a3bcad2a1a50b2fd01130ca5c93e54674bf9a18531d53daaSet Value36339172023-01-28 9:59:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050047
0x1574f66b32135fc7229ef99194dd87bba9d0d4e9daed0d8795c0d9c0ff3618dbSet Value36339082023-01-28 9:57:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050408
0x5700baff7415a43139fef7a3a3e6f8c0eb1d73389633378ce262241509ccb25bSet Value36339082023-01-28 9:57:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050389
0x3e1cd51a6cbbdd3a3c021f2803e4d34cfa94f56604794a01dcb4a5fbaee51f8cSet Value36339082023-01-28 9:57:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.00000005037
0x797cb43321b847e6a7332aae877cdc60729fa4bb6a045cbe72944087358eaa5aSet Value36339082023-01-28 9:57:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050408
0x043c0d014f57306a39ad9d047e169aef4d5fbf2468e94c84eae33d37143468f6Set Value36339082023-01-28 9:57:183 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.00000005037
0x995a6f52cb7b097cd6eee59289570754cddea03ac62a683b8d68b4735e1a9089Set Value36338992023-01-28 9:55:303 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050738
0x5de46dd5e38e1eeb359dc72c984d06a86ec1d5a83519a24b40a693c8fd3213a7Set Value36338992023-01-28 9:55:303 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.000000050719
0x2ad9a5fefab061d014ad2f0526cc0676d74cd0a608d89ee8607f76684758469bSet Value36338992023-01-28 9:55:303 days 20 hrs ago0x880bc2af796f0d6806cff5d6548b5cb099d7b3a3 IN 0xffc35803af6de50f67e7ea5b023118342ab3e6290 DEV0.0000000507
[ 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 0x8d1c8f6e40816e28bf2788981f66cea6bc4f05f7

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 moonbase.moonscan.io on 2022-02-10
*/

// 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