From dd45816391a3be7ffc011217c3d7525fa1a1e5b1 Mon Sep 17 00:00:00 2001 From: julio4 Date: Tue, 18 Jul 2023 09:28:32 +0200 Subject: [PATCH] fix: typo --- src/ch00-14-interfaces-traits.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch00-14-interfaces-traits.md b/src/ch00-14-interfaces-traits.md index 18d2c586..48ebbd08 100644 --- a/src/ch00-14-interfaces-traits.md +++ b/src/ch00-14-interfaces-traits.md @@ -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.