Skip to main content

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);
InputTypeDescription
vaultAddressstringaddress of the vault
userToAddstringAddress of the user you want to add to the vault
userToRemovestringAddress of the user you want to remove to the vault
signerObjectSigner object acquired from ethers or equivalent

Returns:

The function does not return any values.