@meterio/sumer-js 0.1.3 → 0.1.5
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/nodejs/abi.js +13 -0
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/typechain/contracts/CToken/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/CToken/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/Test.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/CToken/Test.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/index.d.ts +5 -0
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.d.ts +9 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/Comptroller.d.ts +1446 -0
- package/dist/nodejs/typechain/contracts/{ITimelock.js → Comptroller/Comptroller.sol/Comptroller.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/Comptroller.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/{Interface/ICErc20.js → Comptroller/Comptroller.sol/index.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Comptroller.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/Interfaces/index.d.ts +6 -0
- package/dist/nodejs/typechain/contracts/{Interface/ICToken.js → Comptroller/Interfaces/index.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +4 -1
- package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/Test.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.d.ts +2066 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.js +2689 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/Comptroller__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +11 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +14 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.d.ts +6 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.js +19 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +2 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +26 -3
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.js +15 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/Interfaces/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +378 -0
- package/dist/nodejs/typechain/index.d.ts +32 -24
- package/dist/nodejs/typechain/index.js +33 -25
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/browser/compound.min.js +0 -18
- package/dist/browser/sumer.min.js +0 -18
- package/dist/nodejs/constants.d.ts +0 -29
- package/dist/nodejs/constants.js +0 -1109
- package/dist/nodejs/constants.js.map +0 -1
- package/dist/nodejs/typechain/contracts/ITimelock.d.ts +0 -184
- package/dist/nodejs/typechain/contracts/ITimelock.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.d.ts +0 -57
- package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IAccountLiquidity.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICErc20.d.ts +0 -99
- package/dist/nodejs/typechain/contracts/Interface/ICErc20.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICToken.d.ts +0 -611
- package/dist/nodejs/typechain/contracts/Interface/ICToken.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.d.ts +0 -198
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/ICToken.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.d.ts +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICTokenExternal.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.d.ts +0 -59
- package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IChainlinkFeed.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ICompLogic.d.ts +0 -127
- package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/ICompLogic.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IComptroller.d.ts +0 -562
- package/dist/nodejs/typechain/contracts/Interface/IComptroller.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IComptroller.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.d.ts +0 -161
- package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IEIP20NonStandard.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.d.ts +0 -119
- package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IGovernorAlpha.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.d.ts +0 -130
- package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IGovernorBravo.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.d.ts +0 -59
- package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IInterestRateModel.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.d.ts +0 -37
- package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IPriceOracle.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.d.ts +0 -103
- package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IRedemptionManager.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.d.ts +0 -210
- package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/ISortedBorrows.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IStdReference.d.ts +0 -65
- package/dist/nodejs/typechain/contracts/Interface/IStdReference.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IStdReference.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IUnitroller.d.ts +0 -29
- package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IUnitroller.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IVoltPair.d.ts +0 -71
- package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IVoltPair.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js +0 -3
- package/dist/nodejs/typechain/contracts/Interface/IWitnetFeed.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interface/index.d.ts +0 -19
- package/dist/nodejs/typechain/contracts/Interface/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.d.ts +0 -188
- package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js +0 -250
- package/dist/nodejs/typechain/factories/contracts/ITimelock__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.d.ts +0 -67
- package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js +0 -98
- package/dist/nodejs/typechain/factories/contracts/Interface/IAccountLiquidity__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.d.ts +0 -141
- package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js +0 -200
- package/dist/nodejs/typechain/factories/contracts/Interface/ICErc20__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.d.ts +0 -357
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js +0 -481
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/ICToken__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js +0 -9
- package/dist/nodejs/typechain/factories/contracts/Interface/ICTokenExternal.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.d.ts +0 -705
- package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js +0 -922
- package/dist/nodejs/typechain/factories/contracts/Interface/ICToken__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.d.ts +0 -43
- package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js +0 -66
- package/dist/nodejs/typechain/factories/contracts/Interface/IChainlinkFeed__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.d.ts +0 -133
- package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js +0 -184
- package/dist/nodejs/typechain/factories/contracts/Interface/ICompLogic__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.d.ts +0 -803
- package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js +0 -1052
- package/dist/nodejs/typechain/factories/contracts/Interface/IComptroller__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.d.ts +0 -177
- package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js +0 -240
- package/dist/nodejs/typechain/factories/contracts/Interface/IEIP20NonStandard__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.d.ts +0 -105
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js +0 -147
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorAlpha__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.d.ts +0 -119
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js +0 -166
- package/dist/nodejs/typechain/factories/contracts/Interface/IGovernorBravo__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.d.ts +0 -65
- package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js +0 -96
- package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.d.ts +0 -35
- package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js +0 -58
- package/dist/nodejs/typechain/factories/contracts/Interface/IPriceOracle__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.d.ts +0 -147
- package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js +0 -204
- package/dist/nodejs/typechain/factories/contracts/Interface/IRedemptionManager__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.d.ts +0 -284
- package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js +0 -382
- package/dist/nodejs/typechain/factories/contracts/Interface/ISortedBorrows__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.d.ts +0 -69
- package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js +0 -102
- package/dist/nodejs/typechain/factories/contracts/Interface/IStdReference__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.d.ts +0 -27
- package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js +0 -46
- package/dist/nodejs/typechain/factories/contracts/Interface/IUnitroller__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.d.ts +0 -61
- package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js +0 -89
- package/dist/nodejs/typechain/factories/contracts/Interface/IVoltPair__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.d.ts +0 -17
- package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js +0 -33
- package/dist/nodejs/typechain/factories/contracts/Interface/IWitnetFeed__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interface/index.d.ts +0 -18
- package/dist/nodejs/typechain/factories/contracts/Interface/index.js +0 -65
- package/dist/nodejs/typechain/factories/contracts/Interface/index.js.map +0 -1
- /package/dist/nodejs/typechain/contracts/{Interface/ICTokenExternal.sol → CToken/Interfaces}/index.js +0 -0
- /package/dist/nodejs/typechain/contracts/{Interface → CToken/Test.sol}/index.js +0 -0
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IGovernorAlpha__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
internalType: "uint256",
|
|
13
|
-
name: "proposalId",
|
|
14
|
-
type: "uint256",
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
name: "getActions",
|
|
18
|
-
outputs: [
|
|
19
|
-
{
|
|
20
|
-
internalType: "address[]",
|
|
21
|
-
name: "targets",
|
|
22
|
-
type: "address[]",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "uint256[]",
|
|
26
|
-
name: "values",
|
|
27
|
-
type: "uint256[]",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "string[]",
|
|
31
|
-
name: "signatures",
|
|
32
|
-
type: "string[]",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
internalType: "bytes[]",
|
|
36
|
-
name: "calldatas",
|
|
37
|
-
type: "bytes[]",
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
stateMutability: "view",
|
|
41
|
-
type: "function",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
inputs: [
|
|
45
|
-
{
|
|
46
|
-
internalType: "uint256",
|
|
47
|
-
name: "proposalId",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "address",
|
|
52
|
-
name: "voter",
|
|
53
|
-
type: "address",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
name: "getReceipt",
|
|
57
|
-
outputs: [
|
|
58
|
-
{
|
|
59
|
-
internalType: "bool",
|
|
60
|
-
name: "",
|
|
61
|
-
type: "bool",
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
internalType: "bool",
|
|
65
|
-
name: "",
|
|
66
|
-
type: "bool",
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
internalType: "uint96",
|
|
70
|
-
name: "",
|
|
71
|
-
type: "uint96",
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
stateMutability: "view",
|
|
75
|
-
type: "function",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
inputs: [
|
|
79
|
-
{
|
|
80
|
-
internalType: "uint256",
|
|
81
|
-
name: "",
|
|
82
|
-
type: "uint256",
|
|
83
|
-
},
|
|
84
|
-
],
|
|
85
|
-
name: "proposals",
|
|
86
|
-
outputs: [
|
|
87
|
-
{
|
|
88
|
-
internalType: "uint256",
|
|
89
|
-
name: "id",
|
|
90
|
-
type: "uint256",
|
|
91
|
-
},
|
|
92
|
-
{
|
|
93
|
-
internalType: "address",
|
|
94
|
-
name: "proposer",
|
|
95
|
-
type: "address",
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
internalType: "uint256",
|
|
99
|
-
name: "eta",
|
|
100
|
-
type: "uint256",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
internalType: "uint256",
|
|
104
|
-
name: "startBlock",
|
|
105
|
-
type: "uint256",
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
internalType: "uint256",
|
|
109
|
-
name: "endBlock",
|
|
110
|
-
type: "uint256",
|
|
111
|
-
},
|
|
112
|
-
{
|
|
113
|
-
internalType: "uint256",
|
|
114
|
-
name: "forVotes",
|
|
115
|
-
type: "uint256",
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
internalType: "uint256",
|
|
119
|
-
name: "againstVotes",
|
|
120
|
-
type: "uint256",
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
internalType: "bool",
|
|
124
|
-
name: "canceled",
|
|
125
|
-
type: "bool",
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
internalType: "bool",
|
|
129
|
-
name: "executed",
|
|
130
|
-
type: "bool",
|
|
131
|
-
},
|
|
132
|
-
],
|
|
133
|
-
stateMutability: "view",
|
|
134
|
-
type: "function",
|
|
135
|
-
},
|
|
136
|
-
];
|
|
137
|
-
class IGovernorAlpha__factory {
|
|
138
|
-
static createInterface() {
|
|
139
|
-
return new ethers_1.Interface(_abi);
|
|
140
|
-
}
|
|
141
|
-
static connect(address, runner) {
|
|
142
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
exports.IGovernorAlpha__factory = IGovernorAlpha__factory;
|
|
146
|
-
IGovernorAlpha__factory.abi = _abi;
|
|
147
|
-
//# sourceMappingURL=IGovernorAlpha__factory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGovernorAlpha__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Interface/IGovernorAlpha__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,WAAW;gBACzB,IAAI,EAAE,SAAS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AE,SAAS;gBACvB,IAAI,EAAE,KAAK;gBACX,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,cAAc;gBACpB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,MAAM;aACb;YACD;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,uBAAuB;IAElC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAA4B,CAAC;IACxD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA8B,CAAC;IAC1E,CAAC;;AAVH,0DAWC;AAViB,2BAAG,GAAG,IAAI,CAAC"}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { IGovernorBravo, IGovernorBravoInterface } from "../../../contracts/Interface/IGovernorBravo";
|
|
3
|
-
export declare class IGovernorBravo__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "uint256";
|
|
7
|
-
readonly name: "proposalId";
|
|
8
|
-
readonly type: "uint256";
|
|
9
|
-
}];
|
|
10
|
-
readonly name: "getActions";
|
|
11
|
-
readonly outputs: readonly [{
|
|
12
|
-
readonly internalType: "address[]";
|
|
13
|
-
readonly name: "targets";
|
|
14
|
-
readonly type: "address[]";
|
|
15
|
-
}, {
|
|
16
|
-
readonly internalType: "uint256[]";
|
|
17
|
-
readonly name: "values";
|
|
18
|
-
readonly type: "uint256[]";
|
|
19
|
-
}, {
|
|
20
|
-
readonly internalType: "string[]";
|
|
21
|
-
readonly name: "signatures";
|
|
22
|
-
readonly type: "string[]";
|
|
23
|
-
}, {
|
|
24
|
-
readonly internalType: "bytes[]";
|
|
25
|
-
readonly name: "calldatas";
|
|
26
|
-
readonly type: "bytes[]";
|
|
27
|
-
}];
|
|
28
|
-
readonly stateMutability: "view";
|
|
29
|
-
readonly type: "function";
|
|
30
|
-
}, {
|
|
31
|
-
readonly inputs: readonly [{
|
|
32
|
-
readonly internalType: "uint256";
|
|
33
|
-
readonly name: "proposalId";
|
|
34
|
-
readonly type: "uint256";
|
|
35
|
-
}, {
|
|
36
|
-
readonly internalType: "address";
|
|
37
|
-
readonly name: "voter";
|
|
38
|
-
readonly type: "address";
|
|
39
|
-
}];
|
|
40
|
-
readonly name: "getReceipt";
|
|
41
|
-
readonly outputs: readonly [{
|
|
42
|
-
readonly components: readonly [{
|
|
43
|
-
readonly internalType: "bool";
|
|
44
|
-
readonly name: "hasVoted";
|
|
45
|
-
readonly type: "bool";
|
|
46
|
-
}, {
|
|
47
|
-
readonly internalType: "uint8";
|
|
48
|
-
readonly name: "support";
|
|
49
|
-
readonly type: "uint8";
|
|
50
|
-
}, {
|
|
51
|
-
readonly internalType: "uint96";
|
|
52
|
-
readonly name: "votes";
|
|
53
|
-
readonly type: "uint96";
|
|
54
|
-
}];
|
|
55
|
-
readonly internalType: "struct IGovernorBravo.Receipt";
|
|
56
|
-
readonly name: "";
|
|
57
|
-
readonly type: "tuple";
|
|
58
|
-
}];
|
|
59
|
-
readonly stateMutability: "view";
|
|
60
|
-
readonly type: "function";
|
|
61
|
-
}, {
|
|
62
|
-
readonly inputs: readonly [{
|
|
63
|
-
readonly internalType: "uint256";
|
|
64
|
-
readonly name: "proposalId";
|
|
65
|
-
readonly type: "uint256";
|
|
66
|
-
}];
|
|
67
|
-
readonly name: "proposals";
|
|
68
|
-
readonly outputs: readonly [{
|
|
69
|
-
readonly components: readonly [{
|
|
70
|
-
readonly internalType: "uint256";
|
|
71
|
-
readonly name: "id";
|
|
72
|
-
readonly type: "uint256";
|
|
73
|
-
}, {
|
|
74
|
-
readonly internalType: "address";
|
|
75
|
-
readonly name: "proposer";
|
|
76
|
-
readonly type: "address";
|
|
77
|
-
}, {
|
|
78
|
-
readonly internalType: "uint256";
|
|
79
|
-
readonly name: "eta";
|
|
80
|
-
readonly type: "uint256";
|
|
81
|
-
}, {
|
|
82
|
-
readonly internalType: "uint256";
|
|
83
|
-
readonly name: "startBlock";
|
|
84
|
-
readonly type: "uint256";
|
|
85
|
-
}, {
|
|
86
|
-
readonly internalType: "uint256";
|
|
87
|
-
readonly name: "endBlock";
|
|
88
|
-
readonly type: "uint256";
|
|
89
|
-
}, {
|
|
90
|
-
readonly internalType: "uint256";
|
|
91
|
-
readonly name: "forVotes";
|
|
92
|
-
readonly type: "uint256";
|
|
93
|
-
}, {
|
|
94
|
-
readonly internalType: "uint256";
|
|
95
|
-
readonly name: "againstVotes";
|
|
96
|
-
readonly type: "uint256";
|
|
97
|
-
}, {
|
|
98
|
-
readonly internalType: "uint256";
|
|
99
|
-
readonly name: "abstainVotes";
|
|
100
|
-
readonly type: "uint256";
|
|
101
|
-
}, {
|
|
102
|
-
readonly internalType: "bool";
|
|
103
|
-
readonly name: "canceled";
|
|
104
|
-
readonly type: "bool";
|
|
105
|
-
}, {
|
|
106
|
-
readonly internalType: "bool";
|
|
107
|
-
readonly name: "executed";
|
|
108
|
-
readonly type: "bool";
|
|
109
|
-
}];
|
|
110
|
-
readonly internalType: "struct IGovernorBravo.Proposal";
|
|
111
|
-
readonly name: "";
|
|
112
|
-
readonly type: "tuple";
|
|
113
|
-
}];
|
|
114
|
-
readonly stateMutability: "view";
|
|
115
|
-
readonly type: "function";
|
|
116
|
-
}];
|
|
117
|
-
static createInterface(): IGovernorBravoInterface;
|
|
118
|
-
static connect(address: string, runner?: ContractRunner | null): IGovernorBravo;
|
|
119
|
-
}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IGovernorBravo__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
internalType: "uint256",
|
|
13
|
-
name: "proposalId",
|
|
14
|
-
type: "uint256",
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
name: "getActions",
|
|
18
|
-
outputs: [
|
|
19
|
-
{
|
|
20
|
-
internalType: "address[]",
|
|
21
|
-
name: "targets",
|
|
22
|
-
type: "address[]",
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
internalType: "uint256[]",
|
|
26
|
-
name: "values",
|
|
27
|
-
type: "uint256[]",
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
internalType: "string[]",
|
|
31
|
-
name: "signatures",
|
|
32
|
-
type: "string[]",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
internalType: "bytes[]",
|
|
36
|
-
name: "calldatas",
|
|
37
|
-
type: "bytes[]",
|
|
38
|
-
},
|
|
39
|
-
],
|
|
40
|
-
stateMutability: "view",
|
|
41
|
-
type: "function",
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
inputs: [
|
|
45
|
-
{
|
|
46
|
-
internalType: "uint256",
|
|
47
|
-
name: "proposalId",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "address",
|
|
52
|
-
name: "voter",
|
|
53
|
-
type: "address",
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
name: "getReceipt",
|
|
57
|
-
outputs: [
|
|
58
|
-
{
|
|
59
|
-
components: [
|
|
60
|
-
{
|
|
61
|
-
internalType: "bool",
|
|
62
|
-
name: "hasVoted",
|
|
63
|
-
type: "bool",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
internalType: "uint8",
|
|
67
|
-
name: "support",
|
|
68
|
-
type: "uint8",
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
internalType: "uint96",
|
|
72
|
-
name: "votes",
|
|
73
|
-
type: "uint96",
|
|
74
|
-
},
|
|
75
|
-
],
|
|
76
|
-
internalType: "struct IGovernorBravo.Receipt",
|
|
77
|
-
name: "",
|
|
78
|
-
type: "tuple",
|
|
79
|
-
},
|
|
80
|
-
],
|
|
81
|
-
stateMutability: "view",
|
|
82
|
-
type: "function",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
inputs: [
|
|
86
|
-
{
|
|
87
|
-
internalType: "uint256",
|
|
88
|
-
name: "proposalId",
|
|
89
|
-
type: "uint256",
|
|
90
|
-
},
|
|
91
|
-
],
|
|
92
|
-
name: "proposals",
|
|
93
|
-
outputs: [
|
|
94
|
-
{
|
|
95
|
-
components: [
|
|
96
|
-
{
|
|
97
|
-
internalType: "uint256",
|
|
98
|
-
name: "id",
|
|
99
|
-
type: "uint256",
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
internalType: "address",
|
|
103
|
-
name: "proposer",
|
|
104
|
-
type: "address",
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
internalType: "uint256",
|
|
108
|
-
name: "eta",
|
|
109
|
-
type: "uint256",
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
internalType: "uint256",
|
|
113
|
-
name: "startBlock",
|
|
114
|
-
type: "uint256",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
internalType: "uint256",
|
|
118
|
-
name: "endBlock",
|
|
119
|
-
type: "uint256",
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
internalType: "uint256",
|
|
123
|
-
name: "forVotes",
|
|
124
|
-
type: "uint256",
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
internalType: "uint256",
|
|
128
|
-
name: "againstVotes",
|
|
129
|
-
type: "uint256",
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
internalType: "uint256",
|
|
133
|
-
name: "abstainVotes",
|
|
134
|
-
type: "uint256",
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
internalType: "bool",
|
|
138
|
-
name: "canceled",
|
|
139
|
-
type: "bool",
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
internalType: "bool",
|
|
143
|
-
name: "executed",
|
|
144
|
-
type: "bool",
|
|
145
|
-
},
|
|
146
|
-
],
|
|
147
|
-
internalType: "struct IGovernorBravo.Proposal",
|
|
148
|
-
name: "",
|
|
149
|
-
type: "tuple",
|
|
150
|
-
},
|
|
151
|
-
],
|
|
152
|
-
stateMutability: "view",
|
|
153
|
-
type: "function",
|
|
154
|
-
},
|
|
155
|
-
];
|
|
156
|
-
class IGovernorBravo__factory {
|
|
157
|
-
static createInterface() {
|
|
158
|
-
return new ethers_1.Interface(_abi);
|
|
159
|
-
}
|
|
160
|
-
static connect(address, runner) {
|
|
161
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
exports.IGovernorBravo__factory = IGovernorBravo__factory;
|
|
165
|
-
IGovernorBravo__factory.abi = _abi;
|
|
166
|
-
//# sourceMappingURL=IGovernorBravo__factory.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IGovernorBravo__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Interface/I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AO;aACd;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,uBAAuB;IAElC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAA4B,CAAC;IACxD,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAA8B,CAAC;IAC1E,CAAC;;AAVH,0DAWC;AAViB,2BAAG,GAAG,IAAI,CAAC"}
|
package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.d.ts
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { IInterestRateModel, IInterestRateModelInterface } from "../../../contracts/Interface/IInterestRateModel";
|
|
3
|
-
export declare class IInterestRateModel__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "uint256";
|
|
7
|
-
readonly name: "cash";
|
|
8
|
-
readonly type: "uint256";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "uint256";
|
|
11
|
-
readonly name: "borrows";
|
|
12
|
-
readonly type: "uint256";
|
|
13
|
-
}, {
|
|
14
|
-
readonly internalType: "uint256";
|
|
15
|
-
readonly name: "reserves";
|
|
16
|
-
readonly type: "uint256";
|
|
17
|
-
}];
|
|
18
|
-
readonly name: "getBorrowRate";
|
|
19
|
-
readonly outputs: readonly [{
|
|
20
|
-
readonly internalType: "uint256";
|
|
21
|
-
readonly name: "";
|
|
22
|
-
readonly type: "uint256";
|
|
23
|
-
}];
|
|
24
|
-
readonly stateMutability: "view";
|
|
25
|
-
readonly type: "function";
|
|
26
|
-
}, {
|
|
27
|
-
readonly inputs: readonly [{
|
|
28
|
-
readonly internalType: "uint256";
|
|
29
|
-
readonly name: "cash";
|
|
30
|
-
readonly type: "uint256";
|
|
31
|
-
}, {
|
|
32
|
-
readonly internalType: "uint256";
|
|
33
|
-
readonly name: "borrows";
|
|
34
|
-
readonly type: "uint256";
|
|
35
|
-
}, {
|
|
36
|
-
readonly internalType: "uint256";
|
|
37
|
-
readonly name: "reserves";
|
|
38
|
-
readonly type: "uint256";
|
|
39
|
-
}, {
|
|
40
|
-
readonly internalType: "uint256";
|
|
41
|
-
readonly name: "reserveFactorMantissa";
|
|
42
|
-
readonly type: "uint256";
|
|
43
|
-
}];
|
|
44
|
-
readonly name: "getSupplyRate";
|
|
45
|
-
readonly outputs: readonly [{
|
|
46
|
-
readonly internalType: "uint256";
|
|
47
|
-
readonly name: "";
|
|
48
|
-
readonly type: "uint256";
|
|
49
|
-
}];
|
|
50
|
-
readonly stateMutability: "view";
|
|
51
|
-
readonly type: "function";
|
|
52
|
-
}, {
|
|
53
|
-
readonly inputs: readonly [];
|
|
54
|
-
readonly name: "isInterestRateModel";
|
|
55
|
-
readonly outputs: readonly [{
|
|
56
|
-
readonly internalType: "bool";
|
|
57
|
-
readonly name: "";
|
|
58
|
-
readonly type: "bool";
|
|
59
|
-
}];
|
|
60
|
-
readonly stateMutability: "view";
|
|
61
|
-
readonly type: "function";
|
|
62
|
-
}];
|
|
63
|
-
static createInterface(): IInterestRateModelInterface;
|
|
64
|
-
static connect(address: string, runner?: ContractRunner | null): IInterestRateModel;
|
|
65
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* Autogenerated file. Do not edit manually. */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.IInterestRateModel__factory = void 0;
|
|
7
|
-
const ethers_1 = require("ethers");
|
|
8
|
-
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
internalType: "uint256",
|
|
13
|
-
name: "cash",
|
|
14
|
-
type: "uint256",
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
internalType: "uint256",
|
|
18
|
-
name: "borrows",
|
|
19
|
-
type: "uint256",
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
internalType: "uint256",
|
|
23
|
-
name: "reserves",
|
|
24
|
-
type: "uint256",
|
|
25
|
-
},
|
|
26
|
-
],
|
|
27
|
-
name: "getBorrowRate",
|
|
28
|
-
outputs: [
|
|
29
|
-
{
|
|
30
|
-
internalType: "uint256",
|
|
31
|
-
name: "",
|
|
32
|
-
type: "uint256",
|
|
33
|
-
},
|
|
34
|
-
],
|
|
35
|
-
stateMutability: "view",
|
|
36
|
-
type: "function",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inputs: [
|
|
40
|
-
{
|
|
41
|
-
internalType: "uint256",
|
|
42
|
-
name: "cash",
|
|
43
|
-
type: "uint256",
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
internalType: "uint256",
|
|
47
|
-
name: "borrows",
|
|
48
|
-
type: "uint256",
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
internalType: "uint256",
|
|
52
|
-
name: "reserves",
|
|
53
|
-
type: "uint256",
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
internalType: "uint256",
|
|
57
|
-
name: "reserveFactorMantissa",
|
|
58
|
-
type: "uint256",
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
name: "getSupplyRate",
|
|
62
|
-
outputs: [
|
|
63
|
-
{
|
|
64
|
-
internalType: "uint256",
|
|
65
|
-
name: "",
|
|
66
|
-
type: "uint256",
|
|
67
|
-
},
|
|
68
|
-
],
|
|
69
|
-
stateMutability: "view",
|
|
70
|
-
type: "function",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
inputs: [],
|
|
74
|
-
name: "isInterestRateModel",
|
|
75
|
-
outputs: [
|
|
76
|
-
{
|
|
77
|
-
internalType: "bool",
|
|
78
|
-
name: "",
|
|
79
|
-
type: "bool",
|
|
80
|
-
},
|
|
81
|
-
],
|
|
82
|
-
stateMutability: "view",
|
|
83
|
-
type: "function",
|
|
84
|
-
},
|
|
85
|
-
];
|
|
86
|
-
class IInterestRateModel__factory {
|
|
87
|
-
static createInterface() {
|
|
88
|
-
return new ethers_1.Interface(_abi);
|
|
89
|
-
}
|
|
90
|
-
static connect(address, runner) {
|
|
91
|
-
return new ethers_1.Contract(address, _abi, runner);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
exports.IInterestRateModel__factory = IInterestRateModel__factory;
|
|
95
|
-
IInterestRateModel__factory.abi = _abi;
|
|
96
|
-
//# sourceMappingURL=IInterestRateModel__factory.js.map
|
package/dist/nodejs/typechain/factories/contracts/Interface/IInterestRateModel__factory.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IInterestRateModel__factory.js","sourceRoot":"","sources":["../../../../../../src/typechain/factories/contracts/Interface/IInterestRateModel__factory.ts"],"names":[],"mappings":";AAAA,+CAA+C;AAC/C,oBAAoB;AACpB,oBAAoB;;;AAEpB,mCAAkE;AAMlE,MAAM,IAAI,GAAG;IACX;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,UAAU;gBAChB,IAAI,EAAE,SAAS;aAChB;YACD;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,uBAAuB;gBAC7B,IAAI,EAAE,SAAS;aAChB;SACF;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,SAAS;gBACvB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,qBAAqB;QAC3B,OAAO,EAAE;YACP;gBACE,YAAY,EAAE,MAAM;gBACpB,IAAI,EAAE,EAAE;gBACR,IAAI,EAAE,MAAM;aACb;SACF;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC;AAEX,MAAa,2BAA2B;IAEtC,MAAM,CAAC,eAAe;QACpB,OAAO,IAAI,kBAAS,CAAC,IAAI,CAAgC,CAAC;IAC5D,CAAC;IACD,MAAM,CAAC,OAAO,CACZ,OAAe,EACf,MAA8B;QAE9B,OAAO,IAAI,iBAAQ,CAAC,OAAO,EAAE,IAAI,EAAE,MAAM,CAAkC,CAAC;IAC9E,CAAC;;AAVH,kEAWC;AAViB,+BAAG,GAAG,IAAI,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { type ContractRunner } from "ethers";
|
|
2
|
-
import type { IPriceOracle, IPriceOracleInterface } from "../../../contracts/Interface/IPriceOracle";
|
|
3
|
-
export declare class IPriceOracle__factory {
|
|
4
|
-
static readonly abi: readonly [{
|
|
5
|
-
readonly inputs: readonly [{
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
readonly name: "cToken";
|
|
8
|
-
readonly type: "address";
|
|
9
|
-
}];
|
|
10
|
-
readonly name: "getUnderlyingPrice";
|
|
11
|
-
readonly outputs: readonly [{
|
|
12
|
-
readonly internalType: "uint256";
|
|
13
|
-
readonly name: "";
|
|
14
|
-
readonly type: "uint256";
|
|
15
|
-
}];
|
|
16
|
-
readonly stateMutability: "view";
|
|
17
|
-
readonly type: "function";
|
|
18
|
-
}, {
|
|
19
|
-
readonly inputs: readonly [{
|
|
20
|
-
readonly internalType: "address";
|
|
21
|
-
readonly name: "cToken_";
|
|
22
|
-
readonly type: "address";
|
|
23
|
-
}];
|
|
24
|
-
readonly name: "getUnderlyingPriceNormalized";
|
|
25
|
-
readonly outputs: readonly [{
|
|
26
|
-
readonly internalType: "uint256";
|
|
27
|
-
readonly name: "";
|
|
28
|
-
readonly type: "uint256";
|
|
29
|
-
}];
|
|
30
|
-
readonly stateMutability: "view";
|
|
31
|
-
readonly type: "function";
|
|
32
|
-
}];
|
|
33
|
-
static createInterface(): IPriceOracleInterface;
|
|
34
|
-
static connect(address: string, runner?: ContractRunner | null): IPriceOracle;
|
|
35
|
-
}
|