Skip to main content

States

NextNotaryInfoId

The NextNotaryInfoId is a global counter for the notary info id. It increments by 1 for each notary info registered by decentralised applications.

NotaryInfoMap

The mapping of the notary info object to the notary info id. The NotaryInfo is given as:


// The verifier contract type to be stored in the module
message NotaryInfo{
// The address used to create this object and can be used to update it
string notary_info_admin = 1
[ (cosmos_proto.scalar) = "cosmos.AddressString" ];
// The verification mechanism contract info
VerificationMechanism verification_mechanism = 2;
// The post verification action
PostVerificationAction post_verification_action = 3;
}

NotarisedObjectSetMap

In the case where smart contracts are instantiated as a result of the verification process for a specific NotaryInfoId, the NotarisedObjectSetMap stores the Set of contract addresses to a NotaryInfoId.

This is particularly useful as the notarised object smart contract can be checked that it was instantiated after a given verifier check and belongs to the NotaryInfoId.