aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/ASTJSON/fallback_payable.json
blob: 9d56f74bdbce09e39e097f7eaa3669f5c2fcea7b (plain) (blame)
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
{
    "absolutePath" : "a",
    "exportedSymbols" : 
    {
        "C" : 
        [
            5
        ]
    },
    "id" : 6,
    "nodeType" : "SourceUnit",
    "nodes" : 
    [
        {
            "baseContracts" : [],
            "contractDependencies" : [],
            "contractKind" : "contract",
            "documentation" : null,
            "fullyImplemented" : true,
            "id" : 5,
            "linearizedBaseContracts" : 
            [
                5
            ],
            "name" : "C",
            "nodeType" : "ContractDefinition",
            "nodes" : 
            [
                {
                    "body" : 
                    {
                        "id" : 3,
                        "nodeType" : "Block",
                        "src" : "34:2:1",
                        "statements" : []
                    },
                    "documentation" : null,
                    "id" : 4,
                    "implemented" : true,
                    "kind" : "fallback",
                    "modifiers" : [],
                    "name" : "",
                    "nodeType" : "FunctionDefinition",
                    "parameters" : 
                    {
                        "id" : 1,
                        "nodeType" : "ParameterList",
                        "parameters" : [],
                        "src" : "22:2:1"
                    },
                    "returnParameters" : 
                    {
                        "id" : 2,
                        "nodeType" : "ParameterList",
                        "parameters" : [],
                        "src" : "34:0:1"
                    },
                    "scope" : 5,
                    "src" : "14:22:1",
                    "stateMutability" : "nonpayable",
                    "superFunction" : null,
                    "visibility" : "external"
                }
            ],
            "scope" : 6,
            "src" : "0:38:1"
        }
    ],
    "src" : "0:39:1"
}