activateKillSwitch()
/**
* Kill a User Portrait - Use with caution: this is a permanent and irreversible action.
*
* @param {UserPortraitAddress | UserPortraitENSName} identity - The identity of the user that the user would like to kill their Portrait.
*
* @remarks
* Killing a Portrait is a permanent action. Once a Portrait is killed, it cannot be recovered.
* Use this function with caution.
* Only the owner of the Portrait can kill their Portrait.
* It is recommended to only kill a Portrait if the corresponding private key is compromised.
*
* @returns {Promise<ethers.ContractTransaction>} - The transaction object, which contains the transaction hash.
*
* @beta
*/
activateKillSwitch(): Promise<ethers.ContractTransaction> {
return this.portrait.portraitUserContract.activateKillSwitch();
}
}
Last updated