forked from rjonczy/succint_exporter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from ComposableFi/v0.1.3
removing requests
- Loading branch information
Showing
2 changed files
with
10 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,11 @@ | ||
package main | ||
|
||
type ProofRequestData struct { | ||
Input string `json:"input"` | ||
} | ||
|
||
type ProofRequest struct { | ||
Type string `json:"type"` | ||
ReleaseID string `json:"releaseId"` | ||
Data ProofRequestData `json:"data"` | ||
} | ||
|
||
type Organization struct { | ||
ID string `json:"id"` | ||
OrgName string `json:"org_name"` | ||
CreatedAt string `json:"created_at"` | ||
UpdatedAt string `json:"updated_at"` | ||
} | ||
|
||
type Project struct { | ||
ID string `json:"id"` | ||
Name string `json:"name"` | ||
GitAccountName string `json:"git_account_name"` | ||
OrganizationID string `json:"organization_id"` | ||
CreatedAt string `json:"created_at"` | ||
UpdatedAt string `json:"updated_at"` | ||
Edges struct { | ||
Organization Organization `json:"organization"` | ||
} `json:"edges"` | ||
} | ||
|
||
type Release struct { | ||
ID string `json:"id"` | ||
Number int `json:"number"` | ||
ProjectID string `json:"project_id"` | ||
CreatedAt string `json:"created_at"` | ||
UpdatedAt string `json:"updated_at"` | ||
Edges struct { | ||
Project Project `json:"project"` | ||
} `json:"edges"` | ||
} | ||
|
||
type Request struct { | ||
ID string `json:"id"` | ||
ChainID int `json:"chain_id"` | ||
GatewayAddress string `json:"gateway_address"` | ||
Sender string `json:"sender"` | ||
Origin string `json:"origin"` | ||
FunctionID string `json:"function_id"` | ||
Input string `json:"input"` | ||
CallbackAddress string `json:"callback_address"` | ||
CallbackData string `json:"callback_data"` | ||
CallbackGasLimit int `json:"callback_gas_limit"` | ||
RequestType string `json:"request_type"` | ||
Status string `json:"status"` | ||
CreatedAt string `json:"created_at"` | ||
UpdatedAt string `json:"updated_at"` | ||
} | ||
|
||
type Edges struct { | ||
Release Release `json:"release"` | ||
Requests []Request `json:"requests"` | ||
} | ||
|
||
type SuccintProof struct { | ||
ID string `json:"id"` | ||
Status string `json:"status"` | ||
CreatedAt string `json:"created_at"` | ||
UpdatedAt string `json:"updated_at"` | ||
ProofRequest ProofRequest `json:"proof_request"` | ||
ProofRelease string `json:"proof_release"` | ||
Edges Edges `json:"edges"` | ||
} | ||
ID string json:"id" | ||
Status string json:"status" | ||
CreatedAt string json:"created_at" | ||
ProofRequest interface{} json:"proof_request" | ||
ProofRelease interface{} json:"proof_release" | ||
Edges interface{} json:"edges" | ||
// Requests interface{} json:"requests" | ||
} |