@meterio/sumer-js 0.2.135 → 0.2.137

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.
Files changed (101) hide show
  1. package/dist/browser/sumer.min.js +10 -10
  2. package/dist/nodejs/abi.d.ts +0 -226
  3. package/dist/nodejs/abi.js +45 -5267
  4. package/dist/nodejs/abi.js.map +1 -1
  5. package/dist/nodejs/constants/beramain.d.ts +2 -0
  6. package/dist/nodejs/constants/beramain.js +16 -1
  7. package/dist/nodejs/constants/beramain.js.map +1 -1
  8. package/dist/nodejs/constants/sepolia.d.ts +13 -7
  9. package/dist/nodejs/constants/sepolia.js +23 -31
  10. package/dist/nodejs/constants/sepolia.js.map +1 -1
  11. package/dist/nodejs/errorABIs.js +0 -1044
  12. package/dist/nodejs/errorABIs.js.map +1 -1
  13. package/dist/nodejs/index.d.ts +0 -226
  14. package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
  15. package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +1 -17
  16. package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +1 -17
  17. package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +1 -17
  18. package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +1 -5
  19. package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +1 -17
  20. package/dist/nodejs/typechain/contracts/CToken/index.d.ts +0 -4
  21. package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +1 -17
  22. package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +0 -2
  23. package/dist/nodejs/typechain/contracts/Oracle/{aprMONAdapter.sol/AprMONAdapter.d.ts → dualCoreAdapter.sol/ICoreVault.d.ts} +10 -10
  24. package/dist/nodejs/typechain/contracts/Oracle/{aprMONAdapter.sol/index.js → dualCoreAdapter.sol/ICoreVault.js} +1 -1
  25. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js.map +1 -0
  26. package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
  27. package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -2
  28. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
  29. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +3 -1
  30. package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
  31. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -35
  32. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -46
  33. package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
  34. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -35
  35. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -46
  36. package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
  37. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +0 -14
  38. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +0 -19
  39. package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
  40. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +0 -34
  41. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +0 -45
  42. package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
  43. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -35
  44. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -46
  45. package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
  46. package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +0 -2
  47. package/dist/nodejs/typechain/factories/contracts/CToken/index.js +1 -26
  48. package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
  49. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1 -35
  50. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +1 -46
  51. package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
  52. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +0 -1
  53. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +1 -25
  54. package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
  55. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.d.ts +21 -0
  56. package/dist/nodejs/typechain/factories/contracts/Oracle/{aprMONAdapter.sol/IAprMon__factory.js → dualCoreAdapter.sol/ICoreVault__factory.js} +6 -25
  57. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js.map +1 -0
  58. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
  59. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -1
  60. package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -1
  61. package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -1
  62. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -2
  63. package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
  64. package/dist/nodejs/typechain/hardhat.d.ts +18 -180
  65. package/dist/nodejs/typechain/index.d.ts +2 -14
  66. package/dist/nodejs/typechain/index.js +5 -17
  67. package/dist/nodejs/typechain/index.js.map +1 -1
  68. package/package.json +1 -1
  69. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.d.ts +0 -37
  70. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js +0 -3
  71. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAToken.js.map +0 -1
  72. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.d.ts +0 -133
  73. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js +0 -3
  74. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.js.map +0 -1
  75. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  76. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js +0 -3
  77. package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  78. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js +0 -3
  79. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.js.map +0 -1
  80. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.d.ts +0 -37
  81. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js +0 -3
  82. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.js.map +0 -1
  83. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  84. package/dist/nodejs/typechain/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
  85. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.d.ts +0 -55
  86. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js +0 -84
  87. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.js.map +0 -1
  88. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.d.ts +0 -145
  89. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js +0 -199
  90. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/IAaveV3Pool__factory.js.map +0 -1
  91. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.d.ts +0 -3
  92. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js +0 -13
  93. package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/index.js.map +0 -1
  94. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.d.ts +0 -44
  95. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js +0 -69
  96. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter__factory.js.map +0 -1
  97. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.d.ts +0 -35
  98. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/IAprMon__factory.js.map +0 -1
  99. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.d.ts +0 -2
  100. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js +0 -11
  101. package/dist/nodejs/typechain/factories/contracts/Oracle/aprMONAdapter.sol/index.js.map +0 -1
@@ -1,133 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
3
- export declare namespace IAaveV3Pool {
4
- type ReserveConfigurationMapStruct = {
5
- data: BigNumberish;
6
- };
7
- type ReserveConfigurationMapStructOutput = [data: bigint] & {
8
- data: bigint;
9
- };
10
- type ReserveDataStruct = {
11
- configuration: IAaveV3Pool.ReserveConfigurationMapStruct;
12
- liquidityIndex: BigNumberish;
13
- currentLiquidityRate: BigNumberish;
14
- variableBorrowIndex: BigNumberish;
15
- currentVariableBorrowRate: BigNumberish;
16
- currentStableBorrowRate: BigNumberish;
17
- lastUpdateTimestamp: BigNumberish;
18
- id: BigNumberish;
19
- aTokenAddress: AddressLike;
20
- stableDebtTokenAddress: AddressLike;
21
- variableDebtTokenAddress: AddressLike;
22
- interestRateStrategyAddress: AddressLike;
23
- accruedToTreasury: BigNumberish;
24
- unbacked: BigNumberish;
25
- isolationModeTotalDebt: BigNumberish;
26
- };
27
- type ReserveDataStructOutput = [
28
- configuration: IAaveV3Pool.ReserveConfigurationMapStructOutput,
29
- liquidityIndex: bigint,
30
- currentLiquidityRate: bigint,
31
- variableBorrowIndex: bigint,
32
- currentVariableBorrowRate: bigint,
33
- currentStableBorrowRate: bigint,
34
- lastUpdateTimestamp: bigint,
35
- id: bigint,
36
- aTokenAddress: string,
37
- stableDebtTokenAddress: string,
38
- variableDebtTokenAddress: string,
39
- interestRateStrategyAddress: string,
40
- accruedToTreasury: bigint,
41
- unbacked: bigint,
42
- isolationModeTotalDebt: bigint
43
- ] & {
44
- configuration: IAaveV3Pool.ReserveConfigurationMapStructOutput;
45
- liquidityIndex: bigint;
46
- currentLiquidityRate: bigint;
47
- variableBorrowIndex: bigint;
48
- currentVariableBorrowRate: bigint;
49
- currentStableBorrowRate: bigint;
50
- lastUpdateTimestamp: bigint;
51
- id: bigint;
52
- aTokenAddress: string;
53
- stableDebtTokenAddress: string;
54
- variableDebtTokenAddress: string;
55
- interestRateStrategyAddress: string;
56
- accruedToTreasury: bigint;
57
- unbacked: bigint;
58
- isolationModeTotalDebt: bigint;
59
- };
60
- }
61
- export interface IAaveV3PoolInterface extends Interface {
62
- getFunction(nameOrSignature: "getReserveData" | "getReserveNormalizedIncome" | "supply" | "withdraw"): FunctionFragment;
63
- encodeFunctionData(functionFragment: "getReserveData", values: [AddressLike]): string;
64
- encodeFunctionData(functionFragment: "getReserveNormalizedIncome", values: [AddressLike]): string;
65
- encodeFunctionData(functionFragment: "supply", values: [AddressLike, BigNumberish, AddressLike, BigNumberish]): string;
66
- encodeFunctionData(functionFragment: "withdraw", values: [AddressLike, BigNumberish, AddressLike]): string;
67
- decodeFunctionResult(functionFragment: "getReserveData", data: BytesLike): Result;
68
- decodeFunctionResult(functionFragment: "getReserveNormalizedIncome", data: BytesLike): Result;
69
- decodeFunctionResult(functionFragment: "supply", data: BytesLike): Result;
70
- decodeFunctionResult(functionFragment: "withdraw", data: BytesLike): Result;
71
- }
72
- export interface IAaveV3Pool extends BaseContract {
73
- connect(runner?: ContractRunner | null): IAaveV3Pool;
74
- waitForDeployment(): Promise<this>;
75
- interface: IAaveV3PoolInterface;
76
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
77
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
78
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
79
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
80
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
81
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
82
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
83
- listeners(eventName?: string): Promise<Array<Listener>>;
84
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
85
- getReserveData: TypedContractMethod<[
86
- asset: AddressLike
87
- ], [
88
- IAaveV3Pool.ReserveDataStructOutput
89
- ], "view">;
90
- getReserveNormalizedIncome: TypedContractMethod<[
91
- underlyingAsset: AddressLike
92
- ], [
93
- bigint
94
- ], "view">;
95
- supply: TypedContractMethod<[
96
- asset: AddressLike,
97
- amount: BigNumberish,
98
- onBehalfOf: AddressLike,
99
- referralCode: BigNumberish
100
- ], [
101
- void
102
- ], "nonpayable">;
103
- withdraw: TypedContractMethod<[
104
- asset: AddressLike,
105
- amount: BigNumberish,
106
- to: AddressLike
107
- ], [
108
- bigint
109
- ], "nonpayable">;
110
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
111
- getFunction(nameOrSignature: "getReserveData"): TypedContractMethod<[
112
- asset: AddressLike
113
- ], [
114
- IAaveV3Pool.ReserveDataStructOutput
115
- ], "view">;
116
- getFunction(nameOrSignature: "getReserveNormalizedIncome"): TypedContractMethod<[underlyingAsset: AddressLike], [bigint], "view">;
117
- getFunction(nameOrSignature: "supply"): TypedContractMethod<[
118
- asset: AddressLike,
119
- amount: BigNumberish,
120
- onBehalfOf: AddressLike,
121
- referralCode: BigNumberish
122
- ], [
123
- void
124
- ], "nonpayable">;
125
- getFunction(nameOrSignature: "withdraw"): TypedContractMethod<[
126
- asset: AddressLike,
127
- amount: BigNumberish,
128
- to: AddressLike
129
- ], [
130
- bigint
131
- ], "nonpayable">;
132
- filters: {};
133
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IAaveV3Pool.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAaveV3Pool.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/CToken/CAavePool.sol/IAaveV3Pool.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type { CAavePool } from "./CAavePool";
2
- export type { IAToken } from "./IAToken";
3
- export type { IAaveV3Pool } from "./IAaveV3Pool";
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/CToken/CAavePool.sol/index.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AprMONAdapter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AprMONAdapter.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/aprMONAdapter.sol/AprMONAdapter.ts"],"names":[],"mappings":""}
@@ -1,37 +0,0 @@
1
- import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, ContractRunner, ContractMethod, Listener } from "ethers";
2
- import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedListener, TypedContractMethod } from "../../../common";
3
- export interface IAprMonInterface extends Interface {
4
- getFunction(nameOrSignature: "convertToAssets" | "convertToShares"): FunctionFragment;
5
- encodeFunctionData(functionFragment: "convertToAssets", values: [BigNumberish]): string;
6
- encodeFunctionData(functionFragment: "convertToShares", values: [BigNumberish]): string;
7
- decodeFunctionResult(functionFragment: "convertToAssets", data: BytesLike): Result;
8
- decodeFunctionResult(functionFragment: "convertToShares", data: BytesLike): Result;
9
- }
10
- export interface IAprMon extends BaseContract {
11
- connect(runner?: ContractRunner | null): IAprMon;
12
- waitForDeployment(): Promise<this>;
13
- interface: IAprMonInterface;
14
- queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
15
- queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
16
- on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
17
- on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
18
- once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
19
- once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
20
- listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
21
- listeners(eventName?: string): Promise<Array<Listener>>;
22
- removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
23
- convertToAssets: TypedContractMethod<[
24
- shares: BigNumberish
25
- ], [
26
- bigint
27
- ], "view">;
28
- convertToShares: TypedContractMethod<[
29
- amount: BigNumberish
30
- ], [
31
- bigint
32
- ], "view">;
33
- getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
34
- getFunction(nameOrSignature: "convertToAssets"): TypedContractMethod<[shares: BigNumberish], [bigint], "view">;
35
- getFunction(nameOrSignature: "convertToShares"): TypedContractMethod<[amount: BigNumberish], [bigint], "view">;
36
- filters: {};
37
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=IAprMon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAprMon.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/aprMONAdapter.sol/IAprMon.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export type { IAprMon } from "./IAprMon";
2
- export type { AprMONAdapter } from "./AprMONAdapter";
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/typechain/contracts/Oracle/aprMONAdapter.sol/index.ts"],"names":[],"mappings":""}
@@ -1,55 +0,0 @@
1
- import { type ContractRunner } from "ethers";
2
- import type { IAToken, IATokenInterface } from "../../../../contracts/CToken/CAavePool.sol/IAToken";
3
- export declare class IAToken__factory {
4
- static readonly abi: readonly [{
5
- readonly inputs: readonly [{
6
- readonly internalType: "address";
7
- readonly name: "user";
8
- readonly type: "address";
9
- }];
10
- readonly name: "balanceOf";
11
- readonly outputs: readonly [{
12
- readonly internalType: "uint256";
13
- readonly name: "";
14
- readonly type: "uint256";
15
- }];
16
- readonly stateMutability: "view";
17
- readonly type: "function";
18
- }, {
19
- readonly inputs: readonly [{
20
- readonly internalType: "address";
21
- readonly name: "user";
22
- readonly type: "address";
23
- }];
24
- readonly name: "scaledBalanceOf";
25
- readonly outputs: readonly [{
26
- readonly internalType: "uint256";
27
- readonly name: "";
28
- readonly type: "uint256";
29
- }];
30
- readonly stateMutability: "view";
31
- readonly type: "function";
32
- }, {
33
- readonly inputs: readonly [];
34
- readonly name: "scaledTotalSupply";
35
- readonly outputs: readonly [{
36
- readonly internalType: "uint256";
37
- readonly name: "";
38
- readonly type: "uint256";
39
- }];
40
- readonly stateMutability: "view";
41
- readonly type: "function";
42
- }, {
43
- readonly inputs: readonly [];
44
- readonly name: "totalSupply";
45
- readonly outputs: readonly [{
46
- readonly internalType: "uint256";
47
- readonly name: "";
48
- readonly type: "uint256";
49
- }];
50
- readonly stateMutability: "view";
51
- readonly type: "function";
52
- }];
53
- static createInterface(): IATokenInterface;
54
- static connect(address: string, runner?: ContractRunner | null): IAToken;
55
- }
@@ -1,84 +0,0 @@
1
- "use strict";
2
- /* Autogenerated file. Do not edit manually. */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.IAToken__factory = void 0;
7
- const ethers_1 = require("ethers");
8
- const _abi = [
9
- {
10
- inputs: [
11
- {
12
- internalType: "address",
13
- name: "user",
14
- type: "address",
15
- },
16
- ],
17
- name: "balanceOf",
18
- outputs: [
19
- {
20
- internalType: "uint256",
21
- name: "",
22
- type: "uint256",
23
- },
24
- ],
25
- stateMutability: "view",
26
- type: "function",
27
- },
28
- {
29
- inputs: [
30
- {
31
- internalType: "address",
32
- name: "user",
33
- type: "address",
34
- },
35
- ],
36
- name: "scaledBalanceOf",
37
- outputs: [
38
- {
39
- internalType: "uint256",
40
- name: "",
41
- type: "uint256",
42
- },
43
- ],
44
- stateMutability: "view",
45
- type: "function",
46
- },
47
- {
48
- inputs: [],
49
- name: "scaledTotalSupply",
50
- outputs: [
51
- {
52
- internalType: "uint256",
53
- name: "",
54
- type: "uint256",
55
- },
56
- ],
57
- stateMutability: "view",
58
- type: "function",
59
- },
60
- {
61
- inputs: [],
62
- name: "totalSupply",
63
- outputs: [
64
- {
65
- internalType: "uint256",
66
- name: "",
67
- type: "uint256",
68
- },
69
- ],
70
- stateMutability: "view",
71
- type: "function",
72
- },
73
- ];
74
- class IAToken__factory {
75
- static createInterface() {
76
- return new ethers_1.Interface(_abi);
77
- }
78
- static connect(address, runner) {
79
- return new ethers_1.Contract(address, _abi, runner);
80
- }
81
- }
82
- exports.IAToken__factory = IAToken__factory;
83
- IAToken__factory.abi = _abi;
84
- //# sourceMappingURL=IAToken__factory.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IAToken__factory.js","sourceRoot":"","sources":["../../../../../../../src/typechain/factories/contracts/CToken/CAavePool.sol/IAToken__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,aAAa;QACnB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,gBAAgB;IAE3B,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAqB,CAAC;IACjD,CAAC;IACD,MAAM,CAAC,OAAO,CAAC,OAAe,EAAE,MAA8B;QAC5D,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAuB,CAAC;IACnE,CAAC;;AAPH,4CAQC;AAPiB,oBAAG,GAAG,IAAI,CAAC"}
@@ -1,145 +0,0 @@
1
- import { type ContractRunner } from "ethers";
2
- import type { IAaveV3Pool, IAaveV3PoolInterface } from "../../../../contracts/CToken/CAavePool.sol/IAaveV3Pool";
3
- export declare class IAaveV3Pool__factory {
4
- static readonly abi: readonly [{
5
- readonly inputs: readonly [{
6
- readonly internalType: "address";
7
- readonly name: "asset";
8
- readonly type: "address";
9
- }];
10
- readonly name: "getReserveData";
11
- readonly outputs: readonly [{
12
- readonly components: readonly [{
13
- readonly components: readonly [{
14
- readonly internalType: "uint256";
15
- readonly name: "data";
16
- readonly type: "uint256";
17
- }];
18
- readonly internalType: "struct IAaveV3Pool.ReserveConfigurationMap";
19
- readonly name: "configuration";
20
- readonly type: "tuple";
21
- }, {
22
- readonly internalType: "uint128";
23
- readonly name: "liquidityIndex";
24
- readonly type: "uint128";
25
- }, {
26
- readonly internalType: "uint128";
27
- readonly name: "currentLiquidityRate";
28
- readonly type: "uint128";
29
- }, {
30
- readonly internalType: "uint128";
31
- readonly name: "variableBorrowIndex";
32
- readonly type: "uint128";
33
- }, {
34
- readonly internalType: "uint128";
35
- readonly name: "currentVariableBorrowRate";
36
- readonly type: "uint128";
37
- }, {
38
- readonly internalType: "uint128";
39
- readonly name: "currentStableBorrowRate";
40
- readonly type: "uint128";
41
- }, {
42
- readonly internalType: "uint40";
43
- readonly name: "lastUpdateTimestamp";
44
- readonly type: "uint40";
45
- }, {
46
- readonly internalType: "uint16";
47
- readonly name: "id";
48
- readonly type: "uint16";
49
- }, {
50
- readonly internalType: "address";
51
- readonly name: "aTokenAddress";
52
- readonly type: "address";
53
- }, {
54
- readonly internalType: "address";
55
- readonly name: "stableDebtTokenAddress";
56
- readonly type: "address";
57
- }, {
58
- readonly internalType: "address";
59
- readonly name: "variableDebtTokenAddress";
60
- readonly type: "address";
61
- }, {
62
- readonly internalType: "address";
63
- readonly name: "interestRateStrategyAddress";
64
- readonly type: "address";
65
- }, {
66
- readonly internalType: "uint128";
67
- readonly name: "accruedToTreasury";
68
- readonly type: "uint128";
69
- }, {
70
- readonly internalType: "uint128";
71
- readonly name: "unbacked";
72
- readonly type: "uint128";
73
- }, {
74
- readonly internalType: "uint128";
75
- readonly name: "isolationModeTotalDebt";
76
- readonly type: "uint128";
77
- }];
78
- readonly internalType: "struct IAaveV3Pool.ReserveData";
79
- readonly name: "";
80
- readonly type: "tuple";
81
- }];
82
- readonly stateMutability: "view";
83
- readonly type: "function";
84
- }, {
85
- readonly inputs: readonly [{
86
- readonly internalType: "address";
87
- readonly name: "underlyingAsset";
88
- readonly type: "address";
89
- }];
90
- readonly name: "getReserveNormalizedIncome";
91
- readonly outputs: readonly [{
92
- readonly internalType: "uint256";
93
- readonly name: "";
94
- readonly type: "uint256";
95
- }];
96
- readonly stateMutability: "view";
97
- readonly type: "function";
98
- }, {
99
- readonly inputs: readonly [{
100
- readonly internalType: "address";
101
- readonly name: "asset";
102
- readonly type: "address";
103
- }, {
104
- readonly internalType: "uint256";
105
- readonly name: "amount";
106
- readonly type: "uint256";
107
- }, {
108
- readonly internalType: "address";
109
- readonly name: "onBehalfOf";
110
- readonly type: "address";
111
- }, {
112
- readonly internalType: "uint16";
113
- readonly name: "referralCode";
114
- readonly type: "uint16";
115
- }];
116
- readonly name: "supply";
117
- readonly outputs: readonly [];
118
- readonly stateMutability: "nonpayable";
119
- readonly type: "function";
120
- }, {
121
- readonly inputs: readonly [{
122
- readonly internalType: "address";
123
- readonly name: "asset";
124
- readonly type: "address";
125
- }, {
126
- readonly internalType: "uint256";
127
- readonly name: "amount";
128
- readonly type: "uint256";
129
- }, {
130
- readonly internalType: "address";
131
- readonly name: "to";
132
- readonly type: "address";
133
- }];
134
- readonly name: "withdraw";
135
- readonly outputs: readonly [{
136
- readonly internalType: "uint256";
137
- readonly name: "";
138
- readonly type: "uint256";
139
- }];
140
- readonly stateMutability: "nonpayable";
141
- readonly type: "function";
142
- }];
143
- static createInterface(): IAaveV3PoolInterface;
144
- static connect(address: string, runner?: ContractRunner | null): IAaveV3Pool;
145
- }