diff --git a/docs/src/assets/contract-dependency-diagram.png b/docs/src/assets/contract-dependency-diagram.png index ff5552931..46975ba49 100644 Binary files a/docs/src/assets/contract-dependency-diagram.png and b/docs/src/assets/contract-dependency-diagram.png differ diff --git a/docs/src/content/docs/book/compile.mdx b/docs/src/content/docs/book/compile.mdx index ea0b52534..5520e8fca 100644 --- a/docs/src/content/docs/book/compile.mdx +++ b/docs/src/content/docs/book/compile.mdx @@ -118,7 +118,7 @@ For example: ![Trait inheritance diagram](/src/assets/trait-inheritance-diagram.png) -There, `SampleTactContract` inherits the [`Deployable{:tact}`](/ref/stdlib-deploy#deployable) trait, and both inherit the [`BaseTrait{:tact}`](/ref/core-base). +There, [`JettonWallet`](https://github.com/tact-lang/jetton/blob/ef802f95c967f2fd37e80893845c3c3ed7c34c78/sources/jetton_wallet.tact) inherits the `WalletExitcodes` and `GasConstant` traits, and all inherit the [`BaseTrait{:tact}`](/ref/core-base). #### Contract dependency diagram {#contract-diagram} diff --git a/docs/src/content/docs/book/contracts.mdx b/docs/src/content/docs/book/contracts.mdx index cacab40c2..7aae8237b 100644 --- a/docs/src/content/docs/book/contracts.mdx +++ b/docs/src/content/docs/book/contracts.mdx @@ -33,7 +33,7 @@ Each contract can contain: * [Receiver functions](#receiver-functions) * [Internal functions](#internal-functions) -### Inherited traits, `with{:tact}` {#traits} +### Inherited traits, `with` {#traits} Contracts can inherit all the declarations and definitions from [traits][trait] and override some of their default behaviours. In addition to that, every contract and trait implicitly inherits the special [`BaseTrait{:tact}` trait](/ref/core-base).