proofs = Datalog.query(
({
upload, store, uploadID, storeID, space
}) => {
Capability({ id: uploadID, can: "upload/add", with: space });
Capability({ id: storeID, can: "store/add", with: space });
Proof({ cid: upload });
Proof({ cid: store });
Delegates({ capability: uploadID, proof: upload });
Delegates({ capability: storeID, proof: store });
}
)