select
*
FROM terra.core.fact_msgs where msg:attributes[0]:value ilike '%MsgInstantiateContract%'
/* NOTES
https://docs.terra.money/develop/guides/smart-contracts/write-smart-contract/ finding the message create contract
*/
/*
_contract_address
token_id
create_client
66
create_validator
60
*/