astaria-core
astaria-core copied to clipboard
NFT blacklisting attack test
- WithdrawProxy Blacklisting
- Craft a test of an NFT
- commitToLien
- Configure a liquidation to happen to a withdrawProxy
- Bid on auction and settlement fails
- Wait till after
finalAuctionEnd
- call claim() and then redeem()
- validate that the LP lost the proportional value of the NFT
- validate that the PublicVault lost the proportional value of the NFT
- validate that the PublicVault yIntercept reflects the lost proportional value of the NFT
- validate that the PublicVault totalAssets() reflects the lost proportional value of the NFT
- PublicVault Blacklisting
- Craft a test of an NFT
- commitToLien
- Configure a liquidation to happen without a withdrawProxy
- Bid on auction and settlement fails
- Wait till after
finalAuctionEnd
- validate that the PublicVault lost the proportional value of the NFT
- validate that the PublicVault yIntercept reflects the lost proportional value of the NFT
- validate that the PublicVault totalAssets() reflects the lost proportional value of the NFT
@dangerousfood is this still available to work on? Would love to give it a shot :)