@dydxprotocol/v4-client-js 1.11.0 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -2
- package/__native__/__ios__/v4-native-client.js +14 -11
- package/build/src/clients/lib/registry.js +13 -10
- package/build/src/lib/constants.js +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/clients/lib/registry.ts +5 -0
- package/src/lib/constants.ts +1 -1
package/package.json
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
MsgBatchCancel,
|
|
10
10
|
} from '@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/tx';
|
|
11
11
|
import { MsgDelayMessage } from '@dydxprotocol/v4-proto/src/codegen/dydxprotocol/delaymsg/tx';
|
|
12
|
+
import { MsgCreateMarketPermissionless } from '@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx';
|
|
12
13
|
import { MsgCreatePerpetual } from '@dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx';
|
|
13
14
|
import { MsgCreateOracleMarket } from '@dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx';
|
|
14
15
|
import {
|
|
@@ -36,6 +37,7 @@ import {
|
|
|
36
37
|
TYPE_URL_MSG_DEPOSIT_TO_MEGAVAULT,
|
|
37
38
|
TYPE_URL_MSG_WITHDRAW_FROM_MEGAVAULT,
|
|
38
39
|
TYPE_URL_MSG_REGISTER_AFFILIATE,
|
|
40
|
+
TYPE_URL_MSG_CREATE_MARKET_PERMISSIONLESS,
|
|
39
41
|
} from '../constants';
|
|
40
42
|
|
|
41
43
|
export const registry: ReadonlyArray<[string, GeneratedType]> = [];
|
|
@@ -51,6 +53,9 @@ export function generateRegistry(): Registry {
|
|
|
51
53
|
// delaymsg
|
|
52
54
|
[TYPE_URL_MSG_DELAY_MESSAGE, MsgDelayMessage as GeneratedType],
|
|
53
55
|
|
|
56
|
+
// listing
|
|
57
|
+
[TYPE_URL_MSG_CREATE_MARKET_PERMISSIONLESS, MsgCreateMarketPermissionless as GeneratedType],
|
|
58
|
+
|
|
54
59
|
// perpetuals
|
|
55
60
|
[TYPE_URL_MSG_CREATE_PERPETUAL, MsgCreatePerpetual as GeneratedType],
|
|
56
61
|
|
package/src/lib/constants.ts
CHANGED
|
@@ -12,7 +12,7 @@ export const BROADCAST_TIMEOUT_MS: number = 8_000;
|
|
|
12
12
|
export const API_TIMEOUT_DEFAULT_MS: number = 5_000;
|
|
13
13
|
|
|
14
14
|
// Gas
|
|
15
|
-
export const GAS_MULTIPLIER: number = 1.
|
|
15
|
+
export const GAS_MULTIPLIER: number = 1.6;
|
|
16
16
|
|
|
17
17
|
export const ZERO_FEE: StdFee = {
|
|
18
18
|
amount: [],
|