Skip to content

Commit

Permalink
RC8 Updates (#75)
Browse files Browse the repository at this point in the history
* remove momp from pool; add referencePrice to liquidationAuction; remove kickMomp and kickerAward

* remove dead code

* update abis and networks.json; remove alreadyTaken from auctionInfo

* update ganache addresses

* fix mock interface

* update start block

* update remaining addresses

* nit fix new line

* update local env version

* new Goerli address for RC8 grant fund

---------

Co-authored-by: Mike <mikehathaway@makerdao.com>
Co-authored-by: Ed Noepel <ed@noepel.net>
  • Loading branch information
3 people authored Oct 30, 2023
1 parent 5b610e7 commit d73b0ec
Show file tree
Hide file tree
Showing 20 changed files with 102 additions and 658 deletions.
33 changes: 20 additions & 13 deletions abis/ERC20Pool.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
"name": "AuctionNotCleared",
"type": "error"
},
{
"inputs": [],
"name": "AuctionNotTakeable",
"type": "error"
},
{
"inputs": [],
"name": "AuctionPriceGtBucketPrice",
Expand Down Expand Up @@ -319,11 +324,6 @@
"name": "ReserveAuctionTooSoon",
"type": "error"
},
{
"inputs": [],
"name": "TakeNotPastCooldown",
"type": "error"
},
{
"inputs": [],
"name": "TransactionExpired",
Expand Down Expand Up @@ -1265,7 +1265,7 @@
},
{
"internalType": "uint256",
"name": "kickMomp_",
"name": "referencePrice_",
"type": "uint256"
},
{
Expand All @@ -1287,11 +1287,6 @@
"internalType": "address",
"name": "prev_",
"type": "address"
},
{
"internalType": "bool",
"name": "alreadyTaken_",
"type": "bool"
}
],
"stateMutability": "view",
Expand Down Expand Up @@ -2212,7 +2207,13 @@
}
],
"name": "repayDebt",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "amountRepaid_",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -2324,7 +2325,13 @@
}
],
"name": "take",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "collateralTaken_",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down
33 changes: 20 additions & 13 deletions abis/ERC721Pool.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@
"name": "AuctionNotCleared",
"type": "error"
},
{
"inputs": [],
"name": "AuctionNotTakeable",
"type": "error"
},
{
"inputs": [],
"name": "AuctionPriceGtBucketPrice",
Expand Down Expand Up @@ -270,11 +275,6 @@
"name": "ReserveAuctionTooSoon",
"type": "error"
},
{
"inputs": [],
"name": "TakeNotPastCooldown",
"type": "error"
},
{
"inputs": [],
"name": "TransactionExpired",
Expand Down Expand Up @@ -1241,7 +1241,7 @@
},
{
"internalType": "uint256",
"name": "kickMomp_",
"name": "referencePrice_",
"type": "uint256"
},
{
Expand All @@ -1263,11 +1263,6 @@
"internalType": "address",
"name": "prev_",
"type": "address"
},
{
"internalType": "bool",
"name": "alreadyTaken_",
"type": "bool"
}
],
"stateMutability": "view",
Expand Down Expand Up @@ -2251,7 +2246,13 @@
}
],
"name": "repayDebt",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "amountRepaid_",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down Expand Up @@ -2363,7 +2364,13 @@
}
],
"name": "take",
"outputs": [],
"outputs": [
{
"internalType": "uint256",
"name": "collateralTaken_",
"type": "uint256"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
Expand Down
19 changes: 0 additions & 19 deletions abis/PoolInfoUtils.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,25 +484,6 @@
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "ajnaPool_",
"type": "address"
}
],
"name": "momp",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down
Loading

0 comments on commit d73b0ec

Please sign in to comment.