diff options
Diffstat (limited to 'docs/types.rst')
-rw-r--r-- | docs/types.rst | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/types.rst b/docs/types.rst index c324535e..ac6a8c85 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -199,16 +199,13 @@ The ``.gas()`` option is available on all three methods, while the ``.value()`` Contract Types -------------- -Every :ref:`contract<contracts>` defines its own type, defined by its smart -contract that you can call from another contract. For example (where ``Token`` -is a contract) :: - - Token token = new Token(); - -Contracts can be implicitly converted to contracts they inherit from, and can be explicitly converted from and to the ``address`` type. +Every :ref:`contract<contracts>` defines its own type. +Contracts can be implicitly converted to contracts they inherit from, +and can be explicitly converted from and to the ``address`` type. .. note:: - Starting with version 0.5.0 contracts do not derive from the address type, but can still be explicitly converted to address. + Starting with version 0.5.0 contracts do not derive from the address type, + but can still be explicitly converted to address. Contracts can also be instantiated (which means they are newly created). You |