Documentation ¶
Index ¶
- Constants
- func MakeAcceptMsg(acceptMsg types.AcceptMsg, privKey key.PrivateKey) (privtypes.MsgAccept, error)
- func MakeAddAdminMsg(addAdminMsg types.AddAdminMsg, privKey key.PrivateKey) (privtypes.MsgAddAdmin, error)
- func MakeDenyMsg(denyMsg types.DenyMsg, privKey key.PrivateKey) (privtypes.MsgDeny, error)
- func MakeExileMsg(exileMsg types.ExileMsg, privKey key.PrivateKey) (privtypes.MsgExile, error)
- func MakeGenDIDSignMsg(genDIDSignMsg types.GenDIDSignMsg, lcdUrl, grpcUrl string, ...) (string, error)
- func MakeGetVPMsg(getVPMsg types.GetVPMsg) (privtypes.QueryGetVPRequest, error)
- func MakeInitialAdminMsg(initialAdminMsg types.InitialAdminMsg, privKey key.PrivateKey) (privtypes.MsgInitialAdmin, error)
- func MakeIssueVCMsg(issueVCMsg types.IssueVCMsg) (privtypes.QueryIssueVCRequest, error)
- func MakeParticipateMsg(participateMsg types.ParticipateMsg, lcdUrl, grpcUrl string, ...) (privtypes.MsgParticipate, error)
- func MakeParticipateStateMsg(participateStateMsg types.ParticipateStateMsg) (privtypes.QueryParticipateStateRequest, error)
- func MakeQueryAdminMsg() (privtypes.QueryAdminRequest, error)
- func MakeQuitMsg(quitMsg types.QuitMsg, lcdUrl, grpcUrl string, grpcConn grpc.ClientConn, ...) (privtypes.MsgQuit, error)
Constants ¶
View Source
const ( PrivateModule = "private" PrivateInitialAdminMsgType = "initial-admin" PrivateAddAdminMsgType = "add-admin" PrivateParticipateMsgType = "participate" PrivateAcceptMsgType = "accept" PrivateDenyMsgType = "deny" PrivateExileMsgType = "exile" PrivateQuitMsgType = "quit" PrivateQueryAdminMsgType = "query-admin" PrivateParticipateStateMsgType = "participate-state" PrivateGenDIDSignMsgType = "gen-did-sig" PrivateIssueVCMsgType = "issue-vc" PrivateGetVPMsgType = "get-vp" )
Variables ¶
This section is empty.
Functions ¶
func MakeAcceptMsg ¶
(Tx) make msg - accept
func MakeAddAdminMsg ¶
func MakeAddAdminMsg(addAdminMsg types.AddAdminMsg, privKey key.PrivateKey) (privtypes.MsgAddAdmin, error)
(Tx) make msg - add admin
func MakeDenyMsg ¶
(Tx) make msg - deny
func MakeExileMsg ¶
(Tx) make msg - exile
func MakeGenDIDSignMsg ¶
func MakeGenDIDSignMsg(genDIDSignMsg types.GenDIDSignMsg, lcdUrl, grpcUrl string, grpcConn grpc.ClientConn, ctx context.Context) (string, error)
(Query) make msg - gen DID signature
func MakeGetVPMsg ¶
func MakeGetVPMsg(getVPMsg types.GetVPMsg) (privtypes.QueryGetVPRequest, error)
(Query) make msg - get vp
func MakeInitialAdminMsg ¶
func MakeInitialAdminMsg(initialAdminMsg types.InitialAdminMsg, privKey key.PrivateKey) (privtypes.MsgInitialAdmin, error)
(Tx) make msg - initial admin
func MakeIssueVCMsg ¶
func MakeIssueVCMsg(issueVCMsg types.IssueVCMsg) (privtypes.QueryIssueVCRequest, error)
(Query) make msg - issue vc
func MakeParticipateMsg ¶
func MakeParticipateMsg(participateMsg types.ParticipateMsg, lcdUrl, grpcUrl string, grpcConn grpc.ClientConn, privKey key.PrivateKey, ctx context.Context) (privtypes.MsgParticipate, error)
(Tx) make msg - participate
func MakeParticipateStateMsg ¶
func MakeParticipateStateMsg(participateStateMsg types.ParticipateStateMsg) (privtypes.QueryParticipateStateRequest, error)
(Query) make msg - participate state
func MakeQueryAdminMsg ¶
func MakeQueryAdminMsg() (privtypes.QueryAdminRequest, error)
(Query) make msg - query admin
func MakeQuitMsg ¶
func MakeQuitMsg(quitMsg types.QuitMsg, lcdUrl, grpcUrl string, grpcConn grpc.ClientConn, privKey key.PrivateKey, ctx context.Context) (privtypes.MsgQuit, error)
(Tx) make msg - quit
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.