Comment on page
What is Contract Action
Simply put, an action is taken to make the contract perform a particular task as instructed by code. In programming, these actions are known as calls.
A traditional paper-based contract does not directly control participants' involvement. This may result in the document being misused by the parties for personal gain. On the other hand, smart contracts ensure that parties take actions defined by their terms concurrently.
This is done through the code, the governing law of the smart contract. It guarantees that the necessary contract action is taken before another one.
Although the way the actions (calls) to the contract are made is similar, the result of each is different. Some contract actions cause the contract to change its state after completing a specified instruction. Other actions do not. It depends on whether or not the contract is on the blockchain. if so, the action requests a blockchain transaction*, and the changes are caused to the contract state.
All contract actions are irreversible and should be carefully considered before being taken.
For more information, refer to the specific contract action contained in the current section.