Contract 0xdb547398ba8cbb81e91bc290a70c3588e0d039f7

 

Contract Overview

Balance:
0 FTM

FTM Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x8e3854edfa77a6a11bf889a8eb395ac93559fcd883c00d736bc44503141fde40Set Value549117362023-02-02 11:10:4630 mins ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.008311285838
0x9bd5dcbb35bb658a436cafcde59e259384de32e3084fb7c260dcd3695bbc8f6cSet Value545307342023-01-27 8:32:386 days 3 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.016293072038
0x6e0a9fbc4933a97a481e7c50770ba61766a58b103cb39fe302343b4af1da6533Set Value545265042023-01-27 7:02:396 days 4 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.017079741364
0x25ce0a5311c4d6295c5f33c336d10aa5a2b5d173c30a1ba6a13921edfa1b60e9Set Value544945602023-01-26 20:22:386 days 15 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.05995498141
0x02ea6db75dadf7eb82558e4f5be31967bd928507a2b04c0c280186e6f4a798d7Set Value544857992023-01-26 17:20:396 days 18 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.117964783017
0x7a48e67c3ee637dfad2e8c7cd796dbd1b1b97fc2301054904617f1fe46bf80d7Set Value544790502023-01-26 15:12:386 days 20 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.111317905849
0xc04953ceca1dd20f6672f1f8426e94b26481cfb36716bb84330cabfa3879dc93Set Value544787532023-01-26 15:06:396 days 20 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.125685773672
0x337669cd799e5a96ab8e2db1a8f63aaf806b33854cd5b8b6f186504ed6f059e8Set Value544641162023-01-26 10:04:447 days 1 hr ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.01011618874
0x8ccf3be6534359d3658eaf29c812ee66a93ac47601db7a3dafa59dc54ac4a7c7Set Value542876452023-01-23 17:22:389 days 18 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.023480882815
0xe774a10c7ffc24708ea8cdd91ef6b8309e9559dcec12ed3be1219a1149b2ece2Set Value540857772023-01-20 17:24:3912 days 18 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.005507731185
0x752aa87f13f32226f8cbc86ab7c82479314798e2db89e8ef9fa587f07fbc477aSet Value540727732023-01-20 10:32:3913 days 1 hr ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.003726423076
0xc085699d3f0953c29abdb2653ecd761a57cd91b734b862bba131185d17f28cb8Set Value540709602023-01-20 9:30:5313 days 2 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.003398433161
0x0a54613d2e05272c6c1a555a0413e34b03840922ae4e63bcd9471be60cd89aedSet Value540689412023-01-20 8:12:4413 days 3 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.002243949225
0x6e3c83eff34563347250aaa402ccaa0f572e285e4147982ed8778537037eb804Set Value540646522023-01-20 4:50:4313 days 6 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.003156823352
0xe5185d8c2a9fe011cae04deff4d28825bfc151a1cf8326c9d5fec895b77d76e0Set Value540596442023-01-20 0:36:5213 days 11 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.004190236513
0x403751e83f55b243998d76cc8b8b941a721067d44bf5479854278184af939507Set Value539461162023-01-17 21:24:3915 days 14 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.005588331531
0x07f2719b5f327142f7befd505fde03a440b70e4075185d69160c6b68b670c0abSet Value539340402023-01-17 16:52:4015 days 18 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.004801533172
0x2e666e64b5ea0b84f440ea928e849a1dbae26e3f21ce561c1a18d9bf1ba5ce17Set Value539321982023-01-17 16:12:4515 days 19 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.005583937023
0x96afc499927ca21abde87ef3bd71a0926a53fdf86efb3e46e694f0e980ef79b9Set Value539321952023-01-17 16:12:4115 days 19 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.00558967951
0x672b225e8243b07e762acd4a4c2f07bc8707f5009f45a4de8d6b6fd9deb9809fSet Value539280222023-01-17 14:46:5315 days 20 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.006115290469
0xc095e6936043e1fa632b6b6d3651a1b6cd236eca911e1841c14a1bb9325a17c4Set Value539201352023-01-17 9:41:0116 days 2 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.004128294975
0x6c396b2211391d3e67c559d678581d2de8e7b4da0108f4f0b207d5b793f942d0Set Value539196212023-01-17 9:22:4816 days 2 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.004199516494
0x815458a74929efafba0b552e16758c415ace6349f6a9bf8865aa25302b44c957Set Value539178232023-01-17 8:13:0716 days 3 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.004271815356
0x9211f63423964b81c96f8de222c0c4f26261aaccc25297d1f44ea7a88aad59bcSet Value539161152023-01-17 7:08:5916 days 4 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.004484316503
0x53b517f5c0b74d9d5612fe4f181c6eb65afa672232e0312728bb9d242dc45629Set Value539158812023-01-17 7:00:5616 days 4 hrs ago0x79338d174bd90b7aa897a940c8bec3ff20384a22 IN  0xdb547398ba8cbb81e91bc290a70c3588e0d039f70 FTM0.004492240571
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x0d83b43152510a09629cf406853ef074254ca2bb3ab97ea8aefbea183773a75a473573422022-09-20 19:50:15134 days 15 hrs ago 0x79338d174bd90b7aa897a940c8bec3ff20384a22  Contract Creation0 FTM
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x0cde131b82a6500240eb90f490b6dd576d93529c

Contract Name:
DIAOracleV2

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Unlicense license
/**
 *Submitted for verification at FtmScan.com on 2022-03-30
*/

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

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
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
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.