diff --git a/package.json b/package.json index 9b7c42324..316f9786f 100644 --- a/package.json +++ b/package.json @@ -56,7 +56,7 @@ "@cosmjs/tendermint-rpc": "^0.32.1", "@datadog/browser-logs": "^5.23.3", "@dydxprotocol/v4-abacus": "1.11.6", - "@dydxprotocol/v4-client-js": "^1.1.27", + "@dydxprotocol/v4-client-js": "1.3.7", "@dydxprotocol/v4-localization": "^1.1.200", "@dydxprotocol/v4-proto": "^6.0.1", "@emotion/is-prop-valid": "^1.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9dd63d4be..b2d757179 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ dependencies: specifier: 1.11.6 version: 1.11.6 '@dydxprotocol/v4-client-js': - specifier: ^1.1.27 - version: 1.1.27 + specifier: 1.3.7 + version: 1.3.7 '@dydxprotocol/v4-localization': specifier: ^1.1.200 version: 1.1.200 @@ -2557,7 +2557,7 @@ packages: /@confio/ics23@0.6.8: resolution: {integrity: sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==} dependencies: - '@noble/hashes': 1.3.3 + '@noble/hashes': 1.4.0 protobufjs: 6.11.4 dev: false @@ -2570,15 +2570,6 @@ packages: '@cosmjs/utils': 0.27.1 dev: false - /@cosmjs/amino@0.31.0: - resolution: {integrity: sha512-xJ5CCEK7H79FTpOuEmlpSzVI+ZeYESTVvO3wHDgbnceIyAne3C68SvyaKqLUR4uJB0Z4q4+DZHbqW6itUiv4lA==} - dependencies: - '@cosmjs/crypto': 0.31.0 - '@cosmjs/encoding': 0.31.3 - '@cosmjs/math': 0.31.3 - '@cosmjs/utils': 0.31.3 - dev: false - /@cosmjs/amino@0.31.3: resolution: {integrity: sha512-36emtUq895sPRX8PTSOnG+lhJDCVyIcE0Tr5ct59sUbgQiI14y43vj/4WAlJ/utSOxy+Zhj9wxcs4AZfu0BHsw==} dependencies: @@ -2660,18 +2651,6 @@ packages: sha.js: 2.4.11 dev: false - /@cosmjs/crypto@0.31.0: - resolution: {integrity: sha512-UaqCe6Tgh0pe1QlZ66E13t6FlIF86QrnBXXq+EN7Xe1Rouza3fJ1ojGlPleJZkBoq3tAyYVIOOqdZIxtVj/sIQ==} - dependencies: - '@cosmjs/encoding': 0.31.3 - '@cosmjs/math': 0.31.3 - '@cosmjs/utils': 0.31.3 - '@noble/hashes': 1.4.0 - bn.js: 5.2.1 - elliptic: 6.5.4 - libsodium-wrappers-sumo: 0.7.11 - dev: false - /@cosmjs/crypto@0.31.3: resolution: {integrity: sha512-vRbvM9ZKR2017TO73dtJ50KxoGcFzKtKI7C8iO302BQ5p+DuB+AirUg1952UpSoLfv5ki9O416MFANNg8UN/EQ==} dependencies: @@ -2704,7 +2683,7 @@ packages: '@cosmjs/utils': 0.32.3 '@noble/hashes': 1.4.0 bn.js: 5.2.1 - elliptic: 6.5.4 + elliptic: 6.5.5 libsodium-wrappers-sumo: 0.7.11 dev: false @@ -2748,13 +2727,6 @@ packages: readonly-date: 1.0.0 dev: false - /@cosmjs/json-rpc@0.31.0: - resolution: {integrity: sha512-Ix2Cil2qysiLNrX+E0w3vtwCrqxGVq8jklpLA7B2vtMrw7tru/rS65fdFSy8ep0wUNLL6Ud32VXa5K0YObDOMA==} - dependencies: - '@cosmjs/stream': 0.31.3 - xstream: 11.14.0 - dev: false - /@cosmjs/json-rpc@0.31.3: resolution: {integrity: sha512-7LVYerXjnm69qqYR3uA6LGCrBW2EO5/F7lfJxAmY+iII2C7xO3a0vAjMSt5zBBh29PXrJVS6c2qRP22W1Le2Wg==} dependencies: @@ -2796,12 +2768,6 @@ packages: bn.js: 5.2.1 dev: false - /@cosmjs/math@0.31.0: - resolution: {integrity: sha512-Sb/8Ry/+gKJaYiV6X8q45kxXC9FoV98XCY1WXtu0JQwOi61VCG2VXsURQnVvZ/EhR/CuT/swOlNKrqEs3da0fw==} - dependencies: - bn.js: 5.2.1 - dev: false - /@cosmjs/math@0.31.3: resolution: {integrity: sha512-kZ2C6glA5HDb9hLz1WrftAjqdTBb3fWQsRR+Us2HsjAYdeE6M3VdXMsYCP5M3yiihal1WDwAY2U7HmfJw7Uh4A==} dependencies: @@ -2820,18 +2786,6 @@ packages: bn.js: 5.2.1 dev: false - /@cosmjs/proto-signing@0.31.0: - resolution: {integrity: sha512-JNlyOJRkn8EKB9mCthkjr6lVX6eyVQ09PFdmB4/DR874E62dFTvQ+YvyKMAgN7K7Dcjj26dVlAD3f6Xs7YOGDg==} - dependencies: - '@cosmjs/amino': 0.31.3 - '@cosmjs/crypto': 0.31.0 - '@cosmjs/encoding': 0.31.3 - '@cosmjs/math': 0.31.3 - '@cosmjs/utils': 0.31.3 - cosmjs-types: 0.8.0 - long: 4.0.0 - dev: false - /@cosmjs/proto-signing@0.31.3: resolution: {integrity: sha512-24+10/cGl6lLS4VCrGTCJeDRPQTn1K5JfknzXzDIHOx8THR31JxA7/HV5eWGHqWgAbudA7ccdSvEK08lEHHtLA==} dependencies: @@ -2866,18 +2820,6 @@ packages: cosmjs-types: 0.9.0 dev: false - /@cosmjs/socket@0.31.0: - resolution: {integrity: sha512-WDh9gTyiP3OCXvSAJJn33+Ef3XqMWag+bpR1TdMBxTmlTxuvU+kPy4cf6P2OF+jkkUBEA5Se2EAju0eFbJMT+w==} - dependencies: - '@cosmjs/stream': 0.31.3 - isomorphic-ws: 4.0.1(ws@7.5.9) - ws: 7.5.9 - xstream: 11.14.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - dev: false - /@cosmjs/socket@0.31.3: resolution: {integrity: sha512-aqrDGGi7os/hsz5p++avI4L0ZushJ+ItnzbqA7C6hamFSCJwgOkXaOUs+K9hXZdX4rhY7rXO4PH9IH8q09JkTw==} dependencies: @@ -2918,13 +2860,13 @@ packages: resolution: {integrity: sha512-GYhk9lzZPj/QmYHC0VV/4AMoRzVcOP+EnB1YZCoWlBdLuVmpBYKRagJqWIrIwdk1E0gF2ZoESd2TYfdh1fqIpg==} dependencies: '@confio/ics23': 0.6.8 - '@cosmjs/amino': 0.31.0 - '@cosmjs/encoding': 0.31.0 - '@cosmjs/math': 0.31.0 - '@cosmjs/proto-signing': 0.31.0 + '@cosmjs/amino': 0.31.3 + '@cosmjs/encoding': 0.31.3 + '@cosmjs/math': 0.31.3 + '@cosmjs/proto-signing': 0.31.3 '@cosmjs/stream': 0.31.0 - '@cosmjs/tendermint-rpc': 0.31.0 - '@cosmjs/utils': 0.31.0 + '@cosmjs/tendermint-rpc': 0.31.3 + '@cosmjs/utils': 0.31.3 cosmjs-types: 0.8.0 long: 4.0.0 protobufjs: 6.11.4 @@ -3018,25 +2960,6 @@ packages: xstream: 11.14.0 dev: false - /@cosmjs/tendermint-rpc@0.31.0: - resolution: {integrity: sha512-yo9xbeuI6UoEKIhFZ9g0dvUKLqnBzwdpEc/uldQygQc51j38gQVwFko+6sjmhieJqRYYvrYumcbJMiV6GFM9aA==} - dependencies: - '@cosmjs/crypto': 0.31.0 - '@cosmjs/encoding': 0.31.3 - '@cosmjs/json-rpc': 0.31.0 - '@cosmjs/math': 0.31.3 - '@cosmjs/socket': 0.31.0 - '@cosmjs/stream': 0.31.0 - '@cosmjs/utils': 0.31.3 - axios: 0.21.4 - readonly-date: 1.0.0 - xstream: 11.14.0 - transitivePeerDependencies: - - bufferutil - - debug - - utf-8-validate - dev: false - /@cosmjs/tendermint-rpc@0.31.3: resolution: {integrity: sha512-s3TiWkPCW4QceTQjpYqn4xttUJH36mTPqplMl+qyocdqk5+X5mergzExU/pHZRWQ4pbby8bnR7kMvG4OC1aZ8g==} dependencies: @@ -3098,10 +3021,6 @@ packages: resolution: {integrity: sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg==} dev: false - /@cosmjs/utils@0.31.0: - resolution: {integrity: sha512-nNcycZWUYLNJlrIXgpcgVRqdl6BXjF4YlXdxobQWpW9Tikk61bEGeAFhDYtC0PwHlokCNw0KxWiHGJL4nL7Q5A==} - dev: false - /@cosmjs/utils@0.31.3: resolution: {integrity: sha512-VBhAgzrrYdIe0O5IbKRqwszbQa7ZyQLx9nEQuHQ3HUplQW7P44COG/ye2n6AzCudtqxmwdX7nyX8ta1J07GoqA==} dev: false @@ -3162,8 +3081,8 @@ packages: format-util: 1.0.5 dev: false - /@dydxprotocol/v4-client-js@1.1.27: - resolution: {integrity: sha512-O1XD7G7n/JAxN3sGowVZIkRvY4VjgveEvImhFMNHGYi9UYjFtATxhKcQ+K4v2qrVphW1teyo4PXkcknFvNSadQ==} + /@dydxprotocol/v4-client-js@1.3.7: + resolution: {integrity: sha512-t5RYUf1WuGeQRoVblCXQklA5q+1sktcCzyrqzDjfWN50/9a0KPmFaapnXQwDLNzgU9+1TMmAiS7INsBV24idHQ==} dependencies: '@cosmjs/amino': 0.32.3 '@cosmjs/encoding': 0.32.3 @@ -3172,7 +3091,7 @@ packages: '@cosmjs/stargate': 0.32.3 '@cosmjs/tendermint-rpc': 0.32.3 '@cosmjs/utils': 0.32.3 - '@dydxprotocol/v4-proto': 5.0.0-dev.0 + '@dydxprotocol/v4-proto': 6.0.1 '@osmonauts/lcd': 0.6.0 '@scure/bip32': 1.3.2 '@scure/bip39': 1.2.1 @@ -3195,12 +3114,6 @@ packages: resolution: {integrity: sha512-JNMpoMigJTSLiyVmDWjpovQYg5P6HDNZzVUUJJG3RuSnpRiHq9dLActkW6+00IrwmE7lzMBc6NsaJKe4t1sAbA==} dev: false - /@dydxprotocol/v4-proto@5.0.0-dev.0: - resolution: {integrity: sha512-AdwfSF/nWyunEyhJudY1b3tniFLZJDs5XtRZAH9uIw76TYeBaDtuF3NQZhgyFJgWAnrPh2a4YphPTUeaqe1feQ==} - dependencies: - protobufjs: 6.11.4 - dev: false - /@dydxprotocol/v4-proto@6.0.1: resolution: {integrity: sha512-+L4mT8AM5MlrnT7a817uepSSKCpvMmE6LV5xQKnH18GxLs7JOv5nQTnONbmi6roz12R7Vi1CntRZuz7Lg6l5Sw==} dependencies: @@ -5688,7 +5601,7 @@ packages: /@radix-ui/number@1.0.1: resolution: {integrity: sha512-T5gIdVO2mmPW3NNhjNgEP3cqMXjXL9UbO0BzWcXfvdBs+BohbQxvd/K5hSVKmn9/lbTdsQVKbUcP5WLCwvUbBg==} dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 dev: false /@radix-ui/primitive@1.0.0: @@ -5700,7 +5613,7 @@ packages: /@radix-ui/primitive@1.0.1: resolution: {integrity: sha512-yQ8oGX2GVsEYMWGxcovu1uGWPCxV5BFfeeYxqPmuAzUyLT9qmaMXSAhXpb0WrspIeqYzdJpkh2vHModJPgRIaw==} dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 dev: false /@radix-ui/react-accordion@1.1.2(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0): @@ -5822,7 +5735,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@radix-ui/react-context': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) @@ -5851,7 +5764,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@types/react': 18.3.3 react: 18.2.0 dev: false @@ -5874,7 +5787,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@types/react': 18.3.3 react: 18.2.0 dev: false @@ -5885,7 +5798,7 @@ packages: react: ^16.8 || ^17.0 || ^18.0 react-dom: ^16.8 || ^17.0 || ^18.0 dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/primitive': 1.0.0 '@radix-ui/react-compose-refs': 1.0.0(react@18.2.0) '@radix-ui/react-context': 1.0.0(react@18.2.0) @@ -5949,7 +5862,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@types/react': 18.3.3 react: 18.2.0 dev: false @@ -5983,7 +5896,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/primitive': 1.0.1 '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) @@ -6008,7 +5921,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/primitive': 1.0.1 '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) @@ -6065,7 +5978,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@types/react': 18.3.3 react: 18.2.0 dev: false @@ -6097,7 +6010,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.2.0) @@ -6163,7 +6076,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@types/react': 18.3.3 react: 18.2.0 @@ -6182,7 +6095,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/primitive': 1.0.1 '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) @@ -6289,7 +6202,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@floating-ui/react-dom': 2.0.1(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) @@ -6319,7 +6232,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@floating-ui/react-dom': 2.0.1(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-arrow': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) @@ -6361,7 +6274,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.3.3 '@types/react-dom': 18.2.6 @@ -6382,7 +6295,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.3.3 '@types/react-dom': 18.2.6 @@ -6416,7 +6329,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@types/react': 18.3.3 @@ -6450,7 +6363,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-slot': 1.0.2(@types/react@18.3.3)(react@18.2.0) '@types/react': 18.3.3 '@types/react-dom': 18.2.6 @@ -6501,7 +6414,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/primitive': 1.0.1 '@radix-ui/react-collection': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) @@ -6629,7 +6542,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-compose-refs': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@types/react': 18.3.3 react: 18.2.0 @@ -6849,7 +6762,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@types/react': 18.3.3 react: 18.2.0 dev: false @@ -6873,7 +6786,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-use-callback-ref': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@types/react': 18.3.3 react: 18.2.0 @@ -6922,7 +6835,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@types/react': 18.3.3 react: 18.2.0 dev: false @@ -6936,7 +6849,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@types/react': 18.3.3 react: 18.2.0 dev: false @@ -6965,7 +6878,7 @@ packages: '@types/react': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-use-layout-effect': 1.0.1(@types/react@18.3.3)(react@18.2.0) '@types/react': 18.3.3 react: 18.2.0 @@ -6984,7 +6897,7 @@ packages: '@types/react-dom': optional: true dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 '@radix-ui/react-primitive': 1.0.3(@types/react-dom@18.2.6)(@types/react@18.3.3)(react-dom@18.2.0)(react@18.2.0) '@types/react': 18.3.3 '@types/react-dom': 18.2.6 @@ -6995,7 +6908,7 @@ packages: /@radix-ui/rect@1.0.1: resolution: {integrity: sha512-fyrgCaedtvMg9NK3en0pnOYJdtfwxUcNolezkNPUsoX57X8oQk+NkqcvzHXD2uKNij6GXmWU9NDru2IWjrO4BQ==} dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 dev: false /@react-aria/breadcrumbs@3.5.4(react@18.2.0): @@ -15271,7 +15184,7 @@ packages: '@types/bn.js': 4.11.6 bn.js: 4.12.0 create-hash: 1.2.0 - elliptic: 6.5.4 + elliptic: 6.5.5 ethereum-cryptography: 0.1.3 ethjs-util: 0.1.6 rlp: 2.2.7 @@ -16576,7 +16489,7 @@ packages: /history@5.3.0: resolution: {integrity: sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==} dependencies: - '@babel/runtime': 7.24.6 + '@babel/runtime': 7.24.7 dev: true /hmac-drbg@1.0.1: @@ -22346,7 +22259,7 @@ packages: engines: {node: '>=10.0.0'} requiresBuild: true dependencies: - elliptic: 6.5.4 + elliptic: 6.5.5 node-addon-api: 2.0.2 node-gyp-build: 4.6.0 dev: false @@ -22356,7 +22269,7 @@ packages: engines: {node: '>=14.0.0'} requiresBuild: true dependencies: - elliptic: 6.5.4 + elliptic: 6.5.5 node-addon-api: 5.1.0 node-gyp-build: 4.6.0 dev: false diff --git a/src/hooks/useDydxClient.tsx b/src/hooks/useDydxClient.tsx index a2a1e1274..d0c33d711 100644 --- a/src/hooks/useDydxClient.tsx +++ b/src/hooks/useDydxClient.tsx @@ -398,7 +398,8 @@ const useDydxClientContext = () => { }) => indexerClient.markets.getPerpetualMarketSparklines(period); const getWithdrawalAndTransferGatingStatus = useCallback(async () => { - return compositeClient?.validatorClient.get.getWithdrawalAndTransferGatingStatus(); + // The perpetualId is 0 (parent subaccount number) + return compositeClient?.validatorClient.get.getWithdrawalAndTransferGatingStatus(0); }, [compositeClient]); const getWithdrawalCapacityByDenom = useCallback(