TransactionSEALED
╲&!#◇●█▫■^▫*^╲▒^*╲?▪■?@&◇▫▓*▪■□&◇○░○╳!▪●●╲▫●~*●~!▪@◆▒╱◇$?■▫█■▪#^
Transaction ID
Transaction Summary
Contract CallCalled LendingInterfaces, LendingConfig
Contracts
Script Arguments
Cadence Script
1import LendingInterfaces from 0x2df970b6cdee5735
2import LendingConfig from 0x2df970b6cdee5735
3
4transaction() {
5 prepare(userAccount: AuthAccount) {
6 let comptrollerRef = getAccount(0xf80cb737bfe7c792).getCapability<&{LendingInterfaces.ComptrollerPublic}>(LendingConfig.ComptrollerPublicPath).borrow()!
7 let poolAddrs = comptrollerRef.getAllMarkets()
8 for poolAddr in poolAddrs {
9 getAccount(poolAddr).getCapability<&{LendingInterfaces.PoolPublic}>(/public/incrementLendingPoolPublic).borrow()!.accrueInterest()
10 }
11 }
12}