# Name of the substreams config file in your substreams module. Usually "./substreams.yaml"
substreams_yaml_path: ./substreams.yaml
# Name of the adapter contract, usually: ProtocolSwapAdapter
adapter_contract: "FraxV3SFraxAdapter"
# Constructor signature of the Adapter contract
adapter_build_signature: "constructor(address)"
# A comma separated list of args to be passed to the constructor of the Adapter contract
adapter_build_args: "0xA663B02CF0a4b149d2aD41910CB81e23e1c41c32,0x853d955aCEf822Db058eb8505911ED77F175b99e"
# Whether or not the testing script should skip checking balances of the protocol components.
# If set to `true` please always add a reason why it's skipped.
skip_balance_check: true

# A list of protocol types names created by your Substreams module.
protocol_type_names:
  - "sfrax_vault"

# A list of tests.
tests:
  # Test to validate the creation of the sFrax vault
  - name: test_sfrax_vault_creation
    # Indexed block range where the vault was created
    start_block: 18378085
    stop_block: 18380714 #2629 blocks difference 18380714
    # Same as global `initialized_accounts` but only scoped to this test.
    expected_components:
      - id: "0xA663B02CF0a4b149d2aD41910CB81e23e1c41c32" # sFrax Vault
        tokens:
          - "0x853d955aCEf822Db058eb8505911ED77F175b99e" # FRAX
          - "0xA663B02CF0a4b149d2aD41910CB81e23e1c41c32" # sFrax
        creation_tx: "0xecd4ab27bc3b4c300b11405fc6a156ee316ad3f4c24f63130cbcbc49ae6bef55"
        skip_simulation: false
