Skip to content

Commit

Permalink
Schema and types
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Apr 2, 2024
1 parent fb1023d commit 6351a65
Show file tree
Hide file tree
Showing 7 changed files with 12,218 additions and 356 deletions.
12,405 changes: 12,051 additions & 354 deletions .yarn/patches/@joystream-types-npm-4.3.0-542438a0b6.patch

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions packages/server/src/common/queries/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2592,6 +2592,7 @@ union ProposalDetails =
| UpdatePalletFrozenStatusProposalDetails
| UpdateGlobalNftLimitProposalDetails
| DecreaseCouncilBudgetProposalDetails
| UpdateTokenPalletTokenConstraintsProposalDetails

union ProposalStatus =
ProposalStatusDeciding
Expand Down Expand Up @@ -3562,6 +3563,53 @@ type UpdatePalletFrozenStatusProposalDetails {
pallet: String!
}

type UpdateTokenPalletTokenConstraintsProposalDetails {
"""
Proposed maximum patronage yearly interest rate (in part per million)
"""
maxYearlyRate: Int

"""
Proposed minimum value of the slope amm parameter
"""
minAmmSlope: BigInt

"""
Proposed minimum block duration of sales
"""
minSaleDuration: Int

"""
Proposed minimum block duration for a revenue split
"""
minRevenueSplitDuration: Int

"""
Proposed minimum blocks between revenue share issuance block and actual revenue share starting block
"""
minRevenueSplitTimeToStart: Int

"""
Proposed platform fee ratio charged on top of each sale and burned (in part per million)
"""
salePlatformFee: Int

"""
Proposed ratio of fees charged on top of each token purchase from the AMM (in part per million)
"""
ammBuyTxFees: Int

"""
Proposed ratio of fees charged on top of each token sold to the AMM (in part per million)
"""
ammSellTxFees: Int

"""
Proposed bloat bond value used during account creation
"""
bloatBond: BigInt
}

type UpdateWorkingGroupBudgetProposalDetails {
"""
Amount to increase / decrease the working group budget by (will be decudted from / appended to council budget accordingly)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 48 additions & 0 deletions packages/ui/src/common/api/schemas/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -2592,6 +2592,7 @@ union ProposalDetails =
| UpdatePalletFrozenStatusProposalDetails
| UpdateGlobalNftLimitProposalDetails
| DecreaseCouncilBudgetProposalDetails
| UpdateTokenPalletTokenConstraintsProposalDetails

union ProposalStatus =
ProposalStatusDeciding
Expand Down Expand Up @@ -3562,6 +3563,53 @@ type UpdatePalletFrozenStatusProposalDetails {
pallet: String!
}

type UpdateTokenPalletTokenConstraintsProposalDetails {
"""
Proposed maximum patronage yearly interest rate (in part per million)
"""
maxYearlyRate: Int

"""
Proposed minimum value of the slope amm parameter
"""
minAmmSlope: BigInt

"""
Proposed minimum block duration of sales
"""
minSaleDuration: Int

"""
Proposed minimum block duration for a revenue split
"""
minRevenueSplitDuration: Int

"""
Proposed minimum blocks between revenue share issuance block and actual revenue share starting block
"""
minRevenueSplitTimeToStart: Int

"""
Proposed platform fee ratio charged on top of each sale and burned (in part per million)
"""
salePlatformFee: Int

"""
Proposed ratio of fees charged on top of each token purchase from the AMM (in part per million)
"""
ammBuyTxFees: Int

"""
Proposed ratio of fees charged on top of each token sold to the AMM (in part per million)
"""
ammSellTxFees: Int

"""
Proposed bloat bond value used during account creation
"""
bloatBond: BigInt
}

type UpdateWorkingGroupBudgetProposalDetails {
"""
Amount to increase / decrease the working group budget by (will be decudted from / appended to council budget accordingly)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5014,7 +5014,7 @@ __metadata:

"@joystream/types@patch:@joystream/types@npm%3A4.3.0#./.yarn/patches/@joystream-types-npm-4.3.0-542438a0b6.patch::locator=pioneer%40workspace%3A.":
version: 4.3.0
resolution: "@joystream/types@patch:@joystream/types@npm%3A4.3.0#./.yarn/patches/@joystream-types-npm-4.3.0-542438a0b6.patch::version=4.3.0&hash=754a5a&locator=pioneer%40workspace%3A."
resolution: "@joystream/types@patch:@joystream/types@npm%3A4.3.0#./.yarn/patches/@joystream-types-npm-4.3.0-542438a0b6.patch::version=4.3.0&hash=226d7f&locator=pioneer%40workspace%3A."
dependencies:
"@polkadot/api": 10.1.4
"@polkadot/keyring": 11.1.1
Expand All @@ -5023,7 +5023,7 @@ __metadata:
"@types/vfile": ^4.0.0
lodash: ^4.17.15
moment: ^2.24.0
checksum: 0e54b9ab31ff7a10d741e4bf28aa22093bf50bb5d9fea30d3bd1711799de86fa6a49c273484eb64de0f8fdd8b71a769a0f3bca1f5e3b9c8af0ce8d04d8178128
checksum: 2aedaee7ec499b602e2156aec3778a9803c50d81e5bb939fd86345938959e02b02e170d5c3ddb6c882a9ab95830c92c11f02a47d7eedd0016fbf94f1a0841156
languageName: node
linkType: hard

Expand Down

0 comments on commit 6351a65

Please sign in to comment.