@bze/bzejs 3.1.0 → 3.2.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/dist/bze/bundle.d.ts +2450 -1233
- package/dist/bze/bundle.js +75 -71
- package/dist/bze/rewards/events.d.ts +531 -0
- package/dist/bze/rewards/events.js +871 -1
- package/dist/bze/rewards/genesis.d.ts +28 -1
- package/dist/bze/rewards/genesis.js +109 -4
- package/dist/bze/rewards/params.d.ts +27 -0
- package/dist/bze/rewards/params.js +88 -4
- package/dist/bze/rewards/query.d.ts +667 -1
- package/dist/bze/rewards/query.js +1086 -1
- package/dist/bze/rewards/query.lcd.d.ts +7 -1
- package/dist/bze/rewards/query.lcd.js +82 -0
- package/dist/bze/rewards/query.rpc.func.d.ts +48 -1
- package/dist/bze/rewards/query.rpc.func.js +84 -1
- package/dist/bze/rewards/store.d.ts +481 -0
- package/dist/bze/rewards/store.js +684 -1
- package/dist/bze/rewards/tx.d.ts +911 -0
- package/dist/bze/rewards/tx.js +1432 -1
- package/dist/bze/rewards/tx.registry.d.ts +97 -1
- package/dist/bze/rewards/tx.registry.js +145 -1
- package/dist/bze/rewards/tx.rpc.func.d.ts +49 -1
- package/dist/bze/rewards/tx.rpc.func.js +65 -1
- package/dist/bze/tokenfactory/denom_branding.d.ts +206 -0
- package/dist/bze/tokenfactory/denom_branding.js +329 -0
- package/dist/bze/tokenfactory/events.d.ts +53 -0
- package/dist/bze/tokenfactory/events.js +79 -1
- package/dist/bze/tokenfactory/genesis.d.ts +4 -0
- package/dist/bze/tokenfactory/genesis.js +21 -4
- package/dist/bze/tokenfactory/query.d.ts +217 -0
- package/dist/bze/tokenfactory/query.js +346 -1
- package/dist/bze/tokenfactory/query.lcd.d.ts +3 -1
- package/dist/bze/tokenfactory/query.lcd.js +28 -0
- package/dist/bze/tokenfactory/query.rpc.func.d.ts +15 -1
- package/dist/bze/tokenfactory/query.rpc.func.js +27 -1
- package/dist/bze/tokenfactory/tx.d.ts +120 -0
- package/dist/bze/tokenfactory/tx.js +181 -1
- package/dist/bze/tokenfactory/tx.registry.d.ts +13 -1
- package/dist/bze/tokenfactory/tx.registry.js +19 -1
- package/dist/bze/tokenfactory/tx.rpc.func.d.ts +7 -1
- package/dist/bze/tokenfactory/tx.rpc.func.js +9 -1
- package/dist/bze/tradebin/events.d.ts +198 -0
- package/dist/bze/tradebin/events.js +257 -25
- package/dist/bze/tradebin/genesis.d.ts +9 -0
- package/dist/bze/tradebin/genesis.js +19 -4
- package/dist/bze/tradebin/query.d.ts +215 -0
- package/dist/bze/tradebin/query.js +338 -1
- package/dist/bze/tradebin/query.lcd.d.ts +3 -1
- package/dist/bze/tradebin/query.lcd.js +27 -0
- package/dist/bze/tradebin/query.rpc.func.d.ts +16 -1
- package/dist/bze/tradebin/query.rpc.func.js +28 -1
- package/dist/bze/tradebin/tx.d.ts +273 -0
- package/dist/bze/tradebin/tx.js +353 -5
- package/dist/bze/tradebin/tx.registry.d.ts +25 -1
- package/dist/bze/tradebin/tx.registry.js +37 -1
- package/dist/bze/tradebin/tx.rpc.func.d.ts +15 -1
- package/dist/bze/tradebin/tx.rpc.func.js +19 -1
- package/dist/bze/txfeecollector/events.d.ts +112 -0
- package/dist/bze/txfeecollector/events.js +135 -0
- package/dist/bze/txfeecollector/params.d.ts +101 -0
- package/dist/bze/txfeecollector/params.js +115 -5
- package/dist/cosmos/bundle.d.ts +9554 -9554
- package/dist/cosmos/bundle.js +363 -363
- package/dist/cosmos_proto/bundle.d.ts +30 -30
- package/dist/cosmos_proto/bundle.js +2 -2
- package/dist/esm/bze/bundle.js +75 -71
- package/dist/esm/bze/rewards/events.js +870 -0
- package/dist/esm/bze/rewards/genesis.js +110 -5
- package/dist/esm/bze/rewards/params.js +88 -4
- package/dist/esm/bze/rewards/query.js +1086 -1
- package/dist/esm/bze/rewards/query.lcd.js +82 -0
- package/dist/esm/bze/rewards/query.rpc.func.js +84 -1
- package/dist/esm/bze/rewards/store.js +683 -0
- package/dist/esm/bze/rewards/tx.js +1431 -0
- package/dist/esm/bze/rewards/tx.registry.js +146 -2
- package/dist/esm/bze/rewards/tx.rpc.func.js +65 -1
- package/dist/esm/bze/tokenfactory/denom_branding.js +326 -0
- package/dist/esm/bze/tokenfactory/events.js +78 -0
- package/dist/esm/bze/tokenfactory/genesis.js +21 -4
- package/dist/esm/bze/tokenfactory/query.js +345 -0
- package/dist/esm/bze/tokenfactory/query.lcd.js +28 -0
- package/dist/esm/bze/tokenfactory/query.rpc.func.js +27 -1
- package/dist/esm/bze/tokenfactory/tx.js +180 -0
- package/dist/esm/bze/tokenfactory/tx.registry.js +20 -2
- package/dist/esm/bze/tokenfactory/tx.rpc.func.js +9 -1
- package/dist/esm/bze/tradebin/events.js +256 -24
- package/dist/esm/bze/tradebin/genesis.js +19 -4
- package/dist/esm/bze/tradebin/query.js +337 -0
- package/dist/esm/bze/tradebin/query.lcd.js +27 -0
- package/dist/esm/bze/tradebin/query.rpc.func.js +28 -1
- package/dist/esm/bze/tradebin/tx.js +352 -4
- package/dist/esm/bze/tradebin/tx.registry.js +38 -2
- package/dist/esm/bze/tradebin/tx.rpc.func.js +19 -1
- package/dist/esm/bze/txfeecollector/events.js +132 -0
- package/dist/esm/bze/txfeecollector/params.js +114 -4
- package/dist/esm/cosmos/bundle.js +363 -363
- package/dist/esm/cosmos_proto/bundle.js +2 -2
- package/dist/esm/gogoproto/bundle.js +2 -2
- package/dist/esm/google/bundle.js +7 -7
- package/dist/esm/ibc/bundle.js +165 -165
- package/dist/esm/tendermint/bundle.js +18 -18
- package/dist/gogoproto/bundle.js +2 -2
- package/dist/google/bundle.d.ts +550 -550
- package/dist/google/bundle.js +7 -7
- package/dist/ibc/bundle.d.ts +4419 -4419
- package/dist/ibc/bundle.js +165 -165
- package/dist/tendermint/bundle.d.ts +1120 -1120
- package/dist/tendermint/bundle.js +18 -18
- package/package.json +1 -1
|
@@ -18,6 +18,8 @@ class LCDQueryClient {
|
|
|
18
18
|
this.allUserDust = this.allUserDust.bind(this);
|
|
19
19
|
this.allLiquidityPools = this.allLiquidityPools.bind(this);
|
|
20
20
|
this.liquidityPool = this.liquidityPool.bind(this);
|
|
21
|
+
this.haltedDenoms = this.haltedDenoms.bind(this);
|
|
22
|
+
this.denomHalted = this.denomHalted.bind(this);
|
|
21
23
|
}
|
|
22
24
|
/* Parameters queries the parameters of the module. */
|
|
23
25
|
async params(_params = {}) {
|
|
@@ -159,5 +161,30 @@ class LCDQueryClient {
|
|
|
159
161
|
const endpoint = `bze/tradebin/liquidity_pool`;
|
|
160
162
|
return await this.req.get(endpoint, options);
|
|
161
163
|
}
|
|
164
|
+
/* Queries the denoms governance halted on the DEX, paginated, in store (byte) order. */
|
|
165
|
+
async haltedDenoms(params = {
|
|
166
|
+
pagination: undefined
|
|
167
|
+
}) {
|
|
168
|
+
const options = {
|
|
169
|
+
params: {}
|
|
170
|
+
};
|
|
171
|
+
if (typeof params?.pagination !== "undefined") {
|
|
172
|
+
(0, helpers_1.setPaginationParams)(options, params.pagination);
|
|
173
|
+
}
|
|
174
|
+
const endpoint = `bze/tradebin/halted_denoms`;
|
|
175
|
+
return await this.req.get(endpoint, options);
|
|
176
|
+
}
|
|
177
|
+
/* Queries whether one denom is halted. Over REST the denom is passed as the `denom` query
|
|
178
|
+
parameter (factory/ibc denoms contain "/", so it cannot be a path segment). */
|
|
179
|
+
async denomHalted(params) {
|
|
180
|
+
const options = {
|
|
181
|
+
params: {}
|
|
182
|
+
};
|
|
183
|
+
if (typeof params?.denom !== "undefined") {
|
|
184
|
+
options.params.denom = params.denom;
|
|
185
|
+
}
|
|
186
|
+
const endpoint = `bze/tradebin/denom_halted`;
|
|
187
|
+
return await this.req.get(endpoint, options);
|
|
188
|
+
}
|
|
162
189
|
}
|
|
163
190
|
exports.LCDQueryClient = LCDQueryClient;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryParamsRequest, QueryParamsResponse, QueryMarketRequest, QueryMarketResponse, QueryAllMarketsRequest, QueryAllMarketsResponse, QueryAssetMarketsRequest, QueryAssetMarketsResponse, QueryUserMarketOrdersRequest, QueryUserMarketOrdersResponse, QueryMarketAggregatedOrdersRequest, QueryMarketAggregatedOrdersResponse, QueryMarketHistoryRequest, QueryMarketHistoryResponse, QueryMarketOrderRequest, QueryMarketOrderResponse, QueryAllUserDustRequest, QueryAllUserDustResponse, QueryAllLiquidityPoolsRequest, QueryAllLiquidityPoolsResponse, QueryLiquidityPoolRequest, QueryLiquidityPoolResponse } from "./query";
|
|
1
|
+
import { QueryParamsRequest, QueryParamsResponse, QueryMarketRequest, QueryMarketResponse, QueryAllMarketsRequest, QueryAllMarketsResponse, QueryAssetMarketsRequest, QueryAssetMarketsResponse, QueryUserMarketOrdersRequest, QueryUserMarketOrdersResponse, QueryMarketAggregatedOrdersRequest, QueryMarketAggregatedOrdersResponse, QueryMarketHistoryRequest, QueryMarketHistoryResponse, QueryMarketOrderRequest, QueryMarketOrderResponse, QueryAllUserDustRequest, QueryAllUserDustResponse, QueryAllLiquidityPoolsRequest, QueryAllLiquidityPoolsResponse, QueryLiquidityPoolRequest, QueryLiquidityPoolResponse, QueryHaltedDenomsRequest, QueryHaltedDenomsResponse, QueryDenomHaltedRequest, QueryDenomHaltedResponse } from "./query";
|
|
2
2
|
/**
|
|
3
3
|
* Parameters queries the parameters of the module.
|
|
4
4
|
* @name getParams
|
|
@@ -76,3 +76,18 @@ export declare const getAllLiquidityPools: (client: import("../../helper-func-ty
|
|
|
76
76
|
* @see proto service: bze.tradebin.LiquidityPool
|
|
77
77
|
*/
|
|
78
78
|
export declare const getLiquidityPool: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryLiquidityPoolRequest) => Promise<QueryLiquidityPoolResponse>;
|
|
79
|
+
/**
|
|
80
|
+
* Queries the denoms governance halted on the DEX, paginated, in store (byte) order.
|
|
81
|
+
* @name getHaltedDenoms
|
|
82
|
+
* @package bze.tradebin
|
|
83
|
+
* @see proto service: bze.tradebin.HaltedDenoms
|
|
84
|
+
*/
|
|
85
|
+
export declare const getHaltedDenoms: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryHaltedDenomsRequest) => Promise<QueryHaltedDenomsResponse>;
|
|
86
|
+
/**
|
|
87
|
+
* Queries whether one denom is halted. Over REST the denom is passed as the `denom` query
|
|
88
|
+
* parameter (factory/ibc denoms contain "/", so it cannot be a path segment).
|
|
89
|
+
* @name getDenomHalted
|
|
90
|
+
* @package bze.tradebin
|
|
91
|
+
* @see proto service: bze.tradebin.DenomHalted
|
|
92
|
+
*/
|
|
93
|
+
export declare const getDenomHalted: (client: import("../../helper-func-types").EndpointOrRpc, request: QueryDenomHaltedRequest) => Promise<QueryDenomHaltedResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getLiquidityPool = exports.getAllLiquidityPools = exports.getAllUserDust = exports.getMarketOrder = exports.getMarketHistory = exports.getMarketAggregatedOrders = exports.getUserMarketOrders = exports.getAssetMarkets = exports.getAllMarkets = exports.getMarket = exports.getParams = void 0;
|
|
3
|
+
exports.getDenomHalted = exports.getHaltedDenoms = exports.getLiquidityPool = exports.getAllLiquidityPools = exports.getAllUserDust = exports.getMarketOrder = exports.getMarketHistory = exports.getMarketAggregatedOrders = exports.getUserMarketOrders = exports.getAssetMarkets = exports.getAllMarkets = exports.getMarket = exports.getParams = void 0;
|
|
4
4
|
//@ts-nocheck
|
|
5
5
|
const helper_func_types_1 = require("../../helper-func-types");
|
|
6
6
|
const query_1 = require("./query");
|
|
@@ -147,3 +147,30 @@ exports.getLiquidityPool = (0, helper_func_types_1.buildQuery)({
|
|
|
147
147
|
method: "LiquidityPool",
|
|
148
148
|
deps: [query_1.QueryLiquidityPoolRequest, query_1.QueryLiquidityPoolResponse]
|
|
149
149
|
});
|
|
150
|
+
/**
|
|
151
|
+
* Queries the denoms governance halted on the DEX, paginated, in store (byte) order.
|
|
152
|
+
* @name getHaltedDenoms
|
|
153
|
+
* @package bze.tradebin
|
|
154
|
+
* @see proto service: bze.tradebin.HaltedDenoms
|
|
155
|
+
*/
|
|
156
|
+
exports.getHaltedDenoms = (0, helper_func_types_1.buildQuery)({
|
|
157
|
+
encode: query_1.QueryHaltedDenomsRequest.encode,
|
|
158
|
+
decode: query_1.QueryHaltedDenomsResponse.decode,
|
|
159
|
+
service: "bze.tradebin.Query",
|
|
160
|
+
method: "HaltedDenoms",
|
|
161
|
+
deps: [query_1.QueryHaltedDenomsRequest, query_1.QueryHaltedDenomsResponse]
|
|
162
|
+
});
|
|
163
|
+
/**
|
|
164
|
+
* Queries whether one denom is halted. Over REST the denom is passed as the `denom` query
|
|
165
|
+
* parameter (factory/ibc denoms contain "/", so it cannot be a path segment).
|
|
166
|
+
* @name getDenomHalted
|
|
167
|
+
* @package bze.tradebin
|
|
168
|
+
* @see proto service: bze.tradebin.DenomHalted
|
|
169
|
+
*/
|
|
170
|
+
exports.getDenomHalted = (0, helper_func_types_1.buildQuery)({
|
|
171
|
+
encode: query_1.QueryDenomHaltedRequest.encode,
|
|
172
|
+
decode: query_1.QueryDenomHaltedResponse.decode,
|
|
173
|
+
service: "bze.tradebin.Query",
|
|
174
|
+
method: "DenomHalted",
|
|
175
|
+
deps: [query_1.QueryDenomHaltedRequest, query_1.QueryDenomHaltedResponse]
|
|
176
|
+
});
|
|
@@ -461,6 +461,10 @@ export interface MsgCreateLiquidityPoolSDKType {
|
|
|
461
461
|
*/
|
|
462
462
|
export interface MsgCreateLiquidityPoolResponse {
|
|
463
463
|
id: string;
|
|
464
|
+
/**
|
|
465
|
+
* lp_denom is the denom of the created pool's LP token ("ulp/<hash>").
|
|
466
|
+
*/
|
|
467
|
+
lpDenom: string;
|
|
464
468
|
}
|
|
465
469
|
export interface MsgCreateLiquidityPoolResponseProtoMsg {
|
|
466
470
|
typeUrl: "/bze.tradebin.MsgCreateLiquidityPoolResponse";
|
|
@@ -473,6 +477,10 @@ export interface MsgCreateLiquidityPoolResponseProtoMsg {
|
|
|
473
477
|
*/
|
|
474
478
|
export interface MsgCreateLiquidityPoolResponseAmino {
|
|
475
479
|
id?: string;
|
|
480
|
+
/**
|
|
481
|
+
* lp_denom is the denom of the created pool's LP token ("ulp/<hash>").
|
|
482
|
+
*/
|
|
483
|
+
lp_denom?: string;
|
|
476
484
|
}
|
|
477
485
|
export interface MsgCreateLiquidityPoolResponseAminoMsg {
|
|
478
486
|
type: "/bze.tradebin.MsgCreateLiquidityPoolResponse";
|
|
@@ -485,6 +493,7 @@ export interface MsgCreateLiquidityPoolResponseAminoMsg {
|
|
|
485
493
|
*/
|
|
486
494
|
export interface MsgCreateLiquidityPoolResponseSDKType {
|
|
487
495
|
id: string;
|
|
496
|
+
lp_denom: string;
|
|
488
497
|
}
|
|
489
498
|
/**
|
|
490
499
|
* @name MsgAddLiquidity
|
|
@@ -714,6 +723,176 @@ export interface MsgMultiSwapResponseAminoMsg {
|
|
|
714
723
|
export interface MsgMultiSwapResponseSDKType {
|
|
715
724
|
output: CoinSDKType;
|
|
716
725
|
}
|
|
726
|
+
/**
|
|
727
|
+
* MsgHaltDenoms is the governance message that halts denoms on the DEX: no new order, fill, market, pool
|
|
728
|
+
* or liquidity add touching a halted denom, no AMM swap involving it (user routes, module swaps, fee
|
|
729
|
+
* swaps) and no tx fee paid in it. Exits — cancel order, remove liquidity, bank sends, IBC — keep working.
|
|
730
|
+
* Idempotent: a denom that is already halted is left as is. The native denom cannot be halted.
|
|
731
|
+
* @name MsgHaltDenoms
|
|
732
|
+
* @package bze.tradebin
|
|
733
|
+
* @see proto type: bze.tradebin.MsgHaltDenoms
|
|
734
|
+
*/
|
|
735
|
+
export interface MsgHaltDenoms {
|
|
736
|
+
/**
|
|
737
|
+
* authority is the address that controls the module (defaults to x/gov unless overwritten).
|
|
738
|
+
*/
|
|
739
|
+
authority: string;
|
|
740
|
+
/**
|
|
741
|
+
* denoms to halt: valid denoms, no duplicates, at most 1000 per message.
|
|
742
|
+
*/
|
|
743
|
+
denoms: string[];
|
|
744
|
+
}
|
|
745
|
+
export interface MsgHaltDenomsProtoMsg {
|
|
746
|
+
typeUrl: "/bze.tradebin.MsgHaltDenoms";
|
|
747
|
+
value: Uint8Array;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
* MsgHaltDenoms is the governance message that halts denoms on the DEX: no new order, fill, market, pool
|
|
751
|
+
* or liquidity add touching a halted denom, no AMM swap involving it (user routes, module swaps, fee
|
|
752
|
+
* swaps) and no tx fee paid in it. Exits — cancel order, remove liquidity, bank sends, IBC — keep working.
|
|
753
|
+
* Idempotent: a denom that is already halted is left as is. The native denom cannot be halted.
|
|
754
|
+
* @name MsgHaltDenomsAmino
|
|
755
|
+
* @package bze.tradebin
|
|
756
|
+
* @see proto type: bze.tradebin.MsgHaltDenoms
|
|
757
|
+
*/
|
|
758
|
+
export interface MsgHaltDenomsAmino {
|
|
759
|
+
/**
|
|
760
|
+
* authority is the address that controls the module (defaults to x/gov unless overwritten).
|
|
761
|
+
*/
|
|
762
|
+
authority?: string;
|
|
763
|
+
/**
|
|
764
|
+
* denoms to halt: valid denoms, no duplicates, at most 1000 per message.
|
|
765
|
+
*/
|
|
766
|
+
denoms?: string[];
|
|
767
|
+
}
|
|
768
|
+
export interface MsgHaltDenomsAminoMsg {
|
|
769
|
+
type: "bze/x/tradebin/MsgHaltDenoms";
|
|
770
|
+
value: MsgHaltDenomsAmino;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* MsgHaltDenoms is the governance message that halts denoms on the DEX: no new order, fill, market, pool
|
|
774
|
+
* or liquidity add touching a halted denom, no AMM swap involving it (user routes, module swaps, fee
|
|
775
|
+
* swaps) and no tx fee paid in it. Exits — cancel order, remove liquidity, bank sends, IBC — keep working.
|
|
776
|
+
* Idempotent: a denom that is already halted is left as is. The native denom cannot be halted.
|
|
777
|
+
* @name MsgHaltDenomsSDKType
|
|
778
|
+
* @package bze.tradebin
|
|
779
|
+
* @see proto type: bze.tradebin.MsgHaltDenoms
|
|
780
|
+
*/
|
|
781
|
+
export interface MsgHaltDenomsSDKType {
|
|
782
|
+
authority: string;
|
|
783
|
+
denoms: string[];
|
|
784
|
+
}
|
|
785
|
+
/**
|
|
786
|
+
* @name MsgHaltDenomsResponse
|
|
787
|
+
* @package bze.tradebin
|
|
788
|
+
* @see proto type: bze.tradebin.MsgHaltDenomsResponse
|
|
789
|
+
*/
|
|
790
|
+
export interface MsgHaltDenomsResponse {
|
|
791
|
+
}
|
|
792
|
+
export interface MsgHaltDenomsResponseProtoMsg {
|
|
793
|
+
typeUrl: "/bze.tradebin.MsgHaltDenomsResponse";
|
|
794
|
+
value: Uint8Array;
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* @name MsgHaltDenomsResponseAmino
|
|
798
|
+
* @package bze.tradebin
|
|
799
|
+
* @see proto type: bze.tradebin.MsgHaltDenomsResponse
|
|
800
|
+
*/
|
|
801
|
+
export interface MsgHaltDenomsResponseAmino {
|
|
802
|
+
}
|
|
803
|
+
export interface MsgHaltDenomsResponseAminoMsg {
|
|
804
|
+
type: "/bze.tradebin.MsgHaltDenomsResponse";
|
|
805
|
+
value: MsgHaltDenomsResponseAmino;
|
|
806
|
+
}
|
|
807
|
+
/**
|
|
808
|
+
* @name MsgHaltDenomsResponseSDKType
|
|
809
|
+
* @package bze.tradebin
|
|
810
|
+
* @see proto type: bze.tradebin.MsgHaltDenomsResponse
|
|
811
|
+
*/
|
|
812
|
+
export interface MsgHaltDenomsResponseSDKType {
|
|
813
|
+
}
|
|
814
|
+
/**
|
|
815
|
+
* MsgUnhaltDenoms is the governance message that lifts the halt on denoms: resting orders resume
|
|
816
|
+
* matching and pools resume swapping. Idempotent: a denom that is not halted is left as is.
|
|
817
|
+
* @name MsgUnhaltDenoms
|
|
818
|
+
* @package bze.tradebin
|
|
819
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenoms
|
|
820
|
+
*/
|
|
821
|
+
export interface MsgUnhaltDenoms {
|
|
822
|
+
/**
|
|
823
|
+
* authority is the address that controls the module (defaults to x/gov unless overwritten).
|
|
824
|
+
*/
|
|
825
|
+
authority: string;
|
|
826
|
+
/**
|
|
827
|
+
* denoms to un-halt: valid denoms, no duplicates, at most 1000 per message.
|
|
828
|
+
*/
|
|
829
|
+
denoms: string[];
|
|
830
|
+
}
|
|
831
|
+
export interface MsgUnhaltDenomsProtoMsg {
|
|
832
|
+
typeUrl: "/bze.tradebin.MsgUnhaltDenoms";
|
|
833
|
+
value: Uint8Array;
|
|
834
|
+
}
|
|
835
|
+
/**
|
|
836
|
+
* MsgUnhaltDenoms is the governance message that lifts the halt on denoms: resting orders resume
|
|
837
|
+
* matching and pools resume swapping. Idempotent: a denom that is not halted is left as is.
|
|
838
|
+
* @name MsgUnhaltDenomsAmino
|
|
839
|
+
* @package bze.tradebin
|
|
840
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenoms
|
|
841
|
+
*/
|
|
842
|
+
export interface MsgUnhaltDenomsAmino {
|
|
843
|
+
/**
|
|
844
|
+
* authority is the address that controls the module (defaults to x/gov unless overwritten).
|
|
845
|
+
*/
|
|
846
|
+
authority?: string;
|
|
847
|
+
/**
|
|
848
|
+
* denoms to un-halt: valid denoms, no duplicates, at most 1000 per message.
|
|
849
|
+
*/
|
|
850
|
+
denoms?: string[];
|
|
851
|
+
}
|
|
852
|
+
export interface MsgUnhaltDenomsAminoMsg {
|
|
853
|
+
type: "bze/x/tradebin/MsgUnhaltDenoms";
|
|
854
|
+
value: MsgUnhaltDenomsAmino;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
* MsgUnhaltDenoms is the governance message that lifts the halt on denoms: resting orders resume
|
|
858
|
+
* matching and pools resume swapping. Idempotent: a denom that is not halted is left as is.
|
|
859
|
+
* @name MsgUnhaltDenomsSDKType
|
|
860
|
+
* @package bze.tradebin
|
|
861
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenoms
|
|
862
|
+
*/
|
|
863
|
+
export interface MsgUnhaltDenomsSDKType {
|
|
864
|
+
authority: string;
|
|
865
|
+
denoms: string[];
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
* @name MsgUnhaltDenomsResponse
|
|
869
|
+
* @package bze.tradebin
|
|
870
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenomsResponse
|
|
871
|
+
*/
|
|
872
|
+
export interface MsgUnhaltDenomsResponse {
|
|
873
|
+
}
|
|
874
|
+
export interface MsgUnhaltDenomsResponseProtoMsg {
|
|
875
|
+
typeUrl: "/bze.tradebin.MsgUnhaltDenomsResponse";
|
|
876
|
+
value: Uint8Array;
|
|
877
|
+
}
|
|
878
|
+
/**
|
|
879
|
+
* @name MsgUnhaltDenomsResponseAmino
|
|
880
|
+
* @package bze.tradebin
|
|
881
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenomsResponse
|
|
882
|
+
*/
|
|
883
|
+
export interface MsgUnhaltDenomsResponseAmino {
|
|
884
|
+
}
|
|
885
|
+
export interface MsgUnhaltDenomsResponseAminoMsg {
|
|
886
|
+
type: "/bze.tradebin.MsgUnhaltDenomsResponse";
|
|
887
|
+
value: MsgUnhaltDenomsResponseAmino;
|
|
888
|
+
}
|
|
889
|
+
/**
|
|
890
|
+
* @name MsgUnhaltDenomsResponseSDKType
|
|
891
|
+
* @package bze.tradebin
|
|
892
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenomsResponse
|
|
893
|
+
*/
|
|
894
|
+
export interface MsgUnhaltDenomsResponseSDKType {
|
|
895
|
+
}
|
|
717
896
|
/**
|
|
718
897
|
* MsgUpdateParams is the Msg/UpdateParams request type.
|
|
719
898
|
* @name MsgUpdateParams
|
|
@@ -1134,3 +1313,97 @@ export declare const MsgMultiSwapResponse: {
|
|
|
1134
1313
|
toProtoMsg(message: MsgMultiSwapResponse): MsgMultiSwapResponseProtoMsg;
|
|
1135
1314
|
registerTypeUrl(): void;
|
|
1136
1315
|
};
|
|
1316
|
+
/**
|
|
1317
|
+
* MsgHaltDenoms is the governance message that halts denoms on the DEX: no new order, fill, market, pool
|
|
1318
|
+
* or liquidity add touching a halted denom, no AMM swap involving it (user routes, module swaps, fee
|
|
1319
|
+
* swaps) and no tx fee paid in it. Exits — cancel order, remove liquidity, bank sends, IBC — keep working.
|
|
1320
|
+
* Idempotent: a denom that is already halted is left as is. The native denom cannot be halted.
|
|
1321
|
+
* @name MsgHaltDenoms
|
|
1322
|
+
* @package bze.tradebin
|
|
1323
|
+
* @see proto type: bze.tradebin.MsgHaltDenoms
|
|
1324
|
+
*/
|
|
1325
|
+
export declare const MsgHaltDenoms: {
|
|
1326
|
+
typeUrl: string;
|
|
1327
|
+
aminoType: string;
|
|
1328
|
+
is(o: any): o is MsgHaltDenoms;
|
|
1329
|
+
isSDK(o: any): o is MsgHaltDenomsSDKType;
|
|
1330
|
+
isAmino(o: any): o is MsgHaltDenomsAmino;
|
|
1331
|
+
encode(message: MsgHaltDenoms, writer?: BinaryWriter): BinaryWriter;
|
|
1332
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgHaltDenoms;
|
|
1333
|
+
fromPartial(object: Partial<MsgHaltDenoms>): MsgHaltDenoms;
|
|
1334
|
+
fromAmino(object: MsgHaltDenomsAmino): MsgHaltDenoms;
|
|
1335
|
+
toAmino(message: MsgHaltDenoms): MsgHaltDenomsAmino;
|
|
1336
|
+
fromAminoMsg(object: MsgHaltDenomsAminoMsg): MsgHaltDenoms;
|
|
1337
|
+
toAminoMsg(message: MsgHaltDenoms): MsgHaltDenomsAminoMsg;
|
|
1338
|
+
fromProtoMsg(message: MsgHaltDenomsProtoMsg): MsgHaltDenoms;
|
|
1339
|
+
toProto(message: MsgHaltDenoms): Uint8Array;
|
|
1340
|
+
toProtoMsg(message: MsgHaltDenoms): MsgHaltDenomsProtoMsg;
|
|
1341
|
+
registerTypeUrl(): void;
|
|
1342
|
+
};
|
|
1343
|
+
/**
|
|
1344
|
+
* @name MsgHaltDenomsResponse
|
|
1345
|
+
* @package bze.tradebin
|
|
1346
|
+
* @see proto type: bze.tradebin.MsgHaltDenomsResponse
|
|
1347
|
+
*/
|
|
1348
|
+
export declare const MsgHaltDenomsResponse: {
|
|
1349
|
+
typeUrl: string;
|
|
1350
|
+
is(o: any): o is MsgHaltDenomsResponse;
|
|
1351
|
+
isSDK(o: any): o is MsgHaltDenomsResponseSDKType;
|
|
1352
|
+
isAmino(o: any): o is MsgHaltDenomsResponseAmino;
|
|
1353
|
+
encode(_: MsgHaltDenomsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
1354
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgHaltDenomsResponse;
|
|
1355
|
+
fromPartial(_: Partial<MsgHaltDenomsResponse>): MsgHaltDenomsResponse;
|
|
1356
|
+
fromAmino(_: MsgHaltDenomsResponseAmino): MsgHaltDenomsResponse;
|
|
1357
|
+
toAmino(_: MsgHaltDenomsResponse): MsgHaltDenomsResponseAmino;
|
|
1358
|
+
fromAminoMsg(object: MsgHaltDenomsResponseAminoMsg): MsgHaltDenomsResponse;
|
|
1359
|
+
fromProtoMsg(message: MsgHaltDenomsResponseProtoMsg): MsgHaltDenomsResponse;
|
|
1360
|
+
toProto(message: MsgHaltDenomsResponse): Uint8Array;
|
|
1361
|
+
toProtoMsg(message: MsgHaltDenomsResponse): MsgHaltDenomsResponseProtoMsg;
|
|
1362
|
+
registerTypeUrl(): void;
|
|
1363
|
+
};
|
|
1364
|
+
/**
|
|
1365
|
+
* MsgUnhaltDenoms is the governance message that lifts the halt on denoms: resting orders resume
|
|
1366
|
+
* matching and pools resume swapping. Idempotent: a denom that is not halted is left as is.
|
|
1367
|
+
* @name MsgUnhaltDenoms
|
|
1368
|
+
* @package bze.tradebin
|
|
1369
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenoms
|
|
1370
|
+
*/
|
|
1371
|
+
export declare const MsgUnhaltDenoms: {
|
|
1372
|
+
typeUrl: string;
|
|
1373
|
+
aminoType: string;
|
|
1374
|
+
is(o: any): o is MsgUnhaltDenoms;
|
|
1375
|
+
isSDK(o: any): o is MsgUnhaltDenomsSDKType;
|
|
1376
|
+
isAmino(o: any): o is MsgUnhaltDenomsAmino;
|
|
1377
|
+
encode(message: MsgUnhaltDenoms, writer?: BinaryWriter): BinaryWriter;
|
|
1378
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUnhaltDenoms;
|
|
1379
|
+
fromPartial(object: Partial<MsgUnhaltDenoms>): MsgUnhaltDenoms;
|
|
1380
|
+
fromAmino(object: MsgUnhaltDenomsAmino): MsgUnhaltDenoms;
|
|
1381
|
+
toAmino(message: MsgUnhaltDenoms): MsgUnhaltDenomsAmino;
|
|
1382
|
+
fromAminoMsg(object: MsgUnhaltDenomsAminoMsg): MsgUnhaltDenoms;
|
|
1383
|
+
toAminoMsg(message: MsgUnhaltDenoms): MsgUnhaltDenomsAminoMsg;
|
|
1384
|
+
fromProtoMsg(message: MsgUnhaltDenomsProtoMsg): MsgUnhaltDenoms;
|
|
1385
|
+
toProto(message: MsgUnhaltDenoms): Uint8Array;
|
|
1386
|
+
toProtoMsg(message: MsgUnhaltDenoms): MsgUnhaltDenomsProtoMsg;
|
|
1387
|
+
registerTypeUrl(): void;
|
|
1388
|
+
};
|
|
1389
|
+
/**
|
|
1390
|
+
* @name MsgUnhaltDenomsResponse
|
|
1391
|
+
* @package bze.tradebin
|
|
1392
|
+
* @see proto type: bze.tradebin.MsgUnhaltDenomsResponse
|
|
1393
|
+
*/
|
|
1394
|
+
export declare const MsgUnhaltDenomsResponse: {
|
|
1395
|
+
typeUrl: string;
|
|
1396
|
+
is(o: any): o is MsgUnhaltDenomsResponse;
|
|
1397
|
+
isSDK(o: any): o is MsgUnhaltDenomsResponseSDKType;
|
|
1398
|
+
isAmino(o: any): o is MsgUnhaltDenomsResponseAmino;
|
|
1399
|
+
encode(_: MsgUnhaltDenomsResponse, writer?: BinaryWriter): BinaryWriter;
|
|
1400
|
+
decode(input: BinaryReader | Uint8Array, length?: number): MsgUnhaltDenomsResponse;
|
|
1401
|
+
fromPartial(_: Partial<MsgUnhaltDenomsResponse>): MsgUnhaltDenomsResponse;
|
|
1402
|
+
fromAmino(_: MsgUnhaltDenomsResponseAmino): MsgUnhaltDenomsResponse;
|
|
1403
|
+
toAmino(_: MsgUnhaltDenomsResponse): MsgUnhaltDenomsResponseAmino;
|
|
1404
|
+
fromAminoMsg(object: MsgUnhaltDenomsResponseAminoMsg): MsgUnhaltDenomsResponse;
|
|
1405
|
+
fromProtoMsg(message: MsgUnhaltDenomsResponseProtoMsg): MsgUnhaltDenomsResponse;
|
|
1406
|
+
toProto(message: MsgUnhaltDenomsResponse): Uint8Array;
|
|
1407
|
+
toProtoMsg(message: MsgUnhaltDenomsResponse): MsgUnhaltDenomsResponseProtoMsg;
|
|
1408
|
+
registerTypeUrl(): void;
|
|
1409
|
+
};
|