Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
bryzettler committed Aug 5, 2024
1 parent 980d7a1 commit 57b33ae
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 49 deletions.
113 changes: 81 additions & 32 deletions packages/docsite/src/pages/docs/api/nft-proxy-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

#### Accounts

| Name | Mutability | Signer | Docs |
| ------------- | ---------- | ------ | ---------------------------------------------------------------------- |
| payer | mut | yes | |
| asset | immut | no | |
| approver | immut | yes | |
| owner | immut | no | or in the case of a primary proxy (first in the line), Pubkey::default |
| tokenAccount | immut | no | |
| proxyConfig | immut | no | |
| currentProxy | mut | no | |
| recipient | immut | no | |
| nextProxy | mut | no | |
| systemProgram | immut | no | |
| Name | Mutability | Signer | Docs |
| ---------------------- | ---------- | ------ | ---------------------------------------------------------------------- |
| payer | mut | yes | |
| asset | immut | no | |
| approver | immut | yes | |
| voter | immut | no | or in the case of a primary proxy (first in the line), Pubkey::default |
| tokenAccount | immut | no | |
| proxyConfig | immut | no | |
| currentProxyAssignment | mut | no | |
| recipient | immut | no | |
| nextProxyAssignment | mut | no | |
| systemProgram | immut | no | |

#### Args

Expand All @@ -50,17 +50,52 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

#### Accounts

| Name | Mutability | Signer | Docs |
| ------------- | ---------- | ------ | ---------------------------------------------------------------------- |
| rentRefund | mut | no | |
| asset | immut | no | |
| approver | immut | yes | |
| owner | immut | no | or in the case of a primary proxy (first in the line), Pubkey::default |
| tokenAccount | immut | no | |
| currentProxy | immut | no | |
| prevProxy | mut | no | |
| proxy | mut | no | |
| systemProgram | immut | no | |
| Name | Mutability | Signer | Docs |
| ---------------------- | ---------- | ------ | ---------------------------------------------------------------------- |
| rentRefund | mut | no | |
| asset | immut | no | |
| approver | immut | yes | |
| voter | immut | no | or in the case of a primary proxy (first in the line), Pubkey::default |
| tokenAccount | immut | no | |
| currentProxyAssignment | immut | no | |
| prevProxyAssignment | mut | no | |
| proxyAssignment | mut | no | |
| proxyConfig | immut | no | |
| systemProgram | immut | no | |

#### Args

| Name | Type | Docs |
| ---- | ---- | ---- |

### updateProxyConfigV0

#### Accounts

| Name | Mutability | Signer | Docs |
| ------------- | ---------- | ------ | ---- |
| payer | mut | yes | |
| authority | immut | no | |
| proxyConfig | mut | no | |
| systemProgram | immut | no | |

#### Args

| Name | Type | Docs |
| ---- | ----------------------- | ---- |
| args | UpdateProxyConfigArgsV0 | |

### unassignExpiredProxyV0

#### Accounts

| Name | Mutability | Signer | Docs |
| ------------------- | ---------- | ------ | ---- |
| rentRefund | mut | no | |
| prevProxyAssignment | mut | no | |
| proxyAssignment | mut | no | |
| proxyConfig | immut | no | |
| systemProgram | immut | no | |

#### Args

Expand All @@ -76,17 +111,17 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc
| authority | publicKey |
| name | string |
| maxProxyTime | i64 |
| seasons | i64 |
| seasons | SeasonV0 |

### ProxyV0
### ProxyAssignmentV0

| Field | Type |
| -------------- | --------- |
| owner | publicKey |
| voter | publicKey |
| proxyConfig | publicKey |
| asset | publicKey |
| index | u16 |
| nextOwner | publicKey |
| nextVoter | publicKey |
| rentRefund | publicKey |
| expirationTime | i64 |
| bumpSeed | u8 |
Expand All @@ -101,8 +136,22 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

### InitializeProxyConfigArgsV0

| Field | Type |
| ------------ | ------ |
| name | string |
| maxProxyTime | i64 |
| seasons | i64 |
| Field | Type |
| ------------ | -------- |
| name | string |
| maxProxyTime | i64 |
| seasons | SeasonV0 |

### UpdateProxyConfigArgsV0

| Field | Type |
| ------------ | --------------- |
| maxProxyTime | i64 |
| seasons | [object Object] |

### SeasonV0

| Field | Type |
| ----- | ---- |
| start | i64 |
| end | i64 |
14 changes: 7 additions & 7 deletions packages/docsite/src/pages/docs/api/nft-voter-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc
| rentRefund | mut | no | Account to receive sol rent_refund if marker is closed |
| marker | mut | no | |
| nftVoter | immut | no | |
| owner | immut | yes | |
| voter | immut | yes | |
| mint | immut | no | |
| metadata | immut | no | |
| proxy | immut | no | |
| proxyAssignment | immut | no | |
| proposal | mut | no | |
| proposalConfig | immut | no | |
| stateController | mut | no | |
Expand All @@ -110,9 +110,9 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc
| --------------- | ---------- | ------ | ---- |
| payer | mut | yes | |
| marker | mut | no | |
| proxy | immut | no | |
| proxyAssignment | immut | no | |
| nftVoter | immut | no | |
| owner | immut | yes | |
| voter | immut | yes | |
| mint | immut | no | |
| metadata | immut | no | |
| proposal | mut | no | |
Expand Down Expand Up @@ -216,9 +216,9 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

### ProgrammableConfig

| Variant | Fields |
| ------- | ------------------------- |
| V1 | rule_set: [object Object] |
| Variant | Fields |
| ------- | ------------------------ |
| V1 | ruleSet: [object Object] |

### UseMethod

Expand Down
14 changes: 7 additions & 7 deletions packages/docsite/src/pages/docs/api/proposal-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,10 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc

### ProposalState

| Variant | Fields |
| --------- | ------------------------------------- |
| Draft | |
| Cancelled | |
| Voting | start_ts: i64 |
| Resolved | choices: [object Object], end_ts: i64 |
| Custom | name: string, bin: bytes |
| Variant | Fields |
| --------- | ------------------------------------ |
| Draft | |
| Cancelled | |
| Voting | startTs: i64 |
| Resolved | choices: [object Object], endTs: i64 |
| Custom | name: string, bin: bytes |
4 changes: 2 additions & 2 deletions packages/docsite/src/pages/docs/api/state-controller-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ If you are looking for a quick start guide, check out the [Getting Started](/doc
| Variant | Fields |
| ----------------- | ------------------------ |
| Resolved | choices: [object Object] |
| EndTimestamp | end_ts: i64 |
| EndTimestamp | endTs: i64 |
| OffsetFromStartTs | offset: i64 |
| ChoiceVoteWeight | weight_threshold: u128 |
| ChoiceVoteWeight | weightThreshold: u128 |
| ChoicePercentage | percentage: i32 |
| Top | n: u16 |
| NumResolved | n: u16 |
Expand Down
Loading

0 comments on commit 57b33ae

Please sign in to comment.