DEV Community

Lending Protocol - Testcases

LoanBrokerSet

  1. Test lending loan broker set xrp as vault owner
  2. Test lending loan broker set iou as vault owner
  3. Test lending loan broker set mpt as vault owner
  4. Test lending loan broker set with only required params[XRP]
  5. Test lending loan broker set with only required params[IOU]
  6. Test lending loan broker set with only required params[MPT]
  7. Test lending loan broker set xrp low reserve
  8. Test lending loan broker set xrp as non vault owner
  9. Test lending loan broker set as non existent account
  10. Test lending loan broker set multiple times with same vault id
  11. Test lending loan broker set with invalid vault id[-23131]
  12. Test lending loan broker set with invalid vault id[3123]
  13. Test lending loan broker set with invalid vault id[58E4CD288]
  14. Test lending loan broker set with invalid vault id[invalid vault id3]
  15. Test lending loan broker set with invalid vault id[~!@#$%^&*() -=+[{]};:.?'",/]
  16. Test lending loan broker set with malformed vault id
  17. Test lending loan broker set with non existent vault id
  18. Test lending loan broker set with no vault id field
  19. Test lending loan broker set with malformed data
  20. Test lending loan broker set with invalid data[XYZ]
  21. Test lending loan broker set with invalid data[0xA10]
  22. Test lending loan broker set with invalid data[123]
  23. Test lending loan broker set with invalid data[10.5]
  24. Test lending loan broker set with invalid data[-10 0]
  25. Test lending loan broker set with invalid data[-10 1]
  26. Test lending loan broker set with invalid data[:#!@]
  27. Test lending loan broker set with data more than 256 btyes
  28. Test lending loan broker set with ManagementFeeRate[0]
  29. Test lending loan broker set with ManagementFeeRate[5000]
  30. Test lending loan broker set with ManagementFeeRate[10000]
  31. Test lending loan broker set with invalid ManagementFeeRate[]
  32. Test lending loan broker set with invalid ManagementFeeRate[XYZ]
  33. Test lending loan broker set with invalid ManagementFeeRate[0xA10]
  34. Test lending loan broker set with invalid ManagementFeeRate[10.5]
  35. Test lending loan broker set with invalid ManagementFeeRate[-10 0]
  36. Test lending loan broker set with invalid ManagementFeeRate[-10 1]
  37. Test lending loan broker set with invalid ManagementFeeRate[:#!@]
  38. Test lending loan broker set with ManagementFeeRate more than max
  39. Test lending loan broker set with invalid DebtMaximum[]
  40. Test lending loan broker set with invalid DebtMaximum[XYZ]
  41. Test lending loan broker set with invalid DebtMaximum[0xA10]
  42. Test lending loan broker set with invalid DebtMaximum[:#!@]
  43. Test lending loan broker set with invalid DebtMaximum[18446744073709551616]
  44. Test lending loan broker set with negative DebtMaximum[-10 0]
  45. Test lending loan broker set with negative DebtMaximum[-10 1]
  46. Test lending loan broker set with valid DebtMaximum on xrp asset[10]
  47. Test lending loan broker set with valid DebtMaximum on xrp asset[9223372036854775807]
  48. Test lending loan broker set with fractional DebtMaximum on xrp asset
  49. Test lending loan broker set with valid DebtMaximum on iou asset[10]
  50. Test lending loan broker set with valid DebtMaximum on iou asset[10.02]
  51. Test lending loan broker set with valid DebtMaximum on iou asset[10.06]
  52. Test lending loan broker set with valid DebtMaximum on iou asset[10.6]
  53. Test lending loan broker set with valid DebtMaximum on iou asset[10.98]
  54. Test lending loan broker set with valid DebtMaximum on mpt asset
  55. Test lending loan broker set with fractional DebtMaximum on mpt asset
  56. Test lending loan broker set with unlimited DebtMaximum followed by loan set
  57. Test lending loan broker set with DebtMaximum more than vault asset maximum
  58. Test lending loan broker set DebtMaximum after emptying vault
  59. Test lending loan broker set DebtMaximum after vault set asset maximum to minimum
  60. Test lending loan broker set then loan set and vault set reduce asset maximum
  61. Test lending loan broker set assets available more than debt maximum loan set more debt
  62. Test lending loan broker set debt maximum more than assets available loan set more debt
  63. Test lending loan broker set with non zero CoverRateMinimum but no CoverRateLiquidation
  64. Test lending loan broker set with zero CoverRateMinimum but no CoverRateLiquidation
  65. Test lending loan broker set with non zero CoverRateMinimum and same CoverRateLiquidation
  66. Test lending loan broker set with zero CoverRateMinimum and zero CoverRateLiquidation
  67. Test lending loan broker set with zero CoverRateMinimum and non zero CoverRateLiquidation
  68. Test lending loan broker set with no CoverRateMinimum but non zero CoverRateLiquidation
  69. Test lending loan broker set with no CoverRateMinimum but zero CoverRateLiquidation
  70. Test lending loan broker set with valid CoverRateMinimum[0]
  71. Test lending loan broker set with valid CoverRateMinimum[50000]
  72. Test lending loan broker set with valid CoverRateMinimum[100000]
  73. Test lending loan broker set with CoverRateMinimum more than max
  74. Test lending loan broker set with invalid CoverRateMinimum[]
  75. Test lending loan broker set with invalid CoverRateMinimum[XYZ]
  76. Test lending loan broker set with invalid CoverRateMinimum[0xA10]
  77. Test lending loan broker set with invalid CoverRateMinimum[10.5]
  78. Test lending loan broker set with invalid CoverRateMinimum[-10 0]
  79. Test lending loan broker set with invalid CoverRateMinimum[-10 1]
  80. Test lending loan broker set with invalid CoverRateMinimum[:#!@]
  81. Test lending loan broker set CoverRateMinimum less than assets maximum
  82. Test lending loan broker set CoverRateMinimum after emptying vault
  83. Test lending loan broker set CoverRateMinimum after vault set asset maximum to minimum
  84. Test lending loan broker set with valid CoverRateLiquidation[50000]
  85. Test lending loan broker set with valid CoverRateLiquidation[100000]
  86. Test lending loan broker set with CoverRateLiquidation more than max
  87. Test lending loan broker set with invalid CoverRateLiquidation[]
  88. Test lending loan broker set with invalid CoverRateLiquidation[XYZ]
  89. Test lending loan broker set with invalid CoverRateLiquidation[0xA10]
  90. Test lending loan broker set with invalid CoverRateLiquidation[10.5]
  91. Test lending loan broker set with invalid CoverRateLiquidation[-10 0]
  92. Test lending loan broker set with invalid CoverRateLiquidation[-10 1]
  93. Test lending loan broker set with invalid CoverRateLiquidation[:#!@]
  94. Test lending loan broker set update with invalid loan broker id[-23131]
  95. Test lending loan broker set update with invalid loan broker id[3123]
  96. Test lending loan broker set update with invalid loan broker id[58E4CD288]
  97. Test lending loan broker set update with invalid loan broker id[invalid loan broker id3]
  98. Test lending loan broker set update with invalid loan broker id[~!@#$%^&*() -=+[{]};:.?'",/]
  99. Test lending loan broker set update with loan broker id from diff broker
  100. Test lending loan broker set update with loan broker id and vault id mismatch
  101. Test lending loan broker set update with no vault id
  102. Test lending loan broker set update with empty loan broker field
  103. Test lending loan broker set update with non existent loan broker id
  104. Test lending loan broker set update as third party
  105. Test lending loan broker set update Data[ABC-]
  106. Test lending loan broker set update Data[ABC-XYZ]
  107. Test lending loan broker set update ManagementFeeRate[10000-0]
  108. Test lending loan broker set update ManagementFeeRate[0-10000]
  109. Test lending loan broker set update DebtMaximum
  110. Test lending loan broker set update CoverRateMinimum[100000-0]
  111. Test lending loan broker set update CoverRateMinimum[0-100000]
  112. Test lending loan broker set update CoverRateLiquidation[100000-0]
  113. Test lending loan broker set update CoverRateLiquidation[0-100000]
  114. Test lending loan broker set on private vault with domain id
  115. Test lending loan broker set on private vault with no domain id
  116. Test lending loan broker set on private vault with tfVaultShareNonTransferable flag on private vault
  117. Test lending loan broker set with xrp and preauth on broker
  118. Test lending loan broker set individual freeze on broker and loan set
  119. Test lending loan broker set deep freeze on broker and loan set
  120. Test lending loan broker set deep freeze on borrower and loan set
  121. Test lending loan broker set global freeze on broker and loan set
  122. Test lending loan broker set after global freeze
  123. Test lending loan broker set with mpt and lock on broker
  124. Test lending loan broker set with no loan and delete broker
  125. Test lending loan broker set with loan and delete broker
  126. Test lending loan broker set with CoverRateMinimum do loan set no cover deposit
  127. Test lending loan broker set loan set then vault withdraw assets
  128. Test lending loan broker set vault withdraw assets then loan set
  129. Test lending loan broker set loan set then vault withdraw shares
  130. Test lending loan broker set vault withdraw shares then loan set
  131. Test lending loan broker set with auth and loan set and pay to third party asset iou
  132. Test lending loan broker set with auth and loan set with borrower not authorized asset iou

LoanBrokerDelete

  1. Test lending loan broker delete on asset xrp
  2. Test lending loan broker delete on asset iou
  3. Test lending loan broker delete on asset mpt
  4. Test lending loan broker delete with low reserve
  5. Test lending loan broker delete by third party
  6. Test lending loan broker delete by non existent account
  7. Test lending loan broker delete with no loan broker field
  8. Test lending loan broker delete with invalid loan broker id values[-23131]
  9. Test lending loan broker delete with invalid loan broker id values[3123]
  10. Test lending loan broker delete with invalid loan broker id values[58E4CD288]
  11. Test lending loan broker delete with invalid loan broker id values[invalid loan broker id3]
  12. Test lending loan broker delete with invalid loan broker id values[~!@#$%^&*() -=+[{]};:.?'",/]
  13. Test lending loan broker delete with empty loan broker id value
  14. Test lending loan broker delete with loan broker id and vault id mismatch
  15. Test lending loan broker delete with loan set
  16. Test lending loan broker delete loan default no clawback
  17. Test lending loan broker delete loan default and clawback assets
  18. Test lending loan broker delete multiple times
  19. Test lending loan broker delete multiple loan broker objects
  20. Test lending loan broker delete and delete account
  21. Test lending loan broker delete loan default clawback shares by issuer who is not vault owner
  22. Test lending loan broker delete loan default clawback shares by issuer who is vault owner
  23. Test lending loan broker delete loan default clawback assets by issuer who is vault owner
  24. Test lending loan broker delete loan default clawback shares by vault owner

LoanBrokerCoverDeposit

  1. Test lending loan broker cover deposit asset xrp
  2. Test lending loan broker cover deposit asset iou
  3. Test lending loan broker cover deposit asset mpt
  4. Test lending loan broker cover deposit with low reserve
  5. Test lending loan broker cover deposit and loan set asset iou
  6. Test lending loan broker cover deposit and loan set with mpt auth asset mpt
  7. Test lending loan broker cover deposit and loan set without mpt auth asset mpt
  8. Test lending loan broker cover deposit with tfMPTRequireAuth flag and loan set with issuer ack asset mpt
  9. Test lending loan broker cover deposit with tfMPTRequireAuth flag and loan set with issuer no ack asset mpt
  10. Test lending loan broker cover deposit with 0 CoverRateMinimum and loan set with cover deposit
  11. Test lending loan broker cover deposit with 0 CoverRateMinimum and loan set no cover deposit
  12. Test lending loan broker cover deposit with non 0 CoverRateMinimum and loan set with cover deposit
  13. Test lending loan broker cover deposit with non 0 CoverRateMinimum and loan set no cover deposit
  14. Test lending loan broker cover deposit by third party
  15. Test lending loan broker cover deposit by non existent account
  16. Test lending loan broker cover deposit with no loan broker field
  17. Test lending loan broker cover deposit with no amount field
  18. Test lending loan broker cover deposit with invalid loan broker id values[-23131]
  19. Test lending loan broker cover deposit with invalid loan broker id values[3123]
  20. Test lending loan broker cover deposit with invalid loan broker id values[58E4CD288]
  21. Test lending loan broker cover deposit with invalid loan broker id values[invalid loan broker id3]
  22. Test lending loan broker cover deposit with invalid loan broker id values[~!@#$%^&*() -=+[{]};:.?'",/]
  23. Test lending loan broker cover deposit with empty loan broker id value
  24. Test lending loan broker cover deposit with loan broker id and vault id mismatch
  25. Test lending loan broker cover deposit with invalid amount asset xrp[-10.5]
  26. Test lending loan broker cover deposit with invalid amount asset xrp[100.5]
  27. Test lending loan broker cover deposit with invalid amount asset xrp[58E4CD288]
  28. Test lending loan broker cover deposit with invalid amount asset xrp[invalid amount3]
  29. Test lending loan broker cover deposit with invalid amount asset xrp[#@!#@]
  30. Test lending loan broker cover deposit with bad amount asset xrp[-10 0]
  31. Test lending loan broker cover deposit with bad amount asset xrp[-10 1]
  32. Test lending loan broker cover deposit with bad amount asset xrp[0]
  33. Test lending loan broker cover deposit with bad amount asset iou[-10 0]
  34. Test lending loan broker cover deposit with bad amount asset iou[-10 1]
  35. Test lending loan broker cover deposit with bad amount asset iou[0]
  36. Test lending loan broker cover deposit with invalid amount asset iou[10.5]
  37. Test lending loan broker cover deposit with invalid amount asset iou[58E4CD288]
  38. Test lending loan broker cover deposit with invalid amount asset iou[invalid amount2]
  39. Test lending loan broker cover deposit with invalid amount asset iou[~!@#$%^&*() -=+[{]};:.?'",/]
  40. Test lending loan broker cover deposit with bad amount asset mpt[-10 0]
  41. Test lending loan broker cover deposit with bad amount asset mpt[-10 1]
  42. Test lending loan broker cover deposit with bad amount asset mpt[0]
  43. Test lending loan broker cover deposit with invalid amount asset mpt[10.5 0]
  44. Test lending loan broker cover deposit with invalid amount asset mpt[10.5 1]
  45. Test lending loan broker cover deposit with invalid amount asset mpt[58E4CD288]
  46. Test lending loan broker cover deposit with invalid amount asset mpt[invalid amount3]
  47. Test lending loan broker cover deposit with invalid amount asset mpt[~!@#$%^&*() -=+[{]};:.?'",/]
  48. Test lending loan broker cover deposit multiple times
  49. Test lending loan broker cover deposit xrp in iou vault
  50. Test lending loan broker cover deposit xrp in mpt vault
  51. Test lending loan broker cover deposit iou in xrp vault
  52. Test lending loan broker cover deposit invalid issuer asset iou
  53. Test lending loan broker cover deposit different currency asset iou
  54. Test lending loan broker cover deposit with deposit auth asset xrp
  55. Test lending loan broker cover deposit with individual freeze on loan broker asset iou
  56. Test lending loan broker cover deposit with deep freeze on loan broker asset iou
  57. Test lending loan broker cover deposit with global freeze asset iou
  58. Test lending loan broker cover deposit with individual freeze on vault pseudo account
  59. Test lending loan broker cover deposit with deep freeze on vault pseudo account
  60. Test lending loan broker cover deposit with individual freeze on loan broker pseudo account asset iou
  61. Test lending loan broker cover deposit with deep freeze on loan broker pseudo account asset iou
  62. Test lending loan broker cover deposit with tfMPTCanLock but loan broker pseudo account not locked asset mpt
  63. Test lending loan broker cover deposit with loan broker pseudo account locked asset mpt
  64. Test lending loan broker cover deposit with auth enabled asset iou
  65. Test lending loan broker cover deposit with tfMPTLock set asset mpt
  66. Test lending loan broker cover deposit with insufficient funds after loan set
  67. Test lending loan broker cover deposit with sufficient funds after loan set asset xrp
  68. Test lending loan broker cover deposit with cover rate minimum multiple loans
  69. Test lending loan broker cover deposit with sufficient funds after loan set asset iou

LoanBrokerCoverWithdraw

  1. Test lending loan broker cover withdraw asset xrp
  2. Test lending loan broker cover withdraw asset iou
  3. Test lending loan broker cover withdraw asset mpt
  4. Test lending loan broker cover withdraw with low reserve
  5. Test lending loan broker cover withdraw by third party
  6. Test lending loan broker cover withdraw by non existent account[XRP]
  7. Test lending loan broker cover withdraw by non existent account[IOU]
  8. Test lending loan broker cover withdraw by non existent account[MPT]
  9. Test lending loan broker cover withdraw with no loan broker field
  10. Test lending loan broker cover withdraw with no amount field
  11. Test lending loan broker cover withdraw with invalid loan broker id values[-23131]
  12. Test lending loan broker cover withdraw with invalid loan broker id values[3123]
  13. Test lending loan broker cover withdraw with invalid loan broker id values[58E4CD288]
  14. Test lending loan broker cover withdraw with invalid loan broker id values[invalid loan broker id3]
  15. Test lending loan broker cover withdraw with invalid loan broker id values[~!@#$%^&*() -=+[{]};:.?'",/]
  16. Test lending loan broker cover withdraw with empty loan broker id value
  17. Test lending loan broker cover withdraw with loan broker id mismatch
  18. Test lending loan broker cover withdraw with invalid amount asset xrp[-10.5]
  19. Test lending loan broker cover withdraw with invalid amount asset xrp[10.5]
  20. Test lending loan broker cover withdraw with invalid amount asset xrp[100.5]
  21. Test lending loan broker cover withdraw with invalid amount asset xrp[58E4CD288]
  22. Test lending loan broker cover withdraw with invalid amount asset xrp[invalid amount4]
  23. Test lending loan broker cover withdraw with invalid amount asset xrp[#@!#@]
  24. Test lending loan broker cover withdraw with invalid amount asset iou[-10.5]
  25. Test lending loan broker cover withdraw with invalid amount asset iou[10.5]
  26. Test lending loan broker cover withdraw with invalid amount asset iou[58E4CD288]
  27. Test lending loan broker cover withdraw with invalid amount asset iou[invalid amount3]
  28. Test lending loan broker cover withdraw with invalid amount asset iou[#@!#@]
  29. Test lending loan broker cover withdraw with fraction amount asset iou
  30. Test lending loan broker cover withdraw with invalid amount asset mpt[-10.5]
  31. Test lending loan broker cover withdraw with invalid amount asset mpt[10.5]
  32. Test lending loan broker cover withdraw with invalid amount asset mpt[100.5]
  33. Test lending loan broker cover withdraw with invalid amount asset mpt[58E4CD288]
  34. Test lending loan broker cover withdraw with invalid amount asset mpt[invalid amount4]
  35. Test lending loan broker cover withdraw with invalid amount asset mpt[#@!#@]
  36. Test lending loan broker cover withdraw with bad amount asset xrp[-10 0]
  37. Test lending loan broker cover withdraw with bad amount asset xrp[-10 1]
  38. Test lending loan broker cover withdraw with bad amount asset xrp[0]
  39. Test lending loan broker cover withdraw with bad amount asset iou[-10 0]
  40. Test lending loan broker cover withdraw with bad amount asset iou[-10 1]
  41. Test lending loan broker cover withdraw with bad amount asset iou[0]
  42. Test lending loan broker cover withdraw with bad amount asset mpt[-10 0]
  43. Test lending loan broker cover withdraw with bad amount asset mpt[-10 1]
  44. Test lending loan broker cover withdraw with bad amount asset mpt[0]
  45. Test lending loan broker cover withdraw invalid issuer asset iou
  46. Test lending loan broker cover withdraw multiple times
  47. Test lending loan broker cover withdraw more than cover deposit
  48. Test lending loan broker cover withdraw with CoverRateMinimum set asset xrp[0]
  49. Test lending loan broker cover withdraw with CoverRateMinimum set asset xrp[10]
  50. Test lending loan broker cover withdraw more than available balance with CoverRateMinimum set asset xrp
  51. Test lending loan broker cover withdraw with CoverRateMinimum more than 100 percent
  52. Test lending loan broker cover withdraw with CoverRateMinimum set asset iou[0]
  53. Test lending loan broker cover withdraw with CoverRateMinimum set asset iou[10]
  54. Test lending loan broker cover withdraw with deposit auth asset xrp
  55. Test lending loan broker cover withdraw with deposit auth on destination account asset xrp
  56. Test lending loan broker cover withdraw after global freeze asset iou
  57. Test lending loan broker cover withdraw with destination asset iou
  58. Test lending loan broker cover withdraw with destination without trustline asset iou
  59. Test lending loan broker cover withdraw with destination after individual freeze without trustline asset iou
  60. Test lending loan broker cover withdraw with destination after individual freeze with trustline asset iou
  61. Test lending loan broker cover withdraw with destination after deep freeze without trustline asset iou
  62. Test lending loan broker cover withdraw with destination after deep freeze with trustline asset iou
  63. Test lending loan broker cover withdraw with destination deep freeze loan broker asset iou
  64. Test lending loan broker cover withdraw with individual freeze on loan broker asset iou
  65. Test lending loan broker cover withdraw with deep freeze on loan broker asset iou
  66. Test lending loan broker cover withdraw no destination with tfMPTLock set on loan broker asset mpt
  67. Test lending loan broker cover withdraw with individual freeze on vault pseudo account
  68. Test lending loan broker cover withdraw no destination with tfMPTLock set on loan broker pseudo asset mpt
  69. Test lending loan broker cover withdraw with individual freeze on loan broker pseudo account asset iou
  70. Test lending loan broker cover withdraw with deep freeze on loan broker pseudo account asset iou
  71. Test lending loan broker cover withdraw no destination with tfMPTLock set on vault pseudo asset mpt
  72. Test lending loan broker cover withdraw with destination without mpt object asset mpt
  73. Test lending loan broker cover withdraw with destination with mpt object asset mpt
  74. Test lending loan broker cover withdraw with tfMPTRequireAuth flag destination ack asset mpt
  75. Test lending loan broker cover withdraw with tfMPTRequireAuth flag destination no ack asset mpt
  76. Test lending loan broker cover withdraw with destination tfMPTLock set on broker asset mpt
  77. Test lending loan broker cover withdraw with destination tfMPTLock set on destination asset mpt
  78. Test lending loan broker cover withdraw with destination after global freeze asset iou
  79. Test lending loan broker cover withdraw without cover deposit
  80. Test lending loan broker cover withdraw with destination account
  81. Test lending loan broker cover withdraw with non existent destination account
  82. Test lending loan broker cover withdraw with empty destination account value[XRP]
  83. Test lending loan broker cover withdraw with empty destination account value[IOU]
  84. Test lending loan broker cover withdraw with empty destination account value[MPT]
  85. Test lending loan broker cover withdraw with auth enabled asset iou
  86. Test lending loan broker cover withdraw with auth enabled destination authorized asset iou
  87. Test lending loan broker cover withdraw with auth enabled destination authorized but no trustline asset iou
  88. Test lending loan broker cover withdraw with auth enabled destination unauthorized asset iou
  89. Test lending loan broker cover withdraw xrp in iou vault
  90. Test lending loan broker cover withdraw xrp in mpt vault
  91. Test lending loan broker cover withdraw iou in xrp vault

LoanBrokerCoverClawback

  1. Test lending loan broker cover clawback asset iou
  2. Test lending loan broker cover clawback asset xrp
  3. Test lending loan broker cover clawback asset mpt
  4. Test lending loan broker cover clawback with low reserve
  5. Test lending loan broker cover clawback by third party
  6. Test lending loan broker cover clawback by non existent account
  7. Test lending loan broker cover clawback with no loan broker field
  8. Test lending loan broker cover clawback with no amount field
  9. Test lending loan broker cover clawback with invalid loan broker id values[-23131]
  10. Test lending loan broker cover clawback with invalid loan broker id values[3123]
  11. Test lending loan broker cover clawback with invalid loan broker id values[58E4CD288]
  12. Test lending loan broker cover clawback with invalid loan broker id values[invalid loan broker id3]
  13. Test lending loan broker cover clawback with invalid loan broker id values[~!@#$%^&*() -=+[{]};:.?'",/]
  14. Test lending loan broker cover clawback with empty loan broker id value
  15. Test lending loan broker cover clawback with loan broker id mismatch
  16. Test lending loan broker cover clawback after cover withdraw
  17. Test lending loan broker cover clawback with invalid amount[-10.5]
  18. Test lending loan broker cover clawback with invalid amount[10.5]
  19. Test lending loan broker cover clawback with invalid amount[58E4CD288]
  20. Test lending loan broker cover clawback with invalid amount[invalid amount3]
  21. Test lending loan broker cover clawback with invalid amount[#@!#@]
  22. Test lending loan broker cover clawback fraction amount
  23. Test lending loan broker cover clawback with different issuer
  24. Test lending loan broker cover clawback with bad amount[-10 0]
  25. Test lending loan broker cover clawback with bad amount[-10 1]
  26. Test lending loan broker cover clawback multiple times
  27. Test lending loan broker cover clawback more than cover available with 0 cover rate minimum
  28. Test lending loan broker cover clawback more than cover available with non 0 cover rate minimum
  29. Test lending loan broker cover clawback when cover available is 0
  30. Test lending loan broker cover clawback 0 amount when cover available is non zero
  31. Test lending loan broker cover clawback with CoverRateMinimum set
  32. Test lending loan broker cover clawback with deposit auth asset xrp
  33. Test lending loan broker cover clawback after individual freeze asset iou
  34. Test lending loan broker cover clawback after deep freeze asset iou
  35. Test lending loan broker cover clawback after global freeze asset iou
  36. Test lending loan broker cover clawback without cover deposit
  37. Test lending loan broker cover clawback without AllowTrustLineClawback flag asset iou
  38. Test lending loan broker cover clawback without MPTCanClawback flag asset mpt
  39. Test lending loan broker cover clawback without MPTCanLock flag asset mpt
  40. Test lending loan broker cover clawback with tfMPTLock set on loan broker asset mpt

LoanSet

  1. Test lending loan set xrp by loan broker
  2. Test lending loan set xrp by borrower
  3. Test lending loan set iou by loan broker
  4. Test lending loan set iou by borrower
  5. Test lending loan set mpt by loan broker
  6. Test lending loan set mpt by borrower
  7. Test lending loan set mpt by loan broker with no mpt auth on borrower
  8. Test lending loan set mpt by borrower with no mpt auth on borrower
  9. Test lending loan set by third party account[XRP]
  10. Test lending loan set by third party account[IOU]
  11. Test lending loan set by third party account[MPT]
  12. Test lending loan set by non existent account[XRP]
  13. Test lending loan set by non existent account[IOU]
  14. Test lending loan set by non existent account[MPT]
  15. Test lending loan set with no LoanBrokerID
  16. Test lending loan set with invalid LoanBrokerID[None]
  17. Test lending loan set with invalid LoanBrokerID[loan broker id1]
  18. Test lending loan set with invalid LoanBrokerID[loan broker id2]
  19. Test lending loan set with invalid LoanBrokerID[-1]
  20. Test lending loan set with invalid LoanBrokerID[0]
  21. Test lending loan set with invalid LoanBrokerID[1.1]
  22. Test lending loan set with invalid LoanBrokerID[malformed input]
  23. Test lending loan set with invalid LoanBrokerID[@!#$]
  24. Test lending loan set with invalid LoanBrokerID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC1A319620091B548FDBBZ]
  25. Test lending loan set with invalid LoanBrokerID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC]
  26. Test lending loan set with invalid LoanBrokerID[True]
  27. Test lending loan set with invalid LoanBrokerID[False]
  28. Test lending loan set with third party LoanBrokerID[XRP]
  29. Test lending loan set with third party LoanBrokerID[IOU]
  30. Test lending loan set with third party LoanBrokerID[MPT]
  31. Test lending loan set multiple times with same LoanBrokerID and same borrower[XRP]
  32. Test lending loan set multiple times with same LoanBrokerID and same borrower[IOU]
  33. Test lending loan set multiple times with same LoanBrokerID and same borrower[MPT]
  34. Test lending loan set multiple times with same LoanBrokerID and different borrower[XRP]
  35. Test lending loan set multiple times with same LoanBrokerID and different borrower[IOU]
  36. Test lending loan set multiple times with same LoanBrokerID and different borrower[MPT]
  37. Test lending loan set of full vault amount in multiple loans by same borrower[XRP]
  38. Test lending loan set of full vault amount in multiple loans by same borrower[IOU]
  39. Test lending loan set of full vault amount in multiple loans by same borrower[MPT]
  40. Test lending loan set of full vault amount in multiple loans by different borrowers[XRP]
  41. Test lending loan set of full vault amount in multiple loans by different borrowers[IOU]
  42. Test lending loan set of full vault amount in multiple loans by different borrowers[MPT]
  43. Test lending loan set by borrower with base reserve
  44. Test lending loan set by loan broker with base reserve on borrower
  45. Test lending loan set with no CounterpartySignature
  46. Test lending loan set with no PrincipalRequested
  47. Test lending loan set with invalid PrincipalRequested values[]
  48. Test lending loan set with invalid PrincipalRequested values[None]
  49. Test lending loan set with invalid PrincipalRequested values[principal requested2]
  50. Test lending loan set with invalid PrincipalRequested values[principal requested3]
  51. Test lending loan set with invalid PrincipalRequested values[1.5]
  52. Test lending loan set with invalid PrincipalRequested values[malformed input]
  53. Test lending loan set with invalid PrincipalRequested values[@$&*]
  54. Test lending loan set with invalid PrincipalRequested values[True]
  55. Test lending loan set with invalid PrincipalRequested values[False]
  56. Test lending loan set of xrp asset with invalid PrincipalRequested values[]
  57. Test lending loan set of xrp asset with invalid PrincipalRequested values[None]
  58. Test lending loan set of xrp asset with invalid PrincipalRequested values[principal requested2]
  59. Test lending loan set of xrp asset with invalid PrincipalRequested values[principal requested3]
  60. Test lending loan set of xrp asset with invalid PrincipalRequested values[1.5]
  61. Test lending loan set of xrp asset with invalid PrincipalRequested values[malformed input]
  62. Test lending loan set of xrp asset with invalid PrincipalRequested values[@$&*]
  63. Test lending loan set of xrp asset with invalid PrincipalRequested values[True]
  64. Test lending loan set of xrp asset with invalid PrincipalRequested values[False]
  65. Test lending loan set of iou asset with invalid PrincipalRequested values[]
  66. Test lending loan set of iou asset with invalid PrincipalRequested values[None]
  67. Test lending loan set of iou asset with invalid PrincipalRequested values[principal requested2]
  68. Test lending loan set of iou asset with invalid PrincipalRequested values[principal requested3]
  69. Test lending loan set of iou asset with invalid PrincipalRequested values[1.5]
  70. Test lending loan set of iou asset with invalid PrincipalRequested values[malformed input]
  71. Test lending loan set of iou asset with invalid PrincipalRequested values[@$&*]
  72. Test lending loan set of iou asset with invalid PrincipalRequested values[True]
  73. Test lending loan set of iou asset with invalid PrincipalRequested values[False]
  74. Test lending loan set of mpt asset with invalid PrincipalRequested values[]
  75. Test lending loan set of mpt asset with invalid PrincipalRequested values[None]
  76. Test lending loan set of mpt asset with invalid PrincipalRequested values[principal requested2]
  77. Test lending loan set of mpt asset with invalid PrincipalRequested values[principal requested3]
  78. Test lending loan set of mpt asset with invalid PrincipalRequested values[1.5]
  79. Test lending loan set of mpt asset with invalid PrincipalRequested values[malformed input]
  80. Test lending loan set of mpt asset with invalid PrincipalRequested values[@$&*]
  81. Test lending loan set of mpt asset with invalid PrincipalRequested values[True]
  82. Test lending loan set of mpt asset with invalid PrincipalRequested values[False]
  83. Test lending loan set with negative PrincipalRequested value
  84. Test lending loan set with PrincipalRequested greater than vault assets[XRP]
  85. Test lending loan set with PrincipalRequested greater than vault assets[IOU]
  86. Test lending loan set with PrincipalRequested greater than vault assets[MPT]
  87. Test lending loan set with zero PrincipalRequested value[XRP]
  88. Test lending loan set with zero PrincipalRequested value[IOU]
  89. Test lending loan set with zero PrincipalRequested value[MPT]
  90. Test lending loan set with zero PrincipalRequested value of auth required iou asset by borrower
  91. Test lending loan set with auth required iou asset by borrower
  92. Test lending loan set with auth required iou asset by loan broker
  93. Test lending loan set with zero PrincipalRequested value of auth required mpt asset by borrower
  94. Test lending loan set with auth required mpt asset by borrower
  95. Test lending loan set with auth required mpt asset by loan broker
  96. Test lending loan set with invalid PaymentTotal[None]
  97. Test lending loan set with invalid PaymentTotal[payment total1]
  98. Test lending loan set with invalid PaymentTotal[payment total2]
  99. Test lending loan set with invalid PaymentTotal[2026-01-29]
  100. Test lending loan set with invalid PaymentTotal[-1]
  101. Test lending loan set with invalid PaymentTotal[1.1]
  102. Test lending loan set with invalid PaymentTotal[malformed input]
  103. Test lending loan set with invalid PaymentTotal[@!#$]
  104. Test lending loan set with invalid PaymentTotal[4383DF3691A3307E0835C3EC]
  105. Test lending loan set with invalid PaymentTotal[True]
  106. Test lending loan set with invalid PaymentTotal[False]
  107. Test lending loan set with invalid PaymentTotal[18446744073709551616]
  108. Test lending loan set with zero PaymentTotal
  109. Test lending loan set with valid PaymentTotal[1]
  110. Test lending loan set with valid PaymentTotal[5]
  111. Test lending loan set with valid PaymentTotal[1000]
  112. Test lending loan set with invalid PaymentInterval[None]
  113. Test lending loan set with invalid PaymentInterval[payment interval1]
  114. Test lending loan set with invalid PaymentInterval[payment interval2]
  115. Test lending loan set with invalid PaymentInterval[-1]
  116. Test lending loan set with invalid PaymentInterval[1.1]
  117. Test lending loan set with invalid PaymentInterval[malformed input]
  118. Test lending loan set with invalid PaymentInterval[@!#$]
  119. Test lending loan set with invalid PaymentInterval[4383DF3691A3307E0835C3EC]
  120. Test lending loan set with invalid PaymentInterval[True]
  121. Test lending loan set with invalid PaymentInterval[False]
  122. Test lending loan set with invalid PaymentInterval[10000000000000000]
  123. Test lending loan set with PaymentInterval less that default[0]
  124. Test lending loan set with PaymentInterval less that default[59]
  125. Test lending loan set with valid PaymentInterval[60]
  126. Test lending loan set with valid PaymentInterval[1000000]
  127. Test lending loan set with invalid GracePeriod[grace period0]
  128. Test lending loan set with invalid GracePeriod[grace period1]
  129. Test lending loan set with invalid GracePeriod[-1]
  130. Test lending loan set with invalid GracePeriod[1.1]
  131. Test lending loan set with invalid GracePeriod[malformed input]
  132. Test lending loan set with invalid GracePeriod[@!#$]
  133. Test lending loan set with invalid GracePeriod[4383DF3691A3307E0835C3EC]
  134. Test lending loan set with invalid GracePeriod[True]
  135. Test lending loan set with invalid GracePeriod[False]
  136. Test lending loan set with invalid GracePeriod[10000000000000000]
  137. Test lending loan set with GracePeriod less that default[0]
  138. Test lending loan set with GracePeriod less that default[59]
  139. Test lending loan set with valid GracePeriod[60]
  140. Test lending loan set with valid GracePeriod[100]
  141. Test lending loan set with GracePeriod greater than PaymentInterval
  142. Test lending loan set with invalid InterestRate[None]
  143. Test lending loan set with invalid InterestRate[interest rate1]
  144. Test lending loan set with invalid InterestRate[interest rate2]
  145. Test lending loan set with invalid InterestRate[-1]
  146. Test lending loan set with invalid InterestRate[1.1]
  147. Test lending loan set with invalid InterestRate[malformed input]
  148. Test lending loan set with invalid InterestRate[@!#$]
  149. Test lending loan set with invalid InterestRate[4383DF3691A3307E0835C3EC]
  150. Test lending loan set with invalid InterestRate[True]
  151. Test lending loan set with invalid InterestRate[False]
  152. Test lending loan set with invalid InterestRate[10000000000000000]
  153. Test lending loan set with invalid InterestRate[18446744073709551616]
  154. Test lending loan set with valid InterestRate[100000]
  155. Test lending loan set with invalid OverpaymentInterestRate[None]
  156. Test lending loan set with invalid OverpaymentInterestRate[overpayment interest rate1]
  157. Test lending loan set with invalid OverpaymentInterestRate[overpayment interest rate2]
  158. Test lending loan set with invalid OverpaymentInterestRate[-1]
  159. Test lending loan set with invalid OverpaymentInterestRate[1.1]
  160. Test lending loan set with invalid OverpaymentInterestRate[malformed input]
  161. Test lending loan set with invalid OverpaymentInterestRate[@!#$]
  162. Test lending loan set with invalid OverpaymentInterestRate[4383DF3691A3307E0835C3EC]
  163. Test lending loan set with invalid OverpaymentInterestRate[True]
  164. Test lending loan set with invalid OverpaymentInterestRate[False]
  165. Test lending loan set with invalid OverpaymentInterestRate[10000000000000000]
  166. Test lending loan set with invalid OverpaymentInterestRate[18446744073709551616]
  167. Test lending loan set with valid OverpaymentInterestRate[0]
  168. Test lending loan set with valid OverpaymentInterestRate[16]
  169. Test lending loan set with valid OverpaymentInterestRate[100000]
  170. Test lending loan set with PrincipalRequested greater than DebtMaximum in one loan[XRP]
  171. Test lending loan set with PrincipalRequested greater than DebtMaximum in one loan[IOU]
  172. Test lending loan set with PrincipalRequested greater than DebtMaximum in one loan[MPT]
  173. Test lending loan set with PrincipalRequested greater than DebtMaximum in multiple loans[XRP]
  174. Test lending loan set with PrincipalRequested greater than DebtMaximum in multiple loans[IOU]
  175. Test lending loan set with PrincipalRequested greater than DebtMaximum in multiple loans[MPT]
  176. Test lending loan set and delete the borrower after loan start
  177. Test lending loan set xrp with LoanOriginationFee by loan broker
  178. Test lending loan set iou with LoanOriginationFee by loan broker
  179. Test lending loan set mpt with LoanOriginationFee by loan broker
  180. Test lending loan set mpt with LoanOriginationFee without mpt auth on loan broker
  181. Test lending loan set mpt with LoanOriginationFee without mpt auth on borrower
  182. Test lending loan set with LoanOriginationFee by borrower
  183. Test lending loan set and delete account on completed loan
  184. Test lending loan set xrp with invalid data[XYZ]
  185. Test lending loan set xrp with invalid data[0xA10]
  186. Test lending loan set xrp with invalid data[123]
  187. Test lending loan set xrp with invalid data[10.5]
  188. Test lending loan set xrp with invalid data[-10 0]
  189. Test lending loan set xrp with invalid data[-10 1]
  190. Test lending loan set xrp with invalid data[:#!@]
  191. Test lending loan set xrp with empty data
  192. Test lending loan set iou asset with global freeze on issuer
  193. Test lending loan broker set loan set then vault withdraw assets
  194. Test lending loan broker set loan set then vault withdraw shares
  195. Test lending loan set with no trust line on borrower
  196. Test lending loan set with no mpt auth on borrower
  197. Test lending loan set with same loan broker and borrower

LoanDelete

  1. Test lending loan delete on incomplete loan by loan broker[XRP]
  2. Test lending loan delete on incomplete loan by loan broker[IOU]
  3. Test lending loan delete on incomplete loan by loan broker[MPT]
  4. Test lending loan delete on incomplete loan by borrower[XRP]
  5. Test lending loan delete on incomplete loan by borrower[IOU]
  6. Test lending loan delete on incomplete loan by borrower[MPT]
  7. Test lending loan delete on incomplete loan by third party account[XRP]
  8. Test lending loan delete on incomplete loan by third party account[IOU]
  9. Test lending loan delete on incomplete loan by third party account[MPT]
  10. Test lending loan delete on incomplete loan by non existent account[XRP]
  11. Test lending loan delete on incomplete loan by non existent account[IOU]
  12. Test lending loan delete on incomplete loan by non existent account[MPT]
  13. Test lending loan delete with no LoanID
  14. Test lending loan delete with invalid LoanID[None]
  15. Test lending loan delete with invalid LoanID[loan id1]
  16. Test lending loan delete with invalid LoanID[loan id2]
  17. Test lending loan delete with invalid LoanID[-1]
  18. Test lending loan delete with invalid LoanID[0]
  19. Test lending loan delete with invalid LoanID[1.1]
  20. Test lending loan delete with invalid LoanID[malformed input]
  21. Test lending loan delete with invalid LoanID[@!#$]
  22. Test lending loan delete with invalid LoanID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC1A319620091B548FDBBZ]
  23. Test lending loan delete with invalid LoanID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC]
  24. Test lending loan delete with invalid LoanID[True]
  25. Test lending loan delete with invalid LoanID[False]
  26. Test lending loan delete on completed xrp loan by loan broker
  27. Test lending loan delete on completed xrp loan by borrower
  28. Test lending loan delete on completed xrp loan by borrower with just base reserve
  29. Test lending loan delete on completed xrp loan by third party account
  30. Test lending loan delete on mismatched loan by loan broker
  31. Test lending loan delete on completed loan multiple times by loan broker
  32. Test lending loan delete on completed by loan broker and delete loan broker
  33. Test lending loan delete on completed by loan broker and delete borrower
  34. Test lending loan delete on completed by loan broker without Loandraw
  35. Test lending loan delete on completed by loan broker without Loandraw and deposit auth on borrower
  36. Test lending loan broker delete after loan delete
  37. Test lending loan broker delete before loan delete

LoanManage

  1. Test lending loan manage by loan broker[XRP]
  2. Test lending loan manage by loan broker[IOU]
  3. Test lending loan manage by loan broker[MPT]
  4. Test lending loan manage by third party account[XRP]
  5. Test lending loan manage by third party account[IOU]
  6. Test lending loan manage by third party account[MPT]
  7. Test lending loan manage by non existent account[XRP]
  8. Test lending loan manage by non existent account[IOU]
  9. Test lending loan manage by non existent account[MPT]
  10. Test lending loan manage xrp by no LoanID
  11. Test lending loan manage xrp with invalid LoanID[None]
  12. Test lending loan manage xrp with invalid LoanID[loan id1]
  13. Test lending loan manage xrp with invalid LoanID[loan id2]
  14. Test lending loan manage xrp with invalid LoanID[-1]
  15. Test lending loan manage xrp with invalid LoanID[0]
  16. Test lending loan manage xrp with invalid LoanID[1.1]
  17. Test lending loan manage xrp with invalid LoanID[malformed input]
  18. Test lending loan manage xrp with invalid LoanID[@!#$]
  19. Test lending loan manage xrp with invalid LoanID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC1A319620091B548FDBBZ]
  20. Test lending loan manage xrp with invalid LoanID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC]
  21. Test lending loan manage xrp with invalid LoanID[True]
  22. Test lending loan manage xrp with invalid LoanID[False]
  23. Test lending loan manage xrp with mismatched LoanID
  24. Test lending loan manage xrp multiple times on same loanID
  25. Test lending loan manage by borrower
  26. Test lending loan manage with flags 0
  27. Test lending loan manage xrp with invalid Flags[flags0]
  28. Test lending loan manage xrp with invalid Flags[flags1]
  29. Test lending loan manage xrp with invalid Flags[-1]
  30. Test lending loan manage xrp with invalid Flags[1.1]
  31. Test lending loan manage xrp with invalid Flags[malformed input]
  32. Test lending loan manage xrp with invalid Flags[@!#$]
  33. Test lending loan manage xrp with invalid Flags[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC1A319620091B548FDBBZ]
  34. Test lending loan manage xrp with invalid Flags[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC]
  35. Test lending loan manage xrp with invalid Flags[True]
  36. Test lending loan manage xrp with invalid Flags[False]
  37. Test lending loan manage with tfLoanDefault flag before grace period[XRP]
  38. Test lending loan manage with tfLoanDefault flag before grace period[IOU]
  39. Test lending loan manage with tfLoanDefault flag before grace period[MPT]
  40. Test lending loan manage with tfLoanImpair flag on started loan[XRP]
  41. Test lending loan manage with tfLoanImpair flag on started loan[IOU]
  42. Test lending loan manage with tfLoanImpair flag on started loan[MPT]
  43. Test lending loan manage with tfLoanUnimpair flag on started loan[XRP]
  44. Test lending loan manage with tfLoanUnimpair flag on started loan[IOU]
  45. Test lending loan manage with tfLoanUnimpair flag on started loan[MPT]
  46. Test lending loan manage with tfLoanDefault flag on started loan with no payment[XRP]
  47. Test lending loan manage with tfLoanDefault flag on started loan with no payment[IOU]
  48. Test lending loan manage with tfLoanDefault flag on started loan with no payment[MPT]
  49. Test lending loan manage with tfLoanImpair flag on started loan with no payment[XRP]
  50. Test lending loan manage with tfLoanImpair flag on started loan with no payment[IOU]
  51. Test lending loan manage with tfLoanImpair flag on started loan with no payment[MPT]
  52. Test lending loan manage with tfLoanUnimpair flag on started loan with no payment[XRP]
  53. Test lending loan manage with tfLoanUnimpair flag on started loan with no payment[IOU]
  54. Test lending loan manage with tfLoanUnimpair flag on started loan with no payment[MPT]
  55. Test lending loan manage on completed loan by loan broker[131072]
  56. Test lending loan manage on completed loan by loan broker[65536]
  57. Test lending loan manage on completed loan by loan broker[262144]
  58. Test lending loan manage on completed loan by borrower[131072]
  59. Test lending loan manage on completed loan by borrower[65536]
  60. Test lending loan manage on completed loan by borrower[262144]
  61. Test lending loan manage set unimpair flag on active loan by loan broker
  62. Test lending loan manage set default flag on xrp loan after NextPaymentDueDate and GracePeriod by loan broker
  63. Test lending loan manage set default flag on iou loan after NextPaymentDueDate and GracePeriod by loan broker
  64. Test lending loan manage set default flag on mpt loan after NextPaymentDueDate and GracePeriod by loan broker
  65. Test lending loan manage set default flag before NextPaymentDueDate and GracePeriod by loan broker
  66. Test lending loan manage set default flag and clear flag by loan broker
  67. Test lending loan manage set default flag multiple times by loan broker
  68. Test lending loan manage set impair flag on active loan by loan broker
  69. Test lending loan manage set impair flag and clear flag on active loan by loan broker
  70. Test lending loan manage set impair flag on defaulted loan by loan broker
  71. Test lending loan manage set impair flag multiple times by loan broker
  72. Test lending loan manage set unimpair flag and clear flag by loan broker
  73. Test lending loan manage set unimpair flag on defaulted loan by loan broker
  74. Test lending loan manage set impair flag and unimpair flag by loan broker
  75. Test lending loan manage set unimpair flag multiple times by loan broker
  76. Test lending loan manage set impair flag and make a payment
  77. Test lending loan manage set impair flag before NextPaymentDueDate

LoanPay

  1. Test lending loan pay xrp by borrower
  2. Test lending loan pay iou by borrower
  3. Test lending loan pay mpt by borrower
  4. Test lending loan pay by loan broker[XRP]
  5. Test lending loan pay by loan broker[IOU]
  6. Test lending loan pay by loan broker[MPT]
  7. Test lending loan pay by third party account[XRP]
  8. Test lending loan pay by third party account[IOU]
  9. Test lending loan pay by third party account[MPT]
  10. Test lending loan pay by borrower on completed loan[XRP]
  11. Test lending loan pay by borrower on completed loan[IOU]
  12. Test lending loan pay by borrower on completed loan[MPT]
  13. Test lending loan pay xrp by non existent account
  14. Test lending loan pay xrp by borrower with no LoanID
  15. Test lending loan pay xrp with invalid LoanID[None]
  16. Test lending loan pay xrp with invalid LoanID[loan id1]
  17. Test lending loan pay xrp with invalid LoanID[loan id2]
  18. Test lending loan pay xrp with invalid LoanID[-1]
  19. Test lending loan pay xrp with invalid LoanID[0]
  20. Test lending loan pay xrp with invalid LoanID[1.1]
  21. Test lending loan pay xrp with invalid LoanID[malformed input]
  22. Test lending loan pay xrp with invalid LoanID[@!#$]
  23. Test lending loan pay xrp with invalid LoanID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC1A319620091B548FDBBZ]
  24. Test lending loan pay xrp with invalid LoanID[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC]
  25. Test lending loan pay xrp with invalid LoanID[True]
  26. Test lending loan pay xrp with invalid LoanID[False]
  27. Test lending loan pay xrp with mismatched LoanID
  28. Test lending loan pay xrp by borrower with no Amount
  29. Test lending loan pay xrp with malformed Amount[None]
  30. Test lending loan pay xrp with malformed Amount[amount1]
  31. Test lending loan pay xrp with malformed Amount[1.1]
  32. Test lending loan pay xrp with malformed Amount[malformed input]
  33. Test lending loan pay xrp with malformed Amount[@!#$]
  34. Test lending loan pay xrp with malformed Amount[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC1A319620091B548FDBBZ]
  35. Test lending loan pay xrp with malformed Amount[A86E82EA1FE334A43D1A4383DF3691A3307E0835C3EC]
  36. Test lending loan pay xrp with malformed Amount[True]
  37. Test lending loan pay xrp with malformed Amount[False]
  38. Test lending loan pay xrp with invalid Amount[0]
  39. Test lending loan pay xrp with invalid Amount[-1]
  40. Test lending loan pay xrp with invalid Amount[amount2]
  41. Test lending loan pay xrp with Amount as 100
  42. Test lending loan pay after NextPaymentDueDate without tfLoanLatePayment LatePaymentFee and InterestRate[XRP]
  43. Test lending loan pay after NextPaymentDueDate without tfLoanLatePayment LatePaymentFee and InterestRate[IOU]
  44. Test lending loan pay after NextPaymentDueDate without tfLoanLatePayment LatePaymentFee and InterestRate[MPT]
  45. Test lending loan pay after NextPaymentDueDate with tfLoanLatePayment without LatePaymentFee and InterestRate[XRP]
  46. Test lending loan pay after NextPaymentDueDate with tfLoanLatePayment without LatePaymentFee and InterestRate[IOU]
  47. Test lending loan pay after NextPaymentDueDate with tfLoanLatePayment without LatePaymentFee and InterestRate[MPT]
  48. Test lending loan pay xrp after NextPaymentDueDate with LatePaymentFee by borrower
  49. Test lending loan pay IOU after NextPaymentDueDate with LatePaymentFee by borrower
  50. Test lending loan pay MPT after NextPaymentDueDate with LatePaymentFee by borrower
  51. Test lending loan pay xrp with InterestRate and do a payment
  52. Test lending loan pay IOU with InterestRate and do a payment
  53. Test lending loan pay MPT with InterestRate and do 10 payments
  54. Test lending loan pay xrp after NextPaymentDueDate with LatePaymentFee InterestRate LateInterestRate by borrower
  55. Test lending loan pay IOU after NextPaymentDueDate with LatePaymentFee InterestRate LateInterestRate by borrower
  56. Test lending loan pay MPT after NextPaymentDueDate with LatePaymentFee InterestRate LateInterestRate by borrower
  57. Test lending loan pay xrp after NextPaymentDueDate with LatePaymentFee InterestRate LateInterestRate of incorrect asset by borrower
  58. Test lending loan pay xrp less than required payment before NextPaymentDueDate by borrower
  59. Test lending loan pay xrp less than required payment after NextPaymentDueDate by borrower
  60. Test lending loan pay xrp with LoanServiceFee by borrower
  61. Test lending loan pay iou with LoanServiceFee by borrower
  62. Test lending loan pay mpt with LoanServiceFee by borrower
  63. Test lending loan pay xrp of two payments and pay extra in first payment remaining in second payment with tfLoanOverpayment flag
  64. Test lending loan pay xrp of two payments and pay extra in first payment remaining in second payment without tfLoanOverpayment flag
  65. Test lending loan pay xrp of three payments and pay extra in first payment remaining of second interval in second payment third interval payment with tfLoanOverpayment flag
  66. Test lending loan pay xrp of three payments and pay extra in first payment second interval payment remaining in third interval payment with tfLoanOverpayment flag
  67. Test lending loan pay xrp of three payments and pay extra before first payment skip second payment remaining in third interval payment with tfLoanOverpayment flag
  68. Test lending loan pay xrp without tfLoanOverpayment and do an overpayment of two periodic payments
  69. Test lending loan pay IOU without tfLoanOverpayment and do an overpayment of two periodic payments
  70. Test lending loan pay MPT without tfLoanOverpayment and do an overpayment of two periodic payments
  71. Test lending loan pay xrp without tfLoanOverpayment and do a fraction of of periodic payment
  72. Test lending loan pay IOU without tfLoanOverpayment and do a fraction of of periodic payment
  73. Test lending loan pay MPT without tfLoanOverpayment and do a fraction of of periodic payment
  74. Test lending loan pay xrp with tfLoanOverpayment and pay more than PrincipalRequested
  75. Test lending loan pay IOU with tfLoanOverpayment and pay more than PrincipalRequested
  76. Test lending loan pay MPT with tfLoanOverpayment and pay more than PrincipalRequested
  77. Test lending loan pay xrp without tfLoanOverpayment and pay more than PrincipalRequested
  78. Test lending loan pay IOU without tfLoanOverpayment and pay more than PrincipalRequested
  79. Test lending loan pay MPT without tfLoanOverpayment and pay more than PrincipalRequested
  80. Test lending loan pay multiple times before NextPaymentDueDate
  81. Test lending loan pay full payment with tfLoanOverpayment before NextPaymentDueDate
  82. Test lending loan pay xrp early full payment with close payment fee before NextPaymentDueDate
  83. Test lending loan pay iou early full payment with close payment fee before NextPaymentDueDate
  84. Test lending loan pay mpt early full payment with close payment fee before NextPaymentDueDate
  85. Test lending loan pay early full payment less than required
  86. Test lending loan pay of overpayment with tfLoanOverpayment after NextPaymentDueDate
  87. Test lending loan pay iou by borrower with global freeze
  88. Test lending loan pay iou with individual freeze on borrower
  89. Test lending loan pay iou with deep freeze on borrower
  90. Test lending loan pay iou on borrower with individual freeze on loan broker
  91. Test lending loan pay iou on borrower with deep freeze on loan broker
  92. Test lending loan pay xrp of iou asset loan
  93. Test lending loan pay xrp of mpt loan
  94. Test lending loan pay iou of xrp loan
  95. Test lending loan pay iou of mpt loan
  96. Test lending loan pay mpt of xrp loan
  97. Test lending loan pay mpt of iou loan
  98. Test lending loan pay xrp by borrower and deposit auth on loan broker
  99. Test lending loan pay mpt with MPTLocked on borrower
  100. Test lending loan pay mpt with MPTLocked on loan broker
  101. Test lending loan set of xrp for self and loan pay
  102. Test lending loan set of iou for issuer and loan pay
  103. Test lending loan set of iou for self and loan pay
  104. Test lending loan set of mpt for issuer and loan pay
  105. Test lending loan set of mpt for self and loan pay
  106. Test lending loan of 1 unit in one payment[MPT]
  107. Test lending loan of 1 unit in one payment[XRP]
  108. Test lending loan of 1 unit in multiple payments[MPT]
  109. Test lending loan of 1 unit in multiple payments[XRP]
  110. Test lending loan of 1 iou in one payment
  111. Test lending loan of 1 iou in multiple payments
  112. Test xrp loan pay of overpayment without tfLoanOverpayment on loan set
  113. Test xrp loan pay of overpayment with tfLoanOverpayment on loan set
  114. Test lending loan pay with same account as loan broker and borrower
  115. Test xrp loan pay of overpayment with mismatched flag on loan pay
  116. Test xrp loan defaulted and delete loan by loan broker
  117. Test xrp loan defaulted and delete loan by borrower
  118. Test xrp loan defaulted and withdraw remaining first loss capital
  119. Test xrp loan defaulted with low cover deposit and withdraw first loss capital
  120. Test xrp loan defaulted and withdraw first loss capital with deep freeze on loan broker
  121. Test xrp loan defaulted and withdraw first loss capital with freeze on loan broker
  122. Test xrp pay loan delete loan loan broker objects withdraw remaining funds and delete vault
  123. Test xrp pay loan delete loan loan broker objects and delete vault before withdrawing remaining funds
  124. Test xrp pay skip loan delete loan and delete loan broker object
  125. Test xrp loan delete loan skip deleting loan broker and delete vault objects
  126. Test xrp pay loan delete loan1 and loan broker object
  127. Test xrp pay loan delete loan loan broker1 objects and delete vault
  128. Test delete defaulted xrp loan by deep freeze loan broker and create new loan
  129. Test xrp loan of whole asset amount default loan and vault withdraw

Top comments (0)