[][src]Module ethcontract::contract

Abtraction for interacting with ethereum smart contracts. Provides methods for sending transactions to contracts as well as querying current contract state.

Structs

CallFuture

Future representing a pending contract call (i.e. query) to be resolved when the call completes.

DeployBuilder

Builder for specifying options for deploying a linked contract.

DeployFuture

Future for deploying a contract instance.

DeployedFuture

Future for creating a deployed contract instance.

Deployments

Deployment information for for an Instance. This includes the contract ABI and the known addresses of contracts for network IDs. be used directly but rather through the Instance::deployed API.

Instance

Represents a contract instance at an address. Provides methods for contract interaction.

Linker

Builder for specifying linking options for a contract.

MethodBuilder

Data used for building a contract method call or transaction. The method builder can be demoted into a CallBuilder to not allow sending of transactions. This is useful when dealing with view functions.

MethodDefaults

Default options to be applied to MethodBuilder or ViewMethodBuilder.

MethodFuture

Future that wraps an inner transaction execution future to add method information to the error.

ViewMethodBuilder

Data used for building a contract method call. The view method builder can't directly send transactions and is for read only method calls.

Traits

Deploy

a factory trait for deployable contract instances. this traits provides functionality for building a deployment and creating instances of a contract type at a given address.

FromNetwork

a factory trait for deployable contract instances. this traits provides functionality for creating instances of a contract type for a given network ID.

Type Definitions

MethodSendFuture

A type alias for a MethodFuture wrapped SendFuture.