Removing Addresses

Removing Addresses

To remove an Associated Address from a user's EIN, call the removeAssociatedAddressDelegated function on the Identity Registry smart contract.

To prevent malicious removal of an Associated Address for an EIN, removing addresses requires a signature from the address to be removed. Signatures should follow the example format:

bytes32 messageHash = keccak256(
    abi.encodePacked(
        "I authorize removing this address from my Identity.", address(this), ein, addressToRemove, timestamp
    )
);

ARGUMENTS

Parameter

Type

Description

addressToRemove

address

The address being removed from a user's EIN.

r, s, v signature

bytes32, bytes32, uint8

Signed message as required in the format above.

timestamp

uint

Timestamp of the function call to prevent replay attacks.

Last updated