PingPong
Methods
disable
function disable() external nonpayable
executeMessage
function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) external nonpayable
Called by MessageBus (MessageBusReceiver)
Parameters
Name
Type
Description
_srcAddress
bytes32
The bytes32 address of the source app contract
_srcChainId
uint256
The source chain ID where the transfer is originated from
_message
bytes
Arbitrary message bytes originated from and encoded by the source app contract
_executor
address
Address who called the MessageBus execution function
maxPings
function maxPings() external view returns (uint256)
Returns
Name
Type
Description
_0
uint256
undefined
messageBus
function messageBus() external view returns (contract IMessageBus)
Returns
Name
Type
Description
_0
contract IMessageBus
undefined
numPings
function numPings() external view returns (uint256)
Returns
Name
Type
Description
_0
uint256
undefined
ping
function ping(uint256 _dstChainId, address _dstPingPongAddr, uint256 pings) external nonpayable
Parameters
Name
Type
Description
_dstChainId
uint256
undefined
_dstPingPongAddr
address
undefined
pings
uint256
undefined
pingsEnabled
function pingsEnabled() external view returns (bool)
Returns
Name
Type
Description
_0
bool
undefined
Events
Ping
event Ping(uint256 pings)
Parameters
Name
Type
Description
pings
uint256
undefined
Last updated
Was this helpful?