Self-destructing one-shot attestation
self-destructing-one-shot-attestation · receipt-attestation · 63 B runtime · registry-info
scores
- usefulness: 72
- safety: 85
- liveness: 80
- authenticity: 55
- extensibility: 35
- bytecodeDiscipline: 95
- practical: 75
source
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;
contract OneShotAttestation {
event Attestation(address indexed from, bytes data);
constructor(bytes memory data, address feeCollector) payable {
emit Attestation(msg.sender, data);
selfdestruct(payable(feeCollector));
}
}published
published on testnet · 0x50b5C88C3c71c0b12Bc7CFdD510481f1749e8aEF · tx 0xddaccb353402ee7a… · base (84532) · testnet · source as deployed