Function: setMerkleRoot(byte[32] _merkleRoot)

Allow any caller to set the Merkle root. The Merkle root can be modified by the msg.sender --- but exclusively for the address of the msg.sender. While the expectation is for the msg.sender to be the SmartAccount contract, in reality, it could be initiated by any caller.

The _merkleRoot is the Merkle root data containing the session keys with their permissions and parameters.

Zellic © 2024Back to top ↑