juno-network 0.12.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- package/main/codegen/cosmos/bundle.js +47 -47
- package/main/codegen/cosmwasm/bundle.js +17 -16
- package/main/codegen/cosmwasm/wasm/v1/authz.js +437 -0
- package/main/codegen/cosmwasm/wasm/v1/genesis.js +21 -2
- package/main/codegen/cosmwasm/wasm/v1/proposal.js +291 -4
- package/main/codegen/cosmwasm/wasm/v1/query.js +179 -3
- package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +65 -2
- package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +27 -0
- package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +89 -34
- package/main/codegen/cosmwasm/wasm/v1/tx.js +183 -23
- package/main/codegen/cosmwasm/wasm/v1/tx.registry.js +19 -1
- package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +10 -0
- package/main/codegen/cosmwasm/wasm/v1/types.js +32 -11
- package/main/codegen/gaia/bundle.js +28 -0
- package/main/codegen/gaia/globalfee/v1beta1/genesis.js +100 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.js +91 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +54 -0
- package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +47 -0
- package/main/codegen/gaia/lcd.js +167 -0
- package/main/codegen/gaia/rpc.query.js +134 -0
- package/main/codegen/gogoproto/bundle.js +2 -2
- package/main/codegen/google/bundle.js +6 -6
- package/main/codegen/ibc/bundle.js +56 -56
- package/main/codegen/index.js +55 -11
- package/main/codegen/juno/bundle.js +20 -20
- package/main/codegen/osmosis/bundle.js +35 -0
- package/main/codegen/osmosis/client.js +67 -0
- package/main/codegen/osmosis/lcd.js +167 -0
- package/main/codegen/osmosis/rpc.query.js +134 -0
- package/main/codegen/osmosis/rpc.tx.js +133 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +48 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +118 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +63 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +242 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +111 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +73 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +192 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +506 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +137 -0
- package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +85 -0
- package/main/codegen/router/bundle.js +25 -0
- package/main/codegen/router/lcd.js +164 -0
- package/main/codegen/router/rpc.query.js +131 -0
- package/main/codegen/router/v1/genesis.js +286 -0
- package/main/codegen/router/v1/query.js +76 -0
- package/main/codegen/router/v1/query.lcd.js +54 -0
- package/main/codegen/router/v1/query.rpc.Query.js +47 -0
- package/main/codegen/tendermint/bundle.js +17 -17
- package/module/codegen/cosmos/bundle.js +47 -47
- package/module/codegen/cosmwasm/bundle.js +17 -16
- package/module/codegen/cosmwasm/wasm/v1/authz.js +346 -0
- package/module/codegen/cosmwasm/wasm/v1/genesis.js +11 -3
- package/module/codegen/cosmwasm/wasm/v1/proposal.js +261 -2
- package/module/codegen/cosmwasm/wasm/v1/query.js +159 -2
- package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +22 -2
- package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +19 -1
- package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +55 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.js +161 -16
- package/module/codegen/cosmwasm/wasm/v1/tx.registry.js +20 -2
- package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +7 -1
- package/module/codegen/cosmwasm/wasm/v1/types.js +18 -11
- package/module/codegen/gaia/bundle.js +17 -0
- package/module/codegen/gaia/globalfee/v1beta1/genesis.js +73 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.js +64 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +16 -0
- package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +27 -0
- package/module/codegen/gaia/lcd.js +57 -0
- package/module/codegen/gaia/rpc.query.js +39 -0
- package/module/codegen/gogoproto/bundle.js +2 -2
- package/module/codegen/google/bundle.js +6 -6
- package/module/codegen/ibc/bundle.js +56 -56
- package/module/codegen/index.js +4 -0
- package/module/codegen/juno/bundle.js +20 -20
- package/module/codegen/osmosis/bundle.js +24 -0
- package/module/codegen/osmosis/client.js +36 -0
- package/module/codegen/osmosis/lcd.js +57 -0
- package/module/codegen/osmosis/rpc.query.js +39 -0
- package/module/codegen/osmosis/rpc.tx.js +30 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +37 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +91 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +38 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +207 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +33 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +45 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +193 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +473 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +123 -0
- package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +47 -0
- package/module/codegen/router/bundle.js +14 -0
- package/module/codegen/router/lcd.js +55 -0
- package/module/codegen/router/rpc.query.js +37 -0
- package/module/codegen/router/v1/genesis.js +261 -0
- package/module/codegen/router/v1/query.js +63 -0
- package/module/codegen/router/v1/query.lcd.js +16 -0
- package/module/codegen/router/v1/query.rpc.Query.js +27 -0
- package/module/codegen/tendermint/bundle.js +17 -17
- package/package.json +7 -7
- package/src/codegen/cosmos/bundle.ts +76 -76
- package/src/codegen/cosmwasm/bundle.ts +24 -22
- package/src/codegen/cosmwasm/wasm/v1/authz.ts +624 -0
- package/src/codegen/cosmwasm/wasm/v1/genesis.ts +14 -2
- package/src/codegen/cosmwasm/wasm/v1/proposal.ts +526 -3
- package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +27 -3
- package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +29 -1
- package/src/codegen/cosmwasm/wasm/v1/query.ts +269 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +73 -3
- package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +23 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +18 -2
- package/src/codegen/cosmwasm/wasm/v1/tx.ts +275 -5
- package/src/codegen/cosmwasm/wasm/v1/types.ts +47 -26
- package/src/codegen/gaia/bundle.ts +18 -0
- package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +129 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +22 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +34 -0
- package/src/codegen/gaia/globalfee/v1beta1/query.ts +110 -0
- package/src/codegen/gaia/lcd.ts +59 -0
- package/src/codegen/gaia/rpc.query.ts +41 -0
- package/src/codegen/gogoproto/bundle.ts +2 -2
- package/src/codegen/google/bundle.ts +10 -10
- package/src/codegen/ibc/bundle.ts +86 -86
- package/src/codegen/index.ts +4 -0
- package/src/codegen/juno/bundle.ts +34 -34
- package/src/codegen/osmosis/bundle.ts +32 -0
- package/src/codegen/osmosis/client.ts +45 -0
- package/src/codegen/osmosis/lcd.ts +59 -0
- package/src/codegen/osmosis/rpc.query.ts +41 -0
- package/src/codegen/osmosis/rpc.tx.ts +33 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +67 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +148 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +58 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +41 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +72 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +345 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +264 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +142 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +63 -0
- package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +771 -0
- package/src/codegen/router/bundle.ts +16 -0
- package/src/codegen/router/lcd.ts +57 -0
- package/src/codegen/router/rpc.query.ts +39 -0
- package/src/codegen/router/v1/genesis.ts +413 -0
- package/src/codegen/router/v1/query.lcd.ts +22 -0
- package/src/codegen/router/v1/query.rpc.Query.ts +35 -0
- package/src/codegen/router/v1/query.ts +100 -0
- package/src/codegen/tendermint/bundle.ts +22 -22
- package/types/codegen/cosmos/bundle.d.ts +61 -61
- package/types/codegen/cosmwasm/bundle.d.ts +386 -248
- package/types/codegen/cosmwasm/client.d.ts +31 -0
- package/types/codegen/cosmwasm/rpc.query.d.ts +2 -0
- package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +223 -0
- package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +3 -1
- package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +171 -2
- package/types/codegen/cosmwasm/wasm/v1/query.d.ts +79 -1
- package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +3 -1
- package/types/codegen/cosmwasm/wasm/v1/query.rpc.Query.d.ts +9 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +23 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +82 -4
- package/types/codegen/cosmwasm/wasm/v1/tx.registry.d.ts +13 -1
- package/types/codegen/cosmwasm/wasm/v1/tx.rpc.msg.d.ts +11 -2
- package/types/codegen/cosmwasm/wasm/v1/types.d.ts +24 -14
- package/types/codegen/gaia/bundle.d.ts +174 -0
- package/types/codegen/gaia/globalfee/v1beta1/genesis.d.ts +45 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.d.ts +39 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +9 -0
- package/types/codegen/gaia/globalfee/v1beta1/query.rpc.Query.d.ts +15 -0
- package/types/codegen/gaia/lcd.d.ts +33 -0
- package/types/codegen/gaia/rpc.query.d.ts +105 -0
- package/types/codegen/google/bundle.d.ts +123 -123
- package/types/codegen/ibc/bundle.d.ts +773 -773
- package/types/codegen/index.d.ts +5 -0
- package/types/codegen/juno/bundle.d.ts +284 -41
- package/types/codegen/juno/client.d.ts +54 -0
- package/types/codegen/juno/feeshare/v1/feeshare.d.ts +49 -0
- package/types/codegen/juno/feeshare/v1/genesis.d.ts +61 -0
- package/types/codegen/juno/feeshare/v1/query.d.ts +213 -0
- package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +13 -0
- package/types/codegen/juno/feeshare/v1/query.rpc.Query.d.ts +38 -0
- package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +42 -0
- package/types/codegen/juno/feeshare/v1/tx.d.ts +136 -0
- package/types/codegen/juno/feeshare/v1/tx.registry.d.ts +48 -0
- package/types/codegen/juno/feeshare/v1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/juno/lcd.d.ts +3 -0
- package/types/codegen/juno/rpc.query.d.ts +9 -0
- package/types/codegen/juno/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/bundle.d.ts +507 -0
- package/types/codegen/osmosis/client.d.ts +137 -0
- package/types/codegen/osmosis/lcd.d.ts +33 -0
- package/types/codegen/osmosis/rpc.query.d.ts +107 -0
- package/types/codegen/osmosis/rpc.tx.d.ts +31 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +25 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +44 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/params.d.ts +16 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +106 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +11 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.d.ts +33 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +103 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +228 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +84 -0
- package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +21 -0
- package/types/codegen/router/bundle.d.ts +178 -0
- package/types/codegen/router/lcd.d.ts +31 -0
- package/types/codegen/router/rpc.query.d.ts +103 -0
- package/types/codegen/router/v1/genesis.d.ts +100 -0
- package/types/codegen/router/v1/query.d.ts +29 -0
- package/types/codegen/router/v1/query.lcd.d.ts +9 -0
- package/types/codegen/router/v1/query.rpc.Query.d.ts +16 -0
- package/types/codegen/tendermint/bundle.d.ts +291 -291
@@ -1,5 +1,5 @@
|
|
1
1
|
import { AminoMsg } from "@cosmjs/amino";
|
2
|
-
import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx";
|
2
|
+
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx";
|
3
3
|
export interface AminoMsgStoreCode extends AminoMsg {
|
4
4
|
type: "wasm/MsgStoreCode";
|
5
5
|
value: {
|
@@ -8,6 +8,7 @@ export interface AminoMsgStoreCode extends AminoMsg {
|
|
8
8
|
instantiate_permission: {
|
9
9
|
permission: number;
|
10
10
|
address: string;
|
11
|
+
addresses: string[];
|
11
12
|
};
|
12
13
|
};
|
13
14
|
}
|
@@ -25,6 +26,22 @@ export interface AminoMsgInstantiateContract extends AminoMsg {
|
|
25
26
|
}[];
|
26
27
|
};
|
27
28
|
}
|
29
|
+
export interface AminoMsgInstantiateContract2 extends AminoMsg {
|
30
|
+
type: "wasm/MsgInstantiateContract2";
|
31
|
+
value: {
|
32
|
+
sender: string;
|
33
|
+
admin: string;
|
34
|
+
code_id: string;
|
35
|
+
label: string;
|
36
|
+
msg: Uint8Array;
|
37
|
+
funds: {
|
38
|
+
denom: string;
|
39
|
+
amount: string;
|
40
|
+
}[];
|
41
|
+
salt: Uint8Array;
|
42
|
+
fix_msg: boolean;
|
43
|
+
};
|
44
|
+
}
|
28
45
|
export interface AminoMsgExecuteContract extends AminoMsg {
|
29
46
|
type: "wasm/MsgExecuteContract";
|
30
47
|
value: {
|
@@ -72,6 +89,11 @@ export declare const AminoConverter: {
|
|
72
89
|
toAmino: ({ sender, admin, codeId, label, msg, funds }: MsgInstantiateContract) => AminoMsgInstantiateContract["value"];
|
73
90
|
fromAmino: ({ sender, admin, code_id, label, msg, funds }: AminoMsgInstantiateContract["value"]) => MsgInstantiateContract;
|
74
91
|
};
|
92
|
+
"/cosmwasm.wasm.v1.MsgInstantiateContract2": {
|
93
|
+
aminoType: string;
|
94
|
+
toAmino: ({ sender, admin, codeId, label, msg, funds, salt, fixMsg }: MsgInstantiateContract2) => AminoMsgInstantiateContract2["value"];
|
95
|
+
fromAmino: ({ sender, admin, code_id, label, msg, funds, salt, fix_msg }: AminoMsgInstantiateContract2["value"]) => MsgInstantiateContract2;
|
96
|
+
};
|
75
97
|
"/cosmwasm.wasm.v1.MsgExecuteContract": {
|
76
98
|
aminoType: string;
|
77
99
|
toAmino: ({ sender, contract, msg, funds }: MsgExecuteContract) => AminoMsgExecuteContract["value"];
|
@@ -30,11 +30,15 @@ export interface MsgStoreCodeSDKType {
|
|
30
30
|
export interface MsgStoreCodeResponse {
|
31
31
|
/** CodeID is the reference to the stored WASM code */
|
32
32
|
codeId: Long;
|
33
|
+
/** Checksum is the sha256 hash of the stored code */
|
34
|
+
checksum: Uint8Array;
|
33
35
|
}
|
34
36
|
/** MsgStoreCodeResponse returns store result data. */
|
35
37
|
export interface MsgStoreCodeResponseSDKType {
|
36
38
|
/** CodeID is the reference to the stored WASM code */
|
37
39
|
code_id: Long;
|
40
|
+
/** Checksum is the sha256 hash of the stored code */
|
41
|
+
checksum: Uint8Array;
|
38
42
|
}
|
39
43
|
/**
|
40
44
|
* MsgInstantiateContract create a new smart contract instance for the given
|
@@ -72,18 +76,82 @@ export interface MsgInstantiateContractSDKType {
|
|
72
76
|
/** Funds coins that are transferred to the contract on instantiation */
|
73
77
|
funds: CoinSDKType[];
|
74
78
|
}
|
79
|
+
/**
|
80
|
+
* MsgInstantiateContract2 create a new smart contract instance for the given
|
81
|
+
* code id with a predicable address.
|
82
|
+
*/
|
83
|
+
export interface MsgInstantiateContract2 {
|
84
|
+
/** Sender is the that actor that signed the messages */
|
85
|
+
sender: string;
|
86
|
+
/** Admin is an optional address that can execute migrations */
|
87
|
+
admin: string;
|
88
|
+
/** CodeID is the reference to the stored WASM code */
|
89
|
+
codeId: Long;
|
90
|
+
/** Label is optional metadata to be stored with a contract instance. */
|
91
|
+
label: string;
|
92
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
93
|
+
msg: Uint8Array;
|
94
|
+
/** Funds coins that are transferred to the contract on instantiation */
|
95
|
+
funds: Coin[];
|
96
|
+
/** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */
|
97
|
+
salt: Uint8Array;
|
98
|
+
/**
|
99
|
+
* FixMsg include the msg value into the hash for the predictable address.
|
100
|
+
* Default is false
|
101
|
+
*/
|
102
|
+
fixMsg: boolean;
|
103
|
+
}
|
104
|
+
/**
|
105
|
+
* MsgInstantiateContract2 create a new smart contract instance for the given
|
106
|
+
* code id with a predicable address.
|
107
|
+
*/
|
108
|
+
export interface MsgInstantiateContract2SDKType {
|
109
|
+
/** Sender is the that actor that signed the messages */
|
110
|
+
sender: string;
|
111
|
+
/** Admin is an optional address that can execute migrations */
|
112
|
+
admin: string;
|
113
|
+
/** CodeID is the reference to the stored WASM code */
|
114
|
+
code_id: Long;
|
115
|
+
/** Label is optional metadata to be stored with a contract instance. */
|
116
|
+
label: string;
|
117
|
+
/** Msg json encoded message to be passed to the contract on instantiation */
|
118
|
+
msg: Uint8Array;
|
119
|
+
/** Funds coins that are transferred to the contract on instantiation */
|
120
|
+
funds: CoinSDKType[];
|
121
|
+
/** Salt is an arbitrary value provided by the sender. Size can be 1 to 64. */
|
122
|
+
salt: Uint8Array;
|
123
|
+
/**
|
124
|
+
* FixMsg include the msg value into the hash for the predictable address.
|
125
|
+
* Default is false
|
126
|
+
*/
|
127
|
+
fix_msg: boolean;
|
128
|
+
}
|
75
129
|
/** MsgInstantiateContractResponse return instantiation result data */
|
76
130
|
export interface MsgInstantiateContractResponse {
|
77
131
|
/** Address is the bech32 address of the new contract instance. */
|
78
132
|
address: string;
|
79
|
-
/** Data contains
|
133
|
+
/** Data contains bytes to returned from the contract */
|
80
134
|
data: Uint8Array;
|
81
135
|
}
|
82
136
|
/** MsgInstantiateContractResponse return instantiation result data */
|
83
137
|
export interface MsgInstantiateContractResponseSDKType {
|
84
138
|
/** Address is the bech32 address of the new contract instance. */
|
85
139
|
address: string;
|
86
|
-
/** Data contains
|
140
|
+
/** Data contains bytes to returned from the contract */
|
141
|
+
data: Uint8Array;
|
142
|
+
}
|
143
|
+
/** MsgInstantiateContract2Response return instantiation result data */
|
144
|
+
export interface MsgInstantiateContract2Response {
|
145
|
+
/** Address is the bech32 address of the new contract instance. */
|
146
|
+
address: string;
|
147
|
+
/** Data contains bytes to returned from the contract */
|
148
|
+
data: Uint8Array;
|
149
|
+
}
|
150
|
+
/** MsgInstantiateContract2Response return instantiation result data */
|
151
|
+
export interface MsgInstantiateContract2ResponseSDKType {
|
152
|
+
/** Address is the bech32 address of the new contract instance. */
|
153
|
+
address: string;
|
154
|
+
/** Data contains bytes to returned from the contract */
|
87
155
|
data: Uint8Array;
|
88
156
|
}
|
89
157
|
/** MsgExecuteContract submits the given message data to a smart contract */
|
@@ -110,12 +178,12 @@ export interface MsgExecuteContractSDKType {
|
|
110
178
|
}
|
111
179
|
/** MsgExecuteContractResponse returns execution result data. */
|
112
180
|
export interface MsgExecuteContractResponse {
|
113
|
-
/** Data contains
|
181
|
+
/** Data contains bytes to returned from the contract */
|
114
182
|
data: Uint8Array;
|
115
183
|
}
|
116
184
|
/** MsgExecuteContractResponse returns execution result data. */
|
117
185
|
export interface MsgExecuteContractResponseSDKType {
|
118
|
-
/** Data contains
|
186
|
+
/** Data contains bytes to returned from the contract */
|
119
187
|
data: Uint8Array;
|
120
188
|
}
|
121
189
|
/** MsgMigrateContract runs a code upgrade/ downgrade for a smart contract */
|
@@ -215,11 +283,21 @@ export declare const MsgInstantiateContract: {
|
|
215
283
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract;
|
216
284
|
fromPartial(object: DeepPartial<MsgInstantiateContract>): MsgInstantiateContract;
|
217
285
|
};
|
286
|
+
export declare const MsgInstantiateContract2: {
|
287
|
+
encode(message: MsgInstantiateContract2, writer?: _m0.Writer): _m0.Writer;
|
288
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2;
|
289
|
+
fromPartial(object: DeepPartial<MsgInstantiateContract2>): MsgInstantiateContract2;
|
290
|
+
};
|
218
291
|
export declare const MsgInstantiateContractResponse: {
|
219
292
|
encode(message: MsgInstantiateContractResponse, writer?: _m0.Writer): _m0.Writer;
|
220
293
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContractResponse;
|
221
294
|
fromPartial(object: DeepPartial<MsgInstantiateContractResponse>): MsgInstantiateContractResponse;
|
222
295
|
};
|
296
|
+
export declare const MsgInstantiateContract2Response: {
|
297
|
+
encode(message: MsgInstantiateContract2Response, writer?: _m0.Writer): _m0.Writer;
|
298
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgInstantiateContract2Response;
|
299
|
+
fromPartial(object: DeepPartial<MsgInstantiateContract2Response>): MsgInstantiateContract2Response;
|
300
|
+
};
|
223
301
|
export declare const MsgExecuteContract: {
|
224
302
|
encode(message: MsgExecuteContract, writer?: _m0.Writer): _m0.Writer;
|
225
303
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgExecuteContract;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { GeneratedType, Registry } from "@cosmjs/proto-signing";
|
2
|
-
import { MsgStoreCode, MsgInstantiateContract, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx";
|
2
|
+
import { MsgStoreCode, MsgInstantiateContract, MsgInstantiateContract2, MsgExecuteContract, MsgMigrateContract, MsgUpdateAdmin, MsgClearAdmin } from "./tx";
|
3
3
|
export declare const registry: ReadonlyArray<[string, GeneratedType]>;
|
4
4
|
export declare const load: (protoRegistry: Registry) => void;
|
5
5
|
export declare const MessageComposer: {
|
@@ -12,6 +12,10 @@ export declare const MessageComposer: {
|
|
12
12
|
typeUrl: string;
|
13
13
|
value: Uint8Array;
|
14
14
|
};
|
15
|
+
instantiateContract2(value: MsgInstantiateContract2): {
|
16
|
+
typeUrl: string;
|
17
|
+
value: Uint8Array;
|
18
|
+
};
|
15
19
|
executeContract(value: MsgExecuteContract): {
|
16
20
|
typeUrl: string;
|
17
21
|
value: Uint8Array;
|
@@ -38,6 +42,10 @@ export declare const MessageComposer: {
|
|
38
42
|
typeUrl: string;
|
39
43
|
value: MsgInstantiateContract;
|
40
44
|
};
|
45
|
+
instantiateContract2(value: MsgInstantiateContract2): {
|
46
|
+
typeUrl: string;
|
47
|
+
value: MsgInstantiateContract2;
|
48
|
+
};
|
41
49
|
executeContract(value: MsgExecuteContract): {
|
42
50
|
typeUrl: string;
|
43
51
|
value: MsgExecuteContract;
|
@@ -64,6 +72,10 @@ export declare const MessageComposer: {
|
|
64
72
|
typeUrl: string;
|
65
73
|
value: MsgInstantiateContract;
|
66
74
|
};
|
75
|
+
instantiateContract2(value: MsgInstantiateContract2): {
|
76
|
+
typeUrl: string;
|
77
|
+
value: MsgInstantiateContract2;
|
78
|
+
};
|
67
79
|
executeContract(value: MsgExecuteContract): {
|
68
80
|
typeUrl: string;
|
69
81
|
value: MsgExecuteContract;
|
@@ -1,11 +1,19 @@
|
|
1
1
|
import { Rpc } from "../../../helpers";
|
2
|
-
import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx";
|
2
|
+
import { MsgStoreCode, MsgStoreCodeResponse, MsgInstantiateContract, MsgInstantiateContractResponse, MsgInstantiateContract2, MsgInstantiateContract2Response, MsgExecuteContract, MsgExecuteContractResponse, MsgMigrateContract, MsgMigrateContractResponse, MsgUpdateAdmin, MsgUpdateAdminResponse, MsgClearAdmin, MsgClearAdminResponse } from "./tx";
|
3
3
|
/** Msg defines the wasm Msg service. */
|
4
4
|
export interface Msg {
|
5
5
|
/** StoreCode to submit Wasm code to the system */
|
6
6
|
storeCode(request: MsgStoreCode): Promise<MsgStoreCodeResponse>;
|
7
|
-
/**
|
7
|
+
/**
|
8
|
+
* InstantiateContract creates a new smart contract instance for the given
|
9
|
+
* code id.
|
10
|
+
*/
|
8
11
|
instantiateContract(request: MsgInstantiateContract): Promise<MsgInstantiateContractResponse>;
|
12
|
+
/**
|
13
|
+
* InstantiateContract2 creates a new smart contract instance for the given
|
14
|
+
* code id with a predictable address
|
15
|
+
*/
|
16
|
+
instantiateContract2(request: MsgInstantiateContract2): Promise<MsgInstantiateContract2Response>;
|
9
17
|
/** Execute submits the given message data to a smart contract */
|
10
18
|
executeContract(request: MsgExecuteContract): Promise<MsgExecuteContractResponse>;
|
11
19
|
/** Migrate runs a code upgrade/ downgrade for a smart contract */
|
@@ -20,6 +28,7 @@ export declare class MsgClientImpl implements Msg {
|
|
20
28
|
constructor(rpc: Rpc);
|
21
29
|
storeCode(request: MsgStoreCode): Promise<MsgStoreCodeResponse>;
|
22
30
|
instantiateContract(request: MsgInstantiateContract): Promise<MsgInstantiateContractResponse>;
|
31
|
+
instantiateContract2(request: MsgInstantiateContract2): Promise<MsgInstantiateContract2Response>;
|
23
32
|
executeContract(request: MsgExecuteContract): Promise<MsgExecuteContractResponse>;
|
24
33
|
migrateContract(request: MsgMigrateContract): Promise<MsgMigrateContractResponse>;
|
25
34
|
updateAdmin(request: MsgUpdateAdmin): Promise<MsgUpdateAdminResponse>;
|
@@ -7,10 +7,15 @@ export declare enum AccessType {
|
|
7
7
|
ACCESS_TYPE_UNSPECIFIED = 0,
|
8
8
|
/** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
|
9
9
|
ACCESS_TYPE_NOBODY = 1,
|
10
|
-
/**
|
10
|
+
/**
|
11
|
+
* ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to a single address
|
12
|
+
* Deprecated: use AccessTypeAnyOfAddresses instead
|
13
|
+
*/
|
11
14
|
ACCESS_TYPE_ONLY_ADDRESS = 2,
|
12
15
|
/** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
|
13
16
|
ACCESS_TYPE_EVERYBODY = 3,
|
17
|
+
/** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */
|
18
|
+
ACCESS_TYPE_ANY_OF_ADDRESSES = 4,
|
14
19
|
UNRECOGNIZED = -1
|
15
20
|
}
|
16
21
|
/** AccessType permission types */
|
@@ -19,10 +24,15 @@ export declare enum AccessTypeSDKType {
|
|
19
24
|
ACCESS_TYPE_UNSPECIFIED = 0,
|
20
25
|
/** ACCESS_TYPE_NOBODY - AccessTypeNobody forbidden */
|
21
26
|
ACCESS_TYPE_NOBODY = 1,
|
22
|
-
/**
|
27
|
+
/**
|
28
|
+
* ACCESS_TYPE_ONLY_ADDRESS - AccessTypeOnlyAddress restricted to a single address
|
29
|
+
* Deprecated: use AccessTypeAnyOfAddresses instead
|
30
|
+
*/
|
23
31
|
ACCESS_TYPE_ONLY_ADDRESS = 2,
|
24
32
|
/** ACCESS_TYPE_EVERYBODY - AccessTypeEverybody unrestricted */
|
25
33
|
ACCESS_TYPE_EVERYBODY = 3,
|
34
|
+
/** ACCESS_TYPE_ANY_OF_ADDRESSES - AccessTypeAnyOfAddresses allow any of the addresses */
|
35
|
+
ACCESS_TYPE_ANY_OF_ADDRESSES = 4,
|
26
36
|
UNRECOGNIZED = -1
|
27
37
|
}
|
28
38
|
export declare function accessTypeFromJSON(object: any): AccessType;
|
@@ -64,24 +74,32 @@ export interface AccessTypeParamSDKType {
|
|
64
74
|
/** AccessConfig access control type. */
|
65
75
|
export interface AccessConfig {
|
66
76
|
permission: AccessType;
|
77
|
+
/**
|
78
|
+
* Address
|
79
|
+
* Deprecated: replaced by addresses
|
80
|
+
*/
|
67
81
|
address: string;
|
82
|
+
addresses: string[];
|
68
83
|
}
|
69
84
|
/** AccessConfig access control type. */
|
70
85
|
export interface AccessConfigSDKType {
|
71
86
|
permission: AccessTypeSDKType;
|
87
|
+
/**
|
88
|
+
* Address
|
89
|
+
* Deprecated: replaced by addresses
|
90
|
+
*/
|
72
91
|
address: string;
|
92
|
+
addresses: string[];
|
73
93
|
}
|
74
94
|
/** Params defines the set of wasm parameters. */
|
75
95
|
export interface Params {
|
76
96
|
codeUploadAccess?: AccessConfig;
|
77
97
|
instantiateDefaultPermission: AccessType;
|
78
|
-
maxWasmCodeSize: Long;
|
79
98
|
}
|
80
99
|
/** Params defines the set of wasm parameters. */
|
81
100
|
export interface ParamsSDKType {
|
82
101
|
code_upload_access?: AccessConfigSDKType;
|
83
102
|
instantiate_default_permission: AccessTypeSDKType;
|
84
|
-
max_wasm_code_size: Long;
|
85
103
|
}
|
86
104
|
/** CodeInfo is data for the uploaded contract WASM code */
|
87
105
|
export interface CodeInfo {
|
@@ -111,11 +129,7 @@ export interface ContractInfo {
|
|
111
129
|
admin: string;
|
112
130
|
/** Label is optional metadata to be stored with a contract instance. */
|
113
131
|
label: string;
|
114
|
-
/**
|
115
|
-
* Created Tx position when the contract was instantiated.
|
116
|
-
* This data should kept internal and not be exposed via query results. Just
|
117
|
-
* use for sorting
|
118
|
-
*/
|
132
|
+
/** Created Tx position when the contract was instantiated. */
|
119
133
|
created?: AbsoluteTxPosition;
|
120
134
|
ibcPortId: string;
|
121
135
|
/**
|
@@ -134,11 +148,7 @@ export interface ContractInfoSDKType {
|
|
134
148
|
admin: string;
|
135
149
|
/** Label is optional metadata to be stored with a contract instance. */
|
136
150
|
label: string;
|
137
|
-
/**
|
138
|
-
* Created Tx position when the contract was instantiated.
|
139
|
-
* This data should kept internal and not be exposed via query results. Just
|
140
|
-
* use for sorting
|
141
|
-
*/
|
151
|
+
/** Created Tx position when the contract was instantiated. */
|
142
152
|
created?: AbsoluteTxPositionSDKType;
|
143
153
|
ibc_port_id: string;
|
144
154
|
/**
|
@@ -0,0 +1,174 @@
|
|
1
|
+
import * as _52 from "./globalfee/v1beta1/genesis";
|
2
|
+
import * as _53 from "./globalfee/v1beta1/query";
|
3
|
+
import * as _147 from "./globalfee/v1beta1/query.lcd";
|
4
|
+
import * as _148 from "./globalfee/v1beta1/query.rpc.Query";
|
5
|
+
export declare namespace gaia {
|
6
|
+
namespace globalfee {
|
7
|
+
const v1beta1: {
|
8
|
+
QueryClientImpl: typeof _148.QueryClientImpl;
|
9
|
+
createRpcQueryExtension: (base: import("@cosmjs/stargate").QueryClient) => {
|
10
|
+
minimumGasPrices(request?: _53.QueryMinimumGasPricesRequest): Promise<_53.QueryMinimumGasPricesResponse>;
|
11
|
+
};
|
12
|
+
LCDQueryClient: typeof _147.LCDQueryClient;
|
13
|
+
QueryMinimumGasPricesRequest: {
|
14
|
+
encode(_: _53.QueryMinimumGasPricesRequest, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
15
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.QueryMinimumGasPricesRequest;
|
16
|
+
fromPartial(_: any): _53.QueryMinimumGasPricesRequest;
|
17
|
+
};
|
18
|
+
QueryMinimumGasPricesResponse: {
|
19
|
+
encode(message: _53.QueryMinimumGasPricesResponse, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
20
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _53.QueryMinimumGasPricesResponse;
|
21
|
+
fromPartial(object: any): _53.QueryMinimumGasPricesResponse;
|
22
|
+
};
|
23
|
+
GenesisState: {
|
24
|
+
encode(message: _52.GenesisState, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
25
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _52.GenesisState;
|
26
|
+
fromPartial(object: any): _52.GenesisState;
|
27
|
+
};
|
28
|
+
Params: {
|
29
|
+
encode(message: _52.Params, writer?: import("protobufjs").Writer): import("protobufjs").Writer;
|
30
|
+
decode(input: Uint8Array | import("protobufjs").Reader, length?: number): _52.Params;
|
31
|
+
fromPartial(object: any): _52.Params;
|
32
|
+
};
|
33
|
+
};
|
34
|
+
}
|
35
|
+
const ClientFactory: {
|
36
|
+
createRPCQueryClient: ({ rpcEndpoint }: {
|
37
|
+
rpcEndpoint: string | import("@cosmjs/tendermint-rpc").HttpEndpoint;
|
38
|
+
}) => Promise<{
|
39
|
+
cosmos: {
|
40
|
+
authz: {
|
41
|
+
v1beta1: {
|
42
|
+
grants(request: import("../cosmos/authz/v1beta1/query").QueryGrantsRequest): Promise<import("../cosmos/authz/v1beta1/query").QueryGrantsResponse>;
|
43
|
+
granterGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranterGrantsRequest): Promise<import("../cosmos/authz/v1beta1/query").QueryGranterGrantsResponse>;
|
44
|
+
granteeGrants(request: import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsRequest): Promise<import("../cosmos/authz/v1beta1/query").QueryGranteeGrantsResponse>;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
bank: {
|
48
|
+
v1beta1: {
|
49
|
+
balance(request: import("../cosmos/bank/v1beta1/query").QueryBalanceRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryBalanceResponse>;
|
50
|
+
allBalances(request: import("../cosmos/bank/v1beta1/query").QueryAllBalancesRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryAllBalancesResponse>;
|
51
|
+
spendableBalances(request: import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesRequest): Promise<import("../cosmos/bank/v1beta1/query").QuerySpendableBalancesResponse>;
|
52
|
+
totalSupply(request?: import("../cosmos/bank/v1beta1/query").QueryTotalSupplyRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryTotalSupplyResponse>;
|
53
|
+
supplyOf(request: import("../cosmos/bank/v1beta1/query").QuerySupplyOfRequest): Promise<import("../cosmos/bank/v1beta1/query").QuerySupplyOfResponse>;
|
54
|
+
params(request?: import("../cosmos/bank/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryParamsResponse>;
|
55
|
+
denomMetadata(request: import("../cosmos/bank/v1beta1/query").QueryDenomMetadataRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryDenomMetadataResponse>;
|
56
|
+
denomsMetadata(request?: import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryDenomsMetadataResponse>;
|
57
|
+
denomOwners(request: import("../cosmos/bank/v1beta1/query").QueryDenomOwnersRequest): Promise<import("../cosmos/bank/v1beta1/query").QueryDenomOwnersResponse>;
|
58
|
+
};
|
59
|
+
};
|
60
|
+
distribution: {
|
61
|
+
v1beta1: {
|
62
|
+
params(request?: import("../cosmos/distribution/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryParamsResponse>;
|
63
|
+
validatorOutstandingRewards(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryValidatorOutstandingRewardsResponse>;
|
64
|
+
validatorCommission(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryValidatorCommissionResponse>;
|
65
|
+
validatorSlashes(request: import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryValidatorSlashesResponse>;
|
66
|
+
delegationRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegationRewardsResponse>;
|
67
|
+
delegationTotalRewards(request: import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegationTotalRewardsResponse>;
|
68
|
+
delegatorValidators(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegatorValidatorsResponse>;
|
69
|
+
delegatorWithdrawAddress(request: import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryDelegatorWithdrawAddressResponse>;
|
70
|
+
communityPool(request?: import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolRequest): Promise<import("../cosmos/distribution/v1beta1/query").QueryCommunityPoolResponse>;
|
71
|
+
};
|
72
|
+
};
|
73
|
+
gov: {
|
74
|
+
v1: {
|
75
|
+
proposal(request: import("../cosmos/gov/v1/query").QueryProposalRequest): Promise<import("../cosmos/gov/v1/query").QueryProposalResponse>;
|
76
|
+
proposals(request: import("../cosmos/gov/v1/query").QueryProposalsRequest): Promise<import("../cosmos/gov/v1/query").QueryProposalsResponse>;
|
77
|
+
vote(request: import("../cosmos/gov/v1/query").QueryVoteRequest): Promise<import("../cosmos/gov/v1/query").QueryVoteResponse>;
|
78
|
+
votes(request: import("../cosmos/gov/v1/query").QueryVotesRequest): Promise<import("../cosmos/gov/v1/query").QueryVotesResponse>;
|
79
|
+
params(request: import("../cosmos/gov/v1/query").QueryParamsRequest): Promise<import("../cosmos/gov/v1/query").QueryParamsResponse>;
|
80
|
+
deposit(request: import("../cosmos/gov/v1/query").QueryDepositRequest): Promise<import("../cosmos/gov/v1/query").QueryDepositResponse>;
|
81
|
+
deposits(request: import("../cosmos/gov/v1/query").QueryDepositsRequest): Promise<import("../cosmos/gov/v1/query").QueryDepositsResponse>;
|
82
|
+
tallyResult(request: import("../cosmos/gov/v1/query").QueryTallyResultRequest): Promise<import("../cosmos/gov/v1/query").QueryTallyResultResponse>;
|
83
|
+
};
|
84
|
+
v1beta1: {
|
85
|
+
proposal(request: import("../cosmos/gov/v1beta1/query").QueryProposalRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryProposalResponse>;
|
86
|
+
proposals(request: import("../cosmos/gov/v1beta1/query").QueryProposalsRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryProposalsResponse>;
|
87
|
+
vote(request: import("../cosmos/gov/v1beta1/query").QueryVoteRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryVoteResponse>;
|
88
|
+
votes(request: import("../cosmos/gov/v1beta1/query").QueryVotesRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryVotesResponse>;
|
89
|
+
params(request: import("../cosmos/gov/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryParamsResponse>;
|
90
|
+
deposit(request: import("../cosmos/gov/v1beta1/query").QueryDepositRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryDepositResponse>;
|
91
|
+
deposits(request: import("../cosmos/gov/v1beta1/query").QueryDepositsRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryDepositsResponse>;
|
92
|
+
tallyResult(request: import("../cosmos/gov/v1beta1/query").QueryTallyResultRequest): Promise<import("../cosmos/gov/v1beta1/query").QueryTallyResultResponse>;
|
93
|
+
};
|
94
|
+
};
|
95
|
+
staking: {
|
96
|
+
v1beta1: {
|
97
|
+
validators(request: import("../cosmos/staking/v1beta1/query").QueryValidatorsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorsResponse>;
|
98
|
+
validator(request: import("../cosmos/staking/v1beta1/query").QueryValidatorRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorResponse>;
|
99
|
+
validatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorDelegationsResponse>;
|
100
|
+
validatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryValidatorUnbondingDelegationsResponse>;
|
101
|
+
delegation(request: import("../cosmos/staking/v1beta1/query").QueryDelegationRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegationResponse>;
|
102
|
+
unbondingDelegation(request: import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryUnbondingDelegationResponse>;
|
103
|
+
delegatorDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorDelegationsResponse>;
|
104
|
+
delegatorUnbondingDelegations(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorUnbondingDelegationsResponse>;
|
105
|
+
redelegations(request: import("../cosmos/staking/v1beta1/query").QueryRedelegationsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryRedelegationsResponse>;
|
106
|
+
delegatorValidators(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorsResponse>;
|
107
|
+
delegatorValidator(request: import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryDelegatorValidatorResponse>;
|
108
|
+
historicalInfo(request: import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryHistoricalInfoResponse>;
|
109
|
+
pool(request?: import("../cosmos/staking/v1beta1/query").QueryPoolRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryPoolResponse>;
|
110
|
+
params(request?: import("../cosmos/staking/v1beta1/query").QueryParamsRequest): Promise<import("../cosmos/staking/v1beta1/query").QueryParamsResponse>;
|
111
|
+
};
|
112
|
+
};
|
113
|
+
tx: {
|
114
|
+
v1beta1: {
|
115
|
+
simulate(request: import("../cosmos/tx/v1beta1/service").SimulateRequest): Promise<import("../cosmos/tx/v1beta1/service").SimulateResponse>;
|
116
|
+
getTx(request: import("../cosmos/tx/v1beta1/service").GetTxRequest): Promise<import("../cosmos/tx/v1beta1/service").GetTxResponse>;
|
117
|
+
broadcastTx(request: import("../cosmos/tx/v1beta1/service").BroadcastTxRequest): Promise<import("../cosmos/tx/v1beta1/service").BroadcastTxResponse>;
|
118
|
+
getTxsEvent(request: import("../cosmos/tx/v1beta1/service").GetTxsEventRequest): Promise<import("../cosmos/tx/v1beta1/service").GetTxsEventResponse>;
|
119
|
+
getBlockWithTxs(request: import("../cosmos/tx/v1beta1/service").GetBlockWithTxsRequest): Promise<import("../cosmos/tx/v1beta1/service").GetBlockWithTxsResponse>;
|
120
|
+
};
|
121
|
+
};
|
122
|
+
upgrade: {
|
123
|
+
v1beta1: {
|
124
|
+
currentPlan(request?: import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryCurrentPlanResponse>;
|
125
|
+
appliedPlan(request: import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryAppliedPlanResponse>;
|
126
|
+
upgradedConsensusState(request: import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryUpgradedConsensusStateResponse>;
|
127
|
+
moduleVersions(request: import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryModuleVersionsResponse>;
|
128
|
+
authority(request?: import("../cosmos/upgrade/v1beta1/query").QueryAuthorityRequest): Promise<import("../cosmos/upgrade/v1beta1/query").QueryAuthorityResponse>;
|
129
|
+
};
|
130
|
+
};
|
131
|
+
};
|
132
|
+
gaia: {
|
133
|
+
globalfee: {
|
134
|
+
v1beta1: {
|
135
|
+
minimumGasPrices(request?: _53.QueryMinimumGasPricesRequest): Promise<_53.QueryMinimumGasPricesResponse>;
|
136
|
+
};
|
137
|
+
};
|
138
|
+
};
|
139
|
+
}>;
|
140
|
+
createLCDClient: ({ restEndpoint }: {
|
141
|
+
restEndpoint: string;
|
142
|
+
}) => Promise<{
|
143
|
+
cosmos: {
|
144
|
+
authz: {
|
145
|
+
v1beta1: import("../cosmos/authz/v1beta1/query.lcd").LCDQueryClient;
|
146
|
+
};
|
147
|
+
bank: {
|
148
|
+
v1beta1: import("../cosmos/bank/v1beta1/query.lcd").LCDQueryClient;
|
149
|
+
};
|
150
|
+
distribution: {
|
151
|
+
v1beta1: import("../cosmos/distribution/v1beta1/query.lcd").LCDQueryClient;
|
152
|
+
};
|
153
|
+
gov: {
|
154
|
+
v1: import("../cosmos/gov/v1/query.lcd").LCDQueryClient;
|
155
|
+
v1beta1: import("../cosmos/gov/v1beta1/query.lcd").LCDQueryClient;
|
156
|
+
};
|
157
|
+
staking: {
|
158
|
+
v1beta1: import("../cosmos/staking/v1beta1/query.lcd").LCDQueryClient;
|
159
|
+
};
|
160
|
+
tx: {
|
161
|
+
v1beta1: import("../cosmos/tx/v1beta1/service.lcd").LCDQueryClient;
|
162
|
+
};
|
163
|
+
upgrade: {
|
164
|
+
v1beta1: import("../cosmos/upgrade/v1beta1/query.lcd").LCDQueryClient;
|
165
|
+
};
|
166
|
+
};
|
167
|
+
gaia: {
|
168
|
+
globalfee: {
|
169
|
+
v1beta1: _147.LCDQueryClient;
|
170
|
+
};
|
171
|
+
};
|
172
|
+
}>;
|
173
|
+
};
|
174
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { DecCoin, DecCoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
4
|
+
/** GenesisState - initial state of module */
|
5
|
+
export interface GenesisState {
|
6
|
+
/** Params of this module */
|
7
|
+
params?: Params;
|
8
|
+
}
|
9
|
+
/** GenesisState - initial state of module */
|
10
|
+
export interface GenesisStateSDKType {
|
11
|
+
/** Params of this module */
|
12
|
+
params?: ParamsSDKType;
|
13
|
+
}
|
14
|
+
/** Params defines the set of module parameters. */
|
15
|
+
export interface Params {
|
16
|
+
/**
|
17
|
+
* Minimum stores the minimum gas price(s) for all TX on the chain.
|
18
|
+
* When multiple coins are defined then they are accepted alternatively.
|
19
|
+
* The list must be sorted by denoms asc. No duplicate denoms or zero amount
|
20
|
+
* values allowed. For more information see
|
21
|
+
* https://docs.cosmos.network/main/modules/auth#concepts
|
22
|
+
*/
|
23
|
+
minimumGasPrices: DecCoin[];
|
24
|
+
}
|
25
|
+
/** Params defines the set of module parameters. */
|
26
|
+
export interface ParamsSDKType {
|
27
|
+
/**
|
28
|
+
* Minimum stores the minimum gas price(s) for all TX on the chain.
|
29
|
+
* When multiple coins are defined then they are accepted alternatively.
|
30
|
+
* The list must be sorted by denoms asc. No duplicate denoms or zero amount
|
31
|
+
* values allowed. For more information see
|
32
|
+
* https://docs.cosmos.network/main/modules/auth#concepts
|
33
|
+
*/
|
34
|
+
minimum_gas_prices: DecCoinSDKType[];
|
35
|
+
}
|
36
|
+
export declare const GenesisState: {
|
37
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
38
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
39
|
+
fromPartial(object: DeepPartial<GenesisState>): GenesisState;
|
40
|
+
};
|
41
|
+
export declare const Params: {
|
42
|
+
encode(message: Params, writer?: _m0.Writer): _m0.Writer;
|
43
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Params;
|
44
|
+
fromPartial(object: DeepPartial<Params>): Params;
|
45
|
+
};
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { DecCoin, DecCoinSDKType } from "../../../cosmos/base/v1beta1/coin";
|
2
|
+
import * as _m0 from "protobufjs/minimal";
|
3
|
+
import { DeepPartial } from "../../../helpers";
|
4
|
+
/**
|
5
|
+
* QueryMinimumGasPricesRequest is the request type for the
|
6
|
+
* Query/MinimumGasPrices RPC method.
|
7
|
+
*/
|
8
|
+
export interface QueryMinimumGasPricesRequest {
|
9
|
+
}
|
10
|
+
/**
|
11
|
+
* QueryMinimumGasPricesRequest is the request type for the
|
12
|
+
* Query/MinimumGasPrices RPC method.
|
13
|
+
*/
|
14
|
+
export interface QueryMinimumGasPricesRequestSDKType {
|
15
|
+
}
|
16
|
+
/**
|
17
|
+
* QueryMinimumGasPricesResponse is the response type for the
|
18
|
+
* Query/MinimumGasPrices RPC method.
|
19
|
+
*/
|
20
|
+
export interface QueryMinimumGasPricesResponse {
|
21
|
+
minimumGasPrices: DecCoin[];
|
22
|
+
}
|
23
|
+
/**
|
24
|
+
* QueryMinimumGasPricesResponse is the response type for the
|
25
|
+
* Query/MinimumGasPrices RPC method.
|
26
|
+
*/
|
27
|
+
export interface QueryMinimumGasPricesResponseSDKType {
|
28
|
+
minimum_gas_prices: DecCoinSDKType[];
|
29
|
+
}
|
30
|
+
export declare const QueryMinimumGasPricesRequest: {
|
31
|
+
encode(_: QueryMinimumGasPricesRequest, writer?: _m0.Writer): _m0.Writer;
|
32
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMinimumGasPricesRequest;
|
33
|
+
fromPartial(_: DeepPartial<QueryMinimumGasPricesRequest>): QueryMinimumGasPricesRequest;
|
34
|
+
};
|
35
|
+
export declare const QueryMinimumGasPricesResponse: {
|
36
|
+
encode(message: QueryMinimumGasPricesResponse, writer?: _m0.Writer): _m0.Writer;
|
37
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): QueryMinimumGasPricesResponse;
|
38
|
+
fromPartial(object: DeepPartial<QueryMinimumGasPricesResponse>): QueryMinimumGasPricesResponse;
|
39
|
+
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { LCDClient } from "@osmonauts/lcd";
|
2
|
+
import { QueryMinimumGasPricesRequest, QueryMinimumGasPricesResponseSDKType } from "./query";
|
3
|
+
export declare class LCDQueryClient {
|
4
|
+
req: LCDClient;
|
5
|
+
constructor({ requestClient }: {
|
6
|
+
requestClient: LCDClient;
|
7
|
+
});
|
8
|
+
minimumGasPrices(_params?: QueryMinimumGasPricesRequest): Promise<QueryMinimumGasPricesResponseSDKType>;
|
9
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { Rpc } from "../../../helpers";
|
2
|
+
import { QueryClient } from "@cosmjs/stargate";
|
3
|
+
import { QueryMinimumGasPricesRequest, QueryMinimumGasPricesResponse } from "./query";
|
4
|
+
/** Query defines the gRPC querier service. */
|
5
|
+
export interface Query {
|
6
|
+
minimumGasPrices(request?: QueryMinimumGasPricesRequest): Promise<QueryMinimumGasPricesResponse>;
|
7
|
+
}
|
8
|
+
export declare class QueryClientImpl implements Query {
|
9
|
+
private readonly rpc;
|
10
|
+
constructor(rpc: Rpc);
|
11
|
+
minimumGasPrices(request?: QueryMinimumGasPricesRequest): Promise<QueryMinimumGasPricesResponse>;
|
12
|
+
}
|
13
|
+
export declare const createRpcQueryExtension: (base: QueryClient) => {
|
14
|
+
minimumGasPrices(request?: QueryMinimumGasPricesRequest): Promise<QueryMinimumGasPricesResponse>;
|
15
|
+
};
|