@d8x/perpetuals-sdk 1.3.7 → 2.0.1-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/config/priceFeedConfig.json +16 -2
- package/dist/cjs/config/symbolList.json +2 -1
- package/dist/cjs/constants.d.ts +12 -12
- package/dist/cjs/constants.js +14 -14
- 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 +28 -16
- package/dist/cjs/d8XMath.js +70 -50
- 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 +52 -62
- package/dist/cjs/orderExecutorTool.js.map +1 -1
- package/dist/cjs/perpetualDataHandler.d.ts +44 -35
- package/dist/cjs/perpetualDataHandler.js +194 -170
- 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/polyMktsPxFeed.d.ts +14 -0
- package/dist/cjs/polyMktsPxFeed.js +59 -0
- package/dist/cjs/polyMktsPxFeed.js.map +1 -0
- package/dist/cjs/priceFeeds.d.ts +2 -0
- package/dist/cjs/priceFeeds.js +44 -9
- 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 +40 -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/config/priceFeedConfig.json +16 -2
- package/dist/esm/config/symbolList.json +2 -1
- package/dist/esm/constants.d.ts +12 -12
- package/dist/esm/constants.js +13 -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 +28 -16
- package/dist/esm/d8XMath.js +67 -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 +38 -48
- package/dist/esm/orderExecutorTool.js.map +1 -1
- package/dist/esm/perpetualDataHandler.d.ts +44 -35
- package/dist/esm/perpetualDataHandler.js +137 -113
- 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/polyMktsPxFeed.d.ts +14 -0
- package/dist/esm/polyMktsPxFeed.js +56 -0
- package/dist/esm/polyMktsPxFeed.js.map +1 -0
- package/dist/esm/priceFeeds.d.ts +2 -0
- package/dist/esm/priceFeeds.js +44 -9
- 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 +42 -25
- 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/config/priceFeedConfig.json +16 -2
- package/src/config/symbolList.json +2 -1
- package/src/constants.ts +13 -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 +78 -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 +100 -108
- package/src/perpetualDataHandler.ts +209 -172
- package/src/perpetualEventHandler.ts +16 -17
- package/src/polyMktsPxFeed.ts +71 -0
- package/src/priceFeeds.ts +46 -10
- package/src/referralCodeSigner.ts +6 -10
- package/src/traderDigests.ts +8 -5
- package/src/traderInterface.ts +61 -33
- package/src/utils.ts +3 -4
- package/src/version.ts +1 -1
- package/src/writeAccessHandler.ts +26 -17
|
@@ -1,73 +1,57 @@
|
|
|
1
|
-
import type { BaseContract,
|
|
2
|
-
import type {
|
|
3
|
-
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent } from "./common";
|
|
1
|
+
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
|
+
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "./common";
|
|
5
3
|
export declare namespace IPerpetualOrder {
|
|
6
4
|
type OrderStruct = {
|
|
7
5
|
leverageTDR: BigNumberish;
|
|
8
6
|
brokerFeeTbps: BigNumberish;
|
|
9
7
|
iPerpetualId: BigNumberish;
|
|
10
|
-
traderAddr:
|
|
8
|
+
traderAddr: AddressLike;
|
|
11
9
|
executionTimestamp: BigNumberish;
|
|
12
|
-
brokerAddr:
|
|
10
|
+
brokerAddr: AddressLike;
|
|
13
11
|
submittedTimestamp: BigNumberish;
|
|
14
12
|
flags: BigNumberish;
|
|
15
13
|
iDeadline: BigNumberish;
|
|
16
|
-
executorAddr:
|
|
14
|
+
executorAddr: AddressLike;
|
|
17
15
|
fAmount: BigNumberish;
|
|
18
16
|
fLimitPrice: BigNumberish;
|
|
19
17
|
fTriggerPrice: BigNumberish;
|
|
20
18
|
brokerSignature: BytesLike;
|
|
21
19
|
};
|
|
22
20
|
type OrderStructOutput = [
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
string,
|
|
27
|
-
|
|
28
|
-
string,
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
string,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
string
|
|
21
|
+
leverageTDR: bigint,
|
|
22
|
+
brokerFeeTbps: bigint,
|
|
23
|
+
iPerpetualId: bigint,
|
|
24
|
+
traderAddr: string,
|
|
25
|
+
executionTimestamp: bigint,
|
|
26
|
+
brokerAddr: string,
|
|
27
|
+
submittedTimestamp: bigint,
|
|
28
|
+
flags: bigint,
|
|
29
|
+
iDeadline: bigint,
|
|
30
|
+
executorAddr: string,
|
|
31
|
+
fAmount: bigint,
|
|
32
|
+
fLimitPrice: bigint,
|
|
33
|
+
fTriggerPrice: bigint,
|
|
34
|
+
brokerSignature: string
|
|
37
35
|
] & {
|
|
38
|
-
leverageTDR:
|
|
39
|
-
brokerFeeTbps:
|
|
40
|
-
iPerpetualId:
|
|
36
|
+
leverageTDR: bigint;
|
|
37
|
+
brokerFeeTbps: bigint;
|
|
38
|
+
iPerpetualId: bigint;
|
|
41
39
|
traderAddr: string;
|
|
42
|
-
executionTimestamp:
|
|
40
|
+
executionTimestamp: bigint;
|
|
43
41
|
brokerAddr: string;
|
|
44
|
-
submittedTimestamp:
|
|
45
|
-
flags:
|
|
46
|
-
iDeadline:
|
|
42
|
+
submittedTimestamp: bigint;
|
|
43
|
+
flags: bigint;
|
|
44
|
+
iDeadline: bigint;
|
|
47
45
|
executorAddr: string;
|
|
48
|
-
fAmount:
|
|
49
|
-
fLimitPrice:
|
|
50
|
-
fTriggerPrice:
|
|
46
|
+
fAmount: bigint;
|
|
47
|
+
fLimitPrice: bigint;
|
|
48
|
+
fTriggerPrice: bigint;
|
|
51
49
|
brokerSignature: string;
|
|
52
50
|
};
|
|
53
51
|
}
|
|
54
|
-
export interface PerpetualManagerProxyInterface extends
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"getModuleImplementationAddress(string)": FunctionFragment;
|
|
58
|
-
"getProxyOwner()": FunctionFragment;
|
|
59
|
-
"governance()": FunctionFragment;
|
|
60
|
-
"maintainer()": FunctionFragment;
|
|
61
|
-
"pause()": FunctionFragment;
|
|
62
|
-
"paused()": FunctionFragment;
|
|
63
|
-
"setImplementation(address)": FunctionFragment;
|
|
64
|
-
"setImplementationCrossModules(address)": FunctionFragment;
|
|
65
|
-
"setProxyOwner(address)": FunctionFragment;
|
|
66
|
-
"transferGovernance(address)": FunctionFragment;
|
|
67
|
-
"transferMaintainer(address)": FunctionFragment;
|
|
68
|
-
"unpause()": FunctionFragment;
|
|
69
|
-
};
|
|
70
|
-
getFunction(nameOrSignatureOrTopic: "getImplementation" | "getModuleImplementationAddress" | "getProxyOwner" | "governance" | "maintainer" | "pause" | "paused" | "setImplementation" | "setImplementationCrossModules" | "setProxyOwner" | "transferGovernance" | "transferMaintainer" | "unpause"): FunctionFragment;
|
|
52
|
+
export interface PerpetualManagerProxyInterface extends Interface {
|
|
53
|
+
getFunction(nameOrSignature: "getImplementation" | "getModuleImplementationAddress" | "getProxyOwner" | "governance" | "maintainer" | "pause" | "paused" | "setImplementation" | "setImplementationCrossModules" | "setProxyOwner" | "transferGovernance" | "transferMaintainer" | "unpause"): FunctionFragment;
|
|
54
|
+
getEvent(nameOrSignatureOrTopic: "BrokerLotsTransferred" | "BrokerVolumeTransferred" | "Clear" | "DistributeFees" | "GovernanceTransferred" | "ImplementationChanged" | "Liquidate" | "LiquidityAdded" | "LiquidityPoolCreated" | "LiquidityProvisionPaused" | "LiquidityRemoved" | "LiquidityWithdrawalInitiated" | "MaintainerTransferred" | "Paused" | "PerpetualCreated" | "PerpetualLimitOrderCancelled" | "ProxyOwnershipTransferred" | "RunLiquidityPool" | "SetBlockDelay" | "SetBrokerDesignations" | "SetBrokerTiers" | "SetBrokerVolumeTiers" | "SetClearedState" | "SetDelegate" | "SetEmergencyState" | "SetNormalState" | "SetOracles" | "SetParameter" | "SetParameterPair" | "SetPerpetualBaseParameters" | "SetPerpetualRiskParameters" | "SetPoolParameter" | "SetTraderTiers" | "SetTraderVolumeTiers" | "SetUtilityToken" | "Settle" | "SettleState" | "SettlementComplete" | "TokensDeposited" | "TokensWithdrawn" | "Trade" | "TransferAddressTo" | "Unpaused" | "UpdateBrokerAddedCash" | "UpdateFundingRate" | "UpdateMarginAccount" | "UpdateMarkPrice"): EventFragment;
|
|
71
55
|
encodeFunctionData(functionFragment: "getImplementation", values: [BytesLike]): string;
|
|
72
56
|
encodeFunctionData(functionFragment: "getModuleImplementationAddress", values: [string]): string;
|
|
73
57
|
encodeFunctionData(functionFragment: "getProxyOwner", values?: undefined): string;
|
|
@@ -75,11 +59,11 @@ export interface PerpetualManagerProxyInterface extends utils.Interface {
|
|
|
75
59
|
encodeFunctionData(functionFragment: "maintainer", values?: undefined): string;
|
|
76
60
|
encodeFunctionData(functionFragment: "pause", values?: undefined): string;
|
|
77
61
|
encodeFunctionData(functionFragment: "paused", values?: undefined): string;
|
|
78
|
-
encodeFunctionData(functionFragment: "setImplementation", values: [
|
|
79
|
-
encodeFunctionData(functionFragment: "setImplementationCrossModules", values: [
|
|
80
|
-
encodeFunctionData(functionFragment: "setProxyOwner", values: [
|
|
81
|
-
encodeFunctionData(functionFragment: "transferGovernance", values: [
|
|
82
|
-
encodeFunctionData(functionFragment: "transferMaintainer", values: [
|
|
62
|
+
encodeFunctionData(functionFragment: "setImplementation", values: [AddressLike]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "setImplementationCrossModules", values: [AddressLike]): string;
|
|
64
|
+
encodeFunctionData(functionFragment: "setProxyOwner", values: [AddressLike]): string;
|
|
65
|
+
encodeFunctionData(functionFragment: "transferGovernance", values: [AddressLike]): string;
|
|
66
|
+
encodeFunctionData(functionFragment: "transferMaintainer", values: [AddressLike]): string;
|
|
83
67
|
encodeFunctionData(functionFragment: "unpause", values?: undefined): string;
|
|
84
68
|
decodeFunctionResult(functionFragment: "getImplementation", data: BytesLike): Result;
|
|
85
69
|
decodeFunctionResult(functionFragment: "getModuleImplementationAddress", data: BytesLike): Result;
|
|
@@ -94,846 +78,1070 @@ export interface PerpetualManagerProxyInterface extends utils.Interface {
|
|
|
94
78
|
decodeFunctionResult(functionFragment: "transferGovernance", data: BytesLike): Result;
|
|
95
79
|
decodeFunctionResult(functionFragment: "transferMaintainer", data: BytesLike): Result;
|
|
96
80
|
decodeFunctionResult(functionFragment: "unpause", data: BytesLike): Result;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
}
|
|
200
|
-
export
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
]
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
export
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
]
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}
|
|
423
|
-
export
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
}
|
|
469
|
-
export
|
|
470
|
-
|
|
471
|
-
],
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
],
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
]
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
export
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
export
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
]
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
}
|
|
584
|
-
export
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
]
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
]
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
export
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
81
|
+
}
|
|
82
|
+
export declare namespace BrokerLotsTransferredEvent {
|
|
83
|
+
type InputTuple = [
|
|
84
|
+
poolId: BigNumberish,
|
|
85
|
+
oldOwner: AddressLike,
|
|
86
|
+
newOwner: AddressLike,
|
|
87
|
+
numLots: BigNumberish
|
|
88
|
+
];
|
|
89
|
+
type OutputTuple = [
|
|
90
|
+
poolId: bigint,
|
|
91
|
+
oldOwner: string,
|
|
92
|
+
newOwner: string,
|
|
93
|
+
numLots: bigint
|
|
94
|
+
];
|
|
95
|
+
interface OutputObject {
|
|
96
|
+
poolId: bigint;
|
|
97
|
+
oldOwner: string;
|
|
98
|
+
newOwner: string;
|
|
99
|
+
numLots: bigint;
|
|
100
|
+
}
|
|
101
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
102
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
103
|
+
type Log = TypedEventLog<Event>;
|
|
104
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
105
|
+
}
|
|
106
|
+
export declare namespace BrokerVolumeTransferredEvent {
|
|
107
|
+
type InputTuple = [
|
|
108
|
+
poolId: BigNumberish,
|
|
109
|
+
oldOwner: AddressLike,
|
|
110
|
+
newOwner: AddressLike,
|
|
111
|
+
fVolume: BigNumberish
|
|
112
|
+
];
|
|
113
|
+
type OutputTuple = [
|
|
114
|
+
poolId: bigint,
|
|
115
|
+
oldOwner: string,
|
|
116
|
+
newOwner: string,
|
|
117
|
+
fVolume: bigint
|
|
118
|
+
];
|
|
119
|
+
interface OutputObject {
|
|
120
|
+
poolId: bigint;
|
|
121
|
+
oldOwner: string;
|
|
122
|
+
newOwner: string;
|
|
123
|
+
fVolume: bigint;
|
|
124
|
+
}
|
|
125
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
126
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
127
|
+
type Log = TypedEventLog<Event>;
|
|
128
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
129
|
+
}
|
|
130
|
+
export declare namespace ClearEvent {
|
|
131
|
+
type InputTuple = [perpetualId: BigNumberish, trader: AddressLike];
|
|
132
|
+
type OutputTuple = [perpetualId: bigint, trader: string];
|
|
133
|
+
interface OutputObject {
|
|
134
|
+
perpetualId: bigint;
|
|
135
|
+
trader: string;
|
|
136
|
+
}
|
|
137
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
138
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
139
|
+
type Log = TypedEventLog<Event>;
|
|
140
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
141
|
+
}
|
|
142
|
+
export declare namespace DistributeFeesEvent {
|
|
143
|
+
type InputTuple = [
|
|
144
|
+
poolId: BigNumberish,
|
|
145
|
+
perpetualId: BigNumberish,
|
|
146
|
+
trader: AddressLike,
|
|
147
|
+
protocolFeeCC: BigNumberish,
|
|
148
|
+
participationFundFeeCC: BigNumberish
|
|
149
|
+
];
|
|
150
|
+
type OutputTuple = [
|
|
151
|
+
poolId: bigint,
|
|
152
|
+
perpetualId: bigint,
|
|
153
|
+
trader: string,
|
|
154
|
+
protocolFeeCC: bigint,
|
|
155
|
+
participationFundFeeCC: bigint
|
|
156
|
+
];
|
|
157
|
+
interface OutputObject {
|
|
158
|
+
poolId: bigint;
|
|
159
|
+
perpetualId: bigint;
|
|
160
|
+
trader: string;
|
|
161
|
+
protocolFeeCC: bigint;
|
|
162
|
+
participationFundFeeCC: bigint;
|
|
163
|
+
}
|
|
164
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
165
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
166
|
+
type Log = TypedEventLog<Event>;
|
|
167
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
168
|
+
}
|
|
169
|
+
export declare namespace GovernanceTransferredEvent {
|
|
170
|
+
type InputTuple = [
|
|
171
|
+
previousGovernance: AddressLike,
|
|
172
|
+
newGovernance: AddressLike
|
|
173
|
+
];
|
|
174
|
+
type OutputTuple = [previousGovernance: string, newGovernance: string];
|
|
175
|
+
interface OutputObject {
|
|
176
|
+
previousGovernance: string;
|
|
177
|
+
newGovernance: string;
|
|
178
|
+
}
|
|
179
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
180
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
181
|
+
type Log = TypedEventLog<Event>;
|
|
182
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
183
|
+
}
|
|
184
|
+
export declare namespace ImplementationChangedEvent {
|
|
185
|
+
type InputTuple = [
|
|
186
|
+
_sig: BytesLike,
|
|
187
|
+
_oldImplementation: AddressLike,
|
|
188
|
+
_newImplementation: AddressLike
|
|
189
|
+
];
|
|
190
|
+
type OutputTuple = [
|
|
191
|
+
_sig: string,
|
|
192
|
+
_oldImplementation: string,
|
|
193
|
+
_newImplementation: string
|
|
194
|
+
];
|
|
195
|
+
interface OutputObject {
|
|
196
|
+
_sig: string;
|
|
197
|
+
_oldImplementation: string;
|
|
198
|
+
_newImplementation: string;
|
|
199
|
+
}
|
|
200
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
201
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
202
|
+
type Log = TypedEventLog<Event>;
|
|
203
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
204
|
+
}
|
|
205
|
+
export declare namespace LiquidateEvent {
|
|
206
|
+
type InputTuple = [
|
|
207
|
+
perpetualId: BigNumberish,
|
|
208
|
+
liquidator: AddressLike,
|
|
209
|
+
trader: AddressLike,
|
|
210
|
+
amountLiquidatedBC: BigNumberish,
|
|
211
|
+
liquidationPrice: BigNumberish,
|
|
212
|
+
newPositionSizeBC: BigNumberish,
|
|
213
|
+
fFeeCC: BigNumberish,
|
|
214
|
+
fPnlCC: BigNumberish
|
|
215
|
+
];
|
|
216
|
+
type OutputTuple = [
|
|
217
|
+
perpetualId: bigint,
|
|
218
|
+
liquidator: string,
|
|
219
|
+
trader: string,
|
|
220
|
+
amountLiquidatedBC: bigint,
|
|
221
|
+
liquidationPrice: bigint,
|
|
222
|
+
newPositionSizeBC: bigint,
|
|
223
|
+
fFeeCC: bigint,
|
|
224
|
+
fPnlCC: bigint
|
|
225
|
+
];
|
|
226
|
+
interface OutputObject {
|
|
227
|
+
perpetualId: bigint;
|
|
228
|
+
liquidator: string;
|
|
229
|
+
trader: string;
|
|
230
|
+
amountLiquidatedBC: bigint;
|
|
231
|
+
liquidationPrice: bigint;
|
|
232
|
+
newPositionSizeBC: bigint;
|
|
233
|
+
fFeeCC: bigint;
|
|
234
|
+
fPnlCC: bigint;
|
|
235
|
+
}
|
|
236
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
237
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
238
|
+
type Log = TypedEventLog<Event>;
|
|
239
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
240
|
+
}
|
|
241
|
+
export declare namespace LiquidityAddedEvent {
|
|
242
|
+
type InputTuple = [
|
|
243
|
+
poolId: BigNumberish,
|
|
244
|
+
user: AddressLike,
|
|
245
|
+
tokenAmount: BigNumberish,
|
|
246
|
+
shareAmount: BigNumberish
|
|
247
|
+
];
|
|
248
|
+
type OutputTuple = [
|
|
249
|
+
poolId: bigint,
|
|
250
|
+
user: string,
|
|
251
|
+
tokenAmount: bigint,
|
|
252
|
+
shareAmount: bigint
|
|
253
|
+
];
|
|
254
|
+
interface OutputObject {
|
|
255
|
+
poolId: bigint;
|
|
256
|
+
user: string;
|
|
257
|
+
tokenAmount: bigint;
|
|
258
|
+
shareAmount: bigint;
|
|
259
|
+
}
|
|
260
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
261
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
262
|
+
type Log = TypedEventLog<Event>;
|
|
263
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
264
|
+
}
|
|
265
|
+
export declare namespace LiquidityPoolCreatedEvent {
|
|
266
|
+
type InputTuple = [
|
|
267
|
+
id: BigNumberish,
|
|
268
|
+
marginTokenAddress: AddressLike,
|
|
269
|
+
shareTokenAddress: AddressLike,
|
|
270
|
+
iTargetPoolSizeUpdateTime: BigNumberish,
|
|
271
|
+
fBrokerCollateralLotSize: BigNumberish
|
|
272
|
+
];
|
|
273
|
+
type OutputTuple = [
|
|
274
|
+
id: bigint,
|
|
275
|
+
marginTokenAddress: string,
|
|
276
|
+
shareTokenAddress: string,
|
|
277
|
+
iTargetPoolSizeUpdateTime: bigint,
|
|
278
|
+
fBrokerCollateralLotSize: bigint
|
|
279
|
+
];
|
|
280
|
+
interface OutputObject {
|
|
281
|
+
id: bigint;
|
|
282
|
+
marginTokenAddress: string;
|
|
283
|
+
shareTokenAddress: string;
|
|
284
|
+
iTargetPoolSizeUpdateTime: bigint;
|
|
285
|
+
fBrokerCollateralLotSize: bigint;
|
|
286
|
+
}
|
|
287
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
288
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
289
|
+
type Log = TypedEventLog<Event>;
|
|
290
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
291
|
+
}
|
|
292
|
+
export declare namespace LiquidityProvisionPausedEvent {
|
|
293
|
+
type InputTuple = [pauseOn: boolean, poolId: BigNumberish];
|
|
294
|
+
type OutputTuple = [pauseOn: boolean, poolId: bigint];
|
|
295
|
+
interface OutputObject {
|
|
296
|
+
pauseOn: boolean;
|
|
297
|
+
poolId: bigint;
|
|
298
|
+
}
|
|
299
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
300
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
301
|
+
type Log = TypedEventLog<Event>;
|
|
302
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
303
|
+
}
|
|
304
|
+
export declare namespace LiquidityRemovedEvent {
|
|
305
|
+
type InputTuple = [
|
|
306
|
+
poolId: BigNumberish,
|
|
307
|
+
user: AddressLike,
|
|
308
|
+
tokenAmount: BigNumberish,
|
|
309
|
+
shareAmount: BigNumberish
|
|
310
|
+
];
|
|
311
|
+
type OutputTuple = [
|
|
312
|
+
poolId: bigint,
|
|
313
|
+
user: string,
|
|
314
|
+
tokenAmount: bigint,
|
|
315
|
+
shareAmount: bigint
|
|
316
|
+
];
|
|
317
|
+
interface OutputObject {
|
|
318
|
+
poolId: bigint;
|
|
319
|
+
user: string;
|
|
320
|
+
tokenAmount: bigint;
|
|
321
|
+
shareAmount: bigint;
|
|
322
|
+
}
|
|
323
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
324
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
325
|
+
type Log = TypedEventLog<Event>;
|
|
326
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
327
|
+
}
|
|
328
|
+
export declare namespace LiquidityWithdrawalInitiatedEvent {
|
|
329
|
+
type InputTuple = [
|
|
330
|
+
poolId: BigNumberish,
|
|
331
|
+
user: AddressLike,
|
|
332
|
+
shareAmount: BigNumberish
|
|
333
|
+
];
|
|
334
|
+
type OutputTuple = [poolId: bigint, user: string, shareAmount: bigint];
|
|
335
|
+
interface OutputObject {
|
|
336
|
+
poolId: bigint;
|
|
337
|
+
user: string;
|
|
338
|
+
shareAmount: bigint;
|
|
339
|
+
}
|
|
340
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
341
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
342
|
+
type Log = TypedEventLog<Event>;
|
|
343
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
344
|
+
}
|
|
345
|
+
export declare namespace MaintainerTransferredEvent {
|
|
346
|
+
type InputTuple = [
|
|
347
|
+
previousMaintainer: AddressLike,
|
|
348
|
+
newMaintainer: AddressLike
|
|
349
|
+
];
|
|
350
|
+
type OutputTuple = [previousMaintainer: string, newMaintainer: string];
|
|
351
|
+
interface OutputObject {
|
|
352
|
+
previousMaintainer: string;
|
|
353
|
+
newMaintainer: string;
|
|
354
|
+
}
|
|
355
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
356
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
357
|
+
type Log = TypedEventLog<Event>;
|
|
358
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
359
|
+
}
|
|
360
|
+
export declare namespace PausedEvent {
|
|
361
|
+
type InputTuple = [account: AddressLike];
|
|
362
|
+
type OutputTuple = [account: string];
|
|
363
|
+
interface OutputObject {
|
|
364
|
+
account: string;
|
|
365
|
+
}
|
|
366
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
367
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
368
|
+
type Log = TypedEventLog<Event>;
|
|
369
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
370
|
+
}
|
|
371
|
+
export declare namespace PerpetualCreatedEvent {
|
|
372
|
+
type InputTuple = [
|
|
373
|
+
poolId: BigNumberish,
|
|
374
|
+
id: BigNumberish,
|
|
375
|
+
baseParams: BigNumberish[],
|
|
376
|
+
underlyingRiskParams: [
|
|
377
|
+
BigNumberish,
|
|
378
|
+
BigNumberish,
|
|
379
|
+
BigNumberish,
|
|
380
|
+
BigNumberish,
|
|
381
|
+
BigNumberish
|
|
382
|
+
],
|
|
383
|
+
defaultFundRiskParams: BigNumberish[],
|
|
384
|
+
eCollateralCurrency: BigNumberish
|
|
385
|
+
];
|
|
386
|
+
type OutputTuple = [
|
|
387
|
+
poolId: bigint,
|
|
388
|
+
id: bigint,
|
|
389
|
+
baseParams: bigint[],
|
|
390
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint],
|
|
391
|
+
defaultFundRiskParams: bigint[],
|
|
392
|
+
eCollateralCurrency: bigint
|
|
393
|
+
];
|
|
394
|
+
interface OutputObject {
|
|
395
|
+
poolId: bigint;
|
|
396
|
+
id: bigint;
|
|
397
|
+
baseParams: bigint[];
|
|
398
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint];
|
|
399
|
+
defaultFundRiskParams: bigint[];
|
|
400
|
+
eCollateralCurrency: bigint;
|
|
401
|
+
}
|
|
402
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
403
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
404
|
+
type Log = TypedEventLog<Event>;
|
|
405
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
406
|
+
}
|
|
407
|
+
export declare namespace PerpetualLimitOrderCancelledEvent {
|
|
408
|
+
type InputTuple = [perpetualId: BigNumberish, orderHash: BytesLike];
|
|
409
|
+
type OutputTuple = [perpetualId: bigint, orderHash: string];
|
|
410
|
+
interface OutputObject {
|
|
411
|
+
perpetualId: bigint;
|
|
412
|
+
orderHash: string;
|
|
413
|
+
}
|
|
414
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
415
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
416
|
+
type Log = TypedEventLog<Event>;
|
|
417
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
418
|
+
}
|
|
419
|
+
export declare namespace ProxyOwnershipTransferredEvent {
|
|
420
|
+
type InputTuple = [_oldOwner: AddressLike, _newOwner: AddressLike];
|
|
421
|
+
type OutputTuple = [_oldOwner: string, _newOwner: string];
|
|
422
|
+
interface OutputObject {
|
|
423
|
+
_oldOwner: string;
|
|
424
|
+
_newOwner: string;
|
|
425
|
+
}
|
|
426
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
427
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
428
|
+
type Log = TypedEventLog<Event>;
|
|
429
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
430
|
+
}
|
|
431
|
+
export declare namespace RunLiquidityPoolEvent {
|
|
432
|
+
type InputTuple = [_liqPoolID: BigNumberish];
|
|
433
|
+
type OutputTuple = [_liqPoolID: bigint];
|
|
434
|
+
interface OutputObject {
|
|
435
|
+
_liqPoolID: bigint;
|
|
436
|
+
}
|
|
437
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
438
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
439
|
+
type Log = TypedEventLog<Event>;
|
|
440
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
441
|
+
}
|
|
442
|
+
export declare namespace SetBlockDelayEvent {
|
|
443
|
+
type InputTuple = [delay: BigNumberish];
|
|
444
|
+
type OutputTuple = [delay: bigint];
|
|
445
|
+
interface OutputObject {
|
|
446
|
+
delay: bigint;
|
|
447
|
+
}
|
|
448
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
449
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
450
|
+
type Log = TypedEventLog<Event>;
|
|
451
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
452
|
+
}
|
|
453
|
+
export declare namespace SetBrokerDesignationsEvent {
|
|
454
|
+
type InputTuple = [designations: BigNumberish[], fees: BigNumberish[]];
|
|
455
|
+
type OutputTuple = [designations: bigint[], fees: bigint[]];
|
|
456
|
+
interface OutputObject {
|
|
457
|
+
designations: bigint[];
|
|
458
|
+
fees: bigint[];
|
|
459
|
+
}
|
|
460
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
461
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
462
|
+
type Log = TypedEventLog<Event>;
|
|
463
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
464
|
+
}
|
|
465
|
+
export declare namespace SetBrokerTiersEvent {
|
|
466
|
+
type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
467
|
+
type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
468
|
+
interface OutputObject {
|
|
469
|
+
tiers: bigint[];
|
|
470
|
+
feesTbps: bigint[];
|
|
471
|
+
}
|
|
472
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
473
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
474
|
+
type Log = TypedEventLog<Event>;
|
|
475
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
476
|
+
}
|
|
477
|
+
export declare namespace SetBrokerVolumeTiersEvent {
|
|
478
|
+
type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
479
|
+
type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
480
|
+
interface OutputObject {
|
|
481
|
+
tiers: bigint[];
|
|
482
|
+
feesTbps: bigint[];
|
|
483
|
+
}
|
|
484
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
485
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
486
|
+
type Log = TypedEventLog<Event>;
|
|
487
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
488
|
+
}
|
|
489
|
+
export declare namespace SetClearedStateEvent {
|
|
490
|
+
type InputTuple = [perpetualId: BigNumberish];
|
|
491
|
+
type OutputTuple = [perpetualId: bigint];
|
|
492
|
+
interface OutputObject {
|
|
493
|
+
perpetualId: bigint;
|
|
494
|
+
}
|
|
495
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
496
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
497
|
+
type Log = TypedEventLog<Event>;
|
|
498
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
499
|
+
}
|
|
500
|
+
export declare namespace SetDelegateEvent {
|
|
501
|
+
type InputTuple = [trader: AddressLike, delegate: AddressLike];
|
|
502
|
+
type OutputTuple = [trader: string, delegate: string];
|
|
503
|
+
interface OutputObject {
|
|
504
|
+
trader: string;
|
|
505
|
+
delegate: string;
|
|
506
|
+
}
|
|
507
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
508
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
509
|
+
type Log = TypedEventLog<Event>;
|
|
510
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
511
|
+
}
|
|
512
|
+
export declare namespace SetEmergencyStateEvent {
|
|
513
|
+
type InputTuple = [
|
|
514
|
+
perpetualId: BigNumberish,
|
|
515
|
+
fSettlementMarkPremiumRate: BigNumberish,
|
|
516
|
+
fSettlementS2Price: BigNumberish,
|
|
517
|
+
fSettlementS3Price: BigNumberish
|
|
518
|
+
];
|
|
519
|
+
type OutputTuple = [
|
|
520
|
+
perpetualId: bigint,
|
|
521
|
+
fSettlementMarkPremiumRate: bigint,
|
|
522
|
+
fSettlementS2Price: bigint,
|
|
523
|
+
fSettlementS3Price: bigint
|
|
524
|
+
];
|
|
525
|
+
interface OutputObject {
|
|
526
|
+
perpetualId: bigint;
|
|
527
|
+
fSettlementMarkPremiumRate: bigint;
|
|
528
|
+
fSettlementS2Price: bigint;
|
|
529
|
+
fSettlementS3Price: bigint;
|
|
530
|
+
}
|
|
531
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
532
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
533
|
+
type Log = TypedEventLog<Event>;
|
|
534
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
535
|
+
}
|
|
536
|
+
export declare namespace SetNormalStateEvent {
|
|
537
|
+
type InputTuple = [perpetualId: BigNumberish];
|
|
538
|
+
type OutputTuple = [perpetualId: bigint];
|
|
539
|
+
interface OutputObject {
|
|
540
|
+
perpetualId: bigint;
|
|
541
|
+
}
|
|
542
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
543
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
544
|
+
type Log = TypedEventLog<Event>;
|
|
545
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
546
|
+
}
|
|
547
|
+
export declare namespace SetOraclesEvent {
|
|
548
|
+
type InputTuple = [
|
|
549
|
+
perpetualId: BigNumberish,
|
|
550
|
+
baseQuoteS2: [BytesLike, BytesLike],
|
|
551
|
+
baseQuoteS3: [BytesLike, BytesLike]
|
|
552
|
+
];
|
|
553
|
+
type OutputTuple = [
|
|
554
|
+
perpetualId: bigint,
|
|
555
|
+
baseQuoteS2: [string, string],
|
|
556
|
+
baseQuoteS3: [string, string]
|
|
557
|
+
];
|
|
558
|
+
interface OutputObject {
|
|
559
|
+
perpetualId: bigint;
|
|
560
|
+
baseQuoteS2: [string, string];
|
|
561
|
+
baseQuoteS3: [string, string];
|
|
562
|
+
}
|
|
563
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
564
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
565
|
+
type Log = TypedEventLog<Event>;
|
|
566
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
567
|
+
}
|
|
568
|
+
export declare namespace SetParameterEvent {
|
|
569
|
+
type InputTuple = [
|
|
570
|
+
perpetualId: BigNumberish,
|
|
571
|
+
name: string,
|
|
572
|
+
value: BigNumberish
|
|
573
|
+
];
|
|
574
|
+
type OutputTuple = [perpetualId: bigint, name: string, value: bigint];
|
|
575
|
+
interface OutputObject {
|
|
576
|
+
perpetualId: bigint;
|
|
577
|
+
name: string;
|
|
578
|
+
value: bigint;
|
|
579
|
+
}
|
|
580
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
581
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
582
|
+
type Log = TypedEventLog<Event>;
|
|
583
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
584
|
+
}
|
|
585
|
+
export declare namespace SetParameterPairEvent {
|
|
586
|
+
type InputTuple = [
|
|
587
|
+
perpetualId: BigNumberish,
|
|
588
|
+
name: string,
|
|
589
|
+
value1: BigNumberish,
|
|
590
|
+
value2: BigNumberish
|
|
591
|
+
];
|
|
592
|
+
type OutputTuple = [
|
|
593
|
+
perpetualId: bigint,
|
|
594
|
+
name: string,
|
|
595
|
+
value1: bigint,
|
|
596
|
+
value2: bigint
|
|
597
|
+
];
|
|
598
|
+
interface OutputObject {
|
|
599
|
+
perpetualId: bigint;
|
|
600
|
+
name: string;
|
|
601
|
+
value1: bigint;
|
|
602
|
+
value2: bigint;
|
|
603
|
+
}
|
|
604
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
605
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
606
|
+
type Log = TypedEventLog<Event>;
|
|
607
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
608
|
+
}
|
|
609
|
+
export declare namespace SetPerpetualBaseParametersEvent {
|
|
610
|
+
type InputTuple = [
|
|
611
|
+
perpetualId: BigNumberish,
|
|
612
|
+
baseParams: BigNumberish[]
|
|
613
|
+
];
|
|
614
|
+
type OutputTuple = [perpetualId: bigint, baseParams: bigint[]];
|
|
615
|
+
interface OutputObject {
|
|
616
|
+
perpetualId: bigint;
|
|
617
|
+
baseParams: bigint[];
|
|
618
|
+
}
|
|
619
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
620
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
621
|
+
type Log = TypedEventLog<Event>;
|
|
622
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
623
|
+
}
|
|
624
|
+
export declare namespace SetPerpetualRiskParametersEvent {
|
|
625
|
+
type InputTuple = [
|
|
626
|
+
perpetualId: BigNumberish,
|
|
627
|
+
underlyingRiskParams: [
|
|
628
|
+
BigNumberish,
|
|
629
|
+
BigNumberish,
|
|
630
|
+
BigNumberish,
|
|
631
|
+
BigNumberish,
|
|
632
|
+
BigNumberish
|
|
633
|
+
],
|
|
634
|
+
defaultFundRiskParams: BigNumberish[]
|
|
635
|
+
];
|
|
636
|
+
type OutputTuple = [
|
|
637
|
+
perpetualId: bigint,
|
|
638
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint],
|
|
639
|
+
defaultFundRiskParams: bigint[]
|
|
640
|
+
];
|
|
641
|
+
interface OutputObject {
|
|
642
|
+
perpetualId: bigint;
|
|
643
|
+
underlyingRiskParams: [bigint, bigint, bigint, bigint, bigint];
|
|
644
|
+
defaultFundRiskParams: bigint[];
|
|
645
|
+
}
|
|
646
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
647
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
648
|
+
type Log = TypedEventLog<Event>;
|
|
649
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
650
|
+
}
|
|
651
|
+
export declare namespace SetPoolParameterEvent {
|
|
652
|
+
type InputTuple = [
|
|
653
|
+
poolId: BigNumberish,
|
|
654
|
+
name: string,
|
|
655
|
+
value: BigNumberish
|
|
656
|
+
];
|
|
657
|
+
type OutputTuple = [poolId: bigint, name: string, value: bigint];
|
|
658
|
+
interface OutputObject {
|
|
659
|
+
poolId: bigint;
|
|
660
|
+
name: string;
|
|
661
|
+
value: bigint;
|
|
662
|
+
}
|
|
663
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
664
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
665
|
+
type Log = TypedEventLog<Event>;
|
|
666
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
667
|
+
}
|
|
668
|
+
export declare namespace SetTraderTiersEvent {
|
|
669
|
+
type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
670
|
+
type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
671
|
+
interface OutputObject {
|
|
672
|
+
tiers: bigint[];
|
|
673
|
+
feesTbps: bigint[];
|
|
674
|
+
}
|
|
675
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
676
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
677
|
+
type Log = TypedEventLog<Event>;
|
|
678
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
679
|
+
}
|
|
680
|
+
export declare namespace SetTraderVolumeTiersEvent {
|
|
681
|
+
type InputTuple = [tiers: BigNumberish[], feesTbps: BigNumberish[]];
|
|
682
|
+
type OutputTuple = [tiers: bigint[], feesTbps: bigint[]];
|
|
683
|
+
interface OutputObject {
|
|
684
|
+
tiers: bigint[];
|
|
685
|
+
feesTbps: bigint[];
|
|
686
|
+
}
|
|
687
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
688
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
689
|
+
type Log = TypedEventLog<Event>;
|
|
690
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
691
|
+
}
|
|
692
|
+
export declare namespace SetUtilityTokenEvent {
|
|
693
|
+
type InputTuple = [tokenAddr: AddressLike];
|
|
694
|
+
type OutputTuple = [tokenAddr: string];
|
|
695
|
+
interface OutputObject {
|
|
696
|
+
tokenAddr: string;
|
|
697
|
+
}
|
|
698
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
699
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
700
|
+
type Log = TypedEventLog<Event>;
|
|
701
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
702
|
+
}
|
|
703
|
+
export declare namespace SettleEvent {
|
|
704
|
+
type InputTuple = [
|
|
705
|
+
perpetualId: BigNumberish,
|
|
706
|
+
trader: AddressLike,
|
|
707
|
+
amount: BigNumberish
|
|
708
|
+
];
|
|
709
|
+
type OutputTuple = [
|
|
710
|
+
perpetualId: bigint,
|
|
711
|
+
trader: string,
|
|
712
|
+
amount: bigint
|
|
713
|
+
];
|
|
714
|
+
interface OutputObject {
|
|
715
|
+
perpetualId: bigint;
|
|
716
|
+
trader: string;
|
|
717
|
+
amount: bigint;
|
|
718
|
+
}
|
|
719
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
720
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
721
|
+
type Log = TypedEventLog<Event>;
|
|
722
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
723
|
+
}
|
|
724
|
+
export declare namespace SettleStateEvent {
|
|
725
|
+
type InputTuple = [perpetualId: BigNumberish];
|
|
726
|
+
type OutputTuple = [perpetualId: bigint];
|
|
727
|
+
interface OutputObject {
|
|
728
|
+
perpetualId: bigint;
|
|
729
|
+
}
|
|
730
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
731
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
732
|
+
type Log = TypedEventLog<Event>;
|
|
733
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
734
|
+
}
|
|
735
|
+
export declare namespace SettlementCompleteEvent {
|
|
736
|
+
type InputTuple = [perpetualId: BigNumberish];
|
|
737
|
+
type OutputTuple = [perpetualId: bigint];
|
|
738
|
+
interface OutputObject {
|
|
739
|
+
perpetualId: bigint;
|
|
740
|
+
}
|
|
741
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
742
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
743
|
+
type Log = TypedEventLog<Event>;
|
|
744
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
745
|
+
}
|
|
746
|
+
export declare namespace TokensDepositedEvent {
|
|
747
|
+
type InputTuple = [
|
|
748
|
+
perpetualId: BigNumberish,
|
|
749
|
+
trader: AddressLike,
|
|
750
|
+
amount: BigNumberish
|
|
751
|
+
];
|
|
752
|
+
type OutputTuple = [
|
|
753
|
+
perpetualId: bigint,
|
|
754
|
+
trader: string,
|
|
755
|
+
amount: bigint
|
|
756
|
+
];
|
|
757
|
+
interface OutputObject {
|
|
758
|
+
perpetualId: bigint;
|
|
759
|
+
trader: string;
|
|
760
|
+
amount: bigint;
|
|
761
|
+
}
|
|
762
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
763
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
764
|
+
type Log = TypedEventLog<Event>;
|
|
765
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
766
|
+
}
|
|
767
|
+
export declare namespace TokensWithdrawnEvent {
|
|
768
|
+
type InputTuple = [
|
|
769
|
+
perpetualId: BigNumberish,
|
|
770
|
+
trader: AddressLike,
|
|
771
|
+
amount: BigNumberish
|
|
772
|
+
];
|
|
773
|
+
type OutputTuple = [
|
|
774
|
+
perpetualId: bigint,
|
|
775
|
+
trader: string,
|
|
776
|
+
amount: bigint
|
|
777
|
+
];
|
|
778
|
+
interface OutputObject {
|
|
779
|
+
perpetualId: bigint;
|
|
780
|
+
trader: string;
|
|
781
|
+
amount: bigint;
|
|
782
|
+
}
|
|
783
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
784
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
785
|
+
type Log = TypedEventLog<Event>;
|
|
786
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
787
|
+
}
|
|
788
|
+
export declare namespace TradeEvent {
|
|
789
|
+
type InputTuple = [
|
|
790
|
+
perpetualId: BigNumberish,
|
|
791
|
+
trader: AddressLike,
|
|
792
|
+
order: IPerpetualOrder.OrderStruct,
|
|
793
|
+
orderDigest: BytesLike,
|
|
794
|
+
newPositionSizeBC: BigNumberish,
|
|
795
|
+
price: BigNumberish,
|
|
796
|
+
fFeeCC: BigNumberish,
|
|
797
|
+
fPnlCC: BigNumberish,
|
|
798
|
+
fB2C: BigNumberish
|
|
799
|
+
];
|
|
800
|
+
type OutputTuple = [
|
|
801
|
+
perpetualId: bigint,
|
|
802
|
+
trader: string,
|
|
803
|
+
order: IPerpetualOrder.OrderStructOutput,
|
|
804
|
+
orderDigest: string,
|
|
805
|
+
newPositionSizeBC: bigint,
|
|
806
|
+
price: bigint,
|
|
807
|
+
fFeeCC: bigint,
|
|
808
|
+
fPnlCC: bigint,
|
|
809
|
+
fB2C: bigint
|
|
810
|
+
];
|
|
811
|
+
interface OutputObject {
|
|
812
|
+
perpetualId: bigint;
|
|
813
|
+
trader: string;
|
|
814
|
+
order: IPerpetualOrder.OrderStructOutput;
|
|
815
|
+
orderDigest: string;
|
|
816
|
+
newPositionSizeBC: bigint;
|
|
817
|
+
price: bigint;
|
|
818
|
+
fFeeCC: bigint;
|
|
819
|
+
fPnlCC: bigint;
|
|
820
|
+
fB2C: bigint;
|
|
821
|
+
}
|
|
822
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
823
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
824
|
+
type Log = TypedEventLog<Event>;
|
|
825
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
826
|
+
}
|
|
827
|
+
export declare namespace TransferAddressToEvent {
|
|
828
|
+
type InputTuple = [
|
|
829
|
+
name: string,
|
|
830
|
+
oldOBFactory: AddressLike,
|
|
831
|
+
newOBFactory: AddressLike
|
|
832
|
+
];
|
|
833
|
+
type OutputTuple = [
|
|
834
|
+
name: string,
|
|
835
|
+
oldOBFactory: string,
|
|
836
|
+
newOBFactory: string
|
|
837
|
+
];
|
|
838
|
+
interface OutputObject {
|
|
839
|
+
name: string;
|
|
840
|
+
oldOBFactory: string;
|
|
841
|
+
newOBFactory: string;
|
|
842
|
+
}
|
|
843
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
844
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
845
|
+
type Log = TypedEventLog<Event>;
|
|
846
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
847
|
+
}
|
|
848
|
+
export declare namespace UnpausedEvent {
|
|
849
|
+
type InputTuple = [account: AddressLike];
|
|
850
|
+
type OutputTuple = [account: string];
|
|
851
|
+
interface OutputObject {
|
|
852
|
+
account: string;
|
|
853
|
+
}
|
|
854
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
855
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
856
|
+
type Log = TypedEventLog<Event>;
|
|
857
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
858
|
+
}
|
|
859
|
+
export declare namespace UpdateBrokerAddedCashEvent {
|
|
860
|
+
type InputTuple = [
|
|
861
|
+
poolId: BigNumberish,
|
|
862
|
+
iLots: BigNumberish,
|
|
863
|
+
iNewBrokerLots: BigNumberish
|
|
864
|
+
];
|
|
865
|
+
type OutputTuple = [
|
|
866
|
+
poolId: bigint,
|
|
867
|
+
iLots: bigint,
|
|
868
|
+
iNewBrokerLots: bigint
|
|
869
|
+
];
|
|
870
|
+
interface OutputObject {
|
|
871
|
+
poolId: bigint;
|
|
872
|
+
iLots: bigint;
|
|
873
|
+
iNewBrokerLots: bigint;
|
|
874
|
+
}
|
|
875
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
876
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
877
|
+
type Log = TypedEventLog<Event>;
|
|
878
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
879
|
+
}
|
|
880
|
+
export declare namespace UpdateFundingRateEvent {
|
|
881
|
+
type InputTuple = [
|
|
882
|
+
perpetualId: BigNumberish,
|
|
883
|
+
fFundingRate: BigNumberish
|
|
884
|
+
];
|
|
885
|
+
type OutputTuple = [perpetualId: bigint, fFundingRate: bigint];
|
|
886
|
+
interface OutputObject {
|
|
887
|
+
perpetualId: bigint;
|
|
888
|
+
fFundingRate: bigint;
|
|
889
|
+
}
|
|
890
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
891
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
892
|
+
type Log = TypedEventLog<Event>;
|
|
893
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
894
|
+
}
|
|
895
|
+
export declare namespace UpdateMarginAccountEvent {
|
|
896
|
+
type InputTuple = [
|
|
897
|
+
perpetualId: BigNumberish,
|
|
898
|
+
trader: AddressLike,
|
|
899
|
+
fFundingPaymentCC: BigNumberish
|
|
900
|
+
];
|
|
901
|
+
type OutputTuple = [
|
|
902
|
+
perpetualId: bigint,
|
|
903
|
+
trader: string,
|
|
904
|
+
fFundingPaymentCC: bigint
|
|
905
|
+
];
|
|
906
|
+
interface OutputObject {
|
|
907
|
+
perpetualId: bigint;
|
|
908
|
+
trader: string;
|
|
909
|
+
fFundingPaymentCC: bigint;
|
|
910
|
+
}
|
|
911
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
912
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
913
|
+
type Log = TypedEventLog<Event>;
|
|
914
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
915
|
+
}
|
|
916
|
+
export declare namespace UpdateMarkPriceEvent {
|
|
917
|
+
type InputTuple = [
|
|
918
|
+
perpetualId: BigNumberish,
|
|
919
|
+
fMidPricePremium: BigNumberish,
|
|
920
|
+
fMarkPricePremium: BigNumberish,
|
|
921
|
+
fSpotIndexPrice: BigNumberish
|
|
922
|
+
];
|
|
923
|
+
type OutputTuple = [
|
|
924
|
+
perpetualId: bigint,
|
|
925
|
+
fMidPricePremium: bigint,
|
|
926
|
+
fMarkPricePremium: bigint,
|
|
927
|
+
fSpotIndexPrice: bigint
|
|
928
|
+
];
|
|
929
|
+
interface OutputObject {
|
|
930
|
+
perpetualId: bigint;
|
|
931
|
+
fMidPricePremium: bigint;
|
|
932
|
+
fMarkPricePremium: bigint;
|
|
933
|
+
fSpotIndexPrice: bigint;
|
|
934
|
+
}
|
|
935
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
936
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
937
|
+
type Log = TypedEventLog<Event>;
|
|
938
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
939
|
+
}
|
|
698
940
|
export interface PerpetualManagerProxy extends BaseContract {
|
|
699
|
-
connect(
|
|
700
|
-
|
|
701
|
-
deployed(): Promise<this>;
|
|
941
|
+
connect(runner?: ContractRunner | null): PerpetualManagerProxy;
|
|
942
|
+
waitForDeployment(): Promise<this>;
|
|
702
943
|
interface: PerpetualManagerProxyInterface;
|
|
703
|
-
queryFilter<
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
944
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
945
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
946
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
947
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
948
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
949
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
950
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
951
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
952
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
953
|
+
getImplementation: TypedContractMethod<[_sig: BytesLike], [string], "view">;
|
|
954
|
+
getModuleImplementationAddress: TypedContractMethod<[
|
|
955
|
+
_moduleName: string
|
|
956
|
+
], [
|
|
957
|
+
string
|
|
958
|
+
], "view">;
|
|
959
|
+
getProxyOwner: TypedContractMethod<[], [string], "view">;
|
|
960
|
+
governance: TypedContractMethod<[], [string], "view">;
|
|
961
|
+
maintainer: TypedContractMethod<[], [string], "view">;
|
|
962
|
+
pause: TypedContractMethod<[], [void], "nonpayable">;
|
|
963
|
+
paused: TypedContractMethod<[], [boolean], "view">;
|
|
964
|
+
setImplementation: TypedContractMethod<[
|
|
965
|
+
_impl: AddressLike
|
|
966
|
+
], [
|
|
967
|
+
void
|
|
968
|
+
], "nonpayable">;
|
|
969
|
+
setImplementationCrossModules: TypedContractMethod<[
|
|
970
|
+
_impl: AddressLike
|
|
971
|
+
], [
|
|
972
|
+
void
|
|
973
|
+
], "nonpayable">;
|
|
974
|
+
setProxyOwner: TypedContractMethod<[
|
|
975
|
+
_owner: AddressLike
|
|
976
|
+
], [
|
|
977
|
+
void
|
|
978
|
+
], "nonpayable">;
|
|
979
|
+
transferGovernance: TypedContractMethod<[
|
|
980
|
+
newGovernance: AddressLike
|
|
981
|
+
], [
|
|
982
|
+
void
|
|
983
|
+
], "nonpayable">;
|
|
984
|
+
transferMaintainer: TypedContractMethod<[
|
|
985
|
+
newMaintainer: AddressLike
|
|
986
|
+
], [
|
|
987
|
+
void
|
|
988
|
+
], "nonpayable">;
|
|
989
|
+
unpause: TypedContractMethod<[], [void], "nonpayable">;
|
|
990
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
991
|
+
getFunction(nameOrSignature: "getImplementation"): TypedContractMethod<[_sig: BytesLike], [string], "view">;
|
|
992
|
+
getFunction(nameOrSignature: "getModuleImplementationAddress"): TypedContractMethod<[_moduleName: string], [string], "view">;
|
|
993
|
+
getFunction(nameOrSignature: "getProxyOwner"): TypedContractMethod<[], [string], "view">;
|
|
994
|
+
getFunction(nameOrSignature: "governance"): TypedContractMethod<[], [string], "view">;
|
|
995
|
+
getFunction(nameOrSignature: "maintainer"): TypedContractMethod<[], [string], "view">;
|
|
996
|
+
getFunction(nameOrSignature: "pause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
997
|
+
getFunction(nameOrSignature: "paused"): TypedContractMethod<[], [boolean], "view">;
|
|
998
|
+
getFunction(nameOrSignature: "setImplementation"): TypedContractMethod<[_impl: AddressLike], [void], "nonpayable">;
|
|
999
|
+
getFunction(nameOrSignature: "setImplementationCrossModules"): TypedContractMethod<[_impl: AddressLike], [void], "nonpayable">;
|
|
1000
|
+
getFunction(nameOrSignature: "setProxyOwner"): TypedContractMethod<[_owner: AddressLike], [void], "nonpayable">;
|
|
1001
|
+
getFunction(nameOrSignature: "transferGovernance"): TypedContractMethod<[newGovernance: AddressLike], [void], "nonpayable">;
|
|
1002
|
+
getFunction(nameOrSignature: "transferMaintainer"): TypedContractMethod<[newMaintainer: AddressLike], [void], "nonpayable">;
|
|
1003
|
+
getFunction(nameOrSignature: "unpause"): TypedContractMethod<[], [void], "nonpayable">;
|
|
1004
|
+
getEvent(key: "BrokerLotsTransferred"): TypedContractEvent<BrokerLotsTransferredEvent.InputTuple, BrokerLotsTransferredEvent.OutputTuple, BrokerLotsTransferredEvent.OutputObject>;
|
|
1005
|
+
getEvent(key: "BrokerVolumeTransferred"): TypedContractEvent<BrokerVolumeTransferredEvent.InputTuple, BrokerVolumeTransferredEvent.OutputTuple, BrokerVolumeTransferredEvent.OutputObject>;
|
|
1006
|
+
getEvent(key: "Clear"): TypedContractEvent<ClearEvent.InputTuple, ClearEvent.OutputTuple, ClearEvent.OutputObject>;
|
|
1007
|
+
getEvent(key: "DistributeFees"): TypedContractEvent<DistributeFeesEvent.InputTuple, DistributeFeesEvent.OutputTuple, DistributeFeesEvent.OutputObject>;
|
|
1008
|
+
getEvent(key: "GovernanceTransferred"): TypedContractEvent<GovernanceTransferredEvent.InputTuple, GovernanceTransferredEvent.OutputTuple, GovernanceTransferredEvent.OutputObject>;
|
|
1009
|
+
getEvent(key: "ImplementationChanged"): TypedContractEvent<ImplementationChangedEvent.InputTuple, ImplementationChangedEvent.OutputTuple, ImplementationChangedEvent.OutputObject>;
|
|
1010
|
+
getEvent(key: "Liquidate"): TypedContractEvent<LiquidateEvent.InputTuple, LiquidateEvent.OutputTuple, LiquidateEvent.OutputObject>;
|
|
1011
|
+
getEvent(key: "LiquidityAdded"): TypedContractEvent<LiquidityAddedEvent.InputTuple, LiquidityAddedEvent.OutputTuple, LiquidityAddedEvent.OutputObject>;
|
|
1012
|
+
getEvent(key: "LiquidityPoolCreated"): TypedContractEvent<LiquidityPoolCreatedEvent.InputTuple, LiquidityPoolCreatedEvent.OutputTuple, LiquidityPoolCreatedEvent.OutputObject>;
|
|
1013
|
+
getEvent(key: "LiquidityProvisionPaused"): TypedContractEvent<LiquidityProvisionPausedEvent.InputTuple, LiquidityProvisionPausedEvent.OutputTuple, LiquidityProvisionPausedEvent.OutputObject>;
|
|
1014
|
+
getEvent(key: "LiquidityRemoved"): TypedContractEvent<LiquidityRemovedEvent.InputTuple, LiquidityRemovedEvent.OutputTuple, LiquidityRemovedEvent.OutputObject>;
|
|
1015
|
+
getEvent(key: "LiquidityWithdrawalInitiated"): TypedContractEvent<LiquidityWithdrawalInitiatedEvent.InputTuple, LiquidityWithdrawalInitiatedEvent.OutputTuple, LiquidityWithdrawalInitiatedEvent.OutputObject>;
|
|
1016
|
+
getEvent(key: "MaintainerTransferred"): TypedContractEvent<MaintainerTransferredEvent.InputTuple, MaintainerTransferredEvent.OutputTuple, MaintainerTransferredEvent.OutputObject>;
|
|
1017
|
+
getEvent(key: "Paused"): TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1018
|
+
getEvent(key: "PerpetualCreated"): TypedContractEvent<PerpetualCreatedEvent.InputTuple, PerpetualCreatedEvent.OutputTuple, PerpetualCreatedEvent.OutputObject>;
|
|
1019
|
+
getEvent(key: "PerpetualLimitOrderCancelled"): TypedContractEvent<PerpetualLimitOrderCancelledEvent.InputTuple, PerpetualLimitOrderCancelledEvent.OutputTuple, PerpetualLimitOrderCancelledEvent.OutputObject>;
|
|
1020
|
+
getEvent(key: "ProxyOwnershipTransferred"): TypedContractEvent<ProxyOwnershipTransferredEvent.InputTuple, ProxyOwnershipTransferredEvent.OutputTuple, ProxyOwnershipTransferredEvent.OutputObject>;
|
|
1021
|
+
getEvent(key: "RunLiquidityPool"): TypedContractEvent<RunLiquidityPoolEvent.InputTuple, RunLiquidityPoolEvent.OutputTuple, RunLiquidityPoolEvent.OutputObject>;
|
|
1022
|
+
getEvent(key: "SetBlockDelay"): TypedContractEvent<SetBlockDelayEvent.InputTuple, SetBlockDelayEvent.OutputTuple, SetBlockDelayEvent.OutputObject>;
|
|
1023
|
+
getEvent(key: "SetBrokerDesignations"): TypedContractEvent<SetBrokerDesignationsEvent.InputTuple, SetBrokerDesignationsEvent.OutputTuple, SetBrokerDesignationsEvent.OutputObject>;
|
|
1024
|
+
getEvent(key: "SetBrokerTiers"): TypedContractEvent<SetBrokerTiersEvent.InputTuple, SetBrokerTiersEvent.OutputTuple, SetBrokerTiersEvent.OutputObject>;
|
|
1025
|
+
getEvent(key: "SetBrokerVolumeTiers"): TypedContractEvent<SetBrokerVolumeTiersEvent.InputTuple, SetBrokerVolumeTiersEvent.OutputTuple, SetBrokerVolumeTiersEvent.OutputObject>;
|
|
1026
|
+
getEvent(key: "SetClearedState"): TypedContractEvent<SetClearedStateEvent.InputTuple, SetClearedStateEvent.OutputTuple, SetClearedStateEvent.OutputObject>;
|
|
1027
|
+
getEvent(key: "SetDelegate"): TypedContractEvent<SetDelegateEvent.InputTuple, SetDelegateEvent.OutputTuple, SetDelegateEvent.OutputObject>;
|
|
1028
|
+
getEvent(key: "SetEmergencyState"): TypedContractEvent<SetEmergencyStateEvent.InputTuple, SetEmergencyStateEvent.OutputTuple, SetEmergencyStateEvent.OutputObject>;
|
|
1029
|
+
getEvent(key: "SetNormalState"): TypedContractEvent<SetNormalStateEvent.InputTuple, SetNormalStateEvent.OutputTuple, SetNormalStateEvent.OutputObject>;
|
|
1030
|
+
getEvent(key: "SetOracles"): TypedContractEvent<SetOraclesEvent.InputTuple, SetOraclesEvent.OutputTuple, SetOraclesEvent.OutputObject>;
|
|
1031
|
+
getEvent(key: "SetParameter"): TypedContractEvent<SetParameterEvent.InputTuple, SetParameterEvent.OutputTuple, SetParameterEvent.OutputObject>;
|
|
1032
|
+
getEvent(key: "SetParameterPair"): TypedContractEvent<SetParameterPairEvent.InputTuple, SetParameterPairEvent.OutputTuple, SetParameterPairEvent.OutputObject>;
|
|
1033
|
+
getEvent(key: "SetPerpetualBaseParameters"): TypedContractEvent<SetPerpetualBaseParametersEvent.InputTuple, SetPerpetualBaseParametersEvent.OutputTuple, SetPerpetualBaseParametersEvent.OutputObject>;
|
|
1034
|
+
getEvent(key: "SetPerpetualRiskParameters"): TypedContractEvent<SetPerpetualRiskParametersEvent.InputTuple, SetPerpetualRiskParametersEvent.OutputTuple, SetPerpetualRiskParametersEvent.OutputObject>;
|
|
1035
|
+
getEvent(key: "SetPoolParameter"): TypedContractEvent<SetPoolParameterEvent.InputTuple, SetPoolParameterEvent.OutputTuple, SetPoolParameterEvent.OutputObject>;
|
|
1036
|
+
getEvent(key: "SetTraderTiers"): TypedContractEvent<SetTraderTiersEvent.InputTuple, SetTraderTiersEvent.OutputTuple, SetTraderTiersEvent.OutputObject>;
|
|
1037
|
+
getEvent(key: "SetTraderVolumeTiers"): TypedContractEvent<SetTraderVolumeTiersEvent.InputTuple, SetTraderVolumeTiersEvent.OutputTuple, SetTraderVolumeTiersEvent.OutputObject>;
|
|
1038
|
+
getEvent(key: "SetUtilityToken"): TypedContractEvent<SetUtilityTokenEvent.InputTuple, SetUtilityTokenEvent.OutputTuple, SetUtilityTokenEvent.OutputObject>;
|
|
1039
|
+
getEvent(key: "Settle"): TypedContractEvent<SettleEvent.InputTuple, SettleEvent.OutputTuple, SettleEvent.OutputObject>;
|
|
1040
|
+
getEvent(key: "SettleState"): TypedContractEvent<SettleStateEvent.InputTuple, SettleStateEvent.OutputTuple, SettleStateEvent.OutputObject>;
|
|
1041
|
+
getEvent(key: "SettlementComplete"): TypedContractEvent<SettlementCompleteEvent.InputTuple, SettlementCompleteEvent.OutputTuple, SettlementCompleteEvent.OutputObject>;
|
|
1042
|
+
getEvent(key: "TokensDeposited"): TypedContractEvent<TokensDepositedEvent.InputTuple, TokensDepositedEvent.OutputTuple, TokensDepositedEvent.OutputObject>;
|
|
1043
|
+
getEvent(key: "TokensWithdrawn"): TypedContractEvent<TokensWithdrawnEvent.InputTuple, TokensWithdrawnEvent.OutputTuple, TokensWithdrawnEvent.OutputObject>;
|
|
1044
|
+
getEvent(key: "Trade"): TypedContractEvent<TradeEvent.InputTuple, TradeEvent.OutputTuple, TradeEvent.OutputObject>;
|
|
1045
|
+
getEvent(key: "TransferAddressTo"): TypedContractEvent<TransferAddressToEvent.InputTuple, TransferAddressToEvent.OutputTuple, TransferAddressToEvent.OutputObject>;
|
|
1046
|
+
getEvent(key: "Unpaused"): TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
1047
|
+
getEvent(key: "UpdateBrokerAddedCash"): TypedContractEvent<UpdateBrokerAddedCashEvent.InputTuple, UpdateBrokerAddedCashEvent.OutputTuple, UpdateBrokerAddedCashEvent.OutputObject>;
|
|
1048
|
+
getEvent(key: "UpdateFundingRate"): TypedContractEvent<UpdateFundingRateEvent.InputTuple, UpdateFundingRateEvent.OutputTuple, UpdateFundingRateEvent.OutputObject>;
|
|
1049
|
+
getEvent(key: "UpdateMarginAccount"): TypedContractEvent<UpdateMarginAccountEvent.InputTuple, UpdateMarginAccountEvent.OutputTuple, UpdateMarginAccountEvent.OutputObject>;
|
|
1050
|
+
getEvent(key: "UpdateMarkPrice"): TypedContractEvent<UpdateMarkPriceEvent.InputTuple, UpdateMarkPriceEvent.OutputTuple, UpdateMarkPriceEvent.OutputObject>;
|
|
785
1051
|
filters: {
|
|
786
|
-
"BrokerLotsTransferred(uint8,address,address,uint32)"
|
|
787
|
-
BrokerLotsTransferred
|
|
788
|
-
"BrokerVolumeTransferred(uint8,address,address,int128)"
|
|
789
|
-
BrokerVolumeTransferred
|
|
790
|
-
"Clear(uint24,address)"
|
|
791
|
-
Clear
|
|
792
|
-
"DistributeFees(uint8,uint24,address,int128,int128)"
|
|
793
|
-
DistributeFees
|
|
794
|
-
"GovernanceTransferred(address,address)"
|
|
795
|
-
GovernanceTransferred
|
|
796
|
-
"ImplementationChanged(bytes4,address,address)"
|
|
797
|
-
ImplementationChanged
|
|
798
|
-
"Liquidate(uint24,address,address,int128,int128,int128,int128,int128)"
|
|
799
|
-
Liquidate
|
|
800
|
-
"LiquidityAdded(uint8,address,uint256,uint256)"
|
|
801
|
-
LiquidityAdded
|
|
802
|
-
"LiquidityPoolCreated(uint8,address,address,uint16,int128)"
|
|
803
|
-
LiquidityPoolCreated
|
|
804
|
-
"LiquidityProvisionPaused(bool,uint8)"
|
|
805
|
-
LiquidityProvisionPaused
|
|
806
|
-
"LiquidityRemoved(uint8,address,uint256,uint256)"
|
|
807
|
-
LiquidityRemoved
|
|
808
|
-
"LiquidityWithdrawalInitiated(uint8,address,uint256)"
|
|
809
|
-
LiquidityWithdrawalInitiated
|
|
810
|
-
"MaintainerTransferred(address,address)"
|
|
811
|
-
MaintainerTransferred
|
|
812
|
-
"Paused(address)"
|
|
813
|
-
Paused
|
|
814
|
-
"PerpetualCreated(uint8,uint24,int128[7],int128[5],int128[12],uint256)"
|
|
815
|
-
PerpetualCreated
|
|
816
|
-
"PerpetualLimitOrderCancelled(uint24,bytes32)"
|
|
817
|
-
PerpetualLimitOrderCancelled
|
|
818
|
-
"ProxyOwnershipTransferred(address,address)"
|
|
819
|
-
ProxyOwnershipTransferred
|
|
820
|
-
"RunLiquidityPool(uint8)"
|
|
821
|
-
RunLiquidityPool
|
|
822
|
-
"SetBlockDelay(uint8)"
|
|
823
|
-
SetBlockDelay
|
|
824
|
-
"SetBrokerDesignations(uint32[],uint16[])"
|
|
825
|
-
SetBrokerDesignations
|
|
826
|
-
"SetBrokerTiers(uint256[],uint16[])"
|
|
827
|
-
SetBrokerTiers
|
|
828
|
-
"SetBrokerVolumeTiers(uint256[],uint16[])"
|
|
829
|
-
SetBrokerVolumeTiers
|
|
830
|
-
"SetClearedState(uint24)"
|
|
831
|
-
SetClearedState
|
|
832
|
-
"SetDelegate(address,address)"
|
|
833
|
-
SetDelegate
|
|
834
|
-
"SetEmergencyState(uint24,int128,int128,int128)"
|
|
835
|
-
SetEmergencyState
|
|
836
|
-
"SetNormalState(uint24)"
|
|
837
|
-
SetNormalState
|
|
838
|
-
"SetOracles(uint24,bytes4[2],bytes4[2])"
|
|
839
|
-
SetOracles
|
|
840
|
-
"SetParameter(uint24,string,int128)"
|
|
841
|
-
SetParameter
|
|
842
|
-
"SetParameterPair(uint24,string,int128,int128)"
|
|
843
|
-
SetParameterPair
|
|
844
|
-
"SetPerpetualBaseParameters(uint24,int128[7])"
|
|
845
|
-
SetPerpetualBaseParameters
|
|
846
|
-
"SetPerpetualRiskParameters(uint24,int128[5],int128[12])"
|
|
847
|
-
SetPerpetualRiskParameters
|
|
848
|
-
"SetPoolParameter(uint8,string,int128)"
|
|
849
|
-
SetPoolParameter
|
|
850
|
-
"SetTraderTiers(uint256[],uint16[])"
|
|
851
|
-
SetTraderTiers
|
|
852
|
-
"SetTraderVolumeTiers(uint256[],uint16[])"
|
|
853
|
-
SetTraderVolumeTiers
|
|
854
|
-
"SetUtilityToken(address)"
|
|
855
|
-
SetUtilityToken
|
|
856
|
-
"Settle(uint24,address,int256)"
|
|
857
|
-
Settle
|
|
858
|
-
"SettleState(uint24)"
|
|
859
|
-
SettleState
|
|
860
|
-
"SettlementComplete(uint24)"
|
|
861
|
-
SettlementComplete
|
|
862
|
-
"TokensDeposited(uint24,address,int128)"
|
|
863
|
-
TokensDeposited
|
|
864
|
-
"TokensWithdrawn(uint24,address,int128)"
|
|
865
|
-
TokensWithdrawn
|
|
866
|
-
"Trade(uint24,address,
|
|
867
|
-
Trade
|
|
868
|
-
"TransferAddressTo(string,address,address)"
|
|
869
|
-
TransferAddressTo
|
|
870
|
-
"Unpaused(address)"
|
|
871
|
-
Unpaused
|
|
872
|
-
"UpdateBrokerAddedCash(uint8,uint32,uint32)"
|
|
873
|
-
UpdateBrokerAddedCash
|
|
874
|
-
"UpdateFundingRate(uint24,int128)"
|
|
875
|
-
UpdateFundingRate
|
|
876
|
-
"UpdateMarginAccount(uint24,address,int128)"
|
|
877
|
-
UpdateMarginAccount
|
|
878
|
-
"UpdateMarkPrice(uint24,int128,int128,int128)"
|
|
879
|
-
UpdateMarkPrice
|
|
880
|
-
};
|
|
881
|
-
estimateGas: {
|
|
882
|
-
getImplementation(_sig: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
|
|
883
|
-
getModuleImplementationAddress(_moduleName: string, overrides?: CallOverrides): Promise<BigNumber>;
|
|
884
|
-
getProxyOwner(overrides?: CallOverrides): Promise<BigNumber>;
|
|
885
|
-
governance(overrides?: CallOverrides): Promise<BigNumber>;
|
|
886
|
-
maintainer(overrides?: CallOverrides): Promise<BigNumber>;
|
|
887
|
-
pause(overrides?: Overrides & {
|
|
888
|
-
from?: string;
|
|
889
|
-
}): Promise<BigNumber>;
|
|
890
|
-
paused(overrides?: CallOverrides): Promise<BigNumber>;
|
|
891
|
-
setImplementation(_impl: string, overrides?: Overrides & {
|
|
892
|
-
from?: string;
|
|
893
|
-
}): Promise<BigNumber>;
|
|
894
|
-
setImplementationCrossModules(_impl: string, overrides?: Overrides & {
|
|
895
|
-
from?: string;
|
|
896
|
-
}): Promise<BigNumber>;
|
|
897
|
-
setProxyOwner(_owner: string, overrides?: Overrides & {
|
|
898
|
-
from?: string;
|
|
899
|
-
}): Promise<BigNumber>;
|
|
900
|
-
transferGovernance(newGovernance: string, overrides?: Overrides & {
|
|
901
|
-
from?: string;
|
|
902
|
-
}): Promise<BigNumber>;
|
|
903
|
-
transferMaintainer(newMaintainer: string, overrides?: Overrides & {
|
|
904
|
-
from?: string;
|
|
905
|
-
}): Promise<BigNumber>;
|
|
906
|
-
unpause(overrides?: Overrides & {
|
|
907
|
-
from?: string;
|
|
908
|
-
}): Promise<BigNumber>;
|
|
909
|
-
};
|
|
910
|
-
populateTransaction: {
|
|
911
|
-
getImplementation(_sig: BytesLike, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
912
|
-
getModuleImplementationAddress(_moduleName: string, overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
913
|
-
getProxyOwner(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
914
|
-
governance(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
915
|
-
maintainer(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
916
|
-
pause(overrides?: Overrides & {
|
|
917
|
-
from?: string;
|
|
918
|
-
}): Promise<PopulatedTransaction>;
|
|
919
|
-
paused(overrides?: CallOverrides): Promise<PopulatedTransaction>;
|
|
920
|
-
setImplementation(_impl: string, overrides?: Overrides & {
|
|
921
|
-
from?: string;
|
|
922
|
-
}): Promise<PopulatedTransaction>;
|
|
923
|
-
setImplementationCrossModules(_impl: string, overrides?: Overrides & {
|
|
924
|
-
from?: string;
|
|
925
|
-
}): Promise<PopulatedTransaction>;
|
|
926
|
-
setProxyOwner(_owner: string, overrides?: Overrides & {
|
|
927
|
-
from?: string;
|
|
928
|
-
}): Promise<PopulatedTransaction>;
|
|
929
|
-
transferGovernance(newGovernance: string, overrides?: Overrides & {
|
|
930
|
-
from?: string;
|
|
931
|
-
}): Promise<PopulatedTransaction>;
|
|
932
|
-
transferMaintainer(newMaintainer: string, overrides?: Overrides & {
|
|
933
|
-
from?: string;
|
|
934
|
-
}): Promise<PopulatedTransaction>;
|
|
935
|
-
unpause(overrides?: Overrides & {
|
|
936
|
-
from?: string;
|
|
937
|
-
}): Promise<PopulatedTransaction>;
|
|
1052
|
+
"BrokerLotsTransferred(uint8,address,address,uint32)": TypedContractEvent<BrokerLotsTransferredEvent.InputTuple, BrokerLotsTransferredEvent.OutputTuple, BrokerLotsTransferredEvent.OutputObject>;
|
|
1053
|
+
BrokerLotsTransferred: TypedContractEvent<BrokerLotsTransferredEvent.InputTuple, BrokerLotsTransferredEvent.OutputTuple, BrokerLotsTransferredEvent.OutputObject>;
|
|
1054
|
+
"BrokerVolumeTransferred(uint8,address,address,int128)": TypedContractEvent<BrokerVolumeTransferredEvent.InputTuple, BrokerVolumeTransferredEvent.OutputTuple, BrokerVolumeTransferredEvent.OutputObject>;
|
|
1055
|
+
BrokerVolumeTransferred: TypedContractEvent<BrokerVolumeTransferredEvent.InputTuple, BrokerVolumeTransferredEvent.OutputTuple, BrokerVolumeTransferredEvent.OutputObject>;
|
|
1056
|
+
"Clear(uint24,address)": TypedContractEvent<ClearEvent.InputTuple, ClearEvent.OutputTuple, ClearEvent.OutputObject>;
|
|
1057
|
+
Clear: TypedContractEvent<ClearEvent.InputTuple, ClearEvent.OutputTuple, ClearEvent.OutputObject>;
|
|
1058
|
+
"DistributeFees(uint8,uint24,address,int128,int128)": TypedContractEvent<DistributeFeesEvent.InputTuple, DistributeFeesEvent.OutputTuple, DistributeFeesEvent.OutputObject>;
|
|
1059
|
+
DistributeFees: TypedContractEvent<DistributeFeesEvent.InputTuple, DistributeFeesEvent.OutputTuple, DistributeFeesEvent.OutputObject>;
|
|
1060
|
+
"GovernanceTransferred(address,address)": TypedContractEvent<GovernanceTransferredEvent.InputTuple, GovernanceTransferredEvent.OutputTuple, GovernanceTransferredEvent.OutputObject>;
|
|
1061
|
+
GovernanceTransferred: TypedContractEvent<GovernanceTransferredEvent.InputTuple, GovernanceTransferredEvent.OutputTuple, GovernanceTransferredEvent.OutputObject>;
|
|
1062
|
+
"ImplementationChanged(bytes4,address,address)": TypedContractEvent<ImplementationChangedEvent.InputTuple, ImplementationChangedEvent.OutputTuple, ImplementationChangedEvent.OutputObject>;
|
|
1063
|
+
ImplementationChanged: TypedContractEvent<ImplementationChangedEvent.InputTuple, ImplementationChangedEvent.OutputTuple, ImplementationChangedEvent.OutputObject>;
|
|
1064
|
+
"Liquidate(uint24,address,address,int128,int128,int128,int128,int128)": TypedContractEvent<LiquidateEvent.InputTuple, LiquidateEvent.OutputTuple, LiquidateEvent.OutputObject>;
|
|
1065
|
+
Liquidate: TypedContractEvent<LiquidateEvent.InputTuple, LiquidateEvent.OutputTuple, LiquidateEvent.OutputObject>;
|
|
1066
|
+
"LiquidityAdded(uint8,address,uint256,uint256)": TypedContractEvent<LiquidityAddedEvent.InputTuple, LiquidityAddedEvent.OutputTuple, LiquidityAddedEvent.OutputObject>;
|
|
1067
|
+
LiquidityAdded: TypedContractEvent<LiquidityAddedEvent.InputTuple, LiquidityAddedEvent.OutputTuple, LiquidityAddedEvent.OutputObject>;
|
|
1068
|
+
"LiquidityPoolCreated(uint8,address,address,uint16,int128)": TypedContractEvent<LiquidityPoolCreatedEvent.InputTuple, LiquidityPoolCreatedEvent.OutputTuple, LiquidityPoolCreatedEvent.OutputObject>;
|
|
1069
|
+
LiquidityPoolCreated: TypedContractEvent<LiquidityPoolCreatedEvent.InputTuple, LiquidityPoolCreatedEvent.OutputTuple, LiquidityPoolCreatedEvent.OutputObject>;
|
|
1070
|
+
"LiquidityProvisionPaused(bool,uint8)": TypedContractEvent<LiquidityProvisionPausedEvent.InputTuple, LiquidityProvisionPausedEvent.OutputTuple, LiquidityProvisionPausedEvent.OutputObject>;
|
|
1071
|
+
LiquidityProvisionPaused: TypedContractEvent<LiquidityProvisionPausedEvent.InputTuple, LiquidityProvisionPausedEvent.OutputTuple, LiquidityProvisionPausedEvent.OutputObject>;
|
|
1072
|
+
"LiquidityRemoved(uint8,address,uint256,uint256)": TypedContractEvent<LiquidityRemovedEvent.InputTuple, LiquidityRemovedEvent.OutputTuple, LiquidityRemovedEvent.OutputObject>;
|
|
1073
|
+
LiquidityRemoved: TypedContractEvent<LiquidityRemovedEvent.InputTuple, LiquidityRemovedEvent.OutputTuple, LiquidityRemovedEvent.OutputObject>;
|
|
1074
|
+
"LiquidityWithdrawalInitiated(uint8,address,uint256)": TypedContractEvent<LiquidityWithdrawalInitiatedEvent.InputTuple, LiquidityWithdrawalInitiatedEvent.OutputTuple, LiquidityWithdrawalInitiatedEvent.OutputObject>;
|
|
1075
|
+
LiquidityWithdrawalInitiated: TypedContractEvent<LiquidityWithdrawalInitiatedEvent.InputTuple, LiquidityWithdrawalInitiatedEvent.OutputTuple, LiquidityWithdrawalInitiatedEvent.OutputObject>;
|
|
1076
|
+
"MaintainerTransferred(address,address)": TypedContractEvent<MaintainerTransferredEvent.InputTuple, MaintainerTransferredEvent.OutputTuple, MaintainerTransferredEvent.OutputObject>;
|
|
1077
|
+
MaintainerTransferred: TypedContractEvent<MaintainerTransferredEvent.InputTuple, MaintainerTransferredEvent.OutputTuple, MaintainerTransferredEvent.OutputObject>;
|
|
1078
|
+
"Paused(address)": TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1079
|
+
Paused: TypedContractEvent<PausedEvent.InputTuple, PausedEvent.OutputTuple, PausedEvent.OutputObject>;
|
|
1080
|
+
"PerpetualCreated(uint8,uint24,int128[7],int128[5],int128[12],uint256)": TypedContractEvent<PerpetualCreatedEvent.InputTuple, PerpetualCreatedEvent.OutputTuple, PerpetualCreatedEvent.OutputObject>;
|
|
1081
|
+
PerpetualCreated: TypedContractEvent<PerpetualCreatedEvent.InputTuple, PerpetualCreatedEvent.OutputTuple, PerpetualCreatedEvent.OutputObject>;
|
|
1082
|
+
"PerpetualLimitOrderCancelled(uint24,bytes32)": TypedContractEvent<PerpetualLimitOrderCancelledEvent.InputTuple, PerpetualLimitOrderCancelledEvent.OutputTuple, PerpetualLimitOrderCancelledEvent.OutputObject>;
|
|
1083
|
+
PerpetualLimitOrderCancelled: TypedContractEvent<PerpetualLimitOrderCancelledEvent.InputTuple, PerpetualLimitOrderCancelledEvent.OutputTuple, PerpetualLimitOrderCancelledEvent.OutputObject>;
|
|
1084
|
+
"ProxyOwnershipTransferred(address,address)": TypedContractEvent<ProxyOwnershipTransferredEvent.InputTuple, ProxyOwnershipTransferredEvent.OutputTuple, ProxyOwnershipTransferredEvent.OutputObject>;
|
|
1085
|
+
ProxyOwnershipTransferred: TypedContractEvent<ProxyOwnershipTransferredEvent.InputTuple, ProxyOwnershipTransferredEvent.OutputTuple, ProxyOwnershipTransferredEvent.OutputObject>;
|
|
1086
|
+
"RunLiquidityPool(uint8)": TypedContractEvent<RunLiquidityPoolEvent.InputTuple, RunLiquidityPoolEvent.OutputTuple, RunLiquidityPoolEvent.OutputObject>;
|
|
1087
|
+
RunLiquidityPool: TypedContractEvent<RunLiquidityPoolEvent.InputTuple, RunLiquidityPoolEvent.OutputTuple, RunLiquidityPoolEvent.OutputObject>;
|
|
1088
|
+
"SetBlockDelay(uint8)": TypedContractEvent<SetBlockDelayEvent.InputTuple, SetBlockDelayEvent.OutputTuple, SetBlockDelayEvent.OutputObject>;
|
|
1089
|
+
SetBlockDelay: TypedContractEvent<SetBlockDelayEvent.InputTuple, SetBlockDelayEvent.OutputTuple, SetBlockDelayEvent.OutputObject>;
|
|
1090
|
+
"SetBrokerDesignations(uint32[],uint16[])": TypedContractEvent<SetBrokerDesignationsEvent.InputTuple, SetBrokerDesignationsEvent.OutputTuple, SetBrokerDesignationsEvent.OutputObject>;
|
|
1091
|
+
SetBrokerDesignations: TypedContractEvent<SetBrokerDesignationsEvent.InputTuple, SetBrokerDesignationsEvent.OutputTuple, SetBrokerDesignationsEvent.OutputObject>;
|
|
1092
|
+
"SetBrokerTiers(uint256[],uint16[])": TypedContractEvent<SetBrokerTiersEvent.InputTuple, SetBrokerTiersEvent.OutputTuple, SetBrokerTiersEvent.OutputObject>;
|
|
1093
|
+
SetBrokerTiers: TypedContractEvent<SetBrokerTiersEvent.InputTuple, SetBrokerTiersEvent.OutputTuple, SetBrokerTiersEvent.OutputObject>;
|
|
1094
|
+
"SetBrokerVolumeTiers(uint256[],uint16[])": TypedContractEvent<SetBrokerVolumeTiersEvent.InputTuple, SetBrokerVolumeTiersEvent.OutputTuple, SetBrokerVolumeTiersEvent.OutputObject>;
|
|
1095
|
+
SetBrokerVolumeTiers: TypedContractEvent<SetBrokerVolumeTiersEvent.InputTuple, SetBrokerVolumeTiersEvent.OutputTuple, SetBrokerVolumeTiersEvent.OutputObject>;
|
|
1096
|
+
"SetClearedState(uint24)": TypedContractEvent<SetClearedStateEvent.InputTuple, SetClearedStateEvent.OutputTuple, SetClearedStateEvent.OutputObject>;
|
|
1097
|
+
SetClearedState: TypedContractEvent<SetClearedStateEvent.InputTuple, SetClearedStateEvent.OutputTuple, SetClearedStateEvent.OutputObject>;
|
|
1098
|
+
"SetDelegate(address,address)": TypedContractEvent<SetDelegateEvent.InputTuple, SetDelegateEvent.OutputTuple, SetDelegateEvent.OutputObject>;
|
|
1099
|
+
SetDelegate: TypedContractEvent<SetDelegateEvent.InputTuple, SetDelegateEvent.OutputTuple, SetDelegateEvent.OutputObject>;
|
|
1100
|
+
"SetEmergencyState(uint24,int128,int128,int128)": TypedContractEvent<SetEmergencyStateEvent.InputTuple, SetEmergencyStateEvent.OutputTuple, SetEmergencyStateEvent.OutputObject>;
|
|
1101
|
+
SetEmergencyState: TypedContractEvent<SetEmergencyStateEvent.InputTuple, SetEmergencyStateEvent.OutputTuple, SetEmergencyStateEvent.OutputObject>;
|
|
1102
|
+
"SetNormalState(uint24)": TypedContractEvent<SetNormalStateEvent.InputTuple, SetNormalStateEvent.OutputTuple, SetNormalStateEvent.OutputObject>;
|
|
1103
|
+
SetNormalState: TypedContractEvent<SetNormalStateEvent.InputTuple, SetNormalStateEvent.OutputTuple, SetNormalStateEvent.OutputObject>;
|
|
1104
|
+
"SetOracles(uint24,bytes4[2],bytes4[2])": TypedContractEvent<SetOraclesEvent.InputTuple, SetOraclesEvent.OutputTuple, SetOraclesEvent.OutputObject>;
|
|
1105
|
+
SetOracles: TypedContractEvent<SetOraclesEvent.InputTuple, SetOraclesEvent.OutputTuple, SetOraclesEvent.OutputObject>;
|
|
1106
|
+
"SetParameter(uint24,string,int128)": TypedContractEvent<SetParameterEvent.InputTuple, SetParameterEvent.OutputTuple, SetParameterEvent.OutputObject>;
|
|
1107
|
+
SetParameter: TypedContractEvent<SetParameterEvent.InputTuple, SetParameterEvent.OutputTuple, SetParameterEvent.OutputObject>;
|
|
1108
|
+
"SetParameterPair(uint24,string,int128,int128)": TypedContractEvent<SetParameterPairEvent.InputTuple, SetParameterPairEvent.OutputTuple, SetParameterPairEvent.OutputObject>;
|
|
1109
|
+
SetParameterPair: TypedContractEvent<SetParameterPairEvent.InputTuple, SetParameterPairEvent.OutputTuple, SetParameterPairEvent.OutputObject>;
|
|
1110
|
+
"SetPerpetualBaseParameters(uint24,int128[7])": TypedContractEvent<SetPerpetualBaseParametersEvent.InputTuple, SetPerpetualBaseParametersEvent.OutputTuple, SetPerpetualBaseParametersEvent.OutputObject>;
|
|
1111
|
+
SetPerpetualBaseParameters: TypedContractEvent<SetPerpetualBaseParametersEvent.InputTuple, SetPerpetualBaseParametersEvent.OutputTuple, SetPerpetualBaseParametersEvent.OutputObject>;
|
|
1112
|
+
"SetPerpetualRiskParameters(uint24,int128[5],int128[12])": TypedContractEvent<SetPerpetualRiskParametersEvent.InputTuple, SetPerpetualRiskParametersEvent.OutputTuple, SetPerpetualRiskParametersEvent.OutputObject>;
|
|
1113
|
+
SetPerpetualRiskParameters: TypedContractEvent<SetPerpetualRiskParametersEvent.InputTuple, SetPerpetualRiskParametersEvent.OutputTuple, SetPerpetualRiskParametersEvent.OutputObject>;
|
|
1114
|
+
"SetPoolParameter(uint8,string,int128)": TypedContractEvent<SetPoolParameterEvent.InputTuple, SetPoolParameterEvent.OutputTuple, SetPoolParameterEvent.OutputObject>;
|
|
1115
|
+
SetPoolParameter: TypedContractEvent<SetPoolParameterEvent.InputTuple, SetPoolParameterEvent.OutputTuple, SetPoolParameterEvent.OutputObject>;
|
|
1116
|
+
"SetTraderTiers(uint256[],uint16[])": TypedContractEvent<SetTraderTiersEvent.InputTuple, SetTraderTiersEvent.OutputTuple, SetTraderTiersEvent.OutputObject>;
|
|
1117
|
+
SetTraderTiers: TypedContractEvent<SetTraderTiersEvent.InputTuple, SetTraderTiersEvent.OutputTuple, SetTraderTiersEvent.OutputObject>;
|
|
1118
|
+
"SetTraderVolumeTiers(uint256[],uint16[])": TypedContractEvent<SetTraderVolumeTiersEvent.InputTuple, SetTraderVolumeTiersEvent.OutputTuple, SetTraderVolumeTiersEvent.OutputObject>;
|
|
1119
|
+
SetTraderVolumeTiers: TypedContractEvent<SetTraderVolumeTiersEvent.InputTuple, SetTraderVolumeTiersEvent.OutputTuple, SetTraderVolumeTiersEvent.OutputObject>;
|
|
1120
|
+
"SetUtilityToken(address)": TypedContractEvent<SetUtilityTokenEvent.InputTuple, SetUtilityTokenEvent.OutputTuple, SetUtilityTokenEvent.OutputObject>;
|
|
1121
|
+
SetUtilityToken: TypedContractEvent<SetUtilityTokenEvent.InputTuple, SetUtilityTokenEvent.OutputTuple, SetUtilityTokenEvent.OutputObject>;
|
|
1122
|
+
"Settle(uint24,address,int256)": TypedContractEvent<SettleEvent.InputTuple, SettleEvent.OutputTuple, SettleEvent.OutputObject>;
|
|
1123
|
+
Settle: TypedContractEvent<SettleEvent.InputTuple, SettleEvent.OutputTuple, SettleEvent.OutputObject>;
|
|
1124
|
+
"SettleState(uint24)": TypedContractEvent<SettleStateEvent.InputTuple, SettleStateEvent.OutputTuple, SettleStateEvent.OutputObject>;
|
|
1125
|
+
SettleState: TypedContractEvent<SettleStateEvent.InputTuple, SettleStateEvent.OutputTuple, SettleStateEvent.OutputObject>;
|
|
1126
|
+
"SettlementComplete(uint24)": TypedContractEvent<SettlementCompleteEvent.InputTuple, SettlementCompleteEvent.OutputTuple, SettlementCompleteEvent.OutputObject>;
|
|
1127
|
+
SettlementComplete: TypedContractEvent<SettlementCompleteEvent.InputTuple, SettlementCompleteEvent.OutputTuple, SettlementCompleteEvent.OutputObject>;
|
|
1128
|
+
"TokensDeposited(uint24,address,int128)": TypedContractEvent<TokensDepositedEvent.InputTuple, TokensDepositedEvent.OutputTuple, TokensDepositedEvent.OutputObject>;
|
|
1129
|
+
TokensDeposited: TypedContractEvent<TokensDepositedEvent.InputTuple, TokensDepositedEvent.OutputTuple, TokensDepositedEvent.OutputObject>;
|
|
1130
|
+
"TokensWithdrawn(uint24,address,int128)": TypedContractEvent<TokensWithdrawnEvent.InputTuple, TokensWithdrawnEvent.OutputTuple, TokensWithdrawnEvent.OutputObject>;
|
|
1131
|
+
TokensWithdrawn: TypedContractEvent<TokensWithdrawnEvent.InputTuple, TokensWithdrawnEvent.OutputTuple, TokensWithdrawnEvent.OutputObject>;
|
|
1132
|
+
"Trade(uint24,address,tuple,bytes32,int128,int128,int128,int128,int128)": TypedContractEvent<TradeEvent.InputTuple, TradeEvent.OutputTuple, TradeEvent.OutputObject>;
|
|
1133
|
+
Trade: TypedContractEvent<TradeEvent.InputTuple, TradeEvent.OutputTuple, TradeEvent.OutputObject>;
|
|
1134
|
+
"TransferAddressTo(string,address,address)": TypedContractEvent<TransferAddressToEvent.InputTuple, TransferAddressToEvent.OutputTuple, TransferAddressToEvent.OutputObject>;
|
|
1135
|
+
TransferAddressTo: TypedContractEvent<TransferAddressToEvent.InputTuple, TransferAddressToEvent.OutputTuple, TransferAddressToEvent.OutputObject>;
|
|
1136
|
+
"Unpaused(address)": TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
1137
|
+
Unpaused: TypedContractEvent<UnpausedEvent.InputTuple, UnpausedEvent.OutputTuple, UnpausedEvent.OutputObject>;
|
|
1138
|
+
"UpdateBrokerAddedCash(uint8,uint32,uint32)": TypedContractEvent<UpdateBrokerAddedCashEvent.InputTuple, UpdateBrokerAddedCashEvent.OutputTuple, UpdateBrokerAddedCashEvent.OutputObject>;
|
|
1139
|
+
UpdateBrokerAddedCash: TypedContractEvent<UpdateBrokerAddedCashEvent.InputTuple, UpdateBrokerAddedCashEvent.OutputTuple, UpdateBrokerAddedCashEvent.OutputObject>;
|
|
1140
|
+
"UpdateFundingRate(uint24,int128)": TypedContractEvent<UpdateFundingRateEvent.InputTuple, UpdateFundingRateEvent.OutputTuple, UpdateFundingRateEvent.OutputObject>;
|
|
1141
|
+
UpdateFundingRate: TypedContractEvent<UpdateFundingRateEvent.InputTuple, UpdateFundingRateEvent.OutputTuple, UpdateFundingRateEvent.OutputObject>;
|
|
1142
|
+
"UpdateMarginAccount(uint24,address,int128)": TypedContractEvent<UpdateMarginAccountEvent.InputTuple, UpdateMarginAccountEvent.OutputTuple, UpdateMarginAccountEvent.OutputObject>;
|
|
1143
|
+
UpdateMarginAccount: TypedContractEvent<UpdateMarginAccountEvent.InputTuple, UpdateMarginAccountEvent.OutputTuple, UpdateMarginAccountEvent.OutputObject>;
|
|
1144
|
+
"UpdateMarkPrice(uint24,int128,int128,int128)": TypedContractEvent<UpdateMarkPriceEvent.InputTuple, UpdateMarkPriceEvent.OutputTuple, UpdateMarkPriceEvent.OutputObject>;
|
|
1145
|
+
UpdateMarkPrice: TypedContractEvent<UpdateMarkPriceEvent.InputTuple, UpdateMarkPriceEvent.OutputTuple, UpdateMarkPriceEvent.OutputObject>;
|
|
938
1146
|
};
|
|
939
1147
|
}
|