@meterio/sumer-js 0.2.80 → 0.2.81
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 +9 -9
- package/dist/nodejs/constants/berabartio.d.ts +1 -9
- package/dist/nodejs/constants/berabartio.js +2 -21
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +90 -31
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +68 -1
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +8 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +37 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +46 -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 +37 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +36 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +45 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +37 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +47 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +59 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +37 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +46 -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 +134 -30
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +168 -35
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +37 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +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/ICompLogic__factory.d.ts +10 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +78 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +99 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/API3Adapter.sol/API3Adapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/StakedAngleAdapter.sol/StakedAngleAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/StakedAngleAdapter.sol/StakedAngleAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/StakedAngleAdapter.sol/StakedAngleAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +5 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stEURAdapter.sol/StEURAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stEURAdapter.sol/StEURAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stEURAdapter.sol/StEURAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stUSDAdapter.sol/StUSDAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stUSDAdapter.sol/StUSDAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/stUSDAdapter.sol/StUSDAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +37 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +37 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +144 -0
- package/dist/nodejs/typechain/index.d.ts +16 -0
- package/dist/nodejs/typechain/index.js +18 -2
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -54,14 +54,6 @@ export declare const berabartio: {
|
|
|
54
54
|
underlyAddr: string;
|
|
55
55
|
assetGroupId?: undefined;
|
|
56
56
|
})[];
|
|
57
|
-
rateModels:
|
|
58
|
-
name: string;
|
|
59
|
-
address: string;
|
|
60
|
-
tokens: string[];
|
|
61
|
-
baseRatePerYear: string;
|
|
62
|
-
multiplierPerYear: string;
|
|
63
|
-
jumpMultiplierPerYear: string;
|
|
64
|
-
kink: string;
|
|
65
|
-
}[];
|
|
57
|
+
rateModels: any[];
|
|
66
58
|
blocksPerYear: number;
|
|
67
59
|
};
|
|
@@ -7,7 +7,7 @@ exports.berabartio = {
|
|
|
7
7
|
"Multicall2": "0x92D144A99bD3aB1177B8Df600769Ad5422DE7819",
|
|
8
8
|
"Sumer": "0x553d713e0fB958932b6C40ABAf0b5A1fFae73Da2",
|
|
9
9
|
"SUMER": "0x553d713e0fB958932b6C40ABAf0b5A1fFae73Da2",
|
|
10
|
-
"CompoundLens": "
|
|
10
|
+
"CompoundLens": "0xb3C3A5A20EA20b9754A054666D475625552D5378",
|
|
11
11
|
"FeedPriceOracle": "0x9b33E5CdeA4f486cbcf93a31729064E602BC5Ba2",
|
|
12
12
|
"CompLogic": "0xb680a4EF4338bCD8935D8cB00A58d18bF4aA8378",
|
|
13
13
|
"RedemptionManager": "0x2f8569Cf4C52F33Fb90497781Ee86404C16B800C",
|
|
@@ -158,26 +158,7 @@ exports.berabartio = {
|
|
|
158
158
|
"underlyAddr": "0x0000000000000000000000000000000000000000"
|
|
159
159
|
}
|
|
160
160
|
],
|
|
161
|
-
"rateModels": [
|
|
162
|
-
{
|
|
163
|
-
"name": "JumpRateModelV2",
|
|
164
|
-
"address": "0xa64486AC7e538Afe8f08850B42C97BB4B6aBDc0C",
|
|
165
|
-
"tokens": [
|
|
166
|
-
"USDC",
|
|
167
|
-
"USDT",
|
|
168
|
-
"HONEY",
|
|
169
|
-
"NECT",
|
|
170
|
-
"WBTC",
|
|
171
|
-
"WETH",
|
|
172
|
-
"iBGT",
|
|
173
|
-
"BERA"
|
|
174
|
-
],
|
|
175
|
-
"baseRatePerYear": "0",
|
|
176
|
-
"multiplierPerYear": "0.1",
|
|
177
|
-
"jumpMultiplierPerYear": "3",
|
|
178
|
-
"kink": "0.65"
|
|
179
|
-
}
|
|
180
|
-
],
|
|
161
|
+
"rateModels": [],
|
|
181
162
|
"blocksPerYear": 31536000
|
|
182
163
|
};
|
|
183
164
|
//# sourceMappingURL=berabartio.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"berabartio.js","sourceRoot":"","sources":["../../../src/constants/berabartio.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE;QACX,YAAY,EAAE,4CAA4C;QAC1D,YAAY,EAAE,4CAA4C;QAC1D,OAAO,EAAE,4CAA4C;QACrD,OAAO,EAAE,4CAA4C;QACrD,cAAc,EAAE,4CAA4C;QAC5D,iBAAiB,EAAE,4CAA4C;QAC/D,WAAW,EAAE,4CAA4C;QACzD,mBAAmB,EAAE,4CAA4C;QACjE,UAAU,EAAE,4CAA4C;QACxD,aAAa,EAAE,4CAA4C;QAC3D,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,UAAU,EAAE,4CAA4C;QACxD,OAAO,EAAE,4CAA4C;QACrD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAA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E,EAAE;YACnB,gBAAgB,EAAE,EAAE;YACpB,eAAe,EAAE,KAAK;YACtB,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,4CAA4C;YAC3D,cAAc,EAAE,CAAC;SAClB;QACD;YACE,WAAW,EAAE,SAAS;YACtB,YAAY,EAAE,4CAA4C;YAC1D,YAAY,EAAE,MAAM;YACpB,eAAe,EAAE,EAAE;YACnB,gBAAgB,EAAE,EAAE;YACpB,eAAe,EAAE,IAAI;YACrB,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,4CAA4C;SAC5D;KACF;IACD,YAAY,EAAE
|
|
1
|
+
{"version":3,"file":"berabartio.js","sourceRoot":"","sources":["../../../src/constants/berabartio.ts"],"names":[],"mappings":";;;AAAa,QAAA,UAAU,GAAG;IACxB,WAAW,EAAE;QACX,YAAY,EAAE,4CAA4C;QAC1D,YAAY,EAAE,4CAA4C;QAC1D,OAAO,EAAE,4CAA4C;QACrD,OAAO,EAAE,4CAA4C;QACrD,cAAc,EAAE,4CAA4C;QAC5D,iBAAiB,EAAE,4CAA4C;QAC/D,WAAW,EAAE,4CAA4C;QACzD,mBAAmB,EAAE,4CAA4C;QACjE,UAAU,EAAE,4CAA4C;QACxD,aAAa,EAAE,4CAA4C;QAC3D,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,UAAU,EAAE,4CAA4C;QACxD,OAAO,EAAE,4CAA4C;QACrD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,SAAS,EAAE,4CAA4C;QACvD,MAAM,EAAE,4CAA4C;QACpD,UAAU,EAAE,4CAA4C;QACxD,O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AE,4CAA4C;YAC3D,cAAc,EAAE,CAAC;SAClB;QACD;YACE,WAAW,EAAE,SAAS;YACtB,YAAY,EAAE,4CAA4C;YAC1D,YAAY,EAAE,MAAM;YACpB,eAAe,EAAE,EAAE;YACnB,gBAAgB,EAAE,EAAE;YACpB,eAAe,EAAE,IAAI;YACrB,eAAe,EAAE,KAAK;YACtB,aAAa,EAAE,4CAA4C;SAC5D;KACF;IACD,YAAY,EAAE,EAAE;IAChB,eAAe,EAAE,QAAQ;CAC1B,CAAA"}
|
|
@@ -9,7 +9,7 @@ export declare namespace ExponentialNoErrorNew {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
export interface CompLogicInterface extends Interface {
|
|
12
|
-
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "_grantComp" | "_setCompSpeeds" | "_setContributorCompSpeed" | "calculateComp" | "claimSumer(address[],address[],bool,bool)" | "claimSumer(address)" | "claimSumer(address,address[])" | "comp" | "compAccrued" | "compBorrowSpeeds" | "compBorrowState" | "compBorrowerIndex" | "compContributorSpeeds" | "compInitialIndex" | "compSupplierIndex" | "compSupplySpeeds" | "compSupplyState" | "comptroller" | "distributeBorrowerComp" | "distributeSupplierComp" | "getHypotheticalSafeLimit" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "grantRole" | "hasRole" | "initialize" | "initializeMarket" | "lastContributorBlock" | "percentScale" | "renounceRole" | "revokeRole" | "setCompSpeed" | "setComptroller" | "supportsInterface" | "updateCompBorrowIndex" | "updateCompSupplyIndex" | "updateContributorRewards"): FunctionFragment;
|
|
12
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "_grantComp" | "_setCompSpeeds" | "_setContributorCompSpeed" | "calculateComp" | "claimSumer(address[],address[],bool,bool)" | "claimSumer(address)" | "claimSumer(address,address[])" | "comp" | "compAccrued" | "compBorrowSpeeds" | "compBorrowState" | "compBorrowerIndex" | "compContributorSpeeds" | "compInitialIndex" | "compSupplierIndex" | "compSupplySpeeds" | "compSupplyState" | "comptroller" | "distributeBorrowerComp" | "distributeSupplierComp" | "getHypotheticalSafeLimit" | "getRoleAdmin" | "getRoleMember" | "getRoleMemberCount" | "grantRole" | "hasRole" | "initialize" | "initializeMarket" | "lastContributorBlock" | "percentScale" | "renounceRole" | "revokeRole" | "setCompSpeed" | "setComptroller" | "supportsInterface" | "uninitializeMarket" | "updateCompBorrowIndex" | "updateCompSupplyIndex" | "updateContributorRewards"): FunctionFragment;
|
|
13
13
|
getEvent(nameOrSignatureOrTopic: "CompBorrowSpeedUpdated" | "CompGranted" | "CompSupplySpeedUpdated" | "ContributorCompSpeedUpdated" | "DistributedBorrowerComp" | "DistributedSupplierComp" | "Initialized" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SetComptroller"): EventFragment;
|
|
14
14
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
15
15
|
encodeFunctionData(functionFragment: "_grantComp", values: [AddressLike, BigNumberish]): string;
|
|
@@ -47,6 +47,7 @@ export interface CompLogicInterface extends Interface {
|
|
|
47
47
|
encodeFunctionData(functionFragment: "setCompSpeed", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
48
48
|
encodeFunctionData(functionFragment: "setComptroller", values: [AddressLike]): string;
|
|
49
49
|
encodeFunctionData(functionFragment: "supportsInterface", values: [BytesLike]): string;
|
|
50
|
+
encodeFunctionData(functionFragment: "uninitializeMarket", values: [AddressLike]): string;
|
|
50
51
|
encodeFunctionData(functionFragment: "updateCompBorrowIndex", values: [AddressLike, ExponentialNoErrorNew.ExpStruct]): string;
|
|
51
52
|
encodeFunctionData(functionFragment: "updateCompSupplyIndex", values: [AddressLike]): string;
|
|
52
53
|
encodeFunctionData(functionFragment: "updateContributorRewards", values: [AddressLike]): string;
|
|
@@ -86,6 +87,7 @@ export interface CompLogicInterface extends Interface {
|
|
|
86
87
|
decodeFunctionResult(functionFragment: "setCompSpeed", data: BytesLike): Result;
|
|
87
88
|
decodeFunctionResult(functionFragment: "setComptroller", data: BytesLike): Result;
|
|
88
89
|
decodeFunctionResult(functionFragment: "supportsInterface", data: BytesLike): Result;
|
|
90
|
+
decodeFunctionResult(functionFragment: "uninitializeMarket", data: BytesLike): Result;
|
|
89
91
|
decodeFunctionResult(functionFragment: "updateCompBorrowIndex", data: BytesLike): Result;
|
|
90
92
|
decodeFunctionResult(functionFragment: "updateCompSupplyIndex", data: BytesLike): Result;
|
|
91
93
|
decodeFunctionResult(functionFragment: "updateContributorRewards", data: BytesLike): Result;
|
|
@@ -443,6 +445,11 @@ export interface CompLogic extends BaseContract {
|
|
|
443
445
|
], [
|
|
444
446
|
boolean
|
|
445
447
|
], "view">;
|
|
448
|
+
uninitializeMarket: TypedContractMethod<[
|
|
449
|
+
cToken: AddressLike
|
|
450
|
+
], [
|
|
451
|
+
void
|
|
452
|
+
], "nonpayable">;
|
|
446
453
|
updateCompBorrowIndex: TypedContractMethod<[
|
|
447
454
|
cToken: AddressLike,
|
|
448
455
|
marketBorrowIndex: ExponentialNoErrorNew.ExpStruct
|
|
@@ -607,6 +614,7 @@ export interface CompLogic extends BaseContract {
|
|
|
607
614
|
], "nonpayable">;
|
|
608
615
|
getFunction(nameOrSignature: "setComptroller"): TypedContractMethod<[_comptroller: AddressLike], [void], "nonpayable">;
|
|
609
616
|
getFunction(nameOrSignature: "supportsInterface"): TypedContractMethod<[interfaceId: BytesLike], [boolean], "view">;
|
|
617
|
+
getFunction(nameOrSignature: "uninitializeMarket"): TypedContractMethod<[cToken: AddressLike], [void], "nonpayable">;
|
|
610
618
|
getFunction(nameOrSignature: "updateCompBorrowIndex"): TypedContractMethod<[
|
|
611
619
|
cToken: AddressLike,
|
|
612
620
|
marketBorrowIndex: ExponentialNoErrorNew.ExpStruct
|
|
@@ -35,8 +35,8 @@ export type LiquidationIncentiveStructOutput = [
|
|
|
35
35
|
sutokenPercent: bigint;
|
|
36
36
|
};
|
|
37
37
|
export interface ComptrollerInterface extends Interface {
|
|
38
|
-
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "PAUSER_ROLE" | "_changeGroupIdForAsset" | "_pause" | "_setCaps" | "_setGlobalConfig" | "_setGovTokenAddress" | "_setInterMintAllowed" | "_setLargestGroupId" | "_setLiquidationIncentive" | "_setPauseGuardian" | "_setPriceOracle" | "_setTimelock" | "_supportMarket" | "accountAssets" | "allMarkets" | "assetGroup" | "borrowAllowed" | "borrowVerify" | "compLogic" | "enterMarkets" | "exitMarket" | "getAllMarkets" | "getAssetsIn" | "getHypotheticalAccountLiquidity" | "getRoleAdmin" | "getUnderlyingPriceNormalized" | "globalConfig" | "governanceToken" | "grantRole" | "hasRole" | "initialize" | "interMintAllowed" | "isComptroller" | "isListed" | "lastBorrowedAt" | "liquidateBorrowAllowed" | "liquidationIncentive" | "marketConfig" | "markets" | "mintAllowed" | "oracle" | "pauseGuardian" | "redeemAllowed" | "redemptionManager" | "removeAssetGroup" | "renounceRole" | "repayBorrowAllowed" | "revokeRole" | "seizeAllowed" | "setAssetGroup" | "supportsInterface" | "timelock" | "transferAllowed" | "version"): FunctionFragment;
|
|
39
|
-
getEvent(nameOrSignatureOrTopic: "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "
|
|
38
|
+
getFunction(nameOrSignature: "DEFAULT_ADMIN_ROLE" | "PAUSER_ROLE" | "_changeGroupIdForAsset" | "_pause" | "_setCaps" | "_setGlobalConfig" | "_setGovTokenAddress" | "_setInterMintAllowed" | "_setLargestGroupId" | "_setLiquidationIncentive" | "_setPauseGuardian" | "_setPriceOracle" | "_setTimelock" | "_supportMarket" | "_unlistMarket" | "accountAssets" | "allMarkets" | "assetGroup" | "borrowAllowed" | "borrowVerify" | "compLogic" | "enterMarkets" | "exitMarket" | "getAllMarkets" | "getAssetsIn" | "getHypotheticalAccountLiquidity" | "getRoleAdmin" | "getUnderlyingPriceNormalized" | "globalConfig" | "governanceToken" | "grantRole" | "hasRole" | "initialize" | "interMintAllowed" | "isComptroller" | "isListed" | "lastBorrowedAt" | "liquidateBorrowAllowed" | "liquidateBorrowVerify" | "liquidationIncentive" | "marketConfig" | "markets" | "mintAllowed" | "oracle" | "pauseGuardian" | "redeemAllowed" | "redeemVerify" | "redemptionManager" | "removeAssetGroup" | "renounceRole" | "repayBorrowAllowed" | "repayBorrowVerify" | "revokeRole" | "seizeAllowed" | "setAssetGroup" | "supportsInterface" | "timelock" | "transferAllowed" | "version"): FunctionFragment;
|
|
39
|
+
getEvent(nameOrSignatureOrTopic: "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "MarketUnlisted" | "NewCap" | "NewDependencies" | "NewGlobalConfig" | "NewLiquidationIncentive" | "NewPause" | "NewPauseGuardian" | "NewPriceOracle" | "NewTimelock" | "RemoveAssetGroup" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "UpdateAssetGroup"): EventFragment;
|
|
40
40
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
41
41
|
encodeFunctionData(functionFragment: "PAUSER_ROLE", values?: undefined): string;
|
|
42
42
|
encodeFunctionData(functionFragment: "_changeGroupIdForAsset", values: [AddressLike, BigNumberish]): string;
|
|
@@ -51,6 +51,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
51
51
|
encodeFunctionData(functionFragment: "_setPriceOracle", values: [AddressLike]): string;
|
|
52
52
|
encodeFunctionData(functionFragment: "_setTimelock", values: [AddressLike]): string;
|
|
53
53
|
encodeFunctionData(functionFragment: "_supportMarket", values: [AddressLike, BigNumberish, BigNumberish, BigNumberish]): string;
|
|
54
|
+
encodeFunctionData(functionFragment: "_unlistMarket", values: [AddressLike]): string;
|
|
54
55
|
encodeFunctionData(functionFragment: "accountAssets", values: [AddressLike, BigNumberish]): string;
|
|
55
56
|
encodeFunctionData(functionFragment: "allMarkets", values: [BigNumberish]): string;
|
|
56
57
|
encodeFunctionData(functionFragment: "assetGroup", values: [BigNumberish]): string;
|
|
@@ -81,6 +82,14 @@ export interface ComptrollerInterface extends Interface {
|
|
|
81
82
|
encodeFunctionData(functionFragment: "isListed", values: [AddressLike]): string;
|
|
82
83
|
encodeFunctionData(functionFragment: "lastBorrowedAt", values: [AddressLike]): string;
|
|
83
84
|
encodeFunctionData(functionFragment: "liquidateBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
85
|
+
encodeFunctionData(functionFragment: "liquidateBorrowVerify", values: [
|
|
86
|
+
AddressLike,
|
|
87
|
+
AddressLike,
|
|
88
|
+
AddressLike,
|
|
89
|
+
AddressLike,
|
|
90
|
+
BigNumberish,
|
|
91
|
+
BigNumberish
|
|
92
|
+
]): string;
|
|
84
93
|
encodeFunctionData(functionFragment: "liquidationIncentive", values?: undefined): string;
|
|
85
94
|
encodeFunctionData(functionFragment: "marketConfig", values: [AddressLike]): string;
|
|
86
95
|
encodeFunctionData(functionFragment: "markets", values: [AddressLike]): string;
|
|
@@ -88,10 +97,12 @@ export interface ComptrollerInterface extends Interface {
|
|
|
88
97
|
encodeFunctionData(functionFragment: "oracle", values?: undefined): string;
|
|
89
98
|
encodeFunctionData(functionFragment: "pauseGuardian", values?: undefined): string;
|
|
90
99
|
encodeFunctionData(functionFragment: "redeemAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
100
|
+
encodeFunctionData(functionFragment: "redeemVerify", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
91
101
|
encodeFunctionData(functionFragment: "redemptionManager", values?: undefined): string;
|
|
92
102
|
encodeFunctionData(functionFragment: "removeAssetGroup", values: [BigNumberish]): string;
|
|
93
103
|
encodeFunctionData(functionFragment: "renounceRole", values: [BytesLike, AddressLike]): string;
|
|
94
104
|
encodeFunctionData(functionFragment: "repayBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
105
|
+
encodeFunctionData(functionFragment: "repayBorrowVerify", values: [AddressLike, AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
95
106
|
encodeFunctionData(functionFragment: "revokeRole", values: [BytesLike, AddressLike]): string;
|
|
96
107
|
encodeFunctionData(functionFragment: "seizeAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
97
108
|
encodeFunctionData(functionFragment: "setAssetGroup", values: [
|
|
@@ -120,6 +131,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
120
131
|
decodeFunctionResult(functionFragment: "_setPriceOracle", data: BytesLike): Result;
|
|
121
132
|
decodeFunctionResult(functionFragment: "_setTimelock", data: BytesLike): Result;
|
|
122
133
|
decodeFunctionResult(functionFragment: "_supportMarket", data: BytesLike): Result;
|
|
134
|
+
decodeFunctionResult(functionFragment: "_unlistMarket", data: BytesLike): Result;
|
|
123
135
|
decodeFunctionResult(functionFragment: "accountAssets", data: BytesLike): Result;
|
|
124
136
|
decodeFunctionResult(functionFragment: "allMarkets", data: BytesLike): Result;
|
|
125
137
|
decodeFunctionResult(functionFragment: "assetGroup", data: BytesLike): Result;
|
|
@@ -143,6 +155,7 @@ export interface ComptrollerInterface extends Interface {
|
|
|
143
155
|
decodeFunctionResult(functionFragment: "isListed", data: BytesLike): Result;
|
|
144
156
|
decodeFunctionResult(functionFragment: "lastBorrowedAt", data: BytesLike): Result;
|
|
145
157
|
decodeFunctionResult(functionFragment: "liquidateBorrowAllowed", data: BytesLike): Result;
|
|
158
|
+
decodeFunctionResult(functionFragment: "liquidateBorrowVerify", data: BytesLike): Result;
|
|
146
159
|
decodeFunctionResult(functionFragment: "liquidationIncentive", data: BytesLike): Result;
|
|
147
160
|
decodeFunctionResult(functionFragment: "marketConfig", data: BytesLike): Result;
|
|
148
161
|
decodeFunctionResult(functionFragment: "markets", data: BytesLike): Result;
|
|
@@ -150,10 +163,12 @@ export interface ComptrollerInterface extends Interface {
|
|
|
150
163
|
decodeFunctionResult(functionFragment: "oracle", data: BytesLike): Result;
|
|
151
164
|
decodeFunctionResult(functionFragment: "pauseGuardian", data: BytesLike): Result;
|
|
152
165
|
decodeFunctionResult(functionFragment: "redeemAllowed", data: BytesLike): Result;
|
|
166
|
+
decodeFunctionResult(functionFragment: "redeemVerify", data: BytesLike): Result;
|
|
153
167
|
decodeFunctionResult(functionFragment: "redemptionManager", data: BytesLike): Result;
|
|
154
168
|
decodeFunctionResult(functionFragment: "removeAssetGroup", data: BytesLike): Result;
|
|
155
169
|
decodeFunctionResult(functionFragment: "renounceRole", data: BytesLike): Result;
|
|
156
170
|
decodeFunctionResult(functionFragment: "repayBorrowAllowed", data: BytesLike): Result;
|
|
171
|
+
decodeFunctionResult(functionFragment: "repayBorrowVerify", data: BytesLike): Result;
|
|
157
172
|
decodeFunctionResult(functionFragment: "revokeRole", data: BytesLike): Result;
|
|
158
173
|
decodeFunctionResult(functionFragment: "seizeAllowed", data: BytesLike): Result;
|
|
159
174
|
decodeFunctionResult(functionFragment: "setAssetGroup", data: BytesLike): Result;
|
|
@@ -208,30 +223,11 @@ export declare namespace MarketListedEvent {
|
|
|
208
223
|
type Log = TypedEventLog<Event>;
|
|
209
224
|
type LogDescription = TypedLogDescription<Event>;
|
|
210
225
|
}
|
|
211
|
-
export declare namespace
|
|
212
|
-
type InputTuple = [
|
|
213
|
-
|
|
214
|
-
intraCRatePercent: BigNumberish,
|
|
215
|
-
intraMintRatePercent: BigNumberish,
|
|
216
|
-
intraSuRatePercent: BigNumberish,
|
|
217
|
-
interCRatePercent: BigNumberish,
|
|
218
|
-
interSuRatePercent: BigNumberish
|
|
219
|
-
];
|
|
220
|
-
type OutputTuple = [
|
|
221
|
-
groupId: bigint,
|
|
222
|
-
intraCRatePercent: bigint,
|
|
223
|
-
intraMintRatePercent: bigint,
|
|
224
|
-
intraSuRatePercent: bigint,
|
|
225
|
-
interCRatePercent: bigint,
|
|
226
|
-
interSuRatePercent: bigint
|
|
227
|
-
];
|
|
226
|
+
export declare namespace MarketUnlistedEvent {
|
|
227
|
+
type InputTuple = [cToken: AddressLike];
|
|
228
|
+
type OutputTuple = [cToken: string];
|
|
228
229
|
interface OutputObject {
|
|
229
|
-
|
|
230
|
-
intraCRatePercent: bigint;
|
|
231
|
-
intraMintRatePercent: bigint;
|
|
232
|
-
intraSuRatePercent: bigint;
|
|
233
|
-
interCRatePercent: bigint;
|
|
234
|
-
interSuRatePercent: bigint;
|
|
230
|
+
cToken: string;
|
|
235
231
|
}
|
|
236
232
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
237
233
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -462,7 +458,8 @@ export declare namespace UpdateAssetGroupEvent {
|
|
|
462
458
|
intraMintRatePercent: BigNumberish,
|
|
463
459
|
intraSuRatePercent: BigNumberish,
|
|
464
460
|
interCRatePercent: BigNumberish,
|
|
465
|
-
interSuRatePercent: BigNumberish
|
|
461
|
+
interSuRatePercent: BigNumberish,
|
|
462
|
+
isNewGroup: boolean
|
|
466
463
|
];
|
|
467
464
|
type OutputTuple = [
|
|
468
465
|
groupId: bigint,
|
|
@@ -470,7 +467,8 @@ export declare namespace UpdateAssetGroupEvent {
|
|
|
470
467
|
intraMintRatePercent: bigint,
|
|
471
468
|
intraSuRatePercent: bigint,
|
|
472
469
|
interCRatePercent: bigint,
|
|
473
|
-
interSuRatePercent: bigint
|
|
470
|
+
interSuRatePercent: bigint,
|
|
471
|
+
isNewGroup: boolean
|
|
474
472
|
];
|
|
475
473
|
interface OutputObject {
|
|
476
474
|
groupId: bigint;
|
|
@@ -479,6 +477,7 @@ export declare namespace UpdateAssetGroupEvent {
|
|
|
479
477
|
intraSuRatePercent: bigint;
|
|
480
478
|
interCRatePercent: bigint;
|
|
481
479
|
interSuRatePercent: bigint;
|
|
480
|
+
isNewGroup: boolean;
|
|
482
481
|
}
|
|
483
482
|
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
484
483
|
type Filter = TypedDeferredTopicFilter<Event>;
|
|
@@ -570,6 +569,11 @@ export interface Comptroller extends BaseContract {
|
|
|
570
569
|
], [
|
|
571
570
|
void
|
|
572
571
|
], "nonpayable">;
|
|
572
|
+
_unlistMarket: TypedContractMethod<[
|
|
573
|
+
cToken: AddressLike
|
|
574
|
+
], [
|
|
575
|
+
void
|
|
576
|
+
], "nonpayable">;
|
|
573
577
|
accountAssets: TypedContractMethod<[
|
|
574
578
|
arg0: AddressLike,
|
|
575
579
|
arg1: BigNumberish
|
|
@@ -688,6 +692,16 @@ export interface Comptroller extends BaseContract {
|
|
|
688
692
|
], [
|
|
689
693
|
void
|
|
690
694
|
], "view">;
|
|
695
|
+
liquidateBorrowVerify: TypedContractMethod<[
|
|
696
|
+
cTokenBorrowed: AddressLike,
|
|
697
|
+
cTokenCollateral: AddressLike,
|
|
698
|
+
liquidator: AddressLike,
|
|
699
|
+
borrower: AddressLike,
|
|
700
|
+
actualRepayAmount: BigNumberish,
|
|
701
|
+
seizeTokens: BigNumberish
|
|
702
|
+
], [
|
|
703
|
+
void
|
|
704
|
+
], "nonpayable">;
|
|
691
705
|
liquidationIncentive: TypedContractMethod<[
|
|
692
706
|
], [
|
|
693
707
|
[
|
|
@@ -748,6 +762,14 @@ export interface Comptroller extends BaseContract {
|
|
|
748
762
|
], [
|
|
749
763
|
void
|
|
750
764
|
], "nonpayable">;
|
|
765
|
+
redeemVerify: TypedContractMethod<[
|
|
766
|
+
cToken: AddressLike,
|
|
767
|
+
redeemer: AddressLike,
|
|
768
|
+
redeemAmount: BigNumberish,
|
|
769
|
+
redeemTokens: BigNumberish
|
|
770
|
+
], [
|
|
771
|
+
void
|
|
772
|
+
], "nonpayable">;
|
|
751
773
|
redemptionManager: TypedContractMethod<[], [string], "view">;
|
|
752
774
|
removeAssetGroup: TypedContractMethod<[
|
|
753
775
|
groupId: BigNumberish
|
|
@@ -768,6 +790,15 @@ export interface Comptroller extends BaseContract {
|
|
|
768
790
|
], [
|
|
769
791
|
void
|
|
770
792
|
], "nonpayable">;
|
|
793
|
+
repayBorrowVerify: TypedContractMethod<[
|
|
794
|
+
cToken: AddressLike,
|
|
795
|
+
payer: AddressLike,
|
|
796
|
+
borrower: AddressLike,
|
|
797
|
+
actualRepayAmount: BigNumberish,
|
|
798
|
+
borrowIndex: BigNumberish
|
|
799
|
+
], [
|
|
800
|
+
void
|
|
801
|
+
], "nonpayable">;
|
|
771
802
|
revokeRole: TypedContractMethod<[
|
|
772
803
|
role: BytesLike,
|
|
773
804
|
account: AddressLike
|
|
@@ -857,6 +888,7 @@ export interface Comptroller extends BaseContract {
|
|
|
857
888
|
], [
|
|
858
889
|
void
|
|
859
890
|
], "nonpayable">;
|
|
891
|
+
getFunction(nameOrSignature: "_unlistMarket"): TypedContractMethod<[cToken: AddressLike], [void], "nonpayable">;
|
|
860
892
|
getFunction(nameOrSignature: "accountAssets"): TypedContractMethod<[
|
|
861
893
|
arg0: AddressLike,
|
|
862
894
|
arg1: BigNumberish
|
|
@@ -963,6 +995,16 @@ export interface Comptroller extends BaseContract {
|
|
|
963
995
|
], [
|
|
964
996
|
void
|
|
965
997
|
], "view">;
|
|
998
|
+
getFunction(nameOrSignature: "liquidateBorrowVerify"): TypedContractMethod<[
|
|
999
|
+
cTokenBorrowed: AddressLike,
|
|
1000
|
+
cTokenCollateral: AddressLike,
|
|
1001
|
+
liquidator: AddressLike,
|
|
1002
|
+
borrower: AddressLike,
|
|
1003
|
+
actualRepayAmount: BigNumberish,
|
|
1004
|
+
seizeTokens: BigNumberish
|
|
1005
|
+
], [
|
|
1006
|
+
void
|
|
1007
|
+
], "nonpayable">;
|
|
966
1008
|
getFunction(nameOrSignature: "liquidationIncentive"): TypedContractMethod<[
|
|
967
1009
|
], [
|
|
968
1010
|
[
|
|
@@ -1023,6 +1065,14 @@ export interface Comptroller extends BaseContract {
|
|
|
1023
1065
|
], [
|
|
1024
1066
|
void
|
|
1025
1067
|
], "nonpayable">;
|
|
1068
|
+
getFunction(nameOrSignature: "redeemVerify"): TypedContractMethod<[
|
|
1069
|
+
cToken: AddressLike,
|
|
1070
|
+
redeemer: AddressLike,
|
|
1071
|
+
redeemAmount: BigNumberish,
|
|
1072
|
+
redeemTokens: BigNumberish
|
|
1073
|
+
], [
|
|
1074
|
+
void
|
|
1075
|
+
], "nonpayable">;
|
|
1026
1076
|
getFunction(nameOrSignature: "redemptionManager"): TypedContractMethod<[], [string], "view">;
|
|
1027
1077
|
getFunction(nameOrSignature: "removeAssetGroup"): TypedContractMethod<[groupId: BigNumberish], [void], "nonpayable">;
|
|
1028
1078
|
getFunction(nameOrSignature: "renounceRole"): TypedContractMethod<[
|
|
@@ -1039,6 +1089,15 @@ export interface Comptroller extends BaseContract {
|
|
|
1039
1089
|
], [
|
|
1040
1090
|
void
|
|
1041
1091
|
], "nonpayable">;
|
|
1092
|
+
getFunction(nameOrSignature: "repayBorrowVerify"): TypedContractMethod<[
|
|
1093
|
+
cToken: AddressLike,
|
|
1094
|
+
payer: AddressLike,
|
|
1095
|
+
borrower: AddressLike,
|
|
1096
|
+
actualRepayAmount: BigNumberish,
|
|
1097
|
+
borrowIndex: BigNumberish
|
|
1098
|
+
], [
|
|
1099
|
+
void
|
|
1100
|
+
], "nonpayable">;
|
|
1042
1101
|
getFunction(nameOrSignature: "revokeRole"): TypedContractMethod<[
|
|
1043
1102
|
role: BytesLike,
|
|
1044
1103
|
account: AddressLike
|
|
@@ -1079,7 +1138,7 @@ export interface Comptroller extends BaseContract {
|
|
|
1079
1138
|
getEvent(key: "MarketEntered"): TypedContractEvent<MarketEnteredEvent.InputTuple, MarketEnteredEvent.OutputTuple, MarketEnteredEvent.OutputObject>;
|
|
1080
1139
|
getEvent(key: "MarketExited"): TypedContractEvent<MarketExitedEvent.InputTuple, MarketExitedEvent.OutputTuple, MarketExitedEvent.OutputObject>;
|
|
1081
1140
|
getEvent(key: "MarketListed"): TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1082
|
-
getEvent(key: "
|
|
1141
|
+
getEvent(key: "MarketUnlisted"): TypedContractEvent<MarketUnlistedEvent.InputTuple, MarketUnlistedEvent.OutputTuple, MarketUnlistedEvent.OutputObject>;
|
|
1083
1142
|
getEvent(key: "NewCap"): TypedContractEvent<NewCapEvent.InputTuple, NewCapEvent.OutputTuple, NewCapEvent.OutputObject>;
|
|
1084
1143
|
getEvent(key: "NewDependencies"): TypedContractEvent<NewDependenciesEvent.InputTuple, NewDependenciesEvent.OutputTuple, NewDependenciesEvent.OutputObject>;
|
|
1085
1144
|
getEvent(key: "NewGlobalConfig"): TypedContractEvent<NewGlobalConfigEvent.InputTuple, NewGlobalConfigEvent.OutputTuple, NewGlobalConfigEvent.OutputObject>;
|
|
@@ -1102,8 +1161,8 @@ export interface Comptroller extends BaseContract {
|
|
|
1102
1161
|
MarketExited: TypedContractEvent<MarketExitedEvent.InputTuple, MarketExitedEvent.OutputTuple, MarketExitedEvent.OutputObject>;
|
|
1103
1162
|
"MarketListed(address)": TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1104
1163
|
MarketListed: TypedContractEvent<MarketListedEvent.InputTuple, MarketListedEvent.OutputTuple, MarketListedEvent.OutputObject>;
|
|
1105
|
-
"
|
|
1106
|
-
|
|
1164
|
+
"MarketUnlisted(address)": TypedContractEvent<MarketUnlistedEvent.InputTuple, MarketUnlistedEvent.OutputTuple, MarketUnlistedEvent.OutputObject>;
|
|
1165
|
+
MarketUnlisted: TypedContractEvent<MarketUnlistedEvent.InputTuple, MarketUnlistedEvent.OutputTuple, MarketUnlistedEvent.OutputObject>;
|
|
1107
1166
|
"NewCap(address,uint120,uint120)": TypedContractEvent<NewCapEvent.InputTuple, NewCapEvent.OutputTuple, NewCapEvent.OutputObject>;
|
|
1108
1167
|
NewCap: TypedContractEvent<NewCapEvent.InputTuple, NewCapEvent.OutputTuple, NewCapEvent.OutputObject>;
|
|
1109
1168
|
"NewDependencies(address,address)": TypedContractEvent<NewDependenciesEvent.InputTuple, NewDependenciesEvent.OutputTuple, NewDependenciesEvent.OutputObject>;
|
|
@@ -1128,7 +1187,7 @@ export interface Comptroller extends BaseContract {
|
|
|
1128
1187
|
RoleGranted: TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
1129
1188
|
"RoleRevoked(bytes32,address,address)": TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
1130
1189
|
RoleRevoked: TypedContractEvent<RoleRevokedEvent.InputTuple, RoleRevokedEvent.OutputTuple, RoleRevokedEvent.OutputObject>;
|
|
1131
|
-
"UpdateAssetGroup(uint8,uint16,uint16,uint16,uint16,uint16)": TypedContractEvent<UpdateAssetGroupEvent.InputTuple, UpdateAssetGroupEvent.OutputTuple, UpdateAssetGroupEvent.OutputObject>;
|
|
1190
|
+
"UpdateAssetGroup(uint8,uint16,uint16,uint16,uint16,uint16,bool)": TypedContractEvent<UpdateAssetGroupEvent.InputTuple, UpdateAssetGroupEvent.OutputTuple, UpdateAssetGroupEvent.OutputObject>;
|
|
1132
1191
|
UpdateAssetGroup: TypedContractEvent<UpdateAssetGroupEvent.InputTuple, UpdateAssetGroupEvent.OutputTuple, UpdateAssetGroupEvent.OutputObject>;
|
|
1133
1192
|
};
|
|
1134
1193
|
}
|
|
@@ -9,12 +9,13 @@ export declare namespace ICompLogic {
|
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
11
|
export interface ICompLogicInterface extends Interface {
|
|
12
|
-
getFunction(nameOrSignature: "distributeBorrowerComp" | "distributeSupplierComp" | "getHypotheticalSafeLimit" | "initializeMarket" | "setCompSpeed" | "updateCompBorrowIndex" | "updateCompSupplyIndex"): FunctionFragment;
|
|
12
|
+
getFunction(nameOrSignature: "distributeBorrowerComp" | "distributeSupplierComp" | "getHypotheticalSafeLimit" | "initializeMarket" | "setCompSpeed" | "uninitializeMarket" | "updateCompBorrowIndex" | "updateCompSupplyIndex"): FunctionFragment;
|
|
13
13
|
encodeFunctionData(functionFragment: "distributeBorrowerComp", values: [AddressLike, AddressLike, ICompLogic.ExpStruct]): string;
|
|
14
14
|
encodeFunctionData(functionFragment: "distributeSupplierComp", values: [AddressLike, AddressLike]): string;
|
|
15
15
|
encodeFunctionData(functionFragment: "getHypotheticalSafeLimit", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
16
16
|
encodeFunctionData(functionFragment: "initializeMarket", values: [AddressLike, BigNumberish]): string;
|
|
17
17
|
encodeFunctionData(functionFragment: "setCompSpeed", values: [AddressLike, BigNumberish, BigNumberish]): string;
|
|
18
|
+
encodeFunctionData(functionFragment: "uninitializeMarket", values: [AddressLike]): string;
|
|
18
19
|
encodeFunctionData(functionFragment: "updateCompBorrowIndex", values: [AddressLike, ICompLogic.ExpStruct]): string;
|
|
19
20
|
encodeFunctionData(functionFragment: "updateCompSupplyIndex", values: [AddressLike]): string;
|
|
20
21
|
decodeFunctionResult(functionFragment: "distributeBorrowerComp", data: BytesLike): Result;
|
|
@@ -22,6 +23,7 @@ export interface ICompLogicInterface extends Interface {
|
|
|
22
23
|
decodeFunctionResult(functionFragment: "getHypotheticalSafeLimit", data: BytesLike): Result;
|
|
23
24
|
decodeFunctionResult(functionFragment: "initializeMarket", data: BytesLike): Result;
|
|
24
25
|
decodeFunctionResult(functionFragment: "setCompSpeed", data: BytesLike): Result;
|
|
26
|
+
decodeFunctionResult(functionFragment: "uninitializeMarket", data: BytesLike): Result;
|
|
25
27
|
decodeFunctionResult(functionFragment: "updateCompBorrowIndex", data: BytesLike): Result;
|
|
26
28
|
decodeFunctionResult(functionFragment: "updateCompSupplyIndex", data: BytesLike): Result;
|
|
27
29
|
}
|
|
@@ -72,6 +74,11 @@ export interface ICompLogic extends BaseContract {
|
|
|
72
74
|
], [
|
|
73
75
|
void
|
|
74
76
|
], "nonpayable">;
|
|
77
|
+
uninitializeMarket: TypedContractMethod<[
|
|
78
|
+
cToken: AddressLike
|
|
79
|
+
], [
|
|
80
|
+
void
|
|
81
|
+
], "nonpayable">;
|
|
75
82
|
updateCompBorrowIndex: TypedContractMethod<[
|
|
76
83
|
cToken: AddressLike,
|
|
77
84
|
marketBorrowIndex: ICompLogic.ExpStruct
|
|
@@ -118,6 +125,7 @@ export interface ICompLogic extends BaseContract {
|
|
|
118
125
|
], [
|
|
119
126
|
void
|
|
120
127
|
], "nonpayable">;
|
|
128
|
+
getFunction(nameOrSignature: "uninitializeMarket"): TypedContractMethod<[cToken: AddressLike], [void], "nonpayable">;
|
|
121
129
|
getFunction(nameOrSignature: "updateCompBorrowIndex"): TypedContractMethod<[
|
|
122
130
|
cToken: AddressLike,
|
|
123
131
|
marketBorrowIndex: ICompLogic.ExpStruct
|
|
@@ -81,7 +81,7 @@ export type MarketConfigStructOutput = [
|
|
|
81
81
|
supplyCap: bigint;
|
|
82
82
|
};
|
|
83
83
|
export interface IComptrollerInterface extends Interface {
|
|
84
|
-
getFunction(nameOrSignature: "assetGroup" | "borrowAllowed" | "borrowVerify" | "claimSumer" | "compAccrued" | "enterMarkets" | "exitMarket" | "getAllMarkets" | "getAssetsIn" | "getHypotheticalAccountLiquidity" | "getUnderlyingPriceNormalized" | "globalConfig" | "interMintAllowed" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidationIncentive" | "marketConfig" | "markets" | "mintAllowed" | "oracle" | "redeemAllowed" | "redemptionManager" | "repayBorrowAllowed" | "seizeAllowed" | "seizeVerify" | "timelock" | "transferAllowed"): FunctionFragment;
|
|
84
|
+
getFunction(nameOrSignature: "assetGroup" | "borrowAllowed" | "borrowVerify" | "claimSumer" | "compAccrued" | "enterMarkets" | "exitMarket" | "getAllMarkets" | "getAssetsIn" | "getHypotheticalAccountLiquidity" | "getUnderlyingPriceNormalized" | "globalConfig" | "interMintAllowed" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidateBorrowVerify" | "liquidationIncentive" | "marketConfig" | "markets" | "mintAllowed" | "oracle" | "redeemAllowed" | "redeemVerify" | "redemptionManager" | "repayBorrowAllowed" | "repayBorrowVerify" | "seizeAllowed" | "seizeVerify" | "timelock" | "transferAllowed"): FunctionFragment;
|
|
85
85
|
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewPauseGuardian" | "RemoveAssetGroup"): EventFragment;
|
|
86
86
|
encodeFunctionData(functionFragment: "assetGroup", values: [BigNumberish]): string;
|
|
87
87
|
encodeFunctionData(functionFragment: "borrowAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
@@ -99,14 +99,24 @@ export interface IComptrollerInterface extends Interface {
|
|
|
99
99
|
encodeFunctionData(functionFragment: "isComptroller", values?: undefined): string;
|
|
100
100
|
encodeFunctionData(functionFragment: "isListed", values: [AddressLike]): string;
|
|
101
101
|
encodeFunctionData(functionFragment: "liquidateBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
102
|
+
encodeFunctionData(functionFragment: "liquidateBorrowVerify", values: [
|
|
103
|
+
AddressLike,
|
|
104
|
+
AddressLike,
|
|
105
|
+
AddressLike,
|
|
106
|
+
AddressLike,
|
|
107
|
+
BigNumberish,
|
|
108
|
+
BigNumberish
|
|
109
|
+
]): string;
|
|
102
110
|
encodeFunctionData(functionFragment: "liquidationIncentive", values?: undefined): string;
|
|
103
111
|
encodeFunctionData(functionFragment: "marketConfig", values: [AddressLike]): string;
|
|
104
112
|
encodeFunctionData(functionFragment: "markets", values: [AddressLike]): string;
|
|
105
113
|
encodeFunctionData(functionFragment: "mintAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
106
114
|
encodeFunctionData(functionFragment: "oracle", values?: undefined): string;
|
|
107
115
|
encodeFunctionData(functionFragment: "redeemAllowed", values: [AddressLike, AddressLike, BigNumberish]): string;
|
|
116
|
+
encodeFunctionData(functionFragment: "redeemVerify", values: [AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
108
117
|
encodeFunctionData(functionFragment: "redemptionManager", values?: undefined): string;
|
|
109
118
|
encodeFunctionData(functionFragment: "repayBorrowAllowed", values: [AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
119
|
+
encodeFunctionData(functionFragment: "repayBorrowVerify", values: [AddressLike, AddressLike, AddressLike, BigNumberish, BigNumberish]): string;
|
|
110
120
|
encodeFunctionData(functionFragment: "seizeAllowed", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
111
121
|
encodeFunctionData(functionFragment: "seizeVerify", values: [AddressLike, AddressLike, AddressLike, AddressLike, BigNumberish]): string;
|
|
112
122
|
encodeFunctionData(functionFragment: "timelock", values?: undefined): string;
|
|
@@ -127,14 +137,17 @@ export interface IComptrollerInterface extends Interface {
|
|
|
127
137
|
decodeFunctionResult(functionFragment: "isComptroller", data: BytesLike): Result;
|
|
128
138
|
decodeFunctionResult(functionFragment: "isListed", data: BytesLike): Result;
|
|
129
139
|
decodeFunctionResult(functionFragment: "liquidateBorrowAllowed", data: BytesLike): Result;
|
|
140
|
+
decodeFunctionResult(functionFragment: "liquidateBorrowVerify", data: BytesLike): Result;
|
|
130
141
|
decodeFunctionResult(functionFragment: "liquidationIncentive", data: BytesLike): Result;
|
|
131
142
|
decodeFunctionResult(functionFragment: "marketConfig", data: BytesLike): Result;
|
|
132
143
|
decodeFunctionResult(functionFragment: "markets", data: BytesLike): Result;
|
|
133
144
|
decodeFunctionResult(functionFragment: "mintAllowed", data: BytesLike): Result;
|
|
134
145
|
decodeFunctionResult(functionFragment: "oracle", data: BytesLike): Result;
|
|
135
146
|
decodeFunctionResult(functionFragment: "redeemAllowed", data: BytesLike): Result;
|
|
147
|
+
decodeFunctionResult(functionFragment: "redeemVerify", data: BytesLike): Result;
|
|
136
148
|
decodeFunctionResult(functionFragment: "redemptionManager", data: BytesLike): Result;
|
|
137
149
|
decodeFunctionResult(functionFragment: "repayBorrowAllowed", data: BytesLike): Result;
|
|
150
|
+
decodeFunctionResult(functionFragment: "repayBorrowVerify", data: BytesLike): Result;
|
|
138
151
|
decodeFunctionResult(functionFragment: "seizeAllowed", data: BytesLike): Result;
|
|
139
152
|
decodeFunctionResult(functionFragment: "seizeVerify", data: BytesLike): Result;
|
|
140
153
|
decodeFunctionResult(functionFragment: "timelock", data: BytesLike): Result;
|
|
@@ -291,6 +304,16 @@ export interface IComptroller extends BaseContract {
|
|
|
291
304
|
], [
|
|
292
305
|
void
|
|
293
306
|
], "view">;
|
|
307
|
+
liquidateBorrowVerify: TypedContractMethod<[
|
|
308
|
+
cTokenBorrowed: AddressLike,
|
|
309
|
+
cTokenCollateral: AddressLike,
|
|
310
|
+
liquidator: AddressLike,
|
|
311
|
+
borrower: AddressLike,
|
|
312
|
+
repayAmount: BigNumberish,
|
|
313
|
+
seizeTokens: BigNumberish
|
|
314
|
+
], [
|
|
315
|
+
void
|
|
316
|
+
], "nonpayable">;
|
|
294
317
|
liquidationIncentive: TypedContractMethod<[
|
|
295
318
|
], [
|
|
296
319
|
LiquidationIncentiveStructOutput
|
|
@@ -320,6 +343,14 @@ export interface IComptroller extends BaseContract {
|
|
|
320
343
|
], [
|
|
321
344
|
void
|
|
322
345
|
], "nonpayable">;
|
|
346
|
+
redeemVerify: TypedContractMethod<[
|
|
347
|
+
cToken: AddressLike,
|
|
348
|
+
redeemer: AddressLike,
|
|
349
|
+
redeemAmount: BigNumberish,
|
|
350
|
+
redeemTokens: BigNumberish
|
|
351
|
+
], [
|
|
352
|
+
void
|
|
353
|
+
], "nonpayable">;
|
|
323
354
|
redemptionManager: TypedContractMethod<[], [string], "view">;
|
|
324
355
|
repayBorrowAllowed: TypedContractMethod<[
|
|
325
356
|
cToken: AddressLike,
|
|
@@ -329,6 +360,15 @@ export interface IComptroller extends BaseContract {
|
|
|
329
360
|
], [
|
|
330
361
|
void
|
|
331
362
|
], "nonpayable">;
|
|
363
|
+
repayBorrowVerify: TypedContractMethod<[
|
|
364
|
+
cToken: AddressLike,
|
|
365
|
+
payer: AddressLike,
|
|
366
|
+
borrower: AddressLike,
|
|
367
|
+
actualRepayAmount: BigNumberish,
|
|
368
|
+
borrowIndex: BigNumberish
|
|
369
|
+
], [
|
|
370
|
+
void
|
|
371
|
+
], "nonpayable">;
|
|
332
372
|
seizeAllowed: TypedContractMethod<[
|
|
333
373
|
cTokenCollateral: AddressLike,
|
|
334
374
|
cTokenBorrowed: AddressLike,
|
|
@@ -403,6 +443,16 @@ export interface IComptroller extends BaseContract {
|
|
|
403
443
|
], [
|
|
404
444
|
void
|
|
405
445
|
], "view">;
|
|
446
|
+
getFunction(nameOrSignature: "liquidateBorrowVerify"): TypedContractMethod<[
|
|
447
|
+
cTokenBorrowed: AddressLike,
|
|
448
|
+
cTokenCollateral: AddressLike,
|
|
449
|
+
liquidator: AddressLike,
|
|
450
|
+
borrower: AddressLike,
|
|
451
|
+
repayAmount: BigNumberish,
|
|
452
|
+
seizeTokens: BigNumberish
|
|
453
|
+
], [
|
|
454
|
+
void
|
|
455
|
+
], "nonpayable">;
|
|
406
456
|
getFunction(nameOrSignature: "liquidationIncentive"): TypedContractMethod<[], [LiquidationIncentiveStructOutput], "view">;
|
|
407
457
|
getFunction(nameOrSignature: "marketConfig"): TypedContractMethod<[
|
|
408
458
|
cToken: AddressLike
|
|
@@ -429,6 +479,14 @@ export interface IComptroller extends BaseContract {
|
|
|
429
479
|
], [
|
|
430
480
|
void
|
|
431
481
|
], "nonpayable">;
|
|
482
|
+
getFunction(nameOrSignature: "redeemVerify"): TypedContractMethod<[
|
|
483
|
+
cToken: AddressLike,
|
|
484
|
+
redeemer: AddressLike,
|
|
485
|
+
redeemAmount: BigNumberish,
|
|
486
|
+
redeemTokens: BigNumberish
|
|
487
|
+
], [
|
|
488
|
+
void
|
|
489
|
+
], "nonpayable">;
|
|
432
490
|
getFunction(nameOrSignature: "redemptionManager"): TypedContractMethod<[], [string], "view">;
|
|
433
491
|
getFunction(nameOrSignature: "repayBorrowAllowed"): TypedContractMethod<[
|
|
434
492
|
cToken: AddressLike,
|
|
@@ -438,6 +496,15 @@ export interface IComptroller extends BaseContract {
|
|
|
438
496
|
], [
|
|
439
497
|
void
|
|
440
498
|
], "nonpayable">;
|
|
499
|
+
getFunction(nameOrSignature: "repayBorrowVerify"): TypedContractMethod<[
|
|
500
|
+
cToken: AddressLike,
|
|
501
|
+
payer: AddressLike,
|
|
502
|
+
borrower: AddressLike,
|
|
503
|
+
actualRepayAmount: BigNumberish,
|
|
504
|
+
borrowIndex: BigNumberish
|
|
505
|
+
], [
|
|
506
|
+
void
|
|
507
|
+
], "nonpayable">;
|
|
441
508
|
getFunction(nameOrSignature: "seizeAllowed"): TypedContractMethod<[
|
|
442
509
|
cTokenCollateral: AddressLike,
|
|
443
510
|
cTokenBorrowed: AddressLike,
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import type * as api3AdapterSol from "./API3Adapter.sol";
|
|
2
|
+
export type { api3AdapterSol };
|
|
1
3
|
import type * as priceOracleSol from "./PriceOracle.sol";
|
|
2
4
|
export type { priceOracleSol };
|
|
5
|
+
import type * as stakedAngleAdapterSol from "./StakedAngleAdapter.sol";
|
|
6
|
+
export type { stakedAngleAdapterSol };
|
|
3
7
|
import type * as wstEthAdapterSol from "./WstETHAdapter.sol";
|
|
4
8
|
export type { wstEthAdapterSol };
|
|
5
9
|
import type * as wstMtrgAdapterSol from "./WstMTRGAdapter.sol";
|
|
6
10
|
export type { wstMtrgAdapterSol };
|
|
11
|
+
import type * as stEurAdapterSol from "./stEURAdapter.sol";
|
|
12
|
+
export type { stEurAdapterSol };
|
|
13
|
+
import type * as stUsdAdapterSol from "./stUSDAdapter.sol";
|
|
14
|
+
export type { stUsdAdapterSol };
|
|
7
15
|
import type * as wstMtrgOracleSol from "./wstMTRGOracle.sol";
|
|
8
16
|
export type { wstMtrgOracleSol };
|
|
9
17
|
export type { FeedPriceOracle } from "./FeedPriceOracle";
|