import { PromiEvent, TransactionReceipt } from 'web3-core'; export interface IDelegationsService { setFromAccount(defaultAccountAddress: string): void; readVoidAddress(): Promise readDelegation(forAddress: string): Promise; readUncappedDelegatedStakeInFullOrbs(voidAddress?: string) : Promise delegate(delegationTargetAddress: string): PromiEvent; /** * Note: Un-delegating is basically delegating to oneself. * @param selfAddress The address of the called */ unDelegate(selfAddress: string): PromiEvent; }