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,291 @@
|
|
|
1
|
+
import { GeneratedType } from "@cosmjs/proto-signing";
|
|
2
|
+
import { MsgSend as NFTMsgSend } from "./nft/v1beta1/tx";
|
|
3
|
+
import { MsgIssueClass as NFTMsgIssueClass, MsgMint as NFTMsgMint, MsgAddToWhitelist as NFTMsgAddToWhitelist, MsgBurn as NFTMsgBurn, MsgRemoveFromWhitelist as NFTMsgRemoveFromWhitelist, MsgFreeze as NFTMsgFreeze, MsgUnfreeze as NFTMsgUnfreeze } from "./asset/nft/v1/tx";
|
|
4
|
+
import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit } from "./asset/ft/v1/tx";
|
|
5
|
+
export interface CoreumMessage {
|
|
6
|
+
typeUrl: string;
|
|
7
|
+
value: any;
|
|
8
|
+
}
|
|
9
|
+
export declare const coreumRegistry: ReadonlyArray<[string, GeneratedType]>;
|
|
10
|
+
export declare namespace FT {
|
|
11
|
+
const MsgMint: <I extends {
|
|
12
|
+
classId?: string;
|
|
13
|
+
id?: string;
|
|
14
|
+
sender?: string;
|
|
15
|
+
receiver?: string;
|
|
16
|
+
} & {
|
|
17
|
+
classId?: string;
|
|
18
|
+
id?: string;
|
|
19
|
+
sender?: string;
|
|
20
|
+
receiver?: string;
|
|
21
|
+
} & { [K in Exclude<keyof I, keyof NFTMsgSend>]: never; }>(object: I) => {
|
|
22
|
+
typeUrl: string;
|
|
23
|
+
value: FTMsgMint;
|
|
24
|
+
};
|
|
25
|
+
const MsgIssue: <I extends {
|
|
26
|
+
issuer?: string;
|
|
27
|
+
symbol?: string;
|
|
28
|
+
subunit?: string;
|
|
29
|
+
precision?: number;
|
|
30
|
+
initialAmount?: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
features?: import("./asset/ft/v1/token").Feature[];
|
|
33
|
+
burnRate?: string;
|
|
34
|
+
sendCommissionRate?: string;
|
|
35
|
+
} & {
|
|
36
|
+
issuer?: string;
|
|
37
|
+
symbol?: string;
|
|
38
|
+
subunit?: string;
|
|
39
|
+
precision?: number;
|
|
40
|
+
initialAmount?: string;
|
|
41
|
+
description?: string;
|
|
42
|
+
features?: import("./asset/ft/v1/token").Feature[] & import("./asset/ft/v1/token").Feature[] & { [K in Exclude<keyof I["features"], keyof import("./asset/ft/v1/token").Feature[]>]: never; };
|
|
43
|
+
burnRate?: string;
|
|
44
|
+
sendCommissionRate?: string;
|
|
45
|
+
} & { [K_1 in Exclude<keyof I, keyof FTMsgIssue>]: never; }>(object: I) => {
|
|
46
|
+
typeUrl: string;
|
|
47
|
+
value: FTMsgIssue;
|
|
48
|
+
};
|
|
49
|
+
const MsgBurn: <I extends {
|
|
50
|
+
sender?: string;
|
|
51
|
+
coin?: {
|
|
52
|
+
denom?: string;
|
|
53
|
+
amount?: string;
|
|
54
|
+
};
|
|
55
|
+
} & {
|
|
56
|
+
sender?: string;
|
|
57
|
+
coin?: {
|
|
58
|
+
denom?: string;
|
|
59
|
+
amount?: string;
|
|
60
|
+
} & {
|
|
61
|
+
denom?: string;
|
|
62
|
+
amount?: string;
|
|
63
|
+
} & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
64
|
+
} & { [K_1 in Exclude<keyof I, keyof FTMsgBurn>]: never; }>(object: I) => {
|
|
65
|
+
typeUrl: string;
|
|
66
|
+
value: FTMsgBurn;
|
|
67
|
+
};
|
|
68
|
+
const MsgFreeze: <I extends {
|
|
69
|
+
sender?: string;
|
|
70
|
+
account?: string;
|
|
71
|
+
coin?: {
|
|
72
|
+
denom?: string;
|
|
73
|
+
amount?: string;
|
|
74
|
+
};
|
|
75
|
+
} & {
|
|
76
|
+
sender?: string;
|
|
77
|
+
account?: string;
|
|
78
|
+
coin?: {
|
|
79
|
+
denom?: string;
|
|
80
|
+
amount?: string;
|
|
81
|
+
} & {
|
|
82
|
+
denom?: string;
|
|
83
|
+
amount?: string;
|
|
84
|
+
} & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
85
|
+
} & { [K_1 in Exclude<keyof I, keyof FTMsgFreeze>]: never; }>(object: I) => {
|
|
86
|
+
typeUrl: string;
|
|
87
|
+
value: FTMsgFreeze;
|
|
88
|
+
};
|
|
89
|
+
const MsgGloballyFreeze: <I extends {
|
|
90
|
+
sender?: string;
|
|
91
|
+
denom?: string;
|
|
92
|
+
} & {
|
|
93
|
+
sender?: string;
|
|
94
|
+
denom?: string;
|
|
95
|
+
} & { [K in Exclude<keyof I, keyof FTMsgGloballyFreeze>]: never; }>(object: I) => {
|
|
96
|
+
typeUrl: string;
|
|
97
|
+
value: FTMsgGloballyFreeze;
|
|
98
|
+
};
|
|
99
|
+
const MsgGloballyUnfreeze: <I extends {
|
|
100
|
+
sender?: string;
|
|
101
|
+
denom?: string;
|
|
102
|
+
} & {
|
|
103
|
+
sender?: string;
|
|
104
|
+
denom?: string;
|
|
105
|
+
} & { [K in Exclude<keyof I, keyof FTMsgGloballyUnfreeze>]: never; }>(object: I) => {
|
|
106
|
+
typeUrl: string;
|
|
107
|
+
value: FTMsgGloballyUnfreeze;
|
|
108
|
+
};
|
|
109
|
+
const MsgUnfreeze: <I extends {
|
|
110
|
+
sender?: string;
|
|
111
|
+
account?: string;
|
|
112
|
+
coin?: {
|
|
113
|
+
denom?: string;
|
|
114
|
+
amount?: string;
|
|
115
|
+
};
|
|
116
|
+
} & {
|
|
117
|
+
sender?: string;
|
|
118
|
+
account?: string;
|
|
119
|
+
coin?: {
|
|
120
|
+
denom?: string;
|
|
121
|
+
amount?: string;
|
|
122
|
+
} & {
|
|
123
|
+
denom?: string;
|
|
124
|
+
amount?: string;
|
|
125
|
+
} & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
126
|
+
} & { [K_1 in Exclude<keyof I, keyof FTMsgUnfreeze>]: never; }>(object: I) => {
|
|
127
|
+
typeUrl: string;
|
|
128
|
+
value: FTMsgUnfreeze;
|
|
129
|
+
};
|
|
130
|
+
const MsgSetWhitelistedLimit: <I extends {
|
|
131
|
+
sender?: string;
|
|
132
|
+
account?: string;
|
|
133
|
+
coin?: {
|
|
134
|
+
denom?: string;
|
|
135
|
+
amount?: string;
|
|
136
|
+
};
|
|
137
|
+
} & {
|
|
138
|
+
sender?: string;
|
|
139
|
+
account?: string;
|
|
140
|
+
coin?: {
|
|
141
|
+
denom?: string;
|
|
142
|
+
amount?: string;
|
|
143
|
+
} & {
|
|
144
|
+
denom?: string;
|
|
145
|
+
amount?: string;
|
|
146
|
+
} & { [K in Exclude<keyof I["coin"], keyof import("../cosmos/base/v1beta1/coin").Coin>]: never; };
|
|
147
|
+
} & { [K_1 in Exclude<keyof I, keyof FTMsgSetWhitelistedLimit>]: never; }>(object: I) => {
|
|
148
|
+
typeUrl: string;
|
|
149
|
+
value: FTMsgSetWhitelistedLimit;
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
export declare namespace NFT {
|
|
153
|
+
const MsgMint: <I extends {
|
|
154
|
+
sender?: string;
|
|
155
|
+
classId?: string;
|
|
156
|
+
id?: string;
|
|
157
|
+
uri?: string;
|
|
158
|
+
uriHash?: string;
|
|
159
|
+
data?: {
|
|
160
|
+
typeUrl?: string;
|
|
161
|
+
value?: Uint8Array;
|
|
162
|
+
};
|
|
163
|
+
} & {
|
|
164
|
+
sender?: string;
|
|
165
|
+
classId?: string;
|
|
166
|
+
id?: string;
|
|
167
|
+
uri?: string;
|
|
168
|
+
uriHash?: string;
|
|
169
|
+
data?: {
|
|
170
|
+
typeUrl?: string;
|
|
171
|
+
value?: Uint8Array;
|
|
172
|
+
} & {
|
|
173
|
+
typeUrl?: string;
|
|
174
|
+
value?: Uint8Array;
|
|
175
|
+
} & { [K in Exclude<keyof I["data"], keyof import("./google/protobuf/any").Any>]: never; };
|
|
176
|
+
} & { [K_1 in Exclude<keyof I, keyof NFTMsgMint>]: never; }>(object: I) => {
|
|
177
|
+
typeUrl: string;
|
|
178
|
+
value: NFTMsgMint;
|
|
179
|
+
};
|
|
180
|
+
const MsgAddToWhitelist: <I extends {
|
|
181
|
+
sender?: string;
|
|
182
|
+
classId?: string;
|
|
183
|
+
id?: string;
|
|
184
|
+
account?: string;
|
|
185
|
+
} & {
|
|
186
|
+
sender?: string;
|
|
187
|
+
classId?: string;
|
|
188
|
+
id?: string;
|
|
189
|
+
account?: string;
|
|
190
|
+
} & { [K in Exclude<keyof I, keyof NFTMsgAddToWhitelist>]: never; }>(object: I) => {
|
|
191
|
+
typeUrl: string;
|
|
192
|
+
value: NFTMsgAddToWhitelist;
|
|
193
|
+
};
|
|
194
|
+
const MsgRemoveFromWhitelist: <I extends {
|
|
195
|
+
sender?: string;
|
|
196
|
+
classId?: string;
|
|
197
|
+
id?: string;
|
|
198
|
+
account?: string;
|
|
199
|
+
} & {
|
|
200
|
+
sender?: string;
|
|
201
|
+
classId?: string;
|
|
202
|
+
id?: string;
|
|
203
|
+
account?: string;
|
|
204
|
+
} & { [K in Exclude<keyof I, keyof NFTMsgRemoveFromWhitelist>]: never; }>(object: I) => {
|
|
205
|
+
typeUrl: string;
|
|
206
|
+
value: NFTMsgRemoveFromWhitelist;
|
|
207
|
+
};
|
|
208
|
+
const MsgBurn: <I extends {
|
|
209
|
+
sender?: string;
|
|
210
|
+
classId?: string;
|
|
211
|
+
id?: string;
|
|
212
|
+
} & {
|
|
213
|
+
sender?: string;
|
|
214
|
+
classId?: string;
|
|
215
|
+
id?: string;
|
|
216
|
+
} & { [K in Exclude<keyof I, keyof NFTMsgBurn>]: never; }>(object: I) => {
|
|
217
|
+
typeUrl: string;
|
|
218
|
+
value: NFTMsgBurn;
|
|
219
|
+
};
|
|
220
|
+
const MsgFreeze: <I extends {
|
|
221
|
+
sender?: string;
|
|
222
|
+
classId?: string;
|
|
223
|
+
id?: string;
|
|
224
|
+
} & {
|
|
225
|
+
sender?: string;
|
|
226
|
+
classId?: string;
|
|
227
|
+
id?: string;
|
|
228
|
+
} & { [K in Exclude<keyof I, keyof NFTMsgFreeze>]: never; }>(object: I) => {
|
|
229
|
+
typeUrl: string;
|
|
230
|
+
value: NFTMsgFreeze;
|
|
231
|
+
};
|
|
232
|
+
const MsgUnfreeze: <I extends {
|
|
233
|
+
sender?: string;
|
|
234
|
+
classId?: string;
|
|
235
|
+
id?: string;
|
|
236
|
+
} & {
|
|
237
|
+
sender?: string;
|
|
238
|
+
classId?: string;
|
|
239
|
+
id?: string;
|
|
240
|
+
} & { [K in Exclude<keyof I, keyof NFTMsgUnfreeze>]: never; }>(object: I) => {
|
|
241
|
+
typeUrl: string;
|
|
242
|
+
value: NFTMsgUnfreeze;
|
|
243
|
+
};
|
|
244
|
+
const MsgIssueClass: <I extends {
|
|
245
|
+
issuer?: string;
|
|
246
|
+
symbol?: string;
|
|
247
|
+
name?: string;
|
|
248
|
+
description?: string;
|
|
249
|
+
uri?: string;
|
|
250
|
+
uriHash?: string;
|
|
251
|
+
data?: {
|
|
252
|
+
typeUrl?: string;
|
|
253
|
+
value?: Uint8Array;
|
|
254
|
+
};
|
|
255
|
+
features?: import("./asset/nft/v1/nft").ClassFeature[];
|
|
256
|
+
royaltyRate?: string;
|
|
257
|
+
} & {
|
|
258
|
+
issuer?: string;
|
|
259
|
+
symbol?: string;
|
|
260
|
+
name?: string;
|
|
261
|
+
description?: string;
|
|
262
|
+
uri?: string;
|
|
263
|
+
uriHash?: string;
|
|
264
|
+
data?: {
|
|
265
|
+
typeUrl?: string;
|
|
266
|
+
value?: Uint8Array;
|
|
267
|
+
} & {
|
|
268
|
+
typeUrl?: string;
|
|
269
|
+
value?: Uint8Array;
|
|
270
|
+
} & { [K in Exclude<keyof I["data"], keyof import("./google/protobuf/any").Any>]: never; };
|
|
271
|
+
features?: import("./asset/nft/v1/nft").ClassFeature[] & import("./asset/nft/v1/nft").ClassFeature[] & { [K_1 in Exclude<keyof I["features"], keyof import("./asset/nft/v1/nft").ClassFeature[]>]: never; };
|
|
272
|
+
royaltyRate?: string;
|
|
273
|
+
} & { [K_2 in Exclude<keyof I, keyof NFTMsgIssueClass>]: never; }>(object: I) => {
|
|
274
|
+
typeUrl: string;
|
|
275
|
+
value: NFTMsgIssueClass;
|
|
276
|
+
};
|
|
277
|
+
const MsgSend: <I extends {
|
|
278
|
+
classId?: string;
|
|
279
|
+
id?: string;
|
|
280
|
+
sender?: string;
|
|
281
|
+
receiver?: string;
|
|
282
|
+
} & {
|
|
283
|
+
classId?: string;
|
|
284
|
+
id?: string;
|
|
285
|
+
sender?: string;
|
|
286
|
+
receiver?: string;
|
|
287
|
+
} & { [K in Exclude<keyof I, keyof NFTMsgSend>]: never; }>(object: I) => {
|
|
288
|
+
typeUrl: string;
|
|
289
|
+
value: NFTMsgSend;
|
|
290
|
+
};
|
|
291
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { assetNftRegistry, assetFtRegistry } from "./asset";
|
|
2
|
+
import { nftBetaRegistry } from "./nft";
|
|
3
|
+
import { MsgSend as NFTMsgSend } from "./nft/v1beta1/tx";
|
|
4
|
+
import { MsgIssueClass as NFTMsgIssueClass, MsgMint as NFTMsgMint, MsgAddToWhitelist as NFTMsgAddToWhitelist, MsgBurn as NFTMsgBurn, MsgRemoveFromWhitelist as NFTMsgRemoveFromWhitelist, MsgFreeze as NFTMsgFreeze, MsgUnfreeze as NFTMsgUnfreeze, } from "./asset/nft/v1/tx";
|
|
5
|
+
import { MsgIssue as FTMsgIssue, MsgMint as FTMsgMint, MsgBurn as FTMsgBurn, MsgFreeze as FTMsgFreeze, MsgUnfreeze as FTMsgUnfreeze, MsgGloballyFreeze as FTMsgGloballyFreeze, MsgGloballyUnfreeze as FTMsgGloballyUnfreeze, MsgSetWhitelistedLimit as FTMsgSetWhitelistedLimit, } from "./asset/ft/v1/tx";
|
|
6
|
+
export const coreumRegistry = [
|
|
7
|
+
...assetFtRegistry,
|
|
8
|
+
...assetNftRegistry,
|
|
9
|
+
...nftBetaRegistry,
|
|
10
|
+
];
|
|
11
|
+
export var FT;
|
|
12
|
+
(function (FT) {
|
|
13
|
+
FT.MsgMint = function (object) {
|
|
14
|
+
return {
|
|
15
|
+
typeUrl: "/coreum.asset.ft.v1.MsgMint",
|
|
16
|
+
value: FTMsgMint.fromPartial(object),
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
FT.MsgIssue = function (object) {
|
|
20
|
+
return {
|
|
21
|
+
typeUrl: "/coreum.asset.ft.v1.MsgIssue",
|
|
22
|
+
value: FTMsgIssue.fromPartial(object),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
FT.MsgBurn = function (object) {
|
|
26
|
+
return {
|
|
27
|
+
typeUrl: "/coreum.asset.ft.v1.MsgBurn",
|
|
28
|
+
value: FTMsgBurn.fromPartial(object),
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
FT.MsgFreeze = function (object) {
|
|
32
|
+
return {
|
|
33
|
+
typeUrl: "/coreum.asset.ft.v1.MsgFreeze",
|
|
34
|
+
value: FTMsgFreeze.fromPartial(object),
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
FT.MsgGloballyFreeze = function (object) {
|
|
38
|
+
return {
|
|
39
|
+
typeUrl: "/coreum.asset.ft.v1.MsgGloballyFreeze",
|
|
40
|
+
value: FTMsgGloballyFreeze.fromPartial(object),
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
FT.MsgGloballyUnfreeze = function (object) {
|
|
44
|
+
return {
|
|
45
|
+
typeUrl: "/coreum.asset.ft.v1.MsgGloballyUnfreeze",
|
|
46
|
+
value: FTMsgGloballyUnfreeze.fromPartial(object),
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
FT.MsgUnfreeze = function (object) {
|
|
50
|
+
return {
|
|
51
|
+
typeUrl: "/coreum.asset.ft.v1.MsgUnfreeze",
|
|
52
|
+
value: FTMsgUnfreeze.fromPartial(object),
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
FT.MsgSetWhitelistedLimit = function (object) {
|
|
56
|
+
return {
|
|
57
|
+
typeUrl: "/coreum.asset.ft.v1.MsgSetWhitelistedLimit",
|
|
58
|
+
value: FTMsgSetWhitelistedLimit.fromPartial(object),
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
})(FT || (FT = {}));
|
|
62
|
+
export var NFT;
|
|
63
|
+
(function (NFT) {
|
|
64
|
+
NFT.MsgMint = function (object) {
|
|
65
|
+
return {
|
|
66
|
+
typeUrl: "/coreum.asset.nft.v1.MsgMint",
|
|
67
|
+
value: NFTMsgMint.fromPartial(object),
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
NFT.MsgAddToWhitelist = function (object) {
|
|
71
|
+
return {
|
|
72
|
+
typeUrl: "/coreum.asset.nft.v1.MsgAddToWhitelist",
|
|
73
|
+
value: NFTMsgAddToWhitelist.fromPartial(object),
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
NFT.MsgRemoveFromWhitelist = function (object) {
|
|
77
|
+
return {
|
|
78
|
+
typeUrl: "/coreum.asset.nft.v1.MsgRemoveFromWhitelist",
|
|
79
|
+
value: NFTMsgRemoveFromWhitelist.fromPartial(object),
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
NFT.MsgBurn = function (object) {
|
|
83
|
+
return {
|
|
84
|
+
typeUrl: "/coreum.asset.nft.v1.MsgBurn",
|
|
85
|
+
value: NFTMsgBurn.fromPartial(object),
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
NFT.MsgFreeze = function (object) {
|
|
89
|
+
return {
|
|
90
|
+
typeUrl: "/coreum.asset.nft.v1.MsgFreeze",
|
|
91
|
+
value: NFTMsgFreeze.fromPartial(object),
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
NFT.MsgUnfreeze = function (object) {
|
|
95
|
+
return {
|
|
96
|
+
typeUrl: "/coreum.asset.nft.v1.MsgUnfreeze",
|
|
97
|
+
value: NFTMsgUnfreeze.fromPartial(object),
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
NFT.MsgIssueClass = function (object) {
|
|
101
|
+
return {
|
|
102
|
+
typeUrl: "/coreum.asset.nft.v1.MsgIssueClass",
|
|
103
|
+
value: NFTMsgIssueClass.fromPartial(object),
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
NFT.MsgSend = function (object) {
|
|
107
|
+
return {
|
|
108
|
+
typeUrl: "/coreum.nft.v1beta1.MsgSend",
|
|
109
|
+
value: NFTMsgSend.fromPartial(object),
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
})(NFT || (NFT = {}));
|
|
113
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29yZXVtL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxlQUFlLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFDNUQsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLE9BQU8sQ0FBQztBQUN4QyxPQUFPLEVBQUUsT0FBTyxJQUFJLFVBQVUsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBQ3pELE9BQU8sRUFDTCxhQUFhLElBQUksZ0JBQWdCLEVBQ2pDLE9BQU8sSUFBSSxVQUFVLEVBQ3JCLGlCQUFpQixJQUFJLG9CQUFvQixFQUN6QyxPQUFPLElBQUksVUFBVSxFQUNyQixzQkFBc0IsSUFBSSx5QkFBeUIsRUFDbkQsU0FBUyxJQUFJLFlBQVksRUFDekIsV0FBVyxJQUFJLGNBQWMsR0FHOUIsTUFBTSxtQkFBbUIsQ0FBQztBQUMzQixPQUFPLEVBQ0ws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sQ0FBQyxNQUFNLENBQUM7U0FDNUMsQ0FBQztJQUNKLENBQUMsQ0FBQztJQUVXLFdBQU8sR0FBRyxVQUNyQixNQUFTO1FBRVQsT0FBTztZQUNMLE9BQU8sRUFBRSw2QkFBNkI7WUFDdEMsS0FBSyxFQUFFLFVBQVUsQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDO1NBQ3RDLENBQUM7SUFDSixDQUFDLENBQUM7QUFDSixDQUFDLEVBeEVnQixHQUFHLEtBQUgsR0FBRyxRQXdFbkIifQ==
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CoreumTypeUrl } from "../../types";
|
|
2
|
+
import { MsgSend } from "./v1beta1/tx";
|
|
3
|
+
export const nftBetaRegistry = [
|
|
4
|
+
[CoreumTypeUrl.NFTBeta + "MsgSend", MsgSend],
|
|
5
|
+
];
|
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29yZXVtL25mdC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQzVDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxjQUFjLENBQUM7QUFFdkMsTUFBTSxDQUFDLE1BQU0sZUFBZSxHQUEyQztJQUNyRSxDQUFDLGFBQWEsQ0FBQyxPQUFPLEdBQUcsU0FBUyxFQUFFLE9BQU8sQ0FBQztDQUM3QyxDQUFDIn0=
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import Long from "long";
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
export declare const protobufPackage = "coreum.nft.v1beta1";
|
|
4
|
+
/** EventSend is emitted on Msg/Send */
|
|
5
|
+
export interface EventSend {
|
|
6
|
+
classId: string;
|
|
7
|
+
id: string;
|
|
8
|
+
sender: string;
|
|
9
|
+
receiver: string;
|
|
10
|
+
}
|
|
11
|
+
/** EventMint is emitted on Mint */
|
|
12
|
+
export interface EventMint {
|
|
13
|
+
classId: string;
|
|
14
|
+
id: string;
|
|
15
|
+
owner: string;
|
|
16
|
+
}
|
|
17
|
+
/** EventBurn is emitted on Burn */
|
|
18
|
+
export interface EventBurn {
|
|
19
|
+
classId: string;
|
|
20
|
+
id: string;
|
|
21
|
+
owner: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const EventSend: {
|
|
24
|
+
encode(message: EventSend, writer?: _m0.Writer): _m0.Writer;
|
|
25
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventSend;
|
|
26
|
+
fromJSON(object: any): EventSend;
|
|
27
|
+
toJSON(message: EventSend): unknown;
|
|
28
|
+
create<I extends {
|
|
29
|
+
classId?: string;
|
|
30
|
+
id?: string;
|
|
31
|
+
sender?: string;
|
|
32
|
+
receiver?: string;
|
|
33
|
+
} & {
|
|
34
|
+
classId?: string;
|
|
35
|
+
id?: string;
|
|
36
|
+
sender?: string;
|
|
37
|
+
receiver?: string;
|
|
38
|
+
} & { [K in Exclude<keyof I, keyof EventSend>]: never; }>(base?: I): EventSend;
|
|
39
|
+
fromPartial<I_1 extends {
|
|
40
|
+
classId?: string;
|
|
41
|
+
id?: string;
|
|
42
|
+
sender?: string;
|
|
43
|
+
receiver?: string;
|
|
44
|
+
} & {
|
|
45
|
+
classId?: string;
|
|
46
|
+
id?: string;
|
|
47
|
+
sender?: string;
|
|
48
|
+
receiver?: string;
|
|
49
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventSend>]: never; }>(object: I_1): EventSend;
|
|
50
|
+
};
|
|
51
|
+
export declare const EventMint: {
|
|
52
|
+
encode(message: EventMint, writer?: _m0.Writer): _m0.Writer;
|
|
53
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventMint;
|
|
54
|
+
fromJSON(object: any): EventMint;
|
|
55
|
+
toJSON(message: EventMint): unknown;
|
|
56
|
+
create<I extends {
|
|
57
|
+
classId?: string;
|
|
58
|
+
id?: string;
|
|
59
|
+
owner?: string;
|
|
60
|
+
} & {
|
|
61
|
+
classId?: string;
|
|
62
|
+
id?: string;
|
|
63
|
+
owner?: string;
|
|
64
|
+
} & { [K in Exclude<keyof I, keyof EventMint>]: never; }>(base?: I): EventMint;
|
|
65
|
+
fromPartial<I_1 extends {
|
|
66
|
+
classId?: string;
|
|
67
|
+
id?: string;
|
|
68
|
+
owner?: string;
|
|
69
|
+
} & {
|
|
70
|
+
classId?: string;
|
|
71
|
+
id?: string;
|
|
72
|
+
owner?: string;
|
|
73
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventMint>]: never; }>(object: I_1): EventMint;
|
|
74
|
+
};
|
|
75
|
+
export declare const EventBurn: {
|
|
76
|
+
encode(message: EventBurn, writer?: _m0.Writer): _m0.Writer;
|
|
77
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventBurn;
|
|
78
|
+
fromJSON(object: any): EventBurn;
|
|
79
|
+
toJSON(message: EventBurn): unknown;
|
|
80
|
+
create<I extends {
|
|
81
|
+
classId?: string;
|
|
82
|
+
id?: string;
|
|
83
|
+
owner?: string;
|
|
84
|
+
} & {
|
|
85
|
+
classId?: string;
|
|
86
|
+
id?: string;
|
|
87
|
+
owner?: string;
|
|
88
|
+
} & { [K in Exclude<keyof I, keyof EventBurn>]: never; }>(base?: I): EventBurn;
|
|
89
|
+
fromPartial<I_1 extends {
|
|
90
|
+
classId?: string;
|
|
91
|
+
id?: string;
|
|
92
|
+
owner?: string;
|
|
93
|
+
} & {
|
|
94
|
+
classId?: string;
|
|
95
|
+
id?: string;
|
|
96
|
+
owner?: string;
|
|
97
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventBurn>]: never; }>(object: I_1): EventBurn;
|
|
98
|
+
};
|
|
99
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
100
|
+
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 {} ? {
|
|
101
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
102
|
+
} : Partial<T>;
|
|
103
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
104
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
105
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
106
|
+
} & {
|
|
107
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
108
|
+
};
|
|
109
|
+
export {};
|