escrow

package
v0.2.28 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 15 Imported by: 5

Documentation

Index

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",
	3: "CUSTOMIZED",
}
View Source
var Schedule_value = map[string]int32{
	"MONTHLY":    0,
	"QUARTERLY":  1,
	"ANNUALLY":   2,
	"CUSTOMIZED": 3,
}
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 BalanceResult added in v0.2.9

type BalanceResult struct {
	Balance              int64     `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty" pg:"balance"`
	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 (*BalanceResult) Descriptor added in v0.2.9

func (*BalanceResult) Descriptor() ([]byte, []int)

func (*BalanceResult) GetBalance added in v0.2.9

func (m *BalanceResult) GetBalance() int64

func (*BalanceResult) GetEscrowAddress added in v0.2.9

func (m *BalanceResult) GetEscrowAddress() []byte

func (*BalanceResult) GetEscrowSignedTime added in v0.2.9

func (m *BalanceResult) GetEscrowSignedTime() time.Time

func (*BalanceResult) Marshal added in v0.2.9

func (m *BalanceResult) Marshal() (dAtA []byte, err error)

func (*BalanceResult) MarshalTo added in v0.2.9

func (m *BalanceResult) MarshalTo(dAtA []byte) (int, error)

func (*BalanceResult) MarshalToSizedBuffer added in v0.2.9

func (m *BalanceResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BalanceResult) ProtoMessage added in v0.2.9

func (*BalanceResult) ProtoMessage()

func (*BalanceResult) Reset added in v0.2.9

func (m *BalanceResult) Reset()

func (*BalanceResult) Size added in v0.2.9

func (m *BalanceResult) Size() (n int)

func (*BalanceResult) String added in v0.2.9

func (m *BalanceResult) String() string

func (*BalanceResult) Unmarshal added in v0.2.9

func (m *BalanceResult) Unmarshal(dAtA []byte) error

func (*BalanceResult) XXX_DiscardUnknown added in v0.2.9

func (m *BalanceResult) XXX_DiscardUnknown()

func (*BalanceResult) XXX_Marshal added in v0.2.9

func (m *BalanceResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BalanceResult) XXX_Merge added in v0.2.9

func (m *BalanceResult) XXX_Merge(src proto.Message)

func (*BalanceResult) XXX_MessageName added in v0.2.9

func (*BalanceResult) XXX_MessageName() string

func (*BalanceResult) XXX_Size added in v0.2.9

func (m *BalanceResult) XXX_Size() int

func (*BalanceResult) XXX_Unmarshal added in v0.2.9

func (m *BalanceResult) XXX_Unmarshal(b []byte) error

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 */
	Amount               int64                      `protobuf:"varint,6,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	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 (*CancelContractResult) Descriptor

func (*CancelContractResult) Descriptor() ([]byte, []int)

func (*CancelContractResult) GetAmount added in v0.2.7

func (m *CancelContractResult) GetAmount() int64

func (*CancelContractResult) GetCanceled added in v0.0.8

func (m *CancelContractResult) GetCanceled() bool

func (*CancelContractResult) GetChannelState added in v0.2.7

func (m *CancelContractResult) GetChannelState() *ledger.SignedChannelState

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) Descriptor() ([]byte, []int)

func (*Escrow) GetAmount

func (m *Escrow) GetAmount() int64

func (*Escrow) GetCollateralAmount

func (m *Escrow) GetCollateralAmount() int64

func (*Escrow) GetContractId

func (m *Escrow) GetContractId() string

func (*Escrow) GetEscrowId

func (m *Escrow) GetEscrowId() int64

func (*Escrow) GetFromAddress

func (m *Escrow) GetFromAddress() []byte

func (*Escrow) GetToAddress

func (m *Escrow) GetToAddress() []byte

func (*Escrow) Marshal added in v0.0.13

func (m *Escrow) Marshal() (dAtA []byte, err error)

func (*Escrow) MarshalTo added in v0.0.13

func (m *Escrow) MarshalTo(dAtA []byte) (int, error)

func (*Escrow) MarshalToSizedBuffer added in v0.0.13

func (m *Escrow) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Escrow) ProtoMessage

func (*Escrow) ProtoMessage()

func (*Escrow) Reset

func (m *Escrow) Reset()

func (*Escrow) Size added in v0.0.13

func (m *Escrow) Size() (n int)

func (*Escrow) String

func (m *Escrow) String() string

func (*Escrow) Unmarshal added in v0.0.13

func (m *Escrow) Unmarshal(dAtA []byte) error

func (*Escrow) XXX_DiscardUnknown

func (m *Escrow) XXX_DiscardUnknown()

func (*Escrow) XXX_Marshal

func (m *Escrow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Escrow) XXX_Merge

func (m *Escrow) XXX_Merge(src proto.Message)

func (*Escrow) XXX_MessageName added in v0.0.13

func (*Escrow) XXX_MessageName() string

func (*Escrow) XXX_Size

func (m *Escrow) XXX_Size() int

func (*Escrow) XXX_Unmarshal

func (m *Escrow) XXX_Unmarshal(b []byte) error

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"`
	CustomizePayoutPeriod int32     `` /* 157-byte string literal not displayed */
	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) GetCustomizePayoutPeriod added in v0.2.17

func (m *EscrowContract) GetCustomizePayoutPeriod() int32

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)
	// auth request escrow to refund unpaid out balance of a contract
	Refund(ctx context.Context, in *SignedRefundRequest, opts ...grpc.CallOption) (*SignedRefundResult, error)
	// query balance and create account if account not exist
	BalanceOf(ctx context.Context, in *ledger.SignedPublicKey, opts ...grpc.CallOption) (*SignedBalanceResult, error)
	// Creates a channel on the ledger and returns the ID of the ledger
	CreateChannel(ctx context.Context, in *ledger.SignedChannelCommit, opts ...grpc.CallOption) (*ledger.ChannelID, error)
	// Closes a channel on the ledger.
	CloseChannel(ctx context.Context, in *ledger.SignedChannelState, opts ...grpc.CallOption) (*ledger.ChannelClosed, 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)
	// auth request escrow to refund unpaid out balance of a contract
	Refund(context.Context, *SignedRefundRequest) (*SignedRefundResult, error)
	// query balance and create account if account not exist
	BalanceOf(context.Context, *ledger.SignedPublicKey) (*SignedBalanceResult, error)
	// Creates a channel on the ledger and returns the ID of the ledger
	CreateChannel(context.Context, *ledger.SignedChannelCommit) (*ledger.ChannelID, error)
	// Closes a channel on the ledger.
	CloseChannel(context.Context, *ledger.SignedChannelState) (*ledger.ChannelClosed, 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) Descriptor() ([]byte, []int)

func (*Payment) GetAmount added in v0.1.4

func (m *Payment) GetAmount() int64

func (*Payment) GetChannelState added in v0.1.4

func (m *Payment) GetChannelState() *ledger.SignedChannelState

func (*Payment) GetContractId added in v0.1.4

func (m *Payment) GetContractId() string

func (*Payment) GetEscrowId added in v0.1.4

func (m *Payment) GetEscrowId() int64

func (*Payment) GetFromAddress added in v0.1.4

func (m *Payment) GetFromAddress() []byte

func (*Payment) GetIndex added in v0.1.4

func (m *Payment) GetIndex() int32

func (*Payment) GetToAddress added in v0.1.4

func (m *Payment) GetToAddress() []byte

func (*Payment) Marshal added in v0.1.4

func (m *Payment) Marshal() (dAtA []byte, err error)

func (*Payment) MarshalTo added in v0.1.4

func (m *Payment) MarshalTo(dAtA []byte) (int, error)

func (*Payment) MarshalToSizedBuffer added in v0.1.4

func (m *Payment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Payment) ProtoMessage added in v0.1.4

func (*Payment) ProtoMessage()

func (*Payment) Reset added in v0.1.4

func (m *Payment) Reset()

func (*Payment) Size added in v0.1.4

func (m *Payment) Size() (n int)

func (*Payment) String added in v0.1.4

func (m *Payment) String() string

func (*Payment) Unmarshal added in v0.1.4

func (m *Payment) Unmarshal(dAtA []byte) error

func (*Payment) XXX_DiscardUnknown added in v0.1.4

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal added in v0.1.4

func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Payment) XXX_Merge added in v0.1.4

func (m *Payment) XXX_Merge(src proto.Message)

func (*Payment) XXX_MessageName added in v0.1.4

func (*Payment) XXX_MessageName() string

func (*Payment) XXX_Size added in v0.1.4

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal added in v0.1.4

func (m *Payment) XXX_Unmarshal(b []byte) error

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 RefundRequest added in v0.2.7

