AccessList class
An EIP-2930 transaction allows an optional AccessList which causes a transaction to warm (i.e. pre-cache) another addresses state and the specified storage keys.
This incurs an increased intrinsic cost for the transaction, but provides discounts for storage and state access throughout the execution of the transaction.
Constructors
-
AccessList(String address, List<
String> storageKeys) -
Create new AccessList from
address
andstorageKeys
,storageKeys
elements must be empty or bytes32 string.factory
Properties
- address → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- impl → _AccessListImpl
-
Internal JS Object, should not be used directly.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
storageKeys
→ List<
String> -
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited