diff --git a/v4-client-js/__native__/__ios__/v4-native-client.js b/v4-client-js/__native__/__ios__/v4-native-client.js index 6741dfbf..33607779 100644 --- a/v4-client-js/__native__/__ios__/v4-native-client.js +++ b/v4-client-js/__native__/__ios__/v4-native-client.js @@ -208110,13 +208110,13 @@ const stargate_1 = __webpack_require__(/*! @cosmjs/stargate */ "./node_modules/@ const tx_1 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/affiliates/tx.ts"); const tx_2 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/clob/tx.ts"); const tx_3 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/delaymsg/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/delaymsg/tx.ts"); -const tx_4 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx.ts"); -const tx_5 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx.ts"); +const tx_4 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/listing/tx.ts"); +const tx_5 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/perpetuals/tx.ts"); +const tx_6 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/prices/tx.ts"); const transfer_1 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/transfer */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/transfer.ts"); -const tx_6 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx.ts"); -const tx_7 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.ts"); +const tx_7 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/sending/tx.ts"); +const tx_8 = __webpack_require__(/*! @dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx */ "./node_modules/@dydxprotocol/v4-proto/src/codegen/dydxprotocol/vault/tx.ts"); const constants_1 = __webpack_require__(/*! ../constants */ "./src/clients/constants.ts"); -const types_1 = __webpack_require__(/*! ../types */ "./src/clients/types.ts"); exports.registry = []; function generateRegistry() { return new proto_signing_1.Registry([ @@ -208129,16 +208129,16 @@ function generateRegistry() { // delaymsg [constants_1.TYPE_URL_MSG_DELAY_MESSAGE, tx_3.MsgDelayMessage], // listing - [constants_1.TYPE_URL_MSG_CREATE_MARKET_PERMISSIONLESS, types_1.MsgCreateMarketPermissionless], + [constants_1.TYPE_URL_MSG_CREATE_MARKET_PERMISSIONLESS, tx_4.MsgCreateMarketPermissionless], // perpetuals - [constants_1.TYPE_URL_MSG_CREATE_PERPETUAL, tx_4.MsgCreatePerpetual], + [constants_1.TYPE_URL_MSG_CREATE_PERPETUAL, tx_5.MsgCreatePerpetual], // prices - [constants_1.TYPE_URL_MSG_CREATE_ORACLE_MARKET, tx_5.MsgCreateOracleMarket], + [constants_1.TYPE_URL_MSG_CREATE_ORACLE_MARKET, tx_6.MsgCreateOracleMarket], // vaults - [constants_1.TYPE_URL_MSG_DEPOSIT_TO_MEGAVAULT, tx_7.MsgDepositToMegavault], - [constants_1.TYPE_URL_MSG_WITHDRAW_FROM_MEGAVAULT, tx_7.MsgWithdrawFromMegavault], + [constants_1.TYPE_URL_MSG_DEPOSIT_TO_MEGAVAULT, tx_8.MsgDepositToMegavault], + [constants_1.TYPE_URL_MSG_WITHDRAW_FROM_MEGAVAULT, tx_8.MsgWithdrawFromMegavault], // sending - [constants_1.TYPE_URL_MSG_CREATE_TRANSFER, tx_6.MsgCreateTransfer], + [constants_1.TYPE_URL_MSG_CREATE_TRANSFER, tx_7.MsgCreateTransfer], [constants_1.TYPE_URL_MSG_WITHDRAW_FROM_SUBACCOUNT, transfer_1.MsgWithdrawFromSubaccount], [constants_1.TYPE_URL_MSG_DEPOSIT_TO_SUBACCOUNT, transfer_1.MsgDepositToSubaccount], // affiliates @@ -208148,7 +208148,7 @@ function generateRegistry() { ]); } exports.generateRegistry = generateRegistry; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVnaXN0cnkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2xpZW50cy9saWIvcmVnaXN0cnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEseURBQWdFO0FBQ2hFLCtDQUF3RDtBQUN4RCxzRkFBcUc7QUFDckcsZ0ZBTWlFO0FBQ2pFLG9GQUE4RjtBQUM5RixzRkFBbUc7QUFDbkcsa0ZBQWtHO0FBQ2xHLCtGQUcwRTtBQUMxRSxtRkFBK0Y7QUFDL0YsaUZBR2tFO0FBRWxFLDRDQWdCc0I7QUFDdEIsb0NBQXlEO0FBRTVDLFFBQUEsUUFBUSxHQUEyQyxFQUFFLENBQUM7QUFDbkUsU0FBZ0IsZ0JBQWdCO0lBQzlCLE9BQU8sSUFBSSx3QkFBUSxDQUFDO1FBQ2xCLE9BQU87UUFDUCxDQUF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Q0FBQyw4Q0FBa0MsRUFBRSxpQ0FBdUMsQ0FBQztRQUU3RSxhQUFhO1FBQ2IsQ0FBQywyQ0FBK0IsRUFBRSx5QkFBcUMsQ0FBQztRQUV4RSxnQkFBZ0I7UUFDaEIsR0FBRywrQkFBb0I7S0FDeEIsQ0FBQyxDQUFDO0FBQ0wsQ0FBQztBQXBDRCw0Q0FvQ0MifQ== /***/ }), @@ -211508,7 +211508,7 @@ exports.BROADCAST_TIMEOUT_MS = 8000; // API Defaults exports.API_TIMEOUT_DEFAULT_MS = 5000; // Gas -exports.GAS_MULTIPLIER = 1.4; +exports.GAS_MULTIPLIER = 1.5; exports.ZERO_FEE = { amount: [], gas: '0', diff --git a/v4-client-js/package-lock.json b/v4-client-js/package-lock.json index 3315bf9d..d230ffce 100644 --- a/v4-client-js/package-lock.json +++ b/v4-client-js/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dydxprotocol/v4-client-js", - "version": "1.3.10", + "version": "1.3.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dydxprotocol/v4-client-js", - "version": "1.3.10", + "version": "1.3.11", "license": "AGPL-3.0", "dependencies": { "@cosmjs/amino": "^0.32.1", diff --git a/v4-client-js/package.json b/v4-client-js/package.json index bc4156d2..6cbd2905 100644 --- a/v4-client-js/package.json +++ b/v4-client-js/package.json @@ -1,6 +1,6 @@ { "name": "@dydxprotocol/v4-client-js", - "version": "1.3.10", + "version": "1.3.11", "description": "General client library for the new dYdX system (v4 decentralized)", "main": "build/src/index.js", "scripts": { diff --git a/v4-client-js/src/lib/constants.ts b/v4-client-js/src/lib/constants.ts index 612f2bb1..d145001c 100644 --- a/v4-client-js/src/lib/constants.ts +++ b/v4-client-js/src/lib/constants.ts @@ -12,7 +12,7 @@ export const BROADCAST_TIMEOUT_MS: number = 8_000; export const API_TIMEOUT_DEFAULT_MS: number = 5_000; // Gas -export const GAS_MULTIPLIER: number = 1.4; +export const GAS_MULTIPLIER: number = 1.5; export const ZERO_FEE: StdFee = { amount: [],