Skip to content

Commit bb07d12

Browse files
authored
Merge pull request #38 from BendDAO/develop
1.Optimize Liquidation Mechanism; 2.Split LendPool to libraries; 3.Split LendPoolConfigurator to libraries; 4.Optimize NFT Oracle;
2 parents 9563e37 + 909d0d4 commit bb07d12

File tree

81 files changed

+14004
-12387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+14004
-12387
lines changed

abis/BendProtocolDataProvider.json

Lines changed: 55 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -281,49 +281,61 @@
281281
"name": "getNftConfigurationData",
282282
"outputs": [
283283
{
284-
"internalType": "uint256",
285-
"name": "ltv",
286-
"type": "uint256"
287-
},
288-
{
289-
"internalType": "uint256",
290-
"name": "liquidationThreshold",
291-
"type": "uint256"
292-
},
293-
{
294-
"internalType": "uint256",
295-
"name": "liquidationBonus",
296-
"type": "uint256"
297-
},
298-
{
299-
"internalType": "uint256",
300-
"name": "redeemDuration",
301-
"type": "uint256"
302-
},
303-
{
304-
"internalType": "uint256",
305-
"name": "auctionDuration",
306-
"type": "uint256"
307-
},
308-
{
309-
"internalType": "uint256",
310-
"name": "redeemFine",
311-
"type": "uint256"
312-
},
313-
{
314-
"internalType": "uint256",
315-
"name": "redeemThreshold",
316-
"type": "uint256"
317-
},
318-
{
319-
"internalType": "bool",
320-
"name": "isActive",
321-
"type": "bool"
322-
},
323-
{
324-
"internalType": "bool",
325-
"name": "isFrozen",
326-
"type": "bool"
284+
"components": [
285+
{
286+
"internalType": "uint256",
287+
"name": "ltv",
288+
"type": "uint256"
289+
},
290+
{
291+
"internalType": "uint256",
292+
"name": "liquidationThreshold",
293+
"type": "uint256"
294+
},
295+
{
296+
"internalType": "uint256",
297+
"name": "liquidationBonus",
298+
"type": "uint256"
299+
},
300+
{
301+
"internalType": "uint256",
302+
"name": "redeemDuration",
303+
"type": "uint256"
304+
},
305+
{
306+
"internalType": "uint256",
307+
"name": "auctionDuration",
308+
"type": "uint256"
309+
},
310+
{
311+
"internalType": "uint256",
312+
"name": "redeemFine",
313+
"type": "uint256"
314+
},
315+
{
316+
"internalType": "uint256",
317+
"name": "redeemThreshold",
318+
"type": "uint256"
319+
},
320+
{
321+
"internalType": "uint256",
322+
"name": "minBidFine",
323+
"type": "uint256"
324+
},
325+
{
326+
"internalType": "bool",
327+
"name": "isActive",
328+
"type": "bool"
329+
},
330+
{
331+
"internalType": "bool",
332+
"name": "isFrozen",
333+
"type": "bool"
334+
}
335+
],
336+
"internalType": "struct BendProtocolDataProvider.NftConfigurationData",
337+
"name": "configData",
338+
"type": "tuple"
327339
}
328340
],
329341
"stateMutability": "view",

abis/LendPoolAddressesProvider.json

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -125,19 +125,6 @@
125125
"name": "LendPoolConfiguratorUpdated",
126126
"type": "event"
127127
},
128-
{
129-
"anonymous": false,
130-
"inputs": [
131-
{
132-
"indexed": true,
133-
"internalType": "address",
134-
"name": "newAddress",
135-
"type": "address"
136-
}
137-
],
138-
"name": "LendPoolLiquidatorUpdated",
139-
"type": "event"
140-
},
141128
{
142129
"anonymous": false,
143130
"inputs": [
@@ -395,19 +382,6 @@
395382
"stateMutability": "view",
396383
"type": "function"
397384
},
398-
{
399-
"inputs": [],
400-
"name": "getLendPoolLiquidator",
401-
"outputs": [
402-
{
403-
"internalType": "address",
404-
"name": "",
405-
"type": "address"
406-
}
407-
],
408-
"stateMutability": "view",
409-
"type": "function"
410-
},
411385
{
412386
"inputs": [],
413387
"name": "getLendPoolLoan",
@@ -648,19 +622,6 @@
648622
"stateMutability": "nonpayable",
649623
"type": "function"
650624
},
651-
{
652-
"inputs": [
653-
{
654-
"internalType": "address",
655-
"name": "liquidator",
656-
"type": "address"
657-
}
658-
],
659-
"name": "setLendPoolLiquidator",
660-
"outputs": [],
661-
"stateMutability": "nonpayable",
662-
"type": "function"
663-
},
664625
{
665626
"inputs": [
666627
{

0 commit comments

Comments
 (0)