PrimaryLendingPlatformWrappedTokenGatewayZksync

Verified contract

Implementation

Active on Base with 1 txns
Deployed by via 0x467bac8a at 22731159
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots

No balances found for "PrimaryLendingPlatformWrappedTokenGatewayZksync"

0xc35ad576382c1a043598261c5553b78f72ae307664c3bc2b4cb364b57617def9
From

Functions
Getter at block 22772762
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MODERATOR_ROLE(view returns (bytes32)
0x71f3d55856e4058ed06ee057d79ada615f65cdf5f9ee88181b914225088f834f
WETH(view returns (address)
0x4200000000000000000000000000000000000006
pitLeverage(view returns (address)
0x2c5ccd0610210cf10b1d6956daa9b2d488f963d9
pitLiquidation(view returns (address)
0x4e9a53dac191351a4a394819c47b1f1502e61954
primaryLendingPlatform(view returns (address)
0xe825a8fb4ca80e3001595099eee48d6782822f0d
Read-only
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
supportsInterface(bytes4 interfaceIdview returns (bool)
State-modifying
borrow(address projectTokenuint256 lendingTokenAmountbytes32[] priceIdsbytes[] updateDatapayable 
deposit(payable 
grantRole(bytes32 roleaddress account
initialize(address pitaddress wethaddress pitLiquidationAddressaddress pitLeverageAddress
leveragedBorrowWithProjectETH(struct AssetInfo _lendingInfouint256 _notionalExposureuint256 _marginCollateralAmountbytes[] buyCalldatauint8 leverageTypebytes32[] priceIdsbytes[] updateDatauint256 updateFeepayable 
liquidate(address _accountstruct AssetInfo _prjInfostruct AssetInfo _lendingInfouint256 _lendingTokenAmountbytes32[] priceIdsbytes[] updateDatauint256 updateFeebytes[] buyCalldatapayable returns (address[] assetsuint256[] assetAmounts)
redeem(uint256 bLendingTokenAmountbytes32[] priceIdsbytes[] updateDatapayable 
redeemUnderlying(uint256 lendingTokenAmountbytes32[] priceIdsbytes[] updateDatapayable 
renounceRole(bytes32 roleaddress account
repay(address projectTokenpayable 
revokeRole(bytes32 roleaddress account
setPITLeverage(address newLeverage
setPITLiquidation(address newLiquidation
setPrimaryLendingPlatform(address newPit
setWETH(address _weth
supply(uint256 supplyAmountbytes32[] priceIdsbytes[] updateDatauint256 updateFeepayable 
withdraw(uint256 projectTokenAmountbytes32[] priceIdsbytes[] updateDatapayable 
Events
Initialized(uint8 version
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
SetPITLeverage(address newPITLeverage
SetPITLiquidation(address newPITLiquidation
SetPrimaryLendingPlatform(address newPrimaryLendingPlatform
SetWETH(address newWETH
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.