Skip to content

Commit

Permalink
Align TransactionType enum with the corresponding type from
Browse files Browse the repository at this point in the history
`concordium-grpc-api`
  • Loading branch information
soerenbf committed Aug 27, 2024
1 parent f6ca2f0 commit affcd78
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/sdk/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1187,18 +1187,18 @@ export enum AccountTransactionType {
UpdateBakerStake = 6,
UpdateBakerRestakeEarnings = 7,
UpdateBakerKeys = 8,
UpdateCredentialKeys = 13,
EncryptedAmountTransfer = 16,
TransferToEncrypted = 17,
TransferToPublic = 18,
TransferWithSchedule = 19,
UpdateCredentials = 20,
RegisterData = 21,
TransferWithMemo = 22,
EncryptedAmountTransferWithMemo = 23,
TransferWithScheduleAndMemo = 24,
ConfigureBaker = 25,
ConfigureDelegation = 26,
UpdateCredentialKeys = 9,
EncryptedAmountTransfer = 10,
TransferToEncrypted = 11,
TransferToPublic = 12,
TransferWithSchedule = 13,
UpdateCredentials = 14,
RegisterData = 15,
TransferWithMemo = 16,
EncryptedAmountTransferWithMemo = 17,
TransferWithScheduleAndMemo = 18,
ConfigureBaker = 19,
ConfigureDelegation = 20,
}

export function isAccountTransactionType(candidate: number): candidate is AccountTransactionType {
Expand Down

0 comments on commit affcd78

Please sign in to comment.