github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/solidity_firefly/contracts/Firefly.sol (about) 1 // SPDX-License-Identifier: Apache-2.0 2 3 pragma solidity >=0.6.0 <0.9.0; 4 5 contract Firefly { 6 7 event BatchPin ( 8 address author, 9 uint timestamp, 10 string namespace, 11 bytes32 uuids, 12 bytes32 batchHash, 13 bytes32 payloadRef, 14 bytes32[] contexts 15 ); 16 17 function pinBatch(string memory namespace, bytes32 uuids, bytes32 batchHash, bytes32 payloadRef, bytes32[] memory contexts) public { 18 emit BatchPin(msg.sender, block.timestamp, namespace, uuids, batchHash, payloadRef, contexts); 19 } 20 21 }