external_contract

Attribute Macro external_contract 

Source
#[external_contract]
Expand description

Provides implementation of a reference to an external contract.

If you don’t have access to the contract source code, but want to call it, you can create a reference to it and interact exactly the same way as with a contract written using module macro.