Function formatOnConsentProtocol

  • 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 TransmissionOnConsent

    An object representing the onConsent transmission protocol.

    Name

    formatOnConsentProtocol

    Summary

    Returns an object according to the OnConsent transmission protocol format.

Generated using TypeDoc