proposeAddUserInVault
An INTU account user can propose a new user they want to add to the vault.
The user will be able to be added to the vault after the rotation threshold of votes is met.
Arguments:
import { proposeAddUserInVault } from "@intuweb3/web-exp";
let usersToAdd = [0x1, 0x2];
proposeAddUserInVault(vaultAddress, userToAdd, signer);
Input | Type | Description |
---|---|---|
vaultAddress | string | address of the vault |
user(s)ToAdd | string[] | Address(s) of the user(s) you want to add to the vault |
signer | Object | Signer object acquired from ethers or equivalent |
Returns:
The function does not return any values.