1.1.13 • Published 3 months ago

@stargatefinance/stg-error-parser v1.1.13

Weekly downloads
-
License
BUSL-1.1
Repository
-
Last release
3 months ago

Overview

This package provides utilities for handling errors returned by Stargate contracts. It offers a streamlined way to check and parse hexadecimal strings that may represent errors sent by Solidity contracts.

Installation

To use this package, include it in your project using npm or yarn:

npm install @stargatefinance/stg-error-parser

or

yarn add @stargatefinance/stg-error-parser

Usage

The package exports two main functions:

checkError(data: string): void

This function checks a given string for any errors sent by a Stargate contract.

parseError(data: string): LayerZeroParsedError | null

This function parses a given string for an error and decodes it.

1.1.1

7 months ago

1.1.0

7 months ago

1.1.9

5 months ago

1.1.8

5 months ago

1.0.9

8 months ago

1.1.7

5 months ago

1.0.8

8 months ago

1.1.6

5 months ago

1.0.7

8 months ago

1.1.5

5 months ago

1.0.6

8 months ago

1.1.4

6 months ago

1.1.3

6 months ago

1.1.2

6 months ago

1.1.12

4 months ago

1.1.11

4 months ago

1.1.10

4 months ago

1.1.13

3 months ago

1.0.11

7 months ago

1.0.10

7 months ago

1.0.12

7 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.4

1 year ago

0.1.3

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago