-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
102 lines (91 loc) · 2.63 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
log:
level: debug
disable_sentry: true
db:
url: postgres://points:points@localhost:5432/points?sslmode=disable
listener:
addr: localhost:8000
maintenance:
is_maintenance: false
event_types:
types:
- name: passport_scan
title: Points for passport scan
reward: 5
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
levels:
levels:
- lvl: 1
threshold: 0
referrals: 5
withdrawal_allowed: false
- lvl: 2
threshold: 5
referrals: 5
withdrawal_allowed: true
- lvl: 3
threshold: 6
referrals: 5
withdrawal_allowed: true
countries:
verification_key: "37bc75afc97f8bdcd21cda85ae7b2885b5f1205ae3d79942e56457230f1636a037cc7ebfe42998d66a3dd3446b9d29366271b4f2bd8e0d307db1d320b38fc02f"
countries:
- code: "UKR"
reserve_limit: 100000
reserve_allowed: true
withdrawal_allowed: true
- code: "USA"
reserve_limit: 0
reserve_allowed: false
withdrawal_allowed: false
- code: "default"
reserve_limit: 100
reserve_allowed: true
withdrawal_allowed: true
auth:
addr: http://rarime-auth
broadcaster:
addr: broadcaster
sender_account: "rarimo15hcd6tv7pe8hk2re7hu0zg0aphqdm2dtjrs0ds"
verifier:
verification_key_path: "./verification_key.json"
allowed_age: 18
allowed_identity_timestamp: 1715698750
root_verifier:
rpc: evm_rpc_url
contract: registration_contract_address
request_timeout: 10s
withdrawal:
point_price_urmo: 1000000