-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move from Filecoin State Market deals to Filecoin Deals #68
Comments
There are two potential sources for deals data.
The built-in actors route seems easier, but I'm not sure events are 100% reliable. Going the message's way might be more accurate, but is harder and needs the business logic to be replicated downstream. |
BigQuery SQL to get the data from SELECT
height,
cid,
`from` AS from_address,
`to` AS to_address,
value,
method,
params,
JSON_EXTRACT(params, "$.SectorProofs") AS sector_proofs,
JSON_EXTRACT(params, "$.AggregateProof") AS sector_aggregate_proof,
JSON_EXTRACT(params, "$.SectorActivations") AS sector_activations,
JSON_EXTRACT(params, "$.AggregateProofType") AS sector_aggregate_proof_type,
JSON_EXTRACT(params, "$.RequireActivationSuccess") AS sector_require_activation_success,
JSON_EXTRACT(params, "$.RequireNotificationSuccess") AS sector_require_notification_success,
FROM `lily-data.lily.parsed_messages`
WHERE method = 'ProveCommitSectors3' |
The folks at Meridian will work on this (space-meridian/roadmap#115). Will be great to reach out and learn more about their approach! |
We should get at least all verified |
We can get the DDO onboarded data from Spacescope APIs. Sample URL:
|
There is a new API that might serve DDO deals. |
The Portal is only ingesting State Market Deals (deals notifying the
f05
actor). In the last few months, there are other kinds of deals that don't appear in the sources I'm using (State Market Deals).Need to figure out a way to ingest all the deals and surface which addresses are notifying (or not) and in which sectors they appear.
The text was updated successfully, but these errors were encountered: