Updated on 2026-08-14
This commit is contained in:
parent
7e79305db7
commit
55942f2208
13 changed files with 281 additions and 71 deletions
|
|
@ -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
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue