Documentation ¶
Index ¶
- Variables
- func RegisterEscrowServiceServer(s *grpc.Server, srv EscrowServiceServer)
- type CancelContractRequest
- func (*CancelContractRequest) Descriptor() ([]byte, []int)
- func (m *CancelContractRequest) GetAuthAddress() []byte
- func (m *CancelContractRequest) GetAuthSignedTime() time.Time
- func (m *CancelContractRequest) GetContractId() string
- func (m *CancelContractRequest) Marshal() (dAtA []byte, err error)
- func (m *CancelContractRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *CancelContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CancelContractRequest) ProtoMessage()
- func (m *CancelContractRequest) Reset()
- func (m *CancelContractRequest) Size() (n int)
- func (m *CancelContractRequest) String() string
- func (m *CancelContractRequest) Unmarshal(dAtA []byte) error
- func (m *CancelContractRequest) XXX_DiscardUnknown()
- func (m *CancelContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelContractRequest) XXX_Merge(src proto.Message)
- func (*CancelContractRequest) XXX_MessageName() string
- func (m *CancelContractRequest) XXX_Size() int
- func (m *CancelContractRequest) XXX_Unmarshal(b []byte) error
- type CancelContractResult
- func (*CancelContractResult) Descriptor() ([]byte, []int)
- func (m *CancelContractResult) GetCanceled() bool
- func (m *CancelContractResult) GetContractId() string
- func (m *CancelContractResult) GetEscrowAddress() []byte
- func (m *CancelContractResult) GetEscrowId() int64
- func (m *CancelContractResult) GetEscrowSignedTime() time.Time
- func (m *CancelContractResult) Marshal() (dAtA []byte, err error)
- func (m *CancelContractResult) MarshalTo(dAtA []byte) (int, error)
- func (m *CancelContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CancelContractResult) ProtoMessage()
- func (m *CancelContractResult) Reset()
- func (m *CancelContractResult) Size() (n int)
- func (m *CancelContractResult) String() string
- func (m *CancelContractResult) Unmarshal(dAtA []byte) error
- func (m *CancelContractResult) XXX_DiscardUnknown()
- func (m *CancelContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CancelContractResult) XXX_Merge(src proto.Message)
- func (*CancelContractResult) XXX_MessageName() string
- func (m *CancelContractResult) XXX_Size() int
- func (m *CancelContractResult) XXX_Unmarshal(b []byte) error
- type ContractID
- func (*ContractID) Descriptor() ([]byte, []int)
- func (m *ContractID) GetAddress() []byte
- func (m *ContractID) GetContractId() string
- func (m *ContractID) Marshal() (dAtA []byte, err error)
- func (m *ContractID) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractID) ProtoMessage()
- func (m *ContractID) Reset()
- func (m *ContractID) Size() (n int)
- func (m *ContractID) String() string
- func (m *ContractID) Unmarshal(dAtA []byte) error
- func (m *ContractID) XXX_DiscardUnknown()
- func (m *ContractID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractID) XXX_Merge(src proto.Message)
- func (*ContractID) XXX_MessageName() string
- func (m *ContractID) XXX_Size() int
- func (m *ContractID) XXX_Unmarshal(b []byte) error
- type Escrow
- func (*Escrow) Descriptor() ([]byte, []int)
- func (m *Escrow) GetAmount() int64
- func (m *Escrow) GetCollateralAmount() int64
- func (m *Escrow) GetContractId() string
- func (m *Escrow) GetEscrowId() int64
- func (m *Escrow) GetFromAddress() []byte
- func (m *Escrow) GetToAddress() []byte
- func (m *Escrow) Marshal() (dAtA []byte, err error)
- func (m *Escrow) MarshalTo(dAtA []byte) (int, error)
- func (m *Escrow) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Escrow) ProtoMessage()
- func (m *Escrow) Reset()
- func (m *Escrow) Size() (n int)
- func (m *Escrow) String() string
- func (m *Escrow) Unmarshal(dAtA []byte) error
- func (m *Escrow) XXX_DiscardUnknown()
- func (m *Escrow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Escrow) XXX_Merge(src proto.Message)
- func (*Escrow) XXX_MessageName() string
- func (m *Escrow) XXX_Size() int
- func (m *Escrow) XXX_Unmarshal(b []byte) error
- type EscrowContract
- func (*EscrowContract) Descriptor() ([]byte, []int)
- func (m *EscrowContract) GetAmount() int64
- func (m *EscrowContract) GetAuthAddress() []byte
- func (m *EscrowContract) GetBuyerAddress() []byte
- func (m *EscrowContract) GetCollateralAmount() int64
- func (m *EscrowContract) GetContractId() string
- func (m *EscrowContract) GetNumPayouts() int32
- func (m *EscrowContract) GetPayoutSchedule() Schedule
- func (m *EscrowContract) GetReference() []byte
- func (m *EscrowContract) GetSellerAddress() []byte
- func (m *EscrowContract) GetTokenType() TokenType
- func (m *EscrowContract) GetWithholdAmount() int64
- func (m *EscrowContract) Marshal() (dAtA []byte, err error)
- func (m *EscrowContract) MarshalTo(dAtA []byte) (int, error)
- func (m *EscrowContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EscrowContract) ProtoMessage()
- func (m *EscrowContract) Reset()
- func (m *EscrowContract) Size() (n int)
- func (m *EscrowContract) String() string
- func (m *EscrowContract) Unmarshal(dAtA []byte) error
- func (m *EscrowContract) XXX_DiscardUnknown()
- func (m *EscrowContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EscrowContract) XXX_Merge(src proto.Message)
- func (*EscrowContract) XXX_MessageName() string
- func (m *EscrowContract) XXX_Size() int
- func (m *EscrowContract) XXX_Unmarshal(b []byte) error
- type EscrowContractRequest
- func (*EscrowContractRequest) Descriptor() ([]byte, []int)
- func (m *EscrowContractRequest) GetBuyerChannel() *ledger.SignedChannelCommit
- func (m *EscrowContractRequest) GetContract() []*SignedEscrowContract
- func (m *EscrowContractRequest) Marshal() (dAtA []byte, err error)
- func (m *EscrowContractRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *EscrowContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EscrowContractRequest) ProtoMessage()
- func (m *EscrowContractRequest) Reset()
- func (m *EscrowContractRequest) Size() (n int)
- func (m *EscrowContractRequest) String() string
- func (m *EscrowContractRequest) Unmarshal(dAtA []byte) error
- func (m *EscrowContractRequest) XXX_DiscardUnknown()
- func (m *EscrowContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EscrowContractRequest) XXX_Merge(src proto.Message)
- func (*EscrowContractRequest) XXX_MessageName() string
- func (m *EscrowContractRequest) XXX_Size() int
- func (m *EscrowContractRequest) XXX_Unmarshal(b []byte) error
- type EscrowServiceClient
- type EscrowServiceServer
- type EscrowStatus
- type PayinRequest
- func (*PayinRequest) Descriptor() ([]byte, []int)
- func (m *PayinRequest) GetBuyerAddress() []byte
- func (m *PayinRequest) GetBuyerChannelState() *ledger.SignedChannelState
- func (m *PayinRequest) GetPayinId() string
- func (m *PayinRequest) Marshal() (dAtA []byte, err error)
- func (m *PayinRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PayinRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayinRequest) ProtoMessage()
- func (m *PayinRequest) Reset()
- func (m *PayinRequest) Size() (n int)
- func (m *PayinRequest) String() string
- func (m *PayinRequest) Unmarshal(dAtA []byte) error
- func (m *PayinRequest) XXX_DiscardUnknown()
- func (m *PayinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayinRequest) XXX_Merge(src proto.Message)
- func (*PayinRequest) XXX_MessageName() string
- func (m *PayinRequest) XXX_Size() int
- func (m *PayinRequest) XXX_Unmarshal(b []byte) error
- type PayinResult
- func (*PayinResult) Descriptor() ([]byte, []int)
- func (m *PayinResult) GetAmount() int64
- func (m *PayinResult) GetChannelId() int64
- func (m *PayinResult) GetEscrowAddress() []byte
- func (m *PayinResult) GetEscrowSignedTime() time.Time
- func (m *PayinResult) GetPayinId() string
- func (m *PayinResult) Marshal() (dAtA []byte, err error)
- func (m *PayinResult) MarshalTo(dAtA []byte) (int, error)
- func (m *PayinResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayinResult) ProtoMessage()
- func (m *PayinResult) Reset()
- func (m *PayinResult) Size() (n int)
- func (m *PayinResult) String() string
- func (m *PayinResult) Unmarshal(dAtA []byte) error
- func (m *PayinResult) XXX_DiscardUnknown()
- func (m *PayinResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayinResult) XXX_Merge(src proto.Message)
- func (*PayinResult) XXX_MessageName() string
- func (m *PayinResult) XXX_Size() int
- func (m *PayinResult) XXX_Unmarshal(b []byte) error
- type PayinStatus
- func (*PayinStatus) Descriptor() ([]byte, []int)
- func (m *PayinStatus) GetChannelId() int64
- func (m *PayinStatus) GetEscrowAddress() []byte
- func (m *PayinStatus) GetEscrowSignedTime() time.Time
- func (m *PayinStatus) GetPaid() bool
- func (m *PayinStatus) Marshal() (dAtA []byte, err error)
- func (m *PayinStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PayinStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayinStatus) ProtoMessage()
- func (m *PayinStatus) Reset()
- func (m *PayinStatus) Size() (n int)
- func (m *PayinStatus) String() string
- func (m *PayinStatus) Unmarshal(dAtA []byte) error
- func (m *PayinStatus) XXX_DiscardUnknown()
- func (m *PayinStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayinStatus) XXX_Merge(src proto.Message)
- func (*PayinStatus) XXX_MessageName() string
- func (m *PayinStatus) XXX_Size() int
- func (m *PayinStatus) XXX_Unmarshal(b []byte) error
- type Payment
- func (*Payment) Descriptor() ([]byte, []int)
- func (m *Payment) GetAmount() int64
- func (m *Payment) GetChannelState() *ledger.SignedChannelState
- func (m *Payment) GetContractId() string
- func (m *Payment) GetEscrowId() int64
- func (m *Payment) GetFromAddress() []byte
- func (m *Payment) GetIndex() int32
- func (m *Payment) GetToAddress() []byte
- func (m *Payment) Marshal() (dAtA []byte, err error)
- func (m *Payment) MarshalTo(dAtA []byte) (int, error)
- func (m *Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Payment) ProtoMessage()
- func (m *Payment) Reset()
- func (m *Payment) Size() (n int)
- func (m *Payment) String() string
- func (m *Payment) Unmarshal(dAtA []byte) error
- func (m *Payment) XXX_DiscardUnknown()
- func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Payment) XXX_Merge(src proto.Message)
- func (*Payment) XXX_MessageName() string
- func (m *Payment) XXX_Size() int
- func (m *Payment) XXX_Unmarshal(b []byte) error
- type PaymentResult
- func (*PaymentResult) Descriptor() ([]byte, []int)
- func (m *PaymentResult) GetEscrowAddress() []byte
- func (m *PaymentResult) GetEscrowSignedTime() time.Time
- func (m *PaymentResult) GetPayment() []*Payment
- func (m *PaymentResult) Marshal() (dAtA []byte, err error)
- func (m *PaymentResult) MarshalTo(dAtA []byte) (int, error)
- func (m *PaymentResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PaymentResult) ProtoMessage()
- func (m *PaymentResult) Reset()
- func (m *PaymentResult) Size() (n int)
- func (m *PaymentResult) String() string
- func (m *PaymentResult) Unmarshal(dAtA []byte) error
- func (m *PaymentResult) XXX_DiscardUnknown()
- func (m *PaymentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaymentResult) XXX_Merge(src proto.Message)
- func (*PaymentResult) XXX_MessageName() string
- func (m *PaymentResult) XXX_Size() int
- func (m *PaymentResult) XXX_Unmarshal(b []byte) error
- type PayoutAddress
- func (*PayoutAddress) Descriptor() ([]byte, []int)
- func (m *PayoutAddress) GetSignedTime() time.Time
- func (m *PayoutAddress) GetToAddress() []byte
- func (m *PayoutAddress) Marshal() (dAtA []byte, err error)
- func (m *PayoutAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *PayoutAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayoutAddress) ProtoMessage()
- func (m *PayoutAddress) Reset()
- func (m *PayoutAddress) Size() (n int)
- func (m *PayoutAddress) String() string
- func (m *PayoutAddress) Unmarshal(dAtA []byte) error
- func (m *PayoutAddress) XXX_DiscardUnknown()
- func (m *PayoutAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayoutAddress) XXX_Merge(src proto.Message)
- func (*PayoutAddress) XXX_MessageName() string
- func (m *PayoutAddress) XXX_Size() int
- func (m *PayoutAddress) XXX_Unmarshal(b []byte) error
- type PayoutItem
- func (*PayoutItem) Descriptor() ([]byte, []int)
- func (m *PayoutItem) GetAmount() int64
- func (m *PayoutItem) GetContractId() string
- func (m *PayoutItem) GetEscrowId() int64
- func (m *PayoutItem) GetFromAddress() []byte
- func (m *PayoutItem) GetIndex() int32
- func (m *PayoutItem) GetPaid() bool
- func (m *PayoutItem) GetReference() string
- func (m *PayoutItem) GetToAddress() []byte
- func (m *PayoutItem) Marshal() (dAtA []byte, err error)
- func (m *PayoutItem) MarshalTo(dAtA []byte) (int, error)
- func (m *PayoutItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayoutItem) ProtoMessage()
- func (m *PayoutItem) Reset()
- func (m *PayoutItem) Size() (n int)
- func (m *PayoutItem) String() string
- func (m *PayoutItem) Unmarshal(dAtA []byte) error
- func (m *PayoutItem) XXX_DiscardUnknown()
- func (m *PayoutItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayoutItem) XXX_Merge(src proto.Message)
- func (*PayoutItem) XXX_MessageName() string
- func (m *PayoutItem) XXX_Size() int
- func (m *PayoutItem) XXX_Unmarshal(b []byte) error
- type PayoutRequest
- func (*PayoutRequest) Descriptor() ([]byte, []int)
- func (m *PayoutRequest) GetPayment() []*Payment
- func (m *PayoutRequest) GetSellerAddress() []byte
- func (m *PayoutRequest) GetSellerSignedTime() time.Time
- func (m *PayoutRequest) Marshal() (dAtA []byte, err error)
- func (m *PayoutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *PayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayoutRequest) ProtoMessage()
- func (m *PayoutRequest) Reset()
- func (m *PayoutRequest) Size() (n int)
- func (m *PayoutRequest) String() string
- func (m *PayoutRequest) Unmarshal(dAtA []byte) error
- func (m *PayoutRequest) XXX_DiscardUnknown()
- func (m *PayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayoutRequest) XXX_Merge(src proto.Message)
- func (*PayoutRequest) XXX_MessageName() string
- func (m *PayoutRequest) XXX_Size() int
- func (m *PayoutRequest) XXX_Unmarshal(b []byte) error
- type PayoutResult
- func (*PayoutResult) Descriptor() ([]byte, []int)
- func (m *PayoutResult) GetEscrowAddress() []byte
- func (m *PayoutResult) GetEscrowSignedTime() time.Time
- func (m *PayoutResult) GetPayout() []*PayoutItem
- func (m *PayoutResult) Marshal() (dAtA []byte, err error)
- func (m *PayoutResult) MarshalTo(dAtA []byte) (int, error)
- func (m *PayoutResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayoutResult) ProtoMessage()
- func (m *PayoutResult) Reset()
- func (m *PayoutResult) Size() (n int)
- func (m *PayoutResult) String() string
- func (m *PayoutResult) Unmarshal(dAtA []byte) error
- func (m *PayoutResult) XXX_DiscardUnknown()
- func (m *PayoutResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayoutResult) XXX_Merge(src proto.Message)
- func (*PayoutResult) XXX_MessageName() string
- func (m *PayoutResult) XXX_Size() int
- func (m *PayoutResult) XXX_Unmarshal(b []byte) error
- type PayoutStatus
- func (*PayoutStatus) Descriptor() ([]byte, []int)
- func (m *PayoutStatus) GetAmount() int64
- func (m *PayoutStatus) GetAuthAddress() []byte
- func (m *PayoutStatus) GetCollateral() int64
- func (m *PayoutStatus) GetContractId() string
- func (m *PayoutStatus) GetEscrowAddress() []byte
- func (m *PayoutStatus) GetEscrowId() int64
- func (m *PayoutStatus) GetEscrowSignTime() time.Time
- func (m *PayoutStatus) GetFromAddress() []byte
- func (m *PayoutStatus) GetLastPayoutTime() time.Time
- func (m *PayoutStatus) GetLeftAmount() int64
- func (m *PayoutStatus) GetNextAmount() int64
- func (m *PayoutStatus) GetNextPayoutTime() time.Time
- func (m *PayoutStatus) GetNumLeft() int32
- func (m *PayoutStatus) GetNumPaid() int32
- func (m *PayoutStatus) GetPaidAmount() int64
- func (m *PayoutStatus) GetStatus() EscrowStatus
- func (m *PayoutStatus) GetToAddress() []byte
- func (m *PayoutStatus) GetWithhold() int64
- func (m *PayoutStatus) Marshal() (dAtA []byte, err error)
- func (m *PayoutStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *PayoutStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PayoutStatus) ProtoMessage()
- func (m *PayoutStatus) Reset()
- func (m *PayoutStatus) Size() (n int)
- func (m *PayoutStatus) String() string
- func (m *PayoutStatus) Unmarshal(dAtA []byte) error
- func (m *PayoutStatus) XXX_DiscardUnknown()
- func (m *PayoutStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PayoutStatus) XXX_Merge(src proto.Message)
- func (*PayoutStatus) XXX_MessageName() string
- func (m *PayoutStatus) XXX_Size() int
- func (m *PayoutStatus) XXX_Unmarshal(b []byte) error
- type Schedule
- type SignedCancelContractResult
- func (*SignedCancelContractResult) Descriptor() ([]byte, []int)
- func (m *SignedCancelContractResult) GetEscrowSignature() []byte
- func (m *SignedCancelContractResult) GetResult() *CancelContractResult
- func (m *SignedCancelContractResult) Marshal() (dAtA []byte, err error)
- func (m *SignedCancelContractResult) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedCancelContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedCancelContractResult) ProtoMessage()
- func (m *SignedCancelContractResult) Reset()
- func (m *SignedCancelContractResult) Size() (n int)
- func (m *SignedCancelContractResult) String() string
- func (m *SignedCancelContractResult) Unmarshal(dAtA []byte) error
- func (m *SignedCancelContractResult) XXX_DiscardUnknown()
- func (m *SignedCancelContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedCancelContractResult) XXX_Merge(src proto.Message)
- func (*SignedCancelContractResult) XXX_MessageName() string
- func (m *SignedCancelContractResult) XXX_Size() int
- func (m *SignedCancelContractResult) XXX_Unmarshal(b []byte) error
- type SignedCancelRequest
- func (*SignedCancelRequest) Descriptor() ([]byte, []int)
- func (m *SignedCancelRequest) GetAuthSignature() []byte
- func (m *SignedCancelRequest) GetRequest() *CancelContractRequest
- func (m *SignedCancelRequest) Marshal() (dAtA []byte, err error)
- func (m *SignedCancelRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedCancelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedCancelRequest) ProtoMessage()
- func (m *SignedCancelRequest) Reset()
- func (m *SignedCancelRequest) Size() (n int)
- func (m *SignedCancelRequest) String() string
- func (m *SignedCancelRequest) Unmarshal(dAtA []byte) error
- func (m *SignedCancelRequest) XXX_DiscardUnknown()
- func (m *SignedCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedCancelRequest) XXX_Merge(src proto.Message)
- func (*SignedCancelRequest) XXX_MessageName() string
- func (m *SignedCancelRequest) XXX_Size() int
- func (m *SignedCancelRequest) XXX_Unmarshal(b []byte) error
- type SignedContractID
- func (*SignedContractID) Descriptor() ([]byte, []int)
- func (m *SignedContractID) GetData() *ContractID
- func (m *SignedContractID) GetSignature() []byte
- func (m *SignedContractID) Marshal() (dAtA []byte, err error)
- func (m *SignedContractID) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedContractID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedContractID) ProtoMessage()
- func (m *SignedContractID) Reset()
- func (m *SignedContractID) Size() (n int)
- func (m *SignedContractID) String() string
- func (m *SignedContractID) Unmarshal(dAtA []byte) error
- func (m *SignedContractID) XXX_DiscardUnknown()
- func (m *SignedContractID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedContractID) XXX_Merge(src proto.Message)
- func (*SignedContractID) XXX_MessageName() string
- func (m *SignedContractID) XXX_Size() int
- func (m *SignedContractID) XXX_Unmarshal(b []byte) error
- type SignedEscrowContract
- func (*SignedEscrowContract) Descriptor() ([]byte, []int)
- func (m *SignedEscrowContract) GetBuyerSignature() []byte
- func (m *SignedEscrowContract) GetContract() *EscrowContract
- func (m *SignedEscrowContract) GetSellerSignature() []byte
- func (m *SignedEscrowContract) Marshal() (dAtA []byte, err error)
- func (m *SignedEscrowContract) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedEscrowContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedEscrowContract) ProtoMessage()
- func (m *SignedEscrowContract) Reset()
- func (m *SignedEscrowContract) Size() (n int)
- func (m *SignedEscrowContract) String() string
- func (m *SignedEscrowContract) Unmarshal(dAtA []byte) error
- func (m *SignedEscrowContract) XXX_DiscardUnknown()
- func (m *SignedEscrowContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedEscrowContract) XXX_Merge(src proto.Message)
- func (*SignedEscrowContract) XXX_MessageName() string
- func (m *SignedEscrowContract) XXX_Size() int
- func (m *SignedEscrowContract) XXX_Unmarshal(b []byte) error
- type SignedPayinRequest
- func (*SignedPayinRequest) Descriptor() ([]byte, []int)
- func (m *SignedPayinRequest) GetBuyerSignature() []byte
- func (m *SignedPayinRequest) GetRequest() *PayinRequest
- func (m *SignedPayinRequest) Marshal() (dAtA []byte, err error)
- func (m *SignedPayinRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPayinRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPayinRequest) ProtoMessage()
- func (m *SignedPayinRequest) Reset()
- func (m *SignedPayinRequest) Size() (n int)
- func (m *SignedPayinRequest) String() string
- func (m *SignedPayinRequest) Unmarshal(dAtA []byte) error
- func (m *SignedPayinRequest) XXX_DiscardUnknown()
- func (m *SignedPayinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPayinRequest) XXX_Merge(src proto.Message)
- func (*SignedPayinRequest) XXX_MessageName() string
- func (m *SignedPayinRequest) XXX_Size() int
- func (m *SignedPayinRequest) XXX_Unmarshal(b []byte) error
- type SignedPayinResult
- func (*SignedPayinResult) Descriptor() ([]byte, []int)
- func (m *SignedPayinResult) GetEscrowSignature() []byte
- func (m *SignedPayinResult) GetResult() *PayinResult
- func (m *SignedPayinResult) Marshal() (dAtA []byte, err error)
- func (m *SignedPayinResult) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPayinResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPayinResult) ProtoMessage()
- func (m *SignedPayinResult) Reset()
- func (m *SignedPayinResult) Size() (n int)
- func (m *SignedPayinResult) String() string
- func (m *SignedPayinResult) Unmarshal(dAtA []byte) error
- func (m *SignedPayinResult) XXX_DiscardUnknown()
- func (m *SignedPayinResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPayinResult) XXX_Merge(src proto.Message)
- func (*SignedPayinResult) XXX_MessageName() string
- func (m *SignedPayinResult) XXX_Size() int
- func (m *SignedPayinResult) XXX_Unmarshal(b []byte) error
- type SignedPayinStatus
- func (*SignedPayinStatus) Descriptor() ([]byte, []int)
- func (m *SignedPayinStatus) GetEscrowSignature() []byte
- func (m *SignedPayinStatus) GetStatus() *PayinStatus
- func (m *SignedPayinStatus) Marshal() (dAtA []byte, err error)
- func (m *SignedPayinStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPayinStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPayinStatus) ProtoMessage()
- func (m *SignedPayinStatus) Reset()
- func (m *SignedPayinStatus) Size() (n int)
- func (m *SignedPayinStatus) String() string
- func (m *SignedPayinStatus) Unmarshal(dAtA []byte) error
- func (m *SignedPayinStatus) XXX_DiscardUnknown()
- func (m *SignedPayinStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPayinStatus) XXX_Merge(src proto.Message)
- func (*SignedPayinStatus) XXX_MessageName() string
- func (m *SignedPayinStatus) XXX_Size() int
- func (m *SignedPayinStatus) XXX_Unmarshal(b []byte) error
- type SignedPaymentResult
- func (*SignedPaymentResult) Descriptor() ([]byte, []int)
- func (m *SignedPaymentResult) GetEscrowSignature() []byte
- func (m *SignedPaymentResult) GetResult() *PaymentResult
- func (m *SignedPaymentResult) Marshal() (dAtA []byte, err error)
- func (m *SignedPaymentResult) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPaymentResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPaymentResult) ProtoMessage()
- func (m *SignedPaymentResult) Reset()
- func (m *SignedPaymentResult) Size() (n int)
- func (m *SignedPaymentResult) String() string
- func (m *SignedPaymentResult) Unmarshal(dAtA []byte) error
- func (m *SignedPaymentResult) XXX_DiscardUnknown()
- func (m *SignedPaymentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPaymentResult) XXX_Merge(src proto.Message)
- func (*SignedPaymentResult) XXX_MessageName() string
- func (m *SignedPaymentResult) XXX_Size() int
- func (m *SignedPaymentResult) XXX_Unmarshal(b []byte) error
- type SignedPayoutAddress
- func (*SignedPayoutAddress) Descriptor() ([]byte, []int)
- func (m *SignedPayoutAddress) GetAddress() *PayoutAddress
- func (m *SignedPayoutAddress) GetSignature() []byte
- func (m *SignedPayoutAddress) Marshal() (dAtA []byte, err error)
- func (m *SignedPayoutAddress) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPayoutAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPayoutAddress) ProtoMessage()
- func (m *SignedPayoutAddress) Reset()
- func (m *SignedPayoutAddress) Size() (n int)
- func (m *SignedPayoutAddress) String() string
- func (m *SignedPayoutAddress) Unmarshal(dAtA []byte) error
- func (m *SignedPayoutAddress) XXX_DiscardUnknown()
- func (m *SignedPayoutAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPayoutAddress) XXX_Merge(src proto.Message)
- func (*SignedPayoutAddress) XXX_MessageName() string
- func (m *SignedPayoutAddress) XXX_Size() int
- func (m *SignedPayoutAddress) XXX_Unmarshal(b []byte) error
- type SignedPayoutRequest
- func (*SignedPayoutRequest) Descriptor() ([]byte, []int)
- func (m *SignedPayoutRequest) GetRequest() *PayoutRequest
- func (m *SignedPayoutRequest) GetSellerSignature() []byte
- func (m *SignedPayoutRequest) Marshal() (dAtA []byte, err error)
- func (m *SignedPayoutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPayoutRequest) ProtoMessage()
- func (m *SignedPayoutRequest) Reset()
- func (m *SignedPayoutRequest) Size() (n int)
- func (m *SignedPayoutRequest) String() string
- func (m *SignedPayoutRequest) Unmarshal(dAtA []byte) error
- func (m *SignedPayoutRequest) XXX_DiscardUnknown()
- func (m *SignedPayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPayoutRequest) XXX_Merge(src proto.Message)
- func (*SignedPayoutRequest) XXX_MessageName() string
- func (m *SignedPayoutRequest) XXX_Size() int
- func (m *SignedPayoutRequest) XXX_Unmarshal(b []byte) error
- type SignedPayoutResult
- func (*SignedPayoutResult) Descriptor() ([]byte, []int)
- func (m *SignedPayoutResult) GetEscrowSignature() []byte
- func (m *SignedPayoutResult) GetResult() *PayoutResult
- func (m *SignedPayoutResult) Marshal() (dAtA []byte, err error)
- func (m *SignedPayoutResult) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPayoutResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPayoutResult) ProtoMessage()
- func (m *SignedPayoutResult) Reset()
- func (m *SignedPayoutResult) Size() (n int)
- func (m *SignedPayoutResult) String() string
- func (m *SignedPayoutResult) Unmarshal(dAtA []byte) error
- func (m *SignedPayoutResult) XXX_DiscardUnknown()
- func (m *SignedPayoutResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPayoutResult) XXX_Merge(src proto.Message)
- func (*SignedPayoutResult) XXX_MessageName() string
- func (m *SignedPayoutResult) XXX_Size() int
- func (m *SignedPayoutResult) XXX_Unmarshal(b []byte) error
- type SignedPayoutStatus
- func (*SignedPayoutStatus) Descriptor() ([]byte, []int)
- func (m *SignedPayoutStatus) GetEscrowSignature() []byte
- func (m *SignedPayoutStatus) GetStatus() *PayoutStatus
- func (m *SignedPayoutStatus) Marshal() (dAtA []byte, err error)
- func (m *SignedPayoutStatus) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedPayoutStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedPayoutStatus) ProtoMessage()
- func (m *SignedPayoutStatus) Reset()
- func (m *SignedPayoutStatus) Size() (n int)
- func (m *SignedPayoutStatus) String() string
- func (m *SignedPayoutStatus) Unmarshal(dAtA []byte) error
- func (m *SignedPayoutStatus) XXX_DiscardUnknown()
- func (m *SignedPayoutStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedPayoutStatus) XXX_Merge(src proto.Message)
- func (*SignedPayoutStatus) XXX_MessageName() string
- func (m *SignedPayoutStatus) XXX_Size() int
- func (m *SignedPayoutStatus) XXX_Unmarshal(b []byte) error
- type SignedSubmitContractResult
- func (*SignedSubmitContractResult) Descriptor() ([]byte, []int)
- func (m *SignedSubmitContractResult) GetEscrowSignature() []byte
- func (m *SignedSubmitContractResult) GetResult() *SubmitContractResult
- func (m *SignedSubmitContractResult) Marshal() (dAtA []byte, err error)
- func (m *SignedSubmitContractResult) MarshalTo(dAtA []byte) (int, error)
- func (m *SignedSubmitContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignedSubmitContractResult) ProtoMessage()
- func (m *SignedSubmitContractResult) Reset()
- func (m *SignedSubmitContractResult) Size() (n int)
- func (m *SignedSubmitContractResult) String() string
- func (m *SignedSubmitContractResult) Unmarshal(dAtA []byte) error
- func (m *SignedSubmitContractResult) XXX_DiscardUnknown()
- func (m *SignedSubmitContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignedSubmitContractResult) XXX_Merge(src proto.Message)
- func (*SignedSubmitContractResult) XXX_MessageName() string
- func (m *SignedSubmitContractResult) XXX_Size() int
- func (m *SignedSubmitContractResult) XXX_Unmarshal(b []byte) error
- type SubmitContractResult
- func (*SubmitContractResult) Descriptor() ([]byte, []int)
- func (m *SubmitContractResult) GetBuyerChannelState() *ledger.SignedChannelState
- func (m *SubmitContractResult) GetEscrow() []*Escrow
- func (m *SubmitContractResult) GetEscrowAddress() []byte
- func (m *SubmitContractResult) GetEscrowSignedTime() time.Time
- func (m *SubmitContractResult) GetPayinId() string
- func (m *SubmitContractResult) Marshal() (dAtA []byte, err error)
- func (m *SubmitContractResult) MarshalTo(dAtA []byte) (int, error)
- func (m *SubmitContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubmitContractResult) ProtoMessage()
- func (m *SubmitContractResult) Reset()
- func (m *SubmitContractResult) Size() (n int)
- func (m *SubmitContractResult) String() string
- func (m *SubmitContractResult) Unmarshal(dAtA []byte) error
- func (m *SubmitContractResult) XXX_DiscardUnknown()
- func (m *SubmitContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitContractResult) XXX_Merge(src proto.Message)
- func (*SubmitContractResult) XXX_MessageName() string
- func (m *SubmitContractResult) XXX_Size() int
- func (m *SubmitContractResult) XXX_Unmarshal(b []byte) error
- type TokenType
- type UnimplementedEscrowServiceServer
- func (*UnimplementedEscrowServiceServer) CancelContracts(ctx context.Context, req *SignedCancelRequest) (*SignedCancelContractResult, error)
- func (*UnimplementedEscrowServiceServer) GetPayOutStatus(ctx context.Context, req *SignedContractID) (*SignedPayoutStatus, error)
- func (*UnimplementedEscrowServiceServer) IsPaid(ctx context.Context, req *SignedContractID) (*SignedPayinStatus, error)
- func (*UnimplementedEscrowServiceServer) MyPayment(ctx context.Context, req *SignedPayoutAddress) (*SignedPaymentResult, error)
- func (*UnimplementedEscrowServiceServer) PayIn(ctx context.Context, req *SignedPayinRequest) (*SignedPayinResult, error)
- func (*UnimplementedEscrowServiceServer) PayOut(ctx context.Context, req *SignedPayoutRequest) (*SignedPayoutResult, error)
- func (*UnimplementedEscrowServiceServer) SubmitContracts(ctx context.Context, req *EscrowContractRequest) (*SignedSubmitContractResult, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthEscrow = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEscrow = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEscrow = fmt.Errorf("proto: unexpected end of group") )
View Source
var EscrowStatus_name = map[int32]string{
0: "INITIATED",
1: "ACTIVE",
2: "CANCELED",
3: "CLOSED",
}
View Source
var EscrowStatus_value = map[string]int32{
"INITIATED": 0,
"ACTIVE": 1,
"CANCELED": 2,
"CLOSED": 3,
}
View Source
var Schedule_name = map[int32]string{
0: "MONTHLY",
1: "QUARTERLY",
2: "ANNUALLY",
}
View Source
var Schedule_value = map[string]int32{
"MONTHLY": 0,
"QUARTERLY": 1,
"ANNUALLY": 2,
}
View Source
var TokenType_name = map[int32]string{
0: "BTT",
}
View Source
var TokenType_value = map[string]int32{
"BTT": 0,
}
Functions ¶
func RegisterEscrowServiceServer ¶
func RegisterEscrowServiceServer(s *grpc.Server, srv EscrowServiceServer)
Types ¶
type CancelContractRequest ¶
type CancelContractRequest struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` AuthAddress []byte `protobuf:"bytes,2,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty" pg:"auth_address"` AuthSignedTime time.Time `protobuf:"bytes,3,opt,name=auth_signed_time,json=authSignedTime,proto3,stdtime" json:"auth_signed_time" pg:"auth_signed_time"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*CancelContractRequest) Descriptor ¶
func (*CancelContractRequest) Descriptor() ([]byte, []int)
func (*CancelContractRequest) GetAuthAddress ¶
func (m *CancelContractRequest) GetAuthAddress() []byte
func (*CancelContractRequest) GetAuthSignedTime ¶ added in v0.0.13
func (m *CancelContractRequest) GetAuthSignedTime() time.Time
func (*CancelContractRequest) GetContractId ¶
func (m *CancelContractRequest) GetContractId() string
func (*CancelContractRequest) Marshal ¶ added in v0.0.13
func (m *CancelContractRequest) Marshal() (dAtA []byte, err error)
func (*CancelContractRequest) MarshalTo ¶ added in v0.0.13
func (m *CancelContractRequest) MarshalTo(dAtA []byte) (int, error)
func (*CancelContractRequest) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *CancelContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CancelContractRequest) ProtoMessage ¶
func (*CancelContractRequest) ProtoMessage()
func (*CancelContractRequest) Reset ¶
func (m *CancelContractRequest) Reset()
func (*CancelContractRequest) Size ¶ added in v0.0.13
func (m *CancelContractRequest) Size() (n int)
func (*CancelContractRequest) String ¶
func (m *CancelContractRequest) String() string
func (*CancelContractRequest) Unmarshal ¶ added in v0.0.13
func (m *CancelContractRequest) Unmarshal(dAtA []byte) error
func (*CancelContractRequest) XXX_DiscardUnknown ¶
func (m *CancelContractRequest) XXX_DiscardUnknown()
func (*CancelContractRequest) XXX_Marshal ¶
func (m *CancelContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelContractRequest) XXX_Merge ¶
func (m *CancelContractRequest) XXX_Merge(src proto.Message)
func (*CancelContractRequest) XXX_MessageName ¶ added in v0.0.13
func (*CancelContractRequest) XXX_MessageName() string
func (*CancelContractRequest) XXX_Size ¶
func (m *CancelContractRequest) XXX_Size() int
func (*CancelContractRequest) XXX_Unmarshal ¶
func (m *CancelContractRequest) XXX_Unmarshal(b []byte) error
type CancelContractResult ¶
type CancelContractResult struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` EscrowId int64 `protobuf:"varint,2,opt,name=escrow_id,json=escrowId,proto3" json:"escrow_id,omitempty" pg:"escrow_id"` Canceled bool `protobuf:"varint,3,opt,name=canceled,proto3" json:"canceled,omitempty" pg:"canceled"` EscrowAddress []byte `protobuf:"bytes,4,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` EscrowSignedTime time.Time `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*CancelContractResult) Descriptor ¶
func (*CancelContractResult) Descriptor() ([]byte, []int)
func (*CancelContractResult) GetCanceled ¶ added in v0.0.8
func (m *CancelContractResult) GetCanceled() bool
func (*CancelContractResult) GetContractId ¶ added in v0.0.8
func (m *CancelContractResult) GetContractId() string
func (*CancelContractResult) GetEscrowAddress ¶
func (m *CancelContractResult) GetEscrowAddress() []byte
func (*CancelContractResult) GetEscrowId ¶ added in v0.0.8
func (m *CancelContractResult) GetEscrowId() int64
func (*CancelContractResult) GetEscrowSignedTime ¶
func (m *CancelContractResult) GetEscrowSignedTime() time.Time
func (*CancelContractResult) Marshal ¶ added in v0.0.13
func (m *CancelContractResult) Marshal() (dAtA []byte, err error)
func (*CancelContractResult) MarshalTo ¶ added in v0.0.13
func (m *CancelContractResult) MarshalTo(dAtA []byte) (int, error)
func (*CancelContractResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *CancelContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CancelContractResult) ProtoMessage ¶
func (*CancelContractResult) ProtoMessage()
func (*CancelContractResult) Reset ¶
func (m *CancelContractResult) Reset()
func (*CancelContractResult) Size ¶ added in v0.0.13
func (m *CancelContractResult) Size() (n int)
func (*CancelContractResult) String ¶
func (m *CancelContractResult) String() string
func (*CancelContractResult) Unmarshal ¶ added in v0.0.13
func (m *CancelContractResult) Unmarshal(dAtA []byte) error
func (*CancelContractResult) XXX_DiscardUnknown ¶
func (m *CancelContractResult) XXX_DiscardUnknown()
func (*CancelContractResult) XXX_Marshal ¶
func (m *CancelContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CancelContractResult) XXX_Merge ¶
func (m *CancelContractResult) XXX_Merge(src proto.Message)
func (*CancelContractResult) XXX_MessageName ¶ added in v0.0.13
func (*CancelContractResult) XXX_MessageName() string
func (*CancelContractResult) XXX_Size ¶
func (m *CancelContractResult) XXX_Size() int
func (*CancelContractResult) XXX_Unmarshal ¶
func (m *CancelContractResult) XXX_Unmarshal(b []byte) error
type ContractID ¶
type ContractID struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty" pg:"address"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*ContractID) Descriptor ¶
func (*ContractID) Descriptor() ([]byte, []int)
func (*ContractID) GetAddress ¶
func (m *ContractID) GetAddress() []byte
func (*ContractID) GetContractId ¶
func (m *ContractID) GetContractId() string
func (*ContractID) Marshal ¶ added in v0.0.13
func (m *ContractID) Marshal() (dAtA []byte, err error)
func (*ContractID) MarshalTo ¶ added in v0.0.13
func (m *ContractID) MarshalTo(dAtA []byte) (int, error)
func (*ContractID) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *ContractID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ContractID) ProtoMessage ¶
func (*ContractID) ProtoMessage()
func (*ContractID) Reset ¶
func (m *ContractID) Reset()
func (*ContractID) Size ¶ added in v0.0.13
func (m *ContractID) Size() (n int)
func (*ContractID) String ¶
func (m *ContractID) String() string
func (*ContractID) Unmarshal ¶ added in v0.0.13
func (m *ContractID) Unmarshal(dAtA []byte) error
func (*ContractID) XXX_DiscardUnknown ¶
func (m *ContractID) XXX_DiscardUnknown()
func (*ContractID) XXX_Marshal ¶
func (m *ContractID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContractID) XXX_Merge ¶
func (m *ContractID) XXX_Merge(src proto.Message)
func (*ContractID) XXX_MessageName ¶ added in v0.0.13
func (*ContractID) XXX_MessageName() string
func (*ContractID) XXX_Size ¶
func (m *ContractID) XXX_Size() int
func (*ContractID) XXX_Unmarshal ¶
func (m *ContractID) XXX_Unmarshal(b []byte) error
type Escrow ¶
type Escrow struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` EscrowId int64 `protobuf:"varint,2,opt,name=escrow_id,json=escrowId,proto3" json:"escrow_id,omitempty" pg:"escrow_id"` FromAddress []byte `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" pg:"from_address"` ToAddress []byte `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"` Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` CollateralAmount int64 `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*Escrow) Descriptor ¶
func (*Escrow) GetCollateralAmount ¶
func (*Escrow) GetContractId ¶
func (*Escrow) GetEscrowId ¶
func (*Escrow) GetFromAddress ¶
func (*Escrow) GetToAddress ¶
func (*Escrow) MarshalToSizedBuffer ¶ added in v0.0.13
func (*Escrow) ProtoMessage ¶
func (*Escrow) ProtoMessage()
func (*Escrow) XXX_DiscardUnknown ¶
func (m *Escrow) XXX_DiscardUnknown()
func (*Escrow) XXX_Marshal ¶
func (*Escrow) XXX_MessageName ¶ added in v0.0.13
func (*Escrow) XXX_Unmarshal ¶
type EscrowContract ¶
type EscrowContract struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` BuyerAddress []byte `protobuf:"bytes,2,opt,name=buyer_address,json=buyerAddress,proto3" json:"buyer_address,omitempty" pg:"buyer_address"` SellerAddress []byte `protobuf:"bytes,3,opt,name=seller_address,json=sellerAddress,proto3" json:"seller_address,omitempty" pg:"seller_address"` AuthAddress []byte `protobuf:"bytes,4,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty" pg:"auth_address"` Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` CollateralAmount int64 `` /* 133-byte string literal not displayed */ WithholdAmount int64 `protobuf:"varint,7,opt,name=withhold_amount,json=withholdAmount,proto3" json:"withhold_amount,omitempty" pg:"withhold_amount"` TokenType TokenType `` /* 127-byte string literal not displayed */ PayoutSchedule Schedule `` /* 146-byte string literal not displayed */ NumPayouts int32 `protobuf:"varint,10,opt,name=num_payouts,json=numPayouts,proto3" json:"num_payouts,omitempty" pg:"num_payouts"` Reference []byte `protobuf:"bytes,11,opt,name=reference,proto3" json:"reference,omitempty" pg:"reference"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*EscrowContract) Descriptor ¶
func (*EscrowContract) Descriptor() ([]byte, []int)
func (*EscrowContract) GetAmount ¶
func (m *EscrowContract) GetAmount() int64
func (*EscrowContract) GetAuthAddress ¶
func (m *EscrowContract) GetAuthAddress() []byte
func (*EscrowContract) GetBuyerAddress ¶
func (m *EscrowContract) GetBuyerAddress() []byte
func (*EscrowContract) GetCollateralAmount ¶
func (m *EscrowContract) GetCollateralAmount() int64
func (*EscrowContract) GetContractId ¶
func (m *EscrowContract) GetContractId() string
func (*EscrowContract) GetNumPayouts ¶
func (m *EscrowContract) GetNumPayouts() int32
func (*EscrowContract) GetPayoutSchedule ¶
func (m *EscrowContract) GetPayoutSchedule() Schedule
func (*EscrowContract) GetReference ¶
func (m *EscrowContract) GetReference() []byte
func (*EscrowContract) GetSellerAddress ¶
func (m *EscrowContract) GetSellerAddress() []byte
func (*EscrowContract) GetTokenType ¶
func (m *EscrowContract) GetTokenType() TokenType
func (*EscrowContract) GetWithholdAmount ¶
func (m *EscrowContract) GetWithholdAmount() int64
func (*EscrowContract) Marshal ¶ added in v0.0.13
func (m *EscrowContract) Marshal() (dAtA []byte, err error)
func (*EscrowContract) MarshalTo ¶ added in v0.0.13
func (m *EscrowContract) MarshalTo(dAtA []byte) (int, error)
func (*EscrowContract) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *EscrowContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EscrowContract) ProtoMessage ¶
func (*EscrowContract) ProtoMessage()
func (*EscrowContract) Reset ¶
func (m *EscrowContract) Reset()
func (*EscrowContract) Size ¶ added in v0.0.13
func (m *EscrowContract) Size() (n int)
func (*EscrowContract) String ¶
func (m *EscrowContract) String() string
func (*EscrowContract) Unmarshal ¶ added in v0.0.13
func (m *EscrowContract) Unmarshal(dAtA []byte) error
func (*EscrowContract) XXX_DiscardUnknown ¶
func (m *EscrowContract) XXX_DiscardUnknown()
func (*EscrowContract) XXX_Marshal ¶
func (m *EscrowContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EscrowContract) XXX_Merge ¶
func (m *EscrowContract) XXX_Merge(src proto.Message)
func (*EscrowContract) XXX_MessageName ¶ added in v0.0.13
func (*EscrowContract) XXX_MessageName() string
func (*EscrowContract) XXX_Size ¶
func (m *EscrowContract) XXX_Size() int
func (*EscrowContract) XXX_Unmarshal ¶
func (m *EscrowContract) XXX_Unmarshal(b []byte) error
type EscrowContractRequest ¶
type EscrowContractRequest struct { Contract []*SignedEscrowContract `protobuf:"bytes,1,rep,name=contract,proto3" json:"contract,omitempty" pg:"contract"` BuyerChannel *ledger.SignedChannelCommit `protobuf:"bytes,2,opt,name=buyer_channel,json=buyerChannel,proto3" json:"buyer_channel,omitempty" pg:"buyer_channel"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*EscrowContractRequest) Descriptor ¶
func (*EscrowContractRequest) Descriptor() ([]byte, []int)
func (*EscrowContractRequest) GetBuyerChannel ¶ added in v0.0.12
func (m *EscrowContractRequest) GetBuyerChannel() *ledger.SignedChannelCommit
func (*EscrowContractRequest) GetContract ¶
func (m *EscrowContractRequest) GetContract() []*SignedEscrowContract
func (*EscrowContractRequest) Marshal ¶ added in v0.0.13
func (m *EscrowContractRequest) Marshal() (dAtA []byte, err error)
func (*EscrowContractRequest) MarshalTo ¶ added in v0.0.13
func (m *EscrowContractRequest) MarshalTo(dAtA []byte) (int, error)
func (*EscrowContractRequest) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *EscrowContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EscrowContractRequest) ProtoMessage ¶
func (*EscrowContractRequest) ProtoMessage()
func (*EscrowContractRequest) Reset ¶
func (m *EscrowContractRequest) Reset()
func (*EscrowContractRequest) Size ¶ added in v0.0.13
func (m *EscrowContractRequest) Size() (n int)
func (*EscrowContractRequest) String ¶
func (m *EscrowContractRequest) String() string
func (*EscrowContractRequest) Unmarshal ¶ added in v0.0.13
func (m *EscrowContractRequest) Unmarshal(dAtA []byte) error
func (*EscrowContractRequest) XXX_DiscardUnknown ¶
func (m *EscrowContractRequest) XXX_DiscardUnknown()
func (*EscrowContractRequest) XXX_Marshal ¶
func (m *EscrowContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EscrowContractRequest) XXX_Merge ¶
func (m *EscrowContractRequest) XXX_Merge(src proto.Message)
func (*EscrowContractRequest) XXX_MessageName ¶ added in v0.0.13
func (*EscrowContractRequest) XXX_MessageName() string
func (*EscrowContractRequest) XXX_Size ¶
func (m *EscrowContractRequest) XXX_Size() int
func (*EscrowContractRequest) XXX_Unmarshal ¶
func (m *EscrowContractRequest) XXX_Unmarshal(b []byte) error
type EscrowServiceClient ¶
type EscrowServiceClient interface { // buyer submit contracts to escrow after buyer and seller agreed contract // one contract is one buyer to one seller, and is one escrow in escrow service // buyer can submit multiple contracts in one request // return same number of results as request contracts SubmitContracts(ctx context.Context, in *EscrowContractRequest, opts ...grpc.CallOption) (*SignedSubmitContractResult, error) // after submit contract, buyer request to pay in // escrow will transfer contract amount from buyer wallet to escrow wallet PayIn(ctx context.Context, in *SignedPayinRequest, opts ...grpc.CallOption) (*SignedPayinResult, error) // seller use this to check if a contract is paid in IsPaid(ctx context.Context, in *SignedContractID, opts ...grpc.CallOption) (*SignedPayinStatus, error) // check escrow pay out to seller status of a contract GetPayOutStatus(ctx context.Context, in *SignedContractID, opts ...grpc.CallOption) (*SignedPayoutStatus, error) // auth request to cancel the contract // escrow will cancel the left payments to seller CancelContracts(ctx context.Context, in *SignedCancelRequest, opts ...grpc.CallOption) (*SignedCancelContractResult, error) // seller query what new payments to receive MyPayment(ctx context.Context, in *SignedPayoutAddress, opts ...grpc.CallOption) (*SignedPaymentResult, error) // seller request escrow to payout to seller PayOut(ctx context.Context, in *SignedPayoutRequest, opts ...grpc.CallOption) (*SignedPayoutResult, error) }
EscrowServiceClient is the client API for EscrowService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEscrowServiceClient ¶
func NewEscrowServiceClient(cc *grpc.ClientConn) EscrowServiceClient
type EscrowServiceServer ¶
type EscrowServiceServer interface { // buyer submit contracts to escrow after buyer and seller agreed contract // one contract is one buyer to one seller, and is one escrow in escrow service // buyer can submit multiple contracts in one request // return same number of results as request contracts SubmitContracts(context.Context, *EscrowContractRequest) (*SignedSubmitContractResult, error) // after submit contract, buyer request to pay in // escrow will transfer contract amount from buyer wallet to escrow wallet PayIn(context.Context, *SignedPayinRequest) (*SignedPayinResult, error) // seller use this to check if a contract is paid in IsPaid(context.Context, *SignedContractID) (*SignedPayinStatus, error) // check escrow pay out to seller status of a contract GetPayOutStatus(context.Context, *SignedContractID) (*SignedPayoutStatus, error) // auth request to cancel the contract // escrow will cancel the left payments to seller CancelContracts(context.Context, *SignedCancelRequest) (*SignedCancelContractResult, error) // seller query what new payments to receive MyPayment(context.Context, *SignedPayoutAddress) (*SignedPaymentResult, error) // seller request escrow to payout to seller PayOut(context.Context, *SignedPayoutRequest) (*SignedPayoutResult, error) }
EscrowServiceServer is the server API for EscrowService service.
type EscrowStatus ¶
type EscrowStatus int32
const ( EscrowStatus_INITIATED EscrowStatus = 0 EscrowStatus_ACTIVE EscrowStatus = 1 EscrowStatus_CANCELED EscrowStatus = 2 EscrowStatus_CLOSED EscrowStatus = 3 )
func (EscrowStatus) EnumDescriptor ¶
func (EscrowStatus) EnumDescriptor() ([]byte, []int)
func (EscrowStatus) String ¶
func (x EscrowStatus) String() string
type PayinRequest ¶ added in v0.1.10
type PayinRequest struct { PayinId string `protobuf:"bytes,1,opt,name=payin_id,json=payinId,proto3" json:"payin_id,omitempty" pg:"payin_id"` BuyerAddress []byte `protobuf:"bytes,2,opt,name=buyer_address,json=buyerAddress,proto3" json:"buyer_address,omitempty" pg:"buyer_address"` BuyerChannelState *ledger.SignedChannelState `` /* 139-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayinRequest) Descriptor ¶ added in v0.1.10
func (*PayinRequest) Descriptor() ([]byte, []int)
func (*PayinRequest) GetBuyerAddress ¶ added in v0.1.10
func (m *PayinRequest) GetBuyerAddress() []byte
func (*PayinRequest) GetBuyerChannelState ¶ added in v0.1.10
func (m *PayinRequest) GetBuyerChannelState() *ledger.SignedChannelState
func (*PayinRequest) GetPayinId ¶ added in v0.1.10
func (m *PayinRequest) GetPayinId() string
func (*PayinRequest) Marshal ¶ added in v0.1.10
func (m *PayinRequest) Marshal() (dAtA []byte, err error)
func (*PayinRequest) MarshalTo ¶ added in v0.1.10
func (m *PayinRequest) MarshalTo(dAtA []byte) (int, error)
func (*PayinRequest) MarshalToSizedBuffer ¶ added in v0.1.10
func (m *PayinRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayinRequest) ProtoMessage ¶ added in v0.1.10
func (*PayinRequest) ProtoMessage()
func (*PayinRequest) Reset ¶ added in v0.1.10
func (m *PayinRequest) Reset()
func (*PayinRequest) Size ¶ added in v0.1.10
func (m *PayinRequest) Size() (n int)
func (*PayinRequest) String ¶ added in v0.1.10
func (m *PayinRequest) String() string
func (*PayinRequest) Unmarshal ¶ added in v0.1.10
func (m *PayinRequest) Unmarshal(dAtA []byte) error
func (*PayinRequest) XXX_DiscardUnknown ¶ added in v0.1.10
func (m *PayinRequest) XXX_DiscardUnknown()
func (*PayinRequest) XXX_Marshal ¶ added in v0.1.10
func (m *PayinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayinRequest) XXX_Merge ¶ added in v0.1.10
func (m *PayinRequest) XXX_Merge(src proto.Message)
func (*PayinRequest) XXX_MessageName ¶ added in v0.1.10
func (*PayinRequest) XXX_MessageName() string
func (*PayinRequest) XXX_Size ¶ added in v0.1.10
func (m *PayinRequest) XXX_Size() int
func (*PayinRequest) XXX_Unmarshal ¶ added in v0.1.10
func (m *PayinRequest) XXX_Unmarshal(b []byte) error
type PayinResult ¶
type PayinResult struct { PayinId string `protobuf:"bytes,1,opt,name=payin_id,json=payinId,proto3" json:"payin_id,omitempty" pg:"payin_id"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` ChannelId int64 `protobuf:"varint,3,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" pg:"channel_id"` EscrowAddress []byte `protobuf:"bytes,4,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` EscrowSignedTime time.Time `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayinResult) Descriptor ¶
func (*PayinResult) Descriptor() ([]byte, []int)
func (*PayinResult) GetAmount ¶
func (m *PayinResult) GetAmount() int64
func (*PayinResult) GetChannelId ¶ added in v0.0.12
func (m *PayinResult) GetChannelId() int64
func (*PayinResult) GetEscrowAddress ¶
func (m *PayinResult) GetEscrowAddress() []byte
func (*PayinResult) GetEscrowSignedTime ¶
func (m *PayinResult) GetEscrowSignedTime() time.Time
func (*PayinResult) GetPayinId ¶
func (m *PayinResult) GetPayinId() string
func (*PayinResult) Marshal ¶ added in v0.0.13
func (m *PayinResult) Marshal() (dAtA []byte, err error)
func (*PayinResult) MarshalTo ¶ added in v0.0.13
func (m *PayinResult) MarshalTo(dAtA []byte) (int, error)
func (*PayinResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *PayinResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayinResult) ProtoMessage ¶
func (*PayinResult) ProtoMessage()
func (*PayinResult) Reset ¶
func (m *PayinResult) Reset()
func (*PayinResult) Size ¶ added in v0.0.13
func (m *PayinResult) Size() (n int)
func (*PayinResult) String ¶
func (m *PayinResult) String() string
func (*PayinResult) Unmarshal ¶ added in v0.0.13
func (m *PayinResult) Unmarshal(dAtA []byte) error
func (*PayinResult) XXX_DiscardUnknown ¶
func (m *PayinResult) XXX_DiscardUnknown()
func (*PayinResult) XXX_Marshal ¶
func (m *PayinResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayinResult) XXX_Merge ¶
func (m *PayinResult) XXX_Merge(src proto.Message)
func (*PayinResult) XXX_MessageName ¶ added in v0.0.13
func (*PayinResult) XXX_MessageName() string
func (*PayinResult) XXX_Size ¶
func (m *PayinResult) XXX_Size() int
func (*PayinResult) XXX_Unmarshal ¶
func (m *PayinResult) XXX_Unmarshal(b []byte) error
type PayinStatus ¶
type PayinStatus struct { Paid bool `protobuf:"varint,1,opt,name=paid,proto3" json:"paid,omitempty" pg:"paid"` ChannelId int64 `protobuf:"varint,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" pg:"channel_id"` EscrowAddress []byte `protobuf:"bytes,3,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` EscrowSignedTime time.Time `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayinStatus) Descriptor ¶
func (*PayinStatus) Descriptor() ([]byte, []int)
func (*PayinStatus) GetChannelId ¶ added in v0.0.12
func (m *PayinStatus) GetChannelId() int64
func (*PayinStatus) GetEscrowAddress ¶ added in v0.0.8
func (m *PayinStatus) GetEscrowAddress() []byte
func (*PayinStatus) GetEscrowSignedTime ¶ added in v0.0.8
func (m *PayinStatus) GetEscrowSignedTime() time.Time
func (*PayinStatus) GetPaid ¶
func (m *PayinStatus) GetPaid() bool
func (*PayinStatus) Marshal ¶ added in v0.0.13
func (m *PayinStatus) Marshal() (dAtA []byte, err error)
func (*PayinStatus) MarshalTo ¶ added in v0.0.13
func (m *PayinStatus) MarshalTo(dAtA []byte) (int, error)
func (*PayinStatus) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *PayinStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayinStatus) ProtoMessage ¶
func (*PayinStatus) ProtoMessage()
func (*PayinStatus) Reset ¶
func (m *PayinStatus) Reset()
func (*PayinStatus) Size ¶ added in v0.0.13
func (m *PayinStatus) Size() (n int)
func (*PayinStatus) String ¶
func (m *PayinStatus) String() string
func (*PayinStatus) Unmarshal ¶ added in v0.0.13
func (m *PayinStatus) Unmarshal(dAtA []byte) error
func (*PayinStatus) XXX_DiscardUnknown ¶
func (m *PayinStatus) XXX_DiscardUnknown()
func (*PayinStatus) XXX_Marshal ¶
func (m *PayinStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayinStatus) XXX_Merge ¶
func (m *PayinStatus) XXX_Merge(src proto.Message)
func (*PayinStatus) XXX_MessageName ¶ added in v0.0.13
func (*PayinStatus) XXX_MessageName() string
func (*PayinStatus) XXX_Size ¶
func (m *PayinStatus) XXX_Size() int
func (*PayinStatus) XXX_Unmarshal ¶
func (m *PayinStatus) XXX_Unmarshal(b []byte) error
type Payment ¶ added in v0.1.4
type Payment struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` EscrowId int64 `protobuf:"varint,2,opt,name=escrow_id,json=escrowId,proto3" json:"escrow_id,omitempty" pg:"escrow_id"` FromAddress []byte `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" pg:"from_address"` ToAddress []byte `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"` Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty" pg:"index"` ChannelState *ledger.SignedChannelState `protobuf:"bytes,7,opt,name=channel_state,json=channelState,proto3" json:"channel_state,omitempty" pg:"channel_state"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*Payment) Descriptor ¶ added in v0.1.4
func (*Payment) GetChannelState ¶ added in v0.1.4
func (m *Payment) GetChannelState() *ledger.SignedChannelState
func (*Payment) GetContractId ¶ added in v0.1.4
func (*Payment) GetEscrowId ¶ added in v0.1.4
func (*Payment) GetFromAddress ¶ added in v0.1.4
func (*Payment) GetToAddress ¶ added in v0.1.4
func (*Payment) MarshalToSizedBuffer ¶ added in v0.1.4
func (*Payment) ProtoMessage ¶ added in v0.1.4
func (*Payment) ProtoMessage()
func (*Payment) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *Payment) XXX_DiscardUnknown()
func (*Payment) XXX_Marshal ¶ added in v0.1.4
func (*Payment) XXX_MessageName ¶ added in v0.1.4
func (*Payment) XXX_Unmarshal ¶ added in v0.1.4
type PaymentResult ¶ added in v0.1.4
type PaymentResult struct { Payment []*Payment `protobuf:"bytes,1,rep,name=payment,proto3" json:"payment,omitempty" pg:"payment"` EscrowAddress []byte `protobuf:"bytes,2,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` EscrowSignedTime time.Time `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PaymentResult) Descriptor ¶ added in v0.1.4
func (*PaymentResult) Descriptor() ([]byte, []int)
func (*PaymentResult) GetEscrowAddress ¶ added in v0.1.4
func (m *PaymentResult) GetEscrowAddress() []byte
func (*PaymentResult) GetEscrowSignedTime ¶ added in v0.1.4
func (m *PaymentResult) GetEscrowSignedTime() time.Time
func (*PaymentResult) GetPayment ¶ added in v0.1.4
func (m *PaymentResult) GetPayment() []*Payment
func (*PaymentResult) Marshal ¶ added in v0.1.4
func (m *PaymentResult) Marshal() (dAtA []byte, err error)
func (*PaymentResult) MarshalTo ¶ added in v0.1.4
func (m *PaymentResult) MarshalTo(dAtA []byte) (int, error)
func (*PaymentResult) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *PaymentResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PaymentResult) ProtoMessage ¶ added in v0.1.4
func (*PaymentResult) ProtoMessage()
func (*PaymentResult) Reset ¶ added in v0.1.4
func (m *PaymentResult) Reset()
func (*PaymentResult) Size ¶ added in v0.1.4
func (m *PaymentResult) Size() (n int)
func (*PaymentResult) String ¶ added in v0.1.4
func (m *PaymentResult) String() string
func (*PaymentResult) Unmarshal ¶ added in v0.1.4
func (m *PaymentResult) Unmarshal(dAtA []byte) error
func (*PaymentResult) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *PaymentResult) XXX_DiscardUnknown()
func (*PaymentResult) XXX_Marshal ¶ added in v0.1.4
func (m *PaymentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaymentResult) XXX_Merge ¶ added in v0.1.4
func (m *PaymentResult) XXX_Merge(src proto.Message)
func (*PaymentResult) XXX_MessageName ¶ added in v0.1.4
func (*PaymentResult) XXX_MessageName() string
func (*PaymentResult) XXX_Size ¶ added in v0.1.4
func (m *PaymentResult) XXX_Size() int
func (*PaymentResult) XXX_Unmarshal ¶ added in v0.1.4
func (m *PaymentResult) XXX_Unmarshal(b []byte) error
type PayoutAddress ¶ added in v0.1.4
type PayoutAddress struct { ToAddress []byte `protobuf:"bytes,1,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"` SignedTime time.Time `protobuf:"bytes,2,opt,name=signed_time,json=signedTime,proto3,stdtime" json:"signed_time" pg:"signed_time"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayoutAddress) Descriptor ¶ added in v0.1.4
func (*PayoutAddress) Descriptor() ([]byte, []int)
func (*PayoutAddress) GetSignedTime ¶ added in v0.1.4
func (m *PayoutAddress) GetSignedTime() time.Time
func (*PayoutAddress) GetToAddress ¶ added in v0.1.4
func (m *PayoutAddress) GetToAddress() []byte
func (*PayoutAddress) Marshal ¶ added in v0.1.4
func (m *PayoutAddress) Marshal() (dAtA []byte, err error)
func (*PayoutAddress) MarshalTo ¶ added in v0.1.4
func (m *PayoutAddress) MarshalTo(dAtA []byte) (int, error)
func (*PayoutAddress) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *PayoutAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayoutAddress) ProtoMessage ¶ added in v0.1.4
func (*PayoutAddress) ProtoMessage()
func (*PayoutAddress) Reset ¶ added in v0.1.4
func (m *PayoutAddress) Reset()
func (*PayoutAddress) Size ¶ added in v0.1.4
func (m *PayoutAddress) Size() (n int)
func (*PayoutAddress) String ¶ added in v0.1.4
func (m *PayoutAddress) String() string
func (*PayoutAddress) Unmarshal ¶ added in v0.1.4
func (m *PayoutAddress) Unmarshal(dAtA []byte) error
func (*PayoutAddress) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *PayoutAddress) XXX_DiscardUnknown()
func (*PayoutAddress) XXX_Marshal ¶ added in v0.1.4
func (m *PayoutAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayoutAddress) XXX_Merge ¶ added in v0.1.4
func (m *PayoutAddress) XXX_Merge(src proto.Message)
func (*PayoutAddress) XXX_MessageName ¶ added in v0.1.4
func (*PayoutAddress) XXX_MessageName() string
func (*PayoutAddress) XXX_Size ¶ added in v0.1.4
func (m *PayoutAddress) XXX_Size() int
func (*PayoutAddress) XXX_Unmarshal ¶ added in v0.1.4
func (m *PayoutAddress) XXX_Unmarshal(b []byte) error
type PayoutItem ¶ added in v0.1.4
type PayoutItem struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` EscrowId int64 `protobuf:"varint,2,opt,name=escrow_id,json=escrowId,proto3" json:"escrow_id,omitempty" pg:"escrow_id"` FromAddress []byte `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" pg:"from_address"` ToAddress []byte `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"` Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` Index int32 `protobuf:"varint,6,opt,name=index,proto3" json:"index,omitempty" pg:"index"` Paid bool `protobuf:"varint,7,opt,name=paid,proto3" json:"paid,omitempty" pg:"paid"` Reference string `protobuf:"bytes,8,opt,name=reference,proto3" json:"reference,omitempty" pg:"reference"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayoutItem) Descriptor ¶ added in v0.1.4
func (*PayoutItem) Descriptor() ([]byte, []int)
func (*PayoutItem) GetAmount ¶ added in v0.1.4
func (m *PayoutItem) GetAmount() int64
func (*PayoutItem) GetContractId ¶ added in v0.1.4
func (m *PayoutItem) GetContractId() string
func (*PayoutItem) GetEscrowId ¶ added in v0.1.4
func (m *PayoutItem) GetEscrowId() int64
func (*PayoutItem) GetFromAddress ¶ added in v0.1.4
func (m *PayoutItem) GetFromAddress() []byte
func (*PayoutItem) GetIndex ¶ added in v0.1.4
func (m *PayoutItem) GetIndex() int32
func (*PayoutItem) GetPaid ¶ added in v0.1.4
func (m *PayoutItem) GetPaid() bool
func (*PayoutItem) GetReference ¶ added in v0.1.4
func (m *PayoutItem) GetReference() string
func (*PayoutItem) GetToAddress ¶ added in v0.1.4
func (m *PayoutItem) GetToAddress() []byte
func (*PayoutItem) Marshal ¶ added in v0.1.4
func (m *PayoutItem) Marshal() (dAtA []byte, err error)
func (*PayoutItem) MarshalTo ¶ added in v0.1.4
func (m *PayoutItem) MarshalTo(dAtA []byte) (int, error)
func (*PayoutItem) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *PayoutItem) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayoutItem) ProtoMessage ¶ added in v0.1.4
func (*PayoutItem) ProtoMessage()
func (*PayoutItem) Reset ¶ added in v0.1.4
func (m *PayoutItem) Reset()
func (*PayoutItem) Size ¶ added in v0.1.4
func (m *PayoutItem) Size() (n int)
func (*PayoutItem) String ¶ added in v0.1.4
func (m *PayoutItem) String() string
func (*PayoutItem) Unmarshal ¶ added in v0.1.4
func (m *PayoutItem) Unmarshal(dAtA []byte) error
func (*PayoutItem) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *PayoutItem) XXX_DiscardUnknown()
func (*PayoutItem) XXX_Marshal ¶ added in v0.1.4
func (m *PayoutItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayoutItem) XXX_Merge ¶ added in v0.1.4
func (m *PayoutItem) XXX_Merge(src proto.Message)
func (*PayoutItem) XXX_MessageName ¶ added in v0.1.4
func (*PayoutItem) XXX_MessageName() string
func (*PayoutItem) XXX_Size ¶ added in v0.1.4
func (m *PayoutItem) XXX_Size() int
func (*PayoutItem) XXX_Unmarshal ¶ added in v0.1.4
func (m *PayoutItem) XXX_Unmarshal(b []byte) error
type PayoutRequest ¶ added in v0.1.10
type PayoutRequest struct { Payment []*Payment `protobuf:"bytes,1,rep,name=payment,proto3" json:"payment,omitempty" pg:"payment"` SellerAddress []byte `protobuf:"bytes,2,opt,name=seller_address,json=sellerAddress,proto3" json:"seller_address,omitempty" pg:"seller_address"` SellerSignedTime time.Time `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayoutRequest) Descriptor ¶ added in v0.1.10
func (*PayoutRequest) Descriptor() ([]byte, []int)
func (*PayoutRequest) GetPayment ¶ added in v0.1.10
func (m *PayoutRequest) GetPayment() []*Payment
func (*PayoutRequest) GetSellerAddress ¶ added in v0.1.10
func (m *PayoutRequest) GetSellerAddress() []byte
func (*PayoutRequest) GetSellerSignedTime ¶ added in v0.1.10
func (m *PayoutRequest) GetSellerSignedTime() time.Time
func (*PayoutRequest) Marshal ¶ added in v0.1.10
func (m *PayoutRequest) Marshal() (dAtA []byte, err error)
func (*PayoutRequest) MarshalTo ¶ added in v0.1.10
func (m *PayoutRequest) MarshalTo(dAtA []byte) (int, error)
func (*PayoutRequest) MarshalToSizedBuffer ¶ added in v0.1.10
func (m *PayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayoutRequest) ProtoMessage ¶ added in v0.1.10
func (*PayoutRequest) ProtoMessage()
func (*PayoutRequest) Reset ¶ added in v0.1.10
func (m *PayoutRequest) Reset()
func (*PayoutRequest) Size ¶ added in v0.1.10
func (m *PayoutRequest) Size() (n int)
func (*PayoutRequest) String ¶ added in v0.1.10
func (m *PayoutRequest) String() string
func (*PayoutRequest) Unmarshal ¶ added in v0.1.10
func (m *PayoutRequest) Unmarshal(dAtA []byte) error
func (*PayoutRequest) XXX_DiscardUnknown ¶ added in v0.1.10
func (m *PayoutRequest) XXX_DiscardUnknown()
func (*PayoutRequest) XXX_Marshal ¶ added in v0.1.10
func (m *PayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayoutRequest) XXX_Merge ¶ added in v0.1.10
func (m *PayoutRequest) XXX_Merge(src proto.Message)
func (*PayoutRequest) XXX_MessageName ¶ added in v0.1.10
func (*PayoutRequest) XXX_MessageName() string
func (*PayoutRequest) XXX_Size ¶ added in v0.1.10
func (m *PayoutRequest) XXX_Size() int
func (*PayoutRequest) XXX_Unmarshal ¶ added in v0.1.10
func (m *PayoutRequest) XXX_Unmarshal(b []byte) error
type PayoutResult ¶ added in v0.1.4
type PayoutResult struct { Payout []*PayoutItem `protobuf:"bytes,1,rep,name=payout,proto3" json:"payout,omitempty" pg:"payout"` EscrowAddress []byte `protobuf:"bytes,2,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` EscrowSignedTime time.Time `` /* 133-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayoutResult) Descriptor ¶ added in v0.1.4
func (*PayoutResult) Descriptor() ([]byte, []int)
func (*PayoutResult) GetEscrowAddress ¶ added in v0.1.4
func (m *PayoutResult) GetEscrowAddress() []byte
func (*PayoutResult) GetEscrowSignedTime ¶ added in v0.1.4
func (m *PayoutResult) GetEscrowSignedTime() time.Time
func (*PayoutResult) GetPayout ¶ added in v0.1.4
func (m *PayoutResult) GetPayout() []*PayoutItem
func (*PayoutResult) Marshal ¶ added in v0.1.4
func (m *PayoutResult) Marshal() (dAtA []byte, err error)
func (*PayoutResult) MarshalTo ¶ added in v0.1.4
func (m *PayoutResult) MarshalTo(dAtA []byte) (int, error)
func (*PayoutResult) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *PayoutResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayoutResult) ProtoMessage ¶ added in v0.1.4
func (*PayoutResult) ProtoMessage()
func (*PayoutResult) Reset ¶ added in v0.1.4
func (m *PayoutResult) Reset()
func (*PayoutResult) Size ¶ added in v0.1.4
func (m *PayoutResult) Size() (n int)
func (*PayoutResult) String ¶ added in v0.1.4
func (m *PayoutResult) String() string
func (*PayoutResult) Unmarshal ¶ added in v0.1.4
func (m *PayoutResult) Unmarshal(dAtA []byte) error
func (*PayoutResult) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *PayoutResult) XXX_DiscardUnknown()
func (*PayoutResult) XXX_Marshal ¶ added in v0.1.4
func (m *PayoutResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayoutResult) XXX_Merge ¶ added in v0.1.4
func (m *PayoutResult) XXX_Merge(src proto.Message)
func (*PayoutResult) XXX_MessageName ¶ added in v0.1.4
func (*PayoutResult) XXX_MessageName() string
func (*PayoutResult) XXX_Size ¶ added in v0.1.4
func (m *PayoutResult) XXX_Size() int
func (*PayoutResult) XXX_Unmarshal ¶ added in v0.1.4
func (m *PayoutResult) XXX_Unmarshal(b []byte) error
type PayoutStatus ¶
type PayoutStatus struct { ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"` EscrowId int64 `protobuf:"varint,2,opt,name=escrow_id,json=escrowId,proto3" json:"escrow_id,omitempty" pg:"escrow_id"` FromAddress []byte `protobuf:"bytes,3,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" pg:"from_address"` ToAddress []byte `protobuf:"bytes,4,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"` AuthAddress []byte `protobuf:"bytes,5,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty" pg:"auth_address"` Status EscrowStatus `protobuf:"varint,6,opt,name=status,proto3,enum=escrow.EscrowStatus" json:"status,omitempty" pg:"status"` Amount int64 `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"` Collateral int64 `protobuf:"varint,8,opt,name=collateral,proto3" json:"collateral,omitempty" pg:"collateral"` Withhold int64 `protobuf:"varint,9,opt,name=withhold,proto3" json:"withhold,omitempty" pg:"withhold"` PaidAmount int64 `protobuf:"varint,10,opt,name=paid_amount,json=paidAmount,proto3" json:"paid_amount,omitempty" pg:"paid_amount"` NumPaid int32 `protobuf:"varint,11,opt,name=num_paid,json=numPaid,proto3" json:"num_paid,omitempty" pg:"num_paid"` LeftAmount int64 `protobuf:"varint,12,opt,name=left_amount,json=leftAmount,proto3" json:"left_amount,omitempty" pg:"left_amount"` NumLeft int32 `protobuf:"varint,13,opt,name=num_left,json=numLeft,proto3" json:"num_left,omitempty" pg:"num_left"` NextAmount int64 `protobuf:"varint,14,opt,name=next_amount,json=nextAmount,proto3" json:"next_amount,omitempty" pg:"next_amount"` LastPayoutTime time.Time `` /* 126-byte string literal not displayed */ NextPayoutTime time.Time `` /* 126-byte string literal not displayed */ EscrowAddress []byte `protobuf:"bytes,17,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` EscrowSignTime time.Time `` /* 126-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*PayoutStatus) Descriptor ¶
func (*PayoutStatus) Descriptor() ([]byte, []int)
func (*PayoutStatus) GetAmount ¶
func (m *PayoutStatus) GetAmount() int64
func (*PayoutStatus) GetAuthAddress ¶
func (m *PayoutStatus) GetAuthAddress() []byte
func (*PayoutStatus) GetCollateral ¶
func (m *PayoutStatus) GetCollateral() int64
func (*PayoutStatus) GetContractId ¶ added in v0.1.4
func (m *PayoutStatus) GetContractId() string
func (*PayoutStatus) GetEscrowAddress ¶
func (m *PayoutStatus) GetEscrowAddress() []byte
func (*PayoutStatus) GetEscrowId ¶ added in v0.1.4
func (m *PayoutStatus) GetEscrowId() int64
func (*PayoutStatus) GetEscrowSignTime ¶ added in v0.0.8
func (m *PayoutStatus) GetEscrowSignTime() time.Time
func (*PayoutStatus) GetFromAddress ¶
func (m *PayoutStatus) GetFromAddress() []byte
func (*PayoutStatus) GetLastPayoutTime ¶
func (m *PayoutStatus) GetLastPayoutTime() time.Time
func (*PayoutStatus) GetLeftAmount ¶
func (m *PayoutStatus) GetLeftAmount() int64
func (*PayoutStatus) GetNextAmount ¶
func (m *PayoutStatus) GetNextAmount() int64
func (*PayoutStatus) GetNextPayoutTime ¶
func (m *PayoutStatus) GetNextPayoutTime() time.Time
func (*PayoutStatus) GetNumLeft ¶
func (m *PayoutStatus) GetNumLeft() int32
func (*PayoutStatus) GetNumPaid ¶
func (m *PayoutStatus) GetNumPaid() int32
func (*PayoutStatus) GetPaidAmount ¶
func (m *PayoutStatus) GetPaidAmount() int64
func (*PayoutStatus) GetStatus ¶
func (m *PayoutStatus) GetStatus() EscrowStatus
func (*PayoutStatus) GetToAddress ¶
func (m *PayoutStatus) GetToAddress() []byte
func (*PayoutStatus) GetWithhold ¶
func (m *PayoutStatus) GetWithhold() int64
func (*PayoutStatus) Marshal ¶ added in v0.0.13
func (m *PayoutStatus) Marshal() (dAtA []byte, err error)
func (*PayoutStatus) MarshalTo ¶ added in v0.0.13
func (m *PayoutStatus) MarshalTo(dAtA []byte) (int, error)
func (*PayoutStatus) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *PayoutStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PayoutStatus) ProtoMessage ¶
func (*PayoutStatus) ProtoMessage()
func (*PayoutStatus) Reset ¶
func (m *PayoutStatus) Reset()
func (*PayoutStatus) Size ¶ added in v0.0.13
func (m *PayoutStatus) Size() (n int)
func (*PayoutStatus) String ¶
func (m *PayoutStatus) String() string
func (*PayoutStatus) Unmarshal ¶ added in v0.0.13
func (m *PayoutStatus) Unmarshal(dAtA []byte) error
func (*PayoutStatus) XXX_DiscardUnknown ¶
func (m *PayoutStatus) XXX_DiscardUnknown()
func (*PayoutStatus) XXX_Marshal ¶
func (m *PayoutStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PayoutStatus) XXX_Merge ¶
func (m *PayoutStatus) XXX_Merge(src proto.Message)
func (*PayoutStatus) XXX_MessageName ¶ added in v0.0.13
func (*PayoutStatus) XXX_MessageName() string
func (*PayoutStatus) XXX_Size ¶
func (m *PayoutStatus) XXX_Size() int
func (*PayoutStatus) XXX_Unmarshal ¶
func (m *PayoutStatus) XXX_Unmarshal(b []byte) error
type SignedCancelContractResult ¶ added in v0.0.8
type SignedCancelContractResult struct { Result *CancelContractResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" pg:"result"` EscrowSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedCancelContractResult) Descriptor ¶ added in v0.0.8
func (*SignedCancelContractResult) Descriptor() ([]byte, []int)
func (*SignedCancelContractResult) GetEscrowSignature ¶ added in v0.0.8
func (m *SignedCancelContractResult) GetEscrowSignature() []byte
func (*SignedCancelContractResult) GetResult ¶ added in v0.0.8
func (m *SignedCancelContractResult) GetResult() *CancelContractResult
func (*SignedCancelContractResult) Marshal ¶ added in v0.0.13
func (m *SignedCancelContractResult) Marshal() (dAtA []byte, err error)
func (*SignedCancelContractResult) MarshalTo ¶ added in v0.0.13
func (m *SignedCancelContractResult) MarshalTo(dAtA []byte) (int, error)
func (*SignedCancelContractResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedCancelContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedCancelContractResult) ProtoMessage ¶ added in v0.0.8
func (*SignedCancelContractResult) ProtoMessage()
func (*SignedCancelContractResult) Reset ¶ added in v0.0.8
func (m *SignedCancelContractResult) Reset()
func (*SignedCancelContractResult) Size ¶ added in v0.0.13
func (m *SignedCancelContractResult) Size() (n int)
func (*SignedCancelContractResult) String ¶ added in v0.0.8
func (m *SignedCancelContractResult) String() string
func (*SignedCancelContractResult) Unmarshal ¶ added in v0.0.13
func (m *SignedCancelContractResult) Unmarshal(dAtA []byte) error
func (*SignedCancelContractResult) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SignedCancelContractResult) XXX_DiscardUnknown()
func (*SignedCancelContractResult) XXX_Marshal ¶ added in v0.0.8
func (m *SignedCancelContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedCancelContractResult) XXX_Merge ¶ added in v0.0.8
func (m *SignedCancelContractResult) XXX_Merge(src proto.Message)
func (*SignedCancelContractResult) XXX_MessageName ¶ added in v0.0.13
func (*SignedCancelContractResult) XXX_MessageName() string
func (*SignedCancelContractResult) XXX_Size ¶ added in v0.0.8
func (m *SignedCancelContractResult) XXX_Size() int
func (*SignedCancelContractResult) XXX_Unmarshal ¶ added in v0.0.8
func (m *SignedCancelContractResult) XXX_Unmarshal(b []byte) error
type SignedCancelRequest ¶ added in v0.0.8
type SignedCancelRequest struct { Request *CancelContractRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty" pg:"request"` AuthSignature []byte `protobuf:"bytes,2,opt,name=auth_signature,json=authSignature,proto3" json:"auth_signature,omitempty" pg:"auth_signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedCancelRequest) Descriptor ¶ added in v0.0.8
func (*SignedCancelRequest) Descriptor() ([]byte, []int)
func (*SignedCancelRequest) GetAuthSignature ¶ added in v0.0.8
func (m *SignedCancelRequest) GetAuthSignature() []byte
func (*SignedCancelRequest) GetRequest ¶ added in v0.0.8
func (m *SignedCancelRequest) GetRequest() *CancelContractRequest
func (*SignedCancelRequest) Marshal ¶ added in v0.0.13
func (m *SignedCancelRequest) Marshal() (dAtA []byte, err error)
func (*SignedCancelRequest) MarshalTo ¶ added in v0.0.13
func (m *SignedCancelRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignedCancelRequest) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedCancelRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedCancelRequest) ProtoMessage ¶ added in v0.0.8
func (*SignedCancelRequest) ProtoMessage()
func (*SignedCancelRequest) Reset ¶ added in v0.0.8
func (m *SignedCancelRequest) Reset()
func (*SignedCancelRequest) Size ¶ added in v0.0.13
func (m *SignedCancelRequest) Size() (n int)
func (*SignedCancelRequest) String ¶ added in v0.0.8
func (m *SignedCancelRequest) String() string
func (*SignedCancelRequest) Unmarshal ¶ added in v0.0.13
func (m *SignedCancelRequest) Unmarshal(dAtA []byte) error
func (*SignedCancelRequest) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SignedCancelRequest) XXX_DiscardUnknown()
func (*SignedCancelRequest) XXX_Marshal ¶ added in v0.0.8
func (m *SignedCancelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedCancelRequest) XXX_Merge ¶ added in v0.0.8
func (m *SignedCancelRequest) XXX_Merge(src proto.Message)
func (*SignedCancelRequest) XXX_MessageName ¶ added in v0.0.13
func (*SignedCancelRequest) XXX_MessageName() string
func (*SignedCancelRequest) XXX_Size ¶ added in v0.0.8
func (m *SignedCancelRequest) XXX_Size() int
func (*SignedCancelRequest) XXX_Unmarshal ¶ added in v0.0.8
func (m *SignedCancelRequest) XXX_Unmarshal(b []byte) error
type SignedContractID ¶ added in v0.0.8
type SignedContractID struct { Data *ContractID `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" pg:"data"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedContractID) Descriptor ¶ added in v0.0.8
func (*SignedContractID) Descriptor() ([]byte, []int)
func (*SignedContractID) GetData ¶ added in v0.0.8
func (m *SignedContractID) GetData() *ContractID
func (*SignedContractID) GetSignature ¶ added in v0.0.8
func (m *SignedContractID) GetSignature() []byte
func (*SignedContractID) Marshal ¶ added in v0.0.13
func (m *SignedContractID) Marshal() (dAtA []byte, err error)
func (*SignedContractID) MarshalTo ¶ added in v0.0.13
func (m *SignedContractID) MarshalTo(dAtA []byte) (int, error)
func (*SignedContractID) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedContractID) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedContractID) ProtoMessage ¶ added in v0.0.8
func (*SignedContractID) ProtoMessage()
func (*SignedContractID) Reset ¶ added in v0.0.8
func (m *SignedContractID) Reset()
func (*SignedContractID) Size ¶ added in v0.0.13
func (m *SignedContractID) Size() (n int)
func (*SignedContractID) String ¶ added in v0.0.8
func (m *SignedContractID) String() string
func (*SignedContractID) Unmarshal ¶ added in v0.0.13
func (m *SignedContractID) Unmarshal(dAtA []byte) error
func (*SignedContractID) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SignedContractID) XXX_DiscardUnknown()
func (*SignedContractID) XXX_Marshal ¶ added in v0.0.8
func (m *SignedContractID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedContractID) XXX_Merge ¶ added in v0.0.8
func (m *SignedContractID) XXX_Merge(src proto.Message)
func (*SignedContractID) XXX_MessageName ¶ added in v0.0.13
func (*SignedContractID) XXX_MessageName() string
func (*SignedContractID) XXX_Size ¶ added in v0.0.8
func (m *SignedContractID) XXX_Size() int
func (*SignedContractID) XXX_Unmarshal ¶ added in v0.0.8
func (m *SignedContractID) XXX_Unmarshal(b []byte) error
type SignedEscrowContract ¶
type SignedEscrowContract struct { Contract *EscrowContract `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty" pg:"contract"` BuyerSignature []byte `protobuf:"bytes,2,opt,name=buyer_signature,json=buyerSignature,proto3" json:"buyer_signature,omitempty" pg:"buyer_signature"` SellerSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedEscrowContract) Descriptor ¶
func (*SignedEscrowContract) Descriptor() ([]byte, []int)
func (*SignedEscrowContract) GetBuyerSignature ¶
func (m *SignedEscrowContract) GetBuyerSignature() []byte
func (*SignedEscrowContract) GetContract ¶
func (m *SignedEscrowContract) GetContract() *EscrowContract
func (*SignedEscrowContract) GetSellerSignature ¶
func (m *SignedEscrowContract) GetSellerSignature() []byte
func (*SignedEscrowContract) Marshal ¶ added in v0.0.13
func (m *SignedEscrowContract) Marshal() (dAtA []byte, err error)
func (*SignedEscrowContract) MarshalTo ¶ added in v0.0.13
func (m *SignedEscrowContract) MarshalTo(dAtA []byte) (int, error)
func (*SignedEscrowContract) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedEscrowContract) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedEscrowContract) ProtoMessage ¶
func (*SignedEscrowContract) ProtoMessage()
func (*SignedEscrowContract) Reset ¶
func (m *SignedEscrowContract) Reset()
func (*SignedEscrowContract) Size ¶ added in v0.0.13
func (m *SignedEscrowContract) Size() (n int)
func (*SignedEscrowContract) String ¶
func (m *SignedEscrowContract) String() string
func (*SignedEscrowContract) Unmarshal ¶ added in v0.0.13
func (m *SignedEscrowContract) Unmarshal(dAtA []byte) error
func (*SignedEscrowContract) XXX_DiscardUnknown ¶
func (m *SignedEscrowContract) XXX_DiscardUnknown()
func (*SignedEscrowContract) XXX_Marshal ¶
func (m *SignedEscrowContract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedEscrowContract) XXX_Merge ¶
func (m *SignedEscrowContract) XXX_Merge(src proto.Message)
func (*SignedEscrowContract) XXX_MessageName ¶ added in v0.0.13
func (*SignedEscrowContract) XXX_MessageName() string
func (*SignedEscrowContract) XXX_Size ¶
func (m *SignedEscrowContract) XXX_Size() int
func (*SignedEscrowContract) XXX_Unmarshal ¶
func (m *SignedEscrowContract) XXX_Unmarshal(b []byte) error
type SignedPayinRequest ¶ added in v0.1.10
type SignedPayinRequest struct { Request *PayinRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty" pg:"request"` BuyerSignature []byte `protobuf:"bytes,2,opt,name=buyer_signature,json=buyerSignature,proto3" json:"buyer_signature,omitempty" pg:"buyer_signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPayinRequest) Descriptor ¶ added in v0.1.10
func (*SignedPayinRequest) Descriptor() ([]byte, []int)
func (*SignedPayinRequest) GetBuyerSignature ¶ added in v0.1.10
func (m *SignedPayinRequest) GetBuyerSignature() []byte
func (*SignedPayinRequest) GetRequest ¶ added in v0.1.10
func (m *SignedPayinRequest) GetRequest() *PayinRequest
func (*SignedPayinRequest) Marshal ¶ added in v0.1.10
func (m *SignedPayinRequest) Marshal() (dAtA []byte, err error)
func (*SignedPayinRequest) MarshalTo ¶ added in v0.1.10
func (m *SignedPayinRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignedPayinRequest) MarshalToSizedBuffer ¶ added in v0.1.10
func (m *SignedPayinRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPayinRequest) ProtoMessage ¶ added in v0.1.10
func (*SignedPayinRequest) ProtoMessage()
func (*SignedPayinRequest) Reset ¶ added in v0.1.10
func (m *SignedPayinRequest) Reset()
func (*SignedPayinRequest) Size ¶ added in v0.1.10
func (m *SignedPayinRequest) Size() (n int)
func (*SignedPayinRequest) String ¶ added in v0.1.10
func (m *SignedPayinRequest) String() string
func (*SignedPayinRequest) Unmarshal ¶ added in v0.1.10
func (m *SignedPayinRequest) Unmarshal(dAtA []byte) error
func (*SignedPayinRequest) XXX_DiscardUnknown ¶ added in v0.1.10
func (m *SignedPayinRequest) XXX_DiscardUnknown()
func (*SignedPayinRequest) XXX_Marshal ¶ added in v0.1.10
func (m *SignedPayinRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPayinRequest) XXX_Merge ¶ added in v0.1.10
func (m *SignedPayinRequest) XXX_Merge(src proto.Message)
func (*SignedPayinRequest) XXX_MessageName ¶ added in v0.1.10
func (*SignedPayinRequest) XXX_MessageName() string
func (*SignedPayinRequest) XXX_Size ¶ added in v0.1.10
func (m *SignedPayinRequest) XXX_Size() int
func (*SignedPayinRequest) XXX_Unmarshal ¶ added in v0.1.10
func (m *SignedPayinRequest) XXX_Unmarshal(b []byte) error
type SignedPayinResult ¶ added in v0.0.8
type SignedPayinResult struct { Result *PayinResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" pg:"result"` EscrowSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPayinResult) Descriptor ¶ added in v0.0.8
func (*SignedPayinResult) Descriptor() ([]byte, []int)
func (*SignedPayinResult) GetEscrowSignature ¶ added in v0.0.8
func (m *SignedPayinResult) GetEscrowSignature() []byte
func (*SignedPayinResult) GetResult ¶ added in v0.0.8
func (m *SignedPayinResult) GetResult() *PayinResult
func (*SignedPayinResult) Marshal ¶ added in v0.0.13
func (m *SignedPayinResult) Marshal() (dAtA []byte, err error)
func (*SignedPayinResult) MarshalTo ¶ added in v0.0.13
func (m *SignedPayinResult) MarshalTo(dAtA []byte) (int, error)
func (*SignedPayinResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedPayinResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPayinResult) ProtoMessage ¶ added in v0.0.8
func (*SignedPayinResult) ProtoMessage()
func (*SignedPayinResult) Reset ¶ added in v0.0.8
func (m *SignedPayinResult) Reset()
func (*SignedPayinResult) Size ¶ added in v0.0.13
func (m *SignedPayinResult) Size() (n int)
func (*SignedPayinResult) String ¶ added in v0.0.8
func (m *SignedPayinResult) String() string
func (*SignedPayinResult) Unmarshal ¶ added in v0.0.13
func (m *SignedPayinResult) Unmarshal(dAtA []byte) error
func (*SignedPayinResult) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SignedPayinResult) XXX_DiscardUnknown()
func (*SignedPayinResult) XXX_Marshal ¶ added in v0.0.8
func (m *SignedPayinResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPayinResult) XXX_Merge ¶ added in v0.0.8
func (m *SignedPayinResult) XXX_Merge(src proto.Message)
func (*SignedPayinResult) XXX_MessageName ¶ added in v0.0.13
func (*SignedPayinResult) XXX_MessageName() string
func (*SignedPayinResult) XXX_Size ¶ added in v0.0.8
func (m *SignedPayinResult) XXX_Size() int
func (*SignedPayinResult) XXX_Unmarshal ¶ added in v0.0.8
func (m *SignedPayinResult) XXX_Unmarshal(b []byte) error
type SignedPayinStatus ¶ added in v0.0.8
type SignedPayinStatus struct { Status *PayinStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" pg:"status"` EscrowSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPayinStatus) Descriptor ¶ added in v0.0.8
func (*SignedPayinStatus) Descriptor() ([]byte, []int)
func (*SignedPayinStatus) GetEscrowSignature ¶ added in v0.0.8
func (m *SignedPayinStatus) GetEscrowSignature() []byte
func (*SignedPayinStatus) GetStatus ¶ added in v0.0.8
func (m *SignedPayinStatus) GetStatus() *PayinStatus
func (*SignedPayinStatus) Marshal ¶ added in v0.0.13
func (m *SignedPayinStatus) Marshal() (dAtA []byte, err error)
func (*SignedPayinStatus) MarshalTo ¶ added in v0.0.13
func (m *SignedPayinStatus) MarshalTo(dAtA []byte) (int, error)
func (*SignedPayinStatus) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedPayinStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPayinStatus) ProtoMessage ¶ added in v0.0.8
func (*SignedPayinStatus) ProtoMessage()
func (*SignedPayinStatus) Reset ¶ added in v0.0.8
func (m *SignedPayinStatus) Reset()
func (*SignedPayinStatus) Size ¶ added in v0.0.13
func (m *SignedPayinStatus) Size() (n int)
func (*SignedPayinStatus) String ¶ added in v0.0.8
func (m *SignedPayinStatus) String() string
func (*SignedPayinStatus) Unmarshal ¶ added in v0.0.13
func (m *SignedPayinStatus) Unmarshal(dAtA []byte) error
func (*SignedPayinStatus) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SignedPayinStatus) XXX_DiscardUnknown()
func (*SignedPayinStatus) XXX_Marshal ¶ added in v0.0.8
func (m *SignedPayinStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPayinStatus) XXX_Merge ¶ added in v0.0.8
func (m *SignedPayinStatus) XXX_Merge(src proto.Message)
func (*SignedPayinStatus) XXX_MessageName ¶ added in v0.0.13
func (*SignedPayinStatus) XXX_MessageName() string
func (*SignedPayinStatus) XXX_Size ¶ added in v0.0.8
func (m *SignedPayinStatus) XXX_Size() int
func (*SignedPayinStatus) XXX_Unmarshal ¶ added in v0.0.8
func (m *SignedPayinStatus) XXX_Unmarshal(b []byte) error
type SignedPaymentResult ¶ added in v0.1.4
type SignedPaymentResult struct { Result *PaymentResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" pg:"result"` EscrowSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPaymentResult) Descriptor ¶ added in v0.1.4
func (*SignedPaymentResult) Descriptor() ([]byte, []int)
func (*SignedPaymentResult) GetEscrowSignature ¶ added in v0.1.4
func (m *SignedPaymentResult) GetEscrowSignature() []byte
func (*SignedPaymentResult) GetResult ¶ added in v0.1.4
func (m *SignedPaymentResult) GetResult() *PaymentResult
func (*SignedPaymentResult) Marshal ¶ added in v0.1.4
func (m *SignedPaymentResult) Marshal() (dAtA []byte, err error)
func (*SignedPaymentResult) MarshalTo ¶ added in v0.1.4
func (m *SignedPaymentResult) MarshalTo(dAtA []byte) (int, error)
func (*SignedPaymentResult) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *SignedPaymentResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPaymentResult) ProtoMessage ¶ added in v0.1.4
func (*SignedPaymentResult) ProtoMessage()
func (*SignedPaymentResult) Reset ¶ added in v0.1.4
func (m *SignedPaymentResult) Reset()
func (*SignedPaymentResult) Size ¶ added in v0.1.4
func (m *SignedPaymentResult) Size() (n int)
func (*SignedPaymentResult) String ¶ added in v0.1.4
func (m *SignedPaymentResult) String() string
func (*SignedPaymentResult) Unmarshal ¶ added in v0.1.4
func (m *SignedPaymentResult) Unmarshal(dAtA []byte) error
func (*SignedPaymentResult) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *SignedPaymentResult) XXX_DiscardUnknown()
func (*SignedPaymentResult) XXX_Marshal ¶ added in v0.1.4
func (m *SignedPaymentResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPaymentResult) XXX_Merge ¶ added in v0.1.4
func (m *SignedPaymentResult) XXX_Merge(src proto.Message)
func (*SignedPaymentResult) XXX_MessageName ¶ added in v0.1.4
func (*SignedPaymentResult) XXX_MessageName() string
func (*SignedPaymentResult) XXX_Size ¶ added in v0.1.4
func (m *SignedPaymentResult) XXX_Size() int
func (*SignedPaymentResult) XXX_Unmarshal ¶ added in v0.1.4
func (m *SignedPaymentResult) XXX_Unmarshal(b []byte) error
type SignedPayoutAddress ¶ added in v0.1.4
type SignedPayoutAddress struct { Address *PayoutAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty" pg:"address"` Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty" pg:"signature"` XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPayoutAddress) Descriptor ¶ added in v0.1.4
func (*SignedPayoutAddress) Descriptor() ([]byte, []int)
func (*SignedPayoutAddress) GetAddress ¶ added in v0.1.4
func (m *SignedPayoutAddress) GetAddress() *PayoutAddress
func (*SignedPayoutAddress) GetSignature ¶ added in v0.1.4
func (m *SignedPayoutAddress) GetSignature() []byte
func (*SignedPayoutAddress) Marshal ¶ added in v0.1.4
func (m *SignedPayoutAddress) Marshal() (dAtA []byte, err error)
func (*SignedPayoutAddress) MarshalTo ¶ added in v0.1.4
func (m *SignedPayoutAddress) MarshalTo(dAtA []byte) (int, error)
func (*SignedPayoutAddress) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *SignedPayoutAddress) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPayoutAddress) ProtoMessage ¶ added in v0.1.4
func (*SignedPayoutAddress) ProtoMessage()
func (*SignedPayoutAddress) Reset ¶ added in v0.1.4
func (m *SignedPayoutAddress) Reset()
func (*SignedPayoutAddress) Size ¶ added in v0.1.4
func (m *SignedPayoutAddress) Size() (n int)
func (*SignedPayoutAddress) String ¶ added in v0.1.4
func (m *SignedPayoutAddress) String() string
func (*SignedPayoutAddress) Unmarshal ¶ added in v0.1.4
func (m *SignedPayoutAddress) Unmarshal(dAtA []byte) error
func (*SignedPayoutAddress) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *SignedPayoutAddress) XXX_DiscardUnknown()
func (*SignedPayoutAddress) XXX_Marshal ¶ added in v0.1.4
func (m *SignedPayoutAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPayoutAddress) XXX_Merge ¶ added in v0.1.4
func (m *SignedPayoutAddress) XXX_Merge(src proto.Message)
func (*SignedPayoutAddress) XXX_MessageName ¶ added in v0.1.4
func (*SignedPayoutAddress) XXX_MessageName() string
func (*SignedPayoutAddress) XXX_Size ¶ added in v0.1.4
func (m *SignedPayoutAddress) XXX_Size() int
func (*SignedPayoutAddress) XXX_Unmarshal ¶ added in v0.1.4
func (m *SignedPayoutAddress) XXX_Unmarshal(b []byte) error
type SignedPayoutRequest ¶ added in v0.1.10
type SignedPayoutRequest struct { Request *PayoutRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty" pg:"request"` SellerSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPayoutRequest) Descriptor ¶ added in v0.1.10
func (*SignedPayoutRequest) Descriptor() ([]byte, []int)
func (*SignedPayoutRequest) GetRequest ¶ added in v0.1.10
func (m *SignedPayoutRequest) GetRequest() *PayoutRequest
func (*SignedPayoutRequest) GetSellerSignature ¶ added in v0.1.10
func (m *SignedPayoutRequest) GetSellerSignature() []byte
func (*SignedPayoutRequest) Marshal ¶ added in v0.1.10
func (m *SignedPayoutRequest) Marshal() (dAtA []byte, err error)
func (*SignedPayoutRequest) MarshalTo ¶ added in v0.1.10
func (m *SignedPayoutRequest) MarshalTo(dAtA []byte) (int, error)
func (*SignedPayoutRequest) MarshalToSizedBuffer ¶ added in v0.1.10
func (m *SignedPayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPayoutRequest) ProtoMessage ¶ added in v0.1.10
func (*SignedPayoutRequest) ProtoMessage()
func (*SignedPayoutRequest) Reset ¶ added in v0.1.10
func (m *SignedPayoutRequest) Reset()
func (*SignedPayoutRequest) Size ¶ added in v0.1.10
func (m *SignedPayoutRequest) Size() (n int)
func (*SignedPayoutRequest) String ¶ added in v0.1.10
func (m *SignedPayoutRequest) String() string
func (*SignedPayoutRequest) Unmarshal ¶ added in v0.1.10
func (m *SignedPayoutRequest) Unmarshal(dAtA []byte) error
func (*SignedPayoutRequest) XXX_DiscardUnknown ¶ added in v0.1.10
func (m *SignedPayoutRequest) XXX_DiscardUnknown()
func (*SignedPayoutRequest) XXX_Marshal ¶ added in v0.1.10
func (m *SignedPayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPayoutRequest) XXX_Merge ¶ added in v0.1.10
func (m *SignedPayoutRequest) XXX_Merge(src proto.Message)
func (*SignedPayoutRequest) XXX_MessageName ¶ added in v0.1.10
func (*SignedPayoutRequest) XXX_MessageName() string
func (*SignedPayoutRequest) XXX_Size ¶ added in v0.1.10
func (m *SignedPayoutRequest) XXX_Size() int
func (*SignedPayoutRequest) XXX_Unmarshal ¶ added in v0.1.10
func (m *SignedPayoutRequest) XXX_Unmarshal(b []byte) error
type SignedPayoutResult ¶ added in v0.1.4
type SignedPayoutResult struct { Result *PayoutResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" pg:"result"` EscrowSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPayoutResult) Descriptor ¶ added in v0.1.4
func (*SignedPayoutResult) Descriptor() ([]byte, []int)
func (*SignedPayoutResult) GetEscrowSignature ¶ added in v0.1.4
func (m *SignedPayoutResult) GetEscrowSignature() []byte
func (*SignedPayoutResult) GetResult ¶ added in v0.1.4
func (m *SignedPayoutResult) GetResult() *PayoutResult
func (*SignedPayoutResult) Marshal ¶ added in v0.1.4
func (m *SignedPayoutResult) Marshal() (dAtA []byte, err error)
func (*SignedPayoutResult) MarshalTo ¶ added in v0.1.4
func (m *SignedPayoutResult) MarshalTo(dAtA []byte) (int, error)
func (*SignedPayoutResult) MarshalToSizedBuffer ¶ added in v0.1.4
func (m *SignedPayoutResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPayoutResult) ProtoMessage ¶ added in v0.1.4
func (*SignedPayoutResult) ProtoMessage()
func (*SignedPayoutResult) Reset ¶ added in v0.1.4
func (m *SignedPayoutResult) Reset()
func (*SignedPayoutResult) Size ¶ added in v0.1.4
func (m *SignedPayoutResult) Size() (n int)
func (*SignedPayoutResult) String ¶ added in v0.1.4
func (m *SignedPayoutResult) String() string
func (*SignedPayoutResult) Unmarshal ¶ added in v0.1.4
func (m *SignedPayoutResult) Unmarshal(dAtA []byte) error
func (*SignedPayoutResult) XXX_DiscardUnknown ¶ added in v0.1.4
func (m *SignedPayoutResult) XXX_DiscardUnknown()
func (*SignedPayoutResult) XXX_Marshal ¶ added in v0.1.4
func (m *SignedPayoutResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPayoutResult) XXX_Merge ¶ added in v0.1.4
func (m *SignedPayoutResult) XXX_Merge(src proto.Message)
func (*SignedPayoutResult) XXX_MessageName ¶ added in v0.1.4
func (*SignedPayoutResult) XXX_MessageName() string
func (*SignedPayoutResult) XXX_Size ¶ added in v0.1.4
func (m *SignedPayoutResult) XXX_Size() int
func (*SignedPayoutResult) XXX_Unmarshal ¶ added in v0.1.4
func (m *SignedPayoutResult) XXX_Unmarshal(b []byte) error
type SignedPayoutStatus ¶ added in v0.0.8
type SignedPayoutStatus struct { Status *PayoutStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" pg:"status"` EscrowSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedPayoutStatus) Descriptor ¶ added in v0.0.8
func (*SignedPayoutStatus) Descriptor() ([]byte, []int)
func (*SignedPayoutStatus) GetEscrowSignature ¶ added in v0.0.8
func (m *SignedPayoutStatus) GetEscrowSignature() []byte
func (*SignedPayoutStatus) GetStatus ¶ added in v0.0.8
func (m *SignedPayoutStatus) GetStatus() *PayoutStatus
func (*SignedPayoutStatus) Marshal ¶ added in v0.0.13
func (m *SignedPayoutStatus) Marshal() (dAtA []byte, err error)
func (*SignedPayoutStatus) MarshalTo ¶ added in v0.0.13
func (m *SignedPayoutStatus) MarshalTo(dAtA []byte) (int, error)
func (*SignedPayoutStatus) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedPayoutStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedPayoutStatus) ProtoMessage ¶ added in v0.0.8
func (*SignedPayoutStatus) ProtoMessage()
func (*SignedPayoutStatus) Reset ¶ added in v0.0.8
func (m *SignedPayoutStatus) Reset()
func (*SignedPayoutStatus) Size ¶ added in v0.0.13
func (m *SignedPayoutStatus) Size() (n int)
func (*SignedPayoutStatus) String ¶ added in v0.0.8
func (m *SignedPayoutStatus) String() string
func (*SignedPayoutStatus) Unmarshal ¶ added in v0.0.13
func (m *SignedPayoutStatus) Unmarshal(dAtA []byte) error
func (*SignedPayoutStatus) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SignedPayoutStatus) XXX_DiscardUnknown()
func (*SignedPayoutStatus) XXX_Marshal ¶ added in v0.0.8
func (m *SignedPayoutStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedPayoutStatus) XXX_Merge ¶ added in v0.0.8
func (m *SignedPayoutStatus) XXX_Merge(src proto.Message)
func (*SignedPayoutStatus) XXX_MessageName ¶ added in v0.0.13
func (*SignedPayoutStatus) XXX_MessageName() string
func (*SignedPayoutStatus) XXX_Size ¶ added in v0.0.8
func (m *SignedPayoutStatus) XXX_Size() int
func (*SignedPayoutStatus) XXX_Unmarshal ¶ added in v0.0.8
func (m *SignedPayoutStatus) XXX_Unmarshal(b []byte) error
type SignedSubmitContractResult ¶ added in v0.0.8
type SignedSubmitContractResult struct { Result *SubmitContractResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" pg:"result"` EscrowSignature []byte `` /* 128-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SignedSubmitContractResult) Descriptor ¶ added in v0.0.8
func (*SignedSubmitContractResult) Descriptor() ([]byte, []int)
func (*SignedSubmitContractResult) GetEscrowSignature ¶ added in v0.0.8
func (m *SignedSubmitContractResult) GetEscrowSignature() []byte
func (*SignedSubmitContractResult) GetResult ¶ added in v0.0.8
func (m *SignedSubmitContractResult) GetResult() *SubmitContractResult
func (*SignedSubmitContractResult) Marshal ¶ added in v0.0.13
func (m *SignedSubmitContractResult) Marshal() (dAtA []byte, err error)
func (*SignedSubmitContractResult) MarshalTo ¶ added in v0.0.13
func (m *SignedSubmitContractResult) MarshalTo(dAtA []byte) (int, error)
func (*SignedSubmitContractResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SignedSubmitContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignedSubmitContractResult) ProtoMessage ¶ added in v0.0.8
func (*SignedSubmitContractResult) ProtoMessage()
func (*SignedSubmitContractResult) Reset ¶ added in v0.0.8
func (m *SignedSubmitContractResult) Reset()
func (*SignedSubmitContractResult) Size ¶ added in v0.0.13
func (m *SignedSubmitContractResult) Size() (n int)
func (*SignedSubmitContractResult) String ¶ added in v0.0.8
func (m *SignedSubmitContractResult) String() string
func (*SignedSubmitContractResult) Unmarshal ¶ added in v0.0.13
func (m *SignedSubmitContractResult) Unmarshal(dAtA []byte) error
func (*SignedSubmitContractResult) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SignedSubmitContractResult) XXX_DiscardUnknown()
func (*SignedSubmitContractResult) XXX_Marshal ¶ added in v0.0.8
func (m *SignedSubmitContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignedSubmitContractResult) XXX_Merge ¶ added in v0.0.8
func (m *SignedSubmitContractResult) XXX_Merge(src proto.Message)
func (*SignedSubmitContractResult) XXX_MessageName ¶ added in v0.0.13
func (*SignedSubmitContractResult) XXX_MessageName() string
func (*SignedSubmitContractResult) XXX_Size ¶ added in v0.0.8
func (m *SignedSubmitContractResult) XXX_Size() int
func (*SignedSubmitContractResult) XXX_Unmarshal ¶ added in v0.0.8
func (m *SignedSubmitContractResult) XXX_Unmarshal(b []byte) error
type SubmitContractResult ¶ added in v0.0.8
type SubmitContractResult struct { PayinId string `protobuf:"bytes,1,opt,name=payin_id,json=payinId,proto3" json:"payin_id,omitempty" pg:"payin_id"` Escrow []*Escrow `protobuf:"bytes,2,rep,name=escrow,proto3" json:"escrow,omitempty" pg:"escrow"` EscrowAddress []byte `protobuf:"bytes,3,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"` EscrowSignedTime time.Time `` /* 133-byte string literal not displayed */ BuyerChannelState *ledger.SignedChannelState `` /* 139-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"` XXX_unrecognized []byte `json:"-" pg:"-"` XXX_sizecache int32 `json:"-" pg:"-"` }
func (*SubmitContractResult) Descriptor ¶ added in v0.0.8
func (*SubmitContractResult) Descriptor() ([]byte, []int)
func (*SubmitContractResult) GetBuyerChannelState ¶ added in v0.0.12
func (m *SubmitContractResult) GetBuyerChannelState() *ledger.SignedChannelState
func (*SubmitContractResult) GetEscrow ¶ added in v0.0.8
func (m *SubmitContractResult) GetEscrow() []*Escrow
func (*SubmitContractResult) GetEscrowAddress ¶ added in v0.0.8
func (m *SubmitContractResult) GetEscrowAddress() []byte
func (*SubmitContractResult) GetEscrowSignedTime ¶ added in v0.0.8
func (m *SubmitContractResult) GetEscrowSignedTime() time.Time
func (*SubmitContractResult) GetPayinId ¶ added in v0.0.8
func (m *SubmitContractResult) GetPayinId() string
func (*SubmitContractResult) Marshal ¶ added in v0.0.13
func (m *SubmitContractResult) Marshal() (dAtA []byte, err error)
func (*SubmitContractResult) MarshalTo ¶ added in v0.0.13
func (m *SubmitContractResult) MarshalTo(dAtA []byte) (int, error)
func (*SubmitContractResult) MarshalToSizedBuffer ¶ added in v0.0.13
func (m *SubmitContractResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubmitContractResult) ProtoMessage ¶ added in v0.0.8
func (*SubmitContractResult) ProtoMessage()
func (*SubmitContractResult) Reset ¶ added in v0.0.8
func (m *SubmitContractResult) Reset()
func (*SubmitContractResult) Size ¶ added in v0.0.13
func (m *SubmitContractResult) Size() (n int)
func (*SubmitContractResult) String ¶ added in v0.0.8
func (m *SubmitContractResult) String() string
func (*SubmitContractResult) Unmarshal ¶ added in v0.0.13
func (m *SubmitContractResult) Unmarshal(dAtA []byte) error
func (*SubmitContractResult) XXX_DiscardUnknown ¶ added in v0.0.8
func (m *SubmitContractResult) XXX_DiscardUnknown()
func (*SubmitContractResult) XXX_Marshal ¶ added in v0.0.8
func (m *SubmitContractResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitContractResult) XXX_Merge ¶ added in v0.0.8
func (m *SubmitContractResult) XXX_Merge(src proto.Message)
func (*SubmitContractResult) XXX_MessageName ¶ added in v0.0.13
func (*SubmitContractResult) XXX_MessageName() string
func (*SubmitContractResult) XXX_Size ¶ added in v0.0.8
func (m *SubmitContractResult) XXX_Size() int
func (*SubmitContractResult) XXX_Unmarshal ¶ added in v0.0.8
func (m *SubmitContractResult) XXX_Unmarshal(b []byte) error
type TokenType ¶
type TokenType int32
const (
TokenType_BTT TokenType = 0
)
func (TokenType) EnumDescriptor ¶
type UnimplementedEscrowServiceServer ¶
type UnimplementedEscrowServiceServer struct { }
UnimplementedEscrowServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEscrowServiceServer) CancelContracts ¶
func (*UnimplementedEscrowServiceServer) CancelContracts(ctx context.Context, req *SignedCancelRequest) (*SignedCancelContractResult, error)
func (*UnimplementedEscrowServiceServer) GetPayOutStatus ¶
func (*UnimplementedEscrowServiceServer) GetPayOutStatus(ctx context.Context, req *SignedContractID) (*SignedPayoutStatus, error)
func (*UnimplementedEscrowServiceServer) IsPaid ¶
func (*UnimplementedEscrowServiceServer) IsPaid(ctx context.Context, req *SignedContractID) (*SignedPayinStatus, error)
func (*UnimplementedEscrowServiceServer) MyPayment ¶ added in v0.1.4
func (*UnimplementedEscrowServiceServer) MyPayment(ctx context.Context, req *SignedPayoutAddress) (*SignedPaymentResult, error)
func (*UnimplementedEscrowServiceServer) PayIn ¶
func (*UnimplementedEscrowServiceServer) PayIn(ctx context.Context, req *SignedPayinRequest) (*SignedPayinResult, error)
func (*UnimplementedEscrowServiceServer) PayOut ¶ added in v0.1.4
func (*UnimplementedEscrowServiceServer) PayOut(ctx context.Context, req *SignedPayoutRequest) (*SignedPayoutResult, error)
func (*UnimplementedEscrowServiceServer) SubmitContracts ¶
func (*UnimplementedEscrowServiceServer) SubmitContracts(ctx context.Context, req *EscrowContractRequest) (*SignedSubmitContractResult, error)
Click to show internal directories.
Click to hide internal directories.