This is the message type used to do KYC whitelisting (by Bussiness users).

Parameters

The message type contains the following parameters:

Name Type Required Description
from string true Account address
to string true Account address
kycAddress string true KYC address

-dx

Example


Handler

The role of the handler is to define what action(s) needs to be taken when this MsgKycBind message is received.

In the file (./x/kyc/handler.go) start with the following code:

Image-1

NewHandler is essentially a sub-router that directs messages coming into this module to the proper handler. Now, you need to define the actual logic for handling the MsgKycBind message in handleMsgBurnNonFungibleItem:

Image-2

In this function, requirements need to be met before emitted by the network.

  • Authoriser, Issuer, provider must be authorised users.
  • Business Entity with valid account only can proceed for Corporate-KYC process.

Events

This tutorial describes how to create maxonrow events for scanner on this after emitted by a network.

Image-1

Usage

This MakeMxwEvents create maxonrow events, by accepting :

  • Custom Event Signature : using KycBinded(string,string,string)
  • Signer
  • Event Parameters as below:
Name Type Description
from string Account address
to string Account address
value string KYC address