BatchMessageSender
Example app of sending multiple messages in one transaction
Methods
executeMessage
Executes a message called by MessageBus (MessageBusReceiver)
Must be called by MessageBug & sent from src chain by a trusted srcApp
Parameters
getTrustedRemote
Parameters
Returns
messageBus
Returns
owner
Returns the address of the current owner.
Returns
renounceOwnership
Leaves the contract without owner. It will not be possible to call onlyOwner
functions anymore. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby removing any functionality that is only available to the owner.
sendMultipleMessages
Parameters
setMessageBus
Parameters
setTrustedRemote
Parameters
transferOwnership
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Parameters
Events
OwnershipTransferred
Parameters
SetTrustedRemote
Parameters
Last updated