Skip to content
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

feat: ecocredit ORM proto definitions #700

Merged
merged 34 commits into from
Jan 26, 2022
Merged
Changes from 3 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
36a7b10
feat: ORM state proto defs
technicallyty Jan 24, 2022
00480f6
fix: index
technicallyty Jan 24, 2022
c53b2d3
chore: reorder
technicallyty Jan 24, 2022
7f694f1
chore: address review & split marketplace
technicallyty Jan 24, 2022
c392289
chore: create JOIN table for issuers
technicallyty Jan 24, 2022
be30441
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
f50c27c
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
a36230a
chore: review comments
technicallyty Jan 25, 2022
af8de09
Merge branch 'ty/eco_orm' of https://github.com/regen-network/regen-l…
technicallyty Jan 25, 2022
153c823
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
4aa6d84
Merge branch 'ty/eco_orm' of https://github.com/regen-network/regen-l…
technicallyty Jan 25, 2022
468d8c3
feat: marketplace indexes
technicallyty Jan 25, 2022
f950fa2
feat: user/basket credit balances and fixes
technicallyty Jan 25, 2022
329961a
feat: batch sequence and batch supply
technicallyty Jan 25, 2022
3c2e291
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
186884c
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
b716048
chore: move basket messages to own directory
technicallyty Jan 25, 2022
0a15e19
chore: use batch id's to save space
technicallyty Jan 25, 2022
5e2a0c2
merge
technicallyty Jan 25, 2022
015aa9a
chore: use batch id in basket balance
technicallyty Jan 25, 2022
40bbe1e
feat: add retired tracking to batch supply
technicallyty Jan 25, 2022
a40947c
chore: remove credit type sequence
technicallyty Jan 25, 2022
9716b94
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
0d812f7
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
dbaa3b8
chore: use project_id for batch seq, use bytes for addr in eco balance
technicallyty Jan 25, 2022
2aaa7e7
Merge branch 'ty/eco_orm' of https://github.com/regen-network/regen-l…
technicallyty Jan 25, 2022
d4af6e9
Merge branch 'master' into ty/eco_orm
technicallyty Jan 25, 2022
e4b4d91
Update proto/regen/ecocredit/v1beta1/state.proto
technicallyty Jan 25, 2022
a431406
Merge branch 'ty/eco_orm' of https://github.com/regen-network/regen-l…
technicallyty Jan 25, 2022
09d4ee4
Update proto/regen/ecocredit/v1beta1/baskets/state.proto
technicallyty Jan 25, 2022
6049a6c
Apply suggestions from code review
technicallyty Jan 25, 2022
22491e9
feat: add expiration and askdenom table
technicallyty Jan 26, 2022
1bc8162
Merge branch 'ty/eco_orm' of https://github.com/regen-network/regen-l…
technicallyty Jan 26, 2022
f5c3d3d
feat: add expiration index
technicallyty Jan 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions proto/regen/ecocredit/v1beta1/state.proto
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ message BatchInfo {
index: {id: 2 fields: "start_date"}
};

// id is a an incrementing integer to identify the batch
// id is an auto-incrementing integer to succinctly identify the batch
uint64 id = 1;

// project_id is the unique ID of the project this batch belongs to.
Expand Down Expand Up @@ -159,7 +159,7 @@ message EcocreditBalance {
string retired = 4;
}

// BatchSequence tracks the sequence number for batches within a class
// BatchSequence tracks the sequence number for batches within a project
message BatchSequence {
option (cosmos.orm.v1alpha1.table) = {
id: 10,
technicallyty marked this conversation as resolved.
Show resolved Hide resolved
Expand Down