@lifi/types
Version:
Types for the LI.FI stack
21 lines • 431 B
JavaScript
// STEP
export const _StepType = [
'lifi',
'swap',
'cross',
'protocol',
'custom',
];
export function isSwapStep(step) {
return step.type === 'swap';
}
export function isCrossStep(step) {
return step.type === 'cross';
}
export function isProtocolStep(step) {
return step.type === 'protocol';
}
export function isCustomStep(step) {
return step.type === 'custom';
}
//# sourceMappingURL=step.js.map