@@ -79,23 +79,28 @@ task("multisig:check-txs", "Check multiple multisig txs")
7979 } ) ;
8080
8181task ( "multisig:revoke-sig" , "Revoke multisig tx confirmation" )
82- . addParam ( "id" , "Multisig transaction to revoke confirmation from" , undefined , types . string )
82+ . addPositionalParam (
83+ "id" ,
84+ "Multisig transaction to revoke confirmation from" ,
85+ undefined ,
86+ types . string
87+ )
8388 . addOptionalParam ( "signer" , "Signer name: 'signer' or 'deployer'" , "deployer" )
8489 . setAction ( async ( { id, signer } , hre ) => {
8590 const signerAcc = ( await hre . getNamedAccounts ( ) ) [ signer ] ;
8691 await multisigRevokeConfirmation ( hre , id , signerAcc ) ;
8792 } ) ;
8893
8994task ( "multisig:add-owner" , "Add or remove multisig owner" )
90- . addParam ( "address" , "Owner address to add or remove" , undefined , types . string )
95+ . addPositionalParam ( "address" , "Owner address to add or remove" , undefined , types . string )
9196 . addOptionalParam ( "signer" , "Signer name: 'signer' or 'deployer'" , "deployer" )
9297 . setAction ( async ( { address, signer } , hre ) => {
9398 const signerAcc = ( await hre . getNamedAccounts ( ) ) [ signer ] ;
9499 await multisigAddOwner ( hre , address , signerAcc ) ;
95100 } ) ;
96101
97102task ( "multisig:remove-owner" , "Add or remove multisig owner" )
98- . addParam ( "address" , "Owner address to add or remove" , undefined , types . string )
103+ . addPositionalParam ( "address" , "Owner address to add or remove" , undefined , types . string )
99104 . addOptionalParam ( "signer" , "Signer name: 'signer' or 'deployer'" , "deployer" )
100105 . setAction ( async ( { address, signer } , hre ) => {
101106 const signerAcc = ( await hre . getNamedAccounts ( ) ) [ signer ] ;
0 commit comments