UNPKG

@magiceden/magiceden-sdk

Version:

A TypeScript SDK for interacting with Magic Eden's API across multiple chains.

24 lines (23 loc) 943 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EvmNonFungibleProtocolTypes = exports.TokenProtocolType = exports.SolProtocolType = exports.EvmProtocolType = void 0; const zod_1 = require("zod"); var EvmProtocolType; (function (EvmProtocolType) { EvmProtocolType["ERC721"] = "ERC721"; EvmProtocolType["ERC1155"] = "ERC1155"; EvmProtocolType["ERC20"] = "ERC20"; })(EvmProtocolType || (exports.EvmProtocolType = EvmProtocolType = {})); var SolProtocolType; (function (SolProtocolType) { SolProtocolType["SPL"] = "SPL"; SolProtocolType["METAPLEX_CORE"] = "METAPLEX_CORE"; })(SolProtocolType || (exports.SolProtocolType = SolProtocolType = {})); exports.TokenProtocolType = zod_1.z.union([ zod_1.z.nativeEnum(EvmProtocolType), zod_1.z.nativeEnum(SolProtocolType), ]); exports.EvmNonFungibleProtocolTypes = zod_1.z.enum([ EvmProtocolType.ERC721, EvmProtocolType.ERC1155, ]);