@venusprotocol/isolated-pools 3.5.0-dev.5 → 3.5.0-dev.6
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/deployments/ethereum/JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink9000bps.json +608 -0
- package/deployments/ethereum.json +360 -0
- package/deployments/ethereum_addresses.json +1 -0
- package/dist/deployments/ethereum.json +360 -0
- package/dist/helpers/deploymentConfig.js +4 -4
- package/dist/typechain/factories/IVToken__factory.d.ts +1 -5
- package/dist/typechain/factories/IVToken__factory.js +1 -201
- package/package.json +1 -1
- package/typechain/IVToken.d.ts +4 -341
- package/typechain/factories/IVToken__factory.ts +1 -201
|
@@ -3804,6 +3804,366 @@
|
|
|
3804
3804
|
}
|
|
3805
3805
|
]
|
|
3806
3806
|
},
|
|
3807
|
+
"JumpRateModelV2_base0bps_slope450bps_jump8000bps_kink9000bps": {
|
|
3808
|
+
"address": "0x834078D691d431aAdC80197f7a61239F9F89547b",
|
|
3809
|
+
"abi": [
|
|
3810
|
+
{
|
|
3811
|
+
"inputs": [
|
|
3812
|
+
{
|
|
3813
|
+
"internalType": "uint256",
|
|
3814
|
+
"name": "baseRatePerYear_",
|
|
3815
|
+
"type": "uint256"
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"internalType": "uint256",
|
|
3819
|
+
"name": "multiplierPerYear_",
|
|
3820
|
+
"type": "uint256"
|
|
3821
|
+
},
|
|
3822
|
+
{
|
|
3823
|
+
"internalType": "uint256",
|
|
3824
|
+
"name": "jumpMultiplierPerYear_",
|
|
3825
|
+
"type": "uint256"
|
|
3826
|
+
},
|
|
3827
|
+
{
|
|
3828
|
+
"internalType": "uint256",
|
|
3829
|
+
"name": "kink_",
|
|
3830
|
+
"type": "uint256"
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3834
|
+
"name": "accessControlManager_",
|
|
3835
|
+
"type": "address"
|
|
3836
|
+
},
|
|
3837
|
+
{
|
|
3838
|
+
"internalType": "bool",
|
|
3839
|
+
"name": "timeBased_",
|
|
3840
|
+
"type": "bool"
|
|
3841
|
+
},
|
|
3842
|
+
{
|
|
3843
|
+
"internalType": "uint256",
|
|
3844
|
+
"name": "blocksPerYear_",
|
|
3845
|
+
"type": "uint256"
|
|
3846
|
+
}
|
|
3847
|
+
],
|
|
3848
|
+
"stateMutability": "nonpayable",
|
|
3849
|
+
"type": "constructor"
|
|
3850
|
+
},
|
|
3851
|
+
{
|
|
3852
|
+
"inputs": [],
|
|
3853
|
+
"name": "InvalidBlocksPerYear",
|
|
3854
|
+
"type": "error"
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"inputs": [],
|
|
3858
|
+
"name": "InvalidTimeBasedConfiguration",
|
|
3859
|
+
"type": "error"
|
|
3860
|
+
},
|
|
3861
|
+
{
|
|
3862
|
+
"inputs": [
|
|
3863
|
+
{
|
|
3864
|
+
"internalType": "address",
|
|
3865
|
+
"name": "sender",
|
|
3866
|
+
"type": "address"
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"internalType": "address",
|
|
3870
|
+
"name": "calledContract",
|
|
3871
|
+
"type": "address"
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
"internalType": "string",
|
|
3875
|
+
"name": "methodSignature",
|
|
3876
|
+
"type": "string"
|
|
3877
|
+
}
|
|
3878
|
+
],
|
|
3879
|
+
"name": "Unauthorized",
|
|
3880
|
+
"type": "error"
|
|
3881
|
+
},
|
|
3882
|
+
{
|
|
3883
|
+
"anonymous": false,
|
|
3884
|
+
"inputs": [
|
|
3885
|
+
{
|
|
3886
|
+
"indexed": false,
|
|
3887
|
+
"internalType": "uint256",
|
|
3888
|
+
"name": "baseRatePerBlockOrTimestamp",
|
|
3889
|
+
"type": "uint256"
|
|
3890
|
+
},
|
|
3891
|
+
{
|
|
3892
|
+
"indexed": false,
|
|
3893
|
+
"internalType": "uint256",
|
|
3894
|
+
"name": "multiplierPerBlockOrTimestamp",
|
|
3895
|
+
"type": "uint256"
|
|
3896
|
+
},
|
|
3897
|
+
{
|
|
3898
|
+
"indexed": false,
|
|
3899
|
+
"internalType": "uint256",
|
|
3900
|
+
"name": "jumpMultiplierPerBlockOrTimestamp",
|
|
3901
|
+
"type": "uint256"
|
|
3902
|
+
},
|
|
3903
|
+
{
|
|
3904
|
+
"indexed": false,
|
|
3905
|
+
"internalType": "uint256",
|
|
3906
|
+
"name": "kink",
|
|
3907
|
+
"type": "uint256"
|
|
3908
|
+
}
|
|
3909
|
+
],
|
|
3910
|
+
"name": "NewInterestParams",
|
|
3911
|
+
"type": "event"
|
|
3912
|
+
},
|
|
3913
|
+
{
|
|
3914
|
+
"inputs": [],
|
|
3915
|
+
"name": "accessControlManager",
|
|
3916
|
+
"outputs": [
|
|
3917
|
+
{
|
|
3918
|
+
"internalType": "contract IAccessControlManagerV8",
|
|
3919
|
+
"name": "",
|
|
3920
|
+
"type": "address"
|
|
3921
|
+
}
|
|
3922
|
+
],
|
|
3923
|
+
"stateMutability": "view",
|
|
3924
|
+
"type": "function"
|
|
3925
|
+
},
|
|
3926
|
+
{
|
|
3927
|
+
"inputs": [],
|
|
3928
|
+
"name": "baseRatePerBlock",
|
|
3929
|
+
"outputs": [
|
|
3930
|
+
{
|
|
3931
|
+
"internalType": "uint256",
|
|
3932
|
+
"name": "",
|
|
3933
|
+
"type": "uint256"
|
|
3934
|
+
}
|
|
3935
|
+
],
|
|
3936
|
+
"stateMutability": "view",
|
|
3937
|
+
"type": "function"
|
|
3938
|
+
},
|
|
3939
|
+
{
|
|
3940
|
+
"inputs": [],
|
|
3941
|
+
"name": "blocksOrSecondsPerYear",
|
|
3942
|
+
"outputs": [
|
|
3943
|
+
{
|
|
3944
|
+
"internalType": "uint256",
|
|
3945
|
+
"name": "",
|
|
3946
|
+
"type": "uint256"
|
|
3947
|
+
}
|
|
3948
|
+
],
|
|
3949
|
+
"stateMutability": "view",
|
|
3950
|
+
"type": "function"
|
|
3951
|
+
},
|
|
3952
|
+
{
|
|
3953
|
+
"inputs": [],
|
|
3954
|
+
"name": "getBlockNumberOrTimestamp",
|
|
3955
|
+
"outputs": [
|
|
3956
|
+
{
|
|
3957
|
+
"internalType": "uint256",
|
|
3958
|
+
"name": "",
|
|
3959
|
+
"type": "uint256"
|
|
3960
|
+
}
|
|
3961
|
+
],
|
|
3962
|
+
"stateMutability": "view",
|
|
3963
|
+
"type": "function"
|
|
3964
|
+
},
|
|
3965
|
+
{
|
|
3966
|
+
"inputs": [
|
|
3967
|
+
{
|
|
3968
|
+
"internalType": "uint256",
|
|
3969
|
+
"name": "cash",
|
|
3970
|
+
"type": "uint256"
|
|
3971
|
+
},
|
|
3972
|
+
{
|
|
3973
|
+
"internalType": "uint256",
|
|
3974
|
+
"name": "borrows",
|
|
3975
|
+
"type": "uint256"
|
|
3976
|
+
},
|
|
3977
|
+
{
|
|
3978
|
+
"internalType": "uint256",
|
|
3979
|
+
"name": "reserves",
|
|
3980
|
+
"type": "uint256"
|
|
3981
|
+
},
|
|
3982
|
+
{
|
|
3983
|
+
"internalType": "uint256",
|
|
3984
|
+
"name": "badDebt",
|
|
3985
|
+
"type": "uint256"
|
|
3986
|
+
}
|
|
3987
|
+
],
|
|
3988
|
+
"name": "getBorrowRate",
|
|
3989
|
+
"outputs": [
|
|
3990
|
+
{
|
|
3991
|
+
"internalType": "uint256",
|
|
3992
|
+
"name": "",
|
|
3993
|
+
"type": "uint256"
|
|
3994
|
+
}
|
|
3995
|
+
],
|
|
3996
|
+
"stateMutability": "view",
|
|
3997
|
+
"type": "function"
|
|
3998
|
+
},
|
|
3999
|
+
{
|
|
4000
|
+
"inputs": [
|
|
4001
|
+
{
|
|
4002
|
+
"internalType": "uint256",
|
|
4003
|
+
"name": "cash",
|
|
4004
|
+
"type": "uint256"
|
|
4005
|
+
},
|
|
4006
|
+
{
|
|
4007
|
+
"internalType": "uint256",
|
|
4008
|
+
"name": "borrows",
|
|
4009
|
+
"type": "uint256"
|
|
4010
|
+
},
|
|
4011
|
+
{
|
|
4012
|
+
"internalType": "uint256",
|
|
4013
|
+
"name": "reserves",
|
|
4014
|
+
"type": "uint256"
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
"internalType": "uint256",
|
|
4018
|
+
"name": "reserveFactorMantissa",
|
|
4019
|
+
"type": "uint256"
|
|
4020
|
+
},
|
|
4021
|
+
{
|
|
4022
|
+
"internalType": "uint256",
|
|
4023
|
+
"name": "badDebt",
|
|
4024
|
+
"type": "uint256"
|
|
4025
|
+
}
|
|
4026
|
+
],
|
|
4027
|
+
"name": "getSupplyRate",
|
|
4028
|
+
"outputs": [
|
|
4029
|
+
{
|
|
4030
|
+
"internalType": "uint256",
|
|
4031
|
+
"name": "",
|
|
4032
|
+
"type": "uint256"
|
|
4033
|
+
}
|
|
4034
|
+
],
|
|
4035
|
+
"stateMutability": "view",
|
|
4036
|
+
"type": "function"
|
|
4037
|
+
},
|
|
4038
|
+
{
|
|
4039
|
+
"inputs": [],
|
|
4040
|
+
"name": "isInterestRateModel",
|
|
4041
|
+
"outputs": [
|
|
4042
|
+
{
|
|
4043
|
+
"internalType": "bool",
|
|
4044
|
+
"name": "",
|
|
4045
|
+
"type": "bool"
|
|
4046
|
+
}
|
|
4047
|
+
],
|
|
4048
|
+
"stateMutability": "pure",
|
|
4049
|
+
"type": "function"
|
|
4050
|
+
},
|
|
4051
|
+
{
|
|
4052
|
+
"inputs": [],
|
|
4053
|
+
"name": "isTimeBased",
|
|
4054
|
+
"outputs": [
|
|
4055
|
+
{
|
|
4056
|
+
"internalType": "bool",
|
|
4057
|
+
"name": "",
|
|
4058
|
+
"type": "bool"
|
|
4059
|
+
}
|
|
4060
|
+
],
|
|
4061
|
+
"stateMutability": "view",
|
|
4062
|
+
"type": "function"
|
|
4063
|
+
},
|
|
4064
|
+
{
|
|
4065
|
+
"inputs": [],
|
|
4066
|
+
"name": "jumpMultiplierPerBlock",
|
|
4067
|
+
"outputs": [
|
|
4068
|
+
{
|
|
4069
|
+
"internalType": "uint256",
|
|
4070
|
+
"name": "",
|
|
4071
|
+
"type": "uint256"
|
|
4072
|
+
}
|
|
4073
|
+
],
|
|
4074
|
+
"stateMutability": "view",
|
|
4075
|
+
"type": "function"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"inputs": [],
|
|
4079
|
+
"name": "kink",
|
|
4080
|
+
"outputs": [
|
|
4081
|
+
{
|
|
4082
|
+
"internalType": "uint256",
|
|
4083
|
+
"name": "",
|
|
4084
|
+
"type": "uint256"
|
|
4085
|
+
}
|
|
4086
|
+
],
|
|
4087
|
+
"stateMutability": "view",
|
|
4088
|
+
"type": "function"
|
|
4089
|
+
},
|
|
4090
|
+
{
|
|
4091
|
+
"inputs": [],
|
|
4092
|
+
"name": "multiplierPerBlock",
|
|
4093
|
+
"outputs": [
|
|
4094
|
+
{
|
|
4095
|
+
"internalType": "uint256",
|
|
4096
|
+
"name": "",
|
|
4097
|
+
"type": "uint256"
|
|
4098
|
+
}
|
|
4099
|
+
],
|
|
4100
|
+
"stateMutability": "view",
|
|
4101
|
+
"type": "function"
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"inputs": [
|
|
4105
|
+
{
|
|
4106
|
+
"internalType": "uint256",
|
|
4107
|
+
"name": "baseRatePerYear",
|
|
4108
|
+
"type": "uint256"
|
|
4109
|
+
},
|
|
4110
|
+
{
|
|
4111
|
+
"internalType": "uint256",
|
|
4112
|
+
"name": "multiplierPerYear",
|
|
4113
|
+
"type": "uint256"
|
|
4114
|
+
},
|
|
4115
|
+
{
|
|
4116
|
+
"internalType": "uint256",
|
|
4117
|
+
"name": "jumpMultiplierPerYear",
|
|
4118
|
+
"type": "uint256"
|
|
4119
|
+
},
|
|
4120
|
+
{
|
|
4121
|
+
"internalType": "uint256",
|
|
4122
|
+
"name": "kink_",
|
|
4123
|
+
"type": "uint256"
|
|
4124
|
+
}
|
|
4125
|
+
],
|
|
4126
|
+
"name": "updateJumpRateModel",
|
|
4127
|
+
"outputs": [],
|
|
4128
|
+
"stateMutability": "nonpayable",
|
|
4129
|
+
"type": "function"
|
|
4130
|
+
},
|
|
4131
|
+
{
|
|
4132
|
+
"inputs": [
|
|
4133
|
+
{
|
|
4134
|
+
"internalType": "uint256",
|
|
4135
|
+
"name": "cash",
|
|
4136
|
+
"type": "uint256"
|
|
4137
|
+
},
|
|
4138
|
+
{
|
|
4139
|
+
"internalType": "uint256",
|
|
4140
|
+
"name": "borrows",
|
|
4141
|
+
"type": "uint256"
|
|
4142
|
+
},
|
|
4143
|
+
{
|
|
4144
|
+
"internalType": "uint256",
|
|
4145
|
+
"name": "reserves",
|
|
4146
|
+
"type": "uint256"
|
|
4147
|
+
},
|
|
4148
|
+
{
|
|
4149
|
+
"internalType": "uint256",
|
|
4150
|
+
"name": "badDebt",
|
|
4151
|
+
"type": "uint256"
|
|
4152
|
+
}
|
|
4153
|
+
],
|
|
4154
|
+
"name": "utilizationRate",
|
|
4155
|
+
"outputs": [
|
|
4156
|
+
{
|
|
4157
|
+
"internalType": "uint256",
|
|
4158
|
+
"name": "",
|
|
4159
|
+
"type": "uint256"
|
|
4160
|
+
}
|
|
4161
|
+
],
|
|
4162
|
+
"stateMutability": "pure",
|
|
4163
|
+
"type": "function"
|
|
4164
|
+
}
|
|
4165
|
+
]
|
|
4166
|
+
},
|
|
3807
4167
|
"JumpRateModelV2_base0bps_slope500bps_jump8000bps_kink7500bps": {
|
|
3808
4168
|
"address": "0x07a912CD58CbB5736d015608F424c43B2CAd0B5e",
|
|
3809
4169
|
"abi": [
|
|
@@ -3523,12 +3523,12 @@ exports.globalConfig = {
|
|
|
3523
3523
|
symbol: "vWETH_LiquidStakedETH",
|
|
3524
3524
|
rateModel: InterestRateModels.JumpRate.toString(),
|
|
3525
3525
|
baseRatePerYear: "0",
|
|
3526
|
-
multiplierPerYear: (0, utils_1.convertToUnit)("0.
|
|
3526
|
+
multiplierPerYear: (0, utils_1.convertToUnit)("0.045", 18),
|
|
3527
3527
|
jumpMultiplierPerYear: (0, utils_1.convertToUnit)("0.8", 18),
|
|
3528
|
-
kink_: (0, utils_1.convertToUnit)("0.
|
|
3529
|
-
collateralFactor: (0, utils_1.convertToUnit)("0
|
|
3528
|
+
kink_: (0, utils_1.convertToUnit)("0.9", 18),
|
|
3529
|
+
collateralFactor: (0, utils_1.convertToUnit)("0", 18),
|
|
3530
3530
|
liquidationThreshold: (0, utils_1.convertToUnit)("0.93", 18),
|
|
3531
|
-
reserveFactor: (0, utils_1.convertToUnit)("0.
|
|
3531
|
+
reserveFactor: (0, utils_1.convertToUnit)("0.25", 18),
|
|
3532
3532
|
initialSupply: (0, utils_1.convertToUnit)(5, 18),
|
|
3533
3533
|
supplyCap: (0, utils_1.convertToUnit)(20000, 18),
|
|
3534
3534
|
borrowCap: (0, utils_1.convertToUnit)(18000, 18),
|
|
@@ -3,11 +3,7 @@ import { Provider } from "@ethersproject/providers";
|
|
|
3
3
|
import type { IVToken, IVTokenInterface } from "../IVToken";
|
|
4
4
|
export declare class IVToken__factory {
|
|
5
5
|
static readonly abi: {
|
|
6
|
-
inputs:
|
|
7
|
-
internalType: string;
|
|
8
|
-
name: string;
|
|
9
|
-
type: string;
|
|
10
|
-
}[];
|
|
6
|
+
inputs: never[];
|
|
11
7
|
name: string;
|
|
12
8
|
outputs: {
|
|
13
9
|
internalType: string;
|
|
@@ -6,206 +6,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.IVToken__factory = void 0;
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
|
-
{
|
|
10
|
-
inputs: [
|
|
11
|
-
{
|
|
12
|
-
internalType: "address",
|
|
13
|
-
name: "account",
|
|
14
|
-
type: "address",
|
|
15
|
-
},
|
|
16
|
-
],
|
|
17
|
-
name: "borrowBalanceCurrent",
|
|
18
|
-
outputs: [
|
|
19
|
-
{
|
|
20
|
-
internalType: "uint256",
|
|
21
|
-
name: "",
|
|
22
|
-
type: "uint256",
|
|
23
|
-
},
|
|
24
|
-
],
|
|
25
|
-
stateMutability: "nonpayable",
|
|
26
|
-
type: "function",
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
inputs: [
|
|
30
|
-
{
|
|
31
|
-
internalType: "address",
|
|
32
|
-
name: "borrower",
|
|
33
|
-
type: "address",
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
internalType: "uint256",
|
|
37
|
-
name: "borrowAmount",
|
|
38
|
-
type: "uint256",
|
|
39
|
-
},
|
|
40
|
-
],
|
|
41
|
-
name: "borrowBehalf",
|
|
42
|
-
outputs: [
|
|
43
|
-
{
|
|
44
|
-
internalType: "uint256",
|
|
45
|
-
name: "",
|
|
46
|
-
type: "uint256",
|
|
47
|
-
},
|
|
48
|
-
],
|
|
49
|
-
stateMutability: "nonpayable",
|
|
50
|
-
type: "function",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
inputs: [],
|
|
54
|
-
name: "exchangeRateCurrent",
|
|
55
|
-
outputs: [
|
|
56
|
-
{
|
|
57
|
-
internalType: "uint256",
|
|
58
|
-
name: "",
|
|
59
|
-
type: "uint256",
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
stateMutability: "nonpayable",
|
|
63
|
-
type: "function",
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
inputs: [
|
|
67
|
-
{
|
|
68
|
-
internalType: "address",
|
|
69
|
-
name: "receiver",
|
|
70
|
-
type: "address",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
internalType: "uint256",
|
|
74
|
-
name: "mintAmount",
|
|
75
|
-
type: "uint256",
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
name: "mintBehalf",
|
|
79
|
-
outputs: [
|
|
80
|
-
{
|
|
81
|
-
internalType: "uint256",
|
|
82
|
-
name: "",
|
|
83
|
-
type: "uint256",
|
|
84
|
-
},
|
|
85
|
-
],
|
|
86
|
-
stateMutability: "nonpayable",
|
|
87
|
-
type: "function",
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
inputs: [
|
|
91
|
-
{
|
|
92
|
-
internalType: "uint256",
|
|
93
|
-
name: "redeemTokens",
|
|
94
|
-
type: "uint256",
|
|
95
|
-
},
|
|
96
|
-
],
|
|
97
|
-
name: "redeem",
|
|
98
|
-
outputs: [
|
|
99
|
-
{
|
|
100
|
-
internalType: "uint256",
|
|
101
|
-
name: "",
|
|
102
|
-
type: "uint256",
|
|
103
|
-
},
|
|
104
|
-
],
|
|
105
|
-
stateMutability: "nonpayable",
|
|
106
|
-
type: "function",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
inputs: [
|
|
110
|
-
{
|
|
111
|
-
internalType: "address",
|
|
112
|
-
name: "redeemer",
|
|
113
|
-
type: "address",
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
internalType: "uint256",
|
|
117
|
-
name: "redeemTokens",
|
|
118
|
-
type: "uint256",
|
|
119
|
-
},
|
|
120
|
-
],
|
|
121
|
-
name: "redeemBehalf",
|
|
122
|
-
outputs: [
|
|
123
|
-
{
|
|
124
|
-
internalType: "uint256",
|
|
125
|
-
name: "",
|
|
126
|
-
type: "uint256",
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
stateMutability: "nonpayable",
|
|
130
|
-
type: "function",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
inputs: [
|
|
134
|
-
{
|
|
135
|
-
internalType: "address",
|
|
136
|
-
name: "redeemer",
|
|
137
|
-
type: "address",
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
internalType: "uint256",
|
|
141
|
-
name: "redeemAmount",
|
|
142
|
-
type: "uint256",
|
|
143
|
-
},
|
|
144
|
-
],
|
|
145
|
-
name: "redeemUnderlyingBehalf",
|
|
146
|
-
outputs: [
|
|
147
|
-
{
|
|
148
|
-
internalType: "uint256",
|
|
149
|
-
name: "",
|
|
150
|
-
type: "uint256",
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
stateMutability: "nonpayable",
|
|
154
|
-
type: "function",
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
inputs: [
|
|
158
|
-
{
|
|
159
|
-
internalType: "address",
|
|
160
|
-
name: "borrower",
|
|
161
|
-
type: "address",
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
internalType: "uint256",
|
|
165
|
-
name: "repayAmount",
|
|
166
|
-
type: "uint256",
|
|
167
|
-
},
|
|
168
|
-
],
|
|
169
|
-
name: "repayBorrowBehalf",
|
|
170
|
-
outputs: [
|
|
171
|
-
{
|
|
172
|
-
internalType: "uint256",
|
|
173
|
-
name: "",
|
|
174
|
-
type: "uint256",
|
|
175
|
-
},
|
|
176
|
-
],
|
|
177
|
-
stateMutability: "nonpayable",
|
|
178
|
-
type: "function",
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
inputs: [
|
|
182
|
-
{
|
|
183
|
-
internalType: "address",
|
|
184
|
-
name: "from",
|
|
185
|
-
type: "address",
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
internalType: "address",
|
|
189
|
-
name: "to",
|
|
190
|
-
type: "address",
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
internalType: "uint256",
|
|
194
|
-
name: "amount",
|
|
195
|
-
type: "uint256",
|
|
196
|
-
},
|
|
197
|
-
],
|
|
198
|
-
name: "transferFrom",
|
|
199
|
-
outputs: [
|
|
200
|
-
{
|
|
201
|
-
internalType: "bool",
|
|
202
|
-
name: "",
|
|
203
|
-
type: "bool",
|
|
204
|
-
},
|
|
205
|
-
],
|
|
206
|
-
stateMutability: "nonpayable",
|
|
207
|
-
type: "function",
|
|
208
|
-
},
|
|
209
9
|
{
|
|
210
10
|
inputs: [],
|
|
211
11
|
name: "underlying",
|
|
@@ -216,7 +16,7 @@ const _abi = [
|
|
|
216
16
|
type: "address",
|
|
217
17
|
},
|
|
218
18
|
],
|
|
219
|
-
stateMutability: "
|
|
19
|
+
stateMutability: "view",
|
|
220
20
|
type: "function",
|
|
221
21
|
},
|
|
222
22
|
];
|