@iconlake/client 0.4.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.
@@ -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
- import { MsgCancelUnbondingDelegation } from "./types/cosmos/staking/v1beta1/tx";
12
- export { MsgCreateValidator, MsgBeginRedelegate, MsgDelegate, MsgEditValidator, MsgUndelegate, MsgCancelUnbondingDelegation };
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 sendMsgCancelUnbondingDelegationParams = {
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
- sendMsgCancelUnbondingDelegation({ value, fee, memo }: sendMsgCancelUnbondingDelegationParams): Promise<DeliverTxResponse>;
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
- export { MsgCancelUpgrade, MsgSoftwareUpgrade };
9
- type sendMsgCancelUpgradeParams = {
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 msgCancelUpgradeParams = {
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
- msgCancelUpgrade({ value }: msgCancelUpgradeParams): EncodeObject;
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
- export { MsgCreateVestingAccount, MsgCreatePermanentLockedAccount, MsgCreatePeriodicVestingAccount };
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 sendMsgCreatePermanentLockedAccountParams = {
16
- value: MsgCreatePermanentLockedAccount;
15
+ type sendMsgCreatePeriodicVestingAccountParams = {
16
+ value: MsgCreatePeriodicVestingAccount;
17
17
  fee?: StdFee;
18
18
  memo?: string;
19
19
  };
20
- type sendMsgCreatePeriodicVestingAccountParams = {
21
- value: MsgCreatePeriodicVestingAccount;
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;
@@ -3,12 +3,12 @@ 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
- import { MsgUpdateClass } from "./types/iconlake/icon/tx";
8
6
  import { MsgMint } from "./types/iconlake/icon/tx";
9
- export { MsgBurn, MsgUpdateClass, MsgMint };
10
- type sendMsgBurnParams = {
11
- value: MsgBurn;
7
+ import { MsgUpdateClass } from "./types/iconlake/icon/tx";
8
+ import { MsgBurn } from "./types/iconlake/icon/tx";
9
+ export { MsgMint, MsgUpdateClass, MsgBurn };
10
+ type sendMsgMintParams = {
11
+ value: MsgMint;
12
12
  fee?: StdFee;
13
13
  memo?: string;
14
14
  };
@@ -17,19 +17,19 @@ type sendMsgUpdateClassParams = {
17
17
  fee?: StdFee;
18
18
  memo?: string;
19
19
  };
20
- type sendMsgMintParams = {
21
- value: MsgMint;
20
+ type sendMsgBurnParams = {
21
+ value: MsgBurn;
22
22
  fee?: StdFee;
23
23
  memo?: string;
24
24
  };
25
- type msgBurnParams = {
26
- value: MsgBurn;
25
+ type msgMintParams = {
26
+ value: MsgMint;
27
27
  };
28
28
  type msgUpdateClassParams = {
29
29
  value: MsgUpdateClass;
30
30
  };
31
- type msgMintParams = {
32
- value: MsgMint;
31
+ type msgBurnParams = {
32
+ value: MsgBurn;
33
33
  };
34
34
  export declare const registry: Registry;
35
35
  interface TxClientOptions {
@@ -38,12 +38,12 @@ 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
- sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
43
41
  sendMsgMint({ value, fee, memo }: sendMsgMintParams): Promise<DeliverTxResponse>;
44
- msgBurn({ value }: msgBurnParams): EncodeObject;
45
- msgUpdateClass({ value }: msgUpdateClassParams): EncodeObject;
42
+ sendMsgUpdateClass({ value, fee, memo }: sendMsgUpdateClassParams): Promise<DeliverTxResponse>;
43
+ sendMsgBurn({ value, fee, memo }: sendMsgBurnParams): Promise<DeliverTxResponse>;
46
44
  msgMint({ value }: msgMintParams): EncodeObject;
45
+ msgUpdateClass({ value }: msgUpdateClassParams): EncodeObject;
46
+ msgBurn({ value }: msgBurnParams): EncodeObject;
47
47
  };
48
48
  interface QueryClientOptions {
49
49
  addr: string;