marshallers

package
v0.0.0-...-589da53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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 fury.AccountType) graphql.Marshaler

func MarshalAssetStatus

func MarshalAssetStatus(s fury.Asset_Status) graphql.Marshaler

func MarshalAuctionTrigger

func MarshalAuctionTrigger(s fury.AuctionTrigger) graphql.Marshaler

func MarshalConditionOperator

func MarshalConditionOperator(s datapb.Condition_Operator) graphql.Marshaler

func MarshalDepositStatus

func MarshalDepositStatus(s fury.Deposit_Status) graphql.Marshaler

func MarshalDispatchMetric

func MarshalDispatchMetric(s fury.DispatchMetric) graphql.Marshaler

func MarshalInterval

func MarshalInterval(s fury.Interval) graphql.Marshaler

func MarshalLedgerEntryField

func MarshalLedgerEntryField(*v2.LedgerEntryField) graphql.Marshaler

func MarshalLiquidityProvisionStatus

func MarshalLiquidityProvisionStatus(s fury.LiquidityProvision_Status) graphql.Marshaler

func MarshalMarketState

func MarshalMarketState(s fury.Market_State) graphql.Marshaler

func MarshalMarketTradingMode

func MarshalMarketTradingMode(s fury.Market_TradingMode) graphql.Marshaler

func MarshalNodeStatus

func MarshalNodeStatus(s fury.NodeStatus) graphql.Marshaler

func MarshalOrderRejectionReason

func MarshalOrderRejectionReason(s fury.OrderError) graphql.Marshaler

func MarshalOrderStatus

func MarshalOrderStatus(s fury.Order_Status) graphql.Marshaler

func MarshalOrderTimeInForce

func MarshalOrderTimeInForce(s fury.Order_TimeInForce) graphql.Marshaler

func MarshalOrderType

func MarshalOrderType(s fury.Order_Type) graphql.Marshaler

func MarshalPeggedReference

func MarshalPeggedReference(s fury.PeggedReference) graphql.Marshaler

func MarshalPositionStatus

func MarshalPositionStatus(s fury.PositionStatus) graphql.Marshaler

func MarshalPropertyKeyType

func MarshalPropertyKeyType(s datapb.PropertyKey_Type) graphql.Marshaler

func MarshalProposalRejectionReason

func MarshalProposalRejectionReason(s fury.ProposalError) graphql.Marshaler

func MarshalProposalState

func MarshalProposalState(s fury.Proposal_State) graphql.Marshaler

func MarshalSide

func MarshalSide(s fury.Side) graphql.Marshaler

func MarshalStakeLinkingType

func MarshalStakeLinkingType(s eventspb.StakeLinking_Type) graphql.Marshaler

func MarshalTimestamp

func MarshalTimestamp(t int64) graphql.Marshaler

func MarshalTradeType

func MarshalTradeType(s fury.Trade_Type) graphql.Marshaler

func MarshalTransferStatus

func MarshalTransferStatus(s eventspb.Transfer_Status) graphql.Marshaler

func MarshalTransferType

func MarshalTransferType(t fury.TransferType) graphql.Marshaler

func MarshalUint32

func MarshalUint32(t uint32) graphql.Marshaler

func MarshalValidatorStatus

func MarshalValidatorStatus(s fury.ValidatorNodeStatus) graphql.Marshaler

func MarshalVoteValue

func MarshalVoteValue(s fury.Vote_Value) graphql.Marshaler

func MarshalWithdrawalStatus

func MarshalWithdrawalStatus(s fury.Withdrawal_Status) graphql.Marshaler

func UnmarshalAccountField

func UnmarshalAccountField(i interface{}) (*v2.AccountField, error)

func UnmarshalAccountType

func UnmarshalAccountType(v interface{}) (fury.AccountType, error)

func UnmarshalAssetStatus

func UnmarshalAssetStatus(v interface{}) (fury.Asset_Status, error)

func UnmarshalAuctionTrigger

func UnmarshalAuctionTrigger(v interface{}) (fury.AuctionTrigger, error)

func UnmarshalConditionOperator

func UnmarshalConditionOperator(v interface{}) (datapb.Condition_Operator, error)

func UnmarshalDepositStatus

func UnmarshalDepositStatus(v interface{}) (fury.Deposit_Status, error)

func UnmarshalDispatchMetric

func UnmarshalDispatchMetric(v interface{}) (fury.DispatchMetric, error)

func UnmarshalInterval

func UnmarshalInterval(v interface{}) (fury.Interval, error)

func UnmarshalLedgerEntryField

func UnmarshalLedgerEntryField(i interface{}) (*v2.LedgerEntryField, error)

func UnmarshalLiquidityProvisionStatus

func UnmarshalLiquidityProvisionStatus(v interface{}) (fury.LiquidityProvision_Status, error)

func UnmarshalMarketState

func UnmarshalMarketState(v interface{}) (fury.Market_State, error)

func UnmarshalMarketTradingMode

func UnmarshalMarketTradingMode(v interface{}) (fury.Market_TradingMode, error)

func UnmarshalNodeSignatureKind

func UnmarshalNodeSignatureKind(v interface{}) (commandspb.NodeSignatureKind, error)

func UnmarshalNodeStatus

func UnmarshalNodeStatus(v interface{}) (fury.NodeStatus, error)

func UnmarshalOracleSpecStatus

func UnmarshalOracleSpecStatus(v interface{}) (furypb.DataSourceSpec_Status, error)

func UnmarshalOrderRejectionReason

func UnmarshalOrderRejectionReason(v interface{}) (fury.OrderError, error)

func UnmarshalOrderStatus

func UnmarshalOrderStatus(v interface{}) (fury.Order_Status, error)

func UnmarshalOrderTimeInForce

func UnmarshalOrderTimeInForce(v interface{}) (fury.Order_TimeInForce, error)

func UnmarshalOrderType

func UnmarshalOrderType(v interface{}) (fury.Order_Type, error)

func UnmarshalPeggedReference

func UnmarshalPeggedReference(v interface{}) (fury.PeggedReference, error)

func UnmarshalPositionStatus

func UnmarshalPositionStatus(v interface{}) (fury.PositionStatus, error)

func UnmarshalPropertyKeyType

func UnmarshalPropertyKeyType(v interface{}) (datapb.PropertyKey_Type, error)

func UnmarshalProposalRejectionReason

func UnmarshalProposalRejectionReason(v interface{}) (fury.ProposalError, error)

func UnmarshalProposalState

func UnmarshalProposalState(v interface{}) (fury.Proposal_State, error)

func UnmarshalProposalType

func UnmarshalProposalType(v interface{}) (v2.ListGovernanceDataRequest_Type, error)

func UnmarshalProtocolUpgradeProposalStatus

func UnmarshalProtocolUpgradeProposalStatus(v interface{}) (eventspb.ProtocolUpgradeProposalStatus, error)

func UnmarshalSide

func UnmarshalSide(v interface{}) (fury.Side, error)

func UnmarshalStakeLinkingStatus

func UnmarshalStakeLinkingStatus(v interface{}) (eventspb.StakeLinking_Status, error)

func UnmarshalStakeLinkingType

func UnmarshalStakeLinkingType(v interface{}) (eventspb.StakeLinking_Type, error)

func UnmarshalTimestamp

func UnmarshalTimestamp(v interface{}) (int64, error)

func UnmarshalTradeType

func UnmarshalTradeType(v interface{}) (fury.Trade_Type, error)

func UnmarshalTransferStatus

func UnmarshalTransferStatus(v interface{}) (eventspb.Transfer_Status, error)

func UnmarshalTransferType

func UnmarshalTransferType(v interface{}) (fury.TransferType, error)

func UnmarshalUint32

func UnmarshalUint32(v interface{}) (uint32, error)

func UnmarshalValidatorStatus

func UnmarshalValidatorStatus(v interface{}) (fury.ValidatorNodeStatus, error)

func UnmarshalVoteValue

func UnmarshalVoteValue(v interface{}) (fury.Vote_Value, error)

func UnmarshalWithdrawalStatus

func UnmarshalWithdrawalStatus(v interface{}) (fury.Withdrawal_Status, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL