coreum-js 2.16.3 → 2.17.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/main/client/index.js +15 -16
- package/dist/main/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/main/coreum/asset/ft/v1/authz.js +122 -0
- package/dist/main/coreum/asset/ft/v1/event.d.ts +52 -28
- package/dist/main/coreum/asset/ft/v1/event.js +744 -138
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +31 -21
- package/dist/main/coreum/asset/ft/v1/genesis.js +273 -62
- package/dist/main/coreum/asset/ft/v1/params.d.ts +12 -11
- package/dist/main/coreum/asset/ft/v1/params.js +37 -33
- package/dist/main/coreum/asset/ft/v1/query.d.ts +87 -127
- package/dist/main/coreum/asset/ft/v1/query.js +697 -217
- package/dist/main/coreum/asset/ft/v1/token.d.ts +17 -51
- package/dist/main/coreum/asset/ft/v1/token.js +276 -200
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +30 -147
- package/dist/main/coreum/asset/ft/v1/tx.js +502 -386
- package/dist/main/coreum/asset/index.d.ts +2 -3
- package/dist/main/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/main/coreum/asset/nft/v1/authz.js +137 -0
- package/dist/main/coreum/asset/nft/v1/event.d.ts +35 -43
- package/dist/main/coreum/asset/nft/v1/event.js +475 -147
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +27 -36
- package/dist/main/coreum/asset/nft/v1/genesis.js +311 -119
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +20 -26
- package/dist/main/coreum/asset/nft/v1/nft.js +139 -104
- package/dist/main/coreum/asset/nft/v1/params.d.ts +12 -12
- package/dist/main/coreum/asset/nft/v1/params.js +17 -20
- package/dist/main/coreum/asset/nft/v1/query.d.ts +110 -88
- package/dist/main/coreum/asset/nft/v1/query.js +1079 -185
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +96 -70
- package/dist/main/coreum/asset/nft/v1/tx.js +865 -234
- package/dist/main/coreum/asset/nft/v1/types.d.ts +38 -11
- package/dist/main/coreum/asset/nft/v1/types.js +273 -45
- package/dist/main/coreum/customparams/v1/genesis.d.ts +12 -12
- package/dist/main/coreum/customparams/v1/genesis.js +26 -22
- package/dist/main/coreum/customparams/v1/params.d.ts +11 -11
- package/dist/main/coreum/customparams/v1/params.js +23 -20
- package/dist/main/coreum/customparams/v1/query.d.ts +14 -20
- package/dist/main/coreum/customparams/v1/query.js +35 -29
- package/dist/main/coreum/dex/index.d.ts +1 -0
- package/dist/main/coreum/dex/index.js +12 -0
- package/dist/main/coreum/dex/v1/event.d.ts +73 -0
- package/dist/main/coreum/dex/v1/event.js +470 -0
- package/dist/main/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/main/coreum/dex/v1/genesis.js +318 -0
- package/dist/main/coreum/dex/v1/order.d.ts +172 -0
- package/dist/main/coreum/dex/v1/order.js +1137 -0
- package/dist/main/coreum/dex/v1/params.d.ts +34 -0
- package/dist/main/coreum/dex/v1/params.js +139 -0
- package/dist/main/coreum/dex/v1/query.d.ts +133 -0
- package/dist/main/coreum/dex/v1/query.js +873 -0
- package/dist/main/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/main/coreum/dex/v1/tx.js +521 -0
- package/dist/main/coreum/extensions/dex.d.ts +12 -0
- package/dist/main/coreum/extensions/dex.js +32 -0
- package/dist/main/coreum/extensions/ft.js +2 -1
- package/dist/main/coreum/extensions/nft.js +2 -1
- package/dist/main/coreum/extensions/nftbeta.js +2 -1
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +13 -13
- package/dist/main/coreum/feemodel/v1/genesis.js +23 -24
- package/dist/main/coreum/feemodel/v1/params.d.ts +14 -21
- package/dist/main/coreum/feemodel/v1/params.js +113 -66
- package/dist/main/coreum/feemodel/v1/query.d.ts +30 -37
- package/dist/main/coreum/feemodel/v1/query.js +196 -43
- package/dist/main/coreum/index.d.ts +46 -0
- package/dist/main/coreum/index.js +58 -1
- package/dist/main/coreum/nft/index.d.ts +1 -2
- package/dist/main/coreum/nft/v1beta1/event.d.ts +23 -27
- package/dist/main/coreum/nft/v1beta1/event.js +103 -77
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +13 -19
- package/dist/main/coreum/nft/v1beta1/genesis.js +50 -52
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +15 -22
- package/dist/main/coreum/nft/v1beta1/nft.js +111 -81
- package/dist/main/coreum/nft/v1beta1/query.d.ts +54 -124
- package/dist/main/coreum/nft/v1beta1/query.js +259 -223
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +13 -19
- package/dist/main/coreum/nft/v1beta1/tx.js +54 -43
- package/dist/main/cosmos/extensions/bank.js +2 -1
- package/dist/main/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/main/cosmos/extensions/distribution.js +11 -10
- package/dist/main/cosmos/extensions/gov.d.ts +13 -13
- package/dist/main/cosmos/extensions/gov.js +16 -9
- package/dist/main/cosmos/index.d.ts +8 -8
- package/dist/main/google/api/http.d.ts +2636 -6
- package/dist/main/google/api/http.js +18 -21
- package/dist/main/google/protobuf/any.d.ts +14 -2
- package/dist/main/google/protobuf/any.js +6 -7
- package/dist/main/google/protobuf/duration.d.ts +14 -2
- package/dist/main/google/protobuf/duration.js +3 -4
- package/dist/main/google/protobuf/timestamp.d.ts +14 -2
- package/dist/main/google/protobuf/timestamp.js +3 -4
- package/dist/main/index.js +7 -17
- package/dist/main/services/cosmostation.js +1 -1
- package/dist/main/tendermint/abci/types.d.ts +6360 -92
- package/dist/main/tendermint/abci/types.js +195 -235
- package/dist/main/tendermint/crypto/keys.d.ts +14 -2
- package/dist/main/tendermint/crypto/keys.js +3 -4
- package/dist/main/tendermint/crypto/proof.d.ts +152 -10
- package/dist/main/tendermint/crypto/proof.js +19 -24
- package/dist/main/tendermint/types/params.d.ts +196 -12
- package/dist/main/tendermint/types/params.js +15 -20
- package/dist/main/tendermint/types/types.d.ts +1744 -26
- package/dist/main/tendermint/types/types.js +62 -73
- package/dist/main/tendermint/types/validator.d.ts +230 -6
- package/dist/main/tendermint/types/validator.js +10 -13
- package/dist/main/tendermint/version/types.d.ts +28 -4
- package/dist/main/tendermint/version/types.js +6 -8
- package/dist/main/types/core.d.ts +2 -1
- package/dist/main/types/core.js +2 -0
- package/dist/main/utils/convertStringToAny.d.ts +0 -1
- package/dist/main/utils/nft.js +2 -1
- package/dist/main/wasm/v1/authz.d.ts +20 -75
- package/dist/main/wasm/v1/authz.js +129 -148
- package/dist/main/wasm/v1/extensions/wasm.js +2 -1
- package/dist/main/wasm/v1/genesis.d.ts +14 -34
- package/dist/main/wasm/v1/genesis.js +169 -140
- package/dist/main/wasm/v1/ibc.d.ts +13 -26
- package/dist/main/wasm/v1/ibc.js +91 -76
- package/dist/main/wasm/v1/index.d.ts +1 -2
- package/dist/main/wasm/v1/pagination.d.ts +40 -4
- package/dist/main/wasm/v1/pagination.js +9 -11
- package/dist/main/wasm/v1/proposal.d.ts +23 -106
- package/dist/main/wasm/v1/proposal.js +634 -465
- package/dist/main/wasm/v1/query.d.ts +35 -187
- package/dist/main/wasm/v1/query.js +370 -363
- package/dist/main/wasm/v1/tx.d.ts +37 -210
- package/dist/main/wasm/v1/tx.js +621 -497
- package/dist/main/wasm/v1/types.d.ts +19 -67
- package/dist/main/wasm/v1/types.js +224 -195
- package/dist/module/client/index.js +2 -1
- package/dist/module/coreum/asset/ft/v1/authz.d.ts +38 -0
- package/dist/module/coreum/asset/ft/v1/authz.js +119 -0
- package/dist/module/coreum/asset/ft/v1/event.d.ts +52 -28
- package/dist/module/coreum/asset/ft/v1/event.js +721 -109
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +31 -21
- package/dist/module/coreum/asset/ft/v1/genesis.js +266 -50
- package/dist/module/coreum/asset/ft/v1/params.d.ts +12 -11
- package/dist/module/coreum/asset/ft/v1/params.js +35 -27
- package/dist/module/coreum/asset/ft/v1/query.d.ts +87 -127
- package/dist/module/coreum/asset/ft/v1/query.js +672 -180
- package/dist/module/coreum/asset/ft/v1/token.d.ts +17 -51
- package/dist/module/coreum/asset/ft/v1/token.js +236 -152
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +30 -147
- package/dist/module/coreum/asset/ft/v1/tx.js +437 -301
- package/dist/module/coreum/asset/index.d.ts +2 -3
- package/dist/module/coreum/asset/nft/v1/authz.d.ts +33 -0
- package/dist/module/coreum/asset/nft/v1/authz.js +134 -0
- package/dist/module/coreum/asset/nft/v1/event.d.ts +35 -43
- package/dist/module/coreum/asset/nft/v1/event.js +448 -112
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +27 -36
- package/dist/module/coreum/asset/nft/v1/genesis.js +299 -100
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +20 -26
- package/dist/module/coreum/asset/nft/v1/nft.js +121 -81
- package/dist/module/coreum/asset/nft/v1/params.d.ts +12 -12
- package/dist/module/coreum/asset/nft/v1/params.js +16 -16
- package/dist/module/coreum/asset/nft/v1/query.d.ts +110 -88
- package/dist/module/coreum/asset/nft/v1/query.js +1057 -153
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +96 -70
- package/dist/module/coreum/asset/nft/v1/tx.js +825 -184
- package/dist/module/coreum/asset/nft/v1/types.d.ts +38 -11
- package/dist/module/coreum/asset/nft/v1/types.js +269 -39
- package/dist/module/coreum/customparams/v1/genesis.d.ts +12 -12
- package/dist/module/coreum/customparams/v1/genesis.js +25 -18
- package/dist/module/coreum/customparams/v1/params.d.ts +11 -11
- package/dist/module/coreum/customparams/v1/params.js +21 -14
- package/dist/module/coreum/customparams/v1/query.d.ts +14 -20
- package/dist/module/coreum/customparams/v1/query.js +32 -23
- package/dist/module/coreum/dex/index.d.ts +1 -0
- package/dist/module/coreum/dex/index.js +9 -0
- package/dist/module/coreum/dex/v1/event.d.ts +73 -0
- package/dist/module/coreum/dex/v1/event.js +467 -0
- package/dist/module/coreum/dex/v1/genesis.d.ts +49 -0
- package/dist/module/coreum/dex/v1/genesis.js +315 -0
- package/dist/module/coreum/dex/v1/order.d.ts +172 -0
- package/dist/module/coreum/dex/v1/order.js +1128 -0
- package/dist/module/coreum/dex/v1/params.d.ts +34 -0
- package/dist/module/coreum/dex/v1/params.js +136 -0
- package/dist/module/coreum/dex/v1/query.d.ts +133 -0
- package/dist/module/coreum/dex/v1/query.js +871 -0
- package/dist/module/coreum/dex/v1/tx.d.ts +102 -0
- package/dist/module/coreum/dex/v1/tx.js +519 -0
- package/dist/module/coreum/extensions/dex.d.ts +12 -0
- package/dist/module/coreum/extensions/dex.js +28 -0
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +13 -13
- package/dist/module/coreum/feemodel/v1/genesis.js +22 -20
- package/dist/module/coreum/feemodel/v1/params.d.ts +14 -21
- package/dist/module/coreum/feemodel/v1/params.js +105 -54
- package/dist/module/coreum/feemodel/v1/query.d.ts +30 -37
- package/dist/module/coreum/feemodel/v1/query.js +191 -35
- package/dist/module/coreum/index.d.ts +46 -0
- package/dist/module/coreum/index.js +57 -0
- package/dist/module/coreum/nft/index.d.ts +1 -2
- package/dist/module/coreum/nft/v1beta1/event.d.ts +23 -27
- package/dist/module/coreum/nft/v1beta1/event.js +90 -58
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +13 -19
- package/dist/module/coreum/nft/v1beta1/genesis.js +44 -41
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +15 -22
- package/dist/module/coreum/nft/v1beta1/nft.js +99 -64
- package/dist/module/coreum/nft/v1beta1/query.d.ts +54 -124
- package/dist/module/coreum/nft/v1beta1/query.js +231 -183
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +13 -19
- package/dist/module/coreum/nft/v1beta1/tx.js +47 -32
- package/dist/module/cosmos/extensions/distribution.d.ts +4 -4
- package/dist/module/cosmos/extensions/gov.d.ts +13 -13
- package/dist/module/cosmos/index.d.ts +8 -8
- package/dist/module/google/api/http.d.ts +2636 -6
- package/dist/module/google/protobuf/any.d.ts +14 -2
- package/dist/module/google/protobuf/duration.d.ts +14 -2
- package/dist/module/google/protobuf/timestamp.d.ts +14 -2
- package/dist/module/services/cosmostation.js +1 -1
- package/dist/module/tendermint/abci/types.d.ts +6360 -92
- package/dist/module/tendermint/crypto/keys.d.ts +14 -2
- package/dist/module/tendermint/crypto/proof.d.ts +152 -10
- package/dist/module/tendermint/types/params.d.ts +196 -12
- package/dist/module/tendermint/types/types.d.ts +1744 -26
- package/dist/module/tendermint/types/validator.d.ts +230 -6
- package/dist/module/tendermint/version/types.d.ts +28 -4
- package/dist/module/types/core.d.ts +2 -1
- package/dist/module/types/core.js +2 -0
- package/dist/module/utils/convertStringToAny.d.ts +0 -1
- package/dist/module/wasm/v1/authz.d.ts +20 -75
- package/dist/module/wasm/v1/authz.js +111 -119
- package/dist/module/wasm/v1/genesis.d.ts +14 -34
- package/dist/module/wasm/v1/genesis.js +161 -125
- package/dist/module/wasm/v1/ibc.d.ts +13 -26
- package/dist/module/wasm/v1/ibc.js +83 -62
- package/dist/module/wasm/v1/index.d.ts +1 -2
- package/dist/module/wasm/v1/pagination.d.ts +40 -4
- package/dist/module/wasm/v1/proposal.d.ts +23 -106
- package/dist/module/wasm/v1/proposal.js +562 -377
- package/dist/module/wasm/v1/query.d.ts +35 -187
- package/dist/module/wasm/v1/query.js +330 -301
- package/dist/module/wasm/v1/tx.d.ts +37 -210
- package/dist/module/wasm/v1/tx.js +551 -404
- package/dist/module/wasm/v1/types.d.ts +19 -67
- package/dist/module/wasm/v1/types.js +196 -156
- package/package.json +11 -10
|
@@ -21,24 +21,248 @@ export declare const ValidatorSet: {
|
|
|
21
21
|
decode(input: _m0.Reader | Uint8Array, length?: number): ValidatorSet;
|
|
22
22
|
fromJSON(object: any): ValidatorSet;
|
|
23
23
|
toJSON(message: ValidatorSet): unknown;
|
|
24
|
-
create<I extends
|
|
25
|
-
|
|
24
|
+
create<I extends {
|
|
25
|
+
validators?: {
|
|
26
|
+
address?: Uint8Array;
|
|
27
|
+
pubKey?: {
|
|
28
|
+
ed25519?: Uint8Array;
|
|
29
|
+
secp256k1?: Uint8Array;
|
|
30
|
+
};
|
|
31
|
+
votingPower?: number;
|
|
32
|
+
proposerPriority?: number;
|
|
33
|
+
}[];
|
|
34
|
+
proposer?: {
|
|
35
|
+
address?: Uint8Array;
|
|
36
|
+
pubKey?: {
|
|
37
|
+
ed25519?: Uint8Array;
|
|
38
|
+
secp256k1?: Uint8Array;
|
|
39
|
+
};
|
|
40
|
+
votingPower?: number;
|
|
41
|
+
proposerPriority?: number;
|
|
42
|
+
};
|
|
43
|
+
totalVotingPower?: number;
|
|
44
|
+
} & {
|
|
45
|
+
validators?: {
|
|
46
|
+
address?: Uint8Array;
|
|
47
|
+
pubKey?: {
|
|
48
|
+
ed25519?: Uint8Array;
|
|
49
|
+
secp256k1?: Uint8Array;
|
|
50
|
+
};
|
|
51
|
+
votingPower?: number;
|
|
52
|
+
proposerPriority?: number;
|
|
53
|
+
}[] & ({
|
|
54
|
+
address?: Uint8Array;
|
|
55
|
+
pubKey?: {
|
|
56
|
+
ed25519?: Uint8Array;
|
|
57
|
+
secp256k1?: Uint8Array;
|
|
58
|
+
};
|
|
59
|
+
votingPower?: number;
|
|
60
|
+
proposerPriority?: number;
|
|
61
|
+
} & {
|
|
62
|
+
address?: Uint8Array;
|
|
63
|
+
pubKey?: {
|
|
64
|
+
ed25519?: Uint8Array;
|
|
65
|
+
secp256k1?: Uint8Array;
|
|
66
|
+
} & {
|
|
67
|
+
ed25519?: Uint8Array;
|
|
68
|
+
secp256k1?: Uint8Array;
|
|
69
|
+
} & { [K in Exclude<keyof I["validators"][number]["pubKey"], keyof PublicKey>]: never; };
|
|
70
|
+
votingPower?: number;
|
|
71
|
+
proposerPriority?: number;
|
|
72
|
+
} & { [K_1 in Exclude<keyof I["validators"][number], keyof Validator>]: never; })[] & { [K_2 in Exclude<keyof I["validators"], keyof {
|
|
73
|
+
address?: Uint8Array;
|
|
74
|
+
pubKey?: {
|
|
75
|
+
ed25519?: Uint8Array;
|
|
76
|
+
secp256k1?: Uint8Array;
|
|
77
|
+
};
|
|
78
|
+
votingPower?: number;
|
|
79
|
+
proposerPriority?: number;
|
|
80
|
+
}[]>]: never; };
|
|
81
|
+
proposer?: {
|
|
82
|
+
address?: Uint8Array;
|
|
83
|
+
pubKey?: {
|
|
84
|
+
ed25519?: Uint8Array;
|
|
85
|
+
secp256k1?: Uint8Array;
|
|
86
|
+
};
|
|
87
|
+
votingPower?: number;
|
|
88
|
+
proposerPriority?: number;
|
|
89
|
+
} & {
|
|
90
|
+
address?: Uint8Array;
|
|
91
|
+
pubKey?: {
|
|
92
|
+
ed25519?: Uint8Array;
|
|
93
|
+
secp256k1?: Uint8Array;
|
|
94
|
+
} & {
|
|
95
|
+
ed25519?: Uint8Array;
|
|
96
|
+
secp256k1?: Uint8Array;
|
|
97
|
+
} & { [K_3 in Exclude<keyof I["proposer"]["pubKey"], keyof PublicKey>]: never; };
|
|
98
|
+
votingPower?: number;
|
|
99
|
+
proposerPriority?: number;
|
|
100
|
+
} & { [K_4 in Exclude<keyof I["proposer"], keyof Validator>]: never; };
|
|
101
|
+
totalVotingPower?: number;
|
|
102
|
+
} & { [K_5 in Exclude<keyof I, keyof ValidatorSet>]: never; }>(base?: I): ValidatorSet;
|
|
103
|
+
fromPartial<I_1 extends {
|
|
104
|
+
validators?: {
|
|
105
|
+
address?: Uint8Array;
|
|
106
|
+
pubKey?: {
|
|
107
|
+
ed25519?: Uint8Array;
|
|
108
|
+
secp256k1?: Uint8Array;
|
|
109
|
+
};
|
|
110
|
+
votingPower?: number;
|
|
111
|
+
proposerPriority?: number;
|
|
112
|
+
}[];
|
|
113
|
+
proposer?: {
|
|
114
|
+
address?: Uint8Array;
|
|
115
|
+
pubKey?: {
|
|
116
|
+
ed25519?: Uint8Array;
|
|
117
|
+
secp256k1?: Uint8Array;
|
|
118
|
+
};
|
|
119
|
+
votingPower?: number;
|
|
120
|
+
proposerPriority?: number;
|
|
121
|
+
};
|
|
122
|
+
totalVotingPower?: number;
|
|
123
|
+
} & {
|
|
124
|
+
validators?: {
|
|
125
|
+
address?: Uint8Array;
|
|
126
|
+
pubKey?: {
|
|
127
|
+
ed25519?: Uint8Array;
|
|
128
|
+
secp256k1?: Uint8Array;
|
|
129
|
+
};
|
|
130
|
+
votingPower?: number;
|
|
131
|
+
proposerPriority?: number;
|
|
132
|
+
}[] & ({
|
|
133
|
+
address?: Uint8Array;
|
|
134
|
+
pubKey?: {
|
|
135
|
+
ed25519?: Uint8Array;
|
|
136
|
+
secp256k1?: Uint8Array;
|
|
137
|
+
};
|
|
138
|
+
votingPower?: number;
|
|
139
|
+
proposerPriority?: number;
|
|
140
|
+
} & {
|
|
141
|
+
address?: Uint8Array;
|
|
142
|
+
pubKey?: {
|
|
143
|
+
ed25519?: Uint8Array;
|
|
144
|
+
secp256k1?: Uint8Array;
|
|
145
|
+
} & {
|
|
146
|
+
ed25519?: Uint8Array;
|
|
147
|
+
secp256k1?: Uint8Array;
|
|
148
|
+
} & { [K_6 in Exclude<keyof I_1["validators"][number]["pubKey"], keyof PublicKey>]: never; };
|
|
149
|
+
votingPower?: number;
|
|
150
|
+
proposerPriority?: number;
|
|
151
|
+
} & { [K_7 in Exclude<keyof I_1["validators"][number], keyof Validator>]: never; })[] & { [K_8 in Exclude<keyof I_1["validators"], keyof {
|
|
152
|
+
address?: Uint8Array;
|
|
153
|
+
pubKey?: {
|
|
154
|
+
ed25519?: Uint8Array;
|
|
155
|
+
secp256k1?: Uint8Array;
|
|
156
|
+
};
|
|
157
|
+
votingPower?: number;
|
|
158
|
+
proposerPriority?: number;
|
|
159
|
+
}[]>]: never; };
|
|
160
|
+
proposer?: {
|
|
161
|
+
address?: Uint8Array;
|
|
162
|
+
pubKey?: {
|
|
163
|
+
ed25519?: Uint8Array;
|
|
164
|
+
secp256k1?: Uint8Array;
|
|
165
|
+
};
|
|
166
|
+
votingPower?: number;
|
|
167
|
+
proposerPriority?: number;
|
|
168
|
+
} & {
|
|
169
|
+
address?: Uint8Array;
|
|
170
|
+
pubKey?: {
|
|
171
|
+
ed25519?: Uint8Array;
|
|
172
|
+
secp256k1?: Uint8Array;
|
|
173
|
+
} & {
|
|
174
|
+
ed25519?: Uint8Array;
|
|
175
|
+
secp256k1?: Uint8Array;
|
|
176
|
+
} & { [K_9 in Exclude<keyof I_1["proposer"]["pubKey"], keyof PublicKey>]: never; };
|
|
177
|
+
votingPower?: number;
|
|
178
|
+
proposerPriority?: number;
|
|
179
|
+
} & { [K_10 in Exclude<keyof I_1["proposer"], keyof Validator>]: never; };
|
|
180
|
+
totalVotingPower?: number;
|
|
181
|
+
} & { [K_11 in Exclude<keyof I_1, keyof ValidatorSet>]: never; }>(object: I_1): ValidatorSet;
|
|
26
182
|
};
|
|
27
183
|
export declare const Validator: {
|
|
28
184
|
encode(message: Validator, writer?: _m0.Writer): _m0.Writer;
|
|
29
185
|
decode(input: _m0.Reader | Uint8Array, length?: number): Validator;
|
|
30
186
|
fromJSON(object: any): Validator;
|
|
31
187
|
toJSON(message: Validator): unknown;
|
|
32
|
-
create<I extends
|
|
33
|
-
|
|
188
|
+
create<I extends {
|
|
189
|
+
address?: Uint8Array;
|
|
190
|
+
pubKey?: {
|
|
191
|
+
ed25519?: Uint8Array;
|
|
192
|
+
secp256k1?: Uint8Array;
|
|
193
|
+
};
|
|
194
|
+
votingPower?: number;
|
|
195
|
+
proposerPriority?: number;
|
|
196
|
+
} & {
|
|
197
|
+
address?: Uint8Array;
|
|
198
|
+
pubKey?: {
|
|
199
|
+
ed25519?: Uint8Array;
|
|
200
|
+
secp256k1?: Uint8Array;
|
|
201
|
+
} & {
|
|
202
|
+
ed25519?: Uint8Array;
|
|
203
|
+
secp256k1?: Uint8Array;
|
|
204
|
+
} & { [K in Exclude<keyof I["pubKey"], keyof PublicKey>]: never; };
|
|
205
|
+
votingPower?: number;
|
|
206
|
+
proposerPriority?: number;
|
|
207
|
+
} & { [K_1 in Exclude<keyof I, keyof Validator>]: never; }>(base?: I): Validator;
|
|
208
|
+
fromPartial<I_1 extends {
|
|
209
|
+
address?: Uint8Array;
|
|
210
|
+
pubKey?: {
|
|
211
|
+
ed25519?: Uint8Array;
|
|
212
|
+
secp256k1?: Uint8Array;
|
|
213
|
+
};
|
|
214
|
+
votingPower?: number;
|
|
215
|
+
proposerPriority?: number;
|
|
216
|
+
} & {
|
|
217
|
+
address?: Uint8Array;
|
|
218
|
+
pubKey?: {
|
|
219
|
+
ed25519?: Uint8Array;
|
|
220
|
+
secp256k1?: Uint8Array;
|
|
221
|
+
} & {
|
|
222
|
+
ed25519?: Uint8Array;
|
|
223
|
+
secp256k1?: Uint8Array;
|
|
224
|
+
} & { [K_2 in Exclude<keyof I_1["pubKey"], keyof PublicKey>]: never; };
|
|
225
|
+
votingPower?: number;
|
|
226
|
+
proposerPriority?: number;
|
|
227
|
+
} & { [K_3 in Exclude<keyof I_1, keyof Validator>]: never; }>(object: I_1): Validator;
|
|
34
228
|
};
|
|
35
229
|
export declare const SimpleValidator: {
|
|
36
230
|
encode(message: SimpleValidator, writer?: _m0.Writer): _m0.Writer;
|
|
37
231
|
decode(input: _m0.Reader | Uint8Array, length?: number): SimpleValidator;
|
|
38
232
|
fromJSON(object: any): SimpleValidator;
|
|
39
233
|
toJSON(message: SimpleValidator): unknown;
|
|
40
|
-
create<I extends
|
|
41
|
-
|
|
234
|
+
create<I extends {
|
|
235
|
+
pubKey?: {
|
|
236
|
+
ed25519?: Uint8Array;
|
|
237
|
+
secp256k1?: Uint8Array;
|
|
238
|
+
};
|
|
239
|
+
votingPower?: number;
|
|
240
|
+
} & {
|
|
241
|
+
pubKey?: {
|
|
242
|
+
ed25519?: Uint8Array;
|
|
243
|
+
secp256k1?: Uint8Array;
|
|
244
|
+
} & {
|
|
245
|
+
ed25519?: Uint8Array;
|
|
246
|
+
secp256k1?: Uint8Array;
|
|
247
|
+
} & { [K in Exclude<keyof I["pubKey"], keyof PublicKey>]: never; };
|
|
248
|
+
votingPower?: number;
|
|
249
|
+
} & { [K_1 in Exclude<keyof I, keyof SimpleValidator>]: never; }>(base?: I): SimpleValidator;
|
|
250
|
+
fromPartial<I_1 extends {
|
|
251
|
+
pubKey?: {
|
|
252
|
+
ed25519?: Uint8Array;
|
|
253
|
+
secp256k1?: Uint8Array;
|
|
254
|
+
};
|
|
255
|
+
votingPower?: number;
|
|
256
|
+
} & {
|
|
257
|
+
pubKey?: {
|
|
258
|
+
ed25519?: Uint8Array;
|
|
259
|
+
secp256k1?: Uint8Array;
|
|
260
|
+
} & {
|
|
261
|
+
ed25519?: Uint8Array;
|
|
262
|
+
secp256k1?: Uint8Array;
|
|
263
|
+
} & { [K_2 in Exclude<keyof I_1["pubKey"], keyof PublicKey>]: never; };
|
|
264
|
+
votingPower?: number;
|
|
265
|
+
} & { [K_3 in Exclude<keyof I_1, keyof SimpleValidator>]: never; }>(object: I_1): SimpleValidator;
|
|
42
266
|
};
|
|
43
267
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
44
268
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
@@ -23,16 +23,40 @@ export declare const App: {
|
|
|
23
23
|
decode(input: _m0.Reader | Uint8Array, length?: number): App;
|
|
24
24
|
fromJSON(object: any): App;
|
|
25
25
|
toJSON(message: App): unknown;
|
|
26
|
-
create<I extends
|
|
27
|
-
|
|
26
|
+
create<I extends {
|
|
27
|
+
protocol?: number;
|
|
28
|
+
software?: string;
|
|
29
|
+
} & {
|
|
30
|
+
protocol?: number;
|
|
31
|
+
software?: string;
|
|
32
|
+
} & { [K in Exclude<keyof I, keyof App>]: never; }>(base?: I): App;
|
|
33
|
+
fromPartial<I_1 extends {
|
|
34
|
+
protocol?: number;
|
|
35
|
+
software?: string;
|
|
36
|
+
} & {
|
|
37
|
+
protocol?: number;
|
|
38
|
+
software?: string;
|
|
39
|
+
} & { [K_1 in Exclude<keyof I_1, keyof App>]: never; }>(object: I_1): App;
|
|
28
40
|
};
|
|
29
41
|
export declare const Consensus: {
|
|
30
42
|
encode(message: Consensus, writer?: _m0.Writer): _m0.Writer;
|
|
31
43
|
decode(input: _m0.Reader | Uint8Array, length?: number): Consensus;
|
|
32
44
|
fromJSON(object: any): Consensus;
|
|
33
45
|
toJSON(message: Consensus): unknown;
|
|
34
|
-
create<I extends
|
|
35
|
-
|
|
46
|
+
create<I extends {
|
|
47
|
+
block?: number;
|
|
48
|
+
app?: number;
|
|
49
|
+
} & {
|
|
50
|
+
block?: number;
|
|
51
|
+
app?: number;
|
|
52
|
+
} & { [K in Exclude<keyof I, keyof Consensus>]: never; }>(base?: I): Consensus;
|
|
53
|
+
fromPartial<I_1 extends {
|
|
54
|
+
block?: number;
|
|
55
|
+
app?: number;
|
|
56
|
+
} & {
|
|
57
|
+
block?: number;
|
|
58
|
+
app?: number;
|
|
59
|
+
} & { [K_1 in Exclude<keyof I_1, keyof Consensus>]: never; }>(object: I_1): Consensus;
|
|
36
60
|
};
|
|
37
61
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
38
62
|
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
@@ -9,7 +9,8 @@ import { setupBankExtension, setupGovExtension, setupDistributionExtension } fro
|
|
|
9
9
|
export declare enum CoreumTypeUrl {
|
|
10
10
|
NFT = "/coreum.asset.nft.v1.",
|
|
11
11
|
FT = "/coreum.asset.ft.v1.",
|
|
12
|
-
NFTBeta = "/cosmos.nft.v1beta1."
|
|
12
|
+
NFTBeta = "/cosmos.nft.v1beta1.",
|
|
13
|
+
DEX = "/coreum.dex.v1"
|
|
13
14
|
}
|
|
14
15
|
export interface ClientQueryClient extends QueryClient {
|
|
15
16
|
ft: ReturnType<typeof setupFTExtension>["ft"];
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { protobufPackage as assetNFT } from "../coreum/asset/nft/v1/tx";
|
|
2
2
|
import { protobufPackage as assetFT } from "../coreum/asset/ft/v1/tx";
|
|
3
3
|
import { protobufPackage as nftV1beta } from "../coreum/nft/v1beta1/tx";
|
|
4
|
+
import { protobufPackage as dex } from "../coreum/dex/v1/tx";
|
|
4
5
|
/** @internal */
|
|
5
6
|
export var CoreumTypeUrl;
|
|
6
7
|
(function (CoreumTypeUrl) {
|
|
7
8
|
CoreumTypeUrl["NFT"] = "/coreum.asset.nft.v1.";
|
|
8
9
|
CoreumTypeUrl["FT"] = "/coreum.asset.ft.v1.";
|
|
9
10
|
CoreumTypeUrl["NFTBeta"] = "/cosmos.nft.v1beta1.";
|
|
11
|
+
CoreumTypeUrl["DEX"] = "/coreum.dex.v1";
|
|
10
12
|
})(CoreumTypeUrl || (CoreumTypeUrl = {}));
|
|
11
13
|
// setupMintExtension,
|
|
12
14
|
// setupFeegrantExtension,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "cosmjs-types/binary";
|
|
2
2
|
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
|
|
3
|
-
import { Any } from "
|
|
3
|
+
import { Any } from "cosmjs-types/google/protobuf/any";
|
|
4
4
|
export declare const protobufPackage = "cosmwasm.wasm.v1";
|
|
5
5
|
/**
|
|
6
6
|
* ContractExecutionAuthorization defines authorization for wasm execute.
|
|
@@ -89,80 +89,17 @@ export interface AcceptedMessagesFilter {
|
|
|
89
89
|
/** Messages is the list of raw contract messages */
|
|
90
90
|
messages: Uint8Array[];
|
|
91
91
|
}
|
|
92
|
-
export declare const ContractExecutionAuthorization:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
export declare const
|
|
101
|
-
encode(message: ContractMigrationAuthorization, writer?: _m0.Writer): _m0.Writer;
|
|
102
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ContractMigrationAuthorization;
|
|
103
|
-
fromJSON(object: any): ContractMigrationAuthorization;
|
|
104
|
-
toJSON(message: ContractMigrationAuthorization): unknown;
|
|
105
|
-
create<I extends Exact<DeepPartial<ContractMigrationAuthorization>, I>>(base?: I): ContractMigrationAuthorization;
|
|
106
|
-
fromPartial<I extends Exact<DeepPartial<ContractMigrationAuthorization>, I>>(object: I): ContractMigrationAuthorization;
|
|
107
|
-
};
|
|
108
|
-
export declare const ContractGrant: {
|
|
109
|
-
encode(message: ContractGrant, writer?: _m0.Writer): _m0.Writer;
|
|
110
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): ContractGrant;
|
|
111
|
-
fromJSON(object: any): ContractGrant;
|
|
112
|
-
toJSON(message: ContractGrant): unknown;
|
|
113
|
-
create<I extends Exact<DeepPartial<ContractGrant>, I>>(base?: I): ContractGrant;
|
|
114
|
-
fromPartial<I extends Exact<DeepPartial<ContractGrant>, I>>(object: I): ContractGrant;
|
|
115
|
-
};
|
|
116
|
-
export declare const MaxCallsLimit: {
|
|
117
|
-
encode(message: MaxCallsLimit, writer?: _m0.Writer): _m0.Writer;
|
|
118
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MaxCallsLimit;
|
|
119
|
-
fromJSON(object: any): MaxCallsLimit;
|
|
120
|
-
toJSON(message: MaxCallsLimit): unknown;
|
|
121
|
-
create<I extends Exact<DeepPartial<MaxCallsLimit>, I>>(base?: I): MaxCallsLimit;
|
|
122
|
-
fromPartial<I extends Exact<DeepPartial<MaxCallsLimit>, I>>(object: I): MaxCallsLimit;
|
|
123
|
-
};
|
|
124
|
-
export declare const MaxFundsLimit: {
|
|
125
|
-
encode(message: MaxFundsLimit, writer?: _m0.Writer): _m0.Writer;
|
|
126
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): MaxFundsLimit;
|
|
127
|
-
fromJSON(object: any): MaxFundsLimit;
|
|
128
|
-
toJSON(message: MaxFundsLimit): unknown;
|
|
129
|
-
create<I extends Exact<DeepPartial<MaxFundsLimit>, I>>(base?: I): MaxFundsLimit;
|
|
130
|
-
fromPartial<I extends Exact<DeepPartial<MaxFundsLimit>, I>>(object: I): MaxFundsLimit;
|
|
131
|
-
};
|
|
132
|
-
export declare const CombinedLimit: {
|
|
133
|
-
encode(message: CombinedLimit, writer?: _m0.Writer): _m0.Writer;
|
|
134
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): CombinedLimit;
|
|
135
|
-
fromJSON(object: any): CombinedLimit;
|
|
136
|
-
toJSON(message: CombinedLimit): unknown;
|
|
137
|
-
create<I extends Exact<DeepPartial<CombinedLimit>, I>>(base?: I): CombinedLimit;
|
|
138
|
-
fromPartial<I extends Exact<DeepPartial<CombinedLimit>, I>>(object: I): CombinedLimit;
|
|
139
|
-
};
|
|
140
|
-
export declare const AllowAllMessagesFilter: {
|
|
141
|
-
encode(_: AllowAllMessagesFilter, writer?: _m0.Writer): _m0.Writer;
|
|
142
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): AllowAllMessagesFilter;
|
|
143
|
-
fromJSON(_: any): AllowAllMessagesFilter;
|
|
144
|
-
toJSON(_: AllowAllMessagesFilter): unknown;
|
|
145
|
-
create<I extends Exact<DeepPartial<AllowAllMessagesFilter>, I>>(base?: I): AllowAllMessagesFilter;
|
|
146
|
-
fromPartial<I extends Exact<DeepPartial<AllowAllMessagesFilter>, I>>(_: I): AllowAllMessagesFilter;
|
|
147
|
-
};
|
|
148
|
-
export declare const AcceptedMessageKeysFilter: {
|
|
149
|
-
encode(message: AcceptedMessageKeysFilter, writer?: _m0.Writer): _m0.Writer;
|
|
150
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessageKeysFilter;
|
|
151
|
-
fromJSON(object: any): AcceptedMessageKeysFilter;
|
|
152
|
-
toJSON(message: AcceptedMessageKeysFilter): unknown;
|
|
153
|
-
create<I extends Exact<DeepPartial<AcceptedMessageKeysFilter>, I>>(base?: I): AcceptedMessageKeysFilter;
|
|
154
|
-
fromPartial<I extends Exact<DeepPartial<AcceptedMessageKeysFilter>, I>>(object: I): AcceptedMessageKeysFilter;
|
|
155
|
-
};
|
|
156
|
-
export declare const AcceptedMessagesFilter: {
|
|
157
|
-
encode(message: AcceptedMessagesFilter, writer?: _m0.Writer): _m0.Writer;
|
|
158
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): AcceptedMessagesFilter;
|
|
159
|
-
fromJSON(object: any): AcceptedMessagesFilter;
|
|
160
|
-
toJSON(message: AcceptedMessagesFilter): unknown;
|
|
161
|
-
create<I extends Exact<DeepPartial<AcceptedMessagesFilter>, I>>(base?: I): AcceptedMessagesFilter;
|
|
162
|
-
fromPartial<I extends Exact<DeepPartial<AcceptedMessagesFilter>, I>>(object: I): AcceptedMessagesFilter;
|
|
163
|
-
};
|
|
92
|
+
export declare const ContractExecutionAuthorization: MessageFns<ContractExecutionAuthorization>;
|
|
93
|
+
export declare const ContractMigrationAuthorization: MessageFns<ContractMigrationAuthorization>;
|
|
94
|
+
export declare const ContractGrant: MessageFns<ContractGrant>;
|
|
95
|
+
export declare const MaxCallsLimit: MessageFns<MaxCallsLimit>;
|
|
96
|
+
export declare const MaxFundsLimit: MessageFns<MaxFundsLimit>;
|
|
97
|
+
export declare const CombinedLimit: MessageFns<CombinedLimit>;
|
|
98
|
+
export declare const AllowAllMessagesFilter: MessageFns<AllowAllMessagesFilter>;
|
|
99
|
+
export declare const AcceptedMessageKeysFilter: MessageFns<AcceptedMessageKeysFilter>;
|
|
100
|
+
export declare const AcceptedMessagesFilter: MessageFns<AcceptedMessagesFilter>;
|
|
164
101
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
165
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
102
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
166
103
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
167
104
|
} : Partial<T>;
|
|
168
105
|
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
@@ -171,4 +108,12 @@ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
|
171
108
|
} & {
|
|
172
109
|
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
173
110
|
};
|
|
111
|
+
export interface MessageFns<T> {
|
|
112
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
113
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
114
|
+
fromJSON(object: any): T;
|
|
115
|
+
toJSON(message: T): unknown;
|
|
116
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
117
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
118
|
+
}
|
|
174
119
|
export {};
|