updateWalletState method
Update the wallet state with a new set of Predicate Lock, Lock Address, and their associated Indices
lockPredicate
The lock predicate to add to the wallet state
lockAddress
The lock address to add to the wallet state
routine
The routine to add to the wallet state
vk
The verification key to add to the wallet state
indices
The indices to add to the wallet state
Implementation
@override
Future<void> updateWalletState(String lockPredicate, String lockAddress,
String? routine, String? vk, Indices indices) async {
await cartesiansStore.add(
_instance,
Cartesian(
xFellowship: indices.x,
yContract: indices.y,
zState: indices.z,
lockPredicate: lockPredicate,
address: lockAddress,
routine: routine,
vk: vk)
.toSembast,
);
}