DOCS
  • Getting Started
  • Custom token vaults
  • Running a check
  • Output and exit codes
  • Preflight errors
  • Conformance checks
  • Security checks
  • Check API
  • Limits and queue
  • Function coverage
  • Result types
  • Test vaults
Reference

Test vaults

Vaults the project deployed on Testnet to test the checker itself, with the results each one gives.

Deployed test vaults

VaultAddressConfigurationResult
Reference vault (default)CAMDXP2QABDOUMU6F6WPQ5HVKVXCD4MOWPLBZF4KHIBXAD7NT3AGYTNFReference code, decimals_offset = 0, native XLM10 PASS, 1 FAIL (donation_attack)
Demo VaultCAPH3KBZTQQCCP6QD5DRXFFFRAMTQVAGBTW5TLHEHLNJMXY7GKGIJBNQSame code, decimals_offset = 010 PASS, 1 FAIL (donation_attack)
Vault ACAWUBSRHD4DUDWAJENO7XHI3QVEXKIU3ZZ4HRM3RFZ4PNBSCCYXH4VTASame code, decimals_offset = 610 PASS, 1 FAIL (donation_attack)
Vault BCAZBXMYP5TQWEHCFMUD6ZEON7DUWAC2BCKNCKKVBIRX7GZN7M6I2P6HVDeliberate rounding bug9 PASS, 2 FAIL (donation_attack, rounding_direction)
Hardened VaultCCVC5VLAH2RNCPWLR76P3IP6PCLOGG4AIOXXIQ5RNNG3DCKJ3ULBJUVGBurns 1,000 shares to itself in the constructor10 PASS, 1 FAIL (donation_attack)
Blind VaultCCW5GTIFMGRPURESMVVFDFRQHX5ZBW3BTDKVPFNV2KFWY6Q7MVZLHGV7Custom token asset, decimals_offset = 310 PASS, 1 FAIL (donation_attack)
Positive Control VaultCAHMH3VSMNCYDCRTCZBJOKJE65HT2LJBZQFQULMRH6E2OGGGPMSNG376Hardened Vault code with DEAD_SHARES = 100_000_000, decimals_offset = 0, native XLM11 PASS, 0 FAIL
Verified

Results as recorded in VAULT_CHECKS.md.

Vault B is the negative control: it shows rounding_direction catches a real, injected bug. The Hardened Vault raised the victim's shares in donation_attack from 0 to 100, still far below the 90% threshold.

The Positive Control Vault is a control for donation_attack only, not a recommended design. Its dead-shares value was chosen after the parameters of that check were known, and only one donation size was tested.

Using them

Verified

The conformance checks change these vaults' state. Use them for trying the checker. Do not run the checker against vaults you do not own.