Expand description
Module containing a contract’s types and functions.
library Bridge {
struct MerkleProof { bytes intermediateNodes; uint256 blockHeight; uint256 index; }
struct Transaction { bytes4 version; bytes2 flag; bytes vin; bytes vout; bytes witness; bytes4 locktime; }
struct UTXO { bytes32 txId; bytes4 outputId; }
}