UNPKG

@funded-labs/plug-controller

Version:

Internet Computer Plug wallet's controller

29 lines (28 loc) 549 B
import { Principal } from '@dfinity/principal'; export declare type ValueType = { 'PrincipalId': Principal; } | { 'AccountId': string; } | { 'Icns': string; }; export interface Address { 'name': string; 'description': [] | [string]; 'emoji': [] | [string]; 'value': ValueType; } export declare type Error = { 'NotAuthorized': null; } | { 'BadParameters': null; } | { 'Unknown': string; } | { 'NonExistentItem': null; }; export declare type Response = { 'Ok': [] | [string]; } | { 'Err': Error; };