@venusprotocol/venus-protocol 9.8.0-dev.15 → 9.8.0-dev.16
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/bscmainnet/JumpRateModel_base0bps_slope1000bps_jump50000bps_kink8000bps_bpy21024000.json +394 -0
- package/deployments/bscmainnet/TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump30000bps_bpy21024000.json +443 -0
- package/deployments/bscmainnet.json +1347 -795
- package/deployments/bscmainnet_addresses.json +2 -0
- package/deployments/bsctestnet/JumpRateModel_base0bps_slope1000bps_jump10900bps_kink8000bps_bpy21024000.json +394 -0
- package/deployments/bsctestnet/TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump30000bps_bpy21024000.json +443 -0
- package/deployments/bsctestnet.json +809 -257
- package/deployments/bsctestnet_addresses.json +2 -0
- package/dist/deployments/bscmainnet.json +1347 -795
- package/dist/deployments/bsctestnet.json +809 -257
- package/dist/helpers/markets/bscmainnet.d.ts +7 -7
- package/dist/helpers/markets/bscmainnet.js +7 -7
- package/dist/helpers/markets/bsctestnet.d.ts +17 -7
- package/dist/helpers/markets/bsctestnet.js +17 -7
- package/package.json +1 -1
|
@@ -2814,259 +2814,8 @@
|
|
|
2814
2814
|
}
|
|
2815
2815
|
]
|
|
2816
2816
|
},
|
|
2817
|
-
"
|
|
2818
|
-
"address": "
|
|
2819
|
-
"abi": [
|
|
2820
|
-
{
|
|
2821
|
-
"inputs": [
|
|
2822
|
-
{
|
|
2823
|
-
"internalType": "uint256",
|
|
2824
|
-
"name": "baseRatePerYear",
|
|
2825
|
-
"type": "uint256"
|
|
2826
|
-
},
|
|
2827
|
-
{
|
|
2828
|
-
"internalType": "uint256",
|
|
2829
|
-
"name": "multiplierPerYear",
|
|
2830
|
-
"type": "uint256"
|
|
2831
|
-
},
|
|
2832
|
-
{
|
|
2833
|
-
"internalType": "uint256",
|
|
2834
|
-
"name": "jumpMultiplierPerYear",
|
|
2835
|
-
"type": "uint256"
|
|
2836
|
-
},
|
|
2837
|
-
{
|
|
2838
|
-
"internalType": "uint256",
|
|
2839
|
-
"name": "kink_",
|
|
2840
|
-
"type": "uint256"
|
|
2841
|
-
}
|
|
2842
|
-
],
|
|
2843
|
-
"payable": false,
|
|
2844
|
-
"stateMutability": "nonpayable",
|
|
2845
|
-
"type": "constructor"
|
|
2846
|
-
},
|
|
2847
|
-
{
|
|
2848
|
-
"anonymous": false,
|
|
2849
|
-
"inputs": [
|
|
2850
|
-
{
|
|
2851
|
-
"indexed": false,
|
|
2852
|
-
"internalType": "uint256",
|
|
2853
|
-
"name": "baseRatePerBlock",
|
|
2854
|
-
"type": "uint256"
|
|
2855
|
-
},
|
|
2856
|
-
{
|
|
2857
|
-
"indexed": false,
|
|
2858
|
-
"internalType": "uint256",
|
|
2859
|
-
"name": "multiplierPerBlock",
|
|
2860
|
-
"type": "uint256"
|
|
2861
|
-
},
|
|
2862
|
-
{
|
|
2863
|
-
"indexed": false,
|
|
2864
|
-
"internalType": "uint256",
|
|
2865
|
-
"name": "jumpMultiplierPerBlock",
|
|
2866
|
-
"type": "uint256"
|
|
2867
|
-
},
|
|
2868
|
-
{
|
|
2869
|
-
"indexed": false,
|
|
2870
|
-
"internalType": "uint256",
|
|
2871
|
-
"name": "kink",
|
|
2872
|
-
"type": "uint256"
|
|
2873
|
-
}
|
|
2874
|
-
],
|
|
2875
|
-
"name": "NewInterestParams",
|
|
2876
|
-
"type": "event"
|
|
2877
|
-
},
|
|
2878
|
-
{
|
|
2879
|
-
"constant": true,
|
|
2880
|
-
"inputs": [],
|
|
2881
|
-
"name": "baseRatePerBlock",
|
|
2882
|
-
"outputs": [
|
|
2883
|
-
{
|
|
2884
|
-
"internalType": "uint256",
|
|
2885
|
-
"name": "",
|
|
2886
|
-
"type": "uint256"
|
|
2887
|
-
}
|
|
2888
|
-
],
|
|
2889
|
-
"payable": false,
|
|
2890
|
-
"stateMutability": "view",
|
|
2891
|
-
"type": "function"
|
|
2892
|
-
},
|
|
2893
|
-
{
|
|
2894
|
-
"constant": true,
|
|
2895
|
-
"inputs": [],
|
|
2896
|
-
"name": "blocksPerYear",
|
|
2897
|
-
"outputs": [
|
|
2898
|
-
{
|
|
2899
|
-
"internalType": "uint256",
|
|
2900
|
-
"name": "",
|
|
2901
|
-
"type": "uint256"
|
|
2902
|
-
}
|
|
2903
|
-
],
|
|
2904
|
-
"payable": false,
|
|
2905
|
-
"stateMutability": "view",
|
|
2906
|
-
"type": "function"
|
|
2907
|
-
},
|
|
2908
|
-
{
|
|
2909
|
-
"constant": true,
|
|
2910
|
-
"inputs": [
|
|
2911
|
-
{
|
|
2912
|
-
"internalType": "uint256",
|
|
2913
|
-
"name": "cash",
|
|
2914
|
-
"type": "uint256"
|
|
2915
|
-
},
|
|
2916
|
-
{
|
|
2917
|
-
"internalType": "uint256",
|
|
2918
|
-
"name": "borrows",
|
|
2919
|
-
"type": "uint256"
|
|
2920
|
-
},
|
|
2921
|
-
{
|
|
2922
|
-
"internalType": "uint256",
|
|
2923
|
-
"name": "reserves",
|
|
2924
|
-
"type": "uint256"
|
|
2925
|
-
}
|
|
2926
|
-
],
|
|
2927
|
-
"name": "getBorrowRate",
|
|
2928
|
-
"outputs": [
|
|
2929
|
-
{
|
|
2930
|
-
"internalType": "uint256",
|
|
2931
|
-
"name": "",
|
|
2932
|
-
"type": "uint256"
|
|
2933
|
-
}
|
|
2934
|
-
],
|
|
2935
|
-
"payable": false,
|
|
2936
|
-
"stateMutability": "view",
|
|
2937
|
-
"type": "function"
|
|
2938
|
-
},
|
|
2939
|
-
{
|
|
2940
|
-
"constant": true,
|
|
2941
|
-
"inputs": [
|
|
2942
|
-
{
|
|
2943
|
-
"internalType": "uint256",
|
|
2944
|
-
"name": "cash",
|
|
2945
|
-
"type": "uint256"
|
|
2946
|
-
},
|
|
2947
|
-
{
|
|
2948
|
-
"internalType": "uint256",
|
|
2949
|
-
"name": "borrows",
|
|
2950
|
-
"type": "uint256"
|
|
2951
|
-
},
|
|
2952
|
-
{
|
|
2953
|
-
"internalType": "uint256",
|
|
2954
|
-
"name": "reserves",
|
|
2955
|
-
"type": "uint256"
|
|
2956
|
-
},
|
|
2957
|
-
{
|
|
2958
|
-
"internalType": "uint256",
|
|
2959
|
-
"name": "reserveFactorMantissa",
|
|
2960
|
-
"type": "uint256"
|
|
2961
|
-
}
|
|
2962
|
-
],
|
|
2963
|
-
"name": "getSupplyRate",
|
|
2964
|
-
"outputs": [
|
|
2965
|
-
{
|
|
2966
|
-
"internalType": "uint256",
|
|
2967
|
-
"name": "",
|
|
2968
|
-
"type": "uint256"
|
|
2969
|
-
}
|
|
2970
|
-
],
|
|
2971
|
-
"payable": false,
|
|
2972
|
-
"stateMutability": "view",
|
|
2973
|
-
"type": "function"
|
|
2974
|
-
},
|
|
2975
|
-
{
|
|
2976
|
-
"constant": true,
|
|
2977
|
-
"inputs": [],
|
|
2978
|
-
"name": "isInterestRateModel",
|
|
2979
|
-
"outputs": [
|
|
2980
|
-
{
|
|
2981
|
-
"internalType": "bool",
|
|
2982
|
-
"name": "",
|
|
2983
|
-
"type": "bool"
|
|
2984
|
-
}
|
|
2985
|
-
],
|
|
2986
|
-
"payable": false,
|
|
2987
|
-
"stateMutability": "view",
|
|
2988
|
-
"type": "function"
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"constant": true,
|
|
2992
|
-
"inputs": [],
|
|
2993
|
-
"name": "jumpMultiplierPerBlock",
|
|
2994
|
-
"outputs": [
|
|
2995
|
-
{
|
|
2996
|
-
"internalType": "uint256",
|
|
2997
|
-
"name": "",
|
|
2998
|
-
"type": "uint256"
|
|
2999
|
-
}
|
|
3000
|
-
],
|
|
3001
|
-
"payable": false,
|
|
3002
|
-
"stateMutability": "view",
|
|
3003
|
-
"type": "function"
|
|
3004
|
-
},
|
|
3005
|
-
{
|
|
3006
|
-
"constant": true,
|
|
3007
|
-
"inputs": [],
|
|
3008
|
-
"name": "kink",
|
|
3009
|
-
"outputs": [
|
|
3010
|
-
{
|
|
3011
|
-
"internalType": "uint256",
|
|
3012
|
-
"name": "",
|
|
3013
|
-
"type": "uint256"
|
|
3014
|
-
}
|
|
3015
|
-
],
|
|
3016
|
-
"payable": false,
|
|
3017
|
-
"stateMutability": "view",
|
|
3018
|
-
"type": "function"
|
|
3019
|
-
},
|
|
3020
|
-
{
|
|
3021
|
-
"constant": true,
|
|
3022
|
-
"inputs": [],
|
|
3023
|
-
"name": "multiplierPerBlock",
|
|
3024
|
-
"outputs": [
|
|
3025
|
-
{
|
|
3026
|
-
"internalType": "uint256",
|
|
3027
|
-
"name": "",
|
|
3028
|
-
"type": "uint256"
|
|
3029
|
-
}
|
|
3030
|
-
],
|
|
3031
|
-
"payable": false,
|
|
3032
|
-
"stateMutability": "view",
|
|
3033
|
-
"type": "function"
|
|
3034
|
-
},
|
|
3035
|
-
{
|
|
3036
|
-
"constant": true,
|
|
3037
|
-
"inputs": [
|
|
3038
|
-
{
|
|
3039
|
-
"internalType": "uint256",
|
|
3040
|
-
"name": "cash",
|
|
3041
|
-
"type": "uint256"
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
"internalType": "uint256",
|
|
3045
|
-
"name": "borrows",
|
|
3046
|
-
"type": "uint256"
|
|
3047
|
-
},
|
|
3048
|
-
{
|
|
3049
|
-
"internalType": "uint256",
|
|
3050
|
-
"name": "reserves",
|
|
3051
|
-
"type": "uint256"
|
|
3052
|
-
}
|
|
3053
|
-
],
|
|
3054
|
-
"name": "utilizationRate",
|
|
3055
|
-
"outputs": [
|
|
3056
|
-
{
|
|
3057
|
-
"internalType": "uint256",
|
|
3058
|
-
"name": "",
|
|
3059
|
-
"type": "uint256"
|
|
3060
|
-
}
|
|
3061
|
-
],
|
|
3062
|
-
"payable": false,
|
|
3063
|
-
"stateMutability": "pure",
|
|
3064
|
-
"type": "function"
|
|
3065
|
-
}
|
|
3066
|
-
]
|
|
3067
|
-
},
|
|
3068
|
-
"JumpRateModel_base0bps_slope1000bps_jump20000bps_kink7500bps_bpy21024000": {
|
|
3069
|
-
"address": "0x20Da556A8cd887Ff3AB1AD84f4645c8F2413D884",
|
|
2817
|
+
"JumpRateModel_base0bps_slope1000bps_jump10900bps_kink8000bps_bpy21024000": {
|
|
2818
|
+
"address": "0xb1993AA3E9ee53D37096C58a4B86A8B1B6ED2F8e",
|
|
3070
2819
|
"abi": [
|
|
3071
2820
|
{
|
|
3072
2821
|
"inputs": [
|
|
@@ -3321,8 +3070,8 @@
|
|
|
3321
3070
|
}
|
|
3322
3071
|
]
|
|
3323
3072
|
},
|
|
3324
|
-
"
|
|
3325
|
-
"address": "
|
|
3073
|
+
"JumpRateModel_base0bps_slope1000bps_jump20000bps_kink7500bps_bpy10512000": {
|
|
3074
|
+
"address": "0xebb0B3Ca7c4095b1392C75e96f8Dc565c9047FAa",
|
|
3326
3075
|
"abi": [
|
|
3327
3076
|
{
|
|
3328
3077
|
"inputs": [
|
|
@@ -3572,8 +3321,515 @@
|
|
|
3572
3321
|
}
|
|
3573
3322
|
]
|
|
3574
3323
|
},
|
|
3575
|
-
"
|
|
3576
|
-
"address": "
|
|
3324
|
+
"JumpRateModel_base0bps_slope1000bps_jump20000bps_kink7500bps_bpy21024000": {
|
|
3325
|
+
"address": "0x20Da556A8cd887Ff3AB1AD84f4645c8F2413D884",
|
|
3326
|
+
"abi": [
|
|
3327
|
+
{
|
|
3328
|
+
"inputs": [
|
|
3329
|
+
{
|
|
3330
|
+
"internalType": "uint256",
|
|
3331
|
+
"name": "baseRatePerYear",
|
|
3332
|
+
"type": "uint256"
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"internalType": "uint256",
|
|
3336
|
+
"name": "multiplierPerYear",
|
|
3337
|
+
"type": "uint256"
|
|
3338
|
+
},
|
|
3339
|
+
{
|
|
3340
|
+
"internalType": "uint256",
|
|
3341
|
+
"name": "jumpMultiplierPerYear",
|
|
3342
|
+
"type": "uint256"
|
|
3343
|
+
},
|
|
3344
|
+
{
|
|
3345
|
+
"internalType": "uint256",
|
|
3346
|
+
"name": "kink_",
|
|
3347
|
+
"type": "uint256"
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
"internalType": "uint256",
|
|
3351
|
+
"name": "blocksPerYear_",
|
|
3352
|
+
"type": "uint256"
|
|
3353
|
+
}
|
|
3354
|
+
],
|
|
3355
|
+
"payable": false,
|
|
3356
|
+
"stateMutability": "nonpayable",
|
|
3357
|
+
"type": "constructor"
|
|
3358
|
+
},
|
|
3359
|
+
{
|
|
3360
|
+
"anonymous": false,
|
|
3361
|
+
"inputs": [
|
|
3362
|
+
{
|
|
3363
|
+
"indexed": false,
|
|
3364
|
+
"internalType": "uint256",
|
|
3365
|
+
"name": "baseRatePerBlock",
|
|
3366
|
+
"type": "uint256"
|
|
3367
|
+
},
|
|
3368
|
+
{
|
|
3369
|
+
"indexed": false,
|
|
3370
|
+
"internalType": "uint256",
|
|
3371
|
+
"name": "multiplierPerBlock",
|
|
3372
|
+
"type": "uint256"
|
|
3373
|
+
},
|
|
3374
|
+
{
|
|
3375
|
+
"indexed": false,
|
|
3376
|
+
"internalType": "uint256",
|
|
3377
|
+
"name": "jumpMultiplierPerBlock",
|
|
3378
|
+
"type": "uint256"
|
|
3379
|
+
},
|
|
3380
|
+
{
|
|
3381
|
+
"indexed": false,
|
|
3382
|
+
"internalType": "uint256",
|
|
3383
|
+
"name": "kink",
|
|
3384
|
+
"type": "uint256"
|
|
3385
|
+
}
|
|
3386
|
+
],
|
|
3387
|
+
"name": "NewInterestParams",
|
|
3388
|
+
"type": "event"
|
|
3389
|
+
},
|
|
3390
|
+
{
|
|
3391
|
+
"constant": true,
|
|
3392
|
+
"inputs": [],
|
|
3393
|
+
"name": "baseRatePerBlock",
|
|
3394
|
+
"outputs": [
|
|
3395
|
+
{
|
|
3396
|
+
"internalType": "uint256",
|
|
3397
|
+
"name": "",
|
|
3398
|
+
"type": "uint256"
|
|
3399
|
+
}
|
|
3400
|
+
],
|
|
3401
|
+
"payable": false,
|
|
3402
|
+
"stateMutability": "view",
|
|
3403
|
+
"type": "function"
|
|
3404
|
+
},
|
|
3405
|
+
{
|
|
3406
|
+
"constant": true,
|
|
3407
|
+
"inputs": [],
|
|
3408
|
+
"name": "blocksPerYear",
|
|
3409
|
+
"outputs": [
|
|
3410
|
+
{
|
|
3411
|
+
"internalType": "uint256",
|
|
3412
|
+
"name": "",
|
|
3413
|
+
"type": "uint256"
|
|
3414
|
+
}
|
|
3415
|
+
],
|
|
3416
|
+
"payable": false,
|
|
3417
|
+
"stateMutability": "view",
|
|
3418
|
+
"type": "function"
|
|
3419
|
+
},
|
|
3420
|
+
{
|
|
3421
|
+
"constant": true,
|
|
3422
|
+
"inputs": [
|
|
3423
|
+
{
|
|
3424
|
+
"internalType": "uint256",
|
|
3425
|
+
"name": "cash",
|
|
3426
|
+
"type": "uint256"
|
|
3427
|
+
},
|
|
3428
|
+
{
|
|
3429
|
+
"internalType": "uint256",
|
|
3430
|
+
"name": "borrows",
|
|
3431
|
+
"type": "uint256"
|
|
3432
|
+
},
|
|
3433
|
+
{
|
|
3434
|
+
"internalType": "uint256",
|
|
3435
|
+
"name": "reserves",
|
|
3436
|
+
"type": "uint256"
|
|
3437
|
+
}
|
|
3438
|
+
],
|
|
3439
|
+
"name": "getBorrowRate",
|
|
3440
|
+
"outputs": [
|
|
3441
|
+
{
|
|
3442
|
+
"internalType": "uint256",
|
|
3443
|
+
"name": "",
|
|
3444
|
+
"type": "uint256"
|
|
3445
|
+
}
|
|
3446
|
+
],
|
|
3447
|
+
"payable": false,
|
|
3448
|
+
"stateMutability": "view",
|
|
3449
|
+
"type": "function"
|
|
3450
|
+
},
|
|
3451
|
+
{
|
|
3452
|
+
"constant": true,
|
|
3453
|
+
"inputs": [
|
|
3454
|
+
{
|
|
3455
|
+
"internalType": "uint256",
|
|
3456
|
+
"name": "cash",
|
|
3457
|
+
"type": "uint256"
|
|
3458
|
+
},
|
|
3459
|
+
{
|
|
3460
|
+
"internalType": "uint256",
|
|
3461
|
+
"name": "borrows",
|
|
3462
|
+
"type": "uint256"
|
|
3463
|
+
},
|
|
3464
|
+
{
|
|
3465
|
+
"internalType": "uint256",
|
|
3466
|
+
"name": "reserves",
|
|
3467
|
+
"type": "uint256"
|
|
3468
|
+
},
|
|
3469
|
+
{
|
|
3470
|
+
"internalType": "uint256",
|
|
3471
|
+
"name": "reserveFactorMantissa",
|
|
3472
|
+
"type": "uint256"
|
|
3473
|
+
}
|
|
3474
|
+
],
|
|
3475
|
+
"name": "getSupplyRate",
|
|
3476
|
+
"outputs": [
|
|
3477
|
+
{
|
|
3478
|
+
"internalType": "uint256",
|
|
3479
|
+
"name": "",
|
|
3480
|
+
"type": "uint256"
|
|
3481
|
+
}
|
|
3482
|
+
],
|
|
3483
|
+
"payable": false,
|
|
3484
|
+
"stateMutability": "view",
|
|
3485
|
+
"type": "function"
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"constant": true,
|
|
3489
|
+
"inputs": [],
|
|
3490
|
+
"name": "isInterestRateModel",
|
|
3491
|
+
"outputs": [
|
|
3492
|
+
{
|
|
3493
|
+
"internalType": "bool",
|
|
3494
|
+
"name": "",
|
|
3495
|
+
"type": "bool"
|
|
3496
|
+
}
|
|
3497
|
+
],
|
|
3498
|
+
"payable": false,
|
|
3499
|
+
"stateMutability": "view",
|
|
3500
|
+
"type": "function"
|
|
3501
|
+
},
|
|
3502
|
+
{
|
|
3503
|
+
"constant": true,
|
|
3504
|
+
"inputs": [],
|
|
3505
|
+
"name": "jumpMultiplierPerBlock",
|
|
3506
|
+
"outputs": [
|
|
3507
|
+
{
|
|
3508
|
+
"internalType": "uint256",
|
|
3509
|
+
"name": "",
|
|
3510
|
+
"type": "uint256"
|
|
3511
|
+
}
|
|
3512
|
+
],
|
|
3513
|
+
"payable": false,
|
|
3514
|
+
"stateMutability": "view",
|
|
3515
|
+
"type": "function"
|
|
3516
|
+
},
|
|
3517
|
+
{
|
|
3518
|
+
"constant": true,
|
|
3519
|
+
"inputs": [],
|
|
3520
|
+
"name": "kink",
|
|
3521
|
+
"outputs": [
|
|
3522
|
+
{
|
|
3523
|
+
"internalType": "uint256",
|
|
3524
|
+
"name": "",
|
|
3525
|
+
"type": "uint256"
|
|
3526
|
+
}
|
|
3527
|
+
],
|
|
3528
|
+
"payable": false,
|
|
3529
|
+
"stateMutability": "view",
|
|
3530
|
+
"type": "function"
|
|
3531
|
+
},
|
|
3532
|
+
{
|
|
3533
|
+
"constant": true,
|
|
3534
|
+
"inputs": [],
|
|
3535
|
+
"name": "multiplierPerBlock",
|
|
3536
|
+
"outputs": [
|
|
3537
|
+
{
|
|
3538
|
+
"internalType": "uint256",
|
|
3539
|
+
"name": "",
|
|
3540
|
+
"type": "uint256"
|
|
3541
|
+
}
|
|
3542
|
+
],
|
|
3543
|
+
"payable": false,
|
|
3544
|
+
"stateMutability": "view",
|
|
3545
|
+
"type": "function"
|
|
3546
|
+
},
|
|
3547
|
+
{
|
|
3548
|
+
"constant": true,
|
|
3549
|
+
"inputs": [
|
|
3550
|
+
{
|
|
3551
|
+
"internalType": "uint256",
|
|
3552
|
+
"name": "cash",
|
|
3553
|
+
"type": "uint256"
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"internalType": "uint256",
|
|
3557
|
+
"name": "borrows",
|
|
3558
|
+
"type": "uint256"
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
"internalType": "uint256",
|
|
3562
|
+
"name": "reserves",
|
|
3563
|
+
"type": "uint256"
|
|
3564
|
+
}
|
|
3565
|
+
],
|
|
3566
|
+
"name": "utilizationRate",
|
|
3567
|
+
"outputs": [
|
|
3568
|
+
{
|
|
3569
|
+
"internalType": "uint256",
|
|
3570
|
+
"name": "",
|
|
3571
|
+
"type": "uint256"
|
|
3572
|
+
}
|
|
3573
|
+
],
|
|
3574
|
+
"payable": false,
|
|
3575
|
+
"stateMutability": "pure",
|
|
3576
|
+
"type": "function"
|
|
3577
|
+
}
|
|
3578
|
+
]
|
|
3579
|
+
},
|
|
3580
|
+
"JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy10512000": {
|
|
3581
|
+
"address": "0x4348FC0CBD4ab6E46311ef90ba706169e50fC804",
|
|
3582
|
+
"abi": [
|
|
3583
|
+
{
|
|
3584
|
+
"inputs": [
|
|
3585
|
+
{
|
|
3586
|
+
"internalType": "uint256",
|
|
3587
|
+
"name": "baseRatePerYear",
|
|
3588
|
+
"type": "uint256"
|
|
3589
|
+
},
|
|
3590
|
+
{
|
|
3591
|
+
"internalType": "uint256",
|
|
3592
|
+
"name": "multiplierPerYear",
|
|
3593
|
+
"type": "uint256"
|
|
3594
|
+
},
|
|
3595
|
+
{
|
|
3596
|
+
"internalType": "uint256",
|
|
3597
|
+
"name": "jumpMultiplierPerYear",
|
|
3598
|
+
"type": "uint256"
|
|
3599
|
+
},
|
|
3600
|
+
{
|
|
3601
|
+
"internalType": "uint256",
|
|
3602
|
+
"name": "kink_",
|
|
3603
|
+
"type": "uint256"
|
|
3604
|
+
}
|
|
3605
|
+
],
|
|
3606
|
+
"payable": false,
|
|
3607
|
+
"stateMutability": "nonpayable",
|
|
3608
|
+
"type": "constructor"
|
|
3609
|
+
},
|
|
3610
|
+
{
|
|
3611
|
+
"anonymous": false,
|
|
3612
|
+
"inputs": [
|
|
3613
|
+
{
|
|
3614
|
+
"indexed": false,
|
|
3615
|
+
"internalType": "uint256",
|
|
3616
|
+
"name": "baseRatePerBlock",
|
|
3617
|
+
"type": "uint256"
|
|
3618
|
+
},
|
|
3619
|
+
{
|
|
3620
|
+
"indexed": false,
|
|
3621
|
+
"internalType": "uint256",
|
|
3622
|
+
"name": "multiplierPerBlock",
|
|
3623
|
+
"type": "uint256"
|
|
3624
|
+
},
|
|
3625
|
+
{
|
|
3626
|
+
"indexed": false,
|
|
3627
|
+
"internalType": "uint256",
|
|
3628
|
+
"name": "jumpMultiplierPerBlock",
|
|
3629
|
+
"type": "uint256"
|
|
3630
|
+
},
|
|
3631
|
+
{
|
|
3632
|
+
"indexed": false,
|
|
3633
|
+
"internalType": "uint256",
|
|
3634
|
+
"name": "kink",
|
|
3635
|
+
"type": "uint256"
|
|
3636
|
+
}
|
|
3637
|
+
],
|
|
3638
|
+
"name": "NewInterestParams",
|
|
3639
|
+
"type": "event"
|
|
3640
|
+
},
|
|
3641
|
+
{
|
|
3642
|
+
"constant": true,
|
|
3643
|
+
"inputs": [],
|
|
3644
|
+
"name": "baseRatePerBlock",
|
|
3645
|
+
"outputs": [
|
|
3646
|
+
{
|
|
3647
|
+
"internalType": "uint256",
|
|
3648
|
+
"name": "",
|
|
3649
|
+
"type": "uint256"
|
|
3650
|
+
}
|
|
3651
|
+
],
|
|
3652
|
+
"payable": false,
|
|
3653
|
+
"stateMutability": "view",
|
|
3654
|
+
"type": "function"
|
|
3655
|
+
},
|
|
3656
|
+
{
|
|
3657
|
+
"constant": true,
|
|
3658
|
+
"inputs": [],
|
|
3659
|
+
"name": "blocksPerYear",
|
|
3660
|
+
"outputs": [
|
|
3661
|
+
{
|
|
3662
|
+
"internalType": "uint256",
|
|
3663
|
+
"name": "",
|
|
3664
|
+
"type": "uint256"
|
|
3665
|
+
}
|
|
3666
|
+
],
|
|
3667
|
+
"payable": false,
|
|
3668
|
+
"stateMutability": "view",
|
|
3669
|
+
"type": "function"
|
|
3670
|
+
},
|
|
3671
|
+
{
|
|
3672
|
+
"constant": true,
|
|
3673
|
+
"inputs": [
|
|
3674
|
+
{
|
|
3675
|
+
"internalType": "uint256",
|
|
3676
|
+
"name": "cash",
|
|
3677
|
+
"type": "uint256"
|
|
3678
|
+
},
|
|
3679
|
+
{
|
|
3680
|
+
"internalType": "uint256",
|
|
3681
|
+
"name": "borrows",
|
|
3682
|
+
"type": "uint256"
|
|
3683
|
+
},
|
|
3684
|
+
{
|
|
3685
|
+
"internalType": "uint256",
|
|
3686
|
+
"name": "reserves",
|
|
3687
|
+
"type": "uint256"
|
|
3688
|
+
}
|
|
3689
|
+
],
|
|
3690
|
+
"name": "getBorrowRate",
|
|
3691
|
+
"outputs": [
|
|
3692
|
+
{
|
|
3693
|
+
"internalType": "uint256",
|
|
3694
|
+
"name": "",
|
|
3695
|
+
"type": "uint256"
|
|
3696
|
+
}
|
|
3697
|
+
],
|
|
3698
|
+
"payable": false,
|
|
3699
|
+
"stateMutability": "view",
|
|
3700
|
+
"type": "function"
|
|
3701
|
+
},
|
|
3702
|
+
{
|
|
3703
|
+
"constant": true,
|
|
3704
|
+
"inputs": [
|
|
3705
|
+
{
|
|
3706
|
+
"internalType": "uint256",
|
|
3707
|
+
"name": "cash",
|
|
3708
|
+
"type": "uint256"
|
|
3709
|
+
},
|
|
3710
|
+
{
|
|
3711
|
+
"internalType": "uint256",
|
|
3712
|
+
"name": "borrows",
|
|
3713
|
+
"type": "uint256"
|
|
3714
|
+
},
|
|
3715
|
+
{
|
|
3716
|
+
"internalType": "uint256",
|
|
3717
|
+
"name": "reserves",
|
|
3718
|
+
"type": "uint256"
|
|
3719
|
+
},
|
|
3720
|
+
{
|
|
3721
|
+
"internalType": "uint256",
|
|
3722
|
+
"name": "reserveFactorMantissa",
|
|
3723
|
+
"type": "uint256"
|
|
3724
|
+
}
|
|
3725
|
+
],
|
|
3726
|
+
"name": "getSupplyRate",
|
|
3727
|
+
"outputs": [
|
|
3728
|
+
{
|
|
3729
|
+
"internalType": "uint256",
|
|
3730
|
+
"name": "",
|
|
3731
|
+
"type": "uint256"
|
|
3732
|
+
}
|
|
3733
|
+
],
|
|
3734
|
+
"payable": false,
|
|
3735
|
+
"stateMutability": "view",
|
|
3736
|
+
"type": "function"
|
|
3737
|
+
},
|
|
3738
|
+
{
|
|
3739
|
+
"constant": true,
|
|
3740
|
+
"inputs": [],
|
|
3741
|
+
"name": "isInterestRateModel",
|
|
3742
|
+
"outputs": [
|
|
3743
|
+
{
|
|
3744
|
+
"internalType": "bool",
|
|
3745
|
+
"name": "",
|
|
3746
|
+
"type": "bool"
|
|
3747
|
+
}
|
|
3748
|
+
],
|
|
3749
|
+
"payable": false,
|
|
3750
|
+
"stateMutability": "view",
|
|
3751
|
+
"type": "function"
|
|
3752
|
+
},
|
|
3753
|
+
{
|
|
3754
|
+
"constant": true,
|
|
3755
|
+
"inputs": [],
|
|
3756
|
+
"name": "jumpMultiplierPerBlock",
|
|
3757
|
+
"outputs": [
|
|
3758
|
+
{
|
|
3759
|
+
"internalType": "uint256",
|
|
3760
|
+
"name": "",
|
|
3761
|
+
"type": "uint256"
|
|
3762
|
+
}
|
|
3763
|
+
],
|
|
3764
|
+
"payable": false,
|
|
3765
|
+
"stateMutability": "view",
|
|
3766
|
+
"type": "function"
|
|
3767
|
+
},
|
|
3768
|
+
{
|
|
3769
|
+
"constant": true,
|
|
3770
|
+
"inputs": [],
|
|
3771
|
+
"name": "kink",
|
|
3772
|
+
"outputs": [
|
|
3773
|
+
{
|
|
3774
|
+
"internalType": "uint256",
|
|
3775
|
+
"name": "",
|
|
3776
|
+
"type": "uint256"
|
|
3777
|
+
}
|
|
3778
|
+
],
|
|
3779
|
+
"payable": false,
|
|
3780
|
+
"stateMutability": "view",
|
|
3781
|
+
"type": "function"
|
|
3782
|
+
},
|
|
3783
|
+
{
|
|
3784
|
+
"constant": true,
|
|
3785
|
+
"inputs": [],
|
|
3786
|
+
"name": "multiplierPerBlock",
|
|
3787
|
+
"outputs": [
|
|
3788
|
+
{
|
|
3789
|
+
"internalType": "uint256",
|
|
3790
|
+
"name": "",
|
|
3791
|
+
"type": "uint256"
|
|
3792
|
+
}
|
|
3793
|
+
],
|
|
3794
|
+
"payable": false,
|
|
3795
|
+
"stateMutability": "view",
|
|
3796
|
+
"type": "function"
|
|
3797
|
+
},
|
|
3798
|
+
{
|
|
3799
|
+
"constant": true,
|
|
3800
|
+
"inputs": [
|
|
3801
|
+
{
|
|
3802
|
+
"internalType": "uint256",
|
|
3803
|
+
"name": "cash",
|
|
3804
|
+
"type": "uint256"
|
|
3805
|
+
},
|
|
3806
|
+
{
|
|
3807
|
+
"internalType": "uint256",
|
|
3808
|
+
"name": "borrows",
|
|
3809
|
+
"type": "uint256"
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"internalType": "uint256",
|
|
3813
|
+
"name": "reserves",
|
|
3814
|
+
"type": "uint256"
|
|
3815
|
+
}
|
|
3816
|
+
],
|
|
3817
|
+
"name": "utilizationRate",
|
|
3818
|
+
"outputs": [
|
|
3819
|
+
{
|
|
3820
|
+
"internalType": "uint256",
|
|
3821
|
+
"name": "",
|
|
3822
|
+
"type": "uint256"
|
|
3823
|
+
}
|
|
3824
|
+
],
|
|
3825
|
+
"payable": false,
|
|
3826
|
+
"stateMutability": "pure",
|
|
3827
|
+
"type": "function"
|
|
3828
|
+
}
|
|
3829
|
+
]
|
|
3830
|
+
},
|
|
3831
|
+
"JumpRateModel_base0bps_slope1000bps_jump25000bps_kink8000bps_bpy21024000": {
|
|
3832
|
+
"address": "0xaE81cA4E6eA7f7E72165dc68dBa2A0B1465E3B1f",
|
|
3577
3833
|
"abi": [
|
|
3578
3834
|
{
|
|
3579
3835
|
"inputs": [
|
|
@@ -40095,6 +40351,302 @@
|
|
|
40095
40351
|
}
|
|
40096
40352
|
]
|
|
40097
40353
|
},
|
|
40354
|
+
"TwoKinks_base0bps_slope1000bps_kink8000bps_slope27000bps_base20bps_kink29000bps_jump30000bps_bpy21024000": {
|
|
40355
|
+
"address": "0x0e072E068851279b4573A3e445FA259d9d47f03C",
|
|
40356
|
+
"abi": [
|
|
40357
|
+
{
|
|
40358
|
+
"inputs": [
|
|
40359
|
+
{
|
|
40360
|
+
"internalType": "int256",
|
|
40361
|
+
"name": "baseRatePerYear_",
|
|
40362
|
+
"type": "int256"
|
|
40363
|
+
},
|
|
40364
|
+
{
|
|
40365
|
+
"internalType": "int256",
|
|
40366
|
+
"name": "multiplierPerYear_",
|
|
40367
|
+
"type": "int256"
|
|
40368
|
+
},
|
|
40369
|
+
{
|
|
40370
|
+
"internalType": "int256",
|
|
40371
|
+
"name": "kink1_",
|
|
40372
|
+
"type": "int256"
|
|
40373
|
+
},
|
|
40374
|
+
{
|
|
40375
|
+
"internalType": "int256",
|
|
40376
|
+
"name": "multiplier2PerYear_",
|
|
40377
|
+
"type": "int256"
|
|
40378
|
+
},
|
|
40379
|
+
{
|
|
40380
|
+
"internalType": "int256",
|
|
40381
|
+
"name": "baseRate2PerYear_",
|
|
40382
|
+
"type": "int256"
|
|
40383
|
+
},
|
|
40384
|
+
{
|
|
40385
|
+
"internalType": "int256",
|
|
40386
|
+
"name": "kink2_",
|
|
40387
|
+
"type": "int256"
|
|
40388
|
+
},
|
|
40389
|
+
{
|
|
40390
|
+
"internalType": "int256",
|
|
40391
|
+
"name": "jumpMultiplierPerYear_",
|
|
40392
|
+
"type": "int256"
|
|
40393
|
+
},
|
|
40394
|
+
{
|
|
40395
|
+
"internalType": "int256",
|
|
40396
|
+
"name": "blocksPerYear_",
|
|
40397
|
+
"type": "int256"
|
|
40398
|
+
}
|
|
40399
|
+
],
|
|
40400
|
+
"stateMutability": "nonpayable",
|
|
40401
|
+
"type": "constructor"
|
|
40402
|
+
},
|
|
40403
|
+
{
|
|
40404
|
+
"inputs": [],
|
|
40405
|
+
"name": "InvalidKink",
|
|
40406
|
+
"type": "error"
|
|
40407
|
+
},
|
|
40408
|
+
{
|
|
40409
|
+
"inputs": [],
|
|
40410
|
+
"name": "NegativeValueNotAllowed",
|
|
40411
|
+
"type": "error"
|
|
40412
|
+
},
|
|
40413
|
+
{
|
|
40414
|
+
"inputs": [],
|
|
40415
|
+
"name": "BASE_RATE_2_PER_BLOCK",
|
|
40416
|
+
"outputs": [
|
|
40417
|
+
{
|
|
40418
|
+
"internalType": "int256",
|
|
40419
|
+
"name": "",
|
|
40420
|
+
"type": "int256"
|
|
40421
|
+
}
|
|
40422
|
+
],
|
|
40423
|
+
"stateMutability": "view",
|
|
40424
|
+
"type": "function"
|
|
40425
|
+
},
|
|
40426
|
+
{
|
|
40427
|
+
"inputs": [],
|
|
40428
|
+
"name": "BASE_RATE_PER_BLOCK",
|
|
40429
|
+
"outputs": [
|
|
40430
|
+
{
|
|
40431
|
+
"internalType": "int256",
|
|
40432
|
+
"name": "",
|
|
40433
|
+
"type": "int256"
|
|
40434
|
+
}
|
|
40435
|
+
],
|
|
40436
|
+
"stateMutability": "view",
|
|
40437
|
+
"type": "function"
|
|
40438
|
+
},
|
|
40439
|
+
{
|
|
40440
|
+
"inputs": [],
|
|
40441
|
+
"name": "BLOCKS_PER_YEAR",
|
|
40442
|
+
"outputs": [
|
|
40443
|
+
{
|
|
40444
|
+
"internalType": "int256",
|
|
40445
|
+
"name": "",
|
|
40446
|
+
"type": "int256"
|
|
40447
|
+
}
|
|
40448
|
+
],
|
|
40449
|
+
"stateMutability": "view",
|
|
40450
|
+
"type": "function"
|
|
40451
|
+
},
|
|
40452
|
+
{
|
|
40453
|
+
"inputs": [],
|
|
40454
|
+
"name": "JUMP_MULTIPLIER_PER_BLOCK",
|
|
40455
|
+
"outputs": [
|
|
40456
|
+
{
|
|
40457
|
+
"internalType": "int256",
|
|
40458
|
+
"name": "",
|
|
40459
|
+
"type": "int256"
|
|
40460
|
+
}
|
|
40461
|
+
],
|
|
40462
|
+
"stateMutability": "view",
|
|
40463
|
+
"type": "function"
|
|
40464
|
+
},
|
|
40465
|
+
{
|
|
40466
|
+
"inputs": [],
|
|
40467
|
+
"name": "KINK_1",
|
|
40468
|
+
"outputs": [
|
|
40469
|
+
{
|
|
40470
|
+
"internalType": "int256",
|
|
40471
|
+
"name": "",
|
|
40472
|
+
"type": "int256"
|
|
40473
|
+
}
|
|
40474
|
+
],
|
|
40475
|
+
"stateMutability": "view",
|
|
40476
|
+
"type": "function"
|
|
40477
|
+
},
|
|
40478
|
+
{
|
|
40479
|
+
"inputs": [],
|
|
40480
|
+
"name": "KINK_2",
|
|
40481
|
+
"outputs": [
|
|
40482
|
+
{
|
|
40483
|
+
"internalType": "int256",
|
|
40484
|
+
"name": "",
|
|
40485
|
+
"type": "int256"
|
|
40486
|
+
}
|
|
40487
|
+
],
|
|
40488
|
+
"stateMutability": "view",
|
|
40489
|
+
"type": "function"
|
|
40490
|
+
},
|
|
40491
|
+
{
|
|
40492
|
+
"inputs": [],
|
|
40493
|
+
"name": "MULTIPLIER_2_PER_BLOCK",
|
|
40494
|
+
"outputs": [
|
|
40495
|
+
{
|
|
40496
|
+
"internalType": "int256",
|
|
40497
|
+
"name": "",
|
|
40498
|
+
"type": "int256"
|
|
40499
|
+
}
|
|
40500
|
+
],
|
|
40501
|
+
"stateMutability": "view",
|
|
40502
|
+
"type": "function"
|
|
40503
|
+
},
|
|
40504
|
+
{
|
|
40505
|
+
"inputs": [],
|
|
40506
|
+
"name": "MULTIPLIER_PER_BLOCK",
|
|
40507
|
+
"outputs": [
|
|
40508
|
+
{
|
|
40509
|
+
"internalType": "int256",
|
|
40510
|
+
"name": "",
|
|
40511
|
+
"type": "int256"
|
|
40512
|
+
}
|
|
40513
|
+
],
|
|
40514
|
+
"stateMutability": "view",
|
|
40515
|
+
"type": "function"
|
|
40516
|
+
},
|
|
40517
|
+
{
|
|
40518
|
+
"inputs": [],
|
|
40519
|
+
"name": "RATE_1",
|
|
40520
|
+
"outputs": [
|
|
40521
|
+
{
|
|
40522
|
+
"internalType": "int256",
|
|
40523
|
+
"name": "",
|
|
40524
|
+
"type": "int256"
|
|
40525
|
+
}
|
|
40526
|
+
],
|
|
40527
|
+
"stateMutability": "view",
|
|
40528
|
+
"type": "function"
|
|
40529
|
+
},
|
|
40530
|
+
{
|
|
40531
|
+
"inputs": [],
|
|
40532
|
+
"name": "RATE_2",
|
|
40533
|
+
"outputs": [
|
|
40534
|
+
{
|
|
40535
|
+
"internalType": "int256",
|
|
40536
|
+
"name": "",
|
|
40537
|
+
"type": "int256"
|
|
40538
|
+
}
|
|
40539
|
+
],
|
|
40540
|
+
"stateMutability": "view",
|
|
40541
|
+
"type": "function"
|
|
40542
|
+
},
|
|
40543
|
+
{
|
|
40544
|
+
"inputs": [
|
|
40545
|
+
{
|
|
40546
|
+
"internalType": "uint256",
|
|
40547
|
+
"name": "cash",
|
|
40548
|
+
"type": "uint256"
|
|
40549
|
+
},
|
|
40550
|
+
{
|
|
40551
|
+
"internalType": "uint256",
|
|
40552
|
+
"name": "borrows",
|
|
40553
|
+
"type": "uint256"
|
|
40554
|
+
},
|
|
40555
|
+
{
|
|
40556
|
+
"internalType": "uint256",
|
|
40557
|
+
"name": "reserves",
|
|
40558
|
+
"type": "uint256"
|
|
40559
|
+
}
|
|
40560
|
+
],
|
|
40561
|
+
"name": "getBorrowRate",
|
|
40562
|
+
"outputs": [
|
|
40563
|
+
{
|
|
40564
|
+
"internalType": "uint256",
|
|
40565
|
+
"name": "",
|
|
40566
|
+
"type": "uint256"
|
|
40567
|
+
}
|
|
40568
|
+
],
|
|
40569
|
+
"stateMutability": "view",
|
|
40570
|
+
"type": "function"
|
|
40571
|
+
},
|
|
40572
|
+
{
|
|
40573
|
+
"inputs": [
|
|
40574
|
+
{
|
|
40575
|
+
"internalType": "uint256",
|
|
40576
|
+
"name": "cash",
|
|
40577
|
+
"type": "uint256"
|
|
40578
|
+
},
|
|
40579
|
+
{
|
|
40580
|
+
"internalType": "uint256",
|
|
40581
|
+
"name": "borrows",
|
|
40582
|
+
"type": "uint256"
|
|
40583
|
+
},
|
|
40584
|
+
{
|
|
40585
|
+
"internalType": "uint256",
|
|
40586
|
+
"name": "reserves",
|
|
40587
|
+
"type": "uint256"
|
|
40588
|
+
},
|
|
40589
|
+
{
|
|
40590
|
+
"internalType": "uint256",
|
|
40591
|
+
"name": "reserveFactorMantissa",
|
|
40592
|
+
"type": "uint256"
|
|
40593
|
+
}
|
|
40594
|
+
],
|
|
40595
|
+
"name": "getSupplyRate",
|
|
40596
|
+
"outputs": [
|
|
40597
|
+
{
|
|
40598
|
+
"internalType": "uint256",
|
|
40599
|
+
"name": "",
|
|
40600
|
+
"type": "uint256"
|
|
40601
|
+
}
|
|
40602
|
+
],
|
|
40603
|
+
"stateMutability": "view",
|
|
40604
|
+
"type": "function"
|
|
40605
|
+
},
|
|
40606
|
+
{
|
|
40607
|
+
"inputs": [],
|
|
40608
|
+
"name": "isInterestRateModel",
|
|
40609
|
+
"outputs": [
|
|
40610
|
+
{
|
|
40611
|
+
"internalType": "bool",
|
|
40612
|
+
"name": "",
|
|
40613
|
+
"type": "bool"
|
|
40614
|
+
}
|
|
40615
|
+
],
|
|
40616
|
+
"stateMutability": "view",
|
|
40617
|
+
"type": "function"
|
|
40618
|
+
},
|
|
40619
|
+
{
|
|
40620
|
+
"inputs": [
|
|
40621
|
+
{
|
|
40622
|
+
"internalType": "uint256",
|
|
40623
|
+
"name": "cash",
|
|
40624
|
+
"type": "uint256"
|
|
40625
|
+
},
|
|
40626
|
+
{
|
|
40627
|
+
"internalType": "uint256",
|
|
40628
|
+
"name": "borrows",
|
|
40629
|
+
"type": "uint256"
|
|
40630
|
+
},
|
|
40631
|
+
{
|
|
40632
|
+
"internalType": "uint256",
|
|
40633
|
+
"name": "reserves",
|
|
40634
|
+
"type": "uint256"
|
|
40635
|
+
}
|
|
40636
|
+
],
|
|
40637
|
+
"name": "utilizationRate",
|
|
40638
|
+
"outputs": [
|
|
40639
|
+
{
|
|
40640
|
+
"internalType": "uint256",
|
|
40641
|
+
"name": "",
|
|
40642
|
+
"type": "uint256"
|
|
40643
|
+
}
|
|
40644
|
+
],
|
|
40645
|
+
"stateMutability": "pure",
|
|
40646
|
+
"type": "function"
|
|
40647
|
+
}
|
|
40648
|
+
]
|
|
40649
|
+
},
|
|
40098
40650
|
"TwoKinks_base0bps_slope350bps_kink8000bps_slope217500bps_base20bps_kink29000bps_jump30000bps_bpy10512000": {
|
|
40099
40651
|
"address": "0x46D9269a8Db9623ac2baAB305B119a39BAfd8668",
|
|
40100
40652
|
"abi": [
|