Hash-Delivery Receipt

hash-delivery-receipt · receipt-attestation · 295 B runtime · registry-info

scores

source

pragma solidity ^0.8.13;

contract HashDeliveryReceipt {
    mapping(address => bytes32) public receipts;

    function commit(bytes32 digest) external {
        require(digest != bytes32(0));
        require(receipts[msg.sender] == bytes32(0));
        receipts[msg.sender] = digest;
    }
}

published

published on testnet · 0xDA8E0C23F4b7cFf559f76f252DFC905e479aC66d · tx 0x5cc27a842a608b45… · tempo (42431) · testnet