You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CairoZero had __default__ entrypoints, calling default would fallback on a generic behavior. We don't have this now, but what we can do is create a special type of DefaultDispatcher, that would wrap the internal call to a call to __default__ on a given contract.
Perhaps this can be simplified with a Scarb Macro that, given a starknet interface, would generate the dispatcher that abstracts this default call.
The text was updated successfully, but these errors were encountered:
CairoZero had
__default__
entrypoints, calling default would fallback on a generic behavior. We don't have this now, but what we can do is create a special type of DefaultDispatcher, that would wrap the internal call to a call to__default__
on a given contract.Perhaps this can be simplified with a Scarb Macro that, given a starknet interface, would generate the dispatcher that abstracts this default call.
The text was updated successfully, but these errors were encountered: