@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dydxprotocol/v4-client-js",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "General client library for the new dYdX system (v4 decentralized)",
5
5
  "main": "build/src/index.js",
6
6
  "scripts": {
@@ -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
 
@@ -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.4;
15
+ export const GAS_MULTIPLIER: number = 1.6;
16
16
 
17
17
  export const ZERO_FEE: StdFee = {
18
18
  amount: [],