ExW3.Contract (exw3 v0.6.1) View Source
Link to this section Summary
Functions
Returns the current Contract GenServer's address
Sets the address for the contract specified by the name argument
Use a Contract's method with an eth_call
Returns a specification to start this module under a supervisor.
Deploys contracts with given arguments
Installs a filter on the Ethereum node. This also formats the parameters, and saves relevant information to format event logs.
Using saved information related to the filter id, event logs are formatted properly
Callback implementation for GenServer.init/1
.
Registers the contract with the ContractManager process. Only :abi is required field.
Use a Contract's method with an eth_sendTransaction
Begins the Contract process to manage all interactions with smart contracts
Returns a formatted transaction receipt for the given transaction hash(id)
Uninstalls the filter, and deletes the data associated with the filter id
Link to this section Functions
Specs
Returns the current Contract GenServer's address
Specs
Sets the address for the contract specified by the name argument
call(contract_name, method_name, args \\ [], timeout \\ :infinity)
View SourceSpecs
Use a Contract's method with an eth_call
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
Deploys contracts with given arguments
Specs
Installs a filter on the Ethereum node. This also formats the parameters, and saves relevant information to format event logs.
Specs
Using saved information related to the filter id, event logs are formatted properly
Callback implementation for GenServer.init/1
.
Specs
Registers the contract with the ContractManager process. Only :abi is required field.
Specs
Use a Contract's method with an eth_sendTransaction
Begins the Contract process to manage all interactions with smart contracts
Specs
Returns a formatted transaction receipt for the given transaction hash(id)
Specs
uninstall_filter(binary()) :: :ok
Uninstalls the filter, and deletes the data associated with the filter id