Type Alias ParachainsHrmpEvent

ParachainsHrmpEvent: Enum<{
    ChannelClosed: {
        by_parachain: number;
        channel_id: {
            recipient: number;
            sender: number;
        };
    };
    HrmpChannelForceOpened: {
        proposed_max_capacity: number;
        proposed_max_message_size: number;
        recipient: number;
        sender: number;
    };
    HrmpSystemChannelOpened: {
        proposed_max_capacity: number;
        proposed_max_message_size: number;
        recipient: number;
        sender: number;
    };
    OpenChannelAccepted: {
        recipient: number;
        sender: number;
    };
    OpenChannelCanceled: {
        by_parachain: number;
        channel_id: {
            recipient: number;
            sender: number;
        };
    };
    OpenChannelDepositsUpdated: {
        recipient: number;
        sender: number;
    };
    OpenChannelRequested: {
        proposed_max_capacity: number;
        proposed_max_message_size: number;
        recipient: number;
        sender: number;
    };
}>

Type declaration

  • ChannelClosed: {
        by_parachain: number;
        channel_id: {
            recipient: number;
            sender: number;
        };
    }

    HRMP channel closed.

    • by_parachain: number
    • channel_id: {
          recipient: number;
          sender: number;
      }
      • recipient: number
      • sender: number
  • HrmpChannelForceOpened: {
        proposed_max_capacity: number;
        proposed_max_message_size: number;
        recipient: number;
        sender: number;
    }

    An HRMP channel was opened via Root origin.

    • proposed_max_capacity: number
    • proposed_max_message_size: number
    • recipient: number
    • sender: number
  • HrmpSystemChannelOpened: {
        proposed_max_capacity: number;
        proposed_max_message_size: number;
        recipient: number;
        sender: number;
    }

    An HRMP channel was opened with a system chain.

    • proposed_max_capacity: number
    • proposed_max_message_size: number
    • recipient: number
    • sender: number
  • OpenChannelAccepted: {
        recipient: number;
        sender: number;
    }

    Open HRMP channel accepted.

    • recipient: number
    • sender: number
  • OpenChannelCanceled: {
        by_parachain: number;
        channel_id: {
            recipient: number;
            sender: number;
        };
    }

    An HRMP channel request sent by the receiver was canceled by either party.

    • by_parachain: number
    • channel_id: {
          recipient: number;
          sender: number;
      }
      • recipient: number
      • sender: number
  • OpenChannelDepositsUpdated: {
        recipient: number;
        sender: number;
    }

    An HRMP channel's deposits were updated.

    • recipient: number
    • sender: number
  • OpenChannelRequested: {
        proposed_max_capacity: number;
        proposed_max_message_size: number;
        recipient: number;
        sender: number;
    }

    Open HRMP channel requested.

    • proposed_max_capacity: number
    • proposed_max_message_size: number
    • recipient: number
    • sender: number