Implement content directory query node schemas+mappings This is a gigantic task, needs a lot of decomposition
Get familiar with content directory runtime module:
- Data types
- Runtime events
| { | |
| "abi": [ | |
| { | |
| "anonymous": false, | |
| "inputs": [ | |
| { | |
| "indexed": false, | |
| "internalType": "uint64", | |
| "name": "_id", | |
| "type": "uint64" |
I hereby claim:
To claim this, I am signing this object:
| import json | |
| from datetime import datetime, timedelta | |
| def generate(start_date, end_date): | |
| time_delta = end_date - start_date | |
| hours = time_delta.days * 24 + time_delta.seconds // 3600 | |
| print(hours) | |
| dates = [start_date + timedelta(hours=i) for i in range(1, hours + 1)] |