@meterio/sumer-js 0.1.10 → 0.1.11
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/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +33 -2
- package/dist/nodejs/abi.js +228 -152
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.js +124 -110
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/index.js +4 -34
- package/dist/nodejs/constants/index.js.map +1 -1
- package/dist/nodejs/index.d.ts +33 -2
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +33 -1
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +33 -15
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +9 -21
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +9 -25
- package/dist/nodejs/typechain/contracts/Interfaces/IEIP712.d.ts +41 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IEIP712.js +3 -0
- package/dist/nodejs/typechain/contracts/Interfaces/IEIP712.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +45 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +59 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +45 -19
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +59 -25
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/AccountLiquidity__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +27 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +35 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +19 -49
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +25 -65
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +14 -48
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +19 -64
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IEIP712__factory.d.ts +33 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IEIP712__factory.js +53 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IEIP712__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +18 -0
- package/dist/nodejs/typechain/index.d.ts +2 -0
- package/dist/nodejs/typechain/index.js +3 -1
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, Interface, EventFragment, AddressLike, ContractRunner, ContractMethod, Listener } from "ethers";
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface SuErc20Interface extends Interface {
|
|
4
|
-
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowCollateralAndMintSynthetic" | "borrowIndex" | "borrowRatePerBlock" | "
|
|
4
|
+
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowCollateralAndMintSynthetic" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCToken" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
5
5
|
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
@@ -26,7 +26,6 @@ export interface SuErc20Interface extends Interface {
|
|
|
26
26
|
encodeFunctionData(functionFragment: "borrowCollateralAndMintSynthetic", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
27
27
|
encodeFunctionData(functionFragment: "borrowIndex", values?: undefined): string;
|
|
28
28
|
encodeFunctionData(functionFragment: "borrowRatePerBlock", values?: undefined): string;
|
|
29
|
-
encodeFunctionData(functionFragment: "calcCBorrowAmount", values: [AddressLike, BigNumberish]): string;
|
|
30
29
|
encodeFunctionData(functionFragment: "comptroller", values?: undefined): string;
|
|
31
30
|
encodeFunctionData(functionFragment: "decimals", values?: undefined): string;
|
|
32
31
|
encodeFunctionData(functionFragment: "discountRateMantissa", values?: undefined): string;
|
|
@@ -61,6 +60,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
61
60
|
encodeFunctionData(functionFragment: "liquidateBorrow", values: [AddressLike, BigNumberish, AddressLike]): string;
|
|
62
61
|
encodeFunctionData(functionFragment: "liquidateCalculateSeizeTokens", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
63
62
|
encodeFunctionData(functionFragment: "mint", values: [BigNumberish]): string;
|
|
63
|
+
encodeFunctionData(functionFragment: "mintWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
64
64
|
encodeFunctionData(functionFragment: "name", values?: undefined): string;
|
|
65
65
|
encodeFunctionData(functionFragment: "pendingAdmin", values?: undefined): string;
|
|
66
66
|
encodeFunctionData(functionFragment: "protocolSeizeShareMantissa", values?: undefined): string;
|
|
@@ -68,6 +68,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
68
68
|
encodeFunctionData(functionFragment: "redeemUnderlying", values: [BigNumberish]): string;
|
|
69
69
|
encodeFunctionData(functionFragment: "repayBorrow", values: [BigNumberish]): string;
|
|
70
70
|
encodeFunctionData(functionFragment: "repayBorrowBehalf", values: [AddressLike, BigNumberish]): string;
|
|
71
|
+
encodeFunctionData(functionFragment: "repayBorrowWithPermit", values: [BigNumberish, BigNumberish, BytesLike]): string;
|
|
71
72
|
encodeFunctionData(functionFragment: "reserveFactorMantissa", values?: undefined): string;
|
|
72
73
|
encodeFunctionData(functionFragment: "seize", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
73
74
|
encodeFunctionData(functionFragment: "supplyRatePerBlock", values?: undefined): string;
|
|
@@ -104,7 +105,6 @@ export interface SuErc20Interface extends Interface {
|
|
|
104
105
|
decodeFunctionResult(functionFragment: "borrowCollateralAndMintSynthetic", data: BytesLike): Result;
|
|
105
106
|
decodeFunctionResult(functionFragment: "borrowIndex", data: BytesLike): Result;
|
|
106
107
|
decodeFunctionResult(functionFragment: "borrowRatePerBlock", data: BytesLike): Result;
|
|
107
|
-
decodeFunctionResult(functionFragment: "calcCBorrowAmount", data: BytesLike): Result;
|
|
108
108
|
decodeFunctionResult(functionFragment: "comptroller", data: BytesLike): Result;
|
|
109
109
|
decodeFunctionResult(functionFragment: "decimals", data: BytesLike): Result;
|
|
110
110
|
decodeFunctionResult(functionFragment: "discountRateMantissa", data: BytesLike): Result;
|
|
@@ -121,6 +121,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
121
121
|
decodeFunctionResult(functionFragment: "liquidateBorrow", data: BytesLike): Result;
|
|
122
122
|
decodeFunctionResult(functionFragment: "liquidateCalculateSeizeTokens", data: BytesLike): Result;
|
|
123
123
|
decodeFunctionResult(functionFragment: "mint", data: BytesLike): Result;
|
|
124
|
+
decodeFunctionResult(functionFragment: "mintWithPermit", data: BytesLike): Result;
|
|
124
125
|
decodeFunctionResult(functionFragment: "name", data: BytesLike): Result;
|
|
125
126
|
decodeFunctionResult(functionFragment: "pendingAdmin", data: BytesLike): Result;
|
|
126
127
|
decodeFunctionResult(functionFragment: "protocolSeizeShareMantissa", data: BytesLike): Result;
|
|
@@ -128,6 +129,7 @@ export interface SuErc20Interface extends Interface {
|
|
|
128
129
|
decodeFunctionResult(functionFragment: "redeemUnderlying", data: BytesLike): Result;
|
|
129
130
|
decodeFunctionResult(functionFragment: "repayBorrow", data: BytesLike): Result;
|
|
130
131
|
decodeFunctionResult(functionFragment: "repayBorrowBehalf", data: BytesLike): Result;
|
|
132
|
+
decodeFunctionResult(functionFragment: "repayBorrowWithPermit", data: BytesLike): Result;
|
|
131
133
|
decodeFunctionResult(functionFragment: "reserveFactorMantissa", data: BytesLike): Result;
|
|
132
134
|
decodeFunctionResult(functionFragment: "seize", data: BytesLike): Result;
|
|
133
135
|
decodeFunctionResult(functionFragment: "supplyRatePerBlock", data: BytesLike): Result;
|
|
@@ -570,12 +572,6 @@ export interface SuErc20 extends BaseContract {
|
|
|
570
572
|
], "nonpayable">;
|
|
571
573
|
borrowIndex: TypedContractMethod<[], [bigint], "view">;
|
|
572
574
|
borrowRatePerBlock: TypedContractMethod<[], [bigint], "view">;
|
|
573
|
-
calcCBorrowAmount: TypedContractMethod<[
|
|
574
|
-
cTokenCollateral: AddressLike,
|
|
575
|
-
suBorrowAmount: BigNumberish
|
|
576
|
-
], [
|
|
577
|
-
bigint
|
|
578
|
-
], "view">;
|
|
579
575
|
comptroller: TypedContractMethod<[], [string], "view">;
|
|
580
576
|
decimals: TypedContractMethod<[], [bigint], "view">;
|
|
581
577
|
discountRateMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -630,6 +626,13 @@ export interface SuErc20 extends BaseContract {
|
|
|
630
626
|
[bigint, bigint]
|
|
631
627
|
], "view">;
|
|
632
628
|
mint: TypedContractMethod<[mintAmount: BigNumberish], [bigint], "nonpayable">;
|
|
629
|
+
mintWithPermit: TypedContractMethod<[
|
|
630
|
+
mintAmount: BigNumberish,
|
|
631
|
+
deadline: BigNumberish,
|
|
632
|
+
signature: BytesLike
|
|
633
|
+
], [
|
|
634
|
+
bigint
|
|
635
|
+
], "nonpayable">;
|
|
633
636
|
name: TypedContractMethod<[], [string], "view">;
|
|
634
637
|
pendingAdmin: TypedContractMethod<[], [string], "view">;
|
|
635
638
|
protocolSeizeShareMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
@@ -654,6 +657,13 @@ export interface SuErc20 extends BaseContract {
|
|
|
654
657
|
], [
|
|
655
658
|
bigint
|
|
656
659
|
], "nonpayable">;
|
|
660
|
+
repayBorrowWithPermit: TypedContractMethod<[
|
|
661
|
+
repayAmount: BigNumberish,
|
|
662
|
+
deadline: BigNumberish,
|
|
663
|
+
signature: BytesLike
|
|
664
|
+
], [
|
|
665
|
+
bigint
|
|
666
|
+
], "nonpayable">;
|
|
657
667
|
reserveFactorMantissa: TypedContractMethod<[], [bigint], "view">;
|
|
658
668
|
seize: TypedContractMethod<[
|
|
659
669
|
liquidator: AddressLike,
|
|
@@ -746,12 +756,6 @@ export interface SuErc20 extends BaseContract {
|
|
|
746
756
|
], "nonpayable">;
|
|
747
757
|
getFunction(nameOrSignature: "borrowIndex"): TypedContractMethod<[], [bigint], "view">;
|
|
748
758
|
getFunction(nameOrSignature: "borrowRatePerBlock"): TypedContractMethod<[], [bigint], "view">;
|
|
749
|
-
getFunction(nameOrSignature: "calcCBorrowAmount"): TypedContractMethod<[
|
|
750
|
-
cTokenCollateral: AddressLike,
|
|
751
|
-
suBorrowAmount: BigNumberish
|
|
752
|
-
], [
|
|
753
|
-
bigint
|
|
754
|
-
], "view">;
|
|
755
759
|
getFunction(nameOrSignature: "comptroller"): TypedContractMethod<[], [string], "view">;
|
|
756
760
|
getFunction(nameOrSignature: "decimals"): TypedContractMethod<[], [bigint], "view">;
|
|
757
761
|
getFunction(nameOrSignature: "discountRateMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -806,6 +810,13 @@ export interface SuErc20 extends BaseContract {
|
|
|
806
810
|
[bigint, bigint]
|
|
807
811
|
], "view">;
|
|
808
812
|
getFunction(nameOrSignature: "mint"): TypedContractMethod<[mintAmount: BigNumberish], [bigint], "nonpayable">;
|
|
813
|
+
getFunction(nameOrSignature: "mintWithPermit"): TypedContractMethod<[
|
|
814
|
+
mintAmount: BigNumberish,
|
|
815
|
+
deadline: BigNumberish,
|
|
816
|
+
signature: BytesLike
|
|
817
|
+
], [
|
|
818
|
+
bigint
|
|
819
|
+
], "nonpayable">;
|
|
809
820
|
getFunction(nameOrSignature: "name"): TypedContractMethod<[], [string], "view">;
|
|
810
821
|
getFunction(nameOrSignature: "pendingAdmin"): TypedContractMethod<[], [string], "view">;
|
|
811
822
|
getFunction(nameOrSignature: "protocolSeizeShareMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
@@ -818,6 +829,13 @@ export interface SuErc20 extends BaseContract {
|
|
|
818
829
|
], [
|
|
819
830
|
bigint
|
|
820
831
|
], "nonpayable">;
|
|
832
|
+
getFunction(nameOrSignature: "repayBorrowWithPermit"): TypedContractMethod<[
|
|
833
|
+
repayAmount: BigNumberish,
|
|
834
|
+
deadline: BigNumberish,
|
|
835
|
+
signature: BytesLike
|
|
836
|
+
], [
|
|
837
|
+
bigint
|
|
838
|
+
], "nonpayable">;
|
|
821
839
|
getFunction(nameOrSignature: "reserveFactorMantissa"): TypedContractMethod<[], [bigint], "view">;
|
|
822
840
|
getFunction(nameOrSignature: "seize"): TypedContractMethod<[
|
|
823
841
|
liquidator: AddressLike,
|
|
@@ -301,13 +301,14 @@ export declare namespace CompoundLens {
|
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
303
|
export interface CompoundLensInterface extends Interface {
|
|
304
|
-
getFunction(nameOrSignature: "cTokenBalances" | "cTokenBalancesAll" | "cTokenMetadata" | "cTokenMetadataAll" | "cTokenUnderlyingPrice" | "cTokenUnderlyingPriceAll" | "getAccountLimits" | "getCompBalanceMetadata" | "getCompBalanceMetadataExt" | "getCompVotes" | "getGovBravoProposals" | "getGovBravoReceipts" | "getGovProposals" | "getGovReceipts"): FunctionFragment;
|
|
304
|
+
getFunction(nameOrSignature: "cTokenBalances" | "cTokenBalancesAll" | "cTokenMetadata" | "cTokenMetadataAll" | "cTokenUnderlyingPrice" | "cTokenUnderlyingPriceAll" | "calcCBorrowAmount" | "getAccountLimits" | "getCompBalanceMetadata" | "getCompBalanceMetadataExt" | "getCompVotes" | "getGovBravoProposals" | "getGovBravoReceipts" | "getGovProposals" | "getGovReceipts"): FunctionFragment;
|
|
305
305
|
encodeFunctionData(functionFragment: "cTokenBalances", values: [AddressLike, AddressLike]): string;
|
|
306
306
|
encodeFunctionData(functionFragment: "cTokenBalancesAll", values: [AddressLike[], AddressLike]): string;
|
|
307
307
|
encodeFunctionData(functionFragment: "cTokenMetadata", values: [AddressLike]): string;
|
|
308
308
|
encodeFunctionData(functionFragment: "cTokenMetadataAll", values: [AddressLike[]]): string;
|
|
309
309
|
encodeFunctionData(functionFragment: "cTokenUnderlyingPrice", values: [AddressLike]): string;
|
|
310
310
|
encodeFunctionData(functionFragment: "cTokenUnderlyingPriceAll", values: [AddressLike[]]): string;
|
|
311
|
+
encodeFunctionData(functionFragment: "calcCBorrowAmount", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
311
312
|
encodeFunctionData(functionFragment: "getAccountLimits", values: [AddressLike, AddressLike]): string;
|
|
312
313
|
encodeFunctionData(functionFragment: "getCompBalanceMetadata", values: [AddressLike, AddressLike]): string;
|
|
313
314
|
encodeFunctionData(functionFragment: "getCompBalanceMetadataExt", values: [AddressLike, AddressLike, AddressLike]): string;
|
|
@@ -322,6 +323,7 @@ export interface CompoundLensInterface extends Interface {
|
|
|
322
323
|
decodeFunctionResult(functionFragment: "cTokenMetadataAll", data: BytesLike): Result;
|
|
323
324
|
decodeFunctionResult(functionFragment: "cTokenUnderlyingPrice", data: BytesLike): Result;
|
|
324
325
|
decodeFunctionResult(functionFragment: "cTokenUnderlyingPriceAll", data: BytesLike): Result;
|
|
326
|
+
decodeFunctionResult(functionFragment: "calcCBorrowAmount", data: BytesLike): Result;
|
|
325
327
|
decodeFunctionResult(functionFragment: "getAccountLimits", data: BytesLike): Result;
|
|
326
328
|
decodeFunctionResult(functionFragment: "getCompBalanceMetadata", data: BytesLike): Result;
|
|
327
329
|
decodeFunctionResult(functionFragment: "getCompBalanceMetadataExt", data: BytesLike): Result;
|
|
@@ -376,6 +378,13 @@ export interface CompoundLens extends BaseContract {
|
|
|
376
378
|
], [
|
|
377
379
|
CompoundLens.CTokenUnderlyingPriceStructOutput[]
|
|
378
380
|
], "view">;
|
|
381
|
+
calcCBorrowAmount: TypedContractMethod<[
|
|
382
|
+
cTokenCollateral: AddressLike,
|
|
383
|
+
suToken: AddressLike,
|
|
384
|
+
suBorrowAmount: BigNumberish
|
|
385
|
+
], [
|
|
386
|
+
bigint
|
|
387
|
+
], "view">;
|
|
379
388
|
getAccountLimits: TypedContractMethod<[
|
|
380
389
|
comptroller: AddressLike,
|
|
381
390
|
account: AddressLike
|
|
@@ -461,6 +470,13 @@ export interface CompoundLens extends BaseContract {
|
|
|
461
470
|
], [
|
|
462
471
|
CompoundLens.CTokenUnderlyingPriceStructOutput[]
|
|
463
472
|
], "view">;
|
|
473
|
+
getFunction(nameOrSignature: "calcCBorrowAmount"): TypedContractMethod<[
|
|
474
|
+
cTokenCollateral: AddressLike,
|
|
475
|
+
suToken: AddressLike,
|
|
476
|
+
suBorrowAmount: BigNumberish
|
|
477
|
+
], [
|
|
478
|
+
bigint
|
|
479
|
+
], "view">;
|
|
464
480
|
getFunction(nameOrSignature: "getAccountLimits"): TypedContractMethod<[
|
|
465
481
|
comptroller: AddressLike,
|
|
466
482
|
account: AddressLike
|
|
@@ -32,7 +32,7 @@ export declare namespace IComptroller {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
export interface ComptrollerInterface extends Interface {
|
|
35
|
-
getFunction(nameOrSignature: "CAPPER_ROLE" | "COMP_LOGIC" | "DEFAULT_ADMIN_ROLE" | "PAUSER_ROLE" | "_borrowGuardianPaused" | "_getBorrowCapGuardian" | "
|
|
35
|
+
getFunction(nameOrSignature: "CAPPER_ROLE" | "COMP_LOGIC" | "DEFAULT_ADMIN_ROLE" | "PAUSER_ROLE" | "_borrowGuardianPaused" | "_getBorrowCapGuardian" | "_getPauseGuardian" | "_mintGuardianPaused" | "_setBorrowCapGuardian" | "_setBorrowPaused" | "_setCloseFactor" | "_setLiquidationIncentive" | "_setMarketBorrowCaps" | "_setMaxSupply" | "_setMintPaused" | "_setPauseGuardian" | "_setPriceOracle" | "_setProtocolPaused" | "_setSeizePaused" | "_setTransferPaused" | "_supportMarket" | "accountAssets" | "accountLiquidity" | "allMarkets" | "assetGroupIdToIndex" | "borrowAllowed" | "borrowCapGuardian" | "borrowCaps" | "borrowGuardianPaused" | "borrowVerify" | "checkMembership" | "cleanAssetGroup" | "closeFactorMantissa" | "compLogic" | "enterMarkets" | "enterMarketsForAll" | "eqAssetGroup" | "exitMarket" | "getAccountLiquidity" | "getAccountSafeLimit" | "getAllAssetGroup" | "getAllAssetGroupByIndex" | "getAllMarkets" | "getAssetGroup" | "getAssetGroupNum" | "getAssetsIn" | "getCollateralRate" | "getCompAddress" | "getHypotheticalAccountLiquidity" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "governanceToken" | "grantRole" | "hasRole" | "heteroLiquidationIncentiveMantissa" | "homoLiquidationIncentiveMantissa" | "initialize" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidationIncentiveMantissa" | "marketGroupId" | "markets" | "maxSupply" | "minSuBorrowValue" | "mintAllowed" | "mintGuardianPaused" | "oracle" | "pauseGuardian" | "redeemAllowed" | "redeemFaceValue" | "redeemFaceValueWithTargetPlan" | "redeemVerify" | "redemptionManager" | "removeAssetGroup" | "renounceRole" | "repayBorrowAllowed" | "repayBorrowVerify" | "revokeRole" | "seizeAllowed" | "seizeGuardianPaused" | "seizeVerify" | "setAccountLiquidity" | "setAssetGroup" | "setCompLogic" | "setCompSpeed" | "setGovTokenAddress" | "setMinSuBorrowValue" | "setRedemptionManager" | "setTimelock" | "suTokenRateMantissa" | "supportsInterface" | "sutokenLiquidationIncentiveMantissa" | "timelock" | "transferAllowed" | "transferGuardianPaused" | "updateSortedBorrowsBatch"): FunctionFragment;
|
|
36
36
|
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "NewAssetGroup" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewCloseFactor" | "NewLiquidationIncentive" | "NewPauseGuardian" | "NewPriceOracle" | "Redemption" | "RemoveAssetGroup" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SetMaxSupply"): EventFragment;
|
|
37
37
|
encodeFunctionData(functionFragment: "CAPPER_ROLE", values?: undefined): string;
|
|
38
38
|
encodeFunctionData(functionFragment: "COMP_LOGIC", values?: undefined): string;
|
|
@@ -40,11 +40,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
40
40
|
encodeFunctionData(functionFragment: "PAUSER_ROLE", values?: undefined): string;
|
|
41
41
|
encodeFunctionData(functionFragment: "_borrowGuardianPaused", values?: undefined): string;
|
|
42
42
|
encodeFunctionData(functionFragment: "_getBorrowCapGuardian", values?: undefined): string;
|
|
43
|
-
encodeFunctionData(functionFragment: "_getBorrowPaused", values: [AddressLike]): string;
|
|
44
|
-
encodeFunctionData(functionFragment: "_getMintPaused", values: [AddressLike]): string;
|
|
45
43
|
encodeFunctionData(functionFragment: "_getPauseGuardian", values?: undefined): string;
|
|
46
|
-
encodeFunctionData(functionFragment: "_getSeizePaused", values?: undefined): string;
|
|
47
|
-
encodeFunctionData(functionFragment: "_getTransferPaused", values?: undefined): string;
|
|
48
44
|
encodeFunctionData(functionFragment: "_mintGuardianPaused", values?: undefined): string;
|
|
49
45
|
encodeFunctionData(functionFragment: "_setBorrowCapGuardian", values: [AddressLike]): string;
|
|
50
46
|
encodeFunctionData(functionFragment: "_setBorrowPaused", values: [AddressLike, boolean]): string;
|
|
@@ -55,6 +51,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
55
51
|
encodeFunctionData(functionFragment: "_setMintPaused", values: [AddressLike, boolean]): string;
|
|
56
52
|
encodeFunctionData(functionFragment: "_setPauseGuardian", values: [AddressLike]): string;
|
|
57
53
|
encodeFunctionData(functionFragment: "_setPriceOracle", values: [AddressLike]): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "_setProtocolPaused", values: [boolean]): string;
|
|
58
55
|
encodeFunctionData(functionFragment: "_setSeizePaused", values: [boolean]): string;
|
|
59
56
|
encodeFunctionData(functionFragment: "_setTransferPaused", values: [boolean]): string;
|
|
60
57
|
encodeFunctionData(functionFragment: "_supportMarket", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
@@ -160,11 +157,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
160
157
|
decodeFunctionResult(functionFragment: "PAUSER_ROLE", data: BytesLike): Result;
|
|
161
158
|
decodeFunctionResult(functionFragment: "_borrowGuardianPaused", data: BytesLike): Result;
|
|
162
159
|
decodeFunctionResult(functionFragment: "_getBorrowCapGuardian", data: BytesLike): Result;
|
|
163
|
-
decodeFunctionResult(functionFragment: "_getBorrowPaused", data: BytesLike): Result;
|
|
164
|
-
decodeFunctionResult(functionFragment: "_getMintPaused", data: BytesLike): Result;
|
|
165
160
|
decodeFunctionResult(functionFragment: "_getPauseGuardian", data: BytesLike): Result;
|
|
166
|
-
decodeFunctionResult(functionFragment: "_getSeizePaused", data: BytesLike): Result;
|
|
167
|
-
decodeFunctionResult(functionFragment: "_getTransferPaused", data: BytesLike): Result;
|
|
168
161
|
decodeFunctionResult(functionFragment: "_mintGuardianPaused", data: BytesLike): Result;
|
|
169
162
|
decodeFunctionResult(functionFragment: "_setBorrowCapGuardian", data: BytesLike): Result;
|
|
170
163
|
decodeFunctionResult(functionFragment: "_setBorrowPaused", data: BytesLike): Result;
|
|
@@ -175,6 +168,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
175
168
|
decodeFunctionResult(functionFragment: "_setMintPaused", data: BytesLike): Result;
|
|
176
169
|
decodeFunctionResult(functionFragment: "_setPauseGuardian", data: BytesLike): Result;
|
|
177
170
|
decodeFunctionResult(functionFragment: "_setPriceOracle", data: BytesLike): Result;
|
|
171
|
+
decodeFunctionResult(functionFragment: "_setProtocolPaused", data: BytesLike): Result;
|
|
178
172
|
decodeFunctionResult(functionFragment: "_setSeizePaused", data: BytesLike): Result;
|
|
179
173
|
decodeFunctionResult(functionFragment: "_setTransferPaused", data: BytesLike): Result;
|
|
180
174
|
decodeFunctionResult(functionFragment: "_supportMarket", data: BytesLike): Result;
|
|
@@ -601,15 +595,7 @@ export interface Comptroller extends BaseContract {
|
|
|
601
595
|
PAUSER_ROLE: TypedContractMethod<[], [string], "view">;
|
|
602
596
|
_borrowGuardianPaused: TypedContractMethod<[], [boolean], "view">;
|
|
603
597
|
_getBorrowCapGuardian: TypedContractMethod<[], [string], "view">;
|
|
604
|
-
_getBorrowPaused: TypedContractMethod<[
|
|
605
|
-
cToken: AddressLike
|
|
606
|
-
], [
|
|
607
|
-
boolean
|
|
608
|
-
], "view">;
|
|
609
|
-
_getMintPaused: TypedContractMethod<[cToken: AddressLike], [boolean], "view">;
|
|
610
598
|
_getPauseGuardian: TypedContractMethod<[], [string], "view">;
|
|
611
|
-
_getSeizePaused: TypedContractMethod<[], [boolean], "view">;
|
|
612
|
-
_getTransferPaused: TypedContractMethod<[], [boolean], "view">;
|
|
613
599
|
_mintGuardianPaused: TypedContractMethod<[], [boolean], "view">;
|
|
614
600
|
_setBorrowCapGuardian: TypedContractMethod<[
|
|
615
601
|
newBorrowCapGuardian: AddressLike
|
|
@@ -662,6 +648,11 @@ export interface Comptroller extends BaseContract {
|
|
|
662
648
|
], [
|
|
663
649
|
bigint
|
|
664
650
|
], "nonpayable">;
|
|
651
|
+
_setProtocolPaused: TypedContractMethod<[
|
|
652
|
+
state: boolean
|
|
653
|
+
], [
|
|
654
|
+
boolean
|
|
655
|
+
], "nonpayable">;
|
|
665
656
|
_setSeizePaused: TypedContractMethod<[
|
|
666
657
|
state: boolean
|
|
667
658
|
], [
|
|
@@ -1034,11 +1025,7 @@ export interface Comptroller extends BaseContract {
|
|
|
1034
1025
|
getFunction(nameOrSignature: "PAUSER_ROLE"): TypedContractMethod<[], [string], "view">;
|
|
1035
1026
|
getFunction(nameOrSignature: "_borrowGuardianPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1036
1027
|
getFunction(nameOrSignature: "_getBorrowCapGuardian"): TypedContractMethod<[], [string], "view">;
|
|
1037
|
-
getFunction(nameOrSignature: "_getBorrowPaused"): TypedContractMethod<[cToken: AddressLike], [boolean], "view">;
|
|
1038
|
-
getFunction(nameOrSignature: "_getMintPaused"): TypedContractMethod<[cToken: AddressLike], [boolean], "view">;
|
|
1039
1028
|
getFunction(nameOrSignature: "_getPauseGuardian"): TypedContractMethod<[], [string], "view">;
|
|
1040
|
-
getFunction(nameOrSignature: "_getSeizePaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1041
|
-
getFunction(nameOrSignature: "_getTransferPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1042
1029
|
getFunction(nameOrSignature: "_mintGuardianPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
1043
1030
|
getFunction(nameOrSignature: "_setBorrowCapGuardian"): TypedContractMethod<[
|
|
1044
1031
|
newBorrowCapGuardian: AddressLike
|
|
@@ -1087,6 +1074,7 @@ export interface Comptroller extends BaseContract {
|
|
|
1087
1074
|
bigint
|
|
1088
1075
|
], "nonpayable">;
|
|
1089
1076
|
getFunction(nameOrSignature: "_setPriceOracle"): TypedContractMethod<[newOracle: AddressLike], [bigint], "nonpayable">;
|
|
1077
|
+
getFunction(nameOrSignature: "_setProtocolPaused"): TypedContractMethod<[state: boolean], [boolean], "nonpayable">;
|
|
1090
1078
|
getFunction(nameOrSignature: "_setSeizePaused"): TypedContractMethod<[state: boolean], [boolean], "nonpayable">;
|
|
1091
1079
|
getFunction(nameOrSignature: "_setTransferPaused"): TypedContractMethod<[state: boolean], [boolean], "nonpayable">;
|
|
1092
1080
|
getFunction(nameOrSignature: "_supportMarket"): TypedContractMethod<[
|
|
@@ -32,15 +32,12 @@ export declare namespace IComptroller {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
export interface IComptrollerInterface extends Interface {
|
|
35
|
-
getFunction(nameOrSignature: "
|
|
35
|
+
getFunction(nameOrSignature: "assetGroupIdToIndex" | "borrowAllowed" | "borrowCaps" | "borrowGuardianPaused" | "borrowVerify" | "claimComp" | "closeFactorMantissa" | "compAccrued" | "enterMarkets" | "exitMarket" | "getAccountLiquidity" | "getAllAssetGroup" | "getAllMarkets" | "getAssetGroup" | "getAssetGroupNum" | "getAssetsIn" | "getCollateralRate" | "getCompAddress" | "getHypotheticalAccountLiquidity" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidateBorrowVerify" | "liquidationIncentiveMantissa" | "marketGroupId" | "markets" | "mintAllowed" | "oracle" | "redeemAllowed" | "redeemVerify" | "repayBorrowAllowed" | "repayBorrowVerify" | "seizeAllowed" | "seizeVerify" | "timelock" | "transferAllowed"): FunctionFragment;
|
|
36
36
|
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewPauseGuardian" | "RemoveAssetGroup"): EventFragment;
|
|
37
|
-
encodeFunctionData(functionFragment: "_getBorrowPaused", values: [AddressLike]): string;
|
|
38
|
-
encodeFunctionData(functionFragment: "_getMintPaused", values: [AddressLike]): string;
|
|
39
|
-
encodeFunctionData(functionFragment: "_getSeizePaused", values?: undefined): string;
|
|
40
|
-
encodeFunctionData(functionFragment: "_getTransferPaused", values?: undefined): string;
|
|
41
37
|
encodeFunctionData(functionFragment: "assetGroupIdToIndex", values: [BigNumberish]): string;
|
|
42
38
|
encodeFunctionData(functionFragment: "borrowAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
43
39
|
encodeFunctionData(functionFragment: "borrowCaps", values: [AddressLike]): string;
|
|
40
|
+
encodeFunctionData(functionFragment: "borrowGuardianPaused", values: [AddressLike]): string;
|
|
44
41
|
encodeFunctionData(functionFragment: "borrowVerify", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
45
42
|
encodeFunctionData(functionFragment: "claimComp", values: [AddressLike]): string;
|
|
46
43
|
encodeFunctionData(functionFragment: "closeFactorMantissa", values?: undefined): string;
|
|
@@ -80,13 +77,10 @@ export interface IComptrollerInterface extends Interface {
|
|
|
80
77
|
encodeFunctionData(functionFragment: "seizeVerify", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
81
78
|
encodeFunctionData(functionFragment: "timelock", values?: undefined): string;
|
|
82
79
|
encodeFunctionData(functionFragment: "transferAllowed", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
83
|
-
decodeFunctionResult(functionFragment: "_getBorrowPaused", data: BytesLike): Result;
|
|
84
|
-
decodeFunctionResult(functionFragment: "_getMintPaused", data: BytesLike): Result;
|
|
85
|
-
decodeFunctionResult(functionFragment: "_getSeizePaused", data: BytesLike): Result;
|
|
86
|
-
decodeFunctionResult(functionFragment: "_getTransferPaused", data: BytesLike): Result;
|
|
87
80
|
decodeFunctionResult(functionFragment: "assetGroupIdToIndex", data: BytesLike): Result;
|
|
88
81
|
decodeFunctionResult(functionFragment: "borrowAllowed", data: BytesLike): Result;
|
|
89
82
|
decodeFunctionResult(functionFragment: "borrowCaps", data: BytesLike): Result;
|
|
83
|
+
decodeFunctionResult(functionFragment: "borrowGuardianPaused", data: BytesLike): Result;
|
|
90
84
|
decodeFunctionResult(functionFragment: "borrowVerify", data: BytesLike): Result;
|
|
91
85
|
decodeFunctionResult(functionFragment: "claimComp", data: BytesLike): Result;
|
|
92
86
|
decodeFunctionResult(functionFragment: "closeFactorMantissa", data: BytesLike): Result;
|
|
@@ -217,18 +211,6 @@ export interface IComptroller extends BaseContract {
|
|
|
217
211
|
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
218
212
|
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
219
213
|
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
220
|
-
_getBorrowPaused: TypedContractMethod<[
|
|
221
|
-
cToken: AddressLike
|
|
222
|
-
], [
|
|
223
|
-
boolean
|
|
224
|
-
], "view">;
|
|
225
|
-
_getMintPaused: TypedContractMethod<[
|
|
226
|
-
cToken: AddressLike
|
|
227
|
-
], [
|
|
228
|
-
boolean
|
|
229
|
-
], "nonpayable">;
|
|
230
|
-
_getSeizePaused: TypedContractMethod<[], [boolean], "view">;
|
|
231
|
-
_getTransferPaused: TypedContractMethod<[], [boolean], "view">;
|
|
232
214
|
assetGroupIdToIndex: TypedContractMethod<[
|
|
233
215
|
arg0: BigNumberish
|
|
234
216
|
], [
|
|
@@ -242,6 +224,11 @@ export interface IComptroller extends BaseContract {
|
|
|
242
224
|
void
|
|
243
225
|
], "nonpayable">;
|
|
244
226
|
borrowCaps: TypedContractMethod<[cToken: AddressLike], [bigint], "view">;
|
|
227
|
+
borrowGuardianPaused: TypedContractMethod<[
|
|
228
|
+
cToken: AddressLike
|
|
229
|
+
], [
|
|
230
|
+
boolean
|
|
231
|
+
], "view">;
|
|
245
232
|
borrowVerify: TypedContractMethod<[
|
|
246
233
|
cToken: AddressLike,
|
|
247
234
|
borrower: AddressLike,
|
|
@@ -393,10 +380,6 @@ export interface IComptroller extends BaseContract {
|
|
|
393
380
|
void
|
|
394
381
|
], "nonpayable">;
|
|
395
382
|
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
396
|
-
getFunction(nameOrSignature: "_getBorrowPaused"): TypedContractMethod<[cToken: AddressLike], [boolean], "view">;
|
|
397
|
-
getFunction(nameOrSignature: "_getMintPaused"): TypedContractMethod<[cToken: AddressLike], [boolean], "nonpayable">;
|
|
398
|
-
getFunction(nameOrSignature: "_getSeizePaused"): TypedContractMethod<[], [boolean], "view">;
|
|
399
|
-
getFunction(nameOrSignature: "_getTransferPaused"): TypedContractMethod<[], [boolean], "view">;
|
|
400
383
|
getFunction(nameOrSignature: "assetGroupIdToIndex"): TypedContractMethod<[arg0: BigNumberish], [bigint], "view">;
|
|
401
384
|
getFunction(nameOrSignature: "borrowAllowed"): TypedContractMethod<[
|
|
402
385
|
cToken: AddressLike,
|
|
@@ -406,6 +389,7 @@ export interface IComptroller extends BaseContract {
|
|
|
406
389
|
void
|
|
407
390
|
], "nonpayable">;
|
|
408
391
|
getFunction(nameOrSignature: "borrowCaps"): TypedContractMethod<[cToken: AddressLike], [bigint], "view">;
|
|
392
|
+
getFunction(nameOrSignature: "borrowGuardianPaused"): TypedContractMethod<[cToken: AddressLike], [boolean], "view">;
|
|
409
393
|
getFunction(nameOrSignature: "borrowVerify"): TypedContractMethod<[
|
|
410
394
|
cToken: AddressLike,
|
|
411
395
|
borrower: AddressLike,
|
|
@@ -0,0 +1,41 @@
|
|
|
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 interface IEIP712Interface extends Interface {
|
|
4
|
+
getFunction(nameOrSignature: "permit"): FunctionFragment;
|
|
5
|
+
encodeFunctionData(functionFragment: "permit", values: [AddressLike, AddressLike, BigNumberish, BigNumberish, BytesLike]): string;
|
|
6
|
+
decodeFunctionResult(functionFragment: "permit", data: BytesLike): Result;
|
|
7
|
+
}
|
|
8
|
+
export interface IEIP712 extends BaseContract {
|
|
9
|
+
connect(runner?: ContractRunner | null): IEIP712;
|
|
10
|
+
waitForDeployment(): Promise<this>;
|
|
11
|
+
interface: IEIP712Interface;
|
|
12
|
+
queryFilter<TCEvent extends TypedContractEvent>(event: TCEvent, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
13
|
+
queryFilter<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TypedEventLog<TCEvent>>>;
|
|
14
|
+
on<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
15
|
+
on<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
16
|
+
once<TCEvent extends TypedContractEvent>(event: TCEvent, listener: TypedListener<TCEvent>): Promise<this>;
|
|
17
|
+
once<TCEvent extends TypedContractEvent>(filter: TypedDeferredTopicFilter<TCEvent>, listener: TypedListener<TCEvent>): Promise<this>;
|
|
18
|
+
listeners<TCEvent extends TypedContractEvent>(event: TCEvent): Promise<Array<TypedListener<TCEvent>>>;
|
|
19
|
+
listeners(eventName?: string): Promise<Array<Listener>>;
|
|
20
|
+
removeAllListeners<TCEvent extends TypedContractEvent>(event?: TCEvent): Promise<this>;
|
|
21
|
+
permit: TypedContractMethod<[
|
|
22
|
+
owner: AddressLike,
|
|
23
|
+
spender: AddressLike,
|
|
24
|
+
value: BigNumberish,
|
|
25
|
+
deadline: BigNumberish,
|
|
26
|
+
signature: BytesLike
|
|
27
|
+
], [
|
|
28
|
+
void
|
|
29
|
+
], "nonpayable">;
|
|
30
|
+
getFunction<T extends ContractMethod = ContractMethod>(key: string | FunctionFragment): T;
|
|
31
|
+
getFunction(nameOrSignature: "permit"): TypedContractMethod<[
|
|
32
|
+
owner: AddressLike,
|
|
33
|
+
spender: AddressLike,
|
|
34
|
+
value: BigNumberish,
|
|
35
|
+
deadline: BigNumberish,
|
|
36
|
+
signature: BytesLike
|
|
37
|
+
], [
|
|
38
|
+
void
|
|
39
|
+
], "nonpayable">;
|
|
40
|
+
filters: {};
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IEIP712.js","sourceRoot":"","sources":["../../../../../src/typechain/contracts/Interfaces/IEIP712.ts"],"names":[],"mappings":""}
|
|
@@ -7,6 +7,7 @@ export type { IChainlinkFeed } from "./IChainlinkFeed";
|
|
|
7
7
|
export type { ICompLogic } from "./ICompLogic";
|
|
8
8
|
export type { IComptroller } from "./IComptroller";
|
|
9
9
|
export type { IEIP20NonStandard } from "./IEIP20NonStandard";
|
|
10
|
+
export type { IEIP712 } from "./IEIP712";
|
|
10
11
|
export type { IGovernorAlpha } from "./IGovernorAlpha";
|
|
11
12
|
export type { IGovernorBravo } from "./IGovernorBravo";
|
|
12
13
|
export type { IInterestRateModel } from "./IInterestRateModel";
|