INPUT_OBJECT

ProposalTermsInput

Proposal terms input. Only one kind of change is expected. Proposals with no changes or more than one will not be accepted.

link GraphQL Schema definition

1 input ProposalTermsInput {
5
2 # RFC3339Nano/ISO-8601 time and date when voting closes for this proposal.
3 # Constrained by "minCloseInSeconds" and "maxCloseInSeconds" network parameters.
4 closingDatetime: String!
10
6 # RFC3339Nano/ISO-8601 time and date when this proposal is executed (if passed).
7 # Note that it has to be after closing date time.
8 # Constrained by "minEnactInSeconds" and "maxEnactInSeconds" network parameters.
9 enactmentDatetime: String!
18
11 # Field defining new market change - the proposal will create new market if passed
12 # and enacted.
13 # It can only be set if "updateMarket" and "updateNetwork" are not set (the
14 # proposal will be rejected otherwise).
15 # One of "newMarket", "updateMarket", "updateNetwork" must be set (the proposal
16 # will be rejected otherwise).
17 newMarket: NewMarketInput
26
19 # Field defining update market change - the proposal will update existing market
20 # if passed and enacted.
21 # It can only be set if "newMarket" and "updateNetwork" are not set (the proposal
22 # will be rejected otherwise).
23 # One of "newMarket", "updateMarket", "updateNetwork" must be set (the proposal
24 # will be rejected otherwise).
25 updateMarket: UpdateMarketInput
34
27 # Field defining update network change - the proposal will update Vega network
28 # parameters if passed and enacted.
29 # It can only be set if "newMarket" and "updateMarket" are not set (the proposal
30 # will be rejected otherwise).
31 # One of "newMarket", "updateMarket", "updateNetwork" must be set (the proposal
32 # will be rejected otherwise).
33 updateNetworkParameter: UpdateNetworkParameterInput
38
35 # a new Asset proposal, this will create a new asset to be used in the vega
36 # network
37 newAsset: NewAssetInput
39 }