Contract 0x8a0e7e9130b2a8265dcb511a41acd859019427d3

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xba998eec8873647bd62cb613c556983a04a8ff75ee0324962adda3c0ec59fa5fSet Value518971242022-12-05 0:38:4251 secs ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.005738482699
0x2e9e3ce977a06b0ab4e2ec9194569c6807eacdd6e4cd235eb446f59fdd4430b8Set Value518971182022-12-05 0:38:331 min ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.005431985999
0xfc76fc0305adcadf51af70c1214d8646439fc74418b41f5509224faa2e62318aSet Value518970942022-12-05 0:37:341 min ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.004525620335
0xf1c0203d1f8300e4af0a32a49259de7f42663a19ea34b178dca194739f93fd50Set Value518970822022-12-05 0:37:142 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.004525235423
0x7d4ce8e2c3923bec2c24ca5280d2e6d6186a8c08dd42e3f99183b3c8f57bb275Set Value518970772022-12-05 0:37:092 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.004525620335
0x734015e139ec28c7d86113ec1e86069c97ae823e3d6b2fc1194a5d96a5fdf7bcSet Value518970452022-12-05 0:36:173 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.004525620335
0x615f3cf0d6e64341ee92a2e57f6d80b9b6be2f300bf543cdf98fd64351739fe6Set Value518964522022-12-05 0:20:5418 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.007759979999
0x8e870c5c9d0eac96359ca870f7630fbd0994b823fc7a5126094d7fca8015d11eSet Value518964382022-12-05 0:20:2219 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.007039255103
0x49b070a48f7f50c464c70d01aa1e93396a4221b045d5b1040309e03060c6a0c6Set Value518964242022-12-05 0:19:5719 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.007759979999
0x18104b47ea2b0f9c707a65590fc9334a1ab683f3837614267a9a81f6961618d3Set Value518964162022-12-05 0:19:3519 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.007040452607
0x5f1c0c7ff9274858269a8b6a113975c9801f2e341beed95c844462afb3be96b6Set Value518960802022-12-05 0:07:4431 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.015520191863
0x221e7ae31612b49ce231691c88b0e8b2cc768e27ecaea611a324aa23b8417dbfSet Value518960682022-12-05 0:07:1832 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.015521511995
0x98194d9f969987e8bb3b4d02a2d2672a553727360fe28092a127c24d925e5f82Set Value518960562022-12-05 0:06:3033 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.015521511995
0xcc3590b93edd32cba9a84381c18bf600a8f7de46cd4d90725a4a7d0851a43bcaSet Value518960542022-12-05 0:06:2333 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.015520191863
0xaa4cd72a860e369635e5da7580aad1fa4699df922b77f6385f1494a0a099a5d6Set Value518960402022-12-05 0:05:4633 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.015521511995
0xb642a5a047ccad029c118b976a971d3cd3b7e96ca142ef4eeaf35800903a712aSet Value518960372022-12-05 0:05:4233 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.015521511995
0x7d553dbebbda8c8b23b03555d5311c444aca82361385b13e77c7dfb99c5d4c62Set Value518957582022-12-04 23:51:3747 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.011449249107
0x88137de9a916705a825519408ace3770db8a1794c31348c05b962e70d8da52e5Set Value518957522022-12-04 23:51:1748 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.010135589237
0x15e3557155293f194a7f06f01f7f5c0b3bfd92841f28ce55f28e7b6c8e7683aeSet Value518957402022-12-04 23:50:4648 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.010016830503
0x86c46d790a59d9bcfac88d8bb423372749240a22cdc529d9091d125b131271ceSet Value518957322022-12-04 23:50:2349 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.009902242441
0xcdc288c5b3ffa7de6785e64676a889ef0c24edfad6f8ff179d54087b3364604fSet Value518957222022-12-04 23:49:5949 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.009903084716
0x64ca6b3aaabc114c80f910ef87005ff0d38ecd794dadc2e0f3b497b498fdd802Set Value518957132022-12-04 23:49:3649 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.009903926991
0x4a39d46adbea761731eb737dc354b97fce15ce22ba79d4cd7f1c5b6aab807dc2Set Value518953612022-12-04 23:34:001 hr 5 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.002793592799
0xc75b05aeaccab8c067856135d609bf0f86ccd37438d53ee73399ca7d1bd245e1Set Value518953512022-12-04 23:33:331 hr 6 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.00209874867
0x2c5d55a7e61fc987a0b65c6e4e74e6dffdfc5711c01b62d76c5c145ac545becbSet Value518953352022-12-04 23:33:101 hr 6 mins ago0xe2c81ac9afe840adbd655b089397ba88c52bd418 IN  0x8a0e7e9130b2a8265dcb511a41acd859019427d30 FTM0.002089972841
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x9c14630992c96d9744e8564fd830140e445e6baaa878346728d641d7cf610ada460033852022-08-30 14:00:3896 days 10 hrs ago 0xe2c81ac9afe840adbd655b089397ba88c52bd418  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.