generated.ts 1.04 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
// Code generated by tygo. DO NOT EDIT.

//////////
// source: deposits.go

export interface DepositItem {
  guid: string;
  from: string;
  to: string;
  timestamp: number /* uint64 */;
Will Cory's avatar
Will Cory committed
11 12 13
  l1BlockHash: string;
  l1TxHash: string;
  l2TxHash: string;
14
  amount: string;
Will Cory's avatar
Will Cory committed
15 16
  l1TokenAddress: string;
  l2TokenAddress: string;
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
}
export interface DepositResponse {
  cursor: string;
  hasNextPage: boolean;
  items: DepositItem[];
}

//////////
// source: routes.go

export interface Routes {
  Logger: any /* log.Logger */;
  BridgeTransfersView: any /* database.BridgeTransfersView */;
  Router?: any /* chi.Mux */;
}

//////////
// source: withdrawals.go

export interface WithdrawalItem {
  guid: string;
  from: string;
  to: string;
  transactionHash: string;
  timestamp: number /* uint64 */;
  l2BlockHash: string;
  amount: string;
Will Cory's avatar
Will Cory committed
44 45 46 47
  proofTransactionHash: string;
  claimTransactionHash: string;
  l1TokenAddress: string;
  l2TokenAddress: string;
48 49 50 51 52 53
}
export interface WithdrawalResponse {
  cursor: string;
  hasNextPage: boolean;
  items: WithdrawalItem[];
}