dsa-connect 0.6.30 → 0.6.31-dev.1
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/abi/connectors/index.d.ts +1 -0
- package/dist/abi/connectors/v2/COMPOUND-V3-REWARDS-A.d.ts +2 -0
- package/dist/abi/connectors/v2/index.d.ts +1 -0
- package/dist/abi/index.d.ts +1 -0
- package/dist/addresses/index.d.ts +1 -0
- package/dist/addresses/mainnet/connectorsV2_M1.d.ts +1 -0
- package/dist/dsa.d.ts +7 -3
- package/dist/index.bundle.js +2 -2
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/dist/internal.d.ts +4 -0
- package/dist/utils/erc20.d.ts +1 -1
- package/dist/utils/erc20Euler.d.ts +2 -2
- package/dist/utils/erc721.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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[];
|
|
@@ -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[];
|
package/dist/abi/index.d.ts
CHANGED
|
@@ -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[];
|
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
|
*
|