Skip to content

Commit

Permalink
feat: add Clawback flags (#777)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnxie999 authored Jul 10, 2023
1 parent a8b5944 commit 14e2709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/containers/shared/transactionUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export const TX_FLAGS: Record<string, Record<number, string>> = {
}

export const ACCOUNT_FLAGS: Record<number, string> = {
16: 'asfAllowClawback',
15: 'asfDisallowIncomingTrustline',
14: 'asfDisallowIncomingPayChan',
13: 'asfDisallowIncomingCheck',
Expand Down
1 change: 1 addition & 0 deletions src/rippled/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const ACCOUNT_FLAGS = {
0x10000000: 'lsfDisallowIncomingPayChan',
0x20000000: 'lsfDisallowIncomingTrustline',
0x40000000: 'lsfAMM',
0x80000000: 'lsfAllowClawback',
}
const NFT_FLAGS = {
0x00000001: 'lsfBurnable',
Expand Down

0 comments on commit 14e2709

Please sign in to comment.