File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
target_chains/ethereum/pulse_sdk/solidity Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -4,37 +4,56 @@ pragma solidity ^0.8.0;
44
55library SchedulerErrors {
66 // Authorization errors
7+
8+ /// 0x82b42900
79 error Unauthorized ();
810
911 // Subscription state errors
12+
13+ /// 0xe7262b66
1014 error InactiveSubscription ();
15+ /// 0xf4d678b8
1116 error InsufficientBalance ();
17+ /// 0xf6181305
1218 error CannotUpdatePermanentSubscription ();
1319
1420 // Price feed errors
21+ /// 0xae2eaaa9
1522 error InvalidPriceId (bytes32 providedPriceId , bytes32 expectedPriceId );
23+ /// 0xf14f93d1
1624 error InvalidPriceIdsLength (uint256 providedLength , uint256 expectedLength );
25+ /// 0x94ec8d9a
1726 error EmptyPriceIds ();
27+ /// 0xb3d1acf6
1828 error TooManyPriceIds (uint256 provided , uint256 maximum );
29+ /// 0xe3509591
1930 error DuplicatePriceId (bytes32 priceId );
31+ /// 0xe56ccfaa
2032 error PriceSlotMismatch ();
2133
2234 // Update criteria errors
35+ /// 0xa7bcd3ae
2336 error InvalidUpdateCriteria ();
37+ /// 0x7e8b0263
2438 error UpdateConditionsNotMet ();
39+ /// 0x38fdebae
2540 error TimestampTooOld (
2641 uint256 providedUpdateTimestamp ,
2742 uint256 currentTimestamp
2843 );
44+ /// 0x06daa54d
2945 error TimestampOlderThanLastUpdate (
3046 uint256 providedUpdateTimestamp ,
3147 uint256 lastUpdatedAt
3248 );
3349
3450 // Whitelist errors
51+ /// 0xbe4b60f7
3552 error TooManyWhitelistedReaders (uint256 provided , uint256 maximum );
53+ /// 0x9941ad5f
3654 error DuplicateWhitelistAddress (address addr );
3755
3856 // Payment errors
57+ /// 0xec58cd53
3958 error KeeperPaymentFailed ();
4059}
You can’t perform that action at this time.
0 commit comments