PrimaryLendingPlatformWrappedTokenGatewayZksync
Verified contract
Implementation
Active on
Base with 1 txns
Storage
Map
Table
Raw
Constants and immutables
4
Slot
XX
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
0xe825…2f0d
0x4200…0006
0x4e9a…1954
0x2c5c…63d9
Balances ($0.00)
No balances found for "PrimaryLendingPlatformWrappedTokenGatewayZksync"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20870520 | 2 months ago | | | 0 | 0.0000011944543 |
ABI
ABI objects
Getter at block 22906324
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 role) view returns (bytes32)
getTotalOutstanding(address user, address projectToken) view returns (uint256 outstanding)
hasRole(bytes32 role, address account) view returns (bool)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events borrow(address projectToken, uint256 lendingTokenAmount, bytes32[] priceIds, bytes[] updateData) payable
deposit() payable
grantRole(bytes32 role, address account)
initialize(address pit, address weth, address pitLiquidationAddress, address pitLeverageAddress)
leveragedBorrowWithProjectETH(struct AssetInfo _lendingInfo, uint256 _notionalExposure, uint256 _marginCollateralAmount, bytes[] buyCalldata, uint8 leverageType, bytes32[] priceIds, bytes[] updateData, uint256 updateFee) payable
liquidate(address _account, struct AssetInfo _prjInfo, struct AssetInfo _lendingInfo, uint256 _lendingTokenAmount, bytes32[] priceIds, bytes[] updateData, uint256 updateFee, bytes[] buyCalldata) payable returns (address[] assets, uint256[] assetAmounts)
redeem(uint256 bLendingTokenAmount, bytes32[] priceIds, bytes[] updateData) payable
redeemUnderlying(uint256 lendingTokenAmount, bytes32[] priceIds, bytes[] updateData) payable
renounceRole(bytes32 role, address account)
repay(address projectToken, uint256 lendingTokenAmount) payable
revokeRole(bytes32 role, address account)
setPITLeverage(address newLeverage)
setPITLiquidation(address newLiquidation)
setPrimaryLendingPlatform(address newPit)
setWETH(address _weth)
supply(uint256 supplyAmount, bytes32[] priceIds, bytes[] updateData, uint256 updateFee) payable
withdraw(uint256 projectTokenAmount, bytes32[] priceIds, bytes[] updateData) payable
Initialized(uint8 version)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetPITLeverage(address newPITLeverage)
SetPITLiquidation(address newPITLiquidation)
SetPrimaryLendingPlatform(address newPrimaryLendingPlatform)
SetWETH(address newWETH)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.