From 5ccece46352ea08bbb49ae26089b07206d859589 Mon Sep 17 00:00:00 2001 From: Nikita Fuchs Date: Mon, 26 Apr 2021 11:35:30 +0200 Subject: [PATCH] Update docs/sophia.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Radosław Rowicki <35342116+radrow@users.noreply.github.com> --- docs/sophia.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sophia.md b/docs/sophia.md index 4384b69..8870628 100644 --- a/docs/sophia.md +++ b/docs/sophia.md @@ -79,7 +79,7 @@ The main unit of code in Sophia is the *contract*. - A contract instance is an entity living on the block chain (or in a state channel). Each instance has an address that can be used to call its entrypoints, either from another contract or in a call transaction. -- A contract may define a type `state` encapsulating its local +- A contract may define a type `state` encapsulating its local mutable state. When creating a new contract the `init` entrypoint is executed and the state is initialized to its return value.