Skip to content

Commit

Permalink
reactivate
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbir committed Jul 29, 2024
1 parent 6d0a6d0 commit 4d31a1e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions scripts/ssv/writes/reactivate.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { logger } from '../../common/helpers/logger'
import { P2pSsvProxyContractAbi } from '../contracts/P2pSsvProxyContractAbi'
import { sendTx } from '../../common/helpers/sendTx'

export async function liquidate() {
logger.log('liquidate started')

const operatorIds = [192, 195, 200, 201]

const txHash = await sendTx(
'0x5071e29F49F9B008267D2Ed76D54B32D91695cDe',
P2pSsvProxyContractAbi,
'liquidate',
[
operatorIds,
[
{
validatorCount: 0,
networkFeeIndex: 64749941340n,
index: 77106991716n,
active: true,
balance: 5725985024910000000n,
},
],
],
)

logger.log('liquidate finished')

return txHash
}

0 comments on commit 4d31a1e

Please sign in to comment.