PortfolioBridgeMain

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0x220ecf71 at 18037895
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 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots

No balances found for "PortfolioBridgeMain"

No transactions found for "PortfolioBridgeMain"


Functions
Getter at block 23275080
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
 
getTokenList(view returns (bytes32[])
 
hasStoredPayload(view returns (bool)
paused(view returns (bool)
false
Read-only
bridgeEnabled(uint8view returns (bool)
getBridgeFee(uint8 _bridgeuint32 _dstChainListOrgChainIdbytes32uint256view returns (uint256 bridgeFee)
getConfig(uint16 _versionuint16 _chainIdaddressuint256 _configTypeview returns (bytes)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getTrustedRemoteAddress(uint16 _remoteChainIdview returns (bytes)
hasRole(bytes32 roleaddress accountview returns (bool)
hasStoredPayload(uint16 _srcChainIdbytes _srcAddressview returns (bool)
isBridgeProviderEnabled(uint8 _bridgeview returns (bool)
isLZTrustedRemote(uint16 _srcChainIdbytes _srcAddressview returns (bool)
lzTrustedRemoteLookup(uint16view returns (bytes)
remoteParams(uint16view returns (uint16 lzRemoteChainIduint32 chainListOrgChainIdbool userPaysFeeuint256 gasForDestination)
supportsInterface(bytes4 interfaceIdview returns (bool)
unpackXFerMessage(bytes _payloadpure returns (struct IPortfolioXFER xfer)
State-modifying
enableBridgeProvider(uint8 _bridgebool _enable
forceResumeReceive(uint16 _srcChainIdbytes _srcAddress
grantRole(bytes32 roleaddress account
initialize(address _endpoint
lzDestroyAndRecoverFunds(uint16 _srcChainIdbytes _payload
lzReceive(uint16 _srcChainIdbytes _srcAddressuint64bytes _payload
lzRetryPayload(uint16 _srcChainIdbytes _payload
pause(
refundNative(
renounceRole(bytes32 roleaddress account
retryPayload(uint16 _srcChainIdbytes _srcAddressbytes _payload
revokeRole(bytes32 _roleaddress _address
sendXChainMessage(uint32 _dstChainListOrgChainIduint8 _bridgestruct IPortfolioXFER _xferaddress _userFeePayerpayable 
setBridgeParam(bytes32 _symboluint256 _feeuint256 _gasSwapRatiobool _usedForGasSwap
setConfig(uint16 _versionuint16 _chainIduint256 _configTypebytes _config
setDefaultBridgeProvider(uint8 _bridge
setDefaultDestinationChain(uint8 _bridgeuint32 _dstChainIdBridgeAssigned
setGasForDestination(uint8 _bridgeuint32 _dstChainIdBridgeAssigneduint256 _gas
setLzEndPoint(address _endpoint
setMainnetRFQ(address _mainnetRfq
setPortfolio(address _portfolio
setReceiveVersion(uint16 _version
setSendVersion(uint16 _version
setTrustedRemoteAddress(uint8 _bridgeuint32 _dstChainIdBridgeAssignedbytes _remoteAddressuint32 _chainListOrgChainIduint256 _gasForDestinationbool _userPaysFee
setUserPaysFeeForDestination(uint8 _bridgeuint32 _dstChainIdBridgeAssignedbool _userPaysFee
unpause(
Events
DefaultChainIdUpdated(uint8 bridgeuint32 destinationLzChainId
GasForDestinationLzReceiveUpdated(uint8 bridgeuint32 destinationChainIduint256 gasForDestination
Initialized(uint8 version
LzSetTrustedRemoteAddress(uint16 destinationLzChainIdbytes remoteAddressuint32 chainListOrgChainIduint256 gasForDestinationLzReceivebool userPaysFee
Paused(address account
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleUpdated(string indexed namestring actionNamebytes32 updatedRoleaddress updatedAddress
Unpaused(address account
UserPaysFeeForDestinationUpdated(uint8 bridgeuint32 destinationChainIdbool userPaysFee
XChainXFerMessage(uint8 versionuint8 indexed bridgeuint8 indexed msgDirectionuint32 indexed remoteChainIduint256 messageFeestruct IPortfolioXFER xfer
Constructor

This contract contains no constructor objects.

Fallback and receive
fallback(
receive(
Errors

This contract contains no error objects.