Skip to content

Commit

Permalink
Automated specs update from vegaprotocol/vega#3a5e388ac to v0.74.7 (#961
Browse files Browse the repository at this point in the history
)

* Automated specs update from vegaprotocol/vega#3a5e388ac

* bump testnet and mainnet to 0.74.7

* remove old sidebars

---------

Co-authored-by: vega-ci-bot <[email protected]>
Co-authored-by: Edd <[email protected]>
  • Loading branch information
3 people authored Feb 29, 2024
1 parent a11e6d3 commit 715f17e
Show file tree
Hide file tree
Showing 208 changed files with 49,929 additions and 3,020 deletions.
6 changes: 3 additions & 3 deletions docs/api/grpc/data-node/api/v2/trading_data.proto.mdx

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/api/grpc/vega/governance.proto.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ _**package** vega_


### `Vote`
<ProtoMessage key={41} message={{"name":"Vote","longName":"Vote","fullName":"vega.Vote","description":"Governance vote","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"party_id","description":"Voter's party ID.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"Which way the party voted.","label":"","type":"Value","longType":"Vote.Value","fullType":"vega.Vote.Value","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/testnet/api/grpc/vega/governance.proto#votevalue"},{"name":"proposal_id","description":"Proposal ID being voted on.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"timestamp","description":"Timestamp in Unix nanoseconds when the vote was acknowledged by the network.","label":"","type":"int64","longType":"int64","fullType":"int64","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"total_governance_token_balance","description":"Total number of governance token for the party that cast the vote.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"total_governance_token_weight","description":"The weight of this vote based on the total number of governance tokens.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"total_equity_like_share_weight","description":"The weight of the vote compared to the total amount of equity-like share on the market. It is only populated if the vote is for a single type proposal.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"per_market_equity_like_share_weight","description":"The per market weight of the vote compared to the total amount of equity-like share on the market.. It is only populated if the vote is for a batch type proposal.","label":"repeated","type":"PerMarketEquityLikeShareWeightEntry","longType":"Vote.PerMarketEquityLikeShareWeightEntry","fullType":"vega.Vote.PerMarketEquityLikeShareWeightEntry","ismap":true,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/testnet/api/grpc/vega/governance.proto#votepermarketequitylikeshareweightentry"}]}} />
<ProtoMessage key={41} message={{"name":"Vote","longName":"Vote","fullName":"vega.Vote","description":"Governance vote","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"party_id","description":"Voter's party ID.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"Which way the party voted.","label":"","type":"Value","longType":"Vote.Value","fullType":"vega.Vote.Value","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/testnet/api/grpc/vega/governance.proto#votevalue"},{"name":"proposal_id","description":"Proposal ID being voted on.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"timestamp","description":"Timestamp in Unix nanoseconds when the vote was acknowledged by the network.","label":"","type":"int64","longType":"int64","fullType":"int64","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"total_governance_token_balance","description":"Total number of governance token for the party that cast the vote.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"total_governance_token_weight","description":"The weight of this vote based on the total number of governance tokens.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"total_equity_like_share_weight","description":"The weight of the vote compared to the total amount of equity-like share on the market. It is only populated if the vote is for a single type proposal.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"els_per_market","description":"The per market weight of the vote compared to the total amount of equity-like share on the market.. It is only populated if the vote is for a batch type proposal.","label":"repeated","type":"VoteELSPair","longType":"VoteELSPair","fullType":"vega.VoteELSPair","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":"","typeLink":"/testnet/api/grpc/vega/governance.proto#voteelspair"}]}} />


### `Vote.PerMarketEquityLikeShareWeightEntry`
<ProtoMessage key={42} message={{"name":"PerMarketEquityLikeShareWeightEntry","longName":"Vote.PerMarketEquityLikeShareWeightEntry","fullName":"vega.Vote.PerMarketEquityLikeShareWeightEntry","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"key","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"value","description":"","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />
### `VoteELSPair`
<ProtoMessage key={42} message={{"name":"VoteELSPair","longName":"VoteELSPair","fullName":"vega.VoteELSPair","description":"","hasExtensions":false,"hasFields":true,"hasOneofs":false,"extensions":[],"fields":[{"name":"market_id","description":"The market ID.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""},{"name":"els","description":"The equity-like share weight for this market.","label":"","type":"string","longType":"string","fullType":"string","ismap":false,"isoneof":false,"oneofdecl":"","defaultValue":""}]}} />

---
## Enums
Expand Down
6 changes: 3 additions & 3 deletions docs/api/grpc/vega/vega.proto.mdx

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@

// Timestamp as Unix time in seconds when voting closes for this proposal,
// constrained by `minClose` and `maxClose` network parameters. (int64 as string)
closingTimestamp: 1710159461,
closingTimestamp: 1710861026,

// Timestamp as Unix time in seconds when proposal gets enacted if passed,
// constrained by `minEnact` and `maxEnact` network parameters. (int64 as string)
enactmentTimestamp: 1710245861,
enactmentTimestamp: 1710947426,

// Validation timestamp as Unix time in seconds. (int64 as string)
validationTimestamp: 1710245861
validationTimestamp: 1710947426
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
}
}
},
"closingTimestamp": 1710159461,
"enactmentTimestamp": 1710245861,
"validationTimestamp": 1710245861
"closingTimestamp": 1710861026,
"enactmentTimestamp": 1710947426,
"validationTimestamp": 1710947426
}
}
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
}
}
},
"closingTimestamp": 1710159461,
"enactmentTimestamp": 1710245861,
"validationTimestamp": 1710245861
"closingTimestamp": 1710861026,
"enactmentTimestamp": 1710947426,
"validationTimestamp": 1710947426
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ vegawallet.exe transaction send --wallet YOUR_WALLETNAME --pubkey YOUR_PUBLIC_KE
}^
}^
},^
\"closingTimestamp\": 1710159461,^
\"enactmentTimestamp\": 1710245861,^
\"validationTimestamp\": 1710245861^
\"closingTimestamp\": 1710861026,^
\"enactmentTimestamp\": 1710947426,^
\"validationTimestamp\": 1710947426^
}^
}^
}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

