This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Contract endpoints that generate different kinds of errors for the log: | |
| -- logAMessage produces a log message from a wallet | |
| -- submitInvalidTxn submits an invalid txn which should result in a | |
| -- "Validation failed" message throwWalletAPIError throws an error from | |
| -- a wallet (client) | |
| import Language.PlutusTx.Prelude | |
| import qualified Data.Map as Map | |
| import qualified Data.Set as Set |