Skip to content

Commit

Permalink
Merge pull request #38 from BendDAO/develop
Browse files Browse the repository at this point in the history
1.Optimize Liquidation Mechanism;
2.Split LendPool to libraries;
3.Split LendPoolConfigurator to libraries;
4.Optimize NFT Oracle;
  • Loading branch information
thorseldon authored May 19, 2022
2 parents 9563e37 + 909d0d4 commit bb07d12
Show file tree
Hide file tree
Showing 81 changed files with 14,004 additions and 12,387 deletions.
98 changes: 55 additions & 43 deletions abis/BendProtocolDataProvider.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,49 +281,61 @@
"name": "getNftConfigurationData",
"outputs": [
{
"internalType": "uint256",
"name": "ltv",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationThreshold",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationBonus",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "redeemDuration",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "auctionDuration",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "redeemFine",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "redeemThreshold",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isActive",
"type": "bool"
},
{
"internalType": "bool",
"name": "isFrozen",
"type": "bool"
"components": [
{
"internalType": "uint256",
"name": "ltv",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationThreshold",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "liquidationBonus",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "redeemDuration",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "auctionDuration",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "redeemFine",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "redeemThreshold",
"type": "uint256"
},
{
"internalType": "uint256",
"name": "minBidFine",
"type": "uint256"
},
{
"internalType": "bool",
"name": "isActive",
"type": "bool"
},
{
"internalType": "bool",
"name": "isFrozen",
"type": "bool"
}
],
"internalType": "struct BendProtocolDataProvider.NftConfigurationData",
"name": "configData",
"type": "tuple"
}
],
"stateMutability": "view",
Expand Down
39 changes: 0 additions & 39 deletions abis/LendPoolAddressesProvider.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,19 +125,6 @@
"name": "LendPoolConfiguratorUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "address",
"name": "newAddress",
"type": "address"
}
],
"name": "LendPoolLiquidatorUpdated",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -395,19 +382,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLendPoolLiquidator",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getLendPoolLoan",
Expand Down Expand Up @@ -648,19 +622,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "liquidator",
"type": "address"
}
],
"name": "setLendPoolLiquidator",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
Expand Down
Loading

0 comments on commit bb07d12

Please sign in to comment.