InternalContract class abstract

Implementers

Constructors

InternalContract.new({required ContractABI abi, required String contractAddress, required EvmRpcInterface rpc})
const

Properties

abi → ContractABI
final
contractAddress → String
final
hashCode → int
The hash code for this object.
no setterinherited
rpc → EvmRpcInterface
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildTransactionForFunction({required ContractFunctionWithValues function, required String sender, EvmFeeInformation<EvmGasPrice>? feeInfo, BigInt? value}) → Future<RawEvmTransaction>
interact({required ContractFunctionWithValues function, required Uint8List privateKey, required String sender, EvmFeeInformation<EvmGasPrice>? feeInfo, BigInt? value, List<AccessListItem>? accessList}) → Future<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read({required ExternalContractFunctionWithValues function, BlockNum? atBlock, required List<FunctionParam>? outputs, StateMutability? stateMutability}) → Future<ExternalContractFunctionWithValuesAndOutputs>
readSafe({required LocalContractFunctionWithValues function, BlockNum? atBlock}) → Future<LocalContractFunctionWithValuesAndOutputs>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited