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";
let usersToAdd = [0x1, 0x2];
proposeAddUserInVault(vaultAddress, usersToAdd, signer);
How to create
INTUContract
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.