file dispatcher.hpp

Go to the source code of this file. |Type|Name| |-----|-----| ||EOSIO_DISPATCH|

Defines Documentation

define EOSIO_DISPATCH

define EOSIO_DISPATCH;

Convenient macro to create contract apply handler

Note:

To be able to use this macro, the contract needs to be derived from eosio::contract

Parameters:

  • TYPE - The class name of the contract
  • MEMBERS - The sequence of available actions supported by this contract

Example:

EOSIO_DISPATCH( eosio::bios, (setpriv)(setalimits)(setglimits)(setprods)(reqauth) )

The documentation for this class was generated from the following file: in/eosio.cdt/libraries/eosiolib/contracts/eosio/dispatcher.hpp

results matching ""

    No results matching ""