/** * LiquidAccounts use the require_vaccount macro in place of the require_auth macro for authenticating a LiquidAccount against the key assigned when calling regaccount
* * @param {name} - vaccount from payload * * Example: * * @code * require_vaccount(payload.vaccount); * @endcode */voidrequired_key(const eosio::public_key& pubkey){ \ eosio::check(_pubkey == pubkey,"wrong public key"); \} \voidrequire_vaccount(name vaccount){ \auto pkey =handleNonce(vaccount); \required_key(pkey); \} \