coreum-js 2.3.1
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 +18 -0
- package/dist/main/client/index.d.ts +48 -0
- package/dist/main/client/index.js +242 -0
- package/dist/main/coreum/asset/ft/v1/event.d.ts +148 -0
- package/dist/main/coreum/asset/ft/v1/event.js +377 -0
- package/dist/main/coreum/asset/ft/v1/genesis.d.ts +415 -0
- package/dist/main/coreum/asset/ft/v1/genesis.js +197 -0
- package/dist/main/coreum/asset/ft/v1/params.d.ts +54 -0
- package/dist/main/coreum/asset/ft/v1/params.js +69 -0
- package/dist/main/coreum/asset/ft/v1/query.d.ts +1863 -0
- package/dist/main/coreum/asset/ft/v1/query.js +892 -0
- package/dist/main/coreum/asset/ft/v1/token.d.ts +145 -0
- package/dist/main/coreum/asset/ft/v1/token.js +361 -0
- package/dist/main/coreum/asset/ft/v1/tx.d.ts +416 -0
- package/dist/main/coreum/asset/ft/v1/tx.js +760 -0
- package/dist/main/coreum/asset/index.d.ts +3 -0
- package/dist/main/coreum/asset/index.js +26 -0
- package/dist/main/coreum/asset/nft/v1/event.d.ts +191 -0
- package/dist/main/coreum/asset/nft/v1/event.js +490 -0
- package/dist/main/coreum/asset/nft/v1/genesis.d.ts +321 -0
- package/dist/main/coreum/asset/nft/v1/genesis.js +362 -0
- package/dist/main/coreum/asset/nft/v1/nft.d.ts +153 -0
- package/dist/main/coreum/asset/nft/v1/nft.js +361 -0
- package/dist/main/coreum/asset/nft/v1/params.d.ts +54 -0
- package/dist/main/coreum/asset/nft/v1/params.js +69 -0
- package/dist/main/coreum/asset/nft/v1/query.d.ts +785 -0
- package/dist/main/coreum/asset/nft/v1/query.js +627 -0
- package/dist/main/coreum/asset/nft/v1/tx.d.ts +357 -0
- package/dist/main/coreum/asset/nft/v1/tx.js +806 -0
- package/dist/main/coreum/asset/nft/v1/types.d.ts +33 -0
- package/dist/main/coreum/asset/nft/v1/types.js +108 -0
- package/dist/main/coreum/customparams/v1/genesis.d.ts +48 -0
- package/dist/main/coreum/customparams/v1/genesis.js +70 -0
- package/dist/main/coreum/customparams/v1/params.d.ts +35 -0
- package/dist/main/coreum/customparams/v1/params.js +67 -0
- package/dist/main/coreum/customparams/v1/query.d.ts +74 -0
- package/dist/main/coreum/customparams/v1/query.js +119 -0
- package/dist/main/coreum/extensions/ft.d.ts +13 -0
- package/dist/main/coreum/extensions/ft.js +36 -0
- package/dist/main/coreum/extensions/nft.d.ts +11 -0
- package/dist/main/coreum/extensions/nft.js +30 -0
- package/dist/main/coreum/extensions/nftbeta.d.ts +13 -0
- package/dist/main/coreum/extensions/nftbeta.js +36 -0
- package/dist/main/coreum/feemodel/v1/genesis.d.ts +251 -0
- package/dist/main/coreum/feemodel/v1/genesis.js +87 -0
- package/dist/main/coreum/feemodel/v1/params.d.ts +384 -0
- package/dist/main/coreum/feemodel/v1/params.js +201 -0
- package/dist/main/coreum/feemodel/v1/query.d.ts +306 -0
- package/dist/main/coreum/feemodel/v1/query.js +214 -0
- package/dist/main/coreum/google/api/annotations.d.ts +1 -0
- package/dist/main/coreum/google/api/annotations.js +6 -0
- package/dist/main/coreum/google/api/http.d.ts +2953 -0
- package/dist/main/coreum/google/api/http.js +329 -0
- package/dist/main/coreum/google/protobuf/any.d.ts +148 -0
- package/dist/main/coreum/google/protobuf/any.js +122 -0
- package/dist/main/coreum/index.d.ts +291 -0
- package/dist/main/coreum/index.js +116 -0
- package/dist/main/coreum/nft/index.d.ts +2 -0
- package/dist/main/coreum/nft/index.js +9 -0
- package/dist/main/coreum/nft/v1beta1/event.d.ts +109 -0
- package/dist/main/coreum/nft/v1beta1/event.js +255 -0
- package/dist/main/coreum/nft/v1beta1/genesis.d.ts +460 -0
- package/dist/main/coreum/nft/v1beta1/genesis.js +160 -0
- package/dist/main/coreum/nft/v1beta1/nft.d.ts +153 -0
- package/dist/main/coreum/nft/v1beta1/nft.js +258 -0
- package/dist/main/coreum/nft/v1beta1/query.d.ts +1733 -0
- package/dist/main/coreum/nft/v1beta1/query.js +872 -0
- package/dist/main/coreum/nft/v1beta1/tx.d.ts +80 -0
- package/dist/main/coreum/nft/v1beta1/tx.js +155 -0
- package/dist/main/cosmos/base/query/v1beta1/pagination.d.ts +470 -0
- package/dist/main/cosmos/base/query/v1beta1/pagination.js +224 -0
- package/dist/main/cosmos/base/v1beta1/coin.d.ts +114 -0
- package/dist/main/cosmos/base/v1beta1/coin.js +242 -0
- package/dist/main/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/main/cosmos/msg/v1/msg.js +6 -0
- package/dist/main/index.d.ts +5 -0
- package/dist/main/index.js +22 -0
- package/dist/main/services/cosmostation.d.ts +4 -0
- package/dist/main/services/cosmostation.js +47 -0
- package/dist/main/services/index.d.ts +2 -0
- package/dist/main/services/index.js +19 -0
- package/dist/main/services/keplr.d.ts +2 -0
- package/dist/main/services/keplr.js +119 -0
- package/dist/main/signers/dcent.d.ts +1 -0
- package/dist/main/signers/dcent.js +41 -0
- package/dist/main/signers/index.d.ts +3 -0
- package/dist/main/signers/index.js +20 -0
- package/dist/main/signers/offline.d.ts +4 -0
- package/dist/main/signers/offline.js +11 -0
- package/dist/main/signers/signer.d.ts +6 -0
- package/dist/main/signers/signer.js +17 -0
- package/dist/main/types/core.d.ts +24 -0
- package/dist/main/types/core.js +18 -0
- package/dist/main/types/coreum.d.ts +74 -0
- package/dist/main/types/coreum.js +80 -0
- package/dist/main/types/index.d.ts +3 -0
- package/dist/main/types/index.js +20 -0
- package/dist/main/types/signing.d.ts +20 -0
- package/dist/main/types/signing.js +17 -0
- package/dist/main/utils/calculations.d.ts +6 -0
- package/dist/main/utils/calculations.js +41 -0
- package/dist/main/utils/event.d.ts +5 -0
- package/dist/main/utils/event.js +22 -0
- package/dist/main/utils/index.d.ts +3 -0
- package/dist/main/utils/index.js +20 -0
- package/dist/main/utils/nft.d.ts +2 -0
- package/dist/main/utils/nft.js +9 -0
- package/dist/main/utils/wallet.d.ts +5 -0
- package/dist/main/utils/wallet.js +37 -0
- package/dist/module/client/index.d.ts +48 -0
- package/dist/module/client/index.js +241 -0
- package/dist/module/coreum/asset/ft/v1/event.d.ts +148 -0
- package/dist/module/coreum/asset/ft/v1/event.js +368 -0
- package/dist/module/coreum/asset/ft/v1/genesis.d.ts +415 -0
- package/dist/module/coreum/asset/ft/v1/genesis.js +189 -0
- package/dist/module/coreum/asset/ft/v1/params.d.ts +54 -0
- package/dist/module/coreum/asset/ft/v1/params.js +63 -0
- package/dist/module/coreum/asset/ft/v1/query.d.ts +1863 -0
- package/dist/module/coreum/asset/ft/v1/query.js +878 -0
- package/dist/module/coreum/asset/ft/v1/token.d.ts +145 -0
- package/dist/module/coreum/asset/ft/v1/token.js +351 -0
- package/dist/module/coreum/asset/ft/v1/tx.d.ts +416 -0
- package/dist/module/coreum/asset/ft/v1/tx.js +747 -0
- package/dist/module/coreum/asset/index.d.ts +3 -0
- package/dist/module/coreum/asset/index.js +23 -0
- package/dist/module/coreum/asset/nft/v1/event.d.ts +191 -0
- package/dist/module/coreum/asset/nft/v1/event.js +479 -0
- package/dist/module/coreum/asset/nft/v1/genesis.d.ts +321 -0
- package/dist/module/coreum/asset/nft/v1/genesis.js +352 -0
- package/dist/module/coreum/asset/nft/v1/nft.d.ts +153 -0
- package/dist/module/coreum/asset/nft/v1/nft.js +351 -0
- package/dist/module/coreum/asset/nft/v1/params.d.ts +54 -0
- package/dist/module/coreum/asset/nft/v1/params.js +63 -0
- package/dist/module/coreum/asset/nft/v1/query.d.ts +785 -0
- package/dist/module/coreum/asset/nft/v1/query.js +615 -0
- package/dist/module/coreum/asset/nft/v1/tx.d.ts +357 -0
- package/dist/module/coreum/asset/nft/v1/tx.js +794 -0
- package/dist/module/coreum/asset/nft/v1/types.d.ts +33 -0
- package/dist/module/coreum/asset/nft/v1/types.js +101 -0
- package/dist/module/coreum/customparams/v1/genesis.d.ts +48 -0
- package/dist/module/coreum/customparams/v1/genesis.js +64 -0
- package/dist/module/coreum/customparams/v1/params.d.ts +35 -0
- package/dist/module/coreum/customparams/v1/params.js +60 -0
- package/dist/module/coreum/customparams/v1/query.d.ts +74 -0
- package/dist/module/coreum/customparams/v1/query.js +114 -0
- package/dist/module/coreum/extensions/ft.d.ts +13 -0
- package/dist/module/coreum/extensions/ft.js +32 -0
- package/dist/module/coreum/extensions/nft.d.ts +11 -0
- package/dist/module/coreum/extensions/nft.js +26 -0
- package/dist/module/coreum/extensions/nftbeta.d.ts +13 -0
- package/dist/module/coreum/extensions/nftbeta.js +32 -0
- package/dist/module/coreum/feemodel/v1/genesis.d.ts +251 -0
- package/dist/module/coreum/feemodel/v1/genesis.js +81 -0
- package/dist/module/coreum/feemodel/v1/params.d.ts +384 -0
- package/dist/module/coreum/feemodel/v1/params.js +194 -0
- package/dist/module/coreum/feemodel/v1/query.d.ts +306 -0
- package/dist/module/coreum/feemodel/v1/query.js +209 -0
- package/dist/module/coreum/google/api/annotations.d.ts +1 -0
- package/dist/module/coreum/google/api/annotations.js +3 -0
- package/dist/module/coreum/google/api/http.d.ts +2953 -0
- package/dist/module/coreum/google/api/http.js +320 -0
- package/dist/module/coreum/google/protobuf/any.d.ts +148 -0
- package/dist/module/coreum/google/protobuf/any.js +115 -0
- package/dist/module/coreum/index.d.ts +291 -0
- package/dist/module/coreum/index.js +113 -0
- package/dist/module/coreum/nft/index.d.ts +2 -0
- package/dist/module/coreum/nft/index.js +6 -0
- package/dist/module/coreum/nft/v1beta1/event.d.ts +109 -0
- package/dist/module/coreum/nft/v1beta1/event.js +246 -0
- package/dist/module/coreum/nft/v1beta1/genesis.d.ts +460 -0
- package/dist/module/coreum/nft/v1beta1/genesis.js +152 -0
- package/dist/module/coreum/nft/v1beta1/nft.d.ts +153 -0
- package/dist/module/coreum/nft/v1beta1/nft.js +250 -0
- package/dist/module/coreum/nft/v1beta1/query.d.ts +1733 -0
- package/dist/module/coreum/nft/v1beta1/query.js +858 -0
- package/dist/module/coreum/nft/v1beta1/tx.d.ts +80 -0
- package/dist/module/coreum/nft/v1beta1/tx.js +149 -0
- package/dist/module/cosmos/base/query/v1beta1/pagination.d.ts +470 -0
- package/dist/module/cosmos/base/query/v1beta1/pagination.js +216 -0
- package/dist/module/cosmos/base/v1beta1/coin.d.ts +114 -0
- package/dist/module/cosmos/base/v1beta1/coin.js +232 -0
- package/dist/module/cosmos/msg/v1/msg.d.ts +1 -0
- package/dist/module/cosmos/msg/v1/msg.js +3 -0
- package/dist/module/index.d.ts +5 -0
- package/dist/module/index.js +6 -0
- package/dist/module/services/cosmostation.d.ts +4 -0
- package/dist/module/services/cosmostation.js +42 -0
- package/dist/module/services/index.d.ts +2 -0
- package/dist/module/services/index.js +3 -0
- package/dist/module/services/keplr.d.ts +2 -0
- package/dist/module/services/keplr.js +115 -0
- package/dist/module/signers/dcent.d.ts +1 -0
- package/dist/module/signers/dcent.js +31 -0
- package/dist/module/signers/index.d.ts +3 -0
- package/dist/module/signers/index.js +4 -0
- package/dist/module/signers/offline.d.ts +4 -0
- package/dist/module/signers/offline.js +7 -0
- package/dist/module/signers/signer.d.ts +6 -0
- package/dist/module/signers/signer.js +11 -0
- package/dist/module/types/core.d.ts +24 -0
- package/dist/module/types/core.js +15 -0
- package/dist/module/types/coreum.d.ts +74 -0
- package/dist/module/types/coreum.js +77 -0
- package/dist/module/types/index.d.ts +3 -0
- package/dist/module/types/index.js +4 -0
- package/dist/module/types/signing.d.ts +20 -0
- package/dist/module/types/signing.js +14 -0
- package/dist/module/utils/calculations.d.ts +6 -0
- package/dist/module/utils/calculations.js +29 -0
- package/dist/module/utils/event.d.ts +5 -0
- package/dist/module/utils/event.js +18 -0
- package/dist/module/utils/index.d.ts +3 -0
- package/dist/module/utils/index.js +4 -0
- package/dist/module/utils/nft.d.ts +2 -0
- package/dist/module/utils/nft.js +5 -0
- package/dist/module/utils/wallet.d.ts +5 -0
- package/dist/module/utils/wallet.js +31 -0
- package/package.json +55 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import Long from "long";
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { ClassDefinition } from "./nft";
|
|
4
|
+
import { Params } from "./params";
|
|
5
|
+
export declare const protobufPackage = "coreum.asset.nft.v1";
|
|
6
|
+
/** GenesisState defines the nftasset module's genesis state. */
|
|
7
|
+
export interface GenesisState {
|
|
8
|
+
/** params defines all the parameters of the module. */
|
|
9
|
+
params?: Params;
|
|
10
|
+
/** class_definitions keep the non-fungible token class definitions state */
|
|
11
|
+
classDefinitions: ClassDefinition[];
|
|
12
|
+
frozenNfts: FrozenNFT[];
|
|
13
|
+
whitelistedNftAccounts: WhitelistedNFTAccounts[];
|
|
14
|
+
burntNfts: BurntNFT[];
|
|
15
|
+
}
|
|
16
|
+
export interface FrozenNFT {
|
|
17
|
+
classID: string;
|
|
18
|
+
nftIDs: string[];
|
|
19
|
+
}
|
|
20
|
+
export interface WhitelistedNFTAccounts {
|
|
21
|
+
classID: string;
|
|
22
|
+
nftID: string;
|
|
23
|
+
accounts: string[];
|
|
24
|
+
}
|
|
25
|
+
export interface BurntNFT {
|
|
26
|
+
classID: string;
|
|
27
|
+
nftIDs: string[];
|
|
28
|
+
}
|
|
29
|
+
export declare const GenesisState: {
|
|
30
|
+
encode(message: GenesisState, writer?: _m0.Writer): _m0.Writer;
|
|
31
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): GenesisState;
|
|
32
|
+
fromJSON(object: any): GenesisState;
|
|
33
|
+
toJSON(message: GenesisState): unknown;
|
|
34
|
+
create<I extends {
|
|
35
|
+
params?: {
|
|
36
|
+
mintFee?: {
|
|
37
|
+
denom?: string;
|
|
38
|
+
amount?: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
classDefinitions?: {
|
|
42
|
+
id?: string;
|
|
43
|
+
issuer?: string;
|
|
44
|
+
features?: import("./nft").ClassFeature[];
|
|
45
|
+
royaltyRate?: string;
|
|
46
|
+
}[];
|
|
47
|
+
frozenNfts?: {
|
|
48
|
+
classID?: string;
|
|
49
|
+
nftIDs?: string[];
|
|
50
|
+
}[];
|
|
51
|
+
whitelistedNftAccounts?: {
|
|
52
|
+
classID?: string;
|
|
53
|
+
nftID?: string;
|
|
54
|
+
accounts?: string[];
|
|
55
|
+
}[];
|
|
56
|
+
burntNfts?: {
|
|
57
|
+
classID?: string;
|
|
58
|
+
nftIDs?: string[];
|
|
59
|
+
}[];
|
|
60
|
+
} & {
|
|
61
|
+
params?: {
|
|
62
|
+
mintFee?: {
|
|
63
|
+
denom?: string;
|
|
64
|
+
amount?: string;
|
|
65
|
+
};
|
|
66
|
+
} & {
|
|
67
|
+
mintFee?: {
|
|
68
|
+
denom?: string;
|
|
69
|
+
amount?: string;
|
|
70
|
+
} & {
|
|
71
|
+
denom?: string;
|
|
72
|
+
amount?: string;
|
|
73
|
+
} & { [K in Exclude<keyof I["params"]["mintFee"], keyof import("../../../../cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
74
|
+
} & { [K_1 in Exclude<keyof I["params"], "mintFee">]: never; };
|
|
75
|
+
classDefinitions?: {
|
|
76
|
+
id?: string;
|
|
77
|
+
issuer?: string;
|
|
78
|
+
features?: import("./nft").ClassFeature[];
|
|
79
|
+
royaltyRate?: string;
|
|
80
|
+
}[] & ({
|
|
81
|
+
id?: string;
|
|
82
|
+
issuer?: string;
|
|
83
|
+
features?: import("./nft").ClassFeature[];
|
|
84
|
+
royaltyRate?: string;
|
|
85
|
+
} & {
|
|
86
|
+
id?: string;
|
|
87
|
+
issuer?: string;
|
|
88
|
+
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_2 in Exclude<keyof I["classDefinitions"][number]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
89
|
+
royaltyRate?: string;
|
|
90
|
+
} & { [K_3 in Exclude<keyof I["classDefinitions"][number], keyof ClassDefinition>]: never; })[] & { [K_4 in Exclude<keyof I["classDefinitions"], keyof {
|
|
91
|
+
id?: string;
|
|
92
|
+
issuer?: string;
|
|
93
|
+
features?: import("./nft").ClassFeature[];
|
|
94
|
+
royaltyRate?: string;
|
|
95
|
+
}[]>]: never; };
|
|
96
|
+
frozenNfts?: {
|
|
97
|
+
classID?: string;
|
|
98
|
+
nftIDs?: string[];
|
|
99
|
+
}[] & ({
|
|
100
|
+
classID?: string;
|
|
101
|
+
nftIDs?: string[];
|
|
102
|
+
} & {
|
|
103
|
+
classID?: string;
|
|
104
|
+
nftIDs?: string[] & string[] & { [K_5 in Exclude<keyof I["frozenNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
105
|
+
} & { [K_6 in Exclude<keyof I["frozenNfts"][number], keyof FrozenNFT>]: never; })[] & { [K_7 in Exclude<keyof I["frozenNfts"], keyof {
|
|
106
|
+
classID?: string;
|
|
107
|
+
nftIDs?: string[];
|
|
108
|
+
}[]>]: never; };
|
|
109
|
+
whitelistedNftAccounts?: {
|
|
110
|
+
classID?: string;
|
|
111
|
+
nftID?: string;
|
|
112
|
+
accounts?: string[];
|
|
113
|
+
}[] & ({
|
|
114
|
+
classID?: string;
|
|
115
|
+
nftID?: string;
|
|
116
|
+
accounts?: string[];
|
|
117
|
+
} & {
|
|
118
|
+
classID?: string;
|
|
119
|
+
nftID?: string;
|
|
120
|
+
accounts?: string[] & string[] & { [K_8 in Exclude<keyof I["whitelistedNftAccounts"][number]["accounts"], keyof string[]>]: never; };
|
|
121
|
+
} & { [K_9 in Exclude<keyof I["whitelistedNftAccounts"][number], keyof WhitelistedNFTAccounts>]: never; })[] & { [K_10 in Exclude<keyof I["whitelistedNftAccounts"], keyof {
|
|
122
|
+
classID?: string;
|
|
123
|
+
nftID?: string;
|
|
124
|
+
accounts?: string[];
|
|
125
|
+
}[]>]: never; };
|
|
126
|
+
burntNfts?: {
|
|
127
|
+
classID?: string;
|
|
128
|
+
nftIDs?: string[];
|
|
129
|
+
}[] & ({
|
|
130
|
+
classID?: string;
|
|
131
|
+
nftIDs?: string[];
|
|
132
|
+
} & {
|
|
133
|
+
classID?: string;
|
|
134
|
+
nftIDs?: string[] & string[] & { [K_11 in Exclude<keyof I["burntNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
135
|
+
} & { [K_12 in Exclude<keyof I["burntNfts"][number], keyof BurntNFT>]: never; })[] & { [K_13 in Exclude<keyof I["burntNfts"], keyof {
|
|
136
|
+
classID?: string;
|
|
137
|
+
nftIDs?: string[];
|
|
138
|
+
}[]>]: never; };
|
|
139
|
+
} & { [K_14 in Exclude<keyof I, keyof GenesisState>]: never; }>(base?: I): GenesisState;
|
|
140
|
+
fromPartial<I_1 extends {
|
|
141
|
+
params?: {
|
|
142
|
+
mintFee?: {
|
|
143
|
+
denom?: string;
|
|
144
|
+
amount?: string;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
classDefinitions?: {
|
|
148
|
+
id?: string;
|
|
149
|
+
issuer?: string;
|
|
150
|
+
features?: import("./nft").ClassFeature[];
|
|
151
|
+
royaltyRate?: string;
|
|
152
|
+
}[];
|
|
153
|
+
frozenNfts?: {
|
|
154
|
+
classID?: string;
|
|
155
|
+
nftIDs?: string[];
|
|
156
|
+
}[];
|
|
157
|
+
whitelistedNftAccounts?: {
|
|
158
|
+
classID?: string;
|
|
159
|
+
nftID?: string;
|
|
160
|
+
accounts?: string[];
|
|
161
|
+
}[];
|
|
162
|
+
burntNfts?: {
|
|
163
|
+
classID?: string;
|
|
164
|
+
nftIDs?: string[];
|
|
165
|
+
}[];
|
|
166
|
+
} & {
|
|
167
|
+
params?: {
|
|
168
|
+
mintFee?: {
|
|
169
|
+
denom?: string;
|
|
170
|
+
amount?: string;
|
|
171
|
+
};
|
|
172
|
+
} & {
|
|
173
|
+
mintFee?: {
|
|
174
|
+
denom?: string;
|
|
175
|
+
amount?: string;
|
|
176
|
+
} & {
|
|
177
|
+
denom?: string;
|
|
178
|
+
amount?: string;
|
|
179
|
+
} & { [K_15 in Exclude<keyof I_1["params"]["mintFee"], keyof import("../../../../cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
180
|
+
} & { [K_16 in Exclude<keyof I_1["params"], "mintFee">]: never; };
|
|
181
|
+
classDefinitions?: {
|
|
182
|
+
id?: string;
|
|
183
|
+
issuer?: string;
|
|
184
|
+
features?: import("./nft").ClassFeature[];
|
|
185
|
+
royaltyRate?: string;
|
|
186
|
+
}[] & ({
|
|
187
|
+
id?: string;
|
|
188
|
+
issuer?: string;
|
|
189
|
+
features?: import("./nft").ClassFeature[];
|
|
190
|
+
royaltyRate?: string;
|
|
191
|
+
} & {
|
|
192
|
+
id?: string;
|
|
193
|
+
issuer?: string;
|
|
194
|
+
features?: import("./nft").ClassFeature[] & import("./nft").ClassFeature[] & { [K_17 in Exclude<keyof I_1["classDefinitions"][number]["features"], keyof import("./nft").ClassFeature[]>]: never; };
|
|
195
|
+
royaltyRate?: string;
|
|
196
|
+
} & { [K_18 in Exclude<keyof I_1["classDefinitions"][number], keyof ClassDefinition>]: never; })[] & { [K_19 in Exclude<keyof I_1["classDefinitions"], keyof {
|
|
197
|
+
id?: string;
|
|
198
|
+
issuer?: string;
|
|
199
|
+
features?: import("./nft").ClassFeature[];
|
|
200
|
+
royaltyRate?: string;
|
|
201
|
+
}[]>]: never; };
|
|
202
|
+
frozenNfts?: {
|
|
203
|
+
classID?: string;
|
|
204
|
+
nftIDs?: string[];
|
|
205
|
+
}[] & ({
|
|
206
|
+
classID?: string;
|
|
207
|
+
nftIDs?: string[];
|
|
208
|
+
} & {
|
|
209
|
+
classID?: string;
|
|
210
|
+
nftIDs?: string[] & string[] & { [K_20 in Exclude<keyof I_1["frozenNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
211
|
+
} & { [K_21 in Exclude<keyof I_1["frozenNfts"][number], keyof FrozenNFT>]: never; })[] & { [K_22 in Exclude<keyof I_1["frozenNfts"], keyof {
|
|
212
|
+
classID?: string;
|
|
213
|
+
nftIDs?: string[];
|
|
214
|
+
}[]>]: never; };
|
|
215
|
+
whitelistedNftAccounts?: {
|
|
216
|
+
classID?: string;
|
|
217
|
+
nftID?: string;
|
|
218
|
+
accounts?: string[];
|
|
219
|
+
}[] & ({
|
|
220
|
+
classID?: string;
|
|
221
|
+
nftID?: string;
|
|
222
|
+
accounts?: string[];
|
|
223
|
+
} & {
|
|
224
|
+
classID?: string;
|
|
225
|
+
nftID?: string;
|
|
226
|
+
accounts?: string[] & string[] & { [K_23 in Exclude<keyof I_1["whitelistedNftAccounts"][number]["accounts"], keyof string[]>]: never; };
|
|
227
|
+
} & { [K_24 in Exclude<keyof I_1["whitelistedNftAccounts"][number], keyof WhitelistedNFTAccounts>]: never; })[] & { [K_25 in Exclude<keyof I_1["whitelistedNftAccounts"], keyof {
|
|
228
|
+
classID?: string;
|
|
229
|
+
nftID?: string;
|
|
230
|
+
accounts?: string[];
|
|
231
|
+
}[]>]: never; };
|
|
232
|
+
burntNfts?: {
|
|
233
|
+
classID?: string;
|
|
234
|
+
nftIDs?: string[];
|
|
235
|
+
}[] & ({
|
|
236
|
+
classID?: string;
|
|
237
|
+
nftIDs?: string[];
|
|
238
|
+
} & {
|
|
239
|
+
classID?: string;
|
|
240
|
+
nftIDs?: string[] & string[] & { [K_26 in Exclude<keyof I_1["burntNfts"][number]["nftIDs"], keyof string[]>]: never; };
|
|
241
|
+
} & { [K_27 in Exclude<keyof I_1["burntNfts"][number], keyof BurntNFT>]: never; })[] & { [K_28 in Exclude<keyof I_1["burntNfts"], keyof {
|
|
242
|
+
classID?: string;
|
|
243
|
+
nftIDs?: string[];
|
|
244
|
+
}[]>]: never; };
|
|
245
|
+
} & { [K_29 in Exclude<keyof I_1, keyof GenesisState>]: never; }>(object: I_1): GenesisState;
|
|
246
|
+
};
|
|
247
|
+
export declare const FrozenNFT: {
|
|
248
|
+
encode(message: FrozenNFT, writer?: _m0.Writer): _m0.Writer;
|
|
249
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): FrozenNFT;
|
|
250
|
+
fromJSON(object: any): FrozenNFT;
|
|
251
|
+
toJSON(message: FrozenNFT): unknown;
|
|
252
|
+
create<I extends {
|
|
253
|
+
classID?: string;
|
|
254
|
+
nftIDs?: string[];
|
|
255
|
+
} & {
|
|
256
|
+
classID?: string;
|
|
257
|
+
nftIDs?: string[] & string[] & { [K in Exclude<keyof I["nftIDs"], keyof string[]>]: never; };
|
|
258
|
+
} & { [K_1 in Exclude<keyof I, keyof FrozenNFT>]: never; }>(base?: I): FrozenNFT;
|
|
259
|
+
fromPartial<I_1 extends {
|
|
260
|
+
classID?: string;
|
|
261
|
+
nftIDs?: string[];
|
|
262
|
+
} & {
|
|
263
|
+
classID?: string;
|
|
264
|
+
nftIDs?: string[] & string[] & { [K_2 in Exclude<keyof I_1["nftIDs"], keyof string[]>]: never; };
|
|
265
|
+
} & { [K_3 in Exclude<keyof I_1, keyof FrozenNFT>]: never; }>(object: I_1): FrozenNFT;
|
|
266
|
+
};
|
|
267
|
+
export declare const WhitelistedNFTAccounts: {
|
|
268
|
+
encode(message: WhitelistedNFTAccounts, writer?: _m0.Writer): _m0.Writer;
|
|
269
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): WhitelistedNFTAccounts;
|
|
270
|
+
fromJSON(object: any): WhitelistedNFTAccounts;
|
|
271
|
+
toJSON(message: WhitelistedNFTAccounts): unknown;
|
|
272
|
+
create<I extends {
|
|
273
|
+
classID?: string;
|
|
274
|
+
nftID?: string;
|
|
275
|
+
accounts?: string[];
|
|
276
|
+
} & {
|
|
277
|
+
classID?: string;
|
|
278
|
+
nftID?: string;
|
|
279
|
+
accounts?: string[] & string[] & { [K in Exclude<keyof I["accounts"], keyof string[]>]: never; };
|
|
280
|
+
} & { [K_1 in Exclude<keyof I, keyof WhitelistedNFTAccounts>]: never; }>(base?: I): WhitelistedNFTAccounts;
|
|
281
|
+
fromPartial<I_1 extends {
|
|
282
|
+
classID?: string;
|
|
283
|
+
nftID?: string;
|
|
284
|
+
accounts?: string[];
|
|
285
|
+
} & {
|
|
286
|
+
classID?: string;
|
|
287
|
+
nftID?: string;
|
|
288
|
+
accounts?: string[] & string[] & { [K_2 in Exclude<keyof I_1["accounts"], keyof string[]>]: never; };
|
|
289
|
+
} & { [K_3 in Exclude<keyof I_1, keyof WhitelistedNFTAccounts>]: never; }>(object: I_1): WhitelistedNFTAccounts;
|
|
290
|
+
};
|
|
291
|
+
export declare const BurntNFT: {
|
|
292
|
+
encode(message: BurntNFT, writer?: _m0.Writer): _m0.Writer;
|
|
293
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BurntNFT;
|
|
294
|
+
fromJSON(object: any): BurntNFT;
|
|
295
|
+
toJSON(message: BurntNFT): unknown;
|
|
296
|
+
create<I extends {
|
|
297
|
+
classID?: string;
|
|
298
|
+
nftIDs?: string[];
|
|
299
|
+
} & {
|
|
300
|
+
classID?: string;
|
|
301
|
+
nftIDs?: string[] & string[] & { [K in Exclude<keyof I["nftIDs"], keyof string[]>]: never; };
|
|
302
|
+
} & { [K_1 in Exclude<keyof I, keyof BurntNFT>]: never; }>(base?: I): BurntNFT;
|
|
303
|
+
fromPartial<I_1 extends {
|
|
304
|
+
classID?: string;
|
|
305
|
+
nftIDs?: string[];
|
|
306
|
+
} & {
|
|
307
|
+
classID?: string;
|
|
308
|
+
nftIDs?: string[] & string[] & { [K_2 in Exclude<keyof I_1["nftIDs"], keyof string[]>]: never; };
|
|
309
|
+
} & { [K_3 in Exclude<keyof I_1, keyof BurntNFT>]: never; }>(object: I_1): BurntNFT;
|
|
310
|
+
};
|
|
311
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
312
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends Long ? string | number | Long : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
313
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
314
|
+
} : Partial<T>;
|
|
315
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
316
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
317
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
318
|
+
} & {
|
|
319
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
320
|
+
};
|
|
321
|
+
export {};
|