From c1c3d4beea1b92343566de25d5604b2f5bd5107f Mon Sep 17 00:00:00 2001 From: Rui <102453770+ruixhuang@users.noreply.github.com> Date: Mon, 8 Apr 2024 16:36:52 -0700 Subject: [PATCH] Update v4-native-client.js (#136) --- .../dydxPresenters/_Features/v4-native-client.js | 12 +++++------- .../Protocol_Implementations/AbacusChainImp.swift | 12 +++++++++--- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/dydx/dydxPresenters/dydxPresenters/_Features/v4-native-client.js b/dydx/dydxPresenters/dydxPresenters/_Features/v4-native-client.js index 35d2548ab..c7a30e05e 100644 --- a/dydx/dydxPresenters/dydxPresenters/_Features/v4-native-client.js +++ b/dydx/dydxPresenters/dydxPresenters/_Features/v4-native-client.js @@ -204096,7 +204096,7 @@ class AccountClient extends rest_1.default { }); } async getOrder(orderId) { - const uri = `/v4/orders${orderId}`; + const uri = `/v4/orders/${orderId}`; return this.get(uri); } async getSubaccountFills(address, subaccountNumber, ticker, tickerType = constants_1.TickerType.PERPETUAL, limit, createdBeforeOrAtHeight, createdBeforeOrAt) { @@ -204122,7 +204122,7 @@ class AccountClient extends rest_1.default { } } exports["default"] = AccountClient; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jbGllbnRzL21vZHVsZXMvYWNjb3VudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDRDQUVzQjtBQUV0QixrREFBZ0M7QUFFaEM7O0dBRUc7QUFDSCxNQUFxQixhQUFjLFNBQVEsY0FBVTtJQUNuRCxLQUFLLENBQUMsY0FBYyxDQUNsQixPQUFlLEVBQ2YsS0FBYztRQUVkLE1BQU0sR0FBRyxHQUFHLGlCQUFpQixPQUFPLEVBQUUsQ0FBQztRQUN2QyxPQUFPLElBQUksQ0FBQyxHQUFHLENBQUMsR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IsYUFBeUIsc0JBQVUsQ0FBQyxTQUFTLEVBQzdDLEtBQXFCLEVBQ3JCLHVCQUF1QyxFQUN2QyxpQkFBaUM7UUFFakMsTUFBTSxHQUFHLEdBQUcsV0FBVyxDQUFDO1FBQ3hCLE9BQU8sSUFBSSxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUU7WUFDbkIsT0FBTztZQUNQLGdCQUFnQjtZQUNoQixNQUFNO1lBQ04sVUFBVTtZQUNWLEtBQUs7WUFDTCx1QkFBdUI7WUFDdkIsaUJBQWlCO1NBQ2xCLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRCxLQUFLLENBQUMsMkJBQTJCLENBQy9CLE9BQWUsRUFDZixnQkFBd0IsRUFDeEIsbUJBQW1DLEVBQ25DLGtCQUFrQztRQUVsQyxNQUFNLEdBQUcsR0FBRyxvQkFBb0IsQ0FBQztRQUNqQyxPQUFPLElBQUksQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFO1lBQ25CLE9BQU87WUFDUCxnQkFBZ0I7WUFDaEIsbUJBQW1CO1lBQ25CLGtCQUFrQjtTQUNuQixDQUFDLENBQUM7SUFDTCxDQUFDO0NBQ0Y7QUE3SUQsZ0NBNklDIn0= /***/ }), @@ -204450,7 +204450,6 @@ const AuthModule = __importStar(__webpack_require__(/*! cosmjs-types/cosmos/auth const BankModule = __importStar(__webpack_require__(/*! cosmjs-types/cosmos/bank/v1beta1/query */ "./node_modules/cosmjs-types/cosmos/bank/v1beta1/query.js")); const long_1 = __importDefault(__webpack_require__(/*! long */ "./node_modules/long/src/long.js")); const protobufjs_1 = __importDefault(__webpack_require__(/*! protobufjs */ "./node_modules/protobufjs/index.js")); -const helpers_1 = __webpack_require__(/*! ../../lib/helpers */ "./src/lib/helpers.ts"); const constants_1 = __webpack_require__(/*! ../constants */ "./src/clients/constants.ts"); const errors_1 = __webpack_require__(/*! ../lib/errors */ "./src/clients/lib/errors.ts"); const proto_includes_1 = __webpack_require__(/*! ./proto-includes */ "./src/clients/modules/proto-includes.ts"); @@ -204763,8 +204762,7 @@ class Get { }) .finish()); const data = await this.sendQuery('/dydxprotocol.ratelimit.Query/CapacityByDenom', requestData); - const decodedResponse = proto_includes_1.RateLimitModule.QueryCapacityByDenomResponse.decode(data); - return JSON.parse((0, helpers_1.encodeJson)(decodedResponse, helpers_1.ByteArrayEncoding.BIGINT)); + return proto_includes_1.RateLimitModule.QueryCapacityByDenomResponse.decode(data); } async sendQuery(requestUrl, requestData) { // eslint-disable-next-line max-len @@ -204773,7 +204771,7 @@ class Get { } } exports.Get = Get; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NsaWVudHMvbW9kdWxlcy9nZXQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFDQSwrQ0FPMEI7QUFDMUIsbUZBQXFFO0FBQ3JFLG1GQUFxRTtBQUVyRSxnREFBd0I7QUFDeEIsNERBQWtDO0FBRWxDLCtDQUFrRTtBQUNsRSw0Q0FBNEM7QUFDNUMsMENBQXNEO0FBQ3RELHFEQWEwQjtBQUcxQixvRUFBb0U7QUFDcEUsNkVBQTZFO0FBQzdFLG1GQUFtRjtBQUNuRixrRUFBa0U7QUFDbEUsb0JBQVEsQ0FBQyxJQUFJLENBQUMsSUFBSSxHQUFHLGNBQUksQ0FBQztBQUMxQixvQkFBUSxDQUFDLFNBQVMsRUFBRSxDQUFDO0FBRXJCLE1BQWEsR0FBRztJQUlkLFlBQ0UsZ0JBQWtDLEVBQ2xDLG1CQUF3RDtRQUV4RCxJQUFJLENBQUMsZ0JBQWdCLEdBQUcsZ0JBQWdCLENBQUM7UUFDekMsSUFBSSxDQUFDLG1CQUFtQixHQUFHLG1CQUFtQixDQUFDO0lBQ2pEL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M7Q0FDRjtBQTFmRCxrQkEwZkMifQ== /***/ }), @@ -205117,7 +205115,7 @@ class Post { return this.placeOrder(subaccount, placeOrder.clientId, placeOrder.clobPairId, placeOrder.side, placeOrder.quantums, placeOrder.subticks, placeOrder.timeInForce, placeOrder.orderFlags, placeOrder.reduceOnly, placeOrder.goodTilBlock, placeOrder.goodTilBlockTime, placeOrder.clientMetadata, (_a = placeOrder.conditionType) !== null && _a !== void 0 ? _a : proto_includes_1.Order_ConditionType.CONDITION_TYPE_UNSPECIFIED, (_b = placeOrder.conditionalOrderTriggerSubticks) !== null && _b !== void 0 ? _b : long_1.default.fromInt(0), broadcastMode); } async cancelOrder(subaccount, clientId, orderFlags, clobPairId, goodTilBlock, goodTilBlockTime, broadcastMode) { - const msg = await this.cancelOrderMsg(subaccount.address, subaccount.subaccountNumber, clientId, clobPairId, orderFlags, goodTilBlock !== null && goodTilBlock !== void 0 ? goodTilBlock : 0, goodTilBlockTime !== null && goodTilBlockTime !== void 0 ? goodTilBlockTime : 0); + const msg = await this.cancelOrderMsg(subaccount.address, subaccount.subaccountNumber, clientId, orderFlags, clobPairId, goodTilBlock !== null && goodTilBlock !== void 0 ? goodTilBlock : 0, goodTilBlockTime !== null && goodTilBlockTime !== void 0 ? goodTilBlockTime : 0); return this.send(subaccount.wallet, () => Promise.resolve([msg]), true, undefined, undefined, broadcastMode); } async cancelOrderMsg(address, subaccountNumber, clientId, orderFlags, clobPairId, goodTilBlock, goodTilBlockTime) { diff --git a/dydx/dydxStateManager/dydxStateManager/Protocol_Implementations/AbacusChainImp.swift b/dydx/dydxStateManager/dydxStateManager/Protocol_Implementations/AbacusChainImp.swift index 00692f58b..23113e613 100644 --- a/dydx/dydxStateManager/dydxStateManager/Protocol_Implementations/AbacusChainImp.swift +++ b/dydx/dydxStateManager/dydxStateManager/Protocol_Implementations/AbacusChainImp.swift @@ -12,19 +12,25 @@ import Utilities final public class AbacusChainImp: Abacus.DYDXChainTransactionsProtocol { public func connectNetwork(paramsInJson: String, callback: @escaping (String?) -> Void) { CosmoJavascript.shared.connectNetwork(paramsInJson: paramsInJson) { result in - callback(result as? String) + let result = result as? String + Console.shared.log("AbacusChainImp.connectNetwork \(paramsInJson), result: \(result ?? "nil")") + callback(result) } } public func transaction(type: TransactionType, paramsInJson: String?, callback: @escaping (String?) -> Void) { CosmoJavascript.shared.call(functionName: type.rawValue, paramsInJson: paramsInJson) { result in - callback(result as? String) + let result = result as? String + Console.shared.log("AbacusChainImp.transaction \(type.rawValue), param \(paramsInJson ?? "nil"), result: \(result ?? "nil")") + callback(result) } } public func get(type: QueryType, paramsInJson: String?, callback: @escaping (String?) -> Void) { CosmoJavascript.shared.call(functionName: type.rawValue, paramsInJson: paramsInJson) { result in - callback(result as? String) + let result = result as? String + Console.shared.log("AbacusChainImp.get \(type.rawValue), param \(paramsInJson ?? "nil"), result: \(result ?? "nil")") + callback(result) } }