@d8x/perpetuals-sdk 1.3.6 → 2.0.0-alpha
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/cjs/accountTrade.d.ts +9 -9
- package/dist/cjs/accountTrade.js +19 -17
- package/dist/cjs/accountTrade.js.map +1 -1
- package/dist/cjs/brokerTool.d.ts +11 -12
- package/dist/cjs/brokerTool.js +7 -8
- package/dist/cjs/brokerTool.js.map +1 -1
- package/dist/cjs/constants.d.ts +11 -12
- package/dist/cjs/constants.js +12 -13
- package/dist/cjs/constants.js.map +1 -1
- package/dist/cjs/contracts/ERC20.d.ts +146 -171
- package/dist/cjs/contracts/IPerpetualManager.d.ts +2534 -2225
- package/dist/cjs/contracts/IPyth.d.ts +181 -184
- package/dist/cjs/contracts/LimitOrderBook.d.ts +373 -401
- package/dist/cjs/contracts/LimitOrderBookBeacon.d.ts +53 -104
- package/dist/cjs/contracts/LimitOrderBookFactory.d.ts +129 -185
- package/dist/cjs/contracts/MockTokenSwap.d.ts +109 -169
- package/dist/cjs/contracts/Multicall3.d.ts +147 -211
- package/dist/cjs/contracts/OnDemandOracleUpgradeable.d.ts +342 -399
- package/dist/cjs/contracts/OracleFactory.d.ts +258 -238
- package/dist/cjs/contracts/PerpetualManagerProxy.d.ts +1099 -891
- package/dist/cjs/contracts/RedStoneAbi.d.ts +369 -488
- package/dist/cjs/contracts/ShareToken.d.ts +232 -285
- package/dist/cjs/contracts/common.d.ts +40 -11
- package/dist/cjs/contracts/factories/ERC20__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/ERC20__factory.js +3 -3
- package/dist/cjs/contracts/factories/ERC20__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/IPerpetualManager__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/IPerpetualManager__factory.js +3 -3
- package/dist/cjs/contracts/factories/IPerpetualManager__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/IPyth__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/IPyth__factory.js +3 -3
- package/dist/cjs/contracts/factories/IPyth__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/LimitOrderBookBeacon__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/LimitOrderBookBeacon__factory.js +3 -3
- package/dist/cjs/contracts/factories/LimitOrderBookBeacon__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/LimitOrderBookFactory__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/LimitOrderBookFactory__factory.js +3 -3
- package/dist/cjs/contracts/factories/LimitOrderBookFactory__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/LimitOrderBook__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/LimitOrderBook__factory.js +3 -3
- package/dist/cjs/contracts/factories/LimitOrderBook__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/MockTokenSwap__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/MockTokenSwap__factory.js +3 -3
- package/dist/cjs/contracts/factories/MockTokenSwap__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/Multicall3__factory.d.ts +11 -9
- package/dist/cjs/contracts/factories/Multicall3__factory.js +7 -10
- package/dist/cjs/contracts/factories/Multicall3__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/OnDemandOracleUpgradeable__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/OnDemandOracleUpgradeable__factory.js +3 -3
- package/dist/cjs/contracts/factories/OnDemandOracleUpgradeable__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/OracleFactory__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/OracleFactory__factory.js +3 -3
- package/dist/cjs/contracts/factories/OracleFactory__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/PerpetualManagerProxy__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/PerpetualManagerProxy__factory.js +3 -3
- package/dist/cjs/contracts/factories/PerpetualManagerProxy__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/RedStoneAbi__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/RedStoneAbi__factory.js +3 -3
- package/dist/cjs/contracts/factories/RedStoneAbi__factory.js.map +1 -1
- package/dist/cjs/contracts/factories/ShareToken__factory.d.ts +2 -3
- package/dist/cjs/contracts/factories/ShareToken__factory.js +3 -3
- package/dist/cjs/contracts/factories/ShareToken__factory.js.map +1 -1
- package/dist/cjs/d8XMath.d.ts +16 -16
- package/dist/cjs/d8XMath.js +48 -49
- package/dist/cjs/d8XMath.js.map +1 -1
- package/dist/cjs/liquidatorTool.d.ts +8 -8
- package/dist/cjs/liquidatorTool.js +5 -7
- package/dist/cjs/liquidatorTool.js.map +1 -1
- package/dist/cjs/liquidityProviderTool.d.ts +4 -5
- package/dist/cjs/liquidityProviderTool.js.map +1 -1
- package/dist/cjs/marketData.d.ts +27 -28
- package/dist/cjs/marketData.js +65 -69
- package/dist/cjs/marketData.js.map +1 -1
- package/dist/cjs/nodeSDKTypes.d.ts +35 -37
- package/dist/cjs/onChainPxFeed.d.ts +2 -2
- package/dist/cjs/onChainPxFeed.js +3 -3
- package/dist/cjs/onChainPxFeed.js.map +1 -1
- package/dist/cjs/onChainPxFeedAngle.d.ts +2 -2
- package/dist/cjs/onChainPxFeedAngle.js +4 -5
- package/dist/cjs/onChainPxFeedAngle.js.map +1 -1
- package/dist/cjs/onChainPxFeedRedStone.js +2 -2
- package/dist/cjs/onChainPxFeedRedStone.js.map +1 -1
- package/dist/cjs/orderExecutorTool.d.ts +7 -9
- package/dist/cjs/orderExecutorTool.js +54 -63
- package/dist/cjs/orderExecutorTool.js.map +1 -1
- package/dist/cjs/perpetualDataHandler.d.ts +38 -35
- package/dist/cjs/perpetualDataHandler.js +173 -167
- package/dist/cjs/perpetualDataHandler.js.map +1 -1
- package/dist/cjs/perpetualEventHandler.d.ts +4 -5
- package/dist/cjs/perpetualEventHandler.js +2 -2
- package/dist/cjs/perpetualEventHandler.js.map +1 -1
- package/dist/cjs/priceFeeds.js +2 -3
- package/dist/cjs/priceFeeds.js.map +1 -1
- package/dist/cjs/referralCodeSigner.d.ts +1 -1
- package/dist/cjs/referralCodeSigner.js +12 -16
- package/dist/cjs/referralCodeSigner.js.map +1 -1
- package/dist/cjs/traderDigests.d.ts +2 -1
- package/dist/cjs/traderDigests.js +9 -11
- package/dist/cjs/traderDigests.js.map +1 -1
- package/dist/cjs/traderInterface.d.ts +8 -9
- package/dist/cjs/traderInterface.js +26 -23
- package/dist/cjs/traderInterface.js.map +1 -1
- package/dist/cjs/utils.d.ts +2 -3
- package/dist/cjs/utils.js +1 -2
- package/dist/cjs/utils.js.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/cjs/writeAccessHandler.d.ts +7 -9
- package/dist/cjs/writeAccessHandler.js +13 -16
- package/dist/cjs/writeAccessHandler.js.map +1 -1
- package/dist/esm/accountTrade.d.ts +9 -9
- package/dist/esm/accountTrade.js +19 -17
- package/dist/esm/accountTrade.js.map +1 -1
- package/dist/esm/brokerTool.d.ts +11 -12
- package/dist/esm/brokerTool.js +2 -3
- package/dist/esm/brokerTool.js.map +1 -1
- package/dist/esm/constants.d.ts +11 -12
- package/dist/esm/constants.js +12 -13
- package/dist/esm/constants.js.map +1 -1
- package/dist/esm/contracts/ERC20.d.ts +146 -171
- package/dist/esm/contracts/IPerpetualManager.d.ts +2534 -2225
- package/dist/esm/contracts/IPyth.d.ts +181 -184
- package/dist/esm/contracts/LimitOrderBook.d.ts +373 -401
- package/dist/esm/contracts/LimitOrderBookBeacon.d.ts +53 -104
- package/dist/esm/contracts/LimitOrderBookFactory.d.ts +129 -185
- package/dist/esm/contracts/MockTokenSwap.d.ts +109 -169
- package/dist/esm/contracts/Multicall3.d.ts +147 -211
- package/dist/esm/contracts/OnDemandOracleUpgradeable.d.ts +342 -399
- package/dist/esm/contracts/OracleFactory.d.ts +258 -238
- package/dist/esm/contracts/PerpetualManagerProxy.d.ts +1099 -891
- package/dist/esm/contracts/RedStoneAbi.d.ts +369 -488
- package/dist/esm/contracts/ShareToken.d.ts +232 -285
- package/dist/esm/contracts/common.d.ts +40 -11
- package/dist/esm/contracts/factories/ERC20__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/ERC20__factory.js +4 -4
- package/dist/esm/contracts/factories/ERC20__factory.js.map +1 -1
- package/dist/esm/contracts/factories/IPerpetualManager__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/IPerpetualManager__factory.js +4 -4
- package/dist/esm/contracts/factories/IPerpetualManager__factory.js.map +1 -1
- package/dist/esm/contracts/factories/IPyth__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/IPyth__factory.js +4 -4
- package/dist/esm/contracts/factories/IPyth__factory.js.map +1 -1
- package/dist/esm/contracts/factories/LimitOrderBookBeacon__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/LimitOrderBookBeacon__factory.js +4 -4
- package/dist/esm/contracts/factories/LimitOrderBookBeacon__factory.js.map +1 -1
- package/dist/esm/contracts/factories/LimitOrderBookFactory__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/LimitOrderBookFactory__factory.js +4 -4
- package/dist/esm/contracts/factories/LimitOrderBookFactory__factory.js.map +1 -1
- package/dist/esm/contracts/factories/LimitOrderBook__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/LimitOrderBook__factory.js +4 -4
- package/dist/esm/contracts/factories/LimitOrderBook__factory.js.map +1 -1
- package/dist/esm/contracts/factories/MockTokenSwap__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/MockTokenSwap__factory.js +4 -4
- package/dist/esm/contracts/factories/MockTokenSwap__factory.js.map +1 -1
- package/dist/esm/contracts/factories/Multicall3__factory.d.ts +11 -9
- package/dist/esm/contracts/factories/Multicall3__factory.js +8 -11
- package/dist/esm/contracts/factories/Multicall3__factory.js.map +1 -1
- package/dist/esm/contracts/factories/OnDemandOracleUpgradeable__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/OnDemandOracleUpgradeable__factory.js +4 -4
- package/dist/esm/contracts/factories/OnDemandOracleUpgradeable__factory.js.map +1 -1
- package/dist/esm/contracts/factories/OracleFactory__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/OracleFactory__factory.js +4 -4
- package/dist/esm/contracts/factories/OracleFactory__factory.js.map +1 -1
- package/dist/esm/contracts/factories/PerpetualManagerProxy__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/PerpetualManagerProxy__factory.js +4 -4
- package/dist/esm/contracts/factories/PerpetualManagerProxy__factory.js.map +1 -1
- package/dist/esm/contracts/factories/RedStoneAbi__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/RedStoneAbi__factory.js +4 -4
- package/dist/esm/contracts/factories/RedStoneAbi__factory.js.map +1 -1
- package/dist/esm/contracts/factories/ShareToken__factory.d.ts +2 -3
- package/dist/esm/contracts/factories/ShareToken__factory.js +4 -4
- package/dist/esm/contracts/factories/ShareToken__factory.js.map +1 -1
- package/dist/esm/d8XMath.d.ts +16 -16
- package/dist/esm/d8XMath.js +48 -49
- package/dist/esm/d8XMath.js.map +1 -1
- package/dist/esm/liquidatorTool.d.ts +8 -8
- package/dist/esm/liquidatorTool.js +5 -7
- package/dist/esm/liquidatorTool.js.map +1 -1
- package/dist/esm/liquidityProviderTool.d.ts +4 -5
- package/dist/esm/liquidityProviderTool.js.map +1 -1
- package/dist/esm/marketData.d.ts +27 -28
- package/dist/esm/marketData.js +55 -59
- package/dist/esm/marketData.js.map +1 -1
- package/dist/esm/nodeSDKTypes.d.ts +35 -37
- package/dist/esm/onChainPxFeed.d.ts +2 -2
- package/dist/esm/onChainPxFeed.js +3 -3
- package/dist/esm/onChainPxFeed.js.map +1 -1
- package/dist/esm/onChainPxFeedAngle.d.ts +2 -2
- package/dist/esm/onChainPxFeedAngle.js +2 -3
- package/dist/esm/onChainPxFeedAngle.js.map +1 -1
- package/dist/esm/onChainPxFeedRedStone.js +1 -1
- package/dist/esm/onChainPxFeedRedStone.js.map +1 -1
- package/dist/esm/orderExecutorTool.d.ts +7 -9
- package/dist/esm/orderExecutorTool.js +40 -49
- package/dist/esm/orderExecutorTool.js.map +1 -1
- package/dist/esm/perpetualDataHandler.d.ts +38 -35
- package/dist/esm/perpetualDataHandler.js +114 -108
- package/dist/esm/perpetualDataHandler.js.map +1 -1
- package/dist/esm/perpetualEventHandler.d.ts +4 -5
- package/dist/esm/perpetualEventHandler.js +2 -2
- package/dist/esm/perpetualEventHandler.js.map +1 -1
- package/dist/esm/priceFeeds.js +2 -3
- package/dist/esm/priceFeeds.js.map +1 -1
- package/dist/esm/referralCodeSigner.d.ts +1 -1
- package/dist/esm/referralCodeSigner.js +6 -10
- package/dist/esm/referralCodeSigner.js.map +1 -1
- package/dist/esm/traderDigests.d.ts +2 -1
- package/dist/esm/traderDigests.js +2 -4
- package/dist/esm/traderDigests.js.map +1 -1
- package/dist/esm/traderInterface.d.ts +8 -9
- package/dist/esm/traderInterface.js +26 -23
- package/dist/esm/traderInterface.js.map +1 -1
- package/dist/esm/utils.d.ts +2 -3
- package/dist/esm/utils.js +1 -2
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/esm/writeAccessHandler.d.ts +7 -9
- package/dist/esm/writeAccessHandler.js +5 -8
- package/dist/esm/writeAccessHandler.js.map +1 -1
- package/package.json +7 -17
- package/src/accountTrade.ts +32 -34
- package/src/brokerTool.ts +17 -20
- package/src/constants.ts +12 -13
- package/src/contracts/ERC20.ts +236 -350
- package/src/contracts/IPerpetualManager.ts +3359 -5050
- package/src/contracts/IPyth.ts +272 -409
- package/src/contracts/LimitOrderBook.ts +503 -779
- package/src/contracts/LimitOrderBookBeacon.ts +123 -171
- package/src/contracts/LimitOrderBookFactory.ts +263 -332
- package/src/contracts/MockTokenSwap.ts +237 -275
- package/src/contracts/Multicall3.ts +208 -374
- package/src/contracts/OnDemandOracleUpgradeable.ts +569 -782
- package/src/contracts/OracleFactory.ts +410 -538
- package/src/contracts/PerpetualManagerProxy.ts +1898 -1426
- package/src/contracts/RedStoneAbi.ts +486 -986
- package/src/contracts/ShareToken.ts +376 -557
- package/src/contracts/common.ts +108 -21
- package/src/contracts/factories/ERC20__factory.ts +4 -5
- package/src/contracts/factories/IPerpetualManager__factory.ts +4 -5
- package/src/contracts/factories/IPyth__factory.ts +4 -5
- package/src/contracts/factories/LimitOrderBookBeacon__factory.ts +5 -6
- package/src/contracts/factories/LimitOrderBookFactory__factory.ts +5 -6
- package/src/contracts/factories/LimitOrderBook__factory.ts +4 -5
- package/src/contracts/factories/MockTokenSwap__factory.ts +4 -5
- package/src/contracts/factories/Multicall3__factory.ts +21 -19
- package/src/contracts/factories/OnDemandOracleUpgradeable__factory.ts +5 -6
- package/src/contracts/factories/OracleFactory__factory.ts +4 -5
- package/src/contracts/factories/PerpetualManagerProxy__factory.ts +5 -6
- package/src/contracts/factories/RedStoneAbi__factory.ts +4 -8
- package/src/contracts/factories/ShareToken__factory.ts +4 -8
- package/src/d8XMath.ts +57 -57
- package/src/liquidatorTool.ts +12 -15
- package/src/liquidityProviderTool.ts +7 -5
- package/src/marketData.ts +110 -121
- package/src/nodeSDKTypes.ts +51 -38
- package/src/onChainPxFeed.ts +4 -4
- package/src/onChainPxFeedAngle.ts +5 -7
- package/src/onChainPxFeedRedStone.ts +1 -3
- package/src/orderExecutorTool.ts +102 -109
- package/src/perpetualDataHandler.ts +181 -167
- package/src/perpetualEventHandler.ts +16 -17
- package/src/priceFeeds.ts +2 -3
- package/src/referralCodeSigner.ts +6 -10
- package/src/traderDigests.ts +8 -5
- package/src/traderInterface.ts +45 -31
- package/src/utils.ts +3 -4
- package/src/version.ts +1 -1
- package/src/writeAccessHandler.ts +26 -17
|
@@ -3,27 +3,24 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import type {
|
|
5
5
|
BaseContract,
|
|
6
|
-
BigNumber,
|
|
7
6
|
BigNumberish,
|
|
8
7
|
BytesLike,
|
|
9
|
-
CallOverrides,
|
|
10
|
-
ContractTransaction,
|
|
11
|
-
Overrides,
|
|
12
|
-
PopulatedTransaction,
|
|
13
|
-
Signer,
|
|
14
|
-
utils,
|
|
15
|
-
} from "ethers";
|
|
16
|
-
import type {
|
|
17
8
|
FunctionFragment,
|
|
18
9
|
Result,
|
|
10
|
+
Interface,
|
|
19
11
|
EventFragment,
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
AddressLike,
|
|
13
|
+
ContractRunner,
|
|
14
|
+
ContractMethod,
|
|
15
|
+
Listener,
|
|
16
|
+
} from "ethers";
|
|
22
17
|
import type {
|
|
23
|
-
|
|
24
|
-
|
|
18
|
+
TypedContractEvent,
|
|
19
|
+
TypedDeferredTopicFilter,
|
|
20
|
+
TypedEventLog,
|
|
21
|
+
TypedLogDescription,
|
|
25
22
|
TypedListener,
|
|
26
|
-
|
|
23
|
+
TypedContractMethod,
|
|
27
24
|
} from "./common";
|
|
28
25
|
|
|
29
26
|
export declare namespace IPerpetualOrder {
|
|
@@ -31,13 +28,13 @@ export declare namespace IPerpetualOrder {
|
|
|
31
28
|
leverageTDR: BigNumberish;
|
|
32
29
|
brokerFeeTbps: BigNumberish;
|
|
33
30
|
iPerpetualId: BigNumberish;
|
|
34
|
-
traderAddr:
|
|
31
|
+
traderAddr: AddressLike;
|
|
35
32
|
executionTimestamp: BigNumberish;
|
|
36
|
-
brokerAddr:
|
|
33
|
+
brokerAddr: AddressLike;
|
|
37
34
|
submittedTimestamp: BigNumberish;
|
|
38
35
|
flags: BigNumberish;
|
|
39
36
|
iDeadline: BigNumberish;
|
|
40
|
-
executorAddr:
|
|
37
|
+
executorAddr: AddressLike;
|
|
41
38
|
fAmount: BigNumberish;
|
|
42
39
|
fLimitPrice: BigNumberish;
|
|
43
40
|
fTriggerPrice: BigNumberish;
|
|
@@ -45,57 +42,41 @@ export declare namespace IPerpetualOrder {
|
|
|
45
42
|
};
|
|
46
43
|
|
|
47
44
|
export type OrderStructOutput = [
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
string,
|
|
52
|
-
|
|
53
|
-
string,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
string,
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
string
|
|
45
|
+
leverageTDR: bigint,
|
|
46
|
+
brokerFeeTbps: bigint,
|
|
47
|
+
iPerpetualId: bigint,
|
|
48
|
+
traderAddr: string,
|
|
49
|
+
executionTimestamp: bigint,
|
|
50
|
+
brokerAddr: string,
|
|
51
|
+
submittedTimestamp: bigint,
|
|
52
|
+
flags: bigint,
|
|
53
|
+
iDeadline: bigint,
|
|
54
|
+
executorAddr: string,
|
|
55
|
+
fAmount: bigint,
|
|
56
|
+
fLimitPrice: bigint,
|
|
57
|
+
fTriggerPrice: bigint,
|
|
58
|
+
brokerSignature: string
|
|
62
59
|
] & {
|
|
63
|
-
leverageTDR:
|
|
64
|
-
brokerFeeTbps:
|
|
65
|
-
iPerpetualId:
|
|
60
|
+
leverageTDR: bigint;
|
|
61
|
+
brokerFeeTbps: bigint;
|
|
62
|
+
iPerpetualId: bigint;
|
|
66
63
|
traderAddr: string;
|
|
67
|
-
executionTimestamp:
|
|
64
|
+
executionTimestamp: bigint;
|
|
68
65
|
brokerAddr: string;
|
|
69
|
-
submittedTimestamp:
|
|
70
|
-
flags:
|
|
71
|
-
iDeadline:
|
|
66
|
+
submittedTimestamp: bigint;
|
|
67
|
+
flags: bigint;
|
|
68
|
+
iDeadline: bigint;
|
|
72
69
|
executorAddr: string;
|
|
73
|
-
fAmount:
|
|
74
|
-
fLimitPrice:
|
|
75
|
-
fTriggerPrice:
|
|
70
|
+
fAmount: bigint;
|
|
71
|
+
fLimitPrice: bigint;
|
|
72
|
+
fTriggerPrice: bigint;
|
|
76
73
|
brokerSignature: string;
|
|
77
74
|
};
|
|
78
75
|
}
|
|
79
76
|
|
|
80
|
-
export interface PerpetualManagerProxyInterface extends
|
|
81
|
-
functions: {
|
|
82
|
-
"getImplementation(bytes4)": FunctionFragment;
|
|
83
|
-
"getModuleImplementationAddress(string)": FunctionFragment;
|
|
84
|
-
"getProxyOwner()": FunctionFragment;
|
|
85
|
-
"governance()": FunctionFragment;
|
|
86
|
-
"maintainer()": FunctionFragment;
|
|
87
|
-
"pause()": FunctionFragment;
|
|
88
|
-
"paused()": FunctionFragment;
|
|
89
|
-
"setImplementation(address)": FunctionFragment;
|
|
90
|
-
"setImplementationCrossModules(address)": FunctionFragment;
|
|
91
|
-
"setProxyOwner(address)": FunctionFragment;
|
|
92
|
-
"transferGovernance(address)": FunctionFragment;
|
|
93
|
-
"transferMaintainer(address)": FunctionFragment;
|
|
94
|
-
"unpause()": FunctionFragment;
|
|
95
|
-
};
|
|
96
|
-
|
|
77
|
+
export interface PerpetualManagerProxyInterface extends Interface {
|
|
97
78
|
getFunction(
|
|
98
|
-
|
|
79
|
+
nameOrSignature:
|
|
99
80
|
| "getImplementation"
|
|
100
81
|
| "getModuleImplementationAddress"
|
|
101
82
|
| "getProxyOwner"
|
|
@@ -111,6 +92,57 @@ export interface PerpetualManagerProxyInterface extends utils.Interface {
|
|
|
111
92
|
| "unpause"
|
|
112
93
|
): FunctionFragment;
|
|
113
94
|
|
|
95
|
+
getEvent(
|
|
96
|
+
nameOrSignatureOrTopic:
|
|
97
|
+
| "BrokerLotsTransferred"
|
|
98
|
+
| "BrokerVolumeTransferred"
|
|
99
|
+
| "Clear"
|
|
100
|
+
| "DistributeFees"
|
|
101
|
+
| "GovernanceTransferred"
|
|
102
|
+
| "ImplementationChanged"
|
|
103
|
+
| "Liquidate"
|
|
104
|
+
| "LiquidityAdded"
|
|
105
|
+
| "LiquidityPoolCreated"
|
|
106
|
+
| "LiquidityProvisionPaused"
|
|
107
|
+
| "LiquidityRemoved"
|
|
108
|
+
| "LiquidityWithdrawalInitiated"
|
|
109
|
+
| "MaintainerTransferred"
|
|
110
|
+
| "Paused"
|
|
111
|
+
| "PerpetualCreated"
|
|
112
|
+
| "PerpetualLimitOrderCancelled"
|
|
113
|
+
| "ProxyOwnershipTransferred"
|
|
114
|
+
| "RunLiquidityPool"
|
|
115
|
+
| "SetBlockDelay"
|
|
116
|
+
| "SetBrokerDesignations"
|
|
117
|
+
| "SetBrokerTiers"
|
|
118
|
+
| "SetBrokerVolumeTiers"
|
|
119
|
+
| "SetClearedState"
|
|
120
|
+
| "SetDelegate"
|
|
121
|
+
| "SetEmergencyState"
|
|
122
|
+
| "SetNormalState"
|
|
123
|
+
| "SetOracles"
|
|
124
|
+
| "SetParameter"
|
|
125
|
+
| "SetParameterPair"
|
|
126
|
+
| "SetPerpetualBaseParameters"
|
|
127
|
+
| "SetPerpetualRiskParameters"
|
|
128
|
+
| "SetPoolParameter"
|
|
129
|
+
| "SetTraderTiers"
|
|
130
|
+
| "SetTraderVolumeTiers"
|
|
131
|
+
| "SetUtilityToken"
|
|
132
|
+
| "Settle"
|
|
133
|
+
| "SettleState"
|
|
134
|
+
| "SettlementComplete"
|
|
135
|
+
| "TokensDeposited"
|
|
136
|
+
| "TokensWithdrawn"
|
|
137
|
+
| "Trade"
|
|
138
|
+
| "TransferAddressTo"
|
|
139
|
+
| "Unpaused"
|
|
140
|
+
| "UpdateBrokerAddedCash"
|
|
141
|
+
| "UpdateFundingRate"
|
|
142
|
+
| "UpdateMarginAccount"
|
|
143
|
+
| "UpdateMarkPrice"
|
|
144
|
+
): EventFragment;
|
|
145
|
+
|
|
114
146
|
encodeFunctionData(
|
|
115
147
|
functionFragment: "getImplementation",
|
|
116
148
|
values: [BytesLike]
|
|
@@ -135,23 +167,23 @@ export interface PerpetualManagerProxyInterface extends utils.Interface {
|
|
|
135
167
|
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
136
168
|
encodeFunctionData(
|
|
137
169
|
functionFragment: "setImplementation",
|
|
138
|
-
values: [
|
|
170
|
+
values: [AddressLike]
|
|
139
171
|
): string;
|
|
140
172
|
encodeFunctionData(
|
|
141
173
|
functionFragment: "setImplementationCrossModules",
|
|
142
|
-
values: [
|
|
174
|
+
values: [AddressLike]
|
|
143
175
|
): string;
|
|
144
176
|
encodeFunctionData(
|
|
145
177
|
functionFragment: "setProxyOwner",
|
|
146
|
-
values: [
|
|
178
|
+
values: [AddressLike]
|
|
147
179
|
): string;
|
|
148
180
|
encodeFunctionData(
|
|
149
181
|
functionFragment: "transferGovernance",
|
|
150
|
-
values: [
|
|
182
|
+
values: [AddressLike]
|
|
151
183
|
): string;
|
|
152
184
|
encodeFunctionData(
|
|
153
185
|
functionFragment: "transferMaintainer",
|
|
154
|
-
values: [
|
|
186
|
+
values: [AddressLike]
|
|
155
187
|
): string;
|
|
156
188
|
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
157
189
|
|
|
@@ -192,1456 +224,1896 @@ export interface PerpetualManagerProxyInterface extends utils.Interface {
|
|
|
192
224
|
data: BytesLike
|
|
193
225
|
): Result;
|
|
194
226
|
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
195
|
-
|
|
196
|
-
events: {
|
|
197
|
-
"BrokerLotsTransferred(uint8,address,address,uint32)": EventFragment;
|
|
198
|
-
"BrokerVolumeTransferred(uint8,address,address,int128)": EventFragment;
|
|
199
|
-
"Clear(uint24,address)": EventFragment;
|
|
200
|
-
"DistributeFees(uint8,uint24,address,int128,int128)": EventFragment;
|
|
201
|
-
"GovernanceTransferred(address,address)": EventFragment;
|
|
202
|
-
"ImplementationChanged(bytes4,address,address)": EventFragment;
|
|
203
|
-
"Liquidate(uint24,address,address,int128,int128,int128,int128,int128)": EventFragment;
|
|
204
|
-
"LiquidityAdded(uint8,address,uint256,uint256)": EventFragment;
|
|
205
|
-
"LiquidityPoolCreated(uint8,address,address,uint16,int128)": EventFragment;
|
|
206
|
-
"LiquidityProvisionPaused(bool,uint8)": EventFragment;
|
|
207
|
-
"LiquidityRemoved(uint8,address,uint256,uint256)": EventFragment;
|
|
208
|
-
"LiquidityWithdrawalInitiated(uint8,address,uint256)": EventFragment;
|
|
209
|
-
"MaintainerTransferred(address,address)": EventFragment;
|
|
210
|
-
"Paused(address)": EventFragment;
|
|
211
|
-
"PerpetualCreated(uint8,uint24,int128[7],int128[5],int128[12],uint256)": EventFragment;
|
|
212
|
-
"PerpetualLimitOrderCancelled(uint24,bytes32)": EventFragment;
|
|
213
|
-
"ProxyOwnershipTransferred(address,address)": EventFragment;
|
|
214
|
-
"RunLiquidityPool(uint8)": EventFragment;
|
|
215
|
-
"SetBlockDelay(uint8)": EventFragment;
|
|
216
|
-
"SetBrokerDesignations(uint32[],uint16[])": EventFragment;
|
|
217
|
-
"SetBrokerTiers(uint256[],uint16[])": EventFragment;
|
|
218
|
-
"SetBrokerVolumeTiers(uint256[],uint16[])": EventFragment;
|
|
219
|
-
"SetClearedState(uint24)": EventFragment;
|
|
220
|
-
"SetDelegate(address,address)": EventFragment;
|
|
221
|
-
"SetEmergencyState(uint24,int128,int128,int128)": EventFragment;
|
|
222
|
-
"SetNormalState(uint24)": EventFragment;
|
|
223
|
-
"SetOracles(uint24,bytes4[2],bytes4[2])": EventFragment;
|
|
224
|
-
"SetParameter(uint24,string,int128)": EventFragment;
|
|
225
|
-
"SetParameterPair(uint24,string,int128,int128)": EventFragment;
|
|
226
|
-
"SetPerpetualBaseParameters(uint24,int128[7])": EventFragment;
|
|
227
|
-
"SetPerpetualRiskParameters(uint24,int128[5],int128[12])": EventFragment;
|
|
228
|
-
"SetPoolParameter(uint8,string,int128)": EventFragment;
|
|
229
|
-
"SetTraderTiers(uint256[],uint16[])": EventFragment;
|
|
230
|
-
"SetTraderVolumeTiers(uint256[],uint16[])": EventFragment;
|
|
231
|
-
"SetUtilityToken(address)": EventFragment;
|
|
232
|
-
"Settle(uint24,address,int256)": EventFragment;
|
|
233
|
-
"SettleState(uint24)": EventFragment;
|
|
234
|
-
"SettlementComplete(uint24)": EventFragment;
|
|
235
|
-
"TokensDeposited(uint24,address,int128)": EventFragment;
|
|
236
|
-
"TokensWithdrawn(uint24,address,int128)": EventFragment;
|
|
237
|
-
"Trade(uint24,address,(uint16,uint16,uint24,address,uint32,address,uint32,uint32,uint32,address,int128,int128,int128,bytes),bytes32,int128,int128,int128,int128,int128)": EventFragment;
|
|
238
|
-
"TransferAddressTo(string,address,address)": EventFragment;
|
|
239
|
-
"Unpaused(address)": EventFragment;
|
|
240
|
-
"UpdateBrokerAddedCash(uint8,uint32,uint32)": EventFragment;
|
|
241
|
-
"UpdateFundingRate(uint24,int128)": EventFragment;
|
|
242
|
-
"UpdateMarginAccount(uint24,address,int128)": EventFragment;
|
|
243
|
-
"UpdateMarkPrice(uint24,int128,int128,int128)": EventFragment;
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
getEvent(nameOrSignatureOrTopic: "BrokerLotsTransferred"): EventFragment;
|
|
247
|
-
getEvent(nameOrSignatureOrTopic: "BrokerVolumeTransferred"): EventFragment;
|
|
248
|
-
getEvent(nameOrSignatureOrTopic: "Clear"): EventFragment;
|
|
249
|
-
getEvent(nameOrSignatureOrTopic: "DistributeFees"): EventFragment;
|
|
250
|
-
getEvent(nameOrSignatureOrTopic: "GovernanceTransferred"): EventFragment;
|
|
251
|
-
getEvent(nameOrSignatureOrTopic: "ImplementationChanged"): EventFragment;
|
|
252
|
-
getEvent(nameOrSignatureOrTopic: "Liquidate"): EventFragment;
|
|
253
|
-
getEvent(nameOrSignatureOrTopic: "LiquidityAdded"): EventFragment;
|
|
254
|
-
getEvent(nameOrSignatureOrTopic: "LiquidityPoolCreated"): EventFragment;
|
|
255
|
-
getEvent(nameOrSignatureOrTopic: "LiquidityProvisionPaused"): EventFragment;
|
|
256
|
-
getEvent(nameOrSignatureOrTopic: "LiquidityRemoved"): EventFragment;
|
|
257
|
-
getEvent(
|
|
258
|
-
nameOrSignatureOrTopic: "LiquidityWithdrawalInitiated"
|
|
259
|
-
): EventFragment;
|
|
260
|
-
getEvent(nameOrSignatureOrTopic: "MaintainerTransferred"): EventFragment;
|
|
261
|
-
getEvent(nameOrSignatureOrTopic: "Paused"): EventFragment;
|
|
262
|
-
getEvent(nameOrSignatureOrTopic: "PerpetualCreated"): EventFragment;
|
|
263
|
-
getEvent(
|
|
264
|
-
nameOrSignatureOrTopic: "PerpetualLimitOrderCancelled"
|
|
265
|
-
): EventFragment;
|
|
266
|
-
getEvent(nameOrSignatureOrTopic: "ProxyOwnershipTransferred"): EventFragment;
|
|
267
|
-
getEvent(nameOrSignatureOrTopic: "RunLiquidityPool"): EventFragment;
|
|
268
|
-
getEvent(nameOrSignatureOrTopic: "SetBlockDelay"): EventFragment;
|
|
269
|
-
getEvent(nameOrSignatureOrTopic: "SetBrokerDesignations"): EventFragment;
|
|
270
|
-
getEvent(nameOrSignatureOrTopic: "SetBrokerTiers"): EventFragment;
|
|
271
|
-
getEvent(nameOrSignatureOrTopic: "SetBrokerVolumeTiers"): EventFragment;
|
|
272
|
-
getEvent(nameOrSignatureOrTopic: "SetClearedState"): EventFragment;
|
|
273
|
-
getEvent(nameOrSignatureOrTopic: "SetDelegate"): EventFragment;
|
|
274
|
-
getEvent(nameOrSignatureOrTopic: "SetEmergencyState"): EventFragment;
|
|
275
|
-
getEvent(nameOrSignatureOrTopic: "SetNormalState"): EventFragment;
|
|
276
|
-
getEvent(nameOrSignatureOrTopic: "SetOracles"): EventFragment;
|
|
277
|
-
getEvent(nameOrSignatureOrTopic: "SetParameter"): EventFragment;
|
|
278
|
-
getEvent(nameOrSignatureOrTopic: "SetParameterPair"): EventFragment;
|
|
279
|
-
getEvent(nameOrSignatureOrTopic: "SetPerpetualBaseParameters"): EventFragment;
|
|
280
|
-
getEvent(nameOrSignatureOrTopic: "SetPerpetualRiskParameters"): EventFragment;
|
|
281
|
-
getEvent(nameOrSignatureOrTopic: "SetPoolParameter"): EventFragment;
|
|
282
|
-
getEvent(nameOrSignatureOrTopic: "SetTraderTiers"): EventFragment;
|
|
283
|
-
getEvent(nameOrSignatureOrTopic: "SetTraderVolumeTiers"): EventFragment;
|
|
284
|
-
getEvent(nameOrSignatureOrTopic: "SetUtilityToken"): EventFragment;
|
|
285
|
-
getEvent(nameOrSignatureOrTopic: "Settle"): EventFragment;
|
|
286
|
-
getEvent(nameOrSignatureOrTopic: "SettleState"): EventFragment;
|
|
287
|
-
getEvent(nameOrSignatureOrTopic: "SettlementComplete"): EventFragment;
|
|
288
|
-
getEvent(nameOrSignatureOrTopic: "TokensDeposited"): EventFragment;
|
|
289
|
-
getEvent(nameOrSignatureOrTopic: "TokensWithdrawn"): EventFragment;
|
|
290
|
-
getEvent(nameOrSignatureOrTopic: "Trade"): EventFragment;
|
|
291
|
-
getEvent(nameOrSignatureOrTopic: "TransferAddressTo"): EventFragment;
|
|
292
|
-
getEvent(nameOrSignatureOrTopic: "Unpaused"): EventFragment;
|
|
293
|
-
getEvent(nameOrSignatureOrTopic: "UpdateBrokerAddedCash"): EventFragment;
|
|
294
|
-
getEvent(nameOrSignatureOrTopic: "UpdateFundingRate"): EventFragment;
|
|
295
|
-
getEvent(nameOrSignatureOrTopic: "UpdateMarginAccount"): EventFragment;
|
|
296
|
-
getEvent(nameOrSignatureOrTopic: "UpdateMarkPrice"): EventFragment;
|
|
297
227
|
}
|
|
298
228
|
|
|
299
|
-
export
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
229
|
+
export namespace BrokerLotsTransferredEvent {
|
|
230
|
+
export type InputTuple = [
|
|
231
|
+
poolId: BigNumberish,
|
|
232
|
+
oldOwner: AddressLike,
|
|
233
|
+
newOwner: AddressLike,
|
|
234
|
+
numLots: BigNumberish
|
|
235
|
+
];
|
|
236
|
+
export type OutputTuple = [
|
|
237
|
+
poolId: bigint,
|
|
238
|
+
oldOwner: string,
|
|
239
|
+
newOwner: string,
|
|
240
|
+
numLots: bigint
|
|
241
|
+
];
|
|
242
|
+
export interface OutputObject {
|
|
243
|
+
poolId: bigint;
|
|
244
|
+
oldOwner: string;
|
|
245
|
+
newOwner: string;
|
|
246
|
+
numLots: bigint;
|
|
247
|
+
}
|
|
248
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
249
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
250
|
+
export type Log = TypedEventLog<Event>;
|
|
251
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
318
252
|
}
|
|
319
|
-
export type BrokerVolumeTransferredEvent = TypedEvent<
|
|
320
|
-
[number, string, string, BigNumber],
|
|
321
|
-
BrokerVolumeTransferredEventObject
|
|
322
|
-
>;
|
|
323
|
-
|
|
324
|
-
export type BrokerVolumeTransferredEventFilter =
|
|
325
|
-
TypedEventFilter<BrokerVolumeTransferredEvent>;
|
|
326
253
|
|
|
327
|
-
export
|
|
328
|
-
|
|
329
|
-
|
|
254
|
+
export namespace BrokerVolumeTransferredEvent {
|
|
255
|
+
export type InputTuple = [
|
|
256
|
+
poolId: BigNumberish,
|
|
257
|
+
oldOwner: AddressLike,
|
|
258
|
+
newOwner: AddressLike,
|
|
259
|
+
fVolume: BigNumberish
|
|
260
|
+
];
|
|
261
|
+
export type OutputTuple = [
|
|
262
|
+
poolId: bigint,
|
|
263
|
+
oldOwner: string,
|
|
264
|
+
newOwner: string,
|
|
265
|
+
fVolume: bigint
|
|
266
|
+
];
|
|
267
|
+
export interface OutputObject {
|
|
268
|
+
poolId: bigint;
|
|
269
|
+
oldOwner: string;
|
|
270
|
+
newOwner: string;
|
|
271
|
+
fVolume: bigint;
|
|
272
|
+
}
|
|
273
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
274
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
275
|
+
export type Log = TypedEventLog<Event>;
|
|
276
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
330
277
|
}
|
|
331
|
-
export type ClearEvent = TypedEvent<[number, string], ClearEventObject>;
|
|
332
278
|
|
|
333
|
-
export
|
|
334
|
-
|
|
335
|
-
export
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
279
|
+
export namespace ClearEvent {
|
|
280
|
+
export type InputTuple = [perpetualId: BigNumberish, trader: AddressLike];
|
|
281
|
+
export type OutputTuple = [perpetualId: bigint, trader: string];
|
|
282
|
+
export interface OutputObject {
|
|
283
|
+
perpetualId: bigint;
|
|
284
|
+
trader: string;
|
|
285
|
+
}
|
|
286
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
287
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
288
|
+
export type Log = TypedEventLog<Event>;
|
|
289
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
341
290
|
}
|
|
342
|
-
export type DistributeFeesEvent = TypedEvent<
|
|
343
|
-
[number, number, string, BigNumber, BigNumber],
|
|
344
|
-
DistributeFeesEventObject
|
|
345
|
-
>;
|
|
346
|
-
|
|
347
|
-
export type DistributeFeesEventFilter = TypedEventFilter<DistributeFeesEvent>;
|
|
348
291
|
|
|
349
|
-
export
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
292
|
+
export namespace DistributeFeesEvent {
|
|
293
|
+
export type InputTuple = [
|
|
294
|
+
poolId: BigNumberish,
|
|
295
|
+
perpetualId: BigNumberish,
|
|
296
|
+
trader: AddressLike,
|
|
297
|
+
protocolFeeCC: BigNumberish,
|
|
298
|
+
participationFundFeeCC: BigNumberish
|
|
299
|
+
];
|
|
300
|
+
export type OutputTuple = [
|
|
301
|
+
poolId: bigint,
|
|
302
|
+
perpetualId: bigint,
|
|
303
|
+
trader: string,
|
|
304
|
+
protocolFeeCC: bigint,
|
|
305
|
+
participationFundFeeCC: bigint
|
|
306
|
+
];
|
|
307
|
+
export interface OutputObject {
|
|
308
|
+
poolId: bigint;
|
|
309
|
+
perpetualId: bigint;
|
|
310
|
+
trader: string;
|
|
311
|
+
protocolFeeCC: bigint;
|
|
312
|
+
participationFundFeeCC: bigint;
|
|
313
|
+
}
|
|
314
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
315
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
316
|
+
export type Log = TypedEventLog<Event>;
|
|
317
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
365
318
|
}
|
|
366
|
-
export type ImplementationChangedEvent = TypedEvent<
|
|
367
|
-
[string, string, string],
|
|
368
|
-
ImplementationChangedEventObject
|
|
369
|
-
>;
|
|
370
|
-
|
|
371
|
-
export type ImplementationChangedEventFilter =
|
|
372
|
-
TypedEventFilter<ImplementationChangedEvent>;
|
|
373
|
-
|
|
374
|
-
export interface LiquidateEventObject {
|
|
375
|
-
perpetualId: number;
|
|
376
|
-
liquidator: string;
|
|
377
|
-
trader: string;
|
|
378
|
-
amountLiquidatedBC: BigNumber;
|
|
379
|
-
liquidationPrice: BigNumber;
|
|
380
|
-
newPositionSizeBC: BigNumber;
|
|
381
|
-
fFeeCC: BigNumber;
|
|
382
|
-
fPnlCC: BigNumber;
|
|
383
|
-
}
|
|
384
|
-
export type LiquidateEvent = TypedEvent<
|
|
385
|
-
[
|
|
386
|
-
number,
|
|
387
|
-
string,
|
|
388
|
-
string,
|
|
389
|
-
BigNumber,
|
|
390
|
-
BigNumber,
|
|
391
|
-
BigNumber,
|
|
392
|
-
BigNumber,
|
|
393
|
-
BigNumber
|
|
394
|
-
],
|
|
395
|
-
LiquidateEventObject
|
|
396
|
-
>;
|
|
397
|
-
|
|
398
|
-
export type LiquidateEventFilter = TypedEventFilter<LiquidateEvent>;
|
|
399
|
-
|
|
400
|
-
export interface LiquidityAddedEventObject {
|
|
401
|
-
poolId: number;
|
|
402
|
-
user: string;
|
|
403
|
-
tokenAmount: BigNumber;
|
|
404
|
-
shareAmount: BigNumber;
|
|
405
|
-
}
|
|
406
|
-
export type LiquidityAddedEvent = TypedEvent<
|
|
407
|
-
[number, string, BigNumber, BigNumber],
|
|
408
|
-
LiquidityAddedEventObject
|
|
409
|
-
>;
|
|
410
|
-
|
|
411
|
-
export type LiquidityAddedEventFilter = TypedEventFilter<LiquidityAddedEvent>;
|
|
412
|
-
|
|
413
|
-
export interface LiquidityPoolCreatedEventObject {
|
|
414
|
-
id: number;
|
|
415
|
-
marginTokenAddress: string;
|
|
416
|
-
shareTokenAddress: string;
|
|
417
|
-
iTargetPoolSizeUpdateTime: number;
|
|
418
|
-
fBrokerCollateralLotSize: BigNumber;
|
|
419
|
-
}
|
|
420
|
-
export type LiquidityPoolCreatedEvent = TypedEvent<
|
|
421
|
-
[number, string, string, number, BigNumber],
|
|
422
|
-
LiquidityPoolCreatedEventObject
|
|
423
|
-
>;
|
|
424
319
|
|
|
425
|
-
export
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
>;
|
|
436
|
-
|
|
437
|
-
export type
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
export interface LiquidityRemovedEventObject {
|
|
441
|
-
poolId: number;
|
|
442
|
-
user: string;
|
|
443
|
-
tokenAmount: BigNumber;
|
|
444
|
-
shareAmount: BigNumber;
|
|
445
|
-
}
|
|
446
|
-
export type LiquidityRemovedEvent = TypedEvent<
|
|
447
|
-
[number, string, BigNumber, BigNumber],
|
|
448
|
-
LiquidityRemovedEventObject
|
|
449
|
-
>;
|
|
450
|
-
|
|
451
|
-
export type LiquidityRemovedEventFilter =
|
|
452
|
-
TypedEventFilter<LiquidityRemovedEvent>;
|
|
453
|
-
|
|
454
|
-
export interface LiquidityWithdrawalInitiatedEventObject {
|
|
455
|
-
poolId: number;
|
|
456
|
-
user: string;
|
|
457
|
-
shareAmount: BigNumber;
|
|
320
|
+
export namespace GovernanceTransferredEvent {
|
|
321
|
+
export type InputTuple = [
|
|
322
|
+
previousGovernance: AddressLike,
|
|
323
|
+
newGovernance: AddressLike
|
|
324
|
+
];
|
|
325
|
+
export type OutputTuple = [previousGovernance: string, newGovernance: string];
|
|
326
|
+
export interface OutputObject {
|
|
327
|
+
previousGovernance: string;
|
|
328
|
+
newGovernance: string;
|
|
329
|
+
}
|
|
330
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
331
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
332
|
+
export type Log = TypedEventLog<Event>;
|
|
333
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
458
334
|
}
|
|
459
|
-
export type LiquidityWithdrawalInitiatedEvent = TypedEvent<
|
|
460
|
-
[number, string, BigNumber],
|
|
461
|
-
LiquidityWithdrawalInitiatedEventObject
|
|
462
|
-
>;
|
|
463
335
|
|
|
464
|
-
export
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
336
|
+
export namespace ImplementationChangedEvent {
|
|
337
|
+
export type InputTuple = [
|
|
338
|
+
_sig: BytesLike,
|
|
339
|
+
_oldImplementation: AddressLike,
|
|
340
|
+
_newImplementation: AddressLike
|
|
341
|
+
];
|
|
342
|
+
export type OutputTuple = [
|
|
343
|
+
_sig: string,
|
|
344
|
+
_oldImplementation: string,
|
|
345
|
+
_newImplementation: string
|
|
346
|
+
];
|
|
347
|
+
export interface OutputObject {
|
|
348
|
+
_sig: string;
|
|
349
|
+
_oldImplementation: string;
|
|
350
|
+
_newImplementation: string;
|
|
351
|
+
}
|
|
352
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
353
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
354
|
+
export type Log = TypedEventLog<Event>;
|
|
355
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
470
356
|
}
|
|
471
|
-
export type MaintainerTransferredEvent = TypedEvent<
|
|
472
|
-
[string, string],
|
|
473
|
-
MaintainerTransferredEventObject
|
|
474
|
-
>;
|
|
475
|
-
|
|
476
|
-
export type MaintainerTransferredEventFilter =
|
|
477
|
-
TypedEventFilter<MaintainerTransferredEvent>;
|
|
478
357
|
|
|
479
|
-
export
|
|
480
|
-
|
|
358
|
+
export namespace LiquidateEvent {
|
|
359
|
+
export type InputTuple = [
|
|
360
|
+
perpetualId: BigNumberish,
|
|
361
|
+
liquidator: AddressLike,
|
|
362
|
+
trader: AddressLike,
|
|
363
|
+
amountLiquidatedBC: BigNumberish,
|
|
364
|
+
liquidationPrice: BigNumberish,
|
|
365
|
+
newPositionSizeBC: BigNumberish,
|
|
366
|
+
fFeeCC: BigNumberish,
|
|
367
|
+
fPnlCC: BigNumberish
|
|
368
|
+
];
|
|
369
|
+
export type OutputTuple = [
|
|
370
|
+
perpetualId: bigint,
|
|
371
|
+
liquidator: string,
|
|
372
|
+
trader: string,
|
|
373
|
+
amountLiquidatedBC: bigint,
|
|
374
|
+
liquidationPrice: bigint,
|
|
375
|
+
newPositionSizeBC: bigint,
|
|
376
|
+
fFeeCC: bigint,
|
|
377
|
+
fPnlCC: bigint
|
|
378
|
+
];
|
|
379
|
+
export interface OutputObject {
|
|
380
|
+
perpetualId: bigint;
|
|
381
|
+
liquidator: string;
|
|
382
|
+
trader: string;
|
|
383
|
+
amountLiquidatedBC: bigint;
|
|
384
|
+
liquidationPrice: bigint;
|
|
385
|
+
newPositionSizeBC: bigint;
|
|
386
|
+
fFeeCC: bigint;
|
|
387
|
+
fPnlCC: bigint;
|
|
388
|
+
}
|
|
389
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
390
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
391
|
+
export type Log = TypedEventLog<Event>;
|
|
392
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
481
393
|
}
|
|
482
|
-
export type PausedEvent = TypedEvent<[string], PausedEventObject>;
|
|
483
394
|
|
|
484
|
-
export
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
>;
|
|
505
|
-
|
|
506
|
-
export type
|
|
507
|
-
TypedEventFilter<PerpetualCreatedEvent>;
|
|
508
|
-
|
|
509
|
-
export interface PerpetualLimitOrderCancelledEventObject {
|
|
510
|
-
perpetualId: number;
|
|
511
|
-
orderHash: string;
|
|
395
|
+
export namespace LiquidityAddedEvent {
|
|
396
|
+
export type InputTuple = [
|
|
397
|
+
poolId: BigNumberish,
|
|
398
|
+
user: AddressLike,
|
|
399
|
+
tokenAmount: BigNumberish,
|
|
400
|
+
shareAmount: BigNumberish
|
|
401
|
+
];
|
|
402
|
+
export type OutputTuple = [
|
|
403
|
+
poolId: bigint,
|
|
404
|
+
user: string,
|
|
405
|
+
tokenAmount: bigint,
|
|
406
|
+
shareAmount: bigint
|
|
407
|
+
];
|
|
408
|
+
export interface OutputObject {
|
|
409
|
+
poolId: bigint;
|
|
410
|
+
user: string;
|
|
411
|
+
tokenAmount: bigint;
|
|
412
|
+
shareAmount: bigint;
|
|
413
|
+
}
|
|
414
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
415
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
416
|
+
export type Log = TypedEventLog<Event>;
|
|
417
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
512
418
|
}
|
|
513
|
-
export type PerpetualLimitOrderCancelledEvent = TypedEvent<
|
|
514
|
-
[number, string],
|
|
515
|
-
PerpetualLimitOrderCancelledEventObject
|
|
516
|
-
>;
|
|
517
|
-
|
|
518
|
-
export type PerpetualLimitOrderCancelledEventFilter =
|
|
519
|
-
TypedEventFilter<PerpetualLimitOrderCancelledEvent>;
|
|
520
419
|
|
|
521
|
-
export
|
|
522
|
-
|
|
523
|
-
|
|
420
|
+
export namespace LiquidityPoolCreatedEvent {
|
|
421
|
+
export type InputTuple = [
|
|
422
|
+
id: BigNumberish,
|
|
423
|
+
marginTokenAddress: AddressLike,
|
|
424
|
+
shareTokenAddress: AddressLike,
|
|
425
|
+
iTargetPoolSizeUpdateTime: BigNumberish,
|
|
426
|
+
fBrokerCollateralLotSize: BigNumberish
|
|
427
|
+
];
|
|
428
|
+
export type OutputTuple = [
|
|
429
|
+
id: bigint,
|
|
430
|
+
marginTokenAddress: string,
|
|
431
|
+
shareTokenAddress: string,
|
|
432
|
+
iTargetPoolSizeUpdateTime: bigint,
|
|
433
|
+
fBrokerCollateralLotSize: bigint
|
|
434
|
+
];
|
|
435
|
+
export interface OutputObject {
|
|
436
|
+
id: bigint;
|
|
437
|
+
marginTokenAddress: string;
|
|
438
|
+
shareTokenAddress: string;
|
|
439
|
+
iTargetPoolSizeUpdateTime: bigint;
|
|
440
|
+
fBrokerCollateralLotSize: bigint;
|
|
441
|
+
}
|
|
442
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
443
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
444
|
+
export type Log = TypedEventLog<Event>;
|
|
445
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
524
446
|
}
|
|
525
|
-
export type ProxyOwnershipTransferredEvent = TypedEvent<
|
|
526
|
-
[string, string],
|
|
527
|
-
ProxyOwnershipTransferredEventObject
|
|
528
|
-
>;
|
|
529
447
|
|
|
530
|
-
export
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
export interface
|
|
534
|
-
|
|
448
|
+
export namespace LiquidityProvisionPausedEvent {
|
|
449
|
+
export type InputTuple = [pauseOn: boolean, poolId: BigNumberish];
|
|
450
|
+
export type OutputTuple = [pauseOn: boolean, poolId: bigint];
|
|
451
|
+
export interface OutputObject {
|
|
452
|
+
pauseOn: boolean;
|
|
453
|
+
poolId: bigint;
|
|
454
|
+
}
|
|
455
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
456
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
457
|
+
export type Log = TypedEventLog<Event>;
|
|
458
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
535
459
|
}
|
|
536
|
-
export type RunLiquidityPoolEvent = TypedEvent<
|
|
537
|
-
[number],
|
|
538
|
-
RunLiquidityPoolEventObject
|
|
539
|
-
>;
|
|
540
|
-
|
|
541
|
-
export type RunLiquidityPoolEventFilter =
|
|
542
|
-
TypedEventFilter<RunLiquidityPoolEvent>;
|
|
543
460
|
|
|
544
|
-
export
|
|
545
|
-
|
|
461
|
+
export namespace LiquidityRemovedEvent {
|
|
462
|
+
export type InputTuple = [
|
|
463
|
+
poolId: BigNumberish,
|
|
464
|
+
user: AddressLike,
|
|
465
|
+
tokenAmount: BigNumberish,
|
|
466
|
+
shareAmount: BigNumberish
|
|
467
|
+
];
|
|
468
|
+
export type OutputTuple = [
|
|
469
|
+
poolId: bigint,
|
|
470
|
+
user: string,
|
|
471
|
+
tokenAmount: bigint,
|
|
472
|
+
shareAmount: bigint
|
|
473
|
+
];
|
|
474
|
+
export interface OutputObject {
|
|
475
|
+
poolId: bigint;
|
|
476
|
+
user: string;
|
|
477
|
+
tokenAmount: bigint;
|
|
478
|
+
shareAmount: bigint;
|
|
479
|
+
}
|
|
480
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
481
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
482
|
+
export type Log = TypedEventLog<Event>;
|
|
483
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
546
484
|
}
|
|
547
|
-
export type SetBlockDelayEvent = TypedEvent<[number], SetBlockDelayEventObject>;
|
|
548
|
-
|
|
549
|
-
export type SetBlockDelayEventFilter = TypedEventFilter<SetBlockDelayEvent>;
|
|
550
485
|
|
|
551
|
-
export
|
|
552
|
-
|
|
553
|
-
|
|
486
|
+
export namespace LiquidityWithdrawalInitiatedEvent {
|
|
487
|
+
export type InputTuple = [
|
|
488
|
+
poolId: BigNumberish,
|
|
489
|
+
user: AddressLike,
|
|
490
|
+
shareAmount: BigNumberish
|
|
491
|
+
];
|
|
492
|
+
export type OutputTuple = [poolId: bigint, user: string, shareAmount: bigint];
|
|
493
|
+
export interface OutputObject {
|
|
494
|
+
poolId: bigint;
|
|
495
|
+
user: string;
|
|
496
|
+
shareAmount: bigint;
|
|
497
|
+
}
|
|
498
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
499
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
500
|
+
export type Log = TypedEventLog<Event>;
|
|
501
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
554
502
|
}
|
|
555
|
-
export type SetBrokerDesignationsEvent = TypedEvent<
|
|
556
|
-
[number[], number[]],
|
|
557
|
-
SetBrokerDesignationsEventObject
|
|
558
|
-
>;
|
|
559
503
|
|
|
560
|
-
export
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
504
|
+
export namespace MaintainerTransferredEvent {
|
|
505
|
+
export type InputTuple = [
|
|
506
|
+
previousMaintainer: AddressLike,
|
|
507
|
+
newMaintainer: AddressLike
|
|
508
|
+
];
|
|
509
|
+
export type OutputTuple = [previousMaintainer: string, newMaintainer: string];
|
|
510
|
+
export interface OutputObject {
|
|
511
|
+
previousMaintainer: string;
|
|
512
|
+
newMaintainer: string;
|
|
513
|
+
}
|
|
514
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
515
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
516
|
+
export type Log = TypedEventLog<Event>;
|
|
517
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
566
518
|
}
|
|
567
|
-
export type SetBrokerTiersEvent = TypedEvent<
|
|
568
|
-
[BigNumber[], number[]],
|
|
569
|
-
SetBrokerTiersEventObject
|
|
570
|
-
>;
|
|
571
|
-
|
|
572
|
-
export type SetBrokerTiersEventFilter = TypedEventFilter<SetBrokerTiersEvent>;
|
|
573
519
|
|
|
574
|
-
export
|
|
575
|
-
|
|
576
|
-
|
|
520
|
+
export namespace PausedEvent {
|
|
521
|
+
export type InputTuple = [account: AddressLike];
|
|
522
|
+
export type OutputTuple = [account: string];
|
|
523
|
+
export interface OutputObject {
|
|
524
|
+
account: string;
|
|
525
|
+
}
|
|
526
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
527
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
528
|
+
export type Log = TypedEventLog<Event>;
|
|
529
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
577
530
|
}
|
|
578
|
-
export type SetBrokerVolumeTiersEvent = TypedEvent<
|
|
579
|
-
[BigNumber[], number[]],
|
|
580
|
-
SetBrokerVolumeTiersEventObject
|
|
581
|
-
>;
|
|
582
|
-
|
|
583
|
-
export type SetBrokerVolumeTiersEventFilter =
|
|
584
|
-
TypedEventFilter<SetBrokerVolumeTiersEvent>;
|
|
585
531
|
|
|
586
|
-
export
|
|
587
|
-
|
|
532
|
+
export namespace PerpetualCreatedEvent {
|
|
533
|
+
export type InputTuple = [
|
|
534
|
+
poolId: BigNumberish,
|
|
535
|
+
id: BigNumberish,
|
|
536
|
+
baseParams: BigNumberish[],
|
|
537
|
+
underlyingRiskParams: [
|
|
538
|
+
BigNumberish,
|
|
539
|
+
BigNumberish,
|
|
540
|
+
BigNumberish,
|
|
541
|
+
BigNumberish,
|
|
542
|
+
BigNumberish
|
|
543
|
+
],
|
|
544
|
+
defaultFundRiskParams: BigNumberish[],
|
|
545
|
+
eCollateralCurrency: BigNumberish
|
|
546
|
+
];
|
|
547
|
+
export type OutputTuple = [
|
|
548
|
+
poolId: bigint,
|
|
549
|
+
id: bigint,
|
|
550
|
+
baseParams: bigint[],
|
|
551
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint],
|
|
552
|
+
defaultFundRiskParams: bigint[],
|
|
553
|
+
eCollateralCurrency: bigint
|
|
554
|
+
];
|
|
555
|
+
export interface OutputObject {
|
|
556
|
+
poolId: bigint;
|
|
557
|
+
id: bigint;
|
|
558
|
+
baseParams: bigint[];
|
|
559
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint];
|
|
560
|
+
defaultFundRiskParams: bigint[];
|
|
561
|
+
eCollateralCurrency: bigint;
|
|
562
|
+
}
|
|
563
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
564
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
565
|
+
export type Log = TypedEventLog<Event>;
|
|
566
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
588
567
|
}
|
|
589
|
-
export type SetClearedStateEvent = TypedEvent<
|
|
590
|
-
[number],
|
|
591
|
-
SetClearedStateEventObject
|
|
592
|
-
>;
|
|
593
568
|
|
|
594
|
-
export
|
|
595
|
-
|
|
596
|
-
export
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
>;
|
|
604
|
-
|
|
605
|
-
export type SetDelegateEventFilter = TypedEventFilter<SetDelegateEvent>;
|
|
606
|
-
|
|
607
|
-
export interface SetEmergencyStateEventObject {
|
|
608
|
-
perpetualId: number;
|
|
609
|
-
fSettlementMarkPremiumRate: BigNumber;
|
|
610
|
-
fSettlementS2Price: BigNumber;
|
|
611
|
-
fSettlementS3Price: BigNumber;
|
|
569
|
+
export namespace PerpetualLimitOrderCancelledEvent {
|
|
570
|
+
export type InputTuple = [perpetualId: BigNumberish, orderHash: BytesLike];
|
|
571
|
+
export type OutputTuple = [perpetualId: bigint, orderHash: string];
|
|
572
|
+
export interface OutputObject {
|
|
573
|
+
perpetualId: bigint;
|
|
574
|
+
orderHash: string;
|
|
575
|
+
}
|
|
576
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
577
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
578
|
+
export type Log = TypedEventLog<Event>;
|
|
579
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
612
580
|
}
|
|
613
|
-
export type SetEmergencyStateEvent = TypedEvent<
|
|
614
|
-
[number, BigNumber, BigNumber, BigNumber],
|
|
615
|
-
SetEmergencyStateEventObject
|
|
616
|
-
>;
|
|
617
|
-
|
|
618
|
-
export type SetEmergencyStateEventFilter =
|
|
619
|
-
TypedEventFilter<SetEmergencyStateEvent>;
|
|
620
581
|
|
|
621
|
-
export
|
|
622
|
-
|
|
582
|
+
export namespace ProxyOwnershipTransferredEvent {
|
|
583
|
+
export type InputTuple = [_oldOwner: AddressLike, _newOwner: AddressLike];
|
|
584
|
+
export type OutputTuple = [_oldOwner: string, _newOwner: string];
|
|
585
|
+
export interface OutputObject {
|
|
586
|
+
_oldOwner: string;
|
|
587
|
+
_newOwner: string;
|
|
588
|
+
}
|
|
589
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
590
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
591
|
+
export type Log = TypedEventLog<Event>;
|
|
592
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
623
593
|
}
|
|
624
|
-
export type SetNormalStateEvent = TypedEvent<
|
|
625
|
-
[number],
|
|
626
|
-
SetNormalStateEventObject
|
|
627
|
-
>;
|
|
628
594
|
|
|
629
|
-
export
|
|
630
|
-
|
|
631
|
-
export
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
595
|
+
export namespace RunLiquidityPoolEvent {
|
|
596
|
+
export type InputTuple = [_liqPoolID: BigNumberish];
|
|
597
|
+
export type OutputTuple = [_liqPoolID: bigint];
|
|
598
|
+
export interface OutputObject {
|
|
599
|
+
_liqPoolID: bigint;
|
|
600
|
+
}
|
|
601
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
602
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
603
|
+
export type Log = TypedEventLog<Event>;
|
|
604
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
635
605
|
}
|
|
636
|
-
export type SetOraclesEvent = TypedEvent<
|
|
637
|
-
[number, [string, string], [string, string]],
|
|
638
|
-
SetOraclesEventObject
|
|
639
|
-
>;
|
|
640
|
-
|
|
641
|
-
export type SetOraclesEventFilter = TypedEventFilter<SetOraclesEvent>;
|
|
642
606
|
|
|
643
|
-
export
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
>;
|
|
652
|
-
|
|
653
|
-
export type SetParameterEventFilter = TypedEventFilter<SetParameterEvent>;
|
|
654
|
-
|
|
655
|
-
export interface SetParameterPairEventObject {
|
|
656
|
-
perpetualId: number;
|
|
657
|
-
name: string;
|
|
658
|
-
value1: BigNumber;
|
|
659
|
-
value2: BigNumber;
|
|
607
|
+
export namespace SetBlockDelayEvent {
|
|
608
|
+
export type InputTuple = [delay: BigNumberish];
|
|
609
|
+
export type OutputTuple = [delay: bigint];
|
|
610
|
+
export interface OutputObject {
|
|
611
|
+
delay: bigint;
|
|
612
|
+
}
|
|
613
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
614
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
615
|
+
export type Log = TypedEventLog<Event>;
|
|
616
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
660
617
|
}
|
|
661
|
-
export type SetParameterPairEvent = TypedEvent<
|
|
662
|
-
[number, string, BigNumber, BigNumber],
|
|
663
|
-
SetParameterPairEventObject
|
|
664
|
-
>;
|
|
665
618
|
|
|
666
|
-
export
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
export interface
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
}
|
|
673
|
-
export type
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
>;
|
|
677
|
-
|
|
678
|
-
export type SetPerpetualBaseParametersEventFilter =
|
|
679
|
-
TypedEventFilter<SetPerpetualBaseParametersEvent>;
|
|
680
|
-
|
|
681
|
-
export interface SetPerpetualRiskParametersEventObject {
|
|
682
|
-
perpetualId: number;
|
|
683
|
-
underlyingRiskParams: [BigNumber, BigNumber, BigNumber, BigNumber, BigNumber];
|
|
684
|
-
defaultFundRiskParams: BigNumber[];
|
|
619
|
+
export namespace SetBrokerDesignationsEvent {
|
|
620
|
+
export type InputTuple = [designations: BigNumberish[], fees: BigNumberish[]];
|
|
621
|
+
export type OutputTuple = [designations: bigint[], fees: bigint[]];
|
|
622
|
+
export interface OutputObject {
|
|
623
|
+
designations: bigint[];
|
|
624
|
+
fees: bigint[];
|
|
625
|
+
}
|
|
626
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
627
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
628
|
+
export type Log = TypedEventLog<Event>;
|
|
629
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
685
630
|
}
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
export type
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
export interface SetPoolParameterEventObject {
|
|
699
|
-
poolId: number;
|
|
700
|
-
name: string;
|
|
701
|
-
value: BigNumber;
|
|
631
|
+
|
|
632
|
+
export namespace SetBrokerTiersEvent {
|
|
633
|
+
export type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
634
|
+
export type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
635
|
+
export interface OutputObject {
|
|
636
|
+
tiers: bigint[];
|
|
637
|
+
feesTbps: bigint[];
|
|
638
|
+
}
|
|
639
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
640
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
641
|
+
export type Log = TypedEventLog<Event>;
|
|
642
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
702
643
|
}
|
|
703
|
-
export type SetPoolParameterEvent = TypedEvent<
|
|
704
|
-
[number, string, BigNumber],
|
|
705
|
-
SetPoolParameterEventObject
|
|
706
|
-
>;
|
|
707
644
|
|
|
708
|
-
export
|
|
709
|
-
|
|
645
|
+
export namespace SetBrokerVolumeTiersEvent {
|
|
646
|
+
export type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
647
|
+
export type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
648
|
+
export interface OutputObject {
|
|
649
|
+
tiers: bigint[];
|
|
650
|
+
feesTbps: bigint[];
|
|
651
|
+
}
|
|
652
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
653
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
654
|
+
export type Log = TypedEventLog<Event>;
|
|
655
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
656
|
+
}
|
|
710
657
|
|
|
711
|
-
export
|
|
712
|
-
|
|
713
|
-
|
|
658
|
+
export namespace SetClearedStateEvent {
|
|
659
|
+
export type InputTuple = [perpetualId: BigNumberish];
|
|
660
|
+
export type OutputTuple = [perpetualId: bigint];
|
|
661
|
+
export interface OutputObject {
|
|
662
|
+
perpetualId: bigint;
|
|
663
|
+
}
|
|
664
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
665
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
666
|
+
export type Log = TypedEventLog<Event>;
|
|
667
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
714
668
|
}
|
|
715
|
-
export type SetTraderTiersEvent = TypedEvent<
|
|
716
|
-
[BigNumber[], number[]],
|
|
717
|
-
SetTraderTiersEventObject
|
|
718
|
-
>;
|
|
719
669
|
|
|
720
|
-
export
|
|
670
|
+
export namespace SetDelegateEvent {
|
|
671
|
+
export type InputTuple = [trader: AddressLike, delegate: AddressLike];
|
|
672
|
+
export type OutputTuple = [trader: string, delegate: string];
|
|
673
|
+
export interface OutputObject {
|
|
674
|
+
trader: string;
|
|
675
|
+
delegate: string;
|
|
676
|
+
}
|
|
677
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
678
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
679
|
+
export type Log = TypedEventLog<Event>;
|
|
680
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
681
|
+
}
|
|
721
682
|
|
|
722
|
-
export
|
|
723
|
-
|
|
724
|
-
|
|
683
|
+
export namespace SetEmergencyStateEvent {
|
|
684
|
+
export type InputTuple = [
|
|
685
|
+
perpetualId: BigNumberish,
|
|
686
|
+
fSettlementMarkPremiumRate: BigNumberish,
|
|
687
|
+
fSettlementS2Price: BigNumberish,
|
|
688
|
+
fSettlementS3Price: BigNumberish
|
|
689
|
+
];
|
|
690
|
+
export type OutputTuple = [
|
|
691
|
+
perpetualId: bigint,
|
|
692
|
+
fSettlementMarkPremiumRate: bigint,
|
|
693
|
+
fSettlementS2Price: bigint,
|
|
694
|
+
fSettlementS3Price: bigint
|
|
695
|
+
];
|
|
696
|
+
export interface OutputObject {
|
|
697
|
+
perpetualId: bigint;
|
|
698
|
+
fSettlementMarkPremiumRate: bigint;
|
|
699
|
+
fSettlementS2Price: bigint;
|
|
700
|
+
fSettlementS3Price: bigint;
|
|
701
|
+
}
|
|
702
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
703
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
704
|
+
export type Log = TypedEventLog<Event>;
|
|
705
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
725
706
|
}
|
|
726
|
-
export type SetTraderVolumeTiersEvent = TypedEvent<
|
|
727
|
-
[BigNumber[], number[]],
|
|
728
|
-
SetTraderVolumeTiersEventObject
|
|
729
|
-
>;
|
|
730
707
|
|
|
731
|
-
export
|
|
732
|
-
|
|
708
|
+
export namespace SetNormalStateEvent {
|
|
709
|
+
export type InputTuple = [perpetualId: BigNumberish];
|
|
710
|
+
export type OutputTuple = [perpetualId: bigint];
|
|
711
|
+
export interface OutputObject {
|
|
712
|
+
perpetualId: bigint;
|
|
713
|
+
}
|
|
714
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
715
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
716
|
+
export type Log = TypedEventLog<Event>;
|
|
717
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
718
|
+
}
|
|
733
719
|
|
|
734
|
-
export
|
|
735
|
-
|
|
720
|
+
export namespace SetOraclesEvent {
|
|
721
|
+
export type InputTuple = [
|
|
722
|
+
perpetualId: BigNumberish,
|
|
723
|
+
baseQuoteS2: [BytesLike, BytesLike],
|
|
724
|
+
baseQuoteS3: [BytesLike, BytesLike]
|
|
725
|
+
];
|
|
726
|
+
export type OutputTuple = [
|
|
727
|
+
perpetualId: bigint,
|
|
728
|
+
baseQuoteS2: [string, string],
|
|
729
|
+
baseQuoteS3: [string, string]
|
|
730
|
+
];
|
|
731
|
+
export interface OutputObject {
|
|
732
|
+
perpetualId: bigint;
|
|
733
|
+
baseQuoteS2: [string, string];
|
|
734
|
+
baseQuoteS3: [string, string];
|
|
735
|
+
}
|
|
736
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
737
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
738
|
+
export type Log = TypedEventLog<Event>;
|
|
739
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
736
740
|
}
|
|
737
|
-
export type SetUtilityTokenEvent = TypedEvent<
|
|
738
|
-
[string],
|
|
739
|
-
SetUtilityTokenEventObject
|
|
740
|
-
>;
|
|
741
741
|
|
|
742
|
-
export
|
|
742
|
+
export namespace SetParameterEvent {
|
|
743
|
+
export type InputTuple = [
|
|
744
|
+
perpetualId: BigNumberish,
|
|
745
|
+
name: string,
|
|
746
|
+
value: BigNumberish
|
|
747
|
+
];
|
|
748
|
+
export type OutputTuple = [perpetualId: bigint, name: string, value: bigint];
|
|
749
|
+
export interface OutputObject {
|
|
750
|
+
perpetualId: bigint;
|
|
751
|
+
name: string;
|
|
752
|
+
value: bigint;
|
|
753
|
+
}
|
|
754
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
755
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
756
|
+
export type Log = TypedEventLog<Event>;
|
|
757
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
758
|
+
}
|
|
743
759
|
|
|
744
|
-
export
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
760
|
+
export namespace SetParameterPairEvent {
|
|
761
|
+
export type InputTuple = [
|
|
762
|
+
perpetualId: BigNumberish,
|
|
763
|
+
name: string,
|
|
764
|
+
value1: BigNumberish,
|
|
765
|
+
value2: BigNumberish
|
|
766
|
+
];
|
|
767
|
+
export type OutputTuple = [
|
|
768
|
+
perpetualId: bigint,
|
|
769
|
+
name: string,
|
|
770
|
+
value1: bigint,
|
|
771
|
+
value2: bigint
|
|
772
|
+
];
|
|
773
|
+
export interface OutputObject {
|
|
774
|
+
perpetualId: bigint;
|
|
775
|
+
name: string;
|
|
776
|
+
value1: bigint;
|
|
777
|
+
value2: bigint;
|
|
778
|
+
}
|
|
779
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
780
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
781
|
+
export type Log = TypedEventLog<Event>;
|
|
782
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
748
783
|
}
|
|
749
|
-
export type SettleEvent = TypedEvent<
|
|
750
|
-
[number, string, BigNumber],
|
|
751
|
-
SettleEventObject
|
|
752
|
-
>;
|
|
753
784
|
|
|
754
|
-
export
|
|
785
|
+
export namespace SetPerpetualBaseParametersEvent {
|
|
786
|
+
export type InputTuple = [
|
|
787
|
+
perpetualId: BigNumberish,
|
|
788
|
+
baseParams: BigNumberish[]
|
|
789
|
+
];
|
|
790
|
+
export type OutputTuple = [perpetualId: bigint, baseParams: bigint[]];
|
|
791
|
+
export interface OutputObject {
|
|
792
|
+
perpetualId: bigint;
|
|
793
|
+
baseParams: bigint[];
|
|
794
|
+
}
|
|
795
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
796
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
797
|
+
export type Log = TypedEventLog<Event>;
|
|
798
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
799
|
+
}
|
|
755
800
|
|
|
756
|
-
export
|
|
757
|
-
|
|
801
|
+
export namespace SetPerpetualRiskParametersEvent {
|
|
802
|
+
export type InputTuple = [
|
|
803
|
+
perpetualId: BigNumberish,
|
|
804
|
+
underlyingRiskParams: [
|
|
805
|
+
BigNumberish,
|
|
806
|
+
BigNumberish,
|
|
807
|
+
BigNumberish,
|
|
808
|
+
BigNumberish,
|
|
809
|
+
BigNumberish
|
|
810
|
+
],
|
|
811
|
+
defaultFundRiskParams: BigNumberish[]
|
|
812
|
+
];
|
|
813
|
+
export type OutputTuple = [
|
|
814
|
+
perpetualId: bigint,
|
|
815
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint],
|
|
816
|
+
defaultFundRiskParams: bigint[]
|
|
817
|
+
];
|
|
818
|
+
export interface OutputObject {
|
|
819
|
+
perpetualId: bigint;
|
|
820
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint];
|
|
821
|
+
defaultFundRiskParams: bigint[];
|
|
822
|
+
}
|
|
823
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
824
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
825
|
+
export type Log = TypedEventLog<Event>;
|
|
826
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
758
827
|
}
|
|
759
|
-
export type SettleStateEvent = TypedEvent<[number], SettleStateEventObject>;
|
|
760
828
|
|
|
761
|
-
export
|
|
829
|
+
export namespace SetPoolParameterEvent {
|
|
830
|
+
export type InputTuple = [
|
|
831
|
+
poolId: BigNumberish,
|
|
832
|
+
name: string,
|
|
833
|
+
value: BigNumberish
|
|
834
|
+
];
|
|
835
|
+
export type OutputTuple = [poolId: bigint, name: string, value: bigint];
|
|
836
|
+
export interface OutputObject {
|
|
837
|
+
poolId: bigint;
|
|
838
|
+
name: string;
|
|
839
|
+
value: bigint;
|
|
840
|
+
}
|
|
841
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
842
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
843
|
+
export type Log = TypedEventLog<Event>;
|
|
844
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
845
|
+
}
|
|
762
846
|
|
|
763
|
-
export
|
|
764
|
-
|
|
847
|
+
export namespace SetTraderTiersEvent {
|
|
848
|
+
export type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
849
|
+
export type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
850
|
+
export interface OutputObject {
|
|
851
|
+
tiers: bigint[];
|
|
852
|
+
feesTbps: bigint[];
|
|
853
|
+
}
|
|
854
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
855
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
856
|
+
export type Log = TypedEventLog<Event>;
|
|
857
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
765
858
|
}
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
export
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
859
|
+
|
|
860
|
+
export namespace SetTraderVolumeTiersEvent {
|
|
861
|
+
export type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
862
|
+
export type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
863
|
+
export interface OutputObject {
|
|
864
|
+
tiers: bigint[];
|
|
865
|
+
feesTbps: bigint[];
|
|
866
|
+
}
|
|
867
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
868
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
869
|
+
export type Log = TypedEventLog<Event>;
|
|
870
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
778
871
|
}
|
|
779
|
-
export type TokensDepositedEvent = TypedEvent<
|
|
780
|
-
[number, string, BigNumber],
|
|
781
|
-
TokensDepositedEventObject
|
|
782
|
-
>;
|
|
783
872
|
|
|
784
|
-
export
|
|
873
|
+
export namespace SetUtilityTokenEvent {
|
|
874
|
+
export type InputTuple = [tokenAddr: AddressLike];
|
|
875
|
+
export type OutputTuple = [tokenAddr: string];
|
|
876
|
+
export interface OutputObject {
|
|
877
|
+
tokenAddr: string;
|
|
878
|
+
}
|
|
879
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
880
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
881
|
+
export type Log = TypedEventLog<Event>;
|
|
882
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
883
|
+
}
|
|
785
884
|
|
|
786
|
-
export
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
885
|
+
export namespace SettleEvent {
|
|
886
|
+
export type InputTuple = [
|
|
887
|
+
perpetualId: BigNumberish,
|
|
888
|
+
trader: AddressLike,
|
|
889
|
+
amount: BigNumberish
|
|
890
|
+
];
|
|
891
|
+
export type OutputTuple = [
|
|
892
|
+
perpetualId: bigint,
|
|
893
|
+
trader: string,
|
|
894
|
+
amount: bigint
|
|
895
|
+
];
|
|
896
|
+
export interface OutputObject {
|
|
897
|
+
perpetualId: bigint;
|
|
898
|
+
trader: string;
|
|
899
|
+
amount: bigint;
|
|
900
|
+
}
|
|
901
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
902
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
903
|
+
export type Log = TypedEventLog<Event>;
|
|
904
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
790
905
|
}
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
export
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
orderDigest: string;
|
|
803
|
-
newPositionSizeBC: BigNumber;
|
|
804
|
-
price: BigNumber;
|
|
805
|
-
fFeeCC: BigNumber;
|
|
806
|
-
fPnlCC: BigNumber;
|
|
807
|
-
fB2C: BigNumber;
|
|
906
|
+
|
|
907
|
+
export namespace SettleStateEvent {
|
|
908
|
+
export type InputTuple = [perpetualId: BigNumberish];
|
|
909
|
+
export type OutputTuple = [perpetualId: bigint];
|
|
910
|
+
export interface OutputObject {
|
|
911
|
+
perpetualId: bigint;
|
|
912
|
+
}
|
|
913
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
914
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
915
|
+
export type Log = TypedEventLog<Event>;
|
|
916
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
808
917
|
}
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
],
|
|
821
|
-
TradeEventObject
|
|
822
|
-
>;
|
|
823
|
-
|
|
824
|
-
export type TradeEventFilter = TypedEventFilter<TradeEvent>;
|
|
825
|
-
|
|
826
|
-
export interface TransferAddressToEventObject {
|
|
827
|
-
name: string;
|
|
828
|
-
oldOBFactory: string;
|
|
829
|
-
newOBFactory: string;
|
|
918
|
+
|
|
919
|
+
export namespace SettlementCompleteEvent {
|
|
920
|
+
export type InputTuple = [perpetualId: BigNumberish];
|
|
921
|
+
export type OutputTuple = [perpetualId: bigint];
|
|
922
|
+
export interface OutputObject {
|
|
923
|
+
perpetualId: bigint;
|
|
924
|
+
}
|
|
925
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
926
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
927
|
+
export type Log = TypedEventLog<Event>;
|
|
928
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
830
929
|
}
|
|
831
|
-
export type TransferAddressToEvent = TypedEvent<
|
|
832
|
-
[string, string, string],
|
|
833
|
-
TransferAddressToEventObject
|
|
834
|
-
>;
|
|
835
930
|
|
|
836
|
-
export
|
|
837
|
-
|
|
931
|
+
export namespace TokensDepositedEvent {
|
|
932
|
+
export type InputTuple = [
|
|
933
|
+
perpetualId: BigNumberish,
|
|
934
|
+
trader: AddressLike,
|
|
935
|
+
amount: BigNumberish
|
|
936
|
+
];
|
|
937
|
+
export type OutputTuple = [
|
|
938
|
+
perpetualId: bigint,
|
|
939
|
+
trader: string,
|
|
940
|
+
amount: bigint
|
|
941
|
+
];
|
|
942
|
+
export interface OutputObject {
|
|
943
|
+
perpetualId: bigint;
|
|
944
|
+
trader: string;
|
|
945
|
+
amount: bigint;
|
|
946
|
+
}
|
|
947
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
948
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
949
|
+
export type Log = TypedEventLog<Event>;
|
|
950
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
951
|
+
}
|
|
838
952
|
|
|
839
|
-
export
|
|
840
|
-
|
|
953
|
+
export namespace TokensWithdrawnEvent {
|
|
954
|
+
export type InputTuple = [
|
|
955
|
+
perpetualId: BigNumberish,
|
|
956
|
+
trader: AddressLike,
|
|
957
|
+
amount: BigNumberish
|
|
958
|
+
];
|
|
959
|
+
export type OutputTuple = [
|
|
960
|
+
perpetualId: bigint,
|
|
961
|
+
trader: string,
|
|
962
|
+
amount: bigint
|
|
963
|
+
];
|
|
964
|
+
export interface OutputObject {
|
|
965
|
+
perpetualId: bigint;
|
|
966
|
+
trader: string;
|
|
967
|
+
amount: bigint;
|
|
968
|
+
}
|
|
969
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
970
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
971
|
+
export type Log = TypedEventLog<Event>;
|
|
972
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
841
973
|
}
|
|
842
|
-
export type UnpausedEvent = TypedEvent<[string], UnpausedEventObject>;
|
|
843
974
|
|
|
844
|
-
export
|
|
975
|
+
export namespace TradeEvent {
|
|
976
|
+
export type InputTuple = [
|
|
977
|
+
perpetualId: BigNumberish,
|
|
978
|
+
trader: AddressLike,
|
|
979
|
+
order: IPerpetualOrder.OrderStruct,
|
|
980
|
+
orderDigest: BytesLike,
|
|
981
|
+
newPositionSizeBC: BigNumberish,
|
|
982
|
+
price: BigNumberish,
|
|
983
|
+
fFeeCC: BigNumberish,
|
|
984
|
+
fPnlCC: BigNumberish,
|
|
985
|
+
fB2C: BigNumberish
|
|
986
|
+
];
|
|
987
|
+
export type OutputTuple = [
|
|
988
|
+
perpetualId: bigint,
|
|
989
|
+
trader: string,
|
|
990
|
+
order: IPerpetualOrder.OrderStructOutput,
|
|
991
|
+
orderDigest: string,
|
|
992
|
+
newPositionSizeBC: bigint,
|
|
993
|
+
price: bigint,
|
|
994
|
+
fFeeCC: bigint,
|
|
995
|
+
fPnlCC: bigint,
|
|
996
|
+
fB2C: bigint
|
|
997
|
+
];
|
|
998
|
+
export interface OutputObject {
|
|
999
|
+
perpetualId: bigint;
|
|
1000
|
+
trader: string;
|
|
1001
|
+
order: IPerpetualOrder.OrderStructOutput;
|
|
1002
|
+
orderDigest: string;
|
|
1003
|
+
newPositionSizeBC: bigint;
|
|
1004
|
+
price: bigint;
|
|
1005
|
+
fFeeCC: bigint;
|
|
1006
|
+
fPnlCC: bigint;
|
|
1007
|
+
fB2C: bigint;
|
|
1008
|
+
}
|
|
1009
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1010
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
1011
|
+
export type Log = TypedEventLog<Event>;
|
|
1012
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
1013
|
+
}
|
|
845
1014
|
|
|
846
|
-
export
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
1015
|
+
export namespace TransferAddressToEvent {
|
|
1016
|
+
export type InputTuple = [
|
|
1017
|
+
name: string,
|
|
1018
|
+
oldOBFactory: AddressLike,
|
|
1019
|
+
newOBFactory: AddressLike
|
|
1020
|
+
];
|
|
1021
|
+
export type OutputTuple = [
|
|
1022
|
+
name: string,
|
|
1023
|
+
oldOBFactory: string,
|
|
1024
|
+
newOBFactory: string
|
|
1025
|
+
];
|
|
1026
|
+
export interface OutputObject {
|
|
1027
|
+
name: string;
|
|
1028
|
+
oldOBFactory: string;
|
|
1029
|
+
newOBFactory: string;
|
|
1030
|
+
}
|
|
1031
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1032
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
1033
|
+
export type Log = TypedEventLog<Event>;
|
|
1034
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
850
1035
|
}
|
|
851
|
-
export type UpdateBrokerAddedCashEvent = TypedEvent<
|
|
852
|
-
[number, number, number],
|
|
853
|
-
UpdateBrokerAddedCashEventObject
|
|
854
|
-
>;
|
|
855
1036
|
|
|
856
|
-
export
|
|
857
|
-
|
|
1037
|
+
export namespace UnpausedEvent {
|
|
1038
|
+
export type InputTuple = [account: AddressLike];
|
|
1039
|
+
export type OutputTuple = [account: string];
|
|
1040
|
+
export interface OutputObject {
|
|
1041
|
+
account: string;
|
|
1042
|
+
}
|
|
1043
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1044
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
1045
|
+
export type Log = TypedEventLog<Event>;
|
|
1046
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
1047
|
+
}
|
|
858
1048
|
|
|
859
|
-
export
|
|
860
|
-
|
|
861
|
-
|
|
1049
|
+
export namespace UpdateBrokerAddedCashEvent {
|
|
1050
|
+
export type InputTuple = [
|
|
1051
|
+
poolId: BigNumberish,
|
|
1052
|
+
iLots: BigNumberish,
|
|
1053
|
+
iNewBrokerLots: BigNumberish
|
|
1054
|
+
];
|
|
1055
|
+
export type OutputTuple = [
|
|
1056
|
+
poolId: bigint,
|
|
1057
|
+
iLots: bigint,
|
|
1058
|
+
iNewBrokerLots: bigint
|
|
1059
|
+
];
|
|
1060
|
+
export interface OutputObject {
|
|
1061
|
+
poolId: bigint;
|
|
1062
|
+
iLots: bigint;
|
|
1063
|
+
iNewBrokerLots: bigint;
|
|
1064
|
+
}
|
|
1065
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1066
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
1067
|
+
export type Log = TypedEventLog<Event>;
|
|
1068
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
862
1069
|
}
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
1070
|
+
|
|
1071
|
+
export namespace UpdateFundingRateEvent {
|
|
1072
|
+
export type InputTuple = [
|
|
1073
|
+
perpetualId: BigNumberish,
|
|
1074
|
+
fFundingRate: BigNumberish
|
|
1075
|
+
];
|
|
1076
|
+
export type OutputTuple = [perpetualId: bigint, fFundingRate: bigint];
|
|
1077
|
+
export interface OutputObject {
|
|
1078
|
+
perpetualId: bigint;
|
|
1079
|
+
fFundingRate: bigint;
|
|
1080
|
+
}
|
|
1081
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1082
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
1083
|
+
export type Log = TypedEventLog<Event>;
|
|
1084
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
875
1085
|
}
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
1086
|
+
|
|
1087
|
+
export namespace UpdateMarginAccountEvent {
|
|
1088
|
+
export type InputTuple = [
|
|
1089
|
+
perpetualId: BigNumberish,
|
|
1090
|
+
trader: AddressLike,
|
|
1091
|
+
fFundingPaymentCC: BigNumberish
|
|
1092
|
+
];
|
|
1093
|
+
export type OutputTuple = [
|
|
1094
|
+
perpetualId: bigint,
|
|
1095
|
+
trader: string,
|
|
1096
|
+
fFundingPaymentCC: bigint
|
|
1097
|
+
];
|
|
1098
|
+
export interface OutputObject {
|
|
1099
|
+
perpetualId: bigint;
|
|
1100
|
+
trader: string;
|
|
1101
|
+
fFundingPaymentCC: bigint;
|
|
1102
|
+
}
|
|
1103
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1104
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
1105
|
+
export type Log = TypedEventLog<Event>;
|
|
1106
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
889
1107
|
}
|
|
890
|
-
export type UpdateMarkPriceEvent = TypedEvent<
|
|
891
|
-
[number, BigNumber, BigNumber, BigNumber],
|
|
892
|
-
UpdateMarkPriceEventObject
|
|
893
|
-
>;
|
|
894
1108
|
|
|
895
|
-
export
|
|
1109
|
+
export namespace UpdateMarkPriceEvent {
|
|
1110
|
+
export type InputTuple = [
|
|
1111
|
+
perpetualId: BigNumberish,
|
|
1112
|
+
fMidPricePremium: BigNumberish,
|
|
1113
|
+
fMarkPricePremium: BigNumberish,
|
|
1114
|
+
fSpotIndexPrice: BigNumberish
|
|
1115
|
+
];
|
|
1116
|
+
export type OutputTuple = [
|
|
1117
|
+
perpetualId: bigint,
|
|
1118
|
+
fMidPricePremium: bigint,
|
|
1119
|
+
fMarkPricePremium: bigint,
|
|
1120
|
+
fSpotIndexPrice: bigint
|
|
1121
|
+
];
|
|
1122
|
+
export interface OutputObject {
|
|
1123
|
+
perpetualId: bigint;
|
|
1124
|
+
fMidPricePremium: bigint;
|
|
1125
|
+
fMarkPricePremium: bigint;
|
|
1126
|
+
fSpotIndexPrice: bigint;
|
|
1127
|
+
}
|
|
1128
|
+
export type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
1129
|
+
export type Filter = TypedDeferredTopicFilter<Event>;
|
|
1130
|
+
export type Log = TypedEventLog<Event>;
|
|
1131
|
+
export type LogDescription = TypedLogDescription<Event>;
|
|
1132
|
+
}
|
|
896
1133
|
|
|
897
1134
|
export interface PerpetualManagerProxy extends BaseContract {
|
|
898
|
-
connect(
|
|
899
|
-
|
|
900
|
-
deployed(): Promise<this>;
|
|
1135
|
+
connect(runner?: ContractRunner | null): PerpetualManagerProxy;
|
|
1136
|
+
waitForDeployment(): Promise<this>;
|
|
901
1137
|
|
|
902
1138
|
interface: PerpetualManagerProxyInterface;
|
|
903
1139
|
|
|
904
|
-
queryFilter<
|
|
905
|
-
event:
|
|
1140
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
1141
|
+
event: TCEvent,
|
|
906
1142
|
fromBlockOrBlockhash?: string | number | undefined,
|
|
907
1143
|
toBlock?: string | number | undefined
|
|
908
|
-
): Promise<Array<
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
on
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
pause(
|
|
995
|
-
overrides?: Overrides & { from?: string }
|
|
996
|
-
): Promise<ContractTransaction>;
|
|
997
|
-
|
|
998
|
-
paused(overrides?: CallOverrides): Promise<boolean>;
|
|
999
|
-
|
|
1000
|
-
setImplementation(
|
|
1001
|
-
_impl: string,
|
|
1002
|
-
overrides?: Overrides & { from?: string }
|
|
1003
|
-
): Promise<ContractTransaction>;
|
|
1004
|
-
|
|
1005
|
-
setImplementationCrossModules(
|
|
1006
|
-
_impl: string,
|
|
1007
|
-
overrides?: Overrides & { from?: string }
|
|
1008
|
-
): Promise<ContractTransaction>;
|
|
1009
|
-
|
|
1010
|
-
setProxyOwner(
|
|
1011
|
-
_owner: string,
|
|
1012
|
-
overrides?: Overrides & { from?: string }
|
|
1013
|
-
): Promise<ContractTransaction>;
|
|
1014
|
-
|
|
1015
|
-
transferGovernance(
|
|
1016
|
-
newGovernance: string,
|
|
1017
|
-
overrides?: Overrides & { from?: string }
|
|
1018
|
-
): Promise<ContractTransaction>;
|
|
1019
|
-
|
|
1020
|
-
transferMaintainer(
|
|
1021
|
-
newMaintainer: string,
|
|
1022
|
-
overrides?: Overrides & { from?: string }
|
|
1023
|
-
): Promise<ContractTransaction>;
|
|
1024
|
-
|
|
1025
|
-
unpause(
|
|
1026
|
-
overrides?: Overrides & { from?: string }
|
|
1027
|
-
): Promise<ContractTransaction>;
|
|
1028
|
-
|
|
1029
|
-
callStatic: {
|
|
1030
|
-
getImplementation(
|
|
1031
|
-
_sig: BytesLike,
|
|
1032
|
-
overrides?: CallOverrides
|
|
1033
|
-
): Promise<string>;
|
|
1034
|
-
|
|
1035
|
-
getModuleImplementationAddress(
|
|
1036
|
-
_moduleName: string,
|
|
1037
|
-
overrides?: CallOverrides
|
|
1038
|
-
): Promise<string>;
|
|
1039
|
-
|
|
1040
|
-
getProxyOwner(overrides?: CallOverrides): Promise<string>;
|
|
1041
|
-
|
|
1042
|
-
governance(overrides?: CallOverrides): Promise<string>;
|
|
1043
|
-
|
|
1044
|
-
maintainer(overrides?: CallOverrides): Promise<string>;
|
|
1045
|
-
|
|
1046
|
-
pause(overrides?: CallOverrides): Promise<void>;
|
|
1047
|
-
|
|
1048
|
-
paused(overrides?: CallOverrides): Promise<boolean>;
|
|
1049
|
-
|
|
1050
|
-
setImplementation(_impl: string, overrides?: CallOverrides): Promise<void>;
|
|
1051
|
-
|
|
1052
|
-
setImplementationCrossModules(
|
|
1053
|
-
_impl: string,
|
|
1054
|
-
overrides?: CallOverrides
|
|
1055
|
-
): Promise<void>;
|
|
1056
|
-
|
|
1057
|
-
setProxyOwner(_owner: string, overrides?: CallOverrides): Promise<void>;
|
|
1058
|
-
|
|
1059
|
-
transferGovernance(
|
|
1060
|
-
newGovernance: string,
|
|
1061
|
-
overrides?: CallOverrides
|
|
1062
|
-
): Promise<void>;
|
|
1144
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
1145
|
+
queryFilter<TCEvent extends TypedContractEvent>(
|
|
1146
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
1147
|
+
fromBlockOrBlockhash?: string | number | undefined,
|
|
1148
|
+
toBlock?: string | number | undefined
|
|
1149
|
+
): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
1150
|
+
|
|
1151
|
+
on<TCEvent extends TypedContractEvent>(
|
|
1152
|
+
event: TCEvent,
|
|
1153
|
+
listener: TypedListener<TCEvent>
|
|
1154
|
+
): Promise<this>;
|
|
1155
|
+
on<TCEvent extends TypedContractEvent>(
|
|
1156
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
1157
|
+
listener: TypedListener<TCEvent>
|
|
1158
|
+
): Promise<this>;
|
|
1159
|
+
|
|
1160
|
+
once<TCEvent extends TypedContractEvent>(
|
|
1161
|
+
event: TCEvent,
|
|
1162
|
+
listener: TypedListener<TCEvent>
|
|
1163
|
+
): Promise<this>;
|
|
1164
|
+
once<TCEvent extends TypedContractEvent>(
|
|
1165
|
+
filter: TypedDeferredTopicFilter<TCEvent>,
|
|
1166
|
+
listener: TypedListener<TCEvent>
|
|
1167
|
+
): Promise<this>;
|
|
1168
|
+
|
|
1169
|
+
listeners<TCEvent extends TypedContractEvent>(
|
|
1170
|
+
event: TCEvent
|
|
1171
|
+
): Promise<Array<TypedListener<TCEvent>>>;
|
|
1172
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
1173
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(
|
|
1174
|
+
event?: TCEvent
|
|
1175
|
+
): Promise<this>;
|
|
1176
|
+
|
|
1177
|
+
getImplementation: TypedContractMethod<[_sig: BytesLike], [string], "view">;
|
|
1178
|
+
|
|
1179
|
+
getModuleImplementationAddress: TypedContractMethod<
|
|
1180
|
+
[_moduleName: string],
|
|
1181
|
+
[string],
|
|
1182
|
+
"view"
|
|
1183
|
+
>;
|
|
1184
|
+
|
|
1185
|
+
getProxyOwner: TypedContractMethod<[], [string], "view">;
|
|
1186
|
+
|
|
1187
|
+
governance: TypedContractMethod<[], [string], "view">;
|
|
1188
|
+
|
|
1189
|
+
maintainer: TypedContractMethod<[], [string], "view">;
|
|
1190
|
+
|
|
1191
|
+
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
1192
|
+
|
|
1193
|
+
paused: TypedContractMethod<[], [boolean], "view">;
|
|
1194
|
+
|
|
1195
|
+
setImplementation: TypedContractMethod<
|
|
1196
|
+
[_impl: AddressLike],
|
|
1197
|
+
[void],
|
|
1198
|
+
"nonpayable"
|
|
1199
|
+
>;
|
|
1200
|
+
|
|
1201
|
+
setImplementationCrossModules: TypedContractMethod<
|
|
1202
|
+
[_impl: AddressLike],
|
|
1203
|
+
[void],
|
|
1204
|
+
"nonpayable"
|
|
1205
|
+
>;
|
|
1206
|
+
|
|
1207
|
+
setProxyOwner: TypedContractMethod<
|
|
1208
|
+
[_owner: AddressLike],
|
|
1209
|
+
[void],
|
|
1210
|
+
"nonpayable"
|
|
1211
|
+
>;
|
|
1212
|
+
|
|
1213
|
+
transferGovernance: TypedContractMethod<
|
|
1214
|
+
[newGovernance: AddressLike],
|
|
1215
|
+
[void],
|
|
1216
|
+
"nonpayable"
|
|
1217
|
+
>;
|
|
1218
|
+
|
|
1219
|
+
transferMaintainer: TypedContractMethod<
|
|
1220
|
+
[newMaintainer: AddressLike],
|
|
1221
|
+
[void],
|
|
1222
|
+
"nonpayable"
|
|
1223
|
+
>;
|
|
1224
|
+
|
|
1225
|
+
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
1226
|
+
|
|
1227
|
+
getFunction<T extends ContractMethod = ContractMethod>(
|
|
1228
|
+
key: string | FunctionFragment
|
|
1229
|
+
): T;
|
|
1063
1230
|
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1231
|
+
getFunction(
|
|
1232
|
+
nameOrSignature: "getImplementation"
|
|
1233
|
+
): TypedContractMethod<[_sig: BytesLike], [string], "view">;
|
|
1234
|
+
getFunction(
|
|
1235
|
+
nameOrSignature: "getModuleImplementationAddress"
|
|
1236
|
+
): TypedContractMethod<[_moduleName: string], [string], "view">;
|
|
1237
|
+
getFunction(
|
|
1238
|
+
nameOrSignature: "getProxyOwner"
|
|
1239
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1240
|
+
getFunction(
|
|
1241
|
+
nameOrSignature: "governance"
|
|
1242
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1243
|
+
getFunction(
|
|
1244
|
+
nameOrSignature: "maintainer"
|
|
1245
|
+
): TypedContractMethod<[], [string], "view">;
|
|
1246
|
+
getFunction(
|
|
1247
|
+
nameOrSignature: "pause"
|
|
1248
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
1249
|
+
getFunction(
|
|
1250
|
+
nameOrSignature: "paused"
|
|
1251
|
+
): TypedContractMethod<[], [boolean], "view">;
|
|
1252
|
+
getFunction(
|
|
1253
|
+
nameOrSignature: "setImplementation"
|
|
1254
|
+
): TypedContractMethod<[_impl: AddressLike], [void], "nonpayable">;
|
|
1255
|
+
getFunction(
|
|
1256
|
+
nameOrSignature: "setImplementationCrossModules"
|
|
1257
|
+
): TypedContractMethod<[_impl: AddressLike], [void], "nonpayable">;
|
|
1258
|
+
getFunction(
|
|
1259
|
+
nameOrSignature: "setProxyOwner"
|
|
1260
|
+
): TypedContractMethod<[_owner: AddressLike], [void], "nonpayable">;
|
|
1261
|
+
getFunction(
|
|
1262
|
+
nameOrSignature: "transferGovernance"
|
|
1263
|
+
): TypedContractMethod<[newGovernance: AddressLike], [void], "nonpayable">;
|
|
1264
|
+
getFunction(
|
|
1265
|
+
nameOrSignature: "transferMaintainer"
|
|
1266
|
+
): TypedContractMethod<[newMaintainer: AddressLike], [void], "nonpayable">;
|
|
1267
|
+
getFunction(
|
|
1268
|
+
nameOrSignature: "unpause"
|
|
1269
|
+
): TypedContractMethod<[], [void], "nonpayable">;
|
|
1068
1270
|
|
|
1069
|
-
|
|
1070
|
-
|
|
1271
|
+
getEvent(
|
|
1272
|
+
key: "BrokerLotsTransferred"
|
|
1273
|
+
): TypedContractEvent<
|
|
1274
|
+
BrokerLotsTransferredEvent.InputTuple,
|
|
1275
|
+
BrokerLotsTransferredEvent.OutputTuple,
|
|
1276
|
+
BrokerLotsTransferredEvent.OutputObject
|
|
1277
|
+
>;
|
|
1278
|
+
getEvent(
|
|
1279
|
+
key: "BrokerVolumeTransferred"
|
|
1280
|
+
): TypedContractEvent<
|
|
1281
|
+
BrokerVolumeTransferredEvent.InputTuple,
|
|
1282
|
+
BrokerVolumeTransferredEvent.OutputTuple,
|
|
1283
|
+
BrokerVolumeTransferredEvent.OutputObject
|
|
1284
|
+
>;
|
|
1285
|
+
getEvent(
|
|
1286
|
+
key: "Clear"
|
|
1287
|
+
): TypedContractEvent<
|
|
1288
|
+
ClearEvent.InputTuple,
|
|
1289
|
+
ClearEvent.OutputTuple,
|
|
1290
|
+
ClearEvent.OutputObject
|
|
1291
|
+
>;
|
|
1292
|
+
getEvent(
|
|
1293
|
+
key: "DistributeFees"
|
|
1294
|
+
): TypedContractEvent<
|
|
1295
|
+
DistributeFeesEvent.InputTuple,
|
|
1296
|
+
DistributeFeesEvent.OutputTuple,
|
|
1297
|
+
DistributeFeesEvent.OutputObject
|
|
1298
|
+
>;
|
|
1299
|
+
getEvent(
|
|
1300
|
+
key: "GovernanceTransferred"
|
|
1301
|
+
): TypedContractEvent<
|
|
1302
|
+
GovernanceTransferredEvent.InputTuple,
|
|
1303
|
+
GovernanceTransferredEvent.OutputTuple,
|
|
1304
|
+
GovernanceTransferredEvent.OutputObject
|
|
1305
|
+
>;
|
|
1306
|
+
getEvent(
|
|
1307
|
+
key: "ImplementationChanged"
|
|
1308
|
+
): TypedContractEvent<
|
|
1309
|
+
ImplementationChangedEvent.InputTuple,
|
|
1310
|
+
ImplementationChangedEvent.OutputTuple,
|
|
1311
|
+
ImplementationChangedEvent.OutputObject
|
|
1312
|
+
>;
|
|
1313
|
+
getEvent(
|
|
1314
|
+
key: "Liquidate"
|
|
1315
|
+
): TypedContractEvent<
|
|
1316
|
+
LiquidateEvent.InputTuple,
|
|
1317
|
+
LiquidateEvent.OutputTuple,
|
|
1318
|
+
LiquidateEvent.OutputObject
|
|
1319
|
+
>;
|
|
1320
|
+
getEvent(
|
|
1321
|
+
key: "LiquidityAdded"
|
|
1322
|
+
): TypedContractEvent<
|
|
1323
|
+
LiquidityAddedEvent.InputTuple,
|
|
1324
|
+
LiquidityAddedEvent.OutputTuple,
|
|
1325
|
+
LiquidityAddedEvent.OutputObject
|
|
1326
|
+
>;
|
|
1327
|
+
getEvent(
|
|
1328
|
+
key: "LiquidityPoolCreated"
|
|
1329
|
+
): TypedContractEvent<
|
|
1330
|
+
LiquidityPoolCreatedEvent.InputTuple,
|
|
1331
|
+
LiquidityPoolCreatedEvent.OutputTuple,
|
|
1332
|
+
LiquidityPoolCreatedEvent.OutputObject
|
|
1333
|
+
>;
|
|
1334
|
+
getEvent(
|
|
1335
|
+
key: "LiquidityProvisionPaused"
|
|
1336
|
+
): TypedContractEvent<
|
|
1337
|
+
LiquidityProvisionPausedEvent.InputTuple,
|
|
1338
|
+
LiquidityProvisionPausedEvent.OutputTuple,
|
|
1339
|
+
LiquidityProvisionPausedEvent.OutputObject
|
|
1340
|
+
>;
|
|
1341
|
+
getEvent(
|
|
1342
|
+
key: "LiquidityRemoved"
|
|
1343
|
+
): TypedContractEvent<
|
|
1344
|
+
LiquidityRemovedEvent.InputTuple,
|
|
1345
|
+
LiquidityRemovedEvent.OutputTuple,
|
|
1346
|
+
LiquidityRemovedEvent.OutputObject
|
|
1347
|
+
>;
|
|
1348
|
+
getEvent(
|
|
1349
|
+
key: "LiquidityWithdrawalInitiated"
|
|
1350
|
+
): TypedContractEvent<
|
|
1351
|
+
LiquidityWithdrawalInitiatedEvent.InputTuple,
|
|
1352
|
+
LiquidityWithdrawalInitiatedEvent.OutputTuple,
|
|
1353
|
+
LiquidityWithdrawalInitiatedEvent.OutputObject
|
|
1354
|
+
>;
|
|
1355
|
+
getEvent(
|
|
1356
|
+
key: "MaintainerTransferred"
|
|
1357
|
+
): TypedContractEvent<
|
|
1358
|
+
MaintainerTransferredEvent.InputTuple,
|
|
1359
|
+
MaintainerTransferredEvent.OutputTuple,
|
|
1360
|
+
MaintainerTransferredEvent.OutputObject
|
|
1361
|
+
>;
|
|
1362
|
+
getEvent(
|
|
1363
|
+
key: "Paused"
|
|
1364
|
+
): TypedContractEvent<
|
|
1365
|
+
PausedEvent.InputTuple,
|
|
1366
|
+
PausedEvent.OutputTuple,
|
|
1367
|
+
PausedEvent.OutputObject
|
|
1368
|
+
>;
|
|
1369
|
+
getEvent(
|
|
1370
|
+
key: "PerpetualCreated"
|
|
1371
|
+
): TypedContractEvent<
|
|
1372
|
+
PerpetualCreatedEvent.InputTuple,
|
|
1373
|
+
PerpetualCreatedEvent.OutputTuple,
|
|
1374
|
+
PerpetualCreatedEvent.OutputObject
|
|
1375
|
+
>;
|
|
1376
|
+
getEvent(
|
|
1377
|
+
key: "PerpetualLimitOrderCancelled"
|
|
1378
|
+
): TypedContractEvent<
|
|
1379
|
+
PerpetualLimitOrderCancelledEvent.InputTuple,
|
|
1380
|
+
PerpetualLimitOrderCancelledEvent.OutputTuple,
|
|
1381
|
+
PerpetualLimitOrderCancelledEvent.OutputObject
|
|
1382
|
+
>;
|
|
1383
|
+
getEvent(
|
|
1384
|
+
key: "ProxyOwnershipTransferred"
|
|
1385
|
+
): TypedContractEvent<
|
|
1386
|
+
ProxyOwnershipTransferredEvent.InputTuple,
|
|
1387
|
+
ProxyOwnershipTransferredEvent.OutputTuple,
|
|
1388
|
+
ProxyOwnershipTransferredEvent.OutputObject
|
|
1389
|
+
>;
|
|
1390
|
+
getEvent(
|
|
1391
|
+
key: "RunLiquidityPool"
|
|
1392
|
+
): TypedContractEvent<
|
|
1393
|
+
RunLiquidityPoolEvent.InputTuple,
|
|
1394
|
+
RunLiquidityPoolEvent.OutputTuple,
|
|
1395
|
+
RunLiquidityPoolEvent.OutputObject
|
|
1396
|
+
>;
|
|
1397
|
+
getEvent(
|
|
1398
|
+
key: "SetBlockDelay"
|
|
1399
|
+
): TypedContractEvent<
|
|
1400
|
+
SetBlockDelayEvent.InputTuple,
|
|
1401
|
+
SetBlockDelayEvent.OutputTuple,
|
|
1402
|
+
SetBlockDelayEvent.OutputObject
|
|
1403
|
+
>;
|
|
1404
|
+
getEvent(
|
|
1405
|
+
key: "SetBrokerDesignations"
|
|
1406
|
+
): TypedContractEvent<
|
|
1407
|
+
SetBrokerDesignationsEvent.InputTuple,
|
|
1408
|
+
SetBrokerDesignationsEvent.OutputTuple,
|
|
1409
|
+
SetBrokerDesignationsEvent.OutputObject
|
|
1410
|
+
>;
|
|
1411
|
+
getEvent(
|
|
1412
|
+
key: "SetBrokerTiers"
|
|
1413
|
+
): TypedContractEvent<
|
|
1414
|
+
SetBrokerTiersEvent.InputTuple,
|
|
1415
|
+
SetBrokerTiersEvent.OutputTuple,
|
|
1416
|
+
SetBrokerTiersEvent.OutputObject
|
|
1417
|
+
>;
|
|
1418
|
+
getEvent(
|
|
1419
|
+
key: "SetBrokerVolumeTiers"
|
|
1420
|
+
): TypedContractEvent<
|
|
1421
|
+
SetBrokerVolumeTiersEvent.InputTuple,
|
|
1422
|
+
SetBrokerVolumeTiersEvent.OutputTuple,
|
|
1423
|
+
SetBrokerVolumeTiersEvent.OutputObject
|
|
1424
|
+
>;
|
|
1425
|
+
getEvent(
|
|
1426
|
+
key: "SetClearedState"
|
|
1427
|
+
): TypedContractEvent<
|
|
1428
|
+
SetClearedStateEvent.InputTuple,
|
|
1429
|
+
SetClearedStateEvent.OutputTuple,
|
|
1430
|
+
SetClearedStateEvent.OutputObject
|
|
1431
|
+
>;
|
|
1432
|
+
getEvent(
|
|
1433
|
+
key: "SetDelegate"
|
|
1434
|
+
): TypedContractEvent<
|
|
1435
|
+
SetDelegateEvent.InputTuple,
|
|
1436
|
+
SetDelegateEvent.OutputTuple,
|
|
1437
|
+
SetDelegateEvent.OutputObject
|
|
1438
|
+
>;
|
|
1439
|
+
getEvent(
|
|
1440
|
+
key: "SetEmergencyState"
|
|
1441
|
+
): TypedContractEvent<
|
|
1442
|
+
SetEmergencyStateEvent.InputTuple,
|
|
1443
|
+
SetEmergencyStateEvent.OutputTuple,
|
|
1444
|
+
SetEmergencyStateEvent.OutputObject
|
|
1445
|
+
>;
|
|
1446
|
+
getEvent(
|
|
1447
|
+
key: "SetNormalState"
|
|
1448
|
+
): TypedContractEvent<
|
|
1449
|
+
SetNormalStateEvent.InputTuple,
|
|
1450
|
+
SetNormalStateEvent.OutputTuple,
|
|
1451
|
+
SetNormalStateEvent.OutputObject
|
|
1452
|
+
>;
|
|
1453
|
+
getEvent(
|
|
1454
|
+
key: "SetOracles"
|
|
1455
|
+
): TypedContractEvent<
|
|
1456
|
+
SetOraclesEvent.InputTuple,
|
|
1457
|
+
SetOraclesEvent.OutputTuple,
|
|
1458
|
+
SetOraclesEvent.OutputObject
|
|
1459
|
+
>;
|
|
1460
|
+
getEvent(
|
|
1461
|
+
key: "SetParameter"
|
|
1462
|
+
): TypedContractEvent<
|
|
1463
|
+
SetParameterEvent.InputTuple,
|
|
1464
|
+
SetParameterEvent.OutputTuple,
|
|
1465
|
+
SetParameterEvent.OutputObject
|
|
1466
|
+
>;
|
|
1467
|
+
getEvent(
|
|
1468
|
+
key: "SetParameterPair"
|
|
1469
|
+
): TypedContractEvent<
|
|
1470
|
+
SetParameterPairEvent.InputTuple,
|
|
1471
|
+
SetParameterPairEvent.OutputTuple,
|
|
1472
|
+
SetParameterPairEvent.OutputObject
|
|
1473
|
+
>;
|
|
1474
|
+
getEvent(
|
|
1475
|
+
key: "SetPerpetualBaseParameters"
|
|
1476
|
+
): TypedContractEvent<
|
|
1477
|
+
SetPerpetualBaseParametersEvent.InputTuple,
|
|
1478
|
+
SetPerpetualBaseParametersEvent.OutputTuple,
|
|
1479
|
+
SetPerpetualBaseParametersEvent.OutputObject
|
|
1480
|
+
>;
|
|
1481
|
+
getEvent(
|
|
1482
|
+
key: "SetPerpetualRiskParameters"
|
|
1483
|
+
): TypedContractEvent<
|
|
1484
|
+
SetPerpetualRiskParametersEvent.InputTuple,
|
|
1485
|
+
SetPerpetualRiskParametersEvent.OutputTuple,
|
|
1486
|
+
SetPerpetualRiskParametersEvent.OutputObject
|
|
1487
|
+
>;
|
|
1488
|
+
getEvent(
|
|
1489
|
+
key: "SetPoolParameter"
|
|
1490
|
+
): TypedContractEvent<
|
|
1491
|
+
SetPoolParameterEvent.InputTuple,
|
|
1492
|
+
SetPoolParameterEvent.OutputTuple,
|
|
1493
|
+
SetPoolParameterEvent.OutputObject
|
|
1494
|
+
>;
|
|
1495
|
+
getEvent(
|
|
1496
|
+
key: "SetTraderTiers"
|
|
1497
|
+
): TypedContractEvent<
|
|
1498
|
+
SetTraderTiersEvent.InputTuple,
|
|
1499
|
+
SetTraderTiersEvent.OutputTuple,
|
|
1500
|
+
SetTraderTiersEvent.OutputObject
|
|
1501
|
+
>;
|
|
1502
|
+
getEvent(
|
|
1503
|
+
key: "SetTraderVolumeTiers"
|
|
1504
|
+
): TypedContractEvent<
|
|
1505
|
+
SetTraderVolumeTiersEvent.InputTuple,
|
|
1506
|
+
SetTraderVolumeTiersEvent.OutputTuple,
|
|
1507
|
+
SetTraderVolumeTiersEvent.OutputObject
|
|
1508
|
+
>;
|
|
1509
|
+
getEvent(
|
|
1510
|
+
key: "SetUtilityToken"
|
|
1511
|
+
): TypedContractEvent<
|
|
1512
|
+
SetUtilityTokenEvent.InputTuple,
|
|
1513
|
+
SetUtilityTokenEvent.OutputTuple,
|
|
1514
|
+
SetUtilityTokenEvent.OutputObject
|
|
1515
|
+
>;
|
|
1516
|
+
getEvent(
|
|
1517
|
+
key: "Settle"
|
|
1518
|
+
): TypedContractEvent<
|
|
1519
|
+
SettleEvent.InputTuple,
|
|
1520
|
+
SettleEvent.OutputTuple,
|
|
1521
|
+
SettleEvent.OutputObject
|
|
1522
|
+
>;
|
|
1523
|
+
getEvent(
|
|
1524
|
+
key: "SettleState"
|
|
1525
|
+
): TypedContractEvent<
|
|
1526
|
+
SettleStateEvent.InputTuple,
|
|
1527
|
+
SettleStateEvent.OutputTuple,
|
|
1528
|
+
SettleStateEvent.OutputObject
|
|
1529
|
+
>;
|
|
1530
|
+
getEvent(
|
|
1531
|
+
key: "SettlementComplete"
|
|
1532
|
+
): TypedContractEvent<
|
|
1533
|
+
SettlementCompleteEvent.InputTuple,
|
|
1534
|
+
SettlementCompleteEvent.OutputTuple,
|
|
1535
|
+
SettlementCompleteEvent.OutputObject
|
|
1536
|
+
>;
|
|
1537
|
+
getEvent(
|
|
1538
|
+
key: "TokensDeposited"
|
|
1539
|
+
): TypedContractEvent<
|
|
1540
|
+
TokensDepositedEvent.InputTuple,
|
|
1541
|
+
TokensDepositedEvent.OutputTuple,
|
|
1542
|
+
TokensDepositedEvent.OutputObject
|
|
1543
|
+
>;
|
|
1544
|
+
getEvent(
|
|
1545
|
+
key: "TokensWithdrawn"
|
|
1546
|
+
): TypedContractEvent<
|
|
1547
|
+
TokensWithdrawnEvent.InputTuple,
|
|
1548
|
+
TokensWithdrawnEvent.OutputTuple,
|
|
1549
|
+
TokensWithdrawnEvent.OutputObject
|
|
1550
|
+
>;
|
|
1551
|
+
getEvent(
|
|
1552
|
+
key: "Trade"
|
|
1553
|
+
): TypedContractEvent<
|
|
1554
|
+
TradeEvent.InputTuple,
|
|
1555
|
+
TradeEvent.OutputTuple,
|
|
1556
|
+
TradeEvent.OutputObject
|
|
1557
|
+
>;
|
|
1558
|
+
getEvent(
|
|
1559
|
+
key: "TransferAddressTo"
|
|
1560
|
+
): TypedContractEvent<
|
|
1561
|
+
TransferAddressToEvent.InputTuple,
|
|
1562
|
+
TransferAddressToEvent.OutputTuple,
|
|
1563
|
+
TransferAddressToEvent.OutputObject
|
|
1564
|
+
>;
|
|
1565
|
+
getEvent(
|
|
1566
|
+
key: "Unpaused"
|
|
1567
|
+
): TypedContractEvent<
|
|
1568
|
+
UnpausedEvent.InputTuple,
|
|
1569
|
+
UnpausedEvent.OutputTuple,
|
|
1570
|
+
UnpausedEvent.OutputObject
|
|
1571
|
+
>;
|
|
1572
|
+
getEvent(
|
|
1573
|
+
key: "UpdateBrokerAddedCash"
|
|
1574
|
+
): TypedContractEvent<
|
|
1575
|
+
UpdateBrokerAddedCashEvent.InputTuple,
|
|
1576
|
+
UpdateBrokerAddedCashEvent.OutputTuple,
|
|
1577
|
+
UpdateBrokerAddedCashEvent.OutputObject
|
|
1578
|
+
>;
|
|
1579
|
+
getEvent(
|
|
1580
|
+
key: "UpdateFundingRate"
|
|
1581
|
+
): TypedContractEvent<
|
|
1582
|
+
UpdateFundingRateEvent.InputTuple,
|
|
1583
|
+
UpdateFundingRateEvent.OutputTuple,
|
|
1584
|
+
UpdateFundingRateEvent.OutputObject
|
|
1585
|
+
>;
|
|
1586
|
+
getEvent(
|
|
1587
|
+
key: "UpdateMarginAccount"
|
|
1588
|
+
): TypedContractEvent<
|
|
1589
|
+
UpdateMarginAccountEvent.InputTuple,
|
|
1590
|
+
UpdateMarginAccountEvent.OutputTuple,
|
|
1591
|
+
UpdateMarginAccountEvent.OutputObject
|
|
1592
|
+
>;
|
|
1593
|
+
getEvent(
|
|
1594
|
+
key: "UpdateMarkPrice"
|
|
1595
|
+
): TypedContractEvent<
|
|
1596
|
+
UpdateMarkPriceEvent.InputTuple,
|
|
1597
|
+
UpdateMarkPriceEvent.OutputTuple,
|
|
1598
|
+
UpdateMarkPriceEvent.OutputObject
|
|
1599
|
+
>;
|
|
1071
1600
|
|
|
1072
1601
|
filters: {
|
|
1073
|
-
"BrokerLotsTransferred(uint8,address,address,uint32)"
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
):
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
):
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
):
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
SetBlockDelay
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
SetBrokerDesignations(
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
"
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
):
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
"
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
):
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
"
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
):
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
):
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
overrides?: Overrides & { from?: string }
|
|
1590
|
-
): Promise<BigNumber>;
|
|
1591
|
-
|
|
1592
|
-
unpause(overrides?: Overrides & { from?: string }): Promise<BigNumber>;
|
|
1593
|
-
};
|
|
1594
|
-
|
|
1595
|
-
populateTransaction: {
|
|
1596
|
-
getImplementation(
|
|
1597
|
-
_sig: BytesLike,
|
|
1598
|
-
overrides?: CallOverrides
|
|
1599
|
-
): Promise<PopulatedTransaction>;
|
|
1600
|
-
|
|
1601
|
-
getModuleImplementationAddress(
|
|
1602
|
-
_moduleName: string,
|
|
1603
|
-
overrides?: CallOverrides
|
|
1604
|
-
): Promise<PopulatedTransaction>;
|
|
1605
|
-
|
|
1606
|
-
getProxyOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1607
|
-
|
|
1608
|
-
governance(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1609
|
-
|
|
1610
|
-
maintainer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1611
|
-
|
|
1612
|
-
pause(
|
|
1613
|
-
overrides?: Overrides & { from?: string }
|
|
1614
|
-
): Promise<PopulatedTransaction>;
|
|
1615
|
-
|
|
1616
|
-
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
1617
|
-
|
|
1618
|
-
setImplementation(
|
|
1619
|
-
_impl: string,
|
|
1620
|
-
overrides?: Overrides & { from?: string }
|
|
1621
|
-
): Promise<PopulatedTransaction>;
|
|
1622
|
-
|
|
1623
|
-
setImplementationCrossModules(
|
|
1624
|
-
_impl: string,
|
|
1625
|
-
overrides?: Overrides & { from?: string }
|
|
1626
|
-
): Promise<PopulatedTransaction>;
|
|
1627
|
-
|
|
1628
|
-
setProxyOwner(
|
|
1629
|
-
_owner: string,
|
|
1630
|
-
overrides?: Overrides & { from?: string }
|
|
1631
|
-
): Promise<PopulatedTransaction>;
|
|
1632
|
-
|
|
1633
|
-
transferGovernance(
|
|
1634
|
-
newGovernance: string,
|
|
1635
|
-
overrides?: Overrides & { from?: string }
|
|
1636
|
-
): Promise<PopulatedTransaction>;
|
|
1637
|
-
|
|
1638
|
-
transferMaintainer(
|
|
1639
|
-
newMaintainer: string,
|
|
1640
|
-
overrides?: Overrides & { from?: string }
|
|
1641
|
-
): Promise<PopulatedTransaction>;
|
|
1642
|
-
|
|
1643
|
-
unpause(
|
|
1644
|
-
overrides?: Overrides & { from?: string }
|
|
1645
|
-
): Promise<PopulatedTransaction>;
|
|
1602
|
+
"BrokerLotsTransferred(uint8,address,address,uint32)": TypedContractEvent<
|
|
1603
|
+
BrokerLotsTransferredEvent.InputTuple,
|
|
1604
|
+
BrokerLotsTransferredEvent.OutputTuple,
|
|
1605
|
+
BrokerLotsTransferredEvent.OutputObject
|
|
1606
|
+
>;
|
|
1607
|
+
BrokerLotsTransferred: TypedContractEvent<
|
|
1608
|
+
BrokerLotsTransferredEvent.InputTuple,
|
|
1609
|
+
BrokerLotsTransferredEvent.OutputTuple,
|
|
1610
|
+
BrokerLotsTransferredEvent.OutputObject
|
|
1611
|
+
>;
|
|
1612
|
+
|
|
1613
|
+
"BrokerVolumeTransferred(uint8,address,address,int128)": TypedContractEvent<
|
|
1614
|
+
BrokerVolumeTransferredEvent.InputTuple,
|
|
1615
|
+
BrokerVolumeTransferredEvent.OutputTuple,
|
|
1616
|
+
BrokerVolumeTransferredEvent.OutputObject
|
|
1617
|
+
>;
|
|
1618
|
+
BrokerVolumeTransferred: TypedContractEvent<
|
|
1619
|
+
BrokerVolumeTransferredEvent.InputTuple,
|
|
1620
|
+
BrokerVolumeTransferredEvent.OutputTuple,
|
|
1621
|
+
BrokerVolumeTransferredEvent.OutputObject
|
|
1622
|
+
>;
|
|
1623
|
+
|
|
1624
|
+
"Clear(uint24,address)": TypedContractEvent<
|
|
1625
|
+
ClearEvent.InputTuple,
|
|
1626
|
+
ClearEvent.OutputTuple,
|
|
1627
|
+
ClearEvent.OutputObject
|
|
1628
|
+
>;
|
|
1629
|
+
Clear: TypedContractEvent<
|
|
1630
|
+
ClearEvent.InputTuple,
|
|
1631
|
+
ClearEvent.OutputTuple,
|
|
1632
|
+
ClearEvent.OutputObject
|
|
1633
|
+
>;
|
|
1634
|
+
|
|
1635
|
+
"DistributeFees(uint8,uint24,address,int128,int128)": TypedContractEvent<
|
|
1636
|
+
DistributeFeesEvent.InputTuple,
|
|
1637
|
+
DistributeFeesEvent.OutputTuple,
|
|
1638
|
+
DistributeFeesEvent.OutputObject
|
|
1639
|
+
>;
|
|
1640
|
+
DistributeFees: TypedContractEvent<
|
|
1641
|
+
DistributeFeesEvent.InputTuple,
|
|
1642
|
+
DistributeFeesEvent.OutputTuple,
|
|
1643
|
+
DistributeFeesEvent.OutputObject
|
|
1644
|
+
>;
|
|
1645
|
+
|
|
1646
|
+
"GovernanceTransferred(address,address)": TypedContractEvent<
|
|
1647
|
+
GovernanceTransferredEvent.InputTuple,
|
|
1648
|
+
GovernanceTransferredEvent.OutputTuple,
|
|
1649
|
+
GovernanceTransferredEvent.OutputObject
|
|
1650
|
+
>;
|
|
1651
|
+
GovernanceTransferred: TypedContractEvent<
|
|
1652
|
+
GovernanceTransferredEvent.InputTuple,
|
|
1653
|
+
GovernanceTransferredEvent.OutputTuple,
|
|
1654
|
+
GovernanceTransferredEvent.OutputObject
|
|
1655
|
+
>;
|
|
1656
|
+
|
|
1657
|
+
"ImplementationChanged(bytes4,address,address)": TypedContractEvent<
|
|
1658
|
+
ImplementationChangedEvent.InputTuple,
|
|
1659
|
+
ImplementationChangedEvent.OutputTuple,
|
|
1660
|
+
ImplementationChangedEvent.OutputObject
|
|
1661
|
+
>;
|
|
1662
|
+
ImplementationChanged: TypedContractEvent<
|
|
1663
|
+
ImplementationChangedEvent.InputTuple,
|
|
1664
|
+
ImplementationChangedEvent.OutputTuple,
|
|
1665
|
+
ImplementationChangedEvent.OutputObject
|
|
1666
|
+
>;
|
|
1667
|
+
|
|
1668
|
+
"Liquidate(uint24,address,address,int128,int128,int128,int128,int128)": TypedContractEvent<
|
|
1669
|
+
LiquidateEvent.InputTuple,
|
|
1670
|
+
LiquidateEvent.OutputTuple,
|
|
1671
|
+
LiquidateEvent.OutputObject
|
|
1672
|
+
>;
|
|
1673
|
+
Liquidate: TypedContractEvent<
|
|
1674
|
+
LiquidateEvent.InputTuple,
|
|
1675
|
+
LiquidateEvent.OutputTuple,
|
|
1676
|
+
LiquidateEvent.OutputObject
|
|
1677
|
+
>;
|
|
1678
|
+
|
|
1679
|
+
"LiquidityAdded(uint8,address,uint256,uint256)": TypedContractEvent<
|
|
1680
|
+
LiquidityAddedEvent.InputTuple,
|
|
1681
|
+
LiquidityAddedEvent.OutputTuple,
|
|
1682
|
+
LiquidityAddedEvent.OutputObject
|
|
1683
|
+
>;
|
|
1684
|
+
LiquidityAdded: TypedContractEvent<
|
|
1685
|
+
LiquidityAddedEvent.InputTuple,
|
|
1686
|
+
LiquidityAddedEvent.OutputTuple,
|
|
1687
|
+
LiquidityAddedEvent.OutputObject
|
|
1688
|
+
>;
|
|
1689
|
+
|
|
1690
|
+
"LiquidityPoolCreated(uint8,address,address,uint16,int128)": TypedContractEvent<
|
|
1691
|
+
LiquidityPoolCreatedEvent.InputTuple,
|
|
1692
|
+
LiquidityPoolCreatedEvent.OutputTuple,
|
|
1693
|
+
LiquidityPoolCreatedEvent.OutputObject
|
|
1694
|
+
>;
|
|
1695
|
+
LiquidityPoolCreated: TypedContractEvent<
|
|
1696
|
+
LiquidityPoolCreatedEvent.InputTuple,
|
|
1697
|
+
LiquidityPoolCreatedEvent.OutputTuple,
|
|
1698
|
+
LiquidityPoolCreatedEvent.OutputObject
|
|
1699
|
+
>;
|
|
1700
|
+
|
|
1701
|
+
"LiquidityProvisionPaused(bool,uint8)": TypedContractEvent<
|
|
1702
|
+
LiquidityProvisionPausedEvent.InputTuple,
|
|
1703
|
+
LiquidityProvisionPausedEvent.OutputTuple,
|
|
1704
|
+
LiquidityProvisionPausedEvent.OutputObject
|
|
1705
|
+
>;
|
|
1706
|
+
LiquidityProvisionPaused: TypedContractEvent<
|
|
1707
|
+
LiquidityProvisionPausedEvent.InputTuple,
|
|
1708
|
+
LiquidityProvisionPausedEvent.OutputTuple,
|
|
1709
|
+
LiquidityProvisionPausedEvent.OutputObject
|
|
1710
|
+
>;
|
|
1711
|
+
|
|
1712
|
+
"LiquidityRemoved(uint8,address,uint256,uint256)": TypedContractEvent<
|
|
1713
|
+
LiquidityRemovedEvent.InputTuple,
|
|
1714
|
+
LiquidityRemovedEvent.OutputTuple,
|
|
1715
|
+
LiquidityRemovedEvent.OutputObject
|
|
1716
|
+
>;
|
|
1717
|
+
LiquidityRemoved: TypedContractEvent<
|
|
1718
|
+
LiquidityRemovedEvent.InputTuple,
|
|
1719
|
+
LiquidityRemovedEvent.OutputTuple,
|
|
1720
|
+
LiquidityRemovedEvent.OutputObject
|
|
1721
|
+
>;
|
|
1722
|
+
|
|
1723
|
+
"LiquidityWithdrawalInitiated(uint8,address,uint256)": TypedContractEvent<
|
|
1724
|
+
LiquidityWithdrawalInitiatedEvent.InputTuple,
|
|
1725
|
+
LiquidityWithdrawalInitiatedEvent.OutputTuple,
|
|
1726
|
+
LiquidityWithdrawalInitiatedEvent.OutputObject
|
|
1727
|
+
>;
|
|
1728
|
+
LiquidityWithdrawalInitiated: TypedContractEvent<
|
|
1729
|
+
LiquidityWithdrawalInitiatedEvent.InputTuple,
|
|
1730
|
+
LiquidityWithdrawalInitiatedEvent.OutputTuple,
|
|
1731
|
+
LiquidityWithdrawalInitiatedEvent.OutputObject
|
|
1732
|
+
>;
|
|
1733
|
+
|
|
1734
|
+
"MaintainerTransferred(address,address)": TypedContractEvent<
|
|
1735
|
+
MaintainerTransferredEvent.InputTuple,
|
|
1736
|
+
MaintainerTransferredEvent.OutputTuple,
|
|
1737
|
+
MaintainerTransferredEvent.OutputObject
|
|
1738
|
+
>;
|
|
1739
|
+
MaintainerTransferred: TypedContractEvent<
|
|
1740
|
+
MaintainerTransferredEvent.InputTuple,
|
|
1741
|
+
MaintainerTransferredEvent.OutputTuple,
|
|
1742
|
+
MaintainerTransferredEvent.OutputObject
|
|
1743
|
+
>;
|
|
1744
|
+
|
|
1745
|
+
"Paused(address)": TypedContractEvent<
|
|
1746
|
+
PausedEvent.InputTuple,
|
|
1747
|
+
PausedEvent.OutputTuple,
|
|
1748
|
+
PausedEvent.OutputObject
|
|
1749
|
+
>;
|
|
1750
|
+
Paused: TypedContractEvent<
|
|
1751
|
+
PausedEvent.InputTuple,
|
|
1752
|
+
PausedEvent.OutputTuple,
|
|
1753
|
+
PausedEvent.OutputObject
|
|
1754
|
+
>;
|
|
1755
|
+
|
|
1756
|
+
"PerpetualCreated(uint8,uint24,int128[7],int128[5],int128[12],uint256)": TypedContractEvent<
|
|
1757
|
+
PerpetualCreatedEvent.InputTuple,
|
|
1758
|
+
PerpetualCreatedEvent.OutputTuple,
|
|
1759
|
+
PerpetualCreatedEvent.OutputObject
|
|
1760
|
+
>;
|
|
1761
|
+
PerpetualCreated: TypedContractEvent<
|
|
1762
|
+
PerpetualCreatedEvent.InputTuple,
|
|
1763
|
+
PerpetualCreatedEvent.OutputTuple,
|
|
1764
|
+
PerpetualCreatedEvent.OutputObject
|
|
1765
|
+
>;
|
|
1766
|
+
|
|
1767
|
+
"PerpetualLimitOrderCancelled(uint24,bytes32)": TypedContractEvent<
|
|
1768
|
+
PerpetualLimitOrderCancelledEvent.InputTuple,
|
|
1769
|
+
PerpetualLimitOrderCancelledEvent.OutputTuple,
|
|
1770
|
+
PerpetualLimitOrderCancelledEvent.OutputObject
|
|
1771
|
+
>;
|
|
1772
|
+
PerpetualLimitOrderCancelled: TypedContractEvent<
|
|
1773
|
+
PerpetualLimitOrderCancelledEvent.InputTuple,
|
|
1774
|
+
PerpetualLimitOrderCancelledEvent.OutputTuple,
|
|
1775
|
+
PerpetualLimitOrderCancelledEvent.OutputObject
|
|
1776
|
+
>;
|
|
1777
|
+
|
|
1778
|
+
"ProxyOwnershipTransferred(address,address)": TypedContractEvent<
|
|
1779
|
+
ProxyOwnershipTransferredEvent.InputTuple,
|
|
1780
|
+
ProxyOwnershipTransferredEvent.OutputTuple,
|
|
1781
|
+
ProxyOwnershipTransferredEvent.OutputObject
|
|
1782
|
+
>;
|
|
1783
|
+
ProxyOwnershipTransferred: TypedContractEvent<
|
|
1784
|
+
ProxyOwnershipTransferredEvent.InputTuple,
|
|
1785
|
+
ProxyOwnershipTransferredEvent.OutputTuple,
|
|
1786
|
+
ProxyOwnershipTransferredEvent.OutputObject
|
|
1787
|
+
>;
|
|
1788
|
+
|
|
1789
|
+
"RunLiquidityPool(uint8)": TypedContractEvent<
|
|
1790
|
+
RunLiquidityPoolEvent.InputTuple,
|
|
1791
|
+
RunLiquidityPoolEvent.OutputTuple,
|
|
1792
|
+
RunLiquidityPoolEvent.OutputObject
|
|
1793
|
+
>;
|
|
1794
|
+
RunLiquidityPool: TypedContractEvent<
|
|
1795
|
+
RunLiquidityPoolEvent.InputTuple,
|
|
1796
|
+
RunLiquidityPoolEvent.OutputTuple,
|
|
1797
|
+
RunLiquidityPoolEvent.OutputObject
|
|
1798
|
+
>;
|
|
1799
|
+
|
|
1800
|
+
"SetBlockDelay(uint8)": TypedContractEvent<
|
|
1801
|
+
SetBlockDelayEvent.InputTuple,
|
|
1802
|
+
SetBlockDelayEvent.OutputTuple,
|
|
1803
|
+
SetBlockDelayEvent.OutputObject
|
|
1804
|
+
>;
|
|
1805
|
+
SetBlockDelay: TypedContractEvent<
|
|
1806
|
+
SetBlockDelayEvent.InputTuple,
|
|
1807
|
+
SetBlockDelayEvent.OutputTuple,
|
|
1808
|
+
SetBlockDelayEvent.OutputObject
|
|
1809
|
+
>;
|
|
1810
|
+
|
|
1811
|
+
"SetBrokerDesignations(uint32[],uint16[])": TypedContractEvent<
|
|
1812
|
+
SetBrokerDesignationsEvent.InputTuple,
|
|
1813
|
+
SetBrokerDesignationsEvent.OutputTuple,
|
|
1814
|
+
SetBrokerDesignationsEvent.OutputObject
|
|
1815
|
+
>;
|
|
1816
|
+
SetBrokerDesignations: TypedContractEvent<
|
|
1817
|
+
SetBrokerDesignationsEvent.InputTuple,
|
|
1818
|
+
SetBrokerDesignationsEvent.OutputTuple,
|
|
1819
|
+
SetBrokerDesignationsEvent.OutputObject
|
|
1820
|
+
>;
|
|
1821
|
+
|
|
1822
|
+
"SetBrokerTiers(uint256[],uint16[])": TypedContractEvent<
|
|
1823
|
+
SetBrokerTiersEvent.InputTuple,
|
|
1824
|
+
SetBrokerTiersEvent.OutputTuple,
|
|
1825
|
+
SetBrokerTiersEvent.OutputObject
|
|
1826
|
+
>;
|
|
1827
|
+
SetBrokerTiers: TypedContractEvent<
|
|
1828
|
+
SetBrokerTiersEvent.InputTuple,
|
|
1829
|
+
SetBrokerTiersEvent.OutputTuple,
|
|
1830
|
+
SetBrokerTiersEvent.OutputObject
|
|
1831
|
+
>;
|
|
1832
|
+
|
|
1833
|
+
"SetBrokerVolumeTiers(uint256[],uint16[])": TypedContractEvent<
|
|
1834
|
+
SetBrokerVolumeTiersEvent.InputTuple,
|
|
1835
|
+
SetBrokerVolumeTiersEvent.OutputTuple,
|
|
1836
|
+
SetBrokerVolumeTiersEvent.OutputObject
|
|
1837
|
+
>;
|
|
1838
|
+
SetBrokerVolumeTiers: TypedContractEvent<
|
|
1839
|
+
SetBrokerVolumeTiersEvent.InputTuple,
|
|
1840
|
+
SetBrokerVolumeTiersEvent.OutputTuple,
|
|
1841
|
+
SetBrokerVolumeTiersEvent.OutputObject
|
|
1842
|
+
>;
|
|
1843
|
+
|
|
1844
|
+
"SetClearedState(uint24)": TypedContractEvent<
|
|
1845
|
+
SetClearedStateEvent.InputTuple,
|
|
1846
|
+
SetClearedStateEvent.OutputTuple,
|
|
1847
|
+
SetClearedStateEvent.OutputObject
|
|
1848
|
+
>;
|
|
1849
|
+
SetClearedState: TypedContractEvent<
|
|
1850
|
+
SetClearedStateEvent.InputTuple,
|
|
1851
|
+
SetClearedStateEvent.OutputTuple,
|
|
1852
|
+
SetClearedStateEvent.OutputObject
|
|
1853
|
+
>;
|
|
1854
|
+
|
|
1855
|
+
"SetDelegate(address,address)": TypedContractEvent<
|
|
1856
|
+
SetDelegateEvent.InputTuple,
|
|
1857
|
+
SetDelegateEvent.OutputTuple,
|
|
1858
|
+
SetDelegateEvent.OutputObject
|
|
1859
|
+
>;
|
|
1860
|
+
SetDelegate: TypedContractEvent<
|
|
1861
|
+
SetDelegateEvent.InputTuple,
|
|
1862
|
+
SetDelegateEvent.OutputTuple,
|
|
1863
|
+
SetDelegateEvent.OutputObject
|
|
1864
|
+
>;
|
|
1865
|
+
|
|
1866
|
+
"SetEmergencyState(uint24,int128,int128,int128)": TypedContractEvent<
|
|
1867
|
+
SetEmergencyStateEvent.InputTuple,
|
|
1868
|
+
SetEmergencyStateEvent.OutputTuple,
|
|
1869
|
+
SetEmergencyStateEvent.OutputObject
|
|
1870
|
+
>;
|
|
1871
|
+
SetEmergencyState: TypedContractEvent<
|
|
1872
|
+
SetEmergencyStateEvent.InputTuple,
|
|
1873
|
+
SetEmergencyStateEvent.OutputTuple,
|
|
1874
|
+
SetEmergencyStateEvent.OutputObject
|
|
1875
|
+
>;
|
|
1876
|
+
|
|
1877
|
+
"SetNormalState(uint24)": TypedContractEvent<
|
|
1878
|
+
SetNormalStateEvent.InputTuple,
|
|
1879
|
+
SetNormalStateEvent.OutputTuple,
|
|
1880
|
+
SetNormalStateEvent.OutputObject
|
|
1881
|
+
>;
|
|
1882
|
+
SetNormalState: TypedContractEvent<
|
|
1883
|
+
SetNormalStateEvent.InputTuple,
|
|
1884
|
+
SetNormalStateEvent.OutputTuple,
|
|
1885
|
+
SetNormalStateEvent.OutputObject
|
|
1886
|
+
>;
|
|
1887
|
+
|
|
1888
|
+
"SetOracles(uint24,bytes4[2],bytes4[2])": TypedContractEvent<
|
|
1889
|
+
SetOraclesEvent.InputTuple,
|
|
1890
|
+
SetOraclesEvent.OutputTuple,
|
|
1891
|
+
SetOraclesEvent.OutputObject
|
|
1892
|
+
>;
|
|
1893
|
+
SetOracles: TypedContractEvent<
|
|
1894
|
+
SetOraclesEvent.InputTuple,
|
|
1895
|
+
SetOraclesEvent.OutputTuple,
|
|
1896
|
+
SetOraclesEvent.OutputObject
|
|
1897
|
+
>;
|
|
1898
|
+
|
|
1899
|
+
"SetParameter(uint24,string,int128)": TypedContractEvent<
|
|
1900
|
+
SetParameterEvent.InputTuple,
|
|
1901
|
+
SetParameterEvent.OutputTuple,
|
|
1902
|
+
SetParameterEvent.OutputObject
|
|
1903
|
+
>;
|
|
1904
|
+
SetParameter: TypedContractEvent<
|
|
1905
|
+
SetParameterEvent.InputTuple,
|
|
1906
|
+
SetParameterEvent.OutputTuple,
|
|
1907
|
+
SetParameterEvent.OutputObject
|
|
1908
|
+
>;
|
|
1909
|
+
|
|
1910
|
+
"SetParameterPair(uint24,string,int128,int128)": TypedContractEvent<
|
|
1911
|
+
SetParameterPairEvent.InputTuple,
|
|
1912
|
+
SetParameterPairEvent.OutputTuple,
|
|
1913
|
+
SetParameterPairEvent.OutputObject
|
|
1914
|
+
>;
|
|
1915
|
+
SetParameterPair: TypedContractEvent<
|
|
1916
|
+
SetParameterPairEvent.InputTuple,
|
|
1917
|
+
SetParameterPairEvent.OutputTuple,
|
|
1918
|
+
SetParameterPairEvent.OutputObject
|
|
1919
|
+
>;
|
|
1920
|
+
|
|
1921
|
+
"SetPerpetualBaseParameters(uint24,int128[7])": TypedContractEvent<
|
|
1922
|
+
SetPerpetualBaseParametersEvent.InputTuple,
|
|
1923
|
+
SetPerpetualBaseParametersEvent.OutputTuple,
|
|
1924
|
+
SetPerpetualBaseParametersEvent.OutputObject
|
|
1925
|
+
>;
|
|
1926
|
+
SetPerpetualBaseParameters: TypedContractEvent<
|
|
1927
|
+
SetPerpetualBaseParametersEvent.InputTuple,
|
|
1928
|
+
SetPerpetualBaseParametersEvent.OutputTuple,
|
|
1929
|
+
SetPerpetualBaseParametersEvent.OutputObject
|
|
1930
|
+
>;
|
|
1931
|
+
|
|
1932
|
+
"SetPerpetualRiskParameters(uint24,int128[5],int128[12])": TypedContractEvent<
|
|
1933
|
+
SetPerpetualRiskParametersEvent.InputTuple,
|
|
1934
|
+
SetPerpetualRiskParametersEvent.OutputTuple,
|
|
1935
|
+
SetPerpetualRiskParametersEvent.OutputObject
|
|
1936
|
+
>;
|
|
1937
|
+
SetPerpetualRiskParameters: TypedContractEvent<
|
|
1938
|
+
SetPerpetualRiskParametersEvent.InputTuple,
|
|
1939
|
+
SetPerpetualRiskParametersEvent.OutputTuple,
|
|
1940
|
+
SetPerpetualRiskParametersEvent.OutputObject
|
|
1941
|
+
>;
|
|
1942
|
+
|
|
1943
|
+
"SetPoolParameter(uint8,string,int128)": TypedContractEvent<
|
|
1944
|
+
SetPoolParameterEvent.InputTuple,
|
|
1945
|
+
SetPoolParameterEvent.OutputTuple,
|
|
1946
|
+
SetPoolParameterEvent.OutputObject
|
|
1947
|
+
>;
|
|
1948
|
+
SetPoolParameter: TypedContractEvent<
|
|
1949
|
+
SetPoolParameterEvent.InputTuple,
|
|
1950
|
+
SetPoolParameterEvent.OutputTuple,
|
|
1951
|
+
SetPoolParameterEvent.OutputObject
|
|
1952
|
+
>;
|
|
1953
|
+
|
|
1954
|
+
"SetTraderTiers(uint256[],uint16[])": TypedContractEvent<
|
|
1955
|
+
SetTraderTiersEvent.InputTuple,
|
|
1956
|
+
SetTraderTiersEvent.OutputTuple,
|
|
1957
|
+
SetTraderTiersEvent.OutputObject
|
|
1958
|
+
>;
|
|
1959
|
+
SetTraderTiers: TypedContractEvent<
|
|
1960
|
+
SetTraderTiersEvent.InputTuple,
|
|
1961
|
+
SetTraderTiersEvent.OutputTuple,
|
|
1962
|
+
SetTraderTiersEvent.OutputObject
|
|
1963
|
+
>;
|
|
1964
|
+
|
|
1965
|
+
"SetTraderVolumeTiers(uint256[],uint16[])": TypedContractEvent<
|
|
1966
|
+
SetTraderVolumeTiersEvent.InputTuple,
|
|
1967
|
+
SetTraderVolumeTiersEvent.OutputTuple,
|
|
1968
|
+
SetTraderVolumeTiersEvent.OutputObject
|
|
1969
|
+
>;
|
|
1970
|
+
SetTraderVolumeTiers: TypedContractEvent<
|
|
1971
|
+
SetTraderVolumeTiersEvent.InputTuple,
|
|
1972
|
+
SetTraderVolumeTiersEvent.OutputTuple,
|
|
1973
|
+
SetTraderVolumeTiersEvent.OutputObject
|
|
1974
|
+
>;
|
|
1975
|
+
|
|
1976
|
+
"SetUtilityToken(address)": TypedContractEvent<
|
|
1977
|
+
SetUtilityTokenEvent.InputTuple,
|
|
1978
|
+
SetUtilityTokenEvent.OutputTuple,
|
|
1979
|
+
SetUtilityTokenEvent.OutputObject
|
|
1980
|
+
>;
|
|
1981
|
+
SetUtilityToken: TypedContractEvent<
|
|
1982
|
+
SetUtilityTokenEvent.InputTuple,
|
|
1983
|
+
SetUtilityTokenEvent.OutputTuple,
|
|
1984
|
+
SetUtilityTokenEvent.OutputObject
|
|
1985
|
+
>;
|
|
1986
|
+
|
|
1987
|
+
"Settle(uint24,address,int256)": TypedContractEvent<
|
|
1988
|
+
SettleEvent.InputTuple,
|
|
1989
|
+
SettleEvent.OutputTuple,
|
|
1990
|
+
SettleEvent.OutputObject
|
|
1991
|
+
>;
|
|
1992
|
+
Settle: TypedContractEvent<
|
|
1993
|
+
SettleEvent.InputTuple,
|
|
1994
|
+
SettleEvent.OutputTuple,
|
|
1995
|
+
SettleEvent.OutputObject
|
|
1996
|
+
>;
|
|
1997
|
+
|
|
1998
|
+
"SettleState(uint24)": TypedContractEvent<
|
|
1999
|
+
SettleStateEvent.InputTuple,
|
|
2000
|
+
SettleStateEvent.OutputTuple,
|
|
2001
|
+
SettleStateEvent.OutputObject
|
|
2002
|
+
>;
|
|
2003
|
+
SettleState: TypedContractEvent<
|
|
2004
|
+
SettleStateEvent.InputTuple,
|
|
2005
|
+
SettleStateEvent.OutputTuple,
|
|
2006
|
+
SettleStateEvent.OutputObject
|
|
2007
|
+
>;
|
|
2008
|
+
|
|
2009
|
+
"SettlementComplete(uint24)": TypedContractEvent<
|
|
2010
|
+
SettlementCompleteEvent.InputTuple,
|
|
2011
|
+
SettlementCompleteEvent.OutputTuple,
|
|
2012
|
+
SettlementCompleteEvent.OutputObject
|
|
2013
|
+
>;
|
|
2014
|
+
SettlementComplete: TypedContractEvent<
|
|
2015
|
+
SettlementCompleteEvent.InputTuple,
|
|
2016
|
+
SettlementCompleteEvent.OutputTuple,
|
|
2017
|
+
SettlementCompleteEvent.OutputObject
|
|
2018
|
+
>;
|
|
2019
|
+
|
|
2020
|
+
"TokensDeposited(uint24,address,int128)": TypedContractEvent<
|
|
2021
|
+
TokensDepositedEvent.InputTuple,
|
|
2022
|
+
TokensDepositedEvent.OutputTuple,
|
|
2023
|
+
TokensDepositedEvent.OutputObject
|
|
2024
|
+
>;
|
|
2025
|
+
TokensDeposited: TypedContractEvent<
|
|
2026
|
+
TokensDepositedEvent.InputTuple,
|
|
2027
|
+
TokensDepositedEvent.OutputTuple,
|
|
2028
|
+
TokensDepositedEvent.OutputObject
|
|
2029
|
+
>;
|
|
2030
|
+
|
|
2031
|
+
"TokensWithdrawn(uint24,address,int128)": TypedContractEvent<
|
|
2032
|
+
TokensWithdrawnEvent.InputTuple,
|
|
2033
|
+
TokensWithdrawnEvent.OutputTuple,
|
|
2034
|
+
TokensWithdrawnEvent.OutputObject
|
|
2035
|
+
>;
|
|
2036
|
+
TokensWithdrawn: TypedContractEvent<
|
|
2037
|
+
TokensWithdrawnEvent.InputTuple,
|
|
2038
|
+
TokensWithdrawnEvent.OutputTuple,
|
|
2039
|
+
TokensWithdrawnEvent.OutputObject
|
|
2040
|
+
>;
|
|
2041
|
+
|
|
2042
|
+
"Trade(uint24,address,tuple,bytes32,int128,int128,int128,int128,int128)": TypedContractEvent<
|
|
2043
|
+
TradeEvent.InputTuple,
|
|
2044
|
+
TradeEvent.OutputTuple,
|
|
2045
|
+
TradeEvent.OutputObject
|
|
2046
|
+
>;
|
|
2047
|
+
Trade: TypedContractEvent<
|
|
2048
|
+
TradeEvent.InputTuple,
|
|
2049
|
+
TradeEvent.OutputTuple,
|
|
2050
|
+
TradeEvent.OutputObject
|
|
2051
|
+
>;
|
|
2052
|
+
|
|
2053
|
+
"TransferAddressTo(string,address,address)": TypedContractEvent<
|
|
2054
|
+
TransferAddressToEvent.InputTuple,
|
|
2055
|
+
TransferAddressToEvent.OutputTuple,
|
|
2056
|
+
TransferAddressToEvent.OutputObject
|
|
2057
|
+
>;
|
|
2058
|
+
TransferAddressTo: TypedContractEvent<
|
|
2059
|
+
TransferAddressToEvent.InputTuple,
|
|
2060
|
+
TransferAddressToEvent.OutputTuple,
|
|
2061
|
+
TransferAddressToEvent.OutputObject
|
|
2062
|
+
>;
|
|
2063
|
+
|
|
2064
|
+
"Unpaused(address)": TypedContractEvent<
|
|
2065
|
+
UnpausedEvent.InputTuple,
|
|
2066
|
+
UnpausedEvent.OutputTuple,
|
|
2067
|
+
UnpausedEvent.OutputObject
|
|
2068
|
+
>;
|
|
2069
|
+
Unpaused: TypedContractEvent<
|
|
2070
|
+
UnpausedEvent.InputTuple,
|
|
2071
|
+
UnpausedEvent.OutputTuple,
|
|
2072
|
+
UnpausedEvent.OutputObject
|
|
2073
|
+
>;
|
|
2074
|
+
|
|
2075
|
+
"UpdateBrokerAddedCash(uint8,uint32,uint32)": TypedContractEvent<
|
|
2076
|
+
UpdateBrokerAddedCashEvent.InputTuple,
|
|
2077
|
+
UpdateBrokerAddedCashEvent.OutputTuple,
|
|
2078
|
+
UpdateBrokerAddedCashEvent.OutputObject
|
|
2079
|
+
>;
|
|
2080
|
+
UpdateBrokerAddedCash: TypedContractEvent<
|
|
2081
|
+
UpdateBrokerAddedCashEvent.InputTuple,
|
|
2082
|
+
UpdateBrokerAddedCashEvent.OutputTuple,
|
|
2083
|
+
UpdateBrokerAddedCashEvent.OutputObject
|
|
2084
|
+
>;
|
|
2085
|
+
|
|
2086
|
+
"UpdateFundingRate(uint24,int128)": TypedContractEvent<
|
|
2087
|
+
UpdateFundingRateEvent.InputTuple,
|
|
2088
|
+
UpdateFundingRateEvent.OutputTuple,
|
|
2089
|
+
UpdateFundingRateEvent.OutputObject
|
|
2090
|
+
>;
|
|
2091
|
+
UpdateFundingRate: TypedContractEvent<
|
|
2092
|
+
UpdateFundingRateEvent.InputTuple,
|
|
2093
|
+
UpdateFundingRateEvent.OutputTuple,
|
|
2094
|
+
UpdateFundingRateEvent.OutputObject
|
|
2095
|
+
>;
|
|
2096
|
+
|
|
2097
|
+
"UpdateMarginAccount(uint24,address,int128)": TypedContractEvent<
|
|
2098
|
+
UpdateMarginAccountEvent.InputTuple,
|
|
2099
|
+
UpdateMarginAccountEvent.OutputTuple,
|
|
2100
|
+
UpdateMarginAccountEvent.OutputObject
|
|
2101
|
+
>;
|
|
2102
|
+
UpdateMarginAccount: TypedContractEvent<
|
|
2103
|
+
UpdateMarginAccountEvent.InputTuple,
|
|
2104
|
+
UpdateMarginAccountEvent.OutputTuple,
|
|
2105
|
+
UpdateMarginAccountEvent.OutputObject
|
|
2106
|
+
>;
|
|
2107
|
+
|
|
2108
|
+
"UpdateMarkPrice(uint24,int128,int128,int128)": TypedContractEvent<
|
|
2109
|
+
UpdateMarkPriceEvent.InputTuple,
|
|
2110
|
+
UpdateMarkPriceEvent.OutputTuple,
|
|
2111
|
+
UpdateMarkPriceEvent.OutputObject
|
|
2112
|
+
>;
|
|
2113
|
+
UpdateMarkPrice: TypedContractEvent<
|
|
2114
|
+
UpdateMarkPriceEvent.InputTuple,
|
|
2115
|
+
UpdateMarkPriceEvent.OutputTuple,
|
|
2116
|
+
UpdateMarkPriceEvent.OutputObject
|
|
2117
|
+
>;
|
|
1646
2118
|
};
|
|
1647
2119
|
}
|