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,23 @@
|
|
|
1
|
+
import { CoreumTypeUrl } from "../../types";
|
|
2
|
+
import { MsgAddToWhitelist, MsgBurn, MsgIssueClass, MsgRemoveFromWhitelist, MsgMint, MsgFreeze, MsgUnfreeze, } from "./nft/v1/tx";
|
|
3
|
+
import { MsgIssue, MsgFreeze as MsgFreezeFT, MsgGloballyFreeze, MsgGloballyUnfreeze, MsgMint as MsgMintFT, MsgBurn as MsgBurnFT, MsgSetWhitelistedLimit, MsgUnfreeze as MsgUnfreezeFT, } from "./ft/v1/tx";
|
|
4
|
+
export const assetNftRegistry = [
|
|
5
|
+
[CoreumTypeUrl.NFT + "MsgIssueClass", MsgIssueClass],
|
|
6
|
+
[CoreumTypeUrl.NFT + "MsgAddToWhitelist", MsgAddToWhitelist],
|
|
7
|
+
[CoreumTypeUrl.NFT + "MsgRemoveFromWhitelist", MsgRemoveFromWhitelist],
|
|
8
|
+
[CoreumTypeUrl.NFT + "MsgMint", MsgMint],
|
|
9
|
+
[CoreumTypeUrl.NFT + "MsgBurn", MsgBurn],
|
|
10
|
+
[CoreumTypeUrl.NFT + "MsgFreeze", MsgFreeze],
|
|
11
|
+
[CoreumTypeUrl.NFT + "MsgUnfreeze", MsgUnfreeze],
|
|
12
|
+
];
|
|
13
|
+
export const assetFtRegistry = [
|
|
14
|
+
[CoreumTypeUrl.FT + "MsgIssue", MsgIssue],
|
|
15
|
+
[CoreumTypeUrl.FT + "MsgFreeze", MsgFreezeFT],
|
|
16
|
+
[CoreumTypeUrl.FT + "MsgMint", MsgMintFT],
|
|
17
|
+
[CoreumTypeUrl.FT + "MsgBurn", MsgBurnFT],
|
|
18
|
+
[CoreumTypeUrl.FT + "MsgUnfreeze", MsgUnfreezeFT],
|
|
19
|
+
[CoreumTypeUrl.FT + "MsgGloballyFreeze", MsgGloballyFreeze],
|
|
20
|
+
[CoreumTypeUrl.FT + "MsgGloballyUnfreeze", MsgGloballyUnfreeze],
|
|
21
|
+
[CoreumTypeUrl.FT + "MsgSetWhitelistedLimit", MsgSetWhitelistedLimit],
|
|
22
|
+
];
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29yZXVtL2Fzc2V0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFDNUMsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixPQUFPLEVBQ1AsYUFBYSxFQUNiLHNCQUFzQixFQUN0QixPQUFPLEVBQ1AsU0FBUyxFQUNULFdBQVcsR0FDWixNQUFNLGFBQWEsQ0FBQztBQUNyQixPQUFPLEVBQ0wsUUFBUSxFQUNSLFNBQVMsSUFBSSxXQUFXLEVBQ3hCLGlCQUFpQixFQUNqQixtQkFBbUIsRUFDbkIsT0FBTyxJQUFJLFNBQVMsRUFDcEIsT0FBTyxJQUFJLFNBQVMsRUFDcEIsc0JBQXNCLEVBQ3RCLFdBQVcsSUFBSSxhQUFhLEdBQzdCLE1BQU0sWUFBWSxDQUFDO0FBR3BCLE1BQU0sQ0FBQyxNQUFNLGdCQUFnQixHQUEyQztJQUN0RSxDQUFDLGFBQWEsQ0FBQyxHQUFHLEdBQUcsZUFBZSxFQUFFLGFBQWEsQ0FBQztJQUNwRCxDQUFDLGFBQWEsQ0FBQyxHQUFHLEdBQUcsbUJBQW1CLEVBQUUsaUJBQWlCLENBQUM7SUFDNUQsQ0FBQyxhQUFhLENBQUMsR0FBRyxHQUFHLHdCQUF3QixFQUFFLHNCQUFzQixDQUFDO0lBQ3RFLENBQUMsYUFBYSxDQUFDLEdBQUcsR0FBRyxTQUFTLEVBQUUsT0FBTyxDQUFDO0lBQ3hDLENBQUMsYUFBYSxDQUFDLEdBQUcsR0FBRyxTQUFTLEVBQUUsT0FBTyxDQUFDO0lBQ3hDLENBQUMsYUFBYSxDQUFDLEdBQUcsR0FBRyxXQUFXLEVBQUUsU0FBUyxDQUFDO0lBQzVDLENBQUMsYUFBYSxDQUFDLEdBQUcsR0FBRyxhQUFhLEVBQUUsV0FBVyxDQUFDO0NBQ2pELENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxlQUFlLEdBQTJDO0lBQ3JFLENBQUMsYUFBYSxDQUFDLEVBQUUsR0FBRyxVQUFVLEVBQUUsUUFBUSxDQUFDO0lBQ3pDLENBQUMsYUFBYSxDQUFDLEVBQUUsR0FBRyxXQUFXLEVBQUUsV0FBVyxDQUFDO0lBQzdDLENBQUMsYUFBYSxDQUFDLEVBQUUsR0FBRyxTQUFTLEVBQUUsU0FBUyxDQUFDO0lBQ3pDLENBQUMsYUFBYSxDQUFDLEVBQUUsR0FBRyxTQUFTLEVBQUUsU0FBUyxDQUFDO0lBQ3pDLENBQUMsYUFBYSxDQUFDLEVBQUUsR0FBRyxhQUFhLEVBQUUsYUFBYSxDQUFDO0lBQ2pELENBQUMsYUFBYSxDQUFDLEVBQUUsR0FBRyxtQkFBbUIsRUFBRSxpQkFBaUIsQ0FBQztJQUMzRCxDQUFDLGFBQWEsQ0FBQyxFQUFFLEdBQUcscUJBQXFCLEVBQUUsbUJBQW1CLENBQUM7SUFDL0QsQ0FBQyxhQUFhLENBQUMsRUFBRSxHQUFHLHdCQUF3QixFQUFFLHNCQUFzQixDQUFDO0NBQ3RFLENBQUMifQ==
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import Long from "long";
|
|
2
|
+
import _m0 from "protobufjs/minimal";
|
|
3
|
+
import { ClassFeature } from "./nft";
|
|
4
|
+
export declare const protobufPackage = "coreum.asset.nft.v1";
|
|
5
|
+
/** EventClassIssued is emitted on MsgIssueClass. */
|
|
6
|
+
export interface EventClassIssued {
|
|
7
|
+
id: string;
|
|
8
|
+
issuer: string;
|
|
9
|
+
symbol: string;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
uri: string;
|
|
13
|
+
uriHash: string;
|
|
14
|
+
features: ClassFeature[];
|
|
15
|
+
royaltyRate: string;
|
|
16
|
+
}
|
|
17
|
+
export interface EventFrozen {
|
|
18
|
+
classId: string;
|
|
19
|
+
id: string;
|
|
20
|
+
owner: string;
|
|
21
|
+
}
|
|
22
|
+
export interface EventUnfrozen {
|
|
23
|
+
classId: string;
|
|
24
|
+
id: string;
|
|
25
|
+
owner: string;
|
|
26
|
+
}
|
|
27
|
+
export interface EventAddedToWhitelist {
|
|
28
|
+
classId: string;
|
|
29
|
+
id: string;
|
|
30
|
+
account: string;
|
|
31
|
+
}
|
|
32
|
+
export interface EventRemovedFromWhitelist {
|
|
33
|
+
classId: string;
|
|
34
|
+
id: string;
|
|
35
|
+
account: string;
|
|
36
|
+
}
|
|
37
|
+
export declare const EventClassIssued: {
|
|
38
|
+
encode(message: EventClassIssued, writer?: _m0.Writer): _m0.Writer;
|
|
39
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventClassIssued;
|
|
40
|
+
fromJSON(object: any): EventClassIssued;
|
|
41
|
+
toJSON(message: EventClassIssued): unknown;
|
|
42
|
+
create<I extends {
|
|
43
|
+
id?: string;
|
|
44
|
+
issuer?: string;
|
|
45
|
+
symbol?: string;
|
|
46
|
+
name?: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
uri?: string;
|
|
49
|
+
uriHash?: string;
|
|
50
|
+
features?: ClassFeature[];
|
|
51
|
+
royaltyRate?: string;
|
|
52
|
+
} & {
|
|
53
|
+
id?: string;
|
|
54
|
+
issuer?: string;
|
|
55
|
+
symbol?: string;
|
|
56
|
+
name?: string;
|
|
57
|
+
description?: string;
|
|
58
|
+
uri?: string;
|
|
59
|
+
uriHash?: string;
|
|
60
|
+
features?: ClassFeature[] & ClassFeature[] & { [K in Exclude<keyof I["features"], keyof ClassFeature[]>]: never; };
|
|
61
|
+
royaltyRate?: string;
|
|
62
|
+
} & { [K_1 in Exclude<keyof I, keyof EventClassIssued>]: never; }>(base?: I): EventClassIssued;
|
|
63
|
+
fromPartial<I_1 extends {
|
|
64
|
+
id?: string;
|
|
65
|
+
issuer?: string;
|
|
66
|
+
symbol?: string;
|
|
67
|
+
name?: string;
|
|
68
|
+
description?: string;
|
|
69
|
+
uri?: string;
|
|
70
|
+
uriHash?: string;
|
|
71
|
+
features?: ClassFeature[];
|
|
72
|
+
royaltyRate?: string;
|
|
73
|
+
} & {
|
|
74
|
+
id?: string;
|
|
75
|
+
issuer?: string;
|
|
76
|
+
symbol?: string;
|
|
77
|
+
name?: string;
|
|
78
|
+
description?: string;
|
|
79
|
+
uri?: string;
|
|
80
|
+
uriHash?: string;
|
|
81
|
+
features?: ClassFeature[] & ClassFeature[] & { [K_2 in Exclude<keyof I_1["features"], keyof ClassFeature[]>]: never; };
|
|
82
|
+
royaltyRate?: string;
|
|
83
|
+
} & { [K_3 in Exclude<keyof I_1, keyof EventClassIssued>]: never; }>(object: I_1): EventClassIssued;
|
|
84
|
+
};
|
|
85
|
+
export declare const EventFrozen: {
|
|
86
|
+
encode(message: EventFrozen, writer?: _m0.Writer): _m0.Writer;
|
|
87
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventFrozen;
|
|
88
|
+
fromJSON(object: any): EventFrozen;
|
|
89
|
+
toJSON(message: EventFrozen): unknown;
|
|
90
|
+
create<I extends {
|
|
91
|
+
classId?: string;
|
|
92
|
+
id?: string;
|
|
93
|
+
owner?: string;
|
|
94
|
+
} & {
|
|
95
|
+
classId?: string;
|
|
96
|
+
id?: string;
|
|
97
|
+
owner?: string;
|
|
98
|
+
} & { [K in Exclude<keyof I, keyof EventFrozen>]: never; }>(base?: I): EventFrozen;
|
|
99
|
+
fromPartial<I_1 extends {
|
|
100
|
+
classId?: string;
|
|
101
|
+
id?: string;
|
|
102
|
+
owner?: string;
|
|
103
|
+
} & {
|
|
104
|
+
classId?: string;
|
|
105
|
+
id?: string;
|
|
106
|
+
owner?: string;
|
|
107
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventFrozen>]: never; }>(object: I_1): EventFrozen;
|
|
108
|
+
};
|
|
109
|
+
export declare const EventUnfrozen: {
|
|
110
|
+
encode(message: EventUnfrozen, writer?: _m0.Writer): _m0.Writer;
|
|
111
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventUnfrozen;
|
|
112
|
+
fromJSON(object: any): EventUnfrozen;
|
|
113
|
+
toJSON(message: EventUnfrozen): unknown;
|
|
114
|
+
create<I extends {
|
|
115
|
+
classId?: string;
|
|
116
|
+
id?: string;
|
|
117
|
+
owner?: string;
|
|
118
|
+
} & {
|
|
119
|
+
classId?: string;
|
|
120
|
+
id?: string;
|
|
121
|
+
owner?: string;
|
|
122
|
+
} & { [K in Exclude<keyof I, keyof EventUnfrozen>]: never; }>(base?: I): EventUnfrozen;
|
|
123
|
+
fromPartial<I_1 extends {
|
|
124
|
+
classId?: string;
|
|
125
|
+
id?: string;
|
|
126
|
+
owner?: string;
|
|
127
|
+
} & {
|
|
128
|
+
classId?: string;
|
|
129
|
+
id?: string;
|
|
130
|
+
owner?: string;
|
|
131
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventUnfrozen>]: never; }>(object: I_1): EventUnfrozen;
|
|
132
|
+
};
|
|
133
|
+
export declare const EventAddedToWhitelist: {
|
|
134
|
+
encode(message: EventAddedToWhitelist, writer?: _m0.Writer): _m0.Writer;
|
|
135
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventAddedToWhitelist;
|
|
136
|
+
fromJSON(object: any): EventAddedToWhitelist;
|
|
137
|
+
toJSON(message: EventAddedToWhitelist): unknown;
|
|
138
|
+
create<I extends {
|
|
139
|
+
classId?: string;
|
|
140
|
+
id?: string;
|
|
141
|
+
account?: string;
|
|
142
|
+
} & {
|
|
143
|
+
classId?: string;
|
|
144
|
+
id?: string;
|
|
145
|
+
account?: string;
|
|
146
|
+
} & { [K in Exclude<keyof I, keyof EventAddedToWhitelist>]: never; }>(base?: I): EventAddedToWhitelist;
|
|
147
|
+
fromPartial<I_1 extends {
|
|
148
|
+
classId?: string;
|
|
149
|
+
id?: string;
|
|
150
|
+
account?: string;
|
|
151
|
+
} & {
|
|
152
|
+
classId?: string;
|
|
153
|
+
id?: string;
|
|
154
|
+
account?: string;
|
|
155
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventAddedToWhitelist>]: never; }>(object: I_1): EventAddedToWhitelist;
|
|
156
|
+
};
|
|
157
|
+
export declare const EventRemovedFromWhitelist: {
|
|
158
|
+
encode(message: EventRemovedFromWhitelist, writer?: _m0.Writer): _m0.Writer;
|
|
159
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): EventRemovedFromWhitelist;
|
|
160
|
+
fromJSON(object: any): EventRemovedFromWhitelist;
|
|
161
|
+
toJSON(message: EventRemovedFromWhitelist): unknown;
|
|
162
|
+
create<I extends {
|
|
163
|
+
classId?: string;
|
|
164
|
+
id?: string;
|
|
165
|
+
account?: string;
|
|
166
|
+
} & {
|
|
167
|
+
classId?: string;
|
|
168
|
+
id?: string;
|
|
169
|
+
account?: string;
|
|
170
|
+
} & { [K in Exclude<keyof I, keyof EventRemovedFromWhitelist>]: never; }>(base?: I): EventRemovedFromWhitelist;
|
|
171
|
+
fromPartial<I_1 extends {
|
|
172
|
+
classId?: string;
|
|
173
|
+
id?: string;
|
|
174
|
+
account?: string;
|
|
175
|
+
} & {
|
|
176
|
+
classId?: string;
|
|
177
|
+
id?: string;
|
|
178
|
+
account?: string;
|
|
179
|
+
} & { [K_1 in Exclude<keyof I_1, keyof EventRemovedFromWhitelist>]: never; }>(object: I_1): EventRemovedFromWhitelist;
|
|
180
|
+
};
|
|
181
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
182
|
+
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 {} ? {
|
|
183
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
184
|
+
} : Partial<T>;
|
|
185
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
186
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
187
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
188
|
+
} & {
|
|
189
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
190
|
+
};
|
|
191
|
+
export {};
|