ava-labs / teleporter-token-bridge

Token bridging cross-chain built on top of Teleporter
Other
10 stars 5 forks source link

Bridge sender receive tokens #136

Closed cam-schultz closed 1 month ago

cam-schultz commented 1 month ago

Why this should be merged

Fixes #133

How this works

Adds originBridgeAddress to receiveTokens, SingleHopCallMessage, MultiHopSendMessage, and TokensAndCallSent. TeleporterTokenSource verifies that the bridge address provided in the payload matches originSenderAddress in _receiveTeleporterMessage

How this was tested

CI, added unit test to hit the new assert

How is this documented

N/A