Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
julio4 committed Jul 18, 2023
1 parent ab3d58b commit dd45816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ch00-14-interfaces-traits.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contract interfaces and Traits generation

Contract interfaces define the structure and behavior of a contract, serving as the contract's public ABI. They list all the function signatures that a contract exposes. For a detailed explanation of interfaces, you can refer to thee [Cairo Book](https://book.cairo-lang.org/ch99-01-02-a-simple-contract.html).
Contract interfaces define the structure and behavior of a contract, serving as the contract's public ABI. They list all the function signatures that a contract exposes. For a detailed explanation of interfaces, you can refer to the [Cairo Book](https://book.cairo-lang.org/ch99-01-02-a-simple-contract.html).

In cairo, to specify the interface you need to define a trait annotated with `#[starknet::interface]` and then implement that trait in the contract.

Expand Down

0 comments on commit dd45816

Please sign in to comment.