PrimaryLendingPlatformWrappedTokenGatewayZksync
Overview
License: MIT
The PrimaryLendingPlatformWrappedTokenGatewayZksync contract is the contract that provides the functionality for lending platform system using WETH for Zksync network.
Contract that provides the functionality for lending platform system using WETH. Inherit from PrimaryLendingPlatformWrappedTokenGatewayCore.
Functions info
withdraw (0x4143d0f6)
Allows users to withdraw their WETH tokens and receive Ether and update related token's prices.
Parameters:
borrow (0xbeadd4d8)
Borrows lending tokens for the caller and converts them to Ether and update related token's prices.
Parameters:
supply (0xbb27018d)
Allows users to supply ETH to the PrimaryLendingPlatformWrappedTokenGatewayCore contract. The ETH is converted to WETH and then transferred to the user's address. The supplyFromRelatedContract function of the PrimaryLendingPlatform contract is called to supply the WETH to the user.
Parameters:
redeem (0x964ccc4d)
Redeems the specified amount of bLendingToken for the underlying asset (WETH) and transfers it to the caller.
Parameters:
redeemUnderlying (0x0c2e2ed6)
Redeems the underlying asset from the Primary Lending Platform and transfers it to the caller.
Parameters:
liquidate (0xeca52d59)
Liquidates a position by providing project tokens in Ether and update related token's prices.
Parameters:
leveragedBorrowWithProjectETH (0x291fd0dc)
Borrows lending tokens in a leveraged position using project tokens in Ether and update related token's prices.
Parameters:
Last updated