LogoLogo
  • ZENLAND DOCS
  • Getting started
    • What Is Smart Contract
    • What Is Network
    • What Is Explorer
    • What is Token
    • How Zenland works
  • FUNDAMENTALS
    • Zenland Contract
      • Contractee
      • Contractor
      • Contract Name
      • Contract Details
      • Agreed Amount
      • Contract Due Date
      • Buyer Protection Time
      • Zenland Fee
      • Zenland Fee Payer
    • Contract Chat
    • Contract Address
    • Custom Agent
    • Web3 Store
    • User Reputation
    • ZENF Token
    • Zenland Wallet
  • Contract Actions
    • What is Contract Action
    • Approve
    • Deploy
    • Transfer
    • Complete
    • Release
    • Dispute
    • Invite an Agent
    • Sync
    • Escrow user errors
  • contract states
    • What is Contract State
    • Draft State
    • Deployed State
    • Active State
    • Fulfilled State
    • Executed State
    • Disputed State
  • Smart contract types
    • Default Escrow Contract
    • Pre-Approved Contract
  • Extra
    • Tokenomics
    • Roadmap
    • Changelog
    • Contributors
Powered by GitBook
On this page

Was this helpful?

  1. contract states

What is Contract State

PreviousEscrow user errorsNextDraft State

Last updated 3 years ago

Was this helpful?

Contract state is a specific condition intentionally caused to the . The state is defined by a single or a number of taken by the parties.

The state records any changes, permissions, or other instructions given to the contract. Much like the DNA of the cell, the state reflects what happened to the contract throughout its "life".

The state is a necessary component of any smart contract that exists in the blockchain database. That said, only the parties entering into an agreement can request changes to the contract state.

As with all blockchain transactions*, the nodes (individual computers) processing them will prevent unauthorized access by third parties. Also, only specific contract actions defined in the code will have an effect on the contract state. Even in case of , the Zenland agent** is assigned to the case by either party after being invited. Before that specific action is taken no agent can access the contract.

Depending on what action is taken and what changes are made, the remains in the:

  • draft,

  • deployed,

  • active,

  • fulfilled,

  • disputed, or

  • executed state.

Important!

Because the contract in the is yet to be deployed (published) to the blockchain, the parties may edit the contract terms. After the contract is sent to the blockchain database, the actions only control but do not allow editing its terms.

Once the contract is executed, no further action is taken and the contract remains in this state as long as the blockchain exists. Thus, the executed state is the permanent state of a smart contract.

For information on what a particular state means refer to the relevant chapter in the current section.

Good to know

* Blockchain transactions are processed by nodes (individual computers) and require a fee known as a gas fee.

More on gas fees and why they exist can be found in "".

** Zenland agent is a contract-neutral third party, a verified individual who signs an NDA (non-disclosure agreement) and is trusted with the case.

Read agent-assisted disputes in detail under the "".

smart contract
contract action(s)
dispute escalation
Zenland contract
draft state
What is Network
Invite an Agent