Function formatOnConsentProtocol

  • Name

    formatOnConsentProtocol

    Summary

    Returns an object according to the OnConsent transmission protocol format.

    Returns

    An object representing the onConsent transmission protocol.

    Parameters

    • protocol: "onConsent"

      The protocol (string) : "OnConsent".

    • consentList: string[]

      An array of account address that need to consent the protocol.

    • threshold: number

      The minimum number of consent to valid the protocol execution.

    Returns Protocols.TransmissionOnConsent

Generated using TypeDoc