escrow

package
v0.1.4-gama Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2019 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",
}
View Source
var Schedule_value = map[string]int32{
	"MONTHLY":   0,
	"QUARTERLY": 1,
	"ANNUALLY":  2,
}
View Source
var TokenType_name = map[int32]string{
	0: "BTT",
}
View Source
var TokenType_value = map[string]int32{
	"BTT": 0,
}

Functions

func RegisterEscrowServiceServer

func RegisterEscrowServiceServer(s *grpc.Server, srv EscrowServiceServer)

Types

type CancelContractRequest

type CancelContractRequest struct {
	ContractId           []byte           `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       *types.Timestamp `` /* 127-byte string literal not displayed */
	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() *types.Timestamp

func (*CancelContractRequest) GetContractId

func (m *CancelContractRequest) GetContractId() []byte

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           []byte    `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"`
	EscrowId             int64     `protobuf:"varint,2,opt,name=escrow_id,json=escrowId,proto3" json:"escrow_id,omitempty" pg:"escrow_id"`
	Canceled             bool      `protobuf:"varint,3,opt,name=canceled,proto3" json:"canceled,omitempty" pg:"canceled"`
	EscrowAddress        []byte    `protobuf:"bytes,4,opt,name=escrow_address,json=escrowAddress,proto3" json:"escrow_address,omitempty" pg:"escrow_address"`
	EscrowSignedTime     time.Time `` /* 133-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
}

func (*CancelContractResult) Descriptor

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

func (*CancelContractResult) GetCanceled added in v0.0.8

func (m *CancelContractResult) GetCanceled() bool

func (*CancelContractResult) GetContractId added in v0.0.8

func (m *CancelContractResult) GetContractId() []byte

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           []byte   `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() []byte

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           []byte   `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() []byte

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           []byte    `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty" pg:"contract_id"`
	BuyerAddress         []byte    `protobuf:"bytes,2,opt,name=buyer_address,json=buyerAddress,proto3" json:"buyer_address,omitempty" pg:"buyer_address"`
	SellerAddress        []byte    `protobuf:"bytes,3,opt,name=seller_address,json=sellerAddress,proto3" json:"seller_address,omitempty" pg:"seller_address"`
	AuthAddress          []byte    `protobuf:"bytes,4,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty" pg:"auth_address"`
	Amount               int64     `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	CollateralAmount     int64     `` /* 133-byte string literal not displayed */
	WithholdAmount       int64     `protobuf:"varint,7,opt,name=withhold_amount,json=withholdAmount,proto3" json:"withhold_amount,omitempty" pg:"withhold_amount"`
	TokenType            TokenType `` /* 127-byte string literal not displayed */
	PayoutSchedule       Schedule  `` /* 146-byte string literal not displayed */
	NumPayouts           int32     `protobuf:"varint,10,opt,name=num_payouts,json=numPayouts,proto3" json:"num_payouts,omitempty" pg:"num_payouts"`
	Reference            []byte    `protobuf:"bytes,11,opt,name=reference,proto3" json:"reference,omitempty" pg:"reference"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
}

func (*EscrowContract) Descriptor

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

func (*EscrowContract) GetAmount

func (m *EscrowContract) GetAmount() int64

func (*EscrowContract) GetAuthAddress

func (m *EscrowContract) GetAuthAddress() []byte

func (*EscrowContract) GetBuyerAddress

func (m *EscrowContract) GetBuyerAddress() []byte

func (*EscrowContract) GetCollateralAmount

func (m *EscrowContract) GetCollateralAmount() int64

func (*EscrowContract) GetContractId

func (m *EscrowContract) GetContractId() []byte

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,4,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 *SignedPayinRquest, 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)
}

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, *SignedPayinRquest) (*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)
}

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 PayinResult

type PayinResult struct {
	PayinId              []byte    `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() []byte

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 PayinRquest

type PayinRquest struct {
	PayinId              []byte   `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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-" pg:"-"`
	XXX_unrecognized     []byte   `json:"-" pg:"-"`
	XXX_sizecache        int32    `json:"-" pg:"-"`
}

func (*PayinRquest) Descriptor

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

func (*PayinRquest) GetBuyerAddress

func (m *PayinRquest) GetBuyerAddress() []byte

func (*PayinRquest) GetPayinId

func (m *PayinRquest) GetPayinId() []byte

func (*PayinRquest) Marshal added in v0.0.13

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

func (*PayinRquest) MarshalTo added in v0.0.13

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

func (*PayinRquest) MarshalToSizedBuffer added in v0.0.13

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

func (*PayinRquest) ProtoMessage

func (*PayinRquest) ProtoMessage()

func (*PayinRquest) Reset

func (m *PayinRquest) Reset()

func (*PayinRquest) Size added in v0.0.13

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

func (*PayinRquest) String

func (m *PayinRquest) String() string

func (*PayinRquest) Unmarshal added in v0.0.13

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

func (*PayinRquest) XXX_DiscardUnknown

func (m *PayinRquest) XXX_DiscardUnknown()

func (*PayinRquest) XXX_Marshal

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

func (*PayinRquest) XXX_Merge

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

func (*PayinRquest) XXX_MessageName added in v0.0.13

func (*PayinRquest) XXX_MessageName() string

func (*PayinRquest) XXX_Size

func (m *PayinRquest) XXX_Size() int

func (*PayinRquest) XXX_Unmarshal

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

type PayoutStatus struct {
	FromAddress          []byte       `protobuf:"bytes,1,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty" pg:"from_address"`
	ToAddress            []byte       `protobuf:"bytes,2,opt,name=to_address,json=toAddress,proto3" json:"to_address,omitempty" pg:"to_address"`
	AuthAddress          []byte       `protobuf:"bytes,3,opt,name=auth_address,json=authAddress,proto3" json:"auth_address,omitempty" pg:"auth_address"`
	Status               EscrowStatus `protobuf:"varint,4,opt,name=status,proto3,enum=escrow.EscrowStatus" json:"status,omitempty" pg:"status"`
	Amount               int64        `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	Collateral           int64        `protobuf:"varint,6,opt,name=collateral,proto3" json:"collateral,omitempty" pg:"collateral"`
	Withhold             int64        `protobuf:"varint,7,opt,name=withhold,proto3" json:"withhold,omitempty" pg:"withhold"`
	PaidAmount           int64        `protobuf:"varint,8,opt,name=paid_amount,json=paidAmount,proto3" json:"paid_amount,omitempty" pg:"paid_amount"`
	NumPaid              int32        `protobuf:"varint,9,opt,name=num_paid,json=numPaid,proto3" json:"num_paid,omitempty" pg:"num_paid"`
	LeftAmount           int64        `protobuf:"varint,10,opt,name=left_amount,json=leftAmount,proto3" json:"left_amount,omitempty" pg:"left_amount"`
	NumLeft              int32        `protobuf:"varint,11,opt,name=num_left,json=numLeft,proto3" json:"num_left,omitempty" pg:"num_left"`
	NextAmount           int64        `protobuf:"varint,12,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,15,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) GetEscrowAddress

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

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 Schedule

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

func (Schedule) EnumDescriptor

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

func (Schedule) String

func (x Schedule) String() string

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 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 SignedPayinRquest added in v0.0.8

type SignedPayinRquest struct {
	Request              *PayinRquest               `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"`
	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 (*SignedPayinRquest) Descriptor added in v0.0.8

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

func (*SignedPayinRquest) GetBuyerChannelState added in v0.0.12

func (m *SignedPayinRquest) GetBuyerChannelState() *ledger.SignedChannelState

func (*SignedPayinRquest) GetBuyerSignature added in v0.0.8

func (m *SignedPayinRquest) GetBuyerSignature() []byte

func (*SignedPayinRquest) GetRequest added in v0.0.8

func (m *SignedPayinRquest) GetRequest() *PayinRquest

func (*SignedPayinRquest) Marshal added in v0.0.13

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

func (*SignedPayinRquest) MarshalTo added in v0.0.13

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

func (*SignedPayinRquest) MarshalToSizedBuffer added in v0.0.13

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

func (*SignedPayinRquest) ProtoMessage added in v0.0.8

func (*SignedPayinRquest) ProtoMessage()

func (*SignedPayinRquest) Reset added in v0.0.8

func (m *SignedPayinRquest) Reset()

func (*SignedPayinRquest) Size added in v0.0.13

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

func (*SignedPayinRquest) String added in v0.0.8

func (m *SignedPayinRquest) String() string

func (*SignedPayinRquest) Unmarshal added in v0.0.13

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

func (*SignedPayinRquest) XXX_DiscardUnknown added in v0.0.8

func (m *SignedPayinRquest) XXX_DiscardUnknown()

func (*SignedPayinRquest) XXX_Marshal added in v0.0.8

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

func (*SignedPayinRquest) XXX_Merge added in v0.0.8

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

func (*SignedPayinRquest) XXX_MessageName added in v0.0.13

func (*SignedPayinRquest) XXX_MessageName() string

func (*SignedPayinRquest) XXX_Size added in v0.0.8

func (m *SignedPayinRquest) XXX_Size() int

func (*SignedPayinRquest) XXX_Unmarshal added in v0.0.8

func (m *SignedPayinRquest) 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 SignedPayoutStatus added in v0.0.8

type SignedPayoutStatus struct {
	Status               *PayoutStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty" pg:"status"`
	EscrowSignature      []byte        `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}      `json:"-" pg:"-"`
	XXX_unrecognized     []byte        `json:"-" pg:"-"`
	XXX_sizecache        int32         `json:"-" pg:"-"`
}

func (*SignedPayoutStatus) Descriptor added in v0.0.8

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

func (*SignedPayoutStatus) GetEscrowSignature added in v0.0.8

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

func (*SignedPayoutStatus) GetStatus added in v0.0.8

func (m *SignedPayoutStatus) GetStatus() *PayoutStatus

func (*SignedPayoutStatus) Marshal added in v0.0.13

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

func (*SignedPayoutStatus) MarshalTo added in v0.0.13

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

func (*SignedPayoutStatus) MarshalToSizedBuffer added in v0.0.13

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

func (*SignedPayoutStatus) ProtoMessage added in v0.0.8

func (*SignedPayoutStatus) ProtoMessage()

func (*SignedPayoutStatus) Reset added in v0.0.8

func (m *SignedPayoutStatus) Reset()

func (*SignedPayoutStatus) Size added in v0.0.13

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

func (*SignedPayoutStatus) String added in v0.0.8

func (m *SignedPayoutStatus) String() string

func (*SignedPayoutStatus) Unmarshal added in v0.0.13

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

func (*SignedPayoutStatus) XXX_DiscardUnknown added in v0.0.8

func (m *SignedPayoutStatus) XXX_DiscardUnknown()

func (*SignedPayoutStatus) XXX_Marshal added in v0.0.8

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

func (*SignedPayoutStatus) XXX_Merge added in v0.0.8

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

func (*SignedPayoutStatus) XXX_MessageName added in v0.0.13

func (*SignedPayoutStatus) XXX_MessageName() string

func (*SignedPayoutStatus) XXX_Size added in v0.0.8

func (m *SignedPayoutStatus) XXX_Size() int

func (*SignedPayoutStatus) XXX_Unmarshal added in v0.0.8

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

type SignedSubmitContractResult added in v0.0.8

type SignedSubmitContractResult struct {
	Result               *SubmitContractResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty" pg:"result"`
	EscrowSignature      []byte                `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}              `json:"-" pg:"-"`
	XXX_unrecognized     []byte                `json:"-" pg:"-"`
	XXX_sizecache        int32                 `json:"-" pg:"-"`
}

func (*SignedSubmitContractResult) Descriptor added in v0.0.8

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

func (*SignedSubmitContractResult) GetEscrowSignature added in v0.0.8

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

func (*SignedSubmitContractResult) GetResult added in v0.0.8

func (*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              []byte                     `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() []byte

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) CancelContracts

func (*UnimplementedEscrowServiceServer) GetPayOutStatus

func (*UnimplementedEscrowServiceServer) IsPaid

func (*UnimplementedEscrowServiceServer) PayIn

func (*UnimplementedEscrowServiceServer) SubmitContracts

Jump to

Keyboard shortcuts

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