@1delta/abis 0.0.10 → 0.0.12
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/aave-v4/index.d.ts +3 -0
- package/dist/aave-v4/index.d.ts.map +1 -1
- package/dist/aave-v4/index.js +3 -0
- package/dist/aave-v4/nativeGateway.d.ts +107 -0
- package/dist/aave-v4/nativeGateway.d.ts.map +1 -0
- package/dist/aave-v4/nativeGateway.js +72 -0
- package/dist/aave-v4/positionManagers.d.ts +346 -0
- package/dist/aave-v4/positionManagers.d.ts.map +1 -0
- package/dist/aave-v4/positionManagers.js +235 -0
- package/dist/aave-v4/spoke.d.ts +49 -0
- package/dist/aave-v4/spoke.d.ts.map +1 -1
- package/dist/aave-v4/spoke.js +31 -0
- package/dist/aave-v4/spokeActions.d.ts +170 -0
- package/dist/aave-v4/spokeActions.d.ts.map +1 -0
- package/dist/aave-v4/spokeActions.js +115 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/permissions/index.d.ts +18 -0
- package/dist/permissions/index.d.ts.map +1 -1
- package/dist/permissions/index.js +24 -0
- package/dist/silo-v2/index.d.ts +26 -0
- package/dist/silo-v2/index.d.ts.map +1 -1
- package/dist/silo-v2/index.js +22 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/permissions/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgKb,CAAA;AAEV,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;EAwBtB,CAAA;AAEV,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuIlB,CAAA"}
|
|
@@ -712,4 +712,28 @@ export const LenderPermitAbi = [
|
|
|
712
712
|
stateMutability: 'view',
|
|
713
713
|
type: 'function',
|
|
714
714
|
},
|
|
715
|
+
{
|
|
716
|
+
inputs: [
|
|
717
|
+
{
|
|
718
|
+
internalType: 'address',
|
|
719
|
+
name: '_owner',
|
|
720
|
+
type: 'address',
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
internalType: 'address',
|
|
724
|
+
name: '_recipient',
|
|
725
|
+
type: 'address',
|
|
726
|
+
},
|
|
727
|
+
],
|
|
728
|
+
name: 'receiveAllowance',
|
|
729
|
+
outputs: [
|
|
730
|
+
{
|
|
731
|
+
internalType: 'uint256',
|
|
732
|
+
name: '',
|
|
733
|
+
type: 'uint256',
|
|
734
|
+
},
|
|
735
|
+
],
|
|
736
|
+
stateMutability: 'view',
|
|
737
|
+
type: 'function',
|
|
738
|
+
},
|
|
715
739
|
];
|
package/dist/silo-v2/index.d.ts
CHANGED
|
@@ -1,2 +1,28 @@
|
|
|
1
1
|
export { SiloV2Abi } from './silo.js';
|
|
2
|
+
/**
|
|
3
|
+
* Isolated ABI for the 2-arg `convertToAssets(uint256, uint8)` overload.
|
|
4
|
+
*
|
|
5
|
+
* Silo has both a standard ERC-4626 1-arg `convertToAssets(uint256)` and a
|
|
6
|
+
* Silo-specific 2-arg version where the second param is the `AssetType`
|
|
7
|
+
* enum (0 = Protected, 1 = Collateral, 2 = Debt).
|
|
8
|
+
*
|
|
9
|
+
* viem cannot disambiguate overloaded function names within a single ABI,
|
|
10
|
+
* so callers that need the 2-arg variant must use this standalone ABI.
|
|
11
|
+
*/
|
|
12
|
+
export declare const SiloConvertToAssetsAbi: readonly [{
|
|
13
|
+
readonly type: "function";
|
|
14
|
+
readonly name: "convertToAssets";
|
|
15
|
+
readonly stateMutability: "view";
|
|
16
|
+
readonly inputs: readonly [{
|
|
17
|
+
readonly name: "_shares";
|
|
18
|
+
readonly type: "uint256";
|
|
19
|
+
}, {
|
|
20
|
+
readonly name: "_assetType";
|
|
21
|
+
readonly type: "uint8";
|
|
22
|
+
}];
|
|
23
|
+
readonly outputs: readonly [{
|
|
24
|
+
readonly name: "assets";
|
|
25
|
+
readonly type: "uint256";
|
|
26
|
+
}];
|
|
27
|
+
}];
|
|
2
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/silo-v2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/silo-v2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAA;AAErC;;;;;;;;;GASG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAWzB,CAAA"}
|
package/dist/silo-v2/index.js
CHANGED
|
@@ -1 +1,23 @@
|
|
|
1
1
|
export { SiloV2Abi } from './silo.js';
|
|
2
|
+
/**
|
|
3
|
+
* Isolated ABI for the 2-arg `convertToAssets(uint256, uint8)` overload.
|
|
4
|
+
*
|
|
5
|
+
* Silo has both a standard ERC-4626 1-arg `convertToAssets(uint256)` and a
|
|
6
|
+
* Silo-specific 2-arg version where the second param is the `AssetType`
|
|
7
|
+
* enum (0 = Protected, 1 = Collateral, 2 = Debt).
|
|
8
|
+
*
|
|
9
|
+
* viem cannot disambiguate overloaded function names within a single ABI,
|
|
10
|
+
* so callers that need the 2-arg variant must use this standalone ABI.
|
|
11
|
+
*/
|
|
12
|
+
export const SiloConvertToAssetsAbi = [
|
|
13
|
+
{
|
|
14
|
+
type: 'function',
|
|
15
|
+
name: 'convertToAssets',
|
|
16
|
+
stateMutability: 'view',
|
|
17
|
+
inputs: [
|
|
18
|
+
{ name: '_shares', type: 'uint256' },
|
|
19
|
+
{ name: '_assetType', type: 'uint8' },
|
|
20
|
+
],
|
|
21
|
+
outputs: [{ name: 'assets', type: 'uint256' }],
|
|
22
|
+
},
|
|
23
|
+
];
|