Merge pull request #11259 from ethereum/exportErrorsInAst

Export used errors in the AST.
This commit is contained in:
chriseth 2021-04-19 15:53:32 +02:00 committed by GitHub
commit 1feca5dddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
106 changed files with 662 additions and 127 deletions

View File

@ -35,6 +35,7 @@ Bugfixes:
AST Changes:
* New property for ContractDefinition nodes: ``usedErrors`` lists AST IDs of all errors used by the contract (even if defined outside).

View File

@ -272,6 +272,7 @@ bool ASTJsonConverter::visit(ContractDefinition const& _node)
make_pair("abstract", _node.abstract()),
make_pair("baseContracts", toJson(_node.baseContracts())),
make_pair("contractDependencies", getContainerIds(_node.annotation().contractDependencies | views::keys)),
make_pair("usedErrors", getContainerIds(_node.interfaceErrors(false))),
make_pair("nodes", toJson(_node.subNodes())),
make_pair("scope", idOrNull(_node.scope()))
};

View File

@ -43,7 +43,8 @@ JSON AST (compact format):
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 6,
"src": "60:13:0"
"src": "60:13:0",
"usedErrors": []
}
],
"src": "36:38:0"

View File

@ -1 +1 @@
{"contracts":{"combined_json_with_base_path/c.sol:C":{}},"sourceList":["combined_json_with_base_path/c.sol","combined_json_with_base_path/input.sol"],"sources":{"combined_json_with_base_path/c.sol":{"AST":{"absolutePath":"combined_json_with_base_path/c.sol","exportedSymbols":{"C":[5]},"id":6,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":4,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:0"},{"abstract":false,"baseContracts":[],"contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":5,"linearizedBaseContracts":[5],"name":"C","nameLocation":"69:1:0","nodeType":"ContractDefinition","nodes":[],"scope":6,"src":"60:13:0"}],"src":"36:38:0"}},"combined_json_with_base_path/input.sol":{"AST":{"absolutePath":"combined_json_with_base_path/input.sol","exportedSymbols":{"C":[5]},"id":3,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:1"},{"absolutePath":"combined_json_with_base_path/c.sol","file":"./c.sol","id":2,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3,"sourceUnit":6,"src":"60:17:1","symbolAliases":[],"unitAlias":""}],"src":"36:42:1"}}},"version": "<VERSION REMOVED>"}
{"contracts":{"combined_json_with_base_path/c.sol:C":{}},"sourceList":["combined_json_with_base_path/c.sol","combined_json_with_base_path/input.sol"],"sources":{"combined_json_with_base_path/c.sol":{"AST":{"absolutePath":"combined_json_with_base_path/c.sol","exportedSymbols":{"C":[5]},"id":6,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":4,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:0"},{"abstract":false,"baseContracts":[],"contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":5,"linearizedBaseContracts":[5],"name":"C","nameLocation":"69:1:0","nodeType":"ContractDefinition","nodes":[],"scope":6,"src":"60:13:0","usedErrors":[]}],"src":"36:38:0"}},"combined_json_with_base_path/input.sol":{"AST":{"absolutePath":"combined_json_with_base_path/input.sol","exportedSymbols":{"C":[5]},"id":3,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:1"},{"absolutePath":"combined_json_with_base_path/c.sol","file":"./c.sol","id":2,"nameLocation":"-1:-1:-1","nodeType":"ImportDirective","scope":3,"sourceUnit":6,"src":"60:17:1","symbolAliases":[],"unitAlias":""}],"src":"36:42:1"}}},"version": "<VERSION REMOVED>"}

View File

@ -178,7 +178,8 @@ JSON AST (compact format):
}
],
"scope": 19,
"src": "62:399:0"
"src": "62:399:0",
"usedErrors": []
}
],
"src": "36:426:0"

View File

@ -10,4 +10,4 @@
2 | pragma solidity >=0.0; contract Errort6 { using foo for ; /* missing type name */ }
| ^
","message":"Recovered in ContractDefinition at '}'.","severity":"warning","sourceLocation":{"end":120,"file":"A","start":119},"type":"Warning"}],"sources":{"A":{"ast":{"absolutePath":"A","exportedSymbols":{"Errort6":[3]},"id":4,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:0"},{"abstract":false,"baseContracts":[],"contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":3,"linearizedBaseContracts":[3],"name":"Errort6","nameLocation":"68:7:0","nodeType":"ContractDefinition","nodes":[],"scope":4,"src":"59:35:0"}],"src":"36:84:0"},"id":0}}}
","message":"Recovered in ContractDefinition at '}'.","severity":"warning","sourceLocation":{"end":120,"file":"A","start":119},"type":"Warning"}],"sources":{"A":{"ast":{"absolutePath":"A","exportedSymbols":{"Errort6":[3]},"id":4,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:0"},{"abstract":false,"baseContracts":[],"contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":3,"linearizedBaseContracts":[3],"name":"Errort6","nameLocation":"68:7:0","nodeType":"ContractDefinition","nodes":[],"scope":4,"src":"59:35:0","usedErrors":[]}],"src":"36:84:0"},"id":0}}}

View File

@ -1 +1 @@
{"sources":{"A":{"ast":{"absolutePath":"A","exportedSymbols":{"C":[6]},"id":7,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:0"},{"abstract":false,"baseContracts":[],"contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":6,"linearizedBaseContracts":[6],"name":"C","nameLocation":"68:1:0","nodeType":"ContractDefinition","nodes":[{"body":{"id":4,"nodeType":"Block","src":"97:2:0","statements":[]},"functionSelector":"26121ff0","id":5,"implemented":true,"kind":"function","modifiers":[],"name":"f","nameLocation":"81:1:0","nodeType":"FunctionDefinition","parameters":{"id":2,"nodeType":"ParameterList","parameters":[],"src":"82:2:0"},"returnParameters":{"id":3,"nodeType":"ParameterList","parameters":[],"src":"97:0:0"},"scope":6,"src":"72:27:0","stateMutability":"pure","virtual":false,"visibility":"public"}],"scope":7,"src":"59:42:0"}],"src":"36:65:0"},"id":0}}}
{"sources":{"A":{"ast":{"absolutePath":"A","exportedSymbols":{"C":[6]},"id":7,"license":"GPL-3.0","nodeType":"SourceUnit","nodes":[{"id":1,"literals":["solidity",">=","0.0"],"nodeType":"PragmaDirective","src":"36:22:0"},{"abstract":false,"baseContracts":[],"contractDependencies":[],"contractKind":"contract","fullyImplemented":true,"id":6,"linearizedBaseContracts":[6],"name":"C","nameLocation":"68:1:0","nodeType":"ContractDefinition","nodes":[{"body":{"id":4,"nodeType":"Block","src":"97:2:0","statements":[]},"functionSelector":"26121ff0","id":5,"implemented":true,"kind":"function","modifiers":[],"name":"f","nameLocation":"81:1:0","nodeType":"FunctionDefinition","parameters":{"id":2,"nodeType":"ParameterList","parameters":[],"src":"82:2:0"},"returnParameters":{"id":3,"nodeType":"ParameterList","parameters":[],"src":"97:0:0"},"scope":6,"src":"72:27:0","stateMutability":"pure","virtual":false,"visibility":"public"}],"scope":7,"src":"59:42:0","usedErrors":[]}],"src":"36:65:0"},"id":0}}}

View File

@ -64,7 +64,8 @@
}
],
"scope": 6,
"src": "0:43:1"
"src": "0:43:1",
"usedErrors": []
}
],
"src": "0:44:1"

View File

@ -49,7 +49,8 @@
"virtual": false
}
],
"src": "0:43:1"
"src": "0:43:1",
"usedErrors": []
}
],
"src": "0:44:1"

View File

@ -562,7 +562,8 @@
}
],
"scope": 40,
"src": "0:258:1"
"src": "0:258:1",
"usedErrors": []
}
],
"src": "0:259:1"

View File

@ -370,7 +370,8 @@
"visibility": "public"
}
],
"src": "0:258:1"
"src": "0:258:1",
"usedErrors": []
}
],
"src": "0:259:1"

View File

@ -70,7 +70,8 @@
}
],
"scope": 5,
"src": "0:24:1"
"src": "0:24:1",
"usedErrors": []
}
],
"src": "0:25:1"

View File

@ -44,7 +44,8 @@
"visibility": "internal"
}
],
"src": "0:24:1"
"src": "0:24:1",
"usedErrors": []
}
],
"src": "0:25:1"

View File

@ -162,7 +162,8 @@
}
],
"scope": 7,
"src": "0:98:1"
"src": "0:98:1",
"usedErrors": []
}
],
"src": "0:99:1"

View File

@ -147,7 +147,8 @@
"visibility": "public"
}
],
"src": "0:98:1"
"src": "0:98:1",
"usedErrors": []
}
],
"src": "0:99:1"

View File

@ -87,7 +87,8 @@
}
],
"scope": 7,
"src": "0:75:1"
"src": "0:75:1",
"usedErrors": []
}
],
"src": "0:76:1"

View File

@ -72,7 +72,8 @@
"visibility": "public"
}
],
"src": "0:75:1"
"src": "0:75:1",
"usedErrors": []
}
],
"src": "0:76:1"

View File

@ -149,7 +149,8 @@
}
],
"scope": 7,
"src": "0:112:1"
"src": "0:112:1",
"usedErrors": []
}
],
"src": "0:113:1"

View File

@ -134,7 +134,8 @@
"visibility": "public"
}
],
"src": "0:112:1"
"src": "0:112:1",
"usedErrors": []
}
],
"src": "0:113:1"

View File

@ -99,7 +99,8 @@
}
],
"scope": 7,
"src": "0:90:1"
"src": "0:90:1",
"usedErrors": []
}
],
"src": "0:91:1"

View File

@ -84,7 +84,8 @@
"visibility": "public"
}
],
"src": "0:90:1"
"src": "0:90:1",
"usedErrors": []
}
],
"src": "0:91:1"

View File

@ -162,7 +162,8 @@
}
],
"scope": 7,
"src": "0:118:1"
"src": "0:118:1",
"usedErrors": []
}
],
"src": "0:119:1"

View File

@ -147,7 +147,8 @@
"visibility": "public"
}
],
"src": "0:118:1"
"src": "0:118:1",
"usedErrors": []
}
],
"src": "0:119:1"

View File

@ -148,7 +148,8 @@
}
],
"scope": 9,
"src": "0:156:1"
"src": "0:156:1",
"usedErrors": []
}
],
"src": "0:157:1"

View File

@ -134,7 +134,8 @@
"visibility": "public"
}
],
"src": "0:156:1"
"src": "0:156:1",
"usedErrors": []
}
],
"src": "0:157:1"

View File

@ -239,7 +239,8 @@
}
],
"scope": 13,
"src": "0:148:1"
"src": "0:148:1",
"usedErrors": []
}
],
"src": "0:149:1"

View File

@ -184,7 +184,8 @@
"visibility": "public"
}
],
"src": "0:148:1"
"src": "0:148:1",
"usedErrors": []
}
],
"src": "0:149:1"

View File

@ -103,7 +103,8 @@
}
],
"scope": 7,
"src": "0:82:1"
"src": "0:82:1",
"usedErrors": []
}
],
"src": "0:83:1"

View File

@ -88,7 +88,8 @@
"visibility": "public"
}
],
"src": "0:82:1"
"src": "0:82:1",
"usedErrors": []
}
],
"src": "0:83:1"

View File

@ -209,7 +209,8 @@
}
],
"scope": 7,
"src": "0:198:1"
"src": "0:198:1",
"usedErrors": []
}
],
"src": "0:199:1"

View File

@ -126,7 +126,8 @@
}
],
"scope": 7,
"src": "0:102:1"
"src": "0:102:1",
"usedErrors": []
}
],
"src": "0:103:1"

View File

@ -111,7 +111,8 @@
"visibility": "public"
}
],
"src": "0:102:1"
"src": "0:102:1",
"usedErrors": []
}
],
"src": "0:103:1"

View File

@ -180,7 +180,8 @@
"visibility": "public"
}
],
"src": "0:198:1"
"src": "0:198:1",
"usedErrors": []
}
],
"src": "0:199:1"

View File

@ -153,7 +153,8 @@
}
],
"scope": 10,
"src": "0:95:1"
"src": "0:95:1",
"usedErrors": []
}
],
"src": "0:96:1"

View File

@ -120,7 +120,8 @@
"visibility": "public"
}
],
"src": "0:95:1"
"src": "0:95:1",
"usedErrors": []
}
],
"src": "0:96:1"

View File

@ -100,7 +100,8 @@
}
],
"scope": 18,
"src": "0:35:1"
"src": "0:35:1",
"usedErrors": []
},
{
"abstract": false,
@ -207,7 +208,8 @@
}
],
"scope": 18,
"src": "36:41:1"
"src": "36:41:1",
"usedErrors": []
}
],
"src": "0:78:1"

View File

@ -72,7 +72,8 @@
"virtual": false
}
],
"src": "0:35:1"
"src": "0:35:1",
"usedErrors": []
},
{
"abstract": false,
@ -159,7 +160,8 @@
"virtual": false
}
],
"src": "36:41:1"
"src": "36:41:1",
"usedErrors": []
}
],
"src": "0:78:1"

View File

@ -64,7 +64,8 @@
}
],
"scope": 6,
"src": "0:34:1"
"src": "0:34:1",
"usedErrors": []
}
],
"src": "0:35:1"

View File

@ -49,7 +49,8 @@
"virtual": false
}
],
"src": "0:34:1"
"src": "0:34:1",
"usedErrors": []
}
],
"src": "0:35:1"

View File

@ -43,7 +43,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
"src": "0:14:1"
"src": "0:14:1",
"usedErrors": []
},
{
"abstract": false,
@ -77,7 +78,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
"src": "15:19:1"
"src": "15:19:1",
"usedErrors": []
},
{
"abstract": false,
@ -112,7 +114,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
"src": "35:19:1"
"src": "35:19:1",
"usedErrors": []
},
{
"abstract": false,
@ -148,7 +151,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
"src": "55:19:1"
"src": "55:19:1",
"usedErrors": []
},
{
"abstract": false,
@ -185,7 +189,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 14,
"src": "75:19:1"
"src": "75:19:1",
"usedErrors": []
}
],
"src": "0:95:1"

View File

@ -14,7 +14,8 @@
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "0:14:1"
"src": "0:14:1",
"usedErrors": []
},
{
"abstract": false,
@ -40,7 +41,8 @@
"nameLocation": "24:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "15:19:1"
"src": "15:19:1",
"usedErrors": []
},
{
"abstract": false,
@ -66,7 +68,8 @@
"nameLocation": "44:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "35:19:1"
"src": "35:19:1",
"usedErrors": []
},
{
"abstract": false,
@ -92,7 +95,8 @@
"nameLocation": "64:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "55:19:1"
"src": "55:19:1",
"usedErrors": []
},
{
"abstract": false,
@ -118,7 +122,8 @@
"nameLocation": "84:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "75:19:1"
"src": "75:19:1",
"usedErrors": []
}
],
"src": "0:95:1"

View File

@ -35,7 +35,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 3,
"src": "28:13:1"
"src": "28:13:1",
"usedErrors": []
}
],
"src": "28:14:1"
@ -76,7 +77,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 6,
"src": "62:13:2"
"src": "62:13:2",
"usedErrors": []
}
],
"src": "62:14:2"
@ -252,7 +254,8 @@
}
],
"scope": 24,
"src": "0:213:3"
"src": "0:213:3",
"usedErrors": []
}
],
"src": "0:214:3"

View File

@ -482,7 +482,8 @@
}
],
"scope": 42,
"src": "0:666:1"
"src": "0:666:1",
"usedErrors": []
}
],
"src": "0:667:1"

View File

@ -349,7 +349,8 @@
"visibility": "public"
}
],
"src": "0:666:1"
"src": "0:666:1",
"usedErrors": []
}
],
"src": "0:667:1"

View File

@ -367,7 +367,8 @@
}
],
"scope": 28,
"src": "0:330:1"
"src": "0:330:1",
"usedErrors": []
}
],
"src": "0:331:1"

View File

@ -252,7 +252,8 @@
"visibility": "public"
}
],
"src": "0:330:1"
"src": "0:330:1",
"usedErrors": []
}
],
"src": "0:331:1"

View File

@ -22,7 +22,8 @@
"nameLocation": "37:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "28:13:1"
"src": "28:13:1",
"usedErrors": []
}
],
"src": "28:14:1"
@ -50,7 +51,8 @@
"nameLocation": "71:1:2",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "62:13:2"
"src": "62:13:2",
"usedErrors": []
}
],
"src": "62:14:2"
@ -194,7 +196,8 @@
"visibility": "public"
}
],
"src": "0:213:3"
"src": "0:213:3",
"usedErrors": []
}
],
"src": "0:214:3"

View File

@ -377,7 +377,8 @@
}
],
"scope": 29,
"src": "0:267:1"
"src": "0:267:1",
"usedErrors": []
}
],
"src": "0:268:1"

View File

@ -255,7 +255,8 @@
"visibility": "public"
}
],
"src": "0:267:1"
"src": "0:267:1",
"usedErrors": []
}
],
"src": "0:268:1"

View File

@ -54,7 +54,8 @@
}
],
"scope": 5,
"src": "0:30:1"
"src": "0:30:1",
"usedErrors": []
}
],
"src": "0:31:1"

View File

@ -40,7 +40,8 @@
"src": "13:15:1"
}
],
"src": "0:30:1"
"src": "0:30:1",
"usedErrors": []
}
],
"src": "0:31:1"

View File

@ -44,7 +44,8 @@
}
],
"scope": 4,
"src": "0:25:1"
"src": "0:25:1",
"usedErrors": []
}
],
"src": "0:26:1"

View File

@ -31,7 +31,8 @@
"src": "13:10:1"
}
],
"src": "0:25:1"
"src": "0:25:1",
"usedErrors": []
}
],
"src": "0:26:1"

View File

@ -64,7 +64,8 @@
}
],
"scope": 6,
"src": "0:50:1"
"src": "0:50:1",
"usedErrors": []
}
],
"src": "0:51:1"

View File

@ -99,7 +99,8 @@
}
],
"scope": 10,
"src": "0:85:1"
"src": "0:85:1",
"usedErrors": []
}
],
"src": "0:86:1"

View File

@ -84,7 +84,8 @@
"visibility": "external"
}
],
"src": "0:85:1"
"src": "0:85:1",
"usedErrors": []
}
],
"src": "0:86:1"

View File

@ -50,7 +50,8 @@
"visibility": "external"
}
],
"src": "0:50:1"
"src": "0:50:1",
"usedErrors": []
}
],
"src": "0:51:1"

View File

@ -64,7 +64,8 @@
}
],
"scope": 6,
"src": "0:38:1"
"src": "0:38:1",
"usedErrors": []
}
],
"src": "0:39:1"

View File

@ -50,7 +50,8 @@
"visibility": "external"
}
],
"src": "0:38:1"
"src": "0:38:1",
"usedErrors": []
}
],
"src": "0:39:1"

View File

@ -223,7 +223,8 @@
}
],
"scope": 18,
"src": "0:124:1"
"src": "0:124:1",
"usedErrors": []
}
],
"src": "0:125:1"

View File

@ -172,7 +172,8 @@
"visibility": "public"
}
],
"src": "0:124:1"
"src": "0:124:1",
"usedErrors": []
}
],
"src": "0:125:1"

View File

@ -31,7 +31,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 5,
"src": "0:14:1"
"src": "0:14:1",
"usedErrors": []
},
{
"abstract": false,
@ -65,7 +66,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 5,
"src": "15:20:1"
"src": "15:20:1",
"usedErrors": []
}
],
"src": "0:36:1"

View File

@ -14,7 +14,8 @@
"nameLocation": "9:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "0:14:1"
"src": "0:14:1",
"usedErrors": []
},
{
"abstract": false,
@ -40,7 +41,8 @@
"nameLocation": "24:2:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "15:20:1"
"src": "15:20:1",
"usedErrors": []
}
],
"src": "0:36:1"

View File

@ -28,7 +28,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 2,
"src": "36:13:1"
"src": "36:13:1",
"usedErrors": []
}
],
"src": "36:14:1"

View File

@ -15,7 +15,8 @@
"nameLocation": "45:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "36:13:1"
"src": "36:13:1",
"usedErrors": []
}
],
"src": "36:14:1"

View File

@ -166,7 +166,8 @@
}
],
"scope": 12,
"src": "0:54:1"
"src": "0:54:1",
"usedErrors": []
}
],
"src": "0:55:1"

View File

@ -114,7 +114,8 @@
"visibility": "public"
}
],
"src": "0:54:1"
"src": "0:54:1",
"usedErrors": []
}
],
"src": "0:55:1"

View File

@ -175,7 +175,8 @@
}
],
"scope": 16,
"src": "0:70:1"
"src": "0:70:1",
"usedErrors": []
}
],
"src": "0:71:1"

View File

@ -129,7 +129,8 @@
"visibility": "public"
}
],
"src": "0:70:1"
"src": "0:70:1",
"usedErrors": []
}
],
"src": "0:71:1"

View File

@ -236,7 +236,8 @@
}
],
"scope": 20,
"src": "0:121:1"
"src": "0:121:1",
"usedErrors": []
}
],
"src": "0:122:1"

View File

@ -167,7 +167,8 @@
"visibility": "internal"
}
],
"src": "0:121:1"
"src": "0:121:1",
"usedErrors": []
}
],
"src": "0:122:1"

View File

@ -163,7 +163,8 @@
}
],
"scope": 15,
"src": "0:68:1"
"src": "0:68:1",
"usedErrors": []
}
],
"src": "0:69:1"

View File

@ -129,7 +129,8 @@
"visibility": "public"
}
],
"src": "0:68:1"
"src": "0:68:1",
"usedErrors": []
}
],
"src": "0:69:1"

View File

@ -163,7 +163,8 @@
}
],
"scope": 15,
"src": "0:68:1"
"src": "0:68:1",
"usedErrors": []
}
],
"src": "0:69:1"

View File

@ -129,7 +129,8 @@
"visibility": "public"
}
],
"src": "0:68:1"
"src": "0:68:1",
"usedErrors": []
}
],
"src": "0:69:1"

View File

@ -176,7 +176,8 @@
}
],
"scope": 11,
"src": "0:102:1"
"src": "0:102:1",
"usedErrors": []
}
],
"src": "0:103:1"

View File

@ -109,7 +109,8 @@
"visibility": "public"
}
],
"src": "0:102:1"
"src": "0:102:1",
"usedErrors": []
}
],
"src": "0:103:1"

View File

@ -126,7 +126,8 @@
}
],
"scope": 10,
"src": "0:65:1"
"src": "0:65:1",
"usedErrors": []
}
],
"src": "0:66:1"

View File

@ -94,7 +94,8 @@
"visibility": "public"
}
],
"src": "0:65:1"
"src": "0:65:1",
"usedErrors": []
}
],
"src": "0:66:1"

View File

@ -99,7 +99,8 @@
"virtual": false
}
],
"src": "41:90:1"
"src": "41:90:1",
"usedErrors": []
}
],
"src": "0:132:1"

View File

@ -73,7 +73,8 @@
}
],
"scope": 30,
"src": "0:48:1"
"src": "0:48:1",
"usedErrors": []
},
{
"abstract": true,
@ -185,7 +186,8 @@
}
],
"scope": 30,
"src": "49:103:1"
"src": "49:103:1",
"usedErrors": []
},
{
"abstract": false,
@ -316,7 +318,8 @@
}
],
"scope": 30,
"src": "153:91:1"
"src": "153:91:1",
"usedErrors": []
}
],
"src": "0:245:1"

View File

@ -50,7 +50,8 @@
"visibility": "public"
}
],
"src": "0:48:1"
"src": "0:48:1",
"usedErrors": []
},
{
"abstract": true,
@ -146,7 +147,8 @@
"visibility": "public"
}
],
"src": "49:103:1"
"src": "49:103:1",
"usedErrors": []
},
{
"abstract": false,
@ -256,7 +258,8 @@
"visibility": "public"
}
],
"src": "153:91:1"
"src": "153:91:1",
"usedErrors": []
}
],
"src": "0:245:1"

View File

@ -59,7 +59,8 @@
}
],
"scope": 6,
"src": "0:32:1"
"src": "0:32:1",
"usedErrors": []
}
],
"src": "0:33:1"

View File

@ -46,7 +46,8 @@
"visibility": "internal"
}
],
"src": "0:32:1"
"src": "0:32:1",
"usedErrors": []
}
],
"src": "0:33:1"

View File

@ -64,7 +64,8 @@
}
],
"scope": 6,
"src": "0:49:1"
"src": "0:49:1",
"usedErrors": []
}
],
"src": "0:50:1"

View File

@ -50,7 +50,8 @@
"visibility": "external"
}
],
"src": "0:49:1"
"src": "0:49:1",
"usedErrors": []
}
],
"src": "0:50:1"

View File

@ -120,7 +120,8 @@
}
],
"scope": 12,
"src": "0:55:1"
"src": "0:55:1",
"usedErrors": []
}
],
"src": "0:56:1"

View File

@ -92,7 +92,8 @@
"visibility": "public"
}
],
"src": "0:55:1"
"src": "0:55:1",
"usedErrors": []
}
],
"src": "0:56:1"

View File

@ -131,7 +131,8 @@
}
],
"scope": 13,
"src": "0:60:1"
"src": "0:60:1",
"usedErrors": []
}
],
"src": "0:61:1"

View File

@ -99,7 +99,8 @@
"visibility": "public"
}
],
"src": "0:60:1"
"src": "0:60:1",
"usedErrors": []
}
],
"src": "0:61:1"

View File

@ -27,7 +27,8 @@
"nodeType": "ContractDefinition",
"nodes": [],
"scope": 2,
"src": "0:13:1"
"src": "0:13:1",
"usedErrors": []
}
],
"src": "0:14:1"

View File

@ -14,7 +14,8 @@
"nameLocation": "9:1:1",
"nodeType": "ContractDefinition",
"nodes": [],
"src": "0:13:1"
"src": "0:13:1",
"usedErrors": []
}
],
"src": "0:14:1"

View File

@ -163,7 +163,8 @@
}
],
"scope": 13,
"src": "0:48:1"
"src": "0:48:1",
"usedErrors": []
}
],
"src": "0:49:1"

View File

@ -118,7 +118,8 @@
"visibility": "public"
}
],
"src": "0:48:1"
"src": "0:48:1",
"usedErrors": []
}
],
"src": "0:49:1"

View File

@ -127,7 +127,8 @@
}
],
"scope": 10,
"src": "0:71:1"
"src": "0:71:1",
"usedErrors": []
}
],
"src": "0:72:1"

View File

@ -95,7 +95,8 @@
"visibility": "public"
}
],
"src": "0:71:1"
"src": "0:71:1",
"usedErrors": []
}
],
"src": "0:72:1"

View File

@ -73,7 +73,8 @@
}
],
"scope": 23,
"src": "0:49:1"
"src": "0:49:1",
"usedErrors": []
},
{
"abstract": false,
@ -129,7 +130,8 @@
}
],
"scope": 23,
"src": "50:49:1"
"src": "50:49:1",
"usedErrors": []
},
{
"abstract": false,
@ -243,7 +245,8 @@
}
],
"scope": 23,
"src": "100:64:1"
"src": "100:64:1",
"usedErrors": []
}
],
"src": "0:165:1"

View File

@ -50,7 +50,8 @@
"visibility": "public"
}
],
"src": "0:49:1"
"src": "0:49:1",
"usedErrors": []
},
{
"abstract": false,
@ -98,7 +99,8 @@
"visibility": "public"
}
],
"src": "50:49:1"
"src": "50:49:1",
"usedErrors": []
},
{
"abstract": false,
@ -193,7 +195,8 @@
"visibility": "public"
}
],
"src": "100:64:1"
"src": "100:64:1",
"usedErrors": []
}
],
"src": "0:165:1"

View File

@ -127,7 +127,8 @@
}
],
"scope": 10,
"src": "0:77:1"
"src": "0:77:1",
"usedErrors": []
}
],
"src": "0:78:1"

View File

@ -95,7 +95,8 @@
"visibility": "public"
}
],
"src": "0:77:1"
"src": "0:77:1",
"usedErrors": []
}
],
"src": "0:78:1"

Some files were not shown because too many files have changed in this diff Show More