@bitblit/ratchet-misc
Version:
Ratchet miscellaneous tooling that requires smallish dependant libraries
40 lines (39 loc) • 1.13 kB
TypeScript
import type { AddressTypeInternalEnum } from './AddressTypeInternalEnum.js';
export interface Address {
_id: string;
_type?: AddressTypeEnum;
_rootId: string;
_createdOn?: Date;
_createdBy: string;
_updatedOn?: Date;
_updatedBy?: string;
_archivedOn?: Date;
_archivedBy?: string;
_deletedOn?: Date;
_deletedBy?: string;
_operationId?: string;
_isPublic?: boolean;
name?: string;
address: string;
chainId?: AddressChainIdEnum;
type?: AddressTypeInternalEnum;
}
export declare enum AddressTypeEnum {
address = "address"
}
export declare enum AddressChainIdEnum {
_1 = "1",
_137 = "137",
_42161 = "42161",
_100 = "100",
_10 = "10",
_1313161554 = "1313161554",
_43114 = "43114",
_56 = "56",
_5 = "5",
_11155111 = "11155111"
}
export declare function instanceOfAddress(value: object): boolean;
export declare function AddressFromJSON(json: any): Address;
export declare function AddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): Address;
export declare function AddressToJSON(value?: Address | null): any;