@@ -18,7 +18,7 @@ export class AccountManager {
18
18
billingContract : BillingContract ,
19
19
slack : Slack ,
20
20
bondThreshold : bigint = TEN_ETH ,
21
- scanUrl ?: string
21
+ scanUrl ?: string ,
22
22
) {
23
23
this . dataFetcher = dataFetcher ;
24
24
this . billingContract = billingContract ;
@@ -40,7 +40,7 @@ export class AccountManager {
40
40
BillingContract . fromEnv ( ) ,
41
41
await Slack . fromEnv ( ) ,
42
42
bondThreshold ,
43
- SCAN_URL
43
+ SCAN_URL ,
44
44
) ;
45
45
}
46
46
@@ -51,7 +51,7 @@ export class AccountManager {
51
51
const txHash =
52
52
await this . billingContract . updatePaymentDetails ( billingResults ) ;
53
53
await this . slack . post (
54
- `MEV Billing ran successfully: ${ this . txLink ( txHash ) } `
54
+ `MEV Billing ran successfully: ${ this . txLink ( txHash ) } ` ,
55
55
) ;
56
56
}
57
57
@@ -69,13 +69,13 @@ export class AccountManager {
69
69
}
70
70
71
71
async paymentStatusPost (
72
- paymentStatuses : LatestBillingStatus [ ]
72
+ paymentStatuses : LatestBillingStatus [ ] ,
73
73
) : Promise < void > {
74
74
let messages = [ "MEVBlocker builder payment status update:" ] ;
75
75
for ( let paymentStatus of paymentStatuses ) {
76
76
if ( paymentStatus . status !== PaymentStatus . PAID ) {
77
77
messages . push (
78
- `${ paymentStatus . account } was supposed to pay ${ paymentStatus . billedAmount } but paid ${ paymentStatus . paidAmount } `
78
+ `${ paymentStatus . account } was supposed to pay ${ paymentStatus . billedAmount } but paid ${ paymentStatus . paidAmount } ` ,
79
79
) ;
80
80
}
81
81
}
@@ -96,7 +96,7 @@ export class AccountManager {
96
96
const remainingBond = await this . billingContract . getBond ( address ) ;
97
97
if ( remainingBond < this . bondThreshold ) {
98
98
messages . push (
99
- `Account ${ address } bond (${ ethers . formatEther ( remainingBond ) } ETH) below threshold!`
99
+ `Account ${ address } bond (${ ethers . formatEther ( remainingBond ) } ETH) below threshold!` ,
100
100
) ;
101
101
}
102
102
} catch ( error ) {
0 commit comments