Add valid Deposit model and return types of blockchain methods

Co-authored-by: geovanne97 <geovannessaraiva97@gmail.com>
This commit is contained in:
RcleydsonR
2023-01-18 23:02:02 -03:00
parent c8a3fd12b2
commit f87434debe
5 changed files with 32 additions and 21 deletions

10
src/model/ValidDeposit.ts Normal file
View File

@@ -0,0 +1,10 @@
import type { BigNumber } from "ethers";
export type ValidDeposit = {
depositID: BigNumber;
blockNumber: number;
remaining: string;
seller: string;
pixKey: (string | undefined);
pixTarget?: string;
};