1ad97adc7c
* Replace expect with error * Move PersistentStorage in separate file * Add in-memory cred manager * Make wasm and mobile build * Unify wasm and mobile cred storage * Network defaults has mainnet default * Add network_details to SDK * Move BandwidthController in its own crate * Move out credential into lib crate * Remove nyxd arg in credential binary * Use acquire cred in sdk * Add example file, in sandbox * Mobile lock file * Update changelog * Clearer builder methods and more documentation for them * Sign only amount, without denom * Toggle credentials mode on when enabled
16 lines
394 B
Rust
16 lines
394 B
Rust
// Copyright 2022 - Nym Technologies SA <contact@nymtech.net>
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
#[derive(Clone)]
|
|
pub struct CoconutCredential {
|
|
#[allow(dead_code)]
|
|
pub id: i64,
|
|
pub voucher_value: String,
|
|
pub voucher_info: String,
|
|
pub serial_number: String,
|
|
pub binding_number: String,
|
|
pub signature: String,
|
|
pub epoch_id: String,
|
|
pub consumed: bool,
|
|
}
|