Verified contractExactMIT
AkariSimpleVault
Address0xda62fb087740d2ae42d1d1bac37b4b396fb4df38
- Balance
0 ETH
- Transactions
1
- Compiler
solc 0.8.34
- Same code
1 more contract
Details
- Compiler
- solc 0.8.34+commit.80d5c536
- Language
- solidity
- Optimization
- No
- License
- MIT
- Match
- Exactcreation code: yes, runtime code: yes
- Verified on Sourcify
- Created in block
- 26,484,576
- Creation transaction
- 0xce03da63ff…cf10b5815e
contracts/Akari_Database.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
contract AkariSimpleVault {
struct Record {
string fileName;
string manifestHash;
uint256 timestamp;
}
Record[] public records;
// ブロックチェーンに「ファイル名」と「ハッシュ文字列」を刻む関数
function saveHash(string memory _fileName, string memory _manifestHash) public {
records.push(Record(_fileName, _manifestHash, block.timestamp));
}
function getCount() public view returns (uint256) {
return records.length;
}
}
Compiler settingsShow
{
"optimizer": {
"runs": 200,
"enabled": false
},
"remappings": []
}Source code and metadata: Sourcify.
The source code belongs to the authors of the contract.