@superfluid-finance/ethereum-contracts 1.4.1 → 1.4.2-dev.e06ddfc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +28 -28
- package/build/contracts/AgreementLibrary.json +165 -165
- package/build/contracts/BaseRelayRecipient.json +55 -55
- package/build/contracts/BatchLiquidator.json +208 -208
- package/build/contracts/BatchOperation.json +788 -788
- package/build/contracts/CFAv1Forwarder.json +1321 -1321
- package/build/contracts/CFAv1Library.json +2279 -2279
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1544 -1544
- package/build/contracts/ConstantFlowAgreementV1.json +1702 -1622
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +788 -788
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +19 -19
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +380 -380
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +1544 -1544
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +1545 -1545
- package/build/contracts/FlowOperatorDefinitions.json +788 -788
- package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +615 -615
- package/build/contracts/IDAv1Library.json +2611 -2611
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC20Permit.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +652 -652
- package/build/contracts/IMultiSigWallet.json +24 -24
- package/build/contracts/IPureSuperToken.json +47 -47
- package/build/contracts/IPureSuperTokenCustom.json +47 -47
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +52 -52
- package/build/contracts/ISETHCustom.json +52 -52
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +191 -191
- package/build/contracts/ISuperToken.json +544 -544
- package/build/contracts/ISuperTokenFactory.json +166 -166
- package/build/contracts/ISuperfluid.json +886 -886
- package/build/contracts/ISuperfluidGovernance.json +254 -254
- package/build/contracts/ISuperfluidToken.json +395 -395
- package/build/contracts/ITOGAv1.json +1441 -1441
- package/build/contracts/ITOGAv2.json +1441 -1441
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +5894 -5894
- package/build/contracts/NonClosableOutflowTestApp.json +1545 -1545
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1544 -1544
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +745 -745
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +239 -239
- package/build/contracts/SuperAppDefinitions.json +788 -788
- package/build/contracts/SuperToken.json +2477 -2477
- package/build/contracts/SuperTokenFactory.json +774 -774
- package/build/contracts/SuperTokenFactoryBase.json +764 -764
- package/build/contracts/SuperTokenFactoryHelper.json +767 -767
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +5096 -5096
- package/build/contracts/SuperfluidErrors.json +788 -788
- package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
- package/build/contracts/SuperfluidGovernanceBase.json +2459 -2459
- package/build/contracts/SuperfluidGovernanceConfigs.json +788 -788
- package/build/contracts/SuperfluidGovernanceII.json +155 -155
- package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1471 -1471
- package/build/contracts/TOGA.json +1457 -1457
- package/build/contracts/TestGovernance.json +250 -250
- package/build/contracts/TestToken.json +93 -93
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +1 -1
- package/contracts/agreements/ConstantFlowAgreementV1.sol +4 -0
- package/package.json +9 -5
|
@@ -2613,7 +2613,7 @@
|
|
|
2613
2613
|
}
|
|
2614
2614
|
]
|
|
2615
2615
|
},
|
|
2616
|
-
"name": "abi_encode_tuple_t_contract$_ISuperToken_$
|
|
2616
|
+
"name": "abi_encode_tuple_t_contract$_ISuperToken_$19940_t_address_t_address_t_bytes_memory_ptr__to_t_address_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed",
|
|
2617
2617
|
"nodeType": "YulFunctionDefinition",
|
|
2618
2618
|
"parameters": [
|
|
2619
2619
|
{
|
|
@@ -2930,7 +2930,7 @@
|
|
|
2930
2930
|
}
|
|
2931
2931
|
]
|
|
2932
2932
|
},
|
|
2933
|
-
"name": "abi_encode_tuple_t_contract$_ISuperAgreement_$
|
|
2933
|
+
"name": "abi_encode_tuple_t_contract$_ISuperAgreement_$19438_t_bytes_memory_ptr_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr_t_bytes_memory_ptr__fromStack_reversed",
|
|
2934
2934
|
"nodeType": "YulFunctionDefinition",
|
|
2935
2935
|
"parameters": [
|
|
2936
2936
|
{
|
|
@@ -4130,7 +4130,7 @@
|
|
|
4130
4130
|
}
|
|
4131
4131
|
]
|
|
4132
4132
|
},
|
|
4133
|
-
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_array_address_dyn_calldata(offset, end) -> arrayPos, length\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n arrayPos := add(offset, 0x20)\n if gt(add(add(offset, shl(5, length)), 0x20), end) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_addresst_addresst_array$_t_address_$dyn_calldata_ptrt_array$_t_address_$dyn_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6\n {\n if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := abi_decode_address(add(headStart, 64))\n let offset := calldataload(add(headStart, 96))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let value3_1, value4_1 := abi_decode_array_address_dyn_calldata(add(headStart, offset), dataEnd)\n value3 := value3_1\n value4 := value4_1\n let offset_1 := calldataload(add(headStart, 128))\n if gt(offset_1, _1) { revert(0, 0) }\n let value5_1, value6_1 := abi_decode_array_address_dyn_calldata(add(headStart, offset_1), dataEnd)\n value5 := value5_1\n value6 := value6_1\n }\n function abi_encode_tuple_t_stringliteral_cceabd61df13abe750744cf2401db57dfde347bfa5f63d331229c25d94123013__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 22)\n mstore(add(headStart, 64), \"arrays different sizes\")\n tail := add(headStart, 96)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function copy_memory_to_memory_with_cleanup(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n function abi_encode_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), not(31))), 0x20)\n }\n function abi_encode_tuple_t_contract$_ISuperToken_$
|
|
4133
|
+
"contents": "{\n { }\n function abi_decode_address(offset) -> value\n {\n value := calldataload(offset)\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_array_address_dyn_calldata(offset, end) -> arrayPos, length\n {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n arrayPos := add(offset, 0x20)\n if gt(add(add(offset, shl(5, length)), 0x20), end) { revert(0, 0) }\n }\n function abi_decode_tuple_t_addresst_addresst_addresst_array$_t_address_$dyn_calldata_ptrt_array$_t_address_$dyn_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4, value5, value6\n {\n if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n value1 := abi_decode_address(add(headStart, 32))\n value2 := abi_decode_address(add(headStart, 64))\n let offset := calldataload(add(headStart, 96))\n let _1 := 0xffffffffffffffff\n if gt(offset, _1) { revert(0, 0) }\n let value3_1, value4_1 := abi_decode_array_address_dyn_calldata(add(headStart, offset), dataEnd)\n value3 := value3_1\n value4 := value4_1\n let offset_1 := calldataload(add(headStart, 128))\n if gt(offset_1, _1) { revert(0, 0) }\n let value5_1, value6_1 := abi_decode_array_address_dyn_calldata(add(headStart, offset_1), dataEnd)\n value5 := value5_1\n value6 := value6_1\n }\n function abi_encode_tuple_t_stringliteral_cceabd61df13abe750744cf2401db57dfde347bfa5f63d331229c25d94123013__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 22)\n mstore(add(headStart, 64), \"arrays different sizes\")\n tail := add(headStart, 96)\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := abi_decode_address(headStart)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function copy_memory_to_memory_with_cleanup(src, dst, length)\n {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n mstore(add(dst, length), 0)\n }\n function abi_encode_bytes(value, pos) -> end\n {\n let length := mload(value)\n mstore(pos, length)\n copy_memory_to_memory_with_cleanup(add(value, 0x20), add(pos, 0x20), length)\n end := add(add(pos, and(add(length, 31), not(31))), 0x20)\n }\n function abi_encode_tuple_t_contract$_ISuperToken_$19940_t_address_t_address_t_bytes_memory_ptr__to_t_address_t_address_t_address_t_bytes_memory_ptr__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n let _1 := sub(shl(160, 1), 1)\n mstore(headStart, and(value0, _1))\n mstore(add(headStart, 32), and(value1, _1))\n mstore(add(headStart, 64), and(value2, _1))\n mstore(add(headStart, 96), 128)\n tail := abi_encode_bytes(value3, add(headStart, 128))\n }\n function abi_encode_tuple_t_contract$_ISuperAgreement_$19438_t_bytes_memory_ptr_t_bytes_memory_ptr__to_t_address_t_bytes_memory_ptr_t_bytes_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n mstore(add(headStart, 32), 96)\n let tail_1 := abi_encode_bytes(value1, add(headStart, 96))\n mstore(add(headStart, 64), sub(tail_1, headStart))\n tail := abi_encode_bytes(value2, tail_1)\n }\n function abi_encode_tuple_packed_t_bytes_memory_ptr__to_t_bytes_memory_ptr__nonPadded_inplace_fromStack_reversed(pos, value0) -> end\n {\n let length := mload(value0)\n copy_memory_to_memory_with_cleanup(add(value0, 0x20), pos, length)\n end := add(pos, length)\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0))\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n ret := add(value, 1)\n }\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n }\n function abi_decode_tuple_t_uint256_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n value0 := mload(headStart)\n }\n function abi_encode_tuple_t_address_t_address_t_uint256__to_t_address_t_address_t_uint256__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n tail := add(headStart, 96)\n let _1 := sub(shl(160, 1), 1)\n mstore(headStart, and(value0, _1))\n mstore(add(headStart, 32), and(value1, _1))\n mstore(add(headStart, 64), value2)\n }\n function abi_decode_tuple_t_bool_fromMemory(headStart, dataEnd) -> value0\n {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n let value := mload(headStart)\n if iszero(eq(value, iszero(iszero(value)))) { revert(0, 0) }\n value0 := value\n }\n}",
|
|
4134
4134
|
"id": 106,
|
|
4135
4135
|
"language": "Yul",
|
|
4136
4136
|
"name": "#utility.yul"
|
|
@@ -4144,30 +4144,30 @@
|
|
|
4144
4144
|
"absolutePath": "project:/contracts/utils/BatchLiquidator.sol",
|
|
4145
4145
|
"exportedSymbols": {
|
|
4146
4146
|
"BatchLiquidator": [
|
|
4147
|
-
|
|
4147
|
+
37731
|
|
4148
4148
|
],
|
|
4149
4149
|
"ERC20": [
|
|
4150
4150
|
1552
|
|
4151
4151
|
],
|
|
4152
4152
|
"IConstantFlowAgreementV1": [
|
|
4153
|
-
|
|
4153
|
+
18408
|
|
4154
4154
|
],
|
|
4155
4155
|
"ISuperAgreement": [
|
|
4156
|
-
|
|
4156
|
+
19438
|
|
4157
4157
|
],
|
|
4158
4158
|
"ISuperToken": [
|
|
4159
|
-
|
|
4159
|
+
19940
|
|
4160
4160
|
],
|
|
4161
4161
|
"ISuperfluid": [
|
|
4162
|
-
|
|
4162
|
+
20542
|
|
4163
4163
|
]
|
|
4164
4164
|
},
|
|
4165
|
-
"id":
|
|
4165
|
+
"id": 37732,
|
|
4166
4166
|
"license": "AGPLv3",
|
|
4167
4167
|
"nodeType": "SourceUnit",
|
|
4168
4168
|
"nodes": [
|
|
4169
4169
|
{
|
|
4170
|
-
"id":
|
|
4170
|
+
"id": 37602,
|
|
4171
4171
|
"literals": [
|
|
4172
4172
|
"solidity",
|
|
4173
4173
|
"0.8",
|
|
@@ -4179,20 +4179,20 @@
|
|
|
4179
4179
|
{
|
|
4180
4180
|
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluid.sol",
|
|
4181
4181
|
"file": "../interfaces/superfluid/ISuperfluid.sol",
|
|
4182
|
-
"id":
|
|
4182
|
+
"id": 37606,
|
|
4183
4183
|
"nameLocation": "-1:-1:-1",
|
|
4184
4184
|
"nodeType": "ImportDirective",
|
|
4185
|
-
"scope":
|
|
4186
|
-
"sourceUnit":
|
|
4185
|
+
"scope": 37732,
|
|
4186
|
+
"sourceUnit": 20543,
|
|
4187
4187
|
"src": "60:101:96",
|
|
4188
4188
|
"symbolAliases": [
|
|
4189
4189
|
{
|
|
4190
4190
|
"foreign": {
|
|
4191
|
-
"id":
|
|
4191
|
+
"id": 37603,
|
|
4192
4192
|
"name": "ISuperfluid",
|
|
4193
4193
|
"nodeType": "Identifier",
|
|
4194
4194
|
"overloadedDeclarations": [],
|
|
4195
|
-
"referencedDeclaration":
|
|
4195
|
+
"referencedDeclaration": 20542,
|
|
4196
4196
|
"src": "69:11:96",
|
|
4197
4197
|
"typeDescriptions": {}
|
|
4198
4198
|
},
|
|
@@ -4200,11 +4200,11 @@
|
|
|
4200
4200
|
},
|
|
4201
4201
|
{
|
|
4202
4202
|
"foreign": {
|
|
4203
|
-
"id":
|
|
4203
|
+
"id": 37604,
|
|
4204
4204
|
"name": "ISuperAgreement",
|
|
4205
4205
|
"nodeType": "Identifier",
|
|
4206
4206
|
"overloadedDeclarations": [],
|
|
4207
|
-
"referencedDeclaration":
|
|
4207
|
+
"referencedDeclaration": 19438,
|
|
4208
4208
|
"src": "82:15:96",
|
|
4209
4209
|
"typeDescriptions": {}
|
|
4210
4210
|
},
|
|
@@ -4212,11 +4212,11 @@
|
|
|
4212
4212
|
},
|
|
4213
4213
|
{
|
|
4214
4214
|
"foreign": {
|
|
4215
|
-
"id":
|
|
4215
|
+
"id": 37605,
|
|
4216
4216
|
"name": "ISuperToken",
|
|
4217
4217
|
"nodeType": "Identifier",
|
|
4218
4218
|
"overloadedDeclarations": [],
|
|
4219
|
-
"referencedDeclaration":
|
|
4219
|
+
"referencedDeclaration": 19940,
|
|
4220
4220
|
"src": "99:11:96",
|
|
4221
4221
|
"typeDescriptions": {}
|
|
4222
4222
|
},
|
|
@@ -4228,20 +4228,20 @@
|
|
|
4228
4228
|
{
|
|
4229
4229
|
"absolutePath": "project:/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol",
|
|
4230
4230
|
"file": "../interfaces/agreements/IConstantFlowAgreementV1.sol",
|
|
4231
|
-
"id":
|
|
4231
|
+
"id": 37608,
|
|
4232
4232
|
"nameLocation": "-1:-1:-1",
|
|
4233
4233
|
"nodeType": "ImportDirective",
|
|
4234
|
-
"scope":
|
|
4235
|
-
"sourceUnit":
|
|
4234
|
+
"scope": 37732,
|
|
4235
|
+
"sourceUnit": 18409,
|
|
4236
4236
|
"src": "162:97:96",
|
|
4237
4237
|
"symbolAliases": [
|
|
4238
4238
|
{
|
|
4239
4239
|
"foreign": {
|
|
4240
|
-
"id":
|
|
4240
|
+
"id": 37607,
|
|
4241
4241
|
"name": "IConstantFlowAgreementV1",
|
|
4242
4242
|
"nodeType": "Identifier",
|
|
4243
4243
|
"overloadedDeclarations": [],
|
|
4244
|
-
"referencedDeclaration":
|
|
4244
|
+
"referencedDeclaration": 18408,
|
|
4245
4245
|
"src": "171:24:96",
|
|
4246
4246
|
"typeDescriptions": {}
|
|
4247
4247
|
},
|
|
@@ -4253,16 +4253,16 @@
|
|
|
4253
4253
|
{
|
|
4254
4254
|
"absolutePath": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
|
4255
4255
|
"file": "@openzeppelin/contracts/token/ERC20/ERC20.sol",
|
|
4256
|
-
"id":
|
|
4256
|
+
"id": 37610,
|
|
4257
4257
|
"nameLocation": "-1:-1:-1",
|
|
4258
4258
|
"nodeType": "ImportDirective",
|
|
4259
|
-
"scope":
|
|
4259
|
+
"scope": 37732,
|
|
4260
4260
|
"sourceUnit": 1553,
|
|
4261
4261
|
"src": "260:70:96",
|
|
4262
4262
|
"symbolAliases": [
|
|
4263
4263
|
{
|
|
4264
4264
|
"foreign": {
|
|
4265
|
-
"id":
|
|
4265
|
+
"id": 37609,
|
|
4266
4266
|
"name": "ERC20",
|
|
4267
4267
|
"nodeType": "Identifier",
|
|
4268
4268
|
"overloadedDeclarations": [],
|
|
@@ -4282,15 +4282,15 @@
|
|
|
4282
4282
|
"contractDependencies": [],
|
|
4283
4283
|
"contractKind": "contract",
|
|
4284
4284
|
"documentation": {
|
|
4285
|
-
"id":
|
|
4285
|
+
"id": 37611,
|
|
4286
4286
|
"nodeType": "StructuredDocumentation",
|
|
4287
4287
|
"src": "332:65:96",
|
|
4288
4288
|
"text": " @title Batch liquidator contract\n @author Superfluid"
|
|
4289
4289
|
},
|
|
4290
4290
|
"fullyImplemented": true,
|
|
4291
|
-
"id":
|
|
4291
|
+
"id": 37731,
|
|
4292
4292
|
"linearizedBaseContracts": [
|
|
4293
|
-
|
|
4293
|
+
37731
|
|
4294
4294
|
],
|
|
4295
4295
|
"name": "BatchLiquidator",
|
|
4296
4296
|
"nameLocation": "407:15:96",
|
|
@@ -4298,7 +4298,7 @@
|
|
|
4298
4298
|
"nodes": [
|
|
4299
4299
|
{
|
|
4300
4300
|
"body": {
|
|
4301
|
-
"id":
|
|
4301
|
+
"id": 37729,
|
|
4302
4302
|
"nodeType": "Block",
|
|
4303
4303
|
"src": "912:1445:96",
|
|
4304
4304
|
"statements": [
|
|
@@ -4310,25 +4310,25 @@
|
|
|
4310
4310
|
"typeIdentifier": "t_uint256",
|
|
4311
4311
|
"typeString": "uint256"
|
|
4312
4312
|
},
|
|
4313
|
-
"id":
|
|
4313
|
+
"id": 37632,
|
|
4314
4314
|
"isConstant": false,
|
|
4315
4315
|
"isLValue": false,
|
|
4316
4316
|
"isPure": false,
|
|
4317
4317
|
"lValueRequested": false,
|
|
4318
4318
|
"leftExpression": {
|
|
4319
4319
|
"expression": {
|
|
4320
|
-
"id":
|
|
4320
|
+
"id": 37628,
|
|
4321
4321
|
"name": "senders",
|
|
4322
4322
|
"nodeType": "Identifier",
|
|
4323
4323
|
"overloadedDeclarations": [],
|
|
4324
|
-
"referencedDeclaration":
|
|
4324
|
+
"referencedDeclaration": 37621,
|
|
4325
4325
|
"src": "930:7:96",
|
|
4326
4326
|
"typeDescriptions": {
|
|
4327
4327
|
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
|
|
4328
4328
|
"typeString": "address[] calldata"
|
|
4329
4329
|
}
|
|
4330
4330
|
},
|
|
4331
|
-
"id":
|
|
4331
|
+
"id": 37629,
|
|
4332
4332
|
"isConstant": false,
|
|
4333
4333
|
"isLValue": false,
|
|
4334
4334
|
"isPure": false,
|
|
@@ -4346,18 +4346,18 @@
|
|
|
4346
4346
|
"operator": "==",
|
|
4347
4347
|
"rightExpression": {
|
|
4348
4348
|
"expression": {
|
|
4349
|
-
"id":
|
|
4349
|
+
"id": 37630,
|
|
4350
4350
|
"name": "receivers",
|
|
4351
4351
|
"nodeType": "Identifier",
|
|
4352
4352
|
"overloadedDeclarations": [],
|
|
4353
|
-
"referencedDeclaration":
|
|
4353
|
+
"referencedDeclaration": 37624,
|
|
4354
4354
|
"src": "948:9:96",
|
|
4355
4355
|
"typeDescriptions": {
|
|
4356
4356
|
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
|
|
4357
4357
|
"typeString": "address[] calldata"
|
|
4358
4358
|
}
|
|
4359
4359
|
},
|
|
4360
|
-
"id":
|
|
4360
|
+
"id": 37631,
|
|
4361
4361
|
"isConstant": false,
|
|
4362
4362
|
"isLValue": false,
|
|
4363
4363
|
"isPure": false,
|
|
@@ -4379,7 +4379,7 @@
|
|
|
4379
4379
|
},
|
|
4380
4380
|
{
|
|
4381
4381
|
"hexValue": "61727261797320646966666572656e742073697a6573",
|
|
4382
|
-
"id":
|
|
4382
|
+
"id": 37633,
|
|
4383
4383
|
"isConstant": false,
|
|
4384
4384
|
"isLValue": false,
|
|
4385
4385
|
"isPure": true,
|
|
@@ -4405,7 +4405,7 @@
|
|
|
4405
4405
|
"typeString": "literal_string \"arrays different sizes\""
|
|
4406
4406
|
}
|
|
4407
4407
|
],
|
|
4408
|
-
"id":
|
|
4408
|
+
"id": 37627,
|
|
4409
4409
|
"name": "require",
|
|
4410
4410
|
"nodeType": "Identifier",
|
|
4411
4411
|
"overloadedDeclarations": [
|
|
@@ -4419,7 +4419,7 @@
|
|
|
4419
4419
|
"typeString": "function (bool,string memory) pure"
|
|
4420
4420
|
}
|
|
4421
4421
|
},
|
|
4422
|
-
"id":
|
|
4422
|
+
"id": 37634,
|
|
4423
4423
|
"isConstant": false,
|
|
4424
4424
|
"isLValue": false,
|
|
4425
4425
|
"isPure": false,
|
|
@@ -4435,29 +4435,29 @@
|
|
|
4435
4435
|
"typeString": "tuple()"
|
|
4436
4436
|
}
|
|
4437
4437
|
},
|
|
4438
|
-
"id":
|
|
4438
|
+
"id": 37635,
|
|
4439
4439
|
"nodeType": "ExpressionStatement",
|
|
4440
4440
|
"src": "922:69:96"
|
|
4441
4441
|
},
|
|
4442
4442
|
{
|
|
4443
4443
|
"body": {
|
|
4444
|
-
"id":
|
|
4444
|
+
"id": 37696,
|
|
4445
4445
|
"nodeType": "Block",
|
|
4446
4446
|
"src": "1044:917:96",
|
|
4447
4447
|
"statements": [
|
|
4448
4448
|
{
|
|
4449
4449
|
"assignments": [
|
|
4450
|
-
|
|
4450
|
+
37648
|
|
4451
4451
|
],
|
|
4452
4452
|
"declarations": [
|
|
4453
4453
|
{
|
|
4454
4454
|
"constant": false,
|
|
4455
|
-
"id":
|
|
4455
|
+
"id": 37648,
|
|
4456
4456
|
"mutability": "mutable",
|
|
4457
4457
|
"name": "success",
|
|
4458
4458
|
"nameLocation": "1063:7:96",
|
|
4459
4459
|
"nodeType": "VariableDeclaration",
|
|
4460
|
-
"scope":
|
|
4460
|
+
"scope": 37696,
|
|
4461
4461
|
"src": "1058:12:96",
|
|
4462
4462
|
"stateVariable": false,
|
|
4463
4463
|
"storageLocation": "default",
|
|
@@ -4466,7 +4466,7 @@
|
|
|
4466
4466
|
"typeString": "bool"
|
|
4467
4467
|
},
|
|
4468
4468
|
"typeName": {
|
|
4469
|
-
"id":
|
|
4469
|
+
"id": 37647,
|
|
4470
4470
|
"name": "bool",
|
|
4471
4471
|
"nodeType": "ElementaryTypeName",
|
|
4472
4472
|
"src": "1058:4:96",
|
|
@@ -4478,13 +4478,13 @@
|
|
|
4478
4478
|
"visibility": "internal"
|
|
4479
4479
|
}
|
|
4480
4480
|
],
|
|
4481
|
-
"id":
|
|
4481
|
+
"id": 37649,
|
|
4482
4482
|
"nodeType": "VariableDeclarationStatement",
|
|
4483
4483
|
"src": "1058:12:96"
|
|
4484
4484
|
},
|
|
4485
4485
|
{
|
|
4486
4486
|
"expression": {
|
|
4487
|
-
"id":
|
|
4487
|
+
"id": 37694,
|
|
4488
4488
|
"isConstant": false,
|
|
4489
4489
|
"isLValue": false,
|
|
4490
4490
|
"isPure": false,
|
|
@@ -4492,11 +4492,11 @@
|
|
|
4492
4492
|
"leftHandSide": {
|
|
4493
4493
|
"components": [
|
|
4494
4494
|
{
|
|
4495
|
-
"id":
|
|
4495
|
+
"id": 37650,
|
|
4496
4496
|
"name": "success",
|
|
4497
4497
|
"nodeType": "Identifier",
|
|
4498
4498
|
"overloadedDeclarations": [],
|
|
4499
|
-
"referencedDeclaration":
|
|
4499
|
+
"referencedDeclaration": 37648,
|
|
4500
4500
|
"src": "1285:7:96",
|
|
4501
4501
|
"typeDescriptions": {
|
|
4502
4502
|
"typeIdentifier": "t_bool",
|
|
@@ -4505,7 +4505,7 @@
|
|
|
4505
4505
|
},
|
|
4506
4506
|
null
|
|
4507
4507
|
],
|
|
4508
|
-
"id":
|
|
4508
|
+
"id": 37651,
|
|
4509
4509
|
"isConstant": false,
|
|
4510
4510
|
"isInlineArray": false,
|
|
4511
4511
|
"isLValue": true,
|
|
@@ -4528,11 +4528,11 @@
|
|
|
4528
4528
|
"expression": {
|
|
4529
4529
|
"arguments": [
|
|
4530
4530
|
{
|
|
4531
|
-
"id":
|
|
4531
|
+
"id": 37660,
|
|
4532
4532
|
"name": "host",
|
|
4533
4533
|
"nodeType": "Identifier",
|
|
4534
4534
|
"overloadedDeclarations": [],
|
|
4535
|
-
"referencedDeclaration":
|
|
4535
|
+
"referencedDeclaration": 37614,
|
|
4536
4536
|
"src": "1382:4:96",
|
|
4537
4537
|
"typeDescriptions": {
|
|
4538
4538
|
"typeIdentifier": "t_address",
|
|
@@ -4547,18 +4547,18 @@
|
|
|
4547
4547
|
"typeString": "address"
|
|
4548
4548
|
}
|
|
4549
4549
|
],
|
|
4550
|
-
"id":
|
|
4550
|
+
"id": 37659,
|
|
4551
4551
|
"name": "ISuperfluid",
|
|
4552
4552
|
"nodeType": "Identifier",
|
|
4553
4553
|
"overloadedDeclarations": [],
|
|
4554
|
-
"referencedDeclaration":
|
|
4554
|
+
"referencedDeclaration": 20542,
|
|
4555
4555
|
"src": "1370:11:96",
|
|
4556
4556
|
"typeDescriptions": {
|
|
4557
|
-
"typeIdentifier": "t_type$_t_contract$_ISuperfluid_$
|
|
4557
|
+
"typeIdentifier": "t_type$_t_contract$_ISuperfluid_$20542_$",
|
|
4558
4558
|
"typeString": "type(contract ISuperfluid)"
|
|
4559
4559
|
}
|
|
4560
4560
|
},
|
|
4561
|
-
"id":
|
|
4561
|
+
"id": 37661,
|
|
4562
4562
|
"isConstant": false,
|
|
4563
4563
|
"isLValue": false,
|
|
4564
4564
|
"isPure": false,
|
|
@@ -4570,11 +4570,11 @@
|
|
|
4570
4570
|
"src": "1370:17:96",
|
|
4571
4571
|
"tryCall": false,
|
|
4572
4572
|
"typeDescriptions": {
|
|
4573
|
-
"typeIdentifier": "t_contract$_ISuperfluid_$
|
|
4573
|
+
"typeIdentifier": "t_contract$_ISuperfluid_$20542",
|
|
4574
4574
|
"typeString": "contract ISuperfluid"
|
|
4575
4575
|
}
|
|
4576
4576
|
},
|
|
4577
|
-
"id":
|
|
4577
|
+
"id": 37662,
|
|
4578
4578
|
"isConstant": false,
|
|
4579
4579
|
"isLValue": false,
|
|
4580
4580
|
"isPure": false,
|
|
@@ -4582,10 +4582,10 @@
|
|
|
4582
4582
|
"memberLocation": "1388:13:96",
|
|
4583
4583
|
"memberName": "callAgreement",
|
|
4584
4584
|
"nodeType": "MemberAccess",
|
|
4585
|
-
"referencedDeclaration":
|
|
4585
|
+
"referencedDeclaration": 20440,
|
|
4586
4586
|
"src": "1370:31:96",
|
|
4587
4587
|
"typeDescriptions": {
|
|
4588
|
-
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperAgreement_$
|
|
4588
|
+
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperAgreement_$19438_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
|
4589
4589
|
"typeString": "function (contract ISuperAgreement,bytes memory,bytes memory) external returns (bytes memory)"
|
|
4590
4590
|
}
|
|
4591
4591
|
},
|
|
@@ -4594,11 +4594,11 @@
|
|
|
4594
4594
|
{
|
|
4595
4595
|
"arguments": [
|
|
4596
4596
|
{
|
|
4597
|
-
"id":
|
|
4597
|
+
"id": 37664,
|
|
4598
4598
|
"name": "cfa",
|
|
4599
4599
|
"nodeType": "Identifier",
|
|
4600
4600
|
"overloadedDeclarations": [],
|
|
4601
|
-
"referencedDeclaration":
|
|
4601
|
+
"referencedDeclaration": 37616,
|
|
4602
4602
|
"src": "1465:3:96",
|
|
4603
4603
|
"typeDescriptions": {
|
|
4604
4604
|
"typeIdentifier": "t_address",
|
|
@@ -4613,18 +4613,18 @@
|
|
|
4613
4613
|
"typeString": "address"
|
|
4614
4614
|
}
|
|
4615
4615
|
],
|
|
4616
|
-
"id":
|
|
4616
|
+
"id": 37663,
|
|
4617
4617
|
"name": "ISuperAgreement",
|
|
4618
4618
|
"nodeType": "Identifier",
|
|
4619
4619
|
"overloadedDeclarations": [],
|
|
4620
|
-
"referencedDeclaration":
|
|
4620
|
+
"referencedDeclaration": 19438,
|
|
4621
4621
|
"src": "1449:15:96",
|
|
4622
4622
|
"typeDescriptions": {
|
|
4623
|
-
"typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$
|
|
4623
|
+
"typeIdentifier": "t_type$_t_contract$_ISuperAgreement_$19438_$",
|
|
4624
4624
|
"typeString": "type(contract ISuperAgreement)"
|
|
4625
4625
|
}
|
|
4626
4626
|
},
|
|
4627
|
-
"id":
|
|
4627
|
+
"id": 37665,
|
|
4628
4628
|
"isConstant": false,
|
|
4629
4629
|
"isLValue": false,
|
|
4630
4630
|
"isPure": false,
|
|
@@ -4636,7 +4636,7 @@
|
|
|
4636
4636
|
"src": "1449:20:96",
|
|
4637
4637
|
"tryCall": false,
|
|
4638
4638
|
"typeDescriptions": {
|
|
4639
|
-
"typeIdentifier": "t_contract$_ISuperAgreement_$
|
|
4639
|
+
"typeIdentifier": "t_contract$_ISuperAgreement_$19438",
|
|
4640
4640
|
"typeString": "contract ISuperAgreement"
|
|
4641
4641
|
}
|
|
4642
4642
|
},
|
|
@@ -4646,11 +4646,11 @@
|
|
|
4646
4646
|
"expression": {
|
|
4647
4647
|
"arguments": [
|
|
4648
4648
|
{
|
|
4649
|
-
"id":
|
|
4649
|
+
"id": 37669,
|
|
4650
4650
|
"name": "cfa",
|
|
4651
4651
|
"nodeType": "Identifier",
|
|
4652
4652
|
"overloadedDeclarations": [],
|
|
4653
|
-
"referencedDeclaration":
|
|
4653
|
+
"referencedDeclaration": 37616,
|
|
4654
4654
|
"src": "1564:3:96",
|
|
4655
4655
|
"typeDescriptions": {
|
|
4656
4656
|
"typeIdentifier": "t_address",
|
|
@@ -4665,18 +4665,18 @@
|
|
|
4665
4665
|
"typeString": "address"
|
|
4666
4666
|
}
|
|
4667
4667
|
],
|
|
4668
|
-
"id":
|
|
4668
|
+
"id": 37668,
|
|
4669
4669
|
"name": "IConstantFlowAgreementV1",
|
|
4670
4670
|
"nodeType": "Identifier",
|
|
4671
4671
|
"overloadedDeclarations": [],
|
|
4672
|
-
"referencedDeclaration":
|
|
4672
|
+
"referencedDeclaration": 18408,
|
|
4673
4673
|
"src": "1539:24:96",
|
|
4674
4674
|
"typeDescriptions": {
|
|
4675
|
-
"typeIdentifier": "t_type$_t_contract$_IConstantFlowAgreementV1_$
|
|
4675
|
+
"typeIdentifier": "t_type$_t_contract$_IConstantFlowAgreementV1_$18408_$",
|
|
4676
4676
|
"typeString": "type(contract IConstantFlowAgreementV1)"
|
|
4677
4677
|
}
|
|
4678
4678
|
},
|
|
4679
|
-
"id":
|
|
4679
|
+
"id": 37670,
|
|
4680
4680
|
"isConstant": false,
|
|
4681
4681
|
"isLValue": false,
|
|
4682
4682
|
"isPure": false,
|
|
@@ -4688,11 +4688,11 @@
|
|
|
4688
4688
|
"src": "1539:29:96",
|
|
4689
4689
|
"tryCall": false,
|
|
4690
4690
|
"typeDescriptions": {
|
|
4691
|
-
"typeIdentifier": "t_contract$_IConstantFlowAgreementV1_$
|
|
4691
|
+
"typeIdentifier": "t_contract$_IConstantFlowAgreementV1_$18408",
|
|
4692
4692
|
"typeString": "contract IConstantFlowAgreementV1"
|
|
4693
4693
|
}
|
|
4694
4694
|
},
|
|
4695
|
-
"id":
|
|
4695
|
+
"id": 37671,
|
|
4696
4696
|
"isConstant": false,
|
|
4697
4697
|
"isLValue": false,
|
|
4698
4698
|
"isPure": false,
|
|
@@ -4700,10 +4700,10 @@
|
|
|
4700
4700
|
"memberLocation": "1569:10:96",
|
|
4701
4701
|
"memberName": "deleteFlow",
|
|
4702
4702
|
"nodeType": "MemberAccess",
|
|
4703
|
-
"referencedDeclaration":
|
|
4703
|
+
"referencedDeclaration": 18353,
|
|
4704
4704
|
"src": "1539:40:96",
|
|
4705
4705
|
"typeDescriptions": {
|
|
4706
|
-
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperfluidToken_$
|
|
4706
|
+
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperfluidToken_$20947_$_t_address_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
|
4707
4707
|
"typeString": "function (contract ISuperfluidToken,address,address,bytes memory) external returns (bytes memory)"
|
|
4708
4708
|
}
|
|
4709
4709
|
},
|
|
@@ -4712,11 +4712,11 @@
|
|
|
4712
4712
|
{
|
|
4713
4713
|
"arguments": [
|
|
4714
4714
|
{
|
|
4715
|
-
"id":
|
|
4715
|
+
"id": 37673,
|
|
4716
4716
|
"name": "superToken",
|
|
4717
4717
|
"nodeType": "Identifier",
|
|
4718
4718
|
"overloadedDeclarations": [],
|
|
4719
|
-
"referencedDeclaration":
|
|
4719
|
+
"referencedDeclaration": 37618,
|
|
4720
4720
|
"src": "1655:10:96",
|
|
4721
4721
|
"typeDescriptions": {
|
|
4722
4722
|
"typeIdentifier": "t_address",
|
|
@@ -4731,18 +4731,18 @@
|
|
|
4731
4731
|
"typeString": "address"
|
|
4732
4732
|
}
|
|
4733
4733
|
],
|
|
4734
|
-
"id":
|
|
4734
|
+
"id": 37672,
|
|
4735
4735
|
"name": "ISuperToken",
|
|
4736
4736
|
"nodeType": "Identifier",
|
|
4737
4737
|
"overloadedDeclarations": [],
|
|
4738
|
-
"referencedDeclaration":
|
|
4738
|
+
"referencedDeclaration": 19940,
|
|
4739
4739
|
"src": "1643:11:96",
|
|
4740
4740
|
"typeDescriptions": {
|
|
4741
|
-
"typeIdentifier": "t_type$_t_contract$_ISuperToken_$
|
|
4741
|
+
"typeIdentifier": "t_type$_t_contract$_ISuperToken_$19940_$",
|
|
4742
4742
|
"typeString": "type(contract ISuperToken)"
|
|
4743
4743
|
}
|
|
4744
4744
|
},
|
|
4745
|
-
"id":
|
|
4745
|
+
"id": 37674,
|
|
4746
4746
|
"isConstant": false,
|
|
4747
4747
|
"isLValue": false,
|
|
4748
4748
|
"isPure": false,
|
|
@@ -4754,30 +4754,30 @@
|
|
|
4754
4754
|
"src": "1643:23:96",
|
|
4755
4755
|
"tryCall": false,
|
|
4756
4756
|
"typeDescriptions": {
|
|
4757
|
-
"typeIdentifier": "t_contract$_ISuperToken_$
|
|
4757
|
+
"typeIdentifier": "t_contract$_ISuperToken_$19940",
|
|
4758
4758
|
"typeString": "contract ISuperToken"
|
|
4759
4759
|
}
|
|
4760
4760
|
},
|
|
4761
4761
|
{
|
|
4762
4762
|
"baseExpression": {
|
|
4763
|
-
"id":
|
|
4763
|
+
"id": 37675,
|
|
4764
4764
|
"name": "senders",
|
|
4765
4765
|
"nodeType": "Identifier",
|
|
4766
4766
|
"overloadedDeclarations": [],
|
|
4767
|
-
"referencedDeclaration":
|
|
4767
|
+
"referencedDeclaration": 37621,
|
|
4768
4768
|
"src": "1700:7:96",
|
|
4769
4769
|
"typeDescriptions": {
|
|
4770
4770
|
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
|
|
4771
4771
|
"typeString": "address[] calldata"
|
|
4772
4772
|
}
|
|
4773
4773
|
},
|
|
4774
|
-
"id":
|
|
4774
|
+
"id": 37677,
|
|
4775
4775
|
"indexExpression": {
|
|
4776
|
-
"id":
|
|
4776
|
+
"id": 37676,
|
|
4777
4777
|
"name": "i",
|
|
4778
4778
|
"nodeType": "Identifier",
|
|
4779
4779
|
"overloadedDeclarations": [],
|
|
4780
|
-
"referencedDeclaration":
|
|
4780
|
+
"referencedDeclaration": 37637,
|
|
4781
4781
|
"src": "1708:1:96",
|
|
4782
4782
|
"typeDescriptions": {
|
|
4783
4783
|
"typeIdentifier": "t_uint256",
|
|
@@ -4797,24 +4797,24 @@
|
|
|
4797
4797
|
},
|
|
4798
4798
|
{
|
|
4799
4799
|
"baseExpression": {
|
|
4800
|
-
"id":
|
|
4800
|
+
"id": 37678,
|
|
4801
4801
|
"name": "receivers",
|
|
4802
4802
|
"nodeType": "Identifier",
|
|
4803
4803
|
"overloadedDeclarations": [],
|
|
4804
|
-
"referencedDeclaration":
|
|
4804
|
+
"referencedDeclaration": 37624,
|
|
4805
4805
|
"src": "1744:9:96",
|
|
4806
4806
|
"typeDescriptions": {
|
|
4807
4807
|
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
|
|
4808
4808
|
"typeString": "address[] calldata"
|
|
4809
4809
|
}
|
|
4810
4810
|
},
|
|
4811
|
-
"id":
|
|
4811
|
+
"id": 37680,
|
|
4812
4812
|
"indexExpression": {
|
|
4813
|
-
"id":
|
|
4813
|
+
"id": 37679,
|
|
4814
4814
|
"name": "i",
|
|
4815
4815
|
"nodeType": "Identifier",
|
|
4816
4816
|
"overloadedDeclarations": [],
|
|
4817
|
-
"referencedDeclaration":
|
|
4817
|
+
"referencedDeclaration": 37637,
|
|
4818
4818
|
"src": "1754:1:96",
|
|
4819
4819
|
"typeDescriptions": {
|
|
4820
4820
|
"typeIdentifier": "t_uint256",
|
|
@@ -4836,7 +4836,7 @@
|
|
|
4836
4836
|
"arguments": [
|
|
4837
4837
|
{
|
|
4838
4838
|
"hexValue": "30",
|
|
4839
|
-
"id":
|
|
4839
|
+
"id": 37683,
|
|
4840
4840
|
"isConstant": false,
|
|
4841
4841
|
"isLValue": false,
|
|
4842
4842
|
"isPure": true,
|
|
@@ -4858,7 +4858,7 @@
|
|
|
4858
4858
|
"typeString": "int_const 0"
|
|
4859
4859
|
}
|
|
4860
4860
|
],
|
|
4861
|
-
"id":
|
|
4861
|
+
"id": 37682,
|
|
4862
4862
|
"isConstant": false,
|
|
4863
4863
|
"isLValue": false,
|
|
4864
4864
|
"isPure": true,
|
|
@@ -4870,7 +4870,7 @@
|
|
|
4870
4870
|
"typeString": "function (uint256) pure returns (bytes memory)"
|
|
4871
4871
|
},
|
|
4872
4872
|
"typeName": {
|
|
4873
|
-
"id":
|
|
4873
|
+
"id": 37681,
|
|
4874
4874
|
"name": "bytes",
|
|
4875
4875
|
"nodeType": "ElementaryTypeName",
|
|
4876
4876
|
"src": "1794:5:96",
|
|
@@ -4880,7 +4880,7 @@
|
|
|
4880
4880
|
}
|
|
4881
4881
|
}
|
|
4882
4882
|
},
|
|
4883
|
-
"id":
|
|
4883
|
+
"id": 37684,
|
|
4884
4884
|
"isConstant": false,
|
|
4885
4885
|
"isLValue": false,
|
|
4886
4886
|
"isPure": true,
|
|
@@ -4897,7 +4897,7 @@
|
|
|
4897
4897
|
}
|
|
4898
4898
|
}
|
|
4899
4899
|
],
|
|
4900
|
-
"id":
|
|
4900
|
+
"id": 37685,
|
|
4901
4901
|
"isConstant": false,
|
|
4902
4902
|
"isInlineArray": false,
|
|
4903
4903
|
"isLValue": false,
|
|
@@ -4906,7 +4906,7 @@
|
|
|
4906
4906
|
"nodeType": "TupleExpression",
|
|
4907
4907
|
"src": "1609:223:96",
|
|
4908
4908
|
"typeDescriptions": {
|
|
4909
|
-
"typeIdentifier": "t_tuple$_t_contract$_ISuperToken_$
|
|
4909
|
+
"typeIdentifier": "t_tuple$_t_contract$_ISuperToken_$19940_$_t_address_$_t_address_$_t_bytes_memory_ptr_$",
|
|
4910
4910
|
"typeString": "tuple(contract ISuperToken,address,address,bytes memory)"
|
|
4911
4911
|
}
|
|
4912
4912
|
}
|
|
@@ -4914,16 +4914,16 @@
|
|
|
4914
4914
|
"expression": {
|
|
4915
4915
|
"argumentTypes": [
|
|
4916
4916
|
{
|
|
4917
|
-
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperfluidToken_$
|
|
4917
|
+
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperfluidToken_$20947_$_t_address_$_t_address_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
|
4918
4918
|
"typeString": "function (contract ISuperfluidToken,address,address,bytes memory) external returns (bytes memory)"
|
|
4919
4919
|
},
|
|
4920
4920
|
{
|
|
4921
|
-
"typeIdentifier": "t_tuple$_t_contract$_ISuperToken_$
|
|
4921
|
+
"typeIdentifier": "t_tuple$_t_contract$_ISuperToken_$19940_$_t_address_$_t_address_$_t_bytes_memory_ptr_$",
|
|
4922
4922
|
"typeString": "tuple(contract ISuperToken,address,address,bytes memory)"
|
|
4923
4923
|
}
|
|
4924
4924
|
],
|
|
4925
4925
|
"expression": {
|
|
4926
|
-
"id":
|
|
4926
|
+
"id": 37666,
|
|
4927
4927
|
"name": "abi",
|
|
4928
4928
|
"nodeType": "Identifier",
|
|
4929
4929
|
"overloadedDeclarations": [],
|
|
@@ -4934,7 +4934,7 @@
|
|
|
4934
4934
|
"typeString": "abi"
|
|
4935
4935
|
}
|
|
4936
4936
|
},
|
|
4937
|
-
"id":
|
|
4937
|
+
"id": 37667,
|
|
4938
4938
|
"isConstant": false,
|
|
4939
4939
|
"isLValue": false,
|
|
4940
4940
|
"isPure": true,
|
|
@@ -4948,7 +4948,7 @@
|
|
|
4948
4948
|
"typeString": "function () pure returns (bytes memory)"
|
|
4949
4949
|
}
|
|
4950
4950
|
},
|
|
4951
|
-
"id":
|
|
4951
|
+
"id": 37686,
|
|
4952
4952
|
"isConstant": false,
|
|
4953
4953
|
"isLValue": false,
|
|
4954
4954
|
"isPure": false,
|
|
@@ -4968,7 +4968,7 @@
|
|
|
4968
4968
|
"arguments": [
|
|
4969
4969
|
{
|
|
4970
4970
|
"hexValue": "30",
|
|
4971
|
-
"id":
|
|
4971
|
+
"id": 37689,
|
|
4972
4972
|
"isConstant": false,
|
|
4973
4973
|
"isLValue": false,
|
|
4974
4974
|
"isPure": true,
|
|
@@ -4990,7 +4990,7 @@
|
|
|
4990
4990
|
"typeString": "int_const 0"
|
|
4991
4991
|
}
|
|
4992
4992
|
],
|
|
4993
|
-
"id":
|
|
4993
|
+
"id": 37688,
|
|
4994
4994
|
"isConstant": false,
|
|
4995
4995
|
"isLValue": false,
|
|
4996
4996
|
"isPure": true,
|
|
@@ -5002,7 +5002,7 @@
|
|
|
5002
5002
|
"typeString": "function (uint256) pure returns (bytes memory)"
|
|
5003
5003
|
},
|
|
5004
5004
|
"typeName": {
|
|
5005
|
-
"id":
|
|
5005
|
+
"id": 37687,
|
|
5006
5006
|
"name": "bytes",
|
|
5007
5007
|
"nodeType": "ElementaryTypeName",
|
|
5008
5008
|
"src": "1888:5:96",
|
|
@@ -5012,7 +5012,7 @@
|
|
|
5012
5012
|
}
|
|
5013
5013
|
}
|
|
5014
5014
|
},
|
|
5015
|
-
"id":
|
|
5015
|
+
"id": 37690,
|
|
5016
5016
|
"isConstant": false,
|
|
5017
5017
|
"isLValue": false,
|
|
5018
5018
|
"isPure": true,
|
|
@@ -5029,7 +5029,7 @@
|
|
|
5029
5029
|
}
|
|
5030
5030
|
}
|
|
5031
5031
|
],
|
|
5032
|
-
"id":
|
|
5032
|
+
"id": 37691,
|
|
5033
5033
|
"isConstant": false,
|
|
5034
5034
|
"isInlineArray": false,
|
|
5035
5035
|
"isLValue": false,
|
|
@@ -5038,7 +5038,7 @@
|
|
|
5038
5038
|
"nodeType": "TupleExpression",
|
|
5039
5039
|
"src": "1423:495:96",
|
|
5040
5040
|
"typeDescriptions": {
|
|
5041
|
-
"typeIdentifier": "t_tuple$_t_contract$_ISuperAgreement_$
|
|
5041
|
+
"typeIdentifier": "t_tuple$_t_contract$_ISuperAgreement_$19438_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$",
|
|
5042
5042
|
"typeString": "tuple(contract ISuperAgreement,bytes memory,bytes memory)"
|
|
5043
5043
|
}
|
|
5044
5044
|
}
|
|
@@ -5046,16 +5046,16 @@
|
|
|
5046
5046
|
"expression": {
|
|
5047
5047
|
"argumentTypes": [
|
|
5048
5048
|
{
|
|
5049
|
-
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperAgreement_$
|
|
5049
|
+
"typeIdentifier": "t_function_external_nonpayable$_t_contract$_ISuperAgreement_$19438_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$returns$_t_bytes_memory_ptr_$",
|
|
5050
5050
|
"typeString": "function (contract ISuperAgreement,bytes memory,bytes memory) external returns (bytes memory)"
|
|
5051
5051
|
},
|
|
5052
5052
|
{
|
|
5053
|
-
"typeIdentifier": "t_tuple$_t_contract$_ISuperAgreement_$
|
|
5053
|
+
"typeIdentifier": "t_tuple$_t_contract$_ISuperAgreement_$19438_$_t_bytes_memory_ptr_$_t_bytes_memory_ptr_$",
|
|
5054
5054
|
"typeString": "tuple(contract ISuperAgreement,bytes memory,bytes memory)"
|
|
5055
5055
|
}
|
|
5056
5056
|
],
|
|
5057
5057
|
"expression": {
|
|
5058
|
-
"id":
|
|
5058
|
+
"id": 37657,
|
|
5059
5059
|
"name": "abi",
|
|
5060
5060
|
"nodeType": "Identifier",
|
|
5061
5061
|
"overloadedDeclarations": [],
|
|
@@ -5066,7 +5066,7 @@
|
|
|
5066
5066
|
"typeString": "abi"
|
|
5067
5067
|
}
|
|
5068
5068
|
},
|
|
5069
|
-
"id":
|
|
5069
|
+
"id": 37658,
|
|
5070
5070
|
"isConstant": false,
|
|
5071
5071
|
"isLValue": false,
|
|
5072
5072
|
"isPure": true,
|
|
@@ -5080,7 +5080,7 @@
|
|
|
5080
5080
|
"typeString": "function () pure returns (bytes memory)"
|
|
5081
5081
|
}
|
|
5082
5082
|
},
|
|
5083
|
-
"id":
|
|
5083
|
+
"id": 37692,
|
|
5084
5084
|
"isConstant": false,
|
|
5085
5085
|
"isLValue": false,
|
|
5086
5086
|
"isPure": false,
|
|
@@ -5107,11 +5107,11 @@
|
|
|
5107
5107
|
"expression": {
|
|
5108
5108
|
"arguments": [
|
|
5109
5109
|
{
|
|
5110
|
-
"id":
|
|
5110
|
+
"id": 37654,
|
|
5111
5111
|
"name": "host",
|
|
5112
5112
|
"nodeType": "Identifier",
|
|
5113
5113
|
"overloadedDeclarations": [],
|
|
5114
|
-
"referencedDeclaration":
|
|
5114
|
+
"referencedDeclaration": 37614,
|
|
5115
5115
|
"src": "1306:4:96",
|
|
5116
5116
|
"typeDescriptions": {
|
|
5117
5117
|
"typeIdentifier": "t_address",
|
|
@@ -5126,7 +5126,7 @@
|
|
|
5126
5126
|
"typeString": "address"
|
|
5127
5127
|
}
|
|
5128
5128
|
],
|
|
5129
|
-
"id":
|
|
5129
|
+
"id": 37653,
|
|
5130
5130
|
"isConstant": false,
|
|
5131
5131
|
"isLValue": false,
|
|
5132
5132
|
"isPure": true,
|
|
@@ -5138,14 +5138,14 @@
|
|
|
5138
5138
|
"typeString": "type(address)"
|
|
5139
5139
|
},
|
|
5140
5140
|
"typeName": {
|
|
5141
|
-
"id":
|
|
5141
|
+
"id": 37652,
|
|
5142
5142
|
"name": "address",
|
|
5143
5143
|
"nodeType": "ElementaryTypeName",
|
|
5144
5144
|
"src": "1298:7:96",
|
|
5145
5145
|
"typeDescriptions": {}
|
|
5146
5146
|
}
|
|
5147
5147
|
},
|
|
5148
|
-
"id":
|
|
5148
|
+
"id": 37655,
|
|
5149
5149
|
"isConstant": false,
|
|
5150
5150
|
"isLValue": false,
|
|
5151
5151
|
"isPure": false,
|
|
@@ -5161,7 +5161,7 @@
|
|
|
5161
5161
|
"typeString": "address"
|
|
5162
5162
|
}
|
|
5163
5163
|
},
|
|
5164
|
-
"id":
|
|
5164
|
+
"id": 37656,
|
|
5165
5165
|
"isConstant": false,
|
|
5166
5166
|
"isLValue": false,
|
|
5167
5167
|
"isPure": false,
|
|
@@ -5175,7 +5175,7 @@
|
|
|
5175
5175
|
"typeString": "function (bytes memory) payable returns (bool,bytes memory)"
|
|
5176
5176
|
}
|
|
5177
5177
|
},
|
|
5178
|
-
"id":
|
|
5178
|
+
"id": 37693,
|
|
5179
5179
|
"isConstant": false,
|
|
5180
5180
|
"isLValue": false,
|
|
5181
5181
|
"isPure": false,
|
|
@@ -5197,7 +5197,7 @@
|
|
|
5197
5197
|
"typeString": "tuple()"
|
|
5198
5198
|
}
|
|
5199
5199
|
},
|
|
5200
|
-
"id":
|
|
5200
|
+
"id": 37695,
|
|
5201
5201
|
"nodeType": "ExpressionStatement",
|
|
5202
5202
|
"src": "1284:666:96"
|
|
5203
5203
|
}
|
|
@@ -5208,17 +5208,17 @@
|
|
|
5208
5208
|
"typeIdentifier": "t_uint256",
|
|
5209
5209
|
"typeString": "uint256"
|
|
5210
5210
|
},
|
|
5211
|
-
"id":
|
|
5211
|
+
"id": 37643,
|
|
5212
5212
|
"isConstant": false,
|
|
5213
5213
|
"isLValue": false,
|
|
5214
5214
|
"isPure": false,
|
|
5215
5215
|
"lValueRequested": false,
|
|
5216
5216
|
"leftExpression": {
|
|
5217
|
-
"id":
|
|
5217
|
+
"id": 37640,
|
|
5218
5218
|
"name": "i",
|
|
5219
5219
|
"nodeType": "Identifier",
|
|
5220
5220
|
"overloadedDeclarations": [],
|
|
5221
|
-
"referencedDeclaration":
|
|
5221
|
+
"referencedDeclaration": 37637,
|
|
5222
5222
|
"src": "1019:1:96",
|
|
5223
5223
|
"typeDescriptions": {
|
|
5224
5224
|
"typeIdentifier": "t_uint256",
|
|
@@ -5229,18 +5229,18 @@
|
|
|
5229
5229
|
"operator": "<",
|
|
5230
5230
|
"rightExpression": {
|
|
5231
5231
|
"expression": {
|
|
5232
|
-
"id":
|
|
5232
|
+
"id": 37641,
|
|
5233
5233
|
"name": "senders",
|
|
5234
5234
|
"nodeType": "Identifier",
|
|
5235
5235
|
"overloadedDeclarations": [],
|
|
5236
|
-
"referencedDeclaration":
|
|
5236
|
+
"referencedDeclaration": 37621,
|
|
5237
5237
|
"src": "1023:7:96",
|
|
5238
5238
|
"typeDescriptions": {
|
|
5239
5239
|
"typeIdentifier": "t_array$_t_address_$dyn_calldata_ptr",
|
|
5240
5240
|
"typeString": "address[] calldata"
|
|
5241
5241
|
}
|
|
5242
5242
|
},
|
|
5243
|
-
"id":
|
|
5243
|
+
"id": 37642,
|
|
5244
5244
|
"isConstant": false,
|
|
5245
5245
|
"isLValue": false,
|
|
5246
5246
|
"isPure": false,
|
|
@@ -5260,20 +5260,20 @@
|
|
|
5260
5260
|
"typeString": "bool"
|
|
5261
5261
|
}
|
|
5262
5262
|
},
|
|
5263
|
-
"id":
|
|
5263
|
+
"id": 37697,
|
|
5264
5264
|
"initializationExpression": {
|
|
5265
5265
|
"assignments": [
|
|
5266
|
-
|
|
5266
|
+
37637
|
|
5267
5267
|
],
|
|
5268
5268
|
"declarations": [
|
|
5269
5269
|
{
|
|
5270
5270
|
"constant": false,
|
|
5271
|
-
"id":
|
|
5271
|
+
"id": 37637,
|
|
5272
5272
|
"mutability": "mutable",
|
|
5273
5273
|
"name": "i",
|
|
5274
5274
|
"nameLocation": "1012:1:96",
|
|
5275
5275
|
"nodeType": "VariableDeclaration",
|
|
5276
|
-
"scope":
|
|
5276
|
+
"scope": 37697,
|
|
5277
5277
|
"src": "1007:6:96",
|
|
5278
5278
|
"stateVariable": false,
|
|
5279
5279
|
"storageLocation": "default",
|
|
@@ -5282,7 +5282,7 @@
|
|
|
5282
5282
|
"typeString": "uint256"
|
|
5283
5283
|
},
|
|
5284
5284
|
"typeName": {
|
|
5285
|
-
"id":
|
|
5285
|
+
"id": 37636,
|
|
5286
5286
|
"name": "uint",
|
|
5287
5287
|
"nodeType": "ElementaryTypeName",
|
|
5288
5288
|
"src": "1007:4:96",
|
|
@@ -5294,10 +5294,10 @@
|
|
|
5294
5294
|
"visibility": "internal"
|
|
5295
5295
|
}
|
|
5296
5296
|
],
|
|
5297
|
-
"id":
|
|
5297
|
+
"id": 37639,
|
|
5298
5298
|
"initialValue": {
|
|
5299
5299
|
"hexValue": "30",
|
|
5300
|
-
"id":
|
|
5300
|
+
"id": 37638,
|
|
5301
5301
|
"isConstant": false,
|
|
5302
5302
|
"isLValue": false,
|
|
5303
5303
|
"isPure": true,
|
|
@@ -5316,7 +5316,7 @@
|
|
|
5316
5316
|
},
|
|
5317
5317
|
"loopExpression": {
|
|
5318
5318
|
"expression": {
|
|
5319
|
-
"id":
|
|
5319
|
+
"id": 37645,
|
|
5320
5320
|
"isConstant": false,
|
|
5321
5321
|
"isLValue": false,
|
|
5322
5322
|
"isPure": false,
|
|
@@ -5326,11 +5326,11 @@
|
|
|
5326
5326
|
"prefix": true,
|
|
5327
5327
|
"src": "1039:3:96",
|
|
5328
5328
|
"subExpression": {
|
|
5329
|
-
"id":
|
|
5329
|
+
"id": 37644,
|
|
5330
5330
|
"name": "i",
|
|
5331
5331
|
"nodeType": "Identifier",
|
|
5332
5332
|
"overloadedDeclarations": [],
|
|
5333
|
-
"referencedDeclaration":
|
|
5333
|
+
"referencedDeclaration": 37637,
|
|
5334
5334
|
"src": "1041:1:96",
|
|
5335
5335
|
"typeDescriptions": {
|
|
5336
5336
|
"typeIdentifier": "t_uint256",
|
|
@@ -5342,7 +5342,7 @@
|
|
|
5342
5342
|
"typeString": "uint256"
|
|
5343
5343
|
}
|
|
5344
5344
|
},
|
|
5345
|
-
"id":
|
|
5345
|
+
"id": 37646,
|
|
5346
5346
|
"nodeType": "ExpressionStatement",
|
|
5347
5347
|
"src": "1039:3:96"
|
|
5348
5348
|
},
|
|
@@ -5350,23 +5350,23 @@
|
|
|
5350
5350
|
"src": "1002:959:96"
|
|
5351
5351
|
},
|
|
5352
5352
|
{
|
|
5353
|
-
"id":
|
|
5353
|
+
"id": 37728,
|
|
5354
5354
|
"nodeType": "Block",
|
|
5355
5355
|
"src": "2137:214:96",
|
|
5356
5356
|
"statements": [
|
|
5357
5357
|
{
|
|
5358
5358
|
"assignments": [
|
|
5359
|
-
|
|
5359
|
+
37699
|
|
5360
5360
|
],
|
|
5361
5361
|
"declarations": [
|
|
5362
5362
|
{
|
|
5363
5363
|
"constant": false,
|
|
5364
|
-
"id":
|
|
5364
|
+
"id": 37699,
|
|
5365
5365
|
"mutability": "mutable",
|
|
5366
5366
|
"name": "balance",
|
|
5367
5367
|
"nameLocation": "2159:7:96",
|
|
5368
5368
|
"nodeType": "VariableDeclaration",
|
|
5369
|
-
"scope":
|
|
5369
|
+
"scope": 37728,
|
|
5370
5370
|
"src": "2151:15:96",
|
|
5371
5371
|
"stateVariable": false,
|
|
5372
5372
|
"storageLocation": "default",
|
|
@@ -5375,7 +5375,7 @@
|
|
|
5375
5375
|
"typeString": "uint256"
|
|
5376
5376
|
},
|
|
5377
5377
|
"typeName": {
|
|
5378
|
-
"id":
|
|
5378
|
+
"id": 37698,
|
|
5379
5379
|
"name": "uint256",
|
|
5380
5380
|
"nodeType": "ElementaryTypeName",
|
|
5381
5381
|
"src": "2151:7:96",
|
|
@@ -5387,20 +5387,20 @@
|
|
|
5387
5387
|
"visibility": "internal"
|
|
5388
5388
|
}
|
|
5389
5389
|
],
|
|
5390
|
-
"id":
|
|
5390
|
+
"id": 37709,
|
|
5391
5391
|
"initialValue": {
|
|
5392
5392
|
"arguments": [
|
|
5393
5393
|
{
|
|
5394
5394
|
"arguments": [
|
|
5395
5395
|
{
|
|
5396
|
-
"id":
|
|
5396
|
+
"id": 37706,
|
|
5397
5397
|
"name": "this",
|
|
5398
5398
|
"nodeType": "Identifier",
|
|
5399
5399
|
"overloadedDeclarations": [],
|
|
5400
5400
|
"referencedDeclaration": 4294967268,
|
|
5401
5401
|
"src": "2205:4:96",
|
|
5402
5402
|
"typeDescriptions": {
|
|
5403
|
-
"typeIdentifier": "t_contract$_BatchLiquidator_$
|
|
5403
|
+
"typeIdentifier": "t_contract$_BatchLiquidator_$37731",
|
|
5404
5404
|
"typeString": "contract BatchLiquidator"
|
|
5405
5405
|
}
|
|
5406
5406
|
}
|
|
@@ -5408,11 +5408,11 @@
|
|
|
5408
5408
|
"expression": {
|
|
5409
5409
|
"argumentTypes": [
|
|
5410
5410
|
{
|
|
5411
|
-
"typeIdentifier": "t_contract$_BatchLiquidator_$
|
|
5411
|
+
"typeIdentifier": "t_contract$_BatchLiquidator_$37731",
|
|
5412
5412
|
"typeString": "contract BatchLiquidator"
|
|
5413
5413
|
}
|
|
5414
5414
|
],
|
|
5415
|
-
"id":
|
|
5415
|
+
"id": 37705,
|
|
5416
5416
|
"isConstant": false,
|
|
5417
5417
|
"isLValue": false,
|
|
5418
5418
|
"isPure": true,
|
|
@@ -5424,14 +5424,14 @@
|
|
|
5424
5424
|
"typeString": "type(address)"
|
|
5425
5425
|
},
|
|
5426
5426
|
"typeName": {
|
|
5427
|
-
"id":
|
|
5427
|
+
"id": 37704,
|
|
5428
5428
|
"name": "address",
|
|
5429
5429
|
"nodeType": "ElementaryTypeName",
|
|
5430
5430
|
"src": "2197:7:96",
|
|
5431
5431
|
"typeDescriptions": {}
|
|
5432
5432
|
}
|
|
5433
5433
|
},
|
|
5434
|
-
"id":
|
|
5434
|
+
"id": 37707,
|
|
5435
5435
|
"isConstant": false,
|
|
5436
5436
|
"isLValue": false,
|
|
5437
5437
|
"isPure": false,
|
|
@@ -5458,11 +5458,11 @@
|
|
|
5458
5458
|
"expression": {
|
|
5459
5459
|
"arguments": [
|
|
5460
5460
|
{
|
|
5461
|
-
"id":
|
|
5461
|
+
"id": 37701,
|
|
5462
5462
|
"name": "superToken",
|
|
5463
5463
|
"nodeType": "Identifier",
|
|
5464
5464
|
"overloadedDeclarations": [],
|
|
5465
|
-
"referencedDeclaration":
|
|
5465
|
+
"referencedDeclaration": 37618,
|
|
5466
5466
|
"src": "2175:10:96",
|
|
5467
5467
|
"typeDescriptions": {
|
|
5468
5468
|
"typeIdentifier": "t_address",
|
|
@@ -5477,7 +5477,7 @@
|
|
|
5477
5477
|
"typeString": "address"
|
|
5478
5478
|
}
|
|
5479
5479
|
],
|
|
5480
|
-
"id":
|
|
5480
|
+
"id": 37700,
|
|
5481
5481
|
"name": "ERC20",
|
|
5482
5482
|
"nodeType": "Identifier",
|
|
5483
5483
|
"overloadedDeclarations": [],
|
|
@@ -5488,7 +5488,7 @@
|
|
|
5488
5488
|
"typeString": "type(contract ERC20)"
|
|
5489
5489
|
}
|
|
5490
5490
|
},
|
|
5491
|
-
"id":
|
|
5491
|
+
"id": 37702,
|
|
5492
5492
|
"isConstant": false,
|
|
5493
5493
|
"isLValue": false,
|
|
5494
5494
|
"isPure": false,
|
|
@@ -5504,7 +5504,7 @@
|
|
|
5504
5504
|
"typeString": "contract ERC20"
|
|
5505
5505
|
}
|
|
5506
5506
|
},
|
|
5507
|
-
"id":
|
|
5507
|
+
"id": 37703,
|
|
5508
5508
|
"isConstant": false,
|
|
5509
5509
|
"isLValue": false,
|
|
5510
5510
|
"isPure": false,
|
|
@@ -5519,7 +5519,7 @@
|
|
|
5519
5519
|
"typeString": "function (address) view external returns (uint256)"
|
|
5520
5520
|
}
|
|
5521
5521
|
},
|
|
5522
|
-
"id":
|
|
5522
|
+
"id": 37708,
|
|
5523
5523
|
"isConstant": false,
|
|
5524
5524
|
"isLValue": false,
|
|
5525
5525
|
"isPure": false,
|
|
@@ -5544,17 +5544,17 @@
|
|
|
5544
5544
|
"typeIdentifier": "t_uint256",
|
|
5545
5545
|
"typeString": "uint256"
|
|
5546
5546
|
},
|
|
5547
|
-
"id":
|
|
5547
|
+
"id": 37712,
|
|
5548
5548
|
"isConstant": false,
|
|
5549
5549
|
"isLValue": false,
|
|
5550
5550
|
"isPure": false,
|
|
5551
5551
|
"lValueRequested": false,
|
|
5552
5552
|
"leftExpression": {
|
|
5553
|
-
"id":
|
|
5553
|
+
"id": 37710,
|
|
5554
5554
|
"name": "balance",
|
|
5555
5555
|
"nodeType": "Identifier",
|
|
5556
5556
|
"overloadedDeclarations": [],
|
|
5557
|
-
"referencedDeclaration":
|
|
5557
|
+
"referencedDeclaration": 37699,
|
|
5558
5558
|
"src": "2229:7:96",
|
|
5559
5559
|
"typeDescriptions": {
|
|
5560
5560
|
"typeIdentifier": "t_uint256",
|
|
@@ -5565,7 +5565,7 @@
|
|
|
5565
5565
|
"operator": ">",
|
|
5566
5566
|
"rightExpression": {
|
|
5567
5567
|
"hexValue": "30",
|
|
5568
|
-
"id":
|
|
5568
|
+
"id": 37711,
|
|
5569
5569
|
"isConstant": false,
|
|
5570
5570
|
"isLValue": false,
|
|
5571
5571
|
"isPure": true,
|
|
@@ -5585,11 +5585,11 @@
|
|
|
5585
5585
|
"typeString": "bool"
|
|
5586
5586
|
}
|
|
5587
5587
|
},
|
|
5588
|
-
"id":
|
|
5588
|
+
"id": 37727,
|
|
5589
5589
|
"nodeType": "IfStatement",
|
|
5590
5590
|
"src": "2225:116:96",
|
|
5591
5591
|
"trueBody": {
|
|
5592
|
-
"id":
|
|
5592
|
+
"id": 37726,
|
|
5593
5593
|
"nodeType": "Block",
|
|
5594
5594
|
"src": "2242:99:96",
|
|
5595
5595
|
"statements": [
|
|
@@ -5599,14 +5599,14 @@
|
|
|
5599
5599
|
{
|
|
5600
5600
|
"arguments": [
|
|
5601
5601
|
{
|
|
5602
|
-
"id":
|
|
5602
|
+
"id": 37719,
|
|
5603
5603
|
"name": "this",
|
|
5604
5604
|
"nodeType": "Identifier",
|
|
5605
5605
|
"overloadedDeclarations": [],
|
|
5606
5606
|
"referencedDeclaration": 4294967268,
|
|
5607
5607
|
"src": "2299:4:96",
|
|
5608
5608
|
"typeDescriptions": {
|
|
5609
|
-
"typeIdentifier": "t_contract$_BatchLiquidator_$
|
|
5609
|
+
"typeIdentifier": "t_contract$_BatchLiquidator_$37731",
|
|
5610
5610
|
"typeString": "contract BatchLiquidator"
|
|
5611
5611
|
}
|
|
5612
5612
|
}
|
|
@@ -5614,11 +5614,11 @@
|
|
|
5614
5614
|
"expression": {
|
|
5615
5615
|
"argumentTypes": [
|
|
5616
5616
|
{
|
|
5617
|
-
"typeIdentifier": "t_contract$_BatchLiquidator_$
|
|
5617
|
+
"typeIdentifier": "t_contract$_BatchLiquidator_$37731",
|
|
5618
5618
|
"typeString": "contract BatchLiquidator"
|
|
5619
5619
|
}
|
|
5620
5620
|
],
|
|
5621
|
-
"id":
|
|
5621
|
+
"id": 37718,
|
|
5622
5622
|
"isConstant": false,
|
|
5623
5623
|
"isLValue": false,
|
|
5624
5624
|
"isPure": true,
|
|
@@ -5630,14 +5630,14 @@
|
|
|
5630
5630
|
"typeString": "type(address)"
|
|
5631
5631
|
},
|
|
5632
5632
|
"typeName": {
|
|
5633
|
-
"id":
|
|
5633
|
+
"id": 37717,
|
|
5634
5634
|
"name": "address",
|
|
5635
5635
|
"nodeType": "ElementaryTypeName",
|
|
5636
5636
|
"src": "2291:7:96",
|
|
5637
5637
|
"typeDescriptions": {}
|
|
5638
5638
|
}
|
|
5639
5639
|
},
|
|
5640
|
-
"id":
|
|
5640
|
+
"id": 37720,
|
|
5641
5641
|
"isConstant": false,
|
|
5642
5642
|
"isLValue": false,
|
|
5643
5643
|
"isPure": false,
|
|
@@ -5655,7 +5655,7 @@
|
|
|
5655
5655
|
},
|
|
5656
5656
|
{
|
|
5657
5657
|
"expression": {
|
|
5658
|
-
"id":
|
|
5658
|
+
"id": 37721,
|
|
5659
5659
|
"name": "msg",
|
|
5660
5660
|
"nodeType": "Identifier",
|
|
5661
5661
|
"overloadedDeclarations": [],
|
|
@@ -5666,7 +5666,7 @@
|
|
|
5666
5666
|
"typeString": "msg"
|
|
5667
5667
|
}
|
|
5668
5668
|
},
|
|
5669
|
-
"id":
|
|
5669
|
+
"id": 37722,
|
|
5670
5670
|
"isConstant": false,
|
|
5671
5671
|
"isLValue": false,
|
|
5672
5672
|
"isPure": false,
|
|
@@ -5681,11 +5681,11 @@
|
|
|
5681
5681
|
}
|
|
5682
5682
|
},
|
|
5683
5683
|
{
|
|
5684
|
-
"id":
|
|
5684
|
+
"id": 37723,
|
|
5685
5685
|
"name": "balance",
|
|
5686
5686
|
"nodeType": "Identifier",
|
|
5687
5687
|
"overloadedDeclarations": [],
|
|
5688
|
-
"referencedDeclaration":
|
|
5688
|
+
"referencedDeclaration": 37699,
|
|
5689
5689
|
"src": "2318:7:96",
|
|
5690
5690
|
"typeDescriptions": {
|
|
5691
5691
|
"typeIdentifier": "t_uint256",
|
|
@@ -5711,11 +5711,11 @@
|
|
|
5711
5711
|
"expression": {
|
|
5712
5712
|
"arguments": [
|
|
5713
5713
|
{
|
|
5714
|
-
"id":
|
|
5714
|
+
"id": 37714,
|
|
5715
5715
|
"name": "superToken",
|
|
5716
5716
|
"nodeType": "Identifier",
|
|
5717
5717
|
"overloadedDeclarations": [],
|
|
5718
|
-
"referencedDeclaration":
|
|
5718
|
+
"referencedDeclaration": 37618,
|
|
5719
5719
|
"src": "2266:10:96",
|
|
5720
5720
|
"typeDescriptions": {
|
|
5721
5721
|
"typeIdentifier": "t_address",
|
|
@@ -5730,7 +5730,7 @@
|
|
|
5730
5730
|
"typeString": "address"
|
|
5731
5731
|
}
|
|
5732
5732
|
],
|
|
5733
|
-
"id":
|
|
5733
|
+
"id": 37713,
|
|
5734
5734
|
"name": "ERC20",
|
|
5735
5735
|
"nodeType": "Identifier",
|
|
5736
5736
|
"overloadedDeclarations": [],
|
|
@@ -5741,7 +5741,7 @@
|
|
|
5741
5741
|
"typeString": "type(contract ERC20)"
|
|
5742
5742
|
}
|
|
5743
5743
|
},
|
|
5744
|
-
"id":
|
|
5744
|
+
"id": 37715,
|
|
5745
5745
|
"isConstant": false,
|
|
5746
5746
|
"isLValue": false,
|
|
5747
5747
|
"isPure": false,
|
|
@@ -5757,7 +5757,7 @@
|
|
|
5757
5757
|
"typeString": "contract ERC20"
|
|
5758
5758
|
}
|
|
5759
5759
|
},
|
|
5760
|
-
"id":
|
|
5760
|
+
"id": 37716,
|
|
5761
5761
|
"isConstant": false,
|
|
5762
5762
|
"isLValue": false,
|
|
5763
5763
|
"isPure": false,
|
|
@@ -5772,7 +5772,7 @@
|
|
|
5772
5772
|
"typeString": "function (address,address,uint256) external returns (bool)"
|
|
5773
5773
|
}
|
|
5774
5774
|
},
|
|
5775
|
-
"id":
|
|
5775
|
+
"id": 37724,
|
|
5776
5776
|
"isConstant": false,
|
|
5777
5777
|
"isLValue": false,
|
|
5778
5778
|
"isPure": false,
|
|
@@ -5788,7 +5788,7 @@
|
|
|
5788
5788
|
"typeString": "bool"
|
|
5789
5789
|
}
|
|
5790
5790
|
},
|
|
5791
|
-
"id":
|
|
5791
|
+
"id": 37725,
|
|
5792
5792
|
"nodeType": "ExpressionStatement",
|
|
5793
5793
|
"src": "2260:66:96"
|
|
5794
5794
|
}
|
|
@@ -5800,13 +5800,13 @@
|
|
|
5800
5800
|
]
|
|
5801
5801
|
},
|
|
5802
5802
|
"documentation": {
|
|
5803
|
-
"id":
|
|
5803
|
+
"id": 37612,
|
|
5804
5804
|
"nodeType": "StructuredDocumentation",
|
|
5805
5805
|
"src": "430:304:96",
|
|
5806
5806
|
"text": " @dev Delete flows in batch\n @param host - The host contract address.\n @param cfa - The cfa contract address.\n @param superToken - The super token the flows belong to.\n @param senders - List of senders.\n @param receivers - Corresponding list of receivers."
|
|
5807
5807
|
},
|
|
5808
5808
|
"functionSelector": "feb6bb69",
|
|
5809
|
-
"id":
|
|
5809
|
+
"id": 37730,
|
|
5810
5810
|
"implemented": true,
|
|
5811
5811
|
"kind": "function",
|
|
5812
5812
|
"modifiers": [],
|
|
@@ -5814,17 +5814,17 @@
|
|
|
5814
5814
|
"nameLocation": "748:11:96",
|
|
5815
5815
|
"nodeType": "FunctionDefinition",
|
|
5816
5816
|
"parameters": {
|
|
5817
|
-
"id":
|
|
5817
|
+
"id": 37625,
|
|
5818
5818
|
"nodeType": "ParameterList",
|
|
5819
5819
|
"parameters": [
|
|
5820
5820
|
{
|
|
5821
5821
|
"constant": false,
|
|
5822
|
-
"id":
|
|
5822
|
+
"id": 37614,
|
|
5823
5823
|
"mutability": "mutable",
|
|
5824
5824
|
"name": "host",
|
|
5825
5825
|
"nameLocation": "777:4:96",
|
|
5826
5826
|
"nodeType": "VariableDeclaration",
|
|
5827
|
-
"scope":
|
|
5827
|
+
"scope": 37730,
|
|
5828
5828
|
"src": "769:12:96",
|
|
5829
5829
|
"stateVariable": false,
|
|
5830
5830
|
"storageLocation": "default",
|
|
@@ -5833,7 +5833,7 @@
|
|
|
5833
5833
|
"typeString": "address"
|
|
5834
5834
|
},
|
|
5835
5835
|
"typeName": {
|
|
5836
|
-
"id":
|
|
5836
|
+
"id": 37613,
|
|
5837
5837
|
"name": "address",
|
|
5838
5838
|
"nodeType": "ElementaryTypeName",
|
|
5839
5839
|
"src": "769:7:96",
|
|
@@ -5847,12 +5847,12 @@
|
|
|
5847
5847
|
},
|
|
5848
5848
|
{
|
|
5849
5849
|
"constant": false,
|
|
5850
|
-
"id":
|
|
5850
|
+
"id": 37616,
|
|
5851
5851
|
"mutability": "mutable",
|
|
5852
5852
|
"name": "cfa",
|
|
5853
5853
|
"nameLocation": "799:3:96",
|
|
5854
5854
|
"nodeType": "VariableDeclaration",
|
|
5855
|
-
"scope":
|
|
5855
|
+
"scope": 37730,
|
|
5856
5856
|
"src": "791:11:96",
|
|
5857
5857
|
"stateVariable": false,
|
|
5858
5858
|
"storageLocation": "default",
|
|
@@ -5861,7 +5861,7 @@
|
|
|
5861
5861
|
"typeString": "address"
|
|
5862
5862
|
},
|
|
5863
5863
|
"typeName": {
|
|
5864
|
-
"id":
|
|
5864
|
+
"id": 37615,
|
|
5865
5865
|
"name": "address",
|
|
5866
5866
|
"nodeType": "ElementaryTypeName",
|
|
5867
5867
|
"src": "791:7:96",
|
|
@@ -5875,12 +5875,12 @@
|
|
|
5875
5875
|
},
|
|
5876
5876
|
{
|
|
5877
5877
|
"constant": false,
|
|
5878
|
-
"id":
|
|
5878
|
+
"id": 37618,
|
|
5879
5879
|
"mutability": "mutable",
|
|
5880
5880
|
"name": "superToken",
|
|
5881
5881
|
"nameLocation": "820:10:96",
|
|
5882
5882
|
"nodeType": "VariableDeclaration",
|
|
5883
|
-
"scope":
|
|
5883
|
+
"scope": 37730,
|
|
5884
5884
|
"src": "812:18:96",
|
|
5885
5885
|
"stateVariable": false,
|
|
5886
5886
|
"storageLocation": "default",
|
|
@@ -5889,7 +5889,7 @@
|
|
|
5889
5889
|
"typeString": "address"
|
|
5890
5890
|
},
|
|
5891
5891
|
"typeName": {
|
|
5892
|
-
"id":
|
|
5892
|
+
"id": 37617,
|
|
5893
5893
|
"name": "address",
|
|
5894
5894
|
"nodeType": "ElementaryTypeName",
|
|
5895
5895
|
"src": "812:7:96",
|
|
@@ -5903,12 +5903,12 @@
|
|
|
5903
5903
|
},
|
|
5904
5904
|
{
|
|
5905
5905
|
"constant": false,
|
|
5906
|
-
"id":
|
|
5906
|
+
"id": 37621,
|
|
5907
5907
|
"mutability": "mutable",
|
|
5908
5908
|
"name": "senders",
|
|
5909
5909
|
"nameLocation": "859:7:96",
|
|
5910
5910
|
"nodeType": "VariableDeclaration",
|
|
5911
|
-
"scope":
|
|
5911
|
+
"scope": 37730,
|
|
5912
5912
|
"src": "840:26:96",
|
|
5913
5913
|
"stateVariable": false,
|
|
5914
5914
|
"storageLocation": "calldata",
|
|
@@ -5918,7 +5918,7 @@
|
|
|
5918
5918
|
},
|
|
5919
5919
|
"typeName": {
|
|
5920
5920
|
"baseType": {
|
|
5921
|
-
"id":
|
|
5921
|
+
"id": 37619,
|
|
5922
5922
|
"name": "address",
|
|
5923
5923
|
"nodeType": "ElementaryTypeName",
|
|
5924
5924
|
"src": "840:7:96",
|
|
@@ -5928,7 +5928,7 @@
|
|
|
5928
5928
|
"typeString": "address"
|
|
5929
5929
|
}
|
|
5930
5930
|
},
|
|
5931
|
-
"id":
|
|
5931
|
+
"id": 37620,
|
|
5932
5932
|
"nodeType": "ArrayTypeName",
|
|
5933
5933
|
"src": "840:9:96",
|
|
5934
5934
|
"typeDescriptions": {
|
|
@@ -5940,12 +5940,12 @@
|
|
|
5940
5940
|
},
|
|
5941
5941
|
{
|
|
5942
5942
|
"constant": false,
|
|
5943
|
-
"id":
|
|
5943
|
+
"id": 37624,
|
|
5944
5944
|
"mutability": "mutable",
|
|
5945
5945
|
"name": "receivers",
|
|
5946
5946
|
"nameLocation": "887:9:96",
|
|
5947
5947
|
"nodeType": "VariableDeclaration",
|
|
5948
|
-
"scope":
|
|
5948
|
+
"scope": 37730,
|
|
5949
5949
|
"src": "868:28:96",
|
|
5950
5950
|
"stateVariable": false,
|
|
5951
5951
|
"storageLocation": "calldata",
|
|
@@ -5955,7 +5955,7 @@
|
|
|
5955
5955
|
},
|
|
5956
5956
|
"typeName": {
|
|
5957
5957
|
"baseType": {
|
|
5958
|
-
"id":
|
|
5958
|
+
"id": 37622,
|
|
5959
5959
|
"name": "address",
|
|
5960
5960
|
"nodeType": "ElementaryTypeName",
|
|
5961
5961
|
"src": "868:7:96",
|
|
@@ -5965,7 +5965,7 @@
|
|
|
5965
5965
|
"typeString": "address"
|
|
5966
5966
|
}
|
|
5967
5967
|
},
|
|
5968
|
-
"id":
|
|
5968
|
+
"id": 37623,
|
|
5969
5969
|
"nodeType": "ArrayTypeName",
|
|
5970
5970
|
"src": "868:9:96",
|
|
5971
5971
|
"typeDescriptions": {
|
|
@@ -5979,19 +5979,19 @@
|
|
|
5979
5979
|
"src": "759:143:96"
|
|
5980
5980
|
},
|
|
5981
5981
|
"returnParameters": {
|
|
5982
|
-
"id":
|
|
5982
|
+
"id": 37626,
|
|
5983
5983
|
"nodeType": "ParameterList",
|
|
5984
5984
|
"parameters": [],
|
|
5985
5985
|
"src": "912:0:96"
|
|
5986
5986
|
},
|
|
5987
|
-
"scope":
|
|
5987
|
+
"scope": 37731,
|
|
5988
5988
|
"src": "739:1618:96",
|
|
5989
5989
|
"stateMutability": "nonpayable",
|
|
5990
5990
|
"virtual": false,
|
|
5991
5991
|
"visibility": "external"
|
|
5992
5992
|
}
|
|
5993
5993
|
],
|
|
5994
|
-
"scope":
|
|
5994
|
+
"scope": 37732,
|
|
5995
5995
|
"src": "398:1961:96",
|
|
5996
5996
|
"usedErrors": []
|
|
5997
5997
|
}
|
|
@@ -6004,7 +6004,7 @@
|
|
|
6004
6004
|
},
|
|
6005
6005
|
"networks": {},
|
|
6006
6006
|
"schemaVersion": "3.4.9",
|
|
6007
|
-
"updatedAt": "2022-09-
|
|
6007
|
+
"updatedAt": "2022-09-21T11:06:18.590Z",
|
|
6008
6008
|
"devdoc": {
|
|
6009
6009
|
"author": "Superfluid",
|
|
6010
6010
|
"kind": "dev",
|