wowok
Version:
Wowok Blockchain TypeScript API
18 lines (17 loc) • 1.21 kB
TypeScript
import type { Transaction } from "../../transactions/index.js";
import type { ArbObject, ArbAddress, OrderObject } from "../common.js";
export declare function arbFn(name: string): string;
export declare const MAX_PROPOSITION_COUNT = 20;
export declare const MAX_VOTOR_COUNT = 520;
export declare const WITHDRAW_DURATION_TIME = 2592000000;
export interface ArbEvent {
object: string;
arbitration: string;
order: string;
status: number;
}
export declare function create(tx: Transaction, arb: ArbObject, arb_type: string): ArbAddress;
export declare function proposition_change(tx: Transaction, arb: ArbObject, arb_type: string, order: OrderObject, proposition: string[], description: string | null | undefined, principal_confirmed: boolean): void;
export declare function description_change(tx: Transaction, arb: ArbObject, arb_type: string, order: OrderObject, discription: string, principal_confirmed: boolean): void;
export declare function principal_confirm(tx: Transaction, arb: ArbObject, arb_type: string, order: OrderObject, confirmed: boolean): void;
export declare function objection(tx: Transaction, arb: ArbObject, arb_type: string, order: OrderObject, objection: string): void;