TradableSettingsMessageAdapter
- this contract is used to relay messages from the base chain to the registered side chains
- it also contains functions to register contracts that are permitted to send messages through it and also vaults that messages can be sent to.
function setSettingsProvider(address newSettingsProvider) external { ..... }
Name | Type | Description |
newSettingsProvider | address | address of the new settings provider contract |
function removeAcceptedCaller(address caller) external { ..... }
Name | Type | Description |
caller | address | address of client that is being removed from list of users that can make use of the TradableSettingsMessageAdapter contract |
function addAcceptedCaller(address caller) external { ..... }
Name | Type | Description |
caller | address | address of the client that is being added to the list of users that can make use of the TradableSettingsMessageAdapter contract |
function sendMessage(uint16 _destinationChainId, address destinationVault, bytes memory payload) external { ..... }
Name | Type | Description |
_destinationChainId | uint16 | chain identifier of the chain the contract recieving the message being sent is hosted |
destinationVault | address | address of the recieving contract of the message being sent |
payload | bytes | byte encoding of the message to be sent |