Documentation
¶
Index ¶
- func RegisterInternalWebApiServer(s *grpc.Server, srv InternalWebApiServer)
- func RegisterWebApiServer(s *grpc.Server, srv WebApiServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetAddress() string
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) XXX_DiscardUnknown()
- func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Address) XXX_Merge(src proto.Message)
- func (m *Address) XXX_Size() int
- func (m *Address) XXX_Unmarshal(b []byte) error
- type AppSessionSeqNum
- func (*AppSessionSeqNum) Descriptor() ([]byte, []int)
- func (m *AppSessionSeqNum) GetSeqNum() uint64
- func (*AppSessionSeqNum) ProtoMessage()
- func (m *AppSessionSeqNum) Reset()
- func (m *AppSessionSeqNum) String() string
- func (m *AppSessionSeqNum) XXX_DiscardUnknown()
- func (m *AppSessionSeqNum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AppSessionSeqNum) XXX_Merge(src proto.Message)
- func (m *AppSessionSeqNum) XXX_Size() int
- func (m *AppSessionSeqNum) XXX_Unmarshal(b []byte) error
- type AppSessionState
- func (*AppSessionState) Descriptor() ([]byte, []int)
- func (m *AppSessionState) GetState() []byte
- func (*AppSessionState) ProtoMessage()
- func (m *AppSessionState) Reset()
- func (m *AppSessionState) String() string
- func (m *AppSessionState) XXX_DiscardUnknown()
- func (m *AppSessionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AppSessionState) XXX_Merge(src proto.Message)
- func (m *AppSessionState) XXX_Size() int
- func (m *AppSessionState) XXX_Unmarshal(b []byte) error
- type AppSessionStatus
- func (*AppSessionStatus) Descriptor() ([]byte, []int)
- func (m *AppSessionStatus) GetStatus() uint32
- func (*AppSessionStatus) ProtoMessage()
- func (m *AppSessionStatus) Reset()
- func (m *AppSessionStatus) String() string
- func (m *AppSessionStatus) XXX_DiscardUnknown()
- func (m *AppSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AppSessionStatus) XXX_Merge(src proto.Message)
- func (m *AppSessionStatus) XXX_Size() int
- func (m *AppSessionStatus) XXX_Unmarshal(b []byte) error
- type ApplyActionForAppSessionRequest
- func (*ApplyActionForAppSessionRequest) Descriptor() ([]byte, []int)
- func (m *ApplyActionForAppSessionRequest) GetAction() []byte
- func (m *ApplyActionForAppSessionRequest) GetSessionId() string
- func (*ApplyActionForAppSessionRequest) ProtoMessage()
- func (m *ApplyActionForAppSessionRequest) Reset()
- func (m *ApplyActionForAppSessionRequest) String() string
- func (m *ApplyActionForAppSessionRequest) XXX_DiscardUnknown()
- func (m *ApplyActionForAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApplyActionForAppSessionRequest) XXX_Merge(src proto.Message)
- func (m *ApplyActionForAppSessionRequest) XXX_Size() int
- func (m *ApplyActionForAppSessionRequest) XXX_Unmarshal(b []byte) error
- type BlockNumber
- func (*BlockNumber) Descriptor() ([]byte, []int)
- func (m *BlockNumber) GetBlockNumber() uint64
- func (*BlockNumber) ProtoMessage()
- func (m *BlockNumber) Reset()
- func (m *BlockNumber) String() string
- func (m *BlockNumber) XXX_DiscardUnknown()
- func (m *BlockNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockNumber) XXX_Merge(src proto.Message)
- func (m *BlockNumber) XXX_Size() int
- func (m *BlockNumber) XXX_Unmarshal(b []byte) error
- type BoolValue
- func (*BoolValue) Descriptor() ([]byte, []int)
- func (m *BoolValue) GetValue() bool
- func (*BoolValue) ProtoMessage()
- func (m *BoolValue) Reset()
- func (m *BoolValue) String() string
- func (m *BoolValue) XXX_DiscardUnknown()
- func (m *BoolValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BoolValue) XXX_Merge(src proto.Message)
- func (m *BoolValue) XXX_Size() int
- func (m *BoolValue) XXX_Unmarshal(b []byte) error
- type BooleanOutcome
- func (*BooleanOutcome) Descriptor() ([]byte, []int)
- func (m *BooleanOutcome) GetFinalized() bool
- func (m *BooleanOutcome) GetOutcome() bool
- func (*BooleanOutcome) ProtoMessage()
- func (m *BooleanOutcome) Reset()
- func (m *BooleanOutcome) String() string
- func (m *BooleanOutcome) XXX_DiscardUnknown()
- func (m *BooleanOutcome) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BooleanOutcome) XXX_Merge(src proto.Message)
- func (m *BooleanOutcome) XXX_Size() int
- func (m *BooleanOutcome) XXX_Unmarshal(b []byte) error
- type ChannelID
- func (*ChannelID) Descriptor() ([]byte, []int)
- func (m *ChannelID) GetChannelId() string
- func (*ChannelID) ProtoMessage()
- func (m *ChannelID) Reset()
- func (m *ChannelID) String() string
- func (m *ChannelID) XXX_DiscardUnknown()
- func (m *ChannelID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChannelID) XXX_Merge(src proto.Message)
- func (m *ChannelID) XXX_Size() int
- func (m *ChannelID) XXX_Unmarshal(b []byte) error
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)
- func (m *Condition) GetContractAddress() string
- func (m *Condition) GetGetOutcomeArgs() []byte
- func (m *Condition) GetIsFinalizedArgs() []byte
- func (m *Condition) GetOnChainDeployed() bool
- func (*Condition) ProtoMessage()
- func (m *Condition) Reset()
- func (m *Condition) String() string
- func (m *Condition) XXX_DiscardUnknown()
- func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Condition) XXX_Merge(src proto.Message)
- func (m *Condition) XXX_Size() int
- func (m *Condition) XXX_Unmarshal(b []byte) error
- type CreateAppSessionOnDeployedContractRequest
- func (*CreateAppSessionOnDeployedContractRequest) Descriptor() ([]byte, []int)
- func (m *CreateAppSessionOnDeployedContractRequest) GetContractAddress() string
- func (m *CreateAppSessionOnDeployedContractRequest) GetNonce() uint64
- func (m *CreateAppSessionOnDeployedContractRequest) GetOnChainTimeout() uint64
- func (m *CreateAppSessionOnDeployedContractRequest) GetParticipants() []string
- func (*CreateAppSessionOnDeployedContractRequest) ProtoMessage()
- func (m *CreateAppSessionOnDeployedContractRequest) Reset()
- func (m *CreateAppSessionOnDeployedContractRequest) String() string
- func (m *CreateAppSessionOnDeployedContractRequest) XXX_DiscardUnknown()
- func (m *CreateAppSessionOnDeployedContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateAppSessionOnDeployedContractRequest) XXX_Merge(src proto.Message)
- func (m *CreateAppSessionOnDeployedContractRequest) XXX_Size() int
- func (m *CreateAppSessionOnDeployedContractRequest) XXX_Unmarshal(b []byte) error
- type CreateAppSessionOnVirtualContractRequest
- func (*CreateAppSessionOnVirtualContractRequest) Descriptor() ([]byte, []int)
- func (m *CreateAppSessionOnVirtualContractRequest) GetContractBin() string
- func (m *CreateAppSessionOnVirtualContractRequest) GetContractConstructor() string
- func (m *CreateAppSessionOnVirtualContractRequest) GetNonce() uint64
- func (m *CreateAppSessionOnVirtualContractRequest) GetOnChainTimeout() uint64
- func (*CreateAppSessionOnVirtualContractRequest) ProtoMessage()
- func (m *CreateAppSessionOnVirtualContractRequest) Reset()
- func (m *CreateAppSessionOnVirtualContractRequest) String() string
- func (m *CreateAppSessionOnVirtualContractRequest) XXX_DiscardUnknown()
- func (m *CreateAppSessionOnVirtualContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateAppSessionOnVirtualContractRequest) XXX_Merge(src proto.Message)
- func (m *CreateAppSessionOnVirtualContractRequest) XXX_Size() int
- func (m *CreateAppSessionOnVirtualContractRequest) XXX_Unmarshal(b []byte) error
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetData() []byte
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type DepositOrWithdrawJob
- func (*DepositOrWithdrawJob) Descriptor() ([]byte, []int)
- func (m *DepositOrWithdrawJob) GetJobId() string
- func (m *DepositOrWithdrawJob) GetTxHash() string
- func (*DepositOrWithdrawJob) ProtoMessage()
- func (m *DepositOrWithdrawJob) Reset()
- func (m *DepositOrWithdrawJob) String() string
- func (m *DepositOrWithdrawJob) XXX_DiscardUnknown()
- func (m *DepositOrWithdrawJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositOrWithdrawJob) XXX_Merge(src proto.Message)
- func (m *DepositOrWithdrawJob) XXX_Size() int
- func (m *DepositOrWithdrawJob) XXX_Unmarshal(b []byte) error
- type DepositOrWithdrawRequest
- func (*DepositOrWithdrawRequest) Descriptor() ([]byte, []int)
- func (m *DepositOrWithdrawRequest) GetAmount() string
- func (m *DepositOrWithdrawRequest) GetTokenInfo() *TokenInfo
- func (*DepositOrWithdrawRequest) ProtoMessage()
- func (m *DepositOrWithdrawRequest) Reset()
- func (m *DepositOrWithdrawRequest) String() string
- func (m *DepositOrWithdrawRequest) XXX_DiscardUnknown()
- func (m *DepositOrWithdrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DepositOrWithdrawRequest) XXX_Merge(src proto.Message)
- func (m *DepositOrWithdrawRequest) XXX_Size() int
- func (m *DepositOrWithdrawRequest) XXX_Unmarshal(b []byte) error
- type DisputeInfo
- func (*DisputeInfo) Descriptor() ([]byte, []int)
- func (m *DisputeInfo) GetSeqNum() uint64
- func (m *DisputeInfo) GetSessionId() string
- func (*DisputeInfo) ProtoMessage()
- func (m *DisputeInfo) Reset()
- func (m *DisputeInfo) String() string
- func (m *DisputeInfo) XXX_DiscardUnknown()
- func (m *DisputeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DisputeInfo) XXX_Merge(src proto.Message)
- func (m *DisputeInfo) XXX_Size() int
- func (m *DisputeInfo) XXX_Unmarshal(b []byte) error
- type FreeBalance
- func (*FreeBalance) Descriptor() ([]byte, []int)
- func (m *FreeBalance) GetFreeBalance() string
- func (m *FreeBalance) GetJoinStatus() int32
- func (*FreeBalance) ProtoMessage()
- func (m *FreeBalance) Reset()
- func (m *FreeBalance) String() string
- func (m *FreeBalance) XXX_DiscardUnknown()
- func (m *FreeBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *FreeBalance) XXX_Merge(src proto.Message)
- func (m *FreeBalance) XXX_Size() int
- func (m *FreeBalance) XXX_Unmarshal(b []byte) error
- type GetBalanceResponse
- func (*GetBalanceResponse) Descriptor() ([]byte, []int)
- func (m *GetBalanceResponse) GetFreeBalance() string
- func (m *GetBalanceResponse) GetLockedBalance() string
- func (m *GetBalanceResponse) GetReceivingCapacity() string
- func (*GetBalanceResponse) ProtoMessage()
- func (m *GetBalanceResponse) Reset()
- func (m *GetBalanceResponse) String() string
- func (m *GetBalanceResponse) XXX_DiscardUnknown()
- func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBalanceResponse) XXX_Merge(src proto.Message)
- func (m *GetBalanceResponse) XXX_Size() int
- func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
- type GetBooleanOutcomeForAppSessionRequest
- func (*GetBooleanOutcomeForAppSessionRequest) Descriptor() ([]byte, []int)
- func (m *GetBooleanOutcomeForAppSessionRequest) GetQuery() []byte
- func (m *GetBooleanOutcomeForAppSessionRequest) GetSessionId() string
- func (*GetBooleanOutcomeForAppSessionRequest) ProtoMessage()
- func (m *GetBooleanOutcomeForAppSessionRequest) Reset()
- func (m *GetBooleanOutcomeForAppSessionRequest) String() string
- func (m *GetBooleanOutcomeForAppSessionRequest) XXX_DiscardUnknown()
- func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Merge(src proto.Message)
- func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Size() int
- func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Unmarshal(b []byte) error
- type GetPayHistoryRequest
- func (*GetPayHistoryRequest) Descriptor() ([]byte, []int)
- func (m *GetPayHistoryRequest) GetFromStart() bool
- func (m *GetPayHistoryRequest) GetItemsPerPage() int32
- func (*GetPayHistoryRequest) ProtoMessage()
- func (m *GetPayHistoryRequest) Reset()
- func (m *GetPayHistoryRequest) String() string
- func (m *GetPayHistoryRequest) XXX_DiscardUnknown()
- func (m *GetPayHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPayHistoryRequest) XXX_Merge(src proto.Message)
- func (m *GetPayHistoryRequest) XXX_Size() int
- func (m *GetPayHistoryRequest) XXX_Unmarshal(b []byte) error
- type GetPayHistoryResponse
- func (*GetPayHistoryResponse) Descriptor() ([]byte, []int)
- func (m *GetPayHistoryResponse) GetHasMoreResult() bool
- func (m *GetPayHistoryResponse) GetPays() []*rpc.OneHistoricalPay
- func (*GetPayHistoryResponse) ProtoMessage()
- func (m *GetPayHistoryResponse) Reset()
- func (m *GetPayHistoryResponse) String() string
- func (m *GetPayHistoryResponse) XXX_DiscardUnknown()
- func (m *GetPayHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPayHistoryResponse) XXX_Merge(src proto.Message)
- func (m *GetPayHistoryResponse) XXX_Size() int
- func (m *GetPayHistoryResponse) XXX_Unmarshal(b []byte) error
- type GetPeerFreeBalanceRequest
- func (*GetPeerFreeBalanceRequest) Descriptor() ([]byte, []int)
- func (m *GetPeerFreeBalanceRequest) GetPeerAddress() string
- func (m *GetPeerFreeBalanceRequest) GetTokenInfo() *TokenInfo
- func (*GetPeerFreeBalanceRequest) ProtoMessage()
- func (m *GetPeerFreeBalanceRequest) Reset()
- func (m *GetPeerFreeBalanceRequest) String() string
- func (m *GetPeerFreeBalanceRequest) XXX_DiscardUnknown()
- func (m *GetPeerFreeBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetPeerFreeBalanceRequest) XXX_Merge(src proto.Message)
- func (m *GetPeerFreeBalanceRequest) XXX_Size() int
- func (m *GetPeerFreeBalanceRequest) XXX_Unmarshal(b []byte) error
- type GetStateForAppSessionRequest
- func (*GetStateForAppSessionRequest) Descriptor() ([]byte, []int)
- func (m *GetStateForAppSessionRequest) GetKey() int64
- func (m *GetStateForAppSessionRequest) GetSessionId() string
- func (*GetStateForAppSessionRequest) ProtoMessage()
- func (m *GetStateForAppSessionRequest) Reset()
- func (m *GetStateForAppSessionRequest) String() string
- func (m *GetStateForAppSessionRequest) XXX_DiscardUnknown()
- func (m *GetStateForAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStateForAppSessionRequest) XXX_Merge(src proto.Message)
- func (m *GetStateForAppSessionRequest) XXX_Size() int
- func (m *GetStateForAppSessionRequest) XXX_Unmarshal(b []byte) error
- type InternalWebApiClient
- type InternalWebApiServer
- type OnChainPaymentInfo
- func (*OnChainPaymentInfo) Descriptor() ([]byte, []int)
- func (m *OnChainPaymentInfo) GetAmount() string
- func (m *OnChainPaymentInfo) GetResolveDeadline() uint64
- func (*OnChainPaymentInfo) ProtoMessage()
- func (m *OnChainPaymentInfo) Reset()
- func (m *OnChainPaymentInfo) String() string
- func (m *OnChainPaymentInfo) XXX_DiscardUnknown()
- func (m *OnChainPaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OnChainPaymentInfo) XXX_Merge(src proto.Message)
- func (m *OnChainPaymentInfo) XXX_Size() int
- func (m *OnChainPaymentInfo) XXX_Unmarshal(b []byte) error
- type OpenPaymentChannelRequest
- func (*OpenPaymentChannelRequest) Descriptor() ([]byte, []int)
- func (m *OpenPaymentChannelRequest) GetAmount() string
- func (m *OpenPaymentChannelRequest) GetPeerAmount() string
- func (m *OpenPaymentChannelRequest) GetTokenInfo() *TokenInfo
- func (*OpenPaymentChannelRequest) ProtoMessage()
- func (m *OpenPaymentChannelRequest) Reset()
- func (m *OpenPaymentChannelRequest) String() string
- func (m *OpenPaymentChannelRequest) XXX_DiscardUnknown()
- func (m *OpenPaymentChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OpenPaymentChannelRequest) XXX_Merge(src proto.Message)
- func (m *OpenPaymentChannelRequest) XXX_Size() int
- func (m *OpenPaymentChannelRequest) XXX_Unmarshal(b []byte) error
- type OutgoingPaymentInfo
- func (*OutgoingPaymentInfo) Descriptor() ([]byte, []int)
- func (m *OutgoingPaymentInfo) GetErrorCode() int64
- func (m *OutgoingPaymentInfo) GetErrorReason() string
- func (m *OutgoingPaymentInfo) GetPayment() *PaymentInfo
- func (*OutgoingPaymentInfo) ProtoMessage()
- func (m *OutgoingPaymentInfo) Reset()
- func (m *OutgoingPaymentInfo) String() string
- func (m *OutgoingPaymentInfo) XXX_DiscardUnknown()
- func (m *OutgoingPaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutgoingPaymentInfo) XXX_Merge(src proto.Message)
- func (m *OutgoingPaymentInfo) XXX_Size() int
- func (m *OutgoingPaymentInfo) XXX_Unmarshal(b []byte) error
- type PaymentID
- func (*PaymentID) Descriptor() ([]byte, []int)
- func (m *PaymentID) GetPaymentId() string
- func (*PaymentID) ProtoMessage()
- func (m *PaymentID) Reset()
- func (m *PaymentID) String() string
- func (m *PaymentID) XXX_DiscardUnknown()
- func (m *PaymentID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentID) XXX_Merge(src proto.Message)
- func (m *PaymentID) XXX_Size() int
- func (m *PaymentID) XXX_Unmarshal(b []byte) error
- type PaymentInfo
- func (*PaymentInfo) Descriptor() ([]byte, []int)
- func (m *PaymentInfo) GetAmount() string
- func (m *PaymentInfo) GetPaymentId() string
- func (m *PaymentInfo) GetPaymentJson() string
- func (m *PaymentInfo) GetReceiver() string
- func (m *PaymentInfo) GetSender() string
- func (m *PaymentInfo) GetStatus() uint32
- func (m *PaymentInfo) GetTokenInfo() *TokenInfo
- func (*PaymentInfo) ProtoMessage()
- func (m *PaymentInfo) Reset()
- func (m *PaymentInfo) String() string
- func (m *PaymentInfo) XXX_DiscardUnknown()
- func (m *PaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentInfo) XXX_Merge(src proto.Message)
- func (m *PaymentInfo) XXX_Size() int
- func (m *PaymentInfo) XXX_Unmarshal(b []byte) error
- type PaymentStatus
- func (*PaymentStatus) Descriptor() ([]byte, []int)
- func (m *PaymentStatus) GetStatus() uint32
- func (*PaymentStatus) ProtoMessage()
- func (m *PaymentStatus) Reset()
- func (m *PaymentStatus) String() string
- func (m *PaymentStatus) XXX_DiscardUnknown()
- func (m *PaymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentStatus) XXX_Merge(src proto.Message)
- func (m *PaymentStatus) XXX_Size() int
- func (m *PaymentStatus) XXX_Unmarshal(b []byte) error
- type ProcessReceivedStateRequest
- func (*ProcessReceivedStateRequest) Descriptor() ([]byte, []int)
- func (m *ProcessReceivedStateRequest) GetEnvelope() []byte
- func (m *ProcessReceivedStateRequest) GetSessionId() string
- func (*ProcessReceivedStateRequest) ProtoMessage()
- func (m *ProcessReceivedStateRequest) Reset()
- func (m *ProcessReceivedStateRequest) String() string
- func (m *ProcessReceivedStateRequest) XXX_DiscardUnknown()
- func (m *ProcessReceivedStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessReceivedStateRequest) XXX_Merge(src proto.Message)
- func (m *ProcessReceivedStateRequest) XXX_Size() int
- func (m *ProcessReceivedStateRequest) XXX_Unmarshal(b []byte) error
- type ProcessReceivedStateResponse
- func (*ProcessReceivedStateResponse) Descriptor() ([]byte, []int)
- func (m *ProcessReceivedStateResponse) GetDecodedState() []byte
- func (m *ProcessReceivedStateResponse) GetPreparedAck() []byte
- func (*ProcessReceivedStateResponse) ProtoMessage()
- func (m *ProcessReceivedStateResponse) Reset()
- func (m *ProcessReceivedStateResponse) String() string
- func (m *ProcessReceivedStateResponse) XXX_DiscardUnknown()
- func (m *ProcessReceivedStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessReceivedStateResponse) XXX_Merge(src proto.Message)
- func (m *ProcessReceivedStateResponse) XXX_Size() int
- func (m *ProcessReceivedStateResponse) XXX_Unmarshal(b []byte) error
- type SendConditionalPaymentRequest
- func (*SendConditionalPaymentRequest) Descriptor() ([]byte, []int)
- func (m *SendConditionalPaymentRequest) GetAmount() string
- func (m *SendConditionalPaymentRequest) GetConditions() []*Condition
- func (m *SendConditionalPaymentRequest) GetDestination() string
- func (m *SendConditionalPaymentRequest) GetNote() *any.Any
- func (m *SendConditionalPaymentRequest) GetTimeout() uint64
- func (m *SendConditionalPaymentRequest) GetTokenInfo() *TokenInfo
- func (m *SendConditionalPaymentRequest) GetTransferLogicType() entity.TransferFunctionType
- func (*SendConditionalPaymentRequest) ProtoMessage()
- func (m *SendConditionalPaymentRequest) Reset()
- func (m *SendConditionalPaymentRequest) String() string
- func (m *SendConditionalPaymentRequest) XXX_DiscardUnknown()
- func (m *SendConditionalPaymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SendConditionalPaymentRequest) XXX_Merge(src proto.Message)
- func (m *SendConditionalPaymentRequest) XXX_Size() int
- func (m *SendConditionalPaymentRequest) XXX_Unmarshal(b []byte) error
- type SessionID
- func (*SessionID) Descriptor() ([]byte, []int)
- func (m *SessionID) GetSessionId() string
- func (*SessionID) ProtoMessage()
- func (m *SessionID) Reset()
- func (m *SessionID) String() string
- func (m *SessionID) XXX_DiscardUnknown()
- func (m *SessionID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessionID) XXX_Merge(src proto.Message)
- func (m *SessionID) XXX_Size() int
- func (m *SessionID) XXX_Unmarshal(b []byte) error
- type SetDelegationRequest
- func (*SetDelegationRequest) Descriptor() ([]byte, []int)
- func (m *SetDelegationRequest) GetBlockDuration() int64
- func (m *SetDelegationRequest) GetTokenInfos() []*TokenInfo
- func (*SetDelegationRequest) ProtoMessage()
- func (m *SetDelegationRequest) Reset()
- func (m *SetDelegationRequest) String() string
- func (m *SetDelegationRequest) XXX_DiscardUnknown()
- func (m *SetDelegationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetDelegationRequest) XXX_Merge(src proto.Message)
- func (m *SetDelegationRequest) XXX_Size() int
- func (m *SetDelegationRequest) XXX_Unmarshal(b []byte) error
- type SetMsgDropReq
- func (*SetMsgDropReq) Descriptor() ([]byte, []int)
- func (m *SetMsgDropReq) GetDropRecv() bool
- func (m *SetMsgDropReq) GetDropSend() bool
- func (*SetMsgDropReq) ProtoMessage()
- func (m *SetMsgDropReq) Reset()
- func (m *SetMsgDropReq) String() string
- func (m *SetMsgDropReq) XXX_DiscardUnknown()
- func (m *SetMsgDropReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetMsgDropReq) XXX_Merge(src proto.Message)
- func (m *SetMsgDropReq) XXX_Size() int
- func (m *SetMsgDropReq) XXX_Unmarshal(b []byte) error
- type SettleAppSessionByInvalidityRequest
- func (*SettleAppSessionByInvalidityRequest) Descriptor() ([]byte, []int)
- func (m *SettleAppSessionByInvalidityRequest) GetCosignedStateProof() []byte
- func (m *SettleAppSessionByInvalidityRequest) GetOracleProof() []byte
- func (m *SettleAppSessionByInvalidityRequest) GetSessionId() string
- func (*SettleAppSessionByInvalidityRequest) ProtoMessage()
- func (m *SettleAppSessionByInvalidityRequest) Reset()
- func (m *SettleAppSessionByInvalidityRequest) String() string
- func (m *SettleAppSessionByInvalidityRequest) XXX_DiscardUnknown()
- func (m *SettleAppSessionByInvalidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettleAppSessionByInvalidityRequest) XXX_Merge(src proto.Message)
- func (m *SettleAppSessionByInvalidityRequest) XXX_Size() int
- func (m *SettleAppSessionByInvalidityRequest) XXX_Unmarshal(b []byte) error
- type SettleAppSessionByTimeoutRequest
- func (*SettleAppSessionByTimeoutRequest) Descriptor() ([]byte, []int)
- func (m *SettleAppSessionByTimeoutRequest) GetOracleProof() []byte
- func (m *SettleAppSessionByTimeoutRequest) GetSessionId() string
- func (*SettleAppSessionByTimeoutRequest) ProtoMessage()
- func (m *SettleAppSessionByTimeoutRequest) Reset()
- func (m *SettleAppSessionByTimeoutRequest) String() string
- func (m *SettleAppSessionByTimeoutRequest) XXX_DiscardUnknown()
- func (m *SettleAppSessionByTimeoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettleAppSessionByTimeoutRequest) XXX_Merge(src proto.Message)
- func (m *SettleAppSessionByTimeoutRequest) XXX_Size() int
- func (m *SettleAppSessionByTimeoutRequest) XXX_Unmarshal(b []byte) error
- type SettleAppSessionRequest
- func (*SettleAppSessionRequest) Descriptor() ([]byte, []int)
- func (m *SettleAppSessionRequest) GetSessionId() string
- func (m *SettleAppSessionRequest) GetStateProof() []byte
- func (*SettleAppSessionRequest) ProtoMessage()
- func (m *SettleAppSessionRequest) Reset()
- func (m *SettleAppSessionRequest) String() string
- func (m *SettleAppSessionRequest) XXX_DiscardUnknown()
- func (m *SettleAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SettleAppSessionRequest) XXX_Merge(src proto.Message)
- func (m *SettleAppSessionRequest) XXX_Size() int
- func (m *SettleAppSessionRequest) XXX_Unmarshal(b []byte) error
- type SignOutgoingStateRequest
- func (*SignOutgoingStateRequest) Descriptor() ([]byte, []int)
- func (m *SignOutgoingStateRequest) GetSessionId() string
- func (m *SignOutgoingStateRequest) GetState() []byte
- func (*SignOutgoingStateRequest) ProtoMessage()
- func (m *SignOutgoingStateRequest) Reset()
- func (m *SignOutgoingStateRequest) String() string
- func (m *SignOutgoingStateRequest) XXX_DiscardUnknown()
- func (m *SignOutgoingStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignOutgoingStateRequest) XXX_Merge(src proto.Message)
- func (m *SignOutgoingStateRequest) XXX_Size() int
- func (m *SignOutgoingStateRequest) XXX_Unmarshal(b []byte) error
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)
- func (m *Signature) GetSignature() []byte
- func (*Signature) ProtoMessage()
- func (m *Signature) Reset()
- func (m *Signature) String() string
- func (m *Signature) XXX_DiscardUnknown()
- func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Signature) XXX_Merge(src proto.Message)
- func (m *Signature) XXX_Size() int
- func (m *Signature) XXX_Unmarshal(b []byte) error
- type SignedState
- func (*SignedState) Descriptor() ([]byte, []int)
- func (m *SignedState) GetSignedState() []byte
- func (*SignedState) ProtoMessage()
- func (m *SignedState) Reset()
- func (m *SignedState) String() string
- func (m *SignedState) XXX_DiscardUnknown()
- func (m *SignedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedState) XXX_Merge(src proto.Message)
- func (m *SignedState) XXX_Size() int
- func (m *SignedState) XXX_Unmarshal(b []byte) error
- type TokenInfo
- func (*TokenInfo) Descriptor() ([]byte, []int)
- func (m *TokenInfo) GetTokenAddress() string
- func (m *TokenInfo) GetTokenType() entity.TokenType
- func (*TokenInfo) ProtoMessage()
- func (m *TokenInfo) Reset()
- func (m *TokenInfo) String() string
- func (m *TokenInfo) XXX_DiscardUnknown()
- func (m *TokenInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TokenInfo) XXX_Merge(src proto.Message)
- func (m *TokenInfo) XXX_Size() int
- func (m *TokenInfo) XXX_Unmarshal(b []byte) error
- type ValidateAckRequest
- func (*ValidateAckRequest) Descriptor() ([]byte, []int)
- func (m *ValidateAckRequest) GetEnvelope() []byte
- func (m *ValidateAckRequest) GetSessionId() string
- func (*ValidateAckRequest) ProtoMessage()
- func (m *ValidateAckRequest) Reset()
- func (m *ValidateAckRequest) String() string
- func (m *ValidateAckRequest) XXX_DiscardUnknown()
- func (m *ValidateAckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidateAckRequest) XXX_Merge(src proto.Message)
- func (m *ValidateAckRequest) XXX_Size() int
- func (m *ValidateAckRequest) XXX_Unmarshal(b []byte) error
- type WebApiClient
- type WebApiServer
- type WebApi_SubscribeAppSessionDisputeClient
- type WebApi_SubscribeAppSessionDisputeServer
- type WebApi_SubscribeIncomingPaymentsClient
- type WebApi_SubscribeIncomingPaymentsServer
- type WebApi_SubscribeOutgoingPaymentsClient
- type WebApi_SubscribeOutgoingPaymentsServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInternalWebApiServer ¶
func RegisterInternalWebApiServer(s *grpc.Server, srv InternalWebApiServer)
func RegisterWebApiServer ¶
func RegisterWebApiServer(s *grpc.Server, srv WebApiServer)
Types ¶
type Address ¶
type Address struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Address) Descriptor ¶
func (*Address) GetAddress ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
func (*Address) XXX_DiscardUnknown ¶
func (m *Address) XXX_DiscardUnknown()
func (*Address) XXX_Marshal ¶
func (*Address) XXX_Unmarshal ¶
type AppSessionSeqNum ¶
type AppSessionSeqNum struct {
SeqNum uint64 `protobuf:"varint,1,opt,name=seq_num,json=seqNum,proto3" json:"seq_num,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AppSessionSeqNum) Descriptor ¶
func (*AppSessionSeqNum) Descriptor() ([]byte, []int)
func (*AppSessionSeqNum) GetSeqNum ¶
func (m *AppSessionSeqNum) GetSeqNum() uint64
func (*AppSessionSeqNum) ProtoMessage ¶
func (*AppSessionSeqNum) ProtoMessage()
func (*AppSessionSeqNum) Reset ¶
func (m *AppSessionSeqNum) Reset()
func (*AppSessionSeqNum) String ¶
func (m *AppSessionSeqNum) String() string
func (*AppSessionSeqNum) XXX_DiscardUnknown ¶
func (m *AppSessionSeqNum) XXX_DiscardUnknown()
func (*AppSessionSeqNum) XXX_Marshal ¶
func (m *AppSessionSeqNum) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AppSessionSeqNum) XXX_Merge ¶
func (m *AppSessionSeqNum) XXX_Merge(src proto.Message)
func (*AppSessionSeqNum) XXX_Size ¶
func (m *AppSessionSeqNum) XXX_Size() int
func (*AppSessionSeqNum) XXX_Unmarshal ¶
func (m *AppSessionSeqNum) XXX_Unmarshal(b []byte) error
type AppSessionState ¶
type AppSessionState struct {
State []byte `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AppSessionState) Descriptor ¶
func (*AppSessionState) Descriptor() ([]byte, []int)
func (*AppSessionState) GetState ¶
func (m *AppSessionState) GetState() []byte
func (*AppSessionState) ProtoMessage ¶
func (*AppSessionState) ProtoMessage()
func (*AppSessionState) Reset ¶
func (m *AppSessionState) Reset()
func (*AppSessionState) String ¶
func (m *AppSessionState) String() string
func (*AppSessionState) XXX_DiscardUnknown ¶
func (m *AppSessionState) XXX_DiscardUnknown()
func (*AppSessionState) XXX_Marshal ¶
func (m *AppSessionState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AppSessionState) XXX_Merge ¶
func (m *AppSessionState) XXX_Merge(src proto.Message)
func (*AppSessionState) XXX_Size ¶
func (m *AppSessionState) XXX_Size() int
func (*AppSessionState) XXX_Unmarshal ¶
func (m *AppSessionState) XXX_Unmarshal(b []byte) error
type AppSessionStatus ¶
type AppSessionStatus struct {
Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*AppSessionStatus) Descriptor ¶
func (*AppSessionStatus) Descriptor() ([]byte, []int)
func (*AppSessionStatus) GetStatus ¶
func (m *AppSessionStatus) GetStatus() uint32
func (*AppSessionStatus) ProtoMessage ¶
func (*AppSessionStatus) ProtoMessage()
func (*AppSessionStatus) Reset ¶
func (m *AppSessionStatus) Reset()
func (*AppSessionStatus) String ¶
func (m *AppSessionStatus) String() string
func (*AppSessionStatus) XXX_DiscardUnknown ¶
func (m *AppSessionStatus) XXX_DiscardUnknown()
func (*AppSessionStatus) XXX_Marshal ¶
func (m *AppSessionStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AppSessionStatus) XXX_Merge ¶
func (m *AppSessionStatus) XXX_Merge(src proto.Message)
func (*AppSessionStatus) XXX_Size ¶
func (m *AppSessionStatus) XXX_Size() int
func (*AppSessionStatus) XXX_Unmarshal ¶
func (m *AppSessionStatus) XXX_Unmarshal(b []byte) error
type ApplyActionForAppSessionRequest ¶
type ApplyActionForAppSessionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Action []byte `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ApplyActionForAppSessionRequest) Descriptor ¶
func (*ApplyActionForAppSessionRequest) Descriptor() ([]byte, []int)
func (*ApplyActionForAppSessionRequest) GetAction ¶
func (m *ApplyActionForAppSessionRequest) GetAction() []byte
func (*ApplyActionForAppSessionRequest) GetSessionId ¶
func (m *ApplyActionForAppSessionRequest) GetSessionId() string
func (*ApplyActionForAppSessionRequest) ProtoMessage ¶
func (*ApplyActionForAppSessionRequest) ProtoMessage()
func (*ApplyActionForAppSessionRequest) Reset ¶
func (m *ApplyActionForAppSessionRequest) Reset()
func (*ApplyActionForAppSessionRequest) String ¶
func (m *ApplyActionForAppSessionRequest) String() string
func (*ApplyActionForAppSessionRequest) XXX_DiscardUnknown ¶
func (m *ApplyActionForAppSessionRequest) XXX_DiscardUnknown()
func (*ApplyActionForAppSessionRequest) XXX_Marshal ¶
func (m *ApplyActionForAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApplyActionForAppSessionRequest) XXX_Merge ¶
func (m *ApplyActionForAppSessionRequest) XXX_Merge(src proto.Message)
func (*ApplyActionForAppSessionRequest) XXX_Size ¶
func (m *ApplyActionForAppSessionRequest) XXX_Size() int
func (*ApplyActionForAppSessionRequest) XXX_Unmarshal ¶
func (m *ApplyActionForAppSessionRequest) XXX_Unmarshal(b []byte) error
type BlockNumber ¶
type BlockNumber struct {
BlockNumber uint64 `protobuf:"varint,1,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BlockNumber) Descriptor ¶
func (*BlockNumber) Descriptor() ([]byte, []int)
func (*BlockNumber) GetBlockNumber ¶
func (m *BlockNumber) GetBlockNumber() uint64
func (*BlockNumber) ProtoMessage ¶
func (*BlockNumber) ProtoMessage()
func (*BlockNumber) Reset ¶
func (m *BlockNumber) Reset()
func (*BlockNumber) String ¶
func (m *BlockNumber) String() string
func (*BlockNumber) XXX_DiscardUnknown ¶
func (m *BlockNumber) XXX_DiscardUnknown()
func (*BlockNumber) XXX_Marshal ¶
func (m *BlockNumber) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockNumber) XXX_Merge ¶
func (m *BlockNumber) XXX_Merge(src proto.Message)
func (*BlockNumber) XXX_Size ¶
func (m *BlockNumber) XXX_Size() int
func (*BlockNumber) XXX_Unmarshal ¶
func (m *BlockNumber) XXX_Unmarshal(b []byte) error
type BoolValue ¶
type BoolValue struct {
Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BoolValue) Descriptor ¶
func (*BoolValue) ProtoMessage ¶
func (*BoolValue) ProtoMessage()
func (*BoolValue) XXX_DiscardUnknown ¶
func (m *BoolValue) XXX_DiscardUnknown()
func (*BoolValue) XXX_Marshal ¶
func (*BoolValue) XXX_Unmarshal ¶
type BooleanOutcome ¶
type BooleanOutcome struct {
Finalized bool `protobuf:"varint,1,opt,name=finalized,proto3" json:"finalized,omitempty"`
Outcome bool `protobuf:"varint,2,opt,name=outcome,proto3" json:"outcome,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*BooleanOutcome) Descriptor ¶
func (*BooleanOutcome) Descriptor() ([]byte, []int)
func (*BooleanOutcome) GetFinalized ¶
func (m *BooleanOutcome) GetFinalized() bool
func (*BooleanOutcome) GetOutcome ¶
func (m *BooleanOutcome) GetOutcome() bool
func (*BooleanOutcome) ProtoMessage ¶
func (*BooleanOutcome) ProtoMessage()
func (*BooleanOutcome) Reset ¶
func (m *BooleanOutcome) Reset()
func (*BooleanOutcome) String ¶
func (m *BooleanOutcome) String() string
func (*BooleanOutcome) XXX_DiscardUnknown ¶
func (m *BooleanOutcome) XXX_DiscardUnknown()
func (*BooleanOutcome) XXX_Marshal ¶
func (m *BooleanOutcome) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BooleanOutcome) XXX_Merge ¶
func (m *BooleanOutcome) XXX_Merge(src proto.Message)
func (*BooleanOutcome) XXX_Size ¶
func (m *BooleanOutcome) XXX_Size() int
func (*BooleanOutcome) XXX_Unmarshal ¶
func (m *BooleanOutcome) XXX_Unmarshal(b []byte) error
type ChannelID ¶
type ChannelID struct {
ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ChannelID) Descriptor ¶
func (*ChannelID) GetChannelId ¶
func (*ChannelID) ProtoMessage ¶
func (*ChannelID) ProtoMessage()
func (*ChannelID) XXX_DiscardUnknown ¶
func (m *ChannelID) XXX_DiscardUnknown()
func (*ChannelID) XXX_Marshal ¶
func (*ChannelID) XXX_Unmarshal ¶
type Condition ¶
type Condition struct {
OnChainDeployed bool `protobuf:"varint,1,opt,name=on_chain_deployed,json=onChainDeployed,proto3" json:"on_chain_deployed,omitempty"`
ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
IsFinalizedArgs []byte `protobuf:"bytes,3,opt,name=is_finalized_args,json=isFinalizedArgs,proto3" json:"is_finalized_args,omitempty"`
GetOutcomeArgs []byte `protobuf:"bytes,4,opt,name=get_outcome_args,json=getOutcomeArgs,proto3" json:"get_outcome_args,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Condition) Descriptor ¶
func (*Condition) GetContractAddress ¶
func (*Condition) GetGetOutcomeArgs ¶
func (*Condition) GetIsFinalizedArgs ¶
func (*Condition) GetOnChainDeployed ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) XXX_DiscardUnknown ¶
func (m *Condition) XXX_DiscardUnknown()
func (*Condition) XXX_Marshal ¶
func (*Condition) XXX_Unmarshal ¶
type CreateAppSessionOnDeployedContractRequest ¶
type CreateAppSessionOnDeployedContractRequest struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
Nonce uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
OnChainTimeout uint64 `protobuf:"varint,3,opt,name=on_chain_timeout,json=onChainTimeout,proto3" json:"on_chain_timeout,omitempty"`
Participants []string `protobuf:"bytes,4,rep,name=participants,proto3" json:"participants,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateAppSessionOnDeployedContractRequest) Descriptor ¶
func (*CreateAppSessionOnDeployedContractRequest) Descriptor() ([]byte, []int)
func (*CreateAppSessionOnDeployedContractRequest) GetContractAddress ¶
func (m *CreateAppSessionOnDeployedContractRequest) GetContractAddress() string
func (*CreateAppSessionOnDeployedContractRequest) GetNonce ¶
func (m *CreateAppSessionOnDeployedContractRequest) GetNonce() uint64
func (*CreateAppSessionOnDeployedContractRequest) GetOnChainTimeout ¶
func (m *CreateAppSessionOnDeployedContractRequest) GetOnChainTimeout() uint64
func (*CreateAppSessionOnDeployedContractRequest) GetParticipants ¶
func (m *CreateAppSessionOnDeployedContractRequest) GetParticipants() []string
func (*CreateAppSessionOnDeployedContractRequest) ProtoMessage ¶
func (*CreateAppSessionOnDeployedContractRequest) ProtoMessage()
func (*CreateAppSessionOnDeployedContractRequest) Reset ¶
func (m *CreateAppSessionOnDeployedContractRequest) Reset()
func (*CreateAppSessionOnDeployedContractRequest) String ¶
func (m *CreateAppSessionOnDeployedContractRequest) String() string
func (*CreateAppSessionOnDeployedContractRequest) XXX_DiscardUnknown ¶
func (m *CreateAppSessionOnDeployedContractRequest) XXX_DiscardUnknown()
func (*CreateAppSessionOnDeployedContractRequest) XXX_Marshal ¶
func (m *CreateAppSessionOnDeployedContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateAppSessionOnDeployedContractRequest) XXX_Merge ¶
func (m *CreateAppSessionOnDeployedContractRequest) XXX_Merge(src proto.Message)
func (*CreateAppSessionOnDeployedContractRequest) XXX_Size ¶
func (m *CreateAppSessionOnDeployedContractRequest) XXX_Size() int
func (*CreateAppSessionOnDeployedContractRequest) XXX_Unmarshal ¶
func (m *CreateAppSessionOnDeployedContractRequest) XXX_Unmarshal(b []byte) error
type CreateAppSessionOnVirtualContractRequest ¶
type CreateAppSessionOnVirtualContractRequest struct {
ContractBin string `protobuf:"bytes,1,opt,name=contract_bin,json=contractBin,proto3" json:"contract_bin,omitempty"`
ContractConstructor string `protobuf:"bytes,2,opt,name=contract_constructor,json=contractConstructor,proto3" json:"contract_constructor,omitempty"`
Nonce uint64 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
OnChainTimeout uint64 `protobuf:"varint,4,opt,name=on_chain_timeout,json=onChainTimeout,proto3" json:"on_chain_timeout,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*CreateAppSessionOnVirtualContractRequest) Descriptor ¶
func (*CreateAppSessionOnVirtualContractRequest) Descriptor() ([]byte, []int)
func (*CreateAppSessionOnVirtualContractRequest) GetContractBin ¶
func (m *CreateAppSessionOnVirtualContractRequest) GetContractBin() string
func (*CreateAppSessionOnVirtualContractRequest) GetContractConstructor ¶
func (m *CreateAppSessionOnVirtualContractRequest) GetContractConstructor() string
func (*CreateAppSessionOnVirtualContractRequest) GetNonce ¶
func (m *CreateAppSessionOnVirtualContractRequest) GetNonce() uint64
func (*CreateAppSessionOnVirtualContractRequest) GetOnChainTimeout ¶
func (m *CreateAppSessionOnVirtualContractRequest) GetOnChainTimeout() uint64
func (*CreateAppSessionOnVirtualContractRequest) ProtoMessage ¶
func (*CreateAppSessionOnVirtualContractRequest) ProtoMessage()
func (*CreateAppSessionOnVirtualContractRequest) Reset ¶
func (m *CreateAppSessionOnVirtualContractRequest) Reset()
func (*CreateAppSessionOnVirtualContractRequest) String ¶
func (m *CreateAppSessionOnVirtualContractRequest) String() string
func (*CreateAppSessionOnVirtualContractRequest) XXX_DiscardUnknown ¶
func (m *CreateAppSessionOnVirtualContractRequest) XXX_DiscardUnknown()
func (*CreateAppSessionOnVirtualContractRequest) XXX_Marshal ¶
func (m *CreateAppSessionOnVirtualContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateAppSessionOnVirtualContractRequest) XXX_Merge ¶
func (m *CreateAppSessionOnVirtualContractRequest) XXX_Merge(src proto.Message)
func (*CreateAppSessionOnVirtualContractRequest) XXX_Size ¶
func (m *CreateAppSessionOnVirtualContractRequest) XXX_Size() int
func (*CreateAppSessionOnVirtualContractRequest) XXX_Unmarshal ¶
func (m *CreateAppSessionOnVirtualContractRequest) XXX_Unmarshal(b []byte) error
type Data ¶
type Data struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Data) Descriptor ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type DepositOrWithdrawJob ¶
type DepositOrWithdrawJob struct {
JobId string `protobuf:"bytes,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DepositOrWithdrawJob) Descriptor ¶
func (*DepositOrWithdrawJob) Descriptor() ([]byte, []int)
func (*DepositOrWithdrawJob) GetJobId ¶
func (m *DepositOrWithdrawJob) GetJobId() string
func (*DepositOrWithdrawJob) GetTxHash ¶
func (m *DepositOrWithdrawJob) GetTxHash() string
func (*DepositOrWithdrawJob) ProtoMessage ¶
func (*DepositOrWithdrawJob) ProtoMessage()
func (*DepositOrWithdrawJob) Reset ¶
func (m *DepositOrWithdrawJob) Reset()
func (*DepositOrWithdrawJob) String ¶
func (m *DepositOrWithdrawJob) String() string
func (*DepositOrWithdrawJob) XXX_DiscardUnknown ¶
func (m *DepositOrWithdrawJob) XXX_DiscardUnknown()
func (*DepositOrWithdrawJob) XXX_Marshal ¶
func (m *DepositOrWithdrawJob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositOrWithdrawJob) XXX_Merge ¶
func (m *DepositOrWithdrawJob) XXX_Merge(src proto.Message)
func (*DepositOrWithdrawJob) XXX_Size ¶
func (m *DepositOrWithdrawJob) XXX_Size() int
func (*DepositOrWithdrawJob) XXX_Unmarshal ¶
func (m *DepositOrWithdrawJob) XXX_Unmarshal(b []byte) error
type DepositOrWithdrawRequest ¶
type DepositOrWithdrawRequest struct {
TokenInfo *TokenInfo `protobuf:"bytes,1,opt,name=token_info,json=tokenInfo,proto3" json:"token_info,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DepositOrWithdrawRequest) Descriptor ¶
func (*DepositOrWithdrawRequest) Descriptor() ([]byte, []int)
func (*DepositOrWithdrawRequest) GetAmount ¶
func (m *DepositOrWithdrawRequest) GetAmount() string
func (*DepositOrWithdrawRequest) GetTokenInfo ¶
func (m *DepositOrWithdrawRequest) GetTokenInfo() *TokenInfo
func (*DepositOrWithdrawRequest) ProtoMessage ¶
func (*DepositOrWithdrawRequest) ProtoMessage()
func (*DepositOrWithdrawRequest) Reset ¶
func (m *DepositOrWithdrawRequest) Reset()
func (*DepositOrWithdrawRequest) String ¶
func (m *DepositOrWithdrawRequest) String() string
func (*DepositOrWithdrawRequest) XXX_DiscardUnknown ¶
func (m *DepositOrWithdrawRequest) XXX_DiscardUnknown()
func (*DepositOrWithdrawRequest) XXX_Marshal ¶
func (m *DepositOrWithdrawRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DepositOrWithdrawRequest) XXX_Merge ¶
func (m *DepositOrWithdrawRequest) XXX_Merge(src proto.Message)
func (*DepositOrWithdrawRequest) XXX_Size ¶
func (m *DepositOrWithdrawRequest) XXX_Size() int
func (*DepositOrWithdrawRequest) XXX_Unmarshal ¶
func (m *DepositOrWithdrawRequest) XXX_Unmarshal(b []byte) error
type DisputeInfo ¶
type DisputeInfo struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
SeqNum uint64 `protobuf:"varint,2,opt,name=seq_num,json=seqNum,proto3" json:"seq_num,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*DisputeInfo) Descriptor ¶
func (*DisputeInfo) Descriptor() ([]byte, []int)
func (*DisputeInfo) GetSeqNum ¶
func (m *DisputeInfo) GetSeqNum() uint64
func (*DisputeInfo) GetSessionId ¶
func (m *DisputeInfo) GetSessionId() string
func (*DisputeInfo) ProtoMessage ¶
func (*DisputeInfo) ProtoMessage()
func (*DisputeInfo) Reset ¶
func (m *DisputeInfo) Reset()
func (*DisputeInfo) String ¶
func (m *DisputeInfo) String() string
func (*DisputeInfo) XXX_DiscardUnknown ¶
func (m *DisputeInfo) XXX_DiscardUnknown()
func (*DisputeInfo) XXX_Marshal ¶
func (m *DisputeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DisputeInfo) XXX_Merge ¶
func (m *DisputeInfo) XXX_Merge(src proto.Message)
func (*DisputeInfo) XXX_Size ¶
func (m *DisputeInfo) XXX_Size() int
func (*DisputeInfo) XXX_Unmarshal ¶
func (m *DisputeInfo) XXX_Unmarshal(b []byte) error
type FreeBalance ¶
type FreeBalance struct {
FreeBalance string `protobuf:"bytes,1,opt,name=free_balance,json=freeBalance,proto3" json:"free_balance,omitempty"`
JoinStatus int32 `protobuf:"varint,2,opt,name=join_status,json=joinStatus,proto3" json:"join_status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*FreeBalance) Descriptor ¶
func (*FreeBalance) Descriptor() ([]byte, []int)
func (*FreeBalance) GetFreeBalance ¶
func (m *FreeBalance) GetFreeBalance() string
func (*FreeBalance) GetJoinStatus ¶
func (m *FreeBalance) GetJoinStatus() int32
func (*FreeBalance) ProtoMessage ¶
func (*FreeBalance) ProtoMessage()
func (*FreeBalance) Reset ¶
func (m *FreeBalance) Reset()
func (*FreeBalance) String ¶
func (m *FreeBalance) String() string
func (*FreeBalance) XXX_DiscardUnknown ¶
func (m *FreeBalance) XXX_DiscardUnknown()
func (*FreeBalance) XXX_Marshal ¶
func (m *FreeBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FreeBalance) XXX_Merge ¶
func (m *FreeBalance) XXX_Merge(src proto.Message)
func (*FreeBalance) XXX_Size ¶
func (m *FreeBalance) XXX_Size() int
func (*FreeBalance) XXX_Unmarshal ¶
func (m *FreeBalance) XXX_Unmarshal(b []byte) error
type GetBalanceResponse ¶
type GetBalanceResponse struct {
FreeBalance string `protobuf:"bytes,1,opt,name=free_balance,json=freeBalance,proto3" json:"free_balance,omitempty"`
LockedBalance string `protobuf:"bytes,2,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"`
ReceivingCapacity string `protobuf:"bytes,3,opt,name=receiving_capacity,json=receivingCapacity,proto3" json:"receiving_capacity,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBalanceResponse) Descriptor ¶
func (*GetBalanceResponse) Descriptor() ([]byte, []int)
func (*GetBalanceResponse) GetFreeBalance ¶
func (m *GetBalanceResponse) GetFreeBalance() string
func (*GetBalanceResponse) GetLockedBalance ¶
func (m *GetBalanceResponse) GetLockedBalance() string
func (*GetBalanceResponse) GetReceivingCapacity ¶
func (m *GetBalanceResponse) GetReceivingCapacity() string
func (*GetBalanceResponse) ProtoMessage ¶
func (*GetBalanceResponse) ProtoMessage()
func (*GetBalanceResponse) Reset ¶
func (m *GetBalanceResponse) Reset()
func (*GetBalanceResponse) String ¶
func (m *GetBalanceResponse) String() string
func (*GetBalanceResponse) XXX_DiscardUnknown ¶
func (m *GetBalanceResponse) XXX_DiscardUnknown()
func (*GetBalanceResponse) XXX_Marshal ¶
func (m *GetBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBalanceResponse) XXX_Merge ¶
func (m *GetBalanceResponse) XXX_Merge(src proto.Message)
func (*GetBalanceResponse) XXX_Size ¶
func (m *GetBalanceResponse) XXX_Size() int
func (*GetBalanceResponse) XXX_Unmarshal ¶
func (m *GetBalanceResponse) XXX_Unmarshal(b []byte) error
type GetBooleanOutcomeForAppSessionRequest ¶
type GetBooleanOutcomeForAppSessionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Query []byte `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetBooleanOutcomeForAppSessionRequest) Descriptor ¶
func (*GetBooleanOutcomeForAppSessionRequest) Descriptor() ([]byte, []int)
func (*GetBooleanOutcomeForAppSessionRequest) GetQuery ¶
func (m *GetBooleanOutcomeForAppSessionRequest) GetQuery() []byte
func (*GetBooleanOutcomeForAppSessionRequest) GetSessionId ¶
func (m *GetBooleanOutcomeForAppSessionRequest) GetSessionId() string
func (*GetBooleanOutcomeForAppSessionRequest) ProtoMessage ¶
func (*GetBooleanOutcomeForAppSessionRequest) ProtoMessage()
func (*GetBooleanOutcomeForAppSessionRequest) Reset ¶
func (m *GetBooleanOutcomeForAppSessionRequest) Reset()
func (*GetBooleanOutcomeForAppSessionRequest) String ¶
func (m *GetBooleanOutcomeForAppSessionRequest) String() string
func (*GetBooleanOutcomeForAppSessionRequest) XXX_DiscardUnknown ¶
func (m *GetBooleanOutcomeForAppSessionRequest) XXX_DiscardUnknown()
func (*GetBooleanOutcomeForAppSessionRequest) XXX_Marshal ¶
func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBooleanOutcomeForAppSessionRequest) XXX_Merge ¶
func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Merge(src proto.Message)
func (*GetBooleanOutcomeForAppSessionRequest) XXX_Size ¶
func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Size() int
func (*GetBooleanOutcomeForAppSessionRequest) XXX_Unmarshal ¶
func (m *GetBooleanOutcomeForAppSessionRequest) XXX_Unmarshal(b []byte) error
type GetPayHistoryRequest ¶
type GetPayHistoryRequest struct {
FromStart bool `protobuf:"varint,1,opt,name=from_start,json=fromStart,proto3" json:"from_start,omitempty"`
ItemsPerPage int32 `protobuf:"varint,2,opt,name=itemsPerPage,proto3" json:"itemsPerPage,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Next tag: 3
func (*GetPayHistoryRequest) Descriptor ¶
func (*GetPayHistoryRequest) Descriptor() ([]byte, []int)
func (*GetPayHistoryRequest) GetFromStart ¶
func (m *GetPayHistoryRequest) GetFromStart() bool
func (*GetPayHistoryRequest) GetItemsPerPage ¶
func (m *GetPayHistoryRequest) GetItemsPerPage() int32
func (*GetPayHistoryRequest) ProtoMessage ¶
func (*GetPayHistoryRequest) ProtoMessage()
func (*GetPayHistoryRequest) Reset ¶
func (m *GetPayHistoryRequest) Reset()
func (*GetPayHistoryRequest) String ¶
func (m *GetPayHistoryRequest) String() string
func (*GetPayHistoryRequest) XXX_DiscardUnknown ¶
func (m *GetPayHistoryRequest) XXX_DiscardUnknown()
func (*GetPayHistoryRequest) XXX_Marshal ¶
func (m *GetPayHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPayHistoryRequest) XXX_Merge ¶
func (m *GetPayHistoryRequest) XXX_Merge(src proto.Message)
func (*GetPayHistoryRequest) XXX_Size ¶
func (m *GetPayHistoryRequest) XXX_Size() int
func (*GetPayHistoryRequest) XXX_Unmarshal ¶
func (m *GetPayHistoryRequest) XXX_Unmarshal(b []byte) error
type GetPayHistoryResponse ¶
type GetPayHistoryResponse struct {
Pays []*rpc.OneHistoricalPay `protobuf:"bytes,1,rep,name=pays,proto3" json:"pays,omitempty"`
HasMoreResult bool `protobuf:"varint,2,opt,name=has_more_result,json=hasMoreResult,proto3" json:"has_more_result,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Next tag: 3
func (*GetPayHistoryResponse) Descriptor ¶
func (*GetPayHistoryResponse) Descriptor() ([]byte, []int)
func (*GetPayHistoryResponse) GetHasMoreResult ¶
func (m *GetPayHistoryResponse) GetHasMoreResult() bool
func (*GetPayHistoryResponse) GetPays ¶
func (m *GetPayHistoryResponse) GetPays() []*rpc.OneHistoricalPay
func (*GetPayHistoryResponse) ProtoMessage ¶
func (*GetPayHistoryResponse) ProtoMessage()
func (*GetPayHistoryResponse) Reset ¶
func (m *GetPayHistoryResponse) Reset()
func (*GetPayHistoryResponse) String ¶
func (m *GetPayHistoryResponse) String() string
func (*GetPayHistoryResponse) XXX_DiscardUnknown ¶
func (m *GetPayHistoryResponse) XXX_DiscardUnknown()
func (*GetPayHistoryResponse) XXX_Marshal ¶
func (m *GetPayHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPayHistoryResponse) XXX_Merge ¶
func (m *GetPayHistoryResponse) XXX_Merge(src proto.Message)
func (*GetPayHistoryResponse) XXX_Size ¶
func (m *GetPayHistoryResponse) XXX_Size() int
func (*GetPayHistoryResponse) XXX_Unmarshal ¶
func (m *GetPayHistoryResponse) XXX_Unmarshal(b []byte) error
type GetPeerFreeBalanceRequest ¶
type GetPeerFreeBalanceRequest struct {
TokenInfo *TokenInfo `protobuf:"bytes,1,opt,name=token_info,json=tokenInfo,proto3" json:"token_info,omitempty"`
PeerAddress string `protobuf:"bytes,2,opt,name=peer_address,json=peerAddress,proto3" json:"peer_address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetPeerFreeBalanceRequest) Descriptor ¶
func (*GetPeerFreeBalanceRequest) Descriptor() ([]byte, []int)
func (*GetPeerFreeBalanceRequest) GetPeerAddress ¶
func (m *GetPeerFreeBalanceRequest) GetPeerAddress() string
func (*GetPeerFreeBalanceRequest) GetTokenInfo ¶
func (m *GetPeerFreeBalanceRequest) GetTokenInfo() *TokenInfo
func (*GetPeerFreeBalanceRequest) ProtoMessage ¶
func (*GetPeerFreeBalanceRequest) ProtoMessage()
func (*GetPeerFreeBalanceRequest) Reset ¶
func (m *GetPeerFreeBalanceRequest) Reset()
func (*GetPeerFreeBalanceRequest) String ¶
func (m *GetPeerFreeBalanceRequest) String() string
func (*GetPeerFreeBalanceRequest) XXX_DiscardUnknown ¶
func (m *GetPeerFreeBalanceRequest) XXX_DiscardUnknown()
func (*GetPeerFreeBalanceRequest) XXX_Marshal ¶
func (m *GetPeerFreeBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetPeerFreeBalanceRequest) XXX_Merge ¶
func (m *GetPeerFreeBalanceRequest) XXX_Merge(src proto.Message)
func (*GetPeerFreeBalanceRequest) XXX_Size ¶
func (m *GetPeerFreeBalanceRequest) XXX_Size() int
func (*GetPeerFreeBalanceRequest) XXX_Unmarshal ¶
func (m *GetPeerFreeBalanceRequest) XXX_Unmarshal(b []byte) error
type GetStateForAppSessionRequest ¶
type GetStateForAppSessionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Key int64 `protobuf:"varint,2,opt,name=key,proto3" json:"key,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*GetStateForAppSessionRequest) Descriptor ¶
func (*GetStateForAppSessionRequest) Descriptor() ([]byte, []int)
func (*GetStateForAppSessionRequest) GetKey ¶
func (m *GetStateForAppSessionRequest) GetKey() int64
func (*GetStateForAppSessionRequest) GetSessionId ¶
func (m *GetStateForAppSessionRequest) GetSessionId() string
func (*GetStateForAppSessionRequest) ProtoMessage ¶
func (*GetStateForAppSessionRequest) ProtoMessage()
func (*GetStateForAppSessionRequest) Reset ¶
func (m *GetStateForAppSessionRequest) Reset()
func (*GetStateForAppSessionRequest) String ¶
func (m *GetStateForAppSessionRequest) String() string
func (*GetStateForAppSessionRequest) XXX_DiscardUnknown ¶
func (m *GetStateForAppSessionRequest) XXX_DiscardUnknown()
func (*GetStateForAppSessionRequest) XXX_Marshal ¶
func (m *GetStateForAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStateForAppSessionRequest) XXX_Merge ¶
func (m *GetStateForAppSessionRequest) XXX_Merge(src proto.Message)
func (*GetStateForAppSessionRequest) XXX_Size ¶
func (m *GetStateForAppSessionRequest) XXX_Size() int
func (*GetStateForAppSessionRequest) XXX_Unmarshal ¶
func (m *GetStateForAppSessionRequest) XXX_Unmarshal(b []byte) error
type InternalWebApiClient ¶
type InternalWebApiClient interface {
OpenTrustedPaymentChannel(ctx context.Context, in *OpenPaymentChannelRequest, opts ...grpc.CallOption) (*ChannelID, error)
InstantiateTrustedPaymentChannel(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*ChannelID, error)
DepositNonBlocking(ctx context.Context, in *DepositOrWithdrawRequest, opts ...grpc.CallOption) (*DepositOrWithdrawJob, error)
CooperativeWithdrawNonBlocking(ctx context.Context, in *DepositOrWithdrawRequest, opts ...grpc.CallOption) (*DepositOrWithdrawJob, error)
}
InternalWebApiClient is the client API for InternalWebApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInternalWebApiClient ¶
func NewInternalWebApiClient(cc *grpc.ClientConn) InternalWebApiClient
type InternalWebApiServer ¶
type InternalWebApiServer interface {
OpenTrustedPaymentChannel(context.Context, *OpenPaymentChannelRequest) (*ChannelID, error)
InstantiateTrustedPaymentChannel(context.Context, *TokenInfo) (*ChannelID, error)
DepositNonBlocking(context.Context, *DepositOrWithdrawRequest) (*DepositOrWithdrawJob, error)
CooperativeWithdrawNonBlocking(context.Context, *DepositOrWithdrawRequest) (*DepositOrWithdrawJob, error)
}
InternalWebApiServer is the server API for InternalWebApi service.
type OnChainPaymentInfo ¶
type OnChainPaymentInfo struct {
Amount string `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"`
ResolveDeadline uint64 `protobuf:"varint,2,opt,name=resolve_deadline,json=resolveDeadline,proto3" json:"resolve_deadline,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OnChainPaymentInfo) Descriptor ¶
func (*OnChainPaymentInfo) Descriptor() ([]byte, []int)
func (*OnChainPaymentInfo) GetAmount ¶
func (m *OnChainPaymentInfo) GetAmount() string
func (*OnChainPaymentInfo) GetResolveDeadline ¶
func (m *OnChainPaymentInfo) GetResolveDeadline() uint64
func (*OnChainPaymentInfo) ProtoMessage ¶
func (*OnChainPaymentInfo) ProtoMessage()
func (*OnChainPaymentInfo) Reset ¶
func (m *OnChainPaymentInfo) Reset()
func (*OnChainPaymentInfo) String ¶
func (m *OnChainPaymentInfo) String() string
func (*OnChainPaymentInfo) XXX_DiscardUnknown ¶
func (m *OnChainPaymentInfo) XXX_DiscardUnknown()
func (*OnChainPaymentInfo) XXX_Marshal ¶
func (m *OnChainPaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OnChainPaymentInfo) XXX_Merge ¶
func (m *OnChainPaymentInfo) XXX_Merge(src proto.Message)
func (*OnChainPaymentInfo) XXX_Size ¶
func (m *OnChainPaymentInfo) XXX_Size() int
func (*OnChainPaymentInfo) XXX_Unmarshal ¶
func (m *OnChainPaymentInfo) XXX_Unmarshal(b []byte) error
type OpenPaymentChannelRequest ¶
type OpenPaymentChannelRequest struct {
TokenInfo *TokenInfo `protobuf:"bytes,1,opt,name=token_info,json=tokenInfo,proto3" json:"token_info,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
PeerAmount string `protobuf:"bytes,3,opt,name=peer_amount,json=peerAmount,proto3" json:"peer_amount,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OpenPaymentChannelRequest) Descriptor ¶
func (*OpenPaymentChannelRequest) Descriptor() ([]byte, []int)
func (*OpenPaymentChannelRequest) GetAmount ¶
func (m *OpenPaymentChannelRequest) GetAmount() string
func (*OpenPaymentChannelRequest) GetPeerAmount ¶
func (m *OpenPaymentChannelRequest) GetPeerAmount() string
func (*OpenPaymentChannelRequest) GetTokenInfo ¶
func (m *OpenPaymentChannelRequest) GetTokenInfo() *TokenInfo
func (*OpenPaymentChannelRequest) ProtoMessage ¶
func (*OpenPaymentChannelRequest) ProtoMessage()
func (*OpenPaymentChannelRequest) Reset ¶
func (m *OpenPaymentChannelRequest) Reset()
func (*OpenPaymentChannelRequest) String ¶
func (m *OpenPaymentChannelRequest) String() string
func (*OpenPaymentChannelRequest) XXX_DiscardUnknown ¶
func (m *OpenPaymentChannelRequest) XXX_DiscardUnknown()
func (*OpenPaymentChannelRequest) XXX_Marshal ¶
func (m *OpenPaymentChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OpenPaymentChannelRequest) XXX_Merge ¶
func (m *OpenPaymentChannelRequest) XXX_Merge(src proto.Message)
func (*OpenPaymentChannelRequest) XXX_Size ¶
func (m *OpenPaymentChannelRequest) XXX_Size() int
func (*OpenPaymentChannelRequest) XXX_Unmarshal ¶
func (m *OpenPaymentChannelRequest) XXX_Unmarshal(b []byte) error
type OutgoingPaymentInfo ¶
type OutgoingPaymentInfo struct {
Payment *PaymentInfo `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
ErrorReason string `protobuf:"bytes,2,opt,name=error_reason,json=errorReason,proto3" json:"error_reason,omitempty"`
ErrorCode int64 `protobuf:"varint,3,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*OutgoingPaymentInfo) Descriptor ¶
func (*OutgoingPaymentInfo) Descriptor() ([]byte, []int)
func (*OutgoingPaymentInfo) GetErrorCode ¶
func (m *OutgoingPaymentInfo) GetErrorCode() int64
func (*OutgoingPaymentInfo) GetErrorReason ¶
func (m *OutgoingPaymentInfo) GetErrorReason() string
func (*OutgoingPaymentInfo) GetPayment ¶
func (m *OutgoingPaymentInfo) GetPayment() *PaymentInfo
func (*OutgoingPaymentInfo) ProtoMessage ¶
func (*OutgoingPaymentInfo) ProtoMessage()
func (*OutgoingPaymentInfo) Reset ¶
func (m *OutgoingPaymentInfo) Reset()
func (*OutgoingPaymentInfo) String ¶
func (m *OutgoingPaymentInfo) String() string
func (*OutgoingPaymentInfo) XXX_DiscardUnknown ¶
func (m *OutgoingPaymentInfo) XXX_DiscardUnknown()
func (*OutgoingPaymentInfo) XXX_Marshal ¶
func (m *OutgoingPaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OutgoingPaymentInfo) XXX_Merge ¶
func (m *OutgoingPaymentInfo) XXX_Merge(src proto.Message)
func (*OutgoingPaymentInfo) XXX_Size ¶
func (m *OutgoingPaymentInfo) XXX_Size() int
func (*OutgoingPaymentInfo) XXX_Unmarshal ¶
func (m *OutgoingPaymentInfo) XXX_Unmarshal(b []byte) error
type PaymentID ¶
type PaymentID struct {
PaymentId string `protobuf:"bytes,1,opt,name=payment_id,json=paymentId,proto3" json:"payment_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PaymentID) Descriptor ¶
func (*PaymentID) GetPaymentId ¶
func (*PaymentID) ProtoMessage ¶
func (*PaymentID) ProtoMessage()
func (*PaymentID) XXX_DiscardUnknown ¶
func (m *PaymentID) XXX_DiscardUnknown()
func (*PaymentID) XXX_Marshal ¶
func (*PaymentID) XXX_Unmarshal ¶
type PaymentInfo ¶
type PaymentInfo struct {
PaymentId string `protobuf:"bytes,1,opt,name=payment_id,json=paymentId,proto3" json:"payment_id,omitempty"`
Sender string `protobuf:"bytes,2,opt,name=sender,proto3" json:"sender,omitempty"`
Receiver string `protobuf:"bytes,3,opt,name=receiver,proto3" json:"receiver,omitempty"`
TokenInfo *TokenInfo `protobuf:"bytes,4,opt,name=token_info,json=tokenInfo,proto3" json:"token_info,omitempty"`
Amount string `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
PaymentJson string `protobuf:"bytes,6,opt,name=payment_json,json=paymentJson,proto3" json:"payment_json,omitempty"`
Status uint32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PaymentInfo) Descriptor ¶
func (*PaymentInfo) Descriptor() ([]byte, []int)
func (*PaymentInfo) GetAmount ¶
func (m *PaymentInfo) GetAmount() string
func (*PaymentInfo) GetPaymentId ¶
func (m *PaymentInfo) GetPaymentId() string
func (*PaymentInfo) GetPaymentJson ¶
func (m *PaymentInfo) GetPaymentJson() string
func (*PaymentInfo) GetReceiver ¶
func (m *PaymentInfo) GetReceiver() string
func (*PaymentInfo) GetSender ¶
func (m *PaymentInfo) GetSender() string
func (*PaymentInfo) GetStatus ¶
func (m *PaymentInfo) GetStatus() uint32
func (*PaymentInfo) GetTokenInfo ¶
func (m *PaymentInfo) GetTokenInfo() *TokenInfo
func (*PaymentInfo) ProtoMessage ¶
func (*PaymentInfo) ProtoMessage()
func (*PaymentInfo) Reset ¶
func (m *PaymentInfo) Reset()
func (*PaymentInfo) String ¶
func (m *PaymentInfo) String() string
func (*PaymentInfo) XXX_DiscardUnknown ¶
func (m *PaymentInfo) XXX_DiscardUnknown()
func (*PaymentInfo) XXX_Marshal ¶
func (m *PaymentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaymentInfo) XXX_Merge ¶
func (m *PaymentInfo) XXX_Merge(src proto.Message)
func (*PaymentInfo) XXX_Size ¶
func (m *PaymentInfo) XXX_Size() int
func (*PaymentInfo) XXX_Unmarshal ¶
func (m *PaymentInfo) XXX_Unmarshal(b []byte) error
type PaymentStatus ¶
type PaymentStatus struct {
Status uint32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*PaymentStatus) Descriptor ¶
func (*PaymentStatus) Descriptor() ([]byte, []int)
func (*PaymentStatus) GetStatus ¶
func (m *PaymentStatus) GetStatus() uint32
func (*PaymentStatus) ProtoMessage ¶
func (*PaymentStatus) ProtoMessage()
func (*PaymentStatus) Reset ¶
func (m *PaymentStatus) Reset()
func (*PaymentStatus) String ¶
func (m *PaymentStatus) String() string
func (*PaymentStatus) XXX_DiscardUnknown ¶
func (m *PaymentStatus) XXX_DiscardUnknown()
func (*PaymentStatus) XXX_Marshal ¶
func (m *PaymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaymentStatus) XXX_Merge ¶
func (m *PaymentStatus) XXX_Merge(src proto.Message)
func (*PaymentStatus) XXX_Size ¶
func (m *PaymentStatus) XXX_Size() int
func (*PaymentStatus) XXX_Unmarshal ¶
func (m *PaymentStatus) XXX_Unmarshal(b []byte) error
type ProcessReceivedStateRequest ¶
type ProcessReceivedStateRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Envelope []byte `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ProcessReceivedStateRequest) Descriptor ¶
func (*ProcessReceivedStateRequest) Descriptor() ([]byte, []int)
func (*ProcessReceivedStateRequest) GetEnvelope ¶
func (m *ProcessReceivedStateRequest) GetEnvelope() []byte
func (*ProcessReceivedStateRequest) GetSessionId ¶
func (m *ProcessReceivedStateRequest) GetSessionId() string
func (*ProcessReceivedStateRequest) ProtoMessage ¶
func (*ProcessReceivedStateRequest) ProtoMessage()
func (*ProcessReceivedStateRequest) Reset ¶
func (m *ProcessReceivedStateRequest) Reset()
func (*ProcessReceivedStateRequest) String ¶
func (m *ProcessReceivedStateRequest) String() string
func (*ProcessReceivedStateRequest) XXX_DiscardUnknown ¶
func (m *ProcessReceivedStateRequest) XXX_DiscardUnknown()
func (*ProcessReceivedStateRequest) XXX_Marshal ¶
func (m *ProcessReceivedStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessReceivedStateRequest) XXX_Merge ¶
func (m *ProcessReceivedStateRequest) XXX_Merge(src proto.Message)
func (*ProcessReceivedStateRequest) XXX_Size ¶
func (m *ProcessReceivedStateRequest) XXX_Size() int
func (*ProcessReceivedStateRequest) XXX_Unmarshal ¶
func (m *ProcessReceivedStateRequest) XXX_Unmarshal(b []byte) error
type ProcessReceivedStateResponse ¶
type ProcessReceivedStateResponse struct {
DecodedState []byte `protobuf:"bytes,1,opt,name=decoded_state,json=decodedState,proto3" json:"decoded_state,omitempty"`
PreparedAck []byte `protobuf:"bytes,2,opt,name=prepared_ack,json=preparedAck,proto3" json:"prepared_ack,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ProcessReceivedStateResponse) Descriptor ¶
func (*ProcessReceivedStateResponse) Descriptor() ([]byte, []int)
func (*ProcessReceivedStateResponse) GetDecodedState ¶
func (m *ProcessReceivedStateResponse) GetDecodedState() []byte
func (*ProcessReceivedStateResponse) GetPreparedAck ¶
func (m *ProcessReceivedStateResponse) GetPreparedAck() []byte
func (*ProcessReceivedStateResponse) ProtoMessage ¶
func (*ProcessReceivedStateResponse) ProtoMessage()
func (*ProcessReceivedStateResponse) Reset ¶
func (m *ProcessReceivedStateResponse) Reset()
func (*ProcessReceivedStateResponse) String ¶
func (m *ProcessReceivedStateResponse) String() string
func (*ProcessReceivedStateResponse) XXX_DiscardUnknown ¶
func (m *ProcessReceivedStateResponse) XXX_DiscardUnknown()
func (*ProcessReceivedStateResponse) XXX_Marshal ¶
func (m *ProcessReceivedStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessReceivedStateResponse) XXX_Merge ¶
func (m *ProcessReceivedStateResponse) XXX_Merge(src proto.Message)
func (*ProcessReceivedStateResponse) XXX_Size ¶
func (m *ProcessReceivedStateResponse) XXX_Size() int
func (*ProcessReceivedStateResponse) XXX_Unmarshal ¶
func (m *ProcessReceivedStateResponse) XXX_Unmarshal(b []byte) error
type SendConditionalPaymentRequest ¶
type SendConditionalPaymentRequest struct {
TokenInfo *TokenInfo `protobuf:"bytes,1,opt,name=token_info,json=tokenInfo,proto3" json:"token_info,omitempty"`
Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
Destination string `protobuf:"bytes,3,opt,name=destination,proto3" json:"destination,omitempty"`
TransferLogicType entity.TransferFunctionType `` /* 148-byte string literal not displayed */
Conditions []*Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"`
Timeout uint64 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
Note *any.Any `protobuf:"bytes,7,opt,name=note,proto3" json:"note,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SendConditionalPaymentRequest) Descriptor ¶
func (*SendConditionalPaymentRequest) Descriptor() ([]byte, []int)
func (*SendConditionalPaymentRequest) GetAmount ¶
func (m *SendConditionalPaymentRequest) GetAmount() string
func (*SendConditionalPaymentRequest) GetConditions ¶
func (m *SendConditionalPaymentRequest) GetConditions() []*Condition
func (*SendConditionalPaymentRequest) GetDestination ¶
func (m *SendConditionalPaymentRequest) GetDestination() string
func (*SendConditionalPaymentRequest) GetNote ¶
func (m *SendConditionalPaymentRequest) GetNote() *any.Any
func (*SendConditionalPaymentRequest) GetTimeout ¶
func (m *SendConditionalPaymentRequest) GetTimeout() uint64
func (*SendConditionalPaymentRequest) GetTokenInfo ¶
func (m *SendConditionalPaymentRequest) GetTokenInfo() *TokenInfo
func (*SendConditionalPaymentRequest) GetTransferLogicType ¶
func (m *SendConditionalPaymentRequest) GetTransferLogicType() entity.TransferFunctionType
func (*SendConditionalPaymentRequest) ProtoMessage ¶
func (*SendConditionalPaymentRequest) ProtoMessage()
func (*SendConditionalPaymentRequest) Reset ¶
func (m *SendConditionalPaymentRequest) Reset()
func (*SendConditionalPaymentRequest) String ¶
func (m *SendConditionalPaymentRequest) String() string
func (*SendConditionalPaymentRequest) XXX_DiscardUnknown ¶
func (m *SendConditionalPaymentRequest) XXX_DiscardUnknown()
func (*SendConditionalPaymentRequest) XXX_Marshal ¶
func (m *SendConditionalPaymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SendConditionalPaymentRequest) XXX_Merge ¶
func (m *SendConditionalPaymentRequest) XXX_Merge(src proto.Message)
func (*SendConditionalPaymentRequest) XXX_Size ¶
func (m *SendConditionalPaymentRequest) XXX_Size() int
func (*SendConditionalPaymentRequest) XXX_Unmarshal ¶
func (m *SendConditionalPaymentRequest) XXX_Unmarshal(b []byte) error
type SessionID ¶
type SessionID struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SessionID) Descriptor ¶
func (*SessionID) GetSessionId ¶
func (*SessionID) ProtoMessage ¶
func (*SessionID) ProtoMessage()
func (*SessionID) XXX_DiscardUnknown ¶
func (m *SessionID) XXX_DiscardUnknown()
func (*SessionID) XXX_Marshal ¶
func (*SessionID) XXX_Unmarshal ¶
type SetDelegationRequest ¶
type SetDelegationRequest struct {
TokenInfos []*TokenInfo `protobuf:"bytes,1,rep,name=token_infos,json=tokenInfos,proto3" json:"token_infos,omitempty"`
BlockDuration int64 `protobuf:"varint,2,opt,name=block_duration,json=blockDuration,proto3" json:"block_duration,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SetDelegationRequest) Descriptor ¶
func (*SetDelegationRequest) Descriptor() ([]byte, []int)
func (*SetDelegationRequest) GetBlockDuration ¶
func (m *SetDelegationRequest) GetBlockDuration() int64
func (*SetDelegationRequest) GetTokenInfos ¶
func (m *SetDelegationRequest) GetTokenInfos() []*TokenInfo
func (*SetDelegationRequest) ProtoMessage ¶
func (*SetDelegationRequest) ProtoMessage()
func (*SetDelegationRequest) Reset ¶
func (m *SetDelegationRequest) Reset()
func (*SetDelegationRequest) String ¶
func (m *SetDelegationRequest) String() string
func (*SetDelegationRequest) XXX_DiscardUnknown ¶
func (m *SetDelegationRequest) XXX_DiscardUnknown()
func (*SetDelegationRequest) XXX_Marshal ¶
func (m *SetDelegationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetDelegationRequest) XXX_Merge ¶
func (m *SetDelegationRequest) XXX_Merge(src proto.Message)
func (*SetDelegationRequest) XXX_Size ¶
func (m *SetDelegationRequest) XXX_Size() int
func (*SetDelegationRequest) XXX_Unmarshal ¶
func (m *SetDelegationRequest) XXX_Unmarshal(b []byte) error
type SetMsgDropReq ¶
type SetMsgDropReq struct {
DropRecv bool `protobuf:"varint,1,opt,name=drop_recv,json=dropRecv,proto3" json:"drop_recv,omitempty"`
DropSend bool `protobuf:"varint,2,opt,name=drop_send,json=dropSend,proto3" json:"drop_send,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SetMsgDropReq) Descriptor ¶
func (*SetMsgDropReq) Descriptor() ([]byte, []int)
func (*SetMsgDropReq) GetDropRecv ¶
func (m *SetMsgDropReq) GetDropRecv() bool
func (*SetMsgDropReq) GetDropSend ¶
func (m *SetMsgDropReq) GetDropSend() bool
func (*SetMsgDropReq) ProtoMessage ¶
func (*SetMsgDropReq) ProtoMessage()
func (*SetMsgDropReq) Reset ¶
func (m *SetMsgDropReq) Reset()
func (*SetMsgDropReq) String ¶
func (m *SetMsgDropReq) String() string
func (*SetMsgDropReq) XXX_DiscardUnknown ¶
func (m *SetMsgDropReq) XXX_DiscardUnknown()
func (*SetMsgDropReq) XXX_Marshal ¶
func (m *SetMsgDropReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetMsgDropReq) XXX_Merge ¶
func (m *SetMsgDropReq) XXX_Merge(src proto.Message)
func (*SetMsgDropReq) XXX_Size ¶
func (m *SetMsgDropReq) XXX_Size() int
func (*SetMsgDropReq) XXX_Unmarshal ¶
func (m *SetMsgDropReq) XXX_Unmarshal(b []byte) error
type SettleAppSessionByInvalidityRequest ¶
type SettleAppSessionByInvalidityRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
OracleProof []byte `protobuf:"bytes,2,opt,name=oracle_proof,json=oracleProof,proto3" json:"oracle_proof,omitempty"`
CosignedStateProof []byte `protobuf:"bytes,3,opt,name=cosigned_state_proof,json=cosignedStateProof,proto3" json:"cosigned_state_proof,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SettleAppSessionByInvalidityRequest) Descriptor ¶
func (*SettleAppSessionByInvalidityRequest) Descriptor() ([]byte, []int)
func (*SettleAppSessionByInvalidityRequest) GetCosignedStateProof ¶
func (m *SettleAppSessionByInvalidityRequest) GetCosignedStateProof() []byte
func (*SettleAppSessionByInvalidityRequest) GetOracleProof ¶
func (m *SettleAppSessionByInvalidityRequest) GetOracleProof() []byte
func (*SettleAppSessionByInvalidityRequest) GetSessionId ¶
func (m *SettleAppSessionByInvalidityRequest) GetSessionId() string
func (*SettleAppSessionByInvalidityRequest) ProtoMessage ¶
func (*SettleAppSessionByInvalidityRequest) ProtoMessage()
func (*SettleAppSessionByInvalidityRequest) Reset ¶
func (m *SettleAppSessionByInvalidityRequest) Reset()
func (*SettleAppSessionByInvalidityRequest) String ¶
func (m *SettleAppSessionByInvalidityRequest) String() string
func (*SettleAppSessionByInvalidityRequest) XXX_DiscardUnknown ¶
func (m *SettleAppSessionByInvalidityRequest) XXX_DiscardUnknown()
func (*SettleAppSessionByInvalidityRequest) XXX_Marshal ¶
func (m *SettleAppSessionByInvalidityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleAppSessionByInvalidityRequest) XXX_Merge ¶
func (m *SettleAppSessionByInvalidityRequest) XXX_Merge(src proto.Message)
func (*SettleAppSessionByInvalidityRequest) XXX_Size ¶
func (m *SettleAppSessionByInvalidityRequest) XXX_Size() int
func (*SettleAppSessionByInvalidityRequest) XXX_Unmarshal ¶
func (m *SettleAppSessionByInvalidityRequest) XXX_Unmarshal(b []byte) error
type SettleAppSessionByTimeoutRequest ¶
type SettleAppSessionByTimeoutRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
OracleProof []byte `protobuf:"bytes,2,opt,name=oracle_proof,json=oracleProof,proto3" json:"oracle_proof,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SettleAppSessionByTimeoutRequest) Descriptor ¶
func (*SettleAppSessionByTimeoutRequest) Descriptor() ([]byte, []int)
func (*SettleAppSessionByTimeoutRequest) GetOracleProof ¶
func (m *SettleAppSessionByTimeoutRequest) GetOracleProof() []byte
func (*SettleAppSessionByTimeoutRequest) GetSessionId ¶
func (m *SettleAppSessionByTimeoutRequest) GetSessionId() string
func (*SettleAppSessionByTimeoutRequest) ProtoMessage ¶
func (*SettleAppSessionByTimeoutRequest) ProtoMessage()
func (*SettleAppSessionByTimeoutRequest) Reset ¶
func (m *SettleAppSessionByTimeoutRequest) Reset()
func (*SettleAppSessionByTimeoutRequest) String ¶
func (m *SettleAppSessionByTimeoutRequest) String() string
func (*SettleAppSessionByTimeoutRequest) XXX_DiscardUnknown ¶
func (m *SettleAppSessionByTimeoutRequest) XXX_DiscardUnknown()
func (*SettleAppSessionByTimeoutRequest) XXX_Marshal ¶
func (m *SettleAppSessionByTimeoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleAppSessionByTimeoutRequest) XXX_Merge ¶
func (m *SettleAppSessionByTimeoutRequest) XXX_Merge(src proto.Message)
func (*SettleAppSessionByTimeoutRequest) XXX_Size ¶
func (m *SettleAppSessionByTimeoutRequest) XXX_Size() int
func (*SettleAppSessionByTimeoutRequest) XXX_Unmarshal ¶
func (m *SettleAppSessionByTimeoutRequest) XXX_Unmarshal(b []byte) error
type SettleAppSessionRequest ¶
type SettleAppSessionRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
StateProof []byte `protobuf:"bytes,2,opt,name=state_proof,json=stateProof,proto3" json:"state_proof,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SettleAppSessionRequest) Descriptor ¶
func (*SettleAppSessionRequest) Descriptor() ([]byte, []int)
func (*SettleAppSessionRequest) GetSessionId ¶
func (m *SettleAppSessionRequest) GetSessionId() string
func (*SettleAppSessionRequest) GetStateProof ¶
func (m *SettleAppSessionRequest) GetStateProof() []byte
func (*SettleAppSessionRequest) ProtoMessage ¶
func (*SettleAppSessionRequest) ProtoMessage()
func (*SettleAppSessionRequest) Reset ¶
func (m *SettleAppSessionRequest) Reset()
func (*SettleAppSessionRequest) String ¶
func (m *SettleAppSessionRequest) String() string
func (*SettleAppSessionRequest) XXX_DiscardUnknown ¶
func (m *SettleAppSessionRequest) XXX_DiscardUnknown()
func (*SettleAppSessionRequest) XXX_Marshal ¶
func (m *SettleAppSessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SettleAppSessionRequest) XXX_Merge ¶
func (m *SettleAppSessionRequest) XXX_Merge(src proto.Message)
func (*SettleAppSessionRequest) XXX_Size ¶
func (m *SettleAppSessionRequest) XXX_Size() int
func (*SettleAppSessionRequest) XXX_Unmarshal ¶
func (m *SettleAppSessionRequest) XXX_Unmarshal(b []byte) error
type SignOutgoingStateRequest ¶
type SignOutgoingStateRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
State []byte `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SignOutgoingStateRequest) Descriptor ¶
func (*SignOutgoingStateRequest) Descriptor() ([]byte, []int)
func (*SignOutgoingStateRequest) GetSessionId ¶
func (m *SignOutgoingStateRequest) GetSessionId() string
func (*SignOutgoingStateRequest) GetState ¶
func (m *SignOutgoingStateRequest) GetState() []byte
func (*SignOutgoingStateRequest) ProtoMessage ¶
func (*SignOutgoingStateRequest) ProtoMessage()
func (*SignOutgoingStateRequest) Reset ¶
func (m *SignOutgoingStateRequest) Reset()
func (*SignOutgoingStateRequest) String ¶
func (m *SignOutgoingStateRequest) String() string
func (*SignOutgoingStateRequest) XXX_DiscardUnknown ¶
func (m *SignOutgoingStateRequest) XXX_DiscardUnknown()
func (*SignOutgoingStateRequest) XXX_Marshal ¶
func (m *SignOutgoingStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignOutgoingStateRequest) XXX_Merge ¶
func (m *SignOutgoingStateRequest) XXX_Merge(src proto.Message)
func (*SignOutgoingStateRequest) XXX_Size ¶
func (m *SignOutgoingStateRequest) XXX_Size() int
func (*SignOutgoingStateRequest) XXX_Unmarshal ¶
func (m *SignOutgoingStateRequest) XXX_Unmarshal(b []byte) error
type Signature ¶
type Signature struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*Signature) Descriptor ¶
func (*Signature) GetSignature ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) XXX_DiscardUnknown ¶
func (m *Signature) XXX_DiscardUnknown()
func (*Signature) XXX_Marshal ¶
func (*Signature) XXX_Unmarshal ¶
type SignedState ¶
type SignedState struct {
SignedState []byte `protobuf:"bytes,1,opt,name=signed_state,json=signedState,proto3" json:"signed_state,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*SignedState) Descriptor ¶
func (*SignedState) Descriptor() ([]byte, []int)
func (*SignedState) GetSignedState ¶
func (m *SignedState) GetSignedState() []byte
func (*SignedState) ProtoMessage ¶
func (*SignedState) ProtoMessage()
func (*SignedState) Reset ¶
func (m *SignedState) Reset()
func (*SignedState) String ¶
func (m *SignedState) String() string
func (*SignedState) XXX_DiscardUnknown ¶
func (m *SignedState) XXX_DiscardUnknown()
func (*SignedState) XXX_Marshal ¶
func (m *SignedState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedState) XXX_Merge ¶
func (m *SignedState) XXX_Merge(src proto.Message)
func (*SignedState) XXX_Size ¶
func (m *SignedState) XXX_Size() int
func (*SignedState) XXX_Unmarshal ¶
func (m *SignedState) XXX_Unmarshal(b []byte) error
type TokenInfo ¶
type TokenInfo struct {
TokenType entity.TokenType `protobuf:"varint,1,opt,name=token_type,json=tokenType,proto3,enum=entity.TokenType" json:"token_type,omitempty"`
TokenAddress string `protobuf:"bytes,2,opt,name=token_address,json=tokenAddress,proto3" json:"token_address,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*TokenInfo) Descriptor ¶
func (*TokenInfo) GetTokenAddress ¶
func (*TokenInfo) GetTokenType ¶
func (*TokenInfo) ProtoMessage ¶
func (*TokenInfo) ProtoMessage()
func (*TokenInfo) XXX_DiscardUnknown ¶
func (m *TokenInfo) XXX_DiscardUnknown()
func (*TokenInfo) XXX_Marshal ¶
func (*TokenInfo) XXX_Unmarshal ¶
type ValidateAckRequest ¶
type ValidateAckRequest struct {
SessionId string `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Envelope []byte `protobuf:"bytes,2,opt,name=envelope,proto3" json:"envelope,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (*ValidateAckRequest) Descriptor ¶
func (*ValidateAckRequest) Descriptor() ([]byte, []int)
func (*ValidateAckRequest) GetEnvelope ¶
func (m *ValidateAckRequest) GetEnvelope() []byte
func (*ValidateAckRequest) GetSessionId ¶
func (m *ValidateAckRequest) GetSessionId() string
func (*ValidateAckRequest) ProtoMessage ¶
func (*ValidateAckRequest) ProtoMessage()
func (*ValidateAckRequest) Reset ¶
func (m *ValidateAckRequest) Reset()
func (*ValidateAckRequest) String ¶
func (m *ValidateAckRequest) String() string
func (*ValidateAckRequest) XXX_DiscardUnknown ¶
func (m *ValidateAckRequest) XXX_DiscardUnknown()
func (*ValidateAckRequest) XXX_Marshal ¶
func (m *ValidateAckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidateAckRequest) XXX_Merge ¶
func (m *ValidateAckRequest) XXX_Merge(src proto.Message)
func (*ValidateAckRequest) XXX_Size ¶
func (m *ValidateAckRequest) XXX_Size() int
func (*ValidateAckRequest) XXX_Unmarshal ¶
func (m *ValidateAckRequest) XXX_Unmarshal(b []byte) error
type WebApiClient ¶
type WebApiClient interface {
GetPayHistory(ctx context.Context, in *GetPayHistoryRequest, opts ...grpc.CallOption) (*GetPayHistoryResponse, error)
SetDelegation(ctx context.Context, in *SetDelegationRequest, opts ...grpc.CallOption) (*empty.Empty, error)
OpenPaymentChannel(ctx context.Context, in *OpenPaymentChannelRequest, opts ...grpc.CallOption) (*ChannelID, error)
Deposit(ctx context.Context, in *DepositOrWithdrawRequest, opts ...grpc.CallOption) (*DepositOrWithdrawJob, error)
MonitorDepositJob(ctx context.Context, in *DepositOrWithdrawJob, opts ...grpc.CallOption) (*DepositOrWithdrawJob, error)
CooperativeWithdraw(ctx context.Context, in *DepositOrWithdrawRequest, opts ...grpc.CallOption) (*DepositOrWithdrawJob, error)
MonitorCooperativeWithdrawJob(ctx context.Context, in *DepositOrWithdrawJob, opts ...grpc.CallOption) (*DepositOrWithdrawJob, error)
GetBalance(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*GetBalanceResponse, error)
GetPeerFreeBalance(ctx context.Context, in *GetPeerFreeBalanceRequest, opts ...grpc.CallOption) (*FreeBalance, error)
SendConditionalPayment(ctx context.Context, in *SendConditionalPaymentRequest, opts ...grpc.CallOption) (*PaymentID, error)
SubscribeIncomingPayments(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (WebApi_SubscribeIncomingPaymentsClient, error)
// TODO(mzhou): Refine the outgoing payment API.
SubscribeOutgoingPayments(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (WebApi_SubscribeOutgoingPaymentsClient, error)
GetIncomingPaymentStatus(ctx context.Context, in *PaymentID, opts ...grpc.CallOption) (*PaymentStatus, error)
GetOutgoingPaymentStatus(ctx context.Context, in *PaymentID, opts ...grpc.CallOption) (*PaymentStatus, error)
ConfirmOutgoingPayment(ctx context.Context, in *PaymentID, opts ...grpc.CallOption) (*empty.Empty, error)
RejectIncomingPayment(ctx context.Context, in *PaymentID, opts ...grpc.CallOption) (*empty.Empty, error)
SettleOnChainResolvedIncomingPayment(ctx context.Context, in *PaymentID, opts ...grpc.CallOption) (*empty.Empty, error)
ResolveIncomingPaymentOnChain(ctx context.Context, in *PaymentID, opts ...grpc.CallOption) (*empty.Empty, error)
GetOnChainPaymentInfo(ctx context.Context, in *PaymentID, opts ...grpc.CallOption) (*OnChainPaymentInfo, error)
// TODO(mzhou): Consider removing the following two APIs
ConfirmOnChainResolvedPayments(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*empty.Empty, error)
SettleExpiredPayments(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*empty.Empty, error)
IntendWithdraw(ctx context.Context, in *DepositOrWithdrawRequest, opts ...grpc.CallOption) (*empty.Empty, error)
ConfirmWithdraw(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*empty.Empty, error)
IntendSettlePaymentChannel(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*empty.Empty, error)
ConfirmSettlePaymentChannel(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*empty.Empty, error)
GetSettleFinalizedTimeForPaymentChannel(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*BlockNumber, error)
SyncOnChainPaymentChannelStatus(ctx context.Context, in *TokenInfo, opts ...grpc.CallOption) (*empty.Empty, error)
SyncStateWithPeer(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*empty.Empty, error)
CreateAppSessionOnVirtualContract(ctx context.Context, in *CreateAppSessionOnVirtualContractRequest, opts ...grpc.CallOption) (*SessionID, error)
CreateAppSessionOnDeployedContract(ctx context.Context, in *CreateAppSessionOnDeployedContractRequest, opts ...grpc.CallOption) (*SessionID, error)
SubscribeAppSessionDispute(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (WebApi_SubscribeAppSessionDisputeClient, error)
SignOutgoingState(ctx context.Context, in *SignOutgoingStateRequest, opts ...grpc.CallOption) (*SignedState, error)
ValidateAck(ctx context.Context, in *ValidateAckRequest, opts ...grpc.CallOption) (*BoolValue, error)
SignData(ctx context.Context, in *Data, opts ...grpc.CallOption) (*Signature, error)
ProcessReceivedState(ctx context.Context, in *ProcessReceivedStateRequest, opts ...grpc.CallOption) (*ProcessReceivedStateResponse, error)
SettleAppSession(ctx context.Context, in *SettleAppSessionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
SettleAppSessionBySigTimeout(ctx context.Context, in *SettleAppSessionByTimeoutRequest, opts ...grpc.CallOption) (*empty.Empty, error)
SettleAppSessionByMoveTimeout(ctx context.Context, in *SettleAppSessionByTimeoutRequest, opts ...grpc.CallOption) (*empty.Empty, error)
SettleAppSessionByInvalidTurn(ctx context.Context, in *SettleAppSessionByInvalidityRequest, opts ...grpc.CallOption) (*empty.Empty, error)
SettleAppSessionByInvalidState(ctx context.Context, in *SettleAppSessionByInvalidityRequest, opts ...grpc.CallOption) (*empty.Empty, error)
DeleteAppSession(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*empty.Empty, error)
GetDeployedAddressForAppSession(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*Address, error)
GetBooleanOutcomeForAppSession(ctx context.Context, in *GetBooleanOutcomeForAppSessionRequest, opts ...grpc.CallOption) (*BooleanOutcome, error)
ApplyActionForAppSession(ctx context.Context, in *ApplyActionForAppSessionRequest, opts ...grpc.CallOption) (*empty.Empty, error)
FinalizeOnActionTimeoutForAppSession(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*empty.Empty, error)
GetSettleFinalizedTimeForAppSession(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*BlockNumber, error)
GetActionDeadlineForAppSession(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*BlockNumber, error)
GetStatusForAppSession(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*AppSessionStatus, error)
GetStateForAppSession(ctx context.Context, in *GetStateForAppSessionRequest, opts ...grpc.CallOption) (*AppSessionState, error)
GetSeqNumForAppSession(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*AppSessionSeqNum, error)
GetBlockNumber(ctx context.Context, in *empty.Empty, opts ...grpc.CallOption) (*BlockNumber, error)
SetMsgDropper(ctx context.Context, in *SetMsgDropReq, opts ...grpc.CallOption) (*empty.Empty, error)
}
WebApiClient is the client API for WebApi service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewWebApiClient ¶
func NewWebApiClient(cc *grpc.ClientConn) WebApiClient
type WebApiServer ¶
type WebApiServer interface {
GetPayHistory(context.Context, *GetPayHistoryRequest) (*GetPayHistoryResponse, error)
SetDelegation(context.Context, *SetDelegationRequest) (*empty.Empty, error)
OpenPaymentChannel(context.Context, *OpenPaymentChannelRequest) (*ChannelID, error)
Deposit(context.Context, *DepositOrWithdrawRequest) (*DepositOrWithdrawJob, error)
MonitorDepositJob(context.Context, *DepositOrWithdrawJob) (*DepositOrWithdrawJob, error)
CooperativeWithdraw(context.Context, *DepositOrWithdrawRequest) (*DepositOrWithdrawJob, error)
MonitorCooperativeWithdrawJob(context.Context, *DepositOrWithdrawJob) (*DepositOrWithdrawJob, error)
GetBalance(context.Context, *TokenInfo) (*GetBalanceResponse, error)
GetPeerFreeBalance(context.Context, *GetPeerFreeBalanceRequest) (*FreeBalance, error)
SendConditionalPayment(context.Context, *SendConditionalPaymentRequest) (*PaymentID, error)
SubscribeIncomingPayments(*empty.Empty, WebApi_SubscribeIncomingPaymentsServer) error
// TODO(mzhou): Refine the outgoing payment API.
SubscribeOutgoingPayments(*empty.Empty, WebApi_SubscribeOutgoingPaymentsServer) error
GetIncomingPaymentStatus(context.Context, *PaymentID) (*PaymentStatus, error)
GetOutgoingPaymentStatus(context.Context, *PaymentID) (*PaymentStatus, error)
ConfirmOutgoingPayment(context.Context, *PaymentID) (*empty.Empty, error)
RejectIncomingPayment(context.Context, *PaymentID) (*empty.Empty, error)
SettleOnChainResolvedIncomingPayment(context.Context, *PaymentID) (*empty.Empty, error)
ResolveIncomingPaymentOnChain(context.Context, *PaymentID) (*empty.Empty, error)
GetOnChainPaymentInfo(context.Context, *PaymentID) (*OnChainPaymentInfo, error)
// TODO(mzhou): Consider removing the following two APIs
ConfirmOnChainResolvedPayments(context.Context, *TokenInfo) (*empty.Empty, error)
SettleExpiredPayments(context.Context, *TokenInfo) (*empty.Empty, error)
IntendWithdraw(context.Context, *DepositOrWithdrawRequest) (*empty.Empty, error)
ConfirmWithdraw(context.Context, *TokenInfo) (*empty.Empty, error)
IntendSettlePaymentChannel(context.Context, *TokenInfo) (*empty.Empty, error)
ConfirmSettlePaymentChannel(context.Context, *TokenInfo) (*empty.Empty, error)
GetSettleFinalizedTimeForPaymentChannel(context.Context, *TokenInfo) (*BlockNumber, error)
SyncOnChainPaymentChannelStatus(context.Context, *TokenInfo) (*empty.Empty, error)
SyncStateWithPeer(context.Context, *empty.Empty) (*empty.Empty, error)
CreateAppSessionOnVirtualContract(context.Context, *CreateAppSessionOnVirtualContractRequest) (*SessionID, error)
CreateAppSessionOnDeployedContract(context.Context, *CreateAppSessionOnDeployedContractRequest) (*SessionID, error)
SubscribeAppSessionDispute(*SessionID, WebApi_SubscribeAppSessionDisputeServer) error
SignOutgoingState(context.Context, *SignOutgoingStateRequest) (*SignedState, error)
ValidateAck(context.Context, *ValidateAckRequest) (*BoolValue, error)
SignData(context.Context, *Data) (*Signature, error)
ProcessReceivedState(context.Context, *ProcessReceivedStateRequest) (*ProcessReceivedStateResponse, error)
SettleAppSession(context.Context, *SettleAppSessionRequest) (*empty.Empty, error)
SettleAppSessionBySigTimeout(context.Context, *SettleAppSessionByTimeoutRequest) (*empty.Empty, error)
SettleAppSessionByMoveTimeout(context.Context, *SettleAppSessionByTimeoutRequest) (*empty.Empty, error)
SettleAppSessionByInvalidTurn(context.Context, *SettleAppSessionByInvalidityRequest) (*empty.Empty, error)
SettleAppSessionByInvalidState(context.Context, *SettleAppSessionByInvalidityRequest) (*empty.Empty, error)
DeleteAppSession(context.Context, *SessionID) (*empty.Empty, error)
GetDeployedAddressForAppSession(context.Context, *SessionID) (*Address, error)
GetBooleanOutcomeForAppSession(context.Context, *GetBooleanOutcomeForAppSessionRequest) (*BooleanOutcome, error)
ApplyActionForAppSession(context.Context, *ApplyActionForAppSessionRequest) (*empty.Empty, error)
FinalizeOnActionTimeoutForAppSession(context.Context, *SessionID) (*empty.Empty, error)
GetSettleFinalizedTimeForAppSession(context.Context, *SessionID) (*BlockNumber, error)
GetActionDeadlineForAppSession(context.Context, *SessionID) (*BlockNumber, error)
GetStatusForAppSession(context.Context, *SessionID) (*AppSessionStatus, error)
GetStateForAppSession(context.Context, *GetStateForAppSessionRequest) (*AppSessionState, error)
GetSeqNumForAppSession(context.Context, *SessionID) (*AppSessionSeqNum, error)
GetBlockNumber(context.Context, *empty.Empty) (*BlockNumber, error)
SetMsgDropper(context.Context, *SetMsgDropReq) (*empty.Empty, error)
}
WebApiServer is the server API for WebApi service.
type WebApi_SubscribeAppSessionDisputeClient ¶
type WebApi_SubscribeAppSessionDisputeClient interface {
Recv() (*DisputeInfo, error)
grpc.ClientStream
}
type WebApi_SubscribeAppSessionDisputeServer ¶
type WebApi_SubscribeAppSessionDisputeServer interface {
Send(*DisputeInfo) error
grpc.ServerStream
}
type WebApi_SubscribeIncomingPaymentsClient ¶
type WebApi_SubscribeIncomingPaymentsClient interface {
Recv() (*PaymentInfo, error)
grpc.ClientStream
}
type WebApi_SubscribeIncomingPaymentsServer ¶
type WebApi_SubscribeIncomingPaymentsServer interface {
Send(*PaymentInfo) error
grpc.ServerStream
}
type WebApi_SubscribeOutgoingPaymentsClient ¶
type WebApi_SubscribeOutgoingPaymentsClient interface {
Recv() (*OutgoingPaymentInfo, error)
grpc.ClientStream
}
type WebApi_SubscribeOutgoingPaymentsServer ¶
type WebApi_SubscribeOutgoingPaymentsServer interface {
Send(*OutgoingPaymentInfo) error
grpc.ServerStream
}
Click to show internal directories.
Click to hide internal directories.