-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_scenarios.py
53 lines (38 loc) · 1.63 KB
/
test_scenarios.py
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
from lambda_handler import lambda_handler
payload1 = {"token": "AGIX","type": "BALANCE"}
payload2 = {"token": "AGIX1","type": "BALANCE"}
payload3 = {"token1": "AGIX","type1": "TRANSFER"}
payload4 = {"token": "AGIX","type1": "STAKE1"}
payload5 = {"token1": "AGIX","type": "STAKE1"}
payload6 = {"token": "SDAO","type": "TRANSFER"}
payload7 = {"token": "SDAO","type": "STAKE1"}
payload8 = {"token": "AGIX","type": "TRANSFER"}
payload9 = {"token": "AGIX","type": "STAKE1"}
payload10 = {"token": "SDAO","type": "STAKE2"}
payload11 = {"token": "SDAO","type": "STAKE3"}
payload12 = {"token": "AGIX","type": "LPWETH"}
payload13 = {"token": "AGIX","type": "LPUSDT"}
payload14 = {"token": "SDAO","type": "LPWETH"}
payload15 = {"token": "SDAO","type": "LPUSDT"}
#print(lambda_handler(payload1, None))
#print(lambda_handler(payload2, None))
#print(lambda_handler(payload3, None))
#print(lambda_handler(payload4, None))
#print(lambda_handler(payload5, None))
#print(lambda_handler(payload8, None))
#print(lambda_handler(payload9, None))
#print(lambda_handler(payload12, None))
#print(lambda_handler(payload13, None))
#print(lambda_handler(payload6, None))
#print(lambda_handler(payload7, None))
#print(lambda_handler(payload10, None))
#print(lambda_handler(payload11, None))
#print(lambda_handler(payload14, None))
#print(lambda_handler(payload15, None))
from config import INFURA_URL_HTTPS, NET_ID
from repository import Repository
from staking_handler import StakingHandler
s = StakingHandler(INFURA_URL_HTTPS, NET_ID, 'AGIX_STAKE1', Repository())
s.process()
#u = UniswapV2TransfersHandler(INFURA_URL_HTTPS, NET_ID, 'AGIX_LPWETH', Repository())
#u.test_address()