@superfluid-finance/ethereum-contracts 1.7.2-dev.09f3be3.0 → 1.7.2-dev.36bfd5f.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.
Files changed (173) hide show
  1. package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
  2. package/build/contracts/AccessControl.json +1 -1
  3. package/build/contracts/AccessControlEnumerable.json +1 -1
  4. package/build/contracts/Address.json +1 -1
  5. package/build/contracts/AgreementBase.json +18 -18
  6. package/build/contracts/AgreementLibrary.json +165 -165
  7. package/build/contracts/BaseRelayRecipient.json +57 -57
  8. package/build/contracts/BatchLiquidator.json +382 -382
  9. package/build/contracts/BatchOperation.json +614 -614
  10. package/build/contracts/CFAv1Forwarder.json +1250 -1250
  11. package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2384 -2384
  12. package/build/contracts/CFAv1Library.json +389 -389
  13. package/build/contracts/CallUtils.json +198 -198
  14. package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
  15. package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
  16. package/build/contracts/ConstantInflowNFT.json +402 -402
  17. package/build/contracts/ConstantOutflowNFT.json +661 -661
  18. package/build/contracts/Context.json +1 -1
  19. package/build/contracts/ContextDefinitions.json +614 -614
  20. package/build/contracts/CustomSuperTokenBase.json +19 -19
  21. package/build/contracts/ERC165.json +1 -1
  22. package/build/contracts/ERC1820Implementer.json +1 -1
  23. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  24. package/build/contracts/ERC20.json +1 -1
  25. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  26. package/build/contracts/ERC777Helper.json +384 -384
  27. package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
  28. package/build/contracts/ERC777RecipientReverting.json +863 -863
  29. package/build/contracts/EnumerableSet.json +1 -1
  30. package/build/contracts/EventsEmitter.json +43 -43
  31. package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
  32. package/build/contracts/FixedSizeData.json +200 -200
  33. package/build/contracts/FlowExchangeTestApp.json +1526 -1526
  34. package/build/contracts/FlowNFTBase.json +1280 -1280
  35. package/build/contracts/FlowOperatorDefinitions.json +614 -614
  36. package/build/contracts/ForwarderBase.json +190 -190
  37. package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
  38. package/build/contracts/IAccessControl.json +1 -1
  39. package/build/contracts/IAccessControlEnumerable.json +1 -1
  40. package/build/contracts/IConstantFlowAgreementV1.json +677 -677
  41. package/build/contracts/IConstantInflowNFT.json +54 -54
  42. package/build/contracts/IConstantOutflowNFT.json +107 -107
  43. package/build/contracts/IDAv1Forwarder.json +912 -912
  44. package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2384 -2384
  45. package/build/contracts/IDAv1Library.json +430 -430
  46. package/build/contracts/IERC165.json +1 -1
  47. package/build/contracts/IERC1820Implementer.json +1 -1
  48. package/build/contracts/IERC1820Registry.json +1 -1
  49. package/build/contracts/IERC20.json +1 -1
  50. package/build/contracts/IERC20Metadata.json +1 -1
  51. package/build/contracts/IERC20Permit.json +1 -1
  52. package/build/contracts/IERC721.json +1 -1
  53. package/build/contracts/IERC721Metadata.json +1 -1
  54. package/build/contracts/IERC777.json +1 -1
  55. package/build/contracts/IERC777Recipient.json +1 -1
  56. package/build/contracts/IERC777Sender.json +1 -1
  57. package/build/contracts/IFlowNFTBase.json +115 -115
  58. package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
  59. package/build/contracts/IMultiSigWallet.json +31 -31
  60. package/build/contracts/IPoolAdminNFT.json +7 -7
  61. package/build/contracts/IPoolMemberNFT.json +7 -7
  62. package/build/contracts/IPureSuperToken.json +62 -62
  63. package/build/contracts/IPureSuperTokenCustom.json +62 -62
  64. package/build/contracts/IRelayRecipient.json +27 -27
  65. package/build/contracts/IResolver.json +38 -38
  66. package/build/contracts/ISETH.json +67 -67
  67. package/build/contracts/ISETHCustom.json +67 -67
  68. package/build/contracts/ISuperAgreement.json +50 -50
  69. package/build/contracts/ISuperApp.json +191 -191
  70. package/build/contracts/ISuperToken.json +695 -695
  71. package/build/contracts/ISuperTokenFactory.json +225 -225
  72. package/build/contracts/ISuperfluid.json +904 -904
  73. package/build/contracts/ISuperfluidGovernance.json +251 -251
  74. package/build/contracts/ISuperfluidToken.json +407 -407
  75. package/build/contracts/ITOGAv1.json +1346 -1346
  76. package/build/contracts/ITOGAv2.json +1346 -1346
  77. package/build/contracts/ITOGAv3.json +1346 -1346
  78. package/build/contracts/Initializable.json +1 -1
  79. package/build/contracts/InstantDistributionAgreementV1.json +594 -594
  80. package/build/contracts/Math.json +1 -1
  81. package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
  82. package/build/contracts/Ownable.json +1 -1
  83. package/build/contracts/Proxy.json +1 -1
  84. package/build/contracts/ProxyDeployerLibrary.json +2382 -2382
  85. package/build/contracts/PureSuperToken.json +106 -106
  86. package/build/contracts/Resolver.json +98 -98
  87. package/build/contracts/SETHProxy.json +224 -224
  88. package/build/contracts/SafeCast.json +1 -1
  89. package/build/contracts/SafeERC20.json +1 -1
  90. package/build/contracts/SafeGasLibrary.json +51 -51
  91. package/build/contracts/SafeMath.json +1 -1
  92. package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
  93. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  94. package/build/contracts/StreamRedirector.json +704 -704
  95. package/build/contracts/Strings.json +1 -1
  96. package/build/contracts/SuperAppBase.json +42 -42
  97. package/build/contracts/SuperAppBaseFlow.json +138 -138
  98. package/build/contracts/SuperAppDefinitions.json +614 -614
  99. package/build/contracts/SuperToken.json +2714 -2714
  100. package/build/contracts/SuperTokenDeployerLibrary.json +2383 -2383
  101. package/build/contracts/SuperTokenFactory.json +1347 -1347
  102. package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
  103. package/build/contracts/SuperTokenV1Library.json +1483 -1483
  104. package/build/contracts/SuperUpgrader.json +439 -439
  105. package/build/contracts/Superfluid.json +5196 -5196
  106. package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2383 -2383
  107. package/build/contracts/SuperfluidFrameworkDeployer.json +1260 -1260
  108. package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2382 -2382
  109. package/build/contracts/SuperfluidGovDeployerLibrary.json +2383 -2383
  110. package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
  111. package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
  112. package/build/contracts/SuperfluidGovernanceII.json +155 -155
  113. package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
  114. package/build/contracts/SuperfluidHostDeployerLibrary.json +2382 -2382
  115. package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2383 -2383
  116. package/build/contracts/SuperfluidLoader.json +207 -207
  117. package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2384 -2384
  118. package/build/contracts/SuperfluidLoaderLibrary.json +485 -351
  119. package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2387 -2387
  120. package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2385 -2385
  121. package/build/contracts/SuperfluidToken.json +1423 -1423
  122. package/build/contracts/TOGA.json +1360 -1360
  123. package/build/contracts/TestGovernance.json +250 -250
  124. package/build/contracts/TestResolver.json +47 -47
  125. package/build/contracts/TestToken.json +102 -102
  126. package/build/contracts/TokenDeployerLibrary.json +2384 -2384
  127. package/build/contracts/TokenInfo.json +32 -32
  128. package/build/contracts/UUPSProxiable.json +139 -139
  129. package/build/contracts/UUPSProxy.json +81 -81
  130. package/build/contracts/UUPSUtils.json +37 -37
  131. package/build/contracts-sizes.txt +15 -15
  132. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
  133. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts.map +1 -1
  134. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
  135. package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js.map +1 -1
  136. package/contracts/apps/SuperfluidLoaderLibrary.sol +4 -1
  137. package/package.json +3 -4
  138. package/ops-scripts/.eslintrc.js +0 -15
  139. package/ops-scripts/artifacts/ERC1820Registry.json +0 -5
  140. package/ops-scripts/deploy-aux-contracts.js +0 -99
  141. package/ops-scripts/deploy-deterministically.js +0 -169
  142. package/ops-scripts/deploy-erc1820.js +0 -83
  143. package/ops-scripts/deploy-framework.js +0 -895
  144. package/ops-scripts/deploy-mfa.ts +0 -27
  145. package/ops-scripts/deploy-super-token.js +0 -206
  146. package/ops-scripts/deploy-test-environment.js +0 -98
  147. package/ops-scripts/deploy-test-token.js +0 -86
  148. package/ops-scripts/deploy-unlisted-pure-super-token.js +0 -69
  149. package/ops-scripts/deploy-unlisted-super-token.js +0 -68
  150. package/ops-scripts/gov-create-new-app-registration-key.js +0 -75
  151. package/ops-scripts/gov-create-new-factory-registration.js +0 -49
  152. package/ops-scripts/gov-set-3Ps-config.js +0 -67
  153. package/ops-scripts/gov-set-reward-address.js +0 -60
  154. package/ops-scripts/gov-set-token-min-deposit.js +0 -53
  155. package/ops-scripts/gov-set-trusted-forwarder.js +0 -80
  156. package/ops-scripts/gov-transfer-framework-ownership.js +0 -90
  157. package/ops-scripts/gov-upgrade-governance.js +0 -87
  158. package/ops-scripts/gov-upgrade-super-token-logic.js +0 -193
  159. package/ops-scripts/info-inspect-account.js +0 -118
  160. package/ops-scripts/info-list-apps.js +0 -55
  161. package/ops-scripts/info-print-contract-addresses.js +0 -136
  162. package/ops-scripts/info-scan-deployments.js +0 -63
  163. package/ops-scripts/info-show-protocol.js +0 -400
  164. package/ops-scripts/libs/common.js +0 -436
  165. package/ops-scripts/libs/getConfig.js +0 -289
  166. package/ops-scripts/libs/truffleScriptRunnerFactory.js +0 -97
  167. package/ops-scripts/resolver-list-super-token.js +0 -73
  168. package/ops-scripts/resolver-register-token.js +0 -72
  169. package/ops-scripts/resolver-reset-deployment.js +0 -54
  170. package/ops-scripts/resolver-set-key-value.js +0 -69
  171. package/ops-scripts/resolver-unlist-super-token.js +0 -61
  172. package/ops-scripts/tmp-trigger-token-transfer.js +0 -33
  173. package/ops-scripts/validate-nft-addresses.ts +0 -49
@@ -522,7 +522,7 @@
522
522
  }
523
523
  ]
524
524
  },
525
- "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$25452t_addresst_uint256t_uint256",
525
+ "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$25463t_addresst_uint256t_uint256",
526
526
  "nodeType": "YulFunctionDefinition",
527
527
  "parameters": [
528
528
  {
@@ -1805,7 +1805,7 @@
1805
1805
  }
1806
1806
  ]
1807
1807
  },
1808
- "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$25452t_addresst_uint256t_uint256t_bytes32",
1808
+ "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$25463t_addresst_uint256t_uint256t_bytes32",
1809
1809
  "nodeType": "YulFunctionDefinition",
1810
1810
  "parameters": [
1811
1811
  {
@@ -2392,7 +2392,7 @@
2392
2392
  }
2393
2393
  ]
2394
2394
  },
2395
- "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$25452t_addresst_uint256t_uint32",
2395
+ "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$25463t_addresst_uint256t_uint32",
2396
2396
  "nodeType": "YulFunctionDefinition",
2397
2397
  "parameters": [
2398
2398
  {
@@ -5459,7 +5459,7 @@
5459
5459
  }
5460
5460
  ]
5461
5461
  },
5462
- "contents": "{\n { }\n function validator_revert_contract_ISuperfluidToken(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_contract$_ISuperfluidToken_$25452t_addresst_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_ISuperfluidToken(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_ISuperfluidToken(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n value3 := calldataload(add(headStart, 96))\n }\n function abi_encode_tuple_t_array$_t_uint32_$dyn_memory_ptr_t_array$_t_bytes32_$dyn_memory_ptr__to_t_array$_t_uint32_$dyn_memory_ptr_t_array$_t_bytes32_$dyn_memory_ptr__fromStack_library_reversed(headStart, value1, value0) -> tail\n {\n let tail_1 := add(headStart, 64)\n mstore(headStart, 64)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n pos := add(headStart, 96)\n let _1 := 0x20\n let srcPtr := add(value0, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffff))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n mstore(add(headStart, _1), sub(pos, headStart))\n let pos_1 := pos\n let length_1 := mload(value1)\n mstore(pos, length_1)\n pos_1 := add(pos, _1)\n let srcPtr_1 := add(value1, _1)\n let i_1 := 0\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, mload(srcPtr_1))\n pos_1 := add(pos_1, _1)\n srcPtr_1 := add(srcPtr_1, _1)\n }\n tail := pos_1\n }\n function abi_decode_tuple_t_contract$_ISuperfluidToken_$25452t_addresst_uint256t_uint256t_bytes32(headStart, dataEnd) -> value0, value1, value2, value3, value4\n {\n if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_ISuperfluidToken(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_ISuperfluidToken(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n value3 := calldataload(add(headStart, 96))\n value4 := calldataload(add(headStart, 128))\n }\n function abi_encode_tuple_t_uint32__to_t_uint32__fromStack_library_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffff))\n }\n function abi_decode_tuple_t_contract$_ISuperfluidToken_$25452t_addresst_uint256t_uint32(headStart, dataEnd) -> value0, value1, value2, value3\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_ISuperfluidToken(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_ISuperfluidToken(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n let value_2 := calldataload(add(headStart, 96))\n if iszero(eq(value_2, and(value_2, 0xffffffff))) { revert(0, 0) }\n value3 := value_2\n }\n function abi_encode_tuple_t_address_t_address_t_uint256_t_rational_1_by_1__to_t_address_t_address_t_uint256_t_uint256__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 128)\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 mstore(add(headStart, 96), value3)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(headStart, dataEnd) -> value0\n {\n let _1 := 32\n if slt(sub(dataEnd, headStart), _1) { revert(0, 0) }\n let offset := mload(headStart)\n let _2 := 0xffffffffffffffff\n if gt(offset, _2) { revert(0, 0) }\n let _3 := add(headStart, offset)\n if iszero(slt(add(_3, 0x1f), dataEnd)) { revert(0, 0) }\n let _4 := mload(_3)\n if gt(_4, _2) { panic_error_0x41() }\n let _5 := shl(5, _4)\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(_5, 63), not(31)))\n if or(gt(newFreePtr, _2), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n let dst := memPtr\n mstore(memPtr, _4)\n dst := add(memPtr, _1)\n let srcEnd := add(add(_3, _5), _1)\n if gt(srcEnd, dataEnd) { revert(0, 0) }\n let src := add(_3, _1)\n for { } lt(src, srcEnd) { src := add(src, _1) }\n {\n mstore(dst, mload(src))\n dst := add(dst, _1)\n }\n value0 := memPtr\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n sum := add(x, y)\n if gt(x, sum) { panic_error_0x11() }\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0)) { panic_error_0x11() }\n ret := add(value, 1)\n }\n function increment_t_uint32(value) -> ret\n {\n let _1 := 0xffffffff\n let value_1 := and(value, _1)\n if eq(value_1, _1) { panic_error_0x11() }\n ret := add(value_1, 1)\n }\n function abi_encode_tuple_t_address_t_uint256_t_array$_t_bytes32_$dyn_memory_ptr__to_t_address_t_uint256_t_array$_t_bytes32_$dyn_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let tail_1 := add(headStart, 96)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n let _1 := 32\n mstore(add(headStart, _1), value1)\n mstore(add(headStart, 64), 96)\n let pos := tail_1\n let length := mload(value2)\n mstore(tail_1, length)\n pos := add(headStart, 128)\n let srcPtr := add(value2, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, mload(srcPtr))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n tail := pos\n }\n function abi_encode_tuple_t_stringliteral_9013b7fc8a2a5c2626f26d5c6b76898545e64f50dc1690d5262cde9a8f30c996__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 23)\n mstore(add(headStart, 64), \"SlotBitmap out of bound\")\n tail := add(headStart, 96)\n }\n function panic_error_0x01()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x01)\n revert(0, 0x24)\n }\n}",
5462
+ "contents": "{\n { }\n function validator_revert_contract_ISuperfluidToken(value)\n {\n if iszero(eq(value, and(value, sub(shl(160, 1), 1)))) { revert(0, 0) }\n }\n function abi_decode_tuple_t_contract$_ISuperfluidToken_$25463t_addresst_uint256t_uint256(headStart, dataEnd) -> value0, value1, value2, value3\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_ISuperfluidToken(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_ISuperfluidToken(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n value3 := calldataload(add(headStart, 96))\n }\n function abi_encode_tuple_t_array$_t_uint32_$dyn_memory_ptr_t_array$_t_bytes32_$dyn_memory_ptr__to_t_array$_t_uint32_$dyn_memory_ptr_t_array$_t_bytes32_$dyn_memory_ptr__fromStack_library_reversed(headStart, value1, value0) -> tail\n {\n let tail_1 := add(headStart, 64)\n mstore(headStart, 64)\n let pos := tail_1\n let length := mload(value0)\n mstore(tail_1, length)\n pos := add(headStart, 96)\n let _1 := 0x20\n let srcPtr := add(value0, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, and(mload(srcPtr), 0xffffffff))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n mstore(add(headStart, _1), sub(pos, headStart))\n let pos_1 := pos\n let length_1 := mload(value1)\n mstore(pos, length_1)\n pos_1 := add(pos, _1)\n let srcPtr_1 := add(value1, _1)\n let i_1 := 0\n for { } lt(i_1, length_1) { i_1 := add(i_1, 1) }\n {\n mstore(pos_1, mload(srcPtr_1))\n pos_1 := add(pos_1, _1)\n srcPtr_1 := add(srcPtr_1, _1)\n }\n tail := pos_1\n }\n function abi_decode_tuple_t_contract$_ISuperfluidToken_$25463t_addresst_uint256t_uint256t_bytes32(headStart, dataEnd) -> value0, value1, value2, value3, value4\n {\n if slt(sub(dataEnd, headStart), 160) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_ISuperfluidToken(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_ISuperfluidToken(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n value3 := calldataload(add(headStart, 96))\n value4 := calldataload(add(headStart, 128))\n }\n function abi_encode_tuple_t_uint32__to_t_uint32__fromStack_library_reversed(headStart, value0) -> tail\n {\n tail := add(headStart, 32)\n mstore(headStart, and(value0, 0xffffffff))\n }\n function abi_decode_tuple_t_contract$_ISuperfluidToken_$25463t_addresst_uint256t_uint32(headStart, dataEnd) -> value0, value1, value2, value3\n {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n let value := calldataload(headStart)\n validator_revert_contract_ISuperfluidToken(value)\n value0 := value\n let value_1 := calldataload(add(headStart, 32))\n validator_revert_contract_ISuperfluidToken(value_1)\n value1 := value_1\n value2 := calldataload(add(headStart, 64))\n let value_2 := calldataload(add(headStart, 96))\n if iszero(eq(value_2, and(value_2, 0xffffffff))) { revert(0, 0) }\n value3 := value_2\n }\n function abi_encode_tuple_t_address_t_address_t_uint256_t_rational_1_by_1__to_t_address_t_address_t_uint256_t_uint256__fromStack_reversed(headStart, value3, value2, value1, value0) -> tail\n {\n tail := add(headStart, 128)\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 mstore(add(headStart, 96), value3)\n }\n function panic_error_0x41()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x41)\n revert(0, 0x24)\n }\n function abi_decode_tuple_t_array$_t_bytes32_$dyn_memory_ptr_fromMemory(headStart, dataEnd) -> value0\n {\n let _1 := 32\n if slt(sub(dataEnd, headStart), _1) { revert(0, 0) }\n let offset := mload(headStart)\n let _2 := 0xffffffffffffffff\n if gt(offset, _2) { revert(0, 0) }\n let _3 := add(headStart, offset)\n if iszero(slt(add(_3, 0x1f), dataEnd)) { revert(0, 0) }\n let _4 := mload(_3)\n if gt(_4, _2) { panic_error_0x41() }\n let _5 := shl(5, _4)\n let memPtr := mload(64)\n let newFreePtr := add(memPtr, and(add(_5, 63), not(31)))\n if or(gt(newFreePtr, _2), lt(newFreePtr, memPtr)) { panic_error_0x41() }\n mstore(64, newFreePtr)\n let dst := memPtr\n mstore(memPtr, _4)\n dst := add(memPtr, _1)\n let srcEnd := add(add(_3, _5), _1)\n if gt(srcEnd, dataEnd) { revert(0, 0) }\n let src := add(_3, _1)\n for { } lt(src, srcEnd) { src := add(src, _1) }\n {\n mstore(dst, mload(src))\n dst := add(dst, _1)\n }\n value0 := memPtr\n }\n function panic_error_0x32()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x32)\n revert(0, 0x24)\n }\n function panic_error_0x11()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x11)\n revert(0, 0x24)\n }\n function checked_add_t_uint256(x, y) -> sum\n {\n sum := add(x, y)\n if gt(x, sum) { panic_error_0x11() }\n }\n function increment_t_uint256(value) -> ret\n {\n if eq(value, not(0)) { panic_error_0x11() }\n ret := add(value, 1)\n }\n function increment_t_uint32(value) -> ret\n {\n let _1 := 0xffffffff\n let value_1 := and(value, _1)\n if eq(value_1, _1) { panic_error_0x11() }\n ret := add(value_1, 1)\n }\n function abi_encode_tuple_t_address_t_uint256_t_array$_t_bytes32_$dyn_memory_ptr__to_t_address_t_uint256_t_array$_t_bytes32_$dyn_memory_ptr__fromStack_reversed(headStart, value2, value1, value0) -> tail\n {\n let tail_1 := add(headStart, 96)\n mstore(headStart, and(value0, sub(shl(160, 1), 1)))\n let _1 := 32\n mstore(add(headStart, _1), value1)\n mstore(add(headStart, 64), 96)\n let pos := tail_1\n let length := mload(value2)\n mstore(tail_1, length)\n pos := add(headStart, 128)\n let srcPtr := add(value2, _1)\n let i := 0\n for { } lt(i, length) { i := add(i, 1) }\n {\n mstore(pos, mload(srcPtr))\n pos := add(pos, _1)\n srcPtr := add(srcPtr, _1)\n }\n tail := pos\n }\n function abi_encode_tuple_t_stringliteral_9013b7fc8a2a5c2626f26d5c6b76898545e64f50dc1690d5262cde9a8f30c996__to_t_string_memory_ptr__fromStack_reversed(headStart) -> tail\n {\n mstore(headStart, 32)\n mstore(add(headStart, 32), 23)\n mstore(add(headStart, 64), \"SlotBitmap out of bound\")\n tail := add(headStart, 96)\n }\n function panic_error_0x01()\n {\n mstore(0, shl(224, 0x4e487b71))\n mstore(4, 0x01)\n revert(0, 0x24)\n }\n}",
5463
5463
  "id": 124,
