MagpieCelerBridge
Last updated
Last updated
MagpieCelerBridge
, which serves as an intermediary to handle deposits, withdrawals, and refunds of assets between Magpie Aggregator and Celer Network.
It has two modifiers:
Restricts functions to only be called by the Magpie Aggregator.
Restricts functions to only be called by the Celer Network.
It contains the following functions:
Allows the owner to update the contract settings.
Input
Field | Type | Description |
---|---|---|
Handles the deposit process by receiving funds, approving tokens, sending them to the liquidity bridge, and notifying the message bus.
Input
Handles withdrawal requests from deposited amounts.
Input
Output
Receives transfers and updates the deposited amounts accordingly.
Input
Output
Manages refunds to the designated recipient.
Input
Output
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
The withdrawal amount