@crypto-dev/pasar-sdk-development
Version:
PasarProtocol NFT Marketplace SDK
54 lines (53 loc) • 1.77 kB
TypeScript
import { Category } from "./category";
import { ERCType } from "../erctype";
import { ChainType } from "../chaintype";
import { SocialLinks } from "../sociallinks";
declare class CollectionInfo {
private constractAddr;
private network;
private creatorDid;
private ownerAddress;
private name;
private symbol;
private socialLinks;
private avatar;
private banner;
private description;
private ercType;
private category;
private uri;
private owners;
private items;
private lowestPrice;
private tradingVolume;
constructor(contractAddr: string, network: ChainType, creatorDid: string, creatorAddr: string, name: string, symbol: string);
setSocialLinks(soicalLinks: SocialLinks): CollectionInfo;
setAvatar(avatar: string): CollectionInfo;
setBanner(banner: string): CollectionInfo;
setDescription(description: string): CollectionInfo;
setErcType(ercType: ERCType): CollectionInfo;
setCategory(category: Category): CollectionInfo;
setUri(uri: string): CollectionInfo;
setItems(items: number): CollectionInfo;
setOwners(owners: number): CollectionInfo;
setLowestPrice(price: bigint): CollectionInfo;
setTradingVolume(tradingVolume: bigint): CollectionInfo;
getContractAddress(): string;
getNetwork(): ChainType;
getCreatorDid(): string;
getOwnerAddress(): string;
getName(): string;
getSymbol(): string;
getSoicalLinks(): SocialLinks;
getAvatar(): string;
getBanner(): string;
getDescription(): string;
getERCStandard(): ERCType;
getCategory(): string;
getUri(): string;
getOwners(): number;
getItems(): number;
getLowestPrice(): bigint;
getTradingVolume(): bigint;
}
export { CollectionInfo, };