injectivejs 1.6.3 → 1.6.5
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/README.md +230 -24
- package/binary.d.ts +1 -1
- package/binary.js +1 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/authz/v1beta1/tx.registry.js +67 -0
- package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/bank/v1beta1/tx.registry.js +85 -0
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +139 -0
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
- package/cosmos/gov/v1/tx.registry.d.ts +95 -0
- package/cosmos/gov/v1/tx.registry.js +139 -0
- package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/gov/v1beta1/tx.registry.js +85 -0
- package/cosmos/group/v1/tx.registry.d.ts +179 -0
- package/cosmos/group/v1/tx.registry.js +265 -0
- package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/staking/v1beta1/tx.registry.js +139 -0
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/vesting/v1beta1/tx.registry.js +67 -0
- package/cosmwasm/wasm/v1/tx.registry.d.ts +215 -0
- package/cosmwasm/wasm/v1/tx.registry.js +319 -0
- package/esm/binary.js +1 -1
- package/esm/cosmos/authz/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +82 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +136 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +64 -0
- package/esm/cosmos/gov/v1/tx.registry.js +136 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +82 -0
- package/esm/cosmos/group/v1/tx.registry.js +262 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +136 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +64 -0
- package/esm/cosmwasm/wasm/v1/tx.registry.js +316 -0
- package/esm/extern.js +1 -1
- package/esm/helper-func-types.js +1 -1
- package/esm/helpers.js +1 -1
- package/esm/ibc/applications/transfer/v1/tx.registry.js +46 -0
- package/esm/ibc/core/channel/v1/tx.registry.js +352 -0
- package/esm/ibc/core/client/v1/tx.registry.js +136 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +100 -0
- package/esm/injective/auction/v1beta1/tx.registry.js +46 -0
- package/esm/injective/exchange/v1beta1/tx.registry.js +640 -0
- package/esm/injective/insurance/v1beta1/tx.registry.js +82 -0
- package/esm/injective/ocr/v1beta1/tx.registry.js +172 -0
- package/esm/injective/oracle/v1beta1/tx.registry.js +154 -0
- package/esm/injective/peggy/v1/msgs.registry.js +262 -0
- package/esm/injective/permissions/v1beta1/tx.registry.js +136 -0
- package/esm/injective/tokenfactory/v1beta1/tx.registry.js +118 -0
- package/esm/injective/wasmx/v1/tx.registry.js +118 -0
- package/esm/registry.js +1 -1
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/helper-func-types.d.ts +1 -1
- package/helper-func-types.js +1 -1
- package/helpers.d.ts +1 -1
- package/helpers.js +1 -1
- package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/transfer/v1/tx.registry.js +49 -0
- package/ibc/core/channel/v1/tx.registry.d.ts +239 -0
- package/ibc/core/channel/v1/tx.registry.js +355 -0
- package/ibc/core/client/v1/tx.registry.d.ts +95 -0
- package/ibc/core/client/v1/tx.registry.js +139 -0
- package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
- package/ibc/core/connection/v1/tx.registry.js +103 -0
- package/injective/auction/v1beta1/tx.registry.d.ts +35 -0
- package/injective/auction/v1beta1/tx.registry.js +49 -0
- package/injective/exchange/v1beta1/tx.registry.d.ts +431 -0
- package/injective/exchange/v1beta1/tx.registry.js +643 -0
- package/injective/insurance/v1beta1/tx.registry.d.ts +59 -0
- package/injective/insurance/v1beta1/tx.registry.js +85 -0
- package/injective/ocr/v1beta1/tx.registry.d.ts +119 -0
- package/injective/ocr/v1beta1/tx.registry.js +175 -0
- package/injective/oracle/v1beta1/tx.registry.d.ts +107 -0
- package/injective/oracle/v1beta1/tx.registry.js +157 -0
- package/injective/peggy/v1/msgs.registry.d.ts +179 -0
- package/injective/peggy/v1/msgs.registry.js +265 -0
- package/injective/permissions/v1beta1/tx.registry.d.ts +95 -0
- package/injective/permissions/v1beta1/tx.registry.js +139 -0
- package/injective/tokenfactory/v1beta1/tx.registry.d.ts +83 -0
- package/injective/tokenfactory/v1beta1/tx.registry.js +121 -0
- package/injective/wasmx/v1/tx.registry.d.ts +83 -0
- package/injective/wasmx/v1/tx.registry.js +121 -0
- package/package.json +2 -2
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +1 -1
- package/varint.d.ts +1 -1
- package/varint.js +1 -1
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
3
|
+
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
4
|
+
export declare const MessageComposer: {
|
|
5
|
+
encoded: {
|
|
6
|
+
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
7
|
+
typeUrl: string;
|
|
8
|
+
value: Uint8Array;
|
|
9
|
+
};
|
|
10
|
+
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
11
|
+
typeUrl: string;
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
};
|
|
14
|
+
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: Uint8Array;
|
|
17
|
+
};
|
|
18
|
+
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
19
|
+
typeUrl: string;
|
|
20
|
+
value: Uint8Array;
|
|
21
|
+
};
|
|
22
|
+
updateParams(value: MsgUpdateParams): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: Uint8Array;
|
|
25
|
+
};
|
|
26
|
+
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: Uint8Array;
|
|
29
|
+
};
|
|
30
|
+
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: Uint8Array;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
withTypeUrl: {
|
|
36
|
+
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: MsgSetWithdrawAddress;
|
|
39
|
+
};
|
|
40
|
+
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: MsgWithdrawDelegatorReward;
|
|
43
|
+
};
|
|
44
|
+
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgWithdrawValidatorCommission;
|
|
47
|
+
};
|
|
48
|
+
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
49
|
+
typeUrl: string;
|
|
50
|
+
value: MsgFundCommunityPool;
|
|
51
|
+
};
|
|
52
|
+
updateParams(value: MsgUpdateParams): {
|
|
53
|
+
typeUrl: string;
|
|
54
|
+
value: MsgUpdateParams;
|
|
55
|
+
};
|
|
56
|
+
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
57
|
+
typeUrl: string;
|
|
58
|
+
value: MsgCommunityPoolSpend;
|
|
59
|
+
};
|
|
60
|
+
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
61
|
+
typeUrl: string;
|
|
62
|
+
value: MsgDepositValidatorRewardsPool;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
fromPartial: {
|
|
66
|
+
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
value: MsgSetWithdrawAddress;
|
|
69
|
+
};
|
|
70
|
+
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
71
|
+
typeUrl: string;
|
|
72
|
+
value: MsgWithdrawDelegatorReward;
|
|
73
|
+
};
|
|
74
|
+
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
75
|
+
typeUrl: string;
|
|
76
|
+
value: MsgWithdrawValidatorCommission;
|
|
77
|
+
};
|
|
78
|
+
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
79
|
+
typeUrl: string;
|
|
80
|
+
value: MsgFundCommunityPool;
|
|
81
|
+
};
|
|
82
|
+
updateParams(value: MsgUpdateParams): {
|
|
83
|
+
typeUrl: string;
|
|
84
|
+
value: MsgUpdateParams;
|
|
85
|
+
};
|
|
86
|
+
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
87
|
+
typeUrl: string;
|
|
88
|
+
value: MsgCommunityPoolSpend;
|
|
89
|
+
};
|
|
90
|
+
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
91
|
+
typeUrl: string;
|
|
92
|
+
value: MsgDepositValidatorRewardsPool;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.registry = void 0;
|
|
4
|
+
const tx_1 = require("./tx");
|
|
5
|
+
exports.registry = [["/cosmos.distribution.v1beta1.MsgSetWithdrawAddress", tx_1.MsgSetWithdrawAddress], ["/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward", tx_1.MsgWithdrawDelegatorReward], ["/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission", tx_1.MsgWithdrawValidatorCommission], ["/cosmos.distribution.v1beta1.MsgFundCommunityPool", tx_1.MsgFundCommunityPool], ["/cosmos.distribution.v1beta1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/cosmos.distribution.v1beta1.MsgCommunityPoolSpend", tx_1.MsgCommunityPoolSpend], ["/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool", tx_1.MsgDepositValidatorRewardsPool]];
|
|
6
|
+
exports.MessageComposer = {
|
|
7
|
+
encoded: {
|
|
8
|
+
setWithdrawAddress(value) {
|
|
9
|
+
return {
|
|
10
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
11
|
+
value: tx_1.MsgSetWithdrawAddress.encode(value).finish()
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
withdrawDelegatorReward(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
17
|
+
value: tx_1.MsgWithdrawDelegatorReward.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
withdrawValidatorCommission(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
23
|
+
value: tx_1.MsgWithdrawValidatorCommission.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
fundCommunityPool(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
29
|
+
value: tx_1.MsgFundCommunityPool.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
updateParams(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
35
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
communityPoolSpend(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
41
|
+
value: tx_1.MsgCommunityPoolSpend.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
depositValidatorRewardsPool(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
47
|
+
value: tx_1.MsgDepositValidatorRewardsPool.encode(value).finish()
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
withTypeUrl: {
|
|
52
|
+
setWithdrawAddress(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
55
|
+
value
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
withdrawDelegatorReward(value) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
61
|
+
value
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
withdrawValidatorCommission(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
67
|
+
value
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
fundCommunityPool(value) {
|
|
71
|
+
return {
|
|
72
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
73
|
+
value
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
updateParams(value) {
|
|
77
|
+
return {
|
|
78
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
79
|
+
value
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
communityPoolSpend(value) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
85
|
+
value
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
depositValidatorRewardsPool(value) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
91
|
+
value
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
fromPartial: {
|
|
96
|
+
setWithdrawAddress(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
99
|
+
value: tx_1.MsgSetWithdrawAddress.fromPartial(value)
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
withdrawDelegatorReward(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
105
|
+
value: tx_1.MsgWithdrawDelegatorReward.fromPartial(value)
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
withdrawValidatorCommission(value) {
|
|
109
|
+
return {
|
|
110
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
111
|
+
value: tx_1.MsgWithdrawValidatorCommission.fromPartial(value)
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
fundCommunityPool(value) {
|
|
115
|
+
return {
|
|
116
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
117
|
+
value: tx_1.MsgFundCommunityPool.fromPartial(value)
|
|
118
|
+
};
|
|
119
|
+
},
|
|
120
|
+
updateParams(value) {
|
|
121
|
+
return {
|
|
122
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
123
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
communityPoolSpend(value) {
|
|
127
|
+
return {
|
|
128
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
129
|
+
value: tx_1.MsgCommunityPoolSpend.fromPartial(value)
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
depositValidatorRewardsPool(value) {
|
|
133
|
+
return {
|
|
134
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
135
|
+
value: tx_1.MsgDepositValidatorRewardsPool.fromPartial(value)
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
3
|
+
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
4
|
+
export declare const MessageComposer: {
|
|
5
|
+
encoded: {
|
|
6
|
+
grantAllowance(value: MsgGrantAllowance): {
|
|
7
|
+
typeUrl: string;
|
|
8
|
+
value: Uint8Array;
|
|
9
|
+
};
|
|
10
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
|
11
|
+
typeUrl: string;
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
};
|
|
14
|
+
pruneAllowances(value: MsgPruneAllowances): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: Uint8Array;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
withTypeUrl: {
|
|
20
|
+
grantAllowance(value: MsgGrantAllowance): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: MsgGrantAllowance;
|
|
23
|
+
};
|
|
24
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
|
25
|
+
typeUrl: string;
|
|
26
|
+
value: MsgRevokeAllowance;
|
|
27
|
+
};
|
|
28
|
+
pruneAllowances(value: MsgPruneAllowances): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: MsgPruneAllowances;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
fromPartial: {
|
|
34
|
+
grantAllowance(value: MsgGrantAllowance): {
|
|
35
|
+
typeUrl: string;
|
|
36
|
+
value: MsgGrantAllowance;
|
|
37
|
+
};
|
|
38
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: MsgRevokeAllowance;
|
|
41
|
+
};
|
|
42
|
+
pruneAllowances(value: MsgPruneAllowances): {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
value: MsgPruneAllowances;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.registry = void 0;
|
|
4
|
+
const tx_1 = require("./tx");
|
|
5
|
+
exports.registry = [["/cosmos.feegrant.v1beta1.MsgGrantAllowance", tx_1.MsgGrantAllowance], ["/cosmos.feegrant.v1beta1.MsgRevokeAllowance", tx_1.MsgRevokeAllowance], ["/cosmos.feegrant.v1beta1.MsgPruneAllowances", tx_1.MsgPruneAllowances]];
|
|
6
|
+
exports.MessageComposer = {
|
|
7
|
+
encoded: {
|
|
8
|
+
grantAllowance(value) {
|
|
9
|
+
return {
|
|
10
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
11
|
+
value: tx_1.MsgGrantAllowance.encode(value).finish()
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
revokeAllowance(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
17
|
+
value: tx_1.MsgRevokeAllowance.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
pruneAllowances(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
23
|
+
value: tx_1.MsgPruneAllowances.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
withTypeUrl: {
|
|
28
|
+
grantAllowance(value) {
|
|
29
|
+
return {
|
|
30
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
31
|
+
value
|
|
32
|
+
};
|
|
33
|
+
},
|
|
34
|
+
revokeAllowance(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
pruneAllowances(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
43
|
+
value
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
fromPartial: {
|
|
48
|
+
grantAllowance(value) {
|
|
49
|
+
return {
|
|
50
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
51
|
+
value: tx_1.MsgGrantAllowance.fromPartial(value)
|
|
52
|
+
};
|
|
53
|
+
},
|
|
54
|
+
revokeAllowance(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
57
|
+
value: tx_1.MsgRevokeAllowance.fromPartial(value)
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
pruneAllowances(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
63
|
+
value: tx_1.MsgPruneAllowances.fromPartial(value)
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { MsgSubmitProposal, MsgExecLegacyContent, MsgVote, MsgVoteWeighted, MsgDeposit, MsgUpdateParams, MsgCancelProposal } from "./tx";
|
|
3
|
+
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
4
|
+
export declare const MessageComposer: {
|
|
5
|
+
encoded: {
|
|
6
|
+
submitProposal(value: MsgSubmitProposal): {
|
|
7
|
+
typeUrl: string;
|
|
8
|
+
value: Uint8Array;
|
|
9
|
+
};
|
|
10
|
+
execLegacyContent(value: MsgExecLegacyContent): {
|
|
11
|
+
typeUrl: string;
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
};
|
|
14
|
+
vote(value: MsgVote): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: Uint8Array;
|
|
17
|
+
};
|
|
18
|
+
voteWeighted(value: MsgVoteWeighted): {
|
|
19
|
+
typeUrl: string;
|
|
20
|
+
value: Uint8Array;
|
|
21
|
+
};
|
|
22
|
+
deposit(value: MsgDeposit): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: Uint8Array;
|
|
25
|
+
};
|
|
26
|
+
updateParams(value: MsgUpdateParams): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: Uint8Array;
|
|
29
|
+
};
|
|
30
|
+
cancelProposal(value: MsgCancelProposal): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: Uint8Array;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
withTypeUrl: {
|
|
36
|
+
submitProposal(value: MsgSubmitProposal): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: MsgSubmitProposal;
|
|
39
|
+
};
|
|
40
|
+
execLegacyContent(value: MsgExecLegacyContent): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: MsgExecLegacyContent;
|
|
43
|
+
};
|
|
44
|
+
vote(value: MsgVote): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgVote;
|
|
47
|
+
};
|
|
48
|
+
voteWeighted(value: MsgVoteWeighted): {
|
|
49
|
+
typeUrl: string;
|
|
50
|
+
value: MsgVoteWeighted;
|
|
51
|
+
};
|
|
52
|
+
deposit(value: MsgDeposit): {
|
|
53
|
+
typeUrl: string;
|
|
54
|
+
value: MsgDeposit;
|
|
55
|
+
};
|
|
56
|
+
updateParams(value: MsgUpdateParams): {
|
|
57
|
+
typeUrl: string;
|
|
58
|
+
value: MsgUpdateParams;
|
|
59
|
+
};
|
|
60
|
+
cancelProposal(value: MsgCancelProposal): {
|
|
61
|
+
typeUrl: string;
|
|
62
|
+
value: MsgCancelProposal;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
fromPartial: {
|
|
66
|
+
submitProposal(value: MsgSubmitProposal): {
|
|
67
|
+
typeUrl: string;
|
|
68
|
+
value: MsgSubmitProposal;
|
|
69
|
+
};
|
|
70
|
+
execLegacyContent(value: MsgExecLegacyContent): {
|
|
71
|
+
typeUrl: string;
|
|
72
|
+
value: MsgExecLegacyContent;
|
|
73
|
+
};
|
|
74
|
+
vote(value: MsgVote): {
|
|
75
|
+
typeUrl: string;
|
|
76
|
+
value: MsgVote;
|
|
77
|
+
};
|
|
78
|
+
voteWeighted(value: MsgVoteWeighted): {
|
|
79
|
+
typeUrl: string;
|
|
80
|
+
value: MsgVoteWeighted;
|
|
81
|
+
};
|
|
82
|
+
deposit(value: MsgDeposit): {
|
|
83
|
+
typeUrl: string;
|
|
84
|
+
value: MsgDeposit;
|
|
85
|
+
};
|
|
86
|
+
updateParams(value: MsgUpdateParams): {
|
|
87
|
+
typeUrl: string;
|
|
88
|
+
value: MsgUpdateParams;
|
|
89
|
+
};
|
|
90
|
+
cancelProposal(value: MsgCancelProposal): {
|
|
91
|
+
typeUrl: string;
|
|
92
|
+
value: MsgCancelProposal;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
};
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MessageComposer = exports.registry = void 0;
|
|
4
|
+
const tx_1 = require("./tx");
|
|
5
|
+
exports.registry = [["/cosmos.gov.v1.MsgSubmitProposal", tx_1.MsgSubmitProposal], ["/cosmos.gov.v1.MsgExecLegacyContent", tx_1.MsgExecLegacyContent], ["/cosmos.gov.v1.MsgVote", tx_1.MsgVote], ["/cosmos.gov.v1.MsgVoteWeighted", tx_1.MsgVoteWeighted], ["/cosmos.gov.v1.MsgDeposit", tx_1.MsgDeposit], ["/cosmos.gov.v1.MsgUpdateParams", tx_1.MsgUpdateParams], ["/cosmos.gov.v1.MsgCancelProposal", tx_1.MsgCancelProposal]];
|
|
6
|
+
exports.MessageComposer = {
|
|
7
|
+
encoded: {
|
|
8
|
+
submitProposal(value) {
|
|
9
|
+
return {
|
|
10
|
+
typeUrl: "/cosmos.gov.v1.MsgSubmitProposal",
|
|
11
|
+
value: tx_1.MsgSubmitProposal.encode(value).finish()
|
|
12
|
+
};
|
|
13
|
+
},
|
|
14
|
+
execLegacyContent(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent",
|
|
17
|
+
value: tx_1.MsgExecLegacyContent.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
vote(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.gov.v1.MsgVote",
|
|
23
|
+
value: tx_1.MsgVote.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
voteWeighted(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/cosmos.gov.v1.MsgVoteWeighted",
|
|
29
|
+
value: tx_1.MsgVoteWeighted.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
deposit(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/cosmos.gov.v1.MsgDeposit",
|
|
35
|
+
value: tx_1.MsgDeposit.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
updateParams(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/cosmos.gov.v1.MsgUpdateParams",
|
|
41
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
cancelProposal(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/cosmos.gov.v1.MsgCancelProposal",
|
|
47
|
+
value: tx_1.MsgCancelProposal.encode(value).finish()
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
withTypeUrl: {
|
|
52
|
+
submitProposal(value) {
|
|
53
|
+
return {
|
|
54
|
+
typeUrl: "/cosmos.gov.v1.MsgSubmitProposal",
|
|
55
|
+
value
|
|
56
|
+
};
|
|
57
|
+
},
|
|
58
|
+
execLegacyContent(value) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent",
|
|
61
|
+
value
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
vote(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/cosmos.gov.v1.MsgVote",
|
|
67
|
+
value
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
voteWeighted(value) {
|
|
71
|
+
return {
|
|
72
|
+
typeUrl: "/cosmos.gov.v1.MsgVoteWeighted",
|
|
73
|
+
value
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
deposit(value) {
|
|
77
|
+
return {
|
|
78
|
+
typeUrl: "/cosmos.gov.v1.MsgDeposit",
|
|
79
|
+
value
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
updateParams(value) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/cosmos.gov.v1.MsgUpdateParams",
|
|
85
|
+
value
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
cancelProposal(value) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/cosmos.gov.v1.MsgCancelProposal",
|
|
91
|
+
value
|
|
92
|
+
};
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
fromPartial: {
|
|
96
|
+
submitProposal(value) {
|
|
97
|
+
return {
|
|
98
|
+
typeUrl: "/cosmos.gov.v1.MsgSubmitProposal",
|
|
99
|
+
value: tx_1.MsgSubmitProposal.fromPartial(value)
|
|
100
|
+
};
|
|
101
|
+
},
|
|
102
|
+
execLegacyContent(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/cosmos.gov.v1.MsgExecLegacyContent",
|
|
105
|
+
value: tx_1.MsgExecLegacyContent.fromPartial(value)
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
vote(value) {
|
|
109
|
+
return {
|
|
110
|
+
typeUrl: "/cosmos.gov.v1.MsgVote",
|
|
111
|
+
value: tx_1.MsgVote.fromPartial(value)
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
voteWeighted(value) {
|
|
115
|
+
return {
|
|
116
|
+
typeUrl: "/cosmos.gov.v1.MsgVoteWeighted",
|
|
117
|
+
value: tx_1.MsgVoteWeighted.fromPartial(value)
|
|
118
|
+
};
|
|
119
|
+
},
|
|
120
|
+
deposit(value) {
|
|
121
|
+
return {
|
|
122
|
+
typeUrl: "/cosmos.gov.v1.MsgDeposit",
|
|
123
|
+
value: tx_1.MsgDeposit.fromPartial(value)
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
updateParams(value) {
|
|
127
|
+
return {
|
|
128
|
+
typeUrl: "/cosmos.gov.v1.MsgUpdateParams",
|
|
129
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
cancelProposal(value) {
|
|
133
|
+
return {
|
|
134
|
+
typeUrl: "/cosmos.gov.v1.MsgCancelProposal",
|
|
135
|
+
value: tx_1.MsgCancelProposal.fromPartial(value)
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { MsgSubmitProposal, MsgVote, MsgVoteWeighted, MsgDeposit } from "./tx";
|
|
3
|
+
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
4
|
+
export declare const MessageComposer: {
|
|
5
|
+
encoded: {
|
|
6
|
+
submitProposal(value: MsgSubmitProposal): {
|
|
7
|
+
typeUrl: string;
|
|
8
|
+
value: Uint8Array;
|
|
9
|
+
};
|
|
10
|
+
vote(value: MsgVote): {
|
|
11
|
+
typeUrl: string;
|
|
12
|
+
value: Uint8Array;
|
|
13
|
+
};
|
|
14
|
+
voteWeighted(value: MsgVoteWeighted): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: Uint8Array;
|
|
17
|
+
};
|
|
18
|
+
deposit(value: MsgDeposit): {
|
|
19
|
+
typeUrl: string;
|
|
20
|
+
value: Uint8Array;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
withTypeUrl: {
|
|
24
|
+
submitProposal(value: MsgSubmitProposal): {
|
|
25
|
+
typeUrl: string;
|
|
26
|
+
value: MsgSubmitProposal;
|
|
27
|
+
};
|
|
28
|
+
vote(value: MsgVote): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: MsgVote;
|
|
31
|
+
};
|
|
32
|
+
voteWeighted(value: MsgVoteWeighted): {
|
|
33
|
+
typeUrl: string;
|
|
34
|
+
value: MsgVoteWeighted;
|
|
35
|
+
};
|
|
36
|
+
deposit(value: MsgDeposit): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: MsgDeposit;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
fromPartial: {
|
|
42
|
+
submitProposal(value: MsgSubmitProposal): {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
value: MsgSubmitProposal;
|
|
45
|
+
};
|
|
46
|
+
vote(value: MsgVote): {
|
|
47
|
+
typeUrl: string;
|
|
48
|
+
value: MsgVote;
|
|
49
|
+
};
|
|
50
|
+
voteWeighted(value: MsgVoteWeighted): {
|
|
51
|
+
typeUrl: string;
|
|
52
|
+
value: MsgVoteWeighted;
|
|
53
|
+
};
|
|
54
|
+
deposit(value: MsgDeposit): {
|
|
55
|
+
typeUrl: string;
|
|
56
|
+
value: MsgDeposit;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|