BridgeReceiver
BridgeReceiver for evm based chain ( ETH, KLAYTN, etc.. )

Event

event BridgeReceiverResult(bool success, bytes fromAddr, address tokenAddress, bytes data);
Event for the result of executing bridging data requested by user
  • bool success : Result of Bridge Receiver Execution
  • bytes fromAddr : Address of the chain requesting bridging
  • address tokenAddress : Token Information to be executed bridging
  • bytes data : Execution data requested for bridging

Interface

interface OrbitBridgeReceiver {
function onTokenBridgeReceived(address _token, uint256 _value, bytes calldata _data) external returns(uint);
function onNFTBridgeReceived(address _token, uint256 _tokenId, bytes calldata _data) external returns(uint);
}
Copy link