Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpeterparker committed Dec 30, 2024
1 parent fff9684 commit b91c19b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/constants/icrc-2.idl.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ import {IDL} from '@dfinity/candid';
*/

const Account = IDL.Record({
owner: IDL.Principal,
subaccount: IDL.Opt(IDL.Vec(IDL.Nat8))
owner: IDL.Principal,
subaccount: IDL.Opt(IDL.Vec(IDL.Nat8))
});

export const ApproveArgs = IDL.Record({
fee: IDL.Opt(IDL.Nat),
memo: IDL.Opt(IDL.Vec(IDL.Nat8)),
from_subaccount: IDL.Opt(IDL.Vec(IDL.Nat8)),
created_at_time: IDL.Opt(IDL.Nat64),
amount: IDL.Nat,
expected_allowance: IDL.Opt(IDL.Nat),
expires_at: IDL.Opt(IDL.Nat64),
spender: Account
});
fee: IDL.Opt(IDL.Nat),
memo: IDL.Opt(IDL.Vec(IDL.Nat8)),
from_subaccount: IDL.Opt(IDL.Vec(IDL.Nat8)),
created_at_time: IDL.Opt(IDL.Nat64),
amount: IDL.Nat,
expected_allowance: IDL.Opt(IDL.Nat),
expires_at: IDL.Opt(IDL.Nat64),
spender: Account
});

0 comments on commit b91c19b

Please sign in to comment.