type RefundRequest struct {
	ContractId           string                     `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"`
	ToAddress            []byte                     `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"`
	SignedTime           time.Time                  `protobuf:"bytes,3,opt,name=signed_time,json=signedTime,proto3,stdtime" json:"signed_time" pg:"signed_time"`
	ChannelState         *ledger.SignedChannelState `protobuf:"bytes,4,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 (*RefundRequest) Descriptor added in v0.2.7

func (*RefundRequest) Descriptor() ([]byte, []int)

func (*RefundRequest) GetChannelState added in v0.2.7

func (m *RefundRequest) GetChannelState() *ledger.SignedChannelState

func (*RefundRequest) GetContractId added in v0.2.7

func (m *RefundRequest) GetContractId() string

func (*RefundRequest) GetSignedTime added in v0.2.7

func (m *RefundRequest) GetSignedTime() time.Time

func (*RefundRequest) GetToAddress added in v0.2.7

func (m *RefundRequest) GetToAddress() []byte

func (*RefundRequest) Marshal added in v0.2.7

func (m *RefundRequest) Marshal() (dAtA []byte, err error)

func (*RefundRequest) MarshalTo added in v0.2.7

func (m *RefundRequest) MarshalTo(dAtA []byte) (int, error)

func (*RefundRequest) MarshalToSizedBuffer added in v0.2.7

func (m *RefundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RefundRequest) ProtoMessage added in v0.2.7

func (*RefundRequest) ProtoMessage()

func (*RefundRequest) Reset added in v0.2.7

func (m *RefundRequest) Reset()

func (*RefundRequest) Size added in v0.2.7

func (m *RefundRequest) Size() (n int)

func (*RefundRequest) String added in v0.2.7

func (m *RefundRequest) String() string

func (*RefundRequest) Unmarshal added in v0.2.7

func (m *RefundRequest) Unmarshal(dAtA []byte) error

func (*RefundRequest) XXX_DiscardUnknown added in v0.2.7

func (m *RefundRequest) XXX_DiscardUnknown()

func (*RefundRequest) XXX_Marshal added in v0.2.7

func (m *RefundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RefundRequest) XXX_Merge added in v0.2.7

func (m *RefundRequest) XXX_Merge(src proto.Message)

func (*RefundRequest) XXX_MessageName added in v0.2.7

func (*RefundRequest) XXX_MessageName() string

func (*RefundRequest) XXX_Size added in v0.2.7

func (m *RefundRequest) XXX_Size() int

func (*RefundRequest) XXX_Unmarshal added in v0.2.7

func (m *RefundRequest) XXX_Unmarshal(b []byte) error

type RefundResult added in v0.2.7

type RefundResult struct {
	ContractId           string    `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"`
	Amount               int64     `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	Paid                 bool      `protobuf:"varint,3,opt,name=paid,proto3" json:"paid,omitempty" pg:"paid"`
	Reference            string    `protobuf:"bytes,4,opt,name=reference,proto3" json:"reference,omitempty" pg:"reference"`
	EscrowAddress        []byte    `protobuf:"bytes,5,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 (*RefundResult) Descriptor added in v0.2.7

func (*RefundResult) Descriptor() ([]byte, []int)

func (*RefundResult) GetAmount added in v0.2.7

func (m *RefundResult) GetAmount() int64

func (*RefundResult) GetContractId added in v0.2.7

func (m *RefundResult) GetContractId() string

func (*RefundResult) GetEscrowAddress added in v0.2.7

func (m *RefundResult) GetEscrowAddress() []byte

func (*RefundResult) GetEscrowSignedTime added in v0.2.7

func (m *RefundResult) GetEscrowSignedTime() time.Time

func (*RefundResult) GetPaid added in v0.2.7

func (m *RefundResult) GetPaid() bool

func (*RefundResult) GetReference added in v0.2.7

func (m *RefundResult) GetReference() string

func (*RefundResult) Marshal added in v0.2.7

func (m *RefundResult) Marshal() (dAtA []byte, err error)

func (*RefundResult) MarshalTo added in v0.2.7

func (m *RefundResult) MarshalTo(dAtA []byte) (int, error)

func (*RefundResult) MarshalToSizedBuffer added in v0.2.7

func (m *RefundResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RefundResult) ProtoMessage added in v0.2.7

func (*RefundResult) ProtoMessage()

func (*RefundResult) Reset added in v0.2.7

func (m *RefundResult) Reset()

func (*RefundResult) Size added in v0.2.7

func (m *RefundResult) Size() (n int)

func (*RefundResult) String added in v0.2.7

func (m *RefundResult) String() string

func (*RefundResult) Unmarshal added in v0.2.7

func (m *RefundResult) Unmarshal(dAtA []byte) error

func (*RefundResult) XXX_DiscardUnknown added in v0.2.7

func (m *RefundResult) XXX_DiscardUnknown()

func (*RefundResult) XXX_Marshal added in v0.2.7

func (m *RefundResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RefundResult) XXX_Merge added in v0.2.7

func (m *RefundResult) XXX_Merge(src proto.Message)

func (*RefundResult) XXX_MessageName added in v0.2.7

func (*RefundResult) XXX_MessageName() string

func (*RefundResult) XXX_Size added in v0.2.7

func (m *RefundResult) XXX_Size() int

func (*RefundResult) XXX_Unmarshal added in v0.2.7

func (m *RefundResult) XXX_Unmarshal(b []byte) error

type Schedule

type Schedule int32
const (
	Schedule_MONTHLY    Schedule = 0
	Schedule_QUARTERLY  Schedule = 1
	Schedule_ANNUALLY   Schedule = 2
	Schedule_CUSTOMIZED Schedule = 3
)

func (Schedule) EnumDescriptor

func (Schedule) EnumDescriptor() ([]byte, []int)

func (Schedule) String

func (x Schedule) String() string

type SignedBalanceResult added in v0.2.9

type SignedBalanceResult struct {
	Result               *BalanceResult `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 (*SignedBalanceResult) Descriptor added in v0.2.9

func (*SignedBalanceResult) Descriptor() ([]byte, []int)

func (*SignedBalanceResult) GetEscrowSignature added in v0.2.9

func (m *SignedBalanceResult) GetEscrowSignature() []byte

func (*SignedBalanceResult) GetResult added in v0.2.9

func (m *SignedBalanceResult) GetResult() *BalanceResult

func (*SignedBalanceResult) Marshal added in v0.2.9

func (m *SignedBalanceResult) Marshal() (dAtA []byte, err error)

func (*SignedBalanceResult) MarshalTo added in v0.2.9

func (m *SignedBalanceResult) MarshalTo(dAtA []byte) (int, error)

func (*SignedBalanceResult) MarshalToSizedBuffer added in v0.2.9

func (m *SignedBalanceResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignedBalanceResult) ProtoMessage added in v0.2.9

func (*SignedBalanceResult) ProtoMessage()

func (*SignedBalanceResult) Reset added in v0.2.9

func (m *SignedBalanceResult) Reset()

func (*SignedBalanceResult) Size added in v0.2.9

func (m *SignedBalanceResult) Size() (n int)

func (*SignedBalanceResult) String added in v0.2.9

func (m *SignedBalanceResult) String() string

func (*SignedBalanceResult) Unmarshal added in v0.2.9

func (m *SignedBalanceResult) Unmarshal(dAtA []byte) error

func (*SignedBalanceResult) XXX_DiscardUnknown added in v0.2.9

func (m *SignedBalanceResult) XXX_DiscardUnknown()

func (*SignedBalanceResult) XXX_Marshal added in v0.2.9

func (m *SignedBalanceResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedBalanceResult) XXX_Merge added in v0.2.9

func (m *SignedBalanceResult) XXX_Merge(src proto.Message)

func (*SignedBalanceResult) XXX_MessageName added in v0.2.9

func (*SignedBalanceResult) XXX_MessageName() string

func (*SignedBalanceResult) XXX_Size added in v0.2.9

func (m *SignedBalanceResult) XXX_Size() int

func (*SignedBalanceResult) XXX_Unmarshal added in v0.2.9

func (m *SignedBalanceResult) 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 (*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 SignedRefundRequest added in v0.2.7

type SignedRefundRequest struct {
	Request              *RefundRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty" pg:"request"`
	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 (*SignedRefundRequest) Descriptor added in v0.2.7

func (*SignedRefundRequest) Descriptor() ([]byte, []int)

func (*SignedRefundRequest) GetRequest added in v0.2.7

func (m *SignedRefundRequest) GetRequest() *RefundRequest

func (*SignedRefundRequest) GetSignature added in v0.2.7

func (m *SignedRefundRequest) GetSignature() []byte

func (*SignedRefundRequest) Marshal added in v0.2.7

func (m *SignedRefundRequest) Marshal() (dAtA []byte, err error)

func (*SignedRefundRequest) MarshalTo added in v0.2.7

func (m *SignedRefundRequest) MarshalTo(dAtA []byte) (int, error)

func (*SignedRefundRequest) MarshalToSizedBuffer added in v0.2.7

func (m *SignedRefundRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignedRefundRequest) ProtoMessage added in v0.2.7

func (*SignedRefundRequest) ProtoMessage()

func (*SignedRefundRequest) Reset added in v0.2.7

func (m *SignedRefundRequest) Reset()

func (*SignedRefundRequest) Size added in v0.2.7

func (m *SignedRefundRequest) Size() (n int)

func (*SignedRefundRequest) String added in v0.2.7

func (m *SignedRefundRequest) String() string

func (*SignedRefundRequest) Unmarshal added in v0.2.7

func (m *SignedRefundRequest) Unmarshal(dAtA []byte) error

func (*SignedRefundRequest) XXX_DiscardUnknown added in v0.2.7

func (m *SignedRefundRequest) XXX_DiscardUnknown()

func (*SignedRefundRequest) XXX_Marshal added in v0.2.7

func (m *SignedRefundRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedRefundRequest) XXX_Merge added in v0.2.7

func (m *SignedRefundRequest) XXX_Merge(src proto.Message)

func (*SignedRefundRequest) XXX_MessageName added in v0.2.7

func (*SignedRefundRequest) XXX_MessageName() string

func (*SignedRefundRequest) XXX_Size added in v0.2.7

func (m *SignedRefundRequest) XXX_Size() int

func (*SignedRefundRequest) XXX_Unmarshal added in v0.2.7

func (m *SignedRefundRequest) XXX_Unmarshal(b []byte) error

type SignedRefundResult added in v0.2.7

type SignedRefundResult struct {
	Result               *RefundResult `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 (*SignedRefundResult) Descriptor added in v0.2.7

func (*SignedRefundResult) Descriptor() ([]byte, []int)

func (*SignedRefundResult) GetEscrowSignature added in v0.2.7

func (m *SignedRefundResult) GetEscrowSignature() []byte

func (*SignedRefundResult) GetResult added in v0.2.7

func (m *SignedRefundResult) GetResult() *RefundResult

func (*SignedRefundResult) Marshal added in v0.2.7

func (m *SignedRefundResult) Marshal() (dAtA []byte, err error)

func (*SignedRefundResult) MarshalTo added in v0.2.7

func (m *SignedRefundResult) MarshalTo(dAtA []byte) (int, error)

func (*SignedRefundResult) MarshalToSizedBuffer added in v0.2.7

func (m *SignedRefundResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignedRefundResult) ProtoMessage added in v0.2.7

func (*SignedRefundResult) ProtoMessage()

func (*SignedRefundResult) Reset added in v0.2.7

func (m *SignedRefundResult) Reset()

func (*SignedRefundResult) Size added in v0.2.7

func (m *SignedRefundResult) Size() (n int)

func (*SignedRefundResult) String added in v0.2.7

func (m *SignedRefundResult) String() string

func (*SignedRefundResult) Unmarshal added in v0.2.7

func (m *SignedRefundResult) Unmarshal(dAtA []byte) error

func (*SignedRefundResult) XXX_DiscardUnknown added in v0.2.7

func (m *SignedRefundResult) XXX_DiscardUnknown()

func (*SignedRefundResult) XXX_Marshal added in v0.2.7

func (m *SignedRefundResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignedRefundResult) XXX_Merge added in v0.2.7

func (m *SignedRefundResult) XXX_Merge(src proto.Message)

func (*SignedRefundResult) XXX_MessageName added in v0.2.7

func (*SignedRefundResult) XXX_MessageName() string

func (*SignedRefundResult) XXX_Size added in v0.2.7

func (m *SignedRefundResult) XXX_Size() int

func (*SignedRefundResult) XXX_Unmarshal added in v0.2.7

func (m *SignedRefundResult) 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 (*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

func (TokenType) EnumDescriptor() ([]byte, []int)

func (TokenType) String

func (x TokenType) String() string

type UnimplementedEscrowServiceServer

type UnimplementedEscrowServiceServer struct {
}

UnimplementedEscrowServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEscrowServiceServer) BalanceOf added in v0.2.9

func (*UnimplementedEscrowServiceServer) CancelContracts

func (*UnimplementedEscrowServiceServer) CloseChannel added in v0.2.22

func (*UnimplementedEscrowServiceServer) CreateChannel added in v0.2.22

func (*UnimplementedEscrowServiceServer) GetPayOutStatus

func (*UnimplementedEscrowServiceServer) IsPaid

func (*UnimplementedEscrowServiceServer) MyPayment added in v0.1.4

func (*UnimplementedEscrowServiceServer) PayIn

func (*UnimplementedEscrowServiceServer) PayOut added in v0.1.4

func (*UnimplementedEscrowServiceServer) Refund added in v0.2.7

func (*UnimplementedEscrowServiceServer) SubmitContracts

Jump to

Keyboard shortcuts

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