@superfluid-finance/ethereum-contracts 1.7.2-dev.c99f6f9.0 → 1.7.2-dev.dae8ea5.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/README.md +2 -2
- package/artifacts/contracts/apps/SuperAppBaseFlow.sol/SuperAppBaseFlow.json +13 -13
- package/artifacts/contracts/apps/SuperfluidLoaderLibrary.sol/SuperfluidLoaderLibrary.json +2 -2
- package/artifacts/contracts/mocks/IDASuperAppTester.sol/IDASuperAppTester.json +2 -2
- package/artifacts/contracts/mocks/MockSmartWallet.sol/MockSmartWallet.json +2 -2
- package/artifacts/contracts/mocks/SuperAppBaseFlowTester.sol/SuperAppBaseFlowTester.json +15 -15
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockNotSelfRegistering.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp.json +2 -2
- package/artifacts/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey.json +2 -2
- package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidMock.json +2 -2
- package/artifacts/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester.json +2 -2
- package/artifacts/contracts/superfluid/Superfluid.sol/Superfluid.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeployer.sol/SuperfluidFrameworkDeployer.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/CFAv1ForwarderDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/IDAv1ForwarderDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/ProxyDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperTokenDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidCFAv1DeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidFrameworkDeploymentSteps.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidGovDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidHostDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidIDAv1DeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidLoaderDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidNFTLogicDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/SuperfluidPeripheryDeployerLibrary.json +2 -2
- package/artifacts/contracts/utils/SuperfluidFrameworkDeploymentSteps.sol/TokenDeployerLibrary.json +2 -2
- 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 +165 -165
- package/build/contracts/BaseRelayRecipient.json +57 -57
- package/build/contracts/BatchLiquidator.json +382 -382
- package/build/contracts/BatchOperation.json +614 -614
- package/build/contracts/CFAv1Forwarder.json +1250 -1250
- package/build/contracts/CFAv1ForwarderDeployerLibrary.json +2387 -2387
- package/build/contracts/CFAv1Library.json +389 -389
- package/build/contracts/CallUtils.json +198 -198
- package/build/contracts/ClosingOnUpdateFlowTestApp.json +1525 -1525
- package/build/contracts/ConstantFlowAgreementV1.json +1087 -1087
- package/build/contracts/ConstantInflowNFT.json +402 -402
- package/build/contracts/ConstantOutflowNFT.json +661 -661
- package/build/contracts/Context.json +1 -1
- package/build/contracts/ContextDefinitions.json +614 -614
- package/build/contracts/CustomSuperTokenBase.json +19 -19
- package/build/contracts/ERC165.json +1 -1
- package/build/contracts/ERC1820Implementer.json +1 -1
- package/build/contracts/ERC1820RegistryCompiled.json +22 -22
- package/build/contracts/ERC20.json +1 -1
- package/build/contracts/ERC20WithTokenInfo.json +23 -23
- package/build/contracts/ERC777Helper.json +384 -384
- package/build/contracts/ERC777RecipientDrainingGas.json +863 -863
- package/build/contracts/ERC777RecipientReverting.json +863 -863
- package/build/contracts/EnumerableSet.json +1 -1
- package/build/contracts/EventsEmitter.json +43 -43
- package/build/contracts/ExclusiveInflowTestApp.json +1525 -1525
- package/build/contracts/FixedSizeData.json +200 -200
- package/build/contracts/FlowExchangeTestApp.json +1526 -1526
- package/build/contracts/FlowNFTBase.json +1280 -1280
- package/build/contracts/FlowOperatorDefinitions.json +614 -614
- package/build/contracts/ForwarderBase.json +190 -190
- package/build/contracts/FullUpgradableSuperTokenProxy.json +116 -116
- package/build/contracts/IAccessControl.json +1 -1
- package/build/contracts/IAccessControlEnumerable.json +1 -1
- package/build/contracts/IConstantFlowAgreementV1.json +677 -677
- package/build/contracts/IConstantInflowNFT.json +54 -54
- package/build/contracts/IConstantOutflowNFT.json +107 -107
- package/build/contracts/IDAv1Forwarder.json +912 -912
- package/build/contracts/IDAv1ForwarderDeployerLibrary.json +2387 -2387
- package/build/contracts/IDAv1Library.json +430 -430
- package/build/contracts/IERC165.json +1 -1
- package/build/contracts/IERC1820Implementer.json +1 -1
- package/build/contracts/IERC1820Registry.json +1 -1
- package/build/contracts/IERC20.json +1 -1
- package/build/contracts/IERC20Metadata.json +1 -1
- package/build/contracts/IERC20Permit.json +1 -1
- package/build/contracts/IERC721.json +1 -1
- package/build/contracts/IERC721Metadata.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/IFlowNFTBase.json +115 -115
- package/build/contracts/IInstantDistributionAgreementV1.json +667 -667
- package/build/contracts/IMultiSigWallet.json +31 -31
- package/build/contracts/IPoolAdminNFT.json +7 -7
- package/build/contracts/IPoolMemberNFT.json +7 -7
- package/build/contracts/IPureSuperToken.json +62 -62
- package/build/contracts/IPureSuperTokenCustom.json +62 -62
- package/build/contracts/IRelayRecipient.json +27 -27
- package/build/contracts/IResolver.json +38 -38
- package/build/contracts/ISETH.json +67 -67
- package/build/contracts/ISETHCustom.json +67 -67
- package/build/contracts/ISuperAgreement.json +50 -50
- package/build/contracts/ISuperApp.json +191 -191
- package/build/contracts/ISuperToken.json +695 -695
- package/build/contracts/ISuperTokenFactory.json +225 -225
- package/build/contracts/ISuperfluid.json +904 -904
- package/build/contracts/ISuperfluidGovernance.json +251 -251
- package/build/contracts/ISuperfluidToken.json +407 -407
- package/build/contracts/ITOGAv1.json +1346 -1346
- package/build/contracts/ITOGAv2.json +1346 -1346
- package/build/contracts/ITOGAv3.json +1346 -1346
- package/build/contracts/Initializable.json +1 -1
- package/build/contracts/InstantDistributionAgreementV1.json +594 -594
- package/build/contracts/Math.json +1 -1
- package/build/contracts/NonClosableOutflowTestApp.json +1526 -1526
- package/build/contracts/Ownable.json +1 -1
- package/build/contracts/Proxy.json +1 -1
- package/build/contracts/ProxyDeployerLibrary.json +2385 -2385
- 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/SafeGasLibrary.json +51 -51
- package/build/contracts/SafeMath.json +1 -1
- package/build/contracts/SelfDeletingFlowTestApp.json +1525 -1525
- package/build/contracts/SlotsBitmapLibrary.json +457 -457
- package/build/contracts/StreamRedirector.json +704 -704
- package/build/contracts/Strings.json +1 -1
- package/build/contracts/SuperAppBase.json +42 -42
- package/build/contracts/SuperAppBaseFlow.json +1580 -1537
- package/build/contracts/SuperAppDefinitions.json +614 -614
- package/build/contracts/SuperToken.json +2714 -2714
- package/build/contracts/SuperTokenDeployerLibrary.json +2386 -2386
- package/build/contracts/SuperTokenFactory.json +1347 -1347
- package/build/contracts/SuperTokenFactoryBase.json +1329 -1329
- package/build/contracts/SuperTokenV1Library.json +5632 -5632
- package/build/contracts/SuperUpgrader.json +439 -439
- package/build/contracts/Superfluid.json +7999 -7996
- package/build/contracts/SuperfluidCFAv1DeployerLibrary.json +2386 -2386
- package/build/contracts/SuperfluidFrameworkDeployer.json +1263 -1263
- package/build/contracts/SuperfluidFrameworkDeploymentSteps.json +2385 -2385
- package/build/contracts/SuperfluidGovDeployerLibrary.json +2386 -2386
- package/build/contracts/SuperfluidGovernanceBase.json +2449 -2449
- package/build/contracts/SuperfluidGovernanceConfigs.json +614 -614
- package/build/contracts/SuperfluidGovernanceII.json +155 -155
- package/build/contracts/SuperfluidGovernanceIIProxy.json +135 -135
- package/build/contracts/SuperfluidHostDeployerLibrary.json +2385 -2385
- package/build/contracts/SuperfluidIDAv1DeployerLibrary.json +2386 -2386
- package/build/contracts/SuperfluidLoader.json +207 -207
- package/build/contracts/SuperfluidLoaderDeployerLibrary.json +2387 -2387
- package/build/contracts/SuperfluidLoaderLibrary.json +481 -480
- package/build/contracts/SuperfluidNFTLogicDeployerLibrary.json +2390 -2390
- package/build/contracts/SuperfluidPeripheryDeployerLibrary.json +2388 -2388
- package/build/contracts/SuperfluidToken.json +1423 -1423
- package/build/contracts/TOGA.json +1360 -1360
- package/build/contracts/TestGovernance.json +250 -250
- package/build/contracts/TestResolver.json +47 -47
- package/build/contracts/TestToken.json +102 -102
- package/build/contracts/TokenDeployerLibrary.json +2387 -2387
- package/build/contracts/TokenInfo.json +32 -32
- package/build/contracts/UUPSProxiable.json +139 -139
- package/build/contracts/UUPSProxy.json +81 -81
- package/build/contracts/UUPSUtils.json +37 -37
- package/build/contracts-sizes.txt +15 -15
- package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts +9 -9
- package/build/typechain/contracts/apps/SuperAppBaseFlow.d.ts.map +1 -1
- package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts +9 -9
- package/build/typechain/contracts/mocks/SuperAppBaseFlowTester.d.ts.map +1 -1
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.d.ts +10 -10
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js +13 -13
- package/build/typechain/factories/contracts/apps/SuperAppBaseFlow__factory.js.map +1 -1
- package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/apps/SuperfluidLoaderLibrary__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/IDASuperAppTester__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/MockSmartWallet__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts +11 -11
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.d.ts.map +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js +14 -14
- package/build/typechain/factories/contracts/mocks/SuperAppBaseFlowTester__factory.js.map +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppFactoryMock__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock2ndLevel__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockAux__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningEmptyCtx__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockReturningInvalidCtx__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockUsingDeprecatedRegisterApp__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMockWithRegistrationKey__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperAppMocks.sol/SuperAppMock__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidMock__factory.js +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/mocks/SuperfluidMock.sol/SuperfluidUpgradabilityTester__factory.js +1 -1
- package/build/typechain/factories/contracts/superfluid/Superfluid__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/superfluid/Superfluid__factory.js +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeployer__factory.js +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.d.ts +1 -1
- package/build/typechain/factories/contracts/utils/SuperfluidFrameworkDeploymentSteps__factory.js +1 -1
- package/contracts/apps/SuperAppBaseFlow.sol +11 -10
- package/contracts/apps/SuperfluidLoaderLibrary.sol +1 -1
- package/contracts/superfluid/Superfluid.sol +1 -0
- package/package.json +4 -3
|
@@ -19772,7 +19772,7 @@
|
|
|
19772
19772
|
},
|
|
19773
19773
|
"networks": {},
|
|
19774
19774
|
"schemaVersion": "3.4.13",
|
|
19775
|
-
"updatedAt": "2023-
|
|
19775
|
+
"updatedAt": "2023-08-06T18:11:20.758Z",
|
|
19776
19776
|
"devdoc": {
|
|
19777
19777
|
"details": "Wrappers over Solidity's uintXX/intXX casting operators with added overflow checks. Downcasting from uint256/int256 in Solidity does not revert on overflow. This can easily result in undesired exploitation or bugs, since developers usually assume that overflows raise errors. `SafeCast` restores this intuition by reverting the transaction when such an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always. Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing all math on `uint256` and `int256` and then downcasting.",
|
|
19778
19778
|
"kind": "dev",
|
|
@@ -3901,7 +3901,7 @@
|
|
|
3901
3901
|
},
|
|
3902
3902
|
"networks": {},
|
|
3903
3903
|
"schemaVersion": "3.4.13",
|
|
3904
|
-
"updatedAt": "2023-
|
|
3904
|
+
"updatedAt": "2023-08-06T18:11:20.731Z",
|
|
3905
3905
|
"devdoc": {
|
|
3906
3906
|
"details": "Wrappers around ERC20 operations that throw on failure (when the token contract returns false). Tokens that return no value (and instead revert or throw on failure) are also supported, non-reverting calls are assumed to be successful. To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, which allows you to call the safe operations as `token.safeTransfer(...)`, etc.",
|
|
3907
3907
|
"kind": "dev",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"absolutePath": "project:/contracts/libs/SafeGasLibrary.sol",
|
|
22
22
|
"exportedSymbols": {
|
|
23
23
|
"SafeGasLibrary": [
|
|
24
|
-
|
|
24
|
+
26262
|
|
25
25
|
]
|
|
26
26
|
},
|
|
27
|
-
"id":
|
|
27
|
+
"id": 26263,
|
|
28
28
|
"license": "AGPLv3",
|
|
29
29
|
"nodeType": "SourceUnit",
|
|
30
30
|
"nodes": [
|
|
31
31
|
{
|
|
32
|
-
"id":
|
|
32
|
+
"id": 26228,
|
|
33
33
|
"literals": [
|
|
34
34
|
"solidity",
|
|
35
35
|
"0.8",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"contractDependencies": [],
|
|
46
46
|
"contractKind": "library",
|
|
47
47
|
"documentation": {
|
|
48
|
-
"id":
|
|
48
|
+
"id": 26229,
|
|
49
49
|
"nodeType": "StructuredDocumentation",
|
|
50
50
|
"src": "60:114:71",
|
|
51
51
|
"text": "@title SafeGasLibrary\n @author Superfluid\n @notice An internal library used to handle out of gas errors"
|
|
52
52
|
},
|
|
53
53
|
"fullyImplemented": true,
|
|
54
|
-
"id":
|
|
54
|
+
"id": 26262,
|
|
55
55
|
"linearizedBaseContracts": [
|
|
56
|
-
|
|
56
|
+
26262
|
|
57
57
|
],
|
|
58
58
|
"name": "SafeGasLibrary",
|
|
59
59
|
"nameLocation": "182:14:71",
|
|
@@ -61,12 +61,12 @@
|
|
|
61
61
|
"nodes": [
|
|
62
62
|
{
|
|
63
63
|
"errorSelector": "20afada5",
|
|
64
|
-
"id":
|
|
64
|
+
"id": 26231,
|
|
65
65
|
"name": "OUT_OF_GAS",
|
|
66
66
|
"nameLocation": "209:10:71",
|
|
67
67
|
"nodeType": "ErrorDefinition",
|
|
68
68
|
"parameters": {
|
|
69
|
-
"id":
|
|
69
|
+
"id": 26230,
|
|
70
70
|
"nodeType": "ParameterList",
|
|
71
71
|
"parameters": [],
|
|
72
72
|
"src": "219:2:71"
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
"body": {
|
|
78
|
-
"id":
|
|
78
|
+
"id": 26245,
|
|
79
79
|
"nodeType": "Block",
|
|
80
80
|
"src": "315:55:71",
|
|
81
81
|
"statements": [
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"typeIdentifier": "t_uint256",
|
|
86
86
|
"typeString": "uint256"
|
|
87
87
|
},
|
|
88
|
-
"id":
|
|
88
|
+
"id": 26243,
|
|
89
89
|
"isConstant": false,
|
|
90
90
|
"isLValue": false,
|
|
91
91
|
"isPure": false,
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"arguments": [],
|
|
95
95
|
"expression": {
|
|
96
96
|
"argumentTypes": [],
|
|
97
|
-
"id":
|
|
97
|
+
"id": 26238,
|
|
98
98
|
"name": "gasleft",
|
|
99
99
|
"nodeType": "Identifier",
|
|
100
100
|
"overloadedDeclarations": [],
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"typeString": "function () view returns (uint256)"
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
-
"id":
|
|
108
|
+
"id": 26239,
|
|
109
109
|
"isConstant": false,
|
|
110
110
|
"isLValue": false,
|
|
111
111
|
"isPure": false,
|
|
@@ -128,17 +128,17 @@
|
|
|
128
128
|
"typeIdentifier": "t_uint256",
|
|
129
129
|
"typeString": "uint256"
|
|
130
130
|
},
|
|
131
|
-
"id":
|
|
131
|
+
"id": 26242,
|
|
132
132
|
"isConstant": false,
|
|
133
133
|
"isLValue": false,
|
|
134
134
|
"isPure": false,
|
|
135
135
|
"lValueRequested": false,
|
|
136
136
|
"leftExpression": {
|
|
137
|
-
"id":
|
|
137
|
+
"id": 26240,
|
|
138
138
|
"name": "gasLeftBefore",
|
|
139
139
|
"nodeType": "Identifier",
|
|
140
140
|
"overloadedDeclarations": [],
|
|
141
|
-
"referencedDeclaration":
|
|
141
|
+
"referencedDeclaration": 26233,
|
|
142
142
|
"src": "345:13:71",
|
|
143
143
|
"typeDescriptions": {
|
|
144
144
|
"typeIdentifier": "t_uint256",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"operator": "/",
|
|
150
150
|
"rightExpression": {
|
|
151
151
|
"hexValue": "3633",
|
|
152
|
-
"id":
|
|
152
|
+
"id": 26241,
|
|
153
153
|
"isConstant": false,
|
|
154
154
|
"isLValue": false,
|
|
155
155
|
"isPure": true,
|
|
@@ -175,14 +175,14 @@
|
|
|
175
175
|
"typeString": "bool"
|
|
176
176
|
}
|
|
177
177
|
},
|
|
178
|
-
"functionReturnParameters":
|
|
179
|
-
"id":
|
|
178
|
+
"functionReturnParameters": 26237,
|
|
179
|
+
"id": 26244,
|
|
180
180
|
"nodeType": "Return",
|
|
181
181
|
"src": "325:38:71"
|
|
182
182
|
}
|
|
183
183
|
]
|
|
184
184
|
},
|
|
185
|
-
"id":
|
|
185
|
+
"id": 26246,
|
|
186
186
|
"implemented": true,
|
|
187
187
|
"kind": "function",
|
|
188
188
|
"modifiers": [],
|
|
@@ -190,17 +190,17 @@
|
|
|
190
190
|
"nameLocation": "251:11:71",
|
|
191
191
|
"nodeType": "FunctionDefinition",
|
|
192
192
|
"parameters": {
|
|
193
|
-
"id":
|
|
193
|
+
"id": 26234,
|
|
194
194
|
"nodeType": "ParameterList",
|
|
195
195
|
"parameters": [
|
|
196
196
|
{
|
|
197
197
|
"constant": false,
|
|
198
|
-
"id":
|
|
198
|
+
"id": 26233,
|
|
199
199
|
"mutability": "mutable",
|
|
200
200
|
"name": "gasLeftBefore",
|
|
201
201
|
"nameLocation": "271:13:71",
|
|
202
202
|
"nodeType": "VariableDeclaration",
|
|
203
|
-
"scope":
|
|
203
|
+
"scope": 26246,
|
|
204
204
|
"src": "263:21:71",
|
|
205
205
|
"stateVariable": false,
|
|
206
206
|
"storageLocation": "default",
|
|
@@ -209,7 +209,7 @@
|
|
|
209
209
|
"typeString": "uint256"
|
|
210
210
|
},
|
|
211
211
|
"typeName": {
|
|
212
|
-
"id":
|
|
212
|
+
"id": 26232,
|
|
213
213
|
"name": "uint256",
|
|
214
214
|
"nodeType": "ElementaryTypeName",
|
|
215
215
|
"src": "263:7:71",
|
|
@@ -224,17 +224,17 @@
|
|
|
224
224
|
"src": "262:23:71"
|
|
225
225
|
},
|
|
226
226
|
"returnParameters": {
|
|
227
|
-
"id":
|
|
227
|
+
"id": 26237,
|
|
228
228
|
"nodeType": "ParameterList",
|
|
229
229
|
"parameters": [
|
|
230
230
|
{
|
|
231
231
|
"constant": false,
|
|
232
|
-
"id":
|
|
232
|
+
"id": 26236,
|
|
233
233
|
"mutability": "mutable",
|
|
234
234
|
"name": "",
|
|
235
235
|
"nameLocation": "-1:-1:-1",
|
|
236
236
|
"nodeType": "VariableDeclaration",
|
|
237
|
-
"scope":
|
|
237
|
+
"scope": 26246,
|
|
238
238
|
"src": "309:4:71",
|
|
239
239
|
"stateVariable": false,
|
|
240
240
|
"storageLocation": "default",
|
|
@@ -243,7 +243,7 @@
|
|
|
243
243
|
"typeString": "bool"
|
|
244
244
|
},
|
|
245
245
|
"typeName": {
|
|
246
|
-
"id":
|
|
246
|
+
"id": 26235,
|
|
247
247
|
"name": "bool",
|
|
248
248
|
"nodeType": "ElementaryTypeName",
|
|
249
249
|
"src": "309:4:71",
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
],
|
|
258
258
|
"src": "308:6:71"
|
|
259
259
|
},
|
|
260
|
-
"scope":
|
|
260
|
+
"scope": 26262,
|
|
261
261
|
"src": "242:128:71",
|
|
262
262
|
"stateMutability": "view",
|
|
263
263
|
"virtual": false,
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"body": {
|
|
268
|
-
"id":
|
|
268
|
+
"id": 26260,
|
|
269
269
|
"nodeType": "Block",
|
|
270
270
|
"src": "592:416:71",
|
|
271
271
|
"statements": [
|
|
@@ -273,11 +273,11 @@
|
|
|
273
273
|
"condition": {
|
|
274
274
|
"arguments": [
|
|
275
275
|
{
|
|
276
|
-
"id":
|
|
276
|
+
"id": 26253,
|
|
277
277
|
"name": "gasLeftBefore",
|
|
278
278
|
"nodeType": "Identifier",
|
|
279
279
|
"overloadedDeclarations": [],
|
|
280
|
-
"referencedDeclaration":
|
|
280
|
+
"referencedDeclaration": 26249,
|
|
281
281
|
"src": "942:13:71",
|
|
282
282
|
"typeDescriptions": {
|
|
283
283
|
"typeIdentifier": "t_uint256",
|
|
@@ -292,18 +292,18 @@
|
|
|
292
292
|
"typeString": "uint256"
|
|
293
293
|
}
|
|
294
294
|
],
|
|
295
|
-
"id":
|
|
295
|
+
"id": 26252,
|
|
296
296
|
"name": "_isOutOfGas",
|
|
297
297
|
"nodeType": "Identifier",
|
|
298
298
|
"overloadedDeclarations": [],
|
|
299
|
-
"referencedDeclaration":
|
|
299
|
+
"referencedDeclaration": 26246,
|
|
300
300
|
"src": "930:11:71",
|
|
301
301
|
"typeDescriptions": {
|
|
302
302
|
"typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$",
|
|
303
303
|
"typeString": "function (uint256) view returns (bool)"
|
|
304
304
|
}
|
|
305
305
|
},
|
|
306
|
-
"id":
|
|
306
|
+
"id": 26254,
|
|
307
307
|
"isConstant": false,
|
|
308
308
|
"isLValue": false,
|
|
309
309
|
"isPure": false,
|
|
@@ -319,11 +319,11 @@
|
|
|
319
319
|
"typeString": "bool"
|
|
320
320
|
}
|
|
321
321
|
},
|
|
322
|
-
"id":
|
|
322
|
+
"id": 26259,
|
|
323
323
|
"nodeType": "IfStatement",
|
|
324
324
|
"src": "926:76:71",
|
|
325
325
|
"trueBody": {
|
|
326
|
-
"id":
|
|
326
|
+
"id": 26258,
|
|
327
327
|
"nodeType": "Block",
|
|
328
328
|
"src": "958:44:71",
|
|
329
329
|
"statements": [
|
|
@@ -332,18 +332,18 @@
|
|
|
332
332
|
"arguments": [],
|
|
333
333
|
"expression": {
|
|
334
334
|
"argumentTypes": [],
|
|
335
|
-
"id":
|
|
335
|
+
"id": 26255,
|
|
336
336
|
"name": "OUT_OF_GAS",
|
|
337
337
|
"nodeType": "Identifier",
|
|
338
338
|
"overloadedDeclarations": [],
|
|
339
|
-
"referencedDeclaration":
|
|
339
|
+
"referencedDeclaration": 26231,
|
|
340
340
|
"src": "979:10:71",
|
|
341
341
|
"typeDescriptions": {
|
|
342
342
|
"typeIdentifier": "t_function_error_pure$__$returns$__$",
|
|
343
343
|
"typeString": "function () pure"
|
|
344
344
|
}
|
|
345
345
|
},
|
|
346
|
-
"id":
|
|
346
|
+
"id": 26256,
|
|
347
347
|
"isConstant": false,
|
|
348
348
|
"isLValue": false,
|
|
349
349
|
"isPure": false,
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
"typeString": "tuple()"
|
|
360
360
|
}
|
|
361
361
|
},
|
|
362
|
-
"id":
|
|
362
|
+
"id": 26257,
|
|
363
363
|
"nodeType": "RevertStatement",
|
|
364
364
|
"src": "972:19:71"
|
|
365
365
|
}
|
|
@@ -369,12 +369,12 @@
|
|
|
369
369
|
]
|
|
370
370
|
},
|
|
371
371
|
"documentation": {
|
|
372
|
-
"id":
|
|
372
|
+
"id": 26247,
|
|
373
373
|
"nodeType": "StructuredDocumentation",
|
|
374
374
|
"src": "376:145:71",
|
|
375
375
|
"text": "@dev A function used in the catch block to handle true out of gas errors\n @param gasLeftBefore the gas left before the try/catch block"
|
|
376
376
|
},
|
|
377
|
-
"id":
|
|
377
|
+
"id": 26261,
|
|
378
378
|
"implemented": true,
|
|
379
379
|
"kind": "function",
|
|
380
380
|
"modifiers": [],
|
|
@@ -382,17 +382,17 @@
|
|
|
382
382
|
"nameLocation": "535:19:71",
|
|
383
383
|
"nodeType": "FunctionDefinition",
|
|
384
384
|
"parameters": {
|
|
385
|
-
"id":
|
|
385
|
+
"id": 26250,
|
|
386
386
|
"nodeType": "ParameterList",
|
|
387
387
|
"parameters": [
|
|
388
388
|
{
|
|
389
389
|
"constant": false,
|
|
390
|
-
"id":
|
|
390
|
+
"id": 26249,
|
|
391
391
|
"mutability": "mutable",
|
|
392
392
|
"name": "gasLeftBefore",
|
|
393
393
|
"nameLocation": "563:13:71",
|
|
394
394
|
"nodeType": "VariableDeclaration",
|
|
395
|
-
"scope":
|
|
395
|
+
"scope": 26261,
|
|
396
396
|
"src": "555:21:71",
|
|
397
397
|
"stateVariable": false,
|
|
398
398
|
"storageLocation": "default",
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
"typeString": "uint256"
|
|
402
402
|
},
|
|
403
403
|
"typeName": {
|
|
404
|
-
"id":
|
|
404
|
+
"id": 26248,
|
|
405
405
|
"name": "uint256",
|
|
406
406
|
"nodeType": "ElementaryTypeName",
|
|
407
407
|
"src": "555:7:71",
|
|
@@ -416,22 +416,22 @@
|
|
|
416
416
|
"src": "554:23:71"
|
|
417
417
|
},
|
|
418
418
|
"returnParameters": {
|
|
419
|
-
"id":
|
|
419
|
+
"id": 26251,
|
|
420
420
|
"nodeType": "ParameterList",
|
|
421
421
|
"parameters": [],
|
|
422
422
|
"src": "592:0:71"
|
|
423
423
|
},
|
|
424
|
-
"scope":
|
|
424
|
+
"scope": 26262,
|
|
425
425
|
"src": "526:482:71",
|
|
426
426
|
"stateMutability": "view",
|
|
427
427
|
"virtual": false,
|
|
428
428
|
"visibility": "internal"
|
|
429
429
|
}
|
|
430
430
|
],
|
|
431
|
-
"scope":
|
|
431
|
+
"scope": 26263,
|
|
432
432
|
"src": "174:836:71",
|
|
433
433
|
"usedErrors": [
|
|
434
|
-
|
|
434
|
+
26231
|
|
435
435
|
]
|
|
436
436
|
}
|
|
437
437
|
],
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
},
|
|
444
444
|
"networks": {},
|
|
445
445
|
"schemaVersion": "3.4.13",
|
|
446
|
-
"updatedAt": "2023-
|
|
446
|
+
"updatedAt": "2023-08-06T18:11:20.948Z",
|
|
447
447
|
"devdoc": {
|
|
448
448
|
"author": "Superfluid",
|
|
449
449
|
"kind": "dev",
|
|
@@ -3773,7 +3773,7 @@
|
|
|
3773
3773
|
},
|
|
3774
3774
|
"networks": {},
|
|
3775
3775
|
"schemaVersion": "3.4.13",
|
|
3776
|
-
"updatedAt": "2023-
|
|
3776
|
+
"updatedAt": "2023-08-06T18:11:20.769Z",
|
|
3777
3777
|
"devdoc": {
|
|
3778
3778
|
"details": "Wrappers over Solidity's arithmetic operations. NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler now has built in overflow checking.",
|
|
3779
3779
|
"kind": "dev",
|