import { HexBigInt } from './utils';

export enum L1Types {
  Evm,
  Btc,
}

export type CallFallback = {
  contractId: string;
  method: string;
  args: unknown[];
};

export type TransferInfo = {
  contractId: string;
  orderId: string;
  l1TxId: string;
  l1Amount: HexBigInt;
};

export type TransferCallArguments = [
  minL1Amount: HexBigInt,
  promisedL1Amount: HexBigInt,
  l1Recipient: string,
  fallbackData: CallFallback,
  requestInfo: TransferInfo,
];
