StatusCodes.sol

View Source: contracts/libraries/StatusCodes.sol

StatusCodes

Enums

Status

enum Status {
TransferFailure,
TransferSuccess,
InsufficientBalance,
InsufficientAllowance,
TransfersHalted,
FundsLocked,
InvalidSender,
InvalidReceiver,
InvalidOperator
}

Functions

code

function code(enum StatusCodes.Status _status) internal pure
returns(bytes1)

Arguments

Name

Type

Description

_status

enum StatusCodes.Status