5464
5464
  "language": "Yul",
5465
5465
  "name": "#utility.yul"
@@ -5473,18 +5473,18 @@
5473
5473
  "absolutePath": "project:/contracts/libs/SlotsBitmapLibrary.sol",
5474
5474
  "exportedSymbols": {
5475
5475
  "ISuperfluidToken": [
5476
- 25452
5476
+ 25463
5477
5477
  ],
5478
5478
  "SlotsBitmapLibrary": [
5479
- 26569
5479
+ 26580
5480
5480
  ]
5481
5481
  },
5482
- "id": 26570,
5482
+ "id": 26581,
5483
5483
  "license": "AGPLv3",
5484
5484
  "nodeType": "SourceUnit",
5485
5485
  "nodes": [
5486
5486
  {
5487
- "id": 26250,
5487
+ "id": 26261,
5488
5488
  "literals": [
5489
5489
  "solidity",
5490
5490
  "0.8",
@@ -5496,20 +5496,20 @@
5496
5496
  {
5497
5497
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
5498
5498
  "file": "../interfaces/superfluid/ISuperfluidToken.sol",
5499
- "id": 26252,
5499
+ "id": 26263,
5500
5500
  "nameLocation": "-1:-1:-1",
5501
5501
  "nodeType": "ImportDirective",
5502
- "scope": 26570,
5503
- "sourceUnit": 25453,
5502
+ "scope": 26581,
5503
+ "sourceUnit": 25464,
5504
5504
  "src": "60:79:72",
5505
5505
  "symbolAliases": [
5506
5506
  {
5507
5507
  "foreign": {
5508
- "id": 26251,
5508
+ "id": 26262,
5509
5509
  "name": "ISuperfluidToken",
5510
5510
  "nodeType": "Identifier",
5511
5511
  "overloadedDeclarations": [],
5512
- "referencedDeclaration": 25452,
5512
+ "referencedDeclaration": 25463,
5513
5513
  "src": "68:16:72",
5514
5514
  "typeDescriptions": {}
5515
5515
  },
@@ -5525,15 +5525,15 @@
5525
5525
  "contractDependencies": [],
5526
5526
  "contractKind": "library",
5527
5527
  "documentation": {
5528
- "id": 26253,
5528
+ "id": 26264,
5529
5529
  "nodeType": "StructuredDocumentation",
5530
5530
  "src": "141:568:72",
5531
5531
  "text": " @title Slots Bitmap library\n @author Superfluid\n @dev A library implements slots bitmap on Superfluid Token storage\n NOTE:\n - A slots bitmap allows you to iterate through a list of data efficiently.\n - A data slot can be enabled or disabled with the help of bitmap.\n - MAX_NUM_SLOTS is 256 in this implementation (using one uint256)\n - Superfluid token storage usage:\n - getAgreementStateSlot(bitmapStateSlotId) stores the bitmap of enabled data slots\n - getAgreementStateSlot(dataStateSlotIDStart + stotId) stores the data of the slot"
5532
5532
  },
5533
5533
  "fullyImplemented": true,
5534
- "id": 26569,
5534
+ "id": 26580,
5535
5535
  "linearizedBaseContracts": [
5536
- 26569
5536
+ 26580
5537
5537
  ],
5538
5538
  "name": "SlotsBitmapLibrary",
5539
5539
  "nameLocation": "718:18:72",
@@ -5541,12 +5541,12 @@
5541
5541
  "nodes": [
5542
5542
  {
5543
5543
  "constant": true,
5544
- "id": 26256,
5544
+ "id": 26267,
5545
5545
  "mutability": "constant",
5546
5546
  "name": "_MAX_NUM_SLOTS",
5547
5547
  "nameLocation": "769:14:72",
5548
5548
  "nodeType": "VariableDeclaration",
5549
- "scope": 26569,
5549
+ "scope": 26580,
5550
5550
  "src": "744:45:72",
5551
5551
  "stateVariable": true,
5552
5552
  "storageLocation": "default",
@@ -5555,7 +5555,7 @@
5555
5555
  "typeString": "uint32"
5556
5556
  },
5557
5557
  "typeName": {
5558
- "id": 26254,
5558
+ "id": 26265,
5559
5559
  "name": "uint32",
5560
5560
  "nodeType": "ElementaryTypeName",
5561
5561
  "src": "744:6:72",
@@ -5566,7 +5566,7 @@
5566
5566
  },
5567
5567
  "value": {
5568
5568
  "hexValue": "323536",
5569
- "id": 26255,
5569
+ "id": 26266,
5570
5570
  "isConstant": false,
5571
5571
  "isLValue": false,
5572
5572
  "isPure": true,
@@ -5584,23 +5584,23 @@
5584
5584
  },
5585
5585
  {
5586
5586
  "body": {
5587
- "id": 26375,
5587
+ "id": 26386,
5588
5588
  "nodeType": "Block",
5589
5589
  "src": "1035:985:72",
5590
5590
  "statements": [
5591
5591
  {
5592
5592
  "assignments": [
5593
- 26273
5593
+ 26284
5594
5594
  ],
5595
5595
  "declarations": [
5596
5596
  {
5597
5597
  "constant": false,
5598
- "id": 26273,
5598
+ "id": 26284,
5599
5599
  "mutability": "mutable",
5600
5600
  "name": "subsBitmap",
5601
5601
  "nameLocation": "1053:10:72",
5602
5602
  "nodeType": "VariableDeclaration",
5603
- "scope": 26375,
5603
+ "scope": 26386,
5604
5604
  "src": "1045:18:72",
5605
5605
  "stateVariable": false,
5606
5606
  "storageLocation": "default",
@@ -5609,7 +5609,7 @@
5609
5609
  "typeString": "uint256"
5610
5610
  },
5611
5611
  "typeName": {
5612
- "id": 26272,
5612
+ "id": 26283,
5613
5613
  "name": "uint256",
5614
5614
  "nodeType": "ElementaryTypeName",
5615
5615
  "src": "1045:7:72",
@@ -5621,7 +5621,7 @@
5621
5621
  "visibility": "internal"
5622
5622
  }
5623
5623
  ],
5624
- "id": 26289,
5624
+ "id": 26300,
5625
5625
  "initialValue": {
5626
5626
  "arguments": [
5627
5627
  {
@@ -5630,14 +5630,14 @@
5630
5630
  {
5631
5631
  "arguments": [
5632
5632
  {
5633
- "id": 26280,
5633
+ "id": 26291,
5634
5634
  "name": "this",
5635
5635
  "nodeType": "Identifier",
5636
5636
  "overloadedDeclarations": [],
5637
5637
  "referencedDeclaration": 4294967268,
5638
5638
  "src": "1123:4:72",
5639
5639
  "typeDescriptions": {
5640
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
5640
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
5641
5641
  "typeString": "library SlotsBitmapLibrary"
5642
5642
  }
5643
5643
  }
@@ -5645,11 +5645,11 @@
5645
5645
  "expression": {
5646
5646
  "argumentTypes": [
5647
5647
  {
5648
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
5648
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
5649
5649
  "typeString": "library SlotsBitmapLibrary"
5650
5650
  }
5651
5651
  ],
5652
- "id": 26279,
5652
+ "id": 26290,
5653
5653
  "isConstant": false,
5654
5654
  "isLValue": false,
5655
5655
  "isPure": true,
@@ -5661,14 +5661,14 @@
5661
5661
  "typeString": "type(address)"
5662
5662
  },
5663
5663
  "typeName": {
5664
- "id": 26278,
5664
+ "id": 26289,
5665
5665
  "name": "address",
5666
5666
  "nodeType": "ElementaryTypeName",
5667
5667
  "src": "1115:7:72",
5668
5668
  "typeDescriptions": {}
5669
5669
  }
5670
5670
  },
5671
- "id": 26281,
5671
+ "id": 26292,
5672
5672
  "isConstant": false,
5673
5673
  "isLValue": false,
5674
5674
  "isPure": false,
@@ -5685,11 +5685,11 @@
5685
5685
  }
5686
5686
  },
5687
5687
  {
5688
- "id": 26282,
5688
+ "id": 26293,
5689
5689
  "name": "account",
5690
5690
  "nodeType": "Identifier",
5691
5691
  "overloadedDeclarations": [],
5692
- "referencedDeclaration": 26261,
5692
+ "referencedDeclaration": 26272,
5693
5693
  "src": "1142:7:72",
5694
5694
  "typeDescriptions": {
5695
5695
  "typeIdentifier": "t_address",
@@ -5697,11 +5697,11 @@
5697
5697
  }
5698
5698
  },
5699
5699
  {
5700
- "id": 26283,
5700
+ "id": 26294,
5701
5701
  "name": "bitmapStateSlotId",
5702
5702
  "nodeType": "Identifier",
5703
5703
  "overloadedDeclarations": [],
5704
- "referencedDeclaration": 26263,
5704
+ "referencedDeclaration": 26274,
5705
5705
  "src": "1163:17:72",
5706
5706
  "typeDescriptions": {
5707
5707
  "typeIdentifier": "t_uint256",
@@ -5710,7 +5710,7 @@
5710
5710
  },
5711
5711
  {
5712
5712
  "hexValue": "31",
5713
- "id": 26284,
5713
+ "id": 26295,
5714
5714
  "isConstant": false,
5715
5715
  "isLValue": false,
5716
5716
  "isPure": true,
@@ -5745,18 +5745,18 @@
5745
5745
  }
5746
5746
  ],
5747
5747
  "expression": {
5748
- "id": 26276,
5748
+ "id": 26287,
5749
5749
  "name": "token",
5750
5750
  "nodeType": "Identifier",
5751
5751
  "overloadedDeclarations": [],
5752
- "referencedDeclaration": 26259,
5752
+ "referencedDeclaration": 26270,
5753
5753
  "src": "1074:5:72",
5754
5754
  "typeDescriptions": {
5755
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
5755
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
5756
5756
  "typeString": "contract ISuperfluidToken"
5757
5757
  }
5758
5758
  },
5759
- "id": 26277,
5759
+ "id": 26288,
5760
5760
  "isConstant": false,
5761
5761
  "isLValue": false,
5762
5762
  "isPure": false,
@@ -5764,14 +5764,14 @@
5764
5764
  "memberLocation": "1080:21:72",
5765
5765
  "memberName": "getAgreementStateSlot",
5766
5766
  "nodeType": "MemberAccess",
5767
- "referencedDeclaration": 25369,
5767
+ "referencedDeclaration": 25380,
5768
5768
  "src": "1074:27:72",
5769
5769
  "typeDescriptions": {
5770
5770
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
5771
5771
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
5772
5772
  }
5773
5773
  },
5774
- "id": 26285,
5774
+ "id": 26296,
5775
5775
  "isConstant": false,
5776
5776
  "isLValue": false,
5777
5777
  "isPure": false,
@@ -5787,10 +5787,10 @@
5787
5787
  "typeString": "bytes32[] memory"
5788
5788
  }
5789
5789
  },
5790
- "id": 26287,
5790
+ "id": 26298,
5791
5791
  "indexExpression": {
5792
5792
  "hexValue": "30",
5793
- "id": 26286,
5793
+ "id": 26297,
5794
5794
  "isConstant": false,
5795
5795
  "isLValue": false,
5796
5796
  "isPure": true,
@@ -5823,7 +5823,7 @@
5823
5823
  "typeString": "bytes32"
5824
5824
  }
5825
5825
  ],
5826
- "id": 26275,
5826
+ "id": 26286,
5827
5827
  "isConstant": false,
5828
5828
  "isLValue": false,
5829
5829
  "isPure": true,
@@ -5835,14 +5835,14 @@
5835
5835
  "typeString": "type(uint256)"
5836
5836
  },
5837
5837
  "typeName": {
5838
- "id": 26274,
5838
+ "id": 26285,
5839
5839
  "name": "uint256",
5840
5840
  "nodeType": "ElementaryTypeName",
5841
5841
  "src": "1066:7:72",
5842
5842
  "typeDescriptions": {}
5843
5843
  }
5844
5844
  },
5845
- "id": 26288,
5845
+ "id": 26299,
5846
5846
  "isConstant": false,
5847
5847
  "isLValue": false,
5848
5848
  "isPure": false,
@@ -5863,7 +5863,7 @@
5863
5863
  },
5864
5864
  {
5865
5865
  "body": {
5866
- "id": 26366,
5866
+ "id": 26377,
5867
5867
  "nodeType": "Block",
5868
5868
  "src": "1250:695:72",
5869
5869
  "statements": [
@@ -5873,7 +5873,7 @@
5873
5873
  "typeIdentifier": "t_uint256",
5874
5874
  "typeString": "uint256"
5875
5875
  },
5876
- "id": 26310,
5876
+ "id": 26321,
5877
5877
  "isConstant": false,
5878
5878
  "isLValue": false,
5879
5879
  "isPure": false,
@@ -5885,7 +5885,7 @@
5885
5885
  "typeIdentifier": "t_uint256",
5886
5886
  "typeString": "uint256"
5887
5887
  },
5888
- "id": 26307,
5888
+ "id": 26318,
5889
5889
  "isConstant": false,
5890
5890
  "isLValue": false,
5891
5891
  "isPure": false,
@@ -5897,17 +5897,17 @@
5897
5897
  "typeIdentifier": "t_uint256",
5898
5898
  "typeString": "uint256"
5899
5899
  },
5900
- "id": 26304,
5900
+ "id": 26315,
5901
5901
  "isConstant": false,
5902
5902
  "isLValue": false,
5903
5903
  "isPure": false,
5904
5904
  "lValueRequested": false,
5905
5905
  "leftExpression": {
5906
- "id": 26302,
5906
+ "id": 26313,
5907
5907
  "name": "subsBitmap",
5908
5908
  "nodeType": "Identifier",
5909
5909
  "overloadedDeclarations": [],
5910
- "referencedDeclaration": 26273,
5910
+ "referencedDeclaration": 26284,
5911
5911
  "src": "1277:10:72",
5912
5912
  "typeDescriptions": {
5913
5913
  "typeIdentifier": "t_uint256",
@@ -5917,11 +5917,11 @@
5917
5917
  "nodeType": "BinaryOperation",
5918
5918
  "operator": ">>",
5919
5919
  "rightExpression": {
5920
- "id": 26303,
5920
+ "id": 26314,
5921
5921
  "name": "slotId",
5922
5922
  "nodeType": "Identifier",
5923
5923
  "overloadedDeclarations": [],
5924
- "referencedDeclaration": 26270,
5924
+ "referencedDeclaration": 26281,
5925
5925
  "src": "1291:6:72",
5926
5926
  "typeDescriptions": {
5927
5927
  "typeIdentifier": "t_uint32",
@@ -5942,7 +5942,7 @@
5942
5942
  "typeString": "uint256"
5943
5943
  }
5944
5944
  ],
5945
- "id": 26301,
5945
+ "id": 26312,
5946
5946
  "isConstant": false,
5947
5947
  "isLValue": false,
5948
5948
  "isPure": true,
@@ -5954,14 +5954,14 @@
5954
5954
  "typeString": "type(uint256)"
5955
5955
  },
5956
5956
  "typeName": {
5957
- "id": 26300,
5957
+ "id": 26311,
5958
5958
  "name": "uint256",
5959
5959
  "nodeType": "ElementaryTypeName",
5960
5960
  "src": "1269:7:72",
5961
5961
  "typeDescriptions": {}
5962
5962
  }
5963
5963
  },
5964
- "id": 26305,
5964
+ "id": 26316,
5965
5965
  "isConstant": false,
5966
5966
  "isLValue": false,
5967
5967
  "isPure": false,
@@ -5981,7 +5981,7 @@
5981
5981
  "operator": "&",
5982
5982
  "rightExpression": {
5983
5983
  "hexValue": "31",
5984
- "id": 26306,
5984
+ "id": 26317,
5985
5985
  "isConstant": false,
5986
5986
  "isLValue": false,
5987
5987
  "isPure": true,
@@ -6002,7 +6002,7 @@
6002
6002
  }
6003
6003
  }
6004
6004
  ],
6005
- "id": 26308,
6005
+ "id": 26319,
6006
6006
  "isConstant": false,
6007
6007
  "isInlineArray": false,
6008
6008
  "isLValue": false,
@@ -6019,7 +6019,7 @@
6019
6019
  "operator": "==",
6020
6020
  "rightExpression": {
6021
6021
  "hexValue": "30",
6022
- "id": 26309,
6022
+ "id": 26320,
6023
6023
  "isConstant": false,
6024
6024
  "isLValue": false,
6025
6025
  "isPure": true,
@@ -6039,27 +6039,27 @@
6039
6039
  "typeString": "bool"
6040
6040
  }
6041
6041
  },
6042
- "id": 26365,
6042
+ "id": 26376,
6043
6043
  "nodeType": "IfStatement",
6044
6044
  "src": "1264:671:72",
6045
6045
  "trueBody": {
6046
- "id": 26364,
6046
+ "id": 26375,
6047
6047
  "nodeType": "Block",
6048
6048
  "src": "1310:625:72",
6049
6049
  "statements": [
6050
6050
  {
6051
6051
  "assignments": [
6052
- 26315
6052
+ 26326
6053
6053
  ],
6054
6054
  "declarations": [
6055
6055
  {
6056
6056
  "constant": false,
6057
- "id": 26315,
6057
+ "id": 26326,
6058
6058
  "mutability": "mutable",
6059
6059
  "name": "slotData",
6060
6060
  "nameLocation": "1381:8:72",
6061
6061
  "nodeType": "VariableDeclaration",
6062
- "scope": 26364,
6062
+ "scope": 26375,
6063
6063
  "src": "1364:25:72",
6064
6064
  "stateVariable": false,
6065
6065
  "storageLocation": "memory",
@@ -6069,7 +6069,7 @@
6069
6069
  },
6070
6070
  "typeName": {
6071
6071
  "baseType": {
6072
- "id": 26313,
6072
+ "id": 26324,
6073
6073
  "name": "bytes32",
6074
6074
  "nodeType": "ElementaryTypeName",
6075
6075
  "src": "1364:7:72",
@@ -6078,7 +6078,7 @@
6078
6078
  "typeString": "bytes32"
6079
6079
  }
6080
6080
  },
6081
- "id": 26314,
6081
+ "id": 26325,
6082
6082
  "nodeType": "ArrayTypeName",
6083
6083
  "src": "1364:9:72",
6084
6084
  "typeDescriptions": {
@@ -6089,12 +6089,12 @@
6089
6089
  "visibility": "internal"
6090
6090
  }
6091
6091
  ],
6092
- "id": 26321,
6092
+ "id": 26332,
6093
6093
  "initialValue": {
6094
6094
  "arguments": [
6095
6095
  {
6096
6096
  "hexValue": "31",
6097
- "id": 26319,
6097
+ "id": 26330,
6098
6098
  "isConstant": false,
6099
6099
  "isLValue": false,
6100
6100
  "isPure": true,
@@ -6116,7 +6116,7 @@
6116
6116
  "typeString": "int_const 1"
6117
6117
  }
6118
6118
  ],
6119
- "id": 26318,
6119
+ "id": 26329,
6120
6120
  "isConstant": false,
6121
6121
  "isLValue": false,
6122
6122
  "isPure": true,
@@ -6129,7 +6129,7 @@
6129
6129
  },
6130
6130
  "typeName": {
6131
6131
  "baseType": {
6132
- "id": 26316,
6132
+ "id": 26327,
6133
6133
  "name": "bytes32",
6134
6134
  "nodeType": "ElementaryTypeName",
6135
6135
  "src": "1396:7:72",
@@ -6138,7 +6138,7 @@
6138
6138
  "typeString": "bytes32"
6139
6139
  }
6140
6140
  },
6141
- "id": 26317,
6141
+ "id": 26328,
6142
6142
  "nodeType": "ArrayTypeName",
6143
6143
  "src": "1396:9:72",
6144
6144
  "typeDescriptions": {
@@ -6147,7 +6147,7 @@
6147
6147
  }
6148
6148
  }
6149
6149
  },
6150
- "id": 26320,
6150
+ "id": 26331,
6151
6151
  "isConstant": false,
6152
6152
  "isLValue": false,
6153
6153
  "isPure": true,
@@ -6168,28 +6168,28 @@
6168
6168
  },
6169
6169
  {
6170
6170
  "expression": {
6171
- "id": 26326,
6171
+ "id": 26337,
6172
6172
  "isConstant": false,
6173
6173
  "isLValue": false,
6174
6174
  "isPure": false,
6175
6175
  "lValueRequested": false,
6176
6176
  "leftHandSide": {
6177
6177
  "baseExpression": {
6178
- "id": 26322,
6178
+ "id": 26333,
6179
6179
  "name": "slotData",
6180
6180
  "nodeType": "Identifier",
6181
6181
  "overloadedDeclarations": [],
6182
- "referencedDeclaration": 26315,
6182
+ "referencedDeclaration": 26326,
6183
6183
  "src": "1426:8:72",
6184
6184
  "typeDescriptions": {
6185
6185
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
6186
6186
  "typeString": "bytes32[] memory"
6187
6187
  }
6188
6188
  },
6189
- "id": 26324,
6189
+ "id": 26335,
6190
6190
  "indexExpression": {
6191
6191
  "hexValue": "30",
6192
- "id": 26323,
6192
+ "id": 26334,
6193
6193
  "isConstant": false,
6194
6194
  "isLValue": false,
6195
6195
  "isPure": true,
@@ -6217,11 +6217,11 @@
6217
6217
  "nodeType": "Assignment",
6218
6218
  "operator": "=",
6219
6219
  "rightHandSide": {
6220
- "id": 26325,
6220
+ "id": 26336,
6221
6221
  "name": "data",
6222
6222
  "nodeType": "Identifier",
6223
6223
  "overloadedDeclarations": [],
6224
- "referencedDeclaration": 26267,
6224
+ "referencedDeclaration": 26278,
6225
6225
  "src": "1440:4:72",
6226
6226
  "typeDescriptions": {
6227
6227
  "typeIdentifier": "t_bytes32",
@@ -6234,7 +6234,7 @@
6234
6234
  "typeString": "bytes32"
6235
6235
  }
6236
6236
  },
6237
- "id": 26327,
6237
+ "id": 26338,
6238
6238
  "nodeType": "ExpressionStatement",
6239
6239
  "src": "1426:18:72"
6240
6240
  },
@@ -6242,11 +6242,11 @@
6242
6242
  "expression": {
6243
6243
  "arguments": [
6244
6244
  {
6245
- "id": 26331,
6245
+ "id": 26342,
6246
6246
  "name": "account",
6247
6247
  "nodeType": "Identifier",
6248
6248
  "overloadedDeclarations": [],
6249
- "referencedDeclaration": 26261,
6249
+ "referencedDeclaration": 26272,
6250
6250
  "src": "1514:7:72",
6251
6251
  "typeDescriptions": {
6252
6252
  "typeIdentifier": "t_address",
@@ -6258,17 +6258,17 @@
6258
6258
  "typeIdentifier": "t_uint256",
6259
6259
  "typeString": "uint256"
6260
6260
  },
6261
- "id": 26334,
6261
+ "id": 26345,
6262
6262
  "isConstant": false,
6263
6263
  "isLValue": false,
6264
6264
  "isPure": false,
6265
6265
  "lValueRequested": false,
6266
6266
  "leftExpression": {
6267
- "id": 26332,
6267
+ "id": 26343,
6268
6268
  "name": "dataStateSlotIDStart",
6269
6269
  "nodeType": "Identifier",
6270
6270
  "overloadedDeclarations": [],
6271
- "referencedDeclaration": 26265,
6271
+ "referencedDeclaration": 26276,
6272
6272
  "src": "1543:20:72",
6273
6273
  "typeDescriptions": {
6274
6274
  "typeIdentifier": "t_uint256",
@@ -6278,11 +6278,11 @@
6278
6278
  "nodeType": "BinaryOperation",
6279
6279
  "operator": "+",
6280
6280
  "rightExpression": {
6281
- "id": 26333,
6281
+ "id": 26344,
6282
6282
  "name": "slotId",
6283
6283
  "nodeType": "Identifier",
6284
6284
  "overloadedDeclarations": [],
6285
- "referencedDeclaration": 26270,
6285
+ "referencedDeclaration": 26281,
6286
6286
  "src": "1566:6:72",
6287
6287
  "typeDescriptions": {
6288
6288
  "typeIdentifier": "t_uint32",
@@ -6296,11 +6296,11 @@
6296
6296
  }
6297
6297
  },
6298
6298
  {
6299
- "id": 26335,
6299
+ "id": 26346,
6300
6300
  "name": "slotData",
6301
6301
  "nodeType": "Identifier",
6302
6302
  "overloadedDeclarations": [],
6303
- "referencedDeclaration": 26315,
6303
+ "referencedDeclaration": 26326,
6304
6304
  "src": "1594:8:72",
6305
6305
  "typeDescriptions": {
6306
6306
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -6324,18 +6324,18 @@
6324
6324
  }
6325
6325
  ],
6326
6326
  "expression": {
6327
- "id": 26328,
6327
+ "id": 26339,
6328
6328
  "name": "token",
6329
6329
  "nodeType": "Identifier",
6330
6330
  "overloadedDeclarations": [],
6331
- "referencedDeclaration": 26259,
6331
+ "referencedDeclaration": 26270,
6332
6332
  "src": "1462:5:72",
6333
6333
  "typeDescriptions": {
6334
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
6334
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
6335
6335
  "typeString": "contract ISuperfluidToken"
6336
6336
  }
6337
6337
  },
6338
- "id": 26330,
6338
+ "id": 26341,
6339
6339
  "isConstant": false,
6340
6340
  "isLValue": false,
6341
6341
  "isPure": false,
@@ -6343,14 +6343,14 @@
6343
6343
  "memberLocation": "1468:24:72",
6344
6344
  "memberName": "updateAgreementStateSlot",
6345
6345
  "nodeType": "MemberAccess",
6346
- "referencedDeclaration": 25345,
6346
+ "referencedDeclaration": 25356,
6347
6347
  "src": "1462:30:72",
6348
6348
  "typeDescriptions": {
6349
6349
  "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
6350
6350
  "typeString": "function (address,uint256,bytes32[] memory) external"
6351
6351
  }
6352
6352
  },
6353
- "id": 26336,
6353
+ "id": 26347,
6354
6354
  "isConstant": false,
6355
6355
  "isLValue": false,
6356
6356
  "isPure": false,
@@ -6366,34 +6366,34 @@
6366
6366
  "typeString": "tuple()"
6367
6367
  }
6368
6368
  },
6369
- "id": 26337,
6369
+ "id": 26348,
6370
6370
  "nodeType": "ExpressionStatement",
6371
6371
  "src": "1462:141:72"
6372
6372
  },
6373
6373
  {
6374
6374
  "expression": {
6375
- "id": 26353,
6375
+ "id": 26364,
6376
6376
  "isConstant": false,
6377
6377
  "isLValue": false,
6378
6378
  "isPure": false,
6379
6379
  "lValueRequested": false,
6380
6380
  "leftHandSide": {
6381
6381
  "baseExpression": {
6382
- "id": 26338,
6382
+ "id": 26349,
6383
6383
  "name": "slotData",
6384
6384
  "nodeType": "Identifier",
6385
6385
  "overloadedDeclarations": [],
6386
- "referencedDeclaration": 26315,
6386
+ "referencedDeclaration": 26326,
6387
6387
  "src": "1656:8:72",
6388
6388
  "typeDescriptions": {
6389
6389
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
6390
6390
  "typeString": "bytes32[] memory"
6391
6391
  }
6392
6392
  },
6393
- "id": 26340,
6393
+ "id": 26351,
6394
6394
  "indexExpression": {
6395
6395
  "hexValue": "30",
6396
- "id": 26339,
6396
+ "id": 26350,
6397
6397
  "isConstant": false,
6398
6398
  "isLValue": false,
6399
6399
  "isPure": true,
@@ -6427,17 +6427,17 @@
6427
6427
  "typeIdentifier": "t_uint256",
6428
6428
  "typeString": "uint256"
6429
6429
  },
6430
- "id": 26351,
6430
+ "id": 26362,
6431
6431
  "isConstant": false,
6432
6432
  "isLValue": false,
6433
6433
  "isPure": false,
6434
6434
  "lValueRequested": false,
6435
6435
  "leftExpression": {
6436
- "id": 26343,
6436
+ "id": 26354,
6437
6437
  "name": "subsBitmap",
6438
6438
  "nodeType": "Identifier",
6439
6439
  "overloadedDeclarations": [],
6440
- "referencedDeclaration": 26273,
6440
+ "referencedDeclaration": 26284,
6441
6441
  "src": "1678:10:72",
6442
6442
  "typeDescriptions": {
6443
6443
  "typeIdentifier": "t_uint256",
@@ -6453,14 +6453,14 @@
6453
6453
  "typeIdentifier": "t_uint256",
6454
6454
  "typeString": "uint256"
6455
6455
  },
6456
- "id": 26349,
6456
+ "id": 26360,
6457
6457
  "isConstant": false,
6458
6458
  "isLValue": false,
6459
6459
  "isPure": false,
6460
6460
  "lValueRequested": false,
6461
6461
  "leftExpression": {
6462
6462
  "hexValue": "31",
6463
- "id": 26344,
6463
+ "id": 26355,
6464
6464
  "isConstant": false,
6465
6465
  "isLValue": false,
6466
6466
  "isPure": true,
@@ -6479,11 +6479,11 @@
6479
6479
  "rightExpression": {
6480
6480
  "arguments": [
6481
6481
  {
6482
- "id": 26347,
6482
+ "id": 26358,
6483
6483
  "name": "slotId",
6484
6484
  "nodeType": "Identifier",
6485
6485
  "overloadedDeclarations": [],
6486
- "referencedDeclaration": 26270,
6486
+ "referencedDeclaration": 26281,
6487
6487
  "src": "1705:6:72",
6488
6488
  "typeDescriptions": {
6489
6489
  "typeIdentifier": "t_uint32",
@@ -6498,7 +6498,7 @@
6498
6498
  "typeString": "uint32"
6499
6499
  }
6500
6500
  ],
6501
- "id": 26346,
6501
+ "id": 26357,
6502
6502
  "isConstant": false,
6503
6503
  "isLValue": false,
6504
6504
  "isPure": true,
@@ -6510,14 +6510,14 @@
6510
6510
  "typeString": "type(uint256)"
6511
6511
  },
6512
6512
  "typeName": {
6513
- "id": 26345,
6513
+ "id": 26356,
6514
6514
  "name": "uint256",
6515
6515
  "nodeType": "ElementaryTypeName",
6516
6516
  "src": "1697:7:72",
6517
6517
  "typeDescriptions": {}
6518
6518
  }
6519
6519
  },
6520
- "id": 26348,
6520
+ "id": 26359,
6521
6521
  "isConstant": false,
6522
6522
  "isLValue": false,
6523
6523
  "isPure": false,
@@ -6540,7 +6540,7 @@
6540
6540
  }
6541
6541
  }
6542
6542
  ],
6543
- "id": 26350,
6543
+ "id": 26361,
6544
6544
  "isConstant": false,
6545
6545
  "isInlineArray": false,
6546
6546
  "isLValue": false,
@@ -6567,7 +6567,7 @@
6567
6567
  "typeString": "uint256"
6568
6568
  }
6569
6569
  ],
6570
- "id": 26342,
6570
+ "id": 26353,
6571
6571
  "isConstant": false,
6572
6572
  "isLValue": false,
6573
6573
  "isPure": true,
@@ -6579,14 +6579,14 @@
6579
6579
  "typeString": "type(bytes32)"
6580
6580
  },
6581
6581
  "typeName": {
6582
- "id": 26341,
6582
+ "id": 26352,
6583
6583
  "name": "bytes32",
6584
6584
  "nodeType": "ElementaryTypeName",
6585
6585
  "src": "1670:7:72",
6586
6586
  "typeDescriptions": {}
6587
6587
  }
6588
6588
  },
6589
- "id": 26352,
6589
+ "id": 26363,
6590
6590
  "isConstant": false,
6591
6591
  "isLValue": false,
6592
6592
  "isPure": false,
@@ -6608,7 +6608,7 @@
6608
6608
  "typeString": "bytes32"
6609
6609
  }
6610
6610
  },
6611
- "id": 26354,
6611
+ "id": 26365,
6612
6612
  "nodeType": "ExpressionStatement",
6613
6613
  "src": "1656:58:72"
6614
6614
  },
@@ -6616,11 +6616,11 @@
6616
6616
  "expression": {
6617
6617
  "arguments": [
6618
6618
  {
6619
- "id": 26358,
6619
+ "id": 26369,
6620
6620
  "name": "account",
6621
6621
  "nodeType": "Identifier",
6622
6622
  "overloadedDeclarations": [],
6623
- "referencedDeclaration": 26261,
6623
+ "referencedDeclaration": 26272,
6624
6624
  "src": "1784:7:72",
6625
6625
  "typeDescriptions": {
6626
6626
  "typeIdentifier": "t_address",
@@ -6628,11 +6628,11 @@
6628
6628
  }
6629
6629
  },
6630
6630
  {
6631
- "id": 26359,
6631
+ "id": 26370,
6632
6632
  "name": "bitmapStateSlotId",
6633
6633
  "nodeType": "Identifier",
6634
6634
  "overloadedDeclarations": [],
6635
- "referencedDeclaration": 26263,
6635
+ "referencedDeclaration": 26274,
6636
6636
  "src": "1813:17:72",
6637
6637
  "typeDescriptions": {
6638
6638
  "typeIdentifier": "t_uint256",
@@ -6640,11 +6640,11 @@
6640
6640
  }
6641
6641
  },
6642
6642
  {
6643
- "id": 26360,
6643
+ "id": 26371,
6644
6644
  "name": "slotData",
6645
6645
  "nodeType": "Identifier",
6646
6646
  "overloadedDeclarations": [],
6647
- "referencedDeclaration": 26315,
6647
+ "referencedDeclaration": 26326,
6648
6648
  "src": "1852:8:72",
6649
6649
  "typeDescriptions": {
6650
6650
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -6668,18 +6668,18 @@
6668
6668
  }
6669
6669
  ],
6670
6670
  "expression": {
6671
- "id": 26355,
6671
+ "id": 26366,
6672
6672
  "name": "token",
6673
6673
  "nodeType": "Identifier",
6674
6674
  "overloadedDeclarations": [],
6675
- "referencedDeclaration": 26259,
6675
+ "referencedDeclaration": 26270,
6676
6676
  "src": "1732:5:72",
6677
6677
  "typeDescriptions": {
6678
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
6678
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
6679
6679
  "typeString": "contract ISuperfluidToken"
6680
6680
  }
6681
6681
  },
6682
- "id": 26357,
6682
+ "id": 26368,
6683
6683
  "isConstant": false,
6684
6684
  "isLValue": false,
6685
6685
  "isPure": false,
@@ -6687,14 +6687,14 @@
6687
6687
  "memberLocation": "1738:24:72",
6688
6688
  "memberName": "updateAgreementStateSlot",
6689
6689
  "nodeType": "MemberAccess",
6690
- "referencedDeclaration": 25345,
6690
+ "referencedDeclaration": 25356,
6691
6691
  "src": "1732:30:72",
6692
6692
  "typeDescriptions": {
6693
6693
  "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
6694
6694
  "typeString": "function (address,uint256,bytes32[] memory) external"
6695
6695
  }
6696
6696
  },
6697
- "id": 26361,
6697
+ "id": 26372,
6698
6698
  "isConstant": false,
6699
6699
  "isLValue": false,
6700
6700
  "isPure": false,
@@ -6710,12 +6710,12 @@
6710
6710
  "typeString": "tuple()"
6711
6711
  }
6712
6712
  },
6713
- "id": 26362,
6713
+ "id": 26373,
6714
6714
  "nodeType": "ExpressionStatement",
6715
6715
  "src": "1732:129:72"
6716
6716
  },
6717
6717
  {
6718
- "id": 26363,
6718
+ "id": 26374,
6719
6719
  "nodeType": "Break",
6720
6720
  "src": "1915:5:72"
6721
6721
  }
@@ -6729,17 +6729,17 @@
6729
6729
  "typeIdentifier": "t_uint32",
6730
6730
  "typeString": "uint32"
6731
6731
  },
6732
- "id": 26296,
6732
+ "id": 26307,
6733
6733
  "isConstant": false,
6734
6734
  "isLValue": false,
6735
6735
  "isPure": false,
6736
6736
  "lValueRequested": false,
6737
6737
  "leftExpression": {
6738
- "id": 26294,
6738
+ "id": 26305,
6739
6739
  "name": "slotId",
6740
6740
  "nodeType": "Identifier",
6741
6741
  "overloadedDeclarations": [],
6742
- "referencedDeclaration": 26270,
6742
+ "referencedDeclaration": 26281,
6743
6743
  "src": "1215:6:72",
6744
6744
  "typeDescriptions": {
6745
6745
  "typeIdentifier": "t_uint32",
@@ -6749,11 +6749,11 @@
6749
6749
  "nodeType": "BinaryOperation",
6750
6750
  "operator": "<",
6751
6751
  "rightExpression": {
6752
- "id": 26295,
6752
+ "id": 26306,
6753
6753
  "name": "_MAX_NUM_SLOTS",
6754
6754
  "nodeType": "Identifier",
6755
6755
  "overloadedDeclarations": [],
6756
- "referencedDeclaration": 26256,
6756
+ "referencedDeclaration": 26267,
6757
6757
  "src": "1224:14:72",
6758
6758
  "typeDescriptions": {
6759
6759
  "typeIdentifier": "t_uint32",
@@ -6766,20 +6766,20 @@
6766
6766
  "typeString": "bool"
6767
6767
  }
6768
6768
  },
6769
- "id": 26367,
6769
+ "id": 26378,
6770
6770
  "initializationExpression": {
6771
6771
  "expression": {
6772
- "id": 26292,
6772
+ "id": 26303,
6773
6773
  "isConstant": false,
6774
6774
  "isLValue": false,
6775
6775
  "isPure": false,
6776
6776
  "lValueRequested": false,
6777
6777
  "leftHandSide": {
6778
- "id": 26290,
6778
+ "id": 26301,
6779
6779
  "name": "slotId",
6780
6780
  "nodeType": "Identifier",
6781
6781
  "overloadedDeclarations": [],
6782
- "referencedDeclaration": 26270,
6782
+ "referencedDeclaration": 26281,
6783
6783
  "src": "1203:6:72",
6784
6784
  "typeDescriptions": {
6785
6785
  "typeIdentifier": "t_uint32",
@@ -6790,7 +6790,7 @@
6790
6790
  "operator": "=",
6791
6791
  "rightHandSide": {
6792
6792
  "hexValue": "30",
6793
- "id": 26291,
6793
+ "id": 26302,
6794
6794
  "isConstant": false,
6795
6795
  "isLValue": false,
6796
6796
  "isPure": true,
@@ -6810,13 +6810,13 @@
6810
6810
  "typeString": "uint32"
6811
6811
  }
6812
6812
  },
6813
- "id": 26293,
6813
+ "id": 26304,
6814
6814
  "nodeType": "ExpressionStatement",
6815
6815
  "src": "1203:10:72"
6816
6816
  },
6817
6817
  "loopExpression": {
6818
6818
  "expression": {
6819
- "id": 26298,
6819
+ "id": 26309,
6820
6820
  "isConstant": false,
6821
6821
  "isLValue": false,
6822
6822
  "isPure": false,
@@ -6826,11 +6826,11 @@
6826
6826
  "prefix": true,
6827
6827
  "src": "1240:8:72",
6828
6828
  "subExpression": {
6829
- "id": 26297,
6829
+ "id": 26308,
6830
6830
  "name": "slotId",
6831
6831
  "nodeType": "Identifier",
6832
6832
  "overloadedDeclarations": [],
6833
- "referencedDeclaration": 26270,
6833
+ "referencedDeclaration": 26281,
6834
6834
  "src": "1242:6:72",
6835
6835
  "typeDescriptions": {
6836
6836
  "typeIdentifier": "t_uint32",
@@ -6842,7 +6842,7 @@
6842
6842
  "typeString": "uint32"
6843
6843
  }
6844
6844
  },
6845
- "id": 26299,
6845
+ "id": 26310,
6846
6846
  "nodeType": "ExpressionStatement",
6847
6847
  "src": "1240:8:72"
6848
6848
  },
@@ -6857,17 +6857,17 @@
6857
6857
  "typeIdentifier": "t_uint32",
6858
6858
  "typeString": "uint32"
6859
6859
  },
6860
- "id": 26371,
6860
+ "id": 26382,
6861
6861
  "isConstant": false,
6862
6862
  "isLValue": false,
6863
6863
  "isPure": false,
6864
6864
  "lValueRequested": false,
6865
6865
  "leftExpression": {
6866
- "id": 26369,
6866
+ "id": 26380,
6867
6867
  "name": "slotId",
6868
6868
  "nodeType": "Identifier",
6869
6869
  "overloadedDeclarations": [],
6870
- "referencedDeclaration": 26270,
6870
+ "referencedDeclaration": 26281,
6871
6871
  "src": "1962:6:72",
6872
6872
  "typeDescriptions": {
6873
6873
  "typeIdentifier": "t_uint32",
@@ -6877,11 +6877,11 @@
6877
6877
  "nodeType": "BinaryOperation",
6878
6878
  "operator": "<",
6879
6879
  "rightExpression": {
6880
- "id": 26370,
6880
+ "id": 26381,
6881
6881
  "name": "_MAX_NUM_SLOTS",
6882
6882
  "nodeType": "Identifier",
6883
6883
  "overloadedDeclarations": [],
6884
- "referencedDeclaration": 26256,
6884
+ "referencedDeclaration": 26267,
6885
6885
  "src": "1971:14:72",
6886
6886
  "typeDescriptions": {
6887
6887
  "typeIdentifier": "t_uint32",
@@ -6896,7 +6896,7 @@
6896
6896
  },
6897
6897
  {
6898
6898
  "hexValue": "536c6f744269746d6170206f7574206f6620626f756e64",
6899
- "id": 26372,
6899
+ "id": 26383,
6900
6900
  "isConstant": false,
6901
6901
  "isLValue": false,
6902
6902
  "isPure": true,
@@ -6922,7 +6922,7 @@
6922
6922
  "typeString": "literal_string \"SlotBitmap out of bound\""
6923
6923
  }
6924
6924
  ],
6925
- "id": 26368,
6925
+ "id": 26379,
6926
6926
  "name": "require",
6927
6927
  "nodeType": "Identifier",
6928
6928
  "overloadedDeclarations": [
@@ -6936,7 +6936,7 @@
6936
6936
  "typeString": "function (bool,string memory) pure"
6937
6937
  }
6938
6938
  },
6939
- "id": 26373,
6939
+ "id": 26384,
6940
6940
  "isConstant": false,
6941
6941
  "isLValue": false,
6942
6942
  "isPure": false,
@@ -6952,14 +6952,14 @@
6952
6952
  "typeString": "tuple()"
6953
6953
  }
6954
6954
  },
6955
- "id": 26374,
6955
+ "id": 26385,
6956
6956
  "nodeType": "ExpressionStatement",
6957
6957
  "src": "1954:59:72"
6958
6958
  }
6959
6959
  ]
6960
6960
  },
6961
6961
  "functionSelector": "a3247010",
6962
- "id": 26376,
6962
+ "id": 26387,
6963
6963
  "implemented": true,
6964
6964
  "kind": "function",
6965
6965
  "modifiers": [],
@@ -6967,41 +6967,41 @@
6967
6967
  "nameLocation": "805:20:72",
6968
6968
  "nodeType": "FunctionDefinition",
6969
6969
  "parameters": {
6970
- "id": 26268,
6970
+ "id": 26279,
6971
6971
  "nodeType": "ParameterList",
6972
6972
  "parameters": [
6973
6973
  {
6974
6974
  "constant": false,
6975
- "id": 26259,
6975
+ "id": 26270,
6976
6976
  "mutability": "mutable",
6977
6977
  "name": "token",
6978
6978
  "nameLocation": "852:5:72",
6979
6979
  "nodeType": "VariableDeclaration",
6980
- "scope": 26376,
6980
+ "scope": 26387,
6981
6981
  "src": "835:22:72",
6982
6982
  "stateVariable": false,
6983
6983
  "storageLocation": "default",
6984
6984
  "typeDescriptions": {
6985
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
6985
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
6986
6986
  "typeString": "contract ISuperfluidToken"
6987
6987
  },
6988
6988
  "typeName": {
6989
- "id": 26258,
6989
+ "id": 26269,
6990
6990
  "nodeType": "UserDefinedTypeName",
6991
6991
  "pathNode": {
6992
- "id": 26257,
6992
+ "id": 26268,
6993
6993
  "name": "ISuperfluidToken",
6994
6994
  "nameLocations": [
6995
6995
  "835:16:72"
6996
6996
  ],
6997
6997
  "nodeType": "IdentifierPath",
6998
- "referencedDeclaration": 25452,
6998
+ "referencedDeclaration": 25463,
6999
6999
  "src": "835:16:72"
7000
7000
  },
7001
- "referencedDeclaration": 25452,
7001
+ "referencedDeclaration": 25463,
7002
7002
  "src": "835:16:72",
7003
7003
  "typeDescriptions": {
7004
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
7004
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
7005
7005
  "typeString": "contract ISuperfluidToken"
7006
7006
  }
7007
7007
  },
@@ -7009,12 +7009,12 @@
7009
7009
  },
7010
7010
  {
7011
7011
  "constant": false,
7012
- "id": 26261,
7012
+ "id": 26272,
7013
7013
  "mutability": "mutable",
7014
7014
  "name": "account",
7015
7015
  "nameLocation": "875:7:72",
7016
7016
  "nodeType": "VariableDeclaration",
7017
- "scope": 26376,
7017
+ "scope": 26387,
7018
7018
  "src": "867:15:72",
7019
7019
  "stateVariable": false,
7020
7020
  "storageLocation": "default",
@@ -7023,7 +7023,7 @@
7023
7023
  "typeString": "address"
7024
7024
  },
7025
7025
  "typeName": {
7026
- "id": 26260,
7026
+ "id": 26271,
7027
7027
  "name": "address",
7028
7028
  "nodeType": "ElementaryTypeName",
7029
7029
  "src": "867:7:72",
@@ -7037,12 +7037,12 @@
7037
7037
  },
7038
7038
  {
7039
7039
  "constant": false,
7040
- "id": 26263,
7040
+ "id": 26274,
7041
7041
  "mutability": "mutable",
7042
7042
  "name": "bitmapStateSlotId",
7043
7043
  "nameLocation": "900:17:72",
7044
7044
  "nodeType": "VariableDeclaration",
7045
- "scope": 26376,
7045
+ "scope": 26387,
7046
7046
  "src": "892:25:72",
7047
7047
  "stateVariable": false,
7048
7048
  "storageLocation": "default",
@@ -7051,7 +7051,7 @@
7051
7051
  "typeString": "uint256"
7052
7052
  },
7053
7053
  "typeName": {
7054
- "id": 26262,
7054
+ "id": 26273,
7055
7055
  "name": "uint256",
7056
7056
  "nodeType": "ElementaryTypeName",
7057
7057
  "src": "892:7:72",
@@ -7064,12 +7064,12 @@
7064
7064
  },
7065
7065
  {
7066
7066
  "constant": false,
7067
- "id": 26265,
7067
+ "id": 26276,
7068
7068
  "mutability": "mutable",
7069
7069
  "name": "dataStateSlotIDStart",
7070
7070
  "nameLocation": "935:20:72",
7071
7071
  "nodeType": "VariableDeclaration",
7072
- "scope": 26376,
7072
+ "scope": 26387,
7073
7073
  "src": "927:28:72",
7074
7074
  "stateVariable": false,
7075
7075
  "storageLocation": "default",
@@ -7078,7 +7078,7 @@
7078
7078
  "typeString": "uint256"
7079
7079
  },
7080
7080
  "typeName": {
7081
- "id": 26264,
7081
+ "id": 26275,
7082
7082
  "name": "uint256",
7083
7083
  "nodeType": "ElementaryTypeName",
7084
7084
  "src": "927:7:72",
@@ -7091,12 +7091,12 @@
7091
7091
  },
7092
7092
  {
7093
7093
  "constant": false,
7094
- "id": 26267,
7094
+ "id": 26278,
7095
7095
  "mutability": "mutable",
7096
7096
  "name": "data",
7097
7097
  "nameLocation": "973:4:72",
7098
7098
  "nodeType": "VariableDeclaration",
7099
- "scope": 26376,
7099
+ "scope": 26387,
7100
7100
  "src": "965:12:72",
7101
7101
  "stateVariable": false,
7102
7102
  "storageLocation": "default",
@@ -7105,7 +7105,7 @@
7105
7105
  "typeString": "bytes32"
7106
7106
  },
7107
7107
  "typeName": {
7108
- "id": 26266,
7108
+ "id": 26277,
7109
7109
  "name": "bytes32",
7110
7110
  "nodeType": "ElementaryTypeName",
7111
7111
  "src": "965:7:72",
@@ -7120,17 +7120,17 @@
7120
7120
  "src": "825:158:72"
7121
7121
  },
7122
7122
  "returnParameters": {
7123
- "id": 26271,
7123
+ "id": 26282,
7124
7124
  "nodeType": "ParameterList",
7125
7125
  "parameters": [
7126
7126
  {
7127
7127
  "constant": false,
7128
- "id": 26270,
7128
+ "id": 26281,
7129
7129
  "mutability": "mutable",
7130
7130
  "name": "slotId",
7131
7131
  "nameLocation": "1023:6:72",
7132
7132
  "nodeType": "VariableDeclaration",
7133
- "scope": 26376,
7133
+ "scope": 26387,
7134
7134
  "src": "1016:13:72",
7135
7135
  "stateVariable": false,
7136
7136
  "storageLocation": "default",
@@ -7139,7 +7139,7 @@
7139
7139
  "typeString": "uint32"
7140
7140
  },
7141
7141
  "typeName": {
7142
- "id": 26269,
7142
+ "id": 26280,
7143
7143
  "name": "uint32",
7144
7144
  "nodeType": "ElementaryTypeName",
7145
7145
  "src": "1016:6:72",
@@ -7153,7 +7153,7 @@
7153
7153
  ],
7154
7154
  "src": "1015:15:72"
7155
7155
  },
7156
- "scope": 26569,
7156
+ "scope": 26580,
7157
7157
  "src": "796:1224:72",
7158
7158
  "stateMutability": "nonpayable",
7159
7159
  "virtual": false,
@@ -7161,23 +7161,23 @@
7161
7161
  },
7162
7162
  {
7163
7163
  "body": {
7164
- "id": 26457,
7164
+ "id": 26468,
7165
7165
  "nodeType": "Block",
7166
7166
  "src": "2185:555:72",
7167
7167
  "statements": [
7168
7168
  {
7169
7169
  "assignments": [
7170
- 26389
7170
+ 26400
7171
7171
  ],
7172
7172
  "declarations": [
7173
7173
  {
7174
7174
  "constant": false,
7175
- "id": 26389,
7175
+ "id": 26400,
7176
7176
  "mutability": "mutable",
7177
7177
  "name": "subsBitmap",
7178
7178
  "nameLocation": "2203:10:72",
7179
7179
  "nodeType": "VariableDeclaration",
7180
- "scope": 26457,
7180
+ "scope": 26468,
7181
7181
  "src": "2195:18:72",
7182
7182
  "stateVariable": false,
7183
7183
  "storageLocation": "default",
@@ -7186,7 +7186,7 @@
7186
7186
  "typeString": "uint256"
7187
7187
  },
7188
7188
  "typeName": {
7189
- "id": 26388,
7189
+ "id": 26399,
7190
7190
  "name": "uint256",
7191
7191
  "nodeType": "ElementaryTypeName",
7192
7192
  "src": "2195:7:72",
@@ -7198,7 +7198,7 @@
7198
7198
  "visibility": "internal"
7199
7199
  }
7200
7200
  ],
7201
- "id": 26405,
7201
+ "id": 26416,
7202
7202
  "initialValue": {
7203
7203
  "arguments": [
7204
7204
  {
@@ -7207,14 +7207,14 @@
7207
7207
  {
7208
7208
  "arguments": [
7209
7209
  {
7210
- "id": 26396,
7210
+ "id": 26407,
7211
7211
  "name": "this",
7212
7212
  "nodeType": "Identifier",
7213
7213
  "overloadedDeclarations": [],
7214
7214
  "referencedDeclaration": 4294967268,
7215
7215
  "src": "2273:4:72",
7216
7216
  "typeDescriptions": {
7217
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
7217
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
7218
7218
  "typeString": "library SlotsBitmapLibrary"
7219
7219
  }
7220
7220
  }
@@ -7222,11 +7222,11 @@
7222
7222
  "expression": {
7223
7223
  "argumentTypes": [
7224
7224
  {
7225
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
7225
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
7226
7226
  "typeString": "library SlotsBitmapLibrary"
7227
7227
  }
7228
7228
  ],
7229
- "id": 26395,
7229
+ "id": 26406,
7230
7230
  "isConstant": false,
7231
7231
  "isLValue": false,
7232
7232
  "isPure": true,
@@ -7238,14 +7238,14 @@
7238
7238
  "typeString": "type(address)"
7239
7239
  },
7240
7240
  "typeName": {
7241
- "id": 26394,
7241
+ "id": 26405,
7242
7242
  "name": "address",
7243
7243
  "nodeType": "ElementaryTypeName",
7244
7244
  "src": "2265:7:72",
7245
7245
  "typeDescriptions": {}
7246
7246
  }
7247
7247
  },
7248
- "id": 26397,
7248
+ "id": 26408,
7249
7249
  "isConstant": false,
7250
7250
  "isLValue": false,
7251
7251
  "isPure": false,
@@ -7262,11 +7262,11 @@
7262
7262
  }
7263
7263
  },
7264
7264
  {
7265
- "id": 26398,
7265
+ "id": 26409,
7266
7266
  "name": "account",
7267
7267
  "nodeType": "Identifier",
7268
7268
  "overloadedDeclarations": [],
7269
- "referencedDeclaration": 26381,
7269
+ "referencedDeclaration": 26392,
7270
7270
  "src": "2292:7:72",
7271
7271
  "typeDescriptions": {
7272
7272
  "typeIdentifier": "t_address",
@@ -7274,11 +7274,11 @@
7274
7274
  }
7275
7275
  },
7276
7276
  {
7277
- "id": 26399,
7277
+ "id": 26410,
7278
7278
  "name": "bitmapStateSlotId",
7279
7279
  "nodeType": "Identifier",
7280
7280
  "overloadedDeclarations": [],
7281
- "referencedDeclaration": 26383,
7281
+ "referencedDeclaration": 26394,
7282
7282
  "src": "2313:17:72",
7283
7283
  "typeDescriptions": {
7284
7284
  "typeIdentifier": "t_uint256",
@@ -7287,7 +7287,7 @@
7287
7287
  },
7288
7288
  {
7289
7289
  "hexValue": "31",
7290
- "id": 26400,
7290
+ "id": 26411,
7291
7291
  "isConstant": false,
7292
7292
  "isLValue": false,
7293
7293
  "isPure": true,
@@ -7322,18 +7322,18 @@
7322
7322
  }
7323
7323
  ],
7324
7324
  "expression": {
7325
- "id": 26392,
7325
+ "id": 26403,
7326
7326
  "name": "token",
7327
7327
  "nodeType": "Identifier",
7328
7328
  "overloadedDeclarations": [],
7329
- "referencedDeclaration": 26379,
7329
+ "referencedDeclaration": 26390,
7330
7330
  "src": "2224:5:72",
7331
7331
  "typeDescriptions": {
7332
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
7332
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
7333
7333
  "typeString": "contract ISuperfluidToken"
7334
7334
  }
7335
7335
  },
7336
- "id": 26393,
7336
+ "id": 26404,
7337
7337
  "isConstant": false,
7338
7338
  "isLValue": false,
7339
7339
  "isPure": false,
@@ -7341,14 +7341,14 @@
7341
7341
  "memberLocation": "2230:21:72",
7342
7342
  "memberName": "getAgreementStateSlot",
7343
7343
  "nodeType": "MemberAccess",
7344
- "referencedDeclaration": 25369,
7344
+ "referencedDeclaration": 25380,
7345
7345
  "src": "2224:27:72",
7346
7346
  "typeDescriptions": {
7347
7347
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
7348
7348
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
7349
7349
  }
7350
7350
  },
7351
- "id": 26401,
7351
+ "id": 26412,
7352
7352
  "isConstant": false,
7353
7353
  "isLValue": false,
7354
7354
  "isPure": false,
@@ -7364,10 +7364,10 @@
7364
7364
  "typeString": "bytes32[] memory"
7365
7365
  }
7366
7366
  },
7367
- "id": 26403,
7367
+ "id": 26414,
7368
7368
  "indexExpression": {
7369
7369
  "hexValue": "30",
7370
- "id": 26402,
7370
+ "id": 26413,
7371
7371
  "isConstant": false,
7372
7372
  "isLValue": false,
7373
7373
  "isPure": true,
@@ -7400,7 +7400,7 @@
7400
7400
  "typeString": "bytes32"
7401
7401
  }
7402
7402
  ],
7403
- "id": 26391,
7403
+ "id": 26402,
7404
7404
  "isConstant": false,
7405
7405
  "isLValue": false,
7406
7406
  "isPure": true,
@@ -7412,14 +7412,14 @@
7412
7412
  "typeString": "type(uint256)"
7413
7413
  },
7414
7414
  "typeName": {
7415
- "id": 26390,
7415
+ "id": 26401,
7416
7416
  "name": "uint256",
7417
7417
  "nodeType": "ElementaryTypeName",
7418
7418
  "src": "2216:7:72",
7419
7419
  "typeDescriptions": {}
7420
7420
  }
7421
7421
  },
7422
- "id": 26404,
7422
+ "id": 26415,
7423
7423
  "isConstant": false,
7424
7424
  "isLValue": false,
7425
7425
  "isPure": false,
@@ -7440,17 +7440,17 @@
7440
7440
  },
7441
7441
  {
7442
7442
  "assignments": [
7443
- 26410
7443
+ 26421
7444
7444
  ],
7445
7445
  "declarations": [
7446
7446
  {
7447
7447
  "constant": false,
7448
- "id": 26410,
7448
+ "id": 26421,
7449
7449
  "mutability": "mutable",
7450
7450
  "name": "slotData",
7451
7451
  "nameLocation": "2365:8:72",
7452
7452
  "nodeType": "VariableDeclaration",
7453
- "scope": 26457,
7453
+ "scope": 26468,
7454
7454
  "src": "2348:25:72",
7455
7455
  "stateVariable": false,
7456
7456
  "storageLocation": "memory",
@@ -7460,7 +7460,7 @@
7460
7460
  },
7461
7461
  "typeName": {
7462
7462
  "baseType": {
7463
- "id": 26408,
7463
+ "id": 26419,
7464
7464
  "name": "bytes32",
7465
7465
  "nodeType": "ElementaryTypeName",
7466
7466
  "src": "2348:7:72",
@@ -7469,7 +7469,7 @@
7469
7469
  "typeString": "bytes32"
7470
7470
  }
7471
7471
  },
7472
- "id": 26409,
7472
+ "id": 26420,
7473
7473
  "nodeType": "ArrayTypeName",
7474
7474
  "src": "2348:9:72",
7475
7475
  "typeDescriptions": {
@@ -7480,12 +7480,12 @@
7480
7480
  "visibility": "internal"
7481
7481
  }
7482
7482
  ],
7483
- "id": 26416,
7483
+ "id": 26427,
7484
7484
  "initialValue": {
7485
7485
  "arguments": [
7486
7486
  {
7487
7487
  "hexValue": "31",
7488
- "id": 26414,
7488
+ "id": 26425,
7489
7489
  "isConstant": false,
7490
7490
  "isLValue": false,
7491
7491
  "isPure": true,
@@ -7507,7 +7507,7 @@
7507
7507
  "typeString": "int_const 1"
7508
7508
  }
7509
7509
  ],
7510
- "id": 26413,
7510
+ "id": 26424,
7511
7511
  "isConstant": false,
7512
7512
  "isLValue": false,
7513
7513
  "isPure": true,
@@ -7520,7 +7520,7 @@
7520
7520
  },
7521
7521
  "typeName": {
7522
7522
  "baseType": {
7523
- "id": 26411,
7523
+ "id": 26422,
7524
7524
  "name": "bytes32",
7525
7525
  "nodeType": "ElementaryTypeName",
7526
7526
  "src": "2380:7:72",
@@ -7529,7 +7529,7 @@
7529
7529
  "typeString": "bytes32"
7530
7530
  }
7531
7531
  },
7532
- "id": 26412,
7532
+ "id": 26423,
7533
7533
  "nodeType": "ArrayTypeName",
7534
7534
  "src": "2380:9:72",
7535
7535
  "typeDescriptions": {
@@ -7538,7 +7538,7 @@
7538
7538
  }
7539
7539
  }
7540
7540
  },
7541
- "id": 26415,
7541
+ "id": 26426,
7542
7542
  "isConstant": false,
7543
7543
  "isLValue": false,
7544
7544
  "isPure": true,
@@ -7565,7 +7565,7 @@
7565
7565
  "typeIdentifier": "t_uint256",
7566
7566
  "typeString": "uint256"
7567
7567
  },
7568
- "id": 26428,
7568
+ "id": 26439,
7569
7569
  "isConstant": false,
7570
7570
  "isLValue": false,
7571
7571
  "isPure": false,
@@ -7575,17 +7575,17 @@
7575
7575
  "typeIdentifier": "t_uint256",
7576
7576
  "typeString": "uint256"
7577
7577
  },
7578
- "id": 26426,
7578
+ "id": 26437,
7579
7579
  "isConstant": false,
7580
7580
  "isLValue": false,
7581
7581
  "isPure": false,
7582
7582
  "lValueRequested": false,
7583
7583
  "leftExpression": {
7584
- "id": 26418,
7584
+ "id": 26429,
7585
7585
  "name": "subsBitmap",
7586
7586
  "nodeType": "Identifier",
7587
7587
  "overloadedDeclarations": [],
7588
- "referencedDeclaration": 26389,
7588
+ "referencedDeclaration": 26400,
7589
7589
  "src": "2483:10:72",
7590
7590
  "typeDescriptions": {
7591
7591
  "typeIdentifier": "t_uint256",
@@ -7601,14 +7601,14 @@
7601
7601
  "typeIdentifier": "t_uint256",
7602
7602
  "typeString": "uint256"
7603
7603
  },
7604
- "id": 26424,
7604
+ "id": 26435,
7605
7605
  "isConstant": false,
7606
7606
  "isLValue": false,
7607
7607
  "isPure": false,
7608
7608
  "lValueRequested": false,
7609
7609
  "leftExpression": {
7610
7610
  "hexValue": "31",
7611
- "id": 26419,
7611
+ "id": 26430,
7612
7612
  "isConstant": false,
7613
7613
  "isLValue": false,
7614
7614
  "isPure": true,
@@ -7627,11 +7627,11 @@
7627
7627
  "rightExpression": {
7628
7628
  "arguments": [
7629
7629
  {
7630
- "id": 26422,
7630
+ "id": 26433,
7631
7631
  "name": "slotId",
7632
7632
  "nodeType": "Identifier",
7633
7633
  "overloadedDeclarations": [],
7634
- "referencedDeclaration": 26385,
7634
+ "referencedDeclaration": 26396,
7635
7635
  "src": "2510:6:72",
7636
7636
  "typeDescriptions": {
7637
7637
  "typeIdentifier": "t_uint32",
@@ -7646,7 +7646,7 @@
7646
7646
  "typeString": "uint32"
7647
7647
  }
7648
7648
  ],
7649
- "id": 26421,
7649
+ "id": 26432,
7650
7650
  "isConstant": false,
7651
7651
  "isLValue": false,
7652
7652
  "isPure": true,
@@ -7658,14 +7658,14 @@
7658
7658
  "typeString": "type(uint256)"
7659
7659
  },
7660
7660
  "typeName": {
7661
- "id": 26420,
7661
+ "id": 26431,
7662
7662
  "name": "uint256",
7663
7663
  "nodeType": "ElementaryTypeName",
7664
7664
  "src": "2502:7:72",
7665
7665
  "typeDescriptions": {}
7666
7666
  }
7667
7667
  },
7668
- "id": 26423,
7668
+ "id": 26434,
7669
7669
  "isConstant": false,
7670
7670
  "isLValue": false,
7671
7671
  "isPure": false,
@@ -7688,7 +7688,7 @@
7688
7688
  }
7689
7689
  }
7690
7690
  ],
7691
- "id": 26425,
7691
+ "id": 26436,
7692
7692
  "isConstant": false,
7693
7693
  "isInlineArray": false,
7694
7694
  "isLValue": false,
@@ -7711,7 +7711,7 @@
7711
7711
  "operator": "!=",
7712
7712
  "rightExpression": {
7713
7713
  "hexValue": "30",
7714
- "id": 26427,
7714
+ "id": 26438,
7715
7715
  "isConstant": false,
7716
7716
  "isLValue": false,
7717
7717
  "isPure": true,
@@ -7739,7 +7739,7 @@
7739
7739
  "typeString": "bool"
7740
7740
  }
7741
7741
  ],
7742
- "id": 26417,
7742
+ "id": 26428,
7743
7743
  "name": "assert",
7744
7744
  "nodeType": "Identifier",
7745
7745
  "overloadedDeclarations": [],
@@ -7750,7 +7750,7 @@
7750
7750
  "typeString": "function (bool) pure"
7751
7751
  }
7752
7752
  },
7753
- "id": 26429,
7753
+ "id": 26440,
7754
7754
  "isConstant": false,
7755
7755
  "isLValue": false,
7756
7756
  "isPure": false,
@@ -7766,34 +7766,34 @@
7766
7766
  "typeString": "tuple()"
7767
7767
  }
7768
7768
  },
7769
- "id": 26430,
7769
+ "id": 26441,
7770
7770
  "nodeType": "ExpressionStatement",
7771
7771
  "src": "2476:48:72"
7772
7772
  },
7773
7773
  {
7774
7774
  "expression": {
7775
- "id": 26447,
7775
+ "id": 26458,
7776
7776
  "isConstant": false,
7777
7777
  "isLValue": false,
7778
7778
  "isPure": false,
7779
7779
  "lValueRequested": false,
7780
7780
  "leftHandSide": {
7781
7781
  "baseExpression": {
7782
- "id": 26431,
7782
+ "id": 26442,
7783
7783
  "name": "slotData",
7784
7784
  "nodeType": "Identifier",
7785
7785
  "overloadedDeclarations": [],
7786
- "referencedDeclaration": 26410,
7786
+ "referencedDeclaration": 26421,
7787
7787
  "src": "2534:8:72",
7788
7788
  "typeDescriptions": {
7789
7789
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
7790
7790
  "typeString": "bytes32[] memory"
7791
7791
  }
7792
7792
  },
7793
- "id": 26433,
7793
+ "id": 26444,
7794
7794
  "indexExpression": {
7795
7795
  "hexValue": "30",
7796
- "id": 26432,
7796
+ "id": 26443,
7797
7797
  "isConstant": false,
7798
7798
  "isLValue": false,
7799
7799
  "isPure": true,
@@ -7827,17 +7827,17 @@
7827
7827
  "typeIdentifier": "t_uint256",
7828
7828
  "typeString": "uint256"
7829
7829
  },
7830
- "id": 26445,
7830
+ "id": 26456,
7831
7831
  "isConstant": false,
7832
7832
  "isLValue": false,
7833
7833
  "isPure": false,
7834
7834
  "lValueRequested": false,
7835
7835
  "leftExpression": {
7836
- "id": 26436,
7836
+ "id": 26447,
7837
7837
  "name": "subsBitmap",
7838
7838
  "nodeType": "Identifier",
7839
7839
  "overloadedDeclarations": [],
7840
- "referencedDeclaration": 26389,
7840
+ "referencedDeclaration": 26400,
7841
7841
  "src": "2556:10:72",
7842
7842
  "typeDescriptions": {
7843
7843
  "typeIdentifier": "t_uint256",
@@ -7847,7 +7847,7 @@
7847
7847
  "nodeType": "BinaryOperation",
7848
7848
  "operator": "&",
7849
7849
  "rightExpression": {
7850
- "id": 26444,
7850
+ "id": 26455,
7851
7851
  "isConstant": false,
7852
7852
  "isLValue": false,
7853
7853
  "isPure": false,
@@ -7863,14 +7863,14 @@
7863
7863
  "typeIdentifier": "t_uint256",
7864
7864
  "typeString": "uint256"
7865
7865
  },
7866
- "id": 26442,
7866
+ "id": 26453,
7867
7867
  "isConstant": false,
7868
7868
  "isLValue": false,
7869
7869
  "isPure": false,
7870
7870
  "lValueRequested": false,
7871
7871
  "leftExpression": {
7872
7872
  "hexValue": "31",
7873
- "id": 26437,
7873
+ "id": 26448,
7874
7874
  "isConstant": false,
7875
7875
  "isLValue": false,
7876
7876
  "isPure": true,
@@ -7889,11 +7889,11 @@
7889
7889
  "rightExpression": {
7890
7890
  "arguments": [
7891
7891
  {
7892
- "id": 26440,
7892
+ "id": 26451,
7893
7893
  "name": "slotId",
7894
7894
  "nodeType": "Identifier",
7895
7895
  "overloadedDeclarations": [],
7896
- "referencedDeclaration": 26385,
7896
+ "referencedDeclaration": 26396,
7897
7897
  "src": "2584:6:72",
7898
7898
  "typeDescriptions": {
7899
7899
  "typeIdentifier": "t_uint32",
@@ -7908,7 +7908,7 @@
7908
7908
  "typeString": "uint32"
7909
7909
  }
7910
7910
  ],
7911
- "id": 26439,
7911
+ "id": 26450,
7912
7912
  "isConstant": false,
7913
7913
  "isLValue": false,
7914
7914
  "isPure": true,
@@ -7920,14 +7920,14 @@
7920
7920
  "typeString": "type(uint256)"
7921
7921
  },
7922
7922
  "typeName": {
7923
- "id": 26438,
7923
+ "id": 26449,
7924
7924
  "name": "uint256",
7925
7925
  "nodeType": "ElementaryTypeName",
7926
7926
  "src": "2576:7:72",
7927
7927
  "typeDescriptions": {}
7928
7928
  }
7929
7929
  },
7930
- "id": 26441,
7930
+ "id": 26452,
7931
7931
  "isConstant": false,
7932
7932
  "isLValue": false,
7933
7933
  "isPure": false,
@@ -7950,7 +7950,7 @@
7950
7950
  }
7951
7951
  }
7952
7952
  ],
7953
- "id": 26443,
7953
+ "id": 26454,
7954
7954
  "isConstant": false,
7955
7955
  "isInlineArray": false,
7956
7956
  "isLValue": false,
@@ -7982,7 +7982,7 @@
7982
7982
  "typeString": "uint256"
7983
7983
  }
7984
7984
  ],
7985
- "id": 26435,
7985
+ "id": 26446,
7986
7986
  "isConstant": false,
7987
7987
  "isLValue": false,
7988
7988
  "isPure": true,
@@ -7994,14 +7994,14 @@
7994
7994
  "typeString": "type(bytes32)"
7995
7995
  },
7996
7996
  "typeName": {
7997
- "id": 26434,
7997
+ "id": 26445,
7998
7998
  "name": "bytes32",
7999
7999
  "nodeType": "ElementaryTypeName",
8000
8000
  "src": "2548:7:72",
8001
8001
  "typeDescriptions": {}
8002
8002
  }
8003
8003
  },
8004
- "id": 26446,
8004
+ "id": 26457,
8005
8005
  "isConstant": false,
8006
8006
  "isLValue": false,
8007
8007
  "isPure": false,
@@ -8023,7 +8023,7 @@
8023
8023
  "typeString": "bytes32"
8024
8024
  }
8025
8025
  },
8026
- "id": 26448,
8026
+ "id": 26459,
8027
8027
  "nodeType": "ExpressionStatement",
8028
8028
  "src": "2534:59:72"
8029
8029
  },
@@ -8031,11 +8031,11 @@
8031
8031
  "expression": {
8032
8032
  "arguments": [
8033
8033
  {
8034
- "id": 26452,
8034
+ "id": 26463,
8035
8035
  "name": "account",
8036
8036
  "nodeType": "Identifier",
8037
8037
  "overloadedDeclarations": [],
8038
- "referencedDeclaration": 26381,
8038
+ "referencedDeclaration": 26392,
8039
8039
  "src": "2672:7:72",
8040
8040
  "typeDescriptions": {
8041
8041
  "typeIdentifier": "t_address",
@@ -8043,11 +8043,11 @@
8043
8043
  }
8044
8044
  },
8045
8045
  {
8046
- "id": 26453,
8046
+ "id": 26464,
8047
8047
  "name": "bitmapStateSlotId",
8048
8048
  "nodeType": "Identifier",
8049
8049
  "overloadedDeclarations": [],
8050
- "referencedDeclaration": 26383,
8050
+ "referencedDeclaration": 26394,
8051
8051
  "src": "2693:17:72",
8052
8052
  "typeDescriptions": {
8053
8053
  "typeIdentifier": "t_uint256",
@@ -8055,11 +8055,11 @@
8055
8055
  }
8056
8056
  },
8057
8057
  {
8058
- "id": 26454,
8058
+ "id": 26465,
8059
8059
  "name": "slotData",
8060
8060
  "nodeType": "Identifier",
8061
8061
  "overloadedDeclarations": [],
8062
- "referencedDeclaration": 26410,
8062
+ "referencedDeclaration": 26421,
8063
8063
  "src": "2724:8:72",
8064
8064
  "typeDescriptions": {
8065
8065
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -8083,18 +8083,18 @@
8083
8083
  }
8084
8084
  ],
8085
8085
  "expression": {
8086
- "id": 26449,
8086
+ "id": 26460,
8087
8087
  "name": "token",
8088
8088
  "nodeType": "Identifier",
8089
8089
  "overloadedDeclarations": [],
8090
- "referencedDeclaration": 26379,
8090
+ "referencedDeclaration": 26390,
8091
8091
  "src": "2628:5:72",
8092
8092
  "typeDescriptions": {
8093
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
8093
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
8094
8094
  "typeString": "contract ISuperfluidToken"
8095
8095
  }
8096
8096
  },
8097
- "id": 26451,
8097
+ "id": 26462,
8098
8098
  "isConstant": false,
8099
8099
  "isLValue": false,
8100
8100
  "isPure": false,
@@ -8102,14 +8102,14 @@
8102
8102
  "memberLocation": "2634:24:72",
8103
8103
  "memberName": "updateAgreementStateSlot",
8104
8104
  "nodeType": "MemberAccess",
8105
- "referencedDeclaration": 25345,
8105
+ "referencedDeclaration": 25356,
8106
8106
  "src": "2628:30:72",
8107
8107
  "typeDescriptions": {
8108
8108
  "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
8109
8109
  "typeString": "function (address,uint256,bytes32[] memory) external"
8110
8110
  }
8111
8111
  },
8112
- "id": 26455,
8112
+ "id": 26466,
8113
8113
  "isConstant": false,
8114
8114
  "isLValue": false,
8115
8115
  "isPure": false,
@@ -8125,14 +8125,14 @@
8125
8125
  "typeString": "tuple()"
8126
8126
  }
8127
8127
  },
8128
- "id": 26456,
8128
+ "id": 26467,
8129
8129
  "nodeType": "ExpressionStatement",
8130
8130
  "src": "2628:105:72"
8131
8131
  }
8132
8132
  ]
8133
8133
  },
8134
8134
  "functionSelector": "a9472bf8",
8135
- "id": 26458,
8135
+ "id": 26469,
8136
8136
  "implemented": true,
8137
8137
  "kind": "function",
8138
8138
  "modifiers": [],
@@ -8140,41 +8140,41 @@
8140
8140
  "nameLocation": "2035:9:72",
8141
8141
  "nodeType": "FunctionDefinition",
8142
8142
  "parameters": {
8143
- "id": 26386,
8143
+ "id": 26397,
8144
8144
  "nodeType": "ParameterList",
8145
8145
  "parameters": [
8146
8146
  {
8147
8147
  "constant": false,
8148
- "id": 26379,
8148
+ "id": 26390,
8149
8149
  "mutability": "mutable",
8150
8150
  "name": "token",
8151
8151
  "nameLocation": "2071:5:72",
8152
8152
  "nodeType": "VariableDeclaration",
8153
- "scope": 26458,
8153
+ "scope": 26469,
8154
8154
  "src": "2054:22:72",
8155
8155
  "stateVariable": false,
8156
8156
  "storageLocation": "default",
8157
8157
  "typeDescriptions": {
8158
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
8158
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
8159
8159
  "typeString": "contract ISuperfluidToken"
8160
8160
  },
8161
8161
  "typeName": {
8162
- "id": 26378,
8162
+ "id": 26389,
8163
8163
  "nodeType": "UserDefinedTypeName",
8164
8164
  "pathNode": {
8165
- "id": 26377,
8165
+ "id": 26388,
8166
8166
  "name": "ISuperfluidToken",
8167
8167
  "nameLocations": [
8168
8168
  "2054:16:72"
8169
8169
  ],
8170
8170
  "nodeType": "IdentifierPath",
8171
- "referencedDeclaration": 25452,
8171
+ "referencedDeclaration": 25463,
8172
8172
  "src": "2054:16:72"
8173
8173
  },
8174
- "referencedDeclaration": 25452,
8174
+ "referencedDeclaration": 25463,
8175
8175
  "src": "2054:16:72",
8176
8176
  "typeDescriptions": {
8177
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
8177
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
8178
8178
  "typeString": "contract ISuperfluidToken"
8179
8179
  }
8180
8180
  },
@@ -8182,12 +8182,12 @@
8182
8182
  },
8183
8183
  {
8184
8184
  "constant": false,
8185
- "id": 26381,
8185
+ "id": 26392,
8186
8186
  "mutability": "mutable",
8187
8187
  "name": "account",
8188
8188
  "nameLocation": "2094:7:72",
8189
8189
  "nodeType": "VariableDeclaration",
8190
- "scope": 26458,
8190
+ "scope": 26469,
8191
8191
  "src": "2086:15:72",
8192
8192
  "stateVariable": false,
8193
8193
  "storageLocation": "default",
@@ -8196,7 +8196,7 @@
8196
8196
  "typeString": "address"
8197
8197
  },
8198
8198
  "typeName": {
8199
- "id": 26380,
8199
+ "id": 26391,
8200
8200
  "name": "address",
8201
8201
  "nodeType": "ElementaryTypeName",
8202
8202
  "src": "2086:7:72",
@@ -8210,12 +8210,12 @@
8210
8210
  },
8211
8211
  {
8212
8212
  "constant": false,
8213
- "id": 26383,
8213
+ "id": 26394,
8214
8214
  "mutability": "mutable",
8215
8215
  "name": "bitmapStateSlotId",
8216
8216
  "nameLocation": "2119:17:72",
8217
8217
  "nodeType": "VariableDeclaration",
8218
- "scope": 26458,
8218
+ "scope": 26469,
8219
8219
  "src": "2111:25:72",
8220
8220
  "stateVariable": false,
8221
8221
  "storageLocation": "default",
@@ -8224,7 +8224,7 @@
8224
8224
  "typeString": "uint256"
8225
8225
  },
8226
8226
  "typeName": {
8227
- "id": 26382,
8227
+ "id": 26393,
8228
8228
  "name": "uint256",
8229
8229
  "nodeType": "ElementaryTypeName",
8230
8230
  "src": "2111:7:72",
@@ -8237,12 +8237,12 @@
8237
8237
  },
8238
8238
  {
8239
8239
  "constant": false,
8240
- "id": 26385,
8240
+ "id": 26396,
8241
8241
  "mutability": "mutable",
8242
8242
  "name": "slotId",
8243
8243
  "nameLocation": "2153:6:72",
8244
8244
  "nodeType": "VariableDeclaration",
8245
- "scope": 26458,
8245
+ "scope": 26469,
8246
8246
  "src": "2146:13:72",
8247
8247
  "stateVariable": false,
8248
8248
  "storageLocation": "default",
@@ -8251,7 +8251,7 @@
8251
8251
  "typeString": "uint32"
8252
8252
  },
8253
8253
  "typeName": {
8254
- "id": 26384,
8254
+ "id": 26395,
8255
8255
  "name": "uint32",
8256
8256
  "nodeType": "ElementaryTypeName",
8257
8257
  "src": "2146:6:72",
@@ -8266,12 +8266,12 @@
8266
8266
  "src": "2044:121:72"
8267
8267
  },
8268
8268
  "returnParameters": {
8269
- "id": 26387,
8269
+ "id": 26398,
8270
8270
  "nodeType": "ParameterList",
8271
8271
  "parameters": [],
8272
8272
  "src": "2185:0:72"
8273
8273
  },
8274
- "scope": 26569,
8274
+ "scope": 26580,
8275
8275
  "src": "2026:714:72",
8276
8276
  "stateMutability": "nonpayable",
8277
8277
  "virtual": false,
@@ -8279,23 +8279,23 @@
8279
8279
  },
8280
8280
  {
8281
8281
  "body": {
8282
- "id": 26567,
8282
+ "id": 26578,
8283
8283
  "nodeType": "Block",
8284
8284
  "src": "3014:817:72",
8285
8285
  "statements": [
8286
8286
  {
8287
8287
  "assignments": [
8288
- 26477
8288
+ 26488
8289
8289
  ],
8290
8290
  "declarations": [
8291
8291
  {
8292
8292
  "constant": false,
8293
- "id": 26477,
8293
+ "id": 26488,
8294
8294
  "mutability": "mutable",
8295
8295
  "name": "subsBitmap",
8296
8296
  "nameLocation": "3032:10:72",
8297
8297
  "nodeType": "VariableDeclaration",
8298
- "scope": 26567,
8298
+ "scope": 26578,
8299
8299
  "src": "3024:18:72",
8300
8300
  "stateVariable": false,
8301
8301
  "storageLocation": "default",
@@ -8304,7 +8304,7 @@
8304
8304
  "typeString": "uint256"
8305
8305
  },
8306
8306
  "typeName": {
8307
- "id": 26476,
8307
+ "id": 26487,
8308
8308
  "name": "uint256",
8309
8309
  "nodeType": "ElementaryTypeName",
8310
8310
  "src": "3024:7:72",
@@ -8316,7 +8316,7 @@
8316
8316
  "visibility": "internal"
8317
8317
  }
8318
8318
  ],
8319
- "id": 26493,
8319
+ "id": 26504,
8320
8320
  "initialValue": {
8321
8321
  "arguments": [
8322
8322
  {
@@ -8325,14 +8325,14 @@
8325
8325
  {
8326
8326
  "arguments": [
8327
8327
  {
8328
- "id": 26484,
8328
+ "id": 26495,
8329
8329
  "name": "this",
8330
8330
  "nodeType": "Identifier",
8331
8331
  "overloadedDeclarations": [],
8332
8332
  "referencedDeclaration": 4294967268,
8333
8333
  "src": "3102:4:72",
8334
8334
  "typeDescriptions": {
8335
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
8335
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
8336
8336
  "typeString": "library SlotsBitmapLibrary"
8337
8337
  }
8338
8338
  }
@@ -8340,11 +8340,11 @@
8340
8340
  "expression": {
8341
8341
  "argumentTypes": [
8342
8342
  {
8343
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
8343
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
8344
8344
  "typeString": "library SlotsBitmapLibrary"
8345
8345
  }
8346
8346
  ],
8347
- "id": 26483,
8347
+ "id": 26494,
8348
8348
  "isConstant": false,
8349
8349
  "isLValue": false,
8350
8350
  "isPure": true,
@@ -8356,14 +8356,14 @@
8356
8356
  "typeString": "type(address)"
8357
8357
  },
8358
8358
  "typeName": {
8359
- "id": 26482,
8359
+ "id": 26493,
8360
8360
  "name": "address",
8361
8361
  "nodeType": "ElementaryTypeName",
8362
8362
  "src": "3094:7:72",
8363
8363
  "typeDescriptions": {}
8364
8364
  }
8365
8365
  },
8366
- "id": 26485,
8366
+ "id": 26496,
8367
8367
  "isConstant": false,
8368
8368
  "isLValue": false,
8369
8369
  "isPure": false,
@@ -8380,11 +8380,11 @@
8380
8380
  }
8381
8381
  },
8382
8382
  {
8383
- "id": 26486,
8383
+ "id": 26497,
8384
8384
  "name": "account",
8385
8385
  "nodeType": "Identifier",
8386
8386
  "overloadedDeclarations": [],
8387
- "referencedDeclaration": 26463,
8387
+ "referencedDeclaration": 26474,
8388
8388
  "src": "3121:7:72",
8389
8389
  "typeDescriptions": {
8390
8390
  "typeIdentifier": "t_address",
@@ -8392,11 +8392,11 @@
8392
8392
  }
8393
8393
  },
8394
8394
  {
8395
- "id": 26487,
8395
+ "id": 26498,
8396
8396
  "name": "bitmapStateSlotId",
8397
8397
  "nodeType": "Identifier",
8398
8398
  "overloadedDeclarations": [],
8399
- "referencedDeclaration": 26465,
8399
+ "referencedDeclaration": 26476,
8400
8400
  "src": "3142:17:72",
8401
8401
  "typeDescriptions": {
8402
8402
  "typeIdentifier": "t_uint256",
@@ -8405,7 +8405,7 @@
8405
8405
  },
8406
8406
  {
8407
8407
  "hexValue": "31",
8408
- "id": 26488,
8408
+ "id": 26499,
8409
8409
  "isConstant": false,
8410
8410
  "isLValue": false,
8411
8411
  "isPure": true,
@@ -8440,18 +8440,18 @@
8440
8440
  }
8441
8441
  ],
8442
8442
  "expression": {
8443
- "id": 26480,
8443
+ "id": 26491,
8444
8444
  "name": "token",
8445
8445
  "nodeType": "Identifier",
8446
8446
  "overloadedDeclarations": [],
8447
- "referencedDeclaration": 26461,
8447
+ "referencedDeclaration": 26472,
8448
8448
  "src": "3053:5:72",
8449
8449
  "typeDescriptions": {
8450
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
8450
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
8451
8451
  "typeString": "contract ISuperfluidToken"
8452
8452
  }
8453
8453
  },
8454
- "id": 26481,
8454
+ "id": 26492,
8455
8455
  "isConstant": false,
8456
8456
  "isLValue": false,
8457
8457
  "isPure": false,
@@ -8459,14 +8459,14 @@
8459
8459
  "memberLocation": "3059:21:72",
8460
8460
  "memberName": "getAgreementStateSlot",
8461
8461
  "nodeType": "MemberAccess",
8462
- "referencedDeclaration": 25369,
8462
+ "referencedDeclaration": 25380,
8463
8463
  "src": "3053:27:72",
8464
8464
  "typeDescriptions": {
8465
8465
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
8466
8466
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
8467
8467
  }
8468
8468
  },
8469
- "id": 26489,
8469
+ "id": 26500,
8470
8470
  "isConstant": false,
8471
8471
  "isLValue": false,
8472
8472
  "isPure": false,
@@ -8482,10 +8482,10 @@
8482
8482
  "typeString": "bytes32[] memory"
8483
8483
  }
8484
8484
  },
8485
- "id": 26491,
8485
+ "id": 26502,
8486
8486
  "indexExpression": {
8487
8487
  "hexValue": "30",
8488
- "id": 26490,
8488
+ "id": 26501,
8489
8489
  "isConstant": false,
8490
8490
  "isLValue": false,
8491
8491
  "isPure": true,
@@ -8518,7 +8518,7 @@
8518
8518
  "typeString": "bytes32"
8519
8519
  }
8520
8520
  ],
8521
- "id": 26479,
8521
+ "id": 26490,
8522
8522
  "isConstant": false,
8523
8523
  "isLValue": false,
8524
8524
  "isPure": true,
@@ -8530,14 +8530,14 @@
8530
8530
  "typeString": "type(uint256)"
8531
8531
  },
8532
8532
  "typeName": {
8533
- "id": 26478,
8533
+ "id": 26489,
8534
8534
  "name": "uint256",
8535
8535
  "nodeType": "ElementaryTypeName",
8536
8536
  "src": "3045:7:72",
8537
8537
  "typeDescriptions": {}
8538
8538
  }
8539
8539
  },
8540
- "id": 26492,
8540
+ "id": 26503,
8541
8541
  "isConstant": false,
8542
8542
  "isLValue": false,
8543
8543
  "isPure": false,
@@ -8558,17 +8558,17 @@
8558
8558
  },
8559
8559
  {
8560
8560
  "expression": {
8561
- "id": 26500,
8561
+ "id": 26511,
8562
8562
  "isConstant": false,
8563
8563
  "isLValue": false,
8564
8564
  "isPure": false,
8565
8565
  "lValueRequested": false,
8566
8566
  "leftHandSide": {
8567
- "id": 26494,
8567
+ "id": 26505,
8568
8568
  "name": "slotIds",
8569
8569
  "nodeType": "Identifier",
8570
8570
  "overloadedDeclarations": [],
8571
- "referencedDeclaration": 26471,
8571
+ "referencedDeclaration": 26482,
8572
8572
  "src": "3178:7:72",
8573
8573
  "typeDescriptions": {
8574
8574
  "typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
@@ -8580,11 +8580,11 @@
8580
8580
  "rightHandSide": {
8581
8581
  "arguments": [
8582
8582
  {
8583
- "id": 26498,
8583
+ "id": 26509,
8584
8584
  "name": "_MAX_NUM_SLOTS",
8585
8585
  "nodeType": "Identifier",
8586
8586
  "overloadedDeclarations": [],
8587
- "referencedDeclaration": 26256,
8587
+ "referencedDeclaration": 26267,
8588
8588
  "src": "3201:14:72",
8589
8589
  "typeDescriptions": {
8590
8590
  "typeIdentifier": "t_uint32",
@@ -8599,7 +8599,7 @@
8599
8599
  "typeString": "uint32"
8600
8600
  }
8601
8601
  ],
8602
- "id": 26497,
8602
+ "id": 26508,
8603
8603
  "isConstant": false,
8604
8604
  "isLValue": false,
8605
8605
  "isPure": true,
@@ -8612,7 +8612,7 @@
8612
8612
  },
8613
8613
  "typeName": {
8614
8614
  "baseType": {
8615
- "id": 26495,
8615
+ "id": 26506,
8616
8616
  "name": "uint32",
8617
8617
  "nodeType": "ElementaryTypeName",
8618
8618
  "src": "3192:6:72",
@@ -8621,7 +8621,7 @@
8621
8621
  "typeString": "uint32"
8622
8622
  }
8623
8623
  },
8624
- "id": 26496,
8624
+ "id": 26507,
8625
8625
  "nodeType": "ArrayTypeName",
8626
8626
  "src": "3192:8:72",
8627
8627
  "typeDescriptions": {
@@ -8630,7 +8630,7 @@
8630
8630
  }
8631
8631
  }
8632
8632
  },
8633
- "id": 26499,
8633
+ "id": 26510,
8634
8634
  "isConstant": false,
8635
8635
  "isLValue": false,
8636
8636
  "isPure": true,
@@ -8652,23 +8652,23 @@
8652
8652
  "typeString": "uint32[] memory"
8653
8653
  }
8654
8654
  },
8655
- "id": 26501,
8655
+ "id": 26512,
8656
8656
  "nodeType": "ExpressionStatement",
8657
8657
  "src": "3178:38:72"
8658
8658
  },
8659
8659
  {
8660
8660
  "expression": {
8661
- "id": 26508,
8661
+ "id": 26519,
8662
8662
  "isConstant": false,
8663
8663
  "isLValue": false,
8664
8664
  "isPure": false,
8665
8665
  "lValueRequested": false,
8666
8666
  "leftHandSide": {
8667
- "id": 26502,
8667
+ "id": 26513,
8668
8668
  "name": "dataList",
8669
8669
  "nodeType": "Identifier",
8670
8670
  "overloadedDeclarations": [],
8671
- "referencedDeclaration": 26474,
8671
+ "referencedDeclaration": 26485,
8672
8672
  "src": "3226:8:72",
8673
8673
  "typeDescriptions": {
8674
8674
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -8680,11 +8680,11 @@
8680
8680
  "rightHandSide": {
8681
8681
  "arguments": [
8682
8682
  {
8683
- "id": 26506,
8683
+ "id": 26517,
8684
8684
  "name": "_MAX_NUM_SLOTS",
8685
8685
  "nodeType": "Identifier",
8686
8686
  "overloadedDeclarations": [],
8687
- "referencedDeclaration": 26256,
8687
+ "referencedDeclaration": 26267,
8688
8688
  "src": "3251:14:72",
8689
8689
  "typeDescriptions": {
8690
8690
  "typeIdentifier": "t_uint32",
@@ -8699,7 +8699,7 @@
8699
8699
  "typeString": "uint32"
8700
8700
  }
8701
8701
  ],
8702
- "id": 26505,
8702
+ "id": 26516,
8703
8703
  "isConstant": false,
8704
8704
  "isLValue": false,
8705
8705
  "isPure": true,
@@ -8712,7 +8712,7 @@
8712
8712
  },
8713
8713
  "typeName": {
8714
8714
  "baseType": {
8715
- "id": 26503,
8715
+ "id": 26514,
8716
8716
  "name": "bytes32",
8717
8717
  "nodeType": "ElementaryTypeName",
8718
8718
  "src": "3241:7:72",
@@ -8721,7 +8721,7 @@
8721
8721
  "typeString": "bytes32"
8722
8722
  }
8723
8723
  },
8724
- "id": 26504,
8724
+ "id": 26515,
8725
8725
  "nodeType": "ArrayTypeName",
8726
8726
  "src": "3241:9:72",
8727
8727
  "typeDescriptions": {
@@ -8730,7 +8730,7 @@
8730
8730
  }
8731
8731
  }
8732
8732
  },
8733
- "id": 26507,
8733
+ "id": 26518,
8734
8734
  "isConstant": false,
8735
8735
  "isLValue": false,
8736
8736
  "isPure": true,
@@ -8752,23 +8752,23 @@
8752
8752
  "typeString": "bytes32[] memory"
8753
8753
  }
8754
8754
  },
8755
- "id": 26509,
8755
+ "id": 26520,
8756
8756
  "nodeType": "ExpressionStatement",
8757
8757
  "src": "3226:40:72"
8758
8758
  },
8759
8759
  {
8760
8760
  "assignments": [
8761
- 26511
8761
+ 26522
8762
8762
  ],
8763
8763
  "declarations": [
8764
8764
  {
8765
8765
  "constant": false,
8766
- "id": 26511,
8766
+ "id": 26522,
8767
8767
  "mutability": "mutable",
8768
8768
  "name": "nSlots",
8769
8769
  "nameLocation": "3307:6:72",
8770
8770
  "nodeType": "VariableDeclaration",
8771
- "scope": 26567,
8771
+ "scope": 26578,
8772
8772
  "src": "3302:11:72",
8773
8773
  "stateVariable": false,
8774
8774
  "storageLocation": "default",
@@ -8777,7 +8777,7 @@
8777
8777
  "typeString": "uint256"
8778
8778
  },
8779
8779
  "typeName": {
8780
- "id": 26510,
8780
+ "id": 26521,
8781
8781
  "name": "uint",
8782
8782
  "nodeType": "ElementaryTypeName",
8783
8783
  "src": "3302:4:72",
@@ -8789,13 +8789,13 @@
8789
8789
  "visibility": "internal"
8790
8790
  }
8791
8791
  ],
8792
- "id": 26512,
8792
+ "id": 26523,
8793
8793
  "nodeType": "VariableDeclarationStatement",
8794
8794
  "src": "3302:11:72"
8795
8795
  },
8796
8796
  {
8797
8797
  "body": {
8798
- "id": 26564,
8798
+ "id": 26575,
8799
8799
  "nodeType": "Block",
8800
8800
  "src": "3382:309:72",
8801
8801
  "statements": [
@@ -8805,7 +8805,7 @@
8805
8805
  "typeIdentifier": "t_uint256",
8806
8806
  "typeString": "uint256"
8807
8807
  },
8808
- "id": 26533,
8808
+ "id": 26544,
8809
8809
  "isConstant": false,
8810
8810
  "isLValue": false,
8811
8811
  "isPure": false,
@@ -8817,7 +8817,7 @@
8817
8817
  "typeIdentifier": "t_uint256",
8818
8818
  "typeString": "uint256"
8819
8819
  },
8820
- "id": 26530,
8820
+ "id": 26541,
8821
8821
  "isConstant": false,
8822
8822
  "isLValue": false,
8823
8823
  "isPure": false,
@@ -8829,17 +8829,17 @@
8829
8829
  "typeIdentifier": "t_uint256",
8830
8830
  "typeString": "uint256"
8831
8831
  },
8832
- "id": 26527,
8832
+ "id": 26538,
8833
8833
  "isConstant": false,
8834
8834
  "isLValue": false,
8835
8835
  "isPure": false,
8836
8836
  "lValueRequested": false,
8837
8837
  "leftExpression": {
8838
- "id": 26525,
8838
+ "id": 26536,
8839
8839
  "name": "subsBitmap",
8840
8840
  "nodeType": "Identifier",
8841
8841
  "overloadedDeclarations": [],
8842
- "referencedDeclaration": 26477,
8842
+ "referencedDeclaration": 26488,
8843
8843
  "src": "3409:10:72",
8844
8844
  "typeDescriptions": {
8845
8845
  "typeIdentifier": "t_uint256",
@@ -8849,11 +8849,11 @@
8849
8849
  "nodeType": "BinaryOperation",
8850
8850
  "operator": ">>",
8851
8851
  "rightExpression": {
8852
- "id": 26526,
8852
+ "id": 26537,
8853
8853
  "name": "slotId",
8854
8854
  "nodeType": "Identifier",
8855
8855
  "overloadedDeclarations": [],
8856
- "referencedDeclaration": 26514,
8856
+ "referencedDeclaration": 26525,
8857
8857
  "src": "3423:6:72",
8858
8858
  "typeDescriptions": {
8859
8859
  "typeIdentifier": "t_uint32",
@@ -8874,7 +8874,7 @@
8874
8874
  "typeString": "uint256"
8875
8875
  }
8876
8876
  ],
8877
- "id": 26524,
8877
+ "id": 26535,
8878
8878
  "isConstant": false,
8879
8879
  "isLValue": false,
8880
8880
  "isPure": true,
@@ -8886,14 +8886,14 @@
8886
8886
  "typeString": "type(uint256)"
8887
8887
  },
8888
8888
  "typeName": {
8889
- "id": 26523,
8889
+ "id": 26534,
8890
8890
  "name": "uint256",
8891
8891
  "nodeType": "ElementaryTypeName",
8892
8892
  "src": "3401:7:72",
8893
8893
  "typeDescriptions": {}
8894
8894
  }
8895
8895
  },
8896
- "id": 26528,
8896
+ "id": 26539,
8897
8897
  "isConstant": false,
8898
8898
  "isLValue": false,
8899
8899
  "isPure": false,
@@ -8913,7 +8913,7 @@
8913
8913
  "operator": "&",
8914
8914
  "rightExpression": {
8915
8915
  "hexValue": "31",
8916
- "id": 26529,
8916
+ "id": 26540,
8917
8917
  "isConstant": false,
8918
8918
  "isLValue": false,
8919
8919
  "isPure": true,
@@ -8934,7 +8934,7 @@
8934
8934
  }
8935
8935
  }
8936
8936
  ],
8937
- "id": 26531,
8937
+ "id": 26542,
8938
8938
  "isConstant": false,
8939
8939
  "isInlineArray": false,
8940
8940
  "isLValue": false,
@@ -8951,7 +8951,7 @@
8951
8951
  "operator": "==",
8952
8952
  "rightExpression": {
8953
8953
  "hexValue": "30",
8954
- "id": 26532,
8954
+ "id": 26543,
8955
8955
  "isConstant": false,
8956
8956
  "isLValue": false,
8957
8957
  "isPure": true,
@@ -8971,42 +8971,42 @@
8971
8971
  "typeString": "bool"
8972
8972
  }
8973
8973
  },
8974
- "id": 26535,
8974
+ "id": 26546,
8975
8975
  "nodeType": "IfStatement",
8976
8976
  "src": "3396:54:72",
8977
8977
  "trueBody": {
8978
- "id": 26534,
8978
+ "id": 26545,
8979
8979
  "nodeType": "Continue",
8980
8980
  "src": "3442:8:72"
8981
8981
  }
8982
8982
  },
8983
8983
  {
8984
8984
  "expression": {
8985
- "id": 26540,
8985
+ "id": 26551,
8986
8986
  "isConstant": false,
8987
8987
  "isLValue": false,
8988
8988
  "isPure": false,
8989
8989
  "lValueRequested": false,
8990
8990
  "leftHandSide": {
8991
8991
  "baseExpression": {
8992
- "id": 26536,
8992
+ "id": 26547,
8993
8993
  "name": "slotIds",
8994
8994
  "nodeType": "Identifier",
8995
8995
  "overloadedDeclarations": [],
8996
- "referencedDeclaration": 26471,
8996
+ "referencedDeclaration": 26482,
8997
8997
  "src": "3464:7:72",
8998
8998
  "typeDescriptions": {
8999
8999
  "typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
9000
9000
  "typeString": "uint32[] memory"
9001
9001
  }
9002
9002
  },
9003
- "id": 26538,
9003
+ "id": 26549,
9004
9004
  "indexExpression": {
9005
- "id": 26537,
9005
+ "id": 26548,
9006
9006
  "name": "nSlots",
9007
9007
  "nodeType": "Identifier",
9008
9008
  "overloadedDeclarations": [],
9009
- "referencedDeclaration": 26511,
9009
+ "referencedDeclaration": 26522,
9010
9010
  "src": "3472:6:72",
9011
9011
  "typeDescriptions": {
9012
9012
  "typeIdentifier": "t_uint256",
@@ -9027,11 +9027,11 @@
9027
9027
  "nodeType": "Assignment",
9028
9028
  "operator": "=",
9029
9029
  "rightHandSide": {
9030
- "id": 26539,
9030
+ "id": 26550,
9031
9031
  "name": "slotId",
9032
9032
  "nodeType": "Identifier",
9033
9033
  "overloadedDeclarations": [],
9034
- "referencedDeclaration": 26514,
9034
+ "referencedDeclaration": 26525,
9035
9035
  "src": "3482:6:72",
9036
9036
  "typeDescriptions": {
9037
9037
  "typeIdentifier": "t_uint32",
@@ -9044,37 +9044,37 @@
9044
9044
  "typeString": "uint32"
9045
9045
  }
9046
9046
  },
9047
- "id": 26541,
9047
+ "id": 26552,
9048
9048
  "nodeType": "ExpressionStatement",
9049
9049
  "src": "3464:24:72"
9050
9050
  },
9051
9051
  {
9052
9052
  "expression": {
9053
- "id": 26559,
9053
+ "id": 26570,
9054
9054
  "isConstant": false,
9055
9055
  "isLValue": false,
9056
9056
  "isPure": false,
9057
9057
  "lValueRequested": false,
9058
9058
  "leftHandSide": {
9059
9059
  "baseExpression": {
9060
- "id": 26542,
9060
+ "id": 26553,
9061
9061
  "name": "dataList",
9062
9062
  "nodeType": "Identifier",
9063
9063
  "overloadedDeclarations": [],
9064
- "referencedDeclaration": 26474,
9064
+ "referencedDeclaration": 26485,
9065
9065
  "src": "3502:8:72",
9066
9066
  "typeDescriptions": {
9067
9067
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
9068
9068
  "typeString": "bytes32[] memory"
9069
9069
  }
9070
9070
  },
9071
- "id": 26544,
9071
+ "id": 26555,
9072
9072
  "indexExpression": {
9073
- "id": 26543,
9073
+ "id": 26554,
9074
9074
  "name": "nSlots",
9075
9075
  "nodeType": "Identifier",
9076
9076
  "overloadedDeclarations": [],
9077
- "referencedDeclaration": 26511,
9077
+ "referencedDeclaration": 26522,
9078
9078
  "src": "3511:6:72",
9079
9079
  "typeDescriptions": {
9080
9080
  "typeIdentifier": "t_uint256",
@@ -9100,14 +9100,14 @@
9100
9100
  {
9101
9101
  "arguments": [
9102
9102
  {
9103
- "id": 26549,
9103
+ "id": 26560,
9104
9104
  "name": "this",
9105
9105
  "nodeType": "Identifier",
9106
9106
  "overloadedDeclarations": [],
9107
9107
  "referencedDeclaration": 4294967268,
9108
9108
  "src": "3574:4:72",
9109
9109
  "typeDescriptions": {
9110
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
9110
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
9111
9111
  "typeString": "library SlotsBitmapLibrary"
9112
9112
  }
9113
9113
  }
@@ -9115,11 +9115,11 @@
9115
9115
  "expression": {
9116
9116
  "argumentTypes": [
9117
9117
  {
9118
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26569",
9118
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$26580",
9119
9119
  "typeString": "library SlotsBitmapLibrary"
9120
9120
  }
9121
9121
  ],
9122
- "id": 26548,
9122
+ "id": 26559,
9123
9123
  "isConstant": false,
9124
9124
  "isLValue": false,
9125
9125
  "isPure": true,
@@ -9131,14 +9131,14 @@
9131
9131
  "typeString": "type(address)"
9132
9132
  },
9133
9133
  "typeName": {
9134
- "id": 26547,
9134
+ "id": 26558,
9135
9135
  "name": "address",
9136
9136
  "nodeType": "ElementaryTypeName",
9137
9137
  "src": "3566:7:72",
9138
9138
  "typeDescriptions": {}
9139
9139
  }
9140
9140
  },
9141
- "id": 26550,
9141
+ "id": 26561,
9142
9142
  "isConstant": false,
9143
9143
  "isLValue": false,
9144
9144
  "isPure": false,
@@ -9155,11 +9155,11 @@
9155
9155
  }
9156
9156
  },
9157
9157
  {
9158
- "id": 26551,
9158
+ "id": 26562,
9159
9159
  "name": "account",
9160
9160
  "nodeType": "Identifier",
9161
9161
  "overloadedDeclarations": [],
9162
- "referencedDeclaration": 26463,
9162
+ "referencedDeclaration": 26474,
9163
9163
  "src": "3597:7:72",
9164
9164
  "typeDescriptions": {
9165
9165
  "typeIdentifier": "t_address",
@@ -9171,17 +9171,17 @@
9171
9171
  "typeIdentifier": "t_uint256",
9172
9172
  "typeString": "uint256"
9173
9173
  },
9174
- "id": 26554,
9174
+ "id": 26565,
9175
9175
  "isConstant": false,
9176
9176
  "isLValue": false,
9177
9177
  "isPure": false,
9178
9178
  "lValueRequested": false,
9179
9179
  "leftExpression": {
9180
- "id": 26552,
9180
+ "id": 26563,
9181
9181
  "name": "dataStateSlotIDStart",
9182
9182
  "nodeType": "Identifier",
9183
9183
  "overloadedDeclarations": [],
9184
- "referencedDeclaration": 26467,
9184
+ "referencedDeclaration": 26478,
9185
9185
  "src": "3622:20:72",
9186
9186
  "typeDescriptions": {
9187
9187
  "typeIdentifier": "t_uint256",
@@ -9191,11 +9191,11 @@
9191
9191
  "nodeType": "BinaryOperation",
9192
9192
  "operator": "+",
9193
9193
  "rightExpression": {
9194
- "id": 26553,
9194
+ "id": 26564,
9195
9195
  "name": "slotId",
9196
9196
  "nodeType": "Identifier",
9197
9197
  "overloadedDeclarations": [],
9198
- "referencedDeclaration": 26514,
9198
+ "referencedDeclaration": 26525,
9199
9199
  "src": "3645:6:72",
9200
9200
  "typeDescriptions": {
9201
9201
  "typeIdentifier": "t_uint32",
@@ -9210,7 +9210,7 @@
9210
9210
  },
9211
9211
  {
9212
9212
  "hexValue": "31",
9213
- "id": 26555,
9213
+ "id": 26566,
9214
9214
  "isConstant": false,
9215
9215
  "isLValue": false,
9216
9216
  "isPure": true,
@@ -9245,18 +9245,18 @@
9245
9245
  }
9246
9246
  ],
9247
9247
  "expression": {
9248
- "id": 26545,
9248
+ "id": 26556,
9249
9249
  "name": "token",
9250
9250
  "nodeType": "Identifier",
9251
9251
  "overloadedDeclarations": [],
9252
- "referencedDeclaration": 26461,
9252
+ "referencedDeclaration": 26472,
9253
9253
  "src": "3521:5:72",
9254
9254
  "typeDescriptions": {
9255
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
9255
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
9256
9256
  "typeString": "contract ISuperfluidToken"
9257
9257
  }
9258
9258
  },
9259
- "id": 26546,
9259
+ "id": 26557,
9260
9260
  "isConstant": false,
9261
9261
  "isLValue": false,
9262
9262
  "isPure": false,
@@ -9264,14 +9264,14 @@
9264
9264
  "memberLocation": "3527:21:72",
9265
9265
  "memberName": "getAgreementStateSlot",
9266
9266
  "nodeType": "MemberAccess",
9267
- "referencedDeclaration": 25369,
9267
+ "referencedDeclaration": 25380,
9268
9268
  "src": "3521:27:72",
9269
9269
  "typeDescriptions": {
9270
9270
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
9271
9271
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
9272
9272
  }
9273
9273
  },
9274
- "id": 26556,
9274
+ "id": 26567,
9275
9275
  "isConstant": false,
9276
9276
  "isLValue": false,
9277
9277
  "isPure": false,
@@ -9287,10 +9287,10 @@
9287
9287
  "typeString": "bytes32[] memory"
9288
9288
  }
9289
9289
  },
9290
- "id": 26558,
9290
+ "id": 26569,
9291
9291
  "indexExpression": {
9292
9292
  "hexValue": "30",
9293
- "id": 26557,
9293
+ "id": 26568,
9294
9294
  "isConstant": false,
9295
9295
  "isLValue": false,
9296
9296
  "isPure": true,
@@ -9321,13 +9321,13 @@
9321
9321
  "typeString": "bytes32"
9322
9322
  }
9323
9323
  },
9324
- "id": 26560,
9324
+ "id": 26571,
9325
9325
  "nodeType": "ExpressionStatement",
9326
9326
  "src": "3502:156:72"
9327
9327
  },
9328
9328
  {
9329
9329
  "expression": {
9330
- "id": 26562,
9330
+ "id": 26573,
9331
9331
  "isConstant": false,
9332
9332
  "isLValue": false,
9333
9333
  "isPure": false,
@@ -9337,11 +9337,11 @@
9337
9337
  "prefix": true,
9338
9338
  "src": "3672:8:72",
9339
9339
  "subExpression": {
9340
- "id": 26561,
9340
+ "id": 26572,
9341
9341
  "name": "nSlots",
9342
9342
  "nodeType": "Identifier",
9343
9343
  "overloadedDeclarations": [],
9344
- "referencedDeclaration": 26511,
9344
+ "referencedDeclaration": 26522,
9345
9345
  "src": "3674:6:72",
9346
9346
  "typeDescriptions": {
9347
9347
  "typeIdentifier": "t_uint256",
@@ -9353,7 +9353,7 @@
9353
9353
  "typeString": "uint256"
9354
9354
  }
9355
9355
  },
9356
- "id": 26563,
9356
+ "id": 26574,
9357
9357
  "nodeType": "ExpressionStatement",
9358
9358
  "src": "3672:8:72"
9359
9359
  }
@@ -9364,17 +9364,17 @@
9364
9364
  "typeIdentifier": "t_uint32",
9365
9365
  "typeString": "uint32"
9366
9366
  },
9367
- "id": 26519,
9367
+ "id": 26530,
9368
9368
  "isConstant": false,
9369
9369
  "isLValue": false,
9370
9370
  "isPure": false,
9371
9371
  "lValueRequested": false,
9372
9372
  "leftExpression": {
9373
- "id": 26517,
9373
+ "id": 26528,
9374
9374
  "name": "slotId",
9375
9375
  "nodeType": "Identifier",
9376
9376
  "overloadedDeclarations": [],
9377
- "referencedDeclaration": 26514,
9377
+ "referencedDeclaration": 26525,
9378
9378
  "src": "3347:6:72",
9379
9379
  "typeDescriptions": {
9380
9380
  "typeIdentifier": "t_uint32",
@@ -9384,11 +9384,11 @@
9384
9384
  "nodeType": "BinaryOperation",
9385
9385
  "operator": "<",
9386
9386
  "rightExpression": {
9387
- "id": 26518,
9387
+ "id": 26529,
9388
9388
  "name": "_MAX_NUM_SLOTS",
9389
9389
  "nodeType": "Identifier",
9390
9390
  "overloadedDeclarations": [],
9391
- "referencedDeclaration": 26256,
9391
+ "referencedDeclaration": 26267,
9392
9392
  "src": "3356:14:72",
9393
9393
  "typeDescriptions": {
9394
9394
  "typeIdentifier": "t_uint32",
@@ -9401,20 +9401,20 @@
9401
9401
  "typeString": "bool"
9402
9402
  }
9403
9403
  },
9404
- "id": 26565,
9404
+ "id": 26576,
9405
9405
  "initializationExpression": {
9406
9406
  "assignments": [
9407
- 26514
9407
+ 26525
9408
9408
  ],
9409
9409
  "declarations": [
9410
9410
  {
9411
9411
  "constant": false,
9412
- "id": 26514,
9412
+ "id": 26525,
9413
9413
  "mutability": "mutable",
9414
9414
  "name": "slotId",
9415
9415
  "nameLocation": "3335:6:72",
9416
9416
  "nodeType": "VariableDeclaration",
9417
- "scope": 26565,
9417
+ "scope": 26576,
9418
9418
  "src": "3328:13:72",
9419
9419
  "stateVariable": false,
9420
9420
  "storageLocation": "default",
@@ -9423,7 +9423,7 @@
9423
9423
  "typeString": "uint32"
9424
9424
  },
9425
9425
  "typeName": {
9426
- "id": 26513,
9426
+ "id": 26524,
9427
9427
  "name": "uint32",
9428
9428
  "nodeType": "ElementaryTypeName",
9429
9429
  "src": "3328:6:72",
@@ -9435,10 +9435,10 @@
9435
9435
  "visibility": "internal"
9436
9436
  }
9437
9437
  ],
9438
- "id": 26516,
9438
+ "id": 26527,
9439
9439
  "initialValue": {
9440
9440
  "hexValue": "30",
9441
- "id": 26515,
9441
+ "id": 26526,
9442
9442
  "isConstant": false,
9443
9443
  "isLValue": false,
9444
9444
  "isPure": true,
@@ -9457,7 +9457,7 @@
9457
9457
  },
9458
9458
  "loopExpression": {
9459
9459
  "expression": {
9460
- "id": 26521,
9460
+ "id": 26532,
9461
9461
  "isConstant": false,
9462
9462
  "isLValue": false,
9463
9463
  "isPure": false,
@@ -9467,11 +9467,11 @@
9467
9467
  "prefix": true,
9468
9468
  "src": "3372:8:72",
9469
9469
  "subExpression": {
9470
- "id": 26520,
9470
+ "id": 26531,
9471
9471
  "name": "slotId",
9472
9472
  "nodeType": "Identifier",
9473
9473
  "overloadedDeclarations": [],
9474
- "referencedDeclaration": 26514,
9474
+ "referencedDeclaration": 26525,
9475
9475
  "src": "3374:6:72",
9476
9476
  "typeDescriptions": {
9477
9477
  "typeIdentifier": "t_uint32",
@@ -9483,7 +9483,7 @@
9483
9483
  "typeString": "uint32"
9484
9484
  }
9485
9485
  },
9486
- "id": 26522,
9486
+ "id": 26533,
9487
9487
  "nodeType": "ExpressionStatement",
9488
9488
  "src": "3372:8:72"
9489
9489
  },
@@ -9550,42 +9550,42 @@
9550
9550
  "evmVersion": "paris",
9551
9551
  "externalReferences": [
9552
9552
  {
9553
- "declaration": 26474,
9553
+ "declaration": 26485,
9554
9554
  "isOffset": false,
9555
9555
  "isSlot": false,
9556
9556
  "src": "3798:8:72",
9557
9557
  "valueSize": 1
9558
9558
  },
9559
9559
  {
9560
- "declaration": 26511,
9560
+ "declaration": 26522,
9561
9561
  "isOffset": false,
9562
9562
  "isSlot": false,
9563
9563
  "src": "3771:6:72",
9564
9564
  "valueSize": 1
9565
9565
  },
9566
9566
  {
9567
- "declaration": 26511,
9567
+ "declaration": 26522,
9568
9568
  "isOffset": false,
9569
9569
  "isSlot": false,
9570
9570
  "src": "3808:6:72",
9571
9571
  "valueSize": 1
9572
9572
  },
9573
9573
  {
9574
- "declaration": 26471,
9574
+ "declaration": 26482,
9575
9575
  "isOffset": false,
9576
9576
  "isSlot": false,
9577
9577
  "src": "3762:7:72",
9578
9578
  "valueSize": 1
9579
9579
  }
9580
9580
  ],
9581
- "id": 26566,
9581
+ "id": 26577,
9582
9582
  "nodeType": "InlineAssembly",
9583
9583
  "src": "3732:93:72"
9584
9584
  }
9585
9585
  ]
9586
9586
  },
9587
9587
  "functionSelector": "06967a8c",
9588
- "id": 26568,
9588
+ "id": 26579,
9589
9589
  "implemented": true,
9590
9590
  "kind": "function",
9591
9591
  "modifiers": [],
@@ -9593,41 +9593,41 @@
9593
9593
  "nameLocation": "2755:8:72",
9594
9594
  "nodeType": "FunctionDefinition",
9595
9595
  "parameters": {
9596
- "id": 26468,
9596
+ "id": 26479,
9597
9597
  "nodeType": "ParameterList",
9598
9598
  "parameters": [
9599
9599
  {
9600
9600
  "constant": false,
9601
- "id": 26461,
9601
+ "id": 26472,
9602
9602
  "mutability": "mutable",
9603
9603
  "name": "token",
9604
9604
  "nameLocation": "2789:5:72",
9605
9605
  "nodeType": "VariableDeclaration",
9606
- "scope": 26568,
9606
+ "scope": 26579,
9607
9607
  "src": "2772:22:72",
9608
9608
  "stateVariable": false,
9609
9609
  "storageLocation": "default",
9610
9610
  "typeDescriptions": {
9611
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
9611
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
9612
9612
  "typeString": "contract ISuperfluidToken"
9613
9613
  },
9614
9614
  "typeName": {
9615
- "id": 26460,
9615
+ "id": 26471,
9616
9616
  "nodeType": "UserDefinedTypeName",
9617
9617
  "pathNode": {
9618
- "id": 26459,
9618
+ "id": 26470,
9619
9619
  "name": "ISuperfluidToken",
9620
9620
  "nameLocations": [
9621
9621
  "2772:16:72"
9622
9622
  ],
9623
9623
  "nodeType": "IdentifierPath",
9624
- "referencedDeclaration": 25452,
9624
+ "referencedDeclaration": 25463,
9625
9625
  "src": "2772:16:72"
9626
9626
  },
9627
- "referencedDeclaration": 25452,
9627
+ "referencedDeclaration": 25463,
9628
9628
  "src": "2772:16:72",
9629
9629
  "typeDescriptions": {
9630
- "typeIdentifier": "t_contract$_ISuperfluidToken_$25452",
9630
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$25463",
9631
9631
  "typeString": "contract ISuperfluidToken"
9632
9632
  }
9633
9633
  },
@@ -9635,12 +9635,12 @@
9635
9635
  },
9636
9636
  {
9637
9637
  "constant": false,
9638
- "id": 26463,
9638
+ "id": 26474,
9639
9639
  "mutability": "mutable",
9640
9640
  "name": "account",
9641
9641
  "nameLocation": "2811:7:72",
9642
9642
  "nodeType": "VariableDeclaration",
9643
- "scope": 26568,
9643
+ "scope": 26579,
9644
9644
  "src": "2803:15:72",
9645
9645
  "stateVariable": false,
9646
9646
  "storageLocation": "default",
@@ -9649,7 +9649,7 @@
9649
9649
  "typeString": "address"
9650
9650
  },
9651
9651
  "typeName": {
9652
- "id": 26462,
9652
+ "id": 26473,
9653
9653
  "name": "address",
9654
9654
  "nodeType": "ElementaryTypeName",
9655
9655
  "src": "2803:7:72",
@@ -9663,12 +9663,12 @@
9663
9663
  },
9664
9664
  {
9665
9665
  "constant": false,
9666
- "id": 26465,
9666
+ "id": 26476,
9667
9667
  "mutability": "mutable",
9668
9668
  "name": "bitmapStateSlotId",
9669
9669
  "nameLocation": "2835:17:72",
9670
9670
  "nodeType": "VariableDeclaration",
9671
- "scope": 26568,
9671
+ "scope": 26579,
9672
9672
  "src": "2827:25:72",
9673
9673
  "stateVariable": false,
9674
9674
  "storageLocation": "default",
@@ -9677,7 +9677,7 @@
9677
9677
  "typeString": "uint256"
9678
9678
  },
9679
9679
  "typeName": {
9680
- "id": 26464,
9680
+ "id": 26475,
9681
9681
  "name": "uint256",
9682
9682
  "nodeType": "ElementaryTypeName",
9683
9683
  "src": "2827:7:72",
@@ -9690,12 +9690,12 @@
9690
9690
  },
9691
9691
  {
9692
9692
  "constant": false,
9693
- "id": 26467,
9693
+ "id": 26478,
9694
9694
  "mutability": "mutable",
9695
9695
  "name": "dataStateSlotIDStart",
9696
9696
  "nameLocation": "2869:20:72",
9697
9697
  "nodeType": "VariableDeclaration",
9698
- "scope": 26568,
9698
+ "scope": 26579,
9699
9699
  "src": "2861:28:72",
9700
9700
  "stateVariable": false,
9701
9701
  "storageLocation": "default",
@@ -9704,7 +9704,7 @@
9704
9704
  "typeString": "uint256"
9705
9705
  },
9706
9706
  "typeName": {
9707
- "id": 26466,
9707
+ "id": 26477,
9708
9708
  "name": "uint256",
9709
9709
  "nodeType": "ElementaryTypeName",
9710
9710
  "src": "2861:7:72",
@@ -9719,17 +9719,17 @@
9719
9719
  "src": "2763:132:72"
9720
9720
  },
9721
9721
  "returnParameters": {
9722
- "id": 26475,
9722
+ "id": 26486,
9723
9723
  "nodeType": "ParameterList",
9724
9724
  "parameters": [
9725
9725
  {
9726
9726
  "constant": false,
9727
- "id": 26471,
9727
+ "id": 26482,
9728
9728
  "mutability": "mutable",
9729
9729
  "name": "slotIds",
9730
9730
  "nameLocation": "2962:7:72",
9731
9731
  "nodeType": "VariableDeclaration",
9732
- "scope": 26568,
9732
+ "scope": 26579,
9733
9733
  "src": "2946:23:72",
9734
9734
  "stateVariable": false,
9735
9735
  "storageLocation": "memory",
@@ -9739,7 +9739,7 @@
9739
9739
  },
9740
9740
  "typeName": {
9741
9741
  "baseType": {
9742
- "id": 26469,
9742
+ "id": 26480,
9743
9743
  "name": "uint32",
9744
9744
  "nodeType": "ElementaryTypeName",
9745
9745
  "src": "2946:6:72",
@@ -9748,7 +9748,7 @@
9748
9748
  "typeString": "uint32"
9749
9749
  }
9750
9750
  },
9751
- "id": 26470,
9751
+ "id": 26481,
9752
9752
  "nodeType": "ArrayTypeName",
9753
9753
  "src": "2946:8:72",
9754
9754
  "typeDescriptions": {
@@ -9760,12 +9760,12 @@
9760
9760
  },
9761
9761
  {
9762
9762
  "constant": false,
9763
- "id": 26474,
9763
+ "id": 26485,
9764
9764
  "mutability": "mutable",
9765
9765
  "name": "dataList",
9766
9766
  "nameLocation": "3000:8:72",
9767
9767
  "nodeType": "VariableDeclaration",
9768
- "scope": 26568,
9768
+ "scope": 26579,
9769
9769
  "src": "2983:25:72",
9770
9770
  "stateVariable": false,
9771
9771
  "storageLocation": "memory",
@@ -9775,7 +9775,7 @@
9775
9775
  },
9776
9776
  "typeName": {
9777
9777
  "baseType": {
9778
- "id": 26472,
9778
+ "id": 26483,
9779
9779
  "name": "bytes32",
9780
9780
  "nodeType": "ElementaryTypeName",
9781
9781
  "src": "2983:7:72",
@@ -9784,7 +9784,7 @@
9784
9784
  "typeString": "bytes32"
9785
9785
  }
9786
9786
  },
9787
- "id": 26473,
9787
+ "id": 26484,
9788
9788
  "nodeType": "ArrayTypeName",
9789
9789
  "src": "2983:9:72",
9790
9790
  "typeDescriptions": {
@@ -9797,14 +9797,14 @@
9797
9797
  ],
9798
9798
  "src": "2932:77:72"
9799
9799
  },
9800
- "scope": 26569,
9800
+ "scope": 26580,
9801
9801
  "src": "2746:1085:72",
9802
9802
  "stateMutability": "view",
9803
9803
  "virtual": false,
9804
9804
  "visibility": "public"
9805
9805
  }
9806
9806
  ],
9807
- "scope": 26570,
9807
+ "scope": 26581,
9808
9808
  "src": "710:3123:72",
9809
9809
  "usedErrors": []
9810
9810
  }
@@ -9817,7 +9817,7 @@
9817
9817
  },
9818
9818
  "networks": {},
9819
9819
  "schemaVersion": "3.4.13",
9820
- "updatedAt": "2023-06-28T11:03:18.864Z",
9820
+ "updatedAt": "2023-07-07T14:28:48.684Z",
9821
9821
  "devdoc": {
9822
9822
  "author": "Superfluid",
9823
9823
  "details": "A library implements slots bitmap on Superfluid Token storage NOTE: - A slots bitmap allows you to iterate through a list of data efficiently. - A data slot can be enabled or disabled with the help of bitmap. - MAX_NUM_SLOTS is 256 in this implementation (using one uint256) - Superfluid token storage usage: - getAgreementStateSlot(bitmapStateSlotId) stores the bitmap of enabled data slots - getAgreementStateSlot(dataStateSlotIDStart + stotId) stores the data of the slot",