-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-testing.yaml
140 lines (130 loc) · 5.87 KB
/
config-testing.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
log:
level: debug
disable_sentry: true
db:
url: postgres://points:points@localhost:5432/points?sslmode=disable
listener:
addr: localhost:8000
event_types:
types:
- name: free_weekly
reward: 1
frequency: weekly
title: Free weekly points
short_description: Get free points every week, just pressing the button
description: "## Free Weekly Points\n\nThis is a weekly event where users can earn free points.\n\n### How it works\n\n- Users are eligible to participate once every week.\n- Upon participation, users will receive 100 points.\n- These points can be used for various features in the application.\n\nParticipate every week and maximize your rewards!\n"
logo: https://pbs.twimg.com/profile_images/1639021161257263105/XmT0EBnK_400x400.jpg
starts_at: 2024-03-23T12:42:00Z
- name: passport_scan
reward: 5
frequency: one-time
title: Passport verification
short_description: Scan your passport to unlock features and get points
description: "## Passport verification\n\nThis is a general event description.\n\n### How it works\n\n- Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n- Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\nParticipate every week and maximize your rewards!\n"
logo: https://pbs.twimg.com/profile_images/1639021161257263105/XmT0EBnK_400x400.jpg
starts_at: 2024-03-23T12:42:00Z
auto_claim: true
- name: referral_common
reward: 15
frequency: one-time
title: Refer new users
short_description: Refer friends and get a reward for each friend who verifies the passport
description: "## Referral program\n\nThis is a general event description.\n\n### How it works\n\n- Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n- Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\nParticipate every week and maximize your rewards!\n"
action_url: https://rarimo.com
- name: referral_specific
reward: 1
frequency: unlimited
no_auto_open: true
title: Refer user <did>
short_description: The user <did> has verified the passport. Claim the reward!
description: "## Referral program\n\nThis is a general event description.\n\n### How it works\n\n- Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n- Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\nParticipate every week and maximize your rewards!\n"
action_url: https://rarimo.com
auto_claim: true
- name: new_limited_event
title: Limited event
reward: 5
frequency: one-time
short_description: This event will expire soon
description: "## Limited event\n\nThis is a general event description.\n\n### How it works\n\n- Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n- Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\nParticipate every week and maximize your rewards!\n"
action_url: https://rarimo.com
expires_at: 2024-11-01T00:00:00Z
- name: new_expired_event
title: Expired event
reward: 3
frequency: one-time
short_description: This event has expired
description: "## Expired event\n\nThis is a general event description.\n\n### How it works\n\n- Lorem ipsum dolor sit amet, consectetur adipiscing elit.\n- Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.\n- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.\n\nParticipate every week and maximize your rewards!\n"
action_url: https://rarimo.com
expires_at: 2024-06-10T00:00:00Z
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: 100
reserve_allowed: false
withdrawal_allowed: false
- code: "GBR"
reserve_limit: 5
reserve_allowed: false
withdrawal_allowed: true
- code: "CAN"
reserve_limit: 5
reserve_allowed: true
withdrawal_allowed: true
- code: "FRA"
reserve_limit: 6
reserve_allowed: true
withdrawal_allowed: true
- code: "IND"
reserve_limit: 1
reserve_allowed: false
withdrawal_allowed: true
- code: "MCO"
reserve_limit: 100
reserve_allowed: false
withdrawal_allowed: false
- code: "BEL"
reserve_limit: 100
reserve_allowed: true
withdrawal_allowed: false
- code: "MNG"
reserve_limit: 100
reserve_allowed: false
withdrawal_allowed: true
- code: "default"
reserve_limit: 5
reserve_allowed: true
withdrawal_allowed: true
auth:
addr: http://localhost:9030
broadcaster:
addr: localhost:9010
sender_account: "rarimo1ghcxdrgmy8duq8cu68fgmlp2sfmfwkh2dl4chl"
verifier:
verification_key_path: "./verification_key.json"
allowed_age: 18
allowed_identity_timestamp: 1715698750
root_verifier:
rpc: https://your-rpc
contract: 0x7DdAde70efADf832A600ba483FAD26fCA477FE2A
request_timeout: 10s
withdrawal:
point_price_urmo: 1000000 # 1 RMO