// Timestamp as Unix time in seconds when voting closes for this proposal,
// constrained by `minClose` and `maxClose` network parameters. (int64 as string})
closingTimestamp: 1710159461,
closingTimestamp: 1710861026,
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"terms": {
"newFreeform": {},
"closingTimestamp": 1710159461
"closingTimestamp": 1710861026
}
}
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"terms": {
"newFreeform": {},
"closingTimestamp": 1710159461
"closingTimestamp": 1710861026
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ vegawallet.exe transaction send --wallet YOUR_WALLETNAME --pubkey YOUR_PUBLIC_KE
},^
\"terms\": {^
\"newFreeform\": {},^
\"closingTimestamp\": 1710159461^
\"closingTimestamp\": 1710861026^
}^
}^
}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@

// Optional new futures market metadata, tags.
metadata: [
"enactment:2024-03-19T17:54:04Z",
"settlement:2024-03-18T17:54:04Z",
"enactment:2024-03-20T15:10:26Z",
"settlement:2024-03-19T15:10:26Z",
"source:docs.vega.xyz"
],

Expand All @@ -151,9 +151,6 @@

// Price monitoring probability level p. (string)
probability: "0.9999999",

// Price monitoring auction extension duration in seconds should the price
breach its theoretical level over the specified horizon at the specified probability level.(string) auctionExtension: "3600",
}
]
},
Expand Down Expand Up @@ -265,11 +262,11 @@

// Timestamp as Unix time in seconds when voting closes for this proposal,
// constrained by `minClose` and `maxClose` network parameters. (int64 as string)
closingTimestamp: 1710784444,
closingTimestamp: 1710861026,

// Timestamp as Unix time in seconds when proposal gets enacted if passed,
// constrained by `minEnact` and `maxEnact` network parameters. (int64 as string)
enactmentTimestamp: 1710870844,
enactmentTimestamp: 1710947426,
}
}
```
11 changes: 5 additions & 6 deletions docs/tutorials/proposals/_generated-proposals/_newMarket_cmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,15 @@
}
},
"metadata": [
"enactment:2024-03-19T17:54:04Z",
"settlement:2024-03-18T17:54:04Z",
"enactment:2024-03-20T15:10:26Z",
"settlement:2024-03-19T15:10:26Z",
"source:docs.vega.xyz"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "43200",
"probability": "0.9999999",
"auctionExtension": "3600"
"probability": "0.9999999"
}
]
},
Expand Down Expand Up @@ -138,8 +137,8 @@
}
}
},
"closingTimestamp": 1710784444,
"enactmentTimestamp": 1710870844
"closingTimestamp": 1710861026,
"enactmentTimestamp": 1710947426
}
}
}'
Expand Down
11 changes: 5 additions & 6 deletions docs/tutorials/proposals/_generated-proposals/_newMarket_json.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,15 @@
}
},
"metadata": [
"enactment:2024-03-19T17:54:04Z",
"settlement:2024-03-18T17:54:04Z",
"enactment:2024-03-20T15:10:26Z",
"settlement:2024-03-19T15:10:26Z",
"source:docs.vega.xyz"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "43200",
"probability": "0.9999999",
"auctionExtension": "3600"
"probability": "0.9999999"
}
]
},
Expand Down Expand Up @@ -137,8 +136,8 @@
}
}
},
"closingTimestamp": 1710784444,
"enactmentTimestamp": 1710870844
"closingTimestamp": 1710861026,
"enactmentTimestamp": 1710947426
}
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@
},
// Timestamp as Unix time in seconds when voting closes for this proposal,
// constrained by `minClose` and `maxClose` network parameters. (int64 as string)
closingTimestamp: 1710784444,
closingTimestamp: 1710861026,
// Timestamp as Unix time in seconds when proposal gets enacted if passed,
// constrained by `minEnact` and `maxEnact` network parameters. (int64 as string)
enactmentTimestamp: 1710870844,
enactmentTimestamp: 1710947426,
}
}
```
11 changes: 5 additions & 6 deletions docs/tutorials/proposals/_generated-proposals/_newMarket_win.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,15 @@ vegawallet.exe transaction send --wallet YOUR_WALLETNAME --pubkey YOUR_PUBLIC_KE
}^
},^
\"metadata\": [^
\"enactment:2024-03-19T17:54:04Z\",^
\"settlement:2024-03-18T17:54:04Z\",^
\"enactment:2024-03-20T15:10:26Z\",^
\"settlement:2024-03-19T15:10:26Z\",^
\"source:docs.vega.xyz\"^
],^
\"priceMonitoringParameters\": {^
\"triggers\": [^
{^
\"horizon\": \"43200\",^
\"probability\": \"0.9999999\",^
\"auctionExtension\": \"3600\"^
\"probability\": \"0.9999999\"^
}^
]^
},^
Expand Down Expand Up @@ -139,8 +138,8 @@ vegawallet.exe transaction send --wallet YOUR_WALLETNAME --pubkey YOUR_PUBLIC_KE
}^
}^
},^
\"closingTimestamp\": 1710784444,^
\"enactmentTimestamp\": 1710870844^
\"closingTimestamp\": 1710861026,^
\"enactmentTimestamp\": 1710947426^
}^
}^
}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@
// Continuously compounded interest rate used in funding rate calculation, in the range [-1, 1].
interestRate: "0",

// Factor applied to funding-rates. This scales the impact that spot price deviations have on funding payments.
fundingRateScalingFactor: "1",

// Lower bound for the funding-rate such that the funding-rate will never be lower than this value.
fundingRateLowerBound: "-0.001",

// Upper bound for the funding-rate such that the funding-rate will never be higher than this value.
fundingRateUpperBound: "0.001",

// Lower bound for the clamp function used as part of the funding rate calculation, in the range [-1, 1].
clampLowerBound: "0",

Expand Down Expand Up @@ -152,8 +143,8 @@

// Optional new futures market metadata, tags.
metadata: [
"enactment:2024-03-19T17:54:04Z",
"settlement:2024-03-18T17:54:04Z",
"enactment:2024-03-20T15:10:26Z",
"settlement:2024-03-19T15:10:26Z",
"source:docs.vega.xyz"
],

Expand All @@ -167,9 +158,6 @@

// Price monitoring probability level p. (string)
probability: "0.9999999",

// Price monitoring auction extension duration in seconds should the price
breach its theoretical level over the specified horizon at the specified probability level.(string) auctionExtension: "3600",
}
]
},
Expand Down Expand Up @@ -281,11 +269,11 @@

// Timestamp as Unix time in seconds when voting closes for this proposal,
// constrained by `minClose` and `maxClose` network parameters. (int64 as string)
closingTimestamp: 1710784444,
closingTimestamp: 1710861026,

// Timestamp as Unix time in seconds when proposal gets enacted if passed,
// constrained by `minEnact` and `maxEnact` network parameters. (int64 as string)
enactmentTimestamp: 1710870844,
enactmentTimestamp: 1710947426,
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
"quoteName": "tEuro",
"marginFundingFactor": "0.9",
"interestRate": "0",
"fundingRateScalingFactor": "1",
"fundingRateLowerBound": "-0.001",
"fundingRateUpperBound": "0.001",
"clampLowerBound": "0",
"clampUpperBound": "0",
"dataSourceSpecForSettlementData": {
Expand Down Expand Up @@ -86,16 +83,15 @@
}
},
"metadata": [
"enactment:2024-03-19T17:54:04Z",
"settlement:2024-03-18T17:54:04Z",
"enactment:2024-03-20T15:10:26Z",
"settlement:2024-03-19T15:10:26Z",
"source:docs.vega.xyz"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "43200",
"probability": "0.9999999",
"auctionExtension": "3600"
"probability": "0.9999999"
}
]
},
Expand Down Expand Up @@ -150,8 +146,8 @@
}
}
},
"closingTimestamp": 1710784444,
"enactmentTimestamp": 1710870844
"closingTimestamp": 1710861026,
"enactmentTimestamp": 1710947426
}
}
}'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
"quoteName": "tEuro",
"marginFundingFactor": "0.9",
"interestRate": "0",
"fundingRateScalingFactor": "1",
"fundingRateLowerBound": "-0.001",
"fundingRateUpperBound": "0.001",
"clampLowerBound": "0",
"clampUpperBound": "0",
"dataSourceSpecForSettlementData": {
Expand Down Expand Up @@ -85,16 +82,15 @@
}
},
"metadata": [
"enactment:2024-03-19T17:54:04Z",
"settlement:2024-03-18T17:54:04Z",
"enactment:2024-03-20T15:10:26Z",
"settlement:2024-03-19T15:10:26Z",
"source:docs.vega.xyz"
],
"priceMonitoringParameters": {
"triggers": [
{
"horizon": "43200",
"probability": "0.9999999",
"auctionExtension": "3600"
"probability": "0.9999999"
}
]
},
Expand Down Expand Up @@ -149,8 +145,8 @@
}
}
},
"closingTimestamp": 1710784444,
"enactmentTimestamp": 1710870844
"closingTimestamp": 1710861026,
"enactmentTimestamp": 1710947426
}
}
```
Expand Down
Loading

0 comments on commit 715f17e

Please sign in to comment.