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
pretty like interface in solidity, in zink we use the built-in rust trait
Solution
// we need to export all methods from ERC20 & override the function `name` in this macro#[zink::interface]implERC20forMyContract{fnname() -> String32{"foo"}}
The text was updated successfully, but these errors were encountered:
Describe the feature
pretty like
interface
in solidity, in zink we use the built-in rust traitSolution
The text was updated successfully, but these errors were encountered: