@iconlake/client 0.4.0 → 0.6.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/index.iife.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1300 -1239
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
- package/types/cosmos.authz.v1beta1/module.d.ts +10 -10
- package/types/cosmos.bank.v1beta1/module.d.ts +10 -10
- package/types/cosmos.distribution.v1beta1/module.d.ts +21 -21
- package/types/cosmos.gov.v1/module.d.ts +12 -12
- package/types/cosmos.gov.v1beta1/module.d.ts +12 -12
- package/types/cosmos.group.v1/module.d.ts +79 -79
- package/types/cosmos.staking.v1beta1/module.d.ts +21 -21
- package/types/cosmos.upgrade.v1beta1/module.d.ts +10 -10
- package/types/cosmos.vesting.v1beta1/module.d.ts +11 -11
- package/types/iconlake.drop/module.d.ts +12 -1
- package/types/iconlake.drop/rest.d.ts +1 -0
- package/types/iconlake.drop/types/iconlake/drop/tx.d.ts +41 -0
- package/types/iconlake.icon/module.d.ts +11 -11
- package/types/index.d.ts +140 -132
|
@@ -3,18 +3,28 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
|
|
|
3
3
|
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
+
import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
|
|
6
7
|
import { MsgCreateValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
|
+
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
7
9
|
import { MsgBeginRedelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
8
10
|
import { MsgDelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
9
|
-
import { MsgEditValidator } from "./types/cosmos/staking/v1beta1/tx";
|
|
10
11
|
import { MsgUndelegate } from "./types/cosmos/staking/v1beta1/tx";
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
export { MsgCancelUnbondingDelegation, MsgCreateValidator, MsgEditValidator, MsgBeginRedelegate, MsgDelegate, MsgUndelegate };
|
|
13
|
+
type sendMsgCancelUnbondingDelegationParams = {
|
|
14
|
+
value: MsgCancelUnbondingDelegation;
|
|
15
|
+
fee?: StdFee;
|
|
16
|
+
memo?: string;
|
|
17
|
+
};
|
|
13
18
|
type sendMsgCreateValidatorParams = {
|
|
14
19
|
value: MsgCreateValidator;
|
|
15
20
|
fee?: StdFee;
|
|
16
21
|
memo?: string;
|
|
17
22
|
};
|
|
23
|
+
type sendMsgEditValidatorParams = {
|
|
24
|
+
value: MsgEditValidator;
|
|
25
|
+
fee?: StdFee;
|
|
26
|
+
memo?: string;
|
|
27
|
+
};
|
|
18
28
|
type sendMsgBeginRedelegateParams = {
|
|
19
29
|
value: MsgBeginRedelegate;
|
|
20
30
|
fee?: StdFee;
|
|
@@ -25,39 +35,29 @@ type sendMsgDelegateParams = {
|
|
|
25
35
|
fee?: StdFee;
|
|
26
36
|
memo?: string;
|
|
27
37
|
};
|
|
28
|
-
type sendMsgEditValidatorParams = {
|
|
29
|
-
value: MsgEditValidator;
|
|
30
|
-
fee?: StdFee;
|
|
31
|
-
memo?: string;
|
|
32
|
-
};
|
|
33
38
|
type sendMsgUndelegateParams = {
|
|
34
39
|
value: MsgUndelegate;
|
|
35
40
|
fee?: StdFee;
|
|
36
41
|
memo?: string;
|
|
37
42
|
};
|
|
38
|
-
type
|
|
43
|
+
type msgCancelUnbondingDelegationParams = {
|
|
39
44
|
value: MsgCancelUnbondingDelegation;
|
|
40
|
-
fee?: StdFee;
|
|
41
|
-
memo?: string;
|
|
42
45
|
};
|
|
43
46
|
type msgCreateValidatorParams = {
|
|
44
47
|
value: MsgCreateValidator;
|
|
45
48
|
};
|
|
49
|
+
type msgEditValidatorParams = {
|
|
50
|
+
value: MsgEditValidator;
|
|
51
|
+
};
|
|
46
52
|
type msgBeginRedelegateParams = {
|
|
47
53
|
value: MsgBeginRedelegate;
|
|
48
54
|
};
|
|
49
55
|
type msgDelegateParams = {
|
|
50
56
|
value: MsgDelegate;
|
|
51
57
|
};
|
|
52
|
-
type msgEditValidatorParams = {
|
|
53
|
-
value: MsgEditValidator;
|
|
54
|
-
};
|
|
55
58
|
type msgUndelegateParams = {
|
|
56
59
|
value: MsgUndelegate;
|
|
57
60
|
};
|
|
58
|
-
type msgCancelUnbondingDelegationParams = {
|
|
59
|
-
value: MsgCancelUnbondingDelegation;
|
|
60
|
-
};
|
|
61
61
|
export declare const registry: Registry;
|
|
62
62
|
interface TxClientOptions {
|
|
63
63
|
addr: string;
|
|
@@ -65,18 +65,18 @@ interface TxClientOptions {
|
|
|
65
65
|
signer?: OfflineSigner;
|
|
66
66
|
}
|
|
67
67
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
68
|
+
sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
|
|
68
69
|
sendMsgCreateValidator({ value, fee, memo }: sendMsgCreateValidatorParams): Promise<DeliverTxResponse>;
|
|
70
|
+
sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
|
|
69
71
|
sendMsgBeginRedelegate({ value, fee, memo }: sendMsgBeginRedelegateParams): Promise<DeliverTxResponse>;
|
|
70
72
|
sendMsgDelegate({ value, fee, memo }: sendMsgDelegateParams): Promise<DeliverTxResponse>;
|
|
71
|
-
sendMsgEditValidator({ value, fee, memo }: sendMsgEditValidatorParams): Promise<DeliverTxResponse>;
|
|
72
73
|
sendMsgUndelegate({ value, fee, memo }: sendMsgUndelegateParams): Promise<DeliverTxResponse>;
|
|
73
|
-
|
|
74
|
+
msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
|
|
74
75
|
msgCreateValidator({ value }: msgCreateValidatorParams): EncodeObject;
|
|
76
|
+
msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
|
|
75
77
|
msgBeginRedelegate({ value }: msgBeginRedelegateParams): EncodeObject;
|
|
76
78
|
msgDelegate({ value }: msgDelegateParams): EncodeObject;
|
|
77
|
-
msgEditValidator({ value }: msgEditValidatorParams): EncodeObject;
|
|
78
79
|
msgUndelegate({ value }: msgUndelegateParams): EncodeObject;
|
|
79
|
-
msgCancelUnbondingDelegation({ value }: msgCancelUnbondingDelegationParams): EncodeObject;
|
|
80
80
|
};
|
|
81
81
|
interface QueryClientOptions {
|
|
82
82
|
addr: string;
|
|
@@ -3,25 +3,25 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
|
|
|
3
3
|
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
-
import { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
7
6
|
import { MsgSoftwareUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
value: MsgCancelUpgrade;
|
|
11
|
-
fee?: StdFee;
|
|
12
|
-
memo?: string;
|
|
13
|
-
};
|
|
7
|
+
import { MsgCancelUpgrade } from "./types/cosmos/upgrade/v1beta1/tx";
|
|
8
|
+
export { MsgSoftwareUpgrade, MsgCancelUpgrade };
|
|
14
9
|
type sendMsgSoftwareUpgradeParams = {
|
|
15
10
|
value: MsgSoftwareUpgrade;
|
|
16
11
|
fee?: StdFee;
|
|
17
12
|
memo?: string;
|
|
18
13
|
};
|
|
19
|
-
type
|
|
14
|
+
type sendMsgCancelUpgradeParams = {
|
|
20
15
|
value: MsgCancelUpgrade;
|
|
16
|
+
fee?: StdFee;
|
|
17
|
+
memo?: string;
|
|
21
18
|
};
|
|
22
19
|
type msgSoftwareUpgradeParams = {
|
|
23
20
|
value: MsgSoftwareUpgrade;
|
|
24
21
|
};
|
|
22
|
+
type msgCancelUpgradeParams = {
|
|
23
|
+
value: MsgCancelUpgrade;
|
|
24
|
+
};
|
|
25
25
|
export declare const registry: Registry;
|
|
26
26
|
interface TxClientOptions {
|
|
27
27
|
addr: string;
|
|
@@ -29,10 +29,10 @@ interface TxClientOptions {
|
|
|
29
29
|
signer?: OfflineSigner;
|
|
30
30
|
}
|
|
31
31
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
32
|
-
sendMsgCancelUpgrade({ value, fee, memo }: sendMsgCancelUpgradeParams): Promise<DeliverTxResponse>;
|
|
33
32
|
sendMsgSoftwareUpgrade({ value, fee, memo }: sendMsgSoftwareUpgradeParams): Promise<DeliverTxResponse>;
|
|
34
|
-
|
|
33
|
+
sendMsgCancelUpgrade({ value, fee, memo }: sendMsgCancelUpgradeParams): Promise<DeliverTxResponse>;
|
|
35
34
|
msgSoftwareUpgrade({ value }: msgSoftwareUpgradeParams): EncodeObject;
|
|
35
|
+
msgCancelUpgrade({ value }: msgCancelUpgradeParams): EncodeObject;
|
|
36
36
|
};
|
|
37
37
|
interface QueryClientOptions {
|
|
38
38
|
addr: string;
|
|
@@ -4,33 +4,33 @@ import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/pr
|
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
6
|
import { MsgCreateVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
7
|
-
import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
8
7
|
import { MsgCreatePeriodicVestingAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
9
|
-
|
|
8
|
+
import { MsgCreatePermanentLockedAccount } from "./types/cosmos/vesting/v1beta1/tx";
|
|
9
|
+
export { MsgCreateVestingAccount, MsgCreatePeriodicVestingAccount, MsgCreatePermanentLockedAccount };
|
|
10
10
|
type sendMsgCreateVestingAccountParams = {
|
|
11
11
|
value: MsgCreateVestingAccount;
|
|
12
12
|
fee?: StdFee;
|
|
13
13
|
memo?: string;
|
|
14
14
|
};
|
|
15
|
-
type
|
|
16
|
-
value:
|
|
15
|
+
type sendMsgCreatePeriodicVestingAccountParams = {
|
|
16
|
+
value: MsgCreatePeriodicVestingAccount;
|
|
17
17
|
fee?: StdFee;
|
|
18
18
|
memo?: string;
|
|
19
19
|
};
|
|
20
|
-
type
|
|
21
|
-
value:
|
|
20
|
+
type sendMsgCreatePermanentLockedAccountParams = {
|
|
21
|
+
value: MsgCreatePermanentLockedAccount;
|
|
22
22
|
fee?: StdFee;
|
|
23
23
|
memo?: string;
|
|
24
24
|
};
|
|
25
25
|
type msgCreateVestingAccountParams = {
|
|
26
26
|
value: MsgCreateVestingAccount;
|
|
27
27
|
};
|
|
28
|
-
type msgCreatePermanentLockedAccountParams = {
|
|
29
|
-
value: MsgCreatePermanentLockedAccount;
|
|
30
|
-
};
|
|
31
28
|
type msgCreatePeriodicVestingAccountParams = {
|
|
32
29
|
value: MsgCreatePeriodicVestingAccount;
|
|
33
30
|
};
|
|
31
|
+
type msgCreatePermanentLockedAccountParams = {
|
|
32
|
+
value: MsgCreatePermanentLockedAccount;
|
|
33
|
+
};
|
|
34
34
|
export declare const registry: Registry;
|
|
35
35
|
interface TxClientOptions {
|
|
36
36
|
addr: string;
|
|
@@ -39,11 +39,11 @@ interface TxClientOptions {
|
|
|
39
39
|
}
|
|
40
40
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
41
41
|
sendMsgCreateVestingAccount({ value, fee, memo }: sendMsgCreateVestingAccountParams): Promise<DeliverTxResponse>;
|
|
42
|
-
sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
|
|
43
42
|
sendMsgCreatePeriodicVestingAccount({ value, fee, memo }: sendMsgCreatePeriodicVestingAccountParams): Promise<DeliverTxResponse>;
|
|
43
|
+
sendMsgCreatePermanentLockedAccount({ value, fee, memo }: sendMsgCreatePermanentLockedAccountParams): Promise<DeliverTxResponse>;
|
|
44
44
|
msgCreateVestingAccount({ value }: msgCreateVestingAccountParams): EncodeObject;
|
|
45
|
-
msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
|
|
46
45
|
msgCreatePeriodicVestingAccount({ value }: msgCreatePeriodicVestingAccountParams): EncodeObject;
|
|
46
|
+
msgCreatePermanentLockedAccount({ value }: msgCreatePermanentLockedAccountParams): EncodeObject;
|
|
47
47
|
};
|
|
48
48
|
interface QueryClientOptions {
|
|
49
49
|
addr: string;
|
|
@@ -5,7 +5,8 @@ import { IgniteClient } from "../client";
|
|
|
5
5
|
import { Api } from "./rest";
|
|
6
6
|
import { MsgInit } from "./types/iconlake/drop/tx";
|
|
7
7
|
import { MsgMint } from "./types/iconlake/drop/tx";
|
|
8
|
-
|
|
8
|
+
import { MsgUpdateParams } from "./types/iconlake/drop/tx";
|
|
9
|
+
export { MsgInit, MsgMint, MsgUpdateParams };
|
|
9
10
|
type sendMsgInitParams = {
|
|
10
11
|
value: MsgInit;
|
|
11
12
|
fee?: StdFee;
|
|
@@ -16,12 +17,20 @@ type sendMsgMintParams = {
|
|
|
16
17
|
fee?: StdFee;
|
|
17
18
|
memo?: string;
|
|
18
19
|
};
|
|
20
|
+
type sendMsgUpdateParamsParams = {
|
|
21
|
+
value: MsgUpdateParams;
|
|
22
|
+
fee?: StdFee;
|
|
23
|
+
memo?: string;
|
|
24
|
+
};
|
|
19
25
|
type msgInitParams = {
|
|
20
26
|
value: MsgInit;
|
|
21
27
|
};
|
|
22
28
|
type msgMintParams = {
|
|
23
29
|
value: MsgMint;
|
|
24
30
|
};
|
|
31
|
+
type msgUpdateParamsParams = {
|
|
32
|
+
value: MsgUpdateParams;
|
|
33
|
+
};
|
|
25
34
|
export declare const registry: Registry;
|
|
26
35
|
interface TxClientOptions {
|
|
27
36
|
addr: string;
|
|
@@ -31,8 +40,10 @@ interface TxClientOptions {
|
|
|
31
40
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
32
41
|
sendMsgInit({ value, fee, memo }: sendMsgInitParams): Promise<DeliverTxResponse>;
|
|
33
42
|
sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
|
|
43
|
+
sendMsgUpdateParams({ value, fee, memo }: sendMsgUpdateParamsParams): Promise<DeliverTxResponse>;
|
|
34
44
|
msgInit({ value }: msgInitParams): EncodeObject;
|
|
35
45
|
msgMint({ value }: msgMintParams): EncodeObject;
|
|
46
|
+
msgUpdateParams({ value }: msgUpdateParamsParams): EncodeObject;
|
|
36
47
|
};
|
|
37
48
|
interface QueryClientOptions {
|
|
38
49
|
addr: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
import { Coin } from "../../cosmos/base/v1beta1/coin";
|
|
3
|
+
import { Params } from "./params";
|
|
3
4
|
export declare const protobufPackage = "iconlake.drop";
|
|
4
5
|
export interface MsgMint {
|
|
5
6
|
creator: string;
|
|
@@ -13,6 +14,12 @@ export interface MsgInit {
|
|
|
13
14
|
creator: string;
|
|
14
15
|
address: string;
|
|
15
16
|
}
|
|
17
|
+
export interface MsgUpdateParams {
|
|
18
|
+
authority: string;
|
|
19
|
+
params: Params | undefined;
|
|
20
|
+
}
|
|
21
|
+
export interface MsgUpdateParamsResponse {
|
|
22
|
+
}
|
|
16
23
|
export declare const MsgMint: {
|
|
17
24
|
encode(message: MsgMint, writer?: _m0.Writer): _m0.Writer;
|
|
18
25
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgMint;
|
|
@@ -70,16 +77,50 @@ export declare const MsgInit: {
|
|
|
70
77
|
address?: string;
|
|
71
78
|
} & { [K in Exclude<keyof I, keyof MsgInit>]: never; }>(object: I): MsgInit;
|
|
72
79
|
};
|
|
80
|
+
export declare const MsgUpdateParams: {
|
|
81
|
+
encode(message: MsgUpdateParams, writer?: _m0.Writer): _m0.Writer;
|
|
82
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParams;
|
|
83
|
+
fromJSON(object: any): MsgUpdateParams;
|
|
84
|
+
toJSON(message: MsgUpdateParams): unknown;
|
|
85
|
+
fromPartial<I extends {
|
|
86
|
+
authority?: string;
|
|
87
|
+
params?: {
|
|
88
|
+
initAmount?: number;
|
|
89
|
+
minAmountPerMint?: number;
|
|
90
|
+
maxAmountPerMint?: number;
|
|
91
|
+
};
|
|
92
|
+
} & {
|
|
93
|
+
authority?: string;
|
|
94
|
+
params?: {
|
|
95
|
+
initAmount?: number;
|
|
96
|
+
minAmountPerMint?: number;
|
|
97
|
+
maxAmountPerMint?: number;
|
|
98
|
+
} & {
|
|
99
|
+
initAmount?: number;
|
|
100
|
+
minAmountPerMint?: number;
|
|
101
|
+
maxAmountPerMint?: number;
|
|
102
|
+
} & { [K in Exclude<keyof I["params"], keyof Params>]: never; };
|
|
103
|
+
} & { [K_1 in Exclude<keyof I, keyof MsgUpdateParams>]: never; }>(object: I): MsgUpdateParams;
|
|
104
|
+
};
|
|
105
|
+
export declare const MsgUpdateParamsResponse: {
|
|
106
|
+
encode(_: MsgUpdateParamsResponse, writer?: _m0.Writer): _m0.Writer;
|
|
107
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateParamsResponse;
|
|
108
|
+
fromJSON(_: any): MsgUpdateParamsResponse;
|
|
109
|
+
toJSON(_: MsgUpdateParamsResponse): unknown;
|
|
110
|
+
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgUpdateParamsResponse;
|
|
111
|
+
};
|
|
73
112
|
/** Msg defines the Msg service. */
|
|
74
113
|
export interface Msg {
|
|
75
114
|
Mint(request: MsgMint): Promise<MsgMintResponse>;
|
|
76
115
|
Init(request: MsgInit): Promise<MsgMintResponse>;
|
|
116
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
77
117
|
}
|
|
78
118
|
export declare class MsgClientImpl implements Msg {
|
|
79
119
|
private readonly rpc;
|
|
80
120
|
constructor(rpc: Rpc);
|
|
81
121
|
Mint(request: MsgMint): Promise<MsgMintResponse>;
|
|
82
122
|
Init(request: MsgInit): Promise<MsgMintResponse>;
|
|
123
|
+
UpdateParams(request: MsgUpdateParams): Promise<MsgUpdateParamsResponse>;
|
|
83
124
|
}
|
|
84
125
|
interface Rpc {
|
|
85
126
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
@@ -3,17 +3,17 @@ import { DeliverTxResponse } from "@cosmjs/stargate";
|
|
|
3
3
|
import { EncodeObject, GeneratedType, OfflineSigner, Registry } from "@cosmjs/proto-signing";
|
|
4
4
|
import { IgniteClient } from "../client";
|
|
5
5
|
import { Api } from "./rest";
|
|
6
|
-
import { MsgBurn } from "./types/iconlake/icon/tx";
|
|
7
6
|
import { MsgUpdateClass } from "./types/iconlake/icon/tx";
|
|
7
|
+
import { MsgBurn } from "./types/iconlake/icon/tx";
|
|
8
8
|
import { MsgMint } from "./types/iconlake/icon/tx";
|
|
9
|
-
export {
|
|
10
|
-
type
|
|
11
|
-
value:
|
|
9
|
+
export { MsgUpdateClass, MsgBurn, MsgMint };
|
|
10
|
+
type sendMsgUpdateClassParams = {
|
|
11
|
+
value: MsgUpdateClass;
|
|
12
12
|
fee?: StdFee;
|
|
13
13
|
memo?: string;
|
|
14
14
|
};
|
|
15
|
-
type
|
|
16
|
-
value:
|
|
15
|
+
type sendMsgBurnParams = {
|
|
16
|
+
value: MsgBurn;
|
|
17
17
|
fee?: StdFee;
|
|
18
18
|
memo?: string;
|
|
19
19
|
};
|
|
@@ -22,12 +22,12 @@ type sendMsgMintParams = {
|
|
|
22
22
|
fee?: StdFee;
|
|
23
23
|
memo?: string;
|
|
24
24
|
};
|
|
25
|
-
type msgBurnParams = {
|
|
26
|
-
value: MsgBurn;
|
|
27
|
-
};
|
|
28
25
|
type msgUpdateClassParams = {
|
|
29
26
|
value: MsgUpdateClass;
|
|
30
27
|
};
|
|
28
|
+
type msgBurnParams = {
|
|
29
|
+
value: MsgBurn;
|
|
30
|
+
};
|
|
31
31
|
type msgMintParams = {
|
|
32
32
|
value: MsgMint;
|
|
33
33
|
};
|
|
@@ -38,11 +38,11 @@ interface TxClientOptions {
|
|
|
38
38
|
signer?: OfflineSigner;
|
|
39
39
|
}
|
|
40
40
|
export declare const txClient: ({ signer, prefix, addr }?: TxClientOptions) => {
|
|
41
|
-
sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
|
|
42
41
|
sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
|
|
42
|
+
sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
|
|
43
43
|
sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
|
|
44
|
-
msgBurn({ value }: msgBurnParams): EncodeObject;
|
|
45
44
|
msgUpdateClass({ value }: msgUpdateClassParams): EncodeObject;
|
|
45
|
+
msgBurn({ value }: msgBurnParams): EncodeObject;
|
|
46
46
|
msgMint({ value }: msgMintParams): EncodeObject;
|
|
47
47
|
};
|
|
48
48
|
interface QueryClientOptions {
|