PortfolioBridgeMain
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
7
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
0x0000…0000
-
variable spans 49 additional slots
0x0000…0000
0x0000…0000
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "PortfolioBridgeMain"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PortfolioBridgeMain"
ABI
ABI objects
Getter at block 23275080 getTokenList() view returns (bytes32[]) hasStoredPayload() view returns (bool)
BRIDGE_ADMIN_ROLE() view returns (bytes32)
0x751b795d24b92e3d92d1d0d8f2885f4e9c9c269da350af36ae6b49069babf4bf
BRIDGE_USER_ROLE() view returns (bytes32)
0xb0f04d2e44f4b417ab78712b52802767b073e39f75dba9f6e3a31125b053f026
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
VERSION() pure returns (bytes32)
0x332e322e30000000000000000000000000000000000000000000000000000000
getDefaultBridgeProvider() view returns (uint8)
0
getDefaultDestinationChain() view returns (uint32 chainListOrgChainId)
0
getLzEndPoint() view returns (address)
0x0000000000000000000000000000000000000000
getMainnetRfq() view returns (address)
0x0000000000000000000000000000000000000000
getPortfolio() view returns (address)
0x0000000000000000000000000000000000000000
paused() view returns (bool)
false
Read-only
bridgeEnabled(uint8) view returns (bool)
getBridgeFee(uint8 _bridge, uint32 _dstChainListOrgChainId, bytes32, uint256) view returns (uint256 bridgeFee)
getConfig(uint16 _version, uint16 _chainId, address, uint256 _configType) view returns (bytes)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getTrustedRemoteAddress(uint16 _remoteChainId) view returns (bytes)
hasRole(bytes32 role, address account) view returns (bool)
hasStoredPayload(uint16 _srcChainId, bytes _srcAddress) view returns (bool)
isBridgeProviderEnabled(uint8 _bridge) view returns (bool)
isLZTrustedRemote(uint16 _srcChainId, bytes _srcAddress) view returns (bool)
lzTrustedRemoteLookup(uint16) view returns (bytes)
remoteParams(uint16) view returns (uint16 lzRemoteChainId, uint32 chainListOrgChainId, bool userPaysFee, uint256 gasForDestination)
supportsInterface(bytes4 interfaceId) view returns (bool)
unpackXFerMessage(bytes _payload) pure returns (struct IPortfolioXFER xfer)
State-modifying
Events enableBridgeProvider(uint8 _bridge, bool _enable)
forceResumeReceive(uint16 _srcChainId, bytes _srcAddress)
grantRole(bytes32 role, address account)
initialize(address _endpoint)
lzDestroyAndRecoverFunds(uint16 _srcChainId, bytes _payload)
lzReceive(uint16 _srcChainId, bytes _srcAddress, uint64, bytes _payload)
lzRetryPayload(uint16 _srcChainId, bytes _payload)
pause()
refundNative()
renounceRole(bytes32 role, address account)
retryPayload(uint16 _srcChainId, bytes _srcAddress, bytes _payload)
revokeRole(bytes32 _role, address _address)
sendXChainMessage(uint32 _dstChainListOrgChainId, uint8 _bridge, struct IPortfolioXFER _xfer, address _userFeePayer) payable
setBridgeParam(bytes32 _symbol, uint256 _fee, uint256 _gasSwapRatio, bool _usedForGasSwap)
setConfig(uint16 _version, uint16 _chainId, uint256 _configType, bytes _config)
setDefaultBridgeProvider(uint8 _bridge)
setDefaultDestinationChain(uint8 _bridge, uint32 _dstChainIdBridgeAssigned)
setGasForDestination(uint8 _bridge, uint32 _dstChainIdBridgeAssigned, uint256 _gas)
setLzEndPoint(address _endpoint)
setMainnetRFQ(address _mainnetRfq)
setPortfolio(address _portfolio)
setReceiveVersion(uint16 _version)
setSendVersion(uint16 _version)
setTrustedRemoteAddress(uint8 _bridge, uint32 _dstChainIdBridgeAssigned, bytes _remoteAddress, uint32 _chainListOrgChainId, uint256 _gasForDestination, bool _userPaysFee)
setUserPaysFeeForDestination(uint8 _bridge, uint32 _dstChainIdBridgeAssigned, bool _userPaysFee)
unpause()
DefaultChainIdUpdated(uint8 bridge, uint32 destinationLzChainId)
GasForDestinationLzReceiveUpdated(uint8 bridge, uint32 destinationChainId, uint256 gasForDestination)
Initialized(uint8 version)
LzSetTrustedRemoteAddress(uint16 destinationLzChainId, bytes remoteAddress, uint32 chainListOrgChainId, uint256 gasForDestinationLzReceive, bool userPaysFee)
Paused(address account)
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)
RoleUpdated(string indexed name, string actionName, bytes32 updatedRole, address updatedAddress)
Unpaused(address account)
UserPaysFeeForDestinationUpdated(uint8 bridge, uint32 destinationChainId, bool userPaysFee)
XChainXFerMessage(uint8 version, uint8 indexed bridge, uint8 indexed msgDirection, uint32 indexed remoteChainId, uint256 messageFee, struct IPortfolioXFER xfer)
This contract contains no constructor objects.
fallback()
receive()
This contract contains no error objects.