ERC1155Contract class

Inheritance

Constructors

ERC1155Contract.new({required String contractAddress, required EvmRpcInterface rpc})

Properties

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

Methods

balanceOf({required String address, required BigInt tokenID}) → Future<BigInt>
balanceOfBatch({required List<String> accounts, required List<BigInt> tokenIDs}) → Future<List<BigInt>>
buildTransactionForFunction({required ContractFunctionWithValues function, required String sender, EvmFeeInformation<EvmGasPrice>? feeInfo, BigInt? value}) → Future<RawEvmTransaction>
inherited
getUri({required BigInt tokenID}) → Future<String>
interact({required ContractFunctionWithValues function, required Uint8List privateKey, required String sender, EvmFeeInformation<EvmGasPrice>? feeInfo, BigInt? value, List<AccessListItem>? accessList}) → Future<String>
inherited
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>
inherited
readSafe({required LocalContractFunctionWithValues function, BlockNum? atBlock}) → Future<LocalContractFunctionWithValuesAndOutputs>
inherited
safeTransferFrom({required String sender, required String to, required BigInt tokenID, required BigInt amount, required Uint8List privateKey, Uint8List? data, EvmFeeInformation<EvmGasPrice>? feeInfo, List<AccessListItem>? accessList}) → Future<String>
toString() → String
A string representation of this object.
inherited

Operators

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