Updated on 2026-08-14
This commit is contained in:
parent
972a287b1d
commit
ef6918ce4a
20 changed files with 374 additions and 115 deletions
|
|
@ -174,10 +174,10 @@ internal class DefaultYieldSupplyRepository(
|
|||
null
|
||||
}
|
||||
|
||||
private fun Set<TxInfo>.hasYieldEnterTransactions(yieldAddress: String) = any {
|
||||
it.type == TxInfo.TransactionType.YieldSupply.Enter ||
|
||||
it.type == TxInfo.TransactionType.Approve &&
|
||||
(it.interactionAddressType as? TxInfo.InteractionAddressType.Contract)?.address == yieldAddress
|
||||
private fun Set<TxInfo>.hasYieldEnterTransactions(yieldAddress: String) = any { txInfo ->
|
||||
txInfo.type is TxInfo.TransactionType.YieldSupply.Enter ||
|
||||
txInfo.type == TxInfo.TransactionType.Approve &&
|
||||
(txInfo.interactionAddressType as? TxInfo.InteractionAddressType.Contract)?.address == yieldAddress
|
||||
}
|
||||
|
||||
private fun Set<TxInfo>.hasYieldExitTransactions() = any {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue