UNPKG

@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

9 lines (8 loc) 756 B
import type { AbstractContractAddress } from "../../common/contract-address.js"; import { BlockchainLayer1Enum } from "../../union/enum/domain.js"; export type TezosContractAddress = AbstractContractAddress<BlockchainLayer1Enum.TEZOS>; export declare function isTezosContractAddress(address: string): address is TezosContractAddress; export declare const tezosContractAddressValidator: import("../../common/common.js").ILayer1fulValidator<BlockchainLayer1Enum.TEZOS, TezosContractAddress>; export declare function toTezosContractAddress(address: string): TezosContractAddress; export declare function toTezosContractAddressSafe(address: string): TezosContractAddress | undefined; export declare function randomTezosContractAddress(): TezosContractAddress;