-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improves async response management and enriches status embeds
- Loading branch information
Showing
5 changed files
with
214 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
quirk: | ||
name: "Coordinator Events Relay" | ||
env: "./.env" | ||
batch_size: 50 # events | ||
loop_interval: 120 # seconds | ||
|
||
web3: | ||
infura: "{{ INFURA_API_KEY }}" | ||
|
||
bot: | ||
token: "{{ DISCORD_BOT_TOKEN }}" | ||
prefix: '!' | ||
subscribers: | ||
- name: "QuirkBot Test Server" | ||
channel_id: "{{ SUBSCRIBER_CHANNEL_ID }}" | ||
description: "Test discord server description" | ||
|
||
events: | ||
- address: "0xF429C1f2d42765FE2b04CC62ab037564C2C66e5E" | ||
name: "Coordinator" | ||
description: "Lynx Domain Coordinator Events" | ||
chain_id: 137 | ||
abi_file: './abis/coordinator.json' | ||
events: | ||
- StartRitual | ||
- StartAggregationRound | ||
- EndRitual | ||
- TranscriptPosted | ||
- AggregationPosted | ||
- TimeoutChanged | ||
- MaxDkgSizeChanged | ||
- ParticipantPublicKeySet | ||
|
||
- address: "0x8E49989F9D3aD89c8ab0de21FbA2E00C67ca872F" | ||
description: "Tapir Domain Coordinator Events" | ||
chain_id: 137 | ||
abi_file: './abis/coordinator.json' | ||
events: | ||
- StartRitual | ||
- StartAggregationRound | ||
- EndRitual | ||
- TranscriptPosted | ||
- AggregationPosted | ||
- TimeoutChanged | ||
- MaxDkgSizeChanged | ||
- ParticipantPublicKeySet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
BATCH_SIZE = 100 | ||
LOOP_INTERVAL = 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters