Skip to content

Commit 9dbe828

Browse files
committed
FIXUP: Receipt
1 parent 68f7512 commit 9dbe828

File tree

1 file changed

+7
-7
lines changed
  • crates/polymesh-api-client-extras/src

1 file changed

+7
-7
lines changed

crates/polymesh-api-client-extras/src/lib.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ pub struct TargetIdAuthorization {
3535
#[derive(Encode, Decode, Clone, PartialEq, Eq, Debug)]
3636
pub struct Receipt {
3737
/// Unique receipt number set by the signer for their receipts.
38-
uid: u64,
38+
pub uid: u64,
3939
/// The [`InstructionId`] of the instruction for which the receipt is for.
40-
instruction_id: InstructionId,
40+
pub instruction_id: InstructionId,
4141
/// The [`LegId`] of the leg for which the receipt is for.
42-
leg_id: LegId,
42+
pub leg_id: LegId,
4343
/// The [`IdentityId`] of the sender.
44-
sender_identity: IdentityId,
44+
pub sender_identity: IdentityId,
4545
/// The [`IdentityId`] of the receiver.
46-
receiver_identity: IdentityId,
46+
pub receiver_identity: IdentityId,
4747
/// [`Ticker`] of the asset being transferred.
48-
ticker: Ticker,
48+
pub ticker: Ticker,
4949
/// The amount transferred.
50-
amount: u128,
50+
pub amount: u128,
5151
}
5252

5353
#[derive(Clone, Debug, PartialEq, Eq)]

0 commit comments

Comments
 (0)