send
method of debridgeGate
smart-contract deployed on all supported blockchains. The method can be called by any arbitrary address β either EOA or smart contracts.address(0)
for chain base assets like ETH)False
. (Reserved for future use by governance to accept fees in the form of the transferred token) _autoParams
is a structure that allows passing arbitrary messages and call data to be executed as an external call to the receiver address in the destination chain. This structure also enables setting an executionFee, a reward suggested to any wallet or keeper that will complete the transaction on the target chain. It enables a crypto-economic design where gas fees are paid from the blockchain where the transaction is initiated. The _autoParams
field has the following structure:data
PROXY_WITH_SENDER
should be set whenever the receiving smart contract should check whether the message sender is trusted or not. If the flag was set during the claim transaction on the destination chain, the deBridge protocol will automatically store the submissionNativeSender address and submissionChainIdFrom, so that the receiving smart contract can read the properties and validate if the sender is trusted.