machinomy
Version:
Micropayments powered by Ethereum
24 lines (23 loc) • 887 B
TypeScript
import Serde from './Serde';
import * as BigNumber from 'bignumber.js';
import Signature from './Signature';
export declare class RemoteChannelInfo {
channelId: string;
spent: BigNumber.BigNumber;
sign: Signature;
constructor(channelId: string, spent: BigNumber.BigNumber, sign: Signature);
}
export declare class RemoteChannelInfoSerde implements Serde<RemoteChannelInfo> {
static instance: RemoteChannelInfoSerde;
serialize(obj: RemoteChannelInfo): object;
deserialize(data: any): RemoteChannelInfo;
}
export declare class RemoteChannelInfos {
channels: RemoteChannelInfo[];
constructor(channels: RemoteChannelInfo[]);
}
export declare class RemoteChannelInfosSerde implements Serde<RemoteChannelInfos> {
static instance: RemoteChannelInfosSerde;
serialize(obj: RemoteChannelInfos): object;
deserialize(data: any): RemoteChannelInfos;
}