@statechannels/nitro-protocol
Advanced tools
Comparing version 0.17.1-next.1db3f6890.28 to 0.17.1-next.2fe74bcaa.1572
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
@@ -49,6 +49,6 @@ { | ||
"IAdjudicator": [ | ||
4972 | ||
4962 | ||
] | ||
}, | ||
"id": 4973, | ||
"id": 4963, | ||
"license": "MIT", | ||
@@ -58,3 +58,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 4953, | ||
"id": 4943, | ||
"literals": [ | ||
@@ -69,3 +69,3 @@ "solidity", | ||
{ | ||
"id": 4954, | ||
"id": 4944, | ||
"literals": [ | ||
@@ -84,3 +84,3 @@ "experimental", | ||
"documentation": { | ||
"id": 4955, | ||
"id": 4945, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -91,5 +91,5 @@ "src": "90:126:16", | ||
"fullyImplemented": false, | ||
"id": 4972, | ||
"id": 4962, | ||
"linearizedBaseContracts": [ | ||
4972 | ||
4962 | ||
], | ||
@@ -101,3 +101,3 @@ "name": "IAdjudicator", | ||
"documentation": { | ||
"id": 4956, | ||
"id": 4946, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -108,3 +108,3 @@ "src": "246:838:16", | ||
"functionSelector": "5a04d456", | ||
"id": 4971, | ||
"id": 4961, | ||
"implemented": false, | ||
@@ -116,3 +116,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 4969, | ||
"id": 4959, | ||
"nodeType": "ParameterList", | ||
@@ -122,7 +122,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 4958, | ||
"id": 4948, | ||
"mutability": "mutable", | ||
"name": "channelId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4971, | ||
"scope": 4961, | ||
"src": "1119:17:16", | ||
@@ -136,3 +136,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4957, | ||
"id": 4947, | ||
"name": "bytes32", | ||
@@ -150,7 +150,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4960, | ||
"id": 4950, | ||
"mutability": "mutable", | ||
"name": "turnNumRecord", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4971, | ||
"scope": 4961, | ||
"src": "1146:20:16", | ||
@@ -164,3 +164,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4959, | ||
"id": 4949, | ||
"name": "uint48", | ||
@@ -178,7 +178,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4962, | ||
"id": 4952, | ||
"mutability": "mutable", | ||
"name": "finalizesAt", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4971, | ||
"scope": 4961, | ||
"src": "1176:18:16", | ||
@@ -192,3 +192,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4961, | ||
"id": 4951, | ||
"name": "uint48", | ||
@@ -206,7 +206,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4964, | ||
"id": 4954, | ||
"mutability": "mutable", | ||
"name": "stateHash", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4971, | ||
"scope": 4961, | ||
"src": "1204:17:16", | ||
@@ -220,3 +220,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4963, | ||
"id": 4953, | ||
"name": "bytes32", | ||
@@ -234,7 +234,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4966, | ||
"id": 4956, | ||
"mutability": "mutable", | ||
"name": "challengerAddress", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4971, | ||
"scope": 4961, | ||
"src": "1231:25:16", | ||
@@ -248,3 +248,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4965, | ||
"id": 4955, | ||
"name": "address", | ||
@@ -263,7 +263,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4968, | ||
"id": 4958, | ||
"mutability": "mutable", | ||
"name": "outcomeBytes", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4971, | ||
"scope": 4961, | ||
"src": "1266:27:16", | ||
@@ -277,3 +277,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4967, | ||
"id": 4957, | ||
"name": "bytes", | ||
@@ -293,3 +293,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 4970, | ||
"id": 4960, | ||
"nodeType": "ParameterList", | ||
@@ -299,3 +299,3 @@ "parameters": [], | ||
}, | ||
"scope": 4972, | ||
"scope": 4962, | ||
"src": "1089:220:16", | ||
@@ -307,3 +307,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 4973, | ||
"scope": 4963, | ||
"src": "217:1094:16" | ||
@@ -310,0 +310,0 @@ } |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
@@ -106,6 +106,6 @@ { | ||
"IAssetHolder": [ | ||
5017 | ||
5007 | ||
] | ||
}, | ||
"id": 5018, | ||
"id": 5008, | ||
"license": "MIT", | ||
@@ -115,3 +115,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 4974, | ||
"id": 4964, | ||
"literals": [ | ||
@@ -126,3 +126,3 @@ "solidity", | ||
{ | ||
"id": 4975, | ||
"id": 4965, | ||
"literals": [ | ||
@@ -141,3 +141,3 @@ "experimental", | ||
"documentation": { | ||
"id": 4976, | ||
"id": 4966, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -148,5 +148,5 @@ "src": "90:203:17", | ||
"fullyImplemented": false, | ||
"id": 5017, | ||
"id": 5007, | ||
"linearizedBaseContracts": [ | ||
5017 | ||
5007 | ||
], | ||
@@ -158,3 +158,3 @@ "name": "IAssetHolder", | ||
"documentation": { | ||
"id": 4977, | ||
"id": 4967, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -165,3 +165,3 @@ "src": "323:560:17", | ||
"functionSelector": "638a7979", | ||
"id": 4987, | ||
"id": 4977, | ||
"implemented": false, | ||
@@ -173,3 +173,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 4985, | ||
"id": 4975, | ||
"nodeType": "ParameterList", | ||
@@ -179,7 +179,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 4979, | ||
"id": 4969, | ||
"mutability": "mutable", | ||
"name": "fromChannelId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4987, | ||
"scope": 4977, | ||
"src": "915:21:17", | ||
@@ -193,3 +193,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4978, | ||
"id": 4968, | ||
"name": "bytes32", | ||
@@ -207,7 +207,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4981, | ||
"id": 4971, | ||
"mutability": "mutable", | ||
"name": "allocationBytes", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4987, | ||
"scope": 4977, | ||
"src": "946:30:17", | ||
@@ -221,3 +221,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4980, | ||
"id": 4970, | ||
"name": "bytes", | ||
@@ -235,7 +235,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4984, | ||
"id": 4974, | ||
"mutability": "mutable", | ||
"name": "indices", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4987, | ||
"scope": 4977, | ||
"src": "986:24:17", | ||
@@ -250,3 +250,3 @@ "stateVariable": false, | ||
"baseType": { | ||
"id": 4982, | ||
"id": 4972, | ||
"name": "uint256", | ||
@@ -260,3 +260,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"id": 4983, | ||
"id": 4973, | ||
"nodeType": "ArrayTypeName", | ||
@@ -275,3 +275,3 @@ "src": "986:9:17", | ||
"returnParameters": { | ||
"id": 4986, | ||
"id": 4976, | ||
"nodeType": "ParameterList", | ||
@@ -281,3 +281,3 @@ "parameters": [], | ||
}, | ||
"scope": 5017, | ||
"scope": 5007, | ||
"src": "888:138:17", | ||
@@ -290,3 +290,3 @@ "stateMutability": "nonpayable", | ||
"documentation": { | ||
"id": 4988, | ||
"id": 4978, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -297,3 +297,3 @@ "src": "1032:883:17", | ||
"functionSelector": "d991b9dd", | ||
"id": 5000, | ||
"id": 4990, | ||
"implemented": false, | ||
@@ -305,3 +305,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 4998, | ||
"id": 4988, | ||
"nodeType": "ParameterList", | ||
@@ -311,7 +311,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 4990, | ||
"id": 4980, | ||
"mutability": "mutable", | ||
"name": "guarantorChannelId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5000, | ||
"scope": 4990, | ||
"src": "1944:26:17", | ||
@@ -325,3 +325,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4989, | ||
"id": 4979, | ||
"name": "bytes32", | ||
@@ -339,7 +339,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4992, | ||
"id": 4982, | ||
"mutability": "mutable", | ||
"name": "guaranteeBytes", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5000, | ||
"scope": 4990, | ||
"src": "1980:29:17", | ||
@@ -353,3 +353,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4991, | ||
"id": 4981, | ||
"name": "bytes", | ||
@@ -367,7 +367,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4994, | ||
"id": 4984, | ||
"mutability": "mutable", | ||
"name": "allocationBytes", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5000, | ||
"scope": 4990, | ||
"src": "2019:30:17", | ||
@@ -381,3 +381,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4993, | ||
"id": 4983, | ||
"name": "bytes", | ||
@@ -395,7 +395,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4997, | ||
"id": 4987, | ||
"mutability": "mutable", | ||
"name": "indices", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5000, | ||
"scope": 4990, | ||
"src": "2059:24:17", | ||
@@ -410,3 +410,3 @@ "stateVariable": false, | ||
"baseType": { | ||
"id": 4995, | ||
"id": 4985, | ||
"name": "uint256", | ||
@@ -420,3 +420,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"id": 4996, | ||
"id": 4986, | ||
"nodeType": "ArrayTypeName", | ||
@@ -435,3 +435,3 @@ "src": "2059:9:17", | ||
"returnParameters": { | ||
"id": 4999, | ||
"id": 4989, | ||
"nodeType": "ParameterList", | ||
@@ -441,3 +441,3 @@ "parameters": [], | ||
}, | ||
"scope": 5017, | ||
"scope": 5007, | ||
"src": "1920:179:17", | ||
@@ -451,3 +451,3 @@ "stateMutability": "nonpayable", | ||
"documentation": { | ||
"id": 5001, | ||
"id": 4991, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -457,7 +457,7 @@ "src": "2105:283:17", | ||
}, | ||
"id": 5009, | ||
"id": 4999, | ||
"name": "Deposited", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 5008, | ||
"id": 4998, | ||
"nodeType": "ParameterList", | ||
@@ -467,3 +467,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 5003, | ||
"id": 4993, | ||
"indexed": true, | ||
@@ -473,3 +473,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5009, | ||
"scope": 4999, | ||
"src": "2418:27:17", | ||
@@ -483,3 +483,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5002, | ||
"id": 4992, | ||
"name": "bytes32", | ||
@@ -497,3 +497,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 5005, | ||
"id": 4995, | ||
"indexed": false, | ||
@@ -503,3 +503,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5009, | ||
"scope": 4999, | ||
"src": "2455:23:17", | ||
@@ -513,3 +513,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5004, | ||
"id": 4994, | ||
"name": "uint256", | ||
@@ -527,3 +527,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 5007, | ||
"id": 4997, | ||
"indexed": false, | ||
@@ -533,3 +533,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5009, | ||
"scope": 4999, | ||
"src": "2488:27:17", | ||
@@ -543,3 +543,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5006, | ||
"id": 4996, | ||
"name": "uint256", | ||
@@ -563,3 +563,3 @@ "nodeType": "ElementaryTypeName", | ||
"documentation": { | ||
"id": 5010, | ||
"id": 5000, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -569,7 +569,7 @@ "src": "2528:485:17", | ||
}, | ||
"id": 5016, | ||
"id": 5006, | ||
"name": "AllocationUpdated", | ||
"nodeType": "EventDefinition", | ||
"parameters": { | ||
"id": 5015, | ||
"id": 5005, | ||
"nodeType": "ParameterList", | ||
@@ -579,3 +579,3 @@ "parameters": [ | ||
"constant": false, | ||
"id": 5012, | ||
"id": 5002, | ||
"indexed": true, | ||
@@ -585,3 +585,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5016, | ||
"scope": 5006, | ||
"src": "3042:25:17", | ||
@@ -595,3 +595,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5011, | ||
"id": 5001, | ||
"name": "bytes32", | ||
@@ -609,3 +609,3 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 5014, | ||
"id": 5004, | ||
"indexed": false, | ||
@@ -615,3 +615,3 @@ "mutability": "mutable", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5016, | ||
"scope": 5006, | ||
"src": "3069:23:17", | ||
@@ -625,3 +625,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5013, | ||
"id": 5003, | ||
"name": "uint256", | ||
@@ -643,3 +643,3 @@ "nodeType": "ElementaryTypeName", | ||
], | ||
"scope": 5018, | ||
"scope": 5008, | ||
"src": "294:2802:17" | ||
@@ -646,0 +646,0 @@ } |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
@@ -69,6 +69,6 @@ { | ||
"IForceMoveApp": [ | ||
5208 | ||
5198 | ||
] | ||
}, | ||
"id": 5209, | ||
"id": 5199, | ||
"license": "MIT", | ||
@@ -78,3 +78,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 5186, | ||
"id": 5176, | ||
"literals": [ | ||
@@ -89,3 +89,3 @@ "solidity", | ||
{ | ||
"id": 5187, | ||
"id": 5177, | ||
"literals": [ | ||
@@ -104,3 +104,3 @@ "experimental", | ||
"documentation": { | ||
"id": 5188, | ||
"id": 5178, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -111,5 +111,5 @@ "src": "90:191:19", | ||
"fullyImplemented": false, | ||
"id": 5208, | ||
"id": 5198, | ||
"linearizedBaseContracts": [ | ||
5208 | ||
5198 | ||
], | ||
@@ -121,11 +121,11 @@ "name": "IForceMoveApp", | ||
"canonicalName": "IForceMoveApp.VariablePart", | ||
"id": 5193, | ||
"id": 5183, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 5190, | ||
"id": 5180, | ||
"mutability": "mutable", | ||
"name": "outcome", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5193, | ||
"scope": 5183, | ||
"src": "342:13:19", | ||
@@ -139,3 +139,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5189, | ||
"id": 5179, | ||
"name": "bytes", | ||
@@ -153,7 +153,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 5192, | ||
"id": 5182, | ||
"mutability": "mutable", | ||
"name": "appData", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5193, | ||
"scope": 5183, | ||
"src": "365:13:19", | ||
@@ -167,3 +167,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5191, | ||
"id": 5181, | ||
"name": "bytes", | ||
@@ -182,3 +182,3 @@ "nodeType": "ElementaryTypeName", | ||
"nodeType": "StructDefinition", | ||
"scope": 5208, | ||
"scope": 5198, | ||
"src": "312:73:19", | ||
@@ -189,3 +189,3 @@ "visibility": "public" | ||
"documentation": { | ||
"id": 5194, | ||
"id": 5184, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -196,3 +196,3 @@ "src": "391:528:19", | ||
"functionSelector": "fd7a2f65", | ||
"id": 5207, | ||
"id": 5197, | ||
"implemented": false, | ||
@@ -204,3 +204,3 @@ "kind": "function", | ||
"parameters": { | ||
"id": 5203, | ||
"id": 5193, | ||
"nodeType": "ParameterList", | ||
@@ -210,7 +210,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 5196, | ||
"id": 5186, | ||
"mutability": "mutable", | ||
"name": "a", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5207, | ||
"scope": 5197, | ||
"src": "958:23:19", | ||
@@ -220,13 +220,13 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_calldata_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_calldata_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
}, | ||
"typeName": { | ||
"id": 5195, | ||
"id": 5185, | ||
"name": "VariablePart", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 5193, | ||
"referencedDeclaration": 5183, | ||
"src": "958:12:19", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_storage_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_storage_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
@@ -239,7 +239,7 @@ } | ||
"constant": false, | ||
"id": 5198, | ||
"id": 5188, | ||
"mutability": "mutable", | ||
"name": "b", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5207, | ||
"scope": 5197, | ||
"src": "991:23:19", | ||
@@ -249,13 +249,13 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_calldata_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_calldata_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
}, | ||
"typeName": { | ||
"id": 5197, | ||
"id": 5187, | ||
"name": "VariablePart", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 5193, | ||
"referencedDeclaration": 5183, | ||
"src": "991:12:19", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_storage_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_storage_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
@@ -268,7 +268,7 @@ } | ||
"constant": false, | ||
"id": 5200, | ||
"id": 5190, | ||
"mutability": "mutable", | ||
"name": "turnNumB", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5207, | ||
"scope": 5197, | ||
"src": "1024:15:19", | ||
@@ -282,3 +282,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5199, | ||
"id": 5189, | ||
"name": "uint48", | ||
@@ -296,7 +296,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 5202, | ||
"id": 5192, | ||
"mutability": "mutable", | ||
"name": "nParticipants", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5207, | ||
"scope": 5197, | ||
"src": "1049:21:19", | ||
@@ -310,3 +310,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5201, | ||
"id": 5191, | ||
"name": "uint256", | ||
@@ -326,3 +326,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 5206, | ||
"id": 5196, | ||
"nodeType": "ParameterList", | ||
@@ -332,7 +332,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 5205, | ||
"id": 5195, | ||
"mutability": "mutable", | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 5207, | ||
"scope": 5197, | ||
"src": "1100:4:19", | ||
@@ -346,3 +346,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 5204, | ||
"id": 5194, | ||
"name": "bool", | ||
@@ -361,3 +361,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 5208, | ||
"scope": 5198, | ||
"src": "924:182:19", | ||
@@ -369,3 +369,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 5209, | ||
"scope": 5199, | ||
"src": "282:826:19" | ||
@@ -372,0 +372,0 @@ } |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
@@ -10,6 +10,6 @@ { | ||
"Outcome": [ | ||
4441 | ||
4431 | ||
] | ||
}, | ||
"id": 4442, | ||
"id": 4432, | ||
"license": "MIT", | ||
@@ -19,3 +19,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 4415, | ||
"id": 4405, | ||
"literals": [ | ||
@@ -30,3 +30,3 @@ "solidity", | ||
{ | ||
"id": 4416, | ||
"id": 4406, | ||
"literals": [ | ||
@@ -45,5 +45,5 @@ "experimental", | ||
"fullyImplemented": true, | ||
"id": 4441, | ||
"id": 4431, | ||
"linearizedBaseContracts": [ | ||
4441 | ||
4431 | ||
], | ||
@@ -55,11 +55,11 @@ "name": "Outcome", | ||
"canonicalName": "Outcome.OutcomeItem", | ||
"id": 4421, | ||
"id": 4411, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 4418, | ||
"id": 4408, | ||
"mutability": "mutable", | ||
"name": "assetHolderAddress", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4421, | ||
"scope": 4411, | ||
"src": "531:26:11", | ||
@@ -73,3 +73,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4417, | ||
"id": 4407, | ||
"name": "address", | ||
@@ -88,7 +88,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4420, | ||
"id": 4410, | ||
"mutability": "mutable", | ||
"name": "assetOutcomeBytes", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4421, | ||
"scope": 4411, | ||
"src": "567:23:11", | ||
@@ -102,3 +102,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4419, | ||
"id": 4409, | ||
"name": "bytes", | ||
@@ -117,3 +117,3 @@ "nodeType": "ElementaryTypeName", | ||
"nodeType": "StructDefinition", | ||
"scope": 4441, | ||
"scope": 4431, | ||
"src": "502:123:11", | ||
@@ -124,6 +124,6 @@ "visibility": "public" | ||
"canonicalName": "Outcome.AssetOutcomeType", | ||
"id": 4424, | ||
"id": 4414, | ||
"members": [ | ||
{ | ||
"id": 4422, | ||
"id": 4412, | ||
"name": "Allocation", | ||
@@ -134,3 +134,3 @@ "nodeType": "EnumValue", | ||
{ | ||
"id": 4423, | ||
"id": 4413, | ||
"name": "Guarantee", | ||
@@ -147,11 +147,11 @@ "nodeType": "EnumValue", | ||
"canonicalName": "Outcome.AssetOutcome", | ||
"id": 4429, | ||
"id": 4419, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 4426, | ||
"id": 4416, | ||
"mutability": "mutable", | ||
"name": "assetOutcomeType", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4429, | ||
"scope": 4419, | ||
"src": "712:22:11", | ||
@@ -165,3 +165,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4425, | ||
"id": 4415, | ||
"name": "uint8", | ||
@@ -179,7 +179,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4428, | ||
"id": 4418, | ||
"mutability": "mutable", | ||
"name": "allocationOrGuaranteeBytes", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4429, | ||
"scope": 4419, | ||
"src": "805:32:11", | ||
@@ -193,3 +193,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4427, | ||
"id": 4417, | ||
"name": "bytes", | ||
@@ -208,3 +208,3 @@ "nodeType": "ElementaryTypeName", | ||
"nodeType": "StructDefinition", | ||
"scope": 4441, | ||
"scope": 4431, | ||
"src": "682:245:11", | ||
@@ -215,11 +215,11 @@ "visibility": "public" | ||
"canonicalName": "Outcome.AllocationItem", | ||
"id": 4434, | ||
"id": 4424, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 4431, | ||
"id": 4421, | ||
"mutability": "mutable", | ||
"name": "destination", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4434, | ||
"scope": 4424, | ||
"src": "1020:19:11", | ||
@@ -233,3 +233,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4430, | ||
"id": 4420, | ||
"name": "bytes32", | ||
@@ -247,7 +247,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4433, | ||
"id": 4423, | ||
"mutability": "mutable", | ||
"name": "amount", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4434, | ||
"scope": 4424, | ||
"src": "1049:14:11", | ||
@@ -261,3 +261,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4432, | ||
"id": 4422, | ||
"name": "uint256", | ||
@@ -276,3 +276,3 @@ "nodeType": "ElementaryTypeName", | ||
"nodeType": "StructDefinition", | ||
"scope": 4441, | ||
"scope": 4431, | ||
"src": "988:82:11", | ||
@@ -283,11 +283,11 @@ "visibility": "public" | ||
"canonicalName": "Outcome.Guarantee", | ||
"id": 4440, | ||
"id": 4430, | ||
"members": [ | ||
{ | ||
"constant": false, | ||
"id": 4436, | ||
"id": 4426, | ||
"mutability": "mutable", | ||
"name": "targetChannelId", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4440, | ||
"scope": 4430, | ||
"src": "1103:23:11", | ||
@@ -301,3 +301,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4435, | ||
"id": 4425, | ||
"name": "bytes32", | ||
@@ -315,7 +315,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4439, | ||
"id": 4429, | ||
"mutability": "mutable", | ||
"name": "destinations", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4440, | ||
"scope": 4430, | ||
"src": "1136:22:11", | ||
@@ -330,3 +330,3 @@ "stateVariable": false, | ||
"baseType": { | ||
"id": 4437, | ||
"id": 4427, | ||
"name": "bytes32", | ||
@@ -340,3 +340,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"id": 4438, | ||
"id": 4428, | ||
"nodeType": "ArrayTypeName", | ||
@@ -354,3 +354,3 @@ "src": "1136:9:11", | ||
"nodeType": "StructDefinition", | ||
"scope": 4441, | ||
"scope": 4431, | ||
"src": "1076:89:11", | ||
@@ -360,3 +360,3 @@ "visibility": "public" | ||
], | ||
"scope": 4442, | ||
"scope": 4432, | ||
"src": "90:1077:11" | ||
@@ -363,0 +363,0 @@ } |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
@@ -307,6 +307,6 @@ { | ||
"Token": [ | ||
4464 | ||
4454 | ||
] | ||
}, | ||
"id": 4465, | ||
"id": 4455, | ||
"license": "MIT", | ||
@@ -316,3 +316,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 4443, | ||
"id": 4433, | ||
"literals": [ | ||
@@ -329,5 +329,5 @@ "solidity", | ||
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol", | ||
"id": 4444, | ||
"id": 4434, | ||
"nodeType": "ImportDirective", | ||
"scope": 4465, | ||
"scope": 4455, | ||
"sourceUnit": 726, | ||
@@ -343,3 +343,3 @@ "src": "55:55:12", | ||
"baseName": { | ||
"id": 4446, | ||
"id": 4436, | ||
"name": "ERC20", | ||
@@ -354,3 +354,3 @@ "nodeType": "UserDefinedTypeName", | ||
}, | ||
"id": 4447, | ||
"id": 4437, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -367,3 +367,3 @@ "src": "278:5:12" | ||
"documentation": { | ||
"id": 4445, | ||
"id": 4435, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -374,5 +374,5 @@ "src": "112:147:12", | ||
"fullyImplemented": true, | ||
"id": 4464, | ||
"id": 4454, | ||
"linearizedBaseContracts": [ | ||
4464, | ||
4454, | ||
725, | ||
@@ -387,3 +387,3 @@ 803, | ||
"body": { | ||
"id": 4462, | ||
"id": 4452, | ||
"nodeType": "Block", | ||
@@ -396,7 +396,7 @@ "src": "567:45:12", | ||
{ | ||
"id": 4458, | ||
"id": 4448, | ||
"name": "owner", | ||
"nodeType": "Identifier", | ||
"overloadedDeclarations": [], | ||
"referencedDeclaration": 4450, | ||
"referencedDeclaration": 4440, | ||
"src": "583:5:12", | ||
@@ -410,3 +410,3 @@ "typeDescriptions": { | ||
"hexValue": "31305f3030305f3030305f303030", | ||
"id": 4459, | ||
"id": 4449, | ||
"isConstant": false, | ||
@@ -437,3 +437,3 @@ "isLValue": false, | ||
], | ||
"id": 4457, | ||
"id": 4447, | ||
"name": "_mint", | ||
@@ -449,3 +449,3 @@ "nodeType": "Identifier", | ||
}, | ||
"id": 4460, | ||
"id": 4450, | ||
"isConstant": false, | ||
@@ -465,3 +465,3 @@ "isLValue": false, | ||
}, | ||
"id": 4461, | ||
"id": 4451, | ||
"nodeType": "ExpressionStatement", | ||
@@ -473,3 +473,3 @@ "src": "577:28:12" | ||
"documentation": { | ||
"id": 4448, | ||
"id": 4438, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -479,3 +479,3 @@ "src": "290:218:12", | ||
}, | ||
"id": 4463, | ||
"id": 4453, | ||
"implemented": true, | ||
@@ -488,3 +488,3 @@ "kind": "constructor", | ||
"hexValue": "54657374546f6b656e", | ||
"id": 4453, | ||
"id": 4443, | ||
"isConstant": false, | ||
@@ -505,3 +505,3 @@ "isLValue": false, | ||
"hexValue": "54455354", | ||
"id": 4454, | ||
"id": 4444, | ||
"isConstant": false, | ||
@@ -521,5 +521,5 @@ "isLValue": false, | ||
], | ||
"id": 4455, | ||
"id": 4445, | ||
"modifierName": { | ||
"id": 4452, | ||
"id": 4442, | ||
"name": "ERC20", | ||
@@ -542,3 +542,3 @@ "nodeType": "Identifier", | ||
"parameters": { | ||
"id": 4451, | ||
"id": 4441, | ||
"nodeType": "ParameterList", | ||
@@ -548,7 +548,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 4450, | ||
"id": 4440, | ||
"mutability": "mutable", | ||
"name": "owner", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4463, | ||
"scope": 4453, | ||
"src": "525:13:12", | ||
@@ -562,3 +562,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4449, | ||
"id": 4439, | ||
"name": "address", | ||
@@ -579,3 +579,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 4456, | ||
"id": 4446, | ||
"nodeType": "ParameterList", | ||
@@ -585,3 +585,3 @@ "parameters": [], | ||
}, | ||
"scope": 4464, | ||
"scope": 4454, | ||
"src": "513:99:12", | ||
@@ -593,3 +593,3 @@ "stateMutability": "nonpayable", | ||
], | ||
"scope": 4465, | ||
"scope": 4455, | ||
"src": "260:354:12" | ||
@@ -596,0 +596,0 @@ } |
{ | ||
"_format": "hh-sol-dbg-1", | ||
"buildInfo": "../../build-info/e91b2d0c-84c9-4771-8046-5d77d9b2b71c.json" | ||
"buildInfo": "../../build-info/b8ab5b80-3fe4-4904-8b7d-5e77a5d65502.json" | ||
} |
@@ -69,9 +69,9 @@ { | ||
"IForceMoveApp": [ | ||
5208 | ||
5198 | ||
], | ||
"TrivialApp": [ | ||
4490 | ||
4480 | ||
] | ||
}, | ||
"id": 4491, | ||
"id": 4481, | ||
"license": "MIT", | ||
@@ -81,3 +81,3 @@ "nodeType": "SourceUnit", | ||
{ | ||
"id": 4466, | ||
"id": 4456, | ||
"literals": [ | ||
@@ -92,3 +92,3 @@ "solidity", | ||
{ | ||
"id": 4467, | ||
"id": 4457, | ||
"literals": [ | ||
@@ -104,6 +104,6 @@ "experimental", | ||
"file": "./interfaces/IForceMoveApp.sol", | ||
"id": 4468, | ||
"id": 4458, | ||
"nodeType": "ImportDirective", | ||
"scope": 4491, | ||
"sourceUnit": 5209, | ||
"scope": 4481, | ||
"sourceUnit": 5199, | ||
"src": "90:40:13", | ||
@@ -118,13 +118,13 @@ "symbolAliases": [], | ||
"baseName": { | ||
"id": 4470, | ||
"id": 4460, | ||
"name": "IForceMoveApp", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 5208, | ||
"referencedDeclaration": 5198, | ||
"src": "314:13:13", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_contract$_IForceMoveApp_$5208", | ||
"typeIdentifier": "t_contract$_IForceMoveApp_$5198", | ||
"typeString": "contract IForceMoveApp" | ||
} | ||
}, | ||
"id": 4471, | ||
"id": 4461, | ||
"nodeType": "InheritanceSpecifier", | ||
@@ -135,7 +135,7 @@ "src": "314:13:13" | ||
"contractDependencies": [ | ||
5208 | ||
5198 | ||
], | ||
"contractKind": "contract", | ||
"documentation": { | ||
"id": 4469, | ||
"id": 4459, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -146,6 +146,6 @@ "src": "132:158:13", | ||
"fullyImplemented": true, | ||
"id": 4490, | ||
"id": 4480, | ||
"linearizedBaseContracts": [ | ||
4490, | ||
5208 | ||
4480, | ||
5198 | ||
], | ||
@@ -157,6 +157,6 @@ "name": "TrivialApp", | ||
"baseFunctions": [ | ||
5207 | ||
5197 | ||
], | ||
"body": { | ||
"id": 4488, | ||
"id": 4478, | ||
"nodeType": "Block", | ||
@@ -168,3 +168,3 @@ "src": "641:28:13", | ||
"hexValue": "74727565", | ||
"id": 4486, | ||
"id": 4476, | ||
"isConstant": false, | ||
@@ -183,4 +183,4 @@ "isLValue": false, | ||
}, | ||
"functionReturnParameters": 4485, | ||
"id": 4487, | ||
"functionReturnParameters": 4475, | ||
"id": 4477, | ||
"nodeType": "Return", | ||
@@ -192,3 +192,3 @@ "src": "651:11:13" | ||
"documentation": { | ||
"id": 4472, | ||
"id": 4462, | ||
"nodeType": "StructuredDocumentation", | ||
@@ -199,3 +199,3 @@ "src": "334:105:13", | ||
"functionSelector": "fd7a2f65", | ||
"id": 4489, | ||
"id": 4479, | ||
"implemented": true, | ||
@@ -207,3 +207,3 @@ "kind": "function", | ||
"overrides": { | ||
"id": 4482, | ||
"id": 4472, | ||
"nodeType": "OverrideSpecifier", | ||
@@ -214,3 +214,3 @@ "overrides": [], | ||
"parameters": { | ||
"id": 4481, | ||
"id": 4471, | ||
"nodeType": "ParameterList", | ||
@@ -220,7 +220,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 4474, | ||
"id": 4464, | ||
"mutability": "mutable", | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4489, | ||
"scope": 4479, | ||
"src": "478:19:13", | ||
@@ -230,13 +230,13 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_memory_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_memory_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
}, | ||
"typeName": { | ||
"id": 4473, | ||
"id": 4463, | ||
"name": "VariablePart", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 5193, | ||
"referencedDeclaration": 5183, | ||
"src": "478:12:13", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_storage_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_storage_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
@@ -249,7 +249,7 @@ } | ||
"constant": false, | ||
"id": 4476, | ||
"id": 4466, | ||
"mutability": "mutable", | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4489, | ||
"scope": 4479, | ||
"src": "512:19:13", | ||
@@ -259,13 +259,13 @@ "stateVariable": false, | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_memory_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_memory_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
}, | ||
"typeName": { | ||
"id": 4475, | ||
"id": 4465, | ||
"name": "VariablePart", | ||
"nodeType": "UserDefinedTypeName", | ||
"referencedDeclaration": 5193, | ||
"referencedDeclaration": 5183, | ||
"src": "512:12:13", | ||
"typeDescriptions": { | ||
"typeIdentifier": "t_struct$_VariablePart_$5193_storage_ptr", | ||
"typeIdentifier": "t_struct$_VariablePart_$5183_storage_ptr", | ||
"typeString": "struct IForceMoveApp.VariablePart" | ||
@@ -278,7 +278,7 @@ } | ||
"constant": false, | ||
"id": 4478, | ||
"id": 4468, | ||
"mutability": "mutable", | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4489, | ||
"scope": 4479, | ||
"src": "546:6:13", | ||
@@ -292,3 +292,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4477, | ||
"id": 4467, | ||
"name": "uint48", | ||
@@ -306,7 +306,7 @@ "nodeType": "ElementaryTypeName", | ||
"constant": false, | ||
"id": 4480, | ||
"id": 4470, | ||
"mutability": "mutable", | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4489, | ||
"scope": 4479, | ||
"src": "574:7:13", | ||
@@ -320,3 +320,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4479, | ||
"id": 4469, | ||
"name": "uint256", | ||
@@ -336,3 +336,3 @@ "nodeType": "ElementaryTypeName", | ||
"returnParameters": { | ||
"id": 4485, | ||
"id": 4475, | ||
"nodeType": "ParameterList", | ||
@@ -342,7 +342,7 @@ "parameters": [ | ||
"constant": false, | ||
"id": 4484, | ||
"id": 4474, | ||
"mutability": "mutable", | ||
"name": "", | ||
"nodeType": "VariableDeclaration", | ||
"scope": 4489, | ||
"scope": 4479, | ||
"src": "635:4:13", | ||
@@ -356,3 +356,3 @@ "stateVariable": false, | ||
"typeName": { | ||
"id": 4483, | ||
"id": 4473, | ||
"name": "bool", | ||
@@ -371,3 +371,3 @@ "nodeType": "ElementaryTypeName", | ||
}, | ||
"scope": 4490, | ||
"scope": 4480, | ||
"src": "444:225:13", | ||
@@ -379,3 +379,3 @@ "stateMutability": "pure", | ||
], | ||
"scope": 4491, | ||
"scope": 4481, | ||
"src": "291:380:13" | ||
@@ -382,0 +382,0 @@ } |
@@ -92,3 +92,3 @@ "use strict"; | ||
return __awaiter(void 0, void 0, void 0, function () { | ||
var destinationChannel, destination, balance, allowance, _b, _c, events, _d, amountTransferred, balanceBefore, _e, _f, tx, _g, gasUsed, events, depositedEvent, amountTransferred, allocatedAmount, balanceAfter, _h, _j; | ||
var destinationChannel, destination, balance, increaseAllowanceGasUsed, allowance, _b, _c, events, _d, amountTransferred, balanceBefore, _e, _f, tx, _g, gasUsed, events, depositedEvent, amountTransferred, allocatedAmount, balanceAfter, _h, _j; | ||
return __generator(this, function (_k) { | ||
@@ -112,37 +112,43 @@ switch (_k.label) { | ||
case 4: | ||
increaseAllowanceGasUsed = (_k.sent()).gasUsed; | ||
if (!!reasonString) return [3, 6]; | ||
return [4, test_helpers_1.writeGasConsumption('erc20-deposit.gas.md', 'Token.increaseAllowance', increaseAllowanceGasUsed)]; | ||
case 5: | ||
_k.sent(); | ||
_k.label = 6; | ||
case 6: | ||
_c = (_b = ethers_1.BigNumber).from; | ||
return [4, Token.allowance(signer0Address, ERC20AssetHolder.address)]; | ||
case 5: | ||
case 7: | ||
allowance = _c.apply(_b, [_k.sent()]); | ||
expect(allowance.sub(amount).sub(held).gte(0)).toBe(true); | ||
if (!(held > 0)) return [3, 9]; | ||
if (!(held > 0)) return [3, 11]; | ||
return [4, ERC20AssetHolder.deposit(destination, 0, held)]; | ||
case 6: return [4, (_k.sent()).wait()]; | ||
case 7: | ||
case 8: return [4, (_k.sent()).wait()]; | ||
case 9: | ||
events = (_k.sent()).events; | ||
_d = expect; | ||
return [4, ERC20AssetHolder.holdings(destination)]; | ||
case 8: | ||
case 10: | ||
_d.apply(void 0, [_k.sent()]).toEqual(held); | ||
amountTransferred = getTransferEvent(events).data; | ||
expect(held.eq(amountTransferred)).toBe(true); | ||
_k.label = 9; | ||
case 9: | ||
_k.label = 11; | ||
case 11: | ||
_f = (_e = ethers_1.BigNumber).from; | ||
return [4, Token.balanceOf(signer0Address)]; | ||
case 10: | ||
case 12: | ||
balanceBefore = _f.apply(_e, [_k.sent()]); | ||
tx = ERC20AssetHolder.deposit(destination, expectedHeld, amount); | ||
if (!reasonString) return [3, 12]; | ||
if (!reasonString) return [3, 14]; | ||
return [4, devtools_1.expectRevert(function () { return tx; }, reasonString)]; | ||
case 11: | ||
case 13: | ||
_k.sent(); | ||
return [3, 19]; | ||
case 12: return [4, tx]; | ||
case 13: return [4, (_k.sent()).wait()]; | ||
case 14: | ||
return [3, 21]; | ||
case 14: return [4, tx]; | ||
case 15: return [4, (_k.sent()).wait()]; | ||
case 16: | ||
_g = _k.sent(), gasUsed = _g.gasUsed, events = _g.events; | ||
return [4, test_helpers_1.writeGasConsumption('erc20-deposit.gas.md', description, gasUsed)]; | ||
case 15: | ||
case 17: | ||
_k.sent(); | ||
@@ -158,14 +164,14 @@ depositedEvent = getDepositedEvent(events); | ||
return [4, ERC20AssetHolder.holdings(destination)]; | ||
case 16: | ||
case 18: | ||
allocatedAmount = _k.sent(); | ||
return [4, expect(allocatedAmount).toEqual(heldAfter)]; | ||
case 17: | ||
case 19: | ||
_k.sent(); | ||
_j = (_h = ethers_1.BigNumber).from; | ||
return [4, Token.balanceOf(signer0Address)]; | ||
case 18: | ||
case 20: | ||
balanceAfter = _j.apply(_h, [_k.sent()]); | ||
expect(balanceAfter.eq(balanceBefore.sub(amountTransferred))).toBe(true); | ||
_k.label = 19; | ||
case 19: return [2]; | ||
_k.label = 21; | ||
case 21: return [2]; | ||
} | ||
@@ -172,0 +178,0 @@ }); |
{ | ||
"name": "@statechannels/nitro-protocol", | ||
"description": "A protocol for state channel networks", | ||
"version": "0.17.1-next.1db3f6890.28+1db3f6890", | ||
"version": "0.17.1-next.2fe74bcaa.1572+2fe74bcaa", | ||
"author": "statechannels", | ||
@@ -17,4 +17,4 @@ "browser": "dist/nitro-protocol.min.js", | ||
"@nomiclabs/hardhat-etherscan": "^2.1.0", | ||
"@statechannels/devtools": "0.5.7-next.1db3f6890.28+1db3f6890", | ||
"@statechannels/jest-gas-reporter": "0.4.10-next.1db3f6890.272+1db3f6890", | ||
"@statechannels/devtools": "0.5.7-next.2fe74bcaa.1572+2fe74bcaa", | ||
"@statechannels/jest-gas-reporter": "0.4.10-next.2fe74bcaa.1816+2fe74bcaa", | ||
"@types/eslint": "7.2.3", | ||
@@ -103,3 +103,3 @@ "@types/eslint-plugin-prettier": "2.2.0", | ||
"types": "lib/src/index.d.ts", | ||
"gitHead": "1db3f6890af65be242a2c41c118317a0c9355e64" | ||
"gitHead": "2fe74bcaa8c86fd56087c1454b2e0be3534f3daa" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
32388017
113011