payload

payload definition | code​

/**
* LiquidAccounts use a payload syntax in order to pass params. This payload is setup as a struct and uses the EOSLIB_SERIALIZE to create the payload type
*
* @param {name} vaccount - vaccount that owns table
*
* Notes
* - primary key for the vaccount payload table must be "vaccount" for client side library support
*
* Example:
*
* @code
* struct dummy_action_hello {
* name vaccount;
* uint64_t b;
* uint64_t c;
*
* EOSLIB_SERIALIZE( dummy_action_hello, (vaccount)(b)(c) )
* };
*
* [[eosio::action]] void hello(dummy_action_hello payload) {
* ...
* }
* @endcode
*/