@1delta/abis 0.0.14 → 0.0.16

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.
@@ -1,5 +1,7 @@
1
1
  export { MorphoBlueAbi } from './blue.js';
2
2
  export { MorphoLensAbi } from './lens.js';
3
+ export { MetaMorphoAbi } from './meta.js';
4
+ export { MoolahVaultAbi } from './moolah.js';
3
5
  export { universalRewardsDistributorAbi, bundler3Abi, coreAdapterAbi, generalAdapter1Abi, aaveV2MigrationAdapterAbi, aaveV3MigrationAdapterAbi, aaveV3OptimizerMigrationAdapterAbi, compoundV2MigrationAdapterAbi, compoundV3MigrationAdapterAbi, erc20WrapperAdapterAbi, ethereumGeneralAdapter1Abi, paraswapAdapterAbi, } from './bundler3.js';
4
6
  export { LISTA_BNB_PROVIDER, LISTA_ETH_PROVIDER, LISTA_NATIVE_LENDING_PROVIDER, } from './lista-providers.js';
5
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/morpho/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EACL,8BAA8B,EAC9B,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,kCAAkC,EAClC,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,6BAA6B,GAC9B,MAAM,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/morpho/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAC5C,OAAO,EACL,8BAA8B,EAC9B,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,yBAAyB,EACzB,yBAAyB,EACzB,kCAAkC,EAClC,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,GACnB,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,6BAA6B,GAC9B,MAAM,sBAAsB,CAAA"}
@@ -1,4 +1,6 @@
1
1
  export { MorphoBlueAbi } from './blue.js';
2
2
  export { MorphoLensAbi } from './lens.js';
3
+ export { MetaMorphoAbi } from './meta.js';
4
+ export { MoolahVaultAbi } from './moolah.js';
3
5
  export { universalRewardsDistributorAbi, bundler3Abi, coreAdapterAbi, generalAdapter1Abi, aaveV2MigrationAdapterAbi, aaveV3MigrationAdapterAbi, aaveV3OptimizerMigrationAdapterAbi, compoundV2MigrationAdapterAbi, compoundV3MigrationAdapterAbi, erc20WrapperAdapterAbi, ethereumGeneralAdapter1Abi, paraswapAdapterAbi, } from './bundler3.js';
4
6
  export { LISTA_BNB_PROVIDER, LISTA_ETH_PROVIDER, LISTA_NATIVE_LENDING_PROVIDER, } from './lista-providers.js';
@@ -0,0 +1,112 @@
1
+ export declare const MetaMorphoAbi: readonly [{
2
+ readonly inputs: readonly [];
3
+ readonly name: "name";
4
+ readonly outputs: readonly [{
5
+ readonly internalType: "string";
6
+ readonly name: "";
7
+ readonly type: "string";
8
+ }];
9
+ readonly stateMutability: "view";
10
+ readonly type: "function";
11
+ }, {
12
+ readonly inputs: readonly [];
13
+ readonly name: "symbol";
14
+ readonly outputs: readonly [{
15
+ readonly internalType: "string";
16
+ readonly name: "";
17
+ readonly type: "string";
18
+ }];
19
+ readonly stateMutability: "view";
20
+ readonly type: "function";
21
+ }, {
22
+ readonly inputs: readonly [];
23
+ readonly name: "decimals";
24
+ readonly outputs: readonly [{
25
+ readonly internalType: "uint8";
26
+ readonly name: "";
27
+ readonly type: "uint8";
28
+ }];
29
+ readonly stateMutability: "view";
30
+ readonly type: "function";
31
+ }, {
32
+ readonly inputs: readonly [];
33
+ readonly name: "asset";
34
+ readonly outputs: readonly [{
35
+ readonly internalType: "address";
36
+ readonly name: "";
37
+ readonly type: "address";
38
+ }];
39
+ readonly stateMutability: "view";
40
+ readonly type: "function";
41
+ }, {
42
+ readonly inputs: readonly [];
43
+ readonly name: "totalAssets";
44
+ readonly outputs: readonly [{
45
+ readonly internalType: "uint256";
46
+ readonly name: "";
47
+ readonly type: "uint256";
48
+ }];
49
+ readonly stateMutability: "view";
50
+ readonly type: "function";
51
+ }, {
52
+ readonly inputs: readonly [];
53
+ readonly name: "totalSupply";
54
+ readonly outputs: readonly [{
55
+ readonly internalType: "uint256";
56
+ readonly name: "";
57
+ readonly type: "uint256";
58
+ }];
59
+ readonly stateMutability: "view";
60
+ readonly type: "function";
61
+ }, {
62
+ readonly inputs: readonly [];
63
+ readonly name: "fee";
64
+ readonly outputs: readonly [{
65
+ readonly internalType: "uint96";
66
+ readonly name: "";
67
+ readonly type: "uint96";
68
+ }];
69
+ readonly stateMutability: "view";
70
+ readonly type: "function";
71
+ }, {
72
+ readonly inputs: readonly [];
73
+ readonly name: "timelock";
74
+ readonly outputs: readonly [{
75
+ readonly internalType: "uint256";
76
+ readonly name: "";
77
+ readonly type: "uint256";
78
+ }];
79
+ readonly stateMutability: "view";
80
+ readonly type: "function";
81
+ }, {
82
+ readonly inputs: readonly [];
83
+ readonly name: "owner";
84
+ readonly outputs: readonly [{
85
+ readonly internalType: "address";
86
+ readonly name: "";
87
+ readonly type: "address";
88
+ }];
89
+ readonly stateMutability: "view";
90
+ readonly type: "function";
91
+ }, {
92
+ readonly inputs: readonly [];
93
+ readonly name: "curator";
94
+ readonly outputs: readonly [{
95
+ readonly internalType: "address";
96
+ readonly name: "";
97
+ readonly type: "address";
98
+ }];
99
+ readonly stateMutability: "view";
100
+ readonly type: "function";
101
+ }, {
102
+ readonly inputs: readonly [];
103
+ readonly name: "guardian";
104
+ readonly outputs: readonly [{
105
+ readonly internalType: "address";
106
+ readonly name: "";
107
+ readonly type: "address";
108
+ }];
109
+ readonly stateMutability: "view";
110
+ readonly type: "function";
111
+ }];
112
+ //# sourceMappingURL=meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"meta.d.ts","sourceRoot":"","sources":["../../src/morpho/meta.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8EhB,CAAA"}
@@ -0,0 +1,83 @@
1
+ // Minimal MetaMorpho v1.x / Moolah Vault interface used by the on-chain
2
+ // vault fetcher. Only `view`-shaped calls — enough to populate the same
3
+ // `MorphoVault` shape the API / subgraph paths produce, without computing
4
+ // the per-allocation supply rate (left to caller / 0 fallback).
5
+ export const MetaMorphoAbi = [
6
+ {
7
+ inputs: [],
8
+ name: 'name',
9
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
10
+ stateMutability: 'view',
11
+ type: 'function',
12
+ },
13
+ {
14
+ inputs: [],
15
+ name: 'symbol',
16
+ outputs: [{ internalType: 'string', name: '', type: 'string' }],
17
+ stateMutability: 'view',
18
+ type: 'function',
19
+ },
20
+ {
21
+ inputs: [],
22
+ name: 'decimals',
23
+ outputs: [{ internalType: 'uint8', name: '', type: 'uint8' }],
24
+ stateMutability: 'view',
25
+ type: 'function',
26
+ },
27
+ {
28
+ inputs: [],
29
+ name: 'asset',
30
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
31
+ stateMutability: 'view',
32
+ type: 'function',
33
+ },
34
+ {
35
+ inputs: [],
36
+ name: 'totalAssets',
37
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
38
+ stateMutability: 'view',
39
+ type: 'function',
40
+ },
41
+ {
42
+ inputs: [],
43
+ name: 'totalSupply',
44
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
45
+ stateMutability: 'view',
46
+ type: 'function',
47
+ },
48
+ {
49
+ inputs: [],
50
+ name: 'fee',
51
+ outputs: [{ internalType: 'uint96', name: '', type: 'uint96' }],
52
+ stateMutability: 'view',
53
+ type: 'function',
54
+ },
55
+ {
56
+ inputs: [],
57
+ name: 'timelock',
58
+ outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
59
+ stateMutability: 'view',
60
+ type: 'function',
61
+ },
62
+ {
63
+ inputs: [],
64
+ name: 'owner',
65
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
66
+ stateMutability: 'view',
67
+ type: 'function',
68
+ },
69
+ {
70
+ inputs: [],
71
+ name: 'curator',
72
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
73
+ stateMutability: 'view',
74
+ type: 'function',
75
+ },
76
+ {
77
+ inputs: [],
78
+ name: 'guardian',
79
+ outputs: [{ internalType: 'address', name: '', type: 'address' }],
80
+ stateMutability: 'view',
81
+ type: 'function',
82
+ },
83
+ ];