UNPKG

@rep3/rep3-sdk

Version:

`rep3-sdk` is the ts package for projects to integrate rep3-protocol and services in their projects. This documentation will provide various ways and code snippets for the same. To know more about the protocol head over to our [docs](https://docs.rep3.gg/

51 lines (44 loc) 920 B
export interface IContractAddress { manager: string; beacon: string; router: string; } export interface IContractAbi { manager: string | any; beacon: string | any; proxy: string | any; router: string | any; } export interface IContractFactory { network: number; getAddress(): IContractAddress; getAbi(): any; } export interface IContract { manager: any | undefined; beacon: any | undefined; } export interface IConfig { biconomyInstance?: any; apiKey: number; relayURL: string; } export interface IMembershipVoucherV1 { levelCategory: [number]; end: [number] | []; to: [string]; tokenUris: string; signature: string; } export interface IMembershipVoucherV2 { data: [number]; end: [number] | []; to: [string]; tokenUris: string; signature: string; } export type RegisterEventCallback = ( communityId: number, communityName: string, txSigner: string ) => any;