Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 324 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Value | 14047952 | 1118 days ago | IN | 0 ETH | 0.00586591 | ||||
Set Value | 14047952 | 1118 days ago | IN | 0 ETH | 0.00524051 | ||||
Set Value | 14047802 | 1118 days ago | IN | 0 ETH | 0.00959658 | ||||
Set Value | 13942116 | 1134 days ago | IN | 0 ETH | 0.00401671 | ||||
Set Value | 13922469 | 1137 days ago | IN | 0 ETH | 0.00287291 | ||||
Set Value | 13919929 | 1137 days ago | IN | 0 ETH | 0.00243959 | ||||
Set Value | 13919929 | 1137 days ago | IN | 0 ETH | 0.005319 | ||||
Set Value | 13919929 | 1137 days ago | IN | 0 ETH | 0.00179501 | ||||
Set Value | 13919929 | 1137 days ago | IN | 0 ETH | 0.00128465 | ||||
Set Value | 13919929 | 1137 days ago | IN | 0 ETH | 0.00129373 | ||||
Set Value | 13918704 | 1138 days ago | IN | 0 ETH | 0.00147573 | ||||
Set Value | 13912591 | 1139 days ago | IN | 0 ETH | 0.00185945 | ||||
Set Value | 13912591 | 1139 days ago | IN | 0 ETH | 0.00182648 | ||||
Set Value | 13912523 | 1139 days ago | IN | 0 ETH | 0.00224907 | ||||
Set Value | 13854004 | 1148 days ago | IN | 0 ETH | 0.00100944 | ||||
Set Value | 13844768 | 1149 days ago | IN | 0 ETH | 0.00234583 | ||||
Set Value | 13838188 | 1150 days ago | IN | 0 ETH | 0.00183816 | ||||
Set Value | 13831780 | 1151 days ago | IN | 0 ETH | 0.00156451 | ||||
Set Value | 13825225 | 1152 days ago | IN | 0 ETH | 0.00696191 | ||||
Set Value | 13818754 | 1153 days ago | IN | 0 ETH | 0.00435251 | ||||
Set Value | 13812329 | 1154 days ago | IN | 0 ETH | 0.00373936 | ||||
Set Value | 13805887 | 1155 days ago | IN | 0 ETH | 0.00425881 | ||||
Set Value | 13797022 | 1156 days ago | IN | 0 ETH | 0.00098313 | ||||
Set Value | 13777388 | 1159 days ago | IN | 0 ETH | 0.00121933 | ||||
Set Value | 13776084 | 1160 days ago | IN | 0 ETH | 0.00141152 |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
DIAScifiOracle
Compiler Version
v0.7.4+commit.3f05b770
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-19 */ pragma solidity 0.7.4; contract DIAScifiOracle { 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) public 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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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"}]
Contract Creation Code
608060405234801561001057600080fd5b50600180546001600160a01b0319163317905561054d806100326000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea2646970667358221220600f28856bf9bb6e090e30d6d7a33cced435fedd28b9d0ef34c79b74efdfe83364736f6c63430007040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80635a9ade8b146100515780636aa45efc146101095780637898e0c214610131578063960384a0146101ed575b600080fd5b6100f76004803603602081101561006757600080fd5b81019060208101813564010000000081111561008257600080fd5b82018360208201111561009457600080fd5b803590602001918460018302840111640100000000831117156100b657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102c2945050505050565b60408051918252519081900360200190f35b61012f6004803603602081101561011f57600080fd5b50356001600160a01b03166102df565b005b61012f6004803603606081101561014757600080fd5b81019060208101813564010000000081111561016257600080fd5b82018360208201111561017457600080fd5b8035906020019184600183028401116401000000008311171561019657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550506001600160801b03833581169450602090930135909216915061034a9050565b6102936004803603602081101561020357600080fd5b81019060208101813564010000000081111561021e57600080fd5b82018360208201111561023057600080fd5b8035906020019184600183028401116401000000008311171561025257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061049a945050505050565b60405180836001600160801b03168152602001826001600160801b031681526020019250505060405180910390f35b805160208183018101805160008252928201919093012091525481565b6001546001600160a01b031633146102f657600080fd5b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f121e958a4cadf7f8dadefa22cc019700365240223668418faebed197da07089f9181900360200190a150565b6001546001600160a01b0316331461036157600080fd5b6000816001600160801b03166080846001600160801b0316901b019050806000856040518082805190602001908083835b602083106103b15780518252601f199092019160209182019101610392565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095556001600160801b03888116858301528716948401949094525050606080825286519082015285517fa7fc99ed7617309ee23f63ae90196a1e490d362e6f6a547a59bc809ee2291782928792879287928291608083019187019080838360005b83811015610458578181015183820152602001610440565b50505050905090810190601f1680156104855780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150505050565b600080600080846040518082805190602001908083835b602083106104d05780518252601f1990920191602091820191016104b1565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922054608081901c976001600160801b03909116965094505050505056fea2646970667358221220600f28856bf9bb6e090e30d6d7a33cced435fedd28b9d0ef34c79b74efdfe83364736f6c63430007040033
Deployed Bytecode Sourcemap
26:1132:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57:41:0;;-1:-1:-1;57:41:0;;-1:-1:-1;;;;;57:41:0:i;:::-;;;;;;;;;;;;;;;;913:242;;;;;;;;;;;;;;;;-1:-1:-1;913:242:0;-1:-1:-1;;;;;913:242:0;;:::i;:::-;;340:282;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;340:282:0;;-1:-1:-1;;;;;;;340:282:0;;;;;-1:-1:-1;340:282:0;;;;;;;;;-1:-1:-1;340:282:0;;-1:-1:-1;340:282:0:i;634:267::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;634:267:0;;-1:-1:-1;634:267:0;;-1:-1:-1;;;;;634:267:0:i;:::-;;;;;-1:-1:-1;;;;;634:267:0;;;;;;-1:-1:-1;;;;;634:267:0;;;;;;;;;;;;;;;;57:41;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;913:242::-;1022:13;;-1:-1:-1;;;;;1022:13:0;1008:10;:27;1000:36;;;;;;1047:13;:39;;-1:-1:-1;;;;;1047:39:0;;-1:-1:-1;;;;;;1047:39:0;;;;;;;;1102:45;;;;;;;;;;;;;;;;913:242;:::o;340:282::-;451:13;;-1:-1:-1;;;;;451:13:0;437:10;:27;429:36;;;;;;476:14;523:9;-1:-1:-1;;;;;493:39:0;516:3;505:5;-1:-1:-1;;;;;495:16:0;494:25;;493:39;476:56;;557:6;543;550:3;543:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;543:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;543:11:0;;;;;;;;;;;;;;;;-1:-1:-1;543:11:0;;;;;;;;;;;:20;;;;-1:-1:-1;;;;;579:35:0;;;;;;;;;;;;;;;;-1:-1:-1;;579:35:0;;;;;;;;;;;;;;;;;;;;543:11;;579:35;;;;;;;;;;-1:-1:-1;579:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;340:282;;;;:::o;634:267::-;692:7;701;721:14;738:6;745:3;738:11;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;738:11:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;738:11:0;;;;;;;;;;;;;;;;-1:-1:-1;738:11:0;;;;;;;;;;;853:3;843:13;;;;-1:-1:-1;;;;;790:15:0;;;;-1:-1:-1;843:13:0;-1:-1:-1;;;;;634:267:0:o
Swarm Source
ipfs://600f28856bf9bb6e090e30d6d7a33cced435fedd28b9d0ef34c79b74efdfe833
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.