Safe Haskell | None |
---|---|
Language | Haskell2010 |
Example trace for the uniswap contract
Synopsis
- uniswapTrace :: EmulatorTrace ()
- setupTokens :: Contract (Maybe (Last OneShotCurrency)) CurrencySchema CurrencyError ()
- tokenNames :: [TokenName]
- wallets :: [Wallet]
- increaseTransactionLimits :: Params -> Params
- increaseTransactionLimitsOpts :: CheckOptions -> CheckOptions
Documentation
uniswapTrace :: EmulatorTrace () Source #
Set up a liquidity pool and call the "add" endpoint
setupTokens :: Contract (Maybe (Last OneShotCurrency)) CurrencySchema CurrencyError () Source #
Create some sample tokens and distribute them to the emulated wallets
tokenNames :: [TokenName] Source #
increaseTransactionLimits :: Params -> Params Source #
increaseTransactionLimitsOpts :: CheckOptions -> CheckOptions Source #