|
| 1 | +--- |
| 2 | +title: SVM |
| 3 | +--- |
| 4 | + |
1 | 5 | # SVM Error Codes |
2 | 6 |
|
3 | 7 | The following table lists the error codes and their explanations for the [`ExpressRelay`](https://github.com/pyth-network/per/tree/358eedc1f9072cdfc3418fba309697580f2474f9/contracts/svm/programs/express_relay) programs. |
4 | 8 | They can be used to identify the cause of a failed transaction or bid. |
5 | 9 |
|
6 | 10 | ## ExpressRelay |
7 | 11 |
|
8 | | -| Error | Explanation | |
9 | | -| ----------------------------- | ----------------------------------------------------------------------------------------------- | |
10 | | -| `FeeSplitLargerThanPrecision` | The proposed fee split is invalid (split is larger than `FEE_SPLIT_PRECISION`, 10000) | |
11 | | -| `FeesHigherThanBid` | The fees to pay out exceed the value of the bid amount. | |
12 | | -| `DeadlinePassed` | The bid is no longer valid, as the Unix time deadline has passed. | |
13 | | -| `InvalidCPISubmitBid` | The `SubmitBid` instruction should not be called via CPI. | |
14 | | -| `MissingPermission` | The transaction is missing a `SubmitBid` instruction with the matching permission key. | |
15 | | -| `MultiplePermissions` | The transaction should not contain more than one `SubmitBid` instruction. | |
16 | | -| `InsufficientSearcherFunds` | The searcher lacks the funds to pay the specified amount. | |
17 | | -| `InsufficientRent` | The fees splits received by different parties must be sufficient to cover the account rent. | |
18 | | -| `InvalidReferralFee` | The provided referral fee in the swap instruction data is too high to be a valid number of bps. | |
19 | | -| `InsufficientUserFunds` | The user lacks the funds to pay the specified amount in the swap instruction. | |
| 12 | +| Error | Explanation | |
| 13 | +| ----------------------------- | -------------------------------------------------------------------------------------------------------- | |
| 14 | +| `FeeSplitLargerThanPrecision` | The proposed fee split is invalid (split is larger than `FEE_SPLIT_PRECISION`, 10000) | |
| 15 | +| `FeesHigherThanBid` | The fees to pay out exceed the value of the bid amount. | |
| 16 | +| `DeadlinePassed` | The bid is no longer valid, as the Unix time deadline has passed. | |
| 17 | +| `InvalidCPISubmitBid` | The `SubmitBid` instruction should not be called via CPI. | |
| 18 | +| `MissingPermission` | The transaction is missing a `SubmitBid` instruction with the matching permission key. | |
| 19 | +| `MultiplePermissions` | The transaction should not contain more than one `SubmitBid` instruction. | |
| 20 | +| `InsufficientSearcherFunds` | The searcher lacks the funds to pay the specified amount. | |
| 21 | +| `InsufficientRent` | The fee splits received by different parties must be sufficient to cover the account rent. | |
| 22 | +| `InvalidReferralFee` | The provided referral fee in the swap instruction data is too high to be a valid number of basis points. | |
| 23 | +| `InsufficientUserFunds` | The user lacks the funds to pay the specified amount in the swap instruction. | |
0 commit comments