Skip to content

Commit

Permalink
Adds missing field (ID) to state object (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Akhila Raju authored and smartcontracts committed Jun 6, 2019
1 parent 8950c4f commit 1816af6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/docs/src/spec/src/02-contracts/deposit-contract.rst
Expand Up @@ -45,6 +45,7 @@ StateObject
.. code-block:: solidity
struct StateObject {
string id;
address predicate;
bytes data;
}
Expand All @@ -55,8 +56,9 @@ Represents a `state object`_. Contains the address of the `predicate contract`_

Fields
^^^^^^
1. ``predicateAddress`` - ``address``: Address of the `predicate contract`_ that dictates how the object can be mutated.
2. ``data`` - ``bytes``: Arbitrary state data for the object.
1. ``id`` - ``string``: A globally unique identifier for this state object.
2. ``predicateAddress`` - ``address``: Address of the `predicate contract`_ that dictates how the object can be mutated.
3. ``data`` - ``bytes``: Arbitrary state data for the object.

-------------------------------------------------------------------------------

Expand Down

0 comments on commit 1816af6

Please sign in to comment.