WPunkGateway
Punk
WPunk
Pool
proxy
punk
wpunk
pool
constructor
Sets the WETH address and the PoolAddressesProvider address. Infinite approves pool.
Parameters
initialize
supplyPunk
supplies (deposits) WPunk into the reserve, using native Punk. A corresponding amount of the overlying asset (xTokens) is minted.
Parameters
withdrawPunk
_withdraws the WPUNK reserves of msg.sender.
Parameters
acceptBidWithCredit
Implements the acceptBidWithCredit feature. AcceptBidWithCredit allows users to accept a leveraged bid on ParaSpace NFT marketplace. Users can submit leveraged bid and pay at most (1 - LTV) * $NFT
The nft receiver just needs to do the downpayment
Parameters
batchAcceptBidWithCredit
Implements the batchAcceptBidWithCredit feature. AcceptBidWithCredit allows users to accept a leveraged bid on ParaSpace NFT marketplace. Users can submit leveraged bid and pay at most (1 - LTV) * $NFT
The nft receiver just needs to do the downpayment
Parameters
emergencyERC721TokenTransfer
transfer ERC721 from the utility contract, for ERC721 recovery in case of stuck tokens due direct transfers to the contract address.
Parameters
emergencyPunkTransfer
transfer native Punk from the utility contract, for native Punk recovery in case of stuck Punk due selfdestructs or transfer punk to pre-computated contract address before deployment.
Parameters
getWPunkAddress
Get WPunk address used by WPunkGateway