@superfluid-finance/sdk-core 0.5.6-dev.e55bf9f.0 → 0.5.6-dev.e675dbc.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/CHANGELOG.md +7 -4
- package/dist/index.umd.js +20523 -19064
- package/dist/main/Framework.d.ts +1 -2
- package/dist/main/Framework.d.ts.map +1 -1
- package/dist/main/Framework.js.map +1 -1
- package/dist/main/SFError.d.ts.map +1 -1
- package/dist/main/SFError.js +1 -0
- package/dist/main/SFError.js.map +1 -1
- package/dist/main/abi/IConstantFlowAgreementV1.json +70 -0
- package/dist/main/abi/IInstantDistributionAgreementV1.json +10 -0
- package/dist/main/abi/ISETH.json +25 -0
- package/dist/main/abi/SuperToken.json +91 -0
- package/dist/main/abi/Superfluid.json +150 -13
- package/dist/main/abi/SuperfluidGovernanceII.json +161 -17
- package/dist/main/typechain/Superfluid.d.ts +1 -9
- package/dist/main/typechain/Superfluid.d.ts.map +1 -1
- package/dist/main/typechain/SuperfluidGovernanceII.d.ts +104 -21
- package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
- package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
- package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
- package/dist/main/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
- package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
- package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
- package/dist/main/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
- package/dist/main/typechain/factories/ISETH__factory.d.ts +7 -0
- package/dist/main/typechain/factories/ISETH__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/ISETH__factory.js +25 -0
- package/dist/main/typechain/factories/ISETH__factory.js.map +1 -1
- package/dist/main/typechain/factories/SuperToken__factory.d.ts +12 -1
- package/dist/main/typechain/factories/SuperToken__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/SuperToken__factory.js +91 -0
- package/dist/main/typechain/factories/SuperToken__factory.js.map +1 -1
- package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
- package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
- package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
- package/dist/main/typechain/factories/Superfluid__factory.d.ts +12 -1
- package/dist/main/typechain/factories/Superfluid__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/Superfluid__factory.js +150 -13
- package/dist/main/typechain/factories/Superfluid__factory.js.map +1 -1
- package/dist/module/Framework.d.ts +1 -2
- package/dist/module/Framework.d.ts.map +1 -1
- package/dist/module/Framework.js.map +1 -1
- package/dist/module/SFError.d.ts.map +1 -1
- package/dist/module/SFError.js +1 -0
- package/dist/module/SFError.js.map +1 -1
- package/dist/module/abi/IConstantFlowAgreementV1.json +70 -0
- package/dist/module/abi/IInstantDistributionAgreementV1.json +10 -0
- package/dist/module/abi/ISETH.json +25 -0
- package/dist/module/abi/SuperToken.json +91 -0
- package/dist/module/abi/Superfluid.json +150 -13
- package/dist/module/abi/SuperfluidGovernanceII.json +161 -17
- package/dist/module/typechain/Superfluid.d.ts +1 -9
- package/dist/module/typechain/Superfluid.d.ts.map +1 -1
- package/dist/module/typechain/SuperfluidGovernanceII.d.ts +104 -21
- package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
- package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts +7 -0
- package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js +70 -0
- package/dist/module/typechain/factories/IConstantFlowAgreementV1__factory.js.map +1 -1
- package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts +7 -0
- package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js +10 -0
- package/dist/module/typechain/factories/IInstantDistributionAgreementV1__factory.js.map +1 -1
- package/dist/module/typechain/factories/ISETH__factory.d.ts +7 -0
- package/dist/module/typechain/factories/ISETH__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/ISETH__factory.js +25 -0
- package/dist/module/typechain/factories/ISETH__factory.js.map +1 -1
- package/dist/module/typechain/factories/SuperToken__factory.d.ts +12 -1
- package/dist/module/typechain/factories/SuperToken__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/SuperToken__factory.js +91 -0
- package/dist/module/typechain/factories/SuperToken__factory.js.map +1 -1
- package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts +11 -0
- package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +161 -17
- package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
- package/dist/module/typechain/factories/Superfluid__factory.d.ts +12 -1
- package/dist/module/typechain/factories/Superfluid__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/Superfluid__factory.js +150 -13
- package/dist/module/typechain/factories/Superfluid__factory.js.map +1 -1
- package/package.json +8 -9
|
@@ -15,6 +15,156 @@
|
|
|
15
15
|
"stateMutability": "nonpayable",
|
|
16
16
|
"type": "constructor"
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
"inputs": [
|
|
20
|
+
{
|
|
21
|
+
"internalType": "uint256",
|
|
22
|
+
"name": "_code",
|
|
23
|
+
"type": "uint256"
|
|
24
|
+
}
|
|
25
|
+
],
|
|
26
|
+
"name": "ALREADY_EXISTS",
|
|
27
|
+
"type": "error"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"inputs": [
|
|
31
|
+
{
|
|
32
|
+
"internalType": "uint256",
|
|
33
|
+
"name": "_code",
|
|
34
|
+
"type": "uint256"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"name": "APP_RULE",
|
|
38
|
+
"type": "error"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"inputs": [
|
|
42
|
+
{
|
|
43
|
+
"internalType": "uint256",
|
|
44
|
+
"name": "_code",
|
|
45
|
+
"type": "uint256"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"name": "DOES_NOT_EXIST",
|
|
49
|
+
"type": "error"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"inputs": [],
|
|
53
|
+
"name": "HOST_AGREEMENT_CALLBACK_IS_NOT_ACTION",
|
|
54
|
+
"type": "error"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"inputs": [],
|
|
58
|
+
"name": "HOST_CALL_AGREEMENT_WITH_CTX_FROM_WRONG_ADDRESS",
|
|
59
|
+
"type": "error"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"inputs": [],
|
|
63
|
+
"name": "HOST_CALL_APP_ACTION_WITH_CTX_FROM_WRONG_ADDRESS",
|
|
64
|
+
"type": "error"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"inputs": [],
|
|
68
|
+
"name": "HOST_CANNOT_DOWNGRADE_TO_NON_UPGRADEABLE",
|
|
69
|
+
"type": "error"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"inputs": [],
|
|
73
|
+
"name": "HOST_INVALID_CONFIG_WORD",
|
|
74
|
+
"type": "error"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"inputs": [],
|
|
78
|
+
"name": "HOST_INVALID_OR_EXPIRED_SUPER_APP_REGISTRATION_KEY",
|
|
79
|
+
"type": "error"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"inputs": [],
|
|
83
|
+
"name": "HOST_MAX_256_AGREEMENTS",
|
|
84
|
+
"type": "error"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"inputs": [],
|
|
88
|
+
"name": "HOST_NON_UPGRADEABLE",
|
|
89
|
+
"type": "error"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"inputs": [],
|
|
93
|
+
"name": "HOST_NON_ZERO_LENGTH_PLACEHOLDER_CTX",
|
|
94
|
+
"type": "error"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"inputs": [],
|
|
98
|
+
"name": "HOST_NOT_A_SUPER_APP",
|
|
99
|
+
"type": "error"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"inputs": [],
|
|
103
|
+
"name": "HOST_NO_APP_REGISTRATION_PERMISSIONS",
|
|
104
|
+
"type": "error"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"inputs": [],
|
|
108
|
+
"name": "HOST_ONLY_GOVERNANCE",
|
|
109
|
+
"type": "error"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"inputs": [],
|
|
113
|
+
"name": "HOST_RECEIVER_IS_NOT_SUPER_APP",
|
|
114
|
+
"type": "error"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"inputs": [],
|
|
118
|
+
"name": "HOST_SENDER_IS_NOT_SUPER_APP",
|
|
119
|
+
"type": "error"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"inputs": [],
|
|
123
|
+
"name": "HOST_SOURCE_APP_NEEDS_HIGHER_APP_LEVEL",
|
|
124
|
+
"type": "error"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"inputs": [],
|
|
128
|
+
"name": "HOST_SUPER_APP_ALREADY_REGISTERED",
|
|
129
|
+
"type": "error"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"inputs": [],
|
|
133
|
+
"name": "HOST_SUPER_APP_IS_JAILED",
|
|
134
|
+
"type": "error"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"inputs": [],
|
|
138
|
+
"name": "HOST_UNAUTHORIZED_SUPER_APP_FACTORY",
|
|
139
|
+
"type": "error"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"inputs": [],
|
|
143
|
+
"name": "HOST_UNKNOWN_BATCH_CALL_OPERATION_TYPE",
|
|
144
|
+
"type": "error"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"inputs": [
|
|
148
|
+
{
|
|
149
|
+
"internalType": "uint256",
|
|
150
|
+
"name": "_code",
|
|
151
|
+
"type": "uint256"
|
|
152
|
+
}
|
|
153
|
+
],
|
|
154
|
+
"name": "MUST_BE_CONTRACT",
|
|
155
|
+
"type": "error"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"inputs": [
|
|
159
|
+
{
|
|
160
|
+
"internalType": "uint256",
|
|
161
|
+
"name": "_code",
|
|
162
|
+
"type": "uint256"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"name": "ONLY_LISTED_AGREEMENT",
|
|
166
|
+
"type": "error"
|
|
167
|
+
},
|
|
18
168
|
{
|
|
19
169
|
"anonymous": false,
|
|
20
170
|
"inputs": [
|
|
@@ -194,19 +344,6 @@
|
|
|
194
344
|
"stateMutability": "view",
|
|
195
345
|
"type": "function"
|
|
196
346
|
},
|
|
197
|
-
{
|
|
198
|
-
"inputs": [],
|
|
199
|
-
"name": "MAX_APP_CALLBACK_LEVEL",
|
|
200
|
-
"outputs": [
|
|
201
|
-
{
|
|
202
|
-
"internalType": "uint256",
|
|
203
|
-
"name": "",
|
|
204
|
-
"type": "uint256"
|
|
205
|
-
}
|
|
206
|
-
],
|
|
207
|
-
"stateMutability": "view",
|
|
208
|
-
"type": "function"
|
|
209
|
-
},
|
|
210
347
|
{
|
|
211
348
|
"inputs": [],
|
|
212
349
|
"name": "NON_UPGRADABLE_DEPLOYMENT",
|
|
@@ -1,4 +1,86 @@
|
|
|
1
1
|
{ "abi": [
|
|
2
|
+
{
|
|
3
|
+
"inputs": [
|
|
4
|
+
{
|
|
5
|
+
"internalType": "uint256",
|
|
6
|
+
"name": "_code",
|
|
7
|
+
"type": "uint256"
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
"name": "MUST_BE_CONTRACT",
|
|
11
|
+
"type": "error"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"inputs": [],
|
|
15
|
+
"name": "SF_GOV_ARRAYS_NOT_SAME_LENGTH",
|
|
16
|
+
"type": "error"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"inputs": [],
|
|
20
|
+
"name": "SF_GOV_II_ONLY_OWNER",
|
|
21
|
+
"type": "error"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"inputs": [],
|
|
25
|
+
"name": "SF_GOV_INVALID_LIQUIDATION_OR_PATRICIAN_PERIOD",
|
|
26
|
+
"type": "error"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"anonymous": false,
|
|
30
|
+
"inputs": [
|
|
31
|
+
{
|
|
32
|
+
"indexed": true,
|
|
33
|
+
"internalType": "contract ISuperfluid",
|
|
34
|
+
"name": "host",
|
|
35
|
+
"type": "address"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"indexed": true,
|
|
39
|
+
"internalType": "address",
|
|
40
|
+
"name": "factory",
|
|
41
|
+
"type": "address"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"indexed": false,
|
|
45
|
+
"internalType": "bool",
|
|
46
|
+
"name": "authorized",
|
|
47
|
+
"type": "bool"
|
|
48
|
+
}
|
|
49
|
+
],
|
|
50
|
+
"name": "AppFactoryAuthorizationChanged",
|
|
51
|
+
"type": "event"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"anonymous": false,
|
|
55
|
+
"inputs": [
|
|
56
|
+
{
|
|
57
|
+
"indexed": true,
|
|
58
|
+
"internalType": "contract ISuperfluid",
|
|
59
|
+
"name": "host",
|
|
60
|
+
"type": "address"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"indexed": true,
|
|
64
|
+
"internalType": "address",
|
|
65
|
+
"name": "deployer",
|
|
66
|
+
"type": "address"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"indexed": false,
|
|
70
|
+
"internalType": "string",
|
|
71
|
+
"name": "appRegistrationKey",
|
|
72
|
+
"type": "string"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"indexed": false,
|
|
76
|
+
"internalType": "uint256",
|
|
77
|
+
"name": "expirationTs",
|
|
78
|
+
"type": "uint256"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"name": "AppRegistrationKeyChanged",
|
|
82
|
+
"type": "event"
|
|
83
|
+
},
|
|
2
84
|
{
|
|
3
85
|
"anonymous": false,
|
|
4
86
|
"inputs": [
|
|
@@ -328,17 +410,17 @@
|
|
|
328
410
|
"type": "address"
|
|
329
411
|
},
|
|
330
412
|
{
|
|
331
|
-
"internalType": "
|
|
332
|
-
"name": "
|
|
413
|
+
"internalType": "address",
|
|
414
|
+
"name": "deployer",
|
|
333
415
|
"type": "address"
|
|
334
416
|
},
|
|
335
417
|
{
|
|
336
|
-
"internalType": "
|
|
337
|
-
"name": "
|
|
338
|
-
"type": "
|
|
418
|
+
"internalType": "string",
|
|
419
|
+
"name": "registrationKey",
|
|
420
|
+
"type": "string"
|
|
339
421
|
}
|
|
340
422
|
],
|
|
341
|
-
"name": "
|
|
423
|
+
"name": "clearAppRegistrationKey",
|
|
342
424
|
"outputs": [],
|
|
343
425
|
"stateMutability": "nonpayable",
|
|
344
426
|
"type": "function"
|
|
@@ -354,9 +436,14 @@
|
|
|
354
436
|
"internalType": "contract ISuperfluidToken",
|
|
355
437
|
"name": "superToken",
|
|
356
438
|
"type": "address"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"internalType": "bytes32",
|
|
442
|
+
"name": "key",
|
|
443
|
+
"type": "bytes32"
|
|
357
444
|
}
|
|
358
445
|
],
|
|
359
|
-
"name": "
|
|
446
|
+
"name": "clearConfig",
|
|
360
447
|
"outputs": [],
|
|
361
448
|
"stateMutability": "nonpayable",
|
|
362
449
|
"type": "function"
|
|
@@ -374,7 +461,7 @@
|
|
|
374
461
|
"type": "address"
|
|
375
462
|
}
|
|
376
463
|
],
|
|
377
|
-
"name": "
|
|
464
|
+
"name": "clearPPPConfig",
|
|
378
465
|
"outputs": [],
|
|
379
466
|
"stateMutability": "nonpayable",
|
|
380
467
|
"type": "function"
|
|
@@ -387,12 +474,12 @@
|
|
|
387
474
|
"type": "address"
|
|
388
475
|
},
|
|
389
476
|
{
|
|
390
|
-
"internalType": "contract
|
|
477
|
+
"internalType": "contract ISuperfluidToken",
|
|
391
478
|
"name": "superToken",
|
|
392
479
|
"type": "address"
|
|
393
480
|
}
|
|
394
481
|
],
|
|
395
|
-
"name": "
|
|
482
|
+
"name": "clearRewardAddress",
|
|
396
483
|
"outputs": [],
|
|
397
484
|
"stateMutability": "nonpayable",
|
|
398
485
|
"type": "function"
|
|
@@ -405,17 +492,12 @@
|
|
|
405
492
|
"type": "address"
|
|
406
493
|
},
|
|
407
494
|
{
|
|
408
|
-
"internalType": "contract
|
|
495
|
+
"internalType": "contract ISuperToken",
|
|
409
496
|
"name": "superToken",
|
|
410
497
|
"type": "address"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"internalType": "address",
|
|
414
|
-
"name": "forwarder",
|
|
415
|
-
"type": "address"
|
|
416
498
|
}
|
|
417
499
|
],
|
|
418
|
-
"name": "
|
|
500
|
+
"name": "clearSuperTokenMinimumDeposit",
|
|
419
501
|
"outputs": [],
|
|
420
502
|
"stateMutability": "nonpayable",
|
|
421
503
|
"type": "function"
|
|
@@ -723,6 +805,34 @@
|
|
|
723
805
|
"stateMutability": "nonpayable",
|
|
724
806
|
"type": "function"
|
|
725
807
|
},
|
|
808
|
+
{
|
|
809
|
+
"inputs": [
|
|
810
|
+
{
|
|
811
|
+
"internalType": "contract ISuperfluid",
|
|
812
|
+
"name": "host",
|
|
813
|
+
"type": "address"
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"internalType": "address",
|
|
817
|
+
"name": "deployer",
|
|
818
|
+
"type": "address"
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"internalType": "string",
|
|
822
|
+
"name": "registrationKey",
|
|
823
|
+
"type": "string"
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"internalType": "uint256",
|
|
827
|
+
"name": "expirationTs",
|
|
828
|
+
"type": "uint256"
|
|
829
|
+
}
|
|
830
|
+
],
|
|
831
|
+
"name": "setAppRegistrationKey",
|
|
832
|
+
"outputs": [],
|
|
833
|
+
"stateMutability": "nonpayable",
|
|
834
|
+
"type": "function"
|
|
835
|
+
},
|
|
726
836
|
{
|
|
727
837
|
"inputs": [
|
|
728
838
|
{
|
|
@@ -912,6 +1022,40 @@
|
|
|
912
1022
|
"stateMutability": "nonpayable",
|
|
913
1023
|
"type": "function"
|
|
914
1024
|
},
|
|
1025
|
+
{
|
|
1026
|
+
"inputs": [
|
|
1027
|
+
{
|
|
1028
|
+
"internalType": "contract ISuperfluid",
|
|
1029
|
+
"name": "host",
|
|
1030
|
+
"type": "address"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"internalType": "address",
|
|
1034
|
+
"name": "deployer",
|
|
1035
|
+
"type": "address"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"internalType": "string",
|
|
1039
|
+
"name": "registrationKey",
|
|
1040
|
+
"type": "string"
|
|
1041
|
+
}
|
|
1042
|
+
],
|
|
1043
|
+
"name": "verifyAppRegistrationKey",
|
|
1044
|
+
"outputs": [
|
|
1045
|
+
{
|
|
1046
|
+
"internalType": "bool",
|
|
1047
|
+
"name": "validNow",
|
|
1048
|
+
"type": "bool"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"internalType": "uint256",
|
|
1052
|
+
"name": "expirationTs",
|
|
1053
|
+
"type": "uint256"
|
|
1054
|
+
}
|
|
1055
|
+
],
|
|
1056
|
+
"stateMutability": "view",
|
|
1057
|
+
"type": "function"
|
|
1058
|
+
},
|
|
915
1059
|
{
|
|
916
1060
|
"inputs": [],
|
|
917
1061
|
"name": "proxiableUUID",
|
|
@@ -56,7 +56,6 @@ export interface SuperfluidInterface extends utils.Interface {
|
|
|
56
56
|
functions: {
|
|
57
57
|
"APP_WHITE_LISTING_ENABLED()": FunctionFragment;
|
|
58
58
|
"CALLBACK_GAS_LIMIT()": FunctionFragment;
|
|
59
|
-
"MAX_APP_CALLBACK_LEVEL()": FunctionFragment;
|
|
60
59
|
"NON_UPGRADABLE_DEPLOYMENT()": FunctionFragment;
|
|
61
60
|
"castrate()": FunctionFragment;
|
|
62
61
|
"getCodeAddress()": FunctionFragment;
|
|
@@ -104,10 +103,9 @@ export interface SuperfluidInterface extends utils.Interface {
|
|
|
104
103
|
"isTrustedForwarder(address)": FunctionFragment;
|
|
105
104
|
"versionRecipient()": FunctionFragment;
|
|
106
105
|
};
|
|
107
|
-
getFunction(nameOrSignatureOrTopic: "APP_WHITE_LISTING_ENABLED" | "CALLBACK_GAS_LIMIT" | "
|
|
106
|
+
getFunction(nameOrSignatureOrTopic: "APP_WHITE_LISTING_ENABLED" | "CALLBACK_GAS_LIMIT" | "NON_UPGRADABLE_DEPLOYMENT" | "castrate" | "getCodeAddress" | "initialize" | "proxiableUUID" | "updateCode" | "getNow" | "getGovernance" | "replaceGovernance" | "registerAgreementClass" | "updateAgreementClass" | "isAgreementTypeListed" | "isAgreementClassListed" | "getAgreementClass" | "mapAgreementClasses" | "addToAgreementClassesBitmap" | "removeFromAgreementClassesBitmap" | "getSuperTokenFactory" | "getSuperTokenFactoryLogic" | "updateSuperTokenFactory" | "updateSuperTokenLogic" | "registerApp" | "registerAppWithKey" | "registerAppByFactory" | "isApp" | "getAppCallbackLevel" | "getAppManifest" | "isAppJailed" | "allowCompositeApp" | "isCompositeAppAllowed" | "callAppBeforeCallback" | "callAppAfterCallback" | "appCallbackPush" | "appCallbackPop" | "ctxUseCredit" | "jailApp" | "callAgreement" | "callAppAction" | "callAgreementWithContext" | "callAppActionWithContext" | "decodeCtx" | "isCtxValid" | "batchCall" | "forwardBatchCall" | "isTrustedForwarder" | "versionRecipient"): FunctionFragment;
|
|
108
107
|
encodeFunctionData(functionFragment: "APP_WHITE_LISTING_ENABLED", values?: undefined): string;
|
|
109
108
|
encodeFunctionData(functionFragment: "CALLBACK_GAS_LIMIT", values?: undefined): string;
|
|
110
|
-
encodeFunctionData(functionFragment: "MAX_APP_CALLBACK_LEVEL", values?: undefined): string;
|
|
111
109
|
encodeFunctionData(functionFragment: "NON_UPGRADABLE_DEPLOYMENT", values?: undefined): string;
|
|
112
110
|
encodeFunctionData(functionFragment: "castrate", values?: undefined): string;
|
|
113
111
|
encodeFunctionData(functionFragment: "getCodeAddress", values?: undefined): string;
|
|
@@ -189,7 +187,6 @@ export interface SuperfluidInterface extends utils.Interface {
|
|
|
189
187
|
encodeFunctionData(functionFragment: "versionRecipient", values?: undefined): string;
|
|
190
188
|
decodeFunctionResult(functionFragment: "APP_WHITE_LISTING_ENABLED", data: BytesLike): Result;
|
|
191
189
|
decodeFunctionResult(functionFragment: "CALLBACK_GAS_LIMIT", data: BytesLike): Result;
|
|
192
|
-
decodeFunctionResult(functionFragment: "MAX_APP_CALLBACK_LEVEL", data: BytesLike): Result;
|
|
193
190
|
decodeFunctionResult(functionFragment: "NON_UPGRADABLE_DEPLOYMENT", data: BytesLike): Result;
|
|
194
191
|
decodeFunctionResult(functionFragment: "castrate", data: BytesLike): Result;
|
|
195
192
|
decodeFunctionResult(functionFragment: "getCodeAddress", data: BytesLike): Result;
|
|
@@ -342,7 +339,6 @@ export interface Superfluid extends BaseContract {
|
|
|
342
339
|
functions: {
|
|
343
340
|
APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<[boolean]>;
|
|
344
341
|
CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
345
|
-
MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<[BigNumber]>;
|
|
346
342
|
NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<[boolean]>;
|
|
347
343
|
castrate(overrides?: Overrides & {
|
|
348
344
|
from?: PromiseOrValue<string>;
|
|
@@ -470,7 +466,6 @@ export interface Superfluid extends BaseContract {
|
|
|
470
466
|
};
|
|
471
467
|
APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<boolean>;
|
|
472
468
|
CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<BigNumber>;
|
|
473
|
-
MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<BigNumber>;
|
|
474
469
|
NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<boolean>;
|
|
475
470
|
castrate(overrides?: Overrides & {
|
|
476
471
|
from?: PromiseOrValue<string>;
|
|
@@ -576,7 +571,6 @@ export interface Superfluid extends BaseContract {
|
|
|
576
571
|
callStatic: {
|
|
577
572
|
APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<boolean>;
|
|
578
573
|
CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<BigNumber>;
|
|
579
|
-
MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<BigNumber>;
|
|
580
574
|
NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<boolean>;
|
|
581
575
|
castrate(overrides?: CallOverrides): Promise<void>;
|
|
582
576
|
getCodeAddress(overrides?: CallOverrides): Promise<string>;
|
|
@@ -658,7 +652,6 @@ export interface Superfluid extends BaseContract {
|
|
|
658
652
|
estimateGas: {
|
|
659
653
|
APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<BigNumber>;
|
|
660
654
|
CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<BigNumber>;
|
|
661
|
-
MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<BigNumber>;
|
|
662
655
|
NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<BigNumber>;
|
|
663
656
|
castrate(overrides?: Overrides & {
|
|
664
657
|
from?: PromiseOrValue<string>;
|
|
@@ -757,7 +750,6 @@ export interface Superfluid extends BaseContract {
|
|
|
757
750
|
populateTransaction: {
|
|
758
751
|
APP_WHITE_LISTING_ENABLED(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
759
752
|
CALLBACK_GAS_LIMIT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
760
|
-
MAX_APP_CALLBACK_LEVEL(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
761
753
|
NON_UPGRADABLE_DEPLOYMENT(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
762
754
|
castrate(overrides?: Overrides & {
|
|
763
755
|
from?: PromiseOrValue<string>;
|