[][src]Module substrate_subxt::contracts

Implements support for the pallet_contracts module.

Structs

CallCall

Makes a call to an account, optionally transferring some balance.

CodeStoredEvent

Code stored event.

InstantiateCall

Creates a new contract from the codehash generated by put_code, optionally transferring some balance.

InstantiatedEvent

Instantiated event.

PutCodeCall

Stores the given binary Wasm code into the chain's storage and returns its codehash. You can instantiate contracts only with stored code.

Traits

CallCallExt

Call extension trait.

CodeStoredEventExt

Event extension trait.

Contracts

The subset of the pallet_contracts::Trait that a client must implement.

ContractsEventsDecoder

EventsDecoder extension trait.

InstantiateCallExt

Call extension trait.

InstantiatedEventExt

Event extension trait.

PutCodeCallExt

Call extension trait.

Type Definitions

Gas

Gas units are chosen to be represented by u64 so that gas metering instructions can operate on them efficiently.