Updated on 2026-08-14

This commit is contained in:
Tangem 2024-05-15 18:07:42 +08:00
parent 7e79305db7
commit 55942f2208
13 changed files with 281 additions and 71 deletions

View file

@ -1,8 +1,21 @@
package com.tangem.lib.crypto.models
import java.math.BigDecimal
import java.math.BigInteger
data class ProxyFee(
val gasLimit: BigInteger,
val fee: ProxyAmount,
)
sealed interface ProxyFee {
val gasLimit: BigInteger
val fee: ProxyAmount
data class Common(
override val gasLimit: BigInteger,
override val fee: ProxyAmount,
) : ProxyFee
data class CardanoToken(
override val gasLimit: BigInteger,
override val fee: ProxyAmount,
val minAdaValue: BigDecimal,
) : ProxyFee
}