mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-07 15:53:14 +00:00
feat: new public transaction kind
This commit is contained in:
parent
d76358c37f
commit
14b35a93c0
@ -5,6 +5,7 @@ pub mod block;
|
|||||||
pub mod commitment;
|
pub mod commitment;
|
||||||
pub mod merkle_tree_public;
|
pub mod merkle_tree_public;
|
||||||
pub mod nullifier;
|
pub mod nullifier;
|
||||||
|
pub mod public_transfer_receipts;
|
||||||
pub mod rpc_primitives;
|
pub mod rpc_primitives;
|
||||||
pub mod transaction;
|
pub mod transaction;
|
||||||
pub mod utxo_commitment;
|
pub mod utxo_commitment;
|
||||||
|
|||||||
10
common/src/public_transfer_receipts.rs
Normal file
10
common/src/public_transfer_receipts.rs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
use crate::merkle_tree_public::TreeHashType;
|
||||||
|
|
||||||
|
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||||
|
pub struct PublicNativeTokenSend {
|
||||||
|
pub from: TreeHashType,
|
||||||
|
pub to: TreeHashType,
|
||||||
|
pub moved_balance: u64,
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user