MetricsDAO / harmony_dbt

DBT Project for the Harmony Blockchain
12 stars 8 forks source link

[Table] bridge_btc #54

Closed antonyip closed 2 years ago

antonyip commented 2 years ago

https://btc.harmony.one/bridge/issue

antonyip commented 2 years ago

extracted from: https://github.com/harmony-one/onebtc.relayer-client/blob/main/.env.mainnet

HMY_RELAY_CONTRACT=0x1ECF073BDA141cba95539CD40B94E8c54A4C7929 HMY_ONE_BTC_CONTRACT=0xdc54046c0451f9269FEe1840aeC808D36015697d -- this is required to register vaults. HMY_ORACLE_CONTRACT=0xa43A1B4643B28e11be995a20873495b71F9d5bF7

idea is to read transactions to the HMY_ONE_BTC_CONTRACT to see what vaults are created, then track the transactions going into and out of the vaults.