Contract A calls an inline action on contract B via INLINE_ACTION_SENDER(...)
.
How can contract B determine that it is being called by contract A?
In Dawn 4.0 at least, when A calls B it does so with an authorization that is specific to itself (generally, [email protected]
). B can check the authorization.
account_name
. Before usingINLINE_ACTION_SENDER
please check this out: eosio.stackexchange.com/a/320/54