@superfluid-finance/sdk-core 0.5.6-dev.381116e.0 → 0.5.6-dev.5081272.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 +5 -5
- package/dist/index.umd.js +135 -17
- package/dist/main/abi/SuperfluidGovernanceII.json +135 -17
- package/dist/main/typechain/SuperfluidGovernanceII.d.ts +104 -21
- package/dist/main/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
- package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
- package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js +135 -17
- package/dist/main/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
- package/dist/module/abi/SuperfluidGovernanceII.json +135 -17
- package/dist/module/typechain/SuperfluidGovernanceII.d.ts +104 -21
- package/dist/module/typechain/SuperfluidGovernanceII.d.ts.map +1 -1
- package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.d.ts.map +1 -1
- package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js +135 -17
- package/dist/module/typechain/factories/SuperfluidGovernanceII__factory.js.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -5,18 +5,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [0.5.5] - 2022-08-31
|
|
9
|
+
### Added
|
|
10
|
+
- Support for: `optimism-goerli` and `arbitrum-goerli` added
|
|
11
|
+
|
|
8
12
|
### Breaking
|
|
13
|
+
- Support for: `rinkeby`, `ropsten`, `kovan`, `optimism-kovan` and `arbitrum-rinkeby` removed
|
|
9
14
|
- Don't throw `SFError` when executing `Operation` or `BatchCall`; let the original error bubble up
|
|
10
15
|
|
|
11
16
|
### Fixes
|
|
12
17
|
- Serialize a much smaller version of the cause in `SFError` (only `name`, `message`, `code`)
|
|
13
18
|
- Change `SFError.name` from "Error" to "SFError"
|
|
14
19
|
|
|
15
|
-
## [0.5.5] - 2022-08-31
|
|
16
|
-
### Added
|
|
17
|
-
- Support for: `optimism-goerli` and `arbitrum-goerli` added
|
|
18
|
-
### Breaking
|
|
19
|
-
- Support for: `rinkeby`, `ropsten`, `kovan`, `optimism-kovan` and `arbitrum-rinkeby` removed
|
|
20
20
|
# [0.5.4] - 2022-08-19
|
|
21
21
|
|
|
22
22
|
### Fixes
|
package/dist/index.umd.js
CHANGED
|
@@ -80747,6 +80747,62 @@ module.exports={ "abi": [
|
|
|
80747
80747
|
|
|
80748
80748
|
},{}],329:[function(require,module,exports){
|
|
80749
80749
|
module.exports={ "abi": [
|
|
80750
|
+
{
|
|
80751
|
+
"anonymous": false,
|
|
80752
|
+
"inputs": [
|
|
80753
|
+
{
|
|
80754
|
+
"indexed": true,
|
|
80755
|
+
"internalType": "contract ISuperfluid",
|
|
80756
|
+
"name": "host",
|
|
80757
|
+
"type": "address"
|
|
80758
|
+
},
|
|
80759
|
+
{
|
|
80760
|
+
"indexed": true,
|
|
80761
|
+
"internalType": "address",
|
|
80762
|
+
"name": "factory",
|
|
80763
|
+
"type": "address"
|
|
80764
|
+
},
|
|
80765
|
+
{
|
|
80766
|
+
"indexed": false,
|
|
80767
|
+
"internalType": "bool",
|
|
80768
|
+
"name": "authorized",
|
|
80769
|
+
"type": "bool"
|
|
80770
|
+
}
|
|
80771
|
+
],
|
|
80772
|
+
"name": "AppFactoryAuthorizationChanged",
|
|
80773
|
+
"type": "event"
|
|
80774
|
+
},
|
|
80775
|
+
{
|
|
80776
|
+
"anonymous": false,
|
|
80777
|
+
"inputs": [
|
|
80778
|
+
{
|
|
80779
|
+
"indexed": true,
|
|
80780
|
+
"internalType": "contract ISuperfluid",
|
|
80781
|
+
"name": "host",
|
|
80782
|
+
"type": "address"
|
|
80783
|
+
},
|
|
80784
|
+
{
|
|
80785
|
+
"indexed": true,
|
|
80786
|
+
"internalType": "address",
|
|
80787
|
+
"name": "deployer",
|
|
80788
|
+
"type": "address"
|
|
80789
|
+
},
|
|
80790
|
+
{
|
|
80791
|
+
"indexed": false,
|
|
80792
|
+
"internalType": "string",
|
|
80793
|
+
"name": "appRegistrationKey",
|
|
80794
|
+
"type": "string"
|
|
80795
|
+
},
|
|
80796
|
+
{
|
|
80797
|
+
"indexed": false,
|
|
80798
|
+
"internalType": "uint256",
|
|
80799
|
+
"name": "expirationTs",
|
|
80800
|
+
"type": "uint256"
|
|
80801
|
+
}
|
|
80802
|
+
],
|
|
80803
|
+
"name": "AppRegistrationKeyChanged",
|
|
80804
|
+
"type": "event"
|
|
80805
|
+
},
|
|
80750
80806
|
{
|
|
80751
80807
|
"anonymous": false,
|
|
80752
80808
|
"inputs": [
|
|
@@ -81076,17 +81132,17 @@ module.exports={ "abi": [
|
|
|
81076
81132
|
"type": "address"
|
|
81077
81133
|
},
|
|
81078
81134
|
{
|
|
81079
|
-
"internalType": "
|
|
81080
|
-
"name": "
|
|
81135
|
+
"internalType": "address",
|
|
81136
|
+
"name": "deployer",
|
|
81081
81137
|
"type": "address"
|
|
81082
81138
|
},
|
|
81083
81139
|
{
|
|
81084
|
-
"internalType": "
|
|
81085
|
-
"name": "
|
|
81086
|
-
"type": "
|
|
81140
|
+
"internalType": "string",
|
|
81141
|
+
"name": "registrationKey",
|
|
81142
|
+
"type": "string"
|
|
81087
81143
|
}
|
|
81088
81144
|
],
|
|
81089
|
-
"name": "
|
|
81145
|
+
"name": "clearAppRegistrationKey",
|
|
81090
81146
|
"outputs": [],
|
|
81091
81147
|
"stateMutability": "nonpayable",
|
|
81092
81148
|
"type": "function"
|
|
@@ -81102,9 +81158,14 @@ module.exports={ "abi": [
|
|
|
81102
81158
|
"internalType": "contract ISuperfluidToken",
|
|
81103
81159
|
"name": "superToken",
|
|
81104
81160
|
"type": "address"
|
|
81161
|
+
},
|
|
81162
|
+
{
|
|
81163
|
+
"internalType": "bytes32",
|
|
81164
|
+
"name": "key",
|
|
81165
|
+
"type": "bytes32"
|
|
81105
81166
|
}
|
|
81106
81167
|
],
|
|
81107
|
-
"name": "
|
|
81168
|
+
"name": "clearConfig",
|
|
81108
81169
|
"outputs": [],
|
|
81109
81170
|
"stateMutability": "nonpayable",
|
|
81110
81171
|
"type": "function"
|
|
@@ -81122,7 +81183,7 @@ module.exports={ "abi": [
|
|
|
81122
81183
|
"type": "address"
|
|
81123
81184
|
}
|
|
81124
81185
|
],
|
|
81125
|
-
"name": "
|
|
81186
|
+
"name": "clearPPPConfig",
|
|
81126
81187
|
"outputs": [],
|
|
81127
81188
|
"stateMutability": "nonpayable",
|
|
81128
81189
|
"type": "function"
|
|
@@ -81135,12 +81196,12 @@ module.exports={ "abi": [
|
|
|
81135
81196
|
"type": "address"
|
|
81136
81197
|
},
|
|
81137
81198
|
{
|
|
81138
|
-
"internalType": "contract
|
|
81199
|
+
"internalType": "contract ISuperfluidToken",
|
|
81139
81200
|
"name": "superToken",
|
|
81140
81201
|
"type": "address"
|
|
81141
81202
|
}
|
|
81142
81203
|
],
|
|
81143
|
-
"name": "
|
|
81204
|
+
"name": "clearRewardAddress",
|
|
81144
81205
|
"outputs": [],
|
|
81145
81206
|
"stateMutability": "nonpayable",
|
|
81146
81207
|
"type": "function"
|
|
@@ -81153,17 +81214,12 @@ module.exports={ "abi": [
|
|
|
81153
81214
|
"type": "address"
|
|
81154
81215
|
},
|
|
81155
81216
|
{
|
|
81156
|
-
"internalType": "contract
|
|
81217
|
+
"internalType": "contract ISuperToken",
|
|
81157
81218
|
"name": "superToken",
|
|
81158
81219
|
"type": "address"
|
|
81159
|
-
},
|
|
81160
|
-
{
|
|
81161
|
-
"internalType": "address",
|
|
81162
|
-
"name": "forwarder",
|
|
81163
|
-
"type": "address"
|
|
81164
81220
|
}
|
|
81165
81221
|
],
|
|
81166
|
-
"name": "
|
|
81222
|
+
"name": "clearSuperTokenMinimumDeposit",
|
|
81167
81223
|
"outputs": [],
|
|
81168
81224
|
"stateMutability": "nonpayable",
|
|
81169
81225
|
"type": "function"
|
|
@@ -81471,6 +81527,34 @@ module.exports={ "abi": [
|
|
|
81471
81527
|
"stateMutability": "nonpayable",
|
|
81472
81528
|
"type": "function"
|
|
81473
81529
|
},
|
|
81530
|
+
{
|
|
81531
|
+
"inputs": [
|
|
81532
|
+
{
|
|
81533
|
+
"internalType": "contract ISuperfluid",
|
|
81534
|
+
"name": "host",
|
|
81535
|
+
"type": "address"
|
|
81536
|
+
},
|
|
81537
|
+
{
|
|
81538
|
+
"internalType": "address",
|
|
81539
|
+
"name": "deployer",
|
|
81540
|
+
"type": "address"
|
|
81541
|
+
},
|
|
81542
|
+
{
|
|
81543
|
+
"internalType": "string",
|
|
81544
|
+
"name": "registrationKey",
|
|
81545
|
+
"type": "string"
|
|
81546
|
+
},
|
|
81547
|
+
{
|
|
81548
|
+
"internalType": "uint256",
|
|
81549
|
+
"name": "expirationTs",
|
|
81550
|
+
"type": "uint256"
|
|
81551
|
+
}
|
|
81552
|
+
],
|
|
81553
|
+
"name": "setAppRegistrationKey",
|
|
81554
|
+
"outputs": [],
|
|
81555
|
+
"stateMutability": "nonpayable",
|
|
81556
|
+
"type": "function"
|
|
81557
|
+
},
|
|
81474
81558
|
{
|
|
81475
81559
|
"inputs": [
|
|
81476
81560
|
{
|
|
@@ -81660,6 +81744,40 @@ module.exports={ "abi": [
|
|
|
81660
81744
|
"stateMutability": "nonpayable",
|
|
81661
81745
|
"type": "function"
|
|
81662
81746
|
},
|
|
81747
|
+
{
|
|
81748
|
+
"inputs": [
|
|
81749
|
+
{
|
|
81750
|
+
"internalType": "contract ISuperfluid",
|
|
81751
|
+
"name": "host",
|
|
81752
|
+
"type": "address"
|
|
81753
|
+
},
|
|
81754
|
+
{
|
|
81755
|
+
"internalType": "address",
|
|
81756
|
+
"name": "deployer",
|
|
81757
|
+
"type": "address"
|
|
81758
|
+
},
|
|
81759
|
+
{
|
|
81760
|
+
"internalType": "string",
|
|
81761
|
+
"name": "registrationKey",
|
|
81762
|
+
"type": "string"
|
|
81763
|
+
}
|
|
81764
|
+
],
|
|
81765
|
+
"name": "verifyAppRegistrationKey",
|
|
81766
|
+
"outputs": [
|
|
81767
|
+
{
|
|
81768
|
+
"internalType": "bool",
|
|
81769
|
+
"name": "validNow",
|
|
81770
|
+
"type": "bool"
|
|
81771
|
+
},
|
|
81772
|
+
{
|
|
81773
|
+
"internalType": "uint256",
|
|
81774
|
+
"name": "expirationTs",
|
|
81775
|
+
"type": "uint256"
|
|
81776
|
+
}
|
|
81777
|
+
],
|
|
81778
|
+
"stateMutability": "view",
|
|
81779
|
+
"type": "function"
|
|
81780
|
+
},
|
|
81663
81781
|
{
|
|
81664
81782
|
"inputs": [],
|
|
81665
81783
|
"name": "proxiableUUID",
|
|
@@ -1,4 +1,60 @@
|
|
|
1
1
|
{ "abi": [
|
|
2
|
+
{
|
|
3
|
+
"anonymous": false,
|
|
4
|
+
"inputs": [
|
|
5
|
+
{
|
|
6
|
+
"indexed": true,
|
|
7
|
+
"internalType": "contract ISuperfluid",
|
|
8
|
+
"name": "host",
|
|
9
|
+
"type": "address"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"indexed": true,
|
|
13
|
+
"internalType": "address",
|
|
14
|
+
"name": "factory",
|
|
15
|
+
"type": "address"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"indexed": false,
|
|
19
|
+
"internalType": "bool",
|
|
20
|
+
"name": "authorized",
|
|
21
|
+
"type": "bool"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"name": "AppFactoryAuthorizationChanged",
|
|
25
|
+
"type": "event"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"anonymous": false,
|
|
29
|
+
"inputs": [
|
|
30
|
+
{
|
|
31
|
+
"indexed": true,
|
|
32
|
+
"internalType": "contract ISuperfluid",
|
|
33
|
+
"name": "host",
|
|
34
|
+
"type": "address"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"indexed": true,
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "deployer",
|
|
40
|
+
"type": "address"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"indexed": false,
|
|
44
|
+
"internalType": "string",
|
|
45
|
+
"name": "appRegistrationKey",
|
|
46
|
+
"type": "string"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"indexed": false,
|
|
50
|
+
"internalType": "uint256",
|
|
51
|
+
"name": "expirationTs",
|
|
52
|
+
"type": "uint256"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"name": "AppRegistrationKeyChanged",
|
|
56
|
+
"type": "event"
|
|
57
|
+
},
|
|
2
58
|
{
|
|
3
59
|
"anonymous": false,
|
|
4
60
|
"inputs": [
|
|
@@ -328,17 +384,17 @@
|
|
|
328
384
|
"type": "address"
|
|
329
385
|
},
|
|
330
386
|
{
|
|
331
|
-
"internalType": "
|
|
332
|
-
"name": "
|
|
387
|
+
"internalType": "address",
|
|
388
|
+
"name": "deployer",
|
|
333
389
|
"type": "address"
|
|
334
390
|
},
|
|
335
391
|
{
|
|
336
|
-
"internalType": "
|
|
337
|
-
"name": "
|
|
338
|
-
"type": "
|
|
392
|
+
"internalType": "string",
|
|
393
|
+
"name": "registrationKey",
|
|
394
|
+
"type": "string"
|
|
339
395
|
}
|
|
340
396
|
],
|
|
341
|
-
"name": "
|
|
397
|
+
"name": "clearAppRegistrationKey",
|
|
342
398
|
"outputs": [],
|
|
343
399
|
"stateMutability": "nonpayable",
|
|
344
400
|
"type": "function"
|
|
@@ -354,9 +410,14 @@
|
|
|
354
410
|
"internalType": "contract ISuperfluidToken",
|
|
355
411
|
"name": "superToken",
|
|
356
412
|
"type": "address"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"internalType": "bytes32",
|
|
416
|
+
"name": "key",
|
|
417
|
+
"type": "bytes32"
|
|
357
418
|
}
|
|
358
419
|
],
|
|
359
|
-
"name": "
|
|
420
|
+
"name": "clearConfig",
|
|
360
421
|
"outputs": [],
|
|
361
422
|
"stateMutability": "nonpayable",
|
|
362
423
|
"type": "function"
|
|
@@ -374,7 +435,7 @@
|
|
|
374
435
|
"type": "address"
|
|
375
436
|
}
|
|
376
437
|
],
|
|
377
|
-
"name": "
|
|
438
|
+
"name": "clearPPPConfig",
|
|
378
439
|
"outputs": [],
|
|
379
440
|
"stateMutability": "nonpayable",
|
|
380
441
|
"type": "function"
|
|
@@ -387,12 +448,12 @@
|
|
|
387
448
|
"type": "address"
|
|
388
449
|
},
|
|
389
450
|
{
|
|
390
|
-
"internalType": "contract
|
|
451
|
+
"internalType": "contract ISuperfluidToken",
|
|
391
452
|
"name": "superToken",
|
|
392
453
|
"type": "address"
|
|
393
454
|
}
|
|
394
455
|
],
|
|
395
|
-
"name": "
|
|
456
|
+
"name": "clearRewardAddress",
|
|
396
457
|
"outputs": [],
|
|
397
458
|
"stateMutability": "nonpayable",
|
|
398
459
|
"type": "function"
|
|
@@ -405,17 +466,12 @@
|
|
|
405
466
|
"type": "address"
|
|
406
467
|
},
|
|
407
468
|
{
|
|
408
|
-
"internalType": "contract
|
|
469
|
+
"internalType": "contract ISuperToken",
|
|
409
470
|
"name": "superToken",
|
|
410
471
|
"type": "address"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
"internalType": "address",
|
|
414
|
-
"name": "forwarder",
|
|
415
|
-
"type": "address"
|
|
416
472
|
}
|
|
417
473
|
],
|
|
418
|
-
"name": "
|
|
474
|
+
"name": "clearSuperTokenMinimumDeposit",
|
|
419
475
|
"outputs": [],
|
|
420
476
|
"stateMutability": "nonpayable",
|
|
421
477
|
"type": "function"
|
|
@@ -723,6 +779,34 @@
|
|
|
723
779
|
"stateMutability": "nonpayable",
|
|
724
780
|
"type": "function"
|
|
725
781
|
},
|
|
782
|
+
{
|
|
783
|
+
"inputs": [
|
|
784
|
+
{
|
|
785
|
+
"internalType": "contract ISuperfluid",
|
|
786
|
+
"name": "host",
|
|
787
|
+
"type": "address"
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
"internalType": "address",
|
|
791
|
+
"name": "deployer",
|
|
792
|
+
"type": "address"
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"internalType": "string",
|
|
796
|
+
"name": "registrationKey",
|
|
797
|
+
"type": "string"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"internalType": "uint256",
|
|
801
|
+
"name": "expirationTs",
|
|
802
|
+
"type": "uint256"
|
|
803
|
+
}
|
|
804
|
+
],
|
|
805
|
+
"name": "setAppRegistrationKey",
|
|
806
|
+
"outputs": [],
|
|
807
|
+
"stateMutability": "nonpayable",
|
|
808
|
+
"type": "function"
|
|
809
|
+
},
|
|
726
810
|
{
|
|
727
811
|
"inputs": [
|
|
728
812
|
{
|
|
@@ -912,6 +996,40 @@
|
|
|
912
996
|
"stateMutability": "nonpayable",
|
|
913
997
|
"type": "function"
|
|
914
998
|
},
|
|
999
|
+
{
|
|
1000
|
+
"inputs": [
|
|
1001
|
+
{
|
|
1002
|
+
"internalType": "contract ISuperfluid",
|
|
1003
|
+
"name": "host",
|
|
1004
|
+
"type": "address"
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"internalType": "address",
|
|
1008
|
+
"name": "deployer",
|
|
1009
|
+
"type": "address"
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
"internalType": "string",
|
|
1013
|
+
"name": "registrationKey",
|
|
1014
|
+
"type": "string"
|
|
1015
|
+
}
|
|
1016
|
+
],
|
|
1017
|
+
"name": "verifyAppRegistrationKey",
|
|
1018
|
+
"outputs": [
|
|
1019
|
+
{
|
|
1020
|
+
"internalType": "bool",
|
|
1021
|
+
"name": "validNow",
|
|
1022
|
+
"type": "bool"
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"internalType": "uint256",
|
|
1026
|
+
"name": "expirationTs",
|
|
1027
|
+
"type": "uint256"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"stateMutability": "view",
|
|
1031
|
+
"type": "function"
|
|
1032
|
+
},
|
|
915
1033
|
{
|
|
916
1034
|
"inputs": [],
|
|
917
1035
|
"name": "proxiableUUID",
|