add proxy test framework

This commit is contained in:
owen05
2020-11-24 16:12:38 +08:00
parent 71e1d8717c
commit 5e6db3e4b6
7 changed files with 334 additions and 29 deletions

View File

@@ -8,4 +8,8 @@ export function decimalStr(value: string): string {
export function gweiStr(gwei: string): string {
return new BigNumber(gwei).multipliedBy(10 ** 9).toFixed(0, BigNumber.ROUND_DOWN)
}
}
export function mweiStr(gwei: string): string {
return new BigNumber(gwei).multipliedBy(10 ** 6).toFixed(0, BigNumber.ROUND_DOWN)
}s