#[starknet::interface]
(IContract
)IContractDispatcher
and IContractDispatcherTrait
)Caller
) interacts with another (Callee
). The Callee
contract stores a value that can be set and retrieved:
Caller
contract demonstrates how to use the dispatcher to interact with Callee
:
#[starknet::interface]
attribute automatically generates the dispatcher typescall_contract_syscall
directly, it’s not recommended as it: