Announcer registry
The announcer registry keeps track of the registered announcers and allows the announcers to claim their rewards. It is a custom singleton that recreates itself after every spend. There are two opcodes allowed, which perform the following actions:
MINT_OPCODE
— The mint operation is used to claim rewards. The operation can be performed by any registered announcer and automatically sends a rewards payment to each registered announcer. The puzzle calculates the CRT credits per announcer and sends a message to the issuance coin, which issues these coins. These coins are then distributed to the announcers.REGISTER_OPCODE
— The register operation could be used via announcers to register themselves in the announcer registry. The registry receives a message from the announcer and adds the announcer to theANNOUNCER_REGISTRY
variable.
Condition filtering and solution-parameters verification
There are no inner puzzles, and hence no condition filtering is required. The solution parameters are verified via announcements from the statutes.
The solution must also provide the lineage proof, which verifies the coin's validity.
Test coverage
Intended branches
Negative behavior