-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtest_eravm.json
125 lines (125 loc) · 4.21 KB
/
test_eravm.json
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
{ "targets": [ "eravm" ], "modes": [
"Y >=0.8.9",
"E", "I"
], "cases": [ {
"name": "default",
"inputs": [
{
"instance": "Token1",
"method": "#deployer",
"calldata": [
"0x40",
"0x80",
"4",
"0x6e616d6500000000000000000000000000000000000000000000000000000000",
"4",
"0x7465787400000000000000000000000000000000000000000000000000000000"
],
"expected": [
"Token1.address"
]
},
{
"instance": "Token2",
"method": "#deployer",
"calldata": [
"0x40",
"0x80",
"4",
"0x6e616d6500000000000000000000000000000000000000000000000000000000",
"4",
"0x7465787400000000000000000000000000000000000000000000000000000000"
],
"expected": [
"Token2.address"
]
},
{
"instance": "MooniswapFactory",
"caller": "0xdeadbeef00000000000000000000000000000042",
"method": "#deployer",
"calldata": [],
"expected": {
"return_data": [
"MooniswapFactory.address"
],
"events": [
{
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0xdeadbeef00000000000000000000000000000042"
],
"values": []
}
]
}
},
{
"instance": "MooniswapFactory",
"caller": "0xdeadbeef00000000000000000000000000000042",
"method": "deploy",
"calldata": [
"Token1.address",
"Token2.address"
],
"expected": {
"return_data": [
"*"
],
"events": [
{
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"MooniswapFactory.address"
],
"values": []
},
{
"topics": [
"0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0",
"MooniswapFactory.address",
"0xdeadbeef00000000000000000000000000000042"
],
"values": []
},
{
"topics": [
"0xc95935a66d15e0da5e412aca0ad27ae891d20b2fb91cf3994b6a3bf2b8178082",
"*",
"*",
"*"
],
"values": []
}
]
}
},
{
"instance": "MooniswapFactory",
"caller": "0xdeadbeef00000000000000000000000000000042",
"method": "getAllPools",
"calldata": [
]
}
],
"expected": [
"0x0000000000000000000000000000000000000000000000000000000000000020",
"0x0000000000000000000000000000000000000000000000000000000000000001",
"*"
]
} ],
"contracts": {
"MooniswapFactory": "MooniFactory.sol:MooniFactory",
"Token1": "MooniswapPool/ERC20/ERC20.sol:ERC20",
"Token2": "MooniswapPool/ERC20/ERC20.sol:ERC20",
"VirtualBalance": "MooniswapPool/Mooniswap.sol:VirtualBalance",
"Math": "MooniswapPool/math/Math.sol:Math"
},
"libraries": {
"MooniswapPool/Mooniswap.sol": { "VirtualBalance": "VirtualBalance" },
"MooniswapPool/math/Math.sol": { "Math": "Math" }
},
"group": "Real life"
}