ault-sdk-ts 0.0.2-alpha.24 → 0.0.2-alpha.25
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/dist/core/network.d.ts +3 -2
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/core/network.d.ts
CHANGED
|
@@ -58,13 +58,14 @@ export declare const GAS_CONSTANTS: {
|
|
|
58
58
|
readonly APPROVE_BUILDER: 81000;
|
|
59
59
|
readonly REVOKE_BUILDER: 57000;
|
|
60
60
|
readonly SET_REFERRAL_CODE: 76000;
|
|
61
|
-
readonly SET_REFERRAL:
|
|
61
|
+
readonly SET_REFERRAL: 80000;
|
|
62
62
|
readonly LIMIT_ORDER: 125000;
|
|
63
63
|
readonly MARKET_ORDER: 119000;
|
|
64
64
|
readonly SCALE_ORDER_BASE: 115000;
|
|
65
65
|
readonly SCALE_ORDER_PER_SUB: 13000;
|
|
66
66
|
readonly CANCEL_ORDER_BASE: 50000;
|
|
67
|
-
readonly CANCEL_ORDER_PER_ID:
|
|
67
|
+
readonly CANCEL_ORDER_PER_ID: 13000;
|
|
68
|
+
readonly MODIFY_ORDER_PER_ID: 113000;
|
|
68
69
|
readonly OPEN_ACCOUNT: 96000;
|
|
69
70
|
readonly DELEGATE: 220000;
|
|
70
71
|
readonly UNDELEGATE: 220000;
|
package/dist/index.cjs
CHANGED
|
@@ -726,7 +726,7 @@ var GAS_CONSTANTS = {
|
|
|
726
726
|
APPROVE_BUILDER: 81e3,
|
|
727
727
|
REVOKE_BUILDER: 57e3,
|
|
728
728
|
SET_REFERRAL_CODE: 76e3,
|
|
729
|
-
SET_REFERRAL:
|
|
729
|
+
SET_REFERRAL: 8e4,
|
|
730
730
|
// CLOB module — mirror the chain's x/clob MinGasLimit* (agent_msg.go) exactly:
|
|
731
731
|
// the agent ante enforces MinGasLimit ≤ gas ≤ MinGasLimit×1.2, so any drift
|
|
732
732
|
// makes the SDK over- or under-shoot that window.
|
|
@@ -735,7 +735,10 @@ var GAS_CONSTANTS = {
|
|
|
735
735
|
SCALE_ORDER_BASE: 115e3,
|
|
736
736
|
SCALE_ORDER_PER_SUB: 13e3,
|
|
737
737
|
CANCEL_ORDER_BASE: 5e4,
|
|
738
|
-
CANCEL_ORDER_PER_ID:
|
|
738
|
+
CANCEL_ORDER_PER_ID: 13e3,
|
|
739
|
+
// MsgModifyOrders is gas-per-order with no base (chain MinGasPerModifyOrder).
|
|
740
|
+
// Mirrored for parity; no high-level/agent method consumes it yet.
|
|
741
|
+
MODIFY_ORDER_PER_ID: 113e3,
|
|
739
742
|
// Accountx module
|
|
740
743
|
OPEN_ACCOUNT: 96e3,
|
|
741
744
|
// Staking module (cosmos-sdk standard, NOT fee-free — user pays gas).
|
|
@@ -25534,7 +25537,7 @@ function createDexWs(url, options) {
|
|
|
25534
25537
|
}
|
|
25535
25538
|
|
|
25536
25539
|
// src/index.ts
|
|
25537
|
-
var SDK_VERSION = "0.0.2-alpha.
|
|
25540
|
+
var SDK_VERSION = "0.0.2-alpha.25";
|
|
25538
25541
|
// Annotate the CommonJS export names for ESM import in node:
|
|
25539
25542
|
0 && (module.exports = {
|
|
25540
25543
|
AGENT_DEFAULTS,
|