PunkGateway
useIf you need to use CryptoPunks in the protocol, it must first be wrapped into WPUNKS. The WPUNKS Gateway contract is a helper contract to easily wrap and unwrap CryptoPunks as necessary when interacting with the protocol, since only ERC721 is used within protocol interactions.
Methods
deposit
Allows users to deposit CryptoPunks into pool as collateral asset in contract.
call params
withdraw
Allows users to withdraw CryptoPunks from pool.
call params
liquidateWithEth
Liquidates a un-health CryptoPunks loan with native ETH.
call params
liquidateWithWeth
Liquidates a un-health punk loan with ERC20 reserve.
call params
Last updated