-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
157 lines (147 loc) · 4.7 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
log:
level: debug
disable_sentry: true
db:
url: postgres://points:points@localhost:5432/points?sslmode=disable
listener:
addr: localhost:8000
event_types:
types:
- name: passport_scan
reward: 5
# there are default and localized configurations of texts
title: Points for passport scan
description: Get points for scan passport and share data
short_description: Short description
localized:
en-UK:
title: Points for passport scan
description: Get points for scan passport and share data
short_description: Short description
en-US:
title: Points for passport scan
description: Get points for scan passport and share data
short_description: Short description
frequency: one-time
action_url: https://...
logo: https://...
auto_claim: true
- name: external_passport_scan
reward: 5
# there are default and localized configurations of texts
title: Points for external passport scan
description: Get points for scan passport and share data
short_description: Short description
localized:
en-UK:
title: Points for external passport scan
description: Get points for scan passport and share data
short_description: Short description
en-US:
title: Points for external passport scan
description: Get points for scan passport and share data
short_description: Short description
frequency: one-time
action_url: https://...
logo: https://...
auto_claim: true
- name: free_weekly
title: Free weekly points
reward: 1
frequency: weekly
description: Get free points every week by visiting the platform and claiming your reward
short_description: Short description
- name: be_referred
title: Referral welcome bonus
reward: 1
frequency: one-time
description: Be referred by a friend and get a welcome bonus
short_description: Short description
no_auto_open: true
- name: referral_common
reward: 1
frequency: one-time
title: Refer new users
short_description: Refer friends and get a reward for each friend who verifies the passport
description: Refer friends and get a reward for each friend who verifies the passport
- name: referral_specific
title: Refer user {:did}
reward: 1
frequency: unlimited
description: The user {:did} has verified the passport. Claim the reward!
short_description: Short description
no_auto_open: true
auto_claim: true
- name: poll_participation
title: Participate in a poll
reward: 1
frequency: unlimited
description: Vote in a poll and get additional points
short_description: Vote in a poll and get additional points
no_auto_open: true
auto_claim: true
- name: meetup_participation
title: Prove your participation by scanning QR code
reward: 5
frequency: unlimited
description: Prove your participation by scanning QR code
short_description: Short description
auto_claim: true
qr_code_value: "qr_code_base64_string"
- name: early_test
title: one-time event
reward: 5
frequency: unlimited
description: one time event
short_description: Short description
auto_claim: true
no_auto_open: true
- name: daily_question
title: Get daily question
reward: 5
frequency: unlimited
description: This event is used when a user get daily question
short_description: event for get daily question
auto_claim: true
no_auto_open: true
daily_questions:
timezone: 4
notifications:
title: "Daily question!"
body: "Participate in Quiz and earn points"
send_at: 0
creds_file: "./cred_file"
topic: "some_topic"
levels:
downgradeable: false
levels:
- lvl: 1
threshold: 0
referrals: 1
- lvl: 2
threshold: 10
infinity: true
auth:
addr: http://rarime-auth
verifier:
allowed_age: 18
allowed_identity_timestamp: 1715698750
poseidonsmt_root_verifier:
rpc: evm_rpc_url
contract: poseidon_smt_contract_address
request_timeout: 10s
poll_verifier:
rpc: evm_rpc_url
proposal_state_address: 0x123...123
sig_verifier:
verification_key: "37bc75afc97f8bdcd21cda85ae7b2885b5f1205ae3d79942e56457230f1636a037cc7ebfe42998d66a3dd3446b9d29366271b4f2bd8e0d307db1d320b38fc02f"
abstraction:
rpc: "https://rpc"
account_factory: "0x123..."
point_tokens: "0x123..."
point_price: "1000000000"
vault_address: "https://vault.example.com"
vault_mount_path: "secret/rarimarket"
private_key: "abcd..."
creds:
path: "path/to/creds"