dsa-connect 0.6.29 → 0.6.31-dev.0

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.
@@ -7,6 +7,7 @@ export declare const connectors: {
7
7
  versions: {
8
8
  1: typeof connectorsV1;
9
9
  2: {
10
+ 'COMPOUND-V3-REWARDS-A': import("web3-utils").AbiItem[];
10
11
  'COMPOUND-V3-A': import("web3-utils").AbiItem[];
11
12
  'AAVE-V2-AUTOMATION-A': import("web3-utils").AbiItem[];
12
13
  'AAVE-V2-AUTOMATION-STAGING-A': import("web3-utils").AbiItem[];
@@ -71,6 +72,7 @@ export declare const connectors: {
71
72
  'REFINANCE-A': import("web3-utils").AbiItem[];
72
73
  'INST-A': import("web3-utils").AbiItem[];
73
74
  'WETH-A': import("web3-utils").AbiItem[];
75
+ 'WSTETH-A': import("web3-utils").AbiItem[];
74
76
  'INST-STAKING-A': import("web3-utils").AbiItem[];
75
77
  'STAKE-ERC20-A': import("web3-utils").AbiItem[];
76
78
  'G-UNISWAP-A': import("web3-utils").AbiItem[];
@@ -0,0 +1,2 @@
1
+ import { AbiItem } from 'web3-utils';
2
+ export declare const COMPOUND_V3_REWARDS_A: AbiItem[];
@@ -0,0 +1,2 @@
1
+ import { AbiItem } from 'web3-utils';
2
+ export declare const WSTETH_A: AbiItem[];
@@ -1,4 +1,5 @@
1
1
  export declare const connectorsV2_M1: {
2
+ 'COMPOUND-V3-REWARDS-A': import("web3-utils").AbiItem[];
2
3
  'COMPOUND-V3-A': import("web3-utils").AbiItem[];
3
4
  'AAVE-V2-AUTOMATION-A': import("web3-utils").AbiItem[];
4
5
  'AAVE-V2-AUTOMATION-STAGING-A': import("web3-utils").AbiItem[];
@@ -63,6 +64,7 @@ export declare const connectorsV2_M1: {
63
64
  'REFINANCE-A': import("web3-utils").AbiItem[];
64
65
  'INST-A': import("web3-utils").AbiItem[];
65
66
  'WETH-A': import("web3-utils").AbiItem[];
67
+ 'WSTETH-A': import("web3-utils").AbiItem[];
66
68
  'INST-STAKING-A': import("web3-utils").AbiItem[];
67
69
  'STAKE-ERC20-A': import("web3-utils").AbiItem[];
68
70
  'G-UNISWAP-A': import("web3-utils").AbiItem[];
@@ -5,6 +5,7 @@ export declare const Abi: {
5
5
  versions: {
6
6
  1: typeof import("./connectors/v1");
7
7
  2: {
8
+ 'COMPOUND-V3-REWARDS-A': import("web3-utils").AbiItem[];
8
9
  'COMPOUND-V3-A': import("web3-utils").AbiItem[];
9
10
  'AAVE-V2-AUTOMATION-A': import("web3-utils").AbiItem[];
10
11
  'AAVE-V2-AUTOMATION-STAGING-A': import("web3-utils").AbiItem[];
@@ -69,6 +70,7 @@ export declare const Abi: {
69
70
  'REFINANCE-A': import("web3-utils").AbiItem[];
70
71
  'INST-A': import("web3-utils").AbiItem[];
71
72
  'WETH-A': import("web3-utils").AbiItem[];
73
+ 'WSTETH-A': import("web3-utils").AbiItem[];
72
74
  'INST-STAKING-A': import("web3-utils").AbiItem[];
73
75
  'STAKE-ERC20-A': import("web3-utils").AbiItem[];
74
76
  'G-UNISWAP-A': import("web3-utils").AbiItem[];
@@ -241,6 +241,8 @@ export declare const Addresses: {
241
241
  'AAVE-V2-AUTOMATION-STAGING-A': string;
242
242
  'AAVE-V2-AUTOMATION-A': string;
243
243
  'COMPOUND-V3-A': string;
244
+ 'WSTETH-A': string;
245
+ 'COMPOUND-V3-REWARDS-A': string;
244
246
  };
245
247
  };
246
248
  };
@@ -73,4 +73,6 @@ export declare const connectorsV2_M1: {
73
73
  'AAVE-V2-AUTOMATION-STAGING-A': string;
74
74
  'AAVE-V2-AUTOMATION-A': string;
75
75
  'COMPOUND-V3-A': string;
76
+ 'WSTETH-A': string;
77
+ 'COMPOUND-V3-REWARDS-A': string;
76
78
  };
package/dist/dsa.d.ts CHANGED
@@ -35,19 +35,23 @@ export interface Instance {
35
35
  * @param _d.from (optional)
36
36
  * @param _d.value (optional)
37
37
  * @param _d.gasPrice (optional only for "browser" mode)
38
+ * @param _d.maxFeePerGas (optional only for "browser" mode)
39
+ * @param _d.maxPriorityFeePerGas (optional only for "browser" mode)
38
40
  * @param _d.gas (optional)
39
41
  * @param {number|string} _d.nonce (optional) txn nonce (mostly for node implementation)
40
42
  */
41
43
  declare type CastParams = {
42
44
  spells: Spells;
43
45
  origin?: string;
44
- } & TransactionCallbacks & Pick<TransactionConfig, 'from' | 'to' | 'value' | 'gas' | 'gasPrice' | 'nonce'>;
46
+ } & TransactionCallbacks & Pick<TransactionConfig, 'from' | 'to' | 'value' | 'gas' | 'gasPrice' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce'>;
45
47
  /**
46
48
  * @param {address} _d.authority (optional)
47
49
  * @param {address} _d.origin (optional)
48
50
  * @param {address} _d.from (optional)
49
51
  * @param {number} _d.version (optional)
50
52
  * @param {number|string} _d.gasPrice (optional) not optional in "node"
53
+ * @param {number|string} _d.maxFeePerGas (optional)
54
+ * @param {number|string} _d.maxPriorityFeePerGas (optional)
51
55
  * @param {number|string} _d.gas (optional) not optional in "node"
52
56
  * @param {number|string} _d.nonce (optional) not optional in "node"
53
57
  */
@@ -55,7 +59,7 @@ declare type BuildParams = {
55
59
  authority?: string;
56
60
  origin?: string;
57
61
  version?: Instance['version'];
58
- } & TransactionCallbacks & Pick<TransactionConfig, 'from' | 'gas' | 'gasPrice' | 'nonce'>;
62
+ } & TransactionCallbacks & Pick<TransactionConfig, 'from' | 'gas' | 'gasPrice' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce'>;
59
63
  export declare class DSA {
60
64
  static readonly version: string;
61
65
  readonly config: DSAConfig;
@@ -144,7 +148,7 @@ export declare class DSA {
144
148
  buildTransactionConfig(params: {
145
149
  authority?: string;
146
150
  origin?: string;
147
- } & Pick<TransactionConfig, 'from' | 'gasPrice' | 'gas' | 'nonce'>): Promise<TransactionConfig>;
151
+ } & Pick<TransactionConfig, 'from' | 'gasPrice' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'gas' | 'nonce'>): Promise<TransactionConfig>;
148
152
  /**
149
153
  * Creates a Spells instance.
150
154
  *