Documentation ¶
Index ¶
- Variables
- func MarshalAccountField(*v2.AccountField) graphql.Marshaler
- func MarshalAccountType(t vega.AccountType) graphql.Marshaler
- func MarshalAssetStatus(s vega.Asset_Status) graphql.Marshaler
- func MarshalAuctionTrigger(s vega.AuctionTrigger) graphql.Marshaler
- func MarshalConditionOperator(s datapb.Condition_Operator) graphql.Marshaler
- func MarshalDepositStatus(s vega.Deposit_Status) graphql.Marshaler
- func MarshalDispatchMetric(s vega.DispatchMetric) graphql.Marshaler
- func MarshalDistributionStrategy(t vega.DistributionStrategy) graphql.Marshaler
- func MarshalEntityScope(t vega.EntityScope) graphql.Marshaler
- func MarshalFundingPeriodDataPointSource(s eventspb.FundingPeriodDataPoint_Source) graphql.Marshaler
- func MarshalIndividualScope(t vega.IndividualScope) graphql.Marshaler
- func MarshalInterval(s vega.Interval) graphql.Marshaler
- func MarshalLedgerEntryField(*v2.LedgerEntryField) graphql.Marshaler
- func MarshalLiquidityProvisionStatus(s vega.LiquidityProvision_Status) graphql.Marshaler
- func MarshalMarketState(s vega.Market_State) graphql.Marshaler
- func MarshalMarketTradingMode(s vega.Market_TradingMode) graphql.Marshaler
- func MarshalNodeSignatureKind(s commandspb.NodeSignatureKind) graphql.Marshaler
- func MarshalNodeStatus(s vega.NodeStatus) graphql.Marshaler
- func MarshalOracleSpecStatus(s vegapb.DataSourceSpec_Status) graphql.Marshaler
- func MarshalOrderRejectionReason(s vega.OrderError) graphql.Marshaler
- func MarshalOrderStatus(s vega.Order_Status) graphql.Marshaler
- func MarshalOrderTimeInForce(s vega.Order_TimeInForce) graphql.Marshaler
- func MarshalOrderType(s vega.Order_Type) graphql.Marshaler
- func MarshalPeggedReference(s vega.PeggedReference) graphql.Marshaler
- func MarshalPositionStatus(s vega.PositionStatus) graphql.Marshaler
- func MarshalPropertyKeyType(s datapb.PropertyKey_Type) graphql.Marshaler
- func MarshalProposalRejectionReason(s vega.ProposalError) graphql.Marshaler
- func MarshalProposalState(s vega.Proposal_State) graphql.Marshaler
- func MarshalProposalType(s v2.ListGovernanceDataRequest_Type) graphql.Marshaler
- func MarshalProtocolUpgradeProposalStatus(s eventspb.ProtocolUpgradeProposalStatus) graphql.Marshaler
- func MarshalSide(s vega.Side) graphql.Marshaler
- func MarshalStakeLinkingStatus(s eventspb.StakeLinking_Status) graphql.Marshaler
- func MarshalStakeLinkingType(s eventspb.StakeLinking_Type) graphql.Marshaler
- func MarshalStopOrderExpiryStrategy(s vega.StopOrder_ExpiryStrategy) graphql.Marshaler
- func MarshalStopOrderRejectionReason(s vega.StopOrder_RejectionReason) graphql.Marshaler
- func MarshalStopOrderStatus(s vega.StopOrder_Status) graphql.Marshaler
- func MarshalStopOrderTriggerDirection(s vega.StopOrder_TriggerDirection) graphql.Marshaler
- func MarshalTimestamp(t int64) graphql.Marshaler
- func MarshalTradeType(s vega.Trade_Type) graphql.Marshaler
- func MarshalTransferStatus(s eventspb.Transfer_Status) graphql.Marshaler
- func MarshalTransferType(t vega.TransferType) graphql.Marshaler
- func MarshalUint32(t uint32) graphql.Marshaler
- func MarshalValidatorStatus(s vega.ValidatorNodeStatus) graphql.Marshaler
- func MarshalVoteValue(s vega.Vote_Value) graphql.Marshaler
- func MarshalWithdrawalStatus(s vega.Withdrawal_Status) graphql.Marshaler
- func UnmarshalAccountField(i interface{}) (*v2.AccountField, error)
- func UnmarshalAccountType(v interface{}) (vega.AccountType, error)
- func UnmarshalAssetStatus(v interface{}) (vega.Asset_Status, error)
- func UnmarshalAuctionTrigger(v interface{}) (vega.AuctionTrigger, error)
- func UnmarshalConditionOperator(v interface{}) (datapb.Condition_Operator, error)
- func UnmarshalDepositStatus(v interface{}) (vega.Deposit_Status, error)
- func UnmarshalDispatchMetric(v interface{}) (vega.DispatchMetric, error)
- func UnmarshalDistributionStrategy(v interface{}) (vega.DistributionStrategy, error)
- func UnmarshalEntityScope(v interface{}) (vega.EntityScope, error)
- func UnmarshalFundingPeriodDataPointSource(v interface{}) (eventspb.FundingPeriodDataPoint_Source, error)
- func UnmarshalIndividualScope(v interface{}) (vega.IndividualScope, error)
- func UnmarshalInterval(v interface{}) (vega.Interval, error)
- func UnmarshalLedgerEntryField(i interface{}) (*v2.LedgerEntryField, error)
- func UnmarshalLiquidityProvisionStatus(v interface{}) (vega.LiquidityProvision_Status, error)
- func UnmarshalMarketState(v interface{}) (vega.Market_State, error)
- func UnmarshalMarketTradingMode(v interface{}) (vega.Market_TradingMode, error)
- func UnmarshalNodeSignatureKind(v interface{}) (commandspb.NodeSignatureKind, error)
- func UnmarshalNodeStatus(v interface{}) (vega.NodeStatus, error)
- func UnmarshalOracleSpecStatus(v interface{}) (vegapb.DataSourceSpec_Status, error)
- func UnmarshalOrderRejectionReason(v interface{}) (vega.OrderError, error)
- func UnmarshalOrderStatus(v interface{}) (vega.Order_Status, error)
- func UnmarshalOrderTimeInForce(v interface{}) (vega.Order_TimeInForce, error)
- func UnmarshalOrderType(v interface{}) (vega.Order_Type, error)
- func UnmarshalPeggedReference(v interface{}) (vega.PeggedReference, error)
- func UnmarshalPositionStatus(v interface{}) (vega.PositionStatus, error)
- func UnmarshalPropertyKeyType(v interface{}) (datapb.PropertyKey_Type, error)
- func UnmarshalProposalRejectionReason(v interface{}) (vega.ProposalError, error)
- func UnmarshalProposalState(v interface{}) (vega.Proposal_State, error)
- func UnmarshalProposalType(v interface{}) (v2.ListGovernanceDataRequest_Type, error)
- func UnmarshalProtocolUpgradeProposalStatus(v interface{}) (eventspb.ProtocolUpgradeProposalStatus, error)
- func UnmarshalSide(v interface{}) (vega.Side, error)
- func UnmarshalStakeLinkingStatus(v interface{}) (eventspb.StakeLinking_Status, error)
- func UnmarshalStakeLinkingType(v interface{}) (eventspb.StakeLinking_Type, error)
- func UnmarshalStopOrderExpiryStrategy(v interface{}) (vega.StopOrder_ExpiryStrategy, error)
- func UnmarshalStopOrderRejectionReason(v interface{}) (vega.StopOrder_RejectionReason, error)
- func UnmarshalStopOrderStatus(v interface{}) (vega.StopOrder_Status, error)
- func UnmarshalStopOrderTriggerDirection(v interface{}) (vega.StopOrder_TriggerDirection, error)
- func UnmarshalTimestamp(v interface{}) (int64, error)
- func UnmarshalTradeType(v interface{}) (vega.Trade_Type, error)
- func UnmarshalTransferStatus(v interface{}) (eventspb.Transfer_Status, error)
- func UnmarshalTransferType(v interface{}) (vega.TransferType, error)
- func UnmarshalUint32(v interface{}) (uint32, error)
- func UnmarshalValidatorStatus(v interface{}) (vega.ValidatorNodeStatus, error)
- func UnmarshalVoteValue(v interface{}) (vega.Vote_Value, error)
- func UnmarshalWithdrawalStatus(v interface{}) (vega.Withdrawal_Status, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidLedgerEntryField = errors.New("invalid ledger entry field")
View Source
var ErrUnimplemented = errors.New("unmarshaller not implemented as this API is query only")
Functions ¶
func MarshalAccountField ¶
func MarshalAccountField(*v2.AccountField) graphql.Marshaler
func MarshalAccountType ¶
func MarshalAccountType(t vega.AccountType) graphql.Marshaler
func MarshalAssetStatus ¶
func MarshalAssetStatus(s vega.Asset_Status) graphql.Marshaler
func MarshalAuctionTrigger ¶
func MarshalAuctionTrigger(s vega.AuctionTrigger) graphql.Marshaler
func MarshalConditionOperator ¶
func MarshalConditionOperator(s datapb.Condition_Operator) graphql.Marshaler
func MarshalDepositStatus ¶
func MarshalDepositStatus(s vega.Deposit_Status) graphql.Marshaler
func MarshalDispatchMetric ¶
func MarshalDispatchMetric(s vega.DispatchMetric) graphql.Marshaler
func MarshalDistributionStrategy ¶ added in v0.73.0
func MarshalDistributionStrategy(t vega.DistributionStrategy) graphql.Marshaler
func MarshalEntityScope ¶ added in v0.73.0
func MarshalEntityScope(t vega.EntityScope) graphql.Marshaler
func MarshalFundingPeriodDataPointSource ¶ added in v0.73.0
func MarshalFundingPeriodDataPointSource(s eventspb.FundingPeriodDataPoint_Source) graphql.Marshaler
func MarshalIndividualScope ¶ added in v0.73.0
func MarshalIndividualScope(t vega.IndividualScope) graphql.Marshaler
func MarshalLedgerEntryField ¶ added in v0.58.0
func MarshalLedgerEntryField(*v2.LedgerEntryField) graphql.Marshaler
func MarshalLiquidityProvisionStatus ¶
func MarshalLiquidityProvisionStatus(s vega.LiquidityProvision_Status) graphql.Marshaler
func MarshalMarketState ¶
func MarshalMarketState(s vega.Market_State) graphql.Marshaler
func MarshalMarketTradingMode ¶
func MarshalMarketTradingMode(s vega.Market_TradingMode) graphql.Marshaler
func MarshalNodeSignatureKind ¶
func MarshalNodeSignatureKind(s commandspb.NodeSignatureKind) graphql.Marshaler
func MarshalNodeStatus ¶
func MarshalNodeStatus(s vega.NodeStatus) graphql.Marshaler
func MarshalOracleSpecStatus ¶
func MarshalOracleSpecStatus(s vegapb.DataSourceSpec_Status) graphql.Marshaler
func MarshalOrderRejectionReason ¶
func MarshalOrderRejectionReason(s vega.OrderError) graphql.Marshaler
func MarshalOrderStatus ¶
func MarshalOrderStatus(s vega.Order_Status) graphql.Marshaler
func MarshalOrderTimeInForce ¶
func MarshalOrderTimeInForce(s vega.Order_TimeInForce) graphql.Marshaler
func MarshalOrderType ¶
func MarshalOrderType(s vega.Order_Type) graphql.Marshaler
func MarshalPeggedReference ¶
func MarshalPeggedReference(s vega.PeggedReference) graphql.Marshaler
func MarshalPositionStatus ¶ added in v0.68.0
func MarshalPositionStatus(s vega.PositionStatus) graphql.Marshaler
func MarshalPropertyKeyType ¶
func MarshalPropertyKeyType(s datapb.PropertyKey_Type) graphql.Marshaler
func MarshalProposalRejectionReason ¶
func MarshalProposalRejectionReason(s vega.ProposalError) graphql.Marshaler
func MarshalProposalState ¶
func MarshalProposalState(s vega.Proposal_State) graphql.Marshaler
func MarshalProposalType ¶
func MarshalProposalType(s v2.ListGovernanceDataRequest_Type) graphql.Marshaler
func MarshalProtocolUpgradeProposalStatus ¶ added in v0.61.0
func MarshalProtocolUpgradeProposalStatus(s eventspb.ProtocolUpgradeProposalStatus) graphql.Marshaler
func MarshalStakeLinkingStatus ¶
func MarshalStakeLinkingStatus(s eventspb.StakeLinking_Status) graphql.Marshaler
func MarshalStakeLinkingType ¶
func MarshalStakeLinkingType(s eventspb.StakeLinking_Type) graphql.Marshaler
func MarshalStopOrderExpiryStrategy ¶ added in v0.72.0
func MarshalStopOrderExpiryStrategy(s vega.StopOrder_ExpiryStrategy) graphql.Marshaler
func MarshalStopOrderRejectionReason ¶ added in v0.73.0
func MarshalStopOrderRejectionReason(s vega.StopOrder_RejectionReason) graphql.Marshaler
func MarshalStopOrderStatus ¶ added in v0.72.0
func MarshalStopOrderStatus(s vega.StopOrder_Status) graphql.Marshaler
func MarshalStopOrderTriggerDirection ¶ added in v0.72.0
func MarshalStopOrderTriggerDirection(s vega.StopOrder_TriggerDirection) graphql.Marshaler
func MarshalTimestamp ¶
func MarshalTradeType ¶
func MarshalTradeType(s vega.Trade_Type) graphql.Marshaler
func MarshalTransferStatus ¶
func MarshalTransferStatus(s eventspb.Transfer_Status) graphql.Marshaler
func MarshalTransferType ¶ added in v0.61.0
func MarshalTransferType(t vega.TransferType) graphql.Marshaler
func MarshalUint32 ¶
func MarshalValidatorStatus ¶
func MarshalValidatorStatus(s vega.ValidatorNodeStatus) graphql.Marshaler
func MarshalVoteValue ¶
func MarshalVoteValue(s vega.Vote_Value) graphql.Marshaler
func MarshalWithdrawalStatus ¶
func MarshalWithdrawalStatus(s vega.Withdrawal_Status) graphql.Marshaler
func UnmarshalAccountField ¶
func UnmarshalAccountField(i interface{}) (*v2.AccountField, error)
func UnmarshalAccountType ¶
func UnmarshalAccountType(v interface{}) (vega.AccountType, error)
func UnmarshalAssetStatus ¶
func UnmarshalAssetStatus(v interface{}) (vega.Asset_Status, error)
func UnmarshalAuctionTrigger ¶
func UnmarshalAuctionTrigger(v interface{}) (vega.AuctionTrigger, error)
func UnmarshalConditionOperator ¶
func UnmarshalConditionOperator(v interface{}) (datapb.Condition_Operator, error)
func UnmarshalDepositStatus ¶
func UnmarshalDepositStatus(v interface{}) (vega.Deposit_Status, error)
func UnmarshalDispatchMetric ¶
func UnmarshalDispatchMetric(v interface{}) (vega.DispatchMetric, error)
func UnmarshalDistributionStrategy ¶ added in v0.73.0
func UnmarshalDistributionStrategy(v interface{}) (vega.DistributionStrategy, error)
func UnmarshalEntityScope ¶ added in v0.73.0
func UnmarshalEntityScope(v interface{}) (vega.EntityScope, error)
func UnmarshalFundingPeriodDataPointSource ¶ added in v0.73.0
func UnmarshalFundingPeriodDataPointSource(v interface{}) (eventspb.FundingPeriodDataPoint_Source, error)
func UnmarshalIndividualScope ¶ added in v0.73.0
func UnmarshalIndividualScope(v interface{}) (vega.IndividualScope, error)
func UnmarshalInterval ¶
func UnmarshalLedgerEntryField ¶ added in v0.58.0
func UnmarshalLedgerEntryField(i interface{}) (*v2.LedgerEntryField, error)
func UnmarshalLiquidityProvisionStatus ¶
func UnmarshalLiquidityProvisionStatus(v interface{}) (vega.LiquidityProvision_Status, error)
func UnmarshalMarketState ¶
func UnmarshalMarketState(v interface{}) (vega.Market_State, error)
func UnmarshalMarketTradingMode ¶
func UnmarshalMarketTradingMode(v interface{}) (vega.Market_TradingMode, error)
func UnmarshalNodeSignatureKind ¶
func UnmarshalNodeSignatureKind(v interface{}) (commandspb.NodeSignatureKind, error)
func UnmarshalNodeStatus ¶
func UnmarshalNodeStatus(v interface{}) (vega.NodeStatus, error)
func UnmarshalOracleSpecStatus ¶
func UnmarshalOracleSpecStatus(v interface{}) (vegapb.DataSourceSpec_Status, error)
func UnmarshalOrderRejectionReason ¶
func UnmarshalOrderRejectionReason(v interface{}) (vega.OrderError, error)
func UnmarshalOrderStatus ¶
func UnmarshalOrderStatus(v interface{}) (vega.Order_Status, error)
func UnmarshalOrderTimeInForce ¶
func UnmarshalOrderTimeInForce(v interface{}) (vega.Order_TimeInForce, error)
func UnmarshalOrderType ¶
func UnmarshalOrderType(v interface{}) (vega.Order_Type, error)
func UnmarshalPeggedReference ¶
func UnmarshalPeggedReference(v interface{}) (vega.PeggedReference, error)
func UnmarshalPositionStatus ¶ added in v0.68.0
func UnmarshalPositionStatus(v interface{}) (vega.PositionStatus, error)
func UnmarshalPropertyKeyType ¶
func UnmarshalPropertyKeyType(v interface{}) (datapb.PropertyKey_Type, error)
func UnmarshalProposalRejectionReason ¶
func UnmarshalProposalRejectionReason(v interface{}) (vega.ProposalError, error)
func UnmarshalProposalState ¶
func UnmarshalProposalState(v interface{}) (vega.Proposal_State, error)
func UnmarshalProposalType ¶
func UnmarshalProposalType(v interface{}) (v2.ListGovernanceDataRequest_Type, error)
func UnmarshalProtocolUpgradeProposalStatus ¶ added in v0.61.0
func UnmarshalProtocolUpgradeProposalStatus(v interface{}) (eventspb.ProtocolUpgradeProposalStatus, error)
func UnmarshalSide ¶
func UnmarshalStakeLinkingStatus ¶
func UnmarshalStakeLinkingStatus(v interface{}) (eventspb.StakeLinking_Status, error)
func UnmarshalStakeLinkingType ¶
func UnmarshalStakeLinkingType(v interface{}) (eventspb.StakeLinking_Type, error)
func UnmarshalStopOrderExpiryStrategy ¶ added in v0.72.0
func UnmarshalStopOrderExpiryStrategy(v interface{}) (vega.StopOrder_ExpiryStrategy, error)
func UnmarshalStopOrderRejectionReason ¶ added in v0.73.0
func UnmarshalStopOrderRejectionReason(v interface{}) (vega.StopOrder_RejectionReason, error)
func UnmarshalStopOrderStatus ¶ added in v0.72.0
func UnmarshalStopOrderStatus(v interface{}) (vega.StopOrder_Status, error)
func UnmarshalStopOrderTriggerDirection ¶ added in v0.72.0
func UnmarshalStopOrderTriggerDirection(v interface{}) (vega.StopOrder_TriggerDirection, error)
func UnmarshalTimestamp ¶
func UnmarshalTradeType ¶
func UnmarshalTradeType(v interface{}) (vega.Trade_Type, error)
func UnmarshalTransferStatus ¶
func UnmarshalTransferStatus(v interface{}) (eventspb.Transfer_Status, error)
func UnmarshalTransferType ¶ added in v0.61.0
func UnmarshalTransferType(v interface{}) (vega.TransferType, error)
func UnmarshalUint32 ¶
func UnmarshalValidatorStatus ¶
func UnmarshalValidatorStatus(v interface{}) (vega.ValidatorNodeStatus, error)
func UnmarshalVoteValue ¶
func UnmarshalVoteValue(v interface{}) (vega.Vote_Value, error)
func UnmarshalWithdrawalStatus ¶
func UnmarshalWithdrawalStatus(v interface{}) (vega.Withdrawal_Status, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.