@meterio/sumer-js 0.1.29 → 0.1.30
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 +1 -1
- package/dist/nodejs/abi.js +250 -43
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/comptroller.d.ts +5 -1
- package/dist/nodejs/comptroller.js +1 -1
- package/dist/nodejs/comptroller.js.map +1 -1
- package/dist/nodejs/errors.d.ts +4 -0
- package/dist/nodejs/errors.js +4 -0
- package/dist/nodejs/errors.js.map +1 -1
- package/dist/nodejs/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +34 -1
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +34 -1
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +34 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +34 -1
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +34 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +1 -34
- package/dist/nodejs/typechain/contracts/Interfaces/ICToken.d.ts +34 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +40 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +49 -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 +40 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +49 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +35 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +43 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +39 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +48 -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 +40 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +49 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +6 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +5 -36
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +6 -44
- 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/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.d.ts +35 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js +43 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +5 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +6 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/package.json +1 -1
|
@@ -63,5 +63,9 @@ interface RedeemDetail {
|
|
|
63
63
|
protocolSeize: string;
|
|
64
64
|
protocolSeizeVal: string;
|
|
65
65
|
}
|
|
66
|
-
export
|
|
66
|
+
export interface RedeemTrialResult {
|
|
67
|
+
details: RedeemDetail[];
|
|
68
|
+
leftover: BigInt;
|
|
69
|
+
}
|
|
70
|
+
export declare function redeemFaceValueTrial(redeemer: string, market: string, amount: string | number): Promise<RedeemTrialResult>;
|
|
67
71
|
export {};
|
|
@@ -279,7 +279,7 @@ async function redeemFaceValueTrial(redeemer, market, amount) {
|
|
|
279
279
|
}
|
|
280
280
|
provider = await r.getNextProvider(suAddr, provider);
|
|
281
281
|
}
|
|
282
|
-
return details;
|
|
282
|
+
return { details, leftover: targetRedeemAmount };
|
|
283
283
|
}
|
|
284
284
|
exports.redeemFaceValueTrial = redeemFaceValueTrial;
|
|
285
285
|
//# sourceMappingURL=comptroller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comptroller.js","sourceRoot":"","sources":["../../src/comptroller.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,2CAA4B;AAC5B,uCAAiC;AACjC,2CAAgF;AAChF,+BAA2B;AAE3B,mCAA8C;AAC9C,2CAMoB;AACpB,mCAAoC;AACpC,iCAAqC;AAErC,MAAM,WAAW,GAAG,CAAC,IAAY,EAAE,EAAE;IACnC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;QAC5B,OAAO,KAAK,GAAG,IAAI,CAAA;IACrB,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,CAAC,IAAY,EAAE,EAAE;IACvC,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,CAAC;QAC3B,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAA;IACtB,CAAC;IACD,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACI,KAAK,UAAU,YAAY,CAAC,UAA6B,EAAE,EAAE,UAAuB,EAAE;IAC3F,MAAM,IAAA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AAA;AAClD,CAAC;AAxHD,oDAwHC"}
|
package/dist/nodejs/errors.d.ts
CHANGED
package/dist/nodejs/errors.js
CHANGED
|
@@ -242,6 +242,10 @@ exports.errors = {
|
|
|
242
242
|
"err": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
243
243
|
"explain": "protected mint only allow assets in the same group"
|
|
244
244
|
},
|
|
245
|
+
"0x3885b26c": {
|
|
246
|
+
"err": "RedemptionSeizeTooMuch",
|
|
247
|
+
"explain": "redemption seize too much"
|
|
248
|
+
},
|
|
245
249
|
"0x1a8fefc3": {
|
|
246
250
|
"err": "NoEnoughReward",
|
|
247
251
|
"explain": "no enough reward"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../src/errors.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IACpB,YAAY,EAAE;QACZ,KAAK,EAAE,YAAY;QACnB,SAAS,EAAE,aAAa;KACzB;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,sBAAsB;QAC7B,SAAS,EAAE,wBAAwB;KACpC;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,iBAAiB;QACxB,SAAS,EAAE,mBAAmB;KAC/B;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,uBAAuB;QAC9B,SAAS,EAAE,wBAAwB;KACpC;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,cAAc;QACrB,SAAS,EAAE,gBAAgB;KAC5B;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,4CAA4C;QACnD,SAAS,EAAE,qDAAqD;KACjE;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,yBAAyB;QAChC,SAAS,EAAE,6BAA6B;KACzC;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,4DAA4D;QACnE,SAAS,EAAE,mEAAmE;KAC/E;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,kBAAkB;QACzB,SAAS,EAAE,oBAAoB;KAChC;IACD,YAAY,EAA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AY,EAAE;QACZ,KAAK,EAAE,wBAAwB;QAC/B,SAAS,EAAE,2BAA2B;KACvC;IACD,YAAY,EAAE;QACZ,KAAK,EAAE,gBAAgB;QACvB,SAAS,EAAE,kBAAkB;KAC9B;CACF,CAAA"}
|
package/dist/nodejs/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
|
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface CErc20Interface extends Interface {
|
|
4
4
|
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "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
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
@@ -374,6 +374,36 @@ export declare namespace RedeemEvent {
|
|
|
374
374
|
type Log = TypedEventLog<Event>;
|
|
375
375
|
type LogDescription = TypedLogDescription<Event>;
|
|
376
376
|
}
|
|
377
|
+
export declare namespace RedeemFaceValueEvent {
|
|
378
|
+
type InputTuple = [
|
|
379
|
+
redeemer: AddressLike,
|
|
380
|
+
provider: AddressLike,
|
|
381
|
+
repayAmount: BigNumberish,
|
|
382
|
+
seizeToken: AddressLike,
|
|
383
|
+
seizeAmount: BigNumberish,
|
|
384
|
+
redemptionRateMantissa: BigNumberish
|
|
385
|
+
];
|
|
386
|
+
type OutputTuple = [
|
|
387
|
+
redeemer: string,
|
|
388
|
+
provider: string,
|
|
389
|
+
repayAmount: bigint,
|
|
390
|
+
seizeToken: string,
|
|
391
|
+
seizeAmount: bigint,
|
|
392
|
+
redemptionRateMantissa: bigint
|
|
393
|
+
];
|
|
394
|
+
interface OutputObject {
|
|
395
|
+
redeemer: string;
|
|
396
|
+
provider: string;
|
|
397
|
+
repayAmount: bigint;
|
|
398
|
+
seizeToken: string;
|
|
399
|
+
seizeAmount: bigint;
|
|
400
|
+
redemptionRateMantissa: bigint;
|
|
401
|
+
}
|
|
402
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
403
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
404
|
+
type Log = TypedEventLog<Event>;
|
|
405
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
406
|
+
}
|
|
377
407
|
export declare namespace RepayBorrowEvent {
|
|
378
408
|
type InputTuple = [
|
|
379
409
|
payer: AddressLike,
|
|
@@ -835,6 +865,7 @@ export interface CErc20 extends BaseContract {
|
|
|
835
865
|
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
836
866
|
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
837
867
|
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
868
|
+
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
838
869
|
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
839
870
|
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
840
871
|
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
@@ -866,6 +897,8 @@ export interface CErc20 extends BaseContract {
|
|
|
866
897
|
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
867
898
|
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
868
899
|
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
900
|
+
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
901
|
+
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
869
902
|
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
870
903
|
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
871
904
|
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
|
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface CEtherInterface extends Interface {
|
|
4
4
|
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCToken" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "name" | "pendingAdmin" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_addReserves", values?: undefined): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
@@ -367,6 +367,36 @@ export declare namespace RedeemEvent {
|
|
|
367
367
|
type Log = TypedEventLog<Event>;
|
|
368
368
|
type LogDescription = TypedLogDescription<Event>;
|
|
369
369
|
}
|
|
370
|
+
export declare namespace RedeemFaceValueEvent {
|
|
371
|
+
type InputTuple = [
|
|
372
|
+
redeemer: AddressLike,
|
|
373
|
+
provider: AddressLike,
|
|
374
|
+
repayAmount: BigNumberish,
|
|
375
|
+
seizeToken: AddressLike,
|
|
376
|
+
seizeAmount: BigNumberish,
|
|
377
|
+
redemptionRateMantissa: BigNumberish
|
|
378
|
+
];
|
|
379
|
+
type OutputTuple = [
|
|
380
|
+
redeemer: string,
|
|
381
|
+
provider: string,
|
|
382
|
+
repayAmount: bigint,
|
|
383
|
+
seizeToken: string,
|
|
384
|
+
seizeAmount: bigint,
|
|
385
|
+
redemptionRateMantissa: bigint
|
|
386
|
+
];
|
|
387
|
+
interface OutputObject {
|
|
388
|
+
redeemer: string;
|
|
389
|
+
provider: string;
|
|
390
|
+
repayAmount: bigint;
|
|
391
|
+
seizeToken: string;
|
|
392
|
+
seizeAmount: bigint;
|
|
393
|
+
redemptionRateMantissa: bigint;
|
|
394
|
+
}
|
|
395
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
396
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
397
|
+
type Log = TypedEventLog<Event>;
|
|
398
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
399
|
+
}
|
|
370
400
|
export declare namespace RepayBorrowEvent {
|
|
371
401
|
type InputTuple = [
|
|
372
402
|
payer: AddressLike,
|
|
@@ -780,6 +810,7 @@ export interface CEther extends BaseContract {
|
|
|
780
810
|
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
781
811
|
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
782
812
|
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
813
|
+
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
783
814
|
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
784
815
|
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
785
816
|
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
@@ -811,6 +842,8 @@ export interface CEther extends BaseContract {
|
|
|
811
842
|
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
812
843
|
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
813
844
|
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
845
|
+
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
846
|
+
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
814
847
|
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
815
848
|
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
816
849
|
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
|
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface CTokenInterface extends Interface {
|
|
4
4
|
getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEther" | "isCToken" | "isDeprecated" | "liquidateCalculateSeizeTokens" | "name" | "pendingAdmin" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
|
|
@@ -328,6 +328,36 @@ export declare namespace RedeemEvent {
|
|
|
328
328
|
type Log = TypedEventLog<Event>;
|
|
329
329
|
type LogDescription = TypedLogDescription<Event>;
|
|
330
330
|
}
|
|
331
|
+
export declare namespace RedeemFaceValueEvent {
|
|
332
|
+
type InputTuple = [
|
|
333
|
+
redeemer: AddressLike,
|
|
334
|
+
provider: AddressLike,
|
|
335
|
+
repayAmount: BigNumberish,
|
|
336
|
+
seizeToken: AddressLike,
|
|
337
|
+
seizeAmount: BigNumberish,
|
|
338
|
+
redemptionRateMantissa: BigNumberish
|
|
339
|
+
];
|
|
340
|
+
type OutputTuple = [
|
|
341
|
+
redeemer: string,
|
|
342
|
+
provider: string,
|
|
343
|
+
repayAmount: bigint,
|
|
344
|
+
seizeToken: string,
|
|
345
|
+
seizeAmount: bigint,
|
|
346
|
+
redemptionRateMantissa: bigint
|
|
347
|
+
];
|
|
348
|
+
interface OutputObject {
|
|
349
|
+
redeemer: string;
|
|
350
|
+
provider: string;
|
|
351
|
+
repayAmount: bigint;
|
|
352
|
+
seizeToken: string;
|
|
353
|
+
seizeAmount: bigint;
|
|
354
|
+
redemptionRateMantissa: bigint;
|
|
355
|
+
}
|
|
356
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
357
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
358
|
+
type Log = TypedEventLog<Event>;
|
|
359
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
360
|
+
}
|
|
331
361
|
export declare namespace RepayBorrowEvent {
|
|
332
362
|
type InputTuple = [
|
|
333
363
|
payer: AddressLike,
|
|
@@ -672,6 +702,7 @@ export interface CToken extends BaseContract {
|
|
|
672
702
|
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
673
703
|
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
674
704
|
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
705
|
+
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
675
706
|
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
676
707
|
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
677
708
|
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
@@ -701,6 +732,8 @@ export interface CToken extends BaseContract {
|
|
|
701
732
|
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
702
733
|
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
703
734
|
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
735
|
+
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
736
|
+
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
704
737
|
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
705
738
|
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
706
739
|
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
|
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface CTokenStorageInterface extends Interface {
|
|
4
4
|
getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "interestRateModel" | "isCEther" | "isCToken" | "name" | "pendingAdmin" | "protocolSeizeShareMantissa" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
|
|
@@ -320,6 +320,36 @@ export declare namespace RedeemEvent {
|
|
|
320
320
|
type Log = TypedEventLog<Event>;
|
|
321
321
|
type LogDescription = TypedLogDescription<Event>;
|
|
322
322
|
}
|
|
323
|
+
export declare namespace RedeemFaceValueEvent {
|
|
324
|
+
type InputTuple = [
|
|
325
|
+
redeemer: AddressLike,
|
|
326
|
+
provider: AddressLike,
|
|
327
|
+
repayAmount: BigNumberish,
|
|
328
|
+
seizeToken: AddressLike,
|
|
329
|
+
seizeAmount: BigNumberish,
|
|
330
|
+
redemptionRateMantissa: BigNumberish
|
|
331
|
+
];
|
|
332
|
+
type OutputTuple = [
|
|
333
|
+
redeemer: string,
|
|
334
|
+
provider: string,
|
|
335
|
+
repayAmount: bigint,
|
|
336
|
+
seizeToken: string,
|
|
337
|
+
seizeAmount: bigint,
|
|
338
|
+
redemptionRateMantissa: bigint
|
|
339
|
+
];
|
|
340
|
+
interface OutputObject {
|
|
341
|
+
redeemer: string;
|
|
342
|
+
provider: string;
|
|
343
|
+
repayAmount: bigint;
|
|
344
|
+
seizeToken: string;
|
|
345
|
+
seizeAmount: bigint;
|
|
346
|
+
redemptionRateMantissa: bigint;
|
|
347
|
+
}
|
|
348
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
349
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
350
|
+
type Log = TypedEventLog<Event>;
|
|
351
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
352
|
+
}
|
|
323
353
|
export declare namespace RepayBorrowEvent {
|
|
324
354
|
type InputTuple = [
|
|
325
355
|
payer: AddressLike,
|
|
@@ -634,6 +664,7 @@ export interface CTokenStorage extends BaseContract {
|
|
|
634
664
|
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
635
665
|
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
636
666
|
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
667
|
+
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
637
668
|
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
638
669
|
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
639
670
|
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
@@ -663,6 +694,8 @@ export interface CTokenStorage extends BaseContract {
|
|
|
663
694
|
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
664
695
|
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
665
696
|
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
697
|
+
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
698
|
+
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
666
699
|
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
667
700
|
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
668
701
|
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
|
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface SuErc20Interface extends Interface {
|
|
4
4
|
getFunction(nameOrSignature: "_acceptAdmin" | "_addReserves" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "_syncUnderlyingBalance" | "accrualBlockNumber" | "accrueInterest" | "admin" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrow" | "borrowAndDepositBack" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowIndex" | "borrowRatePerBlock" | "comptroller" | "decimals" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "executeRedemption" | "getAccountSnapshot" | "getCash" | "initialize" | "interestRateModel" | "isCEther" | "isCToken" | "isDeprecated" | "liquidateBorrow" | "liquidateCalculateSeizeTokens" | "mint" | "mintWithPermit" | "name" | "pendingAdmin" | "protectedMint" | "protocolSeizeShareMantissa" | "redeem" | "redeemUnderlying" | "repayBorrow" | "repayBorrowBehalf" | "repayBorrowWithPermit" | "reserveFactorMantissa" | "seize" | "supplyRatePerBlock" | "sweepToken" | "symbol" | "totalBorrows" | "totalBorrowsCurrent" | "totalReserves" | "totalSupply" | "transfer" | "transferFrom" | "underlying" | "underlyingBalance"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "Initialized" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_addReserves", values: [BigNumberish]): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
@@ -385,6 +385,36 @@ export declare namespace RedeemEvent {
|
|
|
385
385
|
type Log = TypedEventLog<Event>;
|
|
386
386
|
type LogDescription = TypedLogDescription<Event>;
|
|
387
387
|
}
|
|
388
|
+
export declare namespace RedeemFaceValueEvent {
|
|
389
|
+
type InputTuple = [
|
|
390
|
+
redeemer: AddressLike,
|
|
391
|
+
provider: AddressLike,
|
|
392
|
+
repayAmount: BigNumberish,
|
|
393
|
+
seizeToken: AddressLike,
|
|
394
|
+
seizeAmount: BigNumberish,
|
|
395
|
+
redemptionRateMantissa: BigNumberish
|
|
396
|
+
];
|
|
397
|
+
type OutputTuple = [
|
|
398
|
+
redeemer: string,
|
|
399
|
+
provider: string,
|
|
400
|
+
repayAmount: bigint,
|
|
401
|
+
seizeToken: string,
|
|
402
|
+
seizeAmount: bigint,
|
|
403
|
+
redemptionRateMantissa: bigint
|
|
404
|
+
];
|
|
405
|
+
interface OutputObject {
|
|
406
|
+
redeemer: string;
|
|
407
|
+
provider: string;
|
|
408
|
+
repayAmount: bigint;
|
|
409
|
+
seizeToken: string;
|
|
410
|
+
seizeAmount: bigint;
|
|
411
|
+
redemptionRateMantissa: bigint;
|
|
412
|
+
}
|
|
413
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
414
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
415
|
+
type Log = TypedEventLog<Event>;
|
|
416
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
417
|
+
}
|
|
388
418
|
export declare namespace RepayBorrowEvent {
|
|
389
419
|
type InputTuple = [
|
|
390
420
|
payer: AddressLike,
|
|
@@ -880,6 +910,7 @@ export interface SuErc20 extends BaseContract {
|
|
|
880
910
|
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
881
911
|
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
882
912
|
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
913
|
+
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
883
914
|
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
884
915
|
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
885
916
|
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
@@ -911,6 +942,8 @@ export interface SuErc20 extends BaseContract {
|
|
|
911
942
|
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
912
943
|
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
913
944
|
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
945
|
+
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
946
|
+
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
914
947
|
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
915
948
|
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
916
949
|
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
@@ -33,7 +33,7 @@ export declare namespace IComptroller {
|
|
|
33
33
|
}
|
|
34
34
|
export interface ComptrollerInterface extends Interface {
|
|
35
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" | "isBorrowValueLargerThanThreshold" | "isComptroller" | "isListed" | "liquidateBorrowAllowed" | "liquidationIncentiveMantissa" | "marketGroupId" | "markets" | "maxSupply" | "minSuBorrowValue" | "mintAllowed" | "mintGuardianPaused" | "oracle" | "pauseGuardian" | "redeemAllowed" | "redeemFaceValue" | "redeemFaceValueWithPermit" | "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
|
-
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "NewAssetGroup" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewCloseFactor" | "NewLiquidationIncentive" | "NewPauseGuardian" | "NewPriceOracle" | "
|
|
36
|
+
getEvent(nameOrSignatureOrTopic: "ActionPaused" | "Initialized" | "MarketEntered" | "MarketExited" | "MarketListed" | "NewAssetGroup" | "NewBorrowCap" | "NewBorrowCapGuardian" | "NewCloseFactor" | "NewLiquidationIncentive" | "NewPauseGuardian" | "NewPriceOracle" | "RemoveAssetGroup" | "RoleAdminChanged" | "RoleGranted" | "RoleRevoked" | "SetMaxSupply"): EventFragment;
|
|
37
37
|
encodeFunctionData(functionFragment: "CAPPER_ROLE", values?: undefined): string;
|
|
38
38
|
encodeFunctionData(functionFragment: "COMP_LOGIC", values?: undefined): string;
|
|
39
39
|
encodeFunctionData(functionFragment: "DEFAULT_ADMIN_ROLE", values?: undefined): string;
|
|
@@ -468,36 +468,6 @@ export declare namespace NewPriceOracleEvent {
|
|
|
468
468
|
type Log = TypedEventLog<Event>;
|
|
469
469
|
type LogDescription = TypedLogDescription<Event>;
|
|
470
470
|
}
|
|
471
|
-
export declare namespace RedemptionEvent {
|
|
472
|
-
type InputTuple = [
|
|
473
|
-
redeemer: AddressLike,
|
|
474
|
-
provider: AddressLike,
|
|
475
|
-
redeemToken: AddressLike,
|
|
476
|
-
redeemAmount: BigNumberish,
|
|
477
|
-
seizeToken: AddressLike,
|
|
478
|
-
seizeAmount: BigNumberish
|
|
479
|
-
];
|
|
480
|
-
type OutputTuple = [
|
|
481
|
-
redeemer: string,
|
|
482
|
-
provider: string,
|
|
483
|
-
redeemToken: string,
|
|
484
|
-
redeemAmount: bigint,
|
|
485
|
-
seizeToken: string,
|
|
486
|
-
seizeAmount: bigint
|
|
487
|
-
];
|
|
488
|
-
interface OutputObject {
|
|
489
|
-
redeemer: string;
|
|
490
|
-
provider: string;
|
|
491
|
-
redeemToken: string;
|
|
492
|
-
redeemAmount: bigint;
|
|
493
|
-
seizeToken: string;
|
|
494
|
-
seizeAmount: bigint;
|
|
495
|
-
}
|
|
496
|
-
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
497
|
-
type Filter = TypedDeferredTopicFilter<Event>;
|
|
498
|
-
type Log = TypedEventLog<Event>;
|
|
499
|
-
type LogDescription = TypedLogDescription<Event>;
|
|
500
|
-
}
|
|
501
471
|
export declare namespace RemoveAssetGroupEvent {
|
|
502
472
|
type InputTuple = [
|
|
503
473
|
groupId: BigNumberish,
|
|
@@ -1421,7 +1391,6 @@ export interface Comptroller extends BaseContract {
|
|
|
1421
1391
|
getEvent(key: "NewLiquidationIncentive"): TypedContractEvent<NewLiquidationIncentiveEvent.InputTuple, NewLiquidationIncentiveEvent.OutputTuple, NewLiquidationIncentiveEvent.OutputObject>;
|
|
1422
1392
|
getEvent(key: "NewPauseGuardian"): TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1423
1393
|
getEvent(key: "NewPriceOracle"): TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1424
|
-
getEvent(key: "Redemption"): TypedContractEvent<RedemptionEvent.InputTuple, RedemptionEvent.OutputTuple, RedemptionEvent.OutputObject>;
|
|
1425
1394
|
getEvent(key: "RemoveAssetGroup"): TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1426
1395
|
getEvent(key: "RoleAdminChanged"): TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
1427
1396
|
getEvent(key: "RoleGranted"): TypedContractEvent<RoleGrantedEvent.InputTuple, RoleGrantedEvent.OutputTuple, RoleGrantedEvent.OutputObject>;
|
|
@@ -1452,8 +1421,6 @@ export interface Comptroller extends BaseContract {
|
|
|
1452
1421
|
NewPauseGuardian: TypedContractEvent<NewPauseGuardianEvent.InputTuple, NewPauseGuardianEvent.OutputTuple, NewPauseGuardianEvent.OutputObject>;
|
|
1453
1422
|
"NewPriceOracle(address,address)": TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1454
1423
|
NewPriceOracle: TypedContractEvent<NewPriceOracleEvent.InputTuple, NewPriceOracleEvent.OutputTuple, NewPriceOracleEvent.OutputObject>;
|
|
1455
|
-
"Redemption(address,address,address,uint256,address,uint256)": TypedContractEvent<RedemptionEvent.InputTuple, RedemptionEvent.OutputTuple, RedemptionEvent.OutputObject>;
|
|
1456
|
-
Redemption: TypedContractEvent<RedemptionEvent.InputTuple, RedemptionEvent.OutputTuple, RedemptionEvent.OutputObject>;
|
|
1457
1424
|
"RemoveAssetGroup(uint8,uint8)": TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1458
1425
|
RemoveAssetGroup: TypedContractEvent<RemoveAssetGroupEvent.InputTuple, RemoveAssetGroupEvent.OutputTuple, RemoveAssetGroupEvent.OutputObject>;
|
|
1459
1426
|
"RoleAdminChanged(bytes32,bytes32,bytes32)": TypedContractEvent<RoleAdminChangedEvent.InputTuple, RoleAdminChangedEvent.OutputTuple, RoleAdminChangedEvent.OutputObject>;
|
|
@@ -2,7 +2,7 @@ import type { BaseContract, BigNumberish, BytesLike, FunctionFragment, Result, I
|
|
|
2
2
|
import type { TypedContractEvent, TypedDeferredTopicFilter, TypedEventLog, TypedLogDescription, TypedListener, TypedContractMethod } from "../../common";
|
|
3
3
|
export interface ICTokenInterface extends Interface {
|
|
4
4
|
getFunction(nameOrSignature: "_acceptAdmin" | "_reduceReserves" | "_setComptroller" | "_setDiscountRate" | "_setInterestRateModel" | "_setPendingAdmin" | "_setReserveFactor" | "accrualBlockNumber" | "accrueInterest" | "allowance" | "approve" | "balanceOf" | "balanceOfUnderlying" | "borrowBalanceCurrent" | "borrowBalanceStored" | "borrowRatePerBlock" | "discountRateMantissa" | "exchangeRateCurrent" | "exchangeRateStored" | "getAccountSnapshot" | "getCash" | "seize" | "supplyRatePerBlock" | "totalBorrowsCurrent" | "totalSupply" | "transfer" | "transferFrom"): FunctionFragment;
|
|
5
|
-
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
5
|
+
getEvent(nameOrSignatureOrTopic: "AccrueInterest" | "Approval" | "Borrow" | "LiquidateBorrow" | "Mint" | "NewAdmin" | "NewComptroller" | "NewDiscountRate" | "NewMarketInterestRateModel" | "NewPendingAdmin" | "NewReserveFactor" | "Redeem" | "RedeemFaceValue" | "RepayBorrow" | "ReservesAdded" | "ReservesReduced" | "Transfer"): EventFragment;
|
|
6
6
|
encodeFunctionData(functionFragment: "_acceptAdmin", values?: undefined): string;
|
|
7
7
|
encodeFunctionData(functionFragment: "_reduceReserves", values: [BigNumberish]): string;
|
|
8
8
|
encodeFunctionData(functionFragment: "_setComptroller", values: [AddressLike]): string;
|
|
@@ -288,6 +288,36 @@ export declare namespace RedeemEvent {
|
|
|
288
288
|
type Log = TypedEventLog<Event>;
|
|
289
289
|
type LogDescription = TypedLogDescription<Event>;
|
|
290
290
|
}
|
|
291
|
+
export declare namespace RedeemFaceValueEvent {
|
|
292
|
+
type InputTuple = [
|
|
293
|
+
redeemer: AddressLike,
|
|
294
|
+
provider: AddressLike,
|
|
295
|
+
repayAmount: BigNumberish,
|
|
296
|
+
seizeToken: AddressLike,
|
|
297
|
+
seizeAmount: BigNumberish,
|
|
298
|
+
redemptionRateMantissa: BigNumberish
|
|
299
|
+
];
|
|
300
|
+
type OutputTuple = [
|
|
301
|
+
redeemer: string,
|
|
302
|
+
provider: string,
|
|
303
|
+
repayAmount: bigint,
|
|
304
|
+
seizeToken: string,
|
|
305
|
+
seizeAmount: bigint,
|
|
306
|
+
redemptionRateMantissa: bigint
|
|
307
|
+
];
|
|
308
|
+
interface OutputObject {
|
|
309
|
+
redeemer: string;
|
|
310
|
+
provider: string;
|
|
311
|
+
repayAmount: bigint;
|
|
312
|
+
seizeToken: string;
|
|
313
|
+
seizeAmount: bigint;
|
|
314
|
+
redemptionRateMantissa: bigint;
|
|
315
|
+
}
|
|
316
|
+
type Event = TypedContractEvent<InputTuple, OutputTuple, OutputObject>;
|
|
317
|
+
type Filter = TypedDeferredTopicFilter<Event>;
|
|
318
|
+
type Log = TypedEventLog<Event>;
|
|
319
|
+
type LogDescription = TypedLogDescription<Event>;
|
|
320
|
+
}
|
|
291
321
|
export declare namespace RepayBorrowEvent {
|
|
292
322
|
type InputTuple = [
|
|
293
323
|
payer: AddressLike,
|
|
@@ -570,6 +600,7 @@ export interface ICToken extends BaseContract {
|
|
|
570
600
|
getEvent(key: "NewPendingAdmin"): TypedContractEvent<NewPendingAdminEvent.InputTuple, NewPendingAdminEvent.OutputTuple, NewPendingAdminEvent.OutputObject>;
|
|
571
601
|
getEvent(key: "NewReserveFactor"): TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
572
602
|
getEvent(key: "Redeem"): TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
603
|
+
getEvent(key: "RedeemFaceValue"): TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
573
604
|
getEvent(key: "RepayBorrow"): TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
574
605
|
getEvent(key: "ReservesAdded"): TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|
|
575
606
|
getEvent(key: "ReservesReduced"): TypedContractEvent<ReservesReducedEvent.InputTuple, ReservesReducedEvent.OutputTuple, ReservesReducedEvent.OutputObject>;
|
|
@@ -599,6 +630,8 @@ export interface ICToken extends BaseContract {
|
|
|
599
630
|
NewReserveFactor: TypedContractEvent<NewReserveFactorEvent.InputTuple, NewReserveFactorEvent.OutputTuple, NewReserveFactorEvent.OutputObject>;
|
|
600
631
|
"Redeem(address,uint256,uint256)": TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
601
632
|
Redeem: TypedContractEvent<RedeemEvent.InputTuple, RedeemEvent.OutputTuple, RedeemEvent.OutputObject>;
|
|
633
|
+
"RedeemFaceValue(address,address,uint256,address,uint256,uint256)": TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
634
|
+
RedeemFaceValue: TypedContractEvent<RedeemFaceValueEvent.InputTuple, RedeemFaceValueEvent.OutputTuple, RedeemFaceValueEvent.OutputObject>;
|
|
602
635
|
"RepayBorrow(address,address,uint256,uint256,uint256)": TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
603
636
|
RepayBorrow: TypedContractEvent<RepayBorrowEvent.InputTuple, RepayBorrowEvent.OutputTuple, RepayBorrowEvent.OutputObject>;
|
|
604
637
|
"ReservesAdded(address,uint256,uint256)": TypedContractEvent<ReservesAddedEvent.InputTuple, ReservesAddedEvent.OutputTuple, ReservesAddedEvent.OutputObject>;
|