import { bigNumberify , BigNumberish } from "ethers/utils" ; import { MultisigCommitment } from "./multisig-commitment" ; import { MultisigOperation , MultisigTransaction } from "./types" ; export class WithdrawETHCommitment extends MultisigCommitment { public constructor ( public readonly multisigAddress , public readonly multisigOwners , public readonly to , public readonly value ) { super ( multisigAddress , multisigOwners ) ; } public getTransactionDetails ( ) { return { to : this . to , value : bigNumberify ( this . value ) , data : "0x" , operation : MultisigOperation . Call } ; } }