@symmio/trading-core 3.1.0 → 3.2.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/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +304 -298
- package/dist/quotes/get-quote-history/solver-fees.d.ts +39 -0
- package/dist/quotes/get-quote-history/solver-fees.d.ts.map +1 -0
- package/dist/quotes/get-quote-history/solver-fees.js +36 -0
- package/dist/quotes/get-quote-history/solver-fees.js.map +1 -0
- package/dist/quotes/get-quote-history/to-history-row.d.ts.map +1 -1
- package/dist/quotes/get-quote-history/to-history-row.js +34 -30
- package/dist/quotes/get-quote-history/to-history-row.js.map +1 -1
- package/dist/quotes/get-quote-history/types.d.ts +20 -0
- package/dist/quotes/get-quote-history/types.d.ts.map +1 -1
- package/dist/quotes/get-quote-history/types.js.map +1 -1
- package/dist/solvers/get-solver-info/get-solver-info.d.ts +36 -0
- package/dist/solvers/get-solver-info/get-solver-info.d.ts.map +1 -0
- package/dist/solvers/get-solver-info/get-solver-info.js +28 -0
- package/dist/solvers/get-solver-info/get-solver-info.js.map +1 -0
- package/dist/solvers/get-solver-info/index.d.ts +3 -0
- package/dist/solvers/get-solver-info/index.d.ts.map +1 -0
- package/dist/solvers/get-solver-info/query.d.ts +29 -0
- package/dist/solvers/get-solver-info/query.d.ts.map +1 -0
- package/dist/solvers/get-solver-info/query.js +24 -0
- package/dist/solvers/get-solver-info/query.js.map +1 -0
- package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.d.ts +152 -0
- package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.d.ts.map +1 -0
- package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js +82 -0
- package/dist/solvers/instant-close/get-instant-close-fees/get-instant-close-fees.js.map +1 -0
- package/dist/solvers/instant-close/get-instant-close-fees/index.d.ts +3 -0
- package/dist/solvers/instant-close/get-instant-close-fees/index.d.ts.map +1 -0
- package/dist/solvers/instant-close/get-instant-close-fees/query.d.ts +37 -0
- package/dist/solvers/instant-close/get-instant-close-fees/query.d.ts.map +1 -0
- package/dist/solvers/instant-close/get-instant-close-fees/query.js +32 -0
- package/dist/solvers/instant-close/get-instant-close-fees/query.js.map +1 -0
- package/dist/solvers/instant-close/index.d.ts +1 -0
- package/dist/solvers/instant-close/index.d.ts.map +1 -1
- package/dist/solvers/instant-close/instant-close/instant-close.d.ts +4 -3
- package/dist/solvers/instant-close/instant-close/instant-close.d.ts.map +1 -1
- package/dist/solvers/instant-close/instant-close/instant-close.js +26 -22
- package/dist/solvers/instant-close/instant-close/instant-close.js.map +1 -1
- package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.d.ts +2 -0
- package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.d.ts.map +1 -1
- package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js +26 -22
- package/dist/solvers/instant-close/instant-close-bulk/instant-close-bulk.js.map +1 -1
- package/dist/solvers/instant-close/shared/calldata.d.ts +1 -1
- package/dist/solvers/instant-close/shared/calldata.d.ts.map +1 -1
- package/dist/solvers/instant-close/shared/calldata.js.map +1 -1
- package/dist/solvers/instant-close/shared/resolve-close-order-type.d.ts +13 -0
- package/dist/solvers/instant-close/shared/resolve-close-order-type.d.ts.map +1 -0
- package/dist/solvers/instant-close/shared/resolve-close-order-type.js +9 -0
- package/dist/solvers/instant-close/shared/resolve-close-order-type.js.map +1 -0
- package/dist/solvers/instant-close/shared/types.d.ts +3 -3
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts +111 -35
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js +168 -91
- package/dist/solvers/instant-open/get-instant-open-fees/get-instant-open-fees.js.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts +3 -2
- package/dist/solvers/instant-open/get-instant-open-fees/query.d.ts.map +1 -1
- package/dist/solvers/instant-open/get-instant-open-fees/query.js +4 -15
- package/dist/solvers/instant-open/get-instant-open-fees/query.js.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/index.d.ts +1 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/index.d.ts.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts +108 -12
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.d.ts.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js +169 -149
- package/dist/solvers/instant-open/prepare-instant-open-params/prepare-instant-open-params.js.map +1 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/query.d.ts +49 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/query.d.ts.map +1 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/query.js +24 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/query.js.map +1 -0
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/index.d.ts +0 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/index.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/full-balance-sizing.d.ts +164 -0
- package/dist/solvers/instant-open/shared/full-balance-sizing.d.ts.map +1 -0
- package/dist/solvers/instant-open/shared/full-balance-sizing.js +138 -0
- package/dist/solvers/instant-open/shared/full-balance-sizing.js.map +1 -0
- package/dist/solvers/instant-open/shared/index.d.ts +1 -0
- package/dist/solvers/instant-open/shared/index.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.d.ts +46 -0
- package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.d.ts.map +1 -0
- package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.js +50 -0
- package/dist/solvers/instant-open/shared/resolve-instant-open-sizing.js.map +1 -0
- package/dist/solvers/instant-open/shared/trade-math.d.ts +73 -26
- package/dist/solvers/instant-open/shared/trade-math.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/trade-math.js +18 -13
- package/dist/solvers/instant-open/shared/trade-math.js.map +1 -1
- package/dist/solvers/instant-open/shared/types.d.ts +18 -1
- package/dist/solvers/instant-open/shared/types.d.ts.map +1 -1
- package/dist/solvers/instant-open/shared/types.js.map +1 -1
- package/dist/solvers/limit-open/prepare-limit-open-params.d.ts +3 -1
- package/dist/solvers/limit-open/prepare-limit-open-params.d.ts.map +1 -1
- package/dist/solvers/limit-open/prepare-limit-open-params.js.map +1 -1
- package/dist/solvers/shared/resolvers/index.d.ts +2 -0
- package/dist/solvers/shared/resolvers/index.d.ts.map +1 -1
- package/dist/solvers/{instant-open/prepare-instant-open-params → shared}/resolvers/resolve-fee-rates.d.ts +3 -3
- package/dist/solvers/shared/resolvers/resolve-fee-rates.d.ts.map +1 -0
- package/dist/solvers/{instant-open/prepare-instant-open-params → shared}/resolvers/resolve-fee-rates.js +2 -2
- package/dist/solvers/shared/resolvers/resolve-fee-rates.js.map +1 -0
- package/dist/solvers/shared/resolvers/resolve-market.d.ts +21 -0
- package/dist/solvers/shared/resolvers/resolve-market.d.ts.map +1 -1
- package/dist/solvers/shared/resolvers/resolve-market.js +34 -18
- package/dist/solvers/shared/resolvers/resolve-market.js.map +1 -1
- package/dist/solvers/shared/resolvers/resolve-solver-info.d.ts +29 -0
- package/dist/solvers/shared/resolvers/resolve-solver-info.d.ts.map +1 -0
- package/dist/solvers/shared/resolvers/resolve-solver-info.js +21 -0
- package/dist/solvers/shared/resolvers/resolve-solver-info.js.map +1 -0
- package/dist/solvers/shared/resolvers/types.d.ts +12 -0
- package/dist/solvers/shared/resolvers/types.d.ts.map +1 -1
- package/dist/solvers/types/generated/enigma-solver.d.ts +43 -82
- package/dist/solvers/types/generated/enigma-solver.d.ts.map +1 -1
- package/dist/solvers/types/generated/enigma-solver.js +6 -6
- package/dist/solvers/types/generated/enigma-solver.js.map +1 -1
- package/dist/symmio-contracts/abi/v0.8.6/account-layer.d.ts +696 -85
- package/dist/symmio-contracts/abi/v0.8.6/account-layer.d.ts.map +1 -1
- package/dist/symmio-contracts/abi/v0.8.6/account-layer.js +815 -116
- package/dist/symmio-contracts/abi/v0.8.6/account-layer.js.map +1 -1
- package/dist/symmio-contracts/abi/v0.8.6/symmio.d.ts +1044 -467
- package/dist/symmio-contracts/abi/v0.8.6/symmio.d.ts.map +1 -1
- package/dist/symmio-contracts/abi/v0.8.6/symmio.js +1183 -496
- package/dist/symmio-contracts/abi/v0.8.6/symmio.js.map +1 -1
- package/dist/symmio-contracts/symmio/types.d.ts +3 -1
- package/dist/symmio-contracts/symmio/types.d.ts.map +1 -1
- package/dist/symmio-contracts/symmio/types.js +1 -1
- package/dist/symmio-contracts/symmio/types.js.map +1 -1
- package/package.json +3 -3
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.d.ts.map +0 -1
- package/dist/solvers/instant-open/prepare-instant-open-params/resolvers/resolve-fee-rates.js.map +0 -1
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* (e.g. `ContractFunctionExecutionError` formatting a revert reason),
|
|
11
11
|
* - support new wrapper helpers without having to amend this file each time.
|
|
12
12
|
*
|
|
13
|
-
* @see Source of truth —
|
|
14
|
-
*
|
|
13
|
+
* @see Source of truth — SYMMIO `perps-core`, branch `version_0.8.6`, commit
|
|
14
|
+
* `3e25e6e`: {@link https://github.com/SYMM-IO/perps-core/blob/3e25e6e2130702e92668aeb2dec68395ac25129f/abis/symmio.json}.
|
|
15
15
|
* Upgrading to a new contracts version means swapping the fragments in this
|
|
16
16
|
* folder in place as part of a new SDK release — see `ARCHITECTURE.md` §2.
|
|
17
17
|
*/
|
|
@@ -119,7 +119,7 @@ export declare const symmioAbi: readonly [{
|
|
|
119
119
|
readonly type: "int256";
|
|
120
120
|
}];
|
|
121
121
|
readonly internalType: "struct IViewFacetAggregate.AggregatedFundingDebtBySymbol[]";
|
|
122
|
-
readonly name: "";
|
|
122
|
+
readonly name: "results";
|
|
123
123
|
readonly type: "tuple[]";
|
|
124
124
|
}];
|
|
125
125
|
readonly stateMutability: "view";
|
|
@@ -240,7 +240,54 @@ export declare const symmioAbi: readonly [{
|
|
|
240
240
|
readonly type: "uint256";
|
|
241
241
|
}];
|
|
242
242
|
readonly internalType: "struct IViewFacetAggregate.AggregatedPositionBySymbol[]";
|
|
243
|
-
readonly name: "";
|
|
243
|
+
readonly name: "results";
|
|
244
|
+
readonly type: "tuple[]";
|
|
245
|
+
}];
|
|
246
|
+
readonly stateMutability: "view";
|
|
247
|
+
readonly type: "function";
|
|
248
|
+
}, {
|
|
249
|
+
readonly inputs: readonly [{
|
|
250
|
+
readonly internalType: "address";
|
|
251
|
+
readonly name: "partyA";
|
|
252
|
+
readonly type: "address";
|
|
253
|
+
}, {
|
|
254
|
+
readonly internalType: "address";
|
|
255
|
+
readonly name: "partyB";
|
|
256
|
+
readonly type: "address";
|
|
257
|
+
}, {
|
|
258
|
+
readonly internalType: "uint256";
|
|
259
|
+
readonly name: "start";
|
|
260
|
+
readonly type: "uint256";
|
|
261
|
+
}, {
|
|
262
|
+
readonly internalType: "uint256";
|
|
263
|
+
readonly name: "size";
|
|
264
|
+
readonly type: "uint256";
|
|
265
|
+
}];
|
|
266
|
+
readonly name: "getPartyAExactNotionalUpnlData";
|
|
267
|
+
readonly outputs: readonly [{
|
|
268
|
+
readonly components: readonly [{
|
|
269
|
+
readonly internalType: "uint256";
|
|
270
|
+
readonly name: "symbolId";
|
|
271
|
+
readonly type: "uint256";
|
|
272
|
+
}, {
|
|
273
|
+
readonly internalType: "enum PositionType";
|
|
274
|
+
readonly name: "positionType";
|
|
275
|
+
readonly type: "uint8";
|
|
276
|
+
}, {
|
|
277
|
+
readonly internalType: "uint256";
|
|
278
|
+
readonly name: "aggregatedAmount";
|
|
279
|
+
readonly type: "uint256";
|
|
280
|
+
}, {
|
|
281
|
+
readonly internalType: "uint256";
|
|
282
|
+
readonly name: "aggregatedNotional";
|
|
283
|
+
readonly type: "uint256";
|
|
284
|
+
}, {
|
|
285
|
+
readonly internalType: "int256";
|
|
286
|
+
readonly name: "fundingDebt";
|
|
287
|
+
readonly type: "int256";
|
|
288
|
+
}];
|
|
289
|
+
readonly internalType: "struct IViewFacetAggregate.ExactNotionalUpnlData[]";
|
|
290
|
+
readonly name: "results";
|
|
244
291
|
readonly type: "tuple[]";
|
|
245
292
|
}];
|
|
246
293
|
readonly stateMutability: "view";
|
|
@@ -287,7 +334,7 @@ export declare const symmioAbi: readonly [{
|
|
|
287
334
|
readonly type: "int256";
|
|
288
335
|
}];
|
|
289
336
|
readonly internalType: "struct IViewFacetAggregate.UpnlData[]";
|
|
290
|
-
readonly name: "";
|
|
337
|
+
readonly name: "results";
|
|
291
338
|
readonly type: "tuple[]";
|
|
292
339
|
}];
|
|
293
340
|
readonly stateMutability: "view";
|
|
@@ -432,7 +479,7 @@ export declare const symmioAbi: readonly [{
|
|
|
432
479
|
readonly type: "int256";
|
|
433
480
|
}];
|
|
434
481
|
readonly internalType: "struct IViewFacetAggregate.AggregatedFundingDebtBySymbol[]";
|
|
435
|
-
readonly name: "";
|
|
482
|
+
readonly name: "results";
|
|
436
483
|
readonly type: "tuple[]";
|
|
437
484
|
}];
|
|
438
485
|
readonly stateMutability: "view";
|
|
@@ -619,7 +666,7 @@ export declare const symmioAbi: readonly [{
|
|
|
619
666
|
readonly type: "uint256";
|
|
620
667
|
}];
|
|
621
668
|
readonly internalType: "struct IViewFacetAggregate.AggregatedPositionBySymbol[]";
|
|
622
|
-
readonly name: "";
|
|
669
|
+
readonly name: "results";
|
|
623
670
|
readonly type: "tuple[]";
|
|
624
671
|
}];
|
|
625
672
|
readonly stateMutability: "view";
|
|
@@ -662,7 +709,54 @@ export declare const symmioAbi: readonly [{
|
|
|
662
709
|
readonly type: "uint256";
|
|
663
710
|
}];
|
|
664
711
|
readonly internalType: "struct IViewFacetAggregate.AggregatedPositionBySymbol[]";
|
|
665
|
-
readonly name: "";
|
|
712
|
+
readonly name: "results";
|
|
713
|
+
readonly type: "tuple[]";
|
|
714
|
+
}];
|
|
715
|
+
readonly stateMutability: "view";
|
|
716
|
+
readonly type: "function";
|
|
717
|
+
}, {
|
|
718
|
+
readonly inputs: readonly [{
|
|
719
|
+
readonly internalType: "address";
|
|
720
|
+
readonly name: "partyB";
|
|
721
|
+
readonly type: "address";
|
|
722
|
+
}, {
|
|
723
|
+
readonly internalType: "address";
|
|
724
|
+
readonly name: "partyA";
|
|
725
|
+
readonly type: "address";
|
|
726
|
+
}, {
|
|
727
|
+
readonly internalType: "uint256";
|
|
728
|
+
readonly name: "start";
|
|
729
|
+
readonly type: "uint256";
|
|
730
|
+
}, {
|
|
731
|
+
readonly internalType: "uint256";
|
|
732
|
+
readonly name: "size";
|
|
733
|
+
readonly type: "uint256";
|
|
734
|
+
}];
|
|
735
|
+
readonly name: "getPartyBExactNotionalUpnlData";
|
|
736
|
+
readonly outputs: readonly [{
|
|
737
|
+
readonly components: readonly [{
|
|
738
|
+
readonly internalType: "uint256";
|
|
739
|
+
readonly name: "symbolId";
|
|
740
|
+
readonly type: "uint256";
|
|
741
|
+
}, {
|
|
742
|
+
readonly internalType: "enum PositionType";
|
|
743
|
+
readonly name: "positionType";
|
|
744
|
+
readonly type: "uint8";
|
|
745
|
+
}, {
|
|
746
|
+
readonly internalType: "uint256";
|
|
747
|
+
readonly name: "aggregatedAmount";
|
|
748
|
+
readonly type: "uint256";
|
|
749
|
+
}, {
|
|
750
|
+
readonly internalType: "uint256";
|
|
751
|
+
readonly name: "aggregatedNotional";
|
|
752
|
+
readonly type: "uint256";
|
|
753
|
+
}, {
|
|
754
|
+
readonly internalType: "int256";
|
|
755
|
+
readonly name: "fundingDebt";
|
|
756
|
+
readonly type: "int256";
|
|
757
|
+
}];
|
|
758
|
+
readonly internalType: "struct IViewFacetAggregate.ExactNotionalUpnlData[]";
|
|
759
|
+
readonly name: "results";
|
|
666
760
|
readonly type: "tuple[]";
|
|
667
761
|
}];
|
|
668
762
|
readonly stateMutability: "view";
|
|
@@ -719,7 +813,50 @@ export declare const symmioAbi: readonly [{
|
|
|
719
813
|
readonly type: "int256";
|
|
720
814
|
}];
|
|
721
815
|
readonly internalType: "struct IViewFacetAggregate.AggregatedFundingDebtBySymbol[]";
|
|
722
|
-
readonly name: "";
|
|
816
|
+
readonly name: "results";
|
|
817
|
+
readonly type: "tuple[]";
|
|
818
|
+
}];
|
|
819
|
+
readonly stateMutability: "view";
|
|
820
|
+
readonly type: "function";
|
|
821
|
+
}, {
|
|
822
|
+
readonly inputs: readonly [{
|
|
823
|
+
readonly internalType: "address";
|
|
824
|
+
readonly name: "partyB";
|
|
825
|
+
readonly type: "address";
|
|
826
|
+
}, {
|
|
827
|
+
readonly internalType: "uint256";
|
|
828
|
+
readonly name: "start";
|
|
829
|
+
readonly type: "uint256";
|
|
830
|
+
}, {
|
|
831
|
+
readonly internalType: "uint256";
|
|
832
|
+
readonly name: "size";
|
|
833
|
+
readonly type: "uint256";
|
|
834
|
+
}];
|
|
835
|
+
readonly name: "getPartyBGlobalExactNotionalUpnlData";
|
|
836
|
+
readonly outputs: readonly [{
|
|
837
|
+
readonly components: readonly [{
|
|
838
|
+
readonly internalType: "uint256";
|
|
839
|
+
readonly name: "symbolId";
|
|
840
|
+
readonly type: "uint256";
|
|
841
|
+
}, {
|
|
842
|
+
readonly internalType: "enum PositionType";
|
|
843
|
+
readonly name: "positionType";
|
|
844
|
+
readonly type: "uint8";
|
|
845
|
+
}, {
|
|
846
|
+
readonly internalType: "uint256";
|
|
847
|
+
readonly name: "aggregatedAmount";
|
|
848
|
+
readonly type: "uint256";
|
|
849
|
+
}, {
|
|
850
|
+
readonly internalType: "uint256";
|
|
851
|
+
readonly name: "aggregatedNotional";
|
|
852
|
+
readonly type: "uint256";
|
|
853
|
+
}, {
|
|
854
|
+
readonly internalType: "int256";
|
|
855
|
+
readonly name: "fundingDebt";
|
|
856
|
+
readonly type: "int256";
|
|
857
|
+
}];
|
|
858
|
+
readonly internalType: "struct IViewFacetAggregate.ExactNotionalUpnlData[]";
|
|
859
|
+
readonly name: "results";
|
|
723
860
|
readonly type: "tuple[]";
|
|
724
861
|
}];
|
|
725
862
|
readonly stateMutability: "view";
|
|
@@ -762,7 +899,7 @@ export declare const symmioAbi: readonly [{
|
|
|
762
899
|
readonly type: "int256";
|
|
763
900
|
}];
|
|
764
901
|
readonly internalType: "struct IViewFacetAggregate.UpnlData[]";
|
|
765
|
-
readonly name: "";
|
|
902
|
+
readonly name: "results";
|
|
766
903
|
readonly type: "tuple[]";
|
|
767
904
|
}];
|
|
768
905
|
readonly stateMutability: "view";
|
|
@@ -809,7 +946,7 @@ export declare const symmioAbi: readonly [{
|
|
|
809
946
|
readonly type: "int256";
|
|
810
947
|
}];
|
|
811
948
|
readonly internalType: "struct IViewFacetAggregate.UpnlData[]";
|
|
812
|
-
readonly name: "";
|
|
949
|
+
readonly name: "results";
|
|
813
950
|
readonly type: "tuple[]";
|
|
814
951
|
}];
|
|
815
952
|
readonly stateMutability: "view";
|
|
@@ -846,6 +983,10 @@ export declare const symmioAbi: readonly [{
|
|
|
846
983
|
}];
|
|
847
984
|
readonly name: "HookReverted";
|
|
848
985
|
readonly type: "error";
|
|
986
|
+
}, {
|
|
987
|
+
readonly inputs: readonly [];
|
|
988
|
+
readonly name: "PendingQuoteIsStale";
|
|
989
|
+
readonly type: "error";
|
|
849
990
|
}, {
|
|
850
991
|
readonly anonymous: false;
|
|
851
992
|
readonly inputs: readonly [{
|
|
@@ -4391,7 +4532,7 @@ export declare const symmioAbi: readonly [{
|
|
|
4391
4532
|
readonly type: "tuple";
|
|
4392
4533
|
}];
|
|
4393
4534
|
readonly internalType: "struct SettlementSig";
|
|
4394
|
-
readonly name: "
|
|
4535
|
+
readonly name: "settlementSig";
|
|
4395
4536
|
readonly type: "tuple";
|
|
4396
4537
|
}, {
|
|
4397
4538
|
readonly internalType: "uint256[]";
|
|
@@ -4872,6 +5013,31 @@ export declare const symmioAbi: readonly [{
|
|
|
4872
5013
|
}];
|
|
4873
5014
|
readonly name: "AllocateForPartyB";
|
|
4874
5015
|
readonly type: "event";
|
|
5016
|
+
}, {
|
|
5017
|
+
readonly anonymous: false;
|
|
5018
|
+
readonly inputs: readonly [{
|
|
5019
|
+
readonly indexed: true;
|
|
5020
|
+
readonly internalType: "address";
|
|
5021
|
+
readonly name: "partyB";
|
|
5022
|
+
readonly type: "address";
|
|
5023
|
+
}, {
|
|
5024
|
+
readonly indexed: true;
|
|
5025
|
+
readonly internalType: "address";
|
|
5026
|
+
readonly name: "partyA";
|
|
5027
|
+
readonly type: "address";
|
|
5028
|
+
}, {
|
|
5029
|
+
readonly indexed: false;
|
|
5030
|
+
readonly internalType: "uint256";
|
|
5031
|
+
readonly name: "amount";
|
|
5032
|
+
readonly type: "uint256";
|
|
5033
|
+
}, {
|
|
5034
|
+
readonly indexed: false;
|
|
5035
|
+
readonly internalType: "enum SharedEvents.BalanceChangeType";
|
|
5036
|
+
readonly name: "_type";
|
|
5037
|
+
readonly type: "uint8";
|
|
5038
|
+
}];
|
|
5039
|
+
readonly name: "BalanceChangePartyB";
|
|
5040
|
+
readonly type: "event";
|
|
4875
5041
|
}, {
|
|
4876
5042
|
readonly anonymous: false;
|
|
4877
5043
|
readonly inputs: readonly [{
|
|
@@ -5178,31 +5344,6 @@ export declare const symmioAbi: readonly [{
|
|
|
5178
5344
|
readonly outputs: readonly [];
|
|
5179
5345
|
readonly stateMutability: "nonpayable";
|
|
5180
5346
|
readonly type: "function";
|
|
5181
|
-
}, {
|
|
5182
|
-
readonly anonymous: false;
|
|
5183
|
-
readonly inputs: readonly [{
|
|
5184
|
-
readonly indexed: true;
|
|
5185
|
-
readonly internalType: "address";
|
|
5186
|
-
readonly name: "partyB";
|
|
5187
|
-
readonly type: "address";
|
|
5188
|
-
}, {
|
|
5189
|
-
readonly indexed: true;
|
|
5190
|
-
readonly internalType: "address";
|
|
5191
|
-
readonly name: "partyA";
|
|
5192
|
-
readonly type: "address";
|
|
5193
|
-
}, {
|
|
5194
|
-
readonly indexed: false;
|
|
5195
|
-
readonly internalType: "uint256";
|
|
5196
|
-
readonly name: "amount";
|
|
5197
|
-
readonly type: "uint256";
|
|
5198
|
-
}, {
|
|
5199
|
-
readonly indexed: false;
|
|
5200
|
-
readonly internalType: "enum SharedEvents.BalanceChangeType";
|
|
5201
|
-
readonly name: "_type";
|
|
5202
|
-
readonly type: "uint8";
|
|
5203
|
-
}];
|
|
5204
|
-
readonly name: "BalanceChangePartyB";
|
|
5205
|
-
readonly type: "event";
|
|
5206
5347
|
}, {
|
|
5207
5348
|
readonly inputs: readonly [{
|
|
5208
5349
|
readonly internalType: "uint256";
|
|
@@ -5453,6 +5594,16 @@ export declare const symmioAbi: readonly [{
|
|
|
5453
5594
|
}];
|
|
5454
5595
|
readonly stateMutability: "view";
|
|
5455
5596
|
readonly type: "function";
|
|
5597
|
+
}, {
|
|
5598
|
+
readonly inputs: readonly [];
|
|
5599
|
+
readonly name: "getLiquidationStartNonce";
|
|
5600
|
+
readonly outputs: readonly [{
|
|
5601
|
+
readonly internalType: "uint256";
|
|
5602
|
+
readonly name: "";
|
|
5603
|
+
readonly type: "uint256";
|
|
5604
|
+
}];
|
|
5605
|
+
readonly stateMutability: "view";
|
|
5606
|
+
readonly type: "function";
|
|
5456
5607
|
}, {
|
|
5457
5608
|
readonly inputs: readonly [{
|
|
5458
5609
|
readonly internalType: "address";
|
|
@@ -5475,6 +5626,20 @@ export declare const symmioAbi: readonly [{
|
|
|
5475
5626
|
}];
|
|
5476
5627
|
readonly stateMutability: "view";
|
|
5477
5628
|
readonly type: "function";
|
|
5629
|
+
}, {
|
|
5630
|
+
readonly inputs: readonly [{
|
|
5631
|
+
readonly internalType: "uint256";
|
|
5632
|
+
readonly name: "symbolId";
|
|
5633
|
+
readonly type: "uint256";
|
|
5634
|
+
}];
|
|
5635
|
+
readonly name: "getPendingQuoteIdCutoff";
|
|
5636
|
+
readonly outputs: readonly [{
|
|
5637
|
+
readonly internalType: "uint256";
|
|
5638
|
+
readonly name: "";
|
|
5639
|
+
readonly type: "uint256";
|
|
5640
|
+
}];
|
|
5641
|
+
readonly stateMutability: "view";
|
|
5642
|
+
readonly type: "function";
|
|
5478
5643
|
}, {
|
|
5479
5644
|
readonly inputs: readonly [{
|
|
5480
5645
|
readonly internalType: "uint256";
|
|
@@ -5489,6 +5654,20 @@ export declare const symmioAbi: readonly [{
|
|
|
5489
5654
|
}];
|
|
5490
5655
|
readonly stateMutability: "view";
|
|
5491
5656
|
readonly type: "function";
|
|
5657
|
+
}, {
|
|
5658
|
+
readonly inputs: readonly [{
|
|
5659
|
+
readonly internalType: "uint256";
|
|
5660
|
+
readonly name: "quoteId";
|
|
5661
|
+
readonly type: "uint256";
|
|
5662
|
+
}];
|
|
5663
|
+
readonly name: "getQuoteFundingSettledEpoch";
|
|
5664
|
+
readonly outputs: readonly [{
|
|
5665
|
+
readonly internalType: "uint256";
|
|
5666
|
+
readonly name: "";
|
|
5667
|
+
readonly type: "uint256";
|
|
5668
|
+
}];
|
|
5669
|
+
readonly stateMutability: "view";
|
|
5670
|
+
readonly type: "function";
|
|
5492
5671
|
}, {
|
|
5493
5672
|
readonly inputs: readonly [{
|
|
5494
5673
|
readonly internalType: "uint256";
|
|
@@ -5529,6 +5708,32 @@ export declare const symmioAbi: readonly [{
|
|
|
5529
5708
|
}];
|
|
5530
5709
|
readonly stateMutability: "view";
|
|
5531
5710
|
readonly type: "function";
|
|
5711
|
+
}, {
|
|
5712
|
+
readonly inputs: readonly [{
|
|
5713
|
+
readonly internalType: "uint256";
|
|
5714
|
+
readonly name: "symbolId";
|
|
5715
|
+
readonly type: "uint256";
|
|
5716
|
+
}];
|
|
5717
|
+
readonly name: "getRestatementFundingSettlementProgress";
|
|
5718
|
+
readonly outputs: readonly [{
|
|
5719
|
+
readonly internalType: "uint256";
|
|
5720
|
+
readonly name: "epoch";
|
|
5721
|
+
readonly type: "uint256";
|
|
5722
|
+
}, {
|
|
5723
|
+
readonly internalType: "bool";
|
|
5724
|
+
readonly name: "fundingSettlementRequired";
|
|
5725
|
+
readonly type: "bool";
|
|
5726
|
+
}, {
|
|
5727
|
+
readonly internalType: "uint256";
|
|
5728
|
+
readonly name: "remainingLong";
|
|
5729
|
+
readonly type: "uint256";
|
|
5730
|
+
}, {
|
|
5731
|
+
readonly internalType: "uint256";
|
|
5732
|
+
readonly name: "remainingShort";
|
|
5733
|
+
readonly type: "uint256";
|
|
5734
|
+
}];
|
|
5735
|
+
readonly stateMutability: "view";
|
|
5736
|
+
readonly type: "function";
|
|
5532
5737
|
}, {
|
|
5533
5738
|
readonly inputs: readonly [{
|
|
5534
5739
|
readonly internalType: "uint256";
|
|
@@ -5684,6 +5889,10 @@ export declare const symmioAbi: readonly [{
|
|
|
5684
5889
|
readonly internalType: "uint256";
|
|
5685
5890
|
readonly name: "basisVersion";
|
|
5686
5891
|
readonly type: "uint256";
|
|
5892
|
+
}, {
|
|
5893
|
+
readonly internalType: "uint256";
|
|
5894
|
+
readonly name: "pendingQuoteIdCutoff";
|
|
5895
|
+
readonly type: "uint256";
|
|
5687
5896
|
}, {
|
|
5688
5897
|
readonly internalType: "uint256";
|
|
5689
5898
|
readonly name: "restatementStartedAt";
|
|
@@ -5704,6 +5913,10 @@ export declare const symmioAbi: readonly [{
|
|
|
5704
5913
|
readonly internalType: "uint256";
|
|
5705
5914
|
readonly name: "fundingRestorationTimestamp";
|
|
5706
5915
|
readonly type: "uint256";
|
|
5916
|
+
}, {
|
|
5917
|
+
readonly internalType: "bool";
|
|
5918
|
+
readonly name: "fundingSettlementRequired";
|
|
5919
|
+
readonly type: "bool";
|
|
5707
5920
|
}];
|
|
5708
5921
|
readonly internalType: "struct SymbolAdjustment";
|
|
5709
5922
|
readonly name: "";
|
|
@@ -5919,10 +6132,24 @@ export declare const symmioAbi: readonly [{
|
|
|
5919
6132
|
}, {
|
|
5920
6133
|
readonly inputs: readonly [{
|
|
5921
6134
|
readonly internalType: "uint256";
|
|
5922
|
-
readonly name: "
|
|
6135
|
+
readonly name: "quoteId";
|
|
5923
6136
|
readonly type: "uint256";
|
|
5924
|
-
}
|
|
5925
|
-
|
|
6137
|
+
}];
|
|
6138
|
+
readonly name: "isPendingQuoteStale";
|
|
6139
|
+
readonly outputs: readonly [{
|
|
6140
|
+
readonly internalType: "bool";
|
|
6141
|
+
readonly name: "";
|
|
6142
|
+
readonly type: "bool";
|
|
6143
|
+
}];
|
|
6144
|
+
readonly stateMutability: "view";
|
|
6145
|
+
readonly type: "function";
|
|
6146
|
+
}, {
|
|
6147
|
+
readonly inputs: readonly [{
|
|
6148
|
+
readonly internalType: "uint256";
|
|
6149
|
+
readonly name: "symbolId";
|
|
6150
|
+
readonly type: "uint256";
|
|
6151
|
+
}, {
|
|
6152
|
+
readonly internalType: "address";
|
|
5926
6153
|
readonly name: "partyB";
|
|
5927
6154
|
readonly type: "address";
|
|
5928
6155
|
}];
|
|
@@ -6104,6 +6331,14 @@ export declare const symmioAbi: readonly [{
|
|
|
6104
6331
|
}];
|
|
6105
6332
|
readonly stateMutability: "view";
|
|
6106
6333
|
readonly type: "function";
|
|
6334
|
+
}, {
|
|
6335
|
+
readonly inputs: readonly [{
|
|
6336
|
+
readonly internalType: "address";
|
|
6337
|
+
readonly name: "token";
|
|
6338
|
+
readonly type: "address";
|
|
6339
|
+
}];
|
|
6340
|
+
readonly name: "SafeERC20FailedOperation";
|
|
6341
|
+
readonly type: "error";
|
|
6107
6342
|
}, {
|
|
6108
6343
|
readonly anonymous: false;
|
|
6109
6344
|
readonly inputs: readonly [{
|
|
@@ -6234,12 +6469,86 @@ export declare const symmioAbi: readonly [{
|
|
|
6234
6469
|
readonly type: "function";
|
|
6235
6470
|
}, {
|
|
6236
6471
|
readonly inputs: readonly [{
|
|
6472
|
+
readonly internalType: "uint256";
|
|
6473
|
+
readonly name: "expected";
|
|
6474
|
+
readonly type: "uint256";
|
|
6475
|
+
}, {
|
|
6476
|
+
readonly internalType: "uint256";
|
|
6477
|
+
readonly name: "actual";
|
|
6478
|
+
readonly type: "uint256";
|
|
6479
|
+
}];
|
|
6480
|
+
readonly name: "LiquidationStartNonceMismatch";
|
|
6481
|
+
readonly type: "error";
|
|
6482
|
+
}, {
|
|
6483
|
+
readonly anonymous: false;
|
|
6484
|
+
readonly inputs: readonly [{
|
|
6485
|
+
readonly indexed: true;
|
|
6486
|
+
readonly internalType: "uint256";
|
|
6487
|
+
readonly name: "symbolId";
|
|
6488
|
+
readonly type: "uint256";
|
|
6489
|
+
}, {
|
|
6490
|
+
readonly indexed: true;
|
|
6237
6491
|
readonly internalType: "address";
|
|
6238
|
-
readonly name: "
|
|
6492
|
+
readonly name: "partyB";
|
|
6239
6493
|
readonly type: "address";
|
|
6494
|
+
}, {
|
|
6495
|
+
readonly indexed: false;
|
|
6496
|
+
readonly internalType: "int256";
|
|
6497
|
+
readonly name: "currentLongRate";
|
|
6498
|
+
readonly type: "int256";
|
|
6499
|
+
}, {
|
|
6500
|
+
readonly indexed: false;
|
|
6501
|
+
readonly internalType: "int256";
|
|
6502
|
+
readonly name: "currentShortRate";
|
|
6503
|
+
readonly type: "int256";
|
|
6504
|
+
}, {
|
|
6505
|
+
readonly indexed: false;
|
|
6506
|
+
readonly internalType: "int256";
|
|
6507
|
+
readonly name: "accumulatedLongRate";
|
|
6508
|
+
readonly type: "int256";
|
|
6509
|
+
}, {
|
|
6510
|
+
readonly indexed: false;
|
|
6511
|
+
readonly internalType: "int256";
|
|
6512
|
+
readonly name: "accumulatedShortRate";
|
|
6513
|
+
readonly type: "int256";
|
|
6514
|
+
}, {
|
|
6515
|
+
readonly indexed: false;
|
|
6516
|
+
readonly internalType: "uint256";
|
|
6517
|
+
readonly name: "lastUpdatedEpoch";
|
|
6518
|
+
readonly type: "uint256";
|
|
6519
|
+
}, {
|
|
6520
|
+
readonly indexed: false;
|
|
6521
|
+
readonly internalType: "uint256";
|
|
6522
|
+
readonly name: "lastUpdatedTimeStamp";
|
|
6523
|
+
readonly type: "uint256";
|
|
6524
|
+
}, {
|
|
6525
|
+
readonly indexed: false;
|
|
6526
|
+
readonly internalType: "uint256";
|
|
6527
|
+
readonly name: "startEpochTimeStamp";
|
|
6528
|
+
readonly type: "uint256";
|
|
6529
|
+
}, {
|
|
6530
|
+
readonly indexed: false;
|
|
6531
|
+
readonly internalType: "uint256";
|
|
6532
|
+
readonly name: "startEpoch";
|
|
6533
|
+
readonly type: "uint256";
|
|
6534
|
+
}, {
|
|
6535
|
+
readonly indexed: false;
|
|
6536
|
+
readonly internalType: "uint256";
|
|
6537
|
+
readonly name: "epochDuration";
|
|
6538
|
+
readonly type: "uint256";
|
|
6539
|
+
}, {
|
|
6540
|
+
readonly indexed: false;
|
|
6541
|
+
readonly internalType: "int256";
|
|
6542
|
+
readonly name: "snapshotLongFee";
|
|
6543
|
+
readonly type: "int256";
|
|
6544
|
+
}, {
|
|
6545
|
+
readonly indexed: false;
|
|
6546
|
+
readonly internalType: "int256";
|
|
6547
|
+
readonly name: "snapshotShortFee";
|
|
6548
|
+
readonly type: "int256";
|
|
6240
6549
|
}];
|
|
6241
|
-
readonly name: "
|
|
6242
|
-
readonly type: "
|
|
6550
|
+
readonly name: "AccumulatedFundingStateUpdated";
|
|
6551
|
+
readonly type: "event";
|
|
6243
6552
|
}, {
|
|
6244
6553
|
readonly anonymous: false;
|
|
6245
6554
|
readonly inputs: readonly [{
|
|
@@ -6280,6 +6589,36 @@ export declare const symmioAbi: readonly [{
|
|
|
6280
6589
|
}];
|
|
6281
6590
|
readonly name: "AdjustmentScheduled";
|
|
6282
6591
|
readonly type: "event";
|
|
6592
|
+
}, {
|
|
6593
|
+
readonly anonymous: false;
|
|
6594
|
+
readonly inputs: readonly [{
|
|
6595
|
+
readonly indexed: true;
|
|
6596
|
+
readonly internalType: "uint256";
|
|
6597
|
+
readonly name: "quoteId";
|
|
6598
|
+
readonly type: "uint256";
|
|
6599
|
+
}, {
|
|
6600
|
+
readonly indexed: true;
|
|
6601
|
+
readonly internalType: "uint256";
|
|
6602
|
+
readonly name: "symbolId";
|
|
6603
|
+
readonly type: "uint256";
|
|
6604
|
+
}, {
|
|
6605
|
+
readonly indexed: false;
|
|
6606
|
+
readonly internalType: "uint256";
|
|
6607
|
+
readonly name: "closeId";
|
|
6608
|
+
readonly type: "uint256";
|
|
6609
|
+
}];
|
|
6610
|
+
readonly name: "CloseRequestCancelledByAdjustment";
|
|
6611
|
+
readonly type: "event";
|
|
6612
|
+
}, {
|
|
6613
|
+
readonly anonymous: false;
|
|
6614
|
+
readonly inputs: readonly [{
|
|
6615
|
+
readonly indexed: true;
|
|
6616
|
+
readonly internalType: "uint256";
|
|
6617
|
+
readonly name: "nonce";
|
|
6618
|
+
readonly type: "uint256";
|
|
6619
|
+
}];
|
|
6620
|
+
readonly name: "LiquidationStartNonceIncremented";
|
|
6621
|
+
readonly type: "event";
|
|
6283
6622
|
}, {
|
|
6284
6623
|
readonly anonymous: false;
|
|
6285
6624
|
readonly inputs: readonly [{
|
|
@@ -6295,6 +6634,26 @@ export declare const symmioAbi: readonly [{
|
|
|
6295
6634
|
}];
|
|
6296
6635
|
readonly name: "PendingQuoteCancelledByAdjustment";
|
|
6297
6636
|
readonly type: "event";
|
|
6637
|
+
}, {
|
|
6638
|
+
readonly anonymous: false;
|
|
6639
|
+
readonly inputs: readonly [{
|
|
6640
|
+
readonly indexed: true;
|
|
6641
|
+
readonly internalType: "uint256";
|
|
6642
|
+
readonly name: "symbolId";
|
|
6643
|
+
readonly type: "uint256";
|
|
6644
|
+
}, {
|
|
6645
|
+
readonly indexed: true;
|
|
6646
|
+
readonly internalType: "uint256";
|
|
6647
|
+
readonly name: "epoch";
|
|
6648
|
+
readonly type: "uint256";
|
|
6649
|
+
}, {
|
|
6650
|
+
readonly indexed: false;
|
|
6651
|
+
readonly internalType: "uint256";
|
|
6652
|
+
readonly name: "cutoffQuoteId";
|
|
6653
|
+
readonly type: "uint256";
|
|
6654
|
+
}];
|
|
6655
|
+
readonly name: "PendingQuoteIdCutoffUpdated";
|
|
6656
|
+
readonly type: "event";
|
|
6298
6657
|
}, {
|
|
6299
6658
|
readonly anonymous: false;
|
|
6300
6659
|
readonly inputs: readonly [{
|
|
@@ -6445,6 +6804,21 @@ export declare const symmioAbi: readonly [{
|
|
|
6445
6804
|
}];
|
|
6446
6805
|
readonly name: "RestatementFundingRestorationStarted";
|
|
6447
6806
|
readonly type: "event";
|
|
6807
|
+
}, {
|
|
6808
|
+
readonly anonymous: false;
|
|
6809
|
+
readonly inputs: readonly [{
|
|
6810
|
+
readonly indexed: true;
|
|
6811
|
+
readonly internalType: "uint256";
|
|
6812
|
+
readonly name: "symbolId";
|
|
6813
|
+
readonly type: "uint256";
|
|
6814
|
+
}, {
|
|
6815
|
+
readonly indexed: true;
|
|
6816
|
+
readonly internalType: "uint256";
|
|
6817
|
+
readonly name: "epoch";
|
|
6818
|
+
readonly type: "uint256";
|
|
6819
|
+
}];
|
|
6820
|
+
readonly name: "RestatementFundingSettlementCompleted";
|
|
6821
|
+
readonly type: "event";
|
|
6448
6822
|
}, {
|
|
6449
6823
|
readonly anonymous: false;
|
|
6450
6824
|
readonly inputs: readonly [{
|
|
@@ -6547,6 +6921,11 @@ export declare const symmioAbi: readonly [{
|
|
|
6547
6921
|
readonly internalType: "uint256";
|
|
6548
6922
|
readonly name: "pendingFundingPartyBCount";
|
|
6549
6923
|
readonly type: "uint256";
|
|
6924
|
+
}, {
|
|
6925
|
+
readonly indexed: false;
|
|
6926
|
+
readonly internalType: "enum RestatementPhase";
|
|
6927
|
+
readonly name: "phase";
|
|
6928
|
+
readonly type: "uint8";
|
|
6550
6929
|
}];
|
|
6551
6930
|
readonly name: "RestatementPreparationCompleted";
|
|
6552
6931
|
readonly type: "event";
|
|
@@ -6615,6 +6994,26 @@ export declare const symmioAbi: readonly [{
|
|
|
6615
6994
|
}];
|
|
6616
6995
|
readonly name: "RestatementStarted";
|
|
6617
6996
|
readonly type: "event";
|
|
6997
|
+
}, {
|
|
6998
|
+
readonly anonymous: false;
|
|
6999
|
+
readonly inputs: readonly [{
|
|
7000
|
+
readonly indexed: true;
|
|
7001
|
+
readonly internalType: "uint256";
|
|
7002
|
+
readonly name: "quoteId";
|
|
7003
|
+
readonly type: "uint256";
|
|
7004
|
+
}, {
|
|
7005
|
+
readonly indexed: true;
|
|
7006
|
+
readonly internalType: "uint256";
|
|
7007
|
+
readonly name: "symbolId";
|
|
7008
|
+
readonly type: "uint256";
|
|
7009
|
+
}, {
|
|
7010
|
+
readonly indexed: false;
|
|
7011
|
+
readonly internalType: "uint256";
|
|
7012
|
+
readonly name: "cutoffQuoteId";
|
|
7013
|
+
readonly type: "uint256";
|
|
7014
|
+
}];
|
|
7015
|
+
readonly name: "StalePendingQuoteCancelled";
|
|
7016
|
+
readonly type: "event";
|
|
6618
7017
|
}, {
|
|
6619
7018
|
readonly inputs: readonly [{
|
|
6620
7019
|
readonly internalType: "uint256";
|
|
@@ -6659,6 +7058,16 @@ export declare const symmioAbi: readonly [{
|
|
|
6659
7058
|
readonly outputs: readonly [];
|
|
6660
7059
|
readonly stateMutability: "nonpayable";
|
|
6661
7060
|
readonly type: "function";
|
|
7061
|
+
}, {
|
|
7062
|
+
readonly inputs: readonly [{
|
|
7063
|
+
readonly internalType: "uint256[]";
|
|
7064
|
+
readonly name: "quoteIds";
|
|
7065
|
+
readonly type: "uint256[]";
|
|
7066
|
+
}];
|
|
7067
|
+
readonly name: "cancelStalePendingQuotes";
|
|
7068
|
+
readonly outputs: readonly [];
|
|
7069
|
+
readonly stateMutability: "nonpayable";
|
|
7070
|
+
readonly type: "function";
|
|
6662
7071
|
}, {
|
|
6663
7072
|
readonly inputs: readonly [{
|
|
6664
7073
|
readonly internalType: "uint256";
|
|
@@ -6726,81 +7135,15 @@ export declare const symmioAbi: readonly [{
|
|
|
6726
7135
|
readonly internalType: "uint256";
|
|
6727
7136
|
readonly name: "symbolId";
|
|
6728
7137
|
readonly type: "uint256";
|
|
7138
|
+
}, {
|
|
7139
|
+
readonly internalType: "uint256";
|
|
7140
|
+
readonly name: "expectedLiquidationStartNonce";
|
|
7141
|
+
readonly type: "uint256";
|
|
6729
7142
|
}];
|
|
6730
7143
|
readonly name: "startRestatement";
|
|
6731
7144
|
readonly outputs: readonly [];
|
|
6732
7145
|
readonly stateMutability: "nonpayable";
|
|
6733
7146
|
readonly type: "function";
|
|
6734
|
-
}, {
|
|
6735
|
-
readonly anonymous: false;
|
|
6736
|
-
readonly inputs: readonly [{
|
|
6737
|
-
readonly indexed: true;
|
|
6738
|
-
readonly internalType: "uint256";
|
|
6739
|
-
readonly name: "symbolId";
|
|
6740
|
-
readonly type: "uint256";
|
|
6741
|
-
}, {
|
|
6742
|
-
readonly indexed: true;
|
|
6743
|
-
readonly internalType: "address";
|
|
6744
|
-
readonly name: "partyB";
|
|
6745
|
-
readonly type: "address";
|
|
6746
|
-
}, {
|
|
6747
|
-
readonly indexed: false;
|
|
6748
|
-
readonly internalType: "int256";
|
|
6749
|
-
readonly name: "currentLongRate";
|
|
6750
|
-
readonly type: "int256";
|
|
6751
|
-
}, {
|
|
6752
|
-
readonly indexed: false;
|
|
6753
|
-
readonly internalType: "int256";
|
|
6754
|
-
readonly name: "currentShortRate";
|
|
6755
|
-
readonly type: "int256";
|
|
6756
|
-
}, {
|
|
6757
|
-
readonly indexed: false;
|
|
6758
|
-
readonly internalType: "int256";
|
|
6759
|
-
readonly name: "accumulatedLongRate";
|
|
6760
|
-
readonly type: "int256";
|
|
6761
|
-
}, {
|
|
6762
|
-
readonly indexed: false;
|
|
6763
|
-
readonly internalType: "int256";
|
|
6764
|
-
readonly name: "accumulatedShortRate";
|
|
6765
|
-
readonly type: "int256";
|
|
6766
|
-
}, {
|
|
6767
|
-
readonly indexed: false;
|
|
6768
|
-
readonly internalType: "uint256";
|
|
6769
|
-
readonly name: "lastUpdatedEpoch";
|
|
6770
|
-
readonly type: "uint256";
|
|
6771
|
-
}, {
|
|
6772
|
-
readonly indexed: false;
|
|
6773
|
-
readonly internalType: "uint256";
|
|
6774
|
-
readonly name: "lastUpdatedTimeStamp";
|
|
6775
|
-
readonly type: "uint256";
|
|
6776
|
-
}, {
|
|
6777
|
-
readonly indexed: false;
|
|
6778
|
-
readonly internalType: "uint256";
|
|
6779
|
-
readonly name: "startEpochTimeStamp";
|
|
6780
|
-
readonly type: "uint256";
|
|
6781
|
-
}, {
|
|
6782
|
-
readonly indexed: false;
|
|
6783
|
-
readonly internalType: "uint256";
|
|
6784
|
-
readonly name: "startEpoch";
|
|
6785
|
-
readonly type: "uint256";
|
|
6786
|
-
}, {
|
|
6787
|
-
readonly indexed: false;
|
|
6788
|
-
readonly internalType: "uint256";
|
|
6789
|
-
readonly name: "epochDuration";
|
|
6790
|
-
readonly type: "uint256";
|
|
6791
|
-
}, {
|
|
6792
|
-
readonly indexed: false;
|
|
6793
|
-
readonly internalType: "int256";
|
|
6794
|
-
readonly name: "snapshotLongFee";
|
|
6795
|
-
readonly type: "int256";
|
|
6796
|
-
}, {
|
|
6797
|
-
readonly indexed: false;
|
|
6798
|
-
readonly internalType: "int256";
|
|
6799
|
-
readonly name: "snapshotShortFee";
|
|
6800
|
-
readonly type: "int256";
|
|
6801
|
-
}];
|
|
6802
|
-
readonly name: "AccumulatedFundingStateUpdated";
|
|
6803
|
-
readonly type: "event";
|
|
6804
7147
|
}, {
|
|
6805
7148
|
readonly inputs: readonly [];
|
|
6806
7149
|
readonly name: "activateAccumulatedFunding";
|
|
@@ -6885,6 +7228,16 @@ export declare const symmioAbi: readonly [{
|
|
|
6885
7228
|
readonly outputs: readonly [];
|
|
6886
7229
|
readonly stateMutability: "nonpayable";
|
|
6887
7230
|
readonly type: "function";
|
|
7231
|
+
}, {
|
|
7232
|
+
readonly inputs: readonly [{
|
|
7233
|
+
readonly internalType: "address";
|
|
7234
|
+
readonly name: "partyB";
|
|
7235
|
+
readonly type: "address";
|
|
7236
|
+
}];
|
|
7237
|
+
readonly name: "pausePartyBOpenPositionsFor";
|
|
7238
|
+
readonly outputs: readonly [];
|
|
7239
|
+
readonly stateMutability: "nonpayable";
|
|
7240
|
+
readonly type: "function";
|
|
6888
7241
|
}, {
|
|
6889
7242
|
readonly inputs: readonly [];
|
|
6890
7243
|
readonly name: "pauseWithdrawAdvance";
|
|
@@ -6893,29 +7246,35 @@ export declare const symmioAbi: readonly [{
|
|
|
6893
7246
|
readonly type: "function";
|
|
6894
7247
|
}, {
|
|
6895
7248
|
readonly inputs: readonly [{
|
|
6896
|
-
readonly internalType: "address[]";
|
|
6897
|
-
readonly name: "partyBs";
|
|
6898
|
-
readonly type: "address[]";
|
|
6899
|
-
}, {
|
|
6900
7249
|
readonly internalType: "bool";
|
|
6901
|
-
readonly name: "
|
|
7250
|
+
readonly name: "deprecated";
|
|
6902
7251
|
readonly type: "bool";
|
|
6903
7252
|
}];
|
|
6904
|
-
readonly name: "
|
|
7253
|
+
readonly name: "setLegacyDeallocateDeprecated";
|
|
6905
7254
|
readonly outputs: readonly [];
|
|
6906
7255
|
readonly stateMutability: "nonpayable";
|
|
6907
7256
|
readonly type: "function";
|
|
6908
7257
|
}, {
|
|
6909
7258
|
readonly inputs: readonly [{
|
|
6910
|
-
readonly internalType: "
|
|
6911
|
-
readonly name: "
|
|
6912
|
-
readonly type: "
|
|
7259
|
+
readonly internalType: "bool";
|
|
7260
|
+
readonly name: "deprecated";
|
|
7261
|
+
readonly type: "bool";
|
|
7262
|
+
}];
|
|
7263
|
+
readonly name: "setLegacyPartyALiquidationDeprecated";
|
|
7264
|
+
readonly outputs: readonly [];
|
|
7265
|
+
readonly stateMutability: "nonpayable";
|
|
7266
|
+
readonly type: "function";
|
|
7267
|
+
}, {
|
|
7268
|
+
readonly inputs: readonly [{
|
|
7269
|
+
readonly internalType: "address[]";
|
|
7270
|
+
readonly name: "partyBs";
|
|
7271
|
+
readonly type: "address[]";
|
|
6913
7272
|
}, {
|
|
6914
7273
|
readonly internalType: "bool";
|
|
6915
7274
|
readonly name: "status";
|
|
6916
7275
|
readonly type: "bool";
|
|
6917
7276
|
}];
|
|
6918
|
-
readonly name: "
|
|
7277
|
+
readonly name: "setPartyBEmergencyStatus";
|
|
6919
7278
|
readonly outputs: readonly [];
|
|
6920
7279
|
readonly stateMutability: "nonpayable";
|
|
6921
7280
|
readonly type: "function";
|
|
@@ -6983,6 +7342,16 @@ export declare const symmioAbi: readonly [{
|
|
|
6983
7342
|
readonly outputs: readonly [];
|
|
6984
7343
|
readonly stateMutability: "nonpayable";
|
|
6985
7344
|
readonly type: "function";
|
|
7345
|
+
}, {
|
|
7346
|
+
readonly inputs: readonly [{
|
|
7347
|
+
readonly internalType: "address";
|
|
7348
|
+
readonly name: "partyB";
|
|
7349
|
+
readonly type: "address";
|
|
7350
|
+
}];
|
|
7351
|
+
readonly name: "unpausePartyBOpenPositionsFor";
|
|
7352
|
+
readonly outputs: readonly [];
|
|
7353
|
+
readonly stateMutability: "nonpayable";
|
|
7354
|
+
readonly type: "function";
|
|
6986
7355
|
}, {
|
|
6987
7356
|
readonly inputs: readonly [];
|
|
6988
7357
|
readonly name: "unpauseWithdrawAdvance";
|
|
@@ -7013,6 +7382,24 @@ export declare const symmioAbi: readonly [{
|
|
|
7013
7382
|
}];
|
|
7014
7383
|
readonly stateMutability: "view";
|
|
7015
7384
|
readonly type: "function";
|
|
7385
|
+
}, {
|
|
7386
|
+
readonly inputs: readonly [{
|
|
7387
|
+
readonly internalType: "address";
|
|
7388
|
+
readonly name: "partyB";
|
|
7389
|
+
readonly type: "address";
|
|
7390
|
+
}, {
|
|
7391
|
+
readonly internalType: "address";
|
|
7392
|
+
readonly name: "partyA";
|
|
7393
|
+
readonly type: "address";
|
|
7394
|
+
}];
|
|
7395
|
+
readonly name: "allocatedBalanceOfPartyB";
|
|
7396
|
+
readonly outputs: readonly [{
|
|
7397
|
+
readonly internalType: "uint256";
|
|
7398
|
+
readonly name: "";
|
|
7399
|
+
readonly type: "uint256";
|
|
7400
|
+
}];
|
|
7401
|
+
readonly stateMutability: "view";
|
|
7402
|
+
readonly type: "function";
|
|
7016
7403
|
}, {
|
|
7017
7404
|
readonly inputs: readonly [{
|
|
7018
7405
|
readonly internalType: "address";
|
|
@@ -7031,6 +7418,52 @@ export declare const symmioAbi: readonly [{
|
|
|
7031
7418
|
}];
|
|
7032
7419
|
readonly stateMutability: "view";
|
|
7033
7420
|
readonly type: "function";
|
|
7421
|
+
}, {
|
|
7422
|
+
readonly inputs: readonly [{
|
|
7423
|
+
readonly internalType: "address";
|
|
7424
|
+
readonly name: "partyB";
|
|
7425
|
+
readonly type: "address";
|
|
7426
|
+
}];
|
|
7427
|
+
readonly name: "balanceInfoOfCrossPartyB";
|
|
7428
|
+
readonly outputs: readonly [{
|
|
7429
|
+
readonly internalType: "uint256";
|
|
7430
|
+
readonly name: "";
|
|
7431
|
+
readonly type: "uint256";
|
|
7432
|
+
}, {
|
|
7433
|
+
readonly internalType: "uint256";
|
|
7434
|
+
readonly name: "";
|
|
7435
|
+
readonly type: "uint256";
|
|
7436
|
+
}, {
|
|
7437
|
+
readonly internalType: "uint256";
|
|
7438
|
+
readonly name: "";
|
|
7439
|
+
readonly type: "uint256";
|
|
7440
|
+
}, {
|
|
7441
|
+
readonly internalType: "uint256";
|
|
7442
|
+
readonly name: "";
|
|
7443
|
+
readonly type: "uint256";
|
|
7444
|
+
}, {
|
|
7445
|
+
readonly internalType: "uint256";
|
|
7446
|
+
readonly name: "";
|
|
7447
|
+
readonly type: "uint256";
|
|
7448
|
+
}, {
|
|
7449
|
+
readonly internalType: "uint256";
|
|
7450
|
+
readonly name: "";
|
|
7451
|
+
readonly type: "uint256";
|
|
7452
|
+
}, {
|
|
7453
|
+
readonly internalType: "uint256";
|
|
7454
|
+
readonly name: "";
|
|
7455
|
+
readonly type: "uint256";
|
|
7456
|
+
}, {
|
|
7457
|
+
readonly internalType: "uint256";
|
|
7458
|
+
readonly name: "";
|
|
7459
|
+
readonly type: "uint256";
|
|
7460
|
+
}, {
|
|
7461
|
+
readonly internalType: "uint256";
|
|
7462
|
+
readonly name: "";
|
|
7463
|
+
readonly type: "uint256";
|
|
7464
|
+
}];
|
|
7465
|
+
readonly stateMutability: "view";
|
|
7466
|
+
readonly type: "function";
|
|
7034
7467
|
}, {
|
|
7035
7468
|
readonly inputs: readonly [{
|
|
7036
7469
|
readonly internalType: "address";
|
|
@@ -7141,6 +7574,20 @@ export declare const symmioAbi: readonly [{
|
|
|
7141
7574
|
}];
|
|
7142
7575
|
readonly stateMutability: "view";
|
|
7143
7576
|
readonly type: "function";
|
|
7577
|
+
}, {
|
|
7578
|
+
readonly inputs: readonly [{
|
|
7579
|
+
readonly internalType: "address";
|
|
7580
|
+
readonly name: "partyB";
|
|
7581
|
+
readonly type: "address";
|
|
7582
|
+
}];
|
|
7583
|
+
readonly name: "balanceOfCrossPartyB";
|
|
7584
|
+
readonly outputs: readonly [{
|
|
7585
|
+
readonly internalType: "uint256";
|
|
7586
|
+
readonly name: "";
|
|
7587
|
+
readonly type: "uint256";
|
|
7588
|
+
}];
|
|
7589
|
+
readonly stateMutability: "view";
|
|
7590
|
+
readonly type: "function";
|
|
7144
7591
|
}, {
|
|
7145
7592
|
readonly inputs: readonly [{
|
|
7146
7593
|
readonly internalType: "address";
|
|
@@ -7211,6 +7658,65 @@ export declare const symmioAbi: readonly [{
|
|
|
7211
7658
|
}];
|
|
7212
7659
|
readonly stateMutability: "view";
|
|
7213
7660
|
readonly type: "function";
|
|
7661
|
+
}, {
|
|
7662
|
+
readonly inputs: readonly [{
|
|
7663
|
+
readonly internalType: "uint256";
|
|
7664
|
+
readonly name: "forceCloseId";
|
|
7665
|
+
readonly type: "uint256";
|
|
7666
|
+
}];
|
|
7667
|
+
readonly name: "forceCloseDetails";
|
|
7668
|
+
readonly outputs: readonly [{
|
|
7669
|
+
readonly components: readonly [{
|
|
7670
|
+
readonly internalType: "bytes";
|
|
7671
|
+
readonly name: "priceSigId";
|
|
7672
|
+
readonly type: "bytes";
|
|
7673
|
+
}, {
|
|
7674
|
+
readonly internalType: "uint256";
|
|
7675
|
+
readonly name: "quoteId";
|
|
7676
|
+
readonly type: "uint256";
|
|
7677
|
+
}, {
|
|
7678
|
+
readonly internalType: "uint256";
|
|
7679
|
+
readonly name: "timestamp";
|
|
7680
|
+
readonly type: "uint256";
|
|
7681
|
+
}, {
|
|
7682
|
+
readonly internalType: "int256";
|
|
7683
|
+
readonly name: "partyBAvailableAfterClose";
|
|
7684
|
+
readonly type: "int256";
|
|
7685
|
+
}, {
|
|
7686
|
+
readonly internalType: "uint256";
|
|
7687
|
+
readonly name: "closePrice";
|
|
7688
|
+
readonly type: "uint256";
|
|
7689
|
+
}, {
|
|
7690
|
+
readonly internalType: "int256";
|
|
7691
|
+
readonly name: "upnlPartyB";
|
|
7692
|
+
readonly type: "int256";
|
|
7693
|
+
}, {
|
|
7694
|
+
readonly internalType: "uint256";
|
|
7695
|
+
readonly name: "currentPrice";
|
|
7696
|
+
readonly type: "uint256";
|
|
7697
|
+
}, {
|
|
7698
|
+
readonly internalType: "enum PartyBForceCloseState";
|
|
7699
|
+
readonly name: "partyBState";
|
|
7700
|
+
readonly type: "uint8";
|
|
7701
|
+
}, {
|
|
7702
|
+
readonly internalType: "bool";
|
|
7703
|
+
readonly name: "inProgress";
|
|
7704
|
+
readonly type: "bool";
|
|
7705
|
+
}, {
|
|
7706
|
+
readonly internalType: "uint256";
|
|
7707
|
+
readonly name: "basisVersion";
|
|
7708
|
+
readonly type: "uint256";
|
|
7709
|
+
}, {
|
|
7710
|
+
readonly internalType: "uint256";
|
|
7711
|
+
readonly name: "closeId";
|
|
7712
|
+
readonly type: "uint256";
|
|
7713
|
+
}];
|
|
7714
|
+
readonly internalType: "struct ForceCloseDetail";
|
|
7715
|
+
readonly name: "forceCloseStruct";
|
|
7716
|
+
readonly type: "tuple";
|
|
7717
|
+
}];
|
|
7718
|
+
readonly stateMutability: "view";
|
|
7719
|
+
readonly type: "function";
|
|
7214
7720
|
}, {
|
|
7215
7721
|
readonly inputs: readonly [];
|
|
7216
7722
|
readonly name: "forceCloseMinSigPeriod";
|
|
@@ -7878,6 +8384,54 @@ export declare const symmioAbi: readonly [{
|
|
|
7878
8384
|
}];
|
|
7879
8385
|
readonly stateMutability: "view";
|
|
7880
8386
|
readonly type: "function";
|
|
8387
|
+
}, {
|
|
8388
|
+
readonly inputs: readonly [{
|
|
8389
|
+
readonly internalType: "address";
|
|
8390
|
+
readonly name: "partyA";
|
|
8391
|
+
readonly type: "address";
|
|
8392
|
+
}, {
|
|
8393
|
+
readonly internalType: "bytes";
|
|
8394
|
+
readonly name: "liquidationId";
|
|
8395
|
+
readonly type: "bytes";
|
|
8396
|
+
}, {
|
|
8397
|
+
readonly components: readonly [{
|
|
8398
|
+
readonly internalType: "address";
|
|
8399
|
+
readonly name: "partyB";
|
|
8400
|
+
readonly type: "address";
|
|
8401
|
+
}, {
|
|
8402
|
+
readonly internalType: "uint256";
|
|
8403
|
+
readonly name: "symbolId";
|
|
8404
|
+
readonly type: "uint256";
|
|
8405
|
+
}];
|
|
8406
|
+
readonly internalType: "struct LiquidationPartyBSymbolKey[]";
|
|
8407
|
+
readonly name: "keys";
|
|
8408
|
+
readonly type: "tuple[]";
|
|
8409
|
+
}];
|
|
8410
|
+
readonly name: "getPartyALiquidationSnapshots";
|
|
8411
|
+
readonly outputs: readonly [{
|
|
8412
|
+
readonly components: readonly [{
|
|
8413
|
+
readonly internalType: "bool";
|
|
8414
|
+
readonly name: "isSet";
|
|
8415
|
+
readonly type: "bool";
|
|
8416
|
+
}, {
|
|
8417
|
+
readonly internalType: "uint256";
|
|
8418
|
+
readonly name: "price";
|
|
8419
|
+
readonly type: "uint256";
|
|
8420
|
+
}, {
|
|
8421
|
+
readonly internalType: "int256";
|
|
8422
|
+
readonly name: "cumulativeLongFee";
|
|
8423
|
+
readonly type: "int256";
|
|
8424
|
+
}, {
|
|
8425
|
+
readonly internalType: "int256";
|
|
8426
|
+
readonly name: "cumulativeShortFee";
|
|
8427
|
+
readonly type: "int256";
|
|
8428
|
+
}];
|
|
8429
|
+
readonly internalType: "struct LiquidationPartyBSymbolSnapshot[]";
|
|
8430
|
+
readonly name: "snapshots";
|
|
8431
|
+
readonly type: "tuple[]";
|
|
8432
|
+
}];
|
|
8433
|
+
readonly stateMutability: "view";
|
|
8434
|
+
readonly type: "function";
|
|
7881
8435
|
}, {
|
|
7882
8436
|
readonly inputs: readonly [{
|
|
7883
8437
|
readonly internalType: "address";
|
|
@@ -8718,7 +9272,7 @@ export declare const symmioAbi: readonly [{
|
|
|
8718
9272
|
}, {
|
|
8719
9273
|
readonly inputs: readonly [{
|
|
8720
9274
|
readonly internalType: "address";
|
|
8721
|
-
readonly name: "
|
|
9275
|
+
readonly name: "user";
|
|
8722
9276
|
readonly type: "address";
|
|
8723
9277
|
}, {
|
|
8724
9278
|
readonly internalType: "bytes32";
|
|
@@ -8797,6 +9351,20 @@ export declare const symmioAbi: readonly [{
|
|
|
8797
9351
|
}];
|
|
8798
9352
|
readonly stateMutability: "view";
|
|
8799
9353
|
readonly type: "function";
|
|
9354
|
+
}, {
|
|
9355
|
+
readonly inputs: readonly [{
|
|
9356
|
+
readonly internalType: "address";
|
|
9357
|
+
readonly name: "partyA";
|
|
9358
|
+
readonly type: "address";
|
|
9359
|
+
}];
|
|
9360
|
+
readonly name: "liquidationStartPositionCount";
|
|
9361
|
+
readonly outputs: readonly [{
|
|
9362
|
+
readonly internalType: "uint256";
|
|
9363
|
+
readonly name: "";
|
|
9364
|
+
readonly type: "uint256";
|
|
9365
|
+
}];
|
|
9366
|
+
readonly stateMutability: "view";
|
|
9367
|
+
readonly type: "function";
|
|
8800
9368
|
}, {
|
|
8801
9369
|
readonly inputs: readonly [];
|
|
8802
9370
|
readonly name: "liquidationTimeout";
|
|
@@ -9209,181 +9777,44 @@ export declare const symmioAbi: readonly [{
|
|
|
9209
9777
|
readonly inputs: readonly [{
|
|
9210
9778
|
readonly internalType: "bytes32";
|
|
9211
9779
|
readonly name: "hash";
|
|
9212
|
-
readonly type: "bytes32";
|
|
9213
|
-
}, {
|
|
9214
|
-
readonly components: readonly [{
|
|
9215
|
-
readonly internalType: "uint256";
|
|
9216
|
-
readonly name: "signature";
|
|
9217
|
-
readonly type: "uint256";
|
|
9218
|
-
}, {
|
|
9219
|
-
readonly internalType: "address";
|
|
9220
|
-
readonly name: "owner";
|
|
9221
|
-
readonly type: "address";
|
|
9222
|
-
}, {
|
|
9223
|
-
readonly internalType: "address";
|
|
9224
|
-
readonly name: "nonce";
|
|
9225
|
-
readonly type: "address";
|
|
9226
|
-
}];
|
|
9227
|
-
readonly internalType: "struct IMuonSignatureVerifier.SchnorrSign";
|
|
9228
|
-
readonly name: "sign";
|
|
9229
|
-
readonly type: "tuple";
|
|
9230
|
-
}, {
|
|
9231
|
-
readonly internalType: "bytes";
|
|
9232
|
-
readonly name: "gatewaySignature";
|
|
9233
|
-
readonly type: "bytes";
|
|
9234
|
-
}];
|
|
9235
|
-
readonly name: "verifyMuonTSSAndGateway";
|
|
9236
|
-
readonly outputs: readonly [];
|
|
9237
|
-
readonly stateMutability: "view";
|
|
9238
|
-
readonly type: "function";
|
|
9239
|
-
}, {
|
|
9240
|
-
readonly inputs: readonly [{
|
|
9241
|
-
readonly internalType: "address";
|
|
9242
|
-
readonly name: "user";
|
|
9243
|
-
readonly type: "address";
|
|
9244
|
-
}];
|
|
9245
|
-
readonly name: "withdrawCooldownOf";
|
|
9246
|
-
readonly outputs: readonly [{
|
|
9247
|
-
readonly internalType: "uint256";
|
|
9248
|
-
readonly name: "";
|
|
9249
|
-
readonly type: "uint256";
|
|
9250
|
-
}];
|
|
9251
|
-
readonly stateMutability: "view";
|
|
9252
|
-
readonly type: "function";
|
|
9253
|
-
}, {
|
|
9254
|
-
readonly inputs: readonly [{
|
|
9255
|
-
readonly internalType: "address";
|
|
9256
|
-
readonly name: "partyB";
|
|
9257
|
-
readonly type: "address";
|
|
9258
|
-
}, {
|
|
9259
|
-
readonly internalType: "address";
|
|
9260
|
-
readonly name: "partyA";
|
|
9261
|
-
readonly type: "address";
|
|
9262
|
-
}];
|
|
9263
|
-
readonly name: "allocatedBalanceOfPartyB";
|
|
9264
|
-
readonly outputs: readonly [{
|
|
9265
|
-
readonly internalType: "uint256";
|
|
9266
|
-
readonly name: "";
|
|
9267
|
-
readonly type: "uint256";
|
|
9268
|
-
}];
|
|
9269
|
-
readonly stateMutability: "view";
|
|
9270
|
-
readonly type: "function";
|
|
9271
|
-
}, {
|
|
9272
|
-
readonly inputs: readonly [{
|
|
9273
|
-
readonly internalType: "address";
|
|
9274
|
-
readonly name: "partyB";
|
|
9275
|
-
readonly type: "address";
|
|
9276
|
-
}];
|
|
9277
|
-
readonly name: "balanceInfoOfCrossPartyB";
|
|
9278
|
-
readonly outputs: readonly [{
|
|
9279
|
-
readonly internalType: "uint256";
|
|
9280
|
-
readonly name: "";
|
|
9281
|
-
readonly type: "uint256";
|
|
9282
|
-
}, {
|
|
9283
|
-
readonly internalType: "uint256";
|
|
9284
|
-
readonly name: "";
|
|
9285
|
-
readonly type: "uint256";
|
|
9286
|
-
}, {
|
|
9287
|
-
readonly internalType: "uint256";
|
|
9288
|
-
readonly name: "";
|
|
9289
|
-
readonly type: "uint256";
|
|
9290
|
-
}, {
|
|
9291
|
-
readonly internalType: "uint256";
|
|
9292
|
-
readonly name: "";
|
|
9293
|
-
readonly type: "uint256";
|
|
9294
|
-
}, {
|
|
9295
|
-
readonly internalType: "uint256";
|
|
9296
|
-
readonly name: "";
|
|
9297
|
-
readonly type: "uint256";
|
|
9298
|
-
}, {
|
|
9299
|
-
readonly internalType: "uint256";
|
|
9300
|
-
readonly name: "";
|
|
9301
|
-
readonly type: "uint256";
|
|
9302
|
-
}, {
|
|
9303
|
-
readonly internalType: "uint256";
|
|
9304
|
-
readonly name: "";
|
|
9305
|
-
readonly type: "uint256";
|
|
9306
|
-
}, {
|
|
9307
|
-
readonly internalType: "uint256";
|
|
9308
|
-
readonly name: "";
|
|
9309
|
-
readonly type: "uint256";
|
|
9310
|
-
}, {
|
|
9311
|
-
readonly internalType: "uint256";
|
|
9312
|
-
readonly name: "";
|
|
9313
|
-
readonly type: "uint256";
|
|
9314
|
-
}];
|
|
9315
|
-
readonly stateMutability: "view";
|
|
9316
|
-
readonly type: "function";
|
|
9317
|
-
}, {
|
|
9318
|
-
readonly inputs: readonly [{
|
|
9319
|
-
readonly internalType: "address";
|
|
9320
|
-
readonly name: "partyB";
|
|
9321
|
-
readonly type: "address";
|
|
9322
|
-
}];
|
|
9323
|
-
readonly name: "balanceOfCrossPartyB";
|
|
9324
|
-
readonly outputs: readonly [{
|
|
9325
|
-
readonly internalType: "uint256";
|
|
9326
|
-
readonly name: "";
|
|
9327
|
-
readonly type: "uint256";
|
|
9328
|
-
}];
|
|
9329
|
-
readonly stateMutability: "view";
|
|
9330
|
-
readonly type: "function";
|
|
9331
|
-
}, {
|
|
9332
|
-
readonly inputs: readonly [{
|
|
9333
|
-
readonly internalType: "uint256";
|
|
9334
|
-
readonly name: "forceCloseId";
|
|
9335
|
-
readonly type: "uint256";
|
|
9336
|
-
}];
|
|
9337
|
-
readonly name: "forceCloseDetails";
|
|
9338
|
-
readonly outputs: readonly [{
|
|
9339
|
-
readonly components: readonly [{
|
|
9340
|
-
readonly internalType: "bytes";
|
|
9341
|
-
readonly name: "priceSigId";
|
|
9342
|
-
readonly type: "bytes";
|
|
9343
|
-
}, {
|
|
9344
|
-
readonly internalType: "uint256";
|
|
9345
|
-
readonly name: "quoteId";
|
|
9346
|
-
readonly type: "uint256";
|
|
9347
|
-
}, {
|
|
9348
|
-
readonly internalType: "uint256";
|
|
9349
|
-
readonly name: "timestamp";
|
|
9350
|
-
readonly type: "uint256";
|
|
9351
|
-
}, {
|
|
9352
|
-
readonly internalType: "int256";
|
|
9353
|
-
readonly name: "partyBAvailableAfterClose";
|
|
9354
|
-
readonly type: "int256";
|
|
9355
|
-
}, {
|
|
9356
|
-
readonly internalType: "uint256";
|
|
9357
|
-
readonly name: "closePrice";
|
|
9358
|
-
readonly type: "uint256";
|
|
9359
|
-
}, {
|
|
9360
|
-
readonly internalType: "int256";
|
|
9361
|
-
readonly name: "upnlPartyB";
|
|
9362
|
-
readonly type: "int256";
|
|
9363
|
-
}, {
|
|
9364
|
-
readonly internalType: "uint256";
|
|
9365
|
-
readonly name: "currentPrice";
|
|
9366
|
-
readonly type: "uint256";
|
|
9367
|
-
}, {
|
|
9368
|
-
readonly internalType: "enum PartyBForceCloseState";
|
|
9369
|
-
readonly name: "partyBState";
|
|
9370
|
-
readonly type: "uint8";
|
|
9371
|
-
}, {
|
|
9372
|
-
readonly internalType: "bool";
|
|
9373
|
-
readonly name: "inProgress";
|
|
9374
|
-
readonly type: "bool";
|
|
9375
|
-
}, {
|
|
9780
|
+
readonly type: "bytes32";
|
|
9781
|
+
}, {
|
|
9782
|
+
readonly components: readonly [{
|
|
9376
9783
|
readonly internalType: "uint256";
|
|
9377
|
-
readonly name: "
|
|
9784
|
+
readonly name: "signature";
|
|
9378
9785
|
readonly type: "uint256";
|
|
9379
9786
|
}, {
|
|
9380
|
-
readonly internalType: "
|
|
9381
|
-
readonly name: "
|
|
9382
|
-
readonly type: "
|
|
9787
|
+
readonly internalType: "address";
|
|
9788
|
+
readonly name: "owner";
|
|
9789
|
+
readonly type: "address";
|
|
9790
|
+
}, {
|
|
9791
|
+
readonly internalType: "address";
|
|
9792
|
+
readonly name: "nonce";
|
|
9793
|
+
readonly type: "address";
|
|
9383
9794
|
}];
|
|
9384
|
-
readonly internalType: "struct
|
|
9385
|
-
readonly name: "
|
|
9795
|
+
readonly internalType: "struct IMuonSignatureVerifier.SchnorrSign";
|
|
9796
|
+
readonly name: "sign";
|
|
9386
9797
|
readonly type: "tuple";
|
|
9798
|
+
}, {
|
|
9799
|
+
readonly internalType: "bytes";
|
|
9800
|
+
readonly name: "gatewaySignature";
|
|
9801
|
+
readonly type: "bytes";
|
|
9802
|
+
}];
|
|
9803
|
+
readonly name: "verifyMuonTSSAndGateway";
|
|
9804
|
+
readonly outputs: readonly [];
|
|
9805
|
+
readonly stateMutability: "view";
|
|
9806
|
+
readonly type: "function";
|
|
9807
|
+
}, {
|
|
9808
|
+
readonly inputs: readonly [{
|
|
9809
|
+
readonly internalType: "address";
|
|
9810
|
+
readonly name: "user";
|
|
9811
|
+
readonly type: "address";
|
|
9812
|
+
}];
|
|
9813
|
+
readonly name: "withdrawCooldownOf";
|
|
9814
|
+
readonly outputs: readonly [{
|
|
9815
|
+
readonly internalType: "uint256";
|
|
9816
|
+
readonly name: "";
|
|
9817
|
+
readonly type: "uint256";
|
|
9387
9818
|
}];
|
|
9388
9819
|
readonly stateMutability: "view";
|
|
9389
9820
|
readonly type: "function";
|
|
@@ -11028,6 +11459,26 @@ export declare const symmioAbi: readonly [{
|
|
|
11028
11459
|
readonly outputs: readonly [];
|
|
11029
11460
|
readonly stateMutability: "nonpayable";
|
|
11030
11461
|
readonly type: "function";
|
|
11462
|
+
}, {
|
|
11463
|
+
readonly anonymous: false;
|
|
11464
|
+
readonly inputs: readonly [{
|
|
11465
|
+
readonly indexed: false;
|
|
11466
|
+
readonly internalType: "uint256";
|
|
11467
|
+
readonly name: "quoteId";
|
|
11468
|
+
readonly type: "uint256";
|
|
11469
|
+
}, {
|
|
11470
|
+
readonly indexed: false;
|
|
11471
|
+
readonly internalType: "uint256";
|
|
11472
|
+
readonly name: "amount";
|
|
11473
|
+
readonly type: "uint256";
|
|
11474
|
+
}, {
|
|
11475
|
+
readonly indexed: false;
|
|
11476
|
+
readonly internalType: "uint256";
|
|
11477
|
+
readonly name: "price";
|
|
11478
|
+
readonly type: "uint256";
|
|
11479
|
+
}];
|
|
11480
|
+
readonly name: "ADLClose";
|
|
11481
|
+
readonly type: "event";
|
|
11031
11482
|
}, {
|
|
11032
11483
|
readonly anonymous: false;
|
|
11033
11484
|
readonly inputs: readonly [{
|
|
@@ -11142,26 +11593,6 @@ export declare const symmioAbi: readonly [{
|
|
|
11142
11593
|
readonly outputs: readonly [];
|
|
11143
11594
|
readonly stateMutability: "nonpayable";
|
|
11144
11595
|
readonly type: "function";
|
|
11145
|
-
}, {
|
|
11146
|
-
readonly anonymous: false;
|
|
11147
|
-
readonly inputs: readonly [{
|
|
11148
|
-
readonly indexed: false;
|
|
11149
|
-
readonly internalType: "uint256";
|
|
11150
|
-
readonly name: "quoteId";
|
|
11151
|
-
readonly type: "uint256";
|
|
11152
|
-
}, {
|
|
11153
|
-
readonly indexed: false;
|
|
11154
|
-
readonly internalType: "uint256";
|
|
11155
|
-
readonly name: "amount";
|
|
11156
|
-
readonly type: "uint256";
|
|
11157
|
-
}, {
|
|
11158
|
-
readonly indexed: false;
|
|
11159
|
-
readonly internalType: "uint256";
|
|
11160
|
-
readonly name: "price";
|
|
11161
|
-
readonly type: "uint256";
|
|
11162
|
-
}];
|
|
11163
|
-
readonly name: "ADLClose";
|
|
11164
|
-
readonly type: "event";
|
|
11165
11596
|
}, {
|
|
11166
11597
|
readonly inputs: readonly [{
|
|
11167
11598
|
readonly internalType: "uint256[]";
|
|
@@ -14114,7 +14545,7 @@ export declare const symmioAbi: readonly [{
|
|
|
14114
14545
|
readonly type: "bool";
|
|
14115
14546
|
}];
|
|
14116
14547
|
readonly internalType: "struct IViewFacetQuote.VenueQuoteView[]";
|
|
14117
|
-
readonly name: "";
|
|
14548
|
+
readonly name: "quotes";
|
|
14118
14549
|
readonly type: "tuple[]";
|
|
14119
14550
|
}];
|
|
14120
14551
|
readonly stateMutability: "view";
|
|
@@ -14350,7 +14781,7 @@ export declare const symmioAbi: readonly [{
|
|
|
14350
14781
|
readonly name: "getSumQuoteFundingDebts";
|
|
14351
14782
|
readonly outputs: readonly [{
|
|
14352
14783
|
readonly internalType: "int256";
|
|
14353
|
-
readonly name: "
|
|
14784
|
+
readonly name: "";
|
|
14354
14785
|
readonly type: "int256";
|
|
14355
14786
|
}];
|
|
14356
14787
|
readonly stateMutability: "view";
|
|
@@ -14437,6 +14868,22 @@ export declare const symmioAbi: readonly [{
|
|
|
14437
14868
|
}];
|
|
14438
14869
|
readonly stateMutability: "view";
|
|
14439
14870
|
readonly type: "function";
|
|
14871
|
+
}, {
|
|
14872
|
+
readonly inputs: readonly [];
|
|
14873
|
+
readonly name: "ExternalCallContextAlreadySuspended";
|
|
14874
|
+
readonly type: "error";
|
|
14875
|
+
}, {
|
|
14876
|
+
readonly inputs: readonly [];
|
|
14877
|
+
readonly name: "TransientContextAlreadyActive";
|
|
14878
|
+
readonly type: "error";
|
|
14879
|
+
}, {
|
|
14880
|
+
readonly inputs: readonly [];
|
|
14881
|
+
readonly name: "TransientContextNotActive";
|
|
14882
|
+
readonly type: "error";
|
|
14883
|
+
}, {
|
|
14884
|
+
readonly inputs: readonly [];
|
|
14885
|
+
readonly name: "TransientSignerNotCleared";
|
|
14886
|
+
readonly type: "error";
|
|
14440
14887
|
}, {
|
|
14441
14888
|
readonly inputs: readonly [{
|
|
14442
14889
|
readonly internalType: "bool";
|
|
@@ -14461,58 +14908,42 @@ export declare const symmioAbi: readonly [{
|
|
|
14461
14908
|
readonly type: "function";
|
|
14462
14909
|
}, {
|
|
14463
14910
|
readonly inputs: readonly [{
|
|
14464
|
-
readonly internalType: "
|
|
14465
|
-
readonly name: "
|
|
14466
|
-
readonly type: "
|
|
14911
|
+
readonly internalType: "bool";
|
|
14912
|
+
readonly name: "callFromInstantLayer";
|
|
14913
|
+
readonly type: "bool";
|
|
14467
14914
|
}];
|
|
14468
|
-
readonly name: "
|
|
14915
|
+
readonly name: "setCallFromInstantLayer";
|
|
14469
14916
|
readonly outputs: readonly [];
|
|
14470
14917
|
readonly stateMutability: "nonpayable";
|
|
14471
14918
|
readonly type: "function";
|
|
14472
14919
|
}, {
|
|
14473
|
-
readonly inputs: readonly [
|
|
14474
|
-
readonly name: "suspendExecutionContextForExternalCall";
|
|
14475
|
-
readonly outputs: readonly [{
|
|
14920
|
+
readonly inputs: readonly [{
|
|
14476
14921
|
readonly internalType: "bool";
|
|
14477
|
-
readonly name: "
|
|
14922
|
+
readonly name: "instantOpenMode";
|
|
14478
14923
|
readonly type: "bool";
|
|
14479
14924
|
}];
|
|
14925
|
+
readonly name: "setInstantOpenMode";
|
|
14926
|
+
readonly outputs: readonly [];
|
|
14480
14927
|
readonly stateMutability: "nonpayable";
|
|
14481
14928
|
readonly type: "function";
|
|
14482
|
-
}, {
|
|
14483
|
-
readonly inputs: readonly [];
|
|
14484
|
-
readonly name: "ExternalCallContextAlreadySuspended";
|
|
14485
|
-
readonly type: "error";
|
|
14486
|
-
}, {
|
|
14487
|
-
readonly inputs: readonly [];
|
|
14488
|
-
readonly name: "TransientContextAlreadyActive";
|
|
14489
|
-
readonly type: "error";
|
|
14490
|
-
}, {
|
|
14491
|
-
readonly inputs: readonly [];
|
|
14492
|
-
readonly name: "TransientContextNotActive";
|
|
14493
|
-
readonly type: "error";
|
|
14494
|
-
}, {
|
|
14495
|
-
readonly inputs: readonly [];
|
|
14496
|
-
readonly name: "TransientSignerNotCleared";
|
|
14497
|
-
readonly type: "error";
|
|
14498
14929
|
}, {
|
|
14499
14930
|
readonly inputs: readonly [{
|
|
14500
|
-
readonly internalType: "
|
|
14501
|
-
readonly name: "
|
|
14502
|
-
readonly type: "
|
|
14931
|
+
readonly internalType: "address";
|
|
14932
|
+
readonly name: "signer";
|
|
14933
|
+
readonly type: "address";
|
|
14503
14934
|
}];
|
|
14504
|
-
readonly name: "
|
|
14935
|
+
readonly name: "setTransientSigner";
|
|
14505
14936
|
readonly outputs: readonly [];
|
|
14506
14937
|
readonly stateMutability: "nonpayable";
|
|
14507
14938
|
readonly type: "function";
|
|
14508
14939
|
}, {
|
|
14509
|
-
readonly inputs: readonly [
|
|
14940
|
+
readonly inputs: readonly [];
|
|
14941
|
+
readonly name: "suspendExecutionContextForExternalCall";
|
|
14942
|
+
readonly outputs: readonly [{
|
|
14510
14943
|
readonly internalType: "bool";
|
|
14511
|
-
readonly name: "
|
|
14944
|
+
readonly name: "suspended";
|
|
14512
14945
|
readonly type: "bool";
|
|
14513
14946
|
}];
|
|
14514
|
-
readonly name: "setInstantOpenMode";
|
|
14515
|
-
readonly outputs: readonly [];
|
|
14516
14947
|
readonly stateMutability: "nonpayable";
|
|
14517
14948
|
readonly type: "function";
|
|
14518
14949
|
}, {
|
|
@@ -14933,6 +15364,31 @@ export declare const symmioAbi: readonly [{
|
|
|
14933
15364
|
}];
|
|
14934
15365
|
readonly name: "OperationalFeeAllowanceSet";
|
|
14935
15366
|
readonly type: "event";
|
|
15367
|
+
}, {
|
|
15368
|
+
readonly anonymous: false;
|
|
15369
|
+
readonly inputs: readonly [{
|
|
15370
|
+
readonly indexed: true;
|
|
15371
|
+
readonly internalType: "address";
|
|
15372
|
+
readonly name: "payer";
|
|
15373
|
+
readonly type: "address";
|
|
15374
|
+
}, {
|
|
15375
|
+
readonly indexed: true;
|
|
15376
|
+
readonly internalType: "address";
|
|
15377
|
+
readonly name: "charger";
|
|
15378
|
+
readonly type: "address";
|
|
15379
|
+
}, {
|
|
15380
|
+
readonly indexed: false;
|
|
15381
|
+
readonly internalType: "address";
|
|
15382
|
+
readonly name: "receiver";
|
|
15383
|
+
readonly type: "address";
|
|
15384
|
+
}, {
|
|
15385
|
+
readonly indexed: false;
|
|
15386
|
+
readonly internalType: "uint256";
|
|
15387
|
+
readonly name: "amount";
|
|
15388
|
+
readonly type: "uint256";
|
|
15389
|
+
}];
|
|
15390
|
+
readonly name: "OperationalFeeCharged";
|
|
15391
|
+
readonly type: "event";
|
|
14936
15392
|
}, {
|
|
14937
15393
|
readonly anonymous: false;
|
|
14938
15394
|
readonly inputs: readonly [{
|
|
@@ -15262,6 +15718,20 @@ export declare const symmioAbi: readonly [{
|
|
|
15262
15718
|
readonly outputs: readonly [];
|
|
15263
15719
|
readonly stateMutability: "nonpayable";
|
|
15264
15720
|
readonly type: "function";
|
|
15721
|
+
}, {
|
|
15722
|
+
readonly inputs: readonly [{
|
|
15723
|
+
readonly internalType: "address";
|
|
15724
|
+
readonly name: "user";
|
|
15725
|
+
readonly type: "address";
|
|
15726
|
+
}, {
|
|
15727
|
+
readonly internalType: "uint256";
|
|
15728
|
+
readonly name: "amount";
|
|
15729
|
+
readonly type: "uint256";
|
|
15730
|
+
}];
|
|
15731
|
+
readonly name: "virtualDepositAndAllocateFor";
|
|
15732
|
+
readonly outputs: readonly [];
|
|
15733
|
+
readonly stateMutability: "nonpayable";
|
|
15734
|
+
readonly type: "function";
|
|
15265
15735
|
}, {
|
|
15266
15736
|
readonly inputs: readonly [{
|
|
15267
15737
|
readonly internalType: "address";
|
|
@@ -15328,45 +15798,6 @@ export declare const symmioAbi: readonly [{
|
|
|
15328
15798
|
readonly outputs: readonly [];
|
|
15329
15799
|
readonly stateMutability: "nonpayable";
|
|
15330
15800
|
readonly type: "function";
|
|
15331
|
-
}, {
|
|
15332
|
-
readonly anonymous: false;
|
|
15333
|
-
readonly inputs: readonly [{
|
|
15334
|
-
readonly indexed: true;
|
|
15335
|
-
readonly internalType: "address";
|
|
15336
|
-
readonly name: "payer";
|
|
15337
|
-
readonly type: "address";
|
|
15338
|
-
}, {
|
|
15339
|
-
readonly indexed: true;
|
|
15340
|
-
readonly internalType: "address";
|
|
15341
|
-
readonly name: "charger";
|
|
15342
|
-
readonly type: "address";
|
|
15343
|
-
}, {
|
|
15344
|
-
readonly indexed: false;
|
|
15345
|
-
readonly internalType: "address";
|
|
15346
|
-
readonly name: "receiver";
|
|
15347
|
-
readonly type: "address";
|
|
15348
|
-
}, {
|
|
15349
|
-
readonly indexed: false;
|
|
15350
|
-
readonly internalType: "uint256";
|
|
15351
|
-
readonly name: "amount";
|
|
15352
|
-
readonly type: "uint256";
|
|
15353
|
-
}];
|
|
15354
|
-
readonly name: "OperationalFeeCharged";
|
|
15355
|
-
readonly type: "event";
|
|
15356
|
-
}, {
|
|
15357
|
-
readonly inputs: readonly [{
|
|
15358
|
-
readonly internalType: "address";
|
|
15359
|
-
readonly name: "user";
|
|
15360
|
-
readonly type: "address";
|
|
15361
|
-
}, {
|
|
15362
|
-
readonly internalType: "uint256";
|
|
15363
|
-
readonly name: "amount";
|
|
15364
|
-
readonly type: "uint256";
|
|
15365
|
-
}];
|
|
15366
|
-
readonly name: "virtualDepositAndAllocateFor";
|
|
15367
|
-
readonly outputs: readonly [];
|
|
15368
|
-
readonly stateMutability: "nonpayable";
|
|
15369
|
-
readonly type: "function";
|
|
15370
15801
|
}, {
|
|
15371
15802
|
readonly anonymous: false;
|
|
15372
15803
|
readonly inputs: readonly [{
|
|
@@ -16659,18 +17090,68 @@ export declare const symmioAbi: readonly [{
|
|
|
16659
17090
|
readonly name: "liquidationSig";
|
|
16660
17091
|
readonly type: "tuple";
|
|
16661
17092
|
}, {
|
|
16662
|
-
readonly internalType: "uint256[]";
|
|
16663
|
-
readonly name: "quoteIds";
|
|
16664
|
-
readonly type: "uint256[]";
|
|
17093
|
+
readonly internalType: "uint256[]";
|
|
17094
|
+
readonly name: "quoteIds";
|
|
17095
|
+
readonly type: "uint256[]";
|
|
17096
|
+
}, {
|
|
17097
|
+
readonly internalType: "address[]";
|
|
17098
|
+
readonly name: "partyBs";
|
|
17099
|
+
readonly type: "address[]";
|
|
17100
|
+
}];
|
|
17101
|
+
readonly name: "singleStepLiquidatePartyAWithSnapshot";
|
|
17102
|
+
readonly outputs: readonly [];
|
|
17103
|
+
readonly stateMutability: "nonpayable";
|
|
17104
|
+
readonly type: "function";
|
|
17105
|
+
}, {
|
|
17106
|
+
readonly anonymous: false;
|
|
17107
|
+
readonly inputs: readonly [{
|
|
17108
|
+
readonly indexed: true;
|
|
17109
|
+
readonly internalType: "address";
|
|
17110
|
+
readonly name: "partyA";
|
|
17111
|
+
readonly type: "address";
|
|
17112
|
+
}, {
|
|
17113
|
+
readonly indexed: true;
|
|
17114
|
+
readonly internalType: "address";
|
|
17115
|
+
readonly name: "partyB";
|
|
17116
|
+
readonly type: "address";
|
|
17117
|
+
}, {
|
|
17118
|
+
readonly indexed: true;
|
|
17119
|
+
readonly internalType: "uint256";
|
|
17120
|
+
readonly name: "symbolId";
|
|
17121
|
+
readonly type: "uint256";
|
|
17122
|
+
}, {
|
|
17123
|
+
readonly indexed: false;
|
|
17124
|
+
readonly internalType: "enum PositionType";
|
|
17125
|
+
readonly name: "positionType";
|
|
17126
|
+
readonly type: "uint8";
|
|
17127
|
+
}, {
|
|
17128
|
+
readonly indexed: false;
|
|
17129
|
+
readonly internalType: "int256";
|
|
17130
|
+
readonly name: "oldPartyAFunding";
|
|
17131
|
+
readonly type: "int256";
|
|
16665
17132
|
}, {
|
|
16666
|
-
readonly
|
|
16667
|
-
readonly
|
|
16668
|
-
readonly
|
|
17133
|
+
readonly indexed: false;
|
|
17134
|
+
readonly internalType: "int256";
|
|
17135
|
+
readonly name: "oldPartyBFunding";
|
|
17136
|
+
readonly type: "int256";
|
|
17137
|
+
}, {
|
|
17138
|
+
readonly indexed: false;
|
|
17139
|
+
readonly internalType: "int256";
|
|
17140
|
+
readonly name: "newFunding";
|
|
17141
|
+
readonly type: "int256";
|
|
17142
|
+
}, {
|
|
17143
|
+
readonly indexed: false;
|
|
17144
|
+
readonly internalType: "int256";
|
|
17145
|
+
readonly name: "oldGlobalFunding";
|
|
17146
|
+
readonly type: "int256";
|
|
17147
|
+
}, {
|
|
17148
|
+
readonly indexed: false;
|
|
17149
|
+
readonly internalType: "int256";
|
|
17150
|
+
readonly name: "newGlobalFunding";
|
|
17151
|
+
readonly type: "int256";
|
|
16669
17152
|
}];
|
|
16670
|
-
readonly name: "
|
|
16671
|
-
readonly
|
|
16672
|
-
readonly stateMutability: "nonpayable";
|
|
16673
|
-
readonly type: "function";
|
|
17153
|
+
readonly name: "AggregateFundingResynced";
|
|
17154
|
+
readonly type: "event";
|
|
16674
17155
|
}, {
|
|
16675
17156
|
readonly anonymous: false;
|
|
16676
17157
|
readonly inputs: readonly [{
|
|
@@ -16757,10 +17238,89 @@ export declare const symmioAbi: readonly [{
|
|
|
16757
17238
|
readonly outputs: readonly [];
|
|
16758
17239
|
readonly stateMutability: "nonpayable";
|
|
16759
17240
|
readonly type: "function";
|
|
17241
|
+
}, {
|
|
17242
|
+
readonly inputs: readonly [{
|
|
17243
|
+
readonly components: readonly [{
|
|
17244
|
+
readonly internalType: "address";
|
|
17245
|
+
readonly name: "partyA";
|
|
17246
|
+
readonly type: "address";
|
|
17247
|
+
}, {
|
|
17248
|
+
readonly internalType: "address";
|
|
17249
|
+
readonly name: "partyB";
|
|
17250
|
+
readonly type: "address";
|
|
17251
|
+
}, {
|
|
17252
|
+
readonly internalType: "uint256";
|
|
17253
|
+
readonly name: "symbolId";
|
|
17254
|
+
readonly type: "uint256";
|
|
17255
|
+
}, {
|
|
17256
|
+
readonly internalType: "enum PositionType";
|
|
17257
|
+
readonly name: "positionType";
|
|
17258
|
+
readonly type: "uint8";
|
|
17259
|
+
}, {
|
|
17260
|
+
readonly internalType: "int256";
|
|
17261
|
+
readonly name: "expectedPartyAFunding";
|
|
17262
|
+
readonly type: "int256";
|
|
17263
|
+
}, {
|
|
17264
|
+
readonly internalType: "int256";
|
|
17265
|
+
readonly name: "expectedPartyBFunding";
|
|
17266
|
+
readonly type: "int256";
|
|
17267
|
+
}, {
|
|
17268
|
+
readonly internalType: "int256";
|
|
17269
|
+
readonly name: "newFunding";
|
|
17270
|
+
readonly type: "int256";
|
|
17271
|
+
}];
|
|
17272
|
+
readonly internalType: "struct IMigrationFacet.AggregateFundingGroup[]";
|
|
17273
|
+
readonly name: "groups";
|
|
17274
|
+
readonly type: "tuple[]";
|
|
17275
|
+
}];
|
|
17276
|
+
readonly name: "resyncAggregateFunding";
|
|
17277
|
+
readonly outputs: readonly [];
|
|
17278
|
+
readonly stateMutability: "nonpayable";
|
|
17279
|
+
readonly type: "function";
|
|
16760
17280
|
}, {
|
|
16761
17281
|
readonly inputs: readonly [];
|
|
16762
17282
|
readonly name: "IncompatibleSignatureVerifier";
|
|
16763
17283
|
readonly type: "error";
|
|
17284
|
+
}, {
|
|
17285
|
+
readonly anonymous: false;
|
|
17286
|
+
readonly inputs: readonly [{
|
|
17287
|
+
readonly indexed: true;
|
|
17288
|
+
readonly internalType: "address";
|
|
17289
|
+
readonly name: "pendingOwner";
|
|
17290
|
+
readonly type: "address";
|
|
17291
|
+
}];
|
|
17292
|
+
readonly name: "OwnershipTransferCanceled";
|
|
17293
|
+
readonly type: "event";
|
|
17294
|
+
}, {
|
|
17295
|
+
readonly anonymous: false;
|
|
17296
|
+
readonly inputs: readonly [{
|
|
17297
|
+
readonly indexed: true;
|
|
17298
|
+
readonly internalType: "address";
|
|
17299
|
+
readonly name: "currentOwner";
|
|
17300
|
+
readonly type: "address";
|
|
17301
|
+
}, {
|
|
17302
|
+
readonly indexed: true;
|
|
17303
|
+
readonly internalType: "address";
|
|
17304
|
+
readonly name: "pendingOwner";
|
|
17305
|
+
readonly type: "address";
|
|
17306
|
+
}];
|
|
17307
|
+
readonly name: "OwnershipTransferStarted";
|
|
17308
|
+
readonly type: "event";
|
|
17309
|
+
}, {
|
|
17310
|
+
readonly anonymous: false;
|
|
17311
|
+
readonly inputs: readonly [{
|
|
17312
|
+
readonly indexed: true;
|
|
17313
|
+
readonly internalType: "address";
|
|
17314
|
+
readonly name: "previousOwner";
|
|
17315
|
+
readonly type: "address";
|
|
17316
|
+
}, {
|
|
17317
|
+
readonly indexed: true;
|
|
17318
|
+
readonly internalType: "address";
|
|
17319
|
+
readonly name: "newOwner";
|
|
17320
|
+
readonly type: "address";
|
|
17321
|
+
}];
|
|
17322
|
+
readonly name: "OwnershipTransferred";
|
|
17323
|
+
readonly type: "event";
|
|
16764
17324
|
}, {
|
|
16765
17325
|
readonly inputs: readonly [];
|
|
16766
17326
|
readonly name: "acceptOwnership";
|
|
@@ -17128,6 +17688,16 @@ export declare const symmioAbi: readonly [{
|
|
|
17128
17688
|
readonly outputs: readonly [];
|
|
17129
17689
|
readonly stateMutability: "nonpayable";
|
|
17130
17690
|
readonly type: "function";
|
|
17691
|
+
}, {
|
|
17692
|
+
readonly inputs: readonly [{
|
|
17693
|
+
readonly internalType: "uint256";
|
|
17694
|
+
readonly name: "cooldown";
|
|
17695
|
+
readonly type: "uint256";
|
|
17696
|
+
}];
|
|
17697
|
+
readonly name: "setDeactiveInstantActionModeCooldown";
|
|
17698
|
+
readonly outputs: readonly [];
|
|
17699
|
+
readonly stateMutability: "nonpayable";
|
|
17700
|
+
readonly type: "function";
|
|
17131
17701
|
}, {
|
|
17132
17702
|
readonly inputs: readonly [{
|
|
17133
17703
|
readonly internalType: "uint256";
|
|
@@ -17158,6 +17728,33 @@ export declare const symmioAbi: readonly [{
|
|
|
17158
17728
|
readonly outputs: readonly [];
|
|
17159
17729
|
readonly stateMutability: "nonpayable";
|
|
17160
17730
|
readonly type: "function";
|
|
17731
|
+
}, {
|
|
17732
|
+
readonly inputs: readonly [{
|
|
17733
|
+
readonly internalType: "address";
|
|
17734
|
+
readonly name: "entity";
|
|
17735
|
+
readonly type: "address";
|
|
17736
|
+
}, {
|
|
17737
|
+
readonly components: readonly [{
|
|
17738
|
+
readonly internalType: "string";
|
|
17739
|
+
readonly name: "name";
|
|
17740
|
+
readonly type: "string";
|
|
17741
|
+
}, {
|
|
17742
|
+
readonly internalType: "string";
|
|
17743
|
+
readonly name: "brandColor";
|
|
17744
|
+
readonly type: "string";
|
|
17745
|
+
}, {
|
|
17746
|
+
readonly internalType: "string";
|
|
17747
|
+
readonly name: "metadata";
|
|
17748
|
+
readonly type: "string";
|
|
17749
|
+
}];
|
|
17750
|
+
readonly internalType: "struct EntityMetadata";
|
|
17751
|
+
readonly name: "metadata";
|
|
17752
|
+
readonly type: "tuple";
|
|
17753
|
+
}];
|
|
17754
|
+
readonly name: "setEntityMetadata";
|
|
17755
|
+
readonly outputs: readonly [];
|
|
17756
|
+
readonly stateMutability: "nonpayable";
|
|
17757
|
+
readonly type: "function";
|
|
17161
17758
|
}, {
|
|
17162
17759
|
readonly inputs: readonly [{
|
|
17163
17760
|
readonly internalType: "address";
|
|
@@ -17250,26 +17847,6 @@ export declare const symmioAbi: readonly [{
|
|
|
17250
17847
|
readonly outputs: readonly [];
|
|
17251
17848
|
readonly stateMutability: "nonpayable";
|
|
17252
17849
|
readonly type: "function";
|
|
17253
|
-
}, {
|
|
17254
|
-
readonly inputs: readonly [{
|
|
17255
|
-
readonly internalType: "bool";
|
|
17256
|
-
readonly name: "deprecated";
|
|
17257
|
-
readonly type: "bool";
|
|
17258
|
-
}];
|
|
17259
|
-
readonly name: "setLegacyDeallocateDeprecated";
|
|
17260
|
-
readonly outputs: readonly [];
|
|
17261
|
-
readonly stateMutability: "nonpayable";
|
|
17262
|
-
readonly type: "function";
|
|
17263
|
-
}, {
|
|
17264
|
-
readonly inputs: readonly [{
|
|
17265
|
-
readonly internalType: "bool";
|
|
17266
|
-
readonly name: "deprecated";
|
|
17267
|
-
readonly type: "bool";
|
|
17268
|
-
}];
|
|
17269
|
-
readonly name: "setLegacyPartyALiquidationDeprecated";
|
|
17270
|
-
readonly outputs: readonly [];
|
|
17271
|
-
readonly stateMutability: "nonpayable";
|
|
17272
|
-
readonly type: "function";
|
|
17273
17850
|
}, {
|
|
17274
17851
|
readonly inputs: readonly [{
|
|
17275
17852
|
readonly internalType: "address";
|
|
@@ -17627,56 +18204,6 @@ export declare const symmioAbi: readonly [{
|
|
|
17627
18204
|
readonly outputs: readonly [];
|
|
17628
18205
|
readonly stateMutability: "nonpayable";
|
|
17629
18206
|
readonly type: "function";
|
|
17630
|
-
}, {
|
|
17631
|
-
readonly anonymous: false;
|
|
17632
|
-
readonly inputs: readonly [{
|
|
17633
|
-
readonly indexed: true;
|
|
17634
|
-
readonly internalType: "address";
|
|
17635
|
-
readonly name: "pendingOwner";
|
|
17636
|
-
readonly type: "address";
|
|
17637
|
-
}];
|
|
17638
|
-
readonly name: "OwnershipTransferCanceled";
|
|
17639
|
-
readonly type: "event";
|
|
17640
|
-
}, {
|
|
17641
|
-
readonly anonymous: false;
|
|
17642
|
-
readonly inputs: readonly [{
|
|
17643
|
-
readonly indexed: true;
|
|
17644
|
-
readonly internalType: "address";
|
|
17645
|
-
readonly name: "currentOwner";
|
|
17646
|
-
readonly type: "address";
|
|
17647
|
-
}, {
|
|
17648
|
-
readonly indexed: true;
|
|
17649
|
-
readonly internalType: "address";
|
|
17650
|
-
readonly name: "pendingOwner";
|
|
17651
|
-
readonly type: "address";
|
|
17652
|
-
}];
|
|
17653
|
-
readonly name: "OwnershipTransferStarted";
|
|
17654
|
-
readonly type: "event";
|
|
17655
|
-
}, {
|
|
17656
|
-
readonly anonymous: false;
|
|
17657
|
-
readonly inputs: readonly [{
|
|
17658
|
-
readonly indexed: true;
|
|
17659
|
-
readonly internalType: "address";
|
|
17660
|
-
readonly name: "previousOwner";
|
|
17661
|
-
readonly type: "address";
|
|
17662
|
-
}, {
|
|
17663
|
-
readonly indexed: true;
|
|
17664
|
-
readonly internalType: "address";
|
|
17665
|
-
readonly name: "newOwner";
|
|
17666
|
-
readonly type: "address";
|
|
17667
|
-
}];
|
|
17668
|
-
readonly name: "OwnershipTransferred";
|
|
17669
|
-
readonly type: "event";
|
|
17670
|
-
}, {
|
|
17671
|
-
readonly inputs: readonly [{
|
|
17672
|
-
readonly internalType: "uint256";
|
|
17673
|
-
readonly name: "cooldown";
|
|
17674
|
-
readonly type: "uint256";
|
|
17675
|
-
}];
|
|
17676
|
-
readonly name: "setDeactiveInstantActionModeCooldown";
|
|
17677
|
-
readonly outputs: readonly [];
|
|
17678
|
-
readonly stateMutability: "nonpayable";
|
|
17679
|
-
readonly type: "function";
|
|
17680
18207
|
}, {
|
|
17681
18208
|
readonly inputs: readonly [{
|
|
17682
18209
|
readonly internalType: "uint256";
|
|
@@ -17889,6 +18416,16 @@ export declare const symmioAbi: readonly [{
|
|
|
17889
18416
|
}];
|
|
17890
18417
|
readonly stateMutability: "view";
|
|
17891
18418
|
readonly type: "function";
|
|
18419
|
+
}, {
|
|
18420
|
+
readonly inputs: readonly [];
|
|
18421
|
+
readonly name: "AFFILIATE_REGISTRAR_ROLE";
|
|
18422
|
+
readonly outputs: readonly [{
|
|
18423
|
+
readonly internalType: "bytes32";
|
|
18424
|
+
readonly name: "";
|
|
18425
|
+
readonly type: "bytes32";
|
|
18426
|
+
}];
|
|
18427
|
+
readonly stateMutability: "view";
|
|
18428
|
+
readonly type: "function";
|
|
17892
18429
|
}, {
|
|
17893
18430
|
readonly inputs: readonly [];
|
|
17894
18431
|
readonly name: "BALANCE_SETTLER_ROLE";
|
|
@@ -17959,6 +18496,16 @@ export declare const symmioAbi: readonly [{
|
|
|
17959
18496
|
}];
|
|
17960
18497
|
readonly stateMutability: "view";
|
|
17961
18498
|
readonly type: "function";
|
|
18499
|
+
}, {
|
|
18500
|
+
readonly inputs: readonly [];
|
|
18501
|
+
readonly name: "ENTITY_METADATA_MANAGER_ROLE";
|
|
18502
|
+
readonly outputs: readonly [{
|
|
18503
|
+
readonly internalType: "bytes32";
|
|
18504
|
+
readonly name: "";
|
|
18505
|
+
readonly type: "bytes32";
|
|
18506
|
+
}];
|
|
18507
|
+
readonly stateMutability: "view";
|
|
18508
|
+
readonly type: "function";
|
|
17962
18509
|
}, {
|
|
17963
18510
|
readonly inputs: readonly [];
|
|
17964
18511
|
readonly name: "FEE_ADMIN_ROLE";
|
|
@@ -18049,6 +18596,16 @@ export declare const symmioAbi: readonly [{
|
|
|
18049
18596
|
}];
|
|
18050
18597
|
readonly stateMutability: "view";
|
|
18051
18598
|
readonly type: "function";
|
|
18599
|
+
}, {
|
|
18600
|
+
readonly inputs: readonly [];
|
|
18601
|
+
readonly name: "PARTY_B_REGISTRAR_ROLE";
|
|
18602
|
+
readonly outputs: readonly [{
|
|
18603
|
+
readonly internalType: "bytes32";
|
|
18604
|
+
readonly name: "";
|
|
18605
|
+
readonly type: "bytes32";
|
|
18606
|
+
}];
|
|
18607
|
+
readonly stateMutability: "view";
|
|
18608
|
+
readonly type: "function";
|
|
18052
18609
|
}, {
|
|
18053
18610
|
readonly inputs: readonly [];
|
|
18054
18611
|
readonly name: "PAUSER_ROLE";
|
|
@@ -18069,6 +18626,16 @@ export declare const symmioAbi: readonly [{
|
|
|
18069
18626
|
}];
|
|
18070
18627
|
readonly stateMutability: "view";
|
|
18071
18628
|
readonly type: "function";
|
|
18629
|
+
}, {
|
|
18630
|
+
readonly inputs: readonly [];
|
|
18631
|
+
readonly name: "PROTOCOL_LIMITS_ROLE";
|
|
18632
|
+
readonly outputs: readonly [{
|
|
18633
|
+
readonly internalType: "bytes32";
|
|
18634
|
+
readonly name: "";
|
|
18635
|
+
readonly type: "bytes32";
|
|
18636
|
+
}];
|
|
18637
|
+
readonly stateMutability: "view";
|
|
18638
|
+
readonly type: "function";
|
|
18072
18639
|
}, {
|
|
18073
18640
|
readonly inputs: readonly [];
|
|
18074
18641
|
readonly name: "PROVIDER_ADMIN_ROLE";
|
|
@@ -18119,6 +18686,16 @@ export declare const symmioAbi: readonly [{
|
|
|
18119
18686
|
}];
|
|
18120
18687
|
readonly stateMutability: "view";
|
|
18121
18688
|
readonly type: "function";
|
|
18689
|
+
}, {
|
|
18690
|
+
readonly inputs: readonly [];
|
|
18691
|
+
readonly name: "SYMBOL_LISTING_ROLE";
|
|
18692
|
+
readonly outputs: readonly [{
|
|
18693
|
+
readonly internalType: "bytes32";
|
|
18694
|
+
readonly name: "";
|
|
18695
|
+
readonly type: "bytes32";
|
|
18696
|
+
}];
|
|
18697
|
+
readonly stateMutability: "view";
|
|
18698
|
+
readonly type: "function";
|
|
18122
18699
|
}, {
|
|
18123
18700
|
readonly inputs: readonly [];
|
|
18124
18701
|
readonly name: "SYMBOL_MANAGER_ROLE";
|