LibCeler
Last updated
Last updated
These functions manage the configuration, addition, and execution of Celer bridge transactions. They handle the interaction with the Celer bridge and logs events related to their actions. Additionally, they decode payload data and perform the necessary transaction actions for both inbound and outbound asset transfers between Celer networks and other networks. The functions include validations to ensure the Celer bridge is active and functional before executing these transactions.
Updates the Celer bridge settings in the application storage.
Input
Field | Type | Description |
---|---|---|
Adds Celer chain IDs to the application storage.
Input
Field | Type | Description |
---|---|---|
Adds Magpie Celer bridge addresses to the application storage.
Input
Field | Type | Description |
---|---|---|
Decodes the payload used in a Celer bridge transaction.
Input
Output
Executes the bridge in operation for a Celer bridge, facilitating the transfer from one network to another.
Input
Performs the bridge out operation, transferring assets from the Celer network back to the original network.
Input
Output
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
An array containing identifiers for networks.
An array containing chain identifiers corresponding to the networks in networkIds
.
An array containing identifiers for networks.
An array containing chain identifiers corresponding to the networks in networkIds
.
A bytes array that represents the input payload.
The amount received after the bridgining