@river-build/web3
Version:
Dapps for our Space and Registry contracts
25 lines • 1.05 kB
TypeScript
import { BaseChainConfig } from '../IStaticContractsInfo';
import { ISpaceArchitectShim } from './ISpaceArchitectShim';
import { ILegacySpaceArchitectShim } from './ILegacySpaceArchitectShim';
import { ICreateSpaceShim } from './ICreateSpaceShim';
import { Space } from './Space';
import { ethers } from 'ethers';
/**
* A class to manage the creation of space stubs
* converts a space network id to space address and
* creates a space object with relevant addresses and data
*/
export declare class SpaceRegistrar {
readonly config: BaseChainConfig;
private readonly provider;
private readonly spaceArchitect;
private readonly legacySpaceArchitect;
private readonly createSpace;
private readonly spaces;
constructor(config: BaseChainConfig, provider: ethers.providers.Provider);
get CreateSpace(): ICreateSpaceShim;
get SpaceArchitect(): ISpaceArchitectShim;
get LegacySpaceArchitect(): ILegacySpaceArchitectShim;
getSpace(spaceId: string): Space | undefined;
}
//# sourceMappingURL=SpaceRegistrar.d.ts.map