@gearbox-protocol/sdk 11.1.5 → 11.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/abi/errors.js +201 -8
- package/dist/cjs/abi/{iDegenDistributor.js → iDegenDistributorV300.js} +13 -6
- package/dist/cjs/permissionless/bindings/bytecode-repository.js +6 -1
- package/dist/cjs/permissionless/chains/archive-transport.js +8 -23
- package/dist/esm/abi/errors.js +197 -6
- package/dist/esm/abi/{iDegenDistributor.js → iDegenDistributorV300.js} +9 -2
- package/dist/esm/permissionless/bindings/bytecode-repository.js +6 -1
- package/dist/esm/permissionless/chains/archive-transport.js +8 -23
- package/dist/types/abi/errors.d.ts +1015 -93
- package/dist/types/abi/{iDegenDistributor.d.ts → iDegenDistributorV300.d.ts} +11 -1
- package/dist/types/permissionless/chains/archive-transport.d.ts +5 -7
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const iDegenDistributorV300Abi: readonly [{
|
|
2
2
|
readonly type: "function";
|
|
3
3
|
readonly inputs: readonly [{
|
|
4
4
|
readonly name: "index";
|
|
@@ -34,6 +34,16 @@ export declare const iDegenDistributorAbi: readonly [{
|
|
|
34
34
|
readonly type: "uint256";
|
|
35
35
|
}];
|
|
36
36
|
readonly stateMutability: "view";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly inputs: readonly [];
|
|
40
|
+
readonly name: "degenNFT";
|
|
41
|
+
readonly outputs: readonly [{
|
|
42
|
+
readonly name: "";
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
readonly type: "address";
|
|
45
|
+
}];
|
|
46
|
+
readonly stateMutability: "view";
|
|
37
47
|
}, {
|
|
38
48
|
readonly type: "function";
|
|
39
49
|
readonly inputs: readonly [];
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { type Transport } from "viem";
|
|
2
2
|
export interface ArchiveTransportConfig {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
primaryTransport?: Transport;
|
|
4
|
+
archiveTransport?: Transport;
|
|
5
|
+
primaryRpcUrl?: string;
|
|
6
|
+
archiveRpcUrl?: string;
|
|
5
7
|
blockThreshold: number;
|
|
6
8
|
retryCount?: number;
|
|
7
9
|
retryDelay?: number;
|
|
@@ -37,11 +39,7 @@ export declare class ArchiveTransport {
|
|
|
37
39
|
/**
|
|
38
40
|
* Get current configuration
|
|
39
41
|
*/
|
|
40
|
-
getConfig():
|
|
41
|
-
/**
|
|
42
|
-
* Update configuration (will invalidate cached transport)
|
|
43
|
-
*/
|
|
44
|
-
updateConfig(updates: Partial<ArchiveTransportConfig>): void;
|
|
42
|
+
getConfig(): ArchiveTransportConfig;
|
|
45
43
|
/**
|
|
46
44
|
* Enable or disable logging
|
|
47
45
|
*/
|