@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
22 lines (21 loc) • 541 B
TypeScript
import { type Hex } from 'viem';
import { type ChainId } from '../../config';
export declare enum CashoutState {
Processing = "PROCESSING",
Accepted = "ACCEPTED",
Rejected = "REJECTED",
Open = "OPEN"
}
export type CreateCashoutResponse = {
id: string;
state: CashoutState;
errorMessage?: string;
};
type Props = {
chainId: ChainId;
calculationId: string;
attention: string;
signature: Hex;
};
export declare const createCashout: (props: Props) => Promise<CreateCashoutResponse | null>;
export {};