@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
13 lines (12 loc) • 427 B
TypeScript
import { type SignTypedDataParameters, type Address } from 'viem';
import { type ChainId, CASHOUT_DATA_TYPES } from '../../config';
type Props = {
chainId: ChainId;
account: Address;
attention: string;
tokenId: string | bigint;
cashoutOdds: string | bigint;
expiredAt: number;
};
export declare const getCashoutTypedData: (props: Props) => SignTypedDataParameters<typeof CASHOUT_DATA_TYPES>;
export {};