Skip to content

Commit daa90e2

Browse files
Create proof.rs
1 parent bc4f37b commit daa90e2

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/proof.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// src/proof.rs
2+
3+
use crate::intent::{IntentId, Address, Amount};
4+
5+
#[derive(Debug, Clone, PartialEq, Eq)]
6+
pub struct CompletionProof {
7+
pub intent_id: IntentId,
8+
pub receiver: Address,
9+
pub claimed_amount: Amount,
10+
pub evidence_ref: EvidenceRef,
11+
pub timestamp: u64,
12+
pub metadata: Option<Vec<u8>>,
13+
}
14+
15+
#[derive(Debug, Clone, PartialEq, Eq)]
16+
pub struct EvidenceRef(pub Vec<u8>);

0 commit comments

Comments
 (0)