-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
593 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,192 @@ | ||
{ | ||
"cashflow_tags": { | ||
"State variables": [ { "field": "param_contr", "tag": "NoInfo" } ], | ||
"ADT constructors": [] | ||
}, | ||
"contract_info": { | ||
"scilla_major_version": "0", | ||
"vname": "Dead15", | ||
"params": [ | ||
{ | ||
"vname": "param_contr", | ||
"type": "ByStr20 with contract field param_unused : ByStr20, field param_used : ByStr20 end" | ||
} | ||
], | ||
"fields": [], | ||
"transitions": [ | ||
{ | ||
"vname": "tr1", | ||
"params": [ | ||
{ | ||
"vname": "contract_address", | ||
"type": "ByStr20 with contract field field1 : ByStr20, field field2 : Uint128, field unused_field : Map (Uint256) (ByStr20) end" | ||
} | ||
] | ||
}, | ||
{ | ||
"vname": "tr2", | ||
"params": [ | ||
{ | ||
"vname": "contract_address_unused", | ||
"type": "ByStr20 with contract field field1 : ByStr20, field field2 : Uint128 end" | ||
}, | ||
{ | ||
"vname": "contract_address", | ||
"type": "ByStr20 with contract field field3 : Uint64, field field4 : Uint64 end" | ||
} | ||
] | ||
}, | ||
{ "vname": "tr3", "params": [] } | ||
], | ||
"procedures": [ | ||
{ | ||
"vname": "do_accept", | ||
"params": [ { "vname": "a", "type": "ByStr20" } ] | ||
} | ||
], | ||
"events": [], | ||
"ADTs": [ | ||
{ | ||
"tname": "Option", | ||
"tparams": [ "'A" ], | ||
"tmap": [ | ||
{ "cname": "Some", "argtypes": [ "'A" ] }, | ||
{ "cname": "None", "argtypes": [] } | ||
] | ||
}, | ||
{ | ||
"tname": "Bool", | ||
"tparams": [], | ||
"tmap": [ | ||
{ "cname": "True", "argtypes": [] }, | ||
{ "cname": "False", "argtypes": [] } | ||
] | ||
}, | ||
{ | ||
"tname": "Nat", | ||
"tparams": [], | ||
"tmap": [ | ||
{ "cname": "Zero", "argtypes": [] }, | ||
{ "cname": "Succ", "argtypes": [ "Nat" ] } | ||
] | ||
}, | ||
{ | ||
"tname": "List", | ||
"tparams": [ "'A" ], | ||
"tmap": [ | ||
{ "cname": "Cons", "argtypes": [ "'A", "List ('A)" ] }, | ||
{ "cname": "Nil", "argtypes": [] } | ||
] | ||
}, | ||
{ | ||
"tname": "Pair", | ||
"tparams": [ "'A", "'B" ], | ||
"tmap": [ { "cname": "Pair", "argtypes": [ "'A", "'B" ] } ] | ||
} | ||
] | ||
}, | ||
"warnings": [ | ||
{ | ||
"warning_message": "Unused field in the contract address type: param_unused", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 10, | ||
"column": 5 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused field in the contract address type: field4", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 35, | ||
"column": 13 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused field in the contract address type: unused_field", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 22, | ||
"column": 11 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused transition parameter: contract_address", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 33, | ||
"column": 5 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused transition parameter: contract_address_unused", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 29, | ||
"column": 5 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused remote load statement to: a", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 37, | ||
"column": 3 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused transition parameter: contract_address", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 19, | ||
"column": 16 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused remote load statement to: a", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 23, | ||
"column": 3 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused remote load statement to: b", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 24, | ||
"column": 3 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
}, | ||
{ | ||
"warning_message": "Unused procedure parameter: a", | ||
"start_location": { | ||
"file": "contracts/dead_code_test15.scilla", | ||
"line": 15, | ||
"column": 21 | ||
}, | ||
"end_location": { "file": "", "line": 0, "column": 0 }, | ||
"warning_id": 3 | ||
} | ||
], | ||
"gas_remaining": "7999" | ||
} | ||
|
Oops, something went wrong.