|
| 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 40 of file AMM_test.cpp.
◆ testInstanceCreate()
| void ripple::test::AMM_test::testInstanceCreate |
( |
| ) |
|
|
private |
◆ testInvalidInstance()
| void ripple::test::AMM_test::testInvalidInstance |
( |
| ) |
|
|
private |
◆ testInvalidDeposit()
| void ripple::test::AMM_test::testInvalidDeposit |
( |
| ) |
|
|
private |
◆ testDeposit()
| void ripple::test::AMM_test::testDeposit |
( |
| ) |
|
|
private |
◆ testInvalidWithdraw()
| void ripple::test::AMM_test::testInvalidWithdraw |
( |
| ) |
|
|
private |
◆ testWithdraw()
| void ripple::test::AMM_test::testWithdraw |
( |
| ) |
|
|
private |
◆ testInvalidFeeVote()
| void ripple::test::AMM_test::testInvalidFeeVote |
( |
| ) |
|
|
private |
◆ testFeeVote()
| void ripple::test::AMM_test::testFeeVote |
( |
| ) |
|
|
private |
◆ testInvalidBid()
| void ripple::test::AMM_test::testInvalidBid |
( |
| ) |
|
|
private |
◆ testBid()
| void ripple::test::AMM_test::testBid |
( |
| ) |
|
|
private |
◆ testInvalidAMMPayment()
| void ripple::test::AMM_test::testInvalidAMMPayment |
( |
| ) |
|
|
private |
◆ testBasicPaymentEngine()
| void ripple::test::AMM_test::testBasicPaymentEngine |
( |
| ) |
|
|
private |
◆ testAMMTokens()
| void ripple::test::AMM_test::testAMMTokens |
( |
| ) |
|
|
private |
◆ testAmendment()
| void ripple::test::AMM_test::testAmendment |
( |
| ) |
|
|
private |
◆ testFlags()
| void ripple::test::AMM_test::testFlags |
( |
| ) |
|
|
private |
◆ testRippling()
| void ripple::test::AMM_test::testRippling |
( |
| ) |
|
|
private |
◆ testAMMAndCLOB()
| void ripple::test::AMM_test::testAMMAndCLOB |
( |
| ) |
|
|
private |
◆ testTradingFee()
| void ripple::test::AMM_test::testTradingFee |
( |
| ) |
|
|
private |
◆ testAdjustedTokens()
| void ripple::test::AMM_test::testAdjustedTokens |
( |
| ) |
|
|
private |
◆ testAutoDelete()
| void ripple::test::AMM_test::testAutoDelete |
( |
| ) |
|
|
private |
◆ testClawback()
| void ripple::test::AMM_test::testClawback |
( |
| ) |
|
|
private |
◆ testAMMID()
| void ripple::test::AMM_test::testAMMID |
( |
| ) |
|
|
private |
◆ testSelection()
| void ripple::test::AMM_test::testSelection |
( |
| ) |
|
|
private |
◆ testCore()
| void ripple::test::AMM_test::testCore |
( |
| ) |
|
|
private |
◆ run()
| void ripple::test::AMM_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 |