@augustdigital/sdk 4.15.5-alpha.0 → 4.17.0-alpha.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.
- package/lib/abis/AddressResolver.d.ts +28 -40
- package/lib/abis/ChainlinkV3.d.ts +83 -109
- package/lib/abis/ERC20.d.ts +137 -191
- package/lib/abis/ERC20_Bytes32.d.ts +125 -178
- package/lib/abis/ERC4626.d.ts +341 -480
- package/lib/abis/ERC721.d.ts +213 -299
- package/lib/abis/FeeOracle.d.ts +112 -149
- package/lib/abis/LendingPool.d.ts +1293 -1702
- package/lib/abis/LendingPoolV2.d.ts +37 -42
- package/lib/abis/LendingPoolV3.d.ts +25 -29
- package/lib/abis/Loan.d.ts +768 -1007
- package/lib/abis/Multicall3.d.ts +30 -43
- package/lib/abis/PoolAdapter.d.ts +35 -46
- package/lib/abis/RewardDistributor.d.ts +33 -38
- package/lib/abis/SmartAccount.d.ts +16 -23
- package/lib/abis/TextResolver.d.ts +16 -23
- package/lib/abis/TokenizedVaultV2.d.ts +1292 -1684
- package/lib/abis/TokenizedVaultV2DepositWithPermit.d.ts +55 -62
- package/lib/abis/TokenizedVaultV2Receipt.d.ts +1463 -1934
- package/lib/abis/TokenizedVaultV2WhitelistedAssets.d.ts +250 -333
- package/lib/abis/UniversalResolverResolve.d.ts +69 -97
- package/lib/abis/UniversalSignatureValidator.d.ts +17 -23
- package/lib/abis/WrapperAdapter.d.ts +67 -89
- package/lib/adapters/evm/getters.d.ts +2 -8
- package/lib/adapters/evm/index.d.ts +15 -19
- package/lib/adapters/evm/utils.d.ts +2 -12
- package/lib/adapters/solana/constants.d.ts +17 -23
- package/lib/adapters/solana/getters.d.ts +1 -4
- package/lib/adapters/solana/idl/vault-idl.d.ts +279 -340
- package/lib/adapters/solana/index.d.ts +116 -212
- package/lib/adapters/solana/types.d.ts +50 -50
- package/lib/adapters/solana/utils.d.ts +78 -139
- package/lib/adapters/solana/vault.actions.d.ts +12 -37
- package/lib/adapters/sui/constants.d.ts +9 -9
- package/lib/adapters/sui/constants.js +8 -1
- package/lib/adapters/sui/constants.js.map +1 -1
- package/lib/adapters/sui/getters.d.ts +1 -3
- package/lib/adapters/sui/index.d.ts +21 -29
- package/lib/adapters/sui/transformer.d.ts +2 -6
- package/lib/adapters/sui/types.d.ts +56 -56
- package/lib/adapters/sui/utils.d.ts +1 -4
- package/lib/core/analytics/constants.d.ts +12 -0
- package/lib/core/analytics/constants.js +49 -0
- package/lib/core/analytics/constants.js.map +1 -0
- package/lib/core/analytics/index.d.ts +6 -0
- package/lib/core/analytics/index.js +31 -0
- package/lib/core/analytics/index.js.map +1 -0
- package/lib/core/analytics/instrumentation.d.ts +2 -0
- package/lib/core/analytics/instrumentation.js +150 -0
- package/lib/core/analytics/instrumentation.js.map +1 -0
- package/lib/core/analytics/metrics.d.ts +12 -0
- package/lib/core/analytics/metrics.js +133 -0
- package/lib/core/analytics/metrics.js.map +1 -0
- package/lib/core/analytics/sentry.d.ts +9 -0
- package/lib/core/analytics/sentry.js +166 -0
- package/lib/core/analytics/sentry.js.map +1 -0
- package/lib/core/analytics/types.d.ts +21 -0
- package/lib/core/analytics/types.js +3 -0
- package/lib/core/analytics/types.js.map +1 -0
- package/lib/core/analytics/user-identity.d.ts +8 -0
- package/lib/core/analytics/user-identity.js +82 -0
- package/lib/core/analytics/user-identity.js.map +1 -0
- package/lib/core/analytics/version.d.ts +1 -0
- package/lib/core/analytics/version.js +5 -0
- package/lib/core/analytics/version.js.map +1 -0
- package/lib/core/base.class.d.ts +25 -30
- package/lib/core/base.class.js +5 -1
- package/lib/core/base.class.js.map +1 -1
- package/lib/core/constants/adapters.d.ts +83 -111
- package/lib/core/constants/core.d.ts +69 -76
- package/lib/core/constants/vaults.d.ts +5 -63
- package/lib/core/constants/vaults.js +3 -3
- package/lib/core/constants/vaults.js.map +1 -1
- package/lib/core/constants/web3.d.ts +18 -19
- package/lib/core/fetcher.d.ts +17 -71
- package/lib/core/fetcher.js +20 -2
- package/lib/core/fetcher.js.map +1 -1
- package/lib/core/helpers/adapters.d.ts +2 -7
- package/lib/core/helpers/core.d.ts +8 -33
- package/lib/core/helpers/signer.d.ts +2 -6
- package/lib/core/helpers/vaults.d.ts +15 -38
- package/lib/core/helpers/web3.d.ts +19 -87
- package/lib/core/index.d.ts +1 -0
- package/lib/core/index.js +1 -0
- package/lib/core/index.js.map +1 -1
- package/lib/core/logger/index.d.ts +11 -11
- package/lib/core/logger/slack.d.ts +8 -9
- package/lib/index.d.ts +1 -61
- package/lib/main.d.ts +141 -158
- package/lib/main.js +3 -0
- package/lib/main.js.map +1 -1
- package/lib/modules/vaults/adapter.helpers.d.ts +38 -72
- package/lib/modules/vaults/fetcher.d.ts +69 -85
- package/lib/modules/vaults/getters.d.ts +100 -205
- package/lib/modules/vaults/index.d.ts +1 -6
- package/lib/modules/vaults/main.d.ts +131 -224
- package/lib/modules/vaults/main.js +8 -1
- package/lib/modules/vaults/main.js.map +1 -1
- package/lib/modules/vaults/read.actions.d.ts +2 -8
- package/lib/modules/vaults/utils.d.ts +19 -55
- package/lib/modules/vaults/write.actions.d.ts +14 -26
- package/lib/services/coingecko/fetcher.d.ts +1 -4
- package/lib/services/debank/fetcher.d.ts +1 -4
- package/lib/services/debank/utils.d.ts +27 -38
- package/lib/services/octavfi/fetcher.d.ts +1 -3
- package/lib/services/octavfi/types.d.ts +24 -24
- package/lib/services/octavfi/utils.d.ts +2 -6
- package/lib/services/subgraph/fetcher.d.ts +2 -12
- package/lib/services/subgraph/vaults.d.ts +9 -42
- package/lib/types/points.d.ts +26 -35
- package/lib/types/pools.d.ts +112 -149
- package/lib/types/staking.d.ts +25 -25
- package/lib/types/subgraph.d.ts +33 -33
- package/lib/types/vaults.d.ts +219 -232
- package/lib/types/web3.d.ts +9 -9
- package/lib/types/webserver.d.ts +448 -466
- package/package.json +16 -13
package/lib/abis/Multicall3.d.ts
CHANGED
|
@@ -1,43 +1,30 @@
|
|
|
1
|
-
export declare const ABI_MULTICALL3: readonly [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
readonly name:
|
|
8
|
-
readonly type:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
{
|
|
32
|
-
readonly name: 'returnData';
|
|
33
|
-
readonly type: 'bytes';
|
|
34
|
-
},
|
|
35
|
-
];
|
|
36
|
-
readonly name: 'returnData';
|
|
37
|
-
readonly type: 'tuple[]';
|
|
38
|
-
},
|
|
39
|
-
];
|
|
40
|
-
readonly stateMutability: 'view';
|
|
41
|
-
readonly type: 'function';
|
|
42
|
-
},
|
|
43
|
-
];
|
|
1
|
+
export declare const ABI_MULTICALL3: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly components: readonly [{
|
|
4
|
+
readonly name: "target";
|
|
5
|
+
readonly type: "address";
|
|
6
|
+
}, {
|
|
7
|
+
readonly name: "allowFailure";
|
|
8
|
+
readonly type: "bool";
|
|
9
|
+
}, {
|
|
10
|
+
readonly name: "callData";
|
|
11
|
+
readonly type: "bytes";
|
|
12
|
+
}];
|
|
13
|
+
readonly name: "calls";
|
|
14
|
+
readonly type: "tuple[]";
|
|
15
|
+
}];
|
|
16
|
+
readonly name: "aggregate3";
|
|
17
|
+
readonly outputs: readonly [{
|
|
18
|
+
readonly components: readonly [{
|
|
19
|
+
readonly name: "success";
|
|
20
|
+
readonly type: "bool";
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "returnData";
|
|
23
|
+
readonly type: "bytes";
|
|
24
|
+
}];
|
|
25
|
+
readonly name: "returnData";
|
|
26
|
+
readonly type: "tuple[]";
|
|
27
|
+
}];
|
|
28
|
+
readonly stateMutability: "view";
|
|
29
|
+
readonly type: "function";
|
|
30
|
+
}];
|
|
@@ -1,47 +1,36 @@
|
|
|
1
|
-
export declare const ABI_POOL_ADAPTER: readonly [
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
readonly internalType:
|
|
13
|
-
readonly name:
|
|
14
|
-
readonly type:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
readonly
|
|
23
|
-
|
|
24
|
-
readonly
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
readonly name: 'quoteData';
|
|
34
|
-
readonly type: 'bytes';
|
|
35
|
-
},
|
|
36
|
-
];
|
|
37
|
-
readonly internalType: 'struct PoolAdapter.SwapAndDepositParams';
|
|
38
|
-
readonly name: 'params';
|
|
39
|
-
readonly type: 'tuple';
|
|
40
|
-
},
|
|
41
|
-
];
|
|
42
|
-
readonly name: 'swapAndDeposit';
|
|
1
|
+
export declare const ABI_POOL_ADAPTER: readonly [{
|
|
2
|
+
readonly inputs: readonly [{
|
|
3
|
+
readonly components: readonly [{
|
|
4
|
+
readonly internalType: "uint256";
|
|
5
|
+
readonly name: "amountIn";
|
|
6
|
+
readonly type: "uint256";
|
|
7
|
+
}, {
|
|
8
|
+
readonly internalType: "uint256";
|
|
9
|
+
readonly name: "minAmountOut";
|
|
10
|
+
readonly type: "uint256";
|
|
11
|
+
}, {
|
|
12
|
+
readonly internalType: "address";
|
|
13
|
+
readonly name: "srcToken";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}, {
|
|
16
|
+
readonly internalType: "address";
|
|
17
|
+
readonly name: "dstToken";
|
|
18
|
+
readonly type: "address";
|
|
19
|
+
}, {
|
|
20
|
+
readonly internalType: "uint256";
|
|
21
|
+
readonly name: "bridgeId";
|
|
22
|
+
readonly type: "uint256";
|
|
23
|
+
}, {
|
|
24
|
+
readonly internalType: "bytes";
|
|
25
|
+
readonly name: "quoteData";
|
|
26
|
+
readonly type: "bytes";
|
|
27
|
+
}];
|
|
28
|
+
readonly internalType: "struct PoolAdapter.SwapAndDepositParams";
|
|
29
|
+
readonly name: "params";
|
|
30
|
+
readonly type: "tuple";
|
|
31
|
+
}];
|
|
32
|
+
readonly name: "swapAndDeposit";
|
|
43
33
|
readonly outputs: readonly [];
|
|
44
|
-
readonly stateMutability:
|
|
45
|
-
readonly type:
|
|
46
|
-
|
|
47
|
-
];
|
|
34
|
+
readonly stateMutability: "nonpayable";
|
|
35
|
+
readonly type: "function";
|
|
36
|
+
}];
|
|
@@ -1,51 +1,46 @@
|
|
|
1
|
-
export declare const ABI_REWARD_DISTRIBUTOR: (
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
inputs: {
|
|
1
|
+
export declare const ABI_REWARD_DISTRIBUTOR: ({
|
|
2
|
+
type: string;
|
|
3
|
+
inputs: {
|
|
5
4
|
name: string;
|
|
6
5
|
type: string;
|
|
7
6
|
internalType: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
name: string;
|
|
25
|
-
inputs: {
|
|
7
|
+
}[];
|
|
8
|
+
stateMutability: string;
|
|
9
|
+
name?: undefined;
|
|
10
|
+
outputs?: undefined;
|
|
11
|
+
anonymous?: undefined;
|
|
12
|
+
} | {
|
|
13
|
+
type: string;
|
|
14
|
+
stateMutability: string;
|
|
15
|
+
inputs?: undefined;
|
|
16
|
+
name?: undefined;
|
|
17
|
+
outputs?: undefined;
|
|
18
|
+
anonymous?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
type: string;
|
|
21
|
+
name: string;
|
|
22
|
+
inputs: {
|
|
26
23
|
name: string;
|
|
27
24
|
type: string;
|
|
28
25
|
internalType: string;
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
}[];
|
|
27
|
+
outputs: {
|
|
31
28
|
name: string;
|
|
32
29
|
type: string;
|
|
33
30
|
internalType: string;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
inputs: {
|
|
31
|
+
}[];
|
|
32
|
+
stateMutability: string;
|
|
33
|
+
anonymous?: undefined;
|
|
34
|
+
} | {
|
|
35
|
+
type: string;
|
|
36
|
+
name: string;
|
|
37
|
+
inputs: {
|
|
42
38
|
name: string;
|
|
43
39
|
type: string;
|
|
44
40
|
indexed: boolean;
|
|
45
41
|
internalType: string;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
)[];
|
|
42
|
+
}[];
|
|
43
|
+
anonymous: boolean;
|
|
44
|
+
stateMutability?: undefined;
|
|
45
|
+
outputs?: undefined;
|
|
46
|
+
})[];
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
export declare const ABI_SMART_ACCOUNT: readonly [
|
|
2
|
-
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
];
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
readonly name: '';
|
|
19
|
-
readonly type: 'bytes4';
|
|
20
|
-
},
|
|
21
|
-
];
|
|
22
|
-
},
|
|
23
|
-
];
|
|
1
|
+
export declare const ABI_SMART_ACCOUNT: readonly [{
|
|
2
|
+
readonly name: "isValidSignature";
|
|
3
|
+
readonly type: "function";
|
|
4
|
+
readonly stateMutability: "view";
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly name: "hash";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
}, {
|
|
9
|
+
readonly name: "signature";
|
|
10
|
+
readonly type: "bytes";
|
|
11
|
+
}];
|
|
12
|
+
readonly outputs: readonly [{
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "bytes4";
|
|
15
|
+
}];
|
|
16
|
+
}];
|
|
@@ -1,23 +1,16 @@
|
|
|
1
|
-
export declare const ABI_TEXT_RESOLVER: readonly [
|
|
2
|
-
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
readonly
|
|
14
|
-
|
|
15
|
-
];
|
|
16
|
-
|
|
17
|
-
{
|
|
18
|
-
readonly name: '';
|
|
19
|
-
readonly type: 'string';
|
|
20
|
-
},
|
|
21
|
-
];
|
|
22
|
-
},
|
|
23
|
-
];
|
|
1
|
+
export declare const ABI_TEXT_RESOLVER: readonly [{
|
|
2
|
+
readonly name: "text";
|
|
3
|
+
readonly type: "function";
|
|
4
|
+
readonly stateMutability: "view";
|
|
5
|
+
readonly inputs: readonly [{
|
|
6
|
+
readonly name: "name";
|
|
7
|
+
readonly type: "bytes32";
|
|
8
|
+
}, {
|
|
9
|
+
readonly name: "key";
|
|
10
|
+
readonly type: "string";
|
|
11
|
+
}];
|
|
12
|
+
readonly outputs: readonly [{
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "string";
|
|
15
|
+
}];
|
|
16
|
+
}];
|