@superfluid-finance/ethereum-contracts 1.3.2-dev.bf84335.0 → 1.3.2-dev.e55bf9f.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 (122) hide show
  1. package/build/contracts/AccessControl.json +1 -1
  2. package/build/contracts/AccessControlEnumerable.json +1 -1
  3. package/build/contracts/Address.json +1 -1
  4. package/build/contracts/AgreementBase.json +18 -18
  5. package/build/contracts/AgreementLibrary.json +1272 -1183
  6. package/build/contracts/BaseRelayRecipient.json +55 -55
  7. package/build/contracts/BatchLiquidator.json +211 -211
  8. package/build/contracts/BatchOperation.json +599 -599
  9. package/build/contracts/CFAv1Library.json +2282 -2282
  10. package/build/contracts/CallUtils.json +198 -198
  11. package/build/contracts/ClosingOnUpdateFlowTestApp.json +2472 -2472
  12. package/build/contracts/ConstantFlowAgreementV1.json +12931 -13308
  13. package/build/contracts/Context.json +1 -1
  14. package/build/contracts/ContextDefinitions.json +599 -599
  15. package/build/contracts/Create2.json +1 -1
  16. package/build/contracts/CustomSuperTokenBase.json +20 -20
  17. package/build/contracts/ERC165.json +1 -1
  18. package/build/contracts/ERC1820Implementer.json +1 -1
  19. package/build/contracts/ERC1820RegistryCompiled.json +22 -22
  20. package/build/contracts/ERC20.json +1 -1
  21. package/build/contracts/ERC20Burnable.json +1 -1
  22. package/build/contracts/ERC20Pausable.json +1 -1
  23. package/build/contracts/ERC20PresetMinterPauser.json +1 -1
  24. package/build/contracts/ERC20WithTokenInfo.json +23 -23
  25. package/build/contracts/ERC777Helper.json +380 -380
  26. package/build/contracts/ERC777RecipientDrainingGas.json +858 -858
  27. package/build/contracts/ERC777RecipientReverting.json +858 -858
  28. package/build/contracts/EnumerableSet.json +1 -1
  29. package/build/contracts/EventsEmitter.json +43 -43
  30. package/build/contracts/ExclusiveInflowTestApp.json +2473 -2473
  31. package/build/contracts/FixedSizeData.json +200 -200
  32. package/build/contracts/FlowExchangeTestApp.json +2473 -2473
  33. package/build/contracts/FlowOperatorDefinitions.json +599 -599
  34. package/build/contracts/FullUpgradableSuperTokenProxy.json +115 -115
  35. package/build/contracts/IAccessControl.json +1 -1
  36. package/build/contracts/IAccessControlEnumerable.json +1 -1
  37. package/build/contracts/IConstantFlowAgreementV1.json +567 -567
  38. package/build/contracts/IDAv1Library.json +2614 -2614
  39. package/build/contracts/IERC165.json +1 -1
  40. package/build/contracts/IERC1820Implementer.json +1 -1
  41. package/build/contracts/IERC1820Registry.json +1 -1
  42. package/build/contracts/IERC20.json +1 -1
  43. package/build/contracts/IERC20Metadata.json +1 -1
  44. package/build/contracts/IERC20Permit.json +1 -1
  45. package/build/contracts/IERC777.json +1 -1
  46. package/build/contracts/IERC777Recipient.json +1 -1
  47. package/build/contracts/IERC777Sender.json +1 -1
  48. package/build/contracts/IInstantDistributionAgreementV1.json +640 -640
  49. package/build/contracts/IMaticBridgedNativeSuperToken.json +63 -63
  50. package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +63 -63
  51. package/build/contracts/IMultiSigWallet.json +24 -24
  52. package/build/contracts/IPureSuperToken.json +43 -43
  53. package/build/contracts/IPureSuperTokenCustom.json +43 -43
  54. package/build/contracts/IRelayRecipient.json +27 -27
  55. package/build/contracts/IResolver.json +38 -38
  56. package/build/contracts/ISETH.json +48 -48
  57. package/build/contracts/ISETHCustom.json +48 -48
  58. package/build/contracts/ISuperAgreement.json +50 -50
  59. package/build/contracts/ISuperApp.json +192 -192
  60. package/build/contracts/ISuperToken.json +524 -524
  61. package/build/contracts/ISuperTokenFactory.json +161 -161
  62. package/build/contracts/ISuperfluid.json +1145 -1178
  63. package/build/contracts/ISuperfluidGovernance.json +243 -243
  64. package/build/contracts/ISuperfluidToken.json +389 -389
  65. package/build/contracts/ITOGAv1.json +1442 -1442
  66. package/build/contracts/ITOGAv2.json +1442 -1442
  67. package/build/contracts/Initializable.json +1 -1
  68. package/build/contracts/InstantDistributionAgreementV1.json +5820 -5820
  69. package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +231 -231
  70. package/build/contracts/NonClosableOutflowTestApp.json +2473 -2473
  71. package/build/contracts/Ownable.json +1 -1
  72. package/build/contracts/Pausable.json +1 -1
  73. package/build/contracts/Proxy.json +1 -1
  74. package/build/contracts/PureSuperToken.json +109 -109
  75. package/build/contracts/Resolver.json +98 -98
  76. package/build/contracts/SETHProxy.json +227 -227
  77. package/build/contracts/SafeCast.json +1 -1
  78. package/build/contracts/SafeERC20.json +1 -1
  79. package/build/contracts/SafeMath.json +1 -1
  80. package/build/contracts/SelfDeletingFlowTestApp.json +2472 -2472
  81. package/build/contracts/SlotsBitmapLibrary.json +457 -457
  82. package/build/contracts/StreamRedirector.json +748 -748
  83. package/build/contracts/Strings.json +1 -1
  84. package/build/contracts/SuperAppBase.json +240 -240
  85. package/build/contracts/SuperAppDefinitions.json +599 -599
  86. package/build/contracts/SuperToken.json +4732 -4732
  87. package/build/contracts/SuperTokenFactory.json +750 -750
  88. package/build/contracts/SuperTokenFactoryBase.json +738 -738
  89. package/build/contracts/SuperTokenFactoryHelper.json +743 -743
  90. package/build/contracts/SuperUpgrader.json +440 -440
  91. package/build/contracts/Superfluid.json +15366 -16050
  92. package/build/contracts/SuperfluidFrameworkDeployer.json +765 -765
  93. package/build/contracts/SuperfluidGovernanceBase.json +2233 -2233
  94. package/build/contracts/SuperfluidGovernanceConfigs.json +599 -599
  95. package/build/contracts/SuperfluidGovernanceII.json +149 -149
  96. package/build/contracts/SuperfluidGovernanceIIProxy.json +131 -131
  97. package/build/contracts/SuperfluidLoader.json +210 -210
  98. package/build/contracts/SuperfluidToken.json +2420 -2420
  99. package/build/contracts/TOGA.json +1461 -1461
  100. package/build/contracts/TestGovernance.json +248 -248
  101. package/build/contracts/TestToken.json +93 -93
  102. package/build/contracts/TokenCustodian.json +214 -214
  103. package/build/contracts/TokenInfo.json +32 -32
  104. package/build/contracts/UUPSProxiable.json +139 -139
  105. package/build/contracts/UUPSProxy.json +81 -81
  106. package/build/contracts/UUPSUtils.json +37 -37
  107. package/build/contracts-sizes.txt +6 -6
  108. package/contracts/agreements/AgreementLibrary.sol +39 -15
  109. package/contracts/agreements/ConstantFlowAgreementV1.sol +65 -53
  110. package/contracts/interfaces/superfluid/ISuperfluid.sol +29 -23
  111. package/contracts/mocks/AgreementMock.sol +2 -2
  112. package/contracts/mocks/CFAAppMocks.sol +1 -1
  113. package/contracts/mocks/MultiFlowTesterApp.sol +13 -12
  114. package/contracts/mocks/SuperTokenMock.sol +2 -2
  115. package/contracts/mocks/SuperfluidMock.sol +9 -9
  116. package/contracts/superfluid/Superfluid.sol +34 -38
  117. package/contracts/superfluid/SuperfluidToken.sol +14 -14
  118. package/package.json +2 -2
  119. package/scripts/deploy-mfa.ts +27 -0
  120. package/scripts/libs/getConfig.js +14 -0
  121. package/utils/README.md +18 -0
  122. package/utils/mfa-tester.html +687 -0
@@ -522,7 +522,7 @@
522
522
  }
523
523
  ]
524
524
  },
525
- "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$20442t_addresst_uint256t_uint256",
525
+ "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$20450t_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_$20442t_addresst_uint256t_uint256t_bytes32",
1808
+ "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$20450t_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_$20442t_addresst_uint256t_uint32",
2395
+ "name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$20450t_addresst_uint256t_uint32",
2396
2396
  "nodeType": "YulFunctionDefinition",
2397
2397
  "parameters": [
2398
2398
  {
@@ -5470,7 +5470,7 @@
5470
5470
  }
5471
5471
  ]
5472
5472
  },
5473
- "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_$20442t_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_$20442t_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_$20442t_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 if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\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}",
5473
+ "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_$20450t_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_$20450t_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_$20450t_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 if gt(x, not(y)) { panic_error_0x11() }\n sum := add(x, y)\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}",
5474
5474
  "id": 107,
5475
5475
  "language": "Yul",
5476
5476
  "name": "#utility.yul"
@@ -5484,18 +5484,18 @@
5484
5484
  "absolutePath": "project:/contracts/libs/SlotsBitmapLibrary.sol",
5485
5485
  "exportedSymbols": {
5486
5486
  "ISuperfluidToken": [
5487
- 20442
5487
+ 20450
5488
5488
  ],
5489
5489
  "SlotsBitmapLibrary": [
5490
- 21550
5490
+ 21558
5491
5491
  ]
5492
5492
  },
5493
- "id": 21551,
5493
+ "id": 21559,
5494
5494
  "license": "AGPLv3",
5495
5495
  "nodeType": "SourceUnit",
5496
5496
  "nodes": [
5497
5497
  {
5498
- "id": 21231,
5498
+ "id": 21239,
5499
5499
  "literals": [
5500
5500
  "solidity",
5501
5501
  "0.8",
@@ -5507,20 +5507,20 @@
5507
5507
  {
5508
5508
  "absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
5509
5509
  "file": "../interfaces/superfluid/ISuperfluidToken.sol",
5510
- "id": 21233,
5510
+ "id": 21241,
5511
5511
  "nameLocation": "-1:-1:-1",
5512
5512
  "nodeType": "ImportDirective",
5513
- "scope": 21551,
5514
- "sourceUnit": 20443,
5513
+ "scope": 21559,
5514
+ "sourceUnit": 20451,
5515
5515
  "src": "60:79:65",
5516
5516
  "symbolAliases": [
5517
5517
  {
5518
5518
  "foreign": {
5519
- "id": 21232,
5519
+ "id": 21240,
5520
5520
  "name": "ISuperfluidToken",
5521
5521
  "nodeType": "Identifier",
5522
5522
  "overloadedDeclarations": [],
5523
- "referencedDeclaration": 20442,
5523
+ "referencedDeclaration": 20450,
5524
5524
  "src": "68:16:65",
5525
5525
  "typeDescriptions": {}
5526
5526
  },
@@ -5536,15 +5536,15 @@
5536
5536
  "contractDependencies": [],
5537
5537
  "contractKind": "library",
5538
5538
  "documentation": {
5539
- "id": 21234,
5539
+ "id": 21242,
5540
5540
  "nodeType": "StructuredDocumentation",
5541
5541
  "src": "141:568:65",
5542
5542
  "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"
5543
5543
  },
5544
5544
  "fullyImplemented": true,
5545
- "id": 21550,
5545
+ "id": 21558,
5546
5546
  "linearizedBaseContracts": [
5547
- 21550
5547
+ 21558
5548
5548
  ],
5549
5549
  "name": "SlotsBitmapLibrary",
5550
5550
  "nameLocation": "718:18:65",
@@ -5552,12 +5552,12 @@
5552
5552
  "nodes": [
5553
5553
  {
5554
5554
  "constant": true,
5555
- "id": 21237,
5555
+ "id": 21245,
5556
5556
  "mutability": "constant",
5557
5557
  "name": "_MAX_NUM_SLOTS",
5558
5558
  "nameLocation": "769:14:65",
5559
5559
  "nodeType": "VariableDeclaration",
5560
- "scope": 21550,
5560
+ "scope": 21558,
5561
5561
  "src": "744:45:65",
5562
5562
  "stateVariable": true,
5563
5563
  "storageLocation": "default",
@@ -5566,7 +5566,7 @@
5566
5566
  "typeString": "uint32"
5567
5567
  },
5568
5568
  "typeName": {
5569
- "id": 21235,
5569
+ "id": 21243,
5570
5570
  "name": "uint32",
5571
5571
  "nodeType": "ElementaryTypeName",
5572
5572
  "src": "744:6:65",
@@ -5577,7 +5577,7 @@
5577
5577
  },
5578
5578
  "value": {
5579
5579
  "hexValue": "323536",
5580
- "id": 21236,
5580
+ "id": 21244,
5581
5581
  "isConstant": false,
5582
5582
  "isLValue": false,
5583
5583
  "isPure": true,
@@ -5595,23 +5595,23 @@
5595
5595
  },
5596
5596
  {
5597
5597
  "body": {
5598
- "id": 21356,
5598
+ "id": 21364,
5599
5599
  "nodeType": "Block",
5600
5600
  "src": "1035:985:65",
5601
5601
  "statements": [
5602
5602
  {
5603
5603
  "assignments": [
5604
- 21254
5604
+ 21262
5605
5605
  ],
5606
5606
  "declarations": [
5607
5607
  {
5608
5608
  "constant": false,
5609
- "id": 21254,
5609
+ "id": 21262,
5610
5610
  "mutability": "mutable",
5611
5611
  "name": "subsBitmap",
5612
5612
  "nameLocation": "1053:10:65",
5613
5613
  "nodeType": "VariableDeclaration",
5614
- "scope": 21356,
5614
+ "scope": 21364,
5615
5615
  "src": "1045:18:65",
5616
5616
  "stateVariable": false,
5617
5617
  "storageLocation": "default",
@@ -5620,7 +5620,7 @@
5620
5620
  "typeString": "uint256"
5621
5621
  },
5622
5622
  "typeName": {
5623
- "id": 21253,
5623
+ "id": 21261,
5624
5624
  "name": "uint256",
5625
5625
  "nodeType": "ElementaryTypeName",
5626
5626
  "src": "1045:7:65",
@@ -5632,7 +5632,7 @@
5632
5632
  "visibility": "internal"
5633
5633
  }
5634
5634
  ],
5635
- "id": 21270,
5635
+ "id": 21278,
5636
5636
  "initialValue": {
5637
5637
  "arguments": [
5638
5638
  {
@@ -5641,14 +5641,14 @@
5641
5641
  {
5642
5642
  "arguments": [
5643
5643
  {
5644
- "id": 21261,
5644
+ "id": 21269,
5645
5645
  "name": "this",
5646
5646
  "nodeType": "Identifier",
5647
5647
  "overloadedDeclarations": [],
5648
5648
  "referencedDeclaration": 4294967268,
5649
5649
  "src": "1123:4:65",
5650
5650
  "typeDescriptions": {
5651
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
5651
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
5652
5652
  "typeString": "library SlotsBitmapLibrary"
5653
5653
  }
5654
5654
  }
@@ -5656,11 +5656,11 @@
5656
5656
  "expression": {
5657
5657
  "argumentTypes": [
5658
5658
  {
5659
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
5659
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
5660
5660
  "typeString": "library SlotsBitmapLibrary"
5661
5661
  }
5662
5662
  ],
5663
- "id": 21260,
5663
+ "id": 21268,
5664
5664
  "isConstant": false,
5665
5665
  "isLValue": false,
5666
5666
  "isPure": true,
@@ -5672,14 +5672,14 @@
5672
5672
  "typeString": "type(address)"
5673
5673
  },
5674
5674
  "typeName": {
5675
- "id": 21259,
5675
+ "id": 21267,
5676
5676
  "name": "address",
5677
5677
  "nodeType": "ElementaryTypeName",
5678
5678
  "src": "1115:7:65",
5679
5679
  "typeDescriptions": {}
5680
5680
  }
5681
5681
  },
5682
- "id": 21262,
5682
+ "id": 21270,
5683
5683
  "isConstant": false,
5684
5684
  "isLValue": false,
5685
5685
  "isPure": false,
@@ -5695,11 +5695,11 @@
5695
5695
  }
5696
5696
  },
5697
5697
  {
5698
- "id": 21263,
5698
+ "id": 21271,
5699
5699
  "name": "account",
5700
5700
  "nodeType": "Identifier",
5701
5701
  "overloadedDeclarations": [],
5702
- "referencedDeclaration": 21242,
5702
+ "referencedDeclaration": 21250,
5703
5703
  "src": "1142:7:65",
5704
5704
  "typeDescriptions": {
5705
5705
  "typeIdentifier": "t_address",
@@ -5707,11 +5707,11 @@
5707
5707
  }
5708
5708
  },
5709
5709
  {
5710
- "id": 21264,
5710
+ "id": 21272,
5711
5711
  "name": "bitmapStateSlotId",
5712
5712
  "nodeType": "Identifier",
5713
5713
  "overloadedDeclarations": [],
5714
- "referencedDeclaration": 21244,
5714
+ "referencedDeclaration": 21252,
5715
5715
  "src": "1163:17:65",
5716
5716
  "typeDescriptions": {
5717
5717
  "typeIdentifier": "t_uint256",
@@ -5720,7 +5720,7 @@
5720
5720
  },
5721
5721
  {
5722
5722
  "hexValue": "31",
5723
- "id": 21265,
5723
+ "id": 21273,
5724
5724
  "isConstant": false,
5725
5725
  "isLValue": false,
5726
5726
  "isPure": true,
@@ -5755,32 +5755,32 @@
5755
5755
  }
5756
5756
  ],
5757
5757
  "expression": {
5758
- "id": 21257,
5758
+ "id": 21265,
5759
5759
  "name": "token",
5760
5760
  "nodeType": "Identifier",
5761
5761
  "overloadedDeclarations": [],
5762
- "referencedDeclaration": 21240,
5762
+ "referencedDeclaration": 21248,
5763
5763
  "src": "1074:5:65",
5764
5764
  "typeDescriptions": {
5765
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
5765
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
5766
5766
  "typeString": "contract ISuperfluidToken"
5767
5767
  }
5768
5768
  },
5769
- "id": 21258,
5769
+ "id": 21266,
5770
5770
  "isConstant": false,
5771
5771
  "isLValue": false,
5772
5772
  "isPure": false,
5773
5773
  "lValueRequested": false,
5774
5774
  "memberName": "getAgreementStateSlot",
5775
5775
  "nodeType": "MemberAccess",
5776
- "referencedDeclaration": 20359,
5776
+ "referencedDeclaration": 20367,
5777
5777
  "src": "1074:27:65",
5778
5778
  "typeDescriptions": {
5779
5779
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
5780
5780
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
5781
5781
  }
5782
5782
  },
5783
- "id": 21266,
5783
+ "id": 21274,
5784
5784
  "isConstant": false,
5785
5785
  "isLValue": false,
5786
5786
  "isPure": false,
@@ -5795,10 +5795,10 @@
5795
5795
  "typeString": "bytes32[] memory"
5796
5796
  }
5797
5797
  },
5798
- "id": 21268,
5798
+ "id": 21276,
5799
5799
  "indexExpression": {
5800
5800
  "hexValue": "30",
5801
- "id": 21267,
5801
+ "id": 21275,
5802
5802
  "isConstant": false,
5803
5803
  "isLValue": false,
5804
5804
  "isPure": true,
@@ -5831,7 +5831,7 @@
5831
5831
  "typeString": "bytes32"
5832
5832
  }
5833
5833
  ],
5834
- "id": 21256,
5834
+ "id": 21264,
5835
5835
  "isConstant": false,
5836
5836
  "isLValue": false,
5837
5837
  "isPure": true,
@@ -5843,14 +5843,14 @@
5843
5843
  "typeString": "type(uint256)"
5844
5844
  },
5845
5845
  "typeName": {
5846
- "id": 21255,
5846
+ "id": 21263,
5847
5847
  "name": "uint256",
5848
5848
  "nodeType": "ElementaryTypeName",
5849
5849
  "src": "1066:7:65",
5850
5850
  "typeDescriptions": {}
5851
5851
  }
5852
5852
  },
5853
- "id": 21269,
5853
+ "id": 21277,
5854
5854
  "isConstant": false,
5855
5855
  "isLValue": false,
5856
5856
  "isPure": false,
@@ -5870,7 +5870,7 @@
5870
5870
  },
5871
5871
  {
5872
5872
  "body": {
5873
- "id": 21347,
5873
+ "id": 21355,
5874
5874
  "nodeType": "Block",
5875
5875
  "src": "1250:695:65",
5876
5876
  "statements": [
@@ -5880,7 +5880,7 @@
5880
5880
  "typeIdentifier": "t_uint256",
5881
5881
  "typeString": "uint256"
5882
5882
  },
5883
- "id": 21291,
5883
+ "id": 21299,
5884
5884
  "isConstant": false,
5885
5885
  "isLValue": false,
5886
5886
  "isPure": false,
@@ -5892,7 +5892,7 @@
5892
5892
  "typeIdentifier": "t_uint256",
5893
5893
  "typeString": "uint256"
5894
5894
  },
5895
- "id": 21288,
5895
+ "id": 21296,
5896
5896
  "isConstant": false,
5897
5897
  "isLValue": false,
5898
5898
  "isPure": false,
@@ -5904,17 +5904,17 @@
5904
5904
  "typeIdentifier": "t_uint256",
5905
5905
  "typeString": "uint256"
5906
5906
  },
5907
- "id": 21285,
5907
+ "id": 21293,
5908
5908
  "isConstant": false,
5909
5909
  "isLValue": false,
5910
5910
  "isPure": false,
5911
5911
  "lValueRequested": false,
5912
5912
  "leftExpression": {
5913
- "id": 21283,
5913
+ "id": 21291,
5914
5914
  "name": "subsBitmap",
5915
5915
  "nodeType": "Identifier",
5916
5916
  "overloadedDeclarations": [],
5917
- "referencedDeclaration": 21254,
5917
+ "referencedDeclaration": 21262,
5918
5918
  "src": "1277:10:65",
5919
5919
  "typeDescriptions": {
5920
5920
  "typeIdentifier": "t_uint256",
@@ -5924,11 +5924,11 @@
5924
5924
  "nodeType": "BinaryOperation",
5925
5925
  "operator": ">>",
5926
5926
  "rightExpression": {
5927
- "id": 21284,
5927
+ "id": 21292,
5928
5928
  "name": "slotId",
5929
5929
  "nodeType": "Identifier",
5930
5930
  "overloadedDeclarations": [],
5931
- "referencedDeclaration": 21251,
5931
+ "referencedDeclaration": 21259,
5932
5932
  "src": "1291:6:65",
5933
5933
  "typeDescriptions": {
5934
5934
  "typeIdentifier": "t_uint32",
@@ -5949,7 +5949,7 @@
5949
5949
  "typeString": "uint256"
5950
5950
  }
5951
5951
  ],
5952
- "id": 21282,
5952
+ "id": 21290,
5953
5953
  "isConstant": false,
5954
5954
  "isLValue": false,
5955
5955
  "isPure": true,
@@ -5961,14 +5961,14 @@
5961
5961
  "typeString": "type(uint256)"
5962
5962
  },
5963
5963
  "typeName": {
5964
- "id": 21281,
5964
+ "id": 21289,
5965
5965
  "name": "uint256",
5966
5966
  "nodeType": "ElementaryTypeName",
5967
5967
  "src": "1269:7:65",
5968
5968
  "typeDescriptions": {}
5969
5969
  }
5970
5970
  },
5971
- "id": 21286,
5971
+ "id": 21294,
5972
5972
  "isConstant": false,
5973
5973
  "isLValue": false,
5974
5974
  "isPure": false,
@@ -5987,7 +5987,7 @@
5987
5987
  "operator": "&",
5988
5988
  "rightExpression": {
5989
5989
  "hexValue": "31",
5990
- "id": 21287,
5990
+ "id": 21295,
5991
5991
  "isConstant": false,
5992
5992
  "isLValue": false,
5993
5993
  "isPure": true,
@@ -6008,7 +6008,7 @@
6008
6008
  }
6009
6009
  }
6010
6010
  ],
6011
- "id": 21289,
6011
+ "id": 21297,
6012
6012
  "isConstant": false,
6013
6013
  "isInlineArray": false,
6014
6014
  "isLValue": false,
@@ -6025,7 +6025,7 @@
6025
6025
  "operator": "==",
6026
6026
  "rightExpression": {
6027
6027
  "hexValue": "30",
6028
- "id": 21290,
6028
+ "id": 21298,
6029
6029
  "isConstant": false,
6030
6030
  "isLValue": false,
6031
6031
  "isPure": true,
@@ -6045,27 +6045,27 @@
6045
6045
  "typeString": "bool"
6046
6046
  }
6047
6047
  },
6048
- "id": 21346,
6048
+ "id": 21354,
6049
6049
  "nodeType": "IfStatement",
6050
6050
  "src": "1264:671:65",
6051
6051
  "trueBody": {
6052
- "id": 21345,
6052
+ "id": 21353,
6053
6053
  "nodeType": "Block",
6054
6054
  "src": "1310:625:65",
6055
6055
  "statements": [
6056
6056
  {
6057
6057
  "assignments": [
6058
- 21296
6058
+ 21304
6059
6059
  ],
6060
6060
  "declarations": [
6061
6061
  {
6062
6062
  "constant": false,
6063
- "id": 21296,
6063
+ "id": 21304,
6064
6064
  "mutability": "mutable",
6065
6065
  "name": "slotData",
6066
6066
  "nameLocation": "1381:8:65",
6067
6067
  "nodeType": "VariableDeclaration",
6068
- "scope": 21345,
6068
+ "scope": 21353,
6069
6069
  "src": "1364:25:65",
6070
6070
  "stateVariable": false,
6071
6071
  "storageLocation": "memory",
@@ -6075,7 +6075,7 @@
6075
6075
  },
6076
6076
  "typeName": {
6077
6077
  "baseType": {
6078
- "id": 21294,
6078
+ "id": 21302,
6079
6079
  "name": "bytes32",
6080
6080
  "nodeType": "ElementaryTypeName",
6081
6081
  "src": "1364:7:65",
@@ -6084,7 +6084,7 @@
6084
6084
  "typeString": "bytes32"
6085
6085
  }
6086
6086
  },
6087
- "id": 21295,
6087
+ "id": 21303,
6088
6088
  "nodeType": "ArrayTypeName",
6089
6089
  "src": "1364:9:65",
6090
6090
  "typeDescriptions": {
@@ -6095,12 +6095,12 @@
6095
6095
  "visibility": "internal"
6096
6096
  }
6097
6097
  ],
6098
- "id": 21302,
6098
+ "id": 21310,
6099
6099
  "initialValue": {
6100
6100
  "arguments": [
6101
6101
  {
6102
6102
  "hexValue": "31",
6103
- "id": 21300,
6103
+ "id": 21308,
6104
6104
  "isConstant": false,
6105
6105
  "isLValue": false,
6106
6106
  "isPure": true,
@@ -6122,7 +6122,7 @@
6122
6122
  "typeString": "int_const 1"
6123
6123
  }
6124
6124
  ],
6125
- "id": 21299,
6125
+ "id": 21307,
6126
6126
  "isConstant": false,
6127
6127
  "isLValue": false,
6128
6128
  "isPure": true,
@@ -6135,7 +6135,7 @@
6135
6135
  },
6136
6136
  "typeName": {
6137
6137
  "baseType": {
6138
- "id": 21297,
6138
+ "id": 21305,
6139
6139
  "name": "bytes32",
6140
6140
  "nodeType": "ElementaryTypeName",
6141
6141
  "src": "1396:7:65",
@@ -6144,7 +6144,7 @@
6144
6144
  "typeString": "bytes32"
6145
6145
  }
6146
6146
  },
6147
- "id": 21298,
6147
+ "id": 21306,
6148
6148
  "nodeType": "ArrayTypeName",
6149
6149
  "src": "1396:9:65",
6150
6150
  "typeDescriptions": {
@@ -6153,7 +6153,7 @@
6153
6153
  }
6154
6154
  }
6155
6155
  },
6156
- "id": 21301,
6156
+ "id": 21309,
6157
6157
  "isConstant": false,
6158
6158
  "isLValue": false,
6159
6159
  "isPure": true,
@@ -6173,28 +6173,28 @@
6173
6173
  },
6174
6174
  {
6175
6175
  "expression": {
6176
- "id": 21307,
6176
+ "id": 21315,
6177
6177
  "isConstant": false,
6178
6178
  "isLValue": false,
6179
6179
  "isPure": false,
6180
6180
  "lValueRequested": false,
6181
6181
  "leftHandSide": {
6182
6182
  "baseExpression": {
6183
- "id": 21303,
6183
+ "id": 21311,
6184
6184
  "name": "slotData",
6185
6185
  "nodeType": "Identifier",
6186
6186
  "overloadedDeclarations": [],
6187
- "referencedDeclaration": 21296,
6187
+ "referencedDeclaration": 21304,
6188
6188
  "src": "1426:8:65",
6189
6189
  "typeDescriptions": {
6190
6190
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
6191
6191
  "typeString": "bytes32[] memory"
6192
6192
  }
6193
6193
  },
6194
- "id": 21305,
6194
+ "id": 21313,
6195
6195
  "indexExpression": {
6196
6196
  "hexValue": "30",
6197
- "id": 21304,
6197
+ "id": 21312,
6198
6198
  "isConstant": false,
6199
6199
  "isLValue": false,
6200
6200
  "isPure": true,
@@ -6222,11 +6222,11 @@
6222
6222
  "nodeType": "Assignment",
6223
6223
  "operator": "=",
6224
6224
  "rightHandSide": {
6225
- "id": 21306,
6225
+ "id": 21314,
6226
6226
  "name": "data",
6227
6227
  "nodeType": "Identifier",
6228
6228
  "overloadedDeclarations": [],
6229
- "referencedDeclaration": 21248,
6229
+ "referencedDeclaration": 21256,
6230
6230
  "src": "1440:4:65",
6231
6231
  "typeDescriptions": {
6232
6232
  "typeIdentifier": "t_bytes32",
@@ -6239,7 +6239,7 @@
6239
6239
  "typeString": "bytes32"
6240
6240
  }
6241
6241
  },
6242
- "id": 21308,
6242
+ "id": 21316,
6243
6243
  "nodeType": "ExpressionStatement",
6244
6244
  "src": "1426:18:65"
6245
6245
  },
@@ -6247,11 +6247,11 @@
6247
6247
  "expression": {
6248
6248
  "arguments": [
6249
6249
  {
6250
- "id": 21312,
6250
+ "id": 21320,
6251
6251
  "name": "account",
6252
6252
  "nodeType": "Identifier",
6253
6253
  "overloadedDeclarations": [],
6254
- "referencedDeclaration": 21242,
6254
+ "referencedDeclaration": 21250,
6255
6255
  "src": "1514:7:65",
6256
6256
  "typeDescriptions": {
6257
6257
  "typeIdentifier": "t_address",
@@ -6263,17 +6263,17 @@
6263
6263
  "typeIdentifier": "t_uint256",
6264
6264
  "typeString": "uint256"
6265
6265
  },
6266
- "id": 21315,
6266
+ "id": 21323,
6267
6267
  "isConstant": false,
6268
6268
  "isLValue": false,
6269
6269
  "isPure": false,
6270
6270
  "lValueRequested": false,
6271
6271
  "leftExpression": {
6272
- "id": 21313,
6272
+ "id": 21321,
6273
6273
  "name": "dataStateSlotIDStart",
6274
6274
  "nodeType": "Identifier",
6275
6275
  "overloadedDeclarations": [],
6276
- "referencedDeclaration": 21246,
6276
+ "referencedDeclaration": 21254,
6277
6277
  "src": "1543:20:65",
6278
6278
  "typeDescriptions": {
6279
6279
  "typeIdentifier": "t_uint256",
@@ -6283,11 +6283,11 @@
6283
6283
  "nodeType": "BinaryOperation",
6284
6284
  "operator": "+",
6285
6285
  "rightExpression": {
6286
- "id": 21314,
6286
+ "id": 21322,
6287
6287
  "name": "slotId",
6288
6288
  "nodeType": "Identifier",
6289
6289
  "overloadedDeclarations": [],
6290
- "referencedDeclaration": 21251,
6290
+ "referencedDeclaration": 21259,
6291
6291
  "src": "1566:6:65",
6292
6292
  "typeDescriptions": {
6293
6293
  "typeIdentifier": "t_uint32",
@@ -6301,11 +6301,11 @@
6301
6301
  }
6302
6302
  },
6303
6303
  {
6304
- "id": 21316,
6304
+ "id": 21324,
6305
6305
  "name": "slotData",
6306
6306
  "nodeType": "Identifier",
6307
6307
  "overloadedDeclarations": [],
6308
- "referencedDeclaration": 21296,
6308
+ "referencedDeclaration": 21304,
6309
6309
  "src": "1594:8:65",
6310
6310
  "typeDescriptions": {
6311
6311
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -6329,32 +6329,32 @@
6329
6329
  }
6330
6330
  ],
6331
6331
  "expression": {
6332
- "id": 21309,
6332
+ "id": 21317,
6333
6333
  "name": "token",
6334
6334
  "nodeType": "Identifier",
6335
6335
  "overloadedDeclarations": [],
6336
- "referencedDeclaration": 21240,
6336
+ "referencedDeclaration": 21248,
6337
6337
  "src": "1462:5:65",
6338
6338
  "typeDescriptions": {
6339
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
6339
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
6340
6340
  "typeString": "contract ISuperfluidToken"
6341
6341
  }
6342
6342
  },
6343
- "id": 21311,
6343
+ "id": 21319,
6344
6344
  "isConstant": false,
6345
6345
  "isLValue": false,
6346
6346
  "isPure": false,
6347
6347
  "lValueRequested": false,
6348
6348
  "memberName": "updateAgreementStateSlot",
6349
6349
  "nodeType": "MemberAccess",
6350
- "referencedDeclaration": 20335,
6350
+ "referencedDeclaration": 20343,
6351
6351
  "src": "1462:30:65",
6352
6352
  "typeDescriptions": {
6353
6353
  "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
6354
6354
  "typeString": "function (address,uint256,bytes32[] memory) external"
6355
6355
  }
6356
6356
  },
6357
- "id": 21317,
6357
+ "id": 21325,
6358
6358
  "isConstant": false,
6359
6359
  "isLValue": false,
6360
6360
  "isPure": false,
@@ -6369,34 +6369,34 @@
6369
6369
  "typeString": "tuple()"
6370
6370
  }
6371
6371
  },
6372
- "id": 21318,
6372
+ "id": 21326,
6373
6373
  "nodeType": "ExpressionStatement",
6374
6374
  "src": "1462:141:65"
6375
6375
  },
6376
6376
  {
6377
6377
  "expression": {
6378
- "id": 21334,
6378
+ "id": 21342,
6379
6379
  "isConstant": false,
6380
6380
  "isLValue": false,
6381
6381
  "isPure": false,
6382
6382
  "lValueRequested": false,
6383
6383
  "leftHandSide": {
6384
6384
  "baseExpression": {
6385
- "id": 21319,
6385
+ "id": 21327,
6386
6386
  "name": "slotData",
6387
6387
  "nodeType": "Identifier",
6388
6388
  "overloadedDeclarations": [],
6389
- "referencedDeclaration": 21296,
6389
+ "referencedDeclaration": 21304,
6390
6390
  "src": "1656:8:65",
6391
6391
  "typeDescriptions": {
6392
6392
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
6393
6393
  "typeString": "bytes32[] memory"
6394
6394
  }
6395
6395
  },
6396
- "id": 21321,
6396
+ "id": 21329,
6397
6397
  "indexExpression": {
6398
6398
  "hexValue": "30",
6399
- "id": 21320,
6399
+ "id": 21328,
6400
6400
  "isConstant": false,
6401
6401
  "isLValue": false,
6402
6402
  "isPure": true,
@@ -6430,17 +6430,17 @@
6430
6430
  "typeIdentifier": "t_uint256",
6431
6431
  "typeString": "uint256"
6432
6432
  },
6433
- "id": 21332,
6433
+ "id": 21340,
6434
6434
  "isConstant": false,
6435
6435
  "isLValue": false,
6436
6436
  "isPure": false,
6437
6437
  "lValueRequested": false,
6438
6438
  "leftExpression": {
6439
- "id": 21324,
6439
+ "id": 21332,
6440
6440
  "name": "subsBitmap",
6441
6441
  "nodeType": "Identifier",
6442
6442
  "overloadedDeclarations": [],
6443
- "referencedDeclaration": 21254,
6443
+ "referencedDeclaration": 21262,
6444
6444
  "src": "1678:10:65",
6445
6445
  "typeDescriptions": {
6446
6446
  "typeIdentifier": "t_uint256",
@@ -6456,14 +6456,14 @@
6456
6456
  "typeIdentifier": "t_uint256",
6457
6457
  "typeString": "uint256"
6458
6458
  },
6459
- "id": 21330,
6459
+ "id": 21338,
6460
6460
  "isConstant": false,
6461
6461
  "isLValue": false,
6462
6462
  "isPure": false,
6463
6463
  "lValueRequested": false,
6464
6464
  "leftExpression": {
6465
6465
  "hexValue": "31",
6466
- "id": 21325,
6466
+ "id": 21333,
6467
6467
  "isConstant": false,
6468
6468
  "isLValue": false,
6469
6469
  "isPure": true,
@@ -6482,11 +6482,11 @@
6482
6482
  "rightExpression": {
6483
6483
  "arguments": [
6484
6484
  {
6485
- "id": 21328,
6485
+ "id": 21336,
6486
6486
  "name": "slotId",
6487
6487
  "nodeType": "Identifier",
6488
6488
  "overloadedDeclarations": [],
6489
- "referencedDeclaration": 21251,
6489
+ "referencedDeclaration": 21259,
6490
6490
  "src": "1705:6:65",
6491
6491
  "typeDescriptions": {
6492
6492
  "typeIdentifier": "t_uint32",
@@ -6501,7 +6501,7 @@
6501
6501
  "typeString": "uint32"
6502
6502
  }
6503
6503
  ],
6504
- "id": 21327,
6504
+ "id": 21335,
6505
6505
  "isConstant": false,
6506
6506
  "isLValue": false,
6507
6507
  "isPure": true,
@@ -6513,14 +6513,14 @@
6513
6513
  "typeString": "type(uint256)"
6514
6514
  },
6515
6515
  "typeName": {
6516
- "id": 21326,
6516
+ "id": 21334,
6517
6517
  "name": "uint256",
6518
6518
  "nodeType": "ElementaryTypeName",
6519
6519
  "src": "1697:7:65",
6520
6520
  "typeDescriptions": {}
6521
6521
  }
6522
6522
  },
6523
- "id": 21329,
6523
+ "id": 21337,
6524
6524
  "isConstant": false,
6525
6525
  "isLValue": false,
6526
6526
  "isPure": false,
@@ -6542,7 +6542,7 @@
6542
6542
  }
6543
6543
  }
6544
6544
  ],
6545
- "id": 21331,
6545
+ "id": 21339,
6546
6546
  "isConstant": false,
6547
6547
  "isInlineArray": false,
6548
6548
  "isLValue": false,
@@ -6569,7 +6569,7 @@
6569
6569
  "typeString": "uint256"
6570
6570
  }
6571
6571
  ],
6572
- "id": 21323,
6572
+ "id": 21331,
6573
6573
  "isConstant": false,
6574
6574
  "isLValue": false,
6575
6575
  "isPure": true,
@@ -6581,14 +6581,14 @@
6581
6581
  "typeString": "type(bytes32)"
6582
6582
  },
6583
6583
  "typeName": {
6584
- "id": 21322,
6584
+ "id": 21330,
6585
6585
  "name": "bytes32",
6586
6586
  "nodeType": "ElementaryTypeName",
6587
6587
  "src": "1670:7:65",
6588
6588
  "typeDescriptions": {}
6589
6589
  }
6590
6590
  },
6591
- "id": 21333,
6591
+ "id": 21341,
6592
6592
  "isConstant": false,
6593
6593
  "isLValue": false,
6594
6594
  "isPure": false,
@@ -6609,7 +6609,7 @@
6609
6609
  "typeString": "bytes32"
6610
6610
  }
6611
6611
  },
6612
- "id": 21335,
6612
+ "id": 21343,
6613
6613
  "nodeType": "ExpressionStatement",
6614
6614
  "src": "1656:58:65"
6615
6615
  },
@@ -6617,11 +6617,11 @@
6617
6617
  "expression": {
6618
6618
  "arguments": [
6619
6619
  {
6620
- "id": 21339,
6620
+ "id": 21347,
6621
6621
  "name": "account",
6622
6622
  "nodeType": "Identifier",
6623
6623
  "overloadedDeclarations": [],
6624
- "referencedDeclaration": 21242,
6624
+ "referencedDeclaration": 21250,
6625
6625
  "src": "1784:7:65",
6626
6626
  "typeDescriptions": {
6627
6627
  "typeIdentifier": "t_address",
@@ -6629,11 +6629,11 @@
6629
6629
  }
6630
6630
  },
6631
6631
  {
6632
- "id": 21340,
6632
+ "id": 21348,
6633
6633
  "name": "bitmapStateSlotId",
6634
6634
  "nodeType": "Identifier",
6635
6635
  "overloadedDeclarations": [],
6636
- "referencedDeclaration": 21244,
6636
+ "referencedDeclaration": 21252,
6637
6637
  "src": "1813:17:65",
6638
6638
  "typeDescriptions": {
6639
6639
  "typeIdentifier": "t_uint256",
@@ -6641,11 +6641,11 @@
6641
6641
  }
6642
6642
  },
6643
6643
  {
6644
- "id": 21341,
6644
+ "id": 21349,
6645
6645
  "name": "slotData",
6646
6646
  "nodeType": "Identifier",
6647
6647
  "overloadedDeclarations": [],
6648
- "referencedDeclaration": 21296,
6648
+ "referencedDeclaration": 21304,
6649
6649
  "src": "1852:8:65",
6650
6650
  "typeDescriptions": {
6651
6651
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -6669,32 +6669,32 @@
6669
6669
  }
6670
6670
  ],
6671
6671
  "expression": {
6672
- "id": 21336,
6672
+ "id": 21344,
6673
6673
  "name": "token",
6674
6674
  "nodeType": "Identifier",
6675
6675
  "overloadedDeclarations": [],
6676
- "referencedDeclaration": 21240,
6676
+ "referencedDeclaration": 21248,
6677
6677
  "src": "1732:5:65",
6678
6678
  "typeDescriptions": {
6679
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
6679
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
6680
6680
  "typeString": "contract ISuperfluidToken"
6681
6681
  }
6682
6682
  },
6683
- "id": 21338,
6683
+ "id": 21346,
6684
6684
  "isConstant": false,
6685
6685
  "isLValue": false,
6686
6686
  "isPure": false,
6687
6687
  "lValueRequested": false,
6688
6688
  "memberName": "updateAgreementStateSlot",
6689
6689
  "nodeType": "MemberAccess",
6690
- "referencedDeclaration": 20335,
6690
+ "referencedDeclaration": 20343,
6691
6691
  "src": "1732:30:65",
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": 21342,
6697
+ "id": 21350,
6698
6698
  "isConstant": false,
6699
6699
  "isLValue": false,
6700
6700
  "isPure": false,
@@ -6709,12 +6709,12 @@
6709
6709
  "typeString": "tuple()"
6710
6710
  }
6711
6711
  },
6712
- "id": 21343,
6712
+ "id": 21351,
6713
6713
  "nodeType": "ExpressionStatement",
6714
6714
  "src": "1732:129:65"
6715
6715
  },
6716
6716
  {
6717
- "id": 21344,
6717
+ "id": 21352,
6718
6718
  "nodeType": "Break",
6719
6719
  "src": "1915:5:65"
6720
6720
  }
@@ -6728,17 +6728,17 @@
6728
6728
  "typeIdentifier": "t_uint32",
6729
6729
  "typeString": "uint32"
6730
6730
  },
6731
- "id": 21277,
6731
+ "id": 21285,
6732
6732
  "isConstant": false,
6733
6733
  "isLValue": false,
6734
6734
  "isPure": false,
6735
6735
  "lValueRequested": false,
6736
6736
  "leftExpression": {
6737
- "id": 21275,
6737
+ "id": 21283,
6738
6738
  "name": "slotId",
6739
6739
  "nodeType": "Identifier",
6740
6740
  "overloadedDeclarations": [],
6741
- "referencedDeclaration": 21251,
6741
+ "referencedDeclaration": 21259,
6742
6742
  "src": "1215:6:65",
6743
6743
  "typeDescriptions": {
6744
6744
  "typeIdentifier": "t_uint32",
@@ -6748,11 +6748,11 @@
6748
6748
  "nodeType": "BinaryOperation",
6749
6749
  "operator": "<",
6750
6750
  "rightExpression": {
6751
- "id": 21276,
6751
+ "id": 21284,
6752
6752
  "name": "_MAX_NUM_SLOTS",
6753
6753
  "nodeType": "Identifier",
6754
6754
  "overloadedDeclarations": [],
6755
- "referencedDeclaration": 21237,
6755
+ "referencedDeclaration": 21245,
6756
6756
  "src": "1224:14:65",
6757
6757
  "typeDescriptions": {
6758
6758
  "typeIdentifier": "t_uint32",
@@ -6765,20 +6765,20 @@
6765
6765
  "typeString": "bool"
6766
6766
  }
6767
6767
  },
6768
- "id": 21348,
6768
+ "id": 21356,
6769
6769
  "initializationExpression": {
6770
6770
  "expression": {
6771
- "id": 21273,
6771
+ "id": 21281,
6772
6772
  "isConstant": false,
6773
6773
  "isLValue": false,
6774
6774
  "isPure": false,
6775
6775
  "lValueRequested": false,
6776
6776
  "leftHandSide": {
6777
- "id": 21271,
6777
+ "id": 21279,
6778
6778
  "name": "slotId",
6779
6779
  "nodeType": "Identifier",
6780
6780
  "overloadedDeclarations": [],
6781
- "referencedDeclaration": 21251,
6781
+ "referencedDeclaration": 21259,
6782
6782
  "src": "1203:6:65",
6783
6783
  "typeDescriptions": {
6784
6784
  "typeIdentifier": "t_uint32",
@@ -6789,7 +6789,7 @@
6789
6789
  "operator": "=",
6790
6790
  "rightHandSide": {
6791
6791
  "hexValue": "30",
6792
- "id": 21272,
6792
+ "id": 21280,
6793
6793
  "isConstant": false,
6794
6794
  "isLValue": false,
6795
6795
  "isPure": true,
@@ -6809,13 +6809,13 @@
6809
6809
  "typeString": "uint32"
6810
6810
  }
6811
6811
  },
6812
- "id": 21274,
6812
+ "id": 21282,
6813
6813
  "nodeType": "ExpressionStatement",
6814
6814
  "src": "1203:10:65"
6815
6815
  },
6816
6816
  "loopExpression": {
6817
6817
  "expression": {
6818
- "id": 21279,
6818
+ "id": 21287,
6819
6819
  "isConstant": false,
6820
6820
  "isLValue": false,
6821
6821
  "isPure": false,
@@ -6825,11 +6825,11 @@
6825
6825
  "prefix": true,
6826
6826
  "src": "1240:8:65",
6827
6827
  "subExpression": {
6828
- "id": 21278,
6828
+ "id": 21286,
6829
6829
  "name": "slotId",
6830
6830
  "nodeType": "Identifier",
6831
6831
  "overloadedDeclarations": [],
6832
- "referencedDeclaration": 21251,
6832
+ "referencedDeclaration": 21259,
6833
6833
  "src": "1242:6:65",
6834
6834
  "typeDescriptions": {
6835
6835
  "typeIdentifier": "t_uint32",
@@ -6841,7 +6841,7 @@
6841
6841
  "typeString": "uint32"
6842
6842
  }
6843
6843
  },
6844
- "id": 21280,
6844
+ "id": 21288,
6845
6845
  "nodeType": "ExpressionStatement",
6846
6846
  "src": "1240:8:65"
6847
6847
  },
@@ -6856,17 +6856,17 @@
6856
6856
  "typeIdentifier": "t_uint32",
6857
6857
  "typeString": "uint32"
6858
6858
  },
6859
- "id": 21352,
6859
+ "id": 21360,
6860
6860
  "isConstant": false,
6861
6861
  "isLValue": false,
6862
6862
  "isPure": false,
6863
6863
  "lValueRequested": false,
6864
6864
  "leftExpression": {
6865
- "id": 21350,
6865
+ "id": 21358,
6866
6866
  "name": "slotId",
6867
6867
  "nodeType": "Identifier",
6868
6868
  "overloadedDeclarations": [],
6869
- "referencedDeclaration": 21251,
6869
+ "referencedDeclaration": 21259,
6870
6870
  "src": "1962:6:65",
6871
6871
  "typeDescriptions": {
6872
6872
  "typeIdentifier": "t_uint32",
@@ -6876,11 +6876,11 @@
6876
6876
  "nodeType": "BinaryOperation",
6877
6877
  "operator": "<",
6878
6878
  "rightExpression": {
6879
- "id": 21351,
6879
+ "id": 21359,
6880
6880
  "name": "_MAX_NUM_SLOTS",
6881
6881
  "nodeType": "Identifier",
6882
6882
  "overloadedDeclarations": [],
6883
- "referencedDeclaration": 21237,
6883
+ "referencedDeclaration": 21245,
6884
6884
  "src": "1971:14:65",
6885
6885
  "typeDescriptions": {
6886
6886
  "typeIdentifier": "t_uint32",
@@ -6895,7 +6895,7 @@
6895
6895
  },
6896
6896
  {
6897
6897
  "hexValue": "536c6f744269746d6170206f7574206f6620626f756e64",
6898
- "id": 21353,
6898
+ "id": 21361,
6899
6899
  "isConstant": false,
6900
6900
  "isLValue": false,
6901
6901
  "isPure": true,
@@ -6921,7 +6921,7 @@
6921
6921
  "typeString": "literal_string \"SlotBitmap out of bound\""
6922
6922
  }
6923
6923
  ],
6924
- "id": 21349,
6924
+ "id": 21357,
6925
6925
  "name": "require",
6926
6926
  "nodeType": "Identifier",
6927
6927
  "overloadedDeclarations": [
@@ -6935,7 +6935,7 @@
6935
6935
  "typeString": "function (bool,string memory) pure"
6936
6936
  }
6937
6937
  },
6938
- "id": 21354,
6938
+ "id": 21362,
6939
6939
  "isConstant": false,
6940
6940
  "isLValue": false,
6941
6941
  "isPure": false,
@@ -6950,14 +6950,14 @@
6950
6950
  "typeString": "tuple()"
6951
6951
  }
6952
6952
  },
6953
- "id": 21355,
6953
+ "id": 21363,
6954
6954
  "nodeType": "ExpressionStatement",
6955
6955
  "src": "1954:59:65"
6956
6956
  }
6957
6957
  ]
6958
6958
  },
6959
6959
  "functionSelector": "a3247010",
6960
- "id": 21357,
6960
+ "id": 21365,
6961
6961
  "implemented": true,
6962
6962
  "kind": "function",
6963
6963
  "modifiers": [],
@@ -6965,38 +6965,38 @@
6965
6965
  "nameLocation": "805:20:65",
6966
6966
  "nodeType": "FunctionDefinition",
6967
6967
  "parameters": {
6968
- "id": 21249,
6968
+ "id": 21257,
6969
6969
  "nodeType": "ParameterList",
6970
6970
  "parameters": [
6971
6971
  {
6972
6972
  "constant": false,
6973
- "id": 21240,
6973
+ "id": 21248,
6974
6974
  "mutability": "mutable",
6975
6975
  "name": "token",
6976
6976
  "nameLocation": "852:5:65",
6977
6977
  "nodeType": "VariableDeclaration",
6978
- "scope": 21357,
6978
+ "scope": 21365,
6979
6979
  "src": "835:22:65",
6980
6980
  "stateVariable": false,
6981
6981
  "storageLocation": "default",
6982
6982
  "typeDescriptions": {
6983
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
6983
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
6984
6984
  "typeString": "contract ISuperfluidToken"
6985
6985
  },
6986
6986
  "typeName": {
6987
- "id": 21239,
6987
+ "id": 21247,
6988
6988
  "nodeType": "UserDefinedTypeName",
6989
6989
  "pathNode": {
6990
- "id": 21238,
6990
+ "id": 21246,
6991
6991
  "name": "ISuperfluidToken",
6992
6992
  "nodeType": "IdentifierPath",
6993
- "referencedDeclaration": 20442,
6993
+ "referencedDeclaration": 20450,
6994
6994
  "src": "835:16:65"
6995
6995
  },
6996
- "referencedDeclaration": 20442,
6996
+ "referencedDeclaration": 20450,
6997
6997
  "src": "835:16:65",
6998
6998
  "typeDescriptions": {
6999
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
6999
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
7000
7000
  "typeString": "contract ISuperfluidToken"
7001
7001
  }
7002
7002
  },
@@ -7004,12 +7004,12 @@
7004
7004
  },
7005
7005
  {
7006
7006
  "constant": false,
7007
- "id": 21242,
7007
+ "id": 21250,
7008
7008
  "mutability": "mutable",
7009
7009
  "name": "account",
7010
7010
  "nameLocation": "875:7:65",
7011
7011
  "nodeType": "VariableDeclaration",
7012
- "scope": 21357,
7012
+ "scope": 21365,
7013
7013
  "src": "867:15:65",
7014
7014
  "stateVariable": false,
7015
7015
  "storageLocation": "default",
@@ -7018,7 +7018,7 @@
7018
7018
  "typeString": "address"
7019
7019
  },
7020
7020
  "typeName": {
7021
- "id": 21241,
7021
+ "id": 21249,
7022
7022
  "name": "address",
7023
7023
  "nodeType": "ElementaryTypeName",
7024
7024
  "src": "867:7:65",
@@ -7032,12 +7032,12 @@
7032
7032
  },
7033
7033
  {
7034
7034
  "constant": false,
7035
- "id": 21244,
7035
+ "id": 21252,
7036
7036
  "mutability": "mutable",
7037
7037
  "name": "bitmapStateSlotId",
7038
7038
  "nameLocation": "900:17:65",
7039
7039
  "nodeType": "VariableDeclaration",
7040
- "scope": 21357,
7040
+ "scope": 21365,
7041
7041
  "src": "892:25:65",
7042
7042
  "stateVariable": false,
7043
7043
  "storageLocation": "default",
@@ -7046,7 +7046,7 @@
7046
7046
  "typeString": "uint256"
7047
7047
  },
7048
7048
  "typeName": {
7049
- "id": 21243,
7049
+ "id": 21251,
7050
7050
  "name": "uint256",
7051
7051
  "nodeType": "ElementaryTypeName",
7052
7052
  "src": "892:7:65",
@@ -7059,12 +7059,12 @@
7059
7059
  },
7060
7060
  {
7061
7061
  "constant": false,
7062
- "id": 21246,
7062
+ "id": 21254,
7063
7063
  "mutability": "mutable",
7064
7064
  "name": "dataStateSlotIDStart",
7065
7065
  "nameLocation": "935:20:65",
7066
7066
  "nodeType": "VariableDeclaration",
7067
- "scope": 21357,
7067
+ "scope": 21365,
7068
7068
  "src": "927:28:65",
7069
7069
  "stateVariable": false,
7070
7070
  "storageLocation": "default",
@@ -7073,7 +7073,7 @@
7073
7073
  "typeString": "uint256"
7074
7074
  },
7075
7075
  "typeName": {
7076
- "id": 21245,
7076
+ "id": 21253,
7077
7077
  "name": "uint256",
7078
7078
  "nodeType": "ElementaryTypeName",
7079
7079
  "src": "927:7:65",
@@ -7086,12 +7086,12 @@
7086
7086
  },
7087
7087
  {
7088
7088
  "constant": false,
7089
- "id": 21248,
7089
+ "id": 21256,
7090
7090
  "mutability": "mutable",
7091
7091
  "name": "data",
7092
7092
  "nameLocation": "973:4:65",
7093
7093
  "nodeType": "VariableDeclaration",
7094
- "scope": 21357,
7094
+ "scope": 21365,
7095
7095
  "src": "965:12:65",
7096
7096
  "stateVariable": false,
7097
7097
  "storageLocation": "default",
@@ -7100,7 +7100,7 @@
7100
7100
  "typeString": "bytes32"
7101
7101
  },
7102
7102
  "typeName": {
7103
- "id": 21247,
7103
+ "id": 21255,
7104
7104
  "name": "bytes32",
7105
7105
  "nodeType": "ElementaryTypeName",
7106
7106
  "src": "965:7:65",
@@ -7115,17 +7115,17 @@
7115
7115
  "src": "825:158:65"
7116
7116
  },
7117
7117
  "returnParameters": {
7118
- "id": 21252,
7118
+ "id": 21260,
7119
7119
  "nodeType": "ParameterList",
7120
7120
  "parameters": [
7121
7121
  {
7122
7122
  "constant": false,
7123
- "id": 21251,
7123
+ "id": 21259,
7124
7124
  "mutability": "mutable",
7125
7125
  "name": "slotId",
7126
7126
  "nameLocation": "1023:6:65",
7127
7127
  "nodeType": "VariableDeclaration",
7128
- "scope": 21357,
7128
+ "scope": 21365,
7129
7129
  "src": "1016:13:65",
7130
7130
  "stateVariable": false,
7131
7131
  "storageLocation": "default",
@@ -7134,7 +7134,7 @@
7134
7134
  "typeString": "uint32"
7135
7135
  },
7136
7136
  "typeName": {
7137
- "id": 21250,
7137
+ "id": 21258,
7138
7138
  "name": "uint32",
7139
7139
  "nodeType": "ElementaryTypeName",
7140
7140
  "src": "1016:6:65",
@@ -7148,7 +7148,7 @@
7148
7148
  ],
7149
7149
  "src": "1015:15:65"
7150
7150
  },
7151
- "scope": 21550,
7151
+ "scope": 21558,
7152
7152
  "src": "796:1224:65",
7153
7153
  "stateMutability": "nonpayable",
7154
7154
  "virtual": false,
@@ -7156,23 +7156,23 @@
7156
7156
  },
7157
7157
  {
7158
7158
  "body": {
7159
- "id": 21438,
7159
+ "id": 21446,
7160
7160
  "nodeType": "Block",
7161
7161
  "src": "2185:555:65",
7162
7162
  "statements": [
7163
7163
  {
7164
7164
  "assignments": [
7165
- 21370
7165
+ 21378
7166
7166
  ],
7167
7167
  "declarations": [
7168
7168
  {
7169
7169
  "constant": false,
7170
- "id": 21370,
7170
+ "id": 21378,
7171
7171
  "mutability": "mutable",
7172
7172
  "name": "subsBitmap",
7173
7173
  "nameLocation": "2203:10:65",
7174
7174
  "nodeType": "VariableDeclaration",
7175
- "scope": 21438,
7175
+ "scope": 21446,
7176
7176
  "src": "2195:18:65",
7177
7177
  "stateVariable": false,
7178
7178
  "storageLocation": "default",
@@ -7181,7 +7181,7 @@
7181
7181
  "typeString": "uint256"
7182
7182
  },
7183
7183
  "typeName": {
7184
- "id": 21369,
7184
+ "id": 21377,
7185
7185
  "name": "uint256",
7186
7186
  "nodeType": "ElementaryTypeName",
7187
7187
  "src": "2195:7:65",
@@ -7193,7 +7193,7 @@
7193
7193
  "visibility": "internal"
7194
7194
  }
7195
7195
  ],
7196
- "id": 21386,
7196
+ "id": 21394,
7197
7197
  "initialValue": {
7198
7198
  "arguments": [
7199
7199
  {
@@ -7202,14 +7202,14 @@
7202
7202
  {
7203
7203
  "arguments": [
7204
7204
  {
7205
- "id": 21377,
7205
+ "id": 21385,
7206
7206
  "name": "this",
7207
7207
  "nodeType": "Identifier",
7208
7208
  "overloadedDeclarations": [],
7209
7209
  "referencedDeclaration": 4294967268,
7210
7210
  "src": "2273:4:65",
7211
7211
  "typeDescriptions": {
7212
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
7212
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
7213
7213
  "typeString": "library SlotsBitmapLibrary"
7214
7214
  }
7215
7215
  }
@@ -7217,11 +7217,11 @@
7217
7217
  "expression": {
7218
7218
  "argumentTypes": [
7219
7219
  {
7220
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
7220
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
7221
7221
  "typeString": "library SlotsBitmapLibrary"
7222
7222
  }
7223
7223
  ],
7224
- "id": 21376,
7224
+ "id": 21384,
7225
7225
  "isConstant": false,
7226
7226
  "isLValue": false,
7227
7227
  "isPure": true,
@@ -7233,14 +7233,14 @@
7233
7233
  "typeString": "type(address)"
7234
7234
  },
7235
7235
  "typeName": {
7236
- "id": 21375,
7236
+ "id": 21383,
7237
7237
  "name": "address",
7238
7238
  "nodeType": "ElementaryTypeName",
7239
7239
  "src": "2265:7:65",
7240
7240
  "typeDescriptions": {}
7241
7241
  }
7242
7242
  },
7243
- "id": 21378,
7243
+ "id": 21386,
7244
7244
  "isConstant": false,
7245
7245
  "isLValue": false,
7246
7246
  "isPure": false,
@@ -7256,11 +7256,11 @@
7256
7256
  }
7257
7257
  },
7258
7258
  {
7259
- "id": 21379,
7259
+ "id": 21387,
7260
7260
  "name": "account",
7261
7261
  "nodeType": "Identifier",
7262
7262
  "overloadedDeclarations": [],
7263
- "referencedDeclaration": 21362,
7263
+ "referencedDeclaration": 21370,
7264
7264
  "src": "2292:7:65",
7265
7265
  "typeDescriptions": {
7266
7266
  "typeIdentifier": "t_address",
@@ -7268,11 +7268,11 @@
7268
7268
  }
7269
7269
  },
7270
7270
  {
7271
- "id": 21380,
7271
+ "id": 21388,
7272
7272
  "name": "bitmapStateSlotId",
7273
7273
  "nodeType": "Identifier",
7274
7274
  "overloadedDeclarations": [],
7275
- "referencedDeclaration": 21364,
7275
+ "referencedDeclaration": 21372,
7276
7276
  "src": "2313:17:65",
7277
7277
  "typeDescriptions": {
7278
7278
  "typeIdentifier": "t_uint256",
@@ -7281,7 +7281,7 @@
7281
7281
  },
7282
7282
  {
7283
7283
  "hexValue": "31",
7284
- "id": 21381,
7284
+ "id": 21389,
7285
7285
  "isConstant": false,
7286
7286
  "isLValue": false,
7287
7287
  "isPure": true,
@@ -7316,32 +7316,32 @@
7316
7316
  }
7317
7317
  ],
7318
7318
  "expression": {
7319
- "id": 21373,
7319
+ "id": 21381,
7320
7320
  "name": "token",
7321
7321
  "nodeType": "Identifier",
7322
7322
  "overloadedDeclarations": [],
7323
- "referencedDeclaration": 21360,
7323
+ "referencedDeclaration": 21368,
7324
7324
  "src": "2224:5:65",
7325
7325
  "typeDescriptions": {
7326
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
7326
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
7327
7327
  "typeString": "contract ISuperfluidToken"
7328
7328
  }
7329
7329
  },
7330
- "id": 21374,
7330
+ "id": 21382,
7331
7331
  "isConstant": false,
7332
7332
  "isLValue": false,
7333
7333
  "isPure": false,
7334
7334
  "lValueRequested": false,
7335
7335
  "memberName": "getAgreementStateSlot",
7336
7336
  "nodeType": "MemberAccess",
7337
- "referencedDeclaration": 20359,
7337
+ "referencedDeclaration": 20367,
7338
7338
  "src": "2224:27:65",
7339
7339
  "typeDescriptions": {
7340
7340
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
7341
7341
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
7342
7342
  }
7343
7343
  },
7344
- "id": 21382,
7344
+ "id": 21390,
7345
7345
  "isConstant": false,
7346
7346
  "isLValue": false,
7347
7347
  "isPure": false,
@@ -7356,10 +7356,10 @@
7356
7356
  "typeString": "bytes32[] memory"
7357
7357
  }
7358
7358
  },
7359
- "id": 21384,
7359
+ "id": 21392,
7360
7360
  "indexExpression": {
7361
7361
  "hexValue": "30",
7362
- "id": 21383,
7362
+ "id": 21391,
7363
7363
  "isConstant": false,
7364
7364
  "isLValue": false,
7365
7365
  "isPure": true,
@@ -7392,7 +7392,7 @@
7392
7392
  "typeString": "bytes32"
7393
7393
  }
7394
7394
  ],
7395
- "id": 21372,
7395
+ "id": 21380,
7396
7396
  "isConstant": false,
7397
7397
  "isLValue": false,
7398
7398
  "isPure": true,
@@ -7404,14 +7404,14 @@
7404
7404
  "typeString": "type(uint256)"
7405
7405
  },
7406
7406
  "typeName": {
7407
- "id": 21371,
7407
+ "id": 21379,
7408
7408
  "name": "uint256",
7409
7409
  "nodeType": "ElementaryTypeName",
7410
7410
  "src": "2216:7:65",
7411
7411
  "typeDescriptions": {}
7412
7412
  }
7413
7413
  },
7414
- "id": 21385,
7414
+ "id": 21393,
7415
7415
  "isConstant": false,
7416
7416
  "isLValue": false,
7417
7417
  "isPure": false,
@@ -7431,17 +7431,17 @@
7431
7431
  },
7432
7432
  {
7433
7433
  "assignments": [
7434
- 21391
7434
+ 21399
7435
7435
  ],
7436
7436
  "declarations": [
7437
7437
  {
7438
7438
  "constant": false,
7439
- "id": 21391,
7439
+ "id": 21399,
7440
7440
  "mutability": "mutable",
7441
7441
  "name": "slotData",
7442
7442
  "nameLocation": "2365:8:65",
7443
7443
  "nodeType": "VariableDeclaration",
7444
- "scope": 21438,
7444
+ "scope": 21446,
7445
7445
  "src": "2348:25:65",
7446
7446
  "stateVariable": false,
7447
7447
  "storageLocation": "memory",
@@ -7451,7 +7451,7 @@
7451
7451
  },
7452
7452
  "typeName": {
7453
7453
  "baseType": {
7454
- "id": 21389,
7454
+ "id": 21397,
7455
7455
  "name": "bytes32",
7456
7456
  "nodeType": "ElementaryTypeName",
7457
7457
  "src": "2348:7:65",
@@ -7460,7 +7460,7 @@
7460
7460
  "typeString": "bytes32"
7461
7461
  }
7462
7462
  },
7463
- "id": 21390,
7463
+ "id": 21398,
7464
7464
  "nodeType": "ArrayTypeName",
7465
7465
  "src": "2348:9:65",
7466
7466
  "typeDescriptions": {
@@ -7471,12 +7471,12 @@
7471
7471
  "visibility": "internal"
7472
7472
  }
7473
7473
  ],
7474
- "id": 21397,
7474
+ "id": 21405,
7475
7475
  "initialValue": {
7476
7476
  "arguments": [
7477
7477
  {
7478
7478
  "hexValue": "31",
7479
- "id": 21395,
7479
+ "id": 21403,
7480
7480
  "isConstant": false,
7481
7481
  "isLValue": false,
7482
7482
  "isPure": true,
@@ -7498,7 +7498,7 @@
7498
7498
  "typeString": "int_const 1"
7499
7499
  }
7500
7500
  ],
7501
- "id": 21394,
7501
+ "id": 21402,
7502
7502
  "isConstant": false,
7503
7503
  "isLValue": false,
7504
7504
  "isPure": true,
@@ -7511,7 +7511,7 @@
7511
7511
  },
7512
7512
  "typeName": {
7513
7513
  "baseType": {
7514
- "id": 21392,
7514
+ "id": 21400,
7515
7515
  "name": "bytes32",
7516
7516
  "nodeType": "ElementaryTypeName",
7517
7517
  "src": "2380:7:65",
@@ -7520,7 +7520,7 @@
7520
7520
  "typeString": "bytes32"
7521
7521
  }
7522
7522
  },
7523
- "id": 21393,
7523
+ "id": 21401,
7524
7524
  "nodeType": "ArrayTypeName",
7525
7525
  "src": "2380:9:65",
7526
7526
  "typeDescriptions": {
@@ -7529,7 +7529,7 @@
7529
7529
  }
7530
7530
  }
7531
7531
  },
7532
- "id": 21396,
7532
+ "id": 21404,
7533
7533
  "isConstant": false,
7534
7534
  "isLValue": false,
7535
7535
  "isPure": true,
@@ -7555,7 +7555,7 @@
7555
7555
  "typeIdentifier": "t_uint256",
7556
7556
  "typeString": "uint256"
7557
7557
  },
7558
- "id": 21409,
7558
+ "id": 21417,
7559
7559
  "isConstant": false,
7560
7560
  "isLValue": false,
7561
7561
  "isPure": false,
@@ -7565,17 +7565,17 @@
7565
7565
  "typeIdentifier": "t_uint256",
7566
7566
  "typeString": "uint256"
7567
7567
  },
7568
- "id": 21407,
7568
+ "id": 21415,
7569
7569
  "isConstant": false,
7570
7570
  "isLValue": false,
7571
7571
  "isPure": false,
7572
7572
  "lValueRequested": false,
7573
7573
  "leftExpression": {
7574
- "id": 21399,
7574
+ "id": 21407,
7575
7575
  "name": "subsBitmap",
7576
7576
  "nodeType": "Identifier",
7577
7577
  "overloadedDeclarations": [],
7578
- "referencedDeclaration": 21370,
7578
+ "referencedDeclaration": 21378,
7579
7579
  "src": "2483:10:65",
7580
7580
  "typeDescriptions": {
7581
7581
  "typeIdentifier": "t_uint256",
@@ -7591,14 +7591,14 @@
7591
7591
  "typeIdentifier": "t_uint256",
7592
7592
  "typeString": "uint256"
7593
7593
  },
7594
- "id": 21405,
7594
+ "id": 21413,
7595
7595
  "isConstant": false,
7596
7596
  "isLValue": false,
7597
7597
  "isPure": false,
7598
7598
  "lValueRequested": false,
7599
7599
  "leftExpression": {
7600
7600
  "hexValue": "31",
7601
- "id": 21400,
7601
+ "id": 21408,
7602
7602
  "isConstant": false,
7603
7603
  "isLValue": false,
7604
7604
  "isPure": true,
@@ -7617,11 +7617,11 @@
7617
7617
  "rightExpression": {
7618
7618
  "arguments": [
7619
7619
  {
7620
- "id": 21403,
7620
+ "id": 21411,
7621
7621
  "name": "slotId",
7622
7622
  "nodeType": "Identifier",
7623
7623
  "overloadedDeclarations": [],
7624
- "referencedDeclaration": 21366,
7624
+ "referencedDeclaration": 21374,
7625
7625
  "src": "2510:6:65",
7626
7626
  "typeDescriptions": {
7627
7627
  "typeIdentifier": "t_uint32",
@@ -7636,7 +7636,7 @@
7636
7636
  "typeString": "uint32"
7637
7637
  }
7638
7638
  ],
7639
- "id": 21402,
7639
+ "id": 21410,
7640
7640
  "isConstant": false,
7641
7641
  "isLValue": false,
7642
7642
  "isPure": true,
@@ -7648,14 +7648,14 @@
7648
7648
  "typeString": "type(uint256)"
7649
7649
  },
7650
7650
  "typeName": {
7651
- "id": 21401,
7651
+ "id": 21409,
7652
7652
  "name": "uint256",
7653
7653
  "nodeType": "ElementaryTypeName",
7654
7654
  "src": "2502:7:65",
7655
7655
  "typeDescriptions": {}
7656
7656
  }
7657
7657
  },
7658
- "id": 21404,
7658
+ "id": 21412,
7659
7659
  "isConstant": false,
7660
7660
  "isLValue": false,
7661
7661
  "isPure": false,
@@ -7677,7 +7677,7 @@
7677
7677
  }
7678
7678
  }
7679
7679
  ],
7680
- "id": 21406,
7680
+ "id": 21414,
7681
7681
  "isConstant": false,
7682
7682
  "isInlineArray": false,
7683
7683
  "isLValue": false,
@@ -7700,7 +7700,7 @@
7700
7700
  "operator": "!=",
7701
7701
  "rightExpression": {
7702
7702
  "hexValue": "30",
7703
- "id": 21408,
7703
+ "id": 21416,
7704
7704
  "isConstant": false,
7705
7705
  "isLValue": false,
7706
7706
  "isPure": true,
@@ -7728,7 +7728,7 @@
7728
7728
  "typeString": "bool"
7729
7729
  }
7730
7730
  ],
7731
- "id": 21398,
7731
+ "id": 21406,
7732
7732
  "name": "assert",
7733
7733
  "nodeType": "Identifier",
7734
7734
  "overloadedDeclarations": [],
@@ -7739,7 +7739,7 @@
7739
7739
  "typeString": "function (bool) pure"
7740
7740
  }
7741
7741
  },
7742
- "id": 21410,
7742
+ "id": 21418,
7743
7743
  "isConstant": false,
7744
7744
  "isLValue": false,
7745
7745
  "isPure": false,
@@ -7754,34 +7754,34 @@
7754
7754
  "typeString": "tuple()"
7755
7755
  }
7756
7756
  },
7757
- "id": 21411,
7757
+ "id": 21419,
7758
7758
  "nodeType": "ExpressionStatement",
7759
7759
  "src": "2476:48:65"
7760
7760
  },
7761
7761
  {
7762
7762
  "expression": {
7763
- "id": 21428,
7763
+ "id": 21436,
7764
7764
  "isConstant": false,
7765
7765
  "isLValue": false,
7766
7766
  "isPure": false,
7767
7767
  "lValueRequested": false,
7768
7768
  "leftHandSide": {
7769
7769
  "baseExpression": {
7770
- "id": 21412,
7770
+ "id": 21420,
7771
7771
  "name": "slotData",
7772
7772
  "nodeType": "Identifier",
7773
7773
  "overloadedDeclarations": [],
7774
- "referencedDeclaration": 21391,
7774
+ "referencedDeclaration": 21399,
7775
7775
  "src": "2534:8:65",
7776
7776
  "typeDescriptions": {
7777
7777
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
7778
7778
  "typeString": "bytes32[] memory"
7779
7779
  }
7780
7780
  },
7781
- "id": 21414,
7781
+ "id": 21422,
7782
7782
  "indexExpression": {
7783
7783
  "hexValue": "30",
7784
- "id": 21413,
7784
+ "id": 21421,
7785
7785
  "isConstant": false,
7786
7786
  "isLValue": false,
7787
7787
  "isPure": true,
@@ -7815,17 +7815,17 @@
7815
7815
  "typeIdentifier": "t_uint256",
7816
7816
  "typeString": "uint256"
7817
7817
  },
7818
- "id": 21426,
7818
+ "id": 21434,
7819
7819
  "isConstant": false,
7820
7820
  "isLValue": false,
7821
7821
  "isPure": false,
7822
7822
  "lValueRequested": false,
7823
7823
  "leftExpression": {
7824
- "id": 21417,
7824
+ "id": 21425,
7825
7825
  "name": "subsBitmap",
7826
7826
  "nodeType": "Identifier",
7827
7827
  "overloadedDeclarations": [],
7828
- "referencedDeclaration": 21370,
7828
+ "referencedDeclaration": 21378,
7829
7829
  "src": "2556:10:65",
7830
7830
  "typeDescriptions": {
7831
7831
  "typeIdentifier": "t_uint256",
@@ -7835,7 +7835,7 @@
7835
7835
  "nodeType": "BinaryOperation",
7836
7836
  "operator": "&",
7837
7837
  "rightExpression": {
7838
- "id": 21425,
7838
+ "id": 21433,
7839
7839
  "isConstant": false,
7840
7840
  "isLValue": false,
7841
7841
  "isPure": false,
@@ -7851,14 +7851,14 @@
7851
7851
  "typeIdentifier": "t_uint256",
7852
7852
  "typeString": "uint256"
7853
7853
  },
7854
- "id": 21423,
7854
+ "id": 21431,
7855
7855
  "isConstant": false,
7856
7856
  "isLValue": false,
7857
7857
  "isPure": false,
7858
7858
  "lValueRequested": false,
7859
7859
  "leftExpression": {
7860
7860
  "hexValue": "31",
7861
- "id": 21418,
7861
+ "id": 21426,
7862
7862
  "isConstant": false,
7863
7863
  "isLValue": false,
7864
7864
  "isPure": true,
@@ -7877,11 +7877,11 @@
7877
7877
  "rightExpression": {
7878
7878
  "arguments": [
7879
7879
  {
7880
- "id": 21421,
7880
+ "id": 21429,
7881
7881
  "name": "slotId",
7882
7882
  "nodeType": "Identifier",
7883
7883
  "overloadedDeclarations": [],
7884
- "referencedDeclaration": 21366,
7884
+ "referencedDeclaration": 21374,
7885
7885
  "src": "2584:6:65",
7886
7886
  "typeDescriptions": {
7887
7887
  "typeIdentifier": "t_uint32",
@@ -7896,7 +7896,7 @@
7896
7896
  "typeString": "uint32"
7897
7897
  }
7898
7898
  ],
7899
- "id": 21420,
7899
+ "id": 21428,
7900
7900
  "isConstant": false,
7901
7901
  "isLValue": false,
7902
7902
  "isPure": true,
@@ -7908,14 +7908,14 @@
7908
7908
  "typeString": "type(uint256)"
7909
7909
  },
7910
7910
  "typeName": {
7911
- "id": 21419,
7911
+ "id": 21427,
7912
7912
  "name": "uint256",
7913
7913
  "nodeType": "ElementaryTypeName",
7914
7914
  "src": "2576:7:65",
7915
7915
  "typeDescriptions": {}
7916
7916
  }
7917
7917
  },
7918
- "id": 21422,
7918
+ "id": 21430,
7919
7919
  "isConstant": false,
7920
7920
  "isLValue": false,
7921
7921
  "isPure": false,
@@ -7937,7 +7937,7 @@
7937
7937
  }
7938
7938
  }
7939
7939
  ],
7940
- "id": 21424,
7940
+ "id": 21432,
7941
7941
  "isConstant": false,
7942
7942
  "isInlineArray": false,
7943
7943
  "isLValue": false,
@@ -7969,7 +7969,7 @@
7969
7969
  "typeString": "uint256"
7970
7970
  }
7971
7971
  ],
7972
- "id": 21416,
7972
+ "id": 21424,
7973
7973
  "isConstant": false,
7974
7974
  "isLValue": false,
7975
7975
  "isPure": true,
@@ -7981,14 +7981,14 @@
7981
7981
  "typeString": "type(bytes32)"
7982
7982
  },
7983
7983
  "typeName": {
7984
- "id": 21415,
7984
+ "id": 21423,
7985
7985
  "name": "bytes32",
7986
7986
  "nodeType": "ElementaryTypeName",
7987
7987
  "src": "2548:7:65",
7988
7988
  "typeDescriptions": {}
7989
7989
  }
7990
7990
  },
7991
- "id": 21427,
7991
+ "id": 21435,
7992
7992
  "isConstant": false,
7993
7993
  "isLValue": false,
7994
7994
  "isPure": false,
@@ -8009,7 +8009,7 @@
8009
8009
  "typeString": "bytes32"
8010
8010
  }
8011
8011
  },
8012
- "id": 21429,
8012
+ "id": 21437,
8013
8013
  "nodeType": "ExpressionStatement",
8014
8014
  "src": "2534:59:65"
8015
8015
  },
@@ -8017,11 +8017,11 @@
8017
8017
  "expression": {
8018
8018
  "arguments": [
8019
8019
  {
8020
- "id": 21433,
8020
+ "id": 21441,
8021
8021
  "name": "account",
8022
8022
  "nodeType": "Identifier",
8023
8023
  "overloadedDeclarations": [],
8024
- "referencedDeclaration": 21362,
8024
+ "referencedDeclaration": 21370,
8025
8025
  "src": "2672:7:65",
8026
8026
  "typeDescriptions": {
8027
8027
  "typeIdentifier": "t_address",
@@ -8029,11 +8029,11 @@
8029
8029
  }
8030
8030
  },
8031
8031
  {
8032
- "id": 21434,
8032
+ "id": 21442,
8033
8033
  "name": "bitmapStateSlotId",
8034
8034
  "nodeType": "Identifier",
8035
8035
  "overloadedDeclarations": [],
8036
- "referencedDeclaration": 21364,
8036
+ "referencedDeclaration": 21372,
8037
8037
  "src": "2693:17:65",
8038
8038
  "typeDescriptions": {
8039
8039
  "typeIdentifier": "t_uint256",
@@ -8041,11 +8041,11 @@
8041
8041
  }
8042
8042
  },
8043
8043
  {
8044
- "id": 21435,
8044
+ "id": 21443,
8045
8045
  "name": "slotData",
8046
8046
  "nodeType": "Identifier",
8047
8047
  "overloadedDeclarations": [],
8048
- "referencedDeclaration": 21391,
8048
+ "referencedDeclaration": 21399,
8049
8049
  "src": "2724:8:65",
8050
8050
  "typeDescriptions": {
8051
8051
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -8069,32 +8069,32 @@
8069
8069
  }
8070
8070
  ],
8071
8071
  "expression": {
8072
- "id": 21430,
8072
+ "id": 21438,
8073
8073
  "name": "token",
8074
8074
  "nodeType": "Identifier",
8075
8075
  "overloadedDeclarations": [],
8076
- "referencedDeclaration": 21360,
8076
+ "referencedDeclaration": 21368,
8077
8077
  "src": "2628:5:65",
8078
8078
  "typeDescriptions": {
8079
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
8079
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
8080
8080
  "typeString": "contract ISuperfluidToken"
8081
8081
  }
8082
8082
  },
8083
- "id": 21432,
8083
+ "id": 21440,
8084
8084
  "isConstant": false,
8085
8085
  "isLValue": false,
8086
8086
  "isPure": false,
8087
8087
  "lValueRequested": false,
8088
8088
  "memberName": "updateAgreementStateSlot",
8089
8089
  "nodeType": "MemberAccess",
8090
- "referencedDeclaration": 20335,
8090
+ "referencedDeclaration": 20343,
8091
8091
  "src": "2628:30:65",
8092
8092
  "typeDescriptions": {
8093
8093
  "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
8094
8094
  "typeString": "function (address,uint256,bytes32[] memory) external"
8095
8095
  }
8096
8096
  },
8097
- "id": 21436,
8097
+ "id": 21444,
8098
8098
  "isConstant": false,
8099
8099
  "isLValue": false,
8100
8100
  "isPure": false,
@@ -8109,14 +8109,14 @@
8109
8109
  "typeString": "tuple()"
8110
8110
  }
8111
8111
  },
8112
- "id": 21437,
8112
+ "id": 21445,
8113
8113
  "nodeType": "ExpressionStatement",
8114
8114
  "src": "2628:105:65"
8115
8115
  }
8116
8116
  ]
8117
8117
  },
8118
8118
  "functionSelector": "a9472bf8",
8119
- "id": 21439,
8119
+ "id": 21447,
8120
8120
  "implemented": true,
8121
8121
  "kind": "function",
8122
8122
  "modifiers": [],
@@ -8124,38 +8124,38 @@
8124
8124
  "nameLocation": "2035:9:65",
8125
8125
  "nodeType": "FunctionDefinition",
8126
8126
  "parameters": {
8127
- "id": 21367,
8127
+ "id": 21375,
8128
8128
  "nodeType": "ParameterList",
8129
8129
  "parameters": [
8130
8130
  {
8131
8131
  "constant": false,
8132
- "id": 21360,
8132
+ "id": 21368,
8133
8133
  "mutability": "mutable",
8134
8134
  "name": "token",
8135
8135
  "nameLocation": "2071:5:65",
8136
8136
  "nodeType": "VariableDeclaration",
8137
- "scope": 21439,
8137
+ "scope": 21447,
8138
8138
  "src": "2054:22:65",
8139
8139
  "stateVariable": false,
8140
8140
  "storageLocation": "default",
8141
8141
  "typeDescriptions": {
8142
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
8142
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
8143
8143
  "typeString": "contract ISuperfluidToken"
8144
8144
  },
8145
8145
  "typeName": {
8146
- "id": 21359,
8146
+ "id": 21367,
8147
8147
  "nodeType": "UserDefinedTypeName",
8148
8148
  "pathNode": {
8149
- "id": 21358,
8149
+ "id": 21366,
8150
8150
  "name": "ISuperfluidToken",
8151
8151
  "nodeType": "IdentifierPath",
8152
- "referencedDeclaration": 20442,
8152
+ "referencedDeclaration": 20450,
8153
8153
  "src": "2054:16:65"
8154
8154
  },
8155
- "referencedDeclaration": 20442,
8155
+ "referencedDeclaration": 20450,
8156
8156
  "src": "2054:16:65",
8157
8157
  "typeDescriptions": {
8158
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
8158
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
8159
8159
  "typeString": "contract ISuperfluidToken"
8160
8160
  }
8161
8161
  },
@@ -8163,12 +8163,12 @@
8163
8163
  },
8164
8164
  {
8165
8165
  "constant": false,
8166
- "id": 21362,
8166
+ "id": 21370,
8167
8167
  "mutability": "mutable",
8168
8168
  "name": "account",
8169
8169
  "nameLocation": "2094:7:65",
8170
8170
  "nodeType": "VariableDeclaration",
8171
- "scope": 21439,
8171
+ "scope": 21447,
8172
8172
  "src": "2086:15:65",
8173
8173
  "stateVariable": false,
8174
8174
  "storageLocation": "default",
@@ -8177,7 +8177,7 @@
8177
8177
  "typeString": "address"
8178
8178
  },
8179
8179
  "typeName": {
8180
- "id": 21361,
8180
+ "id": 21369,
8181
8181
  "name": "address",
8182
8182
  "nodeType": "ElementaryTypeName",
8183
8183
  "src": "2086:7:65",
@@ -8191,12 +8191,12 @@
8191
8191
  },
8192
8192
  {
8193
8193
  "constant": false,
8194
- "id": 21364,
8194
+ "id": 21372,
8195
8195
  "mutability": "mutable",
8196
8196
  "name": "bitmapStateSlotId",
8197
8197
  "nameLocation": "2119:17:65",
8198
8198
  "nodeType": "VariableDeclaration",
8199
- "scope": 21439,
8199
+ "scope": 21447,
8200
8200
  "src": "2111:25:65",
8201
8201
  "stateVariable": false,
8202
8202
  "storageLocation": "default",
@@ -8205,7 +8205,7 @@
8205
8205
  "typeString": "uint256"
8206
8206
  },
8207
8207
  "typeName": {
8208
- "id": 21363,
8208
+ "id": 21371,
8209
8209
  "name": "uint256",
8210
8210
  "nodeType": "ElementaryTypeName",
8211
8211
  "src": "2111:7:65",
@@ -8218,12 +8218,12 @@
8218
8218
  },
8219
8219
  {
8220
8220
  "constant": false,
8221
- "id": 21366,
8221
+ "id": 21374,
8222
8222
  "mutability": "mutable",
8223
8223
  "name": "slotId",
8224
8224
  "nameLocation": "2153:6:65",
8225
8225
  "nodeType": "VariableDeclaration",
8226
- "scope": 21439,
8226
+ "scope": 21447,
8227
8227
  "src": "2146:13:65",
8228
8228
  "stateVariable": false,
8229
8229
  "storageLocation": "default",
@@ -8232,7 +8232,7 @@
8232
8232
  "typeString": "uint32"
8233
8233
  },
8234
8234
  "typeName": {
8235
- "id": 21365,
8235
+ "id": 21373,
8236
8236
  "name": "uint32",
8237
8237
  "nodeType": "ElementaryTypeName",
8238
8238
  "src": "2146:6:65",
@@ -8247,12 +8247,12 @@
8247
8247
  "src": "2044:121:65"
8248
8248
  },
8249
8249
  "returnParameters": {
8250
- "id": 21368,
8250
+ "id": 21376,
8251
8251
  "nodeType": "ParameterList",
8252
8252
  "parameters": [],
8253
8253
  "src": "2185:0:65"
8254
8254
  },
8255
- "scope": 21550,
8255
+ "scope": 21558,
8256
8256
  "src": "2026:714:65",
8257
8257
  "stateMutability": "nonpayable",
8258
8258
  "virtual": false,
@@ -8260,23 +8260,23 @@
8260
8260
  },
8261
8261
  {
8262
8262
  "body": {
8263
- "id": 21548,
8263
+ "id": 21556,
8264
8264
  "nodeType": "Block",
8265
8265
  "src": "3014:817:65",
8266
8266
  "statements": [
8267
8267
  {
8268
8268
  "assignments": [
8269
- 21458
8269
+ 21466
8270
8270
  ],
8271
8271
  "declarations": [
8272
8272
  {
8273
8273
  "constant": false,
8274
- "id": 21458,
8274
+ "id": 21466,
8275
8275
  "mutability": "mutable",
8276
8276
  "name": "subsBitmap",
8277
8277
  "nameLocation": "3032:10:65",
8278
8278
  "nodeType": "VariableDeclaration",
8279
- "scope": 21548,
8279
+ "scope": 21556,
8280
8280
  "src": "3024:18:65",
8281
8281
  "stateVariable": false,
8282
8282
  "storageLocation": "default",
@@ -8285,7 +8285,7 @@
8285
8285
  "typeString": "uint256"
8286
8286
  },
8287
8287
  "typeName": {
8288
- "id": 21457,
8288
+ "id": 21465,
8289
8289
  "name": "uint256",
8290
8290
  "nodeType": "ElementaryTypeName",
8291
8291
  "src": "3024:7:65",
@@ -8297,7 +8297,7 @@
8297
8297
  "visibility": "internal"
8298
8298
  }
8299
8299
  ],
8300
- "id": 21474,
8300
+ "id": 21482,
8301
8301
  "initialValue": {
8302
8302
  "arguments": [
8303
8303
  {
@@ -8306,14 +8306,14 @@
8306
8306
  {
8307
8307
  "arguments": [
8308
8308
  {
8309
- "id": 21465,
8309
+ "id": 21473,
8310
8310
  "name": "this",
8311
8311
  "nodeType": "Identifier",
8312
8312
  "overloadedDeclarations": [],
8313
8313
  "referencedDeclaration": 4294967268,
8314
8314
  "src": "3102:4:65",
8315
8315
  "typeDescriptions": {
8316
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
8316
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
8317
8317
  "typeString": "library SlotsBitmapLibrary"
8318
8318
  }
8319
8319
  }
@@ -8321,11 +8321,11 @@
8321
8321
  "expression": {
8322
8322
  "argumentTypes": [
8323
8323
  {
8324
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
8324
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
8325
8325
  "typeString": "library SlotsBitmapLibrary"
8326
8326
  }
8327
8327
  ],
8328
- "id": 21464,
8328
+ "id": 21472,
8329
8329
  "isConstant": false,
8330
8330
  "isLValue": false,
8331
8331
  "isPure": true,
@@ -8337,14 +8337,14 @@
8337
8337
  "typeString": "type(address)"
8338
8338
  },
8339
8339
  "typeName": {
8340
- "id": 21463,
8340
+ "id": 21471,
8341
8341
  "name": "address",
8342
8342
  "nodeType": "ElementaryTypeName",
8343
8343
  "src": "3094:7:65",
8344
8344
  "typeDescriptions": {}
8345
8345
  }
8346
8346
  },
8347
- "id": 21466,
8347
+ "id": 21474,
8348
8348
  "isConstant": false,
8349
8349
  "isLValue": false,
8350
8350
  "isPure": false,
@@ -8360,11 +8360,11 @@
8360
8360
  }
8361
8361
  },
8362
8362
  {
8363
- "id": 21467,
8363
+ "id": 21475,
8364
8364
  "name": "account",
8365
8365
  "nodeType": "Identifier",
8366
8366
  "overloadedDeclarations": [],
8367
- "referencedDeclaration": 21444,
8367
+ "referencedDeclaration": 21452,
8368
8368
  "src": "3121:7:65",
8369
8369
  "typeDescriptions": {
8370
8370
  "typeIdentifier": "t_address",
@@ -8372,11 +8372,11 @@
8372
8372
  }
8373
8373
  },
8374
8374
  {
8375
- "id": 21468,
8375
+ "id": 21476,
8376
8376
  "name": "bitmapStateSlotId",
8377
8377
  "nodeType": "Identifier",
8378
8378
  "overloadedDeclarations": [],
8379
- "referencedDeclaration": 21446,
8379
+ "referencedDeclaration": 21454,
8380
8380
  "src": "3142:17:65",
8381
8381
  "typeDescriptions": {
8382
8382
  "typeIdentifier": "t_uint256",
@@ -8385,7 +8385,7 @@
8385
8385
  },
8386
8386
  {
8387
8387
  "hexValue": "31",
8388
- "id": 21469,
8388
+ "id": 21477,
8389
8389
  "isConstant": false,
8390
8390
  "isLValue": false,
8391
8391
  "isPure": true,
@@ -8420,32 +8420,32 @@
8420
8420
  }
8421
8421
  ],
8422
8422
  "expression": {
8423
- "id": 21461,
8423
+ "id": 21469,
8424
8424
  "name": "token",
8425
8425
  "nodeType": "Identifier",
8426
8426
  "overloadedDeclarations": [],
8427
- "referencedDeclaration": 21442,
8427
+ "referencedDeclaration": 21450,
8428
8428
  "src": "3053:5:65",
8429
8429
  "typeDescriptions": {
8430
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
8430
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
8431
8431
  "typeString": "contract ISuperfluidToken"
8432
8432
  }
8433
8433
  },
8434
- "id": 21462,
8434
+ "id": 21470,
8435
8435
  "isConstant": false,
8436
8436
  "isLValue": false,
8437
8437
  "isPure": false,
8438
8438
  "lValueRequested": false,
8439
8439
  "memberName": "getAgreementStateSlot",
8440
8440
  "nodeType": "MemberAccess",
8441
- "referencedDeclaration": 20359,
8441
+ "referencedDeclaration": 20367,
8442
8442
  "src": "3053:27:65",
8443
8443
  "typeDescriptions": {
8444
8444
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
8445
8445
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
8446
8446
  }
8447
8447
  },
8448
- "id": 21470,
8448
+ "id": 21478,
8449
8449
  "isConstant": false,
8450
8450
  "isLValue": false,
8451
8451
  "isPure": false,
@@ -8460,10 +8460,10 @@
8460
8460
  "typeString": "bytes32[] memory"
8461
8461
  }
8462
8462
  },
8463
- "id": 21472,
8463
+ "id": 21480,
8464
8464
  "indexExpression": {
8465
8465
  "hexValue": "30",
8466
- "id": 21471,
8466
+ "id": 21479,
8467
8467
  "isConstant": false,
8468
8468
  "isLValue": false,
8469
8469
  "isPure": true,
@@ -8496,7 +8496,7 @@
8496
8496
  "typeString": "bytes32"
8497
8497
  }
8498
8498
  ],
8499
- "id": 21460,
8499
+ "id": 21468,
8500
8500
  "isConstant": false,
8501
8501
  "isLValue": false,
8502
8502
  "isPure": true,
@@ -8508,14 +8508,14 @@
8508
8508
  "typeString": "type(uint256)"
8509
8509
  },
8510
8510
  "typeName": {
8511
- "id": 21459,
8511
+ "id": 21467,
8512
8512
  "name": "uint256",
8513
8513
  "nodeType": "ElementaryTypeName",
8514
8514
  "src": "3045:7:65",
8515
8515
  "typeDescriptions": {}
8516
8516
  }
8517
8517
  },
8518
- "id": 21473,
8518
+ "id": 21481,
8519
8519
  "isConstant": false,
8520
8520
  "isLValue": false,
8521
8521
  "isPure": false,
@@ -8535,17 +8535,17 @@
8535
8535
  },
8536
8536
  {
8537
8537
  "expression": {
8538
- "id": 21481,
8538
+ "id": 21489,
8539
8539
  "isConstant": false,
8540
8540
  "isLValue": false,
8541
8541
  "isPure": false,
8542
8542
  "lValueRequested": false,
8543
8543
  "leftHandSide": {
8544
- "id": 21475,
8544
+ "id": 21483,
8545
8545
  "name": "slotIds",
8546
8546
  "nodeType": "Identifier",
8547
8547
  "overloadedDeclarations": [],
8548
- "referencedDeclaration": 21452,
8548
+ "referencedDeclaration": 21460,
8549
8549
  "src": "3178:7:65",
8550
8550
  "typeDescriptions": {
8551
8551
  "typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
@@ -8557,11 +8557,11 @@
8557
8557
  "rightHandSide": {
8558
8558
  "arguments": [
8559
8559
  {
8560
- "id": 21479,
8560
+ "id": 21487,
8561
8561
  "name": "_MAX_NUM_SLOTS",
8562
8562
  "nodeType": "Identifier",
8563
8563
  "overloadedDeclarations": [],
8564
- "referencedDeclaration": 21237,
8564
+ "referencedDeclaration": 21245,
8565
8565
  "src": "3201:14:65",
8566
8566
  "typeDescriptions": {
8567
8567
  "typeIdentifier": "t_uint32",
@@ -8576,7 +8576,7 @@
8576
8576
  "typeString": "uint32"
8577
8577
  }
8578
8578
  ],
8579
- "id": 21478,
8579
+ "id": 21486,
8580
8580
  "isConstant": false,
8581
8581
  "isLValue": false,
8582
8582
  "isPure": true,
@@ -8589,7 +8589,7 @@
8589
8589
  },
8590
8590
  "typeName": {
8591
8591
  "baseType": {
8592
- "id": 21476,
8592
+ "id": 21484,
8593
8593
  "name": "uint32",
8594
8594
  "nodeType": "ElementaryTypeName",
8595
8595
  "src": "3192:6:65",
@@ -8598,7 +8598,7 @@
8598
8598
  "typeString": "uint32"
8599
8599
  }
8600
8600
  },
8601
- "id": 21477,
8601
+ "id": 21485,
8602
8602
  "nodeType": "ArrayTypeName",
8603
8603
  "src": "3192:8:65",
8604
8604
  "typeDescriptions": {
@@ -8607,7 +8607,7 @@
8607
8607
  }
8608
8608
  }
8609
8609
  },
8610
- "id": 21480,
8610
+ "id": 21488,
8611
8611
  "isConstant": false,
8612
8612
  "isLValue": false,
8613
8613
  "isPure": true,
@@ -8628,23 +8628,23 @@
8628
8628
  "typeString": "uint32[] memory"
8629
8629
  }
8630
8630
  },
8631
- "id": 21482,
8631
+ "id": 21490,
8632
8632
  "nodeType": "ExpressionStatement",
8633
8633
  "src": "3178:38:65"
8634
8634
  },
8635
8635
  {
8636
8636
  "expression": {
8637
- "id": 21489,
8637
+ "id": 21497,
8638
8638
  "isConstant": false,
8639
8639
  "isLValue": false,
8640
8640
  "isPure": false,
8641
8641
  "lValueRequested": false,
8642
8642
  "leftHandSide": {
8643
- "id": 21483,
8643
+ "id": 21491,
8644
8644
  "name": "dataList",
8645
8645
  "nodeType": "Identifier",
8646
8646
  "overloadedDeclarations": [],
8647
- "referencedDeclaration": 21455,
8647
+ "referencedDeclaration": 21463,
8648
8648
  "src": "3226:8:65",
8649
8649
  "typeDescriptions": {
8650
8650
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
@@ -8656,11 +8656,11 @@
8656
8656
  "rightHandSide": {
8657
8657
  "arguments": [
8658
8658
  {
8659
- "id": 21487,
8659
+ "id": 21495,
8660
8660
  "name": "_MAX_NUM_SLOTS",
8661
8661
  "nodeType": "Identifier",
8662
8662
  "overloadedDeclarations": [],
8663
- "referencedDeclaration": 21237,
8663
+ "referencedDeclaration": 21245,
8664
8664
  "src": "3251:14:65",
8665
8665
  "typeDescriptions": {
8666
8666
  "typeIdentifier": "t_uint32",
@@ -8675,7 +8675,7 @@
8675
8675
  "typeString": "uint32"
8676
8676
  }
8677
8677
  ],
8678
- "id": 21486,
8678
+ "id": 21494,
8679
8679
  "isConstant": false,
8680
8680
  "isLValue": false,
8681
8681
  "isPure": true,
@@ -8688,7 +8688,7 @@
8688
8688
  },
8689
8689
  "typeName": {
8690
8690
  "baseType": {
8691
- "id": 21484,
8691
+ "id": 21492,
8692
8692
  "name": "bytes32",
8693
8693
  "nodeType": "ElementaryTypeName",
8694
8694
  "src": "3241:7:65",
@@ -8697,7 +8697,7 @@
8697
8697
  "typeString": "bytes32"
8698
8698
  }
8699
8699
  },
8700
- "id": 21485,
8700
+ "id": 21493,
8701
8701
  "nodeType": "ArrayTypeName",
8702
8702
  "src": "3241:9:65",
8703
8703
  "typeDescriptions": {
@@ -8706,7 +8706,7 @@
8706
8706
  }
8707
8707
  }
8708
8708
  },
8709
- "id": 21488,
8709
+ "id": 21496,
8710
8710
  "isConstant": false,
8711
8711
  "isLValue": false,
8712
8712
  "isPure": true,
@@ -8727,23 +8727,23 @@
8727
8727
  "typeString": "bytes32[] memory"
8728
8728
  }
8729
8729
  },
8730
- "id": 21490,
8730
+ "id": 21498,
8731
8731
  "nodeType": "ExpressionStatement",
8732
8732
  "src": "3226:40:65"
8733
8733
  },
8734
8734
  {
8735
8735
  "assignments": [
8736
- 21492
8736
+ 21500
8737
8737
  ],
8738
8738
  "declarations": [
8739
8739
  {
8740
8740
  "constant": false,
8741
- "id": 21492,
8741
+ "id": 21500,
8742
8742
  "mutability": "mutable",
8743
8743
  "name": "nSlots",
8744
8744
  "nameLocation": "3307:6:65",
8745
8745
  "nodeType": "VariableDeclaration",
8746
- "scope": 21548,
8746
+ "scope": 21556,
8747
8747
  "src": "3302:11:65",
8748
8748
  "stateVariable": false,
8749
8749
  "storageLocation": "default",
@@ -8752,7 +8752,7 @@
8752
8752
  "typeString": "uint256"
8753
8753
  },
8754
8754
  "typeName": {
8755
- "id": 21491,
8755
+ "id": 21499,
8756
8756
  "name": "uint",
8757
8757
  "nodeType": "ElementaryTypeName",
8758
8758
  "src": "3302:4:65",
@@ -8764,13 +8764,13 @@
8764
8764
  "visibility": "internal"
8765
8765
  }
8766
8766
  ],
8767
- "id": 21493,
8767
+ "id": 21501,
8768
8768
  "nodeType": "VariableDeclarationStatement",
8769
8769
  "src": "3302:11:65"
8770
8770
  },
8771
8771
  {
8772
8772
  "body": {
8773
- "id": 21545,
8773
+ "id": 21553,
8774
8774
  "nodeType": "Block",
8775
8775
  "src": "3382:309:65",
8776
8776
  "statements": [
@@ -8780,7 +8780,7 @@
8780
8780
  "typeIdentifier": "t_uint256",
8781
8781
  "typeString": "uint256"
8782
8782
  },
8783
- "id": 21514,
8783
+ "id": 21522,
8784
8784
  "isConstant": false,
8785
8785
  "isLValue": false,
8786
8786
  "isPure": false,
@@ -8792,7 +8792,7 @@
8792
8792
  "typeIdentifier": "t_uint256",
8793
8793
  "typeString": "uint256"
8794
8794
  },
8795
- "id": 21511,
8795
+ "id": 21519,
8796
8796
  "isConstant": false,
8797
8797
  "isLValue": false,
8798
8798
  "isPure": false,
@@ -8804,17 +8804,17 @@
8804
8804
  "typeIdentifier": "t_uint256",
8805
8805
  "typeString": "uint256"
8806
8806
  },
8807
- "id": 21508,
8807
+ "id": 21516,
8808
8808
  "isConstant": false,
8809
8809
  "isLValue": false,
8810
8810
  "isPure": false,
8811
8811
  "lValueRequested": false,
8812
8812
  "leftExpression": {
8813
- "id": 21506,
8813
+ "id": 21514,
8814
8814
  "name": "subsBitmap",
8815
8815
  "nodeType": "Identifier",
8816
8816
  "overloadedDeclarations": [],
8817
- "referencedDeclaration": 21458,
8817
+ "referencedDeclaration": 21466,
8818
8818
  "src": "3409:10:65",
8819
8819
  "typeDescriptions": {
8820
8820
  "typeIdentifier": "t_uint256",
@@ -8824,11 +8824,11 @@
8824
8824
  "nodeType": "BinaryOperation",
8825
8825
  "operator": ">>",
8826
8826
  "rightExpression": {
8827
- "id": 21507,
8827
+ "id": 21515,
8828
8828
  "name": "slotId",
8829
8829
  "nodeType": "Identifier",
8830
8830
  "overloadedDeclarations": [],
8831
- "referencedDeclaration": 21495,
8831
+ "referencedDeclaration": 21503,
8832
8832
  "src": "3423:6:65",
8833
8833
  "typeDescriptions": {
8834
8834
  "typeIdentifier": "t_uint32",
@@ -8849,7 +8849,7 @@
8849
8849
  "typeString": "uint256"
8850
8850
  }
8851
8851
  ],
8852
- "id": 21505,
8852
+ "id": 21513,
8853
8853
  "isConstant": false,
8854
8854
  "isLValue": false,
8855
8855
  "isPure": true,
@@ -8861,14 +8861,14 @@
8861
8861
  "typeString": "type(uint256)"
8862
8862
  },
8863
8863
  "typeName": {
8864
- "id": 21504,
8864
+ "id": 21512,
8865
8865
  "name": "uint256",
8866
8866
  "nodeType": "ElementaryTypeName",
8867
8867
  "src": "3401:7:65",
8868
8868
  "typeDescriptions": {}
8869
8869
  }
8870
8870
  },
8871
- "id": 21509,
8871
+ "id": 21517,
8872
8872
  "isConstant": false,
8873
8873
  "isLValue": false,
8874
8874
  "isPure": false,
@@ -8887,7 +8887,7 @@
8887
8887
  "operator": "&",
8888
8888
  "rightExpression": {
8889
8889
  "hexValue": "31",
8890
- "id": 21510,
8890
+ "id": 21518,
8891
8891
  "isConstant": false,
8892
8892
  "isLValue": false,
8893
8893
  "isPure": true,
@@ -8908,7 +8908,7 @@
8908
8908
  }
8909
8909
  }
8910
8910
  ],
8911
- "id": 21512,
8911
+ "id": 21520,
8912
8912
  "isConstant": false,
8913
8913
  "isInlineArray": false,
8914
8914
  "isLValue": false,
@@ -8925,7 +8925,7 @@
8925
8925
  "operator": "==",
8926
8926
  "rightExpression": {
8927
8927
  "hexValue": "30",
8928
- "id": 21513,
8928
+ "id": 21521,
8929
8929
  "isConstant": false,
8930
8930
  "isLValue": false,
8931
8931
  "isPure": true,
@@ -8945,42 +8945,42 @@
8945
8945
  "typeString": "bool"
8946
8946
  }
8947
8947
  },
8948
- "id": 21516,
8948
+ "id": 21524,
8949
8949
  "nodeType": "IfStatement",
8950
8950
  "src": "3396:54:65",
8951
8951
  "trueBody": {
8952
- "id": 21515,
8952
+ "id": 21523,
8953
8953
  "nodeType": "Continue",
8954
8954
  "src": "3442:8:65"
8955
8955
  }
8956
8956
  },
8957
8957
  {
8958
8958
  "expression": {
8959
- "id": 21521,
8959
+ "id": 21529,
8960
8960
  "isConstant": false,
8961
8961
  "isLValue": false,
8962
8962
  "isPure": false,
8963
8963
  "lValueRequested": false,
8964
8964
  "leftHandSide": {
8965
8965
  "baseExpression": {
8966
- "id": 21517,
8966
+ "id": 21525,
8967
8967
  "name": "slotIds",
8968
8968
  "nodeType": "Identifier",
8969
8969
  "overloadedDeclarations": [],
8970
- "referencedDeclaration": 21452,
8970
+ "referencedDeclaration": 21460,
8971
8971
  "src": "3464:7:65",
8972
8972
  "typeDescriptions": {
8973
8973
  "typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
8974
8974
  "typeString": "uint32[] memory"
8975
8975
  }
8976
8976
  },
8977
- "id": 21519,
8977
+ "id": 21527,
8978
8978
  "indexExpression": {
8979
- "id": 21518,
8979
+ "id": 21526,
8980
8980
  "name": "nSlots",
8981
8981
  "nodeType": "Identifier",
8982
8982
  "overloadedDeclarations": [],
8983
- "referencedDeclaration": 21492,
8983
+ "referencedDeclaration": 21500,
8984
8984
  "src": "3472:6:65",
8985
8985
  "typeDescriptions": {
8986
8986
  "typeIdentifier": "t_uint256",
@@ -9001,11 +9001,11 @@
9001
9001
  "nodeType": "Assignment",
9002
9002
  "operator": "=",
9003
9003
  "rightHandSide": {
9004
- "id": 21520,
9004
+ "id": 21528,
9005
9005
  "name": "slotId",
9006
9006
  "nodeType": "Identifier",
9007
9007
  "overloadedDeclarations": [],
9008
- "referencedDeclaration": 21495,
9008
+ "referencedDeclaration": 21503,
9009
9009
  "src": "3482:6:65",
9010
9010
  "typeDescriptions": {
9011
9011
  "typeIdentifier": "t_uint32",
@@ -9018,37 +9018,37 @@
9018
9018
  "typeString": "uint32"
9019
9019
  }
9020
9020
  },
9021
- "id": 21522,
9021
+ "id": 21530,
9022
9022
  "nodeType": "ExpressionStatement",
9023
9023
  "src": "3464:24:65"
9024
9024
  },
9025
9025
  {
9026
9026
  "expression": {
9027
- "id": 21540,
9027
+ "id": 21548,
9028
9028
  "isConstant": false,
9029
9029
  "isLValue": false,
9030
9030
  "isPure": false,
9031
9031
  "lValueRequested": false,
9032
9032
  "leftHandSide": {
9033
9033
  "baseExpression": {
9034
- "id": 21523,
9034
+ "id": 21531,
9035
9035
  "name": "dataList",
9036
9036
  "nodeType": "Identifier",
9037
9037
  "overloadedDeclarations": [],
9038
- "referencedDeclaration": 21455,
9038
+ "referencedDeclaration": 21463,
9039
9039
  "src": "3502:8:65",
9040
9040
  "typeDescriptions": {
9041
9041
  "typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
9042
9042
  "typeString": "bytes32[] memory"
9043
9043
  }
9044
9044
  },
9045
- "id": 21525,
9045
+ "id": 21533,
9046
9046
  "indexExpression": {
9047
- "id": 21524,
9047
+ "id": 21532,
9048
9048
  "name": "nSlots",
9049
9049
  "nodeType": "Identifier",
9050
9050
  "overloadedDeclarations": [],
9051
- "referencedDeclaration": 21492,
9051
+ "referencedDeclaration": 21500,
9052
9052
  "src": "3511:6:65",
9053
9053
  "typeDescriptions": {
9054
9054
  "typeIdentifier": "t_uint256",
@@ -9074,14 +9074,14 @@
9074
9074
  {
9075
9075
  "arguments": [
9076
9076
  {
9077
- "id": 21530,
9077
+ "id": 21538,
9078
9078
  "name": "this",
9079
9079
  "nodeType": "Identifier",
9080
9080
  "overloadedDeclarations": [],
9081
9081
  "referencedDeclaration": 4294967268,
9082
9082
  "src": "3574:4:65",
9083
9083
  "typeDescriptions": {
9084
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
9084
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
9085
9085
  "typeString": "library SlotsBitmapLibrary"
9086
9086
  }
9087
9087
  }
@@ -9089,11 +9089,11 @@
9089
9089
  "expression": {
9090
9090
  "argumentTypes": [
9091
9091
  {
9092
- "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21550",
9092
+ "typeIdentifier": "t_contract$_SlotsBitmapLibrary_$21558",
9093
9093
  "typeString": "library SlotsBitmapLibrary"
9094
9094
  }
9095
9095
  ],
9096
- "id": 21529,
9096
+ "id": 21537,
9097
9097
  "isConstant": false,
9098
9098
  "isLValue": false,
9099
9099
  "isPure": true,
@@ -9105,14 +9105,14 @@
9105
9105
  "typeString": "type(address)"
9106
9106
  },
9107
9107
  "typeName": {
9108
- "id": 21528,
9108
+ "id": 21536,
9109
9109
  "name": "address",
9110
9110
  "nodeType": "ElementaryTypeName",
9111
9111
  "src": "3566:7:65",
9112
9112
  "typeDescriptions": {}
9113
9113
  }
9114
9114
  },
9115
- "id": 21531,
9115
+ "id": 21539,
9116
9116
  "isConstant": false,
9117
9117
  "isLValue": false,
9118
9118
  "isPure": false,
@@ -9128,11 +9128,11 @@
9128
9128
  }
9129
9129
  },
9130
9130
  {
9131
- "id": 21532,
9131
+ "id": 21540,
9132
9132
  "name": "account",
9133
9133
  "nodeType": "Identifier",
9134
9134
  "overloadedDeclarations": [],
9135
- "referencedDeclaration": 21444,
9135
+ "referencedDeclaration": 21452,
9136
9136
  "src": "3597:7:65",
9137
9137
  "typeDescriptions": {
9138
9138
  "typeIdentifier": "t_address",
@@ -9144,17 +9144,17 @@
9144
9144
  "typeIdentifier": "t_uint256",
9145
9145
  "typeString": "uint256"
9146
9146
  },
9147
- "id": 21535,
9147
+ "id": 21543,
9148
9148
  "isConstant": false,
9149
9149
  "isLValue": false,
9150
9150
  "isPure": false,
9151
9151
  "lValueRequested": false,
9152
9152
  "leftExpression": {
9153
- "id": 21533,
9153
+ "id": 21541,
9154
9154
  "name": "dataStateSlotIDStart",
9155
9155
  "nodeType": "Identifier",
9156
9156
  "overloadedDeclarations": [],
9157
- "referencedDeclaration": 21448,
9157
+ "referencedDeclaration": 21456,
9158
9158
  "src": "3622:20:65",
9159
9159
  "typeDescriptions": {
9160
9160
  "typeIdentifier": "t_uint256",
@@ -9164,11 +9164,11 @@
9164
9164
  "nodeType": "BinaryOperation",
9165
9165
  "operator": "+",
9166
9166
  "rightExpression": {
9167
- "id": 21534,
9167
+ "id": 21542,
9168
9168
  "name": "slotId",
9169
9169
  "nodeType": "Identifier",
9170
9170
  "overloadedDeclarations": [],
9171
- "referencedDeclaration": 21495,
9171
+ "referencedDeclaration": 21503,
9172
9172
  "src": "3645:6:65",
9173
9173
  "typeDescriptions": {
9174
9174
  "typeIdentifier": "t_uint32",
@@ -9183,7 +9183,7 @@
9183
9183
  },
9184
9184
  {
9185
9185
  "hexValue": "31",
9186
- "id": 21536,
9186
+ "id": 21544,
9187
9187
  "isConstant": false,
9188
9188
  "isLValue": false,
9189
9189
  "isPure": true,
@@ -9218,32 +9218,32 @@
9218
9218
  }
9219
9219
  ],
9220
9220
  "expression": {
9221
- "id": 21526,
9221
+ "id": 21534,
9222
9222
  "name": "token",
9223
9223
  "nodeType": "Identifier",
9224
9224
  "overloadedDeclarations": [],
9225
- "referencedDeclaration": 21442,
9225
+ "referencedDeclaration": 21450,
9226
9226
  "src": "3521:5:65",
9227
9227
  "typeDescriptions": {
9228
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
9228
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
9229
9229
  "typeString": "contract ISuperfluidToken"
9230
9230
  }
9231
9231
  },
9232
- "id": 21527,
9232
+ "id": 21535,
9233
9233
  "isConstant": false,
9234
9234
  "isLValue": false,
9235
9235
  "isPure": false,
9236
9236
  "lValueRequested": false,
9237
9237
  "memberName": "getAgreementStateSlot",
9238
9238
  "nodeType": "MemberAccess",
9239
- "referencedDeclaration": 20359,
9239
+ "referencedDeclaration": 20367,
9240
9240
  "src": "3521:27:65",
9241
9241
  "typeDescriptions": {
9242
9242
  "typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
9243
9243
  "typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
9244
9244
  }
9245
9245
  },
9246
- "id": 21537,
9246
+ "id": 21545,
9247
9247
  "isConstant": false,
9248
9248
  "isLValue": false,
9249
9249
  "isPure": false,
@@ -9258,10 +9258,10 @@
9258
9258
  "typeString": "bytes32[] memory"
9259
9259
  }
9260
9260
  },
9261
- "id": 21539,
9261
+ "id": 21547,
9262
9262
  "indexExpression": {
9263
9263
  "hexValue": "30",
9264
- "id": 21538,
9264
+ "id": 21546,
9265
9265
  "isConstant": false,
9266
9266
  "isLValue": false,
9267
9267
  "isPure": true,
@@ -9292,13 +9292,13 @@
9292
9292
  "typeString": "bytes32"
9293
9293
  }
9294
9294
  },
9295
- "id": 21541,
9295
+ "id": 21549,
9296
9296
  "nodeType": "ExpressionStatement",
9297
9297
  "src": "3502:156:65"
9298
9298
  },
9299
9299
  {
9300
9300
  "expression": {
9301
- "id": 21543,
9301
+ "id": 21551,
9302
9302
  "isConstant": false,
9303
9303
  "isLValue": false,
9304
9304
  "isPure": false,
@@ -9308,11 +9308,11 @@
9308
9308
  "prefix": true,
9309
9309
  "src": "3672:8:65",
9310
9310
  "subExpression": {
9311
- "id": 21542,
9311
+ "id": 21550,
9312
9312
  "name": "nSlots",
9313
9313
  "nodeType": "Identifier",
9314
9314
  "overloadedDeclarations": [],
9315
- "referencedDeclaration": 21492,
9315
+ "referencedDeclaration": 21500,
9316
9316
  "src": "3674:6:65",
9317
9317
  "typeDescriptions": {
9318
9318
  "typeIdentifier": "t_uint256",
@@ -9324,7 +9324,7 @@
9324
9324
  "typeString": "uint256"
9325
9325
  }
9326
9326
  },
9327
- "id": 21544,
9327
+ "id": 21552,
9328
9328
  "nodeType": "ExpressionStatement",
9329
9329
  "src": "3672:8:65"
9330
9330
  }
@@ -9335,17 +9335,17 @@
9335
9335
  "typeIdentifier": "t_uint32",
9336
9336
  "typeString": "uint32"
9337
9337
  },
9338
- "id": 21500,
9338
+ "id": 21508,
9339
9339
  "isConstant": false,
9340
9340
  "isLValue": false,
9341
9341
  "isPure": false,
9342
9342
  "lValueRequested": false,
9343
9343
  "leftExpression": {
9344
- "id": 21498,
9344
+ "id": 21506,
9345
9345
  "name": "slotId",
9346
9346
  "nodeType": "Identifier",
9347
9347
  "overloadedDeclarations": [],
9348
- "referencedDeclaration": 21495,
9348
+ "referencedDeclaration": 21503,
9349
9349
  "src": "3347:6:65",
9350
9350
  "typeDescriptions": {
9351
9351
  "typeIdentifier": "t_uint32",
@@ -9355,11 +9355,11 @@
9355
9355
  "nodeType": "BinaryOperation",
9356
9356
  "operator": "<",
9357
9357
  "rightExpression": {
9358
- "id": 21499,
9358
+ "id": 21507,
9359
9359
  "name": "_MAX_NUM_SLOTS",
9360
9360
  "nodeType": "Identifier",
9361
9361
  "overloadedDeclarations": [],
9362
- "referencedDeclaration": 21237,
9362
+ "referencedDeclaration": 21245,
9363
9363
  "src": "3356:14:65",
9364
9364
  "typeDescriptions": {
9365
9365
  "typeIdentifier": "t_uint32",
@@ -9372,20 +9372,20 @@
9372
9372
  "typeString": "bool"
9373
9373
  }
9374
9374
  },
9375
- "id": 21546,
9375
+ "id": 21554,
9376
9376
  "initializationExpression": {
9377
9377
  "assignments": [
9378
- 21495
9378
+ 21503
9379
9379
  ],
9380
9380
  "declarations": [
9381
9381
  {
9382
9382
  "constant": false,
9383
- "id": 21495,
9383
+ "id": 21503,
9384
9384
  "mutability": "mutable",
9385
9385
  "name": "slotId",
9386
9386
  "nameLocation": "3335:6:65",
9387
9387
  "nodeType": "VariableDeclaration",
9388
- "scope": 21546,
9388
+ "scope": 21554,
9389
9389
  "src": "3328:13:65",
9390
9390
  "stateVariable": false,
9391
9391
  "storageLocation": "default",
@@ -9394,7 +9394,7 @@
9394
9394
  "typeString": "uint32"
9395
9395
  },
9396
9396
  "typeName": {
9397
- "id": 21494,
9397
+ "id": 21502,
9398
9398
  "name": "uint32",
9399
9399
  "nodeType": "ElementaryTypeName",
9400
9400
  "src": "3328:6:65",
@@ -9406,10 +9406,10 @@
9406
9406
  "visibility": "internal"
9407
9407
  }
9408
9408
  ],
9409
- "id": 21497,
9409
+ "id": 21505,
9410
9410
  "initialValue": {
9411
9411
  "hexValue": "30",
9412
- "id": 21496,
9412
+ "id": 21504,
9413
9413
  "isConstant": false,
9414
9414
  "isLValue": false,
9415
9415
  "isPure": true,
@@ -9428,7 +9428,7 @@
9428
9428
  },
9429
9429
  "loopExpression": {
9430
9430
  "expression": {
9431
- "id": 21502,
9431
+ "id": 21510,
9432
9432
  "isConstant": false,
9433
9433
  "isLValue": false,
9434
9434
  "isPure": false,
@@ -9438,11 +9438,11 @@
9438
9438
  "prefix": true,
9439
9439
  "src": "3372:8:65",
9440
9440
  "subExpression": {
9441
- "id": 21501,
9441
+ "id": 21509,
9442
9442
  "name": "slotId",
9443
9443
  "nodeType": "Identifier",
9444
9444
  "overloadedDeclarations": [],
9445
- "referencedDeclaration": 21495,
9445
+ "referencedDeclaration": 21503,
9446
9446
  "src": "3374:6:65",
9447
9447
  "typeDescriptions": {
9448
9448
  "typeIdentifier": "t_uint32",
@@ -9454,7 +9454,7 @@
9454
9454
  "typeString": "uint32"
9455
9455
  }
9456
9456
  },
9457
- "id": 21503,
9457
+ "id": 21511,
9458
9458
  "nodeType": "ExpressionStatement",
9459
9459
  "src": "3372:8:65"
9460
9460
  },
@@ -9521,42 +9521,42 @@
9521
9521
  "evmVersion": "london",
9522
9522
  "externalReferences": [
9523
9523
  {
9524
- "declaration": 21455,
9524
+ "declaration": 21463,
9525
9525
  "isOffset": false,
9526
9526
  "isSlot": false,
9527
9527
  "src": "3798:8:65",
9528
9528
  "valueSize": 1
9529
9529
  },
9530
9530
  {
9531
- "declaration": 21492,
9531
+ "declaration": 21500,
9532
9532
  "isOffset": false,
9533
9533
  "isSlot": false,
9534
9534
  "src": "3771:6:65",
9535
9535
  "valueSize": 1
9536
9536
  },
9537
9537
  {
9538
- "declaration": 21492,
9538
+ "declaration": 21500,
9539
9539
  "isOffset": false,
9540
9540
  "isSlot": false,
9541
9541
  "src": "3808:6:65",
9542
9542
  "valueSize": 1
9543
9543
  },
9544
9544
  {
9545
- "declaration": 21452,
9545
+ "declaration": 21460,
9546
9546
  "isOffset": false,
9547
9547
  "isSlot": false,
9548
9548
  "src": "3762:7:65",
9549
9549
  "valueSize": 1
9550
9550
  }
9551
9551
  ],
9552
- "id": 21547,
9552
+ "id": 21555,
9553
9553
  "nodeType": "InlineAssembly",
9554
9554
  "src": "3732:93:65"
9555
9555
  }
9556
9556
  ]
9557
9557
  },
9558
9558
  "functionSelector": "06967a8c",
9559
- "id": 21549,
9559
+ "id": 21557,
9560
9560
  "implemented": true,
9561
9561
  "kind": "function",
9562
9562
  "modifiers": [],
@@ -9564,38 +9564,38 @@
9564
9564
  "nameLocation": "2755:8:65",
9565
9565
  "nodeType": "FunctionDefinition",
9566
9566
  "parameters": {
9567
- "id": 21449,
9567
+ "id": 21457,
9568
9568
  "nodeType": "ParameterList",
9569
9569
  "parameters": [
9570
9570
  {
9571
9571
  "constant": false,
9572
- "id": 21442,
9572
+ "id": 21450,
9573
9573
  "mutability": "mutable",
9574
9574
  "name": "token",
9575
9575
  "nameLocation": "2789:5:65",
9576
9576
  "nodeType": "VariableDeclaration",
9577
- "scope": 21549,
9577
+ "scope": 21557,
9578
9578
  "src": "2772:22:65",
9579
9579
  "stateVariable": false,
9580
9580
  "storageLocation": "default",
9581
9581
  "typeDescriptions": {
9582
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
9582
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
9583
9583
  "typeString": "contract ISuperfluidToken"
9584
9584
  },
9585
9585
  "typeName": {
9586
- "id": 21441,
9586
+ "id": 21449,
9587
9587
  "nodeType": "UserDefinedTypeName",
9588
9588
  "pathNode": {
9589
- "id": 21440,
9589
+ "id": 21448,
9590
9590
  "name": "ISuperfluidToken",
9591
9591
  "nodeType": "IdentifierPath",
9592
- "referencedDeclaration": 20442,
9592
+ "referencedDeclaration": 20450,
9593
9593
  "src": "2772:16:65"
9594
9594
  },
9595
- "referencedDeclaration": 20442,
9595
+ "referencedDeclaration": 20450,
9596
9596
  "src": "2772:16:65",
9597
9597
  "typeDescriptions": {
9598
- "typeIdentifier": "t_contract$_ISuperfluidToken_$20442",
9598
+ "typeIdentifier": "t_contract$_ISuperfluidToken_$20450",
9599
9599
  "typeString": "contract ISuperfluidToken"
9600
9600
  }
9601
9601
  },
@@ -9603,12 +9603,12 @@
9603
9603
  },
9604
9604
  {
9605
9605
  "constant": false,
9606
- "id": 21444,
9606
+ "id": 21452,
9607
9607
  "mutability": "mutable",
9608
9608
  "name": "account",
9609
9609
  "nameLocation": "2811:7:65",
9610
9610
  "nodeType": "VariableDeclaration",
9611
- "scope": 21549,
9611
+ "scope": 21557,
9612
9612
  "src": "2803:15:65",
9613
9613
  "stateVariable": false,
9614
9614
  "storageLocation": "default",
@@ -9617,7 +9617,7 @@
9617
9617
  "typeString": "address"
9618
9618
  },
9619
9619
  "typeName": {
9620
- "id": 21443,
9620
+ "id": 21451,
9621
9621
  "name": "address",
9622
9622
  "nodeType": "ElementaryTypeName",
9623
9623
  "src": "2803:7:65",
@@ -9631,12 +9631,12 @@
9631
9631
  },
9632
9632
  {
9633
9633
  "constant": false,
9634
- "id": 21446,
9634
+ "id": 21454,
9635
9635
  "mutability": "mutable",
9636
9636
  "name": "bitmapStateSlotId",
9637
9637
  "nameLocation": "2835:17:65",
9638
9638
  "nodeType": "VariableDeclaration",
9639
- "scope": 21549,
9639
+ "scope": 21557,
9640
9640
  "src": "2827:25:65",
9641
9641
  "stateVariable": false,
9642
9642
  "storageLocation": "default",
@@ -9645,7 +9645,7 @@
9645
9645
  "typeString": "uint256"
9646
9646
  },
9647
9647
  "typeName": {
9648
- "id": 21445,
9648
+ "id": 21453,
9649
9649
  "name": "uint256",
9650
9650
  "nodeType": "ElementaryTypeName",
9651
9651
  "src": "2827:7:65",
@@ -9658,12 +9658,12 @@
9658
9658
  },
9659
9659
  {
9660
9660
  "constant": false,
9661
- "id": 21448,
9661
+ "id": 21456,
9662
9662
  "mutability": "mutable",
9663
9663
  "name": "dataStateSlotIDStart",
9664
9664
  "nameLocation": "2869:20:65",
9665
9665
  "nodeType": "VariableDeclaration",
9666
- "scope": 21549,
9666
+ "scope": 21557,
9667
9667
  "src": "2861:28:65",
9668
9668
  "stateVariable": false,
9669
9669
  "storageLocation": "default",
@@ -9672,7 +9672,7 @@
9672
9672
  "typeString": "uint256"
9673
9673
  },
9674
9674
  "typeName": {
9675
- "id": 21447,
9675
+ "id": 21455,
9676
9676
  "name": "uint256",
9677
9677
  "nodeType": "ElementaryTypeName",
9678
9678
  "src": "2861:7:65",
@@ -9687,17 +9687,17 @@
9687
9687
  "src": "2763:132:65"
9688
9688
  },
9689
9689
  "returnParameters": {
9690
- "id": 21456,
9690
+ "id": 21464,
9691
9691
  "nodeType": "ParameterList",
9692
9692
  "parameters": [
9693
9693
  {
9694
9694
  "constant": false,
9695
- "id": 21452,
9695
+ "id": 21460,
9696
9696
  "mutability": "mutable",
9697
9697
  "name": "slotIds",
9698
9698
  "nameLocation": "2962:7:65",
9699
9699
  "nodeType": "VariableDeclaration",
9700
- "scope": 21549,
9700
+ "scope": 21557,
9701
9701
  "src": "2946:23:65",
9702
9702
  "stateVariable": false,
9703
9703
  "storageLocation": "memory",
@@ -9707,7 +9707,7 @@
9707
9707
  },
9708
9708
  "typeName": {
9709
9709
  "baseType": {
9710
- "id": 21450,
9710
+ "id": 21458,
9711
9711
  "name": "uint32",
9712
9712
  "nodeType": "ElementaryTypeName",
9713
9713
  "src": "2946:6:65",
@@ -9716,7 +9716,7 @@
9716
9716
  "typeString": "uint32"
9717
9717
  }
9718
9718
  },
9719
- "id": 21451,
9719
+ "id": 21459,
9720
9720
  "nodeType": "ArrayTypeName",
9721
9721
  "src": "2946:8:65",
9722
9722
  "typeDescriptions": {
@@ -9728,12 +9728,12 @@
9728
9728
  },
9729
9729
  {
9730
9730
  "constant": false,
9731
- "id": 21455,
9731
+ "id": 21463,
9732
9732
  "mutability": "mutable",
9733
9733
  "name": "dataList",
9734
9734
  "nameLocation": "3000:8:65",
9735
9735
  "nodeType": "VariableDeclaration",
9736
- "scope": 21549,
9736
+ "scope": 21557,
9737
9737
  "src": "2983:25:65",
9738
9738
  "stateVariable": false,
9739
9739
  "storageLocation": "memory",
@@ -9743,7 +9743,7 @@
9743
9743
  },
9744
9744
  "typeName": {
9745
9745
  "baseType": {
9746
- "id": 21453,
9746
+ "id": 21461,
9747
9747
  "name": "bytes32",
9748
9748
  "nodeType": "ElementaryTypeName",
9749
9749
  "src": "2983:7:65",
@@ -9752,7 +9752,7 @@
9752
9752
  "typeString": "bytes32"
9753
9753
  }
9754
9754
  },
9755
- "id": 21454,
9755
+ "id": 21462,
9756
9756
  "nodeType": "ArrayTypeName",
9757
9757
  "src": "2983:9:65",
9758
9758
  "typeDescriptions": {
@@ -9765,14 +9765,14 @@
9765
9765
  ],
9766
9766
  "src": "2932:77:65"
9767
9767
  },
9768
- "scope": 21550,
9768
+ "scope": 21558,
9769
9769
  "src": "2746:1085:65",
9770
9770
  "stateMutability": "view",
9771
9771
  "virtual": false,
9772
9772
  "visibility": "public"
9773
9773
  }
9774
9774
  ],
9775
- "scope": 21551,
9775
+ "scope": 21559,
9776
9776
  "src": "710:3123:65",
9777
9777
  "usedErrors": []
9778
9778
  }
@@ -9785,7 +9785,7 @@
9785
9785
  },
9786
9786
  "networks": {},
9787
9787
  "schemaVersion": "3.4.8",
9788
- "updatedAt": "2022-08-11T12:58:51.701Z",
9788
+ "updatedAt": "2022-08-24T13:23:34.452Z",
9789
9789
  "devdoc": {
9790
9790
  "author": "Superfluid",
9791
9791
  "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",