Skip to content

Commit

Permalink
add example to hyperlane-message-id Pact Native
Browse files Browse the repository at this point in the history
  • Loading branch information
chessai committed Feb 13, 2024
1 parent eec6720 commit 01253f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Pact/Native.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,9 @@ hyperlaneMessageIdDef = defGasRNative
"hyperlane-message-id"
hyperlaneMessageId'
(funType tTyString [("x", tTyObjectAny)])
[]
[
"(hyperlane-message-id {\"destinationDomain\": 1,\"nonce\": 325,\"originDomain\": 626,\"recipient\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\",\"sender\": \"0x6b622d746f6b656e2d726f75746572\",\"tokenMessage\": {\"amount\": 10000000000000000000.0,\"recipient\": \"0x71C7656EC7ab88b098defB751B7401B5f6d8976F\"},\"version\": 1})"
]
"Get the Message Id of a Hyperlane Message object."
where
hyperlaneMessageId' :: RNativeFun e
Expand Down

0 comments on commit 01253f0

Please sign in to comment.