Contract Overview
Balance:
0 MATIC
MATIC Value:
$0.00
My Name Tag:
Not Available, login to update
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | |||
---|---|---|---|---|---|---|---|
0x8b93e13814d1b66424f7f30862e32f0aba83b12a2102d327052b3dc1285c29dd | 7463520 | 921 days 23 hrs ago | 0x2b2180a92a686cfc03599b9e5027e35b9448e9f3 | Contract Creation | 0 MATIC |
[ Download CSV Export ]
Contract Name:
AuditRecordStore
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2021-06-30 */ /* Copyright PowerLoom, Inc. 2020 */ pragma solidity ^0.5.17; pragma experimental ABIEncoderV2; contract AuditRecordStore { struct PayloadRecord { string ipfsCid; uint256 timestamp; } event RecordAppended(bytes32 apiKeyHash, string ipfsCid, uint256 indexed timestamp); mapping(bytes32 => PayloadRecord[]) private apiKeyHashToRecords; constructor() public { } function commitRecord(string memory ipfsCid, bytes32 apiKeyHash) public { PayloadRecord memory a = PayloadRecord(ipfsCid, now); apiKeyHashToRecords[apiKeyHash].push(a); emit RecordAppended(apiKeyHash, ipfsCid, now); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"apiKeyHash","type":"bytes32"},{"indexed":false,"internalType":"string","name":"ipfsCid","type":"string"},{"indexed":true,"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"RecordAppended","type":"event"},{"constant":false,"inputs":[{"internalType":"string","name":"ipfsCid","type":"string"},{"internalType":"bytes32","name":"apiKeyHash","type":"bytes32"}],"name":"commitRecord","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506103c4806100206000396000f3fe608060405234801561001057600080fd5b506004361061002b5760003560e01c80634a698cce14610030575b600080fd5b61004361003e366004610208565b610045565b005b61004d6100ee565b5060408051808201825283815242602080830191909152600084815280825292832080546001810180835591855293829020835180519495929486946002909402909201926100a192849290910190610108565b5060208201518160010155505050427f64127525826c5d82471daa277c0bb77f8a2158233877db147d35a9ab925f471383856040516100e19291906102a0565b60405180910390a2505050565b604051806040016040528060608152602001600081525090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014957805160ff1916838001178555610176565b82800160010185558215610176579182015b8281111561017657825182559160200191906001019061015b565b50610182929150610186565b5090565b6101a091905b80821115610182576000815560010161018c565b90565b80356101ae8161036a565b92915050565b600082601f8301126101c557600080fd5b81356101d86101d3826102ef565b6102c8565b915080825260208301602083018583830111156101f457600080fd5b6101ff838284610324565b50505092915050565b6000806040838503121561021b57600080fd5b823567ffffffffffffffff81111561023257600080fd5b61023e858286016101b4565b925050602061024f858286016101a3565b9150509250929050565b610262816101a0565b82525050565b600061027382610317565b61027d818561031b565b935061028d818560208601610330565b61029681610360565b9093019392505050565b604081016102ae8285610259565b81810360208301526102c08184610268565b949350505050565b60405181810167ffffffffffffffff811182821017156102e757600080fd5b604052919050565b600067ffffffffffffffff82111561030657600080fd5b506020601f91909101601f19160190565b5190565b90815260200190565b82818337506000910152565b60005b8381101561034b578181015183820152602001610333565b8381111561035a576000848401525b50505050565b601f01601f191690565b610373816101a0565b811461037e57600080fd5b5056fea365627a7a72315820f6320a2bc855d92fa53980326c5c0a5152a3c2673209164db68bd6affb92409b6c6578706572696d656e74616cf564736f6c63430005110040
Age | Block | Fee Address | BC Fee Address | Voting Power | Jailed | Incoming |
---|
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.