Verify

Function to verify proof

This function uses Merkle Patricia Trie (MPT) to verify the proof.

function verify(
    bytes memory message
) public returns (bool, bytes[] memory);
Field
Description

message

Data encoded with proof information (You can get an array of Proof when you decode)

What the verify function does:

  • Verify account proof using MPT to obtain the target storage hash

  • Verify the storage proof using MPT to obtain the value of the target storage slot

This validation is used in the initial phase and other validation methods may be developed as modules in the future, such as the use of zkp.

Last updated