- **Register Identity with Timestamp**: Allows clients to register identities and decryption triggers seamlessly. - - **Register Identity with Event Trigger (ETD)**: This feature enables clients to register identities that decrypt upon the observation of a specific on-chain event. + - **Register Event Identity (event-based trigger)**: Register identities that are decrypted upon observing a specific on-chain event by submitting an encoded `eventDefinition` via `/register_event_identity`. - **Retrieve Encryption Data**: Enables retrieval of encryption data for specific identities. - **Retrieve Decryption Keys**: Provides access to decryption keys once trigger conditions are met. - **Decrypt Commitments**: Facilitates direct decryption of commitments using stored decryption keys. - - **Get Identity Status**: Indicates if an identity is pending, satisfied, expired by TTL, or finalized.
###### Register Event Trigger
- - Define an ETD using the DAO contract address and event signature, with the option to filter by `proposalId`.
- - Set the TTL to match the voting window.
+ - Define an ETD using the DAO contract address and event signature, with the option to filter by `proposalId` (**register via `/register_event_identity`**).
###### Commit
- Encrypt the vote or supporting document and submit.
@@ -420,8 +419,7 @@ In an auction contract that utilizes event-based triggers, it is the contract it
###### Register Event Trigger
- - The ETD includes the auction contract address along with the `AuctionClosed` topic.
- - Optional filters for `auctionId`.
+ - The ETD includes the auction contract address along with the `AuctionClosed` topic. Optional filters for `auctionId` (**register via `/register_event_identity`**).
###### Commit Bids
- Participants encrypt their bids and submit them during the designated time window.
@@ -437,10 +435,6 @@ In an auction contract that utilizes event-based triggers, it is the contract it
- **Treasury sales** that include a verified closing.
- **On-chain auctions in the style of Christie's** that prevent pre-reveal leaks.
-Now as you can see from the page I just provided to you (and of course you should have already spotted this earlier when I was asking you to make your edits similar to the previous entries), all the old, time-based, entries have an "Example" section, but these are missing from the event-based entries that you came up with.
-
-Please now create two options for an example for the "Event-Triggered Auction Settlement Reveal" entry. Here is an example of how to do it from the older content, the example for the "Shielded Voting" entry. I expect the same format, length, details and style for all the examples that I'm asking you to provide to me. Please give your reply completely in rich text format only.
-
##### Example
@@ -506,7 +500,7 @@ This structure removes turn-based bias, prevents unfair move selection, and ensu
- Ensures that combat actions remain hidden until all players have locked in their choices.
- Prevents last-minute strategic counterpicking of moves.
- **Hidden Role & Social Deduction Games (Mafia, Werewolf, Daoplomacy)**
- - Keeps player roles and actions hidden until the correct moment.
+ - Keeps player roles and actions hidden until the reveal phase.
- Prevents bias or leaks that could ruin the secrecy of the game.
- **Tournaments & Competitive Matchmaking**
- Ensures that players submit their game choices (e.g., characters, weapons, skills) without pre-revealing them.
@@ -745,7 +739,7 @@ Utilize an ETD synchronized with `RoundComplete` for reveals to occur precisely
###### Register Event Trigger
- - The ETD includes the game contract and the `RoundComplete` topic, and it may optionally include `roundId`.
+ - The ETD includes the game contract and the `RoundComplete` topic, and it may optionally include `roundId` (**register via `/register_event_identity`**).
###### Commit
- Players encrypt their moves for the round and then submit them.
@@ -779,7 +773,7 @@ Keep NFT visuals or traits hidden until a player accomplishes something that the
###### Register Event Trigger
- - The ETD corresponds to events such as `LevelUp`, `CompletedQuest`, or similar occurrences for the player.
+ - The ETD corresponds to events such as `LevelUp`, `CompletedQuest`, or similar occurrences for the player (**register via `/register_event_identity`**).
###### Commit
- The sensitive metadata or artwork associated with the NFT remains encrypted.
@@ -953,8 +947,7 @@ Restrict access to content based on an on-chain payment detected by an ETD, such
###### Register Event Trigger
- - The ETD includes the token contract address and the `Transfer` topic.
- - Ensure that the match for `to` is equal to `creator` and that the `value` is greater than or equal to `price`.
+ - The ETD includes the token contract address and the `Transfer` topic. Ensure that the match for `to` is equal to `creator` and that the `value` is greater than or equal to `price` (**register via `/register_event_identity`**).
###### Commit
- Encrypt the content key or payload associated with the buyer's identity.
@@ -991,7 +984,7 @@ Decrypt new session keys only after a `SubscriptionPaid` event or staking renewa
###### Register Event Trigger
- - The ETD corresponds with the membership contract event and the subscriber's address.
+ - The ETD corresponds with the membership contract event and the subscriber's address (**register via `/register_event_identity`**).
###### Commit
- The materials for the next period are still encrypted and cannot be accessed.
@@ -1025,7 +1018,7 @@ Release an activation key when the `LicenseMinted` event or similar events are e
###### Register Event Trigger
- - The ETD corresponds to the minting event and the buyer's address.
+ - The ETD corresponds to the minting event and the buyer's address (**register via `/register_event_identity`**).
###### Commit
- The encrypted license or API key has been prepared for the buyer.
@@ -1059,7 +1052,7 @@ Disclose confidential documents when the `PaymentReleased` or `DealCompleted` ev
###### Register Event Trigger
- - ETD focuses on events related to the settlement of escrow contracts.
+ - ETD focuses on events related to the settlement of escrow contracts (**register via `/register_event_identity`**).
###### Commit
- Encrypt deliverables or intellectual property for the buyer's identity.
@@ -1093,7 +1086,7 @@ Require a multisig approval before revealing content, using events like `Executi
###### Register Event Trigger
- - The ETD corresponds to the multisig execution event and the optional calldata hash.
+ - The ETD corresponds to the multisig execution event and the optional calldata hash (**register via `/register_event_identity`**).
###### Commit
- Securely encrypt any shared documents or memos related to the action.
@@ -1207,7 +1200,7 @@ Utilize oracle events, like `AnswerUpdated`, to initiate the decryption of forec
###### Register Event Trigger
- - ETD refers to the oracle contract and event, and it may include optional filters for feed or round.
+ - ETD refers to the oracle contract and event, and it may include optional filters for feed or round (**register via `/register_event_identity`**).
###### Commit
- Encrypt forecasts or settlement instructions.
@@ -1241,7 +1234,7 @@ When a claim oracle emits the event `ClaimEvent(policyId, verified=true)`, it in
###### Register Event Trigger
- - The ETD corresponds to the insurance oracle event and the `policyId`.
+ - The ETD corresponds to the insurance oracle event and the `policyId` (**register via `/register_event_identity`**).
###### Commit
- Encrypt claim details for the beneficiary identity.
@@ -1427,7 +1420,7 @@ Decrypt the roadmaps or the reward details when the campaign contract emits the
###### Register Event Trigger
- - ETD focuses on the campaign contract and the goal event.
+ - ETD focuses on the campaign contract and the goal event (**register via `/register_event_identity`**).
###### Commit
- Encrypt milestone materials for backers.
@@ -1461,7 +1454,7 @@ Disclose a secret once N participants have either made a deposit or expressed in
###### Register Event Trigger
- - The ETD matches the pool contract with the threshold event.
+ - The ETD matches the pool contract with the threshold event (**register via `/register_event_identity`**).
###### Commit
- Encrypt the shared secret or content.
@@ -1495,7 +1488,7 @@ Decrypt the per-user claim proofs whenever the `RewardClaimed` or `StakeComplete
###### Register Event Trigger
- - ETD filters by user and action event.
+ - ETD filters by user and action event (**register via `/register_event_identity`**).
###### Commit
- Encrypt claim proofs or reward data.