function executeMessage(bytes32 _srcAddress, uint256 _srcChainId, bytes _message, address _executor) external nonpayable
Executes a message called by MessageBus (MessageBusReceiver)
Must be called by MessageBug & sent from src chain by a trusted srcApp
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 |
function gaiaTears() external view returns (address)
Name |
Type |
Description |
_0 |
address |
undefined |
function getTrustedRemote(uint256 _chainId) external view returns (bytes32 trustedRemote)
Name |
Type |
Description |
_chainId |
uint256 |
undefined |
Name |
Type |
Description |
trustedRemote |
bytes32 |
undefined |
function messageBus() external view returns (address)
Name |
Type |
Description |
_0 |
address |
undefined |
function msgGasLimit() external view returns (uint256)
Name |
Type |
Description |
_0 |
uint256 |
undefined |
function owner() external view returns (address)
Returns the address of the current owner.
Name |
Type |
Description |
_0 |
address |
undefined |
function renounceOwnership() external nonpayable
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.
function sendTear(uint256 _tearsAmount, uint256 _dstChainId) external payable
Name |
Type |
Description |
_tearsAmount |
uint256 |
undefined |
_dstChainId |
uint256 |
undefined |
function setMessageBus(address _messageBus) external nonpayable
Name |
Type |
Description |
_messageBus |
address |
undefined |
function setMsgGasLimit(uint256 _msgGasLimit) external nonpayable
Name |
Type |
Description |
_msgGasLimit |
uint256 |
undefined |
function setTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress) external nonpayable
Name |
Type |
Description |
_srcChainId |
uint256 |
undefined |
_srcAddress |
bytes32 |
undefined |
function transferOwnership(address newOwner) external nonpayable
Transfers ownership of the contract to a new account (newOwner
). Can only be called by the current owner.
Name |
Type |
Description |
newOwner |
address |
undefined |
event GaiaArrived(address indexed dstUser, uint256 arrivalChainId)
Name |
Type |
Description |
dstUser indexed |
address |
undefined |
arrivalChainId |
uint256 |
undefined |
event GaiaSent(address indexed dstUser, uint256 arrivalChainId)
Name |
Type |
Description |
dstUser indexed |
address |
undefined |
arrivalChainId |
uint256 |
undefined |
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Name |
Type |
Description |
previousOwner indexed |
address |
undefined |
newOwner indexed |
address |
undefined |
event SetTrustedRemote(uint256 _srcChainId, bytes32 _srcAddress)
Name |
Type |
Description |
_srcChainId |
uint256 |
undefined |
_srcAddress |
bytes32 |
undefined |