PayloadHelper
Last updated
Was this helpful?
Last updated
Was this helpful?
PayloadHelper
facilitates the decoding of various types of payload data Superform sends between chains. This helper is not called in Superform core contracts, and doesn't serve a purpose in the protocol, but it enriches data hosted in and verifies off-chain processing by Keepers. Third party integrators can use PayloadHelper to extract and understanding payload information.
There are 3 kinds of payloads associated with Superform at the moment:
CoreStateRegistryPayload
: payloads that originated from the chain's
StateSyncerPayload
: payloads associated with the transaction history on any implementation
This function decodes payloads that arrived to the source chain's .
Decodes basic transaction information for transactions that left SuperformRouter.
decodeTimeLockPayload
This function decodes payloads where the timelock was successfully sent from source to destination.
decodeTimeLockFailedPayload
This function decodes payloads where the timelock failed and was messaged back to the source chain.
This function decodes the associated associated with any given payload that arrived to the chain's .