@rarible/types
Version:
`@rarible/types` is a TypeScript library that provides type definitions and interfaces for the Rarible ecosystem. This package is designed to facilitate seamless integration with Rarible's APIs and services, ensuring type safety and improved developer exp
13 lines (12 loc) • 398 B
TypeScript
/**
* @deprecated will be replaced in 0.11.0.
* Please use `import { UnionContractAddress } from "@rarible/types"`
*/
export type ContractAddress = string & {
__IS_CONTRACT_ADDRESS__: true;
};
/**
* @deprecated will be replaced in 0.11.0.
* Please use `import { toUnionContractAddress } from "@rarible/types"`
*/
export declare function toContractAddress(value: string): ContractAddress;