|
| XRPAmount | reserve (jtx::Env &env, std::uint32_t count) const |
| |
| XRPAmount | ammCrtFee (jtx::Env &env) const |
| |
| jtx::Env | pathTestEnv () |
| |
| Json::Value | find_paths_request (jtx::Env &env, jtx::Account const &src, jtx::Account const &dst, STAmount const &saDstAmount, std::optional< STAmount > const &saSendMax=std::nullopt, std::optional< Currency > const &saSrcCurrency=std::nullopt) |
| |
| std::tuple< STPathSet, STAmount, STAmount > | find_paths (jtx::Env &env, jtx::Account const &src, jtx::Account const &dst, STAmount const &saDstAmount, std::optional< STAmount > const &saSendMax=std::nullopt, std::optional< Currency > const &saSrcCurrency=std::nullopt) |
| |
| void | testAMM (std::function< void(jtx::AMM &, jtx::Env &)> &&cb, std::optional< std::pair< STAmount, STAmount >> const &pool=std::nullopt, std::uint16_t tfee=0, std::optional< jtx::ter > const &ter=std::nullopt, std::optional< FeatureBitset > const &features=std::nullopt) |
| | testAMM() funds 30,000XRP and 30,000IOU for each non-XRP asset to Alice and Carol More...
|
| |
Definition at line 45 of file AMMExtended_test.cpp.
◆ testRmFundedOffer()
| void ripple::test::AMMExtended_test::testRmFundedOffer |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testEnforceNoRipple()
| void ripple::test::AMMExtended_test::testEnforceNoRipple |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testFillModes()
| void ripple::test::AMMExtended_test::testFillModes |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testOfferCrossWithXRP()
| void ripple::test::AMMExtended_test::testOfferCrossWithXRP |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testOfferCrossWithLimitOverride()
| void ripple::test::AMMExtended_test::testOfferCrossWithLimitOverride |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testCurrencyConversionEntire()
| void ripple::test::AMMExtended_test::testCurrencyConversionEntire |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testCurrencyConversionInParts()
| void ripple::test::AMMExtended_test::testCurrencyConversionInParts |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testCrossCurrencyStartXRP()
| void ripple::test::AMMExtended_test::testCrossCurrencyStartXRP |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testCrossCurrencyEndXRP()
| void ripple::test::AMMExtended_test::testCrossCurrencyEndXRP |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testCrossCurrencyBridged()
| void ripple::test::AMMExtended_test::testCrossCurrencyBridged |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testOfferFeesConsumeFunds()
| void ripple::test::AMMExtended_test::testOfferFeesConsumeFunds |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testOfferCreateThenCross()
| void ripple::test::AMMExtended_test::testOfferCreateThenCross |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testSellFlagBasic()
| void ripple::test::AMMExtended_test::testSellFlagBasic |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testSellFlagExceedLimit()
| void ripple::test::AMMExtended_test::testSellFlagExceedLimit |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testGatewayCrossCurrency()
| void ripple::test::AMMExtended_test::testGatewayCrossCurrency |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testBridgedCross()
| void ripple::test::AMMExtended_test::testBridgedCross |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testSellWithFillOrKill()
| void ripple::test::AMMExtended_test::testSellWithFillOrKill |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testTransferRateOffer()
| void ripple::test::AMMExtended_test::testTransferRateOffer |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testSelfIssueOffer()
| void ripple::test::AMMExtended_test::testSelfIssueOffer |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testBadPathAssert()
| void ripple::test::AMMExtended_test::testBadPathAssert |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testDirectToDirectPath()
| void ripple::test::AMMExtended_test::testDirectToDirectPath |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testRequireAuth()
| void ripple::test::AMMExtended_test::testRequireAuth |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testMissingAuth()
| void ripple::test::AMMExtended_test::testMissingAuth |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testOffers()
| void ripple::test::AMMExtended_test::testOffers |
( |
| ) |
|
|
private |
◆ path_find_consume_all()
| void ripple::test::AMMExtended_test::path_find_consume_all |
( |
| ) |
|
|
private |
◆ via_offers_via_gateway()
| void ripple::test::AMMExtended_test::via_offers_via_gateway |
( |
| ) |
|
|
private |
◆ receive_max()
| void ripple::test::AMMExtended_test::receive_max |
( |
| ) |
|
|
private |
◆ path_find_01()
| void ripple::test::AMMExtended_test::path_find_01 |
( |
| ) |
|
|
private |
◆ path_find_02()
| void ripple::test::AMMExtended_test::path_find_02 |
( |
| ) |
|
|
private |
◆ path_find_05()
| void ripple::test::AMMExtended_test::path_find_05 |
( |
| ) |
|
|
private |
◆ path_find_06()
| void ripple::test::AMMExtended_test::path_find_06 |
( |
| ) |
|
|
private |
◆ testFalseDry()
| void ripple::test::AMMExtended_test::testFalseDry |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testBookStep()
| void ripple::test::AMMExtended_test::testBookStep |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testTransferRate()
| void ripple::test::AMMExtended_test::testTransferRate |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testTransferRateNoOwnerFee()
| void ripple::test::AMMExtended_test::testTransferRateNoOwnerFee |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testLimitQuality()
| void ripple::test::AMMExtended_test::testLimitQuality |
( |
| ) |
|
|
private |
◆ testXRPPathLoop()
| void ripple::test::AMMExtended_test::testXRPPathLoop |
( |
| ) |
|
|
private |
◆ testStepLimit()
| void ripple::test::AMMExtended_test::testStepLimit |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ test_convert_all_of_an_asset()
| void ripple::test::AMMExtended_test::test_convert_all_of_an_asset |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testPayment()
| void ripple::test::AMMExtended_test::testPayment |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testPayIOU()
| void ripple::test::AMMExtended_test::testPayIOU |
( |
| ) |
|
|
private |
◆ testRippleState()
| void ripple::test::AMMExtended_test::testRippleState |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testGlobalFreeze()
| void ripple::test::AMMExtended_test::testGlobalFreeze |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testOffersWhenFrozen()
| void ripple::test::AMMExtended_test::testOffersWhenFrozen |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testTxMultisign()
| void ripple::test::AMMExtended_test::testTxMultisign |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testToStrand()
| void ripple::test::AMMExtended_test::testToStrand |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testRIPD1373()
| void ripple::test::AMMExtended_test::testRIPD1373 |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testLoop()
| void ripple::test::AMMExtended_test::testLoop |
( |
FeatureBitset |
features | ) |
|
|
private |
◆ testPaths()
| void ripple::test::AMMExtended_test::testPaths |
( |
| ) |
|
|
private |
◆ testFlow()
| void ripple::test::AMMExtended_test::testFlow |
( |
| ) |
|
|
private |
◆ testCrossingLimits()
| void ripple::test::AMMExtended_test::testCrossingLimits |
( |
| ) |
|
|
private |
◆ testDeliverMin()
| void ripple::test::AMMExtended_test::testDeliverMin |
( |
| ) |
|
|
private |
◆ testDepositAuth()
| void ripple::test::AMMExtended_test::testDepositAuth |
( |
| ) |
|
|
private |
◆ testFreeze()
| void ripple::test::AMMExtended_test::testFreeze |
( |
| ) |
|
|
private |
◆ testMultisign()
| void ripple::test::AMMExtended_test::testMultisign |
( |
| ) |
|
|
private |
◆ testPayStrand()
| void ripple::test::AMMExtended_test::testPayStrand |
( |
| ) |
|
|
private |
◆ run()
| void ripple::test::AMMExtended_test::run |
( |
| ) |
|
|
overrideprivate |
◆ reserve()
◆ ammCrtFee()
◆ pathTestEnv()
| jtx::Env ripple::test::jtx::AMMTest::pathTestEnv |
( |
| ) |
|
|
protectedinherited |
◆ find_paths_request()
◆ find_paths()
◆ testAMM()
testAMM() funds 30,000XRP and 30,000IOU for each non-XRP asset to Alice and Carol
Definition at line 101 of file AMMTest.cpp.
◆ gw
◆ carol
◆ alice
◆ bob
◆ USD
| const jtx::IOU ripple::test::jtx::AMMTestBase::USD |
|
protectedinherited |
◆ EUR
| const jtx::IOU ripple::test::jtx::AMMTestBase::EUR |
|
protectedinherited |
◆ GBP
| const jtx::IOU ripple::test::jtx::AMMTestBase::GBP |
|
protectedinherited |
◆ BTC
| const jtx::IOU ripple::test::jtx::AMMTestBase::BTC |
|
protectedinherited |
◆ BAD
| const jtx::IOU ripple::test::jtx::AMMTestBase::BAD |
|
protectedinherited |