Skip to content

Commit

Permalink
docs: add RFC for forward contract functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanchristo committed Jan 12, 2023
1 parent bd1413e commit 91be123
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions specs/rfcs/003-forward-contract/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,8 @@ message Contract {
### Contract Reserve State

```protobuf
// ContractReserve defines a forward contract reserve (aka "buffer pool")
// and the table within which forward contract reserves are stored.
message ContractReserve {
option (cosmos.orm.v1alpha1.table) = {
id : 2,
Expand All @@ -326,9 +328,10 @@ message ContractReserve {
uint64 contract_id = 1;
// balances is the list of credit batch balances held in the reserve.
repeated Balances balances = 2;
repeated Balance balances = 2;
message Balances {
// Balance defines a balance of credits held in the reserve.
message Balance {
// batch_denom is the amount of tradable credits in the reserve.
string batch_denom = 1;
Expand Down

0 comments on commit 91be123

Please sign in to comment.