make_vault_export_state_key

Documentation for eth_defi.vault.top_vaults_json.make_vault_export_state_key function.

make_vault_export_state_key(chain_id, address)

Create a canonical sticky export state key.

State, dataframe rows, exported rows, and deduplication all use the same chain_id-lowercase_address shape.

Parameters
  • chain_id (Union[int, str]) – Numeric chain id.

  • address (str) – EVM address, possibly checksummed.

Returns

Canonical state key.

Return type

str