forEachContract

fun <T> forEachContract(fn: (WalletContract) -> T?): T?

Iterate through all contracts