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
External facing smart contracts should implement dual facing interfaces to allow better composability. It means that this contracts should support snake_case and CamelCase at the same time for external functions.
Sk8erboi84
changed the title
feat: support dual interfaces for all external facing contracts
Feat: support dual interfaces for all external facing contracts
Sep 5, 2023
Imo it would be better to handle this on the sdk side. Applications like Puppetcopy would already need a starknet sdk. It can easily abstract this by converting camel case to snake case before constructing the txn
Description
External facing smart contracts should implement dual facing interfaces to allow better composability. It means that this contracts should support snake_case and CamelCase at the same time for external functions.
Example on open-zeppelin: OpenZeppelin/cairo-contracts#596
The text was updated successfully, but these errors were encountered: