Updated on 2026-08-14
This commit is contained in:
parent
76209eb454
commit
64d429f642
15 changed files with 120 additions and 110 deletions
|
|
@ -81,7 +81,14 @@ internal class DefaultVisaContractInfoProvider(
|
|||
{ fetchBalances(paymentAccount, paymentToken) },
|
||||
{ fetchLimits(paymentAccount, paymentToken, walletAddress) },
|
||||
{ token, balances, (oldLimit, newLimit, changeDate) ->
|
||||
VisaContractInfo(token, balances, oldLimit, newLimit, changeDate)
|
||||
VisaContractInfo(
|
||||
token = token,
|
||||
balances = balances,
|
||||
oldLimits = oldLimit,
|
||||
newLimits = newLimit,
|
||||
paymentAccountAddress = paymentAccount.contractAddress,
|
||||
limitsChangeDate = changeDate,
|
||||
)
|
||||
},
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -9,6 +9,7 @@ data class VisaContractInfo(
|
|||
val balances: Balances,
|
||||
val oldLimits: Limits,
|
||||
val newLimits: Limits,
|
||||
val paymentAccountAddress: String,
|
||||
val limitsChangeDate: Instant,
|
||||
) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue