The amount of tokens being transferred (in the smallest unit)
The message body
The keccak256 hash of the message body
The committed root when this message was dispatched.
The destination domain for this message
The destination and nonceof this message.
The domain from which the message was sent
The messageHash committed to the tree in the Home contract.
The index of the leaf in the contract.
The domain nonce for this message
The domain from which the message was sent. Alias for from
The ID used for prefilling this transfer message.
The receipt of the TX that dispatched this message
The identifer for the recipient for this message
The identifier for the sender of this message
The identifier for the recipient of the tokens
The hash of the transaction that dispatched this message
Resolves the asset that is being transfered
WARNING: do not hold references to these contract, as they will not be reconnected in the event the chain connection changes.
The resolved token information.
Resolves an interface for the asset that is being transfered on the chain TO WHICH it is being transferred
WARNING: do not hold references to this contract, as it will not be reconnected in the event the chain connection changes.
The resolved token interface.
Resolves an interface for the asset that is being transfered on the chain FROM WHICH it is being transferred
WARNING: do not hold references to this contract, as it will not be reconnected in the event the chain connection changes.
The resolved token interface.
Returns the timestamp after which it is possible to process this message.
Note: return the timestamp after which it is possible to process messages within an Update. The timestamp is most relevant during the time AFTER the Update has been Relayed to the Replica and BEFORE the message in question has been Processed.
Considerations:
The timestamp at which a message can confirm
Check if the transfer has been prefilled using the fast liquidity system.
true if the transfer has been prefilled. Else false.
Checks whether the message has been delivered.
true if processed, else false.
Get all lifecycle events associated with this message
An array of {@link AnnotatedLifecycleEvent} objects
Get the Home Update
event associated with this message (if any)
An {@link AnnotatedUpdate} (if any)
Get the Replica Process
event associated with this message (if any)
An {@link AnnotatedProcess} (if any)
Get the Replica Update
event associated with this message (if any)
An {@link AnnotatedUpdate} (if any)
Retrieve the replica status of this message.
The {@link ReplicaMessageStatus} corresponding to the solidity status of the message.
Returns a promise that resolves when the message has been delivered.
WARNING: May never resolve. Oftern takes hours to resolve.
Polling options.
Instantiate one or more messages from a receipt.
the {@link NomadContext} object to use
the domain on which the receipt was logged
the receipt
an array of {@link NomadMessage} objects
Instantiate one or more messages from a tx hash.
the {@link NomadContext} object to use
the domain on which the receipt was logged
an array of {@link NomadMessage} objects
Instantiate EXACTLY one message from a receipt.
the {@link NomadContext} object to use
the domain on which the receipt was logged
the receipt
an array of {@link NomadMessage} objects
Instantiate EXACTLY one message from a transaction has.
the {@link NomadContext} object to use
the domain on which the receipt was logged
an array of {@link NomadMessage} objects
Attempt to instantiate a BridgeMessage from an existing {@link nomadMessage}
The {@link NomadContext} to use.
The existing nomadMessage
A Bridge message
Attempt to instantiate some BridgeMessages from a transaction receipt
The {@link NomadContext} to use.
the domain on which the receipt was logged
The receipt
an array of BridgeMessage objects
Attempt to instantiate some BridgeMessages from a transaction hash by retrieving and parsing the receipt.
The {@link NomadContext} to use.
the domain on which the receipt was logged
The transaction hash
an array of BridgeMessage objects
Attempt to instantiate EXACTLY one BridgeMessage from a transaction receipt
The BridgeContext to use.
the domain on which the receipt was logged
The receipt
an array of BridgeMessage objects
Attempt to instantiate EXACTLY one BridgeMessages from a transaction hash by retrieving and parsing the receipt.
The {@link NomadContext} to use.
the domain on which the receipt was logged
The transaction hash
an array of BridgeMessage objects
Generated using TypeDoc
A TransferMessage extends the BridgeMessage with transfer-specific functionality.