substrate
substrate copied to clipboard
Document how to build a dashboard for contracts
Document in the pallet-contracts readme how to build a dashboard for contracts
ToDo
-
[ ] How can Active Contracts be aggregated? Listen to extrinsics for
Contract::Call,Contract::Instantiate, andContract::InstantiateWithCode. -
[ ] Consumed Gas? Check
ExtrinsicSuccessandExtrinsicFailedfor consumed gas (that's theweightfield). -
[ ] Gas Fee? Read weight adjustment factor from storage and convert it to e.g. USD, this reflects the market demand based on block fullness.
This constant factor:

is multiplied with this dynamic factor:
