eos icon indicating copy to clipboard operation
eos copied to clipboard

EOSIO_ABI support for external contract calls

Open kesar opened this issue 8 years ago • 7 comments

If you need to catch, for example, a transfer of eosio.token, you need to tweak a bit how it works, and you can't auto-generate ABI.

Example:

https://github.com/kesar/twitbot/blob/master/contracts/twitbot/twitbot.cpp#L72

Need to add another macro that allows for processing other code's actions and need to convert one of the existing complex examples to use it (like proxy.cpp).

kesar avatar Apr 29 '18 12:04 kesar

Does it work as it is for you? I do not get this proxy.cpp -> it has no class "proxy" but namespace? Does not look like a typical contract

filipniziol avatar Jun 06 '18 08:06 filipniziol

Please refer to INLINE_ACTION_SENDER in eosio.system.cpp for calling an action from other contracts.

taokayan avatar Jun 27 '18 09:06 taokayan

@taokayan

issue is when you are listening for an action from other contract.

kesar avatar Jun 27 '18 11:06 kesar

Has this been solved yet?

outdoteth avatar Jul 03 '18 08:07 outdoteth

Any updates?

netishix avatar Sep 01 '18 18:09 netishix

No updates

tbfleming avatar Sep 02 '18 13:09 tbfleming

Please try this out on CDT and if you still have an issue please write it up there.

brianjohnson5972 avatar Oct 30 '18 20:10 brianjohnson5972