-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathtest.json
82 lines (82 loc) · 2.79 KB
/
test.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
{
"cases": [ {
"name": "default",
"inputs": [
{
"method": "#deployer",
"instance": "Shit",
"caller": "0xdeadbeef00000000000000000000000000000002",
"calldata": [
],
"expected": {
"return_data": [
"Shit.address"
],
"events": [
{
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x0000000000000000000000000000000000000000000000000000000000000000",
"0x000000000000000000000000deadbeef00000000000000000000000000000002"
],
"values": [
"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"
]
}
],
"exception": false
}
},
{
"instance": "Shit",
"caller": "0xdeadbeef00000000000000000000000000000002",
"method": "transfer(address,uint256)",
"calldata": [
"0xdeadbeef00000000000000000000000000000003",
"200"
],
"expected": {
"return_data": [
"1"
],
"events": [
{
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000deadbeef00000000000000000000000000000002",
"0x000000000000000000000000deadbeef00000000000000000000000000000003"
],
"values": [
"$BLOCK_HASH:185"
]
},
{
"topics": [
"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",
"0x000000000000000000000000deadbeef00000000000000000000000000000002",
"0x000000000000000000000000deadbeef00000000000000000000000000000003"
],
"values": [
"$BLOCK_HASH:185"
]
}
],
"exception": false
}
},
{
"instance": "Shit",
"method": "balanceof",
"calldata": [
"0xdeadbeef00000000000000000000000000000003"
]
}
],
"expected": [
"200"
] } ],
"contracts": {
"Shit": "SHITv1.sol:SHITv1"
},
"group": "Real life"
}