Messages
The module exposes the following messages (d.vcv.v1.Msg, see proto/d/vcv/v2/tx.proto).
UpdateParams is restricted to the module authority (the gov module address). All route- and
issuer-management messages must be sent by the admin of the targeted route.
MsgUpdateParamsRequest
Updates the module Params. The sender must be the module authority. Note that
max_presentation_len is fixed in this Dchain version and cannot be changed; only
suspicious_threshold is effectively updatable.
MsgAddRouteRequest
Adds a new verification Route for a given route_id. The route_id follows the routeId
convention (the gated message's proto name, optionally suffixed with :<id>, e.g.
/d.notary.v1.MsgNotarise:1). The supplied Route carries the route admin, the RouteType
(ROUTE_TYPE_SD_JWT), and the map of issuers with their requirements and verification materials.
Adding a route that already exists fails.
MsgAddIssuerRequirementsRequest
Appends content_requirements and/or extension_requirements for a given issuer on an existing
route. The sender must be the route's admin.
MsgReplaceIssuerRequirementsRequest
Replaces (rather than appends) the content_requirements and/or extension_requirements for an
existing issuer on a route. The sender must be the route's admin.
MsgAddIssuerVerificationMaterialRequest
Adds a single VerificationMaterial (an issuer public key, e.g. a Jwk) for a given issuer on a
route. The sender must be the route's admin.
MsgRotateVerificationMaterialRequest
Replaces all of an issuer's verification_materials with a new list - used to rotate the issuer's
signing keys. The sender must be the route's admin.