@sparkdreamnft/sparkdreamjs 0.0.4 → 0.0.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/cosmos/auth/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/auth/v1beta1/tx.registry.js +33 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/authz/v1beta1/tx.registry.js +69 -1
- package/cosmos/bank/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/bank/v1beta1/tx.registry.js +87 -1
- package/cosmos/benchmark/v1/tx.registry.d.ts +23 -0
- package/cosmos/benchmark/v1/tx.registry.js +33 -1
- package/cosmos/bundle.d.ts +957 -0
- package/cosmos/circuit/v1/tx.registry.d.ts +47 -0
- package/cosmos/circuit/v1/tx.registry.js +69 -1
- package/cosmos/consensus/v1/tx.registry.d.ts +23 -0
- package/cosmos/consensus/v1/tx.registry.js +33 -1
- package/cosmos/counter/v1/tx.registry.d.ts +23 -0
- package/cosmos/counter/v1/tx.registry.js +33 -1
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/distribution/v1beta1/tx.registry.js +141 -1
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/feegrant/v1beta1/tx.registry.js +69 -1
- package/cosmos/gov/v1/tx.registry.d.ts +95 -0
- package/cosmos/gov/v1/tx.registry.js +141 -1
- package/cosmos/gov/v1beta1/tx.registry.d.ts +59 -0
- package/cosmos/gov/v1beta1/tx.registry.js +87 -1
- package/cosmos/group/v1/tx.registry.d.ts +179 -0
- package/cosmos/group/v1/tx.registry.js +267 -1
- package/cosmos/mint/v1beta1/tx.registry.d.ts +23 -0
- package/cosmos/mint/v1beta1/tx.registry.js +33 -1
- package/cosmos/protocolpool/v1/tx.registry.d.ts +71 -0
- package/cosmos/protocolpool/v1/tx.registry.js +105 -1
- package/cosmos/staking/v1beta1/tx.registry.d.ts +95 -0
- package/cosmos/staking/v1beta1/tx.registry.js +141 -1
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +35 -0
- package/cosmos/upgrade/v1beta1/tx.registry.js +51 -1
- package/cosmos/vesting/v1beta1/tx.registry.d.ts +47 -0
- package/cosmos/vesting/v1beta1/tx.registry.js +69 -1
- package/esm/cosmos/auth/v1beta1/tx.registry.js +31 -0
- package/esm/cosmos/authz/v1beta1/tx.registry.js +67 -0
- package/esm/cosmos/bank/v1beta1/tx.registry.js +85 -0
- package/esm/cosmos/benchmark/v1/tx.registry.js +31 -0
- package/esm/cosmos/circuit/v1/tx.registry.js +67 -0
- package/esm/cosmos/consensus/v1/tx.registry.js +31 -0
- package/esm/cosmos/counter/v1/tx.registry.js +31 -0
- package/esm/cosmos/distribution/v1beta1/tx.registry.js +139 -0
- package/esm/cosmos/feegrant/v1beta1/tx.registry.js +67 -0
- package/esm/cosmos/gov/v1/tx.registry.js +139 -0
- package/esm/cosmos/gov/v1beta1/tx.registry.js +85 -0
- package/esm/cosmos/group/v1/tx.registry.js +265 -0
- package/esm/cosmos/mint/v1beta1/tx.registry.js +31 -0
- package/esm/cosmos/protocolpool/v1/tx.registry.js +103 -0
- package/esm/cosmos/staking/v1beta1/tx.registry.js +139 -0
- package/esm/cosmos/upgrade/v1beta1/tx.registry.js +49 -0
- package/esm/cosmos/vesting/v1beta1/tx.registry.js +67 -0
- package/esm/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +67 -0
- package/esm/ibc/applications/interchain_accounts/host/v1/tx.registry.js +49 -0
- package/esm/ibc/applications/transfer/v1/tx.registry.js +49 -0
- package/esm/ibc/core/channel/v1/tx.registry.js +193 -0
- package/esm/ibc/core/channel/v2/tx.registry.js +85 -0
- package/esm/ibc/core/client/v1/tx.registry.js +157 -0
- package/esm/ibc/core/client/v2/tx.registry.js +49 -0
- package/esm/ibc/core/connection/v1/tx.registry.js +103 -0
- package/esm/ibc/lightclients/wasm/v1/tx.registry.js +67 -0
- package/esm/sparkdream/blog/tx.registry.js +85 -0
- package/esm/sparkdream/sparkdream/tx.registry.js +31 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +47 -0
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.js +69 -1
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.js +51 -1
- package/ibc/applications/transfer/v1/tx.registry.d.ts +35 -0
- package/ibc/applications/transfer/v1/tx.registry.js +51 -1
- package/ibc/bundle.d.ts +549 -0
- package/ibc/core/channel/v1/tx.registry.d.ts +131 -0
- package/ibc/core/channel/v1/tx.registry.js +195 -1
- package/ibc/core/channel/v2/tx.registry.d.ts +59 -0
- package/ibc/core/channel/v2/tx.registry.js +87 -1
- package/ibc/core/client/v1/tx.registry.d.ts +107 -0
- package/ibc/core/client/v1/tx.registry.js +159 -1
- package/ibc/core/client/v2/tx.registry.d.ts +35 -0
- package/ibc/core/client/v2/tx.registry.js +51 -1
- package/ibc/core/connection/v1/tx.registry.d.ts +71 -0
- package/ibc/core/connection/v1/tx.registry.js +105 -1
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +47 -0
- package/ibc/lightclients/wasm/v1/tx.registry.js +69 -1
- package/package.json +1 -1
- package/sparkdream/blog/tx.registry.d.ts +59 -0
- package/sparkdream/blog/tx.registry.js +87 -1
- package/sparkdream/bundle.d.ts +78 -0
- package/sparkdream/sparkdream/tx.registry.d.ts +23 -0
- package/sparkdream/sparkdream/tx.registry.js +33 -1
|
@@ -1,2 +1,49 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgAuthorizeCircuitBreaker, MsgTripCircuitBreaker, MsgResetCircuitBreaker } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
authorizeCircuitBreaker(value: MsgAuthorizeCircuitBreaker): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
tripCircuitBreaker(value: MsgTripCircuitBreaker): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
resetCircuitBreaker(value: MsgResetCircuitBreaker): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
authorizeCircuitBreaker(value: MsgAuthorizeCircuitBreaker): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: MsgAuthorizeCircuitBreaker;
|
|
25
|
+
};
|
|
26
|
+
tripCircuitBreaker(value: MsgTripCircuitBreaker): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: MsgTripCircuitBreaker;
|
|
29
|
+
};
|
|
30
|
+
resetCircuitBreaker(value: MsgResetCircuitBreaker): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgResetCircuitBreaker;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
fromPartial: {
|
|
36
|
+
authorizeCircuitBreaker(value: MsgAuthorizeCircuitBreaker): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: MsgAuthorizeCircuitBreaker;
|
|
39
|
+
};
|
|
40
|
+
tripCircuitBreaker(value: MsgTripCircuitBreaker): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: MsgTripCircuitBreaker;
|
|
43
|
+
};
|
|
44
|
+
resetCircuitBreaker(value: MsgResetCircuitBreaker): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgResetCircuitBreaker;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,5 +1,73 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registry = void 0;
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
5
|
exports.registry = [["/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker", tx_1.MsgAuthorizeCircuitBreaker], ["/cosmos.circuit.v1.MsgTripCircuitBreaker", tx_1.MsgTripCircuitBreaker], ["/cosmos.circuit.v1.MsgResetCircuitBreaker", tx_1.MsgResetCircuitBreaker]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
authorizeCircuitBreaker(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker",
|
|
17
|
+
value: tx_1.MsgAuthorizeCircuitBreaker.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
tripCircuitBreaker(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreaker",
|
|
23
|
+
value: tx_1.MsgTripCircuitBreaker.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
resetCircuitBreaker(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreaker",
|
|
29
|
+
value: tx_1.MsgResetCircuitBreaker.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
withTypeUrl: {
|
|
34
|
+
authorizeCircuitBreaker(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
tripCircuitBreaker(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreaker",
|
|
43
|
+
value
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
resetCircuitBreaker(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreaker",
|
|
49
|
+
value
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
fromPartial: {
|
|
54
|
+
authorizeCircuitBreaker(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/cosmos.circuit.v1.MsgAuthorizeCircuitBreaker",
|
|
57
|
+
value: tx_1.MsgAuthorizeCircuitBreaker.fromPartial(value)
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
tripCircuitBreaker(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/cosmos.circuit.v1.MsgTripCircuitBreaker",
|
|
63
|
+
value: tx_1.MsgTripCircuitBreaker.fromPartial(value)
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
resetCircuitBreaker(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/cosmos.circuit.v1.MsgResetCircuitBreaker",
|
|
69
|
+
value: tx_1.MsgResetCircuitBreaker.fromPartial(value)
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgUpdateParams } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
updateParams(value: MsgUpdateParams): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
withTypeUrl: {
|
|
14
|
+
updateParams(value: MsgUpdateParams): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: MsgUpdateParams;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
fromPartial: {
|
|
20
|
+
updateParams(value: MsgUpdateParams): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: MsgUpdateParams;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registry = void 0;
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
5
|
exports.registry = [["/cosmos.consensus.v1.MsgUpdateParams", tx_1.MsgUpdateParams]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
updateParams(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
|
|
17
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
updateParams(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
|
|
25
|
+
value
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
fromPartial: {
|
|
30
|
+
updateParams(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/cosmos.consensus.v1.MsgUpdateParams",
|
|
33
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -1,2 +1,25 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgIncreaseCounter } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
increaseCount(value: MsgIncreaseCounter): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
withTypeUrl: {
|
|
14
|
+
increaseCount(value: MsgIncreaseCounter): {
|
|
15
|
+
typeUrl: string;
|
|
16
|
+
value: MsgIncreaseCounter;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
fromPartial: {
|
|
20
|
+
increaseCount(value: MsgIncreaseCounter): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: MsgIncreaseCounter;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registry = void 0;
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
5
|
exports.registry = [["/cosmos.counter.v1.MsgIncreaseCounter", tx_1.MsgIncreaseCounter]];
|
|
6
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
increaseCount(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.counter.v1.MsgIncreaseCounter",
|
|
17
|
+
value: tx_1.MsgIncreaseCounter.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
increaseCount(value) {
|
|
23
|
+
return {
|
|
24
|
+
typeUrl: "/cosmos.counter.v1.MsgIncreaseCounter",
|
|
25
|
+
value
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
fromPartial: {
|
|
30
|
+
increaseCount(value) {
|
|
31
|
+
return {
|
|
32
|
+
typeUrl: "/cosmos.counter.v1.MsgIncreaseCounter",
|
|
33
|
+
value: tx_1.MsgIncreaseCounter.fromPartial(value)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -1,2 +1,97 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgSetWithdrawAddress, MsgWithdrawDelegatorReward, MsgWithdrawValidatorCommission, MsgFundCommunityPool, MsgUpdateParams, MsgCommunityPoolSpend, MsgDepositValidatorRewardsPool } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
21
|
+
typeUrl: string;
|
|
22
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
23
|
+
};
|
|
24
|
+
updateParams(value: MsgUpdateParams): {
|
|
25
|
+
typeUrl: string;
|
|
26
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
27
|
+
};
|
|
28
|
+
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
29
|
+
typeUrl: string;
|
|
30
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
31
|
+
};
|
|
32
|
+
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
33
|
+
typeUrl: string;
|
|
34
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
withTypeUrl: {
|
|
38
|
+
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
39
|
+
typeUrl: string;
|
|
40
|
+
value: MsgSetWithdrawAddress;
|
|
41
|
+
};
|
|
42
|
+
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
43
|
+
typeUrl: string;
|
|
44
|
+
value: MsgWithdrawDelegatorReward;
|
|
45
|
+
};
|
|
46
|
+
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
47
|
+
typeUrl: string;
|
|
48
|
+
value: MsgWithdrawValidatorCommission;
|
|
49
|
+
};
|
|
50
|
+
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
51
|
+
typeUrl: string;
|
|
52
|
+
value: MsgFundCommunityPool;
|
|
53
|
+
};
|
|
54
|
+
updateParams(value: MsgUpdateParams): {
|
|
55
|
+
typeUrl: string;
|
|
56
|
+
value: MsgUpdateParams;
|
|
57
|
+
};
|
|
58
|
+
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
59
|
+
typeUrl: string;
|
|
60
|
+
value: MsgCommunityPoolSpend;
|
|
61
|
+
};
|
|
62
|
+
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
63
|
+
typeUrl: string;
|
|
64
|
+
value: MsgDepositValidatorRewardsPool;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
fromPartial: {
|
|
68
|
+
setWithdrawAddress(value: MsgSetWithdrawAddress): {
|
|
69
|
+
typeUrl: string;
|
|
70
|
+
value: MsgSetWithdrawAddress;
|
|
71
|
+
};
|
|
72
|
+
withdrawDelegatorReward(value: MsgWithdrawDelegatorReward): {
|
|
73
|
+
typeUrl: string;
|
|
74
|
+
value: MsgWithdrawDelegatorReward;
|
|
75
|
+
};
|
|
76
|
+
withdrawValidatorCommission(value: MsgWithdrawValidatorCommission): {
|
|
77
|
+
typeUrl: string;
|
|
78
|
+
value: MsgWithdrawValidatorCommission;
|
|
79
|
+
};
|
|
80
|
+
fundCommunityPool(value: MsgFundCommunityPool): {
|
|
81
|
+
typeUrl: string;
|
|
82
|
+
value: MsgFundCommunityPool;
|
|
83
|
+
};
|
|
84
|
+
updateParams(value: MsgUpdateParams): {
|
|
85
|
+
typeUrl: string;
|
|
86
|
+
value: MsgUpdateParams;
|
|
87
|
+
};
|
|
88
|
+
communityPoolSpend(value: MsgCommunityPoolSpend): {
|
|
89
|
+
typeUrl: string;
|
|
90
|
+
value: MsgCommunityPoolSpend;
|
|
91
|
+
};
|
|
92
|
+
depositValidatorRewardsPool(value: MsgDepositValidatorRewardsPool): {
|
|
93
|
+
typeUrl: string;
|
|
94
|
+
value: MsgDepositValidatorRewardsPool;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
@@ -1,5 +1,145 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registry = void 0;
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
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
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
setWithdrawAddress(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
17
|
+
value: tx_1.MsgSetWithdrawAddress.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
withdrawDelegatorReward(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
23
|
+
value: tx_1.MsgWithdrawDelegatorReward.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
withdrawValidatorCommission(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
29
|
+
value: tx_1.MsgWithdrawValidatorCommission.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
},
|
|
32
|
+
fundCommunityPool(value) {
|
|
33
|
+
return {
|
|
34
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
35
|
+
value: tx_1.MsgFundCommunityPool.encode(value).finish()
|
|
36
|
+
};
|
|
37
|
+
},
|
|
38
|
+
updateParams(value) {
|
|
39
|
+
return {
|
|
40
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
41
|
+
value: tx_1.MsgUpdateParams.encode(value).finish()
|
|
42
|
+
};
|
|
43
|
+
},
|
|
44
|
+
communityPoolSpend(value) {
|
|
45
|
+
return {
|
|
46
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
47
|
+
value: tx_1.MsgCommunityPoolSpend.encode(value).finish()
|
|
48
|
+
};
|
|
49
|
+
},
|
|
50
|
+
depositValidatorRewardsPool(value) {
|
|
51
|
+
return {
|
|
52
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
53
|
+
value: tx_1.MsgDepositValidatorRewardsPool.encode(value).finish()
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
withTypeUrl: {
|
|
58
|
+
setWithdrawAddress(value) {
|
|
59
|
+
return {
|
|
60
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
61
|
+
value
|
|
62
|
+
};
|
|
63
|
+
},
|
|
64
|
+
withdrawDelegatorReward(value) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
67
|
+
value
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
withdrawValidatorCommission(value) {
|
|
71
|
+
return {
|
|
72
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
73
|
+
value
|
|
74
|
+
};
|
|
75
|
+
},
|
|
76
|
+
fundCommunityPool(value) {
|
|
77
|
+
return {
|
|
78
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
79
|
+
value
|
|
80
|
+
};
|
|
81
|
+
},
|
|
82
|
+
updateParams(value) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
85
|
+
value
|
|
86
|
+
};
|
|
87
|
+
},
|
|
88
|
+
communityPoolSpend(value) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
91
|
+
value
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
depositValidatorRewardsPool(value) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
97
|
+
value
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
fromPartial: {
|
|
102
|
+
setWithdrawAddress(value) {
|
|
103
|
+
return {
|
|
104
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgSetWithdrawAddress",
|
|
105
|
+
value: tx_1.MsgSetWithdrawAddress.fromPartial(value)
|
|
106
|
+
};
|
|
107
|
+
},
|
|
108
|
+
withdrawDelegatorReward(value) {
|
|
109
|
+
return {
|
|
110
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward",
|
|
111
|
+
value: tx_1.MsgWithdrawDelegatorReward.fromPartial(value)
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
withdrawValidatorCommission(value) {
|
|
115
|
+
return {
|
|
116
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission",
|
|
117
|
+
value: tx_1.MsgWithdrawValidatorCommission.fromPartial(value)
|
|
118
|
+
};
|
|
119
|
+
},
|
|
120
|
+
fundCommunityPool(value) {
|
|
121
|
+
return {
|
|
122
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgFundCommunityPool",
|
|
123
|
+
value: tx_1.MsgFundCommunityPool.fromPartial(value)
|
|
124
|
+
};
|
|
125
|
+
},
|
|
126
|
+
updateParams(value) {
|
|
127
|
+
return {
|
|
128
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgUpdateParams",
|
|
129
|
+
value: tx_1.MsgUpdateParams.fromPartial(value)
|
|
130
|
+
};
|
|
131
|
+
},
|
|
132
|
+
communityPoolSpend(value) {
|
|
133
|
+
return {
|
|
134
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgCommunityPoolSpend",
|
|
135
|
+
value: tx_1.MsgCommunityPoolSpend.fromPartial(value)
|
|
136
|
+
};
|
|
137
|
+
},
|
|
138
|
+
depositValidatorRewardsPool(value) {
|
|
139
|
+
return {
|
|
140
|
+
typeUrl: "/cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool",
|
|
141
|
+
value: tx_1.MsgDepositValidatorRewardsPool.fromPartial(value)
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
};
|
|
@@ -1,2 +1,49 @@
|
|
|
1
1
|
import { TelescopeGeneratedType } from "../../../types";
|
|
2
|
+
import { Registry } from "@cosmjs/proto-signing";
|
|
3
|
+
import { MsgGrantAllowance, MsgRevokeAllowance, MsgPruneAllowances } from "./tx";
|
|
2
4
|
export declare const registry: ReadonlyArray<[string, TelescopeGeneratedType<any, any, any>]>;
|
|
5
|
+
export declare const load: (protoRegistry: Registry) => void;
|
|
6
|
+
export declare const MessageComposer: {
|
|
7
|
+
encoded: {
|
|
8
|
+
grantAllowance(value: MsgGrantAllowance): {
|
|
9
|
+
typeUrl: string;
|
|
10
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
11
|
+
};
|
|
12
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
|
13
|
+
typeUrl: string;
|
|
14
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
15
|
+
};
|
|
16
|
+
pruneAllowances(value: MsgPruneAllowances): {
|
|
17
|
+
typeUrl: string;
|
|
18
|
+
value: Uint8Array<ArrayBufferLike>;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
withTypeUrl: {
|
|
22
|
+
grantAllowance(value: MsgGrantAllowance): {
|
|
23
|
+
typeUrl: string;
|
|
24
|
+
value: MsgGrantAllowance;
|
|
25
|
+
};
|
|
26
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
|
27
|
+
typeUrl: string;
|
|
28
|
+
value: MsgRevokeAllowance;
|
|
29
|
+
};
|
|
30
|
+
pruneAllowances(value: MsgPruneAllowances): {
|
|
31
|
+
typeUrl: string;
|
|
32
|
+
value: MsgPruneAllowances;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
fromPartial: {
|
|
36
|
+
grantAllowance(value: MsgGrantAllowance): {
|
|
37
|
+
typeUrl: string;
|
|
38
|
+
value: MsgGrantAllowance;
|
|
39
|
+
};
|
|
40
|
+
revokeAllowance(value: MsgRevokeAllowance): {
|
|
41
|
+
typeUrl: string;
|
|
42
|
+
value: MsgRevokeAllowance;
|
|
43
|
+
};
|
|
44
|
+
pruneAllowances(value: MsgPruneAllowances): {
|
|
45
|
+
typeUrl: string;
|
|
46
|
+
value: MsgPruneAllowances;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,5 +1,73 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.registry = void 0;
|
|
3
|
+
exports.MessageComposer = exports.load = exports.registry = void 0;
|
|
4
4
|
const tx_1 = require("./tx");
|
|
5
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
|
+
const load = (protoRegistry) => {
|
|
7
|
+
exports.registry.forEach(([typeUrl, mod]) => {
|
|
8
|
+
protoRegistry.register(typeUrl, mod);
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
exports.load = load;
|
|
12
|
+
exports.MessageComposer = {
|
|
13
|
+
encoded: {
|
|
14
|
+
grantAllowance(value) {
|
|
15
|
+
return {
|
|
16
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
17
|
+
value: tx_1.MsgGrantAllowance.encode(value).finish()
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
revokeAllowance(value) {
|
|
21
|
+
return {
|
|
22
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
23
|
+
value: tx_1.MsgRevokeAllowance.encode(value).finish()
|
|
24
|
+
};
|
|
25
|
+
},
|
|
26
|
+
pruneAllowances(value) {
|
|
27
|
+
return {
|
|
28
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
29
|
+
value: tx_1.MsgPruneAllowances.encode(value).finish()
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
withTypeUrl: {
|
|
34
|
+
grantAllowance(value) {
|
|
35
|
+
return {
|
|
36
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
37
|
+
value
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
revokeAllowance(value) {
|
|
41
|
+
return {
|
|
42
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
43
|
+
value
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
pruneAllowances(value) {
|
|
47
|
+
return {
|
|
48
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
49
|
+
value
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
fromPartial: {
|
|
54
|
+
grantAllowance(value) {
|
|
55
|
+
return {
|
|
56
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgGrantAllowance",
|
|
57
|
+
value: tx_1.MsgGrantAllowance.fromPartial(value)
|
|
58
|
+
};
|
|
59
|
+
},
|
|
60
|
+
revokeAllowance(value) {
|
|
61
|
+
return {
|
|
62
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgRevokeAllowance",
|
|
63
|
+
value: tx_1.MsgRevokeAllowance.fromPartial(value)
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
pruneAllowances(value) {
|
|
67
|
+
return {
|
|
68
|
+
typeUrl: "/cosmos.feegrant.v1beta1.MsgPruneAllowances",
|
|
69
|
+
value: tx_1.MsgPruneAllowances.fromPartial(value)
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
};
|