Skip to content

Commit

Permalink
CNS-784: fix projects readme
Browse files Browse the repository at this point in the history
  • Loading branch information
oren-lava committed Dec 27, 2023
1 parent 5ee38ba commit 576717f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions x/projects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Note that the plans module is closely connected to the subscription and projects

Once a consumer purchases a subscription, they can create projects under it. Each project has a unique name (index) within this subscription. A project is defined as follows:

```
struct Project {
```go
type Project struct {
Index string // project unique index
Subscription string // project associated subscription
Enabled bool // project enabled/disabled
Expand All @@ -52,8 +52,8 @@ For more details regarding the `Policy` struct and its limitations, see [here](h

A project has a list of accounts (project keys) that can use the project in different ways. There are two kinds of keys: admin key and developer key. A project key is defined as follows:

```
struct ProjectKey {
```go
type ProjectKey struct {
Key string // user lava address
Kinds uint32 // key kind
}
Expand Down Expand Up @@ -81,8 +81,8 @@ Badges are a method to grant compute units (CU) from projects to other users. Gi

A badge is defined as follows:

```
struct Badge {
```go
type Badge struct {
CuAllocation uint64 // badge CU limit
Epoch uint64 // badge epoch
Address string // badge user address
Expand Down

0 comments on commit 576717f

Please sign in to comment.