-
Notifications
You must be signed in to change notification settings - Fork 1
/
vega.js
231 lines (231 loc) · 13.2 KB
/
vega.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
/// autogenerated by protoc-plugin-js
module.exports = {
commands: require('./vega/commands.js'),
data: require('./vega/data.js'),
CompositePriceType: require('./vega/CompositePriceType.js'),
Side: require('./vega/Side.js'),
Interval: require('./vega/Interval.js'),
PositionStatus: require('./vega/PositionStatus.js'),
AuctionTrigger: require('./vega/AuctionTrigger.js'),
PeggedReference: require('./vega/PeggedReference.js'),
OrderError: require('./vega/OrderError.js'),
ChainStatus: require('./vega/ChainStatus.js'),
AccountType: require('./vega/AccountType.js'),
TransferType: require('./vega/TransferType.js'),
DispatchMetric: require('./vega/DispatchMetric.js'),
EntityScope: require('./vega/EntityScope.js'),
IndividualScope: require('./vega/IndividualScope.js'),
DistributionStrategy: require('./vega/DistributionStrategy.js'),
NodeStatus: require('./vega/NodeStatus.js'),
EpochAction: require('./vega/EpochAction.js'),
ValidatorNodeStatus: require('./vega/ValidatorNodeStatus.js'),
MarginMode: require('./vega/MarginMode.js'),
ProposalError: require('./vega/ProposalError.js'),
MarketStateUpdateType: require('./vega/MarketStateUpdateType.js'),
GovernanceTransferType: require('./vega/GovernanceTransferType.js'),
ERC20Heartbeat: require('./vega/ERC20Heartbeat.js'),
EthContractCallEvent: require('./vega/EthContractCallEvent.js'),
BuiltinAssetDeposit: require('./vega/BuiltinAssetDeposit.js'),
BuiltinAssetWithdrawal: require('./vega/BuiltinAssetWithdrawal.js'),
BuiltinAssetEvent: require('./vega/BuiltinAssetEvent.js'),
ERC20AssetList: require('./vega/ERC20AssetList.js'),
ERC20AssetDelist: require('./vega/ERC20AssetDelist.js'),
ERC20AssetLimitsUpdated: require('./vega/ERC20AssetLimitsUpdated.js'),
ERC20Deposit: require('./vega/ERC20Deposit.js'),
ERC20Withdrawal: require('./vega/ERC20Withdrawal.js'),
ERC20Event: require('./vega/ERC20Event.js'),
ERC20SignerAdded: require('./vega/ERC20SignerAdded.js'),
ERC20SignerRemoved: require('./vega/ERC20SignerRemoved.js'),
ERC20ThresholdSet: require('./vega/ERC20ThresholdSet.js'),
ERC20MultiSigEvent: require('./vega/ERC20MultiSigEvent.js'),
StakingEvent: require('./vega/StakingEvent.js'),
StakeDeposited: require('./vega/StakeDeposited.js'),
StakeRemoved: require('./vega/StakeRemoved.js'),
StakeTotalSupply: require('./vega/StakeTotalSupply.js'),
DataSourceDefinition: require('./vega/DataSourceDefinition.js'),
SpecBindingForCompositePrice: require('./vega/SpecBindingForCompositePrice.js'),
DataSourceSpecConfigurationTime: require('./vega/DataSourceSpecConfigurationTime.js'),
DataSourceSpecConfigurationTimeTrigger: require('./vega/DataSourceSpecConfigurationTimeTrigger.js'),
DataSourceDefinitionInternal: require('./vega/DataSourceDefinitionInternal.js'),
DataSourceDefinitionExternal: require('./vega/DataSourceDefinitionExternal.js'),
DataSourceSpecConfiguration: require('./vega/DataSourceSpecConfiguration.js'),
EthCallSpec: require('./vega/EthCallSpec.js'),
Normaliser: require('./vega/Normaliser.js'),
EthCallTrigger: require('./vega/EthCallTrigger.js'),
EthTimeTrigger: require('./vega/EthTimeTrigger.js'),
DataSourceSpec: require('./vega/DataSourceSpec.js'),
ExternalDataSourceSpec: require('./vega/ExternalDataSourceSpec.js'),
AuctionDuration: require('./vega/AuctionDuration.js'),
Spot: require('./vega/Spot.js'),
Future: require('./vega/Future.js'),
FutureCap: require('./vega/FutureCap.js'),
Perpetual: require('./vega/Perpetual.js'),
DataSourceSpecToFutureBinding: require('./vega/DataSourceSpecToFutureBinding.js'),
DataSourceSpecToPerpetualBinding: require('./vega/DataSourceSpecToPerpetualBinding.js'),
InstrumentMetadata: require('./vega/InstrumentMetadata.js'),
Instrument: require('./vega/Instrument.js'),
LogNormalRiskModel: require('./vega/LogNormalRiskModel.js'),
RiskFactorOverride: require('./vega/RiskFactorOverride.js'),
LogNormalModelParams: require('./vega/LogNormalModelParams.js'),
SimpleRiskModel: require('./vega/SimpleRiskModel.js'),
SimpleModelParams: require('./vega/SimpleModelParams.js'),
ScalingFactors: require('./vega/ScalingFactors.js'),
MarginCalculator: require('./vega/MarginCalculator.js'),
TradableInstrument: require('./vega/TradableInstrument.js'),
FeeFactors: require('./vega/FeeFactors.js'),
Fees: require('./vega/Fees.js'),
PriceMonitoringTrigger: require('./vega/PriceMonitoringTrigger.js'),
PriceMonitoringParameters: require('./vega/PriceMonitoringParameters.js'),
PriceMonitoringSettings: require('./vega/PriceMonitoringSettings.js'),
LiquidityMonitoringParameters: require('./vega/LiquidityMonitoringParameters.js'),
LiquiditySLAParameters: require('./vega/LiquiditySLAParameters.js'),
LiquidityFeeSettings: require('./vega/LiquidityFeeSettings.js'),
TargetStakeParameters: require('./vega/TargetStakeParameters.js'),
Market: require('./vega/Market.js'),
MarketTimestamps: require('./vega/MarketTimestamps.js'),
LiquidationStrategy: require('./vega/LiquidationStrategy.js'),
CompositePriceConfiguration: require('./vega/CompositePriceConfiguration.js'),
DataSourceSpecToAutomatedPurchaseBinding: require('./vega/DataSourceSpecToAutomatedPurchaseBinding.js'),
PartyProfile: require('./vega/PartyProfile.js'),
Metadata: require('./vega/Metadata.js'),
StopOrder: require('./vega/StopOrder.js'),
Party: require('./vega/Party.js'),
RiskFactor: require('./vega/RiskFactor.js'),
PeggedOrder: require('./vega/PeggedOrder.js'),
IcebergOrder: require('./vega/IcebergOrder.js'),
Order: require('./vega/Order.js'),
OrderCancellationConfirmation: require('./vega/OrderCancellationConfirmation.js'),
OrderConfirmation: require('./vega/OrderConfirmation.js'),
AuctionIndicativeState: require('./vega/AuctionIndicativeState.js'),
Trade: require('./vega/Trade.js'),
Fee: require('./vega/Fee.js'),
TradeSet: require('./vega/TradeSet.js'),
Candle: require('./vega/Candle.js'),
PriceLevel: require('./vega/PriceLevel.js'),
MarketDepth: require('./vega/MarketDepth.js'),
MarketDepthUpdate: require('./vega/MarketDepthUpdate.js'),
Position: require('./vega/Position.js'),
PositionTrade: require('./vega/PositionTrade.js'),
Deposit: require('./vega/Deposit.js'),
Withdrawal: require('./vega/Withdrawal.js'),
WithdrawExt: require('./vega/WithdrawExt.js'),
Erc20WithdrawExt: require('./vega/Erc20WithdrawExt.js'),
Account: require('./vega/Account.js'),
FinancialAmount: require('./vega/FinancialAmount.js'),
Transfer: require('./vega/Transfer.js'),
DispatchStrategy: require('./vega/DispatchStrategy.js'),
Rank: require('./vega/Rank.js'),
TransferRequest: require('./vega/TransferRequest.js'),
AccountDetails: require('./vega/AccountDetails.js'),
LedgerEntry: require('./vega/LedgerEntry.js'),
PostTransferBalance: require('./vega/PostTransferBalance.js'),
LedgerMovement: require('./vega/LedgerMovement.js'),
MarginLevels: require('./vega/MarginLevels.js'),
PerpetualData: require('./vega/PerpetualData.js'),
ProductData: require('./vega/ProductData.js'),
ProtocolAutomatedPurchaseData: require('./vega/ProtocolAutomatedPurchaseData.js'),
MarketData: require('./vega/MarketData.js'),
CompositePriceSource: require('./vega/CompositePriceSource.js'),
CompositePriceState: require('./vega/CompositePriceState.js'),
LiquidityProviderFeeShare: require('./vega/LiquidityProviderFeeShare.js'),
LiquidityProviderSLA: require('./vega/LiquidityProviderSLA.js'),
PriceMonitoringBounds: require('./vega/PriceMonitoringBounds.js'),
ErrorDetail: require('./vega/ErrorDetail.js'),
NetworkParameter: require('./vega/NetworkParameter.js'),
NetworkLimits: require('./vega/NetworkLimits.js'),
LiquidityOrder: require('./vega/LiquidityOrder.js'),
LiquidityOrderReference: require('./vega/LiquidityOrderReference.js'),
LiquidityProvision: require('./vega/LiquidityProvision.js'),
EthereumL2Config: require('./vega/EthereumL2Config.js'),
EthereumL2Configs: require('./vega/EthereumL2Configs.js'),
EthereumConfig: require('./vega/EthereumConfig.js'),
EVMBridgeConfig: require('./vega/EVMBridgeConfig.js'),
EVMBridgeConfigs: require('./vega/EVMBridgeConfigs.js'),
EthereumContractConfig: require('./vega/EthereumContractConfig.js'),
EpochTimestamps: require('./vega/EpochTimestamps.js'),
Epoch: require('./vega/Epoch.js'),
EpochParticipation: require('./vega/EpochParticipation.js'),
EpochData: require('./vega/EpochData.js'),
RankingScore: require('./vega/RankingScore.js'),
RewardScore: require('./vega/RewardScore.js'),
Node: require('./vega/Node.js'),
NodeSet: require('./vega/NodeSet.js'),
NodeData: require('./vega/NodeData.js'),
Delegation: require('./vega/Delegation.js'),
Reward: require('./vega/Reward.js'),
RewardSummary: require('./vega/RewardSummary.js'),
EpochRewardSummary: require('./vega/EpochRewardSummary.js'),
StateValueProposal: require('./vega/StateValueProposal.js'),
KeyValueBundle: require('./vega/KeyValueBundle.js'),
StateVarValue: require('./vega/StateVarValue.js'),
ScalarValue: require('./vega/ScalarValue.js'),
VectorValue: require('./vega/VectorValue.js'),
MatrixValue: require('./vega/MatrixValue.js'),
ReferralProgram: require('./vega/ReferralProgram.js'),
VolumeBenefitTier: require('./vega/VolumeBenefitTier.js'),
BenefitTier: require('./vega/BenefitTier.js'),
RewardFactors: require('./vega/RewardFactors.js'),
DiscountFactors: require('./vega/DiscountFactors.js'),
VestingBenefitTiers: require('./vega/VestingBenefitTiers.js'),
VestingBenefitTier: require('./vega/VestingBenefitTier.js'),
StakingTier: require('./vega/StakingTier.js'),
VolumeDiscountProgram: require('./vega/VolumeDiscountProgram.js'),
ActivityStreakBenefitTiers: require('./vega/ActivityStreakBenefitTiers.js'),
ActivityStreakBenefitTier: require('./vega/ActivityStreakBenefitTier.js'),
LongBlockAuction: require('./vega/LongBlockAuction.js'),
LongBlockAuctionDurationTable: require('./vega/LongBlockAuctionDurationTable.js'),
VolumeRebateBenefitTier: require('./vega/VolumeRebateBenefitTier.js'),
VolumeRebateProgram: require('./vega/VolumeRebateProgram.js'),
Asset: require('./vega/Asset.js'),
AssetDetails: require('./vega/AssetDetails.js'),
BuiltinAsset: require('./vega/BuiltinAsset.js'),
ERC20: require('./vega/ERC20.js'),
AssetDetailsUpdate: require('./vega/AssetDetailsUpdate.js'),
ERC20Update: require('./vega/ERC20Update.js'),
SpotProduct: require('./vega/SpotProduct.js'),
FutureProduct: require('./vega/FutureProduct.js'),
PerpetualProduct: require('./vega/PerpetualProduct.js'),
InstrumentConfiguration: require('./vega/InstrumentConfiguration.js'),
NewSpotMarketConfiguration: require('./vega/NewSpotMarketConfiguration.js'),
NewMarketConfiguration: require('./vega/NewMarketConfiguration.js'),
NewSpotMarket: require('./vega/NewSpotMarket.js'),
SuccessorConfiguration: require('./vega/SuccessorConfiguration.js'),
NewMarket: require('./vega/NewMarket.js'),
UpdateMarket: require('./vega/UpdateMarket.js'),
UpdateSpotMarket: require('./vega/UpdateSpotMarket.js'),
UpdateMarketConfiguration: require('./vega/UpdateMarketConfiguration.js'),
UpdateSpotMarketConfiguration: require('./vega/UpdateSpotMarketConfiguration.js'),
UpdateSpotInstrumentConfiguration: require('./vega/UpdateSpotInstrumentConfiguration.js'),
UpdateInstrumentConfiguration: require('./vega/UpdateInstrumentConfiguration.js'),
UpdateFutureProduct: require('./vega/UpdateFutureProduct.js'),
UpdatePerpetualProduct: require('./vega/UpdatePerpetualProduct.js'),
UpdateNetworkParameter: require('./vega/UpdateNetworkParameter.js'),
NewAsset: require('./vega/NewAsset.js'),
UpdateAsset: require('./vega/UpdateAsset.js'),
NewFreeform: require('./vega/NewFreeform.js'),
ProposalTerms: require('./vega/ProposalTerms.js'),
BatchProposalTermsChange: require('./vega/BatchProposalTermsChange.js'),
ProposalParameters: require('./vega/ProposalParameters.js'),
BatchProposalTerms: require('./vega/BatchProposalTerms.js'),
ProposalRationale: require('./vega/ProposalRationale.js'),
GovernanceData: require('./vega/GovernanceData.js'),
Proposal: require('./vega/Proposal.js'),
Vote: require('./vega/Vote.js'),
VoteELSPair: require('./vega/VoteELSPair.js'),
UpdateVolumeDiscountProgram: require('./vega/UpdateVolumeDiscountProgram.js'),
VolumeDiscountProgramChanges: require('./vega/VolumeDiscountProgramChanges.js'),
UpdateVolumeRebateProgram: require('./vega/UpdateVolumeRebateProgram.js'),
VolumeRebateProgramChanges: require('./vega/VolumeRebateProgramChanges.js'),
UpdateReferralProgram: require('./vega/UpdateReferralProgram.js'),
ReferralProgramChanges: require('./vega/ReferralProgramChanges.js'),
UpdateMarketState: require('./vega/UpdateMarketState.js'),
UpdateMarketStateConfiguration: require('./vega/UpdateMarketStateConfiguration.js'),
CancelTransfer: require('./vega/CancelTransfer.js'),
CancelTransferConfiguration: require('./vega/CancelTransferConfiguration.js'),
NewTransfer: require('./vega/NewTransfer.js'),
NewTransferConfiguration: require('./vega/NewTransferConfiguration.js'),
OneOffTransfer: require('./vega/OneOffTransfer.js'),
RecurringTransfer: require('./vega/RecurringTransfer.js'),
NewProtocolAutomatedPurchase: require('./vega/NewProtocolAutomatedPurchase.js'),
NewProtocolAutomatedPurchaseChanges: require('./vega/NewProtocolAutomatedPurchaseChanges.js')
}