@iconlake/client 0.3.0 → 0.5.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 +2 -2
- package/dist/index.js +3 -3
- package/dist/index.mjs +2143 -2042
- package/dist/index.umd.js +2 -2
- package/package.json +9 -13
- package/types/cosmos.authz.v1beta1/module.d.ts +15 -15
- package/types/cosmos.distribution.v1beta1/module.d.ts +28 -28
- package/types/cosmos.feegrant.v1beta1/module.d.ts +10 -10
- package/types/cosmos.gov.v1/module.d.ts +25 -25
- package/types/cosmos.gov.v1beta1/module.d.ts +12 -12
- package/types/cosmos.group.v1/module.d.ts +84 -84
- package/types/cosmos.staking.v1beta1/module.d.ts +25 -25
- package/types/cosmos.upgrade.v1beta1/module.d.ts +10 -10
- package/types/cosmos.vesting.v1beta1/module.d.ts +10 -10
- package/types/iconlake.drop/module.d.ts +10 -10
- package/types/iconlake.drop/rest.d.ts +8 -1
- package/types/iconlake.drop/types/iconlake/drop/genesis.d.ts +14 -2
- package/types/iconlake.drop/types/iconlake/drop/params.d.ts +15 -4
- package/types/iconlake.drop/types/iconlake/drop/query.d.ts +14 -2
- package/types/iconlake.icon/module.d.ts +19 -8
- package/types/iconlake.icon/rest.d.ts +1 -0
- package/types/iconlake.icon/types/iconlake/icon/tx.d.ts +31 -0
- package/types/index.d.ts +158 -150
- package/types.d.ts +0 -0
|
@@ -23,6 +23,13 @@ export interface MsgUpdateClass {
|
|
|
23
23
|
}
|
|
24
24
|
export interface MsgUpdateClassResponse {
|
|
25
25
|
}
|
|
26
|
+
export interface MsgBurn {
|
|
27
|
+
creator: string;
|
|
28
|
+
classId: string;
|
|
29
|
+
id: string;
|
|
30
|
+
}
|
|
31
|
+
export interface MsgBurnResponse {
|
|
32
|
+
}
|
|
26
33
|
export declare const MsgMint: {
|
|
27
34
|
encode(message: MsgMint, writer?: _m0.Writer): _m0.Writer;
|
|
28
35
|
decode(input: _m0.Reader | Uint8Array, length?: number): MsgMint;
|
|
@@ -85,16 +92,40 @@ export declare const MsgUpdateClassResponse: {
|
|
|
85
92
|
toJSON(_: MsgUpdateClassResponse): unknown;
|
|
86
93
|
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgUpdateClassResponse;
|
|
87
94
|
};
|
|
95
|
+
export declare const MsgBurn: {
|
|
96
|
+
encode(message: MsgBurn, writer?: _m0.Writer): _m0.Writer;
|
|
97
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgBurn;
|
|
98
|
+
fromJSON(object: any): MsgBurn;
|
|
99
|
+
toJSON(message: MsgBurn): unknown;
|
|
100
|
+
fromPartial<I extends {
|
|
101
|
+
creator?: string;
|
|
102
|
+
classId?: string;
|
|
103
|
+
id?: string;
|
|
104
|
+
} & {
|
|
105
|
+
creator?: string;
|
|
106
|
+
classId?: string;
|
|
107
|
+
id?: string;
|
|
108
|
+
} & { [K in Exclude<keyof I, keyof MsgBurn>]: never; }>(object: I): MsgBurn;
|
|
109
|
+
};
|
|
110
|
+
export declare const MsgBurnResponse: {
|
|
111
|
+
encode(_: MsgBurnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
112
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): MsgBurnResponse;
|
|
113
|
+
fromJSON(_: any): MsgBurnResponse;
|
|
114
|
+
toJSON(_: MsgBurnResponse): unknown;
|
|
115
|
+
fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgBurnResponse;
|
|
116
|
+
};
|
|
88
117
|
/** Msg defines the Msg service. */
|
|
89
118
|
export interface Msg {
|
|
90
119
|
Mint(request: MsgMint): Promise<MsgMintResponse>;
|
|
91
120
|
UpdateClass(request: MsgUpdateClass): Promise<MsgUpdateClassResponse>;
|
|
121
|
+
Burn(request: MsgBurn): Promise<MsgBurnResponse>;
|
|
92
122
|
}
|
|
93
123
|
export declare class MsgClientImpl implements Msg {
|
|
94
124
|
private readonly rpc;
|
|
95
125
|
constructor(rpc: Rpc);
|
|
96
126
|
Mint(request: MsgMint): Promise<MsgMintResponse>;
|
|
97
127
|
UpdateClass(request: MsgUpdateClass): Promise<MsgUpdateClassResponse>;
|
|
128
|
+
Burn(request: MsgBurn): Promise<MsgBurnResponse>;
|
|
98
129
|
}
|
|
99
130
|
interface Rpc {
|
|
100
131
|
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|