canic_core/spec/icrc/icrc2.rs
1pub use icrc_ledger_types::icrc2::allowance::Allowance;
2
3use crate::types::Account;
4use candid::CandidType;
5use serde::{Deserialize, Serialize};
6
7///
8/// AllowanceArgs
9/// wrapped to use the canic Account
10///
11
12#[derive(CandidType, Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
13pub struct AllowanceArgs {
14 pub account: Account,
15 pub spender: Account,
16}