@o2exchange/contracts 0.4.5 → 0.4.6-rc5
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/README.md +11 -0
- package/dist/contracts/HouseOrderBook.d.ts +861 -0
- package/dist/contracts/HouseOrderBook.d.ts.map +1 -0
- package/dist/contracts/HouseOrderBook.js +5238 -0
- package/dist/contracts/HouseOrderBook.js.map +1 -0
- package/dist/contracts/{LinkedListTestFactory.d.ts → HouseOrderBookFactory.d.ts} +4 -4
- package/dist/contracts/{LinkedListTestFactory.d.ts.map → HouseOrderBookFactory.d.ts.map} +1 -1
- package/dist/contracts/HouseOrderBookFactory.js +21 -0
- package/dist/contracts/HouseOrderBookFactory.js.map +1 -0
- package/dist/contracts/MarginAccount.d.ts.map +1 -1
- package/dist/contracts/MarginAccount.js +0 -2
- package/dist/contracts/MarginAccount.js.map +1 -1
- package/dist/contracts/MarginAccountFactory.d.ts.map +1 -1
- package/dist/contracts/MarginAccountFactory.js +0 -2
- package/dist/contracts/MarginAccountFactory.js.map +1 -1
- package/dist/contracts/MarginAccountOracle.d.ts.map +1 -1
- package/dist/contracts/MarginAccountOracle.js +0 -2
- package/dist/contracts/MarginAccountOracle.js.map +1 -1
- package/dist/contracts/MarginAccountOracleFactory.d.ts.map +1 -1
- package/dist/contracts/MarginAccountOracleFactory.js +0 -2
- package/dist/contracts/MarginAccountOracleFactory.js.map +1 -1
- package/dist/contracts/MarginAccountProxy.d.ts.map +1 -1
- package/dist/contracts/MarginAccountProxy.js +0 -2
- package/dist/contracts/MarginAccountProxy.js.map +1 -1
- package/dist/contracts/MarginAccountProxyFactory.d.ts.map +1 -1
- package/dist/contracts/MarginAccountProxyFactory.js +0 -2
- package/dist/contracts/MarginAccountProxyFactory.js.map +1 -1
- package/dist/contracts/MarginAccountRegistry.d.ts.map +1 -1
- package/dist/contracts/MarginAccountRegistry.js +0 -2
- package/dist/contracts/MarginAccountRegistry.js.map +1 -1
- package/dist/contracts/MarginAccountRegistryFactory.d.ts.map +1 -1
- package/dist/contracts/MarginAccountRegistryFactory.js +0 -2
- package/dist/contracts/MarginAccountRegistryFactory.js.map +1 -1
- package/dist/contracts/MarginAccountRegistryProxy.d.ts.map +1 -1
- package/dist/contracts/MarginAccountRegistryProxy.js +0 -2
- package/dist/contracts/MarginAccountRegistryProxy.js.map +1 -1
- package/dist/contracts/MarginAccountRegistryProxyFactory.d.ts.map +1 -1
- package/dist/contracts/MarginAccountRegistryProxyFactory.js +0 -2
- package/dist/contracts/MarginAccountRegistryProxyFactory.js.map +1 -1
- package/dist/contracts/OrderBook.d.ts +297 -6
- package/dist/contracts/OrderBook.d.ts.map +1 -1
- package/dist/contracts/OrderBook.js +1273 -302
- package/dist/contracts/OrderBook.js.map +1 -1
- package/dist/contracts/OrderBookBlacklist.d.ts.map +1 -1
- package/dist/contracts/OrderBookBlacklist.js +0 -2
- package/dist/contracts/OrderBookBlacklist.js.map +1 -1
- package/dist/contracts/OrderBookBlacklistFactory.d.ts.map +1 -1
- package/dist/contracts/OrderBookBlacklistFactory.js +0 -2
- package/dist/contracts/OrderBookBlacklistFactory.js.map +1 -1
- package/dist/contracts/OrderBookFactory.d.ts.map +1 -1
- package/dist/contracts/OrderBookFactory.js +1 -3
- package/dist/contracts/OrderBookFactory.js.map +1 -1
- package/dist/contracts/OrderBookProxy.d.ts.map +1 -1
- package/dist/contracts/OrderBookProxy.js +0 -2
- package/dist/contracts/OrderBookProxy.js.map +1 -1
- package/dist/contracts/OrderBookProxyFactory.d.ts.map +1 -1
- package/dist/contracts/OrderBookProxyFactory.js +0 -2
- package/dist/contracts/OrderBookProxyFactory.js.map +1 -1
- package/dist/contracts/OrderBookRegistry.d.ts.map +1 -1
- package/dist/contracts/OrderBookRegistry.js +0 -2
- package/dist/contracts/OrderBookRegistry.js.map +1 -1
- package/dist/contracts/OrderBookRegistryFactory.d.ts.map +1 -1
- package/dist/contracts/OrderBookRegistryFactory.js +0 -2
- package/dist/contracts/OrderBookRegistryFactory.js.map +1 -1
- package/dist/contracts/OrderBookRegistryProxy.d.ts.map +1 -1
- package/dist/contracts/OrderBookRegistryProxy.js +0 -2
- package/dist/contracts/OrderBookRegistryProxy.js.map +1 -1
- package/dist/contracts/OrderBookRegistryProxyFactory.d.ts.map +1 -1
- package/dist/contracts/OrderBookRegistryProxyFactory.js +0 -2
- package/dist/contracts/OrderBookRegistryProxyFactory.js.map +1 -1
- package/dist/contracts/OrderBookWhitelist.d.ts.map +1 -1
- package/dist/contracts/OrderBookWhitelist.js +0 -2
- package/dist/contracts/OrderBookWhitelist.js.map +1 -1
- package/dist/contracts/OrderBookWhitelistFactory.d.ts.map +1 -1
- package/dist/contracts/OrderBookWhitelistFactory.js +0 -2
- package/dist/contracts/OrderBookWhitelistFactory.js.map +1 -1
- package/dist/contracts/PriceFeed.d.ts.map +1 -1
- package/dist/contracts/PriceFeed.js +0 -2
- package/dist/contracts/PriceFeed.js.map +1 -1
- package/dist/contracts/PriceFeedFactory.d.ts.map +1 -1
- package/dist/contracts/PriceFeedFactory.js +0 -2
- package/dist/contracts/PriceFeedFactory.js.map +1 -1
- package/dist/contracts/PriceFeedProxy.d.ts.map +1 -1
- package/dist/contracts/PriceFeedProxy.js +0 -2
- package/dist/contracts/PriceFeedProxy.js.map +1 -1
- package/dist/contracts/PriceFeedProxyFactory.d.ts.map +1 -1
- package/dist/contracts/PriceFeedProxyFactory.js +0 -2
- package/dist/contracts/PriceFeedProxyFactory.js.map +1 -1
- package/dist/contracts/PropAccount.d.ts.map +1 -1
- package/dist/contracts/PropAccount.js +0 -2
- package/dist/contracts/PropAccount.js.map +1 -1
- package/dist/contracts/PropAccountFactory.d.ts.map +1 -1
- package/dist/contracts/PropAccountFactory.js +0 -2
- package/dist/contracts/PropAccountFactory.js.map +1 -1
- package/dist/contracts/PropAccountOracle.d.ts.map +1 -1
- package/dist/contracts/PropAccountOracle.js +0 -2
- package/dist/contracts/PropAccountOracle.js.map +1 -1
- package/dist/contracts/PropAccountOracleFactory.d.ts.map +1 -1
- package/dist/contracts/PropAccountOracleFactory.js +0 -2
- package/dist/contracts/PropAccountOracleFactory.js.map +1 -1
- package/dist/contracts/PropAccountOracleProxy.d.ts.map +1 -1
- package/dist/contracts/PropAccountOracleProxy.js +0 -2
- package/dist/contracts/PropAccountOracleProxy.js.map +1 -1
- package/dist/contracts/PropAccountOracleProxyFactory.d.ts.map +1 -1
- package/dist/contracts/PropAccountOracleProxyFactory.js +0 -2
- package/dist/contracts/PropAccountOracleProxyFactory.js.map +1 -1
- package/dist/contracts/PropAccountProxy.d.ts.map +1 -1
- package/dist/contracts/PropAccountProxy.js +0 -2
- package/dist/contracts/PropAccountProxy.js.map +1 -1
- package/dist/contracts/PropAccountProxyFactory.d.ts.map +1 -1
- package/dist/contracts/PropAccountProxyFactory.js +0 -2
- package/dist/contracts/PropAccountProxyFactory.js.map +1 -1
- package/dist/contracts/PropMarginPool.d.ts.map +1 -1
- package/dist/contracts/PropMarginPool.js +9 -11
- package/dist/contracts/PropMarginPool.js.map +1 -1
- package/dist/contracts/PropMarginPoolFactory.d.ts.map +1 -1
- package/dist/contracts/PropMarginPoolFactory.js +1 -3
- package/dist/contracts/PropMarginPoolFactory.js.map +1 -1
- package/dist/contracts/PropMarginPoolProxy.d.ts.map +1 -1
- package/dist/contracts/PropMarginPoolProxy.js +0 -2
- package/dist/contracts/PropMarginPoolProxy.js.map +1 -1
- package/dist/contracts/PropMarginPoolProxyFactory.d.ts.map +1 -1
- package/dist/contracts/PropMarginPoolProxyFactory.js +0 -2
- package/dist/contracts/PropMarginPoolProxyFactory.js.map +1 -1
- package/dist/contracts/RiskManager.d.ts.map +1 -1
- package/dist/contracts/RiskManager.js +0 -2
- package/dist/contracts/RiskManager.js.map +1 -1
- package/dist/contracts/RiskManagerFactory.d.ts.map +1 -1
- package/dist/contracts/RiskManagerFactory.js +0 -2
- package/dist/contracts/RiskManagerFactory.js.map +1 -1
- package/dist/contracts/RiskManagerProxy.d.ts.map +1 -1
- package/dist/contracts/RiskManagerProxy.js +0 -2
- package/dist/contracts/RiskManagerProxy.js.map +1 -1
- package/dist/contracts/RiskManagerProxyFactory.d.ts.map +1 -1
- package/dist/contracts/RiskManagerProxyFactory.js +0 -2
- package/dist/contracts/RiskManagerProxyFactory.js.map +1 -1
- package/dist/contracts/TradeAccount.d.ts.map +1 -1
- package/dist/contracts/TradeAccount.js +0 -2
- package/dist/contracts/TradeAccount.js.map +1 -1
- package/dist/contracts/TradeAccountFactory.d.ts.map +1 -1
- package/dist/contracts/TradeAccountFactory.js +0 -2
- package/dist/contracts/TradeAccountFactory.js.map +1 -1
- package/dist/contracts/TradeAccountOracle.d.ts.map +1 -1
- package/dist/contracts/TradeAccountOracle.js +0 -2
- package/dist/contracts/TradeAccountOracle.js.map +1 -1
- package/dist/contracts/TradeAccountOracleFactory.d.ts.map +1 -1
- package/dist/contracts/TradeAccountOracleFactory.js +0 -2
- package/dist/contracts/TradeAccountOracleFactory.js.map +1 -1
- package/dist/contracts/TradeAccountProxy.d.ts.map +1 -1
- package/dist/contracts/TradeAccountProxy.js +0 -2
- package/dist/contracts/TradeAccountProxy.js.map +1 -1
- package/dist/contracts/TradeAccountProxyFactory.d.ts.map +1 -1
- package/dist/contracts/TradeAccountProxyFactory.js +0 -2
- package/dist/contracts/TradeAccountProxyFactory.js.map +1 -1
- package/dist/contracts/TradeAccountRegistry.d.ts.map +1 -1
- package/dist/contracts/TradeAccountRegistry.js +0 -2
- package/dist/contracts/TradeAccountRegistry.js.map +1 -1
- package/dist/contracts/TradeAccountRegistryFactory.d.ts.map +1 -1
- package/dist/contracts/TradeAccountRegistryFactory.js +0 -2
- package/dist/contracts/TradeAccountRegistryFactory.js.map +1 -1
- package/dist/contracts/TradeAccountRegistryProxy.d.ts.map +1 -1
- package/dist/contracts/TradeAccountRegistryProxy.js +0 -2
- package/dist/contracts/TradeAccountRegistryProxy.js.map +1 -1
- package/dist/contracts/TradeAccountRegistryProxyFactory.d.ts.map +1 -1
- package/dist/contracts/TradeAccountRegistryProxyFactory.js +0 -2
- package/dist/contracts/TradeAccountRegistryProxyFactory.js.map +1 -1
- package/dist/contracts/TrialTradeAccount.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccount.js +2 -4
- package/dist/contracts/TrialTradeAccount.js.map +1 -1
- package/dist/contracts/TrialTradeAccountFactory.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccountFactory.js +1 -3
- package/dist/contracts/TrialTradeAccountFactory.js.map +1 -1
- package/dist/contracts/TrialTradeAccountOracle.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccountOracle.js +0 -2
- package/dist/contracts/TrialTradeAccountOracle.js.map +1 -1
- package/dist/contracts/TrialTradeAccountOracleFactory.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccountOracleFactory.js +0 -2
- package/dist/contracts/TrialTradeAccountOracleFactory.js.map +1 -1
- package/dist/contracts/TrialTradeAccountProxy.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccountProxy.js +0 -2
- package/dist/contracts/TrialTradeAccountProxy.js.map +1 -1
- package/dist/contracts/TrialTradeAccountProxyFactory.d.ts.map +1 -1
- package/dist/contracts/TrialTradeAccountProxyFactory.js +0 -2
- package/dist/contracts/TrialTradeAccountProxyFactory.js.map +1 -1
- package/dist/contracts/common.d.ts.map +1 -1
- package/dist/contracts/index.d.ts +18 -40
- package/dist/contracts/index.d.ts.map +1 -1
- package/dist/contracts/index.js +18 -42
- package/dist/contracts/index.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +5 -7
- package/dist/contracts/AccessControlTest.d.ts +0 -124
- package/dist/contracts/AccessControlTest.d.ts.map +0 -1
- package/dist/contracts/AccessControlTest.js +0 -304
- package/dist/contracts/AccessControlTest.js.map +0 -1
- package/dist/contracts/AccessControlTestFactory.d.ts +0 -9
- package/dist/contracts/AccessControlTestFactory.d.ts.map +0 -1
- package/dist/contracts/AccessControlTestFactory.js +0 -23
- package/dist/contracts/AccessControlTestFactory.js.map +0 -1
- package/dist/contracts/AskBitmapTest.d.ts +0 -74
- package/dist/contracts/AskBitmapTest.d.ts.map +0 -1
- package/dist/contracts/AskBitmapTest.js +0 -150
- package/dist/contracts/AskBitmapTest.js.map +0 -1
- package/dist/contracts/AskBitmapTestFactory.d.ts +0 -9
- package/dist/contracts/AskBitmapTestFactory.d.ts.map +0 -1
- package/dist/contracts/AskBitmapTestFactory.js +0 -23
- package/dist/contracts/AskBitmapTestFactory.js.map +0 -1
- package/dist/contracts/BidBitmapTest.d.ts +0 -74
- package/dist/contracts/BidBitmapTest.d.ts.map +0 -1
- package/dist/contracts/BidBitmapTest.js +0 -150
- package/dist/contracts/BidBitmapTest.js.map +0 -1
- package/dist/contracts/BidBitmapTestFactory.d.ts +0 -9
- package/dist/contracts/BidBitmapTestFactory.d.ts.map +0 -1
- package/dist/contracts/BidBitmapTestFactory.js +0 -23
- package/dist/contracts/BidBitmapTestFactory.js.map +0 -1
- package/dist/contracts/EmptyContract.d.ts +0 -38
- package/dist/contracts/EmptyContract.d.ts.map +0 -1
- package/dist/contracts/EmptyContract.js +0 -49
- package/dist/contracts/EmptyContract.js.map +0 -1
- package/dist/contracts/EmptyContractFactory.d.ts +0 -9
- package/dist/contracts/EmptyContractFactory.d.ts.map +0 -1
- package/dist/contracts/EmptyContractFactory.js +0 -23
- package/dist/contracts/EmptyContractFactory.js.map +0 -1
- package/dist/contracts/LargeContract.d.ts +0 -136
- package/dist/contracts/LargeContract.d.ts.map +0 -1
- package/dist/contracts/LargeContract.js +0 -366
- package/dist/contracts/LargeContract.js.map +0 -1
- package/dist/contracts/LargeContractFactory.d.ts +0 -9
- package/dist/contracts/LargeContractFactory.d.ts.map +0 -1
- package/dist/contracts/LargeContractFactory.js +0 -23
- package/dist/contracts/LargeContractFactory.js.map +0 -1
- package/dist/contracts/LinkedListTest.d.ts +0 -184
- package/dist/contracts/LinkedListTest.d.ts.map +0 -1
- package/dist/contracts/LinkedListTest.js +0 -598
- package/dist/contracts/LinkedListTest.js.map +0 -1
- package/dist/contracts/LinkedListTestFactory.js +0 -23
- package/dist/contracts/LinkedListTestFactory.js.map +0 -1
- package/dist/contracts/MaxHeapTest.d.ts +0 -78
- package/dist/contracts/MaxHeapTest.d.ts.map +0 -1
- package/dist/contracts/MaxHeapTest.js +0 -176
- package/dist/contracts/MaxHeapTest.js.map +0 -1
- package/dist/contracts/MaxHeapTestFactory.d.ts +0 -9
- package/dist/contracts/MaxHeapTestFactory.d.ts.map +0 -1
- package/dist/contracts/MaxHeapTestFactory.js +0 -23
- package/dist/contracts/MaxHeapTestFactory.js.map +0 -1
- package/dist/contracts/MinHeapTest.d.ts +0 -78
- package/dist/contracts/MinHeapTest.d.ts.map +0 -1
- package/dist/contracts/MinHeapTest.js +0 -172
- package/dist/contracts/MinHeapTest.js.map +0 -1
- package/dist/contracts/MinHeapTestFactory.d.ts +0 -9
- package/dist/contracts/MinHeapTestFactory.d.ts.map +0 -1
- package/dist/contracts/MinHeapTestFactory.js +0 -23
- package/dist/contracts/MinHeapTestFactory.js.map +0 -1
- package/dist/contracts/MultiSetTest.d.ts +0 -109
- package/dist/contracts/MultiSetTest.d.ts.map +0 -1
- package/dist/contracts/MultiSetTest.js +0 -205
- package/dist/contracts/MultiSetTest.js.map +0 -1
- package/dist/contracts/MultiSetTestFactory.d.ts +0 -9
- package/dist/contracts/MultiSetTestFactory.d.ts.map +0 -1
- package/dist/contracts/MultiSetTestFactory.js +0 -23
- package/dist/contracts/MultiSetTestFactory.js.map +0 -1
- package/dist/contracts/PropMarginPoolMock.d.ts +0 -1320
- package/dist/contracts/PropMarginPoolMock.d.ts.map +0 -1
- package/dist/contracts/PropMarginPoolMock.js +0 -4899
- package/dist/contracts/PropMarginPoolMock.js.map +0 -1
- package/dist/contracts/PropMarginPoolMockFactory.d.ts +0 -9
- package/dist/contracts/PropMarginPoolMockFactory.d.ts.map +0 -1
- package/dist/contracts/PropMarginPoolMockFactory.js +0 -23
- package/dist/contracts/PropMarginPoolMockFactory.js.map +0 -1
- package/dist/contracts/SetTest.d.ts +0 -94
- package/dist/contracts/SetTest.d.ts.map +0 -1
- package/dist/contracts/SetTest.js +0 -174
- package/dist/contracts/SetTest.js.map +0 -1
- package/dist/contracts/SetTestFactory.d.ts +0 -9
- package/dist/contracts/SetTestFactory.d.ts.map +0 -1
- package/dist/contracts/SetTestFactory.js +0 -23
- package/dist/contracts/SetTestFactory.js.map +0 -1
- package/dist/contracts/Src20Mock.d.ts +0 -102
- package/dist/contracts/Src20Mock.d.ts.map +0 -1
- package/dist/contracts/Src20Mock.js +0 -291
- package/dist/contracts/Src20Mock.js.map +0 -1
- package/dist/contracts/Src20MockFactory.d.ts +0 -9
- package/dist/contracts/Src20MockFactory.d.ts.map +0 -1
- package/dist/contracts/Src20MockFactory.js +0 -23
- package/dist/contracts/Src20MockFactory.js.map +0 -1
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
/* eslint-disable @typescript-eslint/consistent-type-imports */
|
|
5
5
|
/*
|
|
6
6
|
Fuels version: 0.103.0
|
|
7
|
-
Forc version: 0.70.2
|
|
8
|
-
Fuel-Core version: 0.48.0
|
|
9
7
|
*/
|
|
10
8
|
import { Contract as __Contract, Interface } from "fuels";
|
|
11
9
|
export var AccessErrorInput;
|
|
@@ -50,6 +48,18 @@ export var FeeErrorOutput;
|
|
|
50
48
|
FeeErrorOutput["NoFeesAvailable"] = "NoFeesAvailable";
|
|
51
49
|
})(FeeErrorOutput || (FeeErrorOutput = {}));
|
|
52
50
|
;
|
|
51
|
+
export var HouseExecutionRoleInput;
|
|
52
|
+
(function (HouseExecutionRoleInput) {
|
|
53
|
+
HouseExecutionRoleInput["Maker"] = "Maker";
|
|
54
|
+
HouseExecutionRoleInput["Taker"] = "Taker";
|
|
55
|
+
})(HouseExecutionRoleInput || (HouseExecutionRoleInput = {}));
|
|
56
|
+
;
|
|
57
|
+
export var HouseExecutionRoleOutput;
|
|
58
|
+
(function (HouseExecutionRoleOutput) {
|
|
59
|
+
HouseExecutionRoleOutput["Maker"] = "Maker";
|
|
60
|
+
HouseExecutionRoleOutput["Taker"] = "Taker";
|
|
61
|
+
})(HouseExecutionRoleOutput || (HouseExecutionRoleOutput = {}));
|
|
62
|
+
;
|
|
53
63
|
export var InitializationErrorInput;
|
|
54
64
|
(function (InitializationErrorInput) {
|
|
55
65
|
InitializationErrorInput["CannotReinitialized"] = "CannotReinitialized";
|
|
@@ -108,6 +118,20 @@ export var PauseErrorOutput;
|
|
|
108
118
|
PauseErrorOutput["NotPaused"] = "NotPaused";
|
|
109
119
|
})(PauseErrorOutput || (PauseErrorOutput = {}));
|
|
110
120
|
;
|
|
121
|
+
export var SharedMatchStopInput;
|
|
122
|
+
(function (SharedMatchStopInput) {
|
|
123
|
+
SharedMatchStopInput["Complete"] = "Complete";
|
|
124
|
+
SharedMatchStopInput["NoLiquidity"] = "NoLiquidity";
|
|
125
|
+
SharedMatchStopInput["OutOfGas"] = "OutOfGas";
|
|
126
|
+
})(SharedMatchStopInput || (SharedMatchStopInput = {}));
|
|
127
|
+
;
|
|
128
|
+
export var SharedMatchStopOutput;
|
|
129
|
+
(function (SharedMatchStopOutput) {
|
|
130
|
+
SharedMatchStopOutput["Complete"] = "Complete";
|
|
131
|
+
SharedMatchStopOutput["NoLiquidity"] = "NoLiquidity";
|
|
132
|
+
SharedMatchStopOutput["OutOfGas"] = "OutOfGas";
|
|
133
|
+
})(SharedMatchStopOutput || (SharedMatchStopOutput = {}));
|
|
134
|
+
;
|
|
111
135
|
export var SideInput;
|
|
112
136
|
(function (SideInput) {
|
|
113
137
|
SideInput["Buy"] = "Buy";
|
|
@@ -120,6 +144,46 @@ export var SideOutput;
|
|
|
120
144
|
SideOutput["Sell"] = "Sell";
|
|
121
145
|
})(SideOutput || (SideOutput = {}));
|
|
122
146
|
;
|
|
147
|
+
export var SidecarErrorInput;
|
|
148
|
+
(function (SidecarErrorInput) {
|
|
149
|
+
SidecarErrorInput["Unauthorized"] = "Unauthorized";
|
|
150
|
+
SidecarErrorInput["SourceNotShared"] = "SourceNotShared";
|
|
151
|
+
SidecarErrorInput["SourceNotFound"] = "SourceNotFound";
|
|
152
|
+
SidecarErrorInput["InvalidSource"] = "InvalidSource";
|
|
153
|
+
SidecarErrorInput["InvalidQuantity"] = "InvalidQuantity";
|
|
154
|
+
SidecarErrorInput["InvalidPrice"] = "InvalidPrice";
|
|
155
|
+
SidecarErrorInput["InvalidPayment"] = "InvalidPayment";
|
|
156
|
+
SidecarErrorInput["InvalidFees"] = "InvalidFees";
|
|
157
|
+
SidecarErrorInput["HouseTriggersDisabled"] = "HouseTriggersDisabled";
|
|
158
|
+
SidecarErrorInput["HouseDirectOrder"] = "HouseDirectOrder";
|
|
159
|
+
SidecarErrorInput["InvalidCanonicalBook"] = "InvalidCanonicalBook";
|
|
160
|
+
SidecarErrorInput["InvalidSettlementReceipt"] = "InvalidSettlementReceipt";
|
|
161
|
+
SidecarErrorInput["InvalidAdmission"] = "InvalidAdmission";
|
|
162
|
+
SidecarErrorInput["HouseRoleManagedByCanonical"] = "HouseRoleManagedByCanonical";
|
|
163
|
+
SidecarErrorInput["SharedSpotCreationDisabled"] = "SharedSpotCreationDisabled";
|
|
164
|
+
SidecarErrorInput["SidecarAlreadyBound"] = "SidecarAlreadyBound";
|
|
165
|
+
})(SidecarErrorInput || (SidecarErrorInput = {}));
|
|
166
|
+
;
|
|
167
|
+
export var SidecarErrorOutput;
|
|
168
|
+
(function (SidecarErrorOutput) {
|
|
169
|
+
SidecarErrorOutput["Unauthorized"] = "Unauthorized";
|
|
170
|
+
SidecarErrorOutput["SourceNotShared"] = "SourceNotShared";
|
|
171
|
+
SidecarErrorOutput["SourceNotFound"] = "SourceNotFound";
|
|
172
|
+
SidecarErrorOutput["InvalidSource"] = "InvalidSource";
|
|
173
|
+
SidecarErrorOutput["InvalidQuantity"] = "InvalidQuantity";
|
|
174
|
+
SidecarErrorOutput["InvalidPrice"] = "InvalidPrice";
|
|
175
|
+
SidecarErrorOutput["InvalidPayment"] = "InvalidPayment";
|
|
176
|
+
SidecarErrorOutput["InvalidFees"] = "InvalidFees";
|
|
177
|
+
SidecarErrorOutput["HouseTriggersDisabled"] = "HouseTriggersDisabled";
|
|
178
|
+
SidecarErrorOutput["HouseDirectOrder"] = "HouseDirectOrder";
|
|
179
|
+
SidecarErrorOutput["InvalidCanonicalBook"] = "InvalidCanonicalBook";
|
|
180
|
+
SidecarErrorOutput["InvalidSettlementReceipt"] = "InvalidSettlementReceipt";
|
|
181
|
+
SidecarErrorOutput["InvalidAdmission"] = "InvalidAdmission";
|
|
182
|
+
SidecarErrorOutput["HouseRoleManagedByCanonical"] = "HouseRoleManagedByCanonical";
|
|
183
|
+
SidecarErrorOutput["SharedSpotCreationDisabled"] = "SharedSpotCreationDisabled";
|
|
184
|
+
SidecarErrorOutput["SidecarAlreadyBound"] = "SidecarAlreadyBound";
|
|
185
|
+
})(SidecarErrorOutput || (SidecarErrorOutput = {}));
|
|
186
|
+
;
|
|
123
187
|
export var TriggerOrderCancelErrorInput;
|
|
124
188
|
(function (TriggerOrderCancelErrorInput) {
|
|
125
189
|
TriggerOrderCancelErrorInput["NotOrderOwner"] = "NotOrderOwner";
|
|
@@ -264,42 +328,47 @@ const abi = {
|
|
|
264
328
|
{
|
|
265
329
|
"type": "enum contract_schema::order_book::TriggerOrderCancelError",
|
|
266
330
|
"concreteTypeId": "a4c1f16008f794e4bb5f1e3dee0e961b2c480dad11ea5b89fc2eacfe38631db5",
|
|
267
|
-
"metadataTypeId":
|
|
331
|
+
"metadataTypeId": 14
|
|
268
332
|
},
|
|
269
333
|
{
|
|
270
334
|
"type": "enum contract_schema::order_book::TriggerOrderCreationError",
|
|
271
335
|
"concreteTypeId": "15a4dcc6afac3f5e9d69383292c88895475737c599b518309c34cf8c1104f8f5",
|
|
272
|
-
"metadataTypeId":
|
|
336
|
+
"metadataTypeId": 15
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"type": "enum contract_schema::sidecar::SidecarError",
|
|
340
|
+
"concreteTypeId": "b93ed5b5c4e03275ba20b8e563f3c0c8c6557a39dc6299a2af5cba246e4d34fd",
|
|
341
|
+
"metadataTypeId": 20
|
|
273
342
|
},
|
|
274
343
|
{
|
|
275
344
|
"type": "enum ownership::errors::InitializationError",
|
|
276
345
|
"concreteTypeId": "b1fddf488ccb9e63d11888b2750bbd1280a1ae1c49f2d6637fd4cf1e930d1468",
|
|
277
|
-
"metadataTypeId":
|
|
346
|
+
"metadataTypeId": 21
|
|
278
347
|
},
|
|
279
348
|
{
|
|
280
349
|
"type": "enum pausable::errors::PauseError",
|
|
281
350
|
"concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a",
|
|
282
|
-
"metadataTypeId":
|
|
351
|
+
"metadataTypeId": 22
|
|
283
352
|
},
|
|
284
353
|
{
|
|
285
354
|
"type": "enum src5::AccessError",
|
|
286
355
|
"concreteTypeId": "f1247475d0d1466599267010f088190f8664dd31663a40c5d5e525d8e64b995d",
|
|
287
|
-
"metadataTypeId":
|
|
356
|
+
"metadataTypeId": 23
|
|
288
357
|
},
|
|
289
358
|
{
|
|
290
359
|
"type": "enum src5::State",
|
|
291
360
|
"concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
|
|
292
|
-
"metadataTypeId":
|
|
361
|
+
"metadataTypeId": 24
|
|
293
362
|
},
|
|
294
363
|
{
|
|
295
364
|
"type": "enum std::identity::Identity",
|
|
296
365
|
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335",
|
|
297
|
-
"metadataTypeId":
|
|
366
|
+
"metadataTypeId": 25
|
|
298
367
|
},
|
|
299
368
|
{
|
|
300
369
|
"type": "enum std::option::Option<(u64, u64)>",
|
|
301
370
|
"concreteTypeId": "19242ae35d869d7b20e980d4748dd1553fc96476a763b9169f74d949f3d3ecfb",
|
|
302
|
-
"metadataTypeId":
|
|
371
|
+
"metadataTypeId": 26,
|
|
303
372
|
"typeArguments": [
|
|
304
373
|
"41bd1a98f0a59642d8f824c805b798a5f268d1f7d05808eb05c4189c493f1be0"
|
|
305
374
|
]
|
|
@@ -307,7 +376,7 @@ const abi = {
|
|
|
307
376
|
{
|
|
308
377
|
"type": "enum std::option::Option<b256>",
|
|
309
378
|
"concreteTypeId": "0c2beb9013490c4f753f2757dfe2d8340b22ce3827d596d81d249b7038033cb6",
|
|
310
|
-
"metadataTypeId":
|
|
379
|
+
"metadataTypeId": 26,
|
|
311
380
|
"typeArguments": [
|
|
312
381
|
"7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
313
382
|
]
|
|
@@ -315,7 +384,7 @@ const abi = {
|
|
|
315
384
|
{
|
|
316
385
|
"type": "enum std::option::Option<struct contract_schema::order_book::Order>",
|
|
317
386
|
"concreteTypeId": "6cbb9ddffc993ba68abb27bb88aae72e4d50123c3fc8f05d663246d7c9f70724",
|
|
318
|
-
"metadataTypeId":
|
|
387
|
+
"metadataTypeId": 26,
|
|
319
388
|
"typeArguments": [
|
|
320
389
|
"8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea"
|
|
321
390
|
]
|
|
@@ -323,7 +392,7 @@ const abi = {
|
|
|
323
392
|
{
|
|
324
393
|
"type": "enum std::option::Option<struct contract_schema::order_book::TriggerOrder>",
|
|
325
394
|
"concreteTypeId": "aa46988b96e71d9a5994f2807f743c9a360e72be8e9865141192345e539187f5",
|
|
326
|
-
"metadataTypeId":
|
|
395
|
+
"metadataTypeId": 26,
|
|
327
396
|
"typeArguments": [
|
|
328
397
|
"4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21"
|
|
329
398
|
]
|
|
@@ -331,7 +400,7 @@ const abi = {
|
|
|
331
400
|
{
|
|
332
401
|
"type": "enum std::option::Option<struct contract_schema::order_book::TriggerOrderArgs>",
|
|
333
402
|
"concreteTypeId": "020bfa2968cbf7600b3752287637e71587b0f46760ffdf0a977421343746b5c8",
|
|
334
|
-
"metadataTypeId":
|
|
403
|
+
"metadataTypeId": 26,
|
|
335
404
|
"typeArguments": [
|
|
336
405
|
"e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74"
|
|
337
406
|
]
|
|
@@ -339,7 +408,7 @@ const abi = {
|
|
|
339
408
|
{
|
|
340
409
|
"type": "enum std::option::Option<struct std::contract_id::ContractId>",
|
|
341
410
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
342
|
-
"metadataTypeId":
|
|
411
|
+
"metadataTypeId": 26,
|
|
343
412
|
"typeArguments": [
|
|
344
413
|
"29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54"
|
|
345
414
|
]
|
|
@@ -347,7 +416,7 @@ const abi = {
|
|
|
347
416
|
{
|
|
348
417
|
"type": "enum std::option::Option<u64>",
|
|
349
418
|
"concreteTypeId": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
|
|
350
|
-
"metadataTypeId":
|
|
419
|
+
"metadataTypeId": 26,
|
|
351
420
|
"typeArguments": [
|
|
352
421
|
"1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
353
422
|
]
|
|
@@ -359,152 +428,202 @@ const abi = {
|
|
|
359
428
|
{
|
|
360
429
|
"type": "struct contract_libs::access_control::RoleGrantedEvent",
|
|
361
430
|
"concreteTypeId": "564661938244954c8836434b2cf26c3495e0538f78f281fc531f82003ef55d42",
|
|
362
|
-
"metadataTypeId":
|
|
431
|
+
"metadataTypeId": 29
|
|
363
432
|
},
|
|
364
433
|
{
|
|
365
434
|
"type": "struct contract_libs::access_control::RoleRevokedEvent",
|
|
366
435
|
"concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d",
|
|
367
|
-
"metadataTypeId":
|
|
436
|
+
"metadataTypeId": 30
|
|
368
437
|
},
|
|
369
438
|
{
|
|
370
439
|
"type": "struct contract_schema::order_book::ExpireMakerEvent",
|
|
371
440
|
"concreteTypeId": "937c43727e43c6ad683c47ad69885cf2783ecf73d59460fe1d7033a78ad5963c",
|
|
372
|
-
"metadataTypeId":
|
|
441
|
+
"metadataTypeId": 31
|
|
373
442
|
},
|
|
374
443
|
{
|
|
375
444
|
"type": "struct contract_schema::order_book::FeesClaimedEvent",
|
|
376
445
|
"concreteTypeId": "2e0368c222981c3e3cbba54d7dafbda77dd2c48809b2fd989773b4ae092d8b47",
|
|
377
|
-
"metadataTypeId":
|
|
446
|
+
"metadataTypeId": 32
|
|
378
447
|
},
|
|
379
448
|
{
|
|
380
449
|
"type": "struct contract_schema::order_book::FeesCollectedEvent",
|
|
381
450
|
"concreteTypeId": "814befd15e7d0ec83c54b78f1248f65890b6e4db618d7f067940385064ae00fa",
|
|
382
|
-
"metadataTypeId":
|
|
451
|
+
"metadataTypeId": 33
|
|
383
452
|
},
|
|
384
453
|
{
|
|
385
454
|
"type": "struct contract_schema::order_book::Order",
|
|
386
455
|
"concreteTypeId": "8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea",
|
|
387
|
-
"metadataTypeId":
|
|
456
|
+
"metadataTypeId": 35
|
|
388
457
|
},
|
|
389
458
|
{
|
|
390
459
|
"type": "struct contract_schema::order_book::OrderArgs",
|
|
391
460
|
"concreteTypeId": "027cfee5b9839be8e12b3b56eaf1315f269a86a23ae0a392f084185f7b54a410",
|
|
392
|
-
"metadataTypeId":
|
|
461
|
+
"metadataTypeId": 36
|
|
393
462
|
},
|
|
394
463
|
{
|
|
395
464
|
"type": "struct contract_schema::order_book::OrderBookBlacklistEvent",
|
|
396
465
|
"concreteTypeId": "15e58f365af5d32c8a830ec43e70fce6cfbad16f88ed89b35bb7878f15f5b75d",
|
|
397
|
-
"metadataTypeId":
|
|
466
|
+
"metadataTypeId": 37
|
|
398
467
|
},
|
|
399
468
|
{
|
|
400
469
|
"type": "struct contract_schema::order_book::OrderBookConfigEvent",
|
|
401
470
|
"concreteTypeId": "0959a811c54f76a36f4b1ca7a14729eba6801a5c03356f2cfb12233f574d0ce2",
|
|
402
|
-
"metadataTypeId":
|
|
471
|
+
"metadataTypeId": 38
|
|
403
472
|
},
|
|
404
473
|
{
|
|
405
474
|
"type": "struct contract_schema::order_book::OrderBookSymbolsEvent",
|
|
406
475
|
"concreteTypeId": "99b332e010c1fe173601492be1e50767afba39d95f5aebb83f07fdf4c2103104",
|
|
407
|
-
"metadataTypeId":
|
|
476
|
+
"metadataTypeId": 39
|
|
408
477
|
},
|
|
409
478
|
{
|
|
410
479
|
"type": "struct contract_schema::order_book::OrderBookWhitelistEvent",
|
|
411
480
|
"concreteTypeId": "39cbf43d52ecef8290e4f6e639a22b50f2ea8ce7d673930c83622422c7653026",
|
|
412
|
-
"metadataTypeId":
|
|
481
|
+
"metadataTypeId": 40
|
|
413
482
|
},
|
|
414
483
|
{
|
|
415
484
|
"type": "struct contract_schema::order_book::OrderCancelledEvent",
|
|
416
485
|
"concreteTypeId": "82fb068ba8a0739f1b0a907ff1fbcbc8b1e5a31d5a2f1b46742e4c5fca967c18",
|
|
417
|
-
"metadataTypeId":
|
|
486
|
+
"metadataTypeId": 41
|
|
418
487
|
},
|
|
419
488
|
{
|
|
420
489
|
"type": "struct contract_schema::order_book::OrderCancelledInternalEvent",
|
|
421
490
|
"concreteTypeId": "6e6744800e6fc84d4680e9492774bc9e0cab52bb665d518bdfd2ba21b3a4866c",
|
|
422
|
-
"metadataTypeId":
|
|
491
|
+
"metadataTypeId": 42
|
|
423
492
|
},
|
|
424
493
|
{
|
|
425
494
|
"type": "struct contract_schema::order_book::OrderCreatedEvent",
|
|
426
495
|
"concreteTypeId": "df21162bb6a03b08040f043d238f4b5275e591737c8b5f068f7422be87168258",
|
|
427
|
-
"metadataTypeId":
|
|
496
|
+
"metadataTypeId": 43
|
|
428
497
|
},
|
|
429
498
|
{
|
|
430
499
|
"type": "struct contract_schema::order_book::OrderHaltedEvent",
|
|
431
500
|
"concreteTypeId": "704d11e3abffc019b7c89fea24cbc379742ed0dc7ddc01c5425a143c1f0bc2b8",
|
|
432
|
-
"metadataTypeId":
|
|
501
|
+
"metadataTypeId": 44
|
|
433
502
|
},
|
|
434
503
|
{
|
|
435
504
|
"type": "struct contract_schema::order_book::OrderMatchedEvent",
|
|
436
505
|
"concreteTypeId": "cd2ccf60c8a1d69c9f5a8c9d17ec658f09cd58dac7f0f991a3ce3161c494ea88",
|
|
437
|
-
"metadataTypeId":
|
|
506
|
+
"metadataTypeId": 45
|
|
438
507
|
},
|
|
439
508
|
{
|
|
440
509
|
"type": "struct contract_schema::order_book::OrderOutOfGasEvent",
|
|
441
510
|
"concreteTypeId": "d7fc4e0e366f46285d7ebf08fe5d7a450b649532159d67ce60a329a2d468c5c1",
|
|
442
|
-
"metadataTypeId":
|
|
511
|
+
"metadataTypeId": 46
|
|
443
512
|
},
|
|
444
513
|
{
|
|
445
514
|
"type": "struct contract_schema::order_book::OrderTooSmallEvent",
|
|
446
515
|
"concreteTypeId": "2fed5c339537969e7d6569d8f1607e8476b5829cc3ef3185c9c4ae8f3a4f5edd",
|
|
447
|
-
"metadataTypeId":
|
|
516
|
+
"metadataTypeId": 47
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"type": "struct contract_schema::order_book::TriggerExecutionStartedEvent",
|
|
520
|
+
"concreteTypeId": "5ac97d4db71ec07242a0d1a39bbda4d243a5406c0d75256e159b28183ab39719",
|
|
521
|
+
"metadataTypeId": 48
|
|
448
522
|
},
|
|
449
523
|
{
|
|
450
524
|
"type": "struct contract_schema::order_book::TriggerOrder",
|
|
451
525
|
"concreteTypeId": "4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21",
|
|
452
|
-
"metadataTypeId":
|
|
526
|
+
"metadataTypeId": 49
|
|
453
527
|
},
|
|
454
528
|
{
|
|
455
529
|
"type": "struct contract_schema::order_book::TriggerOrderArgs",
|
|
456
530
|
"concreteTypeId": "e915e400fd7cca76151cd63ea4a84d70d906ea97663b011363db9271072cad74",
|
|
457
|
-
"metadataTypeId":
|
|
531
|
+
"metadataTypeId": 50
|
|
458
532
|
},
|
|
459
533
|
{
|
|
460
534
|
"type": "struct contract_schema::order_book::TriggerOrderCreatedEvent",
|
|
461
535
|
"concreteTypeId": "e668619391f65f6ddbe3de3cfd8a1777035887bc8bbb31c7847131031159841a",
|
|
462
|
-
"metadataTypeId":
|
|
536
|
+
"metadataTypeId": 51
|
|
463
537
|
},
|
|
464
538
|
{
|
|
465
539
|
"type": "struct contract_schema::order_book::TriggerOrderEjectedEvent",
|
|
466
540
|
"concreteTypeId": "962f5e9ef1b8222269128afe35ff4d3241c140c267d673365de624d353b563c8",
|
|
467
|
-
"metadataTypeId":
|
|
541
|
+
"metadataTypeId": 52
|
|
468
542
|
},
|
|
469
543
|
{
|
|
470
544
|
"type": "struct contract_schema::order_book::WithdrawSettledTradeEvent",
|
|
471
545
|
"concreteTypeId": "b145f499e90557447a26156cda458d1c0284a487ef8b8a90646411a33ee5e241",
|
|
472
|
-
"metadataTypeId":
|
|
546
|
+
"metadataTypeId": 53
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"type": "struct contract_schema::sidecar::DepthLevel",
|
|
550
|
+
"concreteTypeId": "18240fa1b77ae97e57ef2af4109c4642580207749c55f00900af7231c080f3ec",
|
|
551
|
+
"metadataTypeId": 54
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"type": "struct contract_schema::sidecar::HouseExecutionResult",
|
|
555
|
+
"concreteTypeId": "eddab1f243e0e8be030324bc40ee8259d813fca3ae4356b9d943eda8abfb6c9b",
|
|
556
|
+
"metadataTypeId": 55
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"type": "struct contract_schema::sidecar::SharedBookConfiguration",
|
|
560
|
+
"concreteTypeId": "328456477a1d31a6a21c0c19ecd032e06f91174733f788385af46b288779affa",
|
|
561
|
+
"metadataTypeId": 56
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"type": "struct contract_schema::sidecar::SharedExecutionEvent",
|
|
565
|
+
"concreteTypeId": "39165ebe991f4e6776913533fb1ad1cc37591b24854d26c52af66771b7d4bec5",
|
|
566
|
+
"metadataTypeId": 57
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"type": "struct contract_schema::sidecar::SharedFillReceipt",
|
|
570
|
+
"concreteTypeId": "e230148a88ff551a50a62356fb92ef0223f84c7261cf852a971061a9c98163c3",
|
|
571
|
+
"metadataTypeId": 58
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"type": "struct contract_schema::sidecar::SharedFillRequest",
|
|
575
|
+
"concreteTypeId": "80251a5f2d2813bba26cc8d3a9c73cfd4ddf863df323bd269c000df03f07a8b5",
|
|
576
|
+
"metadataTypeId": 59
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"type": "struct contract_schema::sidecar::SharedMatchRequest",
|
|
580
|
+
"concreteTypeId": "c99f564269186bb8c42828d1e1466432482eaeaea072819bf1f980653230bb8c",
|
|
581
|
+
"metadataTypeId": 60
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"type": "struct contract_schema::sidecar::SharedMatchResult",
|
|
585
|
+
"concreteTypeId": "bdcb31216ebf50907f85e251cd912275381e98b9ba3218d9fac00ba31382d43b",
|
|
586
|
+
"metadataTypeId": 61
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"type": "struct contract_schema::sidecar::SidecarChangedEvent",
|
|
590
|
+
"concreteTypeId": "8338d81a479705151e733ab5952c2a92b14934fe23332e03d1392f8a684eed44",
|
|
591
|
+
"metadataTypeId": 62
|
|
473
592
|
},
|
|
474
593
|
{
|
|
475
594
|
"type": "struct ownership::events::OwnershipSet",
|
|
476
595
|
"concreteTypeId": "8c0d2488561c35a28ef795bb8bcc4c43999cdd1e3ecbd10c226e0a68660c54d4",
|
|
477
|
-
"metadataTypeId":
|
|
596
|
+
"metadataTypeId": 64
|
|
478
597
|
},
|
|
479
598
|
{
|
|
480
599
|
"type": "struct ownership::events::OwnershipTransferred",
|
|
481
600
|
"concreteTypeId": "a2a2643e0252b510328c0323a0ea60724fb4cb3309a2322ab31b27566ff9a79d",
|
|
482
|
-
"metadataTypeId":
|
|
601
|
+
"metadataTypeId": 65
|
|
483
602
|
},
|
|
484
603
|
{
|
|
485
604
|
"type": "struct pausable::events::PauseEvent",
|
|
486
605
|
"concreteTypeId": "692983a9aba767e36b5014d3eb842447c736e341cc3b30fcb051b1f5a3d5f80a",
|
|
487
|
-
"metadataTypeId":
|
|
606
|
+
"metadataTypeId": 66
|
|
488
607
|
},
|
|
489
608
|
{
|
|
490
609
|
"type": "struct pausable::events::UnpauseEvent",
|
|
491
610
|
"concreteTypeId": "0026d386ad84e75b525bec3e7c8b6a63df3fcd108a8c4b26438c8a7a2e2c218b",
|
|
492
|
-
"metadataTypeId":
|
|
611
|
+
"metadataTypeId": 67
|
|
493
612
|
},
|
|
494
613
|
{
|
|
495
614
|
"type": "struct std::asset_id::AssetId",
|
|
496
615
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
497
|
-
"metadataTypeId":
|
|
616
|
+
"metadataTypeId": 69
|
|
498
617
|
},
|
|
499
618
|
{
|
|
500
619
|
"type": "struct std::contract_id::ContractId",
|
|
501
620
|
"concreteTypeId": "29c10735d33b5159f0c71ee1dbd17b36a3e69e41f00fab0d42e1bd9f428d8a54",
|
|
502
|
-
"metadataTypeId":
|
|
621
|
+
"metadataTypeId": 72
|
|
503
622
|
},
|
|
504
623
|
{
|
|
505
624
|
"type": "struct std::vec::Vec<b256>",
|
|
506
625
|
"concreteTypeId": "32559685d0c9845f059bf9d472a0a38cf77d36c23dfcffe5489e86a65cdd9198",
|
|
507
|
-
"metadataTypeId":
|
|
626
|
+
"metadataTypeId": 76,
|
|
508
627
|
"typeArguments": [
|
|
509
628
|
"7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
510
629
|
]
|
|
@@ -512,7 +631,7 @@ const abi = {
|
|
|
512
631
|
{
|
|
513
632
|
"type": "struct std::vec::Vec<enum std::identity::Identity>",
|
|
514
633
|
"concreteTypeId": "2f79033d0d3729398611309f48578b56cf5162ba85e50f4d8fb79c9d9d1abc7b",
|
|
515
|
-
"metadataTypeId":
|
|
634
|
+
"metadataTypeId": 76,
|
|
516
635
|
"typeArguments": [
|
|
517
636
|
"ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
518
637
|
]
|
|
@@ -520,7 +639,7 @@ const abi = {
|
|
|
520
639
|
{
|
|
521
640
|
"type": "struct std::vec::Vec<struct contract_schema::order_book::Order>",
|
|
522
641
|
"concreteTypeId": "d390c7062efc85cc0e3e0a9339016565cda69d055c218f82d362776998f4e505",
|
|
523
|
-
"metadataTypeId":
|
|
642
|
+
"metadataTypeId": 76,
|
|
524
643
|
"typeArguments": [
|
|
525
644
|
"8269f147d8b1fed93590ca56380b11413a1bed10c13c00627a887a6a5e042cea"
|
|
526
645
|
]
|
|
@@ -528,11 +647,19 @@ const abi = {
|
|
|
528
647
|
{
|
|
529
648
|
"type": "struct std::vec::Vec<struct contract_schema::order_book::TriggerOrder>",
|
|
530
649
|
"concreteTypeId": "90bd4a53a7770f92afd12f9ceaea3e7f99a6c46d42d3ddedeef0874b7be6c92a",
|
|
531
|
-
"metadataTypeId":
|
|
650
|
+
"metadataTypeId": 76,
|
|
532
651
|
"typeArguments": [
|
|
533
652
|
"4cf39a60821b204ac155fe0a818c69e2008c926cb1903b2215dc08bec937dd21"
|
|
534
653
|
]
|
|
535
654
|
},
|
|
655
|
+
{
|
|
656
|
+
"type": "struct std::vec::Vec<struct contract_schema::sidecar::DepthLevel>",
|
|
657
|
+
"concreteTypeId": "5bcfb63b0faf07ebc67dde99f79a6e57600ed7df5dcda1ea37a34fa3db4e2054",
|
|
658
|
+
"metadataTypeId": 76,
|
|
659
|
+
"typeArguments": [
|
|
660
|
+
"18240fa1b77ae97e57ef2af4109c4642580207749c55f00900af7231c080f3ec"
|
|
661
|
+
]
|
|
662
|
+
},
|
|
536
663
|
{
|
|
537
664
|
"type": "u256",
|
|
538
665
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e"
|
|
@@ -567,7 +694,7 @@ const abi = {
|
|
|
567
694
|
},
|
|
568
695
|
{
|
|
569
696
|
"name": "__tuple_element",
|
|
570
|
-
"typeId":
|
|
697
|
+
"typeId": 74
|
|
571
698
|
}
|
|
572
699
|
]
|
|
573
700
|
},
|
|
@@ -599,7 +726,7 @@ const abi = {
|
|
|
599
726
|
},
|
|
600
727
|
{
|
|
601
728
|
"name": "__tuple_element",
|
|
602
|
-
"typeId":
|
|
729
|
+
"typeId": 26,
|
|
603
730
|
"typeArguments": [
|
|
604
731
|
{
|
|
605
732
|
"name": "",
|
|
@@ -808,6 +935,14 @@ const abi = {
|
|
|
808
935
|
{
|
|
809
936
|
"name": "BoundedMarket",
|
|
810
937
|
"typeId": 0
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
"name": "TurboSharedSpot",
|
|
941
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"name": "TurboSharedPostOnly",
|
|
945
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
811
946
|
}
|
|
812
947
|
]
|
|
813
948
|
},
|
|
@@ -826,8 +961,36 @@ const abi = {
|
|
|
826
961
|
]
|
|
827
962
|
},
|
|
828
963
|
{
|
|
829
|
-
"type": "enum contract_schema::order_book::
|
|
964
|
+
"type": "enum contract_schema::order_book::TakerMarket",
|
|
830
965
|
"metadataTypeId": 12,
|
|
966
|
+
"components": [
|
|
967
|
+
{
|
|
968
|
+
"name": "BoundedMarket",
|
|
969
|
+
"typeId": 0
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"name": "UnboundedMarket",
|
|
973
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
974
|
+
}
|
|
975
|
+
]
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"type": "enum contract_schema::order_book::TakerPrice",
|
|
979
|
+
"metadataTypeId": 13,
|
|
980
|
+
"components": [
|
|
981
|
+
{
|
|
982
|
+
"name": "Limit",
|
|
983
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
"name": "Market",
|
|
987
|
+
"typeId": 12
|
|
988
|
+
}
|
|
989
|
+
]
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"type": "enum contract_schema::order_book::TriggerOrderCancelError",
|
|
993
|
+
"metadataTypeId": 14,
|
|
831
994
|
"components": [
|
|
832
995
|
{
|
|
833
996
|
"name": "NotOrderOwner",
|
|
@@ -845,7 +1008,7 @@ const abi = {
|
|
|
845
1008
|
},
|
|
846
1009
|
{
|
|
847
1010
|
"type": "enum contract_schema::order_book::TriggerOrderCreationError",
|
|
848
|
-
"metadataTypeId":
|
|
1011
|
+
"metadataTypeId": 15,
|
|
849
1012
|
"components": [
|
|
850
1013
|
{
|
|
851
1014
|
"name": "InvalidArgs",
|
|
@@ -955,7 +1118,7 @@ const abi = {
|
|
|
955
1118
|
},
|
|
956
1119
|
{
|
|
957
1120
|
"type": "enum contract_schema::order_book::TriggerOrderType",
|
|
958
|
-
"metadataTypeId":
|
|
1121
|
+
"metadataTypeId": 16,
|
|
959
1122
|
"components": [
|
|
960
1123
|
{
|
|
961
1124
|
"name": "Market",
|
|
@@ -973,7 +1136,7 @@ const abi = {
|
|
|
973
1136
|
},
|
|
974
1137
|
{
|
|
975
1138
|
"type": "enum contract_schema::order_book::TriggerQuantity",
|
|
976
|
-
"metadataTypeId":
|
|
1139
|
+
"metadataTypeId": 17,
|
|
977
1140
|
"components": [
|
|
978
1141
|
{
|
|
979
1142
|
"name": "Quantity",
|
|
@@ -985,9 +1148,111 @@ const abi = {
|
|
|
985
1148
|
}
|
|
986
1149
|
]
|
|
987
1150
|
},
|
|
1151
|
+
{
|
|
1152
|
+
"type": "enum contract_schema::sidecar::HouseExecutionRole",
|
|
1153
|
+
"metadataTypeId": 18,
|
|
1154
|
+
"components": [
|
|
1155
|
+
{
|
|
1156
|
+
"name": "Maker",
|
|
1157
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1158
|
+
},
|
|
1159
|
+
{
|
|
1160
|
+
"name": "Taker",
|
|
1161
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1162
|
+
}
|
|
1163
|
+
]
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"type": "enum contract_schema::sidecar::SharedMatchStop",
|
|
1167
|
+
"metadataTypeId": 19,
|
|
1168
|
+
"components": [
|
|
1169
|
+
{
|
|
1170
|
+
"name": "Complete",
|
|
1171
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"name": "NoLiquidity",
|
|
1175
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1176
|
+
},
|
|
1177
|
+
{
|
|
1178
|
+
"name": "OutOfGas",
|
|
1179
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1180
|
+
}
|
|
1181
|
+
]
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"type": "enum contract_schema::sidecar::SidecarError",
|
|
1185
|
+
"metadataTypeId": 20,
|
|
1186
|
+
"components": [
|
|
1187
|
+
{
|
|
1188
|
+
"name": "Unauthorized",
|
|
1189
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "SourceNotShared",
|
|
1193
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "SourceNotFound",
|
|
1197
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"name": "InvalidSource",
|
|
1201
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1202
|
+
},
|
|
1203
|
+
{
|
|
1204
|
+
"name": "InvalidQuantity",
|
|
1205
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "InvalidPrice",
|
|
1209
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"name": "InvalidPayment",
|
|
1213
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"name": "InvalidFees",
|
|
1217
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1218
|
+
},
|
|
1219
|
+
{
|
|
1220
|
+
"name": "HouseTriggersDisabled",
|
|
1221
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1222
|
+
},
|
|
1223
|
+
{
|
|
1224
|
+
"name": "HouseDirectOrder",
|
|
1225
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"name": "InvalidCanonicalBook",
|
|
1229
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1230
|
+
},
|
|
1231
|
+
{
|
|
1232
|
+
"name": "InvalidSettlementReceipt",
|
|
1233
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1234
|
+
},
|
|
1235
|
+
{
|
|
1236
|
+
"name": "InvalidAdmission",
|
|
1237
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"name": "HouseRoleManagedByCanonical",
|
|
1241
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "SharedSpotCreationDisabled",
|
|
1245
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"name": "SidecarAlreadyBound",
|
|
1249
|
+
"typeId": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d"
|
|
1250
|
+
}
|
|
1251
|
+
]
|
|
1252
|
+
},
|
|
988
1253
|
{
|
|
989
1254
|
"type": "enum ownership::errors::InitializationError",
|
|
990
|
-
"metadataTypeId":
|
|
1255
|
+
"metadataTypeId": 21,
|
|
991
1256
|
"components": [
|
|
992
1257
|
{
|
|
993
1258
|
"name": "CannotReinitialized",
|
|
@@ -997,7 +1262,7 @@ const abi = {
|
|
|
997
1262
|
},
|
|
998
1263
|
{
|
|
999
1264
|
"type": "enum pausable::errors::PauseError",
|
|
1000
|
-
"metadataTypeId":
|
|
1265
|
+
"metadataTypeId": 22,
|
|
1001
1266
|
"components": [
|
|
1002
1267
|
{
|
|
1003
1268
|
"name": "Paused",
|
|
@@ -1011,7 +1276,7 @@ const abi = {
|
|
|
1011
1276
|
},
|
|
1012
1277
|
{
|
|
1013
1278
|
"type": "enum src5::AccessError",
|
|
1014
|
-
"metadataTypeId":
|
|
1279
|
+
"metadataTypeId": 23,
|
|
1015
1280
|
"components": [
|
|
1016
1281
|
{
|
|
1017
1282
|
"name": "NotOwner",
|
|
@@ -1021,7 +1286,7 @@ const abi = {
|
|
|
1021
1286
|
},
|
|
1022
1287
|
{
|
|
1023
1288
|
"type": "enum src5::State",
|
|
1024
|
-
"metadataTypeId":
|
|
1289
|
+
"metadataTypeId": 24,
|
|
1025
1290
|
"components": [
|
|
1026
1291
|
{
|
|
1027
1292
|
"name": "Uninitialized",
|
|
@@ -1029,7 +1294,7 @@ const abi = {
|
|
|
1029
1294
|
},
|
|
1030
1295
|
{
|
|
1031
1296
|
"name": "Initialized",
|
|
1032
|
-
"typeId":
|
|
1297
|
+
"typeId": 25
|
|
1033
1298
|
},
|
|
1034
1299
|
{
|
|
1035
1300
|
"name": "Revoked",
|
|
@@ -1039,21 +1304,21 @@ const abi = {
|
|
|
1039
1304
|
},
|
|
1040
1305
|
{
|
|
1041
1306
|
"type": "enum std::identity::Identity",
|
|
1042
|
-
"metadataTypeId":
|
|
1307
|
+
"metadataTypeId": 25,
|
|
1043
1308
|
"components": [
|
|
1044
1309
|
{
|
|
1045
1310
|
"name": "Address",
|
|
1046
|
-
"typeId":
|
|
1311
|
+
"typeId": 68
|
|
1047
1312
|
},
|
|
1048
1313
|
{
|
|
1049
1314
|
"name": "ContractId",
|
|
1050
|
-
"typeId":
|
|
1315
|
+
"typeId": 72
|
|
1051
1316
|
}
|
|
1052
1317
|
]
|
|
1053
1318
|
},
|
|
1054
1319
|
{
|
|
1055
1320
|
"type": "enum std::option::Option",
|
|
1056
|
-
"metadataTypeId":
|
|
1321
|
+
"metadataTypeId": 26,
|
|
1057
1322
|
"components": [
|
|
1058
1323
|
{
|
|
1059
1324
|
"name": "None",
|
|
@@ -1061,24 +1326,24 @@ const abi = {
|
|
|
1061
1326
|
},
|
|
1062
1327
|
{
|
|
1063
1328
|
"name": "Some",
|
|
1064
|
-
"typeId":
|
|
1329
|
+
"typeId": 27
|
|
1065
1330
|
}
|
|
1066
1331
|
],
|
|
1067
1332
|
"typeParameters": [
|
|
1068
|
-
|
|
1333
|
+
27
|
|
1069
1334
|
]
|
|
1070
1335
|
},
|
|
1071
1336
|
{
|
|
1072
1337
|
"type": "generic T",
|
|
1073
|
-
"metadataTypeId":
|
|
1338
|
+
"metadataTypeId": 27
|
|
1074
1339
|
},
|
|
1075
1340
|
{
|
|
1076
1341
|
"type": "raw untyped ptr",
|
|
1077
|
-
"metadataTypeId":
|
|
1342
|
+
"metadataTypeId": 28
|
|
1078
1343
|
},
|
|
1079
1344
|
{
|
|
1080
1345
|
"type": "struct contract_libs::access_control::RoleGrantedEvent",
|
|
1081
|
-
"metadataTypeId":
|
|
1346
|
+
"metadataTypeId": 29,
|
|
1082
1347
|
"components": [
|
|
1083
1348
|
{
|
|
1084
1349
|
"name": "role",
|
|
@@ -1086,13 +1351,13 @@ const abi = {
|
|
|
1086
1351
|
},
|
|
1087
1352
|
{
|
|
1088
1353
|
"name": "account",
|
|
1089
|
-
"typeId":
|
|
1354
|
+
"typeId": 25
|
|
1090
1355
|
}
|
|
1091
1356
|
]
|
|
1092
1357
|
},
|
|
1093
1358
|
{
|
|
1094
1359
|
"type": "struct contract_libs::access_control::RoleRevokedEvent",
|
|
1095
|
-
"metadataTypeId":
|
|
1360
|
+
"metadataTypeId": 30,
|
|
1096
1361
|
"components": [
|
|
1097
1362
|
{
|
|
1098
1363
|
"name": "role",
|
|
@@ -1100,13 +1365,13 @@ const abi = {
|
|
|
1100
1365
|
},
|
|
1101
1366
|
{
|
|
1102
1367
|
"name": "account",
|
|
1103
|
-
"typeId":
|
|
1368
|
+
"typeId": 25
|
|
1104
1369
|
}
|
|
1105
1370
|
]
|
|
1106
1371
|
},
|
|
1107
1372
|
{
|
|
1108
1373
|
"type": "struct contract_schema::order_book::ExpireMakerEvent",
|
|
1109
|
-
"metadataTypeId":
|
|
1374
|
+
"metadataTypeId": 31,
|
|
1110
1375
|
"components": [
|
|
1111
1376
|
{
|
|
1112
1377
|
"name": "order_id",
|
|
@@ -1114,13 +1379,13 @@ const abi = {
|
|
|
1114
1379
|
},
|
|
1115
1380
|
{
|
|
1116
1381
|
"name": "timestamp",
|
|
1117
|
-
"typeId":
|
|
1382
|
+
"typeId": 74
|
|
1118
1383
|
}
|
|
1119
1384
|
]
|
|
1120
1385
|
},
|
|
1121
1386
|
{
|
|
1122
1387
|
"type": "struct contract_schema::order_book::FeesClaimedEvent",
|
|
1123
|
-
"metadataTypeId":
|
|
1388
|
+
"metadataTypeId": 32,
|
|
1124
1389
|
"components": [
|
|
1125
1390
|
{
|
|
1126
1391
|
"name": "base_fees",
|
|
@@ -1134,7 +1399,7 @@ const abi = {
|
|
|
1134
1399
|
},
|
|
1135
1400
|
{
|
|
1136
1401
|
"type": "struct contract_schema::order_book::FeesCollectedEvent",
|
|
1137
|
-
"metadataTypeId":
|
|
1402
|
+
"metadataTypeId": 33,
|
|
1138
1403
|
"components": [
|
|
1139
1404
|
{
|
|
1140
1405
|
"name": "base_fees",
|
|
@@ -1148,7 +1413,7 @@ const abi = {
|
|
|
1148
1413
|
},
|
|
1149
1414
|
{
|
|
1150
1415
|
"type": "struct contract_schema::order_book::MatchId",
|
|
1151
|
-
"metadataTypeId":
|
|
1416
|
+
"metadataTypeId": 34,
|
|
1152
1417
|
"components": [
|
|
1153
1418
|
{
|
|
1154
1419
|
"name": "maker_id",
|
|
@@ -1162,7 +1427,7 @@ const abi = {
|
|
|
1162
1427
|
},
|
|
1163
1428
|
{
|
|
1164
1429
|
"type": "struct contract_schema::order_book::Order",
|
|
1165
|
-
"metadataTypeId":
|
|
1430
|
+
"metadataTypeId": 35,
|
|
1166
1431
|
"components": [
|
|
1167
1432
|
{
|
|
1168
1433
|
"name": "order_id",
|
|
@@ -1170,7 +1435,7 @@ const abi = {
|
|
|
1170
1435
|
},
|
|
1171
1436
|
{
|
|
1172
1437
|
"name": "trader_id",
|
|
1173
|
-
"typeId":
|
|
1438
|
+
"typeId": 25
|
|
1174
1439
|
},
|
|
1175
1440
|
{
|
|
1176
1441
|
"name": "side",
|
|
@@ -1192,7 +1457,7 @@ const abi = {
|
|
|
1192
1457
|
},
|
|
1193
1458
|
{
|
|
1194
1459
|
"type": "struct contract_schema::order_book::OrderArgs",
|
|
1195
|
-
"metadataTypeId":
|
|
1460
|
+
"metadataTypeId": 36,
|
|
1196
1461
|
"components": [
|
|
1197
1462
|
{
|
|
1198
1463
|
"name": "price",
|
|
@@ -1210,15 +1475,15 @@ const abi = {
|
|
|
1210
1475
|
},
|
|
1211
1476
|
{
|
|
1212
1477
|
"type": "struct contract_schema::order_book::OrderBookBlacklistEvent",
|
|
1213
|
-
"metadataTypeId":
|
|
1478
|
+
"metadataTypeId": 37,
|
|
1214
1479
|
"components": [
|
|
1215
1480
|
{
|
|
1216
1481
|
"name": "blacklist",
|
|
1217
|
-
"typeId":
|
|
1482
|
+
"typeId": 26,
|
|
1218
1483
|
"typeArguments": [
|
|
1219
1484
|
{
|
|
1220
1485
|
"name": "",
|
|
1221
|
-
"typeId":
|
|
1486
|
+
"typeId": 72
|
|
1222
1487
|
}
|
|
1223
1488
|
]
|
|
1224
1489
|
}
|
|
@@ -1226,15 +1491,415 @@ const abi = {
|
|
|
1226
1491
|
},
|
|
1227
1492
|
{
|
|
1228
1493
|
"type": "struct contract_schema::order_book::OrderBookConfigEvent",
|
|
1229
|
-
"metadataTypeId":
|
|
1494
|
+
"metadataTypeId": 38,
|
|
1230
1495
|
"components": [
|
|
1231
1496
|
{
|
|
1232
1497
|
"name": "base_asset",
|
|
1233
|
-
"typeId":
|
|
1498
|
+
"typeId": 69
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"name": "quote_asset",
|
|
1502
|
+
"typeId": 69
|
|
1503
|
+
},
|
|
1504
|
+
{
|
|
1505
|
+
"name": "base_decimals",
|
|
1506
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1507
|
+
},
|
|
1508
|
+
{
|
|
1509
|
+
"name": "quote_decimals",
|
|
1510
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"name": "min_order",
|
|
1514
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"name": "maker_fee",
|
|
1518
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "taker_fee",
|
|
1522
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"name": "price_precision",
|
|
1526
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"name": "quantity_precision",
|
|
1530
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1531
|
+
},
|
|
1532
|
+
{
|
|
1533
|
+
"name": "price_window",
|
|
1534
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1535
|
+
},
|
|
1536
|
+
{
|
|
1537
|
+
"name": "dust",
|
|
1538
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
"name": "allow_fractional_price",
|
|
1542
|
+
"typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"name": "trigger_max_slippage",
|
|
1546
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1547
|
+
}
|
|
1548
|
+
]
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"type": "struct contract_schema::order_book::OrderBookSymbolsEvent",
|
|
1552
|
+
"metadataTypeId": 39,
|
|
1553
|
+
"components": [
|
|
1554
|
+
{
|
|
1555
|
+
"name": "base_symbol",
|
|
1556
|
+
"typeId": 73
|
|
1557
|
+
},
|
|
1558
|
+
{
|
|
1559
|
+
"name": "quote_symbol",
|
|
1560
|
+
"typeId": 73
|
|
1561
|
+
}
|
|
1562
|
+
]
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"type": "struct contract_schema::order_book::OrderBookWhitelistEvent",
|
|
1566
|
+
"metadataTypeId": 40,
|
|
1567
|
+
"components": [
|
|
1568
|
+
{
|
|
1569
|
+
"name": "whitelist",
|
|
1570
|
+
"typeId": 26,
|
|
1571
|
+
"typeArguments": [
|
|
1572
|
+
{
|
|
1573
|
+
"name": "",
|
|
1574
|
+
"typeId": 72
|
|
1575
|
+
}
|
|
1576
|
+
]
|
|
1577
|
+
}
|
|
1578
|
+
]
|
|
1579
|
+
},
|
|
1580
|
+
{
|
|
1581
|
+
"type": "struct contract_schema::order_book::OrderCancelledEvent",
|
|
1582
|
+
"metadataTypeId": 41,
|
|
1583
|
+
"components": [
|
|
1584
|
+
{
|
|
1585
|
+
"name": "order_id",
|
|
1586
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1587
|
+
},
|
|
1588
|
+
{
|
|
1589
|
+
"name": "timestamp",
|
|
1590
|
+
"typeId": 74
|
|
1591
|
+
}
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"type": "struct contract_schema::order_book::OrderCancelledInternalEvent",
|
|
1596
|
+
"metadataTypeId": 42,
|
|
1597
|
+
"components": [
|
|
1598
|
+
{
|
|
1599
|
+
"name": "order_id",
|
|
1600
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1601
|
+
},
|
|
1602
|
+
{
|
|
1603
|
+
"name": "timestamp",
|
|
1604
|
+
"typeId": 74
|
|
1605
|
+
}
|
|
1606
|
+
]
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"type": "struct contract_schema::order_book::OrderCreatedEvent",
|
|
1610
|
+
"metadataTypeId": 43,
|
|
1611
|
+
"components": [
|
|
1612
|
+
{
|
|
1613
|
+
"name": "order_id",
|
|
1614
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1615
|
+
},
|
|
1616
|
+
{
|
|
1617
|
+
"name": "trader_id",
|
|
1618
|
+
"typeId": 25
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"name": "order_side",
|
|
1622
|
+
"typeId": 11
|
|
1623
|
+
},
|
|
1624
|
+
{
|
|
1625
|
+
"name": "order_type",
|
|
1626
|
+
"typeId": 10
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "quantity",
|
|
1630
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"name": "price",
|
|
1634
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1635
|
+
},
|
|
1636
|
+
{
|
|
1637
|
+
"name": "timestamp",
|
|
1638
|
+
"typeId": 74
|
|
1639
|
+
}
|
|
1640
|
+
]
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"type": "struct contract_schema::order_book::OrderHaltedEvent",
|
|
1644
|
+
"metadataTypeId": 44,
|
|
1645
|
+
"components": [
|
|
1646
|
+
{
|
|
1647
|
+
"name": "order_id",
|
|
1648
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "remaining_quantity",
|
|
1652
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"name": "timestamp",
|
|
1656
|
+
"typeId": 74
|
|
1657
|
+
}
|
|
1658
|
+
]
|
|
1659
|
+
},
|
|
1660
|
+
{
|
|
1661
|
+
"type": "struct contract_schema::order_book::OrderMatchedEvent",
|
|
1662
|
+
"metadataTypeId": 45,
|
|
1663
|
+
"components": [
|
|
1664
|
+
{
|
|
1665
|
+
"name": "match_id",
|
|
1666
|
+
"typeId": 34
|
|
1667
|
+
},
|
|
1668
|
+
{
|
|
1669
|
+
"name": "quantity",
|
|
1670
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"name": "price",
|
|
1674
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"name": "timestamp",
|
|
1678
|
+
"typeId": 74
|
|
1679
|
+
}
|
|
1680
|
+
]
|
|
1681
|
+
},
|
|
1682
|
+
{
|
|
1683
|
+
"type": "struct contract_schema::order_book::OrderOutOfGasEvent",
|
|
1684
|
+
"metadataTypeId": 46,
|
|
1685
|
+
"components": [
|
|
1686
|
+
{
|
|
1687
|
+
"name": "order_id",
|
|
1688
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"name": "timestamp",
|
|
1692
|
+
"typeId": 74
|
|
1693
|
+
}
|
|
1694
|
+
]
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"type": "struct contract_schema::order_book::OrderTooSmallEvent",
|
|
1698
|
+
"metadataTypeId": 47,
|
|
1699
|
+
"components": [
|
|
1700
|
+
{
|
|
1701
|
+
"name": "order_id",
|
|
1702
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1703
|
+
},
|
|
1704
|
+
{
|
|
1705
|
+
"name": "timestamp",
|
|
1706
|
+
"typeId": 74
|
|
1707
|
+
}
|
|
1708
|
+
]
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"type": "struct contract_schema::order_book::TriggerExecutionStartedEvent",
|
|
1712
|
+
"metadataTypeId": 48,
|
|
1713
|
+
"components": [
|
|
1714
|
+
{
|
|
1715
|
+
"name": "trigger_order_id",
|
|
1716
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1717
|
+
},
|
|
1718
|
+
{
|
|
1719
|
+
"name": "spot_order_id",
|
|
1720
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1721
|
+
}
|
|
1722
|
+
]
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
"type": "struct contract_schema::order_book::TriggerOrder",
|
|
1726
|
+
"metadataTypeId": 49,
|
|
1727
|
+
"components": [
|
|
1728
|
+
{
|
|
1729
|
+
"name": "order_id",
|
|
1730
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
"name": "trader_id",
|
|
1734
|
+
"typeId": 25
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"name": "side",
|
|
1738
|
+
"typeId": 11
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"name": "price",
|
|
1742
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1743
|
+
},
|
|
1744
|
+
{
|
|
1745
|
+
"name": "quantity",
|
|
1746
|
+
"typeId": 17
|
|
1747
|
+
},
|
|
1748
|
+
{
|
|
1749
|
+
"name": "order_type",
|
|
1750
|
+
"typeId": 16
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"name": "trigger_price",
|
|
1754
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1755
|
+
}
|
|
1756
|
+
]
|
|
1757
|
+
},
|
|
1758
|
+
{
|
|
1759
|
+
"type": "struct contract_schema::order_book::TriggerOrderArgs",
|
|
1760
|
+
"metadataTypeId": 50,
|
|
1761
|
+
"components": [
|
|
1762
|
+
{
|
|
1763
|
+
"name": "quantity",
|
|
1764
|
+
"typeId": 17
|
|
1765
|
+
},
|
|
1766
|
+
{
|
|
1767
|
+
"name": "order_type",
|
|
1768
|
+
"typeId": 16
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"name": "trigger_price",
|
|
1772
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1773
|
+
}
|
|
1774
|
+
]
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
"type": "struct contract_schema::order_book::TriggerOrderCreatedEvent",
|
|
1778
|
+
"metadataTypeId": 51,
|
|
1779
|
+
"components": [
|
|
1780
|
+
{
|
|
1781
|
+
"name": "order_id",
|
|
1782
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"name": "trader_id",
|
|
1786
|
+
"typeId": 25
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"name": "order_side",
|
|
1790
|
+
"typeId": 11
|
|
1791
|
+
},
|
|
1792
|
+
{
|
|
1793
|
+
"name": "order_type",
|
|
1794
|
+
"typeId": 16
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"name": "quantity",
|
|
1798
|
+
"typeId": 17
|
|
1799
|
+
},
|
|
1800
|
+
{
|
|
1801
|
+
"name": "trigger_price",
|
|
1802
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1803
|
+
},
|
|
1804
|
+
{
|
|
1805
|
+
"name": "timestamp",
|
|
1806
|
+
"typeId": 74
|
|
1807
|
+
},
|
|
1808
|
+
{
|
|
1809
|
+
"name": "sibling_order",
|
|
1810
|
+
"typeId": 26,
|
|
1811
|
+
"typeArguments": [
|
|
1812
|
+
{
|
|
1813
|
+
"name": "",
|
|
1814
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1815
|
+
}
|
|
1816
|
+
]
|
|
1817
|
+
}
|
|
1818
|
+
]
|
|
1819
|
+
},
|
|
1820
|
+
{
|
|
1821
|
+
"type": "struct contract_schema::order_book::TriggerOrderEjectedEvent",
|
|
1822
|
+
"metadataTypeId": 52,
|
|
1823
|
+
"components": [
|
|
1824
|
+
{
|
|
1825
|
+
"name": "order_id",
|
|
1826
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1827
|
+
},
|
|
1828
|
+
{
|
|
1829
|
+
"name": "reason",
|
|
1830
|
+
"typeId": 5
|
|
1831
|
+
}
|
|
1832
|
+
]
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"type": "struct contract_schema::order_book::WithdrawSettledTradeEvent",
|
|
1836
|
+
"metadataTypeId": 53,
|
|
1837
|
+
"components": [
|
|
1838
|
+
{
|
|
1839
|
+
"name": "trader_id",
|
|
1840
|
+
"typeId": 25
|
|
1841
|
+
},
|
|
1842
|
+
{
|
|
1843
|
+
"name": "base_amount",
|
|
1844
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1845
|
+
},
|
|
1846
|
+
{
|
|
1847
|
+
"name": "quote_amount",
|
|
1848
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1849
|
+
}
|
|
1850
|
+
]
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
"type": "struct contract_schema::sidecar::DepthLevel",
|
|
1854
|
+
"metadataTypeId": 54,
|
|
1855
|
+
"components": [
|
|
1856
|
+
{
|
|
1857
|
+
"name": "price",
|
|
1858
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"name": "base_quantity",
|
|
1862
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1863
|
+
}
|
|
1864
|
+
]
|
|
1865
|
+
},
|
|
1866
|
+
{
|
|
1867
|
+
"type": "struct contract_schema::sidecar::HouseExecutionResult",
|
|
1868
|
+
"metadataTypeId": 55,
|
|
1869
|
+
"components": [
|
|
1870
|
+
{
|
|
1871
|
+
"name": "order_id",
|
|
1872
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "executed_base",
|
|
1876
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "executed_quote",
|
|
1880
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "source_remaining",
|
|
1884
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1885
|
+
}
|
|
1886
|
+
]
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
"type": "struct contract_schema::sidecar::SharedBookConfiguration",
|
|
1890
|
+
"metadataTypeId": 56,
|
|
1891
|
+
"components": [
|
|
1892
|
+
{
|
|
1893
|
+
"name": "rules",
|
|
1894
|
+
"typeId": 63
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"name": "base_asset",
|
|
1898
|
+
"typeId": 69
|
|
1234
1899
|
},
|
|
1235
1900
|
{
|
|
1236
1901
|
"name": "quote_asset",
|
|
1237
|
-
"typeId":
|
|
1902
|
+
"typeId": 69
|
|
1238
1903
|
},
|
|
1239
1904
|
{
|
|
1240
1905
|
"name": "base_decimals",
|
|
@@ -1244,22 +1909,6 @@ const abi = {
|
|
|
1244
1909
|
"name": "quote_decimals",
|
|
1245
1910
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1246
1911
|
},
|
|
1247
|
-
{
|
|
1248
|
-
"name": "min_order",
|
|
1249
|
-
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
"name": "maker_fee",
|
|
1253
|
-
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1254
|
-
},
|
|
1255
|
-
{
|
|
1256
|
-
"name": "taker_fee",
|
|
1257
|
-
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1258
|
-
},
|
|
1259
|
-
{
|
|
1260
|
-
"name": "price_precision",
|
|
1261
|
-
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1262
|
-
},
|
|
1263
1912
|
{
|
|
1264
1913
|
"name": "quantity_precision",
|
|
1265
1914
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
@@ -1272,93 +1921,83 @@ const abi = {
|
|
|
1272
1921
|
"name": "dust",
|
|
1273
1922
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1274
1923
|
},
|
|
1275
|
-
{
|
|
1276
|
-
"name": "allow_fractional_price",
|
|
1277
|
-
"typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
|
|
1278
|
-
},
|
|
1279
1924
|
{
|
|
1280
1925
|
"name": "trigger_max_slippage",
|
|
1281
1926
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1282
|
-
}
|
|
1283
|
-
]
|
|
1284
|
-
},
|
|
1285
|
-
{
|
|
1286
|
-
"type": "struct contract_schema::order_book::OrderBookSymbolsEvent",
|
|
1287
|
-
"metadataTypeId": 34,
|
|
1288
|
-
"components": [
|
|
1927
|
+
},
|
|
1289
1928
|
{
|
|
1290
1929
|
"name": "base_symbol",
|
|
1291
|
-
"typeId":
|
|
1930
|
+
"typeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50"
|
|
1292
1931
|
},
|
|
1293
1932
|
{
|
|
1294
1933
|
"name": "quote_symbol",
|
|
1295
|
-
"typeId":
|
|
1296
|
-
}
|
|
1297
|
-
]
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
"type": "struct contract_schema::order_book::OrderBookWhitelistEvent",
|
|
1301
|
-
"metadataTypeId": 35,
|
|
1302
|
-
"components": [
|
|
1934
|
+
"typeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50"
|
|
1935
|
+
},
|
|
1303
1936
|
{
|
|
1304
|
-
"name": "
|
|
1305
|
-
"typeId":
|
|
1937
|
+
"name": "white_list_contract",
|
|
1938
|
+
"typeId": 26,
|
|
1306
1939
|
"typeArguments": [
|
|
1307
1940
|
{
|
|
1308
1941
|
"name": "",
|
|
1309
|
-
"typeId":
|
|
1942
|
+
"typeId": 72
|
|
1310
1943
|
}
|
|
1311
1944
|
]
|
|
1312
|
-
}
|
|
1313
|
-
]
|
|
1314
|
-
},
|
|
1315
|
-
{
|
|
1316
|
-
"type": "struct contract_schema::order_book::OrderCancelledEvent",
|
|
1317
|
-
"metadataTypeId": 36,
|
|
1318
|
-
"components": [
|
|
1945
|
+
},
|
|
1319
1946
|
{
|
|
1320
|
-
"name": "
|
|
1321
|
-
"typeId":
|
|
1947
|
+
"name": "black_list_contract",
|
|
1948
|
+
"typeId": 26,
|
|
1949
|
+
"typeArguments": [
|
|
1950
|
+
{
|
|
1951
|
+
"name": "",
|
|
1952
|
+
"typeId": 72
|
|
1953
|
+
}
|
|
1954
|
+
]
|
|
1322
1955
|
},
|
|
1323
1956
|
{
|
|
1324
|
-
"name": "
|
|
1325
|
-
"typeId":
|
|
1957
|
+
"name": "base_gas",
|
|
1958
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"name": "trigger_queue_commit_gas",
|
|
1962
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"name": "min_gas",
|
|
1966
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1326
1967
|
}
|
|
1327
1968
|
]
|
|
1328
1969
|
},
|
|
1329
1970
|
{
|
|
1330
|
-
"type": "struct contract_schema::
|
|
1331
|
-
"metadataTypeId":
|
|
1971
|
+
"type": "struct contract_schema::sidecar::SharedExecutionEvent",
|
|
1972
|
+
"metadataTypeId": 57,
|
|
1332
1973
|
"components": [
|
|
1333
1974
|
{
|
|
1334
|
-
"name": "
|
|
1975
|
+
"name": "source_order_id",
|
|
1335
1976
|
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1336
1977
|
},
|
|
1337
1978
|
{
|
|
1338
|
-
"name": "
|
|
1339
|
-
"typeId":
|
|
1340
|
-
}
|
|
1341
|
-
]
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
"type": "struct contract_schema::order_book::OrderCreatedEvent",
|
|
1345
|
-
"metadataTypeId": 38,
|
|
1346
|
-
"components": [
|
|
1979
|
+
"name": "turbo_order_id",
|
|
1980
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1981
|
+
},
|
|
1347
1982
|
{
|
|
1348
|
-
"name": "
|
|
1983
|
+
"name": "house_order_id",
|
|
1349
1984
|
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1350
1985
|
},
|
|
1351
1986
|
{
|
|
1352
|
-
"name": "
|
|
1353
|
-
"typeId":
|
|
1987
|
+
"name": "house_trader",
|
|
1988
|
+
"typeId": 25
|
|
1354
1989
|
},
|
|
1355
1990
|
{
|
|
1356
|
-
"name": "
|
|
1991
|
+
"name": "turbo_trader",
|
|
1992
|
+
"typeId": 25
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"name": "turbo_side",
|
|
1357
1996
|
"typeId": 11
|
|
1358
1997
|
},
|
|
1359
1998
|
{
|
|
1360
|
-
"name": "
|
|
1361
|
-
"typeId":
|
|
1999
|
+
"name": "house_execution_role",
|
|
2000
|
+
"typeId": 18
|
|
1362
2001
|
},
|
|
1363
2002
|
{
|
|
1364
2003
|
"name": "quantity",
|
|
@@ -1368,255 +2007,271 @@ const abi = {
|
|
|
1368
2007
|
"name": "price",
|
|
1369
2008
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1370
2009
|
},
|
|
2010
|
+
{
|
|
2011
|
+
"name": "house_fee_amount",
|
|
2012
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
"name": "turbo_fee_amount",
|
|
2016
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
2017
|
+
},
|
|
1371
2018
|
{
|
|
1372
2019
|
"name": "timestamp",
|
|
1373
|
-
"typeId":
|
|
2020
|
+
"typeId": 74
|
|
1374
2021
|
}
|
|
1375
2022
|
]
|
|
1376
2023
|
},
|
|
1377
2024
|
{
|
|
1378
|
-
"type": "struct contract_schema::
|
|
1379
|
-
"metadataTypeId":
|
|
2025
|
+
"type": "struct contract_schema::sidecar::SharedFillReceipt",
|
|
2026
|
+
"metadataTypeId": 58,
|
|
1380
2027
|
"components": [
|
|
1381
2028
|
{
|
|
1382
|
-
"name": "
|
|
2029
|
+
"name": "source_order_id",
|
|
1383
2030
|
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1384
2031
|
},
|
|
1385
2032
|
{
|
|
1386
|
-
"name": "
|
|
2033
|
+
"name": "executed_quantity",
|
|
1387
2034
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1388
2035
|
},
|
|
1389
2036
|
{
|
|
1390
|
-
"name": "
|
|
1391
|
-
"typeId":
|
|
1392
|
-
}
|
|
1393
|
-
]
|
|
1394
|
-
},
|
|
1395
|
-
{
|
|
1396
|
-
"type": "struct contract_schema::order_book::OrderMatchedEvent",
|
|
1397
|
-
"metadataTypeId": 40,
|
|
1398
|
-
"components": [
|
|
2037
|
+
"name": "source_remaining_quantity",
|
|
2038
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
2039
|
+
},
|
|
1399
2040
|
{
|
|
1400
|
-
"name": "
|
|
1401
|
-
"typeId":
|
|
2041
|
+
"name": "transferred_asset",
|
|
2042
|
+
"typeId": 69
|
|
1402
2043
|
},
|
|
1403
2044
|
{
|
|
1404
|
-
"name": "
|
|
2045
|
+
"name": "transferred_amount",
|
|
1405
2046
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1406
2047
|
},
|
|
1407
2048
|
{
|
|
1408
|
-
"name": "
|
|
1409
|
-
"typeId":
|
|
2049
|
+
"name": "house_fee_asset",
|
|
2050
|
+
"typeId": 69
|
|
1410
2051
|
},
|
|
1411
2052
|
{
|
|
1412
|
-
"name": "
|
|
1413
|
-
"typeId":
|
|
2053
|
+
"name": "house_fee_amount",
|
|
2054
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1414
2055
|
}
|
|
1415
2056
|
]
|
|
1416
2057
|
},
|
|
1417
2058
|
{
|
|
1418
|
-
"type": "struct contract_schema::
|
|
1419
|
-
"metadataTypeId":
|
|
2059
|
+
"type": "struct contract_schema::sidecar::SharedFillRequest",
|
|
2060
|
+
"metadataTypeId": 59,
|
|
1420
2061
|
"components": [
|
|
1421
2062
|
{
|
|
1422
|
-
"name": "
|
|
2063
|
+
"name": "source_order_id",
|
|
1423
2064
|
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1424
2065
|
},
|
|
1425
2066
|
{
|
|
1426
|
-
"name": "
|
|
1427
|
-
"typeId":
|
|
1428
|
-
}
|
|
1429
|
-
]
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"type": "struct contract_schema::order_book::OrderTooSmallEvent",
|
|
1433
|
-
"metadataTypeId": 42,
|
|
1434
|
-
"components": [
|
|
2067
|
+
"name": "house_order_id",
|
|
2068
|
+
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
2069
|
+
},
|
|
1435
2070
|
{
|
|
1436
|
-
"name": "
|
|
2071
|
+
"name": "turbo_order_id",
|
|
1437
2072
|
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1438
2073
|
},
|
|
1439
2074
|
{
|
|
1440
|
-
"name": "
|
|
1441
|
-
"typeId":
|
|
2075
|
+
"name": "turbo_trader",
|
|
2076
|
+
"typeId": 25
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "turbo_fee_amount",
|
|
2080
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
2081
|
+
},
|
|
2082
|
+
{
|
|
2083
|
+
"name": "base_quantity",
|
|
2084
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"name": "execution_price",
|
|
2088
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
"name": "house_fee_amount",
|
|
2092
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1442
2093
|
}
|
|
1443
2094
|
]
|
|
1444
2095
|
},
|
|
1445
2096
|
{
|
|
1446
|
-
"type": "struct contract_schema::
|
|
1447
|
-
"metadataTypeId":
|
|
2097
|
+
"type": "struct contract_schema::sidecar::SharedMatchRequest",
|
|
2098
|
+
"metadataTypeId": 60,
|
|
1448
2099
|
"components": [
|
|
1449
2100
|
{
|
|
1450
|
-
"name": "
|
|
2101
|
+
"name": "turbo_order_id",
|
|
1451
2102
|
"typeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
1452
2103
|
},
|
|
1453
2104
|
{
|
|
1454
2105
|
"name": "trader_id",
|
|
1455
|
-
"typeId":
|
|
2106
|
+
"typeId": 25
|
|
1456
2107
|
},
|
|
1457
2108
|
{
|
|
1458
2109
|
"name": "side",
|
|
1459
2110
|
"typeId": 11
|
|
1460
2111
|
},
|
|
1461
2112
|
{
|
|
1462
|
-
"name": "
|
|
1463
|
-
"typeId":
|
|
2113
|
+
"name": "taker_price",
|
|
2114
|
+
"typeId": 13
|
|
1464
2115
|
},
|
|
1465
2116
|
{
|
|
1466
2117
|
"name": "quantity",
|
|
1467
|
-
"typeId":
|
|
1468
|
-
},
|
|
1469
|
-
{
|
|
1470
|
-
"name": "order_type",
|
|
1471
|
-
"typeId": 14
|
|
2118
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1472
2119
|
},
|
|
1473
2120
|
{
|
|
1474
|
-
"name": "
|
|
2121
|
+
"name": "maker_fee",
|
|
1475
2122
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1476
|
-
}
|
|
1477
|
-
]
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
"type": "struct contract_schema::order_book::TriggerOrderArgs",
|
|
1481
|
-
"metadataTypeId": 44,
|
|
1482
|
-
"components": [
|
|
1483
|
-
{
|
|
1484
|
-
"name": "quantity",
|
|
1485
|
-
"typeId": 15
|
|
1486
2123
|
},
|
|
1487
2124
|
{
|
|
1488
|
-
"name": "
|
|
1489
|
-
"typeId":
|
|
2125
|
+
"name": "taker_fee",
|
|
2126
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1490
2127
|
},
|
|
1491
2128
|
{
|
|
1492
|
-
"name": "
|
|
2129
|
+
"name": "reserve_gas",
|
|
1493
2130
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1494
2131
|
}
|
|
1495
2132
|
]
|
|
1496
2133
|
},
|
|
1497
2134
|
{
|
|
1498
|
-
"type": "struct contract_schema::
|
|
1499
|
-
"metadataTypeId":
|
|
2135
|
+
"type": "struct contract_schema::sidecar::SharedMatchResult",
|
|
2136
|
+
"metadataTypeId": 61,
|
|
1500
2137
|
"components": [
|
|
1501
2138
|
{
|
|
1502
|
-
"name": "
|
|
1503
|
-
"typeId": "
|
|
1504
|
-
},
|
|
1505
|
-
{
|
|
1506
|
-
"name": "trader_id",
|
|
1507
|
-
"typeId": 20
|
|
2139
|
+
"name": "executed_base",
|
|
2140
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1508
2141
|
},
|
|
1509
2142
|
{
|
|
1510
|
-
"name": "
|
|
1511
|
-
"typeId":
|
|
2143
|
+
"name": "executed_quote",
|
|
2144
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1512
2145
|
},
|
|
1513
2146
|
{
|
|
1514
|
-
"name": "
|
|
1515
|
-
"typeId":
|
|
2147
|
+
"name": "remaining_input",
|
|
2148
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1516
2149
|
},
|
|
1517
2150
|
{
|
|
1518
|
-
"name": "
|
|
1519
|
-
"typeId":
|
|
2151
|
+
"name": "house_fee",
|
|
2152
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1520
2153
|
},
|
|
1521
2154
|
{
|
|
1522
|
-
"name": "
|
|
2155
|
+
"name": "turbo_fee",
|
|
1523
2156
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1524
2157
|
},
|
|
1525
2158
|
{
|
|
1526
|
-
"name": "
|
|
1527
|
-
"typeId":
|
|
2159
|
+
"name": "first_price",
|
|
2160
|
+
"typeId": 26,
|
|
2161
|
+
"typeArguments": [
|
|
2162
|
+
{
|
|
2163
|
+
"name": "",
|
|
2164
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
2165
|
+
}
|
|
2166
|
+
]
|
|
1528
2167
|
},
|
|
1529
2168
|
{
|
|
1530
|
-
"name": "
|
|
1531
|
-
"typeId":
|
|
2169
|
+
"name": "last_price",
|
|
2170
|
+
"typeId": 26,
|
|
1532
2171
|
"typeArguments": [
|
|
1533
2172
|
{
|
|
1534
2173
|
"name": "",
|
|
1535
|
-
"typeId": "
|
|
2174
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1536
2175
|
}
|
|
1537
2176
|
]
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
"name": "stop",
|
|
2180
|
+
"typeId": 19
|
|
1538
2181
|
}
|
|
1539
2182
|
]
|
|
1540
2183
|
},
|
|
1541
2184
|
{
|
|
1542
|
-
"type": "struct contract_schema::
|
|
1543
|
-
"metadataTypeId":
|
|
2185
|
+
"type": "struct contract_schema::sidecar::SidecarChangedEvent",
|
|
2186
|
+
"metadataTypeId": 62,
|
|
1544
2187
|
"components": [
|
|
1545
2188
|
{
|
|
1546
|
-
"name": "
|
|
1547
|
-
"typeId":
|
|
2189
|
+
"name": "previous",
|
|
2190
|
+
"typeId": 26,
|
|
2191
|
+
"typeArguments": [
|
|
2192
|
+
{
|
|
2193
|
+
"name": "",
|
|
2194
|
+
"typeId": 72
|
|
2195
|
+
}
|
|
2196
|
+
]
|
|
1548
2197
|
},
|
|
1549
2198
|
{
|
|
1550
|
-
"name": "
|
|
1551
|
-
"typeId":
|
|
2199
|
+
"name": "current",
|
|
2200
|
+
"typeId": 26,
|
|
2201
|
+
"typeArguments": [
|
|
2202
|
+
{
|
|
2203
|
+
"name": "",
|
|
2204
|
+
"typeId": 72
|
|
2205
|
+
}
|
|
2206
|
+
]
|
|
1552
2207
|
}
|
|
1553
2208
|
]
|
|
1554
2209
|
},
|
|
1555
2210
|
{
|
|
1556
|
-
"type": "struct contract_schema::
|
|
1557
|
-
"metadataTypeId":
|
|
2211
|
+
"type": "struct contract_schema::sidecar::TradingRules",
|
|
2212
|
+
"metadataTypeId": 63,
|
|
1558
2213
|
"components": [
|
|
1559
2214
|
{
|
|
1560
|
-
"name": "
|
|
1561
|
-
"typeId":
|
|
2215
|
+
"name": "min_order",
|
|
2216
|
+
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1562
2217
|
},
|
|
1563
2218
|
{
|
|
1564
|
-
"name": "
|
|
2219
|
+
"name": "price_precision",
|
|
1565
2220
|
"typeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
1566
2221
|
},
|
|
1567
2222
|
{
|
|
1568
|
-
"name": "
|
|
1569
|
-
"typeId": "
|
|
2223
|
+
"name": "allow_fractional_price",
|
|
2224
|
+
"typeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903"
|
|
1570
2225
|
}
|
|
1571
2226
|
]
|
|
1572
2227
|
},
|
|
1573
2228
|
{
|
|
1574
2229
|
"type": "struct ownership::events::OwnershipSet",
|
|
1575
|
-
"metadataTypeId":
|
|
2230
|
+
"metadataTypeId": 64,
|
|
1576
2231
|
"components": [
|
|
1577
2232
|
{
|
|
1578
2233
|
"name": "new_owner",
|
|
1579
|
-
"typeId":
|
|
2234
|
+
"typeId": 25
|
|
1580
2235
|
}
|
|
1581
2236
|
]
|
|
1582
2237
|
},
|
|
1583
2238
|
{
|
|
1584
2239
|
"type": "struct ownership::events::OwnershipTransferred",
|
|
1585
|
-
"metadataTypeId":
|
|
2240
|
+
"metadataTypeId": 65,
|
|
1586
2241
|
"components": [
|
|
1587
2242
|
{
|
|
1588
2243
|
"name": "new_owner",
|
|
1589
|
-
"typeId":
|
|
2244
|
+
"typeId": 25
|
|
1590
2245
|
},
|
|
1591
2246
|
{
|
|
1592
2247
|
"name": "previous_owner",
|
|
1593
|
-
"typeId":
|
|
2248
|
+
"typeId": 25
|
|
1594
2249
|
}
|
|
1595
2250
|
]
|
|
1596
2251
|
},
|
|
1597
2252
|
{
|
|
1598
2253
|
"type": "struct pausable::events::PauseEvent",
|
|
1599
|
-
"metadataTypeId":
|
|
2254
|
+
"metadataTypeId": 66,
|
|
1600
2255
|
"components": [
|
|
1601
2256
|
{
|
|
1602
2257
|
"name": "caller",
|
|
1603
|
-
"typeId":
|
|
2258
|
+
"typeId": 25
|
|
1604
2259
|
}
|
|
1605
2260
|
]
|
|
1606
2261
|
},
|
|
1607
2262
|
{
|
|
1608
2263
|
"type": "struct pausable::events::UnpauseEvent",
|
|
1609
|
-
"metadataTypeId":
|
|
2264
|
+
"metadataTypeId": 67,
|
|
1610
2265
|
"components": [
|
|
1611
2266
|
{
|
|
1612
2267
|
"name": "caller",
|
|
1613
|
-
"typeId":
|
|
2268
|
+
"typeId": 25
|
|
1614
2269
|
}
|
|
1615
2270
|
]
|
|
1616
2271
|
},
|
|
1617
2272
|
{
|
|
1618
2273
|
"type": "struct std::address::Address",
|
|
1619
|
-
"metadataTypeId":
|
|
2274
|
+
"metadataTypeId": 68,
|
|
1620
2275
|
"components": [
|
|
1621
2276
|
{
|
|
1622
2277
|
"name": "bits",
|
|
@@ -1626,7 +2281,7 @@ const abi = {
|
|
|
1626
2281
|
},
|
|
1627
2282
|
{
|
|
1628
2283
|
"type": "struct std::asset_id::AssetId",
|
|
1629
|
-
"metadataTypeId":
|
|
2284
|
+
"metadataTypeId": 69,
|
|
1630
2285
|
"components": [
|
|
1631
2286
|
{
|
|
1632
2287
|
"name": "bits",
|
|
@@ -1636,11 +2291,11 @@ const abi = {
|
|
|
1636
2291
|
},
|
|
1637
2292
|
{
|
|
1638
2293
|
"type": "struct std::bytes::Bytes",
|
|
1639
|
-
"metadataTypeId":
|
|
2294
|
+
"metadataTypeId": 70,
|
|
1640
2295
|
"components": [
|
|
1641
2296
|
{
|
|
1642
2297
|
"name": "buf",
|
|
1643
|
-
"typeId":
|
|
2298
|
+
"typeId": 71
|
|
1644
2299
|
},
|
|
1645
2300
|
{
|
|
1646
2301
|
"name": "len",
|
|
@@ -1650,11 +2305,11 @@ const abi = {
|
|
|
1650
2305
|
},
|
|
1651
2306
|
{
|
|
1652
2307
|
"type": "struct std::bytes::RawBytes",
|
|
1653
|
-
"metadataTypeId":
|
|
2308
|
+
"metadataTypeId": 71,
|
|
1654
2309
|
"components": [
|
|
1655
2310
|
{
|
|
1656
2311
|
"name": "ptr",
|
|
1657
|
-
"typeId":
|
|
2312
|
+
"typeId": 28
|
|
1658
2313
|
},
|
|
1659
2314
|
{
|
|
1660
2315
|
"name": "cap",
|
|
@@ -1664,7 +2319,7 @@ const abi = {
|
|
|
1664
2319
|
},
|
|
1665
2320
|
{
|
|
1666
2321
|
"type": "struct std::contract_id::ContractId",
|
|
1667
|
-
"metadataTypeId":
|
|
2322
|
+
"metadataTypeId": 72,
|
|
1668
2323
|
"components": [
|
|
1669
2324
|
{
|
|
1670
2325
|
"name": "bits",
|
|
@@ -1674,17 +2329,17 @@ const abi = {
|
|
|
1674
2329
|
},
|
|
1675
2330
|
{
|
|
1676
2331
|
"type": "struct std::string::String",
|
|
1677
|
-
"metadataTypeId":
|
|
2332
|
+
"metadataTypeId": 73,
|
|
1678
2333
|
"components": [
|
|
1679
2334
|
{
|
|
1680
2335
|
"name": "bytes",
|
|
1681
|
-
"typeId":
|
|
2336
|
+
"typeId": 70
|
|
1682
2337
|
}
|
|
1683
2338
|
]
|
|
1684
2339
|
},
|
|
1685
2340
|
{
|
|
1686
2341
|
"type": "struct std::time::Time",
|
|
1687
|
-
"metadataTypeId":
|
|
2342
|
+
"metadataTypeId": 74,
|
|
1688
2343
|
"components": [
|
|
1689
2344
|
{
|
|
1690
2345
|
"name": "unix",
|
|
@@ -1694,11 +2349,11 @@ const abi = {
|
|
|
1694
2349
|
},
|
|
1695
2350
|
{
|
|
1696
2351
|
"type": "struct std::vec::RawVec",
|
|
1697
|
-
"metadataTypeId":
|
|
2352
|
+
"metadataTypeId": 75,
|
|
1698
2353
|
"components": [
|
|
1699
2354
|
{
|
|
1700
2355
|
"name": "ptr",
|
|
1701
|
-
"typeId":
|
|
2356
|
+
"typeId": 28
|
|
1702
2357
|
},
|
|
1703
2358
|
{
|
|
1704
2359
|
"name": "cap",
|
|
@@ -1706,20 +2361,20 @@ const abi = {
|
|
|
1706
2361
|
}
|
|
1707
2362
|
],
|
|
1708
2363
|
"typeParameters": [
|
|
1709
|
-
|
|
2364
|
+
27
|
|
1710
2365
|
]
|
|
1711
2366
|
},
|
|
1712
2367
|
{
|
|
1713
2368
|
"type": "struct std::vec::Vec",
|
|
1714
|
-
"metadataTypeId":
|
|
2369
|
+
"metadataTypeId": 76,
|
|
1715
2370
|
"components": [
|
|
1716
2371
|
{
|
|
1717
2372
|
"name": "buf",
|
|
1718
|
-
"typeId":
|
|
2373
|
+
"typeId": 75,
|
|
1719
2374
|
"typeArguments": [
|
|
1720
2375
|
{
|
|
1721
2376
|
"name": "",
|
|
1722
|
-
"typeId":
|
|
2377
|
+
"typeId": 27
|
|
1723
2378
|
}
|
|
1724
2379
|
]
|
|
1725
2380
|
},
|
|
@@ -1729,7 +2384,7 @@ const abi = {
|
|
|
1729
2384
|
}
|
|
1730
2385
|
],
|
|
1731
2386
|
"typeParameters": [
|
|
1732
|
-
|
|
2387
|
+
27
|
|
1733
2388
|
]
|
|
1734
2389
|
}
|
|
1735
2390
|
],
|
|
@@ -2405,6 +3060,19 @@ const abi = {
|
|
|
2405
3060
|
}
|
|
2406
3061
|
]
|
|
2407
3062
|
},
|
|
3063
|
+
{
|
|
3064
|
+
"name": "get_allow_fractional_price",
|
|
3065
|
+
"inputs": [],
|
|
3066
|
+
"output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
3067
|
+
"attributes": [
|
|
3068
|
+
{
|
|
3069
|
+
"name": "storage",
|
|
3070
|
+
"arguments": [
|
|
3071
|
+
"read"
|
|
3072
|
+
]
|
|
3073
|
+
}
|
|
3074
|
+
]
|
|
3075
|
+
},
|
|
2408
3076
|
{
|
|
2409
3077
|
"name": "get_base_asset",
|
|
2410
3078
|
"inputs": [],
|
|
@@ -2445,6 +3113,12 @@ const abi = {
|
|
|
2445
3113
|
"arguments": [
|
|
2446
3114
|
" * `AssetId` - The base asset identifier (e.g., BTC in BTC/USDC)"
|
|
2447
3115
|
]
|
|
3116
|
+
},
|
|
3117
|
+
{
|
|
3118
|
+
"name": "storage",
|
|
3119
|
+
"arguments": [
|
|
3120
|
+
"read"
|
|
3121
|
+
]
|
|
2448
3122
|
}
|
|
2449
3123
|
]
|
|
2450
3124
|
},
|
|
@@ -2458,6 +3132,12 @@ const abi = {
|
|
|
2458
3132
|
"arguments": [
|
|
2459
3133
|
" Returns the number of atomic base units in one whole base asset."
|
|
2460
3134
|
]
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"name": "storage",
|
|
3138
|
+
"arguments": [
|
|
3139
|
+
"read"
|
|
3140
|
+
]
|
|
2461
3141
|
}
|
|
2462
3142
|
]
|
|
2463
3143
|
},
|
|
@@ -2611,7 +3291,14 @@ const abi = {
|
|
|
2611
3291
|
"name": "get_blacklist_id",
|
|
2612
3292
|
"inputs": [],
|
|
2613
3293
|
"output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
2614
|
-
"attributes":
|
|
3294
|
+
"attributes": [
|
|
3295
|
+
{
|
|
3296
|
+
"name": "storage",
|
|
3297
|
+
"arguments": [
|
|
3298
|
+
"read"
|
|
3299
|
+
]
|
|
3300
|
+
}
|
|
3301
|
+
]
|
|
2615
3302
|
},
|
|
2616
3303
|
{
|
|
2617
3304
|
"name": "get_head_trigger_order",
|
|
@@ -2970,6 +3657,12 @@ const abi = {
|
|
|
2970
3657
|
"arguments": [
|
|
2971
3658
|
" This is a configurable value set at contract deployment"
|
|
2972
3659
|
]
|
|
3660
|
+
},
|
|
3661
|
+
{
|
|
3662
|
+
"name": "storage",
|
|
3663
|
+
"arguments": [
|
|
3664
|
+
"read"
|
|
3665
|
+
]
|
|
2973
3666
|
}
|
|
2974
3667
|
]
|
|
2975
3668
|
},
|
|
@@ -3155,13 +3848,27 @@ const abi = {
|
|
|
3155
3848
|
"name": "get_price_precision",
|
|
3156
3849
|
"inputs": [],
|
|
3157
3850
|
"output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3158
|
-
"attributes":
|
|
3851
|
+
"attributes": [
|
|
3852
|
+
{
|
|
3853
|
+
"name": "storage",
|
|
3854
|
+
"arguments": [
|
|
3855
|
+
"read"
|
|
3856
|
+
]
|
|
3857
|
+
}
|
|
3858
|
+
]
|
|
3159
3859
|
},
|
|
3160
3860
|
{
|
|
3161
3861
|
"name": "get_quantity_precision",
|
|
3162
3862
|
"inputs": [],
|
|
3163
3863
|
"output": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
3164
|
-
"attributes":
|
|
3864
|
+
"attributes": [
|
|
3865
|
+
{
|
|
3866
|
+
"name": "storage",
|
|
3867
|
+
"arguments": [
|
|
3868
|
+
"read"
|
|
3869
|
+
]
|
|
3870
|
+
}
|
|
3871
|
+
]
|
|
3165
3872
|
},
|
|
3166
3873
|
{
|
|
3167
3874
|
"name": "get_quote_asset",
|
|
@@ -3203,6 +3910,12 @@ const abi = {
|
|
|
3203
3910
|
"arguments": [
|
|
3204
3911
|
" * `AssetId` - The quote asset identifier (e.g., USDC in BTC/USDC)"
|
|
3205
3912
|
]
|
|
3913
|
+
},
|
|
3914
|
+
{
|
|
3915
|
+
"name": "storage",
|
|
3916
|
+
"arguments": [
|
|
3917
|
+
"read"
|
|
3918
|
+
]
|
|
3206
3919
|
}
|
|
3207
3920
|
]
|
|
3208
3921
|
},
|
|
@@ -3517,7 +4230,14 @@ const abi = {
|
|
|
3517
4230
|
"name": "get_whitelist_id",
|
|
3518
4231
|
"inputs": [],
|
|
3519
4232
|
"output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
3520
|
-
"attributes":
|
|
4233
|
+
"attributes": [
|
|
4234
|
+
{
|
|
4235
|
+
"name": "storage",
|
|
4236
|
+
"arguments": [
|
|
4237
|
+
"read"
|
|
4238
|
+
]
|
|
4239
|
+
}
|
|
4240
|
+
]
|
|
3521
4241
|
},
|
|
3522
4242
|
{
|
|
3523
4243
|
"name": "settle_balance",
|
|
@@ -4024,6 +4744,12 @@ const abi = {
|
|
|
4024
4744
|
"arguments": [
|
|
4025
4745
|
" * `FeeEvent`"
|
|
4026
4746
|
]
|
|
4747
|
+
},
|
|
4748
|
+
{
|
|
4749
|
+
"name": "storage",
|
|
4750
|
+
"arguments": [
|
|
4751
|
+
"read"
|
|
4752
|
+
]
|
|
4027
4753
|
}
|
|
4028
4754
|
]
|
|
4029
4755
|
},
|
|
@@ -4596,6 +5322,219 @@ const abi = {
|
|
|
4596
5322
|
]
|
|
4597
5323
|
}
|
|
4598
5324
|
]
|
|
5325
|
+
},
|
|
5326
|
+
{
|
|
5327
|
+
"name": "get_shared_configuration",
|
|
5328
|
+
"inputs": [],
|
|
5329
|
+
"output": "328456477a1d31a6a21c0c19ecd032e06f91174733f788385af46b288779affa",
|
|
5330
|
+
"attributes": null
|
|
5331
|
+
},
|
|
5332
|
+
{
|
|
5333
|
+
"name": "get_sidecar_state",
|
|
5334
|
+
"inputs": [],
|
|
5335
|
+
"output": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
5336
|
+
"attributes": [
|
|
5337
|
+
{
|
|
5338
|
+
"name": "storage",
|
|
5339
|
+
"arguments": [
|
|
5340
|
+
"read"
|
|
5341
|
+
]
|
|
5342
|
+
}
|
|
5343
|
+
]
|
|
5344
|
+
},
|
|
5345
|
+
{
|
|
5346
|
+
"name": "is_house_identity",
|
|
5347
|
+
"inputs": [
|
|
5348
|
+
{
|
|
5349
|
+
"name": "trader",
|
|
5350
|
+
"concreteTypeId": "ab7cd04e05be58e3fc15d424c2c4a57f824a2a2d97d67252440a3925ebdc1335"
|
|
5351
|
+
}
|
|
5352
|
+
],
|
|
5353
|
+
"output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
5354
|
+
"attributes": [
|
|
5355
|
+
{
|
|
5356
|
+
"name": "storage",
|
|
5357
|
+
"arguments": [
|
|
5358
|
+
"read"
|
|
5359
|
+
]
|
|
5360
|
+
}
|
|
5361
|
+
]
|
|
5362
|
+
},
|
|
5363
|
+
{
|
|
5364
|
+
"name": "set_sidecar",
|
|
5365
|
+
"inputs": [
|
|
5366
|
+
{
|
|
5367
|
+
"name": "sidecar",
|
|
5368
|
+
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8"
|
|
5369
|
+
}
|
|
5370
|
+
],
|
|
5371
|
+
"output": "2e38e77b22c314a449e91fafed92a43826ac6aa403ae6a8acb6cf58239fbaf5d",
|
|
5372
|
+
"attributes": [
|
|
5373
|
+
{
|
|
5374
|
+
"name": "storage",
|
|
5375
|
+
"arguments": [
|
|
5376
|
+
"read",
|
|
5377
|
+
"write"
|
|
5378
|
+
]
|
|
5379
|
+
}
|
|
5380
|
+
]
|
|
5381
|
+
},
|
|
5382
|
+
{
|
|
5383
|
+
"name": "execute_turbo_orders",
|
|
5384
|
+
"inputs": [
|
|
5385
|
+
{
|
|
5386
|
+
"name": "source_order_id",
|
|
5387
|
+
"concreteTypeId": "7c5ee1cecf5f8eacd1284feb5f0bf2bdea533a51e2f0c9aabe9236d335989f3b"
|
|
5388
|
+
},
|
|
5389
|
+
{
|
|
5390
|
+
"name": "max_base_quantity",
|
|
5391
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
5392
|
+
},
|
|
5393
|
+
{
|
|
5394
|
+
"name": "max_fills",
|
|
5395
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
5396
|
+
}
|
|
5397
|
+
],
|
|
5398
|
+
"output": "eddab1f243e0e8be030324bc40ee8259d813fca3ae4356b9d943eda8abfb6c9b",
|
|
5399
|
+
"attributes": [
|
|
5400
|
+
{
|
|
5401
|
+
"name": "storage",
|
|
5402
|
+
"arguments": [
|
|
5403
|
+
"read",
|
|
5404
|
+
"write"
|
|
5405
|
+
]
|
|
5406
|
+
}
|
|
5407
|
+
]
|
|
5408
|
+
},
|
|
5409
|
+
{
|
|
5410
|
+
"name": "get_best_shared_price",
|
|
5411
|
+
"inputs": [
|
|
5412
|
+
{
|
|
5413
|
+
"name": "side",
|
|
5414
|
+
"concreteTypeId": "9a10e2c94a13825d2af23f4a4743379feba2acfcec8e2d775e945c5452e84708"
|
|
5415
|
+
}
|
|
5416
|
+
],
|
|
5417
|
+
"output": "d852149004cc9ec0bbe7dc4e37bffea1d41469b759512b6136f2e865a4c06e7d",
|
|
5418
|
+
"attributes": [
|
|
5419
|
+
{
|
|
5420
|
+
"name": "storage",
|
|
5421
|
+
"arguments": [
|
|
5422
|
+
"read"
|
|
5423
|
+
]
|
|
5424
|
+
}
|
|
5425
|
+
]
|
|
5426
|
+
},
|
|
5427
|
+
{
|
|
5428
|
+
"name": "get_shared_depth",
|
|
5429
|
+
"inputs": [
|
|
5430
|
+
{
|
|
5431
|
+
"name": "side",
|
|
5432
|
+
"concreteTypeId": "9a10e2c94a13825d2af23f4a4743379feba2acfcec8e2d775e945c5452e84708"
|
|
5433
|
+
},
|
|
5434
|
+
{
|
|
5435
|
+
"name": "max_levels",
|
|
5436
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
5437
|
+
}
|
|
5438
|
+
],
|
|
5439
|
+
"output": "5bcfb63b0faf07ebc67dde99f79a6e57600ed7df5dcda1ea37a34fa3db4e2054",
|
|
5440
|
+
"attributes": [
|
|
5441
|
+
{
|
|
5442
|
+
"name": "storage",
|
|
5443
|
+
"arguments": [
|
|
5444
|
+
"read"
|
|
5445
|
+
]
|
|
5446
|
+
}
|
|
5447
|
+
]
|
|
5448
|
+
},
|
|
5449
|
+
{
|
|
5450
|
+
"name": "get_shared_orders_at_price",
|
|
5451
|
+
"inputs": [
|
|
5452
|
+
{
|
|
5453
|
+
"name": "side",
|
|
5454
|
+
"concreteTypeId": "9a10e2c94a13825d2af23f4a4743379feba2acfcec8e2d775e945c5452e84708"
|
|
5455
|
+
},
|
|
5456
|
+
{
|
|
5457
|
+
"name": "price",
|
|
5458
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
5459
|
+
}
|
|
5460
|
+
],
|
|
5461
|
+
"output": "d390c7062efc85cc0e3e0a9339016565cda69d055c218f82d362776998f4e505",
|
|
5462
|
+
"attributes": [
|
|
5463
|
+
{
|
|
5464
|
+
"name": "storage",
|
|
5465
|
+
"arguments": [
|
|
5466
|
+
"read"
|
|
5467
|
+
]
|
|
5468
|
+
}
|
|
5469
|
+
]
|
|
5470
|
+
},
|
|
5471
|
+
{
|
|
5472
|
+
"name": "has_shared_orders_at_price",
|
|
5473
|
+
"inputs": [
|
|
5474
|
+
{
|
|
5475
|
+
"name": "side",
|
|
5476
|
+
"concreteTypeId": "9a10e2c94a13825d2af23f4a4743379feba2acfcec8e2d775e945c5452e84708"
|
|
5477
|
+
},
|
|
5478
|
+
{
|
|
5479
|
+
"name": "price",
|
|
5480
|
+
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0"
|
|
5481
|
+
}
|
|
5482
|
+
],
|
|
5483
|
+
"output": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
5484
|
+
"attributes": [
|
|
5485
|
+
{
|
|
5486
|
+
"name": "storage",
|
|
5487
|
+
"arguments": [
|
|
5488
|
+
"read"
|
|
5489
|
+
]
|
|
5490
|
+
}
|
|
5491
|
+
]
|
|
5492
|
+
},
|
|
5493
|
+
{
|
|
5494
|
+
"name": "match_shared_orders",
|
|
5495
|
+
"inputs": [
|
|
5496
|
+
{
|
|
5497
|
+
"name": "request",
|
|
5498
|
+
"concreteTypeId": "c99f564269186bb8c42828d1e1466432482eaeaea072819bf1f980653230bb8c"
|
|
5499
|
+
}
|
|
5500
|
+
],
|
|
5501
|
+
"output": "bdcb31216ebf50907f85e251cd912275381e98b9ba3218d9fac00ba31382d43b",
|
|
5502
|
+
"attributes": [
|
|
5503
|
+
{
|
|
5504
|
+
"name": "storage",
|
|
5505
|
+
"arguments": [
|
|
5506
|
+
"read",
|
|
5507
|
+
"write"
|
|
5508
|
+
]
|
|
5509
|
+
},
|
|
5510
|
+
{
|
|
5511
|
+
"name": "payable",
|
|
5512
|
+
"arguments": []
|
|
5513
|
+
}
|
|
5514
|
+
]
|
|
5515
|
+
},
|
|
5516
|
+
{
|
|
5517
|
+
"name": "settle_shared_admission",
|
|
5518
|
+
"inputs": [
|
|
5519
|
+
{
|
|
5520
|
+
"name": "request",
|
|
5521
|
+
"concreteTypeId": "80251a5f2d2813bba26cc8d3a9c73cfd4ddf863df323bd269c000df03f07a8b5"
|
|
5522
|
+
}
|
|
5523
|
+
],
|
|
5524
|
+
"output": "e230148a88ff551a50a62356fb92ef0223f84c7261cf852a971061a9c98163c3",
|
|
5525
|
+
"attributes": [
|
|
5526
|
+
{
|
|
5527
|
+
"name": "storage",
|
|
5528
|
+
"arguments": [
|
|
5529
|
+
"read",
|
|
5530
|
+
"write"
|
|
5531
|
+
]
|
|
5532
|
+
},
|
|
5533
|
+
{
|
|
5534
|
+
"name": "payable",
|
|
5535
|
+
"arguments": []
|
|
5536
|
+
}
|
|
5537
|
+
]
|
|
4599
5538
|
}
|
|
4600
5539
|
],
|
|
4601
5540
|
"loggedTypes": [
|
|
@@ -4651,6 +5590,14 @@ const abi = {
|
|
|
4651
5590
|
"logId": "16386696543407055422",
|
|
4652
5591
|
"concreteTypeId": "e3693daf8fe6223e6a97667025b9fc906b02ca79ea87b1376058b0be52c7778d"
|
|
4653
5592
|
},
|
|
5593
|
+
{
|
|
5594
|
+
"logId": "13348341322241553013",
|
|
5595
|
+
"concreteTypeId": "b93ed5b5c4e03275ba20b8e563f3c0c8c6557a39dc6299a2af5cba246e4d34fd"
|
|
5596
|
+
},
|
|
5597
|
+
{
|
|
5598
|
+
"logId": "9455545025046185237",
|
|
5599
|
+
"concreteTypeId": "8338d81a479705151e733ab5952c2a92b14934fe23332e03d1392f8a684eed44"
|
|
5600
|
+
},
|
|
4654
5601
|
{
|
|
4655
5602
|
"logId": "4997665884103701952",
|
|
4656
5603
|
"concreteTypeId": "455b46a49016f5c03c18ce54b969ea3d0d33c9b00263b3dcc36aa8da27558b8a"
|
|
@@ -4679,6 +5626,10 @@ const abi = {
|
|
|
4679
5626
|
"logId": "12033795032676640771",
|
|
4680
5627
|
"concreteTypeId": "a700a0d30e8d2803040dc79b7b7b259d0c308ca5187f6c742da1df21c27bf24a"
|
|
4681
5628
|
},
|
|
5629
|
+
{
|
|
5630
|
+
"logId": "6541897706470555762",
|
|
5631
|
+
"concreteTypeId": "5ac97d4db71ec07242a0d1a39bbda4d243a5406c0d75256e159b28183ab39719"
|
|
5632
|
+
},
|
|
4682
5633
|
{
|
|
4683
5634
|
"logId": "16078156521692740360",
|
|
4684
5635
|
"concreteTypeId": "df21162bb6a03b08040f043d238f4b5275e591737c8b5f068f7422be87168258"
|
|
@@ -4719,6 +5670,10 @@ const abi = {
|
|
|
4719
5670
|
"logId": "11719039397861176592",
|
|
4720
5671
|
"concreteTypeId": "a2a2643e0252b510328c0323a0ea60724fb4cb3309a2322ab31b27566ff9a79d"
|
|
4721
5672
|
},
|
|
5673
|
+
{
|
|
5674
|
+
"logId": "4113579482355289703",
|
|
5675
|
+
"concreteTypeId": "39165ebe991f4e6776913533fb1ad1cc37591b24854d26c52af66771b7d4bec5"
|
|
5676
|
+
},
|
|
4722
5677
|
{
|
|
4723
5678
|
"logId": "1559614116885970782",
|
|
4724
5679
|
"concreteTypeId": "15a4dcc6afac3f5e9d69383292c88895475737c599b518309c34cf8c1104f8f5"
|
|
@@ -4737,145 +5692,145 @@ const abi = {
|
|
|
4737
5692
|
{
|
|
4738
5693
|
"name": "INITIAL_OWNER",
|
|
4739
5694
|
"concreteTypeId": "287a382c1e0b1f11d12a422e77a248d27761327cd17515cc6e6369d528cf31ca",
|
|
4740
|
-
"offset":
|
|
5695
|
+
"offset": 197040,
|
|
4741
5696
|
"indirect": false
|
|
4742
5697
|
},
|
|
4743
5698
|
{
|
|
4744
5699
|
"name": "BASE_ASSET",
|
|
4745
5700
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
4746
|
-
"offset":
|
|
5701
|
+
"offset": 196928,
|
|
4747
5702
|
"indirect": false
|
|
4748
5703
|
},
|
|
4749
5704
|
{
|
|
4750
5705
|
"name": "QUOTE_ASSET",
|
|
4751
5706
|
"concreteTypeId": "c0710b6731b1dd59799cf6bef33eee3b3b04a2e40e80a0724090215bbf2ca974",
|
|
4752
|
-
"offset":
|
|
5707
|
+
"offset": 197184,
|
|
4753
5708
|
"indirect": false
|
|
4754
5709
|
},
|
|
4755
5710
|
{
|
|
4756
5711
|
"name": "MIN_ORDER",
|
|
4757
5712
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4758
|
-
"offset":
|
|
5713
|
+
"offset": 197152,
|
|
4759
5714
|
"indirect": false
|
|
4760
5715
|
},
|
|
4761
5716
|
{
|
|
4762
5717
|
"name": "MAKER_FEE",
|
|
4763
5718
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
4764
|
-
"offset":
|
|
5719
|
+
"offset": 197088,
|
|
4765
5720
|
"indirect": false
|
|
4766
5721
|
},
|
|
4767
5722
|
{
|
|
4768
5723
|
"name": "TAKER_FEE",
|
|
4769
5724
|
"concreteTypeId": "1b5759d94094368cfd443019e7ca5ec4074300e544e5ea993a979f5da627261e",
|
|
4770
|
-
"offset":
|
|
5725
|
+
"offset": 197240,
|
|
4771
5726
|
"indirect": false
|
|
4772
5727
|
},
|
|
4773
5728
|
{
|
|
4774
5729
|
"name": "BASE_DECIMALS",
|
|
4775
5730
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4776
|
-
"offset":
|
|
5731
|
+
"offset": 196960,
|
|
4777
5732
|
"indirect": false
|
|
4778
5733
|
},
|
|
4779
5734
|
{
|
|
4780
5735
|
"name": "QUOTE_DECIMALS",
|
|
4781
5736
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4782
|
-
"offset":
|
|
5737
|
+
"offset": 197216,
|
|
4783
5738
|
"indirect": false
|
|
4784
5739
|
},
|
|
4785
5740
|
{
|
|
4786
5741
|
"name": "PRICE_WINDOW",
|
|
4787
5742
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4788
|
-
"offset":
|
|
5743
|
+
"offset": 197168,
|
|
4789
5744
|
"indirect": false
|
|
4790
5745
|
},
|
|
4791
5746
|
{
|
|
4792
5747
|
"name": "PRICE_PRECISION",
|
|
4793
5748
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4794
|
-
"offset":
|
|
5749
|
+
"offset": 197160,
|
|
4795
5750
|
"indirect": false
|
|
4796
5751
|
},
|
|
4797
5752
|
{
|
|
4798
5753
|
"name": "QUANTITY_PRECISION",
|
|
4799
5754
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4800
|
-
"offset":
|
|
5755
|
+
"offset": 197176,
|
|
4801
5756
|
"indirect": false
|
|
4802
5757
|
},
|
|
4803
5758
|
{
|
|
4804
5759
|
"name": "DUST",
|
|
4805
5760
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4806
|
-
"offset":
|
|
5761
|
+
"offset": 197032,
|
|
4807
5762
|
"indirect": false
|
|
4808
5763
|
},
|
|
4809
5764
|
{
|
|
4810
5765
|
"name": "BASE_GAS",
|
|
4811
5766
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4812
|
-
"offset":
|
|
5767
|
+
"offset": 196968,
|
|
4813
5768
|
"indirect": false
|
|
4814
5769
|
},
|
|
4815
5770
|
{
|
|
4816
5771
|
"name": "TRIGGER_QUEUE_COMMIT_GAS",
|
|
4817
5772
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4818
|
-
"offset":
|
|
5773
|
+
"offset": 197280,
|
|
4819
5774
|
"indirect": false
|
|
4820
5775
|
},
|
|
4821
5776
|
{
|
|
4822
5777
|
"name": "MATCH_EVENT_GAS",
|
|
4823
5778
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4824
|
-
"offset":
|
|
5779
|
+
"offset": 197120,
|
|
4825
5780
|
"indirect": false
|
|
4826
5781
|
},
|
|
4827
5782
|
{
|
|
4828
5783
|
"name": "MATCH_SINGLE_LEVEL_GAS",
|
|
4829
5784
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4830
|
-
"offset":
|
|
5785
|
+
"offset": 197136,
|
|
4831
5786
|
"indirect": false
|
|
4832
5787
|
},
|
|
4833
5788
|
{
|
|
4834
5789
|
"name": "MATCH_MULTI_LEVEL_GAS",
|
|
4835
5790
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4836
|
-
"offset":
|
|
5791
|
+
"offset": 197128,
|
|
4837
5792
|
"indirect": false
|
|
4838
5793
|
},
|
|
4839
5794
|
{
|
|
4840
5795
|
"name": "MIN_GAS",
|
|
4841
5796
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4842
|
-
"offset":
|
|
5797
|
+
"offset": 197144,
|
|
4843
5798
|
"indirect": false
|
|
4844
5799
|
},
|
|
4845
5800
|
{
|
|
4846
5801
|
"name": "ALLOW_FRACTIONAL_PRICE",
|
|
4847
5802
|
"concreteTypeId": "b760f44fa5965c2474a3b471467a22c43185152129295af588b022ae50b50903",
|
|
4848
|
-
"offset":
|
|
5803
|
+
"offset": 196920,
|
|
4849
5804
|
"indirect": false
|
|
4850
5805
|
},
|
|
4851
5806
|
{
|
|
4852
5807
|
"name": "TRIGGER_MAX_SLIPPAGE",
|
|
4853
5808
|
"concreteTypeId": "1506e6f44c1d6291cdf46395a8e573276a4fa79e8ace3fc891e092ef32d1b0a0",
|
|
4854
|
-
"offset":
|
|
5809
|
+
"offset": 197272,
|
|
4855
5810
|
"indirect": false
|
|
4856
5811
|
},
|
|
4857
5812
|
{
|
|
4858
5813
|
"name": "BASE_SYMBOL",
|
|
4859
5814
|
"concreteTypeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50",
|
|
4860
|
-
"offset":
|
|
5815
|
+
"offset": 196976,
|
|
4861
5816
|
"indirect": false
|
|
4862
5817
|
},
|
|
4863
5818
|
{
|
|
4864
5819
|
"name": "QUOTE_SYMBOL",
|
|
4865
5820
|
"concreteTypeId": "338a25cb65b9251663dcce6362b744fe10aa849758299590f4efed5dd299bf50",
|
|
4866
|
-
"offset":
|
|
5821
|
+
"offset": 197224,
|
|
4867
5822
|
"indirect": false
|
|
4868
5823
|
},
|
|
4869
5824
|
{
|
|
4870
5825
|
"name": "WHITE_LIST_CONTRACT",
|
|
4871
5826
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
4872
|
-
"offset":
|
|
5827
|
+
"offset": 197288,
|
|
4873
5828
|
"indirect": false
|
|
4874
5829
|
},
|
|
4875
5830
|
{
|
|
4876
5831
|
"name": "BLACK_LIST_CONTRACT",
|
|
4877
5832
|
"concreteTypeId": "0d79387ad3bacdc3b7aad9da3a96f4ce60d9a1b6002df254069ad95a3931d5c8",
|
|
4878
|
-
"offset":
|
|
5833
|
+
"offset": 196992,
|
|
4879
5834
|
"indirect": false
|
|
4880
5835
|
}
|
|
4881
5836
|
],
|
|
@@ -4883,6 +5838,14 @@ const abi = {
|
|
|
4883
5838
|
"panickingCalls": {}
|
|
4884
5839
|
};
|
|
4885
5840
|
const storageSlots = [
|
|
5841
|
+
{
|
|
5842
|
+
"key": "011a365a304d6accf87fea8ee9ca083684cbd21864a7c895915e1d1f1c289022",
|
|
5843
|
+
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
5844
|
+
},
|
|
5845
|
+
{
|
|
5846
|
+
"key": "011a365a304d6accf87fea8ee9ca083684cbd21864a7c895915e1d1f1c289023",
|
|
5847
|
+
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
5848
|
+
},
|
|
4886
5849
|
{
|
|
4887
5850
|
"key": "0e37d740667cc57abb67fd7a1336769600f94d8b7ee55c86be3d3ab1b450d5f6",
|
|
4888
5851
|
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
@@ -4903,6 +5866,14 @@ const storageSlots = [
|
|
|
4903
5866
|
"key": "ad467f799b8cd85bf32c612ea056ff074c7e9fef2ca8673e7a9b34743223d66f",
|
|
4904
5867
|
"value": "000000000000000000000000000000000000000000000000ffffffffffffffff"
|
|
4905
5868
|
},
|
|
5869
|
+
{
|
|
5870
|
+
"key": "bbccfb6533e7a57197ac3d5b8bbf4735378de3a4a518c66b4b4523ccee5beb76",
|
|
5871
|
+
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
5872
|
+
},
|
|
5873
|
+
{
|
|
5874
|
+
"key": "bbccfb6533e7a57197ac3d5b8bbf4735378de3a4a518c66b4b4523ccee5beb77",
|
|
5875
|
+
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
5876
|
+
},
|
|
4906
5877
|
{
|
|
4907
5878
|
"key": "d86e355c3987290610faa33c5721bb75366b3434e51536793b2486554f8c4d0c",
|
|
4908
5879
|
"value": "0000000000000000000000000000000000000000000000000000000000000000"
|