forked from hush/hush-android-wallet-sdk
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
835 B
25 lines
835 B
package cash.z.ecc.android.sdk.type
|
|
|
|
/**
|
|
* A grouping of keys that correspond to a single wallet account but do not have spend authority.
|
|
*
|
|
* @param extfvk the extended full viewing key which provides the ability to see inbound and
|
|
* outbound shielded transactions. It can also be used to derive a z-addr.
|
|
* @param extpub the extended public key which provides the ability to see transparent
|
|
* transactions. It can also be used to derive a t-addr.
|
|
*/
|
|
data class UnifiedViewingKey(
|
|
val extfvk: String = "",
|
|
val extpub: String = ""
|
|
)
|
|
|
|
data class UnifiedAddressAccount(
|
|
val accountId: Int = -1,
|
|
override val rawShieldedAddress: String = "",
|
|
override val rawTransparentAddress: String = ""
|
|
) : UnifiedAddress
|
|
|
|
interface UnifiedAddress {
|
|
val rawShieldedAddress: String
|
|
val rawTransparentAddress: String
|
|
}
|
|
|