If the transaction amount in the project creation transaction does end with 000 (e.g. 10000), then OP_RETURN script contains NOSTR event ID which should be stored in event_id column of the angor_projects table.
If the transaction amount in the project creation transaction doesn't end with 000 (e.g. 10001), then OP_RETURN script contains NOSTR event ID which should be stored in npub column of the angor_projects table.
Two possible use cases:
000
(e.g. 10000), thenOP_RETURN
script contains NOSTR event ID which should be stored inevent_id
column of theangor_projects
table.000
(e.g. 10001), thenOP_RETURN
script contains NOSTR event ID which should be stored innpub
column of theangor_projects
table.