Class TokenOperationsOutcomeParser
Methods
Private
ensureNoError
- ensureNoError(transaction): void
Parameters
- transaction: ITransactionOnNetwork
Returns void
Private
extractAddress
- extractAddress(event): string
Returns string
Private
extractAmount
- extractAmount(event): string
Returns string
Private
extractNonce
- extractNonce(event): string
Returns string
Private
extractTokenIdentifier
- extractTokenIdentifier(event): string
Returns string
Private
findSingleEventByIdentifier
- findSingleEventByIdentifier(transaction, identifier): ITransactionEvent
Parameters
- transaction: ITransactionOnNetwork
- identifier: string
Returns ITransactionEvent
Private
gatherAllEvents
- gatherAllEvents(transaction): ITransactionEvent[]
Parameters
- transaction: ITransactionOnNetwork
Returns ITransactionEvent[]
parseFreeze
- parseFreeze(transaction): IFreezingOutcome
Parameters
- transaction: ITransactionOnNetwork
parseIssueFungible
- parseIssueFungible(transaction): IESDTIssueOutcome
Parameters
- transaction: ITransactionOnNetwork
parseIssueNonFungible
- parseIssueNonFungible(transaction): IESDTIssueOutcome
Parameters
- transaction: ITransactionOnNetwork
parseIssueSemiFungible
- parseIssueSemiFungible(transaction): IESDTIssueOutcome
Parameters
- transaction: ITransactionOnNetwork
parseLocalBurn
- parseLocalBurn(transaction): IBurnOutcome
Parameters
- transaction: ITransactionOnNetwork
parseLocalMint
- parseLocalMint(transaction): IMintOutcome
Parameters
- transaction: ITransactionOnNetwork
parseNFTCreate
- parseNFTCreate(transaction): INFTCreateOutcome
Parameters
- transaction: ITransactionOnNetwork
parsePause
- parsePause(transaction): IPausingOutcome
Parameters
- transaction: ITransactionOnNetwork
parseRegisterAndSetAllRoles
parseRegisterMetaESDT
- parseRegisterMetaESDT(transaction): IESDTIssueOutcome
Parameters
- transaction: ITransactionOnNetwork
parseUnfreeze
- parseUnfreeze(transaction): IFreezingOutcome
Parameters
- transaction: ITransactionOnNetwork
parseUnpause
- parseUnpause(transaction): IPausingOutcome
Parameters
- transaction: ITransactionOnNetwork
parseUnsetBurnRoleGlobally
parseWipe
- parseWipe(transaction): IWipingOutcome
Parameters
- transaction: ITransactionOnNetwork
Deprecated
Use TokenManagementTransactionsOutcomeParser