getStorageAt method
Future<List<int> >
getStorageAt({
- required EthereumProvider provider,
- required int offset,
- required int length,
override
"stateMutability": "view",
length bytes of storage in the current contract
Implementation
@override
Future<List<int>> getStorageAt({
required EthereumProvider provider,
required int offset,
required int length,
}) async {
final params = [BigInt.from(offset), BigInt.from(length)];
return queryContract<List<int>>(
provider: provider,
functionName: SafeContractFunction.getStorageAt,
params: params,
);
}