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