@superfluid-finance/ethereum-contracts 1.2.1-dev.90ccb01.0 → 1.2.2-dev.153bcd3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/contracts/AccessControl.json +1 -1
- package/build/contracts/AccessControlEnumerable.json +1 -1
- package/build/contracts/Address.json +1 -1
- package/build/contracts/AgreementBase.json +18 -18
- package/build/contracts/AgreementLibrary.json +450 -243
- package/build/contracts/BaseRelayRecipient.json +112 -112
- package/build/contracts/BatchLiquidator.json +181 -181
- package/build/contracts/BatchOperation.json +1138 -1138
- package/build/contracts/CFAv1Library.json +2534 -2534
- package/build/contracts/CallUtils.json +478 -478
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1524 -1524
- package/build/contracts/ConstantFlowAgreementV1.json +22881 -21905
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +1138 -1138
- package/build/contracts/Create2.json +1 -1
- package/build/contracts/CustomSuperTokenBase.json +31 -31
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20Burnable.json +1 -1
- package/build/contracts/ERC20Pausable.json +1 -1
- package/build/contracts/ERC20PresetMinterPauser.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +36 -36
- package/build/contracts/ERC721.json +1 -1
- package/build/contracts/ERC777Helper.json +660 -660
- package/build/contracts/ERC777RecipientDrainingGas.json +855 -855
- package/build/contracts/ERC777RecipientReverting.json +855 -855
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/ExclusiveInflowTestApp.json +1524 -1524
- package/build/contracts/FixedSizeData.json +405 -405
- package/build/contracts/FlowExchangeTestApp.json +1525 -1525
- package/build/contracts/FlowOperatorDefinitions.json +1138 -1138
- package/build/contracts/FullUpgradableSuperTokenProxy.json +113 -113
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +1051 -1153
- package/build/contracts/IDAv1Library.json +4183 -4183
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.json +1 -1
- package/build/contracts/IERC721Receiver.json +1 -1
- package/build/contracts/IERC777.json +1 -1
- package/build/contracts/IERC777Recipient.json +1 -1
- package/build/contracts/IERC777Sender.json +1 -1
- package/build/contracts/IInstantDistributionAgreementV1.json +1182 -1182
- package/build/contracts/IMaticBridgedNativeSuperToken.json +110 -110
- package/build/contracts/IMaticBridgedNativeSuperTokenCustom.json +110 -110
- package/build/contracts/IMultiSigWallet.json +45 -45
- package/build/contracts/IPureSuperToken.json +69 -69
- package/build/contracts/IPureSuperTokenCustom.json +69 -69
- package/build/contracts/IRelayRecipient.json +49 -49
- package/build/contracts/IResolver.json +73 -73
- package/build/contracts/ISETH.json +79 -79
- package/build/contracts/ISETHCustom.json +79 -79
- package/build/contracts/ISuperAgreement.json +88 -88
- package/build/contracts/ISuperApp.json +351 -351
- package/build/contracts/ISuperToken.json +1008 -1008
- package/build/contracts/ISuperTokenFactory.json +280 -280
- package/build/contracts/ISuperfluid.json +1466 -1466
- package/build/contracts/ISuperfluidGovernance.json +404 -404
- package/build/contracts/ISuperfluidToken.json +774 -774
- package/build/contracts/ITOGAv1.json +1432 -1432
- package/build/contracts/ITOGAv2.json +1432 -1432
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +9343 -9343
- package/build/contracts/Int96SafeMath.json +504 -504
- package/build/contracts/MaticBridgedNativeSuperTokenProxy.json +228 -228
- package/build/contracts/NonClosableOutflowTestApp.json +1525 -1525
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Pausable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/PureSuperToken.json +106 -106
- package/build/contracts/Resolver.json +98 -98
- package/build/contracts/SETHProxy.json +224 -224
- package/build/contracts/SafeCast.json +1 -1
- package/build/contracts/SafeERC20.json +1 -1
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1524 -1524
- package/build/contracts/SlotsBitmapLibrary.json +794 -794
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +394 -394
- package/build/contracts/SuperAppDefinitions.json +1138 -1138
- package/build/contracts/SuperToken.json +2351 -2351
- package/build/contracts/SuperTokenFactory.json +731 -731
- package/build/contracts/SuperTokenFactoryBase.json +721 -721
- package/build/contracts/SuperTokenFactoryHelper.json +724 -724
- package/build/contracts/SuperUpgrader.json +437 -437
- package/build/contracts/Superfluid.json +9812 -10169
- package/build/contracts/SuperfluidFrameworkDeployer.json +535 -535
- package/build/contracts/SuperfluidGovernanceBase.json +3471 -3789
- package/build/contracts/SuperfluidGovernanceConfigs.json +1138 -1138
- package/build/contracts/SuperfluidGovernanceII.json +2097 -2347
- package/build/contracts/SuperfluidGovernanceIIProxy.json +214 -214
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidToken.json +1345 -1345
- package/build/contracts/TOGA.json +1451 -1451
- package/build/contracts/TestGovernance.json +2195 -2445
- package/build/contracts/TestToken.json +94 -94
- package/build/contracts/TokenCustodian.json +214 -214
- package/build/contracts/TokenInfo.json +58 -58
- package/build/contracts/UInt128SafeMath.json +97 -97
- package/build/contracts/UUPSProxiable.json +132 -132
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +3 -4
- package/contracts/agreements/AgreementLibrary.sol +1 -0
- package/contracts/agreements/ConstantFlowAgreementV1.sol +77 -45
- package/contracts/agreements/InstantDistributionAgreementV1.sol +3 -2
- package/contracts/gov/SuperfluidGovernanceBase.sol +9 -26
- package/contracts/interfaces/agreements/IConstantFlowAgreementV1.sol +3 -9
- package/contracts/{agreements → libs}/SlotsBitmapLibrary.sol +1 -3
- package/contracts/mocks/SuperfluidMock.sol +2 -2
- package/contracts/superfluid/Superfluid.sol +5 -10
- package/package.json +5 -4
- package/scripts/gov-create-new-app-registration-key.js +26 -3
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"type": "function"
|
|
42
42
|
}
|
|
43
43
|
],
|
|
44
|
-
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"token\",\"type\":\"ISuperfluidToken\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bitmapStateSlotId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dataStateSlotIDStart\",\"type\":\"uint256\"}],\"name\":\"listData\",\"outputs\":[{\"internalType\":\"uint32[]\",\"name\":\"slotIds\",\"type\":\"uint32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"dataList\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"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\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Slots Bitmap library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/
|
|
45
|
-
"bytecode": "
|
|
46
|
-
"deployedBytecode": "
|
|
44
|
+
"metadata": "{\"compiler\":{\"version\":\"0.8.13+commit.abaa5c0e\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"contract ISuperfluidToken\",\"name\":\"token\",\"type\":\"ISuperfluidToken\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"bitmapStateSlotId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"dataStateSlotIDStart\",\"type\":\"uint256\"}],\"name\":\"listData\",\"outputs\":[{\"internalType\":\"uint32[]\",\"name\":\"slotIds\",\"type\":\"uint32[]\"},{\"internalType\":\"bytes32[]\",\"name\":\"dataList\",\"type\":\"bytes32[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"author\":\"Superfluid\",\"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\",\"kind\":\"dev\",\"methods\":{},\"title\":\"Slots Bitmap library\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/contracts/libs/SlotsBitmapLibrary.sol\":\"SlotsBitmapLibrary\"},\"evmVersion\":\"london\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/contracts/interfaces/superfluid/ISuperAgreement.sol\":{\"keccak256\":\"0xc3a6a907245116bcecc70fe4b207454012e8ce4fa190228fb8bbe39e0b1bc5cf\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://83c116bdae48685d20e5a27c942111e685ec1ef6334e7ff6f6d9af66edbd8025\",\"dweb:/ipfs/QmTnVuNTaRFiDmkAmDk7NFYdfQTW1kqgBZiY2exC6k8jDx\"]},\"project:/contracts/interfaces/superfluid/ISuperfluidToken.sol\":{\"keccak256\":\"0x9189eaba9e856cc4932ea29eeaf4e89a09448dde13860591691ec122856fdc75\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://7d5991b906bba706373f5bfe3c2c8789a7a45360a41eee50574272b393c4ab70\",\"dweb:/ipfs/QmVCXVnYA13vMNxa7rGzNB129sUXiGE1asuHdnEMEPVZsp\"]},\"project:/contracts/libs/SlotsBitmapLibrary.sol\":{\"keccak256\":\"0x1e49c98367ebcf54203dc9ba6e12cd8493781f66a41cac35f563a08db5231567\",\"license\":\"AGPLv3\",\"urls\":[\"bzz-raw://e685a5772695434b8b2fca2d2ae195e466d0333c68070f2667d6f3d8f50134a2\",\"dweb:/ipfs/Qmd8GZtoZDGh7onzpsTw3FdLkkVuLRopNa5ZfG9R7yexkF\"]}},\"version\":1}",
|
|
45
|
+
"bytecode": "0x610a6861003a600b82828239805160001a60731461002d57634e487b7160e01b600052600060045260246000fd5b30600052607381538281f3fe730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c806306967a8c14610050578063a32470101461007a578063a9472bf8146100af575b600080fd5b61006361005e3660046106e4565b6100d1565b60405161007192919061072a565b60405180910390f35b81801561008657600080fd5b5061009a6100953660046107ab565b6102f7565b60405163ffffffff9091168152602001610071565b8180156100bb57600080fd5b506100cf6100ca3660046107fc565b610577565b005b6060806000866001600160a01b0316634b61cc3330888860016040518563ffffffff1660e01b81526004016101099493929190610858565b600060405180830381865afa158015610126573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261014e9190810190610897565b60008151811061016057610160610955565b60209081029190910101516040805161010080825261202082019092529192508160200160208202803683375050604080516101008082526120208201909252929550905060208201612000803683370190505091506000805b61010063ffffffff821610156102e557600163ffffffff821684901c16156102d557808583815181106101ef576101ef610955565b602002602001019063ffffffff16908163ffffffff1681525050886001600160a01b0316634b61cc33308a8463ffffffff168a61022c9190610981565b60016040518563ffffffff1660e01b815260040161024d9493929190610858565b600060405180830381865afa15801561026a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102929190810190610897565b6000815181106102a4576102a4610955565b60200260200101518483815181106102be576102be610955565b60209081029190910101526102d282610999565b91505b6102de816109b2565b90506101ba565b50808452808352505094509492505050565b600080866001600160a01b0316634b61cc3330888860016040518563ffffffff1660e01b815260040161032d9493929190610858565b600060405180830381865afa15801561034a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103729190810190610897565b60008151811061038457610384610955565b602002602001015160001c9050600091505b61010063ffffffff83161015610512578163ffffffff1681901c600116600003610502576040805160018082528183019092526000916020808301908036833701905050905083816000815181106103f0576103f0610955565b60209081029190910101526001600160a01b03881663090c415e8861041b63ffffffff871689610981565b846040518463ffffffff1660e01b815260040161043a939291906109d5565b600060405180830381600087803b15801561045457600080fd5b505af1158015610468573d6000803e3d6000fd5b505050508263ffffffff166001901b821760001b8160008151811061048f5761048f610955565b602090810291909101015260405163048620af60e11b81526001600160a01b0389169063090c415e906104ca908a908a9086906004016109d5565b600060405180830381600087803b1580156104e457600080fd5b505af11580156104f8573d6000803e3d6000fd5b5050505050610512565b61050b826109b2565b9150610396565b61010063ffffffff83161061056d5760405162461bcd60e51b815260206004820152601760248201527f536c6f744269746d6170206f7574206f6620626f756e64000000000000000000604482015260640160405180910390fd5b5095945050505050565b604051634b61cc3360e01b81526000906001600160a01b03861690634b61cc33906105ad90309088908890600190600401610858565b600060405180830381865afa1580156105ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105f29190810190610897565b60008151811061060457610604610955565b60209081029190910181015160408051600180825281830190925291935060009282810190803683370190505090508263ffffffff166001901b19821660001b8160008151811061065757610657610955565b602090810291909101015260405163048620af60e11b81526001600160a01b0387169063090c415e90610692908890889086906004016109d5565b600060405180830381600087803b1580156106ac57600080fd5b505af11580156106c0573d6000803e3d6000fd5b50505050505050505050565b6001600160a01b03811681146106e157600080fd5b50565b600080600080608085870312156106fa57600080fd5b8435610705816106cc565b93506020850135610715816106cc565b93969395505050506040820135916060013590565b604080825283519082018190526000906020906060840190828701845b8281101561076957815163ffffffff1684529284019290840190600101610747565b5050508381038285015284518082528583019183019060005b8181101561079e57835183529284019291840191600101610782565b5090979650505050505050565b600080600080600060a086880312156107c357600080fd5b85356107ce816106cc565b945060208601356107de816106cc565b94979496505050506040830135926060810135926080909101359150565b6000806000806080858703121561081257600080fd5b843561081d816106cc565b9350602085013561082d816106cc565b925060408501359150606085013563ffffffff8116811461084d57600080fd5b939692955090935050565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156108aa57600080fd5b825167ffffffffffffffff808211156108c257600080fd5b818501915085601f8301126108d657600080fd5b8151818111156108e8576108e8610881565b8060051b604051601f19603f8301168101818110858211171561090d5761090d610881565b60405291825284820192508381018501918883111561092b57600080fd5b938501935b8285101561094957845184529385019392850192610930565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156109945761099461096b565b500190565b6000600182016109ab576109ab61096b565b5060010190565b600063ffffffff8083168181036109cb576109cb61096b565b6001019392505050565b6001600160a01b038416815260208082018490526060604083018190528351908301819052600091848101916080850190845b81811015610a2457845183529383019391830191600101610a08565b50909897505050505050505056fea2646970667358221220a502a57c2bd5a9c1102923b7886d034282a5cad2b993be882c4b9b1402492f7264736f6c634300080d0033",
|
|
46
|
+
"deployedBytecode": "0x730000000000000000000000000000000000000000301460806040526004361061004b5760003560e01c806306967a8c14610050578063a32470101461007a578063a9472bf8146100af575b600080fd5b61006361005e3660046106e4565b6100d1565b60405161007192919061072a565b60405180910390f35b81801561008657600080fd5b5061009a6100953660046107ab565b6102f7565b60405163ffffffff9091168152602001610071565b8180156100bb57600080fd5b506100cf6100ca3660046107fc565b610577565b005b6060806000866001600160a01b0316634b61cc3330888860016040518563ffffffff1660e01b81526004016101099493929190610858565b600060405180830381865afa158015610126573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261014e9190810190610897565b60008151811061016057610160610955565b60209081029190910101516040805161010080825261202082019092529192508160200160208202803683375050604080516101008082526120208201909252929550905060208201612000803683370190505091506000805b61010063ffffffff821610156102e557600163ffffffff821684901c16156102d557808583815181106101ef576101ef610955565b602002602001019063ffffffff16908163ffffffff1681525050886001600160a01b0316634b61cc33308a8463ffffffff168a61022c9190610981565b60016040518563ffffffff1660e01b815260040161024d9493929190610858565b600060405180830381865afa15801561026a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526102929190810190610897565b6000815181106102a4576102a4610955565b60200260200101518483815181106102be576102be610955565b60209081029190910101526102d282610999565b91505b6102de816109b2565b90506101ba565b50808452808352505094509492505050565b600080866001600160a01b0316634b61cc3330888860016040518563ffffffff1660e01b815260040161032d9493929190610858565b600060405180830381865afa15801561034a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526103729190810190610897565b60008151811061038457610384610955565b602002602001015160001c9050600091505b61010063ffffffff83161015610512578163ffffffff1681901c600116600003610502576040805160018082528183019092526000916020808301908036833701905050905083816000815181106103f0576103f0610955565b60209081029190910101526001600160a01b03881663090c415e8861041b63ffffffff871689610981565b846040518463ffffffff1660e01b815260040161043a939291906109d5565b600060405180830381600087803b15801561045457600080fd5b505af1158015610468573d6000803e3d6000fd5b505050508263ffffffff166001901b821760001b8160008151811061048f5761048f610955565b602090810291909101015260405163048620af60e11b81526001600160a01b0389169063090c415e906104ca908a908a9086906004016109d5565b600060405180830381600087803b1580156104e457600080fd5b505af11580156104f8573d6000803e3d6000fd5b5050505050610512565b61050b826109b2565b9150610396565b61010063ffffffff83161061056d5760405162461bcd60e51b815260206004820152601760248201527f536c6f744269746d6170206f7574206f6620626f756e64000000000000000000604482015260640160405180910390fd5b5095945050505050565b604051634b61cc3360e01b81526000906001600160a01b03861690634b61cc33906105ad90309088908890600190600401610858565b600060405180830381865afa1580156105ca573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526105f29190810190610897565b60008151811061060457610604610955565b60209081029190910181015160408051600180825281830190925291935060009282810190803683370190505090508263ffffffff166001901b19821660001b8160008151811061065757610657610955565b602090810291909101015260405163048620af60e11b81526001600160a01b0387169063090c415e90610692908890889086906004016109d5565b600060405180830381600087803b1580156106ac57600080fd5b505af11580156106c0573d6000803e3d6000fd5b50505050505050505050565b6001600160a01b03811681146106e157600080fd5b50565b600080600080608085870312156106fa57600080fd5b8435610705816106cc565b93506020850135610715816106cc565b93969395505050506040820135916060013590565b604080825283519082018190526000906020906060840190828701845b8281101561076957815163ffffffff1684529284019290840190600101610747565b5050508381038285015284518082528583019183019060005b8181101561079e57835183529284019291840191600101610782565b5090979650505050505050565b600080600080600060a086880312156107c357600080fd5b85356107ce816106cc565b945060208601356107de816106cc565b94979496505050506040830135926060810135926080909101359150565b6000806000806080858703121561081257600080fd5b843561081d816106cc565b9350602085013561082d816106cc565b925060408501359150606085013563ffffffff8116811461084d57600080fd5b939692955090935050565b6001600160a01b0394851681529290931660208301526040820152606081019190915260800190565b634e487b7160e01b600052604160045260246000fd5b600060208083850312156108aa57600080fd5b825167ffffffffffffffff808211156108c257600080fd5b818501915085601f8301126108d657600080fd5b8151818111156108e8576108e8610881565b8060051b604051601f19603f8301168101818110858211171561090d5761090d610881565b60405291825284820192508381018501918883111561092b57600080fd5b938501935b8285101561094957845184529385019392850192610930565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156109945761099461096b565b500190565b6000600182016109ab576109ab61096b565b5060010190565b600063ffffffff8083168181036109cb576109cb61096b565b6001019392505050565b6001600160a01b038416815260208082018490526060604083018190528351908301819052600091848101916080850190845b81811015610a2457845183529383019391830191600101610a08565b50909897505050505050505056fea2646970667358221220a502a57c2bd5a9c1102923b7886d034282a5cad2b993be882c4b9b1402492f7264736f6c634300080d0033",
|
|
47
47
|
"immutableReferences": {},
|
|
48
48
|
"generatedSources": [],
|
|
49
49
|
"deployedGeneratedSources": [
|
|
@@ -522,7 +522,7 @@
|
|
|
522
522
|
}
|
|
523
523
|
]
|
|
524
524
|
},
|
|
525
|
-
"name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$
|
|
525
|
+
"name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$19399t_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_$
|
|
1808
|
+
"name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$19399t_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_$
|
|
2395
|
+
"name": "abi_decode_tuple_t_contract$_ISuperfluidToken_$19399t_addresst_uint256t_uint32",
|
|
2396
2396
|
"nodeType": "YulFunctionDefinition",
|
|
2397
2397
|
"parameters": [
|
|
2398
2398
|
{
|
|
@@ -5354,58 +5354,58 @@
|
|
|
5354
5354
|
}
|
|
5355
5355
|
]
|
|
5356
5356
|
},
|
|
5357
|
-
"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_$
|
|
5357
|
+
"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_$19399t_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_$19399t_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_$19399t_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}",
|
|
5358
5358
|
"id": 110,
|
|
5359
5359
|
"language": "Yul",
|
|
5360
5360
|
"name": "#utility.yul"
|
|
5361
5361
|
}
|
|
5362
5362
|
],
|
|
5363
|
-
"sourceMap": "
|
|
5364
|
-
"deployedSourceMap": "
|
|
5365
|
-
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport {
|
|
5366
|
-
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/
|
|
5363
|
+
"sourceMap": "710:2991:67:-:0;;;;;;;;;;;;;;;-1:-1:-1;;;710:2991:67;;;;;;;;;;;;;;;;;",
|
|
5364
|
+
"deployedSourceMap": "710:2991:67:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2614:1085;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;796:1224;;;;;;;;;;-1:-1:-1;796:1224:67;;;;;:::i;:::-;;:::i;:::-;;;2783:10:110;2771:23;;;2753:42;;2741:2;2726:18;796:1224:67;2601:200:110;2026:582:67;;;;;;;;;;-1:-1:-1;2026:582:67;;;;;:::i;:::-;;:::i;:::-;;2614:1085;2814:23;2851:25;2892:18;2921:5;-1:-1:-1;;;;;2921:27:67;;2970:4;2989:7;3010:17;3029:1;2921:110;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2921:110:67;;;;;;;;;;;;:::i;:::-;3032:1;2921:113;;;;;;;;:::i;:::-;;;;;;;;;;;3056:28;;;786:3;3056:28;;;;;;;;;2921:113;;-1:-1:-1;3056:28:67;;;;;;;;;;-1:-1:-1;;3105:29:67;;;786:3;3105:29;;;;;;;;;3046:38;;-1:-1:-1;786:3:67;-1:-1:-1;3105:29:67;;;;;;;;;;-1:-1:-1;;3094:40:67;-1:-1:-1;3170:11:67;;3191:368;786:3;3215:23;;;;3191:368;;;3301:1;3277:20;;;;;;3269:33;3264:54;3310:8;3264:54;3350:6;3332:7;3340:6;3332:15;;;;;;;;:::i;:::-;;;;;;:24;;;;;;;;;;;3389:5;-1:-1:-1;;;;;3389:27:67;;3442:4;3465:7;3513:6;3490:29;;:20;:29;;;;:::i;:::-;3521:1;3389:134;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3389:134:67;;;;;;;;;;;;:::i;:::-;3524:1;3389:137;;;;;;;;:::i;:::-;;;;;;;3370:8;3379:6;3370:16;;;;;;;;:::i;:::-;;;;;;;;;;:156;3540:8;;;:::i;:::-;;;3191:368;3240:8;;;:::i;:::-;;;3191:368;;;;3639:6;3630:7;3623:23;3676:6;3666:8;3659:24;3609:84;;2614:1085;;;;;;;:::o;796:1224::-;1016:13;1045:18;1074:5;-1:-1:-1;;;;;1074:27:67;;1123:4;1142:7;1163:17;1182:1;1074:110;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;1074:110:67;;;;;;;;;;;;:::i;:::-;1185:1;1074:113;;;;;;;;:::i;:::-;;;;;;;1066:122;;1045:143;;1212:1;1203:10;;1198:747;786:3;1215:23;;;;1198:747;;;1291:6;1277:20;;:10;:20;;1301:1;1269:33;1307:1;1268:40;1264:671;;1392:16;;;1406:1;1392:16;;;;;;;;;1364:25;;1392:16;;;;;;;;;;;-1:-1:-1;1392:16:67;1364:44;;1440:4;1426:8;1435:1;1426:11;;;;;;;;:::i;:::-;;;;;;;;;;:18;-1:-1:-1;;;;;1462:30:67;;;1514:7;1543:29;;;;:20;:29;:::i;:::-;1594:8;1462:141;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1705:6;1697:15;;1692:1;:20;;1678:10;:35;1670:44;;1656:8;1665:1;1656:11;;;;;;;;:::i;:::-;;;;;;;;;;:58;1732:129;;-1:-1:-1;;;1732:129:67;;-1:-1:-1;;;;;1732:30:67;;;;;:129;;1784:7;;1813:17;;1852:8;;1732:129;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1915:5;;;1264:671;1240:8;;;:::i;:::-;;;1198:747;;;786:3;1962:23;;;;1954:59;;;;-1:-1:-1;;;1954:59:67;;6955:2:110;1954:59:67;;;6937:21:110;6994:2;6974:18;;;6967:30;7033:25;7013:18;;;7006:53;7076:18;;1954:59:67;;;;;;;;1035:985;796:1224;;;;;;;:::o;2026:582::-;2224:110;;-1:-1:-1;;;2224:110:67;;2195:18;;-1:-1:-1;;;;;2224:27:67;;;;;:110;;2273:4;;2292:7;;2313:17;;2332:1;;2224:110;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2224:110:67;;;;;;;;;;;;:::i;:::-;2335:1;2224:113;;;;;;;;:::i;:::-;;;;;;;;;;;;2376:16;;;2390:1;2376:16;;;;;;;;;2224:113;;-1:-1:-1;2216:122:67;;2376:16;;;;2224:113;2376:16;;;;;-1:-1:-1;2376:16:67;2348:44;;2452:6;2444:15;;2439:1;:20;;2437:23;2424:10;:36;2416:45;;2402:8;2411:1;2402:11;;;;;;;;:::i;:::-;;;;;;;;;;:59;2496:105;;-1:-1:-1;;;2496:105:67;;-1:-1:-1;;;;;2496:30:67;;;;;:105;;2540:7;;2561:17;;2592:8;;2496:105;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2185:423;;2026:582;;;;:::o;14:149:110:-;-1:-1:-1;;;;;107:31:110;;97:42;;87:70;;153:1;150;143:12;87:70;14:149;:::o;168:587::-;280:6;288;296;304;357:3;345:9;336:7;332:23;328:33;325:53;;;374:1;371;364:12;325:53;413:9;400:23;432:49;475:5;432:49;:::i;:::-;500:5;-1:-1:-1;557:2:110;542:18;;529:32;570:51;529:32;570:51;:::i;:::-;168:587;;640:7;;-1:-1:-1;;;;694:2:110;679:18;;666:32;;745:2;730:18;717:32;;168:587::o;760:1175::-;1034:2;1046:21;;;1116:13;;1019:18;;;1138:22;;;986:4;;1213;;1191:2;1176:18;;;1240:15;;;986:4;1283:186;1297:6;1294:1;1291:13;1283:186;;;1362:13;;1377:10;1358:30;1346:43;;1409:12;;;;1444:15;;;;1319:1;1312:9;1283:186;;;-1:-1:-1;;;1505:19:110;;;1485:18;;;1478:47;1575:13;;1597:21;;;1673:15;;;;1636:12;;;1708:1;1718:189;1734:8;1729:3;1726:17;1718:189;;;1803:15;;1789:30;;1880:17;;;;1841:14;;;;1762:1;1753:11;1718:189;;;-1:-1:-1;1924:5:110;;760:1175;-1:-1:-1;;;;;;;760:1175:110:o;1940:656::-;2061:6;2069;2077;2085;2093;2146:3;2134:9;2125:7;2121:23;2117:33;2114:53;;;2163:1;2160;2153:12;2114:53;2202:9;2189:23;2221:49;2264:5;2221:49;:::i;:::-;2289:5;-1:-1:-1;2346:2:110;2331:18;;2318:32;2359:51;2318:32;2359:51;:::i;:::-;1940:656;;2429:7;;-1:-1:-1;;;;2483:2:110;2468:18;;2455:32;;2534:2;2519:18;;2506:32;;2585:3;2570:19;;;2557:33;;-1:-1:-1;1940:656:110:o;2806:691::-;2917:6;2925;2933;2941;2994:3;2982:9;2973:7;2969:23;2965:33;2962:53;;;3011:1;3008;3001:12;2962:53;3050:9;3037:23;3069:49;3112:5;3069:49;:::i;:::-;3137:5;-1:-1:-1;3194:2:110;3179:18;;3166:32;3207:51;3166:32;3207:51;:::i;:::-;3277:7;-1:-1:-1;3331:2:110;3316:18;;3303:32;;-1:-1:-1;3387:2:110;3372:18;;3359:32;3435:10;3422:24;;3410:37;;3400:65;;3461:1;3458;3451:12;3400:65;2806:691;;;;-1:-1:-1;2806:691:110;;-1:-1:-1;;2806:691:110:o;3502:455::-;-1:-1:-1;;;;;3797:15:110;;;3779:34;;3849:15;;;;3844:2;3829:18;;3822:43;3896:2;3881:18;;3874:34;3939:2;3924:18;;3917:34;;;;3728:3;3713:19;;3502:455::o;3962:127::-;4023:10;4018:3;4014:20;4011:1;4004:31;4054:4;4051:1;4044:15;4078:4;4075:1;4068:15;4094:1105;4189:6;4220:2;4263;4251:9;4242:7;4238:23;4234:32;4231:52;;;4279:1;4276;4269:12;4231:52;4312:9;4306:16;4341:18;4382:2;4374:6;4371:14;4368:34;;;4398:1;4395;4388:12;4368:34;4436:6;4425:9;4421:22;4411:32;;4481:7;4474:4;4470:2;4466:13;4462:27;4452:55;;4503:1;4500;4493:12;4452:55;4532:2;4526:9;4554:2;4550;4547:10;4544:36;;;4560:18;;:::i;:::-;4606:2;4603:1;4599:10;4638:2;4632:9;4701:2;4697:7;4692:2;4688;4684:11;4680:25;4672:6;4668:38;4756:6;4744:10;4741:22;4736:2;4724:10;4721:18;4718:46;4715:72;;;4767:18;;:::i;:::-;4803:2;4796:22;4853:18;;;4887:15;;;;-1:-1:-1;4929:11:110;;;4925:20;;;4957:19;;;4954:39;;;4989:1;4986;4979:12;4954:39;5013:11;;;;5033:135;5049:6;5044:3;5041:15;5033:135;;;5115:10;;5103:23;;5066:12;;;;5146;;;;5033:135;;;5187:6;4094:1105;-1:-1:-1;;;;;;;;4094:1105:110:o;5204:127::-;5265:10;5260:3;5256:20;5253:1;5246:31;5296:4;5293:1;5286:15;5320:4;5317:1;5310:15;5336:127;5397:10;5392:3;5388:20;5385:1;5378:31;5428:4;5425:1;5418:15;5452:4;5449:1;5442:15;5468:128;5508:3;5539:1;5535:6;5532:1;5529:13;5526:39;;;5545:18;;:::i;:::-;-1:-1:-1;5581:9:110;;5468:128::o;5601:135::-;5640:3;5661:17;;;5658:43;;5681:18;;:::i;:::-;-1:-1:-1;5728:1:110;5717:13;;5601:135::o;5741:201::-;5779:3;5807:10;5852:2;5845:5;5841:14;5879:2;5870:7;5867:15;5864:41;;5885:18;;:::i;:::-;5934:1;5921:15;;5741:201;-1:-1:-1;;;5741:201:110:o;5947:801::-;-1:-1:-1;;;;;6223:32:110;;6205:51;;6275:2;6293:18;;;6286:34;;;6193:2;6351;6336:18;;6329:30;;;6408:13;;6178:18;;;6430:22;;;6145:4;;6510:15;;;;6483:3;6468:19;;;6145:4;6553:169;6567:6;6564:1;6561:13;6553:169;;;6628:13;;6616:26;;6697:15;;;;6662:12;;;;6589:1;6582:9;6553:169;;;-1:-1:-1;6739:3:110;;5947:801;-1:-1:-1;;;;;;;;5947:801:110:o",
|
|
5365
|
+
"source": "// SPDX-License-Identifier: AGPLv3\npragma solidity 0.8.13;\n\nimport {ISuperfluidToken} from \"../interfaces/superfluid/ISuperfluidToken.sol\";\n\n/**\n * @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\n */\nlibrary SlotsBitmapLibrary {\n\n uint32 internal constant _MAX_NUM_SLOTS = 256;\n\n function findEmptySlotAndFill(\n ISuperfluidToken token,\n address account,\n uint256 bitmapStateSlotId,\n uint256 dataStateSlotIDStart,\n bytes32 data\n )\n public\n returns (uint32 slotId)\n {\n uint256 subsBitmap = uint256(token.getAgreementStateSlot(\n address(this),\n account,\n bitmapStateSlotId, 1)[0]);\n for (slotId = 0; slotId < _MAX_NUM_SLOTS; ++slotId) {\n if ((uint256(subsBitmap >> slotId) & 1) == 0) {\n // update slot data\n bytes32[] memory slotData = new bytes32[](1);\n slotData[0] = data;\n token.updateAgreementStateSlot(\n account,\n dataStateSlotIDStart + slotId,\n slotData);\n // update slot map\n slotData[0] = bytes32(subsBitmap | (1 << uint256(slotId)));\n token.updateAgreementStateSlot(\n account,\n bitmapStateSlotId,\n slotData);\n // update the slots\n break;\n }\n }\n require(slotId < _MAX_NUM_SLOTS, \"SlotBitmap out of bound\");\n }\n\n function clearSlot(\n ISuperfluidToken token,\n address account,\n uint256 bitmapStateSlotId,\n uint32 slotId\n )\n public\n {\n uint256 subsBitmap = uint256(token.getAgreementStateSlot(\n address(this),\n account,\n bitmapStateSlotId, 1)[0]);\n bytes32[] memory slotData = new bytes32[](1);\n slotData[0] = bytes32(subsBitmap & ~(1 << uint256(slotId)));\n // zero the data\n token.updateAgreementStateSlot(\n account,\n bitmapStateSlotId,\n slotData);\n }\n\n function listData(\n ISuperfluidToken token,\n address account,\n uint256 bitmapStateSlotId,\n uint256 dataStateSlotIDStart\n )\n public view\n returns (\n uint32[] memory slotIds,\n bytes32[] memory dataList)\n {\n uint256 subsBitmap = uint256(token.getAgreementStateSlot(\n address(this),\n account,\n bitmapStateSlotId, 1)[0]);\n\n slotIds = new uint32[](_MAX_NUM_SLOTS);\n dataList = new bytes32[](_MAX_NUM_SLOTS);\n // read all slots\n uint nSlots;\n for (uint32 slotId = 0; slotId < _MAX_NUM_SLOTS; ++slotId) {\n if ((uint256(subsBitmap >> slotId) & 1) == 0) continue;\n slotIds[nSlots] = slotId;\n dataList[nSlots] = token.getAgreementStateSlot(\n address(this),\n account,\n dataStateSlotIDStart + slotId, 1)[0];\n ++nSlots;\n }\n // resize memory arrays\n assembly {\n mstore(slotIds, nSlots)\n mstore(dataList, nSlots)\n }\n }\n}\n",
|
|
5366
|
+
"sourcePath": "/home/runner/work/protocol-monorepo/protocol-monorepo/packages/ethereum-contracts/contracts/libs/SlotsBitmapLibrary.sol",
|
|
5367
5367
|
"ast": {
|
|
5368
|
-
"absolutePath": "project:/contracts/
|
|
5368
|
+
"absolutePath": "project:/contracts/libs/SlotsBitmapLibrary.sol",
|
|
5369
5369
|
"exportedSymbols": {
|
|
5370
5370
|
"ISuperfluidToken": [
|
|
5371
|
-
|
|
5371
|
+
19399
|
|
5372
5372
|
],
|
|
5373
5373
|
"SlotsBitmapLibrary": [
|
|
5374
|
-
|
|
5374
|
+
20648
|
|
5375
5375
|
]
|
|
5376
5376
|
},
|
|
5377
|
-
"id":
|
|
5377
|
+
"id": 20649,
|
|
5378
5378
|
"license": "AGPLv3",
|
|
5379
5379
|
"nodeType": "SourceUnit",
|
|
5380
5380
|
"nodes": [
|
|
5381
5381
|
{
|
|
5382
|
-
"id":
|
|
5382
|
+
"id": 20343,
|
|
5383
5383
|
"literals": [
|
|
5384
5384
|
"solidity",
|
|
5385
5385
|
"0.8",
|
|
5386
5386
|
".13"
|
|
5387
5387
|
],
|
|
5388
5388
|
"nodeType": "PragmaDirective",
|
|
5389
|
-
"src": "35:23:
|
|
5389
|
+
"src": "35:23:67"
|
|
5390
5390
|
},
|
|
5391
5391
|
{
|
|
5392
|
-
"absolutePath": "project:/contracts/interfaces/
|
|
5393
|
-
"file": "../interfaces/
|
|
5394
|
-
"id":
|
|
5392
|
+
"absolutePath": "project:/contracts/interfaces/superfluid/ISuperfluidToken.sol",
|
|
5393
|
+
"file": "../interfaces/superfluid/ISuperfluidToken.sol",
|
|
5394
|
+
"id": 20345,
|
|
5395
5395
|
"nameLocation": "-1:-1:-1",
|
|
5396
5396
|
"nodeType": "ImportDirective",
|
|
5397
|
-
"scope":
|
|
5398
|
-
"sourceUnit":
|
|
5399
|
-
"src": "60:
|
|
5397
|
+
"scope": 20649,
|
|
5398
|
+
"sourceUnit": 19400,
|
|
5399
|
+
"src": "60:79:67",
|
|
5400
5400
|
"symbolAliases": [
|
|
5401
5401
|
{
|
|
5402
5402
|
"foreign": {
|
|
5403
|
-
"id":
|
|
5403
|
+
"id": 20344,
|
|
5404
5404
|
"name": "ISuperfluidToken",
|
|
5405
5405
|
"nodeType": "Identifier",
|
|
5406
5406
|
"overloadedDeclarations": [],
|
|
5407
|
-
"referencedDeclaration":
|
|
5408
|
-
"src": "
|
|
5407
|
+
"referencedDeclaration": 19399,
|
|
5408
|
+
"src": "68:16:67",
|
|
5409
5409
|
"typeDescriptions": {}
|
|
5410
5410
|
},
|
|
5411
5411
|
"nameLocation": "-1:-1:-1"
|
|
@@ -5420,29 +5420,29 @@
|
|
|
5420
5420
|
"contractDependencies": [],
|
|
5421
5421
|
"contractKind": "library",
|
|
5422
5422
|
"documentation": {
|
|
5423
|
-
"id":
|
|
5423
|
+
"id": 20346,
|
|
5424
5424
|
"nodeType": "StructuredDocumentation",
|
|
5425
|
-
"src": "
|
|
5425
|
+
"src": "141:568:67",
|
|
5426
5426
|
"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"
|
|
5427
5427
|
},
|
|
5428
5428
|
"fullyImplemented": true,
|
|
5429
|
-
"id":
|
|
5429
|
+
"id": 20648,
|
|
5430
5430
|
"linearizedBaseContracts": [
|
|
5431
|
-
|
|
5431
|
+
20648
|
|
5432
5432
|
],
|
|
5433
5433
|
"name": "SlotsBitmapLibrary",
|
|
5434
|
-
"nameLocation": "
|
|
5434
|
+
"nameLocation": "718:18:67",
|
|
5435
5435
|
"nodeType": "ContractDefinition",
|
|
5436
5436
|
"nodes": [
|
|
5437
5437
|
{
|
|
5438
5438
|
"constant": true,
|
|
5439
|
-
"id":
|
|
5439
|
+
"id": 20349,
|
|
5440
5440
|
"mutability": "constant",
|
|
5441
5441
|
"name": "_MAX_NUM_SLOTS",
|
|
5442
|
-
"nameLocation": "
|
|
5442
|
+
"nameLocation": "769:14:67",
|
|
5443
5443
|
"nodeType": "VariableDeclaration",
|
|
5444
|
-
"scope":
|
|
5445
|
-
"src": "
|
|
5444
|
+
"scope": 20648,
|
|
5445
|
+
"src": "744:45:67",
|
|
5446
5446
|
"stateVariable": true,
|
|
5447
5447
|
"storageLocation": "default",
|
|
5448
5448
|
"typeDescriptions": {
|
|
@@ -5450,10 +5450,10 @@
|
|
|
5450
5450
|
"typeString": "uint32"
|
|
5451
5451
|
},
|
|
5452
5452
|
"typeName": {
|
|
5453
|
-
"id":
|
|
5453
|
+
"id": 20347,
|
|
5454
5454
|
"name": "uint32",
|
|
5455
5455
|
"nodeType": "ElementaryTypeName",
|
|
5456
|
-
"src": "
|
|
5456
|
+
"src": "744:6:67",
|
|
5457
5457
|
"typeDescriptions": {
|
|
5458
5458
|
"typeIdentifier": "t_uint32",
|
|
5459
5459
|
"typeString": "uint32"
|
|
@@ -5461,14 +5461,14 @@
|
|
|
5461
5461
|
},
|
|
5462
5462
|
"value": {
|
|
5463
5463
|
"hexValue": "323536",
|
|
5464
|
-
"id":
|
|
5464
|
+
"id": 20348,
|
|
5465
5465
|
"isConstant": false,
|
|
5466
5466
|
"isLValue": false,
|
|
5467
5467
|
"isPure": true,
|
|
5468
5468
|
"kind": "number",
|
|
5469
5469
|
"lValueRequested": false,
|
|
5470
5470
|
"nodeType": "Literal",
|
|
5471
|
-
"src": "
|
|
5471
|
+
"src": "786:3:67",
|
|
5472
5472
|
"typeDescriptions": {
|
|
5473
5473
|
"typeIdentifier": "t_rational_256_by_1",
|
|
5474
5474
|
"typeString": "int_const 256"
|
|
@@ -5479,24 +5479,24 @@
|
|
|
5479
5479
|
},
|
|
5480
5480
|
{
|
|
5481
5481
|
"body": {
|
|
5482
|
-
"id":
|
|
5482
|
+
"id": 20468,
|
|
5483
5483
|
"nodeType": "Block",
|
|
5484
|
-
"src": "
|
|
5484
|
+
"src": "1035:985:67",
|
|
5485
5485
|
"statements": [
|
|
5486
5486
|
{
|
|
5487
5487
|
"assignments": [
|
|
5488
|
-
|
|
5488
|
+
20366
|
|
5489
5489
|
],
|
|
5490
5490
|
"declarations": [
|
|
5491
5491
|
{
|
|
5492
5492
|
"constant": false,
|
|
5493
|
-
"id":
|
|
5493
|
+
"id": 20366,
|
|
5494
5494
|
"mutability": "mutable",
|
|
5495
5495
|
"name": "subsBitmap",
|
|
5496
|
-
"nameLocation": "
|
|
5496
|
+
"nameLocation": "1053:10:67",
|
|
5497
5497
|
"nodeType": "VariableDeclaration",
|
|
5498
|
-
"scope":
|
|
5499
|
-
"src": "
|
|
5498
|
+
"scope": 20468,
|
|
5499
|
+
"src": "1045:18:67",
|
|
5500
5500
|
"stateVariable": false,
|
|
5501
5501
|
"storageLocation": "default",
|
|
5502
5502
|
"typeDescriptions": {
|
|
@@ -5504,10 +5504,10 @@
|
|
|
5504
5504
|
"typeString": "uint256"
|
|
5505
5505
|
},
|
|
5506
5506
|
"typeName": {
|
|
5507
|
-
"id":
|
|
5507
|
+
"id": 20365,
|
|
5508
5508
|
"name": "uint256",
|
|
5509
5509
|
"nodeType": "ElementaryTypeName",
|
|
5510
|
-
"src": "
|
|
5510
|
+
"src": "1045:7:67",
|
|
5511
5511
|
"typeDescriptions": {
|
|
5512
5512
|
"typeIdentifier": "t_uint256",
|
|
5513
5513
|
"typeString": "uint256"
|
|
@@ -5516,7 +5516,7 @@
|
|
|
5516
5516
|
"visibility": "internal"
|
|
5517
5517
|
}
|
|
5518
5518
|
],
|
|
5519
|
-
"id":
|
|
5519
|
+
"id": 20382,
|
|
5520
5520
|
"initialValue": {
|
|
5521
5521
|
"arguments": [
|
|
5522
5522
|
{
|
|
@@ -5525,14 +5525,14 @@
|
|
|
5525
5525
|
{
|
|
5526
5526
|
"arguments": [
|
|
5527
5527
|
{
|
|
5528
|
-
"id":
|
|
5528
|
+
"id": 20373,
|
|
5529
5529
|
"name": "this",
|
|
5530
5530
|
"nodeType": "Identifier",
|
|
5531
5531
|
"overloadedDeclarations": [],
|
|
5532
5532
|
"referencedDeclaration": 4294967268,
|
|
5533
|
-
"src": "
|
|
5533
|
+
"src": "1123:4:67",
|
|
5534
5534
|
"typeDescriptions": {
|
|
5535
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
5535
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
5536
5536
|
"typeString": "library SlotsBitmapLibrary"
|
|
5537
5537
|
}
|
|
5538
5538
|
}
|
|
@@ -5540,30 +5540,30 @@
|
|
|
5540
5540
|
"expression": {
|
|
5541
5541
|
"argumentTypes": [
|
|
5542
5542
|
{
|
|
5543
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
5543
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
5544
5544
|
"typeString": "library SlotsBitmapLibrary"
|
|
5545
5545
|
}
|
|
5546
5546
|
],
|
|
5547
|
-
"id":
|
|
5547
|
+
"id": 20372,
|
|
5548
5548
|
"isConstant": false,
|
|
5549
5549
|
"isLValue": false,
|
|
5550
5550
|
"isPure": true,
|
|
5551
5551
|
"lValueRequested": false,
|
|
5552
5552
|
"nodeType": "ElementaryTypeNameExpression",
|
|
5553
|
-
"src": "
|
|
5553
|
+
"src": "1115:7:67",
|
|
5554
5554
|
"typeDescriptions": {
|
|
5555
5555
|
"typeIdentifier": "t_type$_t_address_$",
|
|
5556
5556
|
"typeString": "type(address)"
|
|
5557
5557
|
},
|
|
5558
5558
|
"typeName": {
|
|
5559
|
-
"id":
|
|
5559
|
+
"id": 20371,
|
|
5560
5560
|
"name": "address",
|
|
5561
5561
|
"nodeType": "ElementaryTypeName",
|
|
5562
|
-
"src": "
|
|
5562
|
+
"src": "1115:7:67",
|
|
5563
5563
|
"typeDescriptions": {}
|
|
5564
5564
|
}
|
|
5565
5565
|
},
|
|
5566
|
-
"id":
|
|
5566
|
+
"id": 20374,
|
|
5567
5567
|
"isConstant": false,
|
|
5568
5568
|
"isLValue": false,
|
|
5569
5569
|
"isPure": false,
|
|
@@ -5571,7 +5571,7 @@
|
|
|
5571
5571
|
"lValueRequested": false,
|
|
5572
5572
|
"names": [],
|
|
5573
5573
|
"nodeType": "FunctionCall",
|
|
5574
|
-
"src": "
|
|
5574
|
+
"src": "1115:13:67",
|
|
5575
5575
|
"tryCall": false,
|
|
5576
5576
|
"typeDescriptions": {
|
|
5577
5577
|
"typeIdentifier": "t_address",
|
|
@@ -5579,24 +5579,24 @@
|
|
|
5579
5579
|
}
|
|
5580
5580
|
},
|
|
5581
5581
|
{
|
|
5582
|
-
"id":
|
|
5582
|
+
"id": 20375,
|
|
5583
5583
|
"name": "account",
|
|
5584
5584
|
"nodeType": "Identifier",
|
|
5585
5585
|
"overloadedDeclarations": [],
|
|
5586
|
-
"referencedDeclaration":
|
|
5587
|
-
"src": "
|
|
5586
|
+
"referencedDeclaration": 20354,
|
|
5587
|
+
"src": "1142:7:67",
|
|
5588
5588
|
"typeDescriptions": {
|
|
5589
5589
|
"typeIdentifier": "t_address",
|
|
5590
5590
|
"typeString": "address"
|
|
5591
5591
|
}
|
|
5592
5592
|
},
|
|
5593
5593
|
{
|
|
5594
|
-
"id":
|
|
5594
|
+
"id": 20376,
|
|
5595
5595
|
"name": "bitmapStateSlotId",
|
|
5596
5596
|
"nodeType": "Identifier",
|
|
5597
5597
|
"overloadedDeclarations": [],
|
|
5598
|
-
"referencedDeclaration":
|
|
5599
|
-
"src": "
|
|
5598
|
+
"referencedDeclaration": 20356,
|
|
5599
|
+
"src": "1163:17:67",
|
|
5600
5600
|
"typeDescriptions": {
|
|
5601
5601
|
"typeIdentifier": "t_uint256",
|
|
5602
5602
|
"typeString": "uint256"
|
|
@@ -5604,14 +5604,14 @@
|
|
|
5604
5604
|
},
|
|
5605
5605
|
{
|
|
5606
5606
|
"hexValue": "31",
|
|
5607
|
-
"id":
|
|
5607
|
+
"id": 20377,
|
|
5608
5608
|
"isConstant": false,
|
|
5609
5609
|
"isLValue": false,
|
|
5610
5610
|
"isPure": true,
|
|
5611
5611
|
"kind": "number",
|
|
5612
5612
|
"lValueRequested": false,
|
|
5613
5613
|
"nodeType": "Literal",
|
|
5614
|
-
"src": "
|
|
5614
|
+
"src": "1182:1:67",
|
|
5615
5615
|
"typeDescriptions": {
|
|
5616
5616
|
"typeIdentifier": "t_rational_1_by_1",
|
|
5617
5617
|
"typeString": "int_const 1"
|
|
@@ -5639,32 +5639,32 @@
|
|
|
5639
5639
|
}
|
|
5640
5640
|
],
|
|
5641
5641
|
"expression": {
|
|
5642
|
-
"id":
|
|
5642
|
+
"id": 20369,
|
|
5643
5643
|
"name": "token",
|
|
5644
5644
|
"nodeType": "Identifier",
|
|
5645
5645
|
"overloadedDeclarations": [],
|
|
5646
|
-
"referencedDeclaration":
|
|
5647
|
-
"src": "
|
|
5646
|
+
"referencedDeclaration": 20352,
|
|
5647
|
+
"src": "1074:5:67",
|
|
5648
5648
|
"typeDescriptions": {
|
|
5649
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
5649
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
5650
5650
|
"typeString": "contract ISuperfluidToken"
|
|
5651
5651
|
}
|
|
5652
5652
|
},
|
|
5653
|
-
"id":
|
|
5653
|
+
"id": 20370,
|
|
5654
5654
|
"isConstant": false,
|
|
5655
5655
|
"isLValue": false,
|
|
5656
5656
|
"isPure": false,
|
|
5657
5657
|
"lValueRequested": false,
|
|
5658
5658
|
"memberName": "getAgreementStateSlot",
|
|
5659
5659
|
"nodeType": "MemberAccess",
|
|
5660
|
-
"referencedDeclaration":
|
|
5661
|
-
"src": "
|
|
5660
|
+
"referencedDeclaration": 19316,
|
|
5661
|
+
"src": "1074:27:67",
|
|
5662
5662
|
"typeDescriptions": {
|
|
5663
5663
|
"typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
5664
5664
|
"typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
|
|
5665
5665
|
}
|
|
5666
5666
|
},
|
|
5667
|
-
"id":
|
|
5667
|
+
"id": 20378,
|
|
5668
5668
|
"isConstant": false,
|
|
5669
5669
|
"isLValue": false,
|
|
5670
5670
|
"isPure": false,
|
|
@@ -5672,24 +5672,24 @@
|
|
|
5672
5672
|
"lValueRequested": false,
|
|
5673
5673
|
"names": [],
|
|
5674
5674
|
"nodeType": "FunctionCall",
|
|
5675
|
-
"src": "
|
|
5675
|
+
"src": "1074:110:67",
|
|
5676
5676
|
"tryCall": false,
|
|
5677
5677
|
"typeDescriptions": {
|
|
5678
5678
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
5679
5679
|
"typeString": "bytes32[] memory"
|
|
5680
5680
|
}
|
|
5681
5681
|
},
|
|
5682
|
-
"id":
|
|
5682
|
+
"id": 20380,
|
|
5683
5683
|
"indexExpression": {
|
|
5684
5684
|
"hexValue": "30",
|
|
5685
|
-
"id":
|
|
5685
|
+
"id": 20379,
|
|
5686
5686
|
"isConstant": false,
|
|
5687
5687
|
"isLValue": false,
|
|
5688
5688
|
"isPure": true,
|
|
5689
5689
|
"kind": "number",
|
|
5690
5690
|
"lValueRequested": false,
|
|
5691
5691
|
"nodeType": "Literal",
|
|
5692
|
-
"src": "
|
|
5692
|
+
"src": "1185:1:67",
|
|
5693
5693
|
"typeDescriptions": {
|
|
5694
5694
|
"typeIdentifier": "t_rational_0_by_1",
|
|
5695
5695
|
"typeString": "int_const 0"
|
|
@@ -5701,7 +5701,7 @@
|
|
|
5701
5701
|
"isPure": false,
|
|
5702
5702
|
"lValueRequested": false,
|
|
5703
5703
|
"nodeType": "IndexAccess",
|
|
5704
|
-
"src": "
|
|
5704
|
+
"src": "1074:113:67",
|
|
5705
5705
|
"typeDescriptions": {
|
|
5706
5706
|
"typeIdentifier": "t_bytes32",
|
|
5707
5707
|
"typeString": "bytes32"
|
|
@@ -5715,26 +5715,26 @@
|
|
|
5715
5715
|
"typeString": "bytes32"
|
|
5716
5716
|
}
|
|
5717
5717
|
],
|
|
5718
|
-
"id":
|
|
5718
|
+
"id": 20368,
|
|
5719
5719
|
"isConstant": false,
|
|
5720
5720
|
"isLValue": false,
|
|
5721
5721
|
"isPure": true,
|
|
5722
5722
|
"lValueRequested": false,
|
|
5723
5723
|
"nodeType": "ElementaryTypeNameExpression",
|
|
5724
|
-
"src": "
|
|
5724
|
+
"src": "1066:7:67",
|
|
5725
5725
|
"typeDescriptions": {
|
|
5726
5726
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
5727
5727
|
"typeString": "type(uint256)"
|
|
5728
5728
|
},
|
|
5729
5729
|
"typeName": {
|
|
5730
|
-
"id":
|
|
5730
|
+
"id": 20367,
|
|
5731
5731
|
"name": "uint256",
|
|
5732
5732
|
"nodeType": "ElementaryTypeName",
|
|
5733
|
-
"src": "
|
|
5733
|
+
"src": "1066:7:67",
|
|
5734
5734
|
"typeDescriptions": {}
|
|
5735
5735
|
}
|
|
5736
5736
|
},
|
|
5737
|
-
"id":
|
|
5737
|
+
"id": 20381,
|
|
5738
5738
|
"isConstant": false,
|
|
5739
5739
|
"isLValue": false,
|
|
5740
5740
|
"isPure": false,
|
|
@@ -5742,7 +5742,7 @@
|
|
|
5742
5742
|
"lValueRequested": false,
|
|
5743
5743
|
"names": [],
|
|
5744
5744
|
"nodeType": "FunctionCall",
|
|
5745
|
-
"src": "
|
|
5745
|
+
"src": "1066:122:67",
|
|
5746
5746
|
"tryCall": false,
|
|
5747
5747
|
"typeDescriptions": {
|
|
5748
5748
|
"typeIdentifier": "t_uint256",
|
|
@@ -5750,13 +5750,13 @@
|
|
|
5750
5750
|
}
|
|
5751
5751
|
},
|
|
5752
5752
|
"nodeType": "VariableDeclarationStatement",
|
|
5753
|
-
"src": "
|
|
5753
|
+
"src": "1045:143:67"
|
|
5754
5754
|
},
|
|
5755
5755
|
{
|
|
5756
5756
|
"body": {
|
|
5757
|
-
"id":
|
|
5757
|
+
"id": 20459,
|
|
5758
5758
|
"nodeType": "Block",
|
|
5759
|
-
"src": "
|
|
5759
|
+
"src": "1250:695:67",
|
|
5760
5760
|
"statements": [
|
|
5761
5761
|
{
|
|
5762
5762
|
"condition": {
|
|
@@ -5764,7 +5764,7 @@
|
|
|
5764
5764
|
"typeIdentifier": "t_uint256",
|
|
5765
5765
|
"typeString": "uint256"
|
|
5766
5766
|
},
|
|
5767
|
-
"id":
|
|
5767
|
+
"id": 20403,
|
|
5768
5768
|
"isConstant": false,
|
|
5769
5769
|
"isLValue": false,
|
|
5770
5770
|
"isPure": false,
|
|
@@ -5776,7 +5776,7 @@
|
|
|
5776
5776
|
"typeIdentifier": "t_uint256",
|
|
5777
5777
|
"typeString": "uint256"
|
|
5778
5778
|
},
|
|
5779
|
-
"id":
|
|
5779
|
+
"id": 20400,
|
|
5780
5780
|
"isConstant": false,
|
|
5781
5781
|
"isLValue": false,
|
|
5782
5782
|
"isPure": false,
|
|
@@ -5788,18 +5788,18 @@
|
|
|
5788
5788
|
"typeIdentifier": "t_uint256",
|
|
5789
5789
|
"typeString": "uint256"
|
|
5790
5790
|
},
|
|
5791
|
-
"id":
|
|
5791
|
+
"id": 20397,
|
|
5792
5792
|
"isConstant": false,
|
|
5793
5793
|
"isLValue": false,
|
|
5794
5794
|
"isPure": false,
|
|
5795
5795
|
"lValueRequested": false,
|
|
5796
5796
|
"leftExpression": {
|
|
5797
|
-
"id":
|
|
5797
|
+
"id": 20395,
|
|
5798
5798
|
"name": "subsBitmap",
|
|
5799
5799
|
"nodeType": "Identifier",
|
|
5800
5800
|
"overloadedDeclarations": [],
|
|
5801
|
-
"referencedDeclaration":
|
|
5802
|
-
"src": "
|
|
5801
|
+
"referencedDeclaration": 20366,
|
|
5802
|
+
"src": "1277:10:67",
|
|
5803
5803
|
"typeDescriptions": {
|
|
5804
5804
|
"typeIdentifier": "t_uint256",
|
|
5805
5805
|
"typeString": "uint256"
|
|
@@ -5808,18 +5808,18 @@
|
|
|
5808
5808
|
"nodeType": "BinaryOperation",
|
|
5809
5809
|
"operator": ">>",
|
|
5810
5810
|
"rightExpression": {
|
|
5811
|
-
"id":
|
|
5811
|
+
"id": 20396,
|
|
5812
5812
|
"name": "slotId",
|
|
5813
5813
|
"nodeType": "Identifier",
|
|
5814
5814
|
"overloadedDeclarations": [],
|
|
5815
|
-
"referencedDeclaration":
|
|
5816
|
-
"src": "
|
|
5815
|
+
"referencedDeclaration": 20363,
|
|
5816
|
+
"src": "1291:6:67",
|
|
5817
5817
|
"typeDescriptions": {
|
|
5818
5818
|
"typeIdentifier": "t_uint32",
|
|
5819
5819
|
"typeString": "uint32"
|
|
5820
5820
|
}
|
|
5821
5821
|
},
|
|
5822
|
-
"src": "
|
|
5822
|
+
"src": "1277:20:67",
|
|
5823
5823
|
"typeDescriptions": {
|
|
5824
5824
|
"typeIdentifier": "t_uint256",
|
|
5825
5825
|
"typeString": "uint256"
|
|
@@ -5833,26 +5833,26 @@
|
|
|
5833
5833
|
"typeString": "uint256"
|
|
5834
5834
|
}
|
|
5835
5835
|
],
|
|
5836
|
-
"id":
|
|
5836
|
+
"id": 20394,
|
|
5837
5837
|
"isConstant": false,
|
|
5838
5838
|
"isLValue": false,
|
|
5839
5839
|
"isPure": true,
|
|
5840
5840
|
"lValueRequested": false,
|
|
5841
5841
|
"nodeType": "ElementaryTypeNameExpression",
|
|
5842
|
-
"src": "
|
|
5842
|
+
"src": "1269:7:67",
|
|
5843
5843
|
"typeDescriptions": {
|
|
5844
5844
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
5845
5845
|
"typeString": "type(uint256)"
|
|
5846
5846
|
},
|
|
5847
5847
|
"typeName": {
|
|
5848
|
-
"id":
|
|
5848
|
+
"id": 20393,
|
|
5849
5849
|
"name": "uint256",
|
|
5850
5850
|
"nodeType": "ElementaryTypeName",
|
|
5851
|
-
"src": "
|
|
5851
|
+
"src": "1269:7:67",
|
|
5852
5852
|
"typeDescriptions": {}
|
|
5853
5853
|
}
|
|
5854
5854
|
},
|
|
5855
|
-
"id":
|
|
5855
|
+
"id": 20398,
|
|
5856
5856
|
"isConstant": false,
|
|
5857
5857
|
"isLValue": false,
|
|
5858
5858
|
"isPure": false,
|
|
@@ -5860,7 +5860,7 @@
|
|
|
5860
5860
|
"lValueRequested": false,
|
|
5861
5861
|
"names": [],
|
|
5862
5862
|
"nodeType": "FunctionCall",
|
|
5863
|
-
"src": "
|
|
5863
|
+
"src": "1269:29:67",
|
|
5864
5864
|
"tryCall": false,
|
|
5865
5865
|
"typeDescriptions": {
|
|
5866
5866
|
"typeIdentifier": "t_uint256",
|
|
@@ -5871,35 +5871,35 @@
|
|
|
5871
5871
|
"operator": "&",
|
|
5872
5872
|
"rightExpression": {
|
|
5873
5873
|
"hexValue": "31",
|
|
5874
|
-
"id":
|
|
5874
|
+
"id": 20399,
|
|
5875
5875
|
"isConstant": false,
|
|
5876
5876
|
"isLValue": false,
|
|
5877
5877
|
"isPure": true,
|
|
5878
5878
|
"kind": "number",
|
|
5879
5879
|
"lValueRequested": false,
|
|
5880
5880
|
"nodeType": "Literal",
|
|
5881
|
-
"src": "
|
|
5881
|
+
"src": "1301:1:67",
|
|
5882
5882
|
"typeDescriptions": {
|
|
5883
5883
|
"typeIdentifier": "t_rational_1_by_1",
|
|
5884
5884
|
"typeString": "int_const 1"
|
|
5885
5885
|
},
|
|
5886
5886
|
"value": "1"
|
|
5887
5887
|
},
|
|
5888
|
-
"src": "
|
|
5888
|
+
"src": "1269:33:67",
|
|
5889
5889
|
"typeDescriptions": {
|
|
5890
5890
|
"typeIdentifier": "t_uint256",
|
|
5891
5891
|
"typeString": "uint256"
|
|
5892
5892
|
}
|
|
5893
5893
|
}
|
|
5894
5894
|
],
|
|
5895
|
-
"id":
|
|
5895
|
+
"id": 20401,
|
|
5896
5896
|
"isConstant": false,
|
|
5897
5897
|
"isInlineArray": false,
|
|
5898
5898
|
"isLValue": false,
|
|
5899
5899
|
"isPure": false,
|
|
5900
5900
|
"lValueRequested": false,
|
|
5901
5901
|
"nodeType": "TupleExpression",
|
|
5902
|
-
"src": "
|
|
5902
|
+
"src": "1268:35:67",
|
|
5903
5903
|
"typeDescriptions": {
|
|
5904
5904
|
"typeIdentifier": "t_uint256",
|
|
5905
5905
|
"typeString": "uint256"
|
|
@@ -5909,48 +5909,48 @@
|
|
|
5909
5909
|
"operator": "==",
|
|
5910
5910
|
"rightExpression": {
|
|
5911
5911
|
"hexValue": "30",
|
|
5912
|
-
"id":
|
|
5912
|
+
"id": 20402,
|
|
5913
5913
|
"isConstant": false,
|
|
5914
5914
|
"isLValue": false,
|
|
5915
5915
|
"isPure": true,
|
|
5916
5916
|
"kind": "number",
|
|
5917
5917
|
"lValueRequested": false,
|
|
5918
5918
|
"nodeType": "Literal",
|
|
5919
|
-
"src": "
|
|
5919
|
+
"src": "1307:1:67",
|
|
5920
5920
|
"typeDescriptions": {
|
|
5921
5921
|
"typeIdentifier": "t_rational_0_by_1",
|
|
5922
5922
|
"typeString": "int_const 0"
|
|
5923
5923
|
},
|
|
5924
5924
|
"value": "0"
|
|
5925
5925
|
},
|
|
5926
|
-
"src": "
|
|
5926
|
+
"src": "1268:40:67",
|
|
5927
5927
|
"typeDescriptions": {
|
|
5928
5928
|
"typeIdentifier": "t_bool",
|
|
5929
5929
|
"typeString": "bool"
|
|
5930
5930
|
}
|
|
5931
5931
|
},
|
|
5932
|
-
"id":
|
|
5932
|
+
"id": 20458,
|
|
5933
5933
|
"nodeType": "IfStatement",
|
|
5934
|
-
"src": "
|
|
5934
|
+
"src": "1264:671:67",
|
|
5935
5935
|
"trueBody": {
|
|
5936
|
-
"id":
|
|
5936
|
+
"id": 20457,
|
|
5937
5937
|
"nodeType": "Block",
|
|
5938
|
-
"src": "
|
|
5938
|
+
"src": "1310:625:67",
|
|
5939
5939
|
"statements": [
|
|
5940
5940
|
{
|
|
5941
5941
|
"assignments": [
|
|
5942
|
-
|
|
5942
|
+
20408
|
|
5943
5943
|
],
|
|
5944
5944
|
"declarations": [
|
|
5945
5945
|
{
|
|
5946
5946
|
"constant": false,
|
|
5947
|
-
"id":
|
|
5947
|
+
"id": 20408,
|
|
5948
5948
|
"mutability": "mutable",
|
|
5949
5949
|
"name": "slotData",
|
|
5950
|
-
"nameLocation": "
|
|
5950
|
+
"nameLocation": "1381:8:67",
|
|
5951
5951
|
"nodeType": "VariableDeclaration",
|
|
5952
|
-
"scope":
|
|
5953
|
-
"src": "
|
|
5952
|
+
"scope": 20457,
|
|
5953
|
+
"src": "1364:25:67",
|
|
5954
5954
|
"stateVariable": false,
|
|
5955
5955
|
"storageLocation": "memory",
|
|
5956
5956
|
"typeDescriptions": {
|
|
@@ -5959,18 +5959,18 @@
|
|
|
5959
5959
|
},
|
|
5960
5960
|
"typeName": {
|
|
5961
5961
|
"baseType": {
|
|
5962
|
-
"id":
|
|
5962
|
+
"id": 20406,
|
|
5963
5963
|
"name": "bytes32",
|
|
5964
5964
|
"nodeType": "ElementaryTypeName",
|
|
5965
|
-
"src": "
|
|
5965
|
+
"src": "1364:7:67",
|
|
5966
5966
|
"typeDescriptions": {
|
|
5967
5967
|
"typeIdentifier": "t_bytes32",
|
|
5968
5968
|
"typeString": "bytes32"
|
|
5969
5969
|
}
|
|
5970
5970
|
},
|
|
5971
|
-
"id":
|
|
5971
|
+
"id": 20407,
|
|
5972
5972
|
"nodeType": "ArrayTypeName",
|
|
5973
|
-
"src": "
|
|
5973
|
+
"src": "1364:9:67",
|
|
5974
5974
|
"typeDescriptions": {
|
|
5975
5975
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
5976
5976
|
"typeString": "bytes32[]"
|
|
@@ -5979,19 +5979,19 @@
|
|
|
5979
5979
|
"visibility": "internal"
|
|
5980
5980
|
}
|
|
5981
5981
|
],
|
|
5982
|
-
"id":
|
|
5982
|
+
"id": 20414,
|
|
5983
5983
|
"initialValue": {
|
|
5984
5984
|
"arguments": [
|
|
5985
5985
|
{
|
|
5986
5986
|
"hexValue": "31",
|
|
5987
|
-
"id":
|
|
5987
|
+
"id": 20412,
|
|
5988
5988
|
"isConstant": false,
|
|
5989
5989
|
"isLValue": false,
|
|
5990
5990
|
"isPure": true,
|
|
5991
5991
|
"kind": "number",
|
|
5992
5992
|
"lValueRequested": false,
|
|
5993
5993
|
"nodeType": "Literal",
|
|
5994
|
-
"src": "
|
|
5994
|
+
"src": "1406:1:67",
|
|
5995
5995
|
"typeDescriptions": {
|
|
5996
5996
|
"typeIdentifier": "t_rational_1_by_1",
|
|
5997
5997
|
"typeString": "int_const 1"
|
|
@@ -6006,38 +6006,38 @@
|
|
|
6006
6006
|
"typeString": "int_const 1"
|
|
6007
6007
|
}
|
|
6008
6008
|
],
|
|
6009
|
-
"id":
|
|
6009
|
+
"id": 20411,
|
|
6010
6010
|
"isConstant": false,
|
|
6011
6011
|
"isLValue": false,
|
|
6012
6012
|
"isPure": true,
|
|
6013
6013
|
"lValueRequested": false,
|
|
6014
6014
|
"nodeType": "NewExpression",
|
|
6015
|
-
"src": "
|
|
6015
|
+
"src": "1392:13:67",
|
|
6016
6016
|
"typeDescriptions": {
|
|
6017
6017
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
6018
6018
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
|
6019
6019
|
},
|
|
6020
6020
|
"typeName": {
|
|
6021
6021
|
"baseType": {
|
|
6022
|
-
"id":
|
|
6022
|
+
"id": 20409,
|
|
6023
6023
|
"name": "bytes32",
|
|
6024
6024
|
"nodeType": "ElementaryTypeName",
|
|
6025
|
-
"src": "
|
|
6025
|
+
"src": "1396:7:67",
|
|
6026
6026
|
"typeDescriptions": {
|
|
6027
6027
|
"typeIdentifier": "t_bytes32",
|
|
6028
6028
|
"typeString": "bytes32"
|
|
6029
6029
|
}
|
|
6030
6030
|
},
|
|
6031
|
-
"id":
|
|
6031
|
+
"id": 20410,
|
|
6032
6032
|
"nodeType": "ArrayTypeName",
|
|
6033
|
-
"src": "
|
|
6033
|
+
"src": "1396:9:67",
|
|
6034
6034
|
"typeDescriptions": {
|
|
6035
6035
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
6036
6036
|
"typeString": "bytes32[]"
|
|
6037
6037
|
}
|
|
6038
6038
|
}
|
|
6039
6039
|
},
|
|
6040
|
-
"id":
|
|
6040
|
+
"id": 20413,
|
|
6041
6041
|
"isConstant": false,
|
|
6042
6042
|
"isLValue": false,
|
|
6043
6043
|
"isPure": true,
|
|
@@ -6045,7 +6045,7 @@
|
|
|
6045
6045
|
"lValueRequested": false,
|
|
6046
6046
|
"names": [],
|
|
6047
6047
|
"nodeType": "FunctionCall",
|
|
6048
|
-
"src": "
|
|
6048
|
+
"src": "1392:16:67",
|
|
6049
6049
|
"tryCall": false,
|
|
6050
6050
|
"typeDescriptions": {
|
|
6051
6051
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -6053,39 +6053,39 @@
|
|
|
6053
6053
|
}
|
|
6054
6054
|
},
|
|
6055
6055
|
"nodeType": "VariableDeclarationStatement",
|
|
6056
|
-
"src": "
|
|
6056
|
+
"src": "1364:44:67"
|
|
6057
6057
|
},
|
|
6058
6058
|
{
|
|
6059
6059
|
"expression": {
|
|
6060
|
-
"id":
|
|
6060
|
+
"id": 20419,
|
|
6061
6061
|
"isConstant": false,
|
|
6062
6062
|
"isLValue": false,
|
|
6063
6063
|
"isPure": false,
|
|
6064
6064
|
"lValueRequested": false,
|
|
6065
6065
|
"leftHandSide": {
|
|
6066
6066
|
"baseExpression": {
|
|
6067
|
-
"id":
|
|
6067
|
+
"id": 20415,
|
|
6068
6068
|
"name": "slotData",
|
|
6069
6069
|
"nodeType": "Identifier",
|
|
6070
6070
|
"overloadedDeclarations": [],
|
|
6071
|
-
"referencedDeclaration":
|
|
6072
|
-
"src": "
|
|
6071
|
+
"referencedDeclaration": 20408,
|
|
6072
|
+
"src": "1426:8:67",
|
|
6073
6073
|
"typeDescriptions": {
|
|
6074
6074
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
6075
6075
|
"typeString": "bytes32[] memory"
|
|
6076
6076
|
}
|
|
6077
6077
|
},
|
|
6078
|
-
"id":
|
|
6078
|
+
"id": 20417,
|
|
6079
6079
|
"indexExpression": {
|
|
6080
6080
|
"hexValue": "30",
|
|
6081
|
-
"id":
|
|
6081
|
+
"id": 20416,
|
|
6082
6082
|
"isConstant": false,
|
|
6083
6083
|
"isLValue": false,
|
|
6084
6084
|
"isPure": true,
|
|
6085
6085
|
"kind": "number",
|
|
6086
6086
|
"lValueRequested": false,
|
|
6087
6087
|
"nodeType": "Literal",
|
|
6088
|
-
"src": "
|
|
6088
|
+
"src": "1435:1:67",
|
|
6089
6089
|
"typeDescriptions": {
|
|
6090
6090
|
"typeIdentifier": "t_rational_0_by_1",
|
|
6091
6091
|
"typeString": "int_const 0"
|
|
@@ -6097,7 +6097,7 @@
|
|
|
6097
6097
|
"isPure": false,
|
|
6098
6098
|
"lValueRequested": true,
|
|
6099
6099
|
"nodeType": "IndexAccess",
|
|
6100
|
-
"src": "
|
|
6100
|
+
"src": "1426:11:67",
|
|
6101
6101
|
"typeDescriptions": {
|
|
6102
6102
|
"typeIdentifier": "t_bytes32",
|
|
6103
6103
|
"typeString": "bytes32"
|
|
@@ -6106,37 +6106,37 @@
|
|
|
6106
6106
|
"nodeType": "Assignment",
|
|
6107
6107
|
"operator": "=",
|
|
6108
6108
|
"rightHandSide": {
|
|
6109
|
-
"id":
|
|
6109
|
+
"id": 20418,
|
|
6110
6110
|
"name": "data",
|
|
6111
6111
|
"nodeType": "Identifier",
|
|
6112
6112
|
"overloadedDeclarations": [],
|
|
6113
|
-
"referencedDeclaration":
|
|
6114
|
-
"src": "
|
|
6113
|
+
"referencedDeclaration": 20360,
|
|
6114
|
+
"src": "1440:4:67",
|
|
6115
6115
|
"typeDescriptions": {
|
|
6116
6116
|
"typeIdentifier": "t_bytes32",
|
|
6117
6117
|
"typeString": "bytes32"
|
|
6118
6118
|
}
|
|
6119
6119
|
},
|
|
6120
|
-
"src": "
|
|
6120
|
+
"src": "1426:18:67",
|
|
6121
6121
|
"typeDescriptions": {
|
|
6122
6122
|
"typeIdentifier": "t_bytes32",
|
|
6123
6123
|
"typeString": "bytes32"
|
|
6124
6124
|
}
|
|
6125
6125
|
},
|
|
6126
|
-
"id":
|
|
6126
|
+
"id": 20420,
|
|
6127
6127
|
"nodeType": "ExpressionStatement",
|
|
6128
|
-
"src": "
|
|
6128
|
+
"src": "1426:18:67"
|
|
6129
6129
|
},
|
|
6130
6130
|
{
|
|
6131
6131
|
"expression": {
|
|
6132
6132
|
"arguments": [
|
|
6133
6133
|
{
|
|
6134
|
-
"id":
|
|
6134
|
+
"id": 20424,
|
|
6135
6135
|
"name": "account",
|
|
6136
6136
|
"nodeType": "Identifier",
|
|
6137
6137
|
"overloadedDeclarations": [],
|
|
6138
|
-
"referencedDeclaration":
|
|
6139
|
-
"src": "
|
|
6138
|
+
"referencedDeclaration": 20354,
|
|
6139
|
+
"src": "1514:7:67",
|
|
6140
6140
|
"typeDescriptions": {
|
|
6141
6141
|
"typeIdentifier": "t_address",
|
|
6142
6142
|
"typeString": "address"
|
|
@@ -6147,18 +6147,18 @@
|
|
|
6147
6147
|
"typeIdentifier": "t_uint256",
|
|
6148
6148
|
"typeString": "uint256"
|
|
6149
6149
|
},
|
|
6150
|
-
"id":
|
|
6150
|
+
"id": 20427,
|
|
6151
6151
|
"isConstant": false,
|
|
6152
6152
|
"isLValue": false,
|
|
6153
6153
|
"isPure": false,
|
|
6154
6154
|
"lValueRequested": false,
|
|
6155
6155
|
"leftExpression": {
|
|
6156
|
-
"id":
|
|
6156
|
+
"id": 20425,
|
|
6157
6157
|
"name": "dataStateSlotIDStart",
|
|
6158
6158
|
"nodeType": "Identifier",
|
|
6159
6159
|
"overloadedDeclarations": [],
|
|
6160
|
-
"referencedDeclaration":
|
|
6161
|
-
"src": "
|
|
6160
|
+
"referencedDeclaration": 20358,
|
|
6161
|
+
"src": "1543:20:67",
|
|
6162
6162
|
"typeDescriptions": {
|
|
6163
6163
|
"typeIdentifier": "t_uint256",
|
|
6164
6164
|
"typeString": "uint256"
|
|
@@ -6167,30 +6167,30 @@
|
|
|
6167
6167
|
"nodeType": "BinaryOperation",
|
|
6168
6168
|
"operator": "+",
|
|
6169
6169
|
"rightExpression": {
|
|
6170
|
-
"id":
|
|
6170
|
+
"id": 20426,
|
|
6171
6171
|
"name": "slotId",
|
|
6172
6172
|
"nodeType": "Identifier",
|
|
6173
6173
|
"overloadedDeclarations": [],
|
|
6174
|
-
"referencedDeclaration":
|
|
6175
|
-
"src": "
|
|
6174
|
+
"referencedDeclaration": 20363,
|
|
6175
|
+
"src": "1566:6:67",
|
|
6176
6176
|
"typeDescriptions": {
|
|
6177
6177
|
"typeIdentifier": "t_uint32",
|
|
6178
6178
|
"typeString": "uint32"
|
|
6179
6179
|
}
|
|
6180
6180
|
},
|
|
6181
|
-
"src": "
|
|
6181
|
+
"src": "1543:29:67",
|
|
6182
6182
|
"typeDescriptions": {
|
|
6183
6183
|
"typeIdentifier": "t_uint256",
|
|
6184
6184
|
"typeString": "uint256"
|
|
6185
6185
|
}
|
|
6186
6186
|
},
|
|
6187
6187
|
{
|
|
6188
|
-
"id":
|
|
6188
|
+
"id": 20428,
|
|
6189
6189
|
"name": "slotData",
|
|
6190
6190
|
"nodeType": "Identifier",
|
|
6191
6191
|
"overloadedDeclarations": [],
|
|
6192
|
-
"referencedDeclaration":
|
|
6193
|
-
"src": "
|
|
6192
|
+
"referencedDeclaration": 20408,
|
|
6193
|
+
"src": "1594:8:67",
|
|
6194
6194
|
"typeDescriptions": {
|
|
6195
6195
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
6196
6196
|
"typeString": "bytes32[] memory"
|
|
@@ -6213,32 +6213,32 @@
|
|
|
6213
6213
|
}
|
|
6214
6214
|
],
|
|
6215
6215
|
"expression": {
|
|
6216
|
-
"id":
|
|
6216
|
+
"id": 20421,
|
|
6217
6217
|
"name": "token",
|
|
6218
6218
|
"nodeType": "Identifier",
|
|
6219
6219
|
"overloadedDeclarations": [],
|
|
6220
|
-
"referencedDeclaration":
|
|
6221
|
-
"src": "
|
|
6220
|
+
"referencedDeclaration": 20352,
|
|
6221
|
+
"src": "1462:5:67",
|
|
6222
6222
|
"typeDescriptions": {
|
|
6223
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
6223
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
6224
6224
|
"typeString": "contract ISuperfluidToken"
|
|
6225
6225
|
}
|
|
6226
6226
|
},
|
|
6227
|
-
"id":
|
|
6227
|
+
"id": 20423,
|
|
6228
6228
|
"isConstant": false,
|
|
6229
6229
|
"isLValue": false,
|
|
6230
6230
|
"isPure": false,
|
|
6231
6231
|
"lValueRequested": false,
|
|
6232
6232
|
"memberName": "updateAgreementStateSlot",
|
|
6233
6233
|
"nodeType": "MemberAccess",
|
|
6234
|
-
"referencedDeclaration":
|
|
6235
|
-
"src": "
|
|
6234
|
+
"referencedDeclaration": 19292,
|
|
6235
|
+
"src": "1462:30:67",
|
|
6236
6236
|
"typeDescriptions": {
|
|
6237
6237
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
|
|
6238
6238
|
"typeString": "function (address,uint256,bytes32[] memory) external"
|
|
6239
6239
|
}
|
|
6240
6240
|
},
|
|
6241
|
-
"id":
|
|
6241
|
+
"id": 20429,
|
|
6242
6242
|
"isConstant": false,
|
|
6243
6243
|
"isLValue": false,
|
|
6244
6244
|
"isPure": false,
|
|
@@ -6246,48 +6246,48 @@
|
|
|
6246
6246
|
"lValueRequested": false,
|
|
6247
6247
|
"names": [],
|
|
6248
6248
|
"nodeType": "FunctionCall",
|
|
6249
|
-
"src": "
|
|
6249
|
+
"src": "1462:141:67",
|
|
6250
6250
|
"tryCall": false,
|
|
6251
6251
|
"typeDescriptions": {
|
|
6252
6252
|
"typeIdentifier": "t_tuple$__$",
|
|
6253
6253
|
"typeString": "tuple()"
|
|
6254
6254
|
}
|
|
6255
6255
|
},
|
|
6256
|
-
"id":
|
|
6256
|
+
"id": 20430,
|
|
6257
6257
|
"nodeType": "ExpressionStatement",
|
|
6258
|
-
"src": "
|
|
6258
|
+
"src": "1462:141:67"
|
|
6259
6259
|
},
|
|
6260
6260
|
{
|
|
6261
6261
|
"expression": {
|
|
6262
|
-
"id":
|
|
6262
|
+
"id": 20446,
|
|
6263
6263
|
"isConstant": false,
|
|
6264
6264
|
"isLValue": false,
|
|
6265
6265
|
"isPure": false,
|
|
6266
6266
|
"lValueRequested": false,
|
|
6267
6267
|
"leftHandSide": {
|
|
6268
6268
|
"baseExpression": {
|
|
6269
|
-
"id":
|
|
6269
|
+
"id": 20431,
|
|
6270
6270
|
"name": "slotData",
|
|
6271
6271
|
"nodeType": "Identifier",
|
|
6272
6272
|
"overloadedDeclarations": [],
|
|
6273
|
-
"referencedDeclaration":
|
|
6274
|
-
"src": "
|
|
6273
|
+
"referencedDeclaration": 20408,
|
|
6274
|
+
"src": "1656:8:67",
|
|
6275
6275
|
"typeDescriptions": {
|
|
6276
6276
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
6277
6277
|
"typeString": "bytes32[] memory"
|
|
6278
6278
|
}
|
|
6279
6279
|
},
|
|
6280
|
-
"id":
|
|
6280
|
+
"id": 20433,
|
|
6281
6281
|
"indexExpression": {
|
|
6282
6282
|
"hexValue": "30",
|
|
6283
|
-
"id":
|
|
6283
|
+
"id": 20432,
|
|
6284
6284
|
"isConstant": false,
|
|
6285
6285
|
"isLValue": false,
|
|
6286
6286
|
"isPure": true,
|
|
6287
6287
|
"kind": "number",
|
|
6288
6288
|
"lValueRequested": false,
|
|
6289
6289
|
"nodeType": "Literal",
|
|
6290
|
-
"src": "
|
|
6290
|
+
"src": "1665:1:67",
|
|
6291
6291
|
"typeDescriptions": {
|
|
6292
6292
|
"typeIdentifier": "t_rational_0_by_1",
|
|
6293
6293
|
"typeString": "int_const 0"
|
|
@@ -6299,7 +6299,7 @@
|
|
|
6299
6299
|
"isPure": false,
|
|
6300
6300
|
"lValueRequested": true,
|
|
6301
6301
|
"nodeType": "IndexAccess",
|
|
6302
|
-
"src": "
|
|
6302
|
+
"src": "1656:11:67",
|
|
6303
6303
|
"typeDescriptions": {
|
|
6304
6304
|
"typeIdentifier": "t_bytes32",
|
|
6305
6305
|
"typeString": "bytes32"
|
|
@@ -6314,18 +6314,18 @@
|
|
|
6314
6314
|
"typeIdentifier": "t_uint256",
|
|
6315
6315
|
"typeString": "uint256"
|
|
6316
6316
|
},
|
|
6317
|
-
"id":
|
|
6317
|
+
"id": 20444,
|
|
6318
6318
|
"isConstant": false,
|
|
6319
6319
|
"isLValue": false,
|
|
6320
6320
|
"isPure": false,
|
|
6321
6321
|
"lValueRequested": false,
|
|
6322
6322
|
"leftExpression": {
|
|
6323
|
-
"id":
|
|
6323
|
+
"id": 20436,
|
|
6324
6324
|
"name": "subsBitmap",
|
|
6325
6325
|
"nodeType": "Identifier",
|
|
6326
6326
|
"overloadedDeclarations": [],
|
|
6327
|
-
"referencedDeclaration":
|
|
6328
|
-
"src": "
|
|
6327
|
+
"referencedDeclaration": 20366,
|
|
6328
|
+
"src": "1678:10:67",
|
|
6329
6329
|
"typeDescriptions": {
|
|
6330
6330
|
"typeIdentifier": "t_uint256",
|
|
6331
6331
|
"typeString": "uint256"
|
|
@@ -6340,21 +6340,21 @@
|
|
|
6340
6340
|
"typeIdentifier": "t_uint256",
|
|
6341
6341
|
"typeString": "uint256"
|
|
6342
6342
|
},
|
|
6343
|
-
"id":
|
|
6343
|
+
"id": 20442,
|
|
6344
6344
|
"isConstant": false,
|
|
6345
6345
|
"isLValue": false,
|
|
6346
6346
|
"isPure": false,
|
|
6347
6347
|
"lValueRequested": false,
|
|
6348
6348
|
"leftExpression": {
|
|
6349
6349
|
"hexValue": "31",
|
|
6350
|
-
"id":
|
|
6350
|
+
"id": 20437,
|
|
6351
6351
|
"isConstant": false,
|
|
6352
6352
|
"isLValue": false,
|
|
6353
6353
|
"isPure": true,
|
|
6354
6354
|
"kind": "number",
|
|
6355
6355
|
"lValueRequested": false,
|
|
6356
6356
|
"nodeType": "Literal",
|
|
6357
|
-
"src": "
|
|
6357
|
+
"src": "1692:1:67",
|
|
6358
6358
|
"typeDescriptions": {
|
|
6359
6359
|
"typeIdentifier": "t_rational_1_by_1",
|
|
6360
6360
|
"typeString": "int_const 1"
|
|
@@ -6366,12 +6366,12 @@
|
|
|
6366
6366
|
"rightExpression": {
|
|
6367
6367
|
"arguments": [
|
|
6368
6368
|
{
|
|
6369
|
-
"id":
|
|
6369
|
+
"id": 20440,
|
|
6370
6370
|
"name": "slotId",
|
|
6371
6371
|
"nodeType": "Identifier",
|
|
6372
6372
|
"overloadedDeclarations": [],
|
|
6373
|
-
"referencedDeclaration":
|
|
6374
|
-
"src": "
|
|
6373
|
+
"referencedDeclaration": 20363,
|
|
6374
|
+
"src": "1705:6:67",
|
|
6375
6375
|
"typeDescriptions": {
|
|
6376
6376
|
"typeIdentifier": "t_uint32",
|
|
6377
6377
|
"typeString": "uint32"
|
|
@@ -6385,26 +6385,26 @@
|
|
|
6385
6385
|
"typeString": "uint32"
|
|
6386
6386
|
}
|
|
6387
6387
|
],
|
|
6388
|
-
"id":
|
|
6388
|
+
"id": 20439,
|
|
6389
6389
|
"isConstant": false,
|
|
6390
6390
|
"isLValue": false,
|
|
6391
6391
|
"isPure": true,
|
|
6392
6392
|
"lValueRequested": false,
|
|
6393
6393
|
"nodeType": "ElementaryTypeNameExpression",
|
|
6394
|
-
"src": "
|
|
6394
|
+
"src": "1697:7:67",
|
|
6395
6395
|
"typeDescriptions": {
|
|
6396
6396
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
6397
6397
|
"typeString": "type(uint256)"
|
|
6398
6398
|
},
|
|
6399
6399
|
"typeName": {
|
|
6400
|
-
"id":
|
|
6400
|
+
"id": 20438,
|
|
6401
6401
|
"name": "uint256",
|
|
6402
6402
|
"nodeType": "ElementaryTypeName",
|
|
6403
|
-
"src": "
|
|
6403
|
+
"src": "1697:7:67",
|
|
6404
6404
|
"typeDescriptions": {}
|
|
6405
6405
|
}
|
|
6406
6406
|
},
|
|
6407
|
-
"id":
|
|
6407
|
+
"id": 20441,
|
|
6408
6408
|
"isConstant": false,
|
|
6409
6409
|
"isLValue": false,
|
|
6410
6410
|
"isPure": false,
|
|
@@ -6412,34 +6412,34 @@
|
|
|
6412
6412
|
"lValueRequested": false,
|
|
6413
6413
|
"names": [],
|
|
6414
6414
|
"nodeType": "FunctionCall",
|
|
6415
|
-
"src": "
|
|
6415
|
+
"src": "1697:15:67",
|
|
6416
6416
|
"tryCall": false,
|
|
6417
6417
|
"typeDescriptions": {
|
|
6418
6418
|
"typeIdentifier": "t_uint256",
|
|
6419
6419
|
"typeString": "uint256"
|
|
6420
6420
|
}
|
|
6421
6421
|
},
|
|
6422
|
-
"src": "
|
|
6422
|
+
"src": "1692:20:67",
|
|
6423
6423
|
"typeDescriptions": {
|
|
6424
6424
|
"typeIdentifier": "t_uint256",
|
|
6425
6425
|
"typeString": "uint256"
|
|
6426
6426
|
}
|
|
6427
6427
|
}
|
|
6428
6428
|
],
|
|
6429
|
-
"id":
|
|
6429
|
+
"id": 20443,
|
|
6430
6430
|
"isConstant": false,
|
|
6431
6431
|
"isInlineArray": false,
|
|
6432
6432
|
"isLValue": false,
|
|
6433
6433
|
"isPure": false,
|
|
6434
6434
|
"lValueRequested": false,
|
|
6435
6435
|
"nodeType": "TupleExpression",
|
|
6436
|
-
"src": "
|
|
6436
|
+
"src": "1691:22:67",
|
|
6437
6437
|
"typeDescriptions": {
|
|
6438
6438
|
"typeIdentifier": "t_uint256",
|
|
6439
6439
|
"typeString": "uint256"
|
|
6440
6440
|
}
|
|
6441
6441
|
},
|
|
6442
|
-
"src": "
|
|
6442
|
+
"src": "1678:35:67",
|
|
6443
6443
|
"typeDescriptions": {
|
|
6444
6444
|
"typeIdentifier": "t_uint256",
|
|
6445
6445
|
"typeString": "uint256"
|
|
@@ -6453,26 +6453,26 @@
|
|
|
6453
6453
|
"typeString": "uint256"
|
|
6454
6454
|
}
|
|
6455
6455
|
],
|
|
6456
|
-
"id":
|
|
6456
|
+
"id": 20435,
|
|
6457
6457
|
"isConstant": false,
|
|
6458
6458
|
"isLValue": false,
|
|
6459
6459
|
"isPure": true,
|
|
6460
6460
|
"lValueRequested": false,
|
|
6461
6461
|
"nodeType": "ElementaryTypeNameExpression",
|
|
6462
|
-
"src": "
|
|
6462
|
+
"src": "1670:7:67",
|
|
6463
6463
|
"typeDescriptions": {
|
|
6464
6464
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
|
6465
6465
|
"typeString": "type(bytes32)"
|
|
6466
6466
|
},
|
|
6467
6467
|
"typeName": {
|
|
6468
|
-
"id":
|
|
6468
|
+
"id": 20434,
|
|
6469
6469
|
"name": "bytes32",
|
|
6470
6470
|
"nodeType": "ElementaryTypeName",
|
|
6471
|
-
"src": "
|
|
6471
|
+
"src": "1670:7:67",
|
|
6472
6472
|
"typeDescriptions": {}
|
|
6473
6473
|
}
|
|
6474
6474
|
},
|
|
6475
|
-
"id":
|
|
6475
|
+
"id": 20445,
|
|
6476
6476
|
"isConstant": false,
|
|
6477
6477
|
"isLValue": false,
|
|
6478
6478
|
"isPure": false,
|
|
@@ -6480,57 +6480,57 @@
|
|
|
6480
6480
|
"lValueRequested": false,
|
|
6481
6481
|
"names": [],
|
|
6482
6482
|
"nodeType": "FunctionCall",
|
|
6483
|
-
"src": "
|
|
6483
|
+
"src": "1670:44:67",
|
|
6484
6484
|
"tryCall": false,
|
|
6485
6485
|
"typeDescriptions": {
|
|
6486
6486
|
"typeIdentifier": "t_bytes32",
|
|
6487
6487
|
"typeString": "bytes32"
|
|
6488
6488
|
}
|
|
6489
6489
|
},
|
|
6490
|
-
"src": "
|
|
6490
|
+
"src": "1656:58:67",
|
|
6491
6491
|
"typeDescriptions": {
|
|
6492
6492
|
"typeIdentifier": "t_bytes32",
|
|
6493
6493
|
"typeString": "bytes32"
|
|
6494
6494
|
}
|
|
6495
6495
|
},
|
|
6496
|
-
"id":
|
|
6496
|
+
"id": 20447,
|
|
6497
6497
|
"nodeType": "ExpressionStatement",
|
|
6498
|
-
"src": "
|
|
6498
|
+
"src": "1656:58:67"
|
|
6499
6499
|
},
|
|
6500
6500
|
{
|
|
6501
6501
|
"expression": {
|
|
6502
6502
|
"arguments": [
|
|
6503
6503
|
{
|
|
6504
|
-
"id":
|
|
6504
|
+
"id": 20451,
|
|
6505
6505
|
"name": "account",
|
|
6506
6506
|
"nodeType": "Identifier",
|
|
6507
6507
|
"overloadedDeclarations": [],
|
|
6508
|
-
"referencedDeclaration":
|
|
6509
|
-
"src": "
|
|
6508
|
+
"referencedDeclaration": 20354,
|
|
6509
|
+
"src": "1784:7:67",
|
|
6510
6510
|
"typeDescriptions": {
|
|
6511
6511
|
"typeIdentifier": "t_address",
|
|
6512
6512
|
"typeString": "address"
|
|
6513
6513
|
}
|
|
6514
6514
|
},
|
|
6515
6515
|
{
|
|
6516
|
-
"id":
|
|
6516
|
+
"id": 20452,
|
|
6517
6517
|
"name": "bitmapStateSlotId",
|
|
6518
6518
|
"nodeType": "Identifier",
|
|
6519
6519
|
"overloadedDeclarations": [],
|
|
6520
|
-
"referencedDeclaration":
|
|
6521
|
-
"src": "
|
|
6520
|
+
"referencedDeclaration": 20356,
|
|
6521
|
+
"src": "1813:17:67",
|
|
6522
6522
|
"typeDescriptions": {
|
|
6523
6523
|
"typeIdentifier": "t_uint256",
|
|
6524
6524
|
"typeString": "uint256"
|
|
6525
6525
|
}
|
|
6526
6526
|
},
|
|
6527
6527
|
{
|
|
6528
|
-
"id":
|
|
6528
|
+
"id": 20453,
|
|
6529
6529
|
"name": "slotData",
|
|
6530
6530
|
"nodeType": "Identifier",
|
|
6531
6531
|
"overloadedDeclarations": [],
|
|
6532
|
-
"referencedDeclaration":
|
|
6533
|
-
"src": "
|
|
6532
|
+
"referencedDeclaration": 20408,
|
|
6533
|
+
"src": "1852:8:67",
|
|
6534
6534
|
"typeDescriptions": {
|
|
6535
6535
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
6536
6536
|
"typeString": "bytes32[] memory"
|
|
@@ -6553,32 +6553,32 @@
|
|
|
6553
6553
|
}
|
|
6554
6554
|
],
|
|
6555
6555
|
"expression": {
|
|
6556
|
-
"id":
|
|
6556
|
+
"id": 20448,
|
|
6557
6557
|
"name": "token",
|
|
6558
6558
|
"nodeType": "Identifier",
|
|
6559
6559
|
"overloadedDeclarations": [],
|
|
6560
|
-
"referencedDeclaration":
|
|
6561
|
-
"src": "
|
|
6560
|
+
"referencedDeclaration": 20352,
|
|
6561
|
+
"src": "1732:5:67",
|
|
6562
6562
|
"typeDescriptions": {
|
|
6563
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
6563
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
6564
6564
|
"typeString": "contract ISuperfluidToken"
|
|
6565
6565
|
}
|
|
6566
6566
|
},
|
|
6567
|
-
"id":
|
|
6567
|
+
"id": 20450,
|
|
6568
6568
|
"isConstant": false,
|
|
6569
6569
|
"isLValue": false,
|
|
6570
6570
|
"isPure": false,
|
|
6571
6571
|
"lValueRequested": false,
|
|
6572
6572
|
"memberName": "updateAgreementStateSlot",
|
|
6573
6573
|
"nodeType": "MemberAccess",
|
|
6574
|
-
"referencedDeclaration":
|
|
6575
|
-
"src": "
|
|
6574
|
+
"referencedDeclaration": 19292,
|
|
6575
|
+
"src": "1732:30:67",
|
|
6576
6576
|
"typeDescriptions": {
|
|
6577
6577
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
|
|
6578
6578
|
"typeString": "function (address,uint256,bytes32[] memory) external"
|
|
6579
6579
|
}
|
|
6580
6580
|
},
|
|
6581
|
-
"id":
|
|
6581
|
+
"id": 20454,
|
|
6582
6582
|
"isConstant": false,
|
|
6583
6583
|
"isLValue": false,
|
|
6584
6584
|
"isPure": false,
|
|
@@ -6586,21 +6586,21 @@
|
|
|
6586
6586
|
"lValueRequested": false,
|
|
6587
6587
|
"names": [],
|
|
6588
6588
|
"nodeType": "FunctionCall",
|
|
6589
|
-
"src": "
|
|
6589
|
+
"src": "1732:129:67",
|
|
6590
6590
|
"tryCall": false,
|
|
6591
6591
|
"typeDescriptions": {
|
|
6592
6592
|
"typeIdentifier": "t_tuple$__$",
|
|
6593
6593
|
"typeString": "tuple()"
|
|
6594
6594
|
}
|
|
6595
6595
|
},
|
|
6596
|
-
"id":
|
|
6596
|
+
"id": 20455,
|
|
6597
6597
|
"nodeType": "ExpressionStatement",
|
|
6598
|
-
"src": "
|
|
6598
|
+
"src": "1732:129:67"
|
|
6599
6599
|
},
|
|
6600
6600
|
{
|
|
6601
|
-
"id":
|
|
6601
|
+
"id": 20456,
|
|
6602
6602
|
"nodeType": "Break",
|
|
6603
|
-
"src": "
|
|
6603
|
+
"src": "1915:5:67"
|
|
6604
6604
|
}
|
|
6605
6605
|
]
|
|
6606
6606
|
}
|
|
@@ -6612,18 +6612,18 @@
|
|
|
6612
6612
|
"typeIdentifier": "t_uint32",
|
|
6613
6613
|
"typeString": "uint32"
|
|
6614
6614
|
},
|
|
6615
|
-
"id":
|
|
6615
|
+
"id": 20389,
|
|
6616
6616
|
"isConstant": false,
|
|
6617
6617
|
"isLValue": false,
|
|
6618
6618
|
"isPure": false,
|
|
6619
6619
|
"lValueRequested": false,
|
|
6620
6620
|
"leftExpression": {
|
|
6621
|
-
"id":
|
|
6621
|
+
"id": 20387,
|
|
6622
6622
|
"name": "slotId",
|
|
6623
6623
|
"nodeType": "Identifier",
|
|
6624
6624
|
"overloadedDeclarations": [],
|
|
6625
|
-
"referencedDeclaration":
|
|
6626
|
-
"src": "
|
|
6625
|
+
"referencedDeclaration": 20363,
|
|
6626
|
+
"src": "1215:6:67",
|
|
6627
6627
|
"typeDescriptions": {
|
|
6628
6628
|
"typeIdentifier": "t_uint32",
|
|
6629
6629
|
"typeString": "uint32"
|
|
@@ -6632,38 +6632,38 @@
|
|
|
6632
6632
|
"nodeType": "BinaryOperation",
|
|
6633
6633
|
"operator": "<",
|
|
6634
6634
|
"rightExpression": {
|
|
6635
|
-
"id":
|
|
6635
|
+
"id": 20388,
|
|
6636
6636
|
"name": "_MAX_NUM_SLOTS",
|
|
6637
6637
|
"nodeType": "Identifier",
|
|
6638
6638
|
"overloadedDeclarations": [],
|
|
6639
|
-
"referencedDeclaration":
|
|
6640
|
-
"src": "
|
|
6639
|
+
"referencedDeclaration": 20349,
|
|
6640
|
+
"src": "1224:14:67",
|
|
6641
6641
|
"typeDescriptions": {
|
|
6642
6642
|
"typeIdentifier": "t_uint32",
|
|
6643
6643
|
"typeString": "uint32"
|
|
6644
6644
|
}
|
|
6645
6645
|
},
|
|
6646
|
-
"src": "
|
|
6646
|
+
"src": "1215:23:67",
|
|
6647
6647
|
"typeDescriptions": {
|
|
6648
6648
|
"typeIdentifier": "t_bool",
|
|
6649
6649
|
"typeString": "bool"
|
|
6650
6650
|
}
|
|
6651
6651
|
},
|
|
6652
|
-
"id":
|
|
6652
|
+
"id": 20460,
|
|
6653
6653
|
"initializationExpression": {
|
|
6654
6654
|
"expression": {
|
|
6655
|
-
"id":
|
|
6655
|
+
"id": 20385,
|
|
6656
6656
|
"isConstant": false,
|
|
6657
6657
|
"isLValue": false,
|
|
6658
6658
|
"isPure": false,
|
|
6659
6659
|
"lValueRequested": false,
|
|
6660
6660
|
"leftHandSide": {
|
|
6661
|
-
"id":
|
|
6661
|
+
"id": 20383,
|
|
6662
6662
|
"name": "slotId",
|
|
6663
6663
|
"nodeType": "Identifier",
|
|
6664
6664
|
"overloadedDeclarations": [],
|
|
6665
|
-
"referencedDeclaration":
|
|
6666
|
-
"src": "
|
|
6665
|
+
"referencedDeclaration": 20363,
|
|
6666
|
+
"src": "1203:6:67",
|
|
6667
6667
|
"typeDescriptions": {
|
|
6668
6668
|
"typeIdentifier": "t_uint32",
|
|
6669
6669
|
"typeString": "uint32"
|
|
@@ -6673,33 +6673,33 @@
|
|
|
6673
6673
|
"operator": "=",
|
|
6674
6674
|
"rightHandSide": {
|
|
6675
6675
|
"hexValue": "30",
|
|
6676
|
-
"id":
|
|
6676
|
+
"id": 20384,
|
|
6677
6677
|
"isConstant": false,
|
|
6678
6678
|
"isLValue": false,
|
|
6679
6679
|
"isPure": true,
|
|
6680
6680
|
"kind": "number",
|
|
6681
6681
|
"lValueRequested": false,
|
|
6682
6682
|
"nodeType": "Literal",
|
|
6683
|
-
"src": "
|
|
6683
|
+
"src": "1212:1:67",
|
|
6684
6684
|
"typeDescriptions": {
|
|
6685
6685
|
"typeIdentifier": "t_rational_0_by_1",
|
|
6686
6686
|
"typeString": "int_const 0"
|
|
6687
6687
|
},
|
|
6688
6688
|
"value": "0"
|
|
6689
6689
|
},
|
|
6690
|
-
"src": "
|
|
6690
|
+
"src": "1203:10:67",
|
|
6691
6691
|
"typeDescriptions": {
|
|
6692
6692
|
"typeIdentifier": "t_uint32",
|
|
6693
6693
|
"typeString": "uint32"
|
|
6694
6694
|
}
|
|
6695
6695
|
},
|
|
6696
|
-
"id":
|
|
6696
|
+
"id": 20386,
|
|
6697
6697
|
"nodeType": "ExpressionStatement",
|
|
6698
|
-
"src": "
|
|
6698
|
+
"src": "1203:10:67"
|
|
6699
6699
|
},
|
|
6700
6700
|
"loopExpression": {
|
|
6701
6701
|
"expression": {
|
|
6702
|
-
"id":
|
|
6702
|
+
"id": 20391,
|
|
6703
6703
|
"isConstant": false,
|
|
6704
6704
|
"isLValue": false,
|
|
6705
6705
|
"isPure": false,
|
|
@@ -6707,14 +6707,14 @@
|
|
|
6707
6707
|
"nodeType": "UnaryOperation",
|
|
6708
6708
|
"operator": "++",
|
|
6709
6709
|
"prefix": true,
|
|
6710
|
-
"src": "
|
|
6710
|
+
"src": "1240:8:67",
|
|
6711
6711
|
"subExpression": {
|
|
6712
|
-
"id":
|
|
6712
|
+
"id": 20390,
|
|
6713
6713
|
"name": "slotId",
|
|
6714
6714
|
"nodeType": "Identifier",
|
|
6715
6715
|
"overloadedDeclarations": [],
|
|
6716
|
-
"referencedDeclaration":
|
|
6717
|
-
"src": "
|
|
6716
|
+
"referencedDeclaration": 20363,
|
|
6717
|
+
"src": "1242:6:67",
|
|
6718
6718
|
"typeDescriptions": {
|
|
6719
6719
|
"typeIdentifier": "t_uint32",
|
|
6720
6720
|
"typeString": "uint32"
|
|
@@ -6725,12 +6725,12 @@
|
|
|
6725
6725
|
"typeString": "uint32"
|
|
6726
6726
|
}
|
|
6727
6727
|
},
|
|
6728
|
-
"id":
|
|
6728
|
+
"id": 20392,
|
|
6729
6729
|
"nodeType": "ExpressionStatement",
|
|
6730
|
-
"src": "
|
|
6730
|
+
"src": "1240:8:67"
|
|
6731
6731
|
},
|
|
6732
6732
|
"nodeType": "ForStatement",
|
|
6733
|
-
"src": "
|
|
6733
|
+
"src": "1198:747:67"
|
|
6734
6734
|
},
|
|
6735
6735
|
{
|
|
6736
6736
|
"expression": {
|
|
@@ -6740,18 +6740,18 @@
|
|
|
6740
6740
|
"typeIdentifier": "t_uint32",
|
|
6741
6741
|
"typeString": "uint32"
|
|
6742
6742
|
},
|
|
6743
|
-
"id":
|
|
6743
|
+
"id": 20464,
|
|
6744
6744
|
"isConstant": false,
|
|
6745
6745
|
"isLValue": false,
|
|
6746
6746
|
"isPure": false,
|
|
6747
6747
|
"lValueRequested": false,
|
|
6748
6748
|
"leftExpression": {
|
|
6749
|
-
"id":
|
|
6749
|
+
"id": 20462,
|
|
6750
6750
|
"name": "slotId",
|
|
6751
6751
|
"nodeType": "Identifier",
|
|
6752
6752
|
"overloadedDeclarations": [],
|
|
6753
|
-
"referencedDeclaration":
|
|
6754
|
-
"src": "
|
|
6753
|
+
"referencedDeclaration": 20363,
|
|
6754
|
+
"src": "1962:6:67",
|
|
6755
6755
|
"typeDescriptions": {
|
|
6756
6756
|
"typeIdentifier": "t_uint32",
|
|
6757
6757
|
"typeString": "uint32"
|
|
@@ -6760,18 +6760,18 @@
|
|
|
6760
6760
|
"nodeType": "BinaryOperation",
|
|
6761
6761
|
"operator": "<",
|
|
6762
6762
|
"rightExpression": {
|
|
6763
|
-
"id":
|
|
6763
|
+
"id": 20463,
|
|
6764
6764
|
"name": "_MAX_NUM_SLOTS",
|
|
6765
6765
|
"nodeType": "Identifier",
|
|
6766
6766
|
"overloadedDeclarations": [],
|
|
6767
|
-
"referencedDeclaration":
|
|
6768
|
-
"src": "
|
|
6767
|
+
"referencedDeclaration": 20349,
|
|
6768
|
+
"src": "1971:14:67",
|
|
6769
6769
|
"typeDescriptions": {
|
|
6770
6770
|
"typeIdentifier": "t_uint32",
|
|
6771
6771
|
"typeString": "uint32"
|
|
6772
6772
|
}
|
|
6773
6773
|
},
|
|
6774
|
-
"src": "
|
|
6774
|
+
"src": "1962:23:67",
|
|
6775
6775
|
"typeDescriptions": {
|
|
6776
6776
|
"typeIdentifier": "t_bool",
|
|
6777
6777
|
"typeString": "bool"
|
|
@@ -6779,14 +6779,14 @@
|
|
|
6779
6779
|
},
|
|
6780
6780
|
{
|
|
6781
6781
|
"hexValue": "536c6f744269746d6170206f7574206f6620626f756e64",
|
|
6782
|
-
"id":
|
|
6782
|
+
"id": 20465,
|
|
6783
6783
|
"isConstant": false,
|
|
6784
6784
|
"isLValue": false,
|
|
6785
6785
|
"isPure": true,
|
|
6786
6786
|
"kind": "string",
|
|
6787
6787
|
"lValueRequested": false,
|
|
6788
6788
|
"nodeType": "Literal",
|
|
6789
|
-
"src": "
|
|
6789
|
+
"src": "1987:25:67",
|
|
6790
6790
|
"typeDescriptions": {
|
|
6791
6791
|
"typeIdentifier": "t_stringliteral_9013b7fc8a2a5c2626f26d5c6b76898545e64f50dc1690d5262cde9a8f30c996",
|
|
6792
6792
|
"typeString": "literal_string \"SlotBitmap out of bound\""
|
|
@@ -6805,7 +6805,7 @@
|
|
|
6805
6805
|
"typeString": "literal_string \"SlotBitmap out of bound\""
|
|
6806
6806
|
}
|
|
6807
6807
|
],
|
|
6808
|
-
"id":
|
|
6808
|
+
"id": 20461,
|
|
6809
6809
|
"name": "require",
|
|
6810
6810
|
"nodeType": "Identifier",
|
|
6811
6811
|
"overloadedDeclarations": [
|
|
@@ -6813,13 +6813,13 @@
|
|
|
6813
6813
|
4294967278
|
|
6814
6814
|
],
|
|
6815
6815
|
"referencedDeclaration": 4294967278,
|
|
6816
|
-
"src": "
|
|
6816
|
+
"src": "1954:7:67",
|
|
6817
6817
|
"typeDescriptions": {
|
|
6818
6818
|
"typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$",
|
|
6819
6819
|
"typeString": "function (bool,string memory) pure"
|
|
6820
6820
|
}
|
|
6821
6821
|
},
|
|
6822
|
-
"id":
|
|
6822
|
+
"id": 20466,
|
|
6823
6823
|
"isConstant": false,
|
|
6824
6824
|
"isLValue": false,
|
|
6825
6825
|
"isPure": false,
|
|
@@ -6827,60 +6827,60 @@
|
|
|
6827
6827
|
"lValueRequested": false,
|
|
6828
6828
|
"names": [],
|
|
6829
6829
|
"nodeType": "FunctionCall",
|
|
6830
|
-
"src": "
|
|
6830
|
+
"src": "1954:59:67",
|
|
6831
6831
|
"tryCall": false,
|
|
6832
6832
|
"typeDescriptions": {
|
|
6833
6833
|
"typeIdentifier": "t_tuple$__$",
|
|
6834
6834
|
"typeString": "tuple()"
|
|
6835
6835
|
}
|
|
6836
6836
|
},
|
|
6837
|
-
"id":
|
|
6837
|
+
"id": 20467,
|
|
6838
6838
|
"nodeType": "ExpressionStatement",
|
|
6839
|
-
"src": "
|
|
6839
|
+
"src": "1954:59:67"
|
|
6840
6840
|
}
|
|
6841
6841
|
]
|
|
6842
6842
|
},
|
|
6843
6843
|
"functionSelector": "a3247010",
|
|
6844
|
-
"id":
|
|
6844
|
+
"id": 20469,
|
|
6845
6845
|
"implemented": true,
|
|
6846
6846
|
"kind": "function",
|
|
6847
6847
|
"modifiers": [],
|
|
6848
6848
|
"name": "findEmptySlotAndFill",
|
|
6849
|
-
"nameLocation": "
|
|
6849
|
+
"nameLocation": "805:20:67",
|
|
6850
6850
|
"nodeType": "FunctionDefinition",
|
|
6851
6851
|
"parameters": {
|
|
6852
|
-
"id":
|
|
6852
|
+
"id": 20361,
|
|
6853
6853
|
"nodeType": "ParameterList",
|
|
6854
6854
|
"parameters": [
|
|
6855
6855
|
{
|
|
6856
6856
|
"constant": false,
|
|
6857
|
-
"id":
|
|
6857
|
+
"id": 20352,
|
|
6858
6858
|
"mutability": "mutable",
|
|
6859
6859
|
"name": "token",
|
|
6860
|
-
"nameLocation": "
|
|
6860
|
+
"nameLocation": "852:5:67",
|
|
6861
6861
|
"nodeType": "VariableDeclaration",
|
|
6862
|
-
"scope":
|
|
6863
|
-
"src": "
|
|
6862
|
+
"scope": 20469,
|
|
6863
|
+
"src": "835:22:67",
|
|
6864
6864
|
"stateVariable": false,
|
|
6865
6865
|
"storageLocation": "default",
|
|
6866
6866
|
"typeDescriptions": {
|
|
6867
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
6867
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
6868
6868
|
"typeString": "contract ISuperfluidToken"
|
|
6869
6869
|
},
|
|
6870
6870
|
"typeName": {
|
|
6871
|
-
"id":
|
|
6871
|
+
"id": 20351,
|
|
6872
6872
|
"nodeType": "UserDefinedTypeName",
|
|
6873
6873
|
"pathNode": {
|
|
6874
|
-
"id":
|
|
6874
|
+
"id": 20350,
|
|
6875
6875
|
"name": "ISuperfluidToken",
|
|
6876
6876
|
"nodeType": "IdentifierPath",
|
|
6877
|
-
"referencedDeclaration":
|
|
6878
|
-
"src": "
|
|
6877
|
+
"referencedDeclaration": 19399,
|
|
6878
|
+
"src": "835:16:67"
|
|
6879
6879
|
},
|
|
6880
|
-
"referencedDeclaration":
|
|
6881
|
-
"src": "
|
|
6880
|
+
"referencedDeclaration": 19399,
|
|
6881
|
+
"src": "835:16:67",
|
|
6882
6882
|
"typeDescriptions": {
|
|
6883
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
6883
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
6884
6884
|
"typeString": "contract ISuperfluidToken"
|
|
6885
6885
|
}
|
|
6886
6886
|
},
|
|
@@ -6888,13 +6888,13 @@
|
|
|
6888
6888
|
},
|
|
6889
6889
|
{
|
|
6890
6890
|
"constant": false,
|
|
6891
|
-
"id":
|
|
6891
|
+
"id": 20354,
|
|
6892
6892
|
"mutability": "mutable",
|
|
6893
6893
|
"name": "account",
|
|
6894
|
-
"nameLocation": "
|
|
6894
|
+
"nameLocation": "875:7:67",
|
|
6895
6895
|
"nodeType": "VariableDeclaration",
|
|
6896
|
-
"scope":
|
|
6897
|
-
"src": "
|
|
6896
|
+
"scope": 20469,
|
|
6897
|
+
"src": "867:15:67",
|
|
6898
6898
|
"stateVariable": false,
|
|
6899
6899
|
"storageLocation": "default",
|
|
6900
6900
|
"typeDescriptions": {
|
|
@@ -6902,10 +6902,10 @@
|
|
|
6902
6902
|
"typeString": "address"
|
|
6903
6903
|
},
|
|
6904
6904
|
"typeName": {
|
|
6905
|
-
"id":
|
|
6905
|
+
"id": 20353,
|
|
6906
6906
|
"name": "address",
|
|
6907
6907
|
"nodeType": "ElementaryTypeName",
|
|
6908
|
-
"src": "
|
|
6908
|
+
"src": "867:7:67",
|
|
6909
6909
|
"stateMutability": "nonpayable",
|
|
6910
6910
|
"typeDescriptions": {
|
|
6911
6911
|
"typeIdentifier": "t_address",
|
|
@@ -6916,13 +6916,13 @@
|
|
|
6916
6916
|
},
|
|
6917
6917
|
{
|
|
6918
6918
|
"constant": false,
|
|
6919
|
-
"id":
|
|
6919
|
+
"id": 20356,
|
|
6920
6920
|
"mutability": "mutable",
|
|
6921
6921
|
"name": "bitmapStateSlotId",
|
|
6922
|
-
"nameLocation": "
|
|
6922
|
+
"nameLocation": "900:17:67",
|
|
6923
6923
|
"nodeType": "VariableDeclaration",
|
|
6924
|
-
"scope":
|
|
6925
|
-
"src": "
|
|
6924
|
+
"scope": 20469,
|
|
6925
|
+
"src": "892:25:67",
|
|
6926
6926
|
"stateVariable": false,
|
|
6927
6927
|
"storageLocation": "default",
|
|
6928
6928
|
"typeDescriptions": {
|
|
@@ -6930,10 +6930,10 @@
|
|
|
6930
6930
|
"typeString": "uint256"
|
|
6931
6931
|
},
|
|
6932
6932
|
"typeName": {
|
|
6933
|
-
"id":
|
|
6933
|
+
"id": 20355,
|
|
6934
6934
|
"name": "uint256",
|
|
6935
6935
|
"nodeType": "ElementaryTypeName",
|
|
6936
|
-
"src": "
|
|
6936
|
+
"src": "892:7:67",
|
|
6937
6937
|
"typeDescriptions": {
|
|
6938
6938
|
"typeIdentifier": "t_uint256",
|
|
6939
6939
|
"typeString": "uint256"
|
|
@@ -6943,13 +6943,13 @@
|
|
|
6943
6943
|
},
|
|
6944
6944
|
{
|
|
6945
6945
|
"constant": false,
|
|
6946
|
-
"id":
|
|
6946
|
+
"id": 20358,
|
|
6947
6947
|
"mutability": "mutable",
|
|
6948
6948
|
"name": "dataStateSlotIDStart",
|
|
6949
|
-
"nameLocation": "
|
|
6949
|
+
"nameLocation": "935:20:67",
|
|
6950
6950
|
"nodeType": "VariableDeclaration",
|
|
6951
|
-
"scope":
|
|
6952
|
-
"src": "
|
|
6951
|
+
"scope": 20469,
|
|
6952
|
+
"src": "927:28:67",
|
|
6953
6953
|
"stateVariable": false,
|
|
6954
6954
|
"storageLocation": "default",
|
|
6955
6955
|
"typeDescriptions": {
|
|
@@ -6957,10 +6957,10 @@
|
|
|
6957
6957
|
"typeString": "uint256"
|
|
6958
6958
|
},
|
|
6959
6959
|
"typeName": {
|
|
6960
|
-
"id":
|
|
6960
|
+
"id": 20357,
|
|
6961
6961
|
"name": "uint256",
|
|
6962
6962
|
"nodeType": "ElementaryTypeName",
|
|
6963
|
-
"src": "
|
|
6963
|
+
"src": "927:7:67",
|
|
6964
6964
|
"typeDescriptions": {
|
|
6965
6965
|
"typeIdentifier": "t_uint256",
|
|
6966
6966
|
"typeString": "uint256"
|
|
@@ -6970,13 +6970,13 @@
|
|
|
6970
6970
|
},
|
|
6971
6971
|
{
|
|
6972
6972
|
"constant": false,
|
|
6973
|
-
"id":
|
|
6973
|
+
"id": 20360,
|
|
6974
6974
|
"mutability": "mutable",
|
|
6975
6975
|
"name": "data",
|
|
6976
|
-
"nameLocation": "
|
|
6976
|
+
"nameLocation": "973:4:67",
|
|
6977
6977
|
"nodeType": "VariableDeclaration",
|
|
6978
|
-
"scope":
|
|
6979
|
-
"src": "
|
|
6978
|
+
"scope": 20469,
|
|
6979
|
+
"src": "965:12:67",
|
|
6980
6980
|
"stateVariable": false,
|
|
6981
6981
|
"storageLocation": "default",
|
|
6982
6982
|
"typeDescriptions": {
|
|
@@ -6984,10 +6984,10 @@
|
|
|
6984
6984
|
"typeString": "bytes32"
|
|
6985
6985
|
},
|
|
6986
6986
|
"typeName": {
|
|
6987
|
-
"id":
|
|
6987
|
+
"id": 20359,
|
|
6988
6988
|
"name": "bytes32",
|
|
6989
6989
|
"nodeType": "ElementaryTypeName",
|
|
6990
|
-
"src": "
|
|
6990
|
+
"src": "965:7:67",
|
|
6991
6991
|
"typeDescriptions": {
|
|
6992
6992
|
"typeIdentifier": "t_bytes32",
|
|
6993
6993
|
"typeString": "bytes32"
|
|
@@ -6996,21 +6996,21 @@
|
|
|
6996
6996
|
"visibility": "internal"
|
|
6997
6997
|
}
|
|
6998
6998
|
],
|
|
6999
|
-
"src": "
|
|
6999
|
+
"src": "825:158:67"
|
|
7000
7000
|
},
|
|
7001
7001
|
"returnParameters": {
|
|
7002
|
-
"id":
|
|
7002
|
+
"id": 20364,
|
|
7003
7003
|
"nodeType": "ParameterList",
|
|
7004
7004
|
"parameters": [
|
|
7005
7005
|
{
|
|
7006
7006
|
"constant": false,
|
|
7007
|
-
"id":
|
|
7007
|
+
"id": 20363,
|
|
7008
7008
|
"mutability": "mutable",
|
|
7009
7009
|
"name": "slotId",
|
|
7010
|
-
"nameLocation": "
|
|
7010
|
+
"nameLocation": "1023:6:67",
|
|
7011
7011
|
"nodeType": "VariableDeclaration",
|
|
7012
|
-
"scope":
|
|
7013
|
-
"src": "
|
|
7012
|
+
"scope": 20469,
|
|
7013
|
+
"src": "1016:13:67",
|
|
7014
7014
|
"stateVariable": false,
|
|
7015
7015
|
"storageLocation": "default",
|
|
7016
7016
|
"typeDescriptions": {
|
|
@@ -7018,10 +7018,10 @@
|
|
|
7018
7018
|
"typeString": "uint32"
|
|
7019
7019
|
},
|
|
7020
7020
|
"typeName": {
|
|
7021
|
-
"id":
|
|
7021
|
+
"id": 20362,
|
|
7022
7022
|
"name": "uint32",
|
|
7023
7023
|
"nodeType": "ElementaryTypeName",
|
|
7024
|
-
"src": "
|
|
7024
|
+
"src": "1016:6:67",
|
|
7025
7025
|
"typeDescriptions": {
|
|
7026
7026
|
"typeIdentifier": "t_uint32",
|
|
7027
7027
|
"typeString": "uint32"
|
|
@@ -7030,34 +7030,34 @@
|
|
|
7030
7030
|
"visibility": "internal"
|
|
7031
7031
|
}
|
|
7032
7032
|
],
|
|
7033
|
-
"src": "
|
|
7033
|
+
"src": "1015:15:67"
|
|
7034
7034
|
},
|
|
7035
|
-
"scope":
|
|
7036
|
-
"src": "
|
|
7035
|
+
"scope": 20648,
|
|
7036
|
+
"src": "796:1224:67",
|
|
7037
7037
|
"stateMutability": "nonpayable",
|
|
7038
7038
|
"virtual": false,
|
|
7039
7039
|
"visibility": "public"
|
|
7040
7040
|
},
|
|
7041
7041
|
{
|
|
7042
7042
|
"body": {
|
|
7043
|
-
"id":
|
|
7043
|
+
"id": 20536,
|
|
7044
7044
|
"nodeType": "Block",
|
|
7045
|
-
"src": "
|
|
7045
|
+
"src": "2185:423:67",
|
|
7046
7046
|
"statements": [
|
|
7047
7047
|
{
|
|
7048
7048
|
"assignments": [
|
|
7049
|
-
|
|
7049
|
+
20482
|
|
7050
7050
|
],
|
|
7051
7051
|
"declarations": [
|
|
7052
7052
|
{
|
|
7053
7053
|
"constant": false,
|
|
7054
|
-
"id":
|
|
7054
|
+
"id": 20482,
|
|
7055
7055
|
"mutability": "mutable",
|
|
7056
7056
|
"name": "subsBitmap",
|
|
7057
|
-
"nameLocation": "
|
|
7057
|
+
"nameLocation": "2203:10:67",
|
|
7058
7058
|
"nodeType": "VariableDeclaration",
|
|
7059
|
-
"scope":
|
|
7060
|
-
"src": "
|
|
7059
|
+
"scope": 20536,
|
|
7060
|
+
"src": "2195:18:67",
|
|
7061
7061
|
"stateVariable": false,
|
|
7062
7062
|
"storageLocation": "default",
|
|
7063
7063
|
"typeDescriptions": {
|
|
@@ -7065,10 +7065,10 @@
|
|
|
7065
7065
|
"typeString": "uint256"
|
|
7066
7066
|
},
|
|
7067
7067
|
"typeName": {
|
|
7068
|
-
"id":
|
|
7068
|
+
"id": 20481,
|
|
7069
7069
|
"name": "uint256",
|
|
7070
7070
|
"nodeType": "ElementaryTypeName",
|
|
7071
|
-
"src": "
|
|
7071
|
+
"src": "2195:7:67",
|
|
7072
7072
|
"typeDescriptions": {
|
|
7073
7073
|
"typeIdentifier": "t_uint256",
|
|
7074
7074
|
"typeString": "uint256"
|
|
@@ -7077,7 +7077,7 @@
|
|
|
7077
7077
|
"visibility": "internal"
|
|
7078
7078
|
}
|
|
7079
7079
|
],
|
|
7080
|
-
"id":
|
|
7080
|
+
"id": 20498,
|
|
7081
7081
|
"initialValue": {
|
|
7082
7082
|
"arguments": [
|
|
7083
7083
|
{
|
|
@@ -7086,14 +7086,14 @@
|
|
|
7086
7086
|
{
|
|
7087
7087
|
"arguments": [
|
|
7088
7088
|
{
|
|
7089
|
-
"id":
|
|
7089
|
+
"id": 20489,
|
|
7090
7090
|
"name": "this",
|
|
7091
7091
|
"nodeType": "Identifier",
|
|
7092
7092
|
"overloadedDeclarations": [],
|
|
7093
7093
|
"referencedDeclaration": 4294967268,
|
|
7094
|
-
"src": "
|
|
7094
|
+
"src": "2273:4:67",
|
|
7095
7095
|
"typeDescriptions": {
|
|
7096
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
7096
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
7097
7097
|
"typeString": "library SlotsBitmapLibrary"
|
|
7098
7098
|
}
|
|
7099
7099
|
}
|
|
@@ -7101,30 +7101,30 @@
|
|
|
7101
7101
|
"expression": {
|
|
7102
7102
|
"argumentTypes": [
|
|
7103
7103
|
{
|
|
7104
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
7104
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
7105
7105
|
"typeString": "library SlotsBitmapLibrary"
|
|
7106
7106
|
}
|
|
7107
7107
|
],
|
|
7108
|
-
"id":
|
|
7108
|
+
"id": 20488,
|
|
7109
7109
|
"isConstant": false,
|
|
7110
7110
|
"isLValue": false,
|
|
7111
7111
|
"isPure": true,
|
|
7112
7112
|
"lValueRequested": false,
|
|
7113
7113
|
"nodeType": "ElementaryTypeNameExpression",
|
|
7114
|
-
"src": "
|
|
7114
|
+
"src": "2265:7:67",
|
|
7115
7115
|
"typeDescriptions": {
|
|
7116
7116
|
"typeIdentifier": "t_type$_t_address_$",
|
|
7117
7117
|
"typeString": "type(address)"
|
|
7118
7118
|
},
|
|
7119
7119
|
"typeName": {
|
|
7120
|
-
"id":
|
|
7120
|
+
"id": 20487,
|
|
7121
7121
|
"name": "address",
|
|
7122
7122
|
"nodeType": "ElementaryTypeName",
|
|
7123
|
-
"src": "
|
|
7123
|
+
"src": "2265:7:67",
|
|
7124
7124
|
"typeDescriptions": {}
|
|
7125
7125
|
}
|
|
7126
7126
|
},
|
|
7127
|
-
"id":
|
|
7127
|
+
"id": 20490,
|
|
7128
7128
|
"isConstant": false,
|
|
7129
7129
|
"isLValue": false,
|
|
7130
7130
|
"isPure": false,
|
|
@@ -7132,7 +7132,7 @@
|
|
|
7132
7132
|
"lValueRequested": false,
|
|
7133
7133
|
"names": [],
|
|
7134
7134
|
"nodeType": "FunctionCall",
|
|
7135
|
-
"src": "
|
|
7135
|
+
"src": "2265:13:67",
|
|
7136
7136
|
"tryCall": false,
|
|
7137
7137
|
"typeDescriptions": {
|
|
7138
7138
|
"typeIdentifier": "t_address",
|
|
@@ -7140,24 +7140,24 @@
|
|
|
7140
7140
|
}
|
|
7141
7141
|
},
|
|
7142
7142
|
{
|
|
7143
|
-
"id":
|
|
7143
|
+
"id": 20491,
|
|
7144
7144
|
"name": "account",
|
|
7145
7145
|
"nodeType": "Identifier",
|
|
7146
7146
|
"overloadedDeclarations": [],
|
|
7147
|
-
"referencedDeclaration":
|
|
7148
|
-
"src": "
|
|
7147
|
+
"referencedDeclaration": 20474,
|
|
7148
|
+
"src": "2292:7:67",
|
|
7149
7149
|
"typeDescriptions": {
|
|
7150
7150
|
"typeIdentifier": "t_address",
|
|
7151
7151
|
"typeString": "address"
|
|
7152
7152
|
}
|
|
7153
7153
|
},
|
|
7154
7154
|
{
|
|
7155
|
-
"id":
|
|
7155
|
+
"id": 20492,
|
|
7156
7156
|
"name": "bitmapStateSlotId",
|
|
7157
7157
|
"nodeType": "Identifier",
|
|
7158
7158
|
"overloadedDeclarations": [],
|
|
7159
|
-
"referencedDeclaration":
|
|
7160
|
-
"src": "
|
|
7159
|
+
"referencedDeclaration": 20476,
|
|
7160
|
+
"src": "2313:17:67",
|
|
7161
7161
|
"typeDescriptions": {
|
|
7162
7162
|
"typeIdentifier": "t_uint256",
|
|
7163
7163
|
"typeString": "uint256"
|
|
@@ -7165,14 +7165,14 @@
|
|
|
7165
7165
|
},
|
|
7166
7166
|
{
|
|
7167
7167
|
"hexValue": "31",
|
|
7168
|
-
"id":
|
|
7168
|
+
"id": 20493,
|
|
7169
7169
|
"isConstant": false,
|
|
7170
7170
|
"isLValue": false,
|
|
7171
7171
|
"isPure": true,
|
|
7172
7172
|
"kind": "number",
|
|
7173
7173
|
"lValueRequested": false,
|
|
7174
7174
|
"nodeType": "Literal",
|
|
7175
|
-
"src": "
|
|
7175
|
+
"src": "2332:1:67",
|
|
7176
7176
|
"typeDescriptions": {
|
|
7177
7177
|
"typeIdentifier": "t_rational_1_by_1",
|
|
7178
7178
|
"typeString": "int_const 1"
|
|
@@ -7200,32 +7200,32 @@
|
|
|
7200
7200
|
}
|
|
7201
7201
|
],
|
|
7202
7202
|
"expression": {
|
|
7203
|
-
"id":
|
|
7203
|
+
"id": 20485,
|
|
7204
7204
|
"name": "token",
|
|
7205
7205
|
"nodeType": "Identifier",
|
|
7206
7206
|
"overloadedDeclarations": [],
|
|
7207
|
-
"referencedDeclaration":
|
|
7208
|
-
"src": "
|
|
7207
|
+
"referencedDeclaration": 20472,
|
|
7208
|
+
"src": "2224:5:67",
|
|
7209
7209
|
"typeDescriptions": {
|
|
7210
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
7210
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
7211
7211
|
"typeString": "contract ISuperfluidToken"
|
|
7212
7212
|
}
|
|
7213
7213
|
},
|
|
7214
|
-
"id":
|
|
7214
|
+
"id": 20486,
|
|
7215
7215
|
"isConstant": false,
|
|
7216
7216
|
"isLValue": false,
|
|
7217
7217
|
"isPure": false,
|
|
7218
7218
|
"lValueRequested": false,
|
|
7219
7219
|
"memberName": "getAgreementStateSlot",
|
|
7220
7220
|
"nodeType": "MemberAccess",
|
|
7221
|
-
"referencedDeclaration":
|
|
7222
|
-
"src": "
|
|
7221
|
+
"referencedDeclaration": 19316,
|
|
7222
|
+
"src": "2224:27:67",
|
|
7223
7223
|
"typeDescriptions": {
|
|
7224
7224
|
"typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
7225
7225
|
"typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
|
|
7226
7226
|
}
|
|
7227
7227
|
},
|
|
7228
|
-
"id":
|
|
7228
|
+
"id": 20494,
|
|
7229
7229
|
"isConstant": false,
|
|
7230
7230
|
"isLValue": false,
|
|
7231
7231
|
"isPure": false,
|
|
@@ -7233,24 +7233,24 @@
|
|
|
7233
7233
|
"lValueRequested": false,
|
|
7234
7234
|
"names": [],
|
|
7235
7235
|
"nodeType": "FunctionCall",
|
|
7236
|
-
"src": "
|
|
7236
|
+
"src": "2224:110:67",
|
|
7237
7237
|
"tryCall": false,
|
|
7238
7238
|
"typeDescriptions": {
|
|
7239
7239
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
7240
7240
|
"typeString": "bytes32[] memory"
|
|
7241
7241
|
}
|
|
7242
7242
|
},
|
|
7243
|
-
"id":
|
|
7243
|
+
"id": 20496,
|
|
7244
7244
|
"indexExpression": {
|
|
7245
7245
|
"hexValue": "30",
|
|
7246
|
-
"id":
|
|
7246
|
+
"id": 20495,
|
|
7247
7247
|
"isConstant": false,
|
|
7248
7248
|
"isLValue": false,
|
|
7249
7249
|
"isPure": true,
|
|
7250
7250
|
"kind": "number",
|
|
7251
7251
|
"lValueRequested": false,
|
|
7252
7252
|
"nodeType": "Literal",
|
|
7253
|
-
"src": "
|
|
7253
|
+
"src": "2335:1:67",
|
|
7254
7254
|
"typeDescriptions": {
|
|
7255
7255
|
"typeIdentifier": "t_rational_0_by_1",
|
|
7256
7256
|
"typeString": "int_const 0"
|
|
@@ -7262,7 +7262,7 @@
|
|
|
7262
7262
|
"isPure": false,
|
|
7263
7263
|
"lValueRequested": false,
|
|
7264
7264
|
"nodeType": "IndexAccess",
|
|
7265
|
-
"src": "
|
|
7265
|
+
"src": "2224:113:67",
|
|
7266
7266
|
"typeDescriptions": {
|
|
7267
7267
|
"typeIdentifier": "t_bytes32",
|
|
7268
7268
|
"typeString": "bytes32"
|
|
@@ -7276,26 +7276,26 @@
|
|
|
7276
7276
|
"typeString": "bytes32"
|
|
7277
7277
|
}
|
|
7278
7278
|
],
|
|
7279
|
-
"id":
|
|
7279
|
+
"id": 20484,
|
|
7280
7280
|
"isConstant": false,
|
|
7281
7281
|
"isLValue": false,
|
|
7282
7282
|
"isPure": true,
|
|
7283
7283
|
"lValueRequested": false,
|
|
7284
7284
|
"nodeType": "ElementaryTypeNameExpression",
|
|
7285
|
-
"src": "
|
|
7285
|
+
"src": "2216:7:67",
|
|
7286
7286
|
"typeDescriptions": {
|
|
7287
7287
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
7288
7288
|
"typeString": "type(uint256)"
|
|
7289
7289
|
},
|
|
7290
7290
|
"typeName": {
|
|
7291
|
-
"id":
|
|
7291
|
+
"id": 20483,
|
|
7292
7292
|
"name": "uint256",
|
|
7293
7293
|
"nodeType": "ElementaryTypeName",
|
|
7294
|
-
"src": "
|
|
7294
|
+
"src": "2216:7:67",
|
|
7295
7295
|
"typeDescriptions": {}
|
|
7296
7296
|
}
|
|
7297
7297
|
},
|
|
7298
|
-
"id":
|
|
7298
|
+
"id": 20497,
|
|
7299
7299
|
"isConstant": false,
|
|
7300
7300
|
"isLValue": false,
|
|
7301
7301
|
"isPure": false,
|
|
@@ -7303,7 +7303,7 @@
|
|
|
7303
7303
|
"lValueRequested": false,
|
|
7304
7304
|
"names": [],
|
|
7305
7305
|
"nodeType": "FunctionCall",
|
|
7306
|
-
"src": "
|
|
7306
|
+
"src": "2216:122:67",
|
|
7307
7307
|
"tryCall": false,
|
|
7308
7308
|
"typeDescriptions": {
|
|
7309
7309
|
"typeIdentifier": "t_uint256",
|
|
@@ -7311,22 +7311,22 @@
|
|
|
7311
7311
|
}
|
|
7312
7312
|
},
|
|
7313
7313
|
"nodeType": "VariableDeclarationStatement",
|
|
7314
|
-
"src": "
|
|
7314
|
+
"src": "2195:143:67"
|
|
7315
7315
|
},
|
|
7316
7316
|
{
|
|
7317
7317
|
"assignments": [
|
|
7318
|
-
|
|
7318
|
+
20503
|
|
7319
7319
|
],
|
|
7320
7320
|
"declarations": [
|
|
7321
7321
|
{
|
|
7322
7322
|
"constant": false,
|
|
7323
|
-
"id":
|
|
7323
|
+
"id": 20503,
|
|
7324
7324
|
"mutability": "mutable",
|
|
7325
7325
|
"name": "slotData",
|
|
7326
|
-
"nameLocation": "
|
|
7326
|
+
"nameLocation": "2365:8:67",
|
|
7327
7327
|
"nodeType": "VariableDeclaration",
|
|
7328
|
-
"scope":
|
|
7329
|
-
"src": "
|
|
7328
|
+
"scope": 20536,
|
|
7329
|
+
"src": "2348:25:67",
|
|
7330
7330
|
"stateVariable": false,
|
|
7331
7331
|
"storageLocation": "memory",
|
|
7332
7332
|
"typeDescriptions": {
|
|
@@ -7335,18 +7335,18 @@
|
|
|
7335
7335
|
},
|
|
7336
7336
|
"typeName": {
|
|
7337
7337
|
"baseType": {
|
|
7338
|
-
"id":
|
|
7338
|
+
"id": 20501,
|
|
7339
7339
|
"name": "bytes32",
|
|
7340
7340
|
"nodeType": "ElementaryTypeName",
|
|
7341
|
-
"src": "
|
|
7341
|
+
"src": "2348:7:67",
|
|
7342
7342
|
"typeDescriptions": {
|
|
7343
7343
|
"typeIdentifier": "t_bytes32",
|
|
7344
7344
|
"typeString": "bytes32"
|
|
7345
7345
|
}
|
|
7346
7346
|
},
|
|
7347
|
-
"id":
|
|
7347
|
+
"id": 20502,
|
|
7348
7348
|
"nodeType": "ArrayTypeName",
|
|
7349
|
-
"src": "
|
|
7349
|
+
"src": "2348:9:67",
|
|
7350
7350
|
"typeDescriptions": {
|
|
7351
7351
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
7352
7352
|
"typeString": "bytes32[]"
|
|
@@ -7355,19 +7355,19 @@
|
|
|
7355
7355
|
"visibility": "internal"
|
|
7356
7356
|
}
|
|
7357
7357
|
],
|
|
7358
|
-
"id":
|
|
7358
|
+
"id": 20509,
|
|
7359
7359
|
"initialValue": {
|
|
7360
7360
|
"arguments": [
|
|
7361
7361
|
{
|
|
7362
7362
|
"hexValue": "31",
|
|
7363
|
-
"id":
|
|
7363
|
+
"id": 20507,
|
|
7364
7364
|
"isConstant": false,
|
|
7365
7365
|
"isLValue": false,
|
|
7366
7366
|
"isPure": true,
|
|
7367
7367
|
"kind": "number",
|
|
7368
7368
|
"lValueRequested": false,
|
|
7369
7369
|
"nodeType": "Literal",
|
|
7370
|
-
"src": "
|
|
7370
|
+
"src": "2390:1:67",
|
|
7371
7371
|
"typeDescriptions": {
|
|
7372
7372
|
"typeIdentifier": "t_rational_1_by_1",
|
|
7373
7373
|
"typeString": "int_const 1"
|
|
@@ -7382,38 +7382,38 @@
|
|
|
7382
7382
|
"typeString": "int_const 1"
|
|
7383
7383
|
}
|
|
7384
7384
|
],
|
|
7385
|
-
"id":
|
|
7385
|
+
"id": 20506,
|
|
7386
7386
|
"isConstant": false,
|
|
7387
7387
|
"isLValue": false,
|
|
7388
7388
|
"isPure": true,
|
|
7389
7389
|
"lValueRequested": false,
|
|
7390
7390
|
"nodeType": "NewExpression",
|
|
7391
|
-
"src": "
|
|
7391
|
+
"src": "2376:13:67",
|
|
7392
7392
|
"typeDescriptions": {
|
|
7393
7393
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
7394
7394
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
|
7395
7395
|
},
|
|
7396
7396
|
"typeName": {
|
|
7397
7397
|
"baseType": {
|
|
7398
|
-
"id":
|
|
7398
|
+
"id": 20504,
|
|
7399
7399
|
"name": "bytes32",
|
|
7400
7400
|
"nodeType": "ElementaryTypeName",
|
|
7401
|
-
"src": "
|
|
7401
|
+
"src": "2380:7:67",
|
|
7402
7402
|
"typeDescriptions": {
|
|
7403
7403
|
"typeIdentifier": "t_bytes32",
|
|
7404
7404
|
"typeString": "bytes32"
|
|
7405
7405
|
}
|
|
7406
7406
|
},
|
|
7407
|
-
"id":
|
|
7407
|
+
"id": 20505,
|
|
7408
7408
|
"nodeType": "ArrayTypeName",
|
|
7409
|
-
"src": "
|
|
7409
|
+
"src": "2380:9:67",
|
|
7410
7410
|
"typeDescriptions": {
|
|
7411
7411
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
7412
7412
|
"typeString": "bytes32[]"
|
|
7413
7413
|
}
|
|
7414
7414
|
}
|
|
7415
7415
|
},
|
|
7416
|
-
"id":
|
|
7416
|
+
"id": 20508,
|
|
7417
7417
|
"isConstant": false,
|
|
7418
7418
|
"isLValue": false,
|
|
7419
7419
|
"isPure": true,
|
|
@@ -7421,7 +7421,7 @@
|
|
|
7421
7421
|
"lValueRequested": false,
|
|
7422
7422
|
"names": [],
|
|
7423
7423
|
"nodeType": "FunctionCall",
|
|
7424
|
-
"src": "
|
|
7424
|
+
"src": "2376:16:67",
|
|
7425
7425
|
"tryCall": false,
|
|
7426
7426
|
"typeDescriptions": {
|
|
7427
7427
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
@@ -7429,39 +7429,39 @@
|
|
|
7429
7429
|
}
|
|
7430
7430
|
},
|
|
7431
7431
|
"nodeType": "VariableDeclarationStatement",
|
|
7432
|
-
"src": "
|
|
7432
|
+
"src": "2348:44:67"
|
|
7433
7433
|
},
|
|
7434
7434
|
{
|
|
7435
7435
|
"expression": {
|
|
7436
|
-
"id":
|
|
7436
|
+
"id": 20526,
|
|
7437
7437
|
"isConstant": false,
|
|
7438
7438
|
"isLValue": false,
|
|
7439
7439
|
"isPure": false,
|
|
7440
7440
|
"lValueRequested": false,
|
|
7441
7441
|
"leftHandSide": {
|
|
7442
7442
|
"baseExpression": {
|
|
7443
|
-
"id":
|
|
7443
|
+
"id": 20510,
|
|
7444
7444
|
"name": "slotData",
|
|
7445
7445
|
"nodeType": "Identifier",
|
|
7446
7446
|
"overloadedDeclarations": [],
|
|
7447
|
-
"referencedDeclaration":
|
|
7448
|
-
"src": "
|
|
7447
|
+
"referencedDeclaration": 20503,
|
|
7448
|
+
"src": "2402:8:67",
|
|
7449
7449
|
"typeDescriptions": {
|
|
7450
7450
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
7451
7451
|
"typeString": "bytes32[] memory"
|
|
7452
7452
|
}
|
|
7453
7453
|
},
|
|
7454
|
-
"id":
|
|
7454
|
+
"id": 20512,
|
|
7455
7455
|
"indexExpression": {
|
|
7456
7456
|
"hexValue": "30",
|
|
7457
|
-
"id":
|
|
7457
|
+
"id": 20511,
|
|
7458
7458
|
"isConstant": false,
|
|
7459
7459
|
"isLValue": false,
|
|
7460
7460
|
"isPure": true,
|
|
7461
7461
|
"kind": "number",
|
|
7462
7462
|
"lValueRequested": false,
|
|
7463
7463
|
"nodeType": "Literal",
|
|
7464
|
-
"src": "
|
|
7464
|
+
"src": "2411:1:67",
|
|
7465
7465
|
"typeDescriptions": {
|
|
7466
7466
|
"typeIdentifier": "t_rational_0_by_1",
|
|
7467
7467
|
"typeString": "int_const 0"
|
|
@@ -7473,7 +7473,7 @@
|
|
|
7473
7473
|
"isPure": false,
|
|
7474
7474
|
"lValueRequested": true,
|
|
7475
7475
|
"nodeType": "IndexAccess",
|
|
7476
|
-
"src": "
|
|
7476
|
+
"src": "2402:11:67",
|
|
7477
7477
|
"typeDescriptions": {
|
|
7478
7478
|
"typeIdentifier": "t_bytes32",
|
|
7479
7479
|
"typeString": "bytes32"
|
|
@@ -7488,18 +7488,18 @@
|
|
|
7488
7488
|
"typeIdentifier": "t_uint256",
|
|
7489
7489
|
"typeString": "uint256"
|
|
7490
7490
|
},
|
|
7491
|
-
"id":
|
|
7491
|
+
"id": 20524,
|
|
7492
7492
|
"isConstant": false,
|
|
7493
7493
|
"isLValue": false,
|
|
7494
7494
|
"isPure": false,
|
|
7495
7495
|
"lValueRequested": false,
|
|
7496
7496
|
"leftExpression": {
|
|
7497
|
-
"id":
|
|
7497
|
+
"id": 20515,
|
|
7498
7498
|
"name": "subsBitmap",
|
|
7499
7499
|
"nodeType": "Identifier",
|
|
7500
7500
|
"overloadedDeclarations": [],
|
|
7501
|
-
"referencedDeclaration":
|
|
7502
|
-
"src": "
|
|
7501
|
+
"referencedDeclaration": 20482,
|
|
7502
|
+
"src": "2424:10:67",
|
|
7503
7503
|
"typeDescriptions": {
|
|
7504
7504
|
"typeIdentifier": "t_uint256",
|
|
7505
7505
|
"typeString": "uint256"
|
|
@@ -7508,7 +7508,7 @@
|
|
|
7508
7508
|
"nodeType": "BinaryOperation",
|
|
7509
7509
|
"operator": "&",
|
|
7510
7510
|
"rightExpression": {
|
|
7511
|
-
"id":
|
|
7511
|
+
"id": 20523,
|
|
7512
7512
|
"isConstant": false,
|
|
7513
7513
|
"isLValue": false,
|
|
7514
7514
|
"isPure": false,
|
|
@@ -7516,7 +7516,7 @@
|
|
|
7516
7516
|
"nodeType": "UnaryOperation",
|
|
7517
7517
|
"operator": "~",
|
|
7518
7518
|
"prefix": true,
|
|
7519
|
-
"src": "
|
|
7519
|
+
"src": "2437:23:67",
|
|
7520
7520
|
"subExpression": {
|
|
7521
7521
|
"components": [
|
|
7522
7522
|
{
|
|
@@ -7524,21 +7524,21 @@
|
|
|
7524
7524
|
"typeIdentifier": "t_uint256",
|
|
7525
7525
|
"typeString": "uint256"
|
|
7526
7526
|
},
|
|
7527
|
-
"id":
|
|
7527
|
+
"id": 20521,
|
|
7528
7528
|
"isConstant": false,
|
|
7529
7529
|
"isLValue": false,
|
|
7530
7530
|
"isPure": false,
|
|
7531
7531
|
"lValueRequested": false,
|
|
7532
7532
|
"leftExpression": {
|
|
7533
7533
|
"hexValue": "31",
|
|
7534
|
-
"id":
|
|
7534
|
+
"id": 20516,
|
|
7535
7535
|
"isConstant": false,
|
|
7536
7536
|
"isLValue": false,
|
|
7537
7537
|
"isPure": true,
|
|
7538
7538
|
"kind": "number",
|
|
7539
7539
|
"lValueRequested": false,
|
|
7540
7540
|
"nodeType": "Literal",
|
|
7541
|
-
"src": "
|
|
7541
|
+
"src": "2439:1:67",
|
|
7542
7542
|
"typeDescriptions": {
|
|
7543
7543
|
"typeIdentifier": "t_rational_1_by_1",
|
|
7544
7544
|
"typeString": "int_const 1"
|
|
@@ -7550,12 +7550,12 @@
|
|
|
7550
7550
|
"rightExpression": {
|
|
7551
7551
|
"arguments": [
|
|
7552
7552
|
{
|
|
7553
|
-
"id":
|
|
7553
|
+
"id": 20519,
|
|
7554
7554
|
"name": "slotId",
|
|
7555
7555
|
"nodeType": "Identifier",
|
|
7556
7556
|
"overloadedDeclarations": [],
|
|
7557
|
-
"referencedDeclaration":
|
|
7558
|
-
"src": "
|
|
7557
|
+
"referencedDeclaration": 20478,
|
|
7558
|
+
"src": "2452:6:67",
|
|
7559
7559
|
"typeDescriptions": {
|
|
7560
7560
|
"typeIdentifier": "t_uint32",
|
|
7561
7561
|
"typeString": "uint32"
|
|
@@ -7569,26 +7569,26 @@
|
|
|
7569
7569
|
"typeString": "uint32"
|
|
7570
7570
|
}
|
|
7571
7571
|
],
|
|
7572
|
-
"id":
|
|
7572
|
+
"id": 20518,
|
|
7573
7573
|
"isConstant": false,
|
|
7574
7574
|
"isLValue": false,
|
|
7575
7575
|
"isPure": true,
|
|
7576
7576
|
"lValueRequested": false,
|
|
7577
7577
|
"nodeType": "ElementaryTypeNameExpression",
|
|
7578
|
-
"src": "
|
|
7578
|
+
"src": "2444:7:67",
|
|
7579
7579
|
"typeDescriptions": {
|
|
7580
7580
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
7581
7581
|
"typeString": "type(uint256)"
|
|
7582
7582
|
},
|
|
7583
7583
|
"typeName": {
|
|
7584
|
-
"id":
|
|
7584
|
+
"id": 20517,
|
|
7585
7585
|
"name": "uint256",
|
|
7586
7586
|
"nodeType": "ElementaryTypeName",
|
|
7587
|
-
"src": "
|
|
7587
|
+
"src": "2444:7:67",
|
|
7588
7588
|
"typeDescriptions": {}
|
|
7589
7589
|
}
|
|
7590
7590
|
},
|
|
7591
|
-
"id":
|
|
7591
|
+
"id": 20520,
|
|
7592
7592
|
"isConstant": false,
|
|
7593
7593
|
"isLValue": false,
|
|
7594
7594
|
"isPure": false,
|
|
@@ -7596,28 +7596,28 @@
|
|
|
7596
7596
|
"lValueRequested": false,
|
|
7597
7597
|
"names": [],
|
|
7598
7598
|
"nodeType": "FunctionCall",
|
|
7599
|
-
"src": "
|
|
7599
|
+
"src": "2444:15:67",
|
|
7600
7600
|
"tryCall": false,
|
|
7601
7601
|
"typeDescriptions": {
|
|
7602
7602
|
"typeIdentifier": "t_uint256",
|
|
7603
7603
|
"typeString": "uint256"
|
|
7604
7604
|
}
|
|
7605
7605
|
},
|
|
7606
|
-
"src": "
|
|
7606
|
+
"src": "2439:20:67",
|
|
7607
7607
|
"typeDescriptions": {
|
|
7608
7608
|
"typeIdentifier": "t_uint256",
|
|
7609
7609
|
"typeString": "uint256"
|
|
7610
7610
|
}
|
|
7611
7611
|
}
|
|
7612
7612
|
],
|
|
7613
|
-
"id":
|
|
7613
|
+
"id": 20522,
|
|
7614
7614
|
"isConstant": false,
|
|
7615
7615
|
"isInlineArray": false,
|
|
7616
7616
|
"isLValue": false,
|
|
7617
7617
|
"isPure": false,
|
|
7618
7618
|
"lValueRequested": false,
|
|
7619
7619
|
"nodeType": "TupleExpression",
|
|
7620
|
-
"src": "
|
|
7620
|
+
"src": "2438:22:67",
|
|
7621
7621
|
"typeDescriptions": {
|
|
7622
7622
|
"typeIdentifier": "t_uint256",
|
|
7623
7623
|
"typeString": "uint256"
|
|
@@ -7628,7 +7628,7 @@
|
|
|
7628
7628
|
"typeString": "uint256"
|
|
7629
7629
|
}
|
|
7630
7630
|
},
|
|
7631
|
-
"src": "
|
|
7631
|
+
"src": "2424:36:67",
|
|
7632
7632
|
"typeDescriptions": {
|
|
7633
7633
|
"typeIdentifier": "t_uint256",
|
|
7634
7634
|
"typeString": "uint256"
|
|
@@ -7642,26 +7642,26 @@
|
|
|
7642
7642
|
"typeString": "uint256"
|
|
7643
7643
|
}
|
|
7644
7644
|
],
|
|
7645
|
-
"id":
|
|
7645
|
+
"id": 20514,
|
|
7646
7646
|
"isConstant": false,
|
|
7647
7647
|
"isLValue": false,
|
|
7648
7648
|
"isPure": true,
|
|
7649
7649
|
"lValueRequested": false,
|
|
7650
7650
|
"nodeType": "ElementaryTypeNameExpression",
|
|
7651
|
-
"src": "
|
|
7651
|
+
"src": "2416:7:67",
|
|
7652
7652
|
"typeDescriptions": {
|
|
7653
7653
|
"typeIdentifier": "t_type$_t_bytes32_$",
|
|
7654
7654
|
"typeString": "type(bytes32)"
|
|
7655
7655
|
},
|
|
7656
7656
|
"typeName": {
|
|
7657
|
-
"id":
|
|
7657
|
+
"id": 20513,
|
|
7658
7658
|
"name": "bytes32",
|
|
7659
7659
|
"nodeType": "ElementaryTypeName",
|
|
7660
|
-
"src": "
|
|
7660
|
+
"src": "2416:7:67",
|
|
7661
7661
|
"typeDescriptions": {}
|
|
7662
7662
|
}
|
|
7663
7663
|
},
|
|
7664
|
-
"id":
|
|
7664
|
+
"id": 20525,
|
|
7665
7665
|
"isConstant": false,
|
|
7666
7666
|
"isLValue": false,
|
|
7667
7667
|
"isPure": false,
|
|
@@ -7669,57 +7669,57 @@
|
|
|
7669
7669
|
"lValueRequested": false,
|
|
7670
7670
|
"names": [],
|
|
7671
7671
|
"nodeType": "FunctionCall",
|
|
7672
|
-
"src": "
|
|
7672
|
+
"src": "2416:45:67",
|
|
7673
7673
|
"tryCall": false,
|
|
7674
7674
|
"typeDescriptions": {
|
|
7675
7675
|
"typeIdentifier": "t_bytes32",
|
|
7676
7676
|
"typeString": "bytes32"
|
|
7677
7677
|
}
|
|
7678
7678
|
},
|
|
7679
|
-
"src": "
|
|
7679
|
+
"src": "2402:59:67",
|
|
7680
7680
|
"typeDescriptions": {
|
|
7681
7681
|
"typeIdentifier": "t_bytes32",
|
|
7682
7682
|
"typeString": "bytes32"
|
|
7683
7683
|
}
|
|
7684
7684
|
},
|
|
7685
|
-
"id":
|
|
7685
|
+
"id": 20527,
|
|
7686
7686
|
"nodeType": "ExpressionStatement",
|
|
7687
|
-
"src": "
|
|
7687
|
+
"src": "2402:59:67"
|
|
7688
7688
|
},
|
|
7689
7689
|
{
|
|
7690
7690
|
"expression": {
|
|
7691
7691
|
"arguments": [
|
|
7692
7692
|
{
|
|
7693
|
-
"id":
|
|
7693
|
+
"id": 20531,
|
|
7694
7694
|
"name": "account",
|
|
7695
7695
|
"nodeType": "Identifier",
|
|
7696
7696
|
"overloadedDeclarations": [],
|
|
7697
|
-
"referencedDeclaration":
|
|
7698
|
-
"src": "
|
|
7697
|
+
"referencedDeclaration": 20474,
|
|
7698
|
+
"src": "2540:7:67",
|
|
7699
7699
|
"typeDescriptions": {
|
|
7700
7700
|
"typeIdentifier": "t_address",
|
|
7701
7701
|
"typeString": "address"
|
|
7702
7702
|
}
|
|
7703
7703
|
},
|
|
7704
7704
|
{
|
|
7705
|
-
"id":
|
|
7705
|
+
"id": 20532,
|
|
7706
7706
|
"name": "bitmapStateSlotId",
|
|
7707
7707
|
"nodeType": "Identifier",
|
|
7708
7708
|
"overloadedDeclarations": [],
|
|
7709
|
-
"referencedDeclaration":
|
|
7710
|
-
"src": "
|
|
7709
|
+
"referencedDeclaration": 20476,
|
|
7710
|
+
"src": "2561:17:67",
|
|
7711
7711
|
"typeDescriptions": {
|
|
7712
7712
|
"typeIdentifier": "t_uint256",
|
|
7713
7713
|
"typeString": "uint256"
|
|
7714
7714
|
}
|
|
7715
7715
|
},
|
|
7716
7716
|
{
|
|
7717
|
-
"id":
|
|
7717
|
+
"id": 20533,
|
|
7718
7718
|
"name": "slotData",
|
|
7719
7719
|
"nodeType": "Identifier",
|
|
7720
7720
|
"overloadedDeclarations": [],
|
|
7721
|
-
"referencedDeclaration":
|
|
7722
|
-
"src": "
|
|
7721
|
+
"referencedDeclaration": 20503,
|
|
7722
|
+
"src": "2592:8:67",
|
|
7723
7723
|
"typeDescriptions": {
|
|
7724
7724
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
7725
7725
|
"typeString": "bytes32[] memory"
|
|
@@ -7742,32 +7742,32 @@
|
|
|
7742
7742
|
}
|
|
7743
7743
|
],
|
|
7744
7744
|
"expression": {
|
|
7745
|
-
"id":
|
|
7745
|
+
"id": 20528,
|
|
7746
7746
|
"name": "token",
|
|
7747
7747
|
"nodeType": "Identifier",
|
|
7748
7748
|
"overloadedDeclarations": [],
|
|
7749
|
-
"referencedDeclaration":
|
|
7750
|
-
"src": "
|
|
7749
|
+
"referencedDeclaration": 20472,
|
|
7750
|
+
"src": "2496:5:67",
|
|
7751
7751
|
"typeDescriptions": {
|
|
7752
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
7752
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
7753
7753
|
"typeString": "contract ISuperfluidToken"
|
|
7754
7754
|
}
|
|
7755
7755
|
},
|
|
7756
|
-
"id":
|
|
7756
|
+
"id": 20530,
|
|
7757
7757
|
"isConstant": false,
|
|
7758
7758
|
"isLValue": false,
|
|
7759
7759
|
"isPure": false,
|
|
7760
7760
|
"lValueRequested": false,
|
|
7761
7761
|
"memberName": "updateAgreementStateSlot",
|
|
7762
7762
|
"nodeType": "MemberAccess",
|
|
7763
|
-
"referencedDeclaration":
|
|
7764
|
-
"src": "
|
|
7763
|
+
"referencedDeclaration": 19292,
|
|
7764
|
+
"src": "2496:30:67",
|
|
7765
7765
|
"typeDescriptions": {
|
|
7766
7766
|
"typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_uint256_$_t_array$_t_bytes32_$dyn_memory_ptr_$returns$__$",
|
|
7767
7767
|
"typeString": "function (address,uint256,bytes32[] memory) external"
|
|
7768
7768
|
}
|
|
7769
7769
|
},
|
|
7770
|
-
"id":
|
|
7770
|
+
"id": 20534,
|
|
7771
7771
|
"isConstant": false,
|
|
7772
7772
|
"isLValue": false,
|
|
7773
7773
|
"isPure": false,
|
|
@@ -7775,60 +7775,60 @@
|
|
|
7775
7775
|
"lValueRequested": false,
|
|
7776
7776
|
"names": [],
|
|
7777
7777
|
"nodeType": "FunctionCall",
|
|
7778
|
-
"src": "
|
|
7778
|
+
"src": "2496:105:67",
|
|
7779
7779
|
"tryCall": false,
|
|
7780
7780
|
"typeDescriptions": {
|
|
7781
7781
|
"typeIdentifier": "t_tuple$__$",
|
|
7782
7782
|
"typeString": "tuple()"
|
|
7783
7783
|
}
|
|
7784
7784
|
},
|
|
7785
|
-
"id":
|
|
7785
|
+
"id": 20535,
|
|
7786
7786
|
"nodeType": "ExpressionStatement",
|
|
7787
|
-
"src": "
|
|
7787
|
+
"src": "2496:105:67"
|
|
7788
7788
|
}
|
|
7789
7789
|
]
|
|
7790
7790
|
},
|
|
7791
7791
|
"functionSelector": "a9472bf8",
|
|
7792
|
-
"id":
|
|
7792
|
+
"id": 20537,
|
|
7793
7793
|
"implemented": true,
|
|
7794
7794
|
"kind": "function",
|
|
7795
7795
|
"modifiers": [],
|
|
7796
7796
|
"name": "clearSlot",
|
|
7797
|
-
"nameLocation": "
|
|
7797
|
+
"nameLocation": "2035:9:67",
|
|
7798
7798
|
"nodeType": "FunctionDefinition",
|
|
7799
7799
|
"parameters": {
|
|
7800
|
-
"id":
|
|
7800
|
+
"id": 20479,
|
|
7801
7801
|
"nodeType": "ParameterList",
|
|
7802
7802
|
"parameters": [
|
|
7803
7803
|
{
|
|
7804
7804
|
"constant": false,
|
|
7805
|
-
"id":
|
|
7805
|
+
"id": 20472,
|
|
7806
7806
|
"mutability": "mutable",
|
|
7807
7807
|
"name": "token",
|
|
7808
|
-
"nameLocation": "
|
|
7808
|
+
"nameLocation": "2071:5:67",
|
|
7809
7809
|
"nodeType": "VariableDeclaration",
|
|
7810
|
-
"scope":
|
|
7811
|
-
"src": "
|
|
7810
|
+
"scope": 20537,
|
|
7811
|
+
"src": "2054:22:67",
|
|
7812
7812
|
"stateVariable": false,
|
|
7813
7813
|
"storageLocation": "default",
|
|
7814
7814
|
"typeDescriptions": {
|
|
7815
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
7815
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
7816
7816
|
"typeString": "contract ISuperfluidToken"
|
|
7817
7817
|
},
|
|
7818
7818
|
"typeName": {
|
|
7819
|
-
"id":
|
|
7819
|
+
"id": 20471,
|
|
7820
7820
|
"nodeType": "UserDefinedTypeName",
|
|
7821
7821
|
"pathNode": {
|
|
7822
|
-
"id":
|
|
7822
|
+
"id": 20470,
|
|
7823
7823
|
"name": "ISuperfluidToken",
|
|
7824
7824
|
"nodeType": "IdentifierPath",
|
|
7825
|
-
"referencedDeclaration":
|
|
7826
|
-
"src": "
|
|
7825
|
+
"referencedDeclaration": 19399,
|
|
7826
|
+
"src": "2054:16:67"
|
|
7827
7827
|
},
|
|
7828
|
-
"referencedDeclaration":
|
|
7829
|
-
"src": "
|
|
7828
|
+
"referencedDeclaration": 19399,
|
|
7829
|
+
"src": "2054:16:67",
|
|
7830
7830
|
"typeDescriptions": {
|
|
7831
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
7831
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
7832
7832
|
"typeString": "contract ISuperfluidToken"
|
|
7833
7833
|
}
|
|
7834
7834
|
},
|
|
@@ -7836,13 +7836,13 @@
|
|
|
7836
7836
|
},
|
|
7837
7837
|
{
|
|
7838
7838
|
"constant": false,
|
|
7839
|
-
"id":
|
|
7839
|
+
"id": 20474,
|
|
7840
7840
|
"mutability": "mutable",
|
|
7841
7841
|
"name": "account",
|
|
7842
|
-
"nameLocation": "
|
|
7842
|
+
"nameLocation": "2094:7:67",
|
|
7843
7843
|
"nodeType": "VariableDeclaration",
|
|
7844
|
-
"scope":
|
|
7845
|
-
"src": "
|
|
7844
|
+
"scope": 20537,
|
|
7845
|
+
"src": "2086:15:67",
|
|
7846
7846
|
"stateVariable": false,
|
|
7847
7847
|
"storageLocation": "default",
|
|
7848
7848
|
"typeDescriptions": {
|
|
@@ -7850,10 +7850,10 @@
|
|
|
7850
7850
|
"typeString": "address"
|
|
7851
7851
|
},
|
|
7852
7852
|
"typeName": {
|
|
7853
|
-
"id":
|
|
7853
|
+
"id": 20473,
|
|
7854
7854
|
"name": "address",
|
|
7855
7855
|
"nodeType": "ElementaryTypeName",
|
|
7856
|
-
"src": "
|
|
7856
|
+
"src": "2086:7:67",
|
|
7857
7857
|
"stateMutability": "nonpayable",
|
|
7858
7858
|
"typeDescriptions": {
|
|
7859
7859
|
"typeIdentifier": "t_address",
|
|
@@ -7864,13 +7864,13 @@
|
|
|
7864
7864
|
},
|
|
7865
7865
|
{
|
|
7866
7866
|
"constant": false,
|
|
7867
|
-
"id":
|
|
7867
|
+
"id": 20476,
|
|
7868
7868
|
"mutability": "mutable",
|
|
7869
7869
|
"name": "bitmapStateSlotId",
|
|
7870
|
-
"nameLocation": "
|
|
7870
|
+
"nameLocation": "2119:17:67",
|
|
7871
7871
|
"nodeType": "VariableDeclaration",
|
|
7872
|
-
"scope":
|
|
7873
|
-
"src": "
|
|
7872
|
+
"scope": 20537,
|
|
7873
|
+
"src": "2111:25:67",
|
|
7874
7874
|
"stateVariable": false,
|
|
7875
7875
|
"storageLocation": "default",
|
|
7876
7876
|
"typeDescriptions": {
|
|
@@ -7878,10 +7878,10 @@
|
|
|
7878
7878
|
"typeString": "uint256"
|
|
7879
7879
|
},
|
|
7880
7880
|
"typeName": {
|
|
7881
|
-
"id":
|
|
7881
|
+
"id": 20475,
|
|
7882
7882
|
"name": "uint256",
|
|
7883
7883
|
"nodeType": "ElementaryTypeName",
|
|
7884
|
-
"src": "
|
|
7884
|
+
"src": "2111:7:67",
|
|
7885
7885
|
"typeDescriptions": {
|
|
7886
7886
|
"typeIdentifier": "t_uint256",
|
|
7887
7887
|
"typeString": "uint256"
|
|
@@ -7891,13 +7891,13 @@
|
|
|
7891
7891
|
},
|
|
7892
7892
|
{
|
|
7893
7893
|
"constant": false,
|
|
7894
|
-
"id":
|
|
7894
|
+
"id": 20478,
|
|
7895
7895
|
"mutability": "mutable",
|
|
7896
7896
|
"name": "slotId",
|
|
7897
|
-
"nameLocation": "
|
|
7897
|
+
"nameLocation": "2153:6:67",
|
|
7898
7898
|
"nodeType": "VariableDeclaration",
|
|
7899
|
-
"scope":
|
|
7900
|
-
"src": "
|
|
7899
|
+
"scope": 20537,
|
|
7900
|
+
"src": "2146:13:67",
|
|
7901
7901
|
"stateVariable": false,
|
|
7902
7902
|
"storageLocation": "default",
|
|
7903
7903
|
"typeDescriptions": {
|
|
@@ -7905,10 +7905,10 @@
|
|
|
7905
7905
|
"typeString": "uint32"
|
|
7906
7906
|
},
|
|
7907
7907
|
"typeName": {
|
|
7908
|
-
"id":
|
|
7908
|
+
"id": 20477,
|
|
7909
7909
|
"name": "uint32",
|
|
7910
7910
|
"nodeType": "ElementaryTypeName",
|
|
7911
|
-
"src": "
|
|
7911
|
+
"src": "2146:6:67",
|
|
7912
7912
|
"typeDescriptions": {
|
|
7913
7913
|
"typeIdentifier": "t_uint32",
|
|
7914
7914
|
"typeString": "uint32"
|
|
@@ -7917,40 +7917,40 @@
|
|
|
7917
7917
|
"visibility": "internal"
|
|
7918
7918
|
}
|
|
7919
7919
|
],
|
|
7920
|
-
"src": "
|
|
7920
|
+
"src": "2044:121:67"
|
|
7921
7921
|
},
|
|
7922
7922
|
"returnParameters": {
|
|
7923
|
-
"id":
|
|
7923
|
+
"id": 20480,
|
|
7924
7924
|
"nodeType": "ParameterList",
|
|
7925
7925
|
"parameters": [],
|
|
7926
|
-
"src": "
|
|
7926
|
+
"src": "2185:0:67"
|
|
7927
7927
|
},
|
|
7928
|
-
"scope":
|
|
7929
|
-
"src": "
|
|
7928
|
+
"scope": 20648,
|
|
7929
|
+
"src": "2026:582:67",
|
|
7930
7930
|
"stateMutability": "nonpayable",
|
|
7931
7931
|
"virtual": false,
|
|
7932
7932
|
"visibility": "public"
|
|
7933
7933
|
},
|
|
7934
7934
|
{
|
|
7935
7935
|
"body": {
|
|
7936
|
-
"id":
|
|
7936
|
+
"id": 20646,
|
|
7937
7937
|
"nodeType": "Block",
|
|
7938
|
-
"src": "
|
|
7938
|
+
"src": "2882:817:67",
|
|
7939
7939
|
"statements": [
|
|
7940
7940
|
{
|
|
7941
7941
|
"assignments": [
|
|
7942
|
-
|
|
7942
|
+
20556
|
|
7943
7943
|
],
|
|
7944
7944
|
"declarations": [
|
|
7945
7945
|
{
|
|
7946
7946
|
"constant": false,
|
|
7947
|
-
"id":
|
|
7947
|
+
"id": 20556,
|
|
7948
7948
|
"mutability": "mutable",
|
|
7949
7949
|
"name": "subsBitmap",
|
|
7950
|
-
"nameLocation": "
|
|
7950
|
+
"nameLocation": "2900:10:67",
|
|
7951
7951
|
"nodeType": "VariableDeclaration",
|
|
7952
|
-
"scope":
|
|
7953
|
-
"src": "
|
|
7952
|
+
"scope": 20646,
|
|
7953
|
+
"src": "2892:18:67",
|
|
7954
7954
|
"stateVariable": false,
|
|
7955
7955
|
"storageLocation": "default",
|
|
7956
7956
|
"typeDescriptions": {
|
|
@@ -7958,10 +7958,10 @@
|
|
|
7958
7958
|
"typeString": "uint256"
|
|
7959
7959
|
},
|
|
7960
7960
|
"typeName": {
|
|
7961
|
-
"id":
|
|
7961
|
+
"id": 20555,
|
|
7962
7962
|
"name": "uint256",
|
|
7963
7963
|
"nodeType": "ElementaryTypeName",
|
|
7964
|
-
"src": "
|
|
7964
|
+
"src": "2892:7:67",
|
|
7965
7965
|
"typeDescriptions": {
|
|
7966
7966
|
"typeIdentifier": "t_uint256",
|
|
7967
7967
|
"typeString": "uint256"
|
|
@@ -7970,7 +7970,7 @@
|
|
|
7970
7970
|
"visibility": "internal"
|
|
7971
7971
|
}
|
|
7972
7972
|
],
|
|
7973
|
-
"id":
|
|
7973
|
+
"id": 20572,
|
|
7974
7974
|
"initialValue": {
|
|
7975
7975
|
"arguments": [
|
|
7976
7976
|
{
|
|
@@ -7979,14 +7979,14 @@
|
|
|
7979
7979
|
{
|
|
7980
7980
|
"arguments": [
|
|
7981
7981
|
{
|
|
7982
|
-
"id":
|
|
7982
|
+
"id": 20563,
|
|
7983
7983
|
"name": "this",
|
|
7984
7984
|
"nodeType": "Identifier",
|
|
7985
7985
|
"overloadedDeclarations": [],
|
|
7986
7986
|
"referencedDeclaration": 4294967268,
|
|
7987
|
-
"src": "
|
|
7987
|
+
"src": "2970:4:67",
|
|
7988
7988
|
"typeDescriptions": {
|
|
7989
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
7989
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
7990
7990
|
"typeString": "library SlotsBitmapLibrary"
|
|
7991
7991
|
}
|
|
7992
7992
|
}
|
|
@@ -7994,30 +7994,30 @@
|
|
|
7994
7994
|
"expression": {
|
|
7995
7995
|
"argumentTypes": [
|
|
7996
7996
|
{
|
|
7997
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
7997
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
7998
7998
|
"typeString": "library SlotsBitmapLibrary"
|
|
7999
7999
|
}
|
|
8000
8000
|
],
|
|
8001
|
-
"id":
|
|
8001
|
+
"id": 20562,
|
|
8002
8002
|
"isConstant": false,
|
|
8003
8003
|
"isLValue": false,
|
|
8004
8004
|
"isPure": true,
|
|
8005
8005
|
"lValueRequested": false,
|
|
8006
8006
|
"nodeType": "ElementaryTypeNameExpression",
|
|
8007
|
-
"src": "
|
|
8007
|
+
"src": "2962:7:67",
|
|
8008
8008
|
"typeDescriptions": {
|
|
8009
8009
|
"typeIdentifier": "t_type$_t_address_$",
|
|
8010
8010
|
"typeString": "type(address)"
|
|
8011
8011
|
},
|
|
8012
8012
|
"typeName": {
|
|
8013
|
-
"id":
|
|
8013
|
+
"id": 20561,
|
|
8014
8014
|
"name": "address",
|
|
8015
8015
|
"nodeType": "ElementaryTypeName",
|
|
8016
|
-
"src": "
|
|
8016
|
+
"src": "2962:7:67",
|
|
8017
8017
|
"typeDescriptions": {}
|
|
8018
8018
|
}
|
|
8019
8019
|
},
|
|
8020
|
-
"id":
|
|
8020
|
+
"id": 20564,
|
|
8021
8021
|
"isConstant": false,
|
|
8022
8022
|
"isLValue": false,
|
|
8023
8023
|
"isPure": false,
|
|
@@ -8025,7 +8025,7 @@
|
|
|
8025
8025
|
"lValueRequested": false,
|
|
8026
8026
|
"names": [],
|
|
8027
8027
|
"nodeType": "FunctionCall",
|
|
8028
|
-
"src": "
|
|
8028
|
+
"src": "2962:13:67",
|
|
8029
8029
|
"tryCall": false,
|
|
8030
8030
|
"typeDescriptions": {
|
|
8031
8031
|
"typeIdentifier": "t_address",
|
|
@@ -8033,24 +8033,24 @@
|
|
|
8033
8033
|
}
|
|
8034
8034
|
},
|
|
8035
8035
|
{
|
|
8036
|
-
"id":
|
|
8036
|
+
"id": 20565,
|
|
8037
8037
|
"name": "account",
|
|
8038
8038
|
"nodeType": "Identifier",
|
|
8039
8039
|
"overloadedDeclarations": [],
|
|
8040
|
-
"referencedDeclaration":
|
|
8041
|
-
"src": "
|
|
8040
|
+
"referencedDeclaration": 20542,
|
|
8041
|
+
"src": "2989:7:67",
|
|
8042
8042
|
"typeDescriptions": {
|
|
8043
8043
|
"typeIdentifier": "t_address",
|
|
8044
8044
|
"typeString": "address"
|
|
8045
8045
|
}
|
|
8046
8046
|
},
|
|
8047
8047
|
{
|
|
8048
|
-
"id":
|
|
8048
|
+
"id": 20566,
|
|
8049
8049
|
"name": "bitmapStateSlotId",
|
|
8050
8050
|
"nodeType": "Identifier",
|
|
8051
8051
|
"overloadedDeclarations": [],
|
|
8052
|
-
"referencedDeclaration":
|
|
8053
|
-
"src": "
|
|
8052
|
+
"referencedDeclaration": 20544,
|
|
8053
|
+
"src": "3010:17:67",
|
|
8054
8054
|
"typeDescriptions": {
|
|
8055
8055
|
"typeIdentifier": "t_uint256",
|
|
8056
8056
|
"typeString": "uint256"
|
|
@@ -8058,14 +8058,14 @@
|
|
|
8058
8058
|
},
|
|
8059
8059
|
{
|
|
8060
8060
|
"hexValue": "31",
|
|
8061
|
-
"id":
|
|
8061
|
+
"id": 20567,
|
|
8062
8062
|
"isConstant": false,
|
|
8063
8063
|
"isLValue": false,
|
|
8064
8064
|
"isPure": true,
|
|
8065
8065
|
"kind": "number",
|
|
8066
8066
|
"lValueRequested": false,
|
|
8067
8067
|
"nodeType": "Literal",
|
|
8068
|
-
"src": "
|
|
8068
|
+
"src": "3029:1:67",
|
|
8069
8069
|
"typeDescriptions": {
|
|
8070
8070
|
"typeIdentifier": "t_rational_1_by_1",
|
|
8071
8071
|
"typeString": "int_const 1"
|
|
@@ -8093,32 +8093,32 @@
|
|
|
8093
8093
|
}
|
|
8094
8094
|
],
|
|
8095
8095
|
"expression": {
|
|
8096
|
-
"id":
|
|
8096
|
+
"id": 20559,
|
|
8097
8097
|
"name": "token",
|
|
8098
8098
|
"nodeType": "Identifier",
|
|
8099
8099
|
"overloadedDeclarations": [],
|
|
8100
|
-
"referencedDeclaration":
|
|
8101
|
-
"src": "
|
|
8100
|
+
"referencedDeclaration": 20540,
|
|
8101
|
+
"src": "2921:5:67",
|
|
8102
8102
|
"typeDescriptions": {
|
|
8103
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
8103
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
8104
8104
|
"typeString": "contract ISuperfluidToken"
|
|
8105
8105
|
}
|
|
8106
8106
|
},
|
|
8107
|
-
"id":
|
|
8107
|
+
"id": 20560,
|
|
8108
8108
|
"isConstant": false,
|
|
8109
8109
|
"isLValue": false,
|
|
8110
8110
|
"isPure": false,
|
|
8111
8111
|
"lValueRequested": false,
|
|
8112
8112
|
"memberName": "getAgreementStateSlot",
|
|
8113
8113
|
"nodeType": "MemberAccess",
|
|
8114
|
-
"referencedDeclaration":
|
|
8115
|
-
"src": "
|
|
8114
|
+
"referencedDeclaration": 19316,
|
|
8115
|
+
"src": "2921:27:67",
|
|
8116
8116
|
"typeDescriptions": {
|
|
8117
8117
|
"typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
8118
8118
|
"typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
|
|
8119
8119
|
}
|
|
8120
8120
|
},
|
|
8121
|
-
"id":
|
|
8121
|
+
"id": 20568,
|
|
8122
8122
|
"isConstant": false,
|
|
8123
8123
|
"isLValue": false,
|
|
8124
8124
|
"isPure": false,
|
|
@@ -8126,24 +8126,24 @@
|
|
|
8126
8126
|
"lValueRequested": false,
|
|
8127
8127
|
"names": [],
|
|
8128
8128
|
"nodeType": "FunctionCall",
|
|
8129
|
-
"src": "
|
|
8129
|
+
"src": "2921:110:67",
|
|
8130
8130
|
"tryCall": false,
|
|
8131
8131
|
"typeDescriptions": {
|
|
8132
8132
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
8133
8133
|
"typeString": "bytes32[] memory"
|
|
8134
8134
|
}
|
|
8135
8135
|
},
|
|
8136
|
-
"id":
|
|
8136
|
+
"id": 20570,
|
|
8137
8137
|
"indexExpression": {
|
|
8138
8138
|
"hexValue": "30",
|
|
8139
|
-
"id":
|
|
8139
|
+
"id": 20569,
|
|
8140
8140
|
"isConstant": false,
|
|
8141
8141
|
"isLValue": false,
|
|
8142
8142
|
"isPure": true,
|
|
8143
8143
|
"kind": "number",
|
|
8144
8144
|
"lValueRequested": false,
|
|
8145
8145
|
"nodeType": "Literal",
|
|
8146
|
-
"src": "
|
|
8146
|
+
"src": "3032:1:67",
|
|
8147
8147
|
"typeDescriptions": {
|
|
8148
8148
|
"typeIdentifier": "t_rational_0_by_1",
|
|
8149
8149
|
"typeString": "int_const 0"
|
|
@@ -8155,7 +8155,7 @@
|
|
|
8155
8155
|
"isPure": false,
|
|
8156
8156
|
"lValueRequested": false,
|
|
8157
8157
|
"nodeType": "IndexAccess",
|
|
8158
|
-
"src": "
|
|
8158
|
+
"src": "2921:113:67",
|
|
8159
8159
|
"typeDescriptions": {
|
|
8160
8160
|
"typeIdentifier": "t_bytes32",
|
|
8161
8161
|
"typeString": "bytes32"
|
|
@@ -8169,26 +8169,26 @@
|
|
|
8169
8169
|
"typeString": "bytes32"
|
|
8170
8170
|
}
|
|
8171
8171
|
],
|
|
8172
|
-
"id":
|
|
8172
|
+
"id": 20558,
|
|
8173
8173
|
"isConstant": false,
|
|
8174
8174
|
"isLValue": false,
|
|
8175
8175
|
"isPure": true,
|
|
8176
8176
|
"lValueRequested": false,
|
|
8177
8177
|
"nodeType": "ElementaryTypeNameExpression",
|
|
8178
|
-
"src": "
|
|
8178
|
+
"src": "2913:7:67",
|
|
8179
8179
|
"typeDescriptions": {
|
|
8180
8180
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
8181
8181
|
"typeString": "type(uint256)"
|
|
8182
8182
|
},
|
|
8183
8183
|
"typeName": {
|
|
8184
|
-
"id":
|
|
8184
|
+
"id": 20557,
|
|
8185
8185
|
"name": "uint256",
|
|
8186
8186
|
"nodeType": "ElementaryTypeName",
|
|
8187
|
-
"src": "
|
|
8187
|
+
"src": "2913:7:67",
|
|
8188
8188
|
"typeDescriptions": {}
|
|
8189
8189
|
}
|
|
8190
8190
|
},
|
|
8191
|
-
"id":
|
|
8191
|
+
"id": 20571,
|
|
8192
8192
|
"isConstant": false,
|
|
8193
8193
|
"isLValue": false,
|
|
8194
8194
|
"isPure": false,
|
|
@@ -8196,7 +8196,7 @@
|
|
|
8196
8196
|
"lValueRequested": false,
|
|
8197
8197
|
"names": [],
|
|
8198
8198
|
"nodeType": "FunctionCall",
|
|
8199
|
-
"src": "
|
|
8199
|
+
"src": "2913:122:67",
|
|
8200
8200
|
"tryCall": false,
|
|
8201
8201
|
"typeDescriptions": {
|
|
8202
8202
|
"typeIdentifier": "t_uint256",
|
|
@@ -8204,22 +8204,22 @@
|
|
|
8204
8204
|
}
|
|
8205
8205
|
},
|
|
8206
8206
|
"nodeType": "VariableDeclarationStatement",
|
|
8207
|
-
"src": "
|
|
8207
|
+
"src": "2892:143:67"
|
|
8208
8208
|
},
|
|
8209
8209
|
{
|
|
8210
8210
|
"expression": {
|
|
8211
|
-
"id":
|
|
8211
|
+
"id": 20579,
|
|
8212
8212
|
"isConstant": false,
|
|
8213
8213
|
"isLValue": false,
|
|
8214
8214
|
"isPure": false,
|
|
8215
8215
|
"lValueRequested": false,
|
|
8216
8216
|
"leftHandSide": {
|
|
8217
|
-
"id":
|
|
8217
|
+
"id": 20573,
|
|
8218
8218
|
"name": "slotIds",
|
|
8219
8219
|
"nodeType": "Identifier",
|
|
8220
8220
|
"overloadedDeclarations": [],
|
|
8221
|
-
"referencedDeclaration":
|
|
8222
|
-
"src": "
|
|
8221
|
+
"referencedDeclaration": 20550,
|
|
8222
|
+
"src": "3046:7:67",
|
|
8223
8223
|
"typeDescriptions": {
|
|
8224
8224
|
"typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
|
|
8225
8225
|
"typeString": "uint32[] memory"
|
|
@@ -8230,12 +8230,12 @@
|
|
|
8230
8230
|
"rightHandSide": {
|
|
8231
8231
|
"arguments": [
|
|
8232
8232
|
{
|
|
8233
|
-
"id":
|
|
8233
|
+
"id": 20577,
|
|
8234
8234
|
"name": "_MAX_NUM_SLOTS",
|
|
8235
8235
|
"nodeType": "Identifier",
|
|
8236
8236
|
"overloadedDeclarations": [],
|
|
8237
|
-
"referencedDeclaration":
|
|
8238
|
-
"src": "
|
|
8237
|
+
"referencedDeclaration": 20349,
|
|
8238
|
+
"src": "3069:14:67",
|
|
8239
8239
|
"typeDescriptions": {
|
|
8240
8240
|
"typeIdentifier": "t_uint32",
|
|
8241
8241
|
"typeString": "uint32"
|
|
@@ -8249,38 +8249,38 @@
|
|
|
8249
8249
|
"typeString": "uint32"
|
|
8250
8250
|
}
|
|
8251
8251
|
],
|
|
8252
|
-
"id":
|
|
8252
|
+
"id": 20576,
|
|
8253
8253
|
"isConstant": false,
|
|
8254
8254
|
"isLValue": false,
|
|
8255
8255
|
"isPure": true,
|
|
8256
8256
|
"lValueRequested": false,
|
|
8257
8257
|
"nodeType": "NewExpression",
|
|
8258
|
-
"src": "
|
|
8258
|
+
"src": "3056:12:67",
|
|
8259
8259
|
"typeDescriptions": {
|
|
8260
8260
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_uint32_$dyn_memory_ptr_$",
|
|
8261
8261
|
"typeString": "function (uint256) pure returns (uint32[] memory)"
|
|
8262
8262
|
},
|
|
8263
8263
|
"typeName": {
|
|
8264
8264
|
"baseType": {
|
|
8265
|
-
"id":
|
|
8265
|
+
"id": 20574,
|
|
8266
8266
|
"name": "uint32",
|
|
8267
8267
|
"nodeType": "ElementaryTypeName",
|
|
8268
|
-
"src": "
|
|
8268
|
+
"src": "3060:6:67",
|
|
8269
8269
|
"typeDescriptions": {
|
|
8270
8270
|
"typeIdentifier": "t_uint32",
|
|
8271
8271
|
"typeString": "uint32"
|
|
8272
8272
|
}
|
|
8273
8273
|
},
|
|
8274
|
-
"id":
|
|
8274
|
+
"id": 20575,
|
|
8275
8275
|
"nodeType": "ArrayTypeName",
|
|
8276
|
-
"src": "
|
|
8276
|
+
"src": "3060:8:67",
|
|
8277
8277
|
"typeDescriptions": {
|
|
8278
8278
|
"typeIdentifier": "t_array$_t_uint32_$dyn_storage_ptr",
|
|
8279
8279
|
"typeString": "uint32[]"
|
|
8280
8280
|
}
|
|
8281
8281
|
}
|
|
8282
8282
|
},
|
|
8283
|
-
"id":
|
|
8283
|
+
"id": 20578,
|
|
8284
8284
|
"isConstant": false,
|
|
8285
8285
|
"isLValue": false,
|
|
8286
8286
|
"isPure": true,
|
|
@@ -8288,37 +8288,37 @@
|
|
|
8288
8288
|
"lValueRequested": false,
|
|
8289
8289
|
"names": [],
|
|
8290
8290
|
"nodeType": "FunctionCall",
|
|
8291
|
-
"src": "
|
|
8291
|
+
"src": "3056:28:67",
|
|
8292
8292
|
"tryCall": false,
|
|
8293
8293
|
"typeDescriptions": {
|
|
8294
8294
|
"typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
|
|
8295
8295
|
"typeString": "uint32[] memory"
|
|
8296
8296
|
}
|
|
8297
8297
|
},
|
|
8298
|
-
"src": "
|
|
8298
|
+
"src": "3046:38:67",
|
|
8299
8299
|
"typeDescriptions": {
|
|
8300
8300
|
"typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
|
|
8301
8301
|
"typeString": "uint32[] memory"
|
|
8302
8302
|
}
|
|
8303
8303
|
},
|
|
8304
|
-
"id":
|
|
8304
|
+
"id": 20580,
|
|
8305
8305
|
"nodeType": "ExpressionStatement",
|
|
8306
|
-
"src": "
|
|
8306
|
+
"src": "3046:38:67"
|
|
8307
8307
|
},
|
|
8308
8308
|
{
|
|
8309
8309
|
"expression": {
|
|
8310
|
-
"id":
|
|
8310
|
+
"id": 20587,
|
|
8311
8311
|
"isConstant": false,
|
|
8312
8312
|
"isLValue": false,
|
|
8313
8313
|
"isPure": false,
|
|
8314
8314
|
"lValueRequested": false,
|
|
8315
8315
|
"leftHandSide": {
|
|
8316
|
-
"id":
|
|
8316
|
+
"id": 20581,
|
|
8317
8317
|
"name": "dataList",
|
|
8318
8318
|
"nodeType": "Identifier",
|
|
8319
8319
|
"overloadedDeclarations": [],
|
|
8320
|
-
"referencedDeclaration":
|
|
8321
|
-
"src": "
|
|
8320
|
+
"referencedDeclaration": 20553,
|
|
8321
|
+
"src": "3094:8:67",
|
|
8322
8322
|
"typeDescriptions": {
|
|
8323
8323
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
8324
8324
|
"typeString": "bytes32[] memory"
|
|
@@ -8329,12 +8329,12 @@
|
|
|
8329
8329
|
"rightHandSide": {
|
|
8330
8330
|
"arguments": [
|
|
8331
8331
|
{
|
|
8332
|
-
"id":
|
|
8332
|
+
"id": 20585,
|
|
8333
8333
|
"name": "_MAX_NUM_SLOTS",
|
|
8334
8334
|
"nodeType": "Identifier",
|
|
8335
8335
|
"overloadedDeclarations": [],
|
|
8336
|
-
"referencedDeclaration":
|
|
8337
|
-
"src": "
|
|
8336
|
+
"referencedDeclaration": 20349,
|
|
8337
|
+
"src": "3119:14:67",
|
|
8338
8338
|
"typeDescriptions": {
|
|
8339
8339
|
"typeIdentifier": "t_uint32",
|
|
8340
8340
|
"typeString": "uint32"
|
|
@@ -8348,38 +8348,38 @@
|
|
|
8348
8348
|
"typeString": "uint32"
|
|
8349
8349
|
}
|
|
8350
8350
|
],
|
|
8351
|
-
"id":
|
|
8351
|
+
"id": 20584,
|
|
8352
8352
|
"isConstant": false,
|
|
8353
8353
|
"isLValue": false,
|
|
8354
8354
|
"isPure": true,
|
|
8355
8355
|
"lValueRequested": false,
|
|
8356
8356
|
"nodeType": "NewExpression",
|
|
8357
|
-
"src": "
|
|
8357
|
+
"src": "3105:13:67",
|
|
8358
8358
|
"typeDescriptions": {
|
|
8359
8359
|
"typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
8360
8360
|
"typeString": "function (uint256) pure returns (bytes32[] memory)"
|
|
8361
8361
|
},
|
|
8362
8362
|
"typeName": {
|
|
8363
8363
|
"baseType": {
|
|
8364
|
-
"id":
|
|
8364
|
+
"id": 20582,
|
|
8365
8365
|
"name": "bytes32",
|
|
8366
8366
|
"nodeType": "ElementaryTypeName",
|
|
8367
|
-
"src": "
|
|
8367
|
+
"src": "3109:7:67",
|
|
8368
8368
|
"typeDescriptions": {
|
|
8369
8369
|
"typeIdentifier": "t_bytes32",
|
|
8370
8370
|
"typeString": "bytes32"
|
|
8371
8371
|
}
|
|
8372
8372
|
},
|
|
8373
|
-
"id":
|
|
8373
|
+
"id": 20583,
|
|
8374
8374
|
"nodeType": "ArrayTypeName",
|
|
8375
|
-
"src": "
|
|
8375
|
+
"src": "3109:9:67",
|
|
8376
8376
|
"typeDescriptions": {
|
|
8377
8377
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
8378
8378
|
"typeString": "bytes32[]"
|
|
8379
8379
|
}
|
|
8380
8380
|
}
|
|
8381
8381
|
},
|
|
8382
|
-
"id":
|
|
8382
|
+
"id": 20586,
|
|
8383
8383
|
"isConstant": false,
|
|
8384
8384
|
"isLValue": false,
|
|
8385
8385
|
"isPure": true,
|
|
@@ -8387,37 +8387,37 @@
|
|
|
8387
8387
|
"lValueRequested": false,
|
|
8388
8388
|
"names": [],
|
|
8389
8389
|
"nodeType": "FunctionCall",
|
|
8390
|
-
"src": "
|
|
8390
|
+
"src": "3105:29:67",
|
|
8391
8391
|
"tryCall": false,
|
|
8392
8392
|
"typeDescriptions": {
|
|
8393
8393
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
8394
8394
|
"typeString": "bytes32[] memory"
|
|
8395
8395
|
}
|
|
8396
8396
|
},
|
|
8397
|
-
"src": "
|
|
8397
|
+
"src": "3094:40:67",
|
|
8398
8398
|
"typeDescriptions": {
|
|
8399
8399
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
8400
8400
|
"typeString": "bytes32[] memory"
|
|
8401
8401
|
}
|
|
8402
8402
|
},
|
|
8403
|
-
"id":
|
|
8403
|
+
"id": 20588,
|
|
8404
8404
|
"nodeType": "ExpressionStatement",
|
|
8405
|
-
"src": "
|
|
8405
|
+
"src": "3094:40:67"
|
|
8406
8406
|
},
|
|
8407
8407
|
{
|
|
8408
8408
|
"assignments": [
|
|
8409
|
-
|
|
8409
|
+
20590
|
|
8410
8410
|
],
|
|
8411
8411
|
"declarations": [
|
|
8412
8412
|
{
|
|
8413
8413
|
"constant": false,
|
|
8414
|
-
"id":
|
|
8414
|
+
"id": 20590,
|
|
8415
8415
|
"mutability": "mutable",
|
|
8416
8416
|
"name": "nSlots",
|
|
8417
|
-
"nameLocation": "
|
|
8417
|
+
"nameLocation": "3175:6:67",
|
|
8418
8418
|
"nodeType": "VariableDeclaration",
|
|
8419
|
-
"scope":
|
|
8420
|
-
"src": "
|
|
8419
|
+
"scope": 20646,
|
|
8420
|
+
"src": "3170:11:67",
|
|
8421
8421
|
"stateVariable": false,
|
|
8422
8422
|
"storageLocation": "default",
|
|
8423
8423
|
"typeDescriptions": {
|
|
@@ -8425,10 +8425,10 @@
|
|
|
8425
8425
|
"typeString": "uint256"
|
|
8426
8426
|
},
|
|
8427
8427
|
"typeName": {
|
|
8428
|
-
"id":
|
|
8428
|
+
"id": 20589,
|
|
8429
8429
|
"name": "uint",
|
|
8430
8430
|
"nodeType": "ElementaryTypeName",
|
|
8431
|
-
"src": "
|
|
8431
|
+
"src": "3170:4:67",
|
|
8432
8432
|
"typeDescriptions": {
|
|
8433
8433
|
"typeIdentifier": "t_uint256",
|
|
8434
8434
|
"typeString": "uint256"
|
|
@@ -8437,15 +8437,15 @@
|
|
|
8437
8437
|
"visibility": "internal"
|
|
8438
8438
|
}
|
|
8439
8439
|
],
|
|
8440
|
-
"id":
|
|
8440
|
+
"id": 20591,
|
|
8441
8441
|
"nodeType": "VariableDeclarationStatement",
|
|
8442
|
-
"src": "
|
|
8442
|
+
"src": "3170:11:67"
|
|
8443
8443
|
},
|
|
8444
8444
|
{
|
|
8445
8445
|
"body": {
|
|
8446
|
-
"id":
|
|
8446
|
+
"id": 20643,
|
|
8447
8447
|
"nodeType": "Block",
|
|
8448
|
-
"src": "
|
|
8448
|
+
"src": "3250:309:67",
|
|
8449
8449
|
"statements": [
|
|
8450
8450
|
{
|
|
8451
8451
|
"condition": {
|
|
@@ -8453,7 +8453,7 @@
|
|
|
8453
8453
|
"typeIdentifier": "t_uint256",
|
|
8454
8454
|
"typeString": "uint256"
|
|
8455
8455
|
},
|
|
8456
|
-
"id":
|
|
8456
|
+
"id": 20612,
|
|
8457
8457
|
"isConstant": false,
|
|
8458
8458
|
"isLValue": false,
|
|
8459
8459
|
"isPure": false,
|
|
@@ -8465,7 +8465,7 @@
|
|
|
8465
8465
|
"typeIdentifier": "t_uint256",
|
|
8466
8466
|
"typeString": "uint256"
|
|
8467
8467
|
},
|
|
8468
|
-
"id":
|
|
8468
|
+
"id": 20609,
|
|
8469
8469
|
"isConstant": false,
|
|
8470
8470
|
"isLValue": false,
|
|
8471
8471
|
"isPure": false,
|
|
@@ -8477,18 +8477,18 @@
|
|
|
8477
8477
|
"typeIdentifier": "t_uint256",
|
|
8478
8478
|
"typeString": "uint256"
|
|
8479
8479
|
},
|
|
8480
|
-
"id":
|
|
8480
|
+
"id": 20606,
|
|
8481
8481
|
"isConstant": false,
|
|
8482
8482
|
"isLValue": false,
|
|
8483
8483
|
"isPure": false,
|
|
8484
8484
|
"lValueRequested": false,
|
|
8485
8485
|
"leftExpression": {
|
|
8486
|
-
"id":
|
|
8486
|
+
"id": 20604,
|
|
8487
8487
|
"name": "subsBitmap",
|
|
8488
8488
|
"nodeType": "Identifier",
|
|
8489
8489
|
"overloadedDeclarations": [],
|
|
8490
|
-
"referencedDeclaration":
|
|
8491
|
-
"src": "
|
|
8490
|
+
"referencedDeclaration": 20556,
|
|
8491
|
+
"src": "3277:10:67",
|
|
8492
8492
|
"typeDescriptions": {
|
|
8493
8493
|
"typeIdentifier": "t_uint256",
|
|
8494
8494
|
"typeString": "uint256"
|
|
@@ -8497,18 +8497,18 @@
|
|
|
8497
8497
|
"nodeType": "BinaryOperation",
|
|
8498
8498
|
"operator": ">>",
|
|
8499
8499
|
"rightExpression": {
|
|
8500
|
-
"id":
|
|
8500
|
+
"id": 20605,
|
|
8501
8501
|
"name": "slotId",
|
|
8502
8502
|
"nodeType": "Identifier",
|
|
8503
8503
|
"overloadedDeclarations": [],
|
|
8504
|
-
"referencedDeclaration":
|
|
8505
|
-
"src": "
|
|
8504
|
+
"referencedDeclaration": 20593,
|
|
8505
|
+
"src": "3291:6:67",
|
|
8506
8506
|
"typeDescriptions": {
|
|
8507
8507
|
"typeIdentifier": "t_uint32",
|
|
8508
8508
|
"typeString": "uint32"
|
|
8509
8509
|
}
|
|
8510
8510
|
},
|
|
8511
|
-
"src": "
|
|
8511
|
+
"src": "3277:20:67",
|
|
8512
8512
|
"typeDescriptions": {
|
|
8513
8513
|
"typeIdentifier": "t_uint256",
|
|
8514
8514
|
"typeString": "uint256"
|
|
@@ -8522,26 +8522,26 @@
|
|
|
8522
8522
|
"typeString": "uint256"
|
|
8523
8523
|
}
|
|
8524
8524
|
],
|
|
8525
|
-
"id":
|
|
8525
|
+
"id": 20603,
|
|
8526
8526
|
"isConstant": false,
|
|
8527
8527
|
"isLValue": false,
|
|
8528
8528
|
"isPure": true,
|
|
8529
8529
|
"lValueRequested": false,
|
|
8530
8530
|
"nodeType": "ElementaryTypeNameExpression",
|
|
8531
|
-
"src": "
|
|
8531
|
+
"src": "3269:7:67",
|
|
8532
8532
|
"typeDescriptions": {
|
|
8533
8533
|
"typeIdentifier": "t_type$_t_uint256_$",
|
|
8534
8534
|
"typeString": "type(uint256)"
|
|
8535
8535
|
},
|
|
8536
8536
|
"typeName": {
|
|
8537
|
-
"id":
|
|
8537
|
+
"id": 20602,
|
|
8538
8538
|
"name": "uint256",
|
|
8539
8539
|
"nodeType": "ElementaryTypeName",
|
|
8540
|
-
"src": "
|
|
8540
|
+
"src": "3269:7:67",
|
|
8541
8541
|
"typeDescriptions": {}
|
|
8542
8542
|
}
|
|
8543
8543
|
},
|
|
8544
|
-
"id":
|
|
8544
|
+
"id": 20607,
|
|
8545
8545
|
"isConstant": false,
|
|
8546
8546
|
"isLValue": false,
|
|
8547
8547
|
"isPure": false,
|
|
@@ -8549,7 +8549,7 @@
|
|
|
8549
8549
|
"lValueRequested": false,
|
|
8550
8550
|
"names": [],
|
|
8551
8551
|
"nodeType": "FunctionCall",
|
|
8552
|
-
"src": "
|
|
8552
|
+
"src": "3269:29:67",
|
|
8553
8553
|
"tryCall": false,
|
|
8554
8554
|
"typeDescriptions": {
|
|
8555
8555
|
"typeIdentifier": "t_uint256",
|
|
@@ -8560,35 +8560,35 @@
|
|
|
8560
8560
|
"operator": "&",
|
|
8561
8561
|
"rightExpression": {
|
|
8562
8562
|
"hexValue": "31",
|
|
8563
|
-
"id":
|
|
8563
|
+
"id": 20608,
|
|
8564
8564
|
"isConstant": false,
|
|
8565
8565
|
"isLValue": false,
|
|
8566
8566
|
"isPure": true,
|
|
8567
8567
|
"kind": "number",
|
|
8568
8568
|
"lValueRequested": false,
|
|
8569
8569
|
"nodeType": "Literal",
|
|
8570
|
-
"src": "
|
|
8570
|
+
"src": "3301:1:67",
|
|
8571
8571
|
"typeDescriptions": {
|
|
8572
8572
|
"typeIdentifier": "t_rational_1_by_1",
|
|
8573
8573
|
"typeString": "int_const 1"
|
|
8574
8574
|
},
|
|
8575
8575
|
"value": "1"
|
|
8576
8576
|
},
|
|
8577
|
-
"src": "
|
|
8577
|
+
"src": "3269:33:67",
|
|
8578
8578
|
"typeDescriptions": {
|
|
8579
8579
|
"typeIdentifier": "t_uint256",
|
|
8580
8580
|
"typeString": "uint256"
|
|
8581
8581
|
}
|
|
8582
8582
|
}
|
|
8583
8583
|
],
|
|
8584
|
-
"id":
|
|
8584
|
+
"id": 20610,
|
|
8585
8585
|
"isConstant": false,
|
|
8586
8586
|
"isInlineArray": false,
|
|
8587
8587
|
"isLValue": false,
|
|
8588
8588
|
"isPure": false,
|
|
8589
8589
|
"lValueRequested": false,
|
|
8590
8590
|
"nodeType": "TupleExpression",
|
|
8591
|
-
"src": "
|
|
8591
|
+
"src": "3268:35:67",
|
|
8592
8592
|
"typeDescriptions": {
|
|
8593
8593
|
"typeIdentifier": "t_uint256",
|
|
8594
8594
|
"typeString": "uint256"
|
|
@@ -8598,63 +8598,63 @@
|
|
|
8598
8598
|
"operator": "==",
|
|
8599
8599
|
"rightExpression": {
|
|
8600
8600
|
"hexValue": "30",
|
|
8601
|
-
"id":
|
|
8601
|
+
"id": 20611,
|
|
8602
8602
|
"isConstant": false,
|
|
8603
8603
|
"isLValue": false,
|
|
8604
8604
|
"isPure": true,
|
|
8605
8605
|
"kind": "number",
|
|
8606
8606
|
"lValueRequested": false,
|
|
8607
8607
|
"nodeType": "Literal",
|
|
8608
|
-
"src": "
|
|
8608
|
+
"src": "3307:1:67",
|
|
8609
8609
|
"typeDescriptions": {
|
|
8610
8610
|
"typeIdentifier": "t_rational_0_by_1",
|
|
8611
8611
|
"typeString": "int_const 0"
|
|
8612
8612
|
},
|
|
8613
8613
|
"value": "0"
|
|
8614
8614
|
},
|
|
8615
|
-
"src": "
|
|
8615
|
+
"src": "3268:40:67",
|
|
8616
8616
|
"typeDescriptions": {
|
|
8617
8617
|
"typeIdentifier": "t_bool",
|
|
8618
8618
|
"typeString": "bool"
|
|
8619
8619
|
}
|
|
8620
8620
|
},
|
|
8621
|
-
"id":
|
|
8621
|
+
"id": 20614,
|
|
8622
8622
|
"nodeType": "IfStatement",
|
|
8623
|
-
"src": "
|
|
8623
|
+
"src": "3264:54:67",
|
|
8624
8624
|
"trueBody": {
|
|
8625
|
-
"id":
|
|
8625
|
+
"id": 20613,
|
|
8626
8626
|
"nodeType": "Continue",
|
|
8627
|
-
"src": "
|
|
8627
|
+
"src": "3310:8:67"
|
|
8628
8628
|
}
|
|
8629
8629
|
},
|
|
8630
8630
|
{
|
|
8631
8631
|
"expression": {
|
|
8632
|
-
"id":
|
|
8632
|
+
"id": 20619,
|
|
8633
8633
|
"isConstant": false,
|
|
8634
8634
|
"isLValue": false,
|
|
8635
8635
|
"isPure": false,
|
|
8636
8636
|
"lValueRequested": false,
|
|
8637
8637
|
"leftHandSide": {
|
|
8638
8638
|
"baseExpression": {
|
|
8639
|
-
"id":
|
|
8639
|
+
"id": 20615,
|
|
8640
8640
|
"name": "slotIds",
|
|
8641
8641
|
"nodeType": "Identifier",
|
|
8642
8642
|
"overloadedDeclarations": [],
|
|
8643
|
-
"referencedDeclaration":
|
|
8644
|
-
"src": "
|
|
8643
|
+
"referencedDeclaration": 20550,
|
|
8644
|
+
"src": "3332:7:67",
|
|
8645
8645
|
"typeDescriptions": {
|
|
8646
8646
|
"typeIdentifier": "t_array$_t_uint32_$dyn_memory_ptr",
|
|
8647
8647
|
"typeString": "uint32[] memory"
|
|
8648
8648
|
}
|
|
8649
8649
|
},
|
|
8650
|
-
"id":
|
|
8650
|
+
"id": 20617,
|
|
8651
8651
|
"indexExpression": {
|
|
8652
|
-
"id":
|
|
8652
|
+
"id": 20616,
|
|
8653
8653
|
"name": "nSlots",
|
|
8654
8654
|
"nodeType": "Identifier",
|
|
8655
8655
|
"overloadedDeclarations": [],
|
|
8656
|
-
"referencedDeclaration":
|
|
8657
|
-
"src": "
|
|
8656
|
+
"referencedDeclaration": 20590,
|
|
8657
|
+
"src": "3340:6:67",
|
|
8658
8658
|
"typeDescriptions": {
|
|
8659
8659
|
"typeIdentifier": "t_uint256",
|
|
8660
8660
|
"typeString": "uint256"
|
|
@@ -8665,7 +8665,7 @@
|
|
|
8665
8665
|
"isPure": false,
|
|
8666
8666
|
"lValueRequested": true,
|
|
8667
8667
|
"nodeType": "IndexAccess",
|
|
8668
|
-
"src": "
|
|
8668
|
+
"src": "3332:15:67",
|
|
8669
8669
|
"typeDescriptions": {
|
|
8670
8670
|
"typeIdentifier": "t_uint32",
|
|
8671
8671
|
"typeString": "uint32"
|
|
@@ -8674,55 +8674,55 @@
|
|
|
8674
8674
|
"nodeType": "Assignment",
|
|
8675
8675
|
"operator": "=",
|
|
8676
8676
|
"rightHandSide": {
|
|
8677
|
-
"id":
|
|
8677
|
+
"id": 20618,
|
|
8678
8678
|
"name": "slotId",
|
|
8679
8679
|
"nodeType": "Identifier",
|
|
8680
8680
|
"overloadedDeclarations": [],
|
|
8681
|
-
"referencedDeclaration":
|
|
8682
|
-
"src": "
|
|
8681
|
+
"referencedDeclaration": 20593,
|
|
8682
|
+
"src": "3350:6:67",
|
|
8683
8683
|
"typeDescriptions": {
|
|
8684
8684
|
"typeIdentifier": "t_uint32",
|
|
8685
8685
|
"typeString": "uint32"
|
|
8686
8686
|
}
|
|
8687
8687
|
},
|
|
8688
|
-
"src": "
|
|
8688
|
+
"src": "3332:24:67",
|
|
8689
8689
|
"typeDescriptions": {
|
|
8690
8690
|
"typeIdentifier": "t_uint32",
|
|
8691
8691
|
"typeString": "uint32"
|
|
8692
8692
|
}
|
|
8693
8693
|
},
|
|
8694
|
-
"id":
|
|
8694
|
+
"id": 20620,
|
|
8695
8695
|
"nodeType": "ExpressionStatement",
|
|
8696
|
-
"src": "
|
|
8696
|
+
"src": "3332:24:67"
|
|
8697
8697
|
},
|
|
8698
8698
|
{
|
|
8699
8699
|
"expression": {
|
|
8700
|
-
"id":
|
|
8700
|
+
"id": 20638,
|
|
8701
8701
|
"isConstant": false,
|
|
8702
8702
|
"isLValue": false,
|
|
8703
8703
|
"isPure": false,
|
|
8704
8704
|
"lValueRequested": false,
|
|
8705
8705
|
"leftHandSide": {
|
|
8706
8706
|
"baseExpression": {
|
|
8707
|
-
"id":
|
|
8707
|
+
"id": 20621,
|
|
8708
8708
|
"name": "dataList",
|
|
8709
8709
|
"nodeType": "Identifier",
|
|
8710
8710
|
"overloadedDeclarations": [],
|
|
8711
|
-
"referencedDeclaration":
|
|
8712
|
-
"src": "
|
|
8711
|
+
"referencedDeclaration": 20553,
|
|
8712
|
+
"src": "3370:8:67",
|
|
8713
8713
|
"typeDescriptions": {
|
|
8714
8714
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
8715
8715
|
"typeString": "bytes32[] memory"
|
|
8716
8716
|
}
|
|
8717
8717
|
},
|
|
8718
|
-
"id":
|
|
8718
|
+
"id": 20623,
|
|
8719
8719
|
"indexExpression": {
|
|
8720
|
-
"id":
|
|
8720
|
+
"id": 20622,
|
|
8721
8721
|
"name": "nSlots",
|
|
8722
8722
|
"nodeType": "Identifier",
|
|
8723
8723
|
"overloadedDeclarations": [],
|
|
8724
|
-
"referencedDeclaration":
|
|
8725
|
-
"src": "
|
|
8724
|
+
"referencedDeclaration": 20590,
|
|
8725
|
+
"src": "3379:6:67",
|
|
8726
8726
|
"typeDescriptions": {
|
|
8727
8727
|
"typeIdentifier": "t_uint256",
|
|
8728
8728
|
"typeString": "uint256"
|
|
@@ -8733,7 +8733,7 @@
|
|
|
8733
8733
|
"isPure": false,
|
|
8734
8734
|
"lValueRequested": true,
|
|
8735
8735
|
"nodeType": "IndexAccess",
|
|
8736
|
-
"src": "
|
|
8736
|
+
"src": "3370:16:67",
|
|
8737
8737
|
"typeDescriptions": {
|
|
8738
8738
|
"typeIdentifier": "t_bytes32",
|
|
8739
8739
|
"typeString": "bytes32"
|
|
@@ -8747,14 +8747,14 @@
|
|
|
8747
8747
|
{
|
|
8748
8748
|
"arguments": [
|
|
8749
8749
|
{
|
|
8750
|
-
"id":
|
|
8750
|
+
"id": 20628,
|
|
8751
8751
|
"name": "this",
|
|
8752
8752
|
"nodeType": "Identifier",
|
|
8753
8753
|
"overloadedDeclarations": [],
|
|
8754
8754
|
"referencedDeclaration": 4294967268,
|
|
8755
|
-
"src": "
|
|
8755
|
+
"src": "3442:4:67",
|
|
8756
8756
|
"typeDescriptions": {
|
|
8757
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
8757
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
8758
8758
|
"typeString": "library SlotsBitmapLibrary"
|
|
8759
8759
|
}
|
|
8760
8760
|
}
|
|
@@ -8762,30 +8762,30 @@
|
|
|
8762
8762
|
"expression": {
|
|
8763
8763
|
"argumentTypes": [
|
|
8764
8764
|
{
|
|
8765
|
-
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$
|
|
8765
|
+
"typeIdentifier": "t_contract$_SlotsBitmapLibrary_$20648",
|
|
8766
8766
|
"typeString": "library SlotsBitmapLibrary"
|
|
8767
8767
|
}
|
|
8768
8768
|
],
|
|
8769
|
-
"id":
|
|
8769
|
+
"id": 20627,
|
|
8770
8770
|
"isConstant": false,
|
|
8771
8771
|
"isLValue": false,
|
|
8772
8772
|
"isPure": true,
|
|
8773
8773
|
"lValueRequested": false,
|
|
8774
8774
|
"nodeType": "ElementaryTypeNameExpression",
|
|
8775
|
-
"src": "
|
|
8775
|
+
"src": "3434:7:67",
|
|
8776
8776
|
"typeDescriptions": {
|
|
8777
8777
|
"typeIdentifier": "t_type$_t_address_$",
|
|
8778
8778
|
"typeString": "type(address)"
|
|
8779
8779
|
},
|
|
8780
8780
|
"typeName": {
|
|
8781
|
-
"id":
|
|
8781
|
+
"id": 20626,
|
|
8782
8782
|
"name": "address",
|
|
8783
8783
|
"nodeType": "ElementaryTypeName",
|
|
8784
|
-
"src": "
|
|
8784
|
+
"src": "3434:7:67",
|
|
8785
8785
|
"typeDescriptions": {}
|
|
8786
8786
|
}
|
|
8787
8787
|
},
|
|
8788
|
-
"id":
|
|
8788
|
+
"id": 20629,
|
|
8789
8789
|
"isConstant": false,
|
|
8790
8790
|
"isLValue": false,
|
|
8791
8791
|
"isPure": false,
|
|
@@ -8793,7 +8793,7 @@
|
|
|
8793
8793
|
"lValueRequested": false,
|
|
8794
8794
|
"names": [],
|
|
8795
8795
|
"nodeType": "FunctionCall",
|
|
8796
|
-
"src": "
|
|
8796
|
+
"src": "3434:13:67",
|
|
8797
8797
|
"tryCall": false,
|
|
8798
8798
|
"typeDescriptions": {
|
|
8799
8799
|
"typeIdentifier": "t_address",
|
|
@@ -8801,12 +8801,12 @@
|
|
|
8801
8801
|
}
|
|
8802
8802
|
},
|
|
8803
8803
|
{
|
|
8804
|
-
"id":
|
|
8804
|
+
"id": 20630,
|
|
8805
8805
|
"name": "account",
|
|
8806
8806
|
"nodeType": "Identifier",
|
|
8807
8807
|
"overloadedDeclarations": [],
|
|
8808
|
-
"referencedDeclaration":
|
|
8809
|
-
"src": "
|
|
8808
|
+
"referencedDeclaration": 20542,
|
|
8809
|
+
"src": "3465:7:67",
|
|
8810
8810
|
"typeDescriptions": {
|
|
8811
8811
|
"typeIdentifier": "t_address",
|
|
8812
8812
|
"typeString": "address"
|
|
@@ -8817,18 +8817,18 @@
|
|
|
8817
8817
|
"typeIdentifier": "t_uint256",
|
|
8818
8818
|
"typeString": "uint256"
|
|
8819
8819
|
},
|
|
8820
|
-
"id":
|
|
8820
|
+
"id": 20633,
|
|
8821
8821
|
"isConstant": false,
|
|
8822
8822
|
"isLValue": false,
|
|
8823
8823
|
"isPure": false,
|
|
8824
8824
|
"lValueRequested": false,
|
|
8825
8825
|
"leftExpression": {
|
|
8826
|
-
"id":
|
|
8826
|
+
"id": 20631,
|
|
8827
8827
|
"name": "dataStateSlotIDStart",
|
|
8828
8828
|
"nodeType": "Identifier",
|
|
8829
8829
|
"overloadedDeclarations": [],
|
|
8830
|
-
"referencedDeclaration":
|
|
8831
|
-
"src": "
|
|
8830
|
+
"referencedDeclaration": 20546,
|
|
8831
|
+
"src": "3490:20:67",
|
|
8832
8832
|
"typeDescriptions": {
|
|
8833
8833
|
"typeIdentifier": "t_uint256",
|
|
8834
8834
|
"typeString": "uint256"
|
|
@@ -8837,18 +8837,18 @@
|
|
|
8837
8837
|
"nodeType": "BinaryOperation",
|
|
8838
8838
|
"operator": "+",
|
|
8839
8839
|
"rightExpression": {
|
|
8840
|
-
"id":
|
|
8840
|
+
"id": 20632,
|
|
8841
8841
|
"name": "slotId",
|
|
8842
8842
|
"nodeType": "Identifier",
|
|
8843
8843
|
"overloadedDeclarations": [],
|
|
8844
|
-
"referencedDeclaration":
|
|
8845
|
-
"src": "
|
|
8844
|
+
"referencedDeclaration": 20593,
|
|
8845
|
+
"src": "3513:6:67",
|
|
8846
8846
|
"typeDescriptions": {
|
|
8847
8847
|
"typeIdentifier": "t_uint32",
|
|
8848
8848
|
"typeString": "uint32"
|
|
8849
8849
|
}
|
|
8850
8850
|
},
|
|
8851
|
-
"src": "
|
|
8851
|
+
"src": "3490:29:67",
|
|
8852
8852
|
"typeDescriptions": {
|
|
8853
8853
|
"typeIdentifier": "t_uint256",
|
|
8854
8854
|
"typeString": "uint256"
|
|
@@ -8856,14 +8856,14 @@
|
|
|
8856
8856
|
},
|
|
8857
8857
|
{
|
|
8858
8858
|
"hexValue": "31",
|
|
8859
|
-
"id":
|
|
8859
|
+
"id": 20634,
|
|
8860
8860
|
"isConstant": false,
|
|
8861
8861
|
"isLValue": false,
|
|
8862
8862
|
"isPure": true,
|
|
8863
8863
|
"kind": "number",
|
|
8864
8864
|
"lValueRequested": false,
|
|
8865
8865
|
"nodeType": "Literal",
|
|
8866
|
-
"src": "
|
|
8866
|
+
"src": "3521:1:67",
|
|
8867
8867
|
"typeDescriptions": {
|
|
8868
8868
|
"typeIdentifier": "t_rational_1_by_1",
|
|
8869
8869
|
"typeString": "int_const 1"
|
|
@@ -8891,32 +8891,32 @@
|
|
|
8891
8891
|
}
|
|
8892
8892
|
],
|
|
8893
8893
|
"expression": {
|
|
8894
|
-
"id":
|
|
8894
|
+
"id": 20624,
|
|
8895
8895
|
"name": "token",
|
|
8896
8896
|
"nodeType": "Identifier",
|
|
8897
8897
|
"overloadedDeclarations": [],
|
|
8898
|
-
"referencedDeclaration":
|
|
8899
|
-
"src": "
|
|
8898
|
+
"referencedDeclaration": 20540,
|
|
8899
|
+
"src": "3389:5:67",
|
|
8900
8900
|
"typeDescriptions": {
|
|
8901
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
8901
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
8902
8902
|
"typeString": "contract ISuperfluidToken"
|
|
8903
8903
|
}
|
|
8904
8904
|
},
|
|
8905
|
-
"id":
|
|
8905
|
+
"id": 20625,
|
|
8906
8906
|
"isConstant": false,
|
|
8907
8907
|
"isLValue": false,
|
|
8908
8908
|
"isPure": false,
|
|
8909
8909
|
"lValueRequested": false,
|
|
8910
8910
|
"memberName": "getAgreementStateSlot",
|
|
8911
8911
|
"nodeType": "MemberAccess",
|
|
8912
|
-
"referencedDeclaration":
|
|
8913
|
-
"src": "
|
|
8912
|
+
"referencedDeclaration": 19316,
|
|
8913
|
+
"src": "3389:27:67",
|
|
8914
8914
|
"typeDescriptions": {
|
|
8915
8915
|
"typeIdentifier": "t_function_external_view$_t_address_$_t_address_$_t_uint256_$_t_uint256_$returns$_t_array$_t_bytes32_$dyn_memory_ptr_$",
|
|
8916
8916
|
"typeString": "function (address,address,uint256,uint256) view external returns (bytes32[] memory)"
|
|
8917
8917
|
}
|
|
8918
8918
|
},
|
|
8919
|
-
"id":
|
|
8919
|
+
"id": 20635,
|
|
8920
8920
|
"isConstant": false,
|
|
8921
8921
|
"isLValue": false,
|
|
8922
8922
|
"isPure": false,
|
|
@@ -8924,24 +8924,24 @@
|
|
|
8924
8924
|
"lValueRequested": false,
|
|
8925
8925
|
"names": [],
|
|
8926
8926
|
"nodeType": "FunctionCall",
|
|
8927
|
-
"src": "
|
|
8927
|
+
"src": "3389:134:67",
|
|
8928
8928
|
"tryCall": false,
|
|
8929
8929
|
"typeDescriptions": {
|
|
8930
8930
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_memory_ptr",
|
|
8931
8931
|
"typeString": "bytes32[] memory"
|
|
8932
8932
|
}
|
|
8933
8933
|
},
|
|
8934
|
-
"id":
|
|
8934
|
+
"id": 20637,
|
|
8935
8935
|
"indexExpression": {
|
|
8936
8936
|
"hexValue": "30",
|
|
8937
|
-
"id":
|
|
8937
|
+
"id": 20636,
|
|
8938
8938
|
"isConstant": false,
|
|
8939
8939
|
"isLValue": false,
|
|
8940
8940
|
"isPure": true,
|
|
8941
8941
|
"kind": "number",
|
|
8942
8942
|
"lValueRequested": false,
|
|
8943
8943
|
"nodeType": "Literal",
|
|
8944
|
-
"src": "
|
|
8944
|
+
"src": "3524:1:67",
|
|
8945
8945
|
"typeDescriptions": {
|
|
8946
8946
|
"typeIdentifier": "t_rational_0_by_1",
|
|
8947
8947
|
"typeString": "int_const 0"
|
|
@@ -8953,25 +8953,25 @@
|
|
|
8953
8953
|
"isPure": false,
|
|
8954
8954
|
"lValueRequested": false,
|
|
8955
8955
|
"nodeType": "IndexAccess",
|
|
8956
|
-
"src": "
|
|
8956
|
+
"src": "3389:137:67",
|
|
8957
8957
|
"typeDescriptions": {
|
|
8958
8958
|
"typeIdentifier": "t_bytes32",
|
|
8959
8959
|
"typeString": "bytes32"
|
|
8960
8960
|
}
|
|
8961
8961
|
},
|
|
8962
|
-
"src": "
|
|
8962
|
+
"src": "3370:156:67",
|
|
8963
8963
|
"typeDescriptions": {
|
|
8964
8964
|
"typeIdentifier": "t_bytes32",
|
|
8965
8965
|
"typeString": "bytes32"
|
|
8966
8966
|
}
|
|
8967
8967
|
},
|
|
8968
|
-
"id":
|
|
8968
|
+
"id": 20639,
|
|
8969
8969
|
"nodeType": "ExpressionStatement",
|
|
8970
|
-
"src": "
|
|
8970
|
+
"src": "3370:156:67"
|
|
8971
8971
|
},
|
|
8972
8972
|
{
|
|
8973
8973
|
"expression": {
|
|
8974
|
-
"id":
|
|
8974
|
+
"id": 20641,
|
|
8975
8975
|
"isConstant": false,
|
|
8976
8976
|
"isLValue": false,
|
|
8977
8977
|
"isPure": false,
|
|
@@ -8979,14 +8979,14 @@
|
|
|
8979
8979
|
"nodeType": "UnaryOperation",
|
|
8980
8980
|
"operator": "++",
|
|
8981
8981
|
"prefix": true,
|
|
8982
|
-
"src": "
|
|
8982
|
+
"src": "3540:8:67",
|
|
8983
8983
|
"subExpression": {
|
|
8984
|
-
"id":
|
|
8984
|
+
"id": 20640,
|
|
8985
8985
|
"name": "nSlots",
|
|
8986
8986
|
"nodeType": "Identifier",
|
|
8987
8987
|
"overloadedDeclarations": [],
|
|
8988
|
-
"referencedDeclaration":
|
|
8989
|
-
"src": "
|
|
8988
|
+
"referencedDeclaration": 20590,
|
|
8989
|
+
"src": "3542:6:67",
|
|
8990
8990
|
"typeDescriptions": {
|
|
8991
8991
|
"typeIdentifier": "t_uint256",
|
|
8992
8992
|
"typeString": "uint256"
|
|
@@ -8997,9 +8997,9 @@
|
|
|
8997
8997
|
"typeString": "uint256"
|
|
8998
8998
|
}
|
|
8999
8999
|
},
|
|
9000
|
-
"id":
|
|
9000
|
+
"id": 20642,
|
|
9001
9001
|
"nodeType": "ExpressionStatement",
|
|
9002
|
-
"src": "
|
|
9002
|
+
"src": "3540:8:67"
|
|
9003
9003
|
}
|
|
9004
9004
|
]
|
|
9005
9005
|
},
|
|
@@ -9008,18 +9008,18 @@
|
|
|
9008
9008
|
"typeIdentifier": "t_uint32",
|
|
9009
9009
|
"typeString": "uint32"
|
|
9010
9010
|
},
|
|
9011
|
-
"id":
|
|
9011
|
+
"id": 20598,
|
|
9012
9012
|
"isConstant": false,
|
|
9013
9013
|
"isLValue": false,
|
|
9014
9014
|
"isPure": false,
|
|
9015
9015
|
"lValueRequested": false,
|
|
9016
9016
|
"leftExpression": {
|
|
9017
|
-
"id":
|
|
9017
|
+
"id": 20596,
|
|
9018
9018
|
"name": "slotId",
|
|
9019
9019
|
"nodeType": "Identifier",
|
|
9020
9020
|
"overloadedDeclarations": [],
|
|
9021
|
-
"referencedDeclaration":
|
|
9022
|
-
"src": "
|
|
9021
|
+
"referencedDeclaration": 20593,
|
|
9022
|
+
"src": "3215:6:67",
|
|
9023
9023
|
"typeDescriptions": {
|
|
9024
9024
|
"typeIdentifier": "t_uint32",
|
|
9025
9025
|
"typeString": "uint32"
|
|
@@ -9028,38 +9028,38 @@
|
|
|
9028
9028
|
"nodeType": "BinaryOperation",
|
|
9029
9029
|
"operator": "<",
|
|
9030
9030
|
"rightExpression": {
|
|
9031
|
-
"id":
|
|
9031
|
+
"id": 20597,
|
|
9032
9032
|
"name": "_MAX_NUM_SLOTS",
|
|
9033
9033
|
"nodeType": "Identifier",
|
|
9034
9034
|
"overloadedDeclarations": [],
|
|
9035
|
-
"referencedDeclaration":
|
|
9036
|
-
"src": "
|
|
9035
|
+
"referencedDeclaration": 20349,
|
|
9036
|
+
"src": "3224:14:67",
|
|
9037
9037
|
"typeDescriptions": {
|
|
9038
9038
|
"typeIdentifier": "t_uint32",
|
|
9039
9039
|
"typeString": "uint32"
|
|
9040
9040
|
}
|
|
9041
9041
|
},
|
|
9042
|
-
"src": "
|
|
9042
|
+
"src": "3215:23:67",
|
|
9043
9043
|
"typeDescriptions": {
|
|
9044
9044
|
"typeIdentifier": "t_bool",
|
|
9045
9045
|
"typeString": "bool"
|
|
9046
9046
|
}
|
|
9047
9047
|
},
|
|
9048
|
-
"id":
|
|
9048
|
+
"id": 20644,
|
|
9049
9049
|
"initializationExpression": {
|
|
9050
9050
|
"assignments": [
|
|
9051
|
-
|
|
9051
|
+
20593
|
|
9052
9052
|
],
|
|
9053
9053
|
"declarations": [
|
|
9054
9054
|
{
|
|
9055
9055
|
"constant": false,
|
|
9056
|
-
"id":
|
|
9056
|
+
"id": 20593,
|
|
9057
9057
|
"mutability": "mutable",
|
|
9058
9058
|
"name": "slotId",
|
|
9059
|
-
"nameLocation": "
|
|
9059
|
+
"nameLocation": "3203:6:67",
|
|
9060
9060
|
"nodeType": "VariableDeclaration",
|
|
9061
|
-
"scope":
|
|
9062
|
-
"src": "
|
|
9061
|
+
"scope": 20644,
|
|
9062
|
+
"src": "3196:13:67",
|
|
9063
9063
|
"stateVariable": false,
|
|
9064
9064
|
"storageLocation": "default",
|
|
9065
9065
|
"typeDescriptions": {
|
|
@@ -9067,10 +9067,10 @@
|
|
|
9067
9067
|
"typeString": "uint32"
|
|
9068
9068
|
},
|
|
9069
9069
|
"typeName": {
|
|
9070
|
-
"id":
|
|
9070
|
+
"id": 20592,
|
|
9071
9071
|
"name": "uint32",
|
|
9072
9072
|
"nodeType": "ElementaryTypeName",
|
|
9073
|
-
"src": "
|
|
9073
|
+
"src": "3196:6:67",
|
|
9074
9074
|
"typeDescriptions": {
|
|
9075
9075
|
"typeIdentifier": "t_uint32",
|
|
9076
9076
|
"typeString": "uint32"
|
|
@@ -9079,17 +9079,17 @@
|
|
|
9079
9079
|
"visibility": "internal"
|
|
9080
9080
|
}
|
|
9081
9081
|
],
|
|
9082
|
-
"id":
|
|
9082
|
+
"id": 20595,
|
|
9083
9083
|
"initialValue": {
|
|
9084
9084
|
"hexValue": "30",
|
|
9085
|
-
"id":
|
|
9085
|
+
"id": 20594,
|
|
9086
9086
|
"isConstant": false,
|
|
9087
9087
|
"isLValue": false,
|
|
9088
9088
|
"isPure": true,
|
|
9089
9089
|
"kind": "number",
|
|
9090
9090
|
"lValueRequested": false,
|
|
9091
9091
|
"nodeType": "Literal",
|
|
9092
|
-
"src": "
|
|
9092
|
+
"src": "3212:1:67",
|
|
9093
9093
|
"typeDescriptions": {
|
|
9094
9094
|
"typeIdentifier": "t_rational_0_by_1",
|
|
9095
9095
|
"typeString": "int_const 0"
|
|
@@ -9097,11 +9097,11 @@
|
|
|
9097
9097
|
"value": "0"
|
|
9098
9098
|
},
|
|
9099
9099
|
"nodeType": "VariableDeclarationStatement",
|
|
9100
|
-
"src": "
|
|
9100
|
+
"src": "3196:17:67"
|
|
9101
9101
|
},
|
|
9102
9102
|
"loopExpression": {
|
|
9103
9103
|
"expression": {
|
|
9104
|
-
"id":
|
|
9104
|
+
"id": 20600,
|
|
9105
9105
|
"isConstant": false,
|
|
9106
9106
|
"isLValue": false,
|
|
9107
9107
|
"isPure": false,
|
|
@@ -9109,14 +9109,14 @@
|
|
|
9109
9109
|
"nodeType": "UnaryOperation",
|
|
9110
9110
|
"operator": "++",
|
|
9111
9111
|
"prefix": true,
|
|
9112
|
-
"src": "
|
|
9112
|
+
"src": "3240:8:67",
|
|
9113
9113
|
"subExpression": {
|
|
9114
|
-
"id":
|
|
9114
|
+
"id": 20599,
|
|
9115
9115
|
"name": "slotId",
|
|
9116
9116
|
"nodeType": "Identifier",
|
|
9117
9117
|
"overloadedDeclarations": [],
|
|
9118
|
-
"referencedDeclaration":
|
|
9119
|
-
"src": "
|
|
9118
|
+
"referencedDeclaration": 20593,
|
|
9119
|
+
"src": "3242:6:67",
|
|
9120
9120
|
"typeDescriptions": {
|
|
9121
9121
|
"typeIdentifier": "t_uint32",
|
|
9122
9122
|
"typeString": "uint32"
|
|
@@ -9127,17 +9127,17 @@
|
|
|
9127
9127
|
"typeString": "uint32"
|
|
9128
9128
|
}
|
|
9129
9129
|
},
|
|
9130
|
-
"id":
|
|
9130
|
+
"id": 20601,
|
|
9131
9131
|
"nodeType": "ExpressionStatement",
|
|
9132
|
-
"src": "
|
|
9132
|
+
"src": "3240:8:67"
|
|
9133
9133
|
},
|
|
9134
9134
|
"nodeType": "ForStatement",
|
|
9135
|
-
"src": "
|
|
9135
|
+
"src": "3191:368:67"
|
|
9136
9136
|
},
|
|
9137
9137
|
{
|
|
9138
9138
|
"AST": {
|
|
9139
9139
|
"nodeType": "YulBlock",
|
|
9140
|
-
"src": "
|
|
9140
|
+
"src": "3609:84:67",
|
|
9141
9141
|
"statements": [
|
|
9142
9142
|
{
|
|
9143
9143
|
"expression": {
|
|
@@ -9145,24 +9145,24 @@
|
|
|
9145
9145
|
{
|
|
9146
9146
|
"name": "slotIds",
|
|
9147
9147
|
"nodeType": "YulIdentifier",
|
|
9148
|
-
"src": "
|
|
9148
|
+
"src": "3630:7:67"
|
|
9149
9149
|
},
|
|
9150
9150
|
{
|
|
9151
9151
|
"name": "nSlots",
|
|
9152
9152
|
"nodeType": "YulIdentifier",
|
|
9153
|
-
"src": "
|
|
9153
|
+
"src": "3639:6:67"
|
|
9154
9154
|
}
|
|
9155
9155
|
],
|
|
9156
9156
|
"functionName": {
|
|
9157
9157
|
"name": "mstore",
|
|
9158
9158
|
"nodeType": "YulIdentifier",
|
|
9159
|
-
"src": "
|
|
9159
|
+
"src": "3623:6:67"
|
|
9160
9160
|
},
|
|
9161
9161
|
"nodeType": "YulFunctionCall",
|
|
9162
|
-
"src": "
|
|
9162
|
+
"src": "3623:23:67"
|
|
9163
9163
|
},
|
|
9164
9164
|
"nodeType": "YulExpressionStatement",
|
|
9165
|
-
"src": "
|
|
9165
|
+
"src": "3623:23:67"
|
|
9166
9166
|
},
|
|
9167
9167
|
{
|
|
9168
9168
|
"expression": {
|
|
@@ -9170,105 +9170,105 @@
|
|
|
9170
9170
|
{
|
|
9171
9171
|
"name": "dataList",
|
|
9172
9172
|
"nodeType": "YulIdentifier",
|
|
9173
|
-
"src": "
|
|
9173
|
+
"src": "3666:8:67"
|
|
9174
9174
|
},
|
|
9175
9175
|
{
|
|
9176
9176
|
"name": "nSlots",
|
|
9177
9177
|
"nodeType": "YulIdentifier",
|
|
9178
|
-
"src": "
|
|
9178
|
+
"src": "3676:6:67"
|
|
9179
9179
|
}
|
|
9180
9180
|
],
|
|
9181
9181
|
"functionName": {
|
|
9182
9182
|
"name": "mstore",
|
|
9183
9183
|
"nodeType": "YulIdentifier",
|
|
9184
|
-
"src": "
|
|
9184
|
+
"src": "3659:6:67"
|
|
9185
9185
|
},
|
|
9186
9186
|
"nodeType": "YulFunctionCall",
|
|
9187
|
-
"src": "
|
|
9187
|
+
"src": "3659:24:67"
|
|
9188
9188
|
},
|
|
9189
9189
|
"nodeType": "YulExpressionStatement",
|
|
9190
|
-
"src": "
|
|
9190
|
+
"src": "3659:24:67"
|
|
9191
9191
|
}
|
|
9192
9192
|
]
|
|
9193
9193
|
},
|
|
9194
9194
|
"evmVersion": "london",
|
|
9195
9195
|
"externalReferences": [
|
|
9196
9196
|
{
|
|
9197
|
-
"declaration":
|
|
9197
|
+
"declaration": 20553,
|
|
9198
9198
|
"isOffset": false,
|
|
9199
9199
|
"isSlot": false,
|
|
9200
|
-
"src": "
|
|
9200
|
+
"src": "3666:8:67",
|
|
9201
9201
|
"valueSize": 1
|
|
9202
9202
|
},
|
|
9203
9203
|
{
|
|
9204
|
-
"declaration":
|
|
9204
|
+
"declaration": 20590,
|
|
9205
9205
|
"isOffset": false,
|
|
9206
9206
|
"isSlot": false,
|
|
9207
|
-
"src": "
|
|
9207
|
+
"src": "3639:6:67",
|
|
9208
9208
|
"valueSize": 1
|
|
9209
9209
|
},
|
|
9210
9210
|
{
|
|
9211
|
-
"declaration":
|
|
9211
|
+
"declaration": 20590,
|
|
9212
9212
|
"isOffset": false,
|
|
9213
9213
|
"isSlot": false,
|
|
9214
|
-
"src": "
|
|
9214
|
+
"src": "3676:6:67",
|
|
9215
9215
|
"valueSize": 1
|
|
9216
9216
|
},
|
|
9217
9217
|
{
|
|
9218
|
-
"declaration":
|
|
9218
|
+
"declaration": 20550,
|
|
9219
9219
|
"isOffset": false,
|
|
9220
9220
|
"isSlot": false,
|
|
9221
|
-
"src": "
|
|
9221
|
+
"src": "3630:7:67",
|
|
9222
9222
|
"valueSize": 1
|
|
9223
9223
|
}
|
|
9224
9224
|
],
|
|
9225
|
-
"id":
|
|
9225
|
+
"id": 20645,
|
|
9226
9226
|
"nodeType": "InlineAssembly",
|
|
9227
|
-
"src": "
|
|
9227
|
+
"src": "3600:93:67"
|
|
9228
9228
|
}
|
|
9229
9229
|
]
|
|
9230
9230
|
},
|
|
9231
9231
|
"functionSelector": "06967a8c",
|
|
9232
|
-
"id":
|
|
9232
|
+
"id": 20647,
|
|
9233
9233
|
"implemented": true,
|
|
9234
9234
|
"kind": "function",
|
|
9235
9235
|
"modifiers": [],
|
|
9236
9236
|
"name": "listData",
|
|
9237
|
-
"nameLocation": "
|
|
9237
|
+
"nameLocation": "2623:8:67",
|
|
9238
9238
|
"nodeType": "FunctionDefinition",
|
|
9239
9239
|
"parameters": {
|
|
9240
|
-
"id":
|
|
9240
|
+
"id": 20547,
|
|
9241
9241
|
"nodeType": "ParameterList",
|
|
9242
9242
|
"parameters": [
|
|
9243
9243
|
{
|
|
9244
9244
|
"constant": false,
|
|
9245
|
-
"id":
|
|
9245
|
+
"id": 20540,
|
|
9246
9246
|
"mutability": "mutable",
|
|
9247
9247
|
"name": "token",
|
|
9248
|
-
"nameLocation": "
|
|
9248
|
+
"nameLocation": "2657:5:67",
|
|
9249
9249
|
"nodeType": "VariableDeclaration",
|
|
9250
|
-
"scope":
|
|
9251
|
-
"src": "
|
|
9250
|
+
"scope": 20647,
|
|
9251
|
+
"src": "2640:22:67",
|
|
9252
9252
|
"stateVariable": false,
|
|
9253
9253
|
"storageLocation": "default",
|
|
9254
9254
|
"typeDescriptions": {
|
|
9255
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
9255
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
9256
9256
|
"typeString": "contract ISuperfluidToken"
|
|
9257
9257
|
},
|
|
9258
9258
|
"typeName": {
|
|
9259
|
-
"id":
|
|
9259
|
+
"id": 20539,
|
|
9260
9260
|
"nodeType": "UserDefinedTypeName",
|
|
9261
9261
|
"pathNode": {
|
|
9262
|
-
"id":
|
|
9262
|
+
"id": 20538,
|
|
9263
9263
|
"name": "ISuperfluidToken",
|
|
9264
9264
|
"nodeType": "IdentifierPath",
|
|
9265
|
-
"referencedDeclaration":
|
|
9266
|
-
"src": "
|
|
9265
|
+
"referencedDeclaration": 19399,
|
|
9266
|
+
"src": "2640:16:67"
|
|
9267
9267
|
},
|
|
9268
|
-
"referencedDeclaration":
|
|
9269
|
-
"src": "
|
|
9268
|
+
"referencedDeclaration": 19399,
|
|
9269
|
+
"src": "2640:16:67",
|
|
9270
9270
|
"typeDescriptions": {
|
|
9271
|
-
"typeIdentifier": "t_contract$_ISuperfluidToken_$
|
|
9271
|
+
"typeIdentifier": "t_contract$_ISuperfluidToken_$19399",
|
|
9272
9272
|
"typeString": "contract ISuperfluidToken"
|
|
9273
9273
|
}
|
|
9274
9274
|
},
|
|
@@ -9276,13 +9276,13 @@
|
|
|
9276
9276
|
},
|
|
9277
9277
|
{
|
|
9278
9278
|
"constant": false,
|
|
9279
|
-
"id":
|
|
9279
|
+
"id": 20542,
|
|
9280
9280
|
"mutability": "mutable",
|
|
9281
9281
|
"name": "account",
|
|
9282
|
-
"nameLocation": "
|
|
9282
|
+
"nameLocation": "2679:7:67",
|
|
9283
9283
|
"nodeType": "VariableDeclaration",
|
|
9284
|
-
"scope":
|
|
9285
|
-
"src": "
|
|
9284
|
+
"scope": 20647,
|
|
9285
|
+
"src": "2671:15:67",
|
|
9286
9286
|
"stateVariable": false,
|
|
9287
9287
|
"storageLocation": "default",
|
|
9288
9288
|
"typeDescriptions": {
|
|
@@ -9290,10 +9290,10 @@
|
|
|
9290
9290
|
"typeString": "address"
|
|
9291
9291
|
},
|
|
9292
9292
|
"typeName": {
|
|
9293
|
-
"id":
|
|
9293
|
+
"id": 20541,
|
|
9294
9294
|
"name": "address",
|
|
9295
9295
|
"nodeType": "ElementaryTypeName",
|
|
9296
|
-
"src": "
|
|
9296
|
+
"src": "2671:7:67",
|
|
9297
9297
|
"stateMutability": "nonpayable",
|
|
9298
9298
|
"typeDescriptions": {
|
|
9299
9299
|
"typeIdentifier": "t_address",
|
|
@@ -9304,13 +9304,13 @@
|
|
|
9304
9304
|
},
|
|
9305
9305
|
{
|
|
9306
9306
|
"constant": false,
|
|
9307
|
-
"id":
|
|
9307
|
+
"id": 20544,
|
|
9308
9308
|
"mutability": "mutable",
|
|
9309
9309
|
"name": "bitmapStateSlotId",
|
|
9310
|
-
"nameLocation": "
|
|
9310
|
+
"nameLocation": "2703:17:67",
|
|
9311
9311
|
"nodeType": "VariableDeclaration",
|
|
9312
|
-
"scope":
|
|
9313
|
-
"src": "
|
|
9312
|
+
"scope": 20647,
|
|
9313
|
+
"src": "2695:25:67",
|
|
9314
9314
|
"stateVariable": false,
|
|
9315
9315
|
"storageLocation": "default",
|
|
9316
9316
|
"typeDescriptions": {
|
|
@@ -9318,10 +9318,10 @@
|
|
|
9318
9318
|
"typeString": "uint256"
|
|
9319
9319
|
},
|
|
9320
9320
|
"typeName": {
|
|
9321
|
-
"id":
|
|
9321
|
+
"id": 20543,
|
|
9322
9322
|
"name": "uint256",
|
|
9323
9323
|
"nodeType": "ElementaryTypeName",
|
|
9324
|
-
"src": "
|
|
9324
|
+
"src": "2695:7:67",
|
|
9325
9325
|
"typeDescriptions": {
|
|
9326
9326
|
"typeIdentifier": "t_uint256",
|
|
9327
9327
|
"typeString": "uint256"
|
|
@@ -9331,13 +9331,13 @@
|
|
|
9331
9331
|
},
|
|
9332
9332
|
{
|
|
9333
9333
|
"constant": false,
|
|
9334
|
-
"id":
|
|
9334
|
+
"id": 20546,
|
|
9335
9335
|
"mutability": "mutable",
|
|
9336
9336
|
"name": "dataStateSlotIDStart",
|
|
9337
|
-
"nameLocation": "
|
|
9337
|
+
"nameLocation": "2737:20:67",
|
|
9338
9338
|
"nodeType": "VariableDeclaration",
|
|
9339
|
-
"scope":
|
|
9340
|
-
"src": "
|
|
9339
|
+
"scope": 20647,
|
|
9340
|
+
"src": "2729:28:67",
|
|
9341
9341
|
"stateVariable": false,
|
|
9342
9342
|
"storageLocation": "default",
|
|
9343
9343
|
"typeDescriptions": {
|
|
@@ -9345,10 +9345,10 @@
|
|
|
9345
9345
|
"typeString": "uint256"
|
|
9346
9346
|
},
|
|
9347
9347
|
"typeName": {
|
|
9348
|
-
"id":
|
|
9348
|
+
"id": 20545,
|
|
9349
9349
|
"name": "uint256",
|
|
9350
9350
|
"nodeType": "ElementaryTypeName",
|
|
9351
|
-
"src": "
|
|
9351
|
+
"src": "2729:7:67",
|
|
9352
9352
|
"typeDescriptions": {
|
|
9353
9353
|
"typeIdentifier": "t_uint256",
|
|
9354
9354
|
"typeString": "uint256"
|
|
@@ -9357,21 +9357,21 @@
|
|
|
9357
9357
|
"visibility": "internal"
|
|
9358
9358
|
}
|
|
9359
9359
|
],
|
|
9360
|
-
"src": "
|
|
9360
|
+
"src": "2631:132:67"
|
|
9361
9361
|
},
|
|
9362
9362
|
"returnParameters": {
|
|
9363
|
-
"id":
|
|
9363
|
+
"id": 20554,
|
|
9364
9364
|
"nodeType": "ParameterList",
|
|
9365
9365
|
"parameters": [
|
|
9366
9366
|
{
|
|
9367
9367
|
"constant": false,
|
|
9368
|
-
"id":
|
|
9368
|
+
"id": 20550,
|
|
9369
9369
|
"mutability": "mutable",
|
|
9370
9370
|
"name": "slotIds",
|
|
9371
|
-
"nameLocation": "
|
|
9371
|
+
"nameLocation": "2830:7:67",
|
|
9372
9372
|
"nodeType": "VariableDeclaration",
|
|
9373
|
-
"scope":
|
|
9374
|
-
"src": "
|
|
9373
|
+
"scope": 20647,
|
|
9374
|
+
"src": "2814:23:67",
|
|
9375
9375
|
"stateVariable": false,
|
|
9376
9376
|
"storageLocation": "memory",
|
|
9377
9377
|
"typeDescriptions": {
|
|
@@ -9380,18 +9380,18 @@
|
|
|
9380
9380
|
},
|
|
9381
9381
|
"typeName": {
|
|
9382
9382
|
"baseType": {
|
|
9383
|
-
"id":
|
|
9383
|
+
"id": 20548,
|
|
9384
9384
|
"name": "uint32",
|
|
9385
9385
|
"nodeType": "ElementaryTypeName",
|
|
9386
|
-
"src": "
|
|
9386
|
+
"src": "2814:6:67",
|
|
9387
9387
|
"typeDescriptions": {
|
|
9388
9388
|
"typeIdentifier": "t_uint32",
|
|
9389
9389
|
"typeString": "uint32"
|
|
9390
9390
|
}
|
|
9391
9391
|
},
|
|
9392
|
-
"id":
|
|
9392
|
+
"id": 20549,
|
|
9393
9393
|
"nodeType": "ArrayTypeName",
|
|
9394
|
-
"src": "
|
|
9394
|
+
"src": "2814:8:67",
|
|
9395
9395
|
"typeDescriptions": {
|
|
9396
9396
|
"typeIdentifier": "t_array$_t_uint32_$dyn_storage_ptr",
|
|
9397
9397
|
"typeString": "uint32[]"
|
|
@@ -9401,13 +9401,13 @@
|
|
|
9401
9401
|
},
|
|
9402
9402
|
{
|
|
9403
9403
|
"constant": false,
|
|
9404
|
-
"id":
|
|
9404
|
+
"id": 20553,
|
|
9405
9405
|
"mutability": "mutable",
|
|
9406
9406
|
"name": "dataList",
|
|
9407
|
-
"nameLocation": "
|
|
9407
|
+
"nameLocation": "2868:8:67",
|
|
9408
9408
|
"nodeType": "VariableDeclaration",
|
|
9409
|
-
"scope":
|
|
9410
|
-
"src": "
|
|
9409
|
+
"scope": 20647,
|
|
9410
|
+
"src": "2851:25:67",
|
|
9411
9411
|
"stateVariable": false,
|
|
9412
9412
|
"storageLocation": "memory",
|
|
9413
9413
|
"typeDescriptions": {
|
|
@@ -9416,18 +9416,18 @@
|
|
|
9416
9416
|
},
|
|
9417
9417
|
"typeName": {
|
|
9418
9418
|
"baseType": {
|
|
9419
|
-
"id":
|
|
9419
|
+
"id": 20551,
|
|
9420
9420
|
"name": "bytes32",
|
|
9421
9421
|
"nodeType": "ElementaryTypeName",
|
|
9422
|
-
"src": "
|
|
9422
|
+
"src": "2851:7:67",
|
|
9423
9423
|
"typeDescriptions": {
|
|
9424
9424
|
"typeIdentifier": "t_bytes32",
|
|
9425
9425
|
"typeString": "bytes32"
|
|
9426
9426
|
}
|
|
9427
9427
|
},
|
|
9428
|
-
"id":
|
|
9428
|
+
"id": 20552,
|
|
9429
9429
|
"nodeType": "ArrayTypeName",
|
|
9430
|
-
"src": "
|
|
9430
|
+
"src": "2851:9:67",
|
|
9431
9431
|
"typeDescriptions": {
|
|
9432
9432
|
"typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr",
|
|
9433
9433
|
"typeString": "bytes32[]"
|
|
@@ -9436,21 +9436,21 @@
|
|
|
9436
9436
|
"visibility": "internal"
|
|
9437
9437
|
}
|
|
9438
9438
|
],
|
|
9439
|
-
"src": "
|
|
9439
|
+
"src": "2800:77:67"
|
|
9440
9440
|
},
|
|
9441
|
-
"scope":
|
|
9442
|
-
"src": "
|
|
9441
|
+
"scope": 20648,
|
|
9442
|
+
"src": "2614:1085:67",
|
|
9443
9443
|
"stateMutability": "view",
|
|
9444
9444
|
"virtual": false,
|
|
9445
9445
|
"visibility": "public"
|
|
9446
9446
|
}
|
|
9447
9447
|
],
|
|
9448
|
-
"scope":
|
|
9449
|
-
"src": "
|
|
9448
|
+
"scope": 20649,
|
|
9449
|
+
"src": "710:2991:67",
|
|
9450
9450
|
"usedErrors": []
|
|
9451
9451
|
}
|
|
9452
9452
|
],
|
|
9453
|
-
"src": "35:
|
|
9453
|
+
"src": "35:3667:67"
|
|
9454
9454
|
},
|
|
9455
9455
|
"compiler": {
|
|
9456
9456
|
"name": "solc",
|
|
@@ -9458,7 +9458,7 @@
|
|
|
9458
9458
|
},
|
|
9459
9459
|
"networks": {},
|
|
9460
9460
|
"schemaVersion": "3.4.7",
|
|
9461
|
-
"updatedAt": "2022-
|
|
9461
|
+
"updatedAt": "2022-05-06T17:19:48.279Z",
|
|
9462
9462
|
"devdoc": {
|
|
9463
9463
|
"author": "Superfluid",
|
|
9464
9464
|
"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",
|