From 430685d8313bc8eb1901ab2166ab26677e926d23 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 12 Dec 2019 12:52:18 +0100 Subject: [PATCH] Update contracts. --- docs/contracts.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 5bab6e78a..1426bfd16 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -7,9 +7,10 @@ Contracts ########## Contracts in Solidity are similar to classes in object-oriented languages. They -contain persistent data in state variables and functions that can modify these +contain persistent data in state variables, and functions that can modify these variables. Calling a function on a different contract (instance) will perform -an EVM function call and thus switch the context such that state variables are +an EVM function call and thus switch the context such that state variables +in the calling contract are inaccessible. A contract and its functions need to be called for anything to happen. There is no "cron" concept in Ethereum to call a function at a particular event automatically.