escrow

package
v0.9.2-pre1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 15 Imported by: 3

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 ContractType_name = map[int32]string{
	0: "REGULAR",
	1: "PLAN",
	2: "REVISE",
}
View Source
var ContractType_value = map[string]int32{
	"REGULAR": 0,
	"PLAN":    1,
	"REVISE":  2,
}
View Source
var EscrowStatus_name = map[int32]string{
	0: "INITIATED",
	1: "ACTIVE",
	2: "CANCELED",
	3: "CLOSED",
	4: "NOTSTART",
	5: "NOTSTART_PAID",
}
View Source
var EscrowStatus_value = map[string]int32{
	"INITIATED":     0,
	"ACTIVE":        1,
	"CANCELED":      2,
	"CLOSED":        3,
	"NOTSTART":      4,
	"NOTSTART_PAID": 5,
}
View Source
var OperationType_name = map[int32]string{
	0: "STAKE",
	1: "CHEAT_PENALTY",
	2: "LOST_SHARD_PENALTY",
}
View Source
var OperationType_value = map[string]int32{
	"STAKE":              0,
	"CHEAT_PENALTY":      1,
	"LOST_SHARD_PENALTY": 2,
}
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 StakeStatus_name = map[int32]string{
	0: "PROCEEDING",
	1: "FAIL",
}
View Source
var StakeStatus_value = map[string]int32{
	"PROCEEDING": 0,
	"FAIL":       1,
}
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

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

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

func (*BalanceResult) GetBalance

func (m *BalanceResult) GetBalance() int64

func (*BalanceResult) GetEscrowAddress

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

func (*BalanceResult) GetEscrowSignedTime

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

func (*BalanceResult) Marshal

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

func (*BalanceResult) MarshalTo

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

func (*BalanceResult) MarshalToSizedBuffer

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

func (*BalanceResult) ProtoMessage

func (*BalanceResult) ProtoMessage()

func (*BalanceResult) Reset

func (m *BalanceResult) Reset()

func (*BalanceResult) Size

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

func (*BalanceResult) String

func (m *BalanceResult) String() string

func (*BalanceResult) Unmarshal

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

func (*BalanceResult) XXX_DiscardUnknown

func (m *BalanceResult) XXX_DiscardUnknown()

func (*BalanceResult) XXX_Marshal

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

func (*BalanceResult) XXX_Merge

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

func (*BalanceResult) XXX_MessageName

func (*BalanceResult) XXX_MessageName() string

func (*BalanceResult) XXX_Size

func (m *BalanceResult) XXX_Size() int

func (*BalanceResult) XXX_Unmarshal

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

func (m *CancelContractRequest) GetAuthSignedTime() time.Time

func (*CancelContractRequest) GetContractId

func (m *CancelContractRequest) GetContractId() string

func (*CancelContractRequest) Marshal

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

func (*CancelContractRequest) MarshalTo

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

func (*CancelContractRequest) MarshalToSizedBuffer

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

func (*CancelContractRequest) ProtoMessage

func (*CancelContractRequest) ProtoMessage()

func (*CancelContractRequest) Reset

func (m *CancelContractRequest) Reset()

func (*CancelContractRequest) Size

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

func (*CancelContractRequest) String

func (m *CancelContractRequest) String() string

func (*CancelContractRequest) Unmarshal

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

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"`
	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 (*CancelContractResult) Descriptor

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

func (*CancelContractResult) GetAmount

func (m *CancelContractResult) GetAmount() int64

func (*CancelContractResult) GetCanceled

func (m *CancelContractResult) GetCanceled() bool

func (*CancelContractResult) GetContractId

func (m *CancelContractResult) GetContractId() string

func (*CancelContractResult) GetEscrowAddress

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

func (*CancelContractResult) GetEscrowId

func (m *CancelContractResult) GetEscrowId() int64

func (*CancelContractResult) GetEscrowSignedTime

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

func (*CancelContractResult) GetPaid

func (m *CancelContractResult) GetPaid() bool

func (*CancelContractResult) GetReference

func (m *CancelContractResult) GetReference() string

func (*CancelContractResult) Marshal

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

func (*CancelContractResult) MarshalTo

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

func (*CancelContractResult) MarshalToSizedBuffer

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

func (*CancelContractResult) ProtoMessage

func (*CancelContractResult) ProtoMessage()

func (*CancelContractResult) Reset

func (m *CancelContractResult) Reset()

func (*CancelContractResult) Size

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

func (*CancelContractResult) String

func (m *CancelContractResult) String() string

func (*CancelContractResult) Unmarshal

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

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

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

func (*ContractID) MarshalTo

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

func (*ContractID) MarshalToSizedBuffer

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

func (*ContractID) ProtoMessage

func (*ContractID) ProtoMessage()

func (*ContractID) Reset

func (m *ContractID) Reset()

func (*ContractID) Size

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

func (*ContractID) String

func (m *ContractID) String() string

func (*ContractID) Unmarshal

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

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 ContractIDBatch

type ContractIDBatch struct {
	ContractId           []string `protobuf:"bytes,1,rep,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 (*ContractIDBatch) Descriptor

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

func (*ContractIDBatch) GetAddress

func (m *ContractIDBatch) GetAddress() []byte

func (*ContractIDBatch) GetContractId

func (m *ContractIDBatch) GetContractId() []string

func (*ContractIDBatch) Marshal

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

func (*ContractIDBatch) MarshalTo

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

func (*ContractIDBatch) MarshalToSizedBuffer

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

func (*ContractIDBatch) ProtoMessage

func (*ContractIDBatch) ProtoMessage()

func (*ContractIDBatch) Reset

func (m *ContractIDBatch) Reset()

func (*ContractIDBatch) Size

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

func (*ContractIDBatch) String

func (m *ContractIDBatch) String() string

func (*ContractIDBatch) Unmarshal

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

func (*ContractIDBatch) XXX_DiscardUnknown

func (m *ContractIDBatch) XXX_DiscardUnknown()

func (*ContractIDBatch) XXX_Marshal

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

func (*ContractIDBatch) XXX_Merge

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

func (*ContractIDBatch) XXX_MessageName

func (*ContractIDBatch) XXX_MessageName() string

func (*ContractIDBatch) XXX_Size

func (m *ContractIDBatch) XXX_Size() int

func (*ContractIDBatch) XXX_Unmarshal

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

type ContractType

type ContractType int32
const (
	ContractType_REGULAR ContractType = 0
	ContractType_PLAN    ContractType = 1
	ContractType_REVISE  ContractType = 2
)

func (ContractType) EnumDescriptor

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

func (ContractType) String

func (x ContractType) String() string

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 */
	ErrorCode            int32    `protobuf:"varint,7,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty" pg:"error_code"`
	ErrorMessage         string   `protobuf:"bytes,8,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty" pg:"error_message"`
	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) GetErrorCode

func (m *Escrow) GetErrorCode() int32

func (*Escrow) GetErrorMessage

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

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

func (*Escrow) MarshalTo

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

func (*Escrow) MarshalToSizedBuffer

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

func (*Escrow) ProtoMessage

func (*Escrow) ProtoMessage()

func (*Escrow) Reset

func (m *Escrow) Reset()

func (*Escrow) Size

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

func (*Escrow) String

func (m *Escrow) String() string

func (*Escrow) Unmarshal

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

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 */
	Type                  ContractType `protobuf:"varint,13,opt,name=type,proto3,enum=escrow.ContractType" json:"type,omitempty" pg:"type"`
	ContingentAmount      int64        `` /* 134-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) GetContingentAmount

func (m *EscrowContract) GetContingentAmount() int64

func (*EscrowContract) GetContractId

func (m *EscrowContract) GetContractId() string

func (*EscrowContract) GetCustomizePayoutPeriod

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

func (m *EscrowContract) GetType() ContractType

func (*EscrowContract) GetWithholdAmount

func (m *EscrowContract) GetWithholdAmount() int64

func (*EscrowContract) Marshal

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

func (*EscrowContract) MarshalTo

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

func (*EscrowContract) MarshalToSizedBuffer

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

func (*EscrowContract) ProtoMessage

func (*EscrowContract) ProtoMessage()

func (*EscrowContract) Reset

func (m *EscrowContract) Reset()

func (*EscrowContract) Size

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

func (*EscrowContract) String

func (m *EscrowContract) String() string

func (*EscrowContract) Unmarshal

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

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

func (m *EscrowContractRequest) GetBuyerChannel() *ledger.SignedChannelCommit

func (*EscrowContractRequest) GetContract

func (m *EscrowContractRequest) GetContract() []*SignedEscrowContract

func (*EscrowContractRequest) Marshal

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

func (*EscrowContractRequest) MarshalTo

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

func (*EscrowContractRequest) MarshalToSizedBuffer

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

func (*EscrowContractRequest) ProtoMessage

func (*EscrowContractRequest) ProtoMessage()

func (*EscrowContractRequest) Reset

func (m *EscrowContractRequest) Reset()

func (*EscrowContractRequest) Size

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

func (*EscrowContractRequest) String

func (m *EscrowContractRequest) String() string

func (*EscrowContractRequest) Unmarshal

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

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)
	StartEscrow(ctx context.Context, in *EscrowContractRequest, opts ...grpc.CallOption) (*SignedStartEscrowResult, 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)
	// get the payout status in batch
	GetPayOutStatusBatch(ctx context.Context, in *SignedContractIDBatch, opts ...grpc.CallOption) (*SignedPayoutStatusBatch, error)
	// get the modified payout status in batch
	GetModifyPayOutStatusBatch(ctx context.Context, in *SignedModifyContractIDBatch, opts ...grpc.CallOption) (*SignedPayoutStatusBatch, 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)
	// query balance and create account if account not exist
	BalanceOf(ctx context.Context, in *ledger.SignedCreateAccountRequest, 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)
	// use escrow as proxy to do the payment
	Pay(ctx context.Context, in *ledger.SignedTransferRequest, opts ...grpc.CallOption) (*ledger.TransferResult, error)
	Stake(ctx context.Context, in *SignedStakeRequest, opts ...grpc.CallOption) (*SignedStakeResult, error)
	StakePenalty(ctx context.Context, in *SignedStakePenaltyRequest, opts ...grpc.CallOption) (*SignedStakePenaltyResult, 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)
	StartEscrow(context.Context, *EscrowContractRequest) (*SignedStartEscrowResult, 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)
	// get the payout status in batch
	GetPayOutStatusBatch(context.Context, *SignedContractIDBatch) (*SignedPayoutStatusBatch, error)
	// get the modified payout status in batch
	GetModifyPayOutStatusBatch(context.Context, *SignedModifyContractIDBatch) (*SignedPayoutStatusBatch, 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)
	// query balance and create account if account not exist
	BalanceOf(context.Context, *ledger.SignedCreateAccountRequest) (*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)
	// use escrow as proxy to do the payment
	Pay(context.Context, *ledger.SignedTransferRequest) (*ledger.TransferResult, error)
	Stake(context.Context, *SignedStakeRequest) (*SignedStakeResult, error)
	StakePenalty(context.Context, *SignedStakePenaltyRequest) (*SignedStakePenaltyResult, 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
	EscrowStatus_NOTSTART      EscrowStatus = 4
	EscrowStatus_NOTSTART_PAID EscrowStatus = 5
)

func (EscrowStatus) EnumDescriptor

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

func (EscrowStatus) String

func (x EscrowStatus) String() string

type OperationType

type OperationType int32
const (
	OperationType_STAKE              OperationType = 0
	OperationType_CHEAT_PENALTY      OperationType = 1
	OperationType_LOST_SHARD_PENALTY OperationType = 2
)

func (OperationType) EnumDescriptor

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

func (OperationType) String

func (x OperationType) String() string

type PayinRequest

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

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

func (*PayinRequest) GetBuyerAddress

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

func (*PayinRequest) GetBuyerChannelState

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

func (*PayinRequest) GetPayinId

func (m *PayinRequest) GetPayinId() string

func (*PayinRequest) Marshal

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

func (*PayinRequest) MarshalTo

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

func (*PayinRequest) MarshalToSizedBuffer

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

func (*PayinRequest) ProtoMessage

func (*PayinRequest) ProtoMessage()

func (*PayinRequest) Reset

func (m *PayinRequest) Reset()

func (*PayinRequest) Size

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

func (*PayinRequest) String

func (m *PayinRequest) String() string

func (*PayinRequest) Unmarshal

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

func (*PayinRequest) XXX_DiscardUnknown

func (m *PayinRequest) XXX_DiscardUnknown()

func (*PayinRequest) XXX_Marshal

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

func (*PayinRequest) XXX_Merge

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

func (*PayinRequest) XXX_MessageName

func (*PayinRequest) XXX_MessageName() string

func (*PayinRequest) XXX_Size

func (m *PayinRequest) XXX_Size() int

func (*PayinRequest) XXX_Unmarshal

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

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

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

func (*PayinResult) MarshalTo

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

func (*PayinResult) MarshalToSizedBuffer

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

func (*PayinResult) ProtoMessage

func (*PayinResult) ProtoMessage()

func (*PayinResult) Reset

func (m *PayinResult) Reset()

func (*PayinResult) Size

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

func (*PayinResult) String

func (m *PayinResult) String() string

func (*PayinResult) Unmarshal

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

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

func (m *PayinStatus) GetChannelId() int64

func (*PayinStatus) GetEscrowAddress

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

func (*PayinStatus) GetEscrowSignedTime

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

func (*PayinStatus) GetPaid

func (m *PayinStatus) GetPaid() bool

func (*PayinStatus) Marshal

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

func (*PayinStatus) MarshalTo

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

func (*PayinStatus) MarshalToSizedBuffer

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

func (*PayinStatus) ProtoMessage

func (*PayinStatus) ProtoMessage()

func (*PayinStatus) Reset

func (m *PayinStatus) Reset()

func (*PayinStatus) Size

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

func (*PayinStatus) String

func (m *PayinStatus) String() string

func (*PayinStatus) Unmarshal

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

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

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

func (*Payment) Descriptor

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

func (*Payment) GetAmount

func (m *Payment) GetAmount() int64

func (*Payment) GetContractId

func (m *Payment) GetContractId() string

func (*Payment) GetEscrowId

func (m *Payment) GetEscrowId() int64

func (*Payment) GetFromAddress

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

func (*Payment) GetIndex

func (m *Payment) GetIndex() int32

func (*Payment) GetToAddress

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

func (*Payment) Marshal

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

func (*Payment) MarshalTo

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

func (*Payment) MarshalToSizedBuffer

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

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) Reset

func (m *Payment) Reset()

func (*Payment) Size

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

func (*Payment) String

func (m *Payment) String() string

func (*Payment) Unmarshal

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

func (*Payment) XXX_DiscardUnknown

func (m *Payment) XXX_DiscardUnknown()

func (*Payment) XXX_Marshal

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

func (*Payment) XXX_Merge

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

func (*Payment) XXX_MessageName

func (*Payment) XXX_MessageName() string

func (*Payment) XXX_Size

func (m *Payment) XXX_Size() int

func (*Payment) XXX_Unmarshal

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

type PaymentResult

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

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

func (*PaymentResult) GetEscrowAddress

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

func (*PaymentResult) GetEscrowSignedTime

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

func (*PaymentResult) GetPayment

func (m *PaymentResult) GetPayment() []*Payment

func (*PaymentResult) Marshal

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

func (*PaymentResult) MarshalTo

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

func (*PaymentResult) MarshalToSizedBuffer

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

func (*PaymentResult) ProtoMessage

func (*PaymentResult) ProtoMessage()

func (*PaymentResult) Reset

func (m *PaymentResult) Reset()

func (*PaymentResult) Size

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

func (*PaymentResult) String

func (m *PaymentResult) String() string

func (*PaymentResult) Unmarshal

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

func (*PaymentResult) XXX_DiscardUnknown

func (m *PaymentResult) XXX_DiscardUnknown()

func (*PaymentResult) XXX_Marshal

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

func (*PaymentResult) XXX_Merge

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

func (*PaymentResult) XXX_MessageName

func (*PaymentResult) XXX_MessageName() string

func (*PaymentResult) XXX_Size

func (m *PaymentResult) XXX_Size() int

func (*PaymentResult) XXX_Unmarshal

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

type PayoutAddress

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

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

func (*PayoutAddress) GetSignedTime

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

func (*PayoutAddress) GetToAddress

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

func (*PayoutAddress) Marshal

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

func (*PayoutAddress) MarshalTo

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

func (*PayoutAddress) MarshalToSizedBuffer

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

func (*PayoutAddress) ProtoMessage

func (*PayoutAddress) ProtoMessage()

func (*PayoutAddress) Reset

func (m *PayoutAddress) Reset()

func (*PayoutAddress) Size

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

func (*PayoutAddress) String

func (m *PayoutAddress) String() string

func (*PayoutAddress) Unmarshal

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

func (*PayoutAddress) XXX_DiscardUnknown

func (m *PayoutAddress) XXX_DiscardUnknown()

func (*PayoutAddress) XXX_Marshal

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

func (*PayoutAddress) XXX_Merge

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

func (*PayoutAddress) XXX_MessageName

func (*PayoutAddress) XXX_MessageName() string

func (*PayoutAddress) XXX_Size

func (m *PayoutAddress) XXX_Size() int

func (*PayoutAddress) XXX_Unmarshal

func (m *PayoutAddress) 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 */
	ErrorMsg             string       `protobuf:"bytes,19,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty" pg:"error_msg"`
	LastModifyTime       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

func (m *PayoutStatus) GetContractId() string

func (*PayoutStatus) GetErrorMsg

func (m *PayoutStatus) GetErrorMsg() string

func (*PayoutStatus) GetEscrowAddress

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

func (*PayoutStatus) GetEscrowId

func (m *PayoutStatus) GetEscrowId() int64

func (*PayoutStatus) GetEscrowSignTime

func (m *PayoutStatus) GetEscrowSignTime() time.Time

func (*PayoutStatus) GetFromAddress

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

func (*PayoutStatus) GetLastModifyTime

func (m *PayoutStatus) GetLastModifyTime() time.Time

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

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

func (*PayoutStatus) MarshalTo

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

func (*PayoutStatus) MarshalToSizedBuffer

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

func (*PayoutStatus) ProtoMessage

func (*PayoutStatus) ProtoMessage()

func (*PayoutStatus) Reset

func (m *PayoutStatus) Reset()

func (*PayoutStatus) Size

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

func (*PayoutStatus) String

func (m *PayoutStatus) String() string

func (*PayoutStatus) Unmarshal

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

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
	Schedule_CUSTOMIZED Schedule = 3
)

func (Schedule) EnumDescriptor

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

func (Schedule) String

func (x Schedule) String() string

type SignedBalanceResult

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

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

func (*SignedBalanceResult) GetEscrowSignature

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

func (*SignedBalanceResult) GetResult

func (m *SignedBalanceResult) GetResult() *BalanceResult

func (*SignedBalanceResult) Marshal

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

func (*SignedBalanceResult) MarshalTo

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

func (*SignedBalanceResult) MarshalToSizedBuffer

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

func (*SignedBalanceResult) ProtoMessage

func (*SignedBalanceResult) ProtoMessage()

func (*SignedBalanceResult) Reset

func (m *SignedBalanceResult) Reset()

func (*SignedBalanceResult) Size

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

func (*SignedBalanceResult) String

func (m *SignedBalanceResult) String() string

func (*SignedBalanceResult) Unmarshal

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

func (*SignedBalanceResult) XXX_DiscardUnknown

func (m *SignedBalanceResult) XXX_DiscardUnknown()

func (*SignedBalanceResult) XXX_Marshal

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

func (*SignedBalanceResult) XXX_Merge

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

func (*SignedBalanceResult) XXX_MessageName

func (*SignedBalanceResult) XXX_MessageName() string

func (*SignedBalanceResult) XXX_Size

func (m *SignedBalanceResult) XXX_Size() int

func (*SignedBalanceResult) XXX_Unmarshal

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

type SignedCancelContractResult

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

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

func (*SignedCancelContractResult) GetEscrowSignature

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

func (*SignedCancelContractResult) GetResult

func (*SignedCancelContractResult) Marshal

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

func (*SignedCancelContractResult) MarshalTo

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

func (*SignedCancelContractResult) MarshalToSizedBuffer

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

func (*SignedCancelContractResult) ProtoMessage

func (*SignedCancelContractResult) ProtoMessage()

func (*SignedCancelContractResult) Reset

func (m *SignedCancelContractResult) Reset()

func (*SignedCancelContractResult) Size

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

func (*SignedCancelContractResult) String

func (m *SignedCancelContractResult) String() string

func (*SignedCancelContractResult) Unmarshal

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

func (*SignedCancelContractResult) XXX_DiscardUnknown

func (m *SignedCancelContractResult) XXX_DiscardUnknown()

func (*SignedCancelContractResult) XXX_Marshal

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

func (*SignedCancelContractResult) XXX_Merge

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

func (*SignedCancelContractResult) XXX_MessageName

func (*SignedCancelContractResult) XXX_MessageName() string

func (*SignedCancelContractResult) XXX_Size

func (m *SignedCancelContractResult) XXX_Size() int

func (*SignedCancelContractResult) XXX_Unmarshal

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

type SignedCancelRequest

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

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

func (*SignedCancelRequest) GetAuthSignature

func (m *SignedCancelRequest) GetAuthSignature() []byte

func (*SignedCancelRequest) GetRequest

func (m *SignedCancelRequest) GetRequest() *CancelContractRequest

func (*SignedCancelRequest) Marshal

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

func (*SignedCancelRequest) MarshalTo

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

func (*SignedCancelRequest) MarshalToSizedBuffer

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

func (*SignedCancelRequest) ProtoMessage

func (*SignedCancelRequest) ProtoMessage()

func (*SignedCancelRequest) Reset

func (m *SignedCancelRequest) Reset()

func (*SignedCancelRequest) Size

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

func (*SignedCancelRequest) String

func (m *SignedCancelRequest) String() string

func (*SignedCancelRequest) Unmarshal

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

func (*SignedCancelRequest) XXX_DiscardUnknown

func (m *SignedCancelRequest) XXX_DiscardUnknown()

func (*SignedCancelRequest) XXX_Marshal

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

func (*SignedCancelRequest) XXX_Merge

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

func (*SignedCancelRequest) XXX_MessageName

func (*SignedCancelRequest) XXX_MessageName() string

func (*SignedCancelRequest) XXX_Size

func (m *SignedCancelRequest) XXX_Size() int

func (*SignedCancelRequest) XXX_Unmarshal

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

type SignedContractID

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

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

func (*SignedContractID) GetData

func (m *SignedContractID) GetData() *ContractID

func (*SignedContractID) GetSignature

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

func (*SignedContractID) Marshal

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

func (*SignedContractID) MarshalTo

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

func (*SignedContractID) MarshalToSizedBuffer

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

func (*SignedContractID) ProtoMessage

func (*SignedContractID) ProtoMessage()

func (*SignedContractID) Reset

func (m *SignedContractID) Reset()

func (*SignedContractID) Size

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

func (*SignedContractID) String

func (m *SignedContractID) String() string

func (*SignedContractID) Unmarshal

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

func (*SignedContractID) XXX_DiscardUnknown

func (m *SignedContractID) XXX_DiscardUnknown()

func (*SignedContractID) XXX_Marshal

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

func (*SignedContractID) XXX_Merge

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

func (*SignedContractID) XXX_MessageName

func (*SignedContractID) XXX_MessageName() string

func (*SignedContractID) XXX_Size

func (m *SignedContractID) XXX_Size() int

func (*SignedContractID) XXX_Unmarshal

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

type SignedContractIDBatch

type SignedContractIDBatch struct {
	Data                 *ContractIDBatch `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 (*SignedContractIDBatch) Descriptor

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

func (*SignedContractIDBatch) GetData

func (m *SignedContractIDBatch) GetData() *ContractIDBatch

func (*SignedContractIDBatch) GetSignature

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

func (*SignedContractIDBatch) Marshal

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

func (*SignedContractIDBatch) MarshalTo

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

func (*SignedContractIDBatch) MarshalToSizedBuffer

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

func (*SignedContractIDBatch) ProtoMessage

func (*SignedContractIDBatch) ProtoMessage()

func (*SignedContractIDBatch) Reset

func (m *SignedContractIDBatch) Reset()

func (*SignedContractIDBatch) Size

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

func (*SignedContractIDBatch) String

func (m *SignedContractIDBatch) String() string

func (*SignedContractIDBatch) Unmarshal

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

func (*SignedContractIDBatch) XXX_DiscardUnknown

func (m *SignedContractIDBatch) XXX_DiscardUnknown()

func (*SignedContractIDBatch) XXX_Marshal

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

func (*SignedContractIDBatch) XXX_Merge

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

func (*SignedContractIDBatch) XXX_MessageName

func (*SignedContractIDBatch) XXX_MessageName() string

func (*SignedContractIDBatch) XXX_Size

func (m *SignedContractIDBatch) XXX_Size() int

func (*SignedContractIDBatch) XXX_Unmarshal

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

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

func (*SignedEscrowContract) MarshalTo

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

func (*SignedEscrowContract) MarshalToSizedBuffer

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

func (*SignedEscrowContract) ProtoMessage

func (*SignedEscrowContract) ProtoMessage()

func (*SignedEscrowContract) Reset

func (m *SignedEscrowContract) Reset()

func (*SignedEscrowContract) Size

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

func (*SignedEscrowContract) String

func (m *SignedEscrowContract) String() string

func (*SignedEscrowContract) Unmarshal

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

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 SignedModifyContractIDBatch

type SignedModifyContractIDBatch struct {
	Data                 *ContractIDBatch `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty" pg:"data"`
	LastModifyTime       time.Time        `protobuf:"bytes,2,opt,name=last_modify_time,json=lastModifyTime,proto3,stdtime" json:"last_modify_time" pg:"last_modify_time"`
	Signature            []byte           `protobuf:"bytes,3,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 (*SignedModifyContractIDBatch) Descriptor

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

func (*SignedModifyContractIDBatch) GetData

func (*SignedModifyContractIDBatch) GetLastModifyTime

func (m *SignedModifyContractIDBatch) GetLastModifyTime() time.Time

func (*SignedModifyContractIDBatch) GetSignature

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

func (*SignedModifyContractIDBatch) Marshal

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

func (*SignedModifyContractIDBatch) MarshalTo

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

func (*SignedModifyContractIDBatch) MarshalToSizedBuffer

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

func (*SignedModifyContractIDBatch) ProtoMessage

func (*SignedModifyContractIDBatch) ProtoMessage()

func (*SignedModifyContractIDBatch) Reset

func (m *SignedModifyContractIDBatch) Reset()

func (*SignedModifyContractIDBatch) Size

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

func (*SignedModifyContractIDBatch) String

func (m *SignedModifyContractIDBatch) String() string

func (*SignedModifyContractIDBatch) Unmarshal

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

func (*SignedModifyContractIDBatch) XXX_DiscardUnknown

func (m *SignedModifyContractIDBatch) XXX_DiscardUnknown()

func (*SignedModifyContractIDBatch) XXX_Marshal

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

func (*SignedModifyContractIDBatch) XXX_Merge

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

func (*SignedModifyContractIDBatch) XXX_MessageName

func (*SignedModifyContractIDBatch) XXX_MessageName() string

func (*SignedModifyContractIDBatch) XXX_Size

func (m *SignedModifyContractIDBatch) XXX_Size() int

func (*SignedModifyContractIDBatch) XXX_Unmarshal

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

type SignedPayinRequest

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

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

func (*SignedPayinRequest) GetBuyerSignature

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

func (*SignedPayinRequest) GetRequest

func (m *SignedPayinRequest) GetRequest() *PayinRequest

func (*SignedPayinRequest) Marshal

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

func (*SignedPayinRequest) MarshalTo

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

func (*SignedPayinRequest) MarshalToSizedBuffer

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

func (*SignedPayinRequest) ProtoMessage

func (*SignedPayinRequest) ProtoMessage()

func (*SignedPayinRequest) Reset

func (m *SignedPayinRequest) Reset()

func (*SignedPayinRequest) Size

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

func (*SignedPayinRequest) String

func (m *SignedPayinRequest) String() string

func (*SignedPayinRequest) Unmarshal

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

func (*SignedPayinRequest) XXX_DiscardUnknown

func (m *SignedPayinRequest) XXX_DiscardUnknown()

func (*SignedPayinRequest) XXX_Marshal

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

func (*SignedPayinRequest) XXX_Merge

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

func (*SignedPayinRequest) XXX_MessageName

func (*SignedPayinRequest) XXX_MessageName() string

func (*SignedPayinRequest) XXX_Size

func (m *SignedPayinRequest) XXX_Size() int

func (*SignedPayinRequest) XXX_Unmarshal

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

type SignedPayinResult

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

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

func (*SignedPayinResult) GetEscrowSignature

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

func (*SignedPayinResult) GetResult

func (m *SignedPayinResult) GetResult() *PayinResult

func (*SignedPayinResult) Marshal

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

func (*SignedPayinResult) MarshalTo

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

func (*SignedPayinResult) MarshalToSizedBuffer

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

func (*SignedPayinResult) ProtoMessage

func (*SignedPayinResult) ProtoMessage()

func (*SignedPayinResult) Reset

func (m *SignedPayinResult) Reset()

func (*SignedPayinResult) Size

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

func (*SignedPayinResult) String

func (m *SignedPayinResult) String() string

func (*SignedPayinResult) Unmarshal

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

func (*SignedPayinResult) XXX_DiscardUnknown

func (m *SignedPayinResult) XXX_DiscardUnknown()

func (*SignedPayinResult) XXX_Marshal

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

func (*SignedPayinResult) XXX_Merge

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

func (*SignedPayinResult) XXX_MessageName

func (*SignedPayinResult) XXX_MessageName() string

func (*SignedPayinResult) XXX_Size

func (m *SignedPayinResult) XXX_Size() int

func (*SignedPayinResult) XXX_Unmarshal

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

type SignedPayinStatus

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

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

func (*SignedPayinStatus) GetEscrowSignature

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

func (*SignedPayinStatus) GetStatus

func (m *SignedPayinStatus) GetStatus() *PayinStatus

func (*SignedPayinStatus) Marshal

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

func (*SignedPayinStatus) MarshalTo

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

func (*SignedPayinStatus) MarshalToSizedBuffer

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

func (*SignedPayinStatus) ProtoMessage

func (*SignedPayinStatus) ProtoMessage()

func (*SignedPayinStatus) Reset

func (m *SignedPayinStatus) Reset()

func (*SignedPayinStatus) Size

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

func (*SignedPayinStatus) String

func (m *SignedPayinStatus) String() string

func (*SignedPayinStatus) Unmarshal

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

func (*SignedPayinStatus) XXX_DiscardUnknown

func (m *SignedPayinStatus) XXX_DiscardUnknown()

func (*SignedPayinStatus) XXX_Marshal

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

func (*SignedPayinStatus) XXX_Merge

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

func (*SignedPayinStatus) XXX_MessageName

func (*SignedPayinStatus) XXX_MessageName() string

func (*SignedPayinStatus) XXX_Size

func (m *SignedPayinStatus) XXX_Size() int

func (*SignedPayinStatus) XXX_Unmarshal

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

type SignedPaymentResult

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

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

func (*SignedPaymentResult) GetEscrowSignature

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

func (*SignedPaymentResult) GetResult

func (m *SignedPaymentResult) GetResult() *PaymentResult

func (*SignedPaymentResult) Marshal

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

func (*SignedPaymentResult) MarshalTo

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

func (*SignedPaymentResult) MarshalToSizedBuffer

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

func (*SignedPaymentResult) ProtoMessage

func (*SignedPaymentResult) ProtoMessage()

func (*SignedPaymentResult) Reset

func (m *SignedPaymentResult) Reset()

func (*SignedPaymentResult) Size

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

func (*SignedPaymentResult) String

func (m *SignedPaymentResult) String() string

func (*SignedPaymentResult) Unmarshal

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

func (*SignedPaymentResult) XXX_DiscardUnknown

func (m *SignedPaymentResult) XXX_DiscardUnknown()

func (*SignedPaymentResult) XXX_Marshal

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

func (*SignedPaymentResult) XXX_Merge

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

func (*SignedPaymentResult) XXX_MessageName

func (*SignedPaymentResult) XXX_MessageName() string

func (*SignedPaymentResult) XXX_Size

func (m *SignedPaymentResult) XXX_Size() int

func (*SignedPaymentResult) XXX_Unmarshal

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

type SignedPayoutAddress

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

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

func (*SignedPayoutAddress) GetAddress

func (m *SignedPayoutAddress) GetAddress() *PayoutAddress

func (*SignedPayoutAddress) GetSignature

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

func (*SignedPayoutAddress) Marshal

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

func (*SignedPayoutAddress) MarshalTo

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

func (*SignedPayoutAddress) MarshalToSizedBuffer

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

func (*SignedPayoutAddress) ProtoMessage

func (*SignedPayoutAddress) ProtoMessage()

func (*SignedPayoutAddress) Reset

func (m *SignedPayoutAddress) Reset()

func (*SignedPayoutAddress) Size

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

func (*SignedPayoutAddress) String

func (m *SignedPayoutAddress) String() string

func (*SignedPayoutAddress) Unmarshal

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

func (*SignedPayoutAddress) XXX_DiscardUnknown

func (m *SignedPayoutAddress) XXX_DiscardUnknown()

func (*SignedPayoutAddress) XXX_Marshal

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

func (*SignedPayoutAddress) XXX_Merge

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

func (*SignedPayoutAddress) XXX_MessageName

func (*SignedPayoutAddress) XXX_MessageName() string

func (*SignedPayoutAddress) XXX_Size

func (m *SignedPayoutAddress) XXX_Size() int

func (*SignedPayoutAddress) XXX_Unmarshal

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

type SignedPayoutStatus

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

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

func (*SignedPayoutStatus) GetEscrowSignature

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

func (*SignedPayoutStatus) GetStatus

func (m *SignedPayoutStatus) GetStatus() *PayoutStatus

func (*SignedPayoutStatus) Marshal

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

func (*SignedPayoutStatus) MarshalTo

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

func (*SignedPayoutStatus) MarshalToSizedBuffer

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

func (*SignedPayoutStatus) ProtoMessage

func (*SignedPayoutStatus) ProtoMessage()

func (*SignedPayoutStatus) Reset

func (m *SignedPayoutStatus) Reset()

func (*SignedPayoutStatus) Size

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

func (*SignedPayoutStatus) String

func (m *SignedPayoutStatus) String() string

func (*SignedPayoutStatus) Unmarshal

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

func (*SignedPayoutStatus) XXX_DiscardUnknown

func (m *SignedPayoutStatus) XXX_DiscardUnknown()

func (*SignedPayoutStatus) XXX_Marshal

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

func (*SignedPayoutStatus) XXX_Merge

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

func (*SignedPayoutStatus) XXX_MessageName

func (*SignedPayoutStatus) XXX_MessageName() string

func (*SignedPayoutStatus) XXX_Size

func (m *SignedPayoutStatus) XXX_Size() int

func (*SignedPayoutStatus) XXX_Unmarshal

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

type SignedPayoutStatusBatch

type SignedPayoutStatusBatch struct {
	Status               []*PayoutStatus `protobuf:"bytes,1,rep,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 (*SignedPayoutStatusBatch) Descriptor

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

func (*SignedPayoutStatusBatch) GetEscrowSignature

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

func (*SignedPayoutStatusBatch) GetStatus

func (m *SignedPayoutStatusBatch) GetStatus() []*PayoutStatus

func (*SignedPayoutStatusBatch) Marshal

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

func (*SignedPayoutStatusBatch) MarshalTo

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

func (*SignedPayoutStatusBatch) MarshalToSizedBuffer

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

func (*SignedPayoutStatusBatch) ProtoMessage

func (*SignedPayoutStatusBatch) ProtoMessage()

func (*SignedPayoutStatusBatch) Reset

func (m *SignedPayoutStatusBatch) Reset()

func (*SignedPayoutStatusBatch) Size

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

func (*SignedPayoutStatusBatch) String

func (m *SignedPayoutStatusBatch) String() string

func (*SignedPayoutStatusBatch) Unmarshal

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

func (*SignedPayoutStatusBatch) XXX_DiscardUnknown

func (m *SignedPayoutStatusBatch) XXX_DiscardUnknown()

func (*SignedPayoutStatusBatch) XXX_Marshal

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

func (*SignedPayoutStatusBatch) XXX_Merge

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

func (*SignedPayoutStatusBatch) XXX_MessageName

func (*SignedPayoutStatusBatch) XXX_MessageName() string

func (*SignedPayoutStatusBatch) XXX_Size

func (m *SignedPayoutStatusBatch) XXX_Size() int

func (*SignedPayoutStatusBatch) XXX_Unmarshal

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

type SignedStakePenaltyRequest

type SignedStakePenaltyRequest struct {
	Data                 *StakePenaltyRequest `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 (*SignedStakePenaltyRequest) Descriptor

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

func (*SignedStakePenaltyRequest) GetData

func (*SignedStakePenaltyRequest) GetSignature

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

func (*SignedStakePenaltyRequest) Marshal

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

func (*SignedStakePenaltyRequest) MarshalTo

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

func (*SignedStakePenaltyRequest) MarshalToSizedBuffer

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

func (*SignedStakePenaltyRequest) ProtoMessage

func (*SignedStakePenaltyRequest) ProtoMessage()

func (*SignedStakePenaltyRequest) Reset

func (m *SignedStakePenaltyRequest) Reset()

func (*SignedStakePenaltyRequest) Size

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

func (*SignedStakePenaltyRequest) String

func (m *SignedStakePenaltyRequest) String() string

func (*SignedStakePenaltyRequest) Unmarshal

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

func (*SignedStakePenaltyRequest) XXX_DiscardUnknown

func (m *SignedStakePenaltyRequest) XXX_DiscardUnknown()

func (*SignedStakePenaltyRequest) XXX_Marshal

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

func (*SignedStakePenaltyRequest) XXX_Merge

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

func (*SignedStakePenaltyRequest) XXX_MessageName

func (*SignedStakePenaltyRequest) XXX_MessageName() string

func (*SignedStakePenaltyRequest) XXX_Size

func (m *SignedStakePenaltyRequest) XXX_Size() int

func (*SignedStakePenaltyRequest) XXX_Unmarshal

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

type SignedStakePenaltyResult

type SignedStakePenaltyResult struct {
	Data                 *StakePenaltyResult `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 (*SignedStakePenaltyResult) Descriptor

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

func (*SignedStakePenaltyResult) GetData

func (*SignedStakePenaltyResult) GetSignature

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

func (*SignedStakePenaltyResult) Marshal

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

func (*SignedStakePenaltyResult) MarshalTo

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

func (*SignedStakePenaltyResult) MarshalToSizedBuffer

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

func (*SignedStakePenaltyResult) ProtoMessage

func (*SignedStakePenaltyResult) ProtoMessage()

func (*SignedStakePenaltyResult) Reset

func (m *SignedStakePenaltyResult) Reset()

func (*SignedStakePenaltyResult) Size

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

func (*SignedStakePenaltyResult) String

func (m *SignedStakePenaltyResult) String() string

func (*SignedStakePenaltyResult) Unmarshal

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

func (*SignedStakePenaltyResult) XXX_DiscardUnknown

func (m *SignedStakePenaltyResult) XXX_DiscardUnknown()

func (*SignedStakePenaltyResult) XXX_Marshal

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

func (*SignedStakePenaltyResult) XXX_Merge

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

func (*SignedStakePenaltyResult) XXX_MessageName

func (*SignedStakePenaltyResult) XXX_MessageName() string

func (*SignedStakePenaltyResult) XXX_Size

func (m *SignedStakePenaltyResult) XXX_Size() int

func (*SignedStakePenaltyResult) XXX_Unmarshal

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

type SignedStakeRequest

type SignedStakeRequest struct {
	Data                 *StakeRequest `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 (*SignedStakeRequest) Descriptor

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

func (*SignedStakeRequest) GetData

func (m *SignedStakeRequest) GetData() *StakeRequest

func (*SignedStakeRequest) GetSignature

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

func (*SignedStakeRequest) Marshal

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

func (*SignedStakeRequest) MarshalTo

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

func (*SignedStakeRequest) MarshalToSizedBuffer

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

func (*SignedStakeRequest) ProtoMessage

func (*SignedStakeRequest) ProtoMessage()

func (*SignedStakeRequest) Reset

func (m *SignedStakeRequest) Reset()

func (*SignedStakeRequest) Size

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

func (*SignedStakeRequest) String

func (m *SignedStakeRequest) String() string

func (*SignedStakeRequest) Unmarshal

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

func (*SignedStakeRequest) XXX_DiscardUnknown

func (m *SignedStakeRequest) XXX_DiscardUnknown()

func (*SignedStakeRequest) XXX_Marshal

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

func (*SignedStakeRequest) XXX_Merge

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

func (*SignedStakeRequest) XXX_MessageName

func (*SignedStakeRequest) XXX_MessageName() string

func (*SignedStakeRequest) XXX_Size

func (m *SignedStakeRequest) XXX_Size() int

func (*SignedStakeRequest) XXX_Unmarshal

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

type SignedStakeResult

type SignedStakeResult struct {
	Data                 *StakeResult `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 (*SignedStakeResult) Descriptor

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

func (*SignedStakeResult) GetData

func (m *SignedStakeResult) GetData() *StakeResult

func (*SignedStakeResult) GetSignature

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

func (*SignedStakeResult) Marshal

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

func (*SignedStakeResult) MarshalTo

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

func (*SignedStakeResult) MarshalToSizedBuffer

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

func (*SignedStakeResult) ProtoMessage

func (*SignedStakeResult) ProtoMessage()

func (*SignedStakeResult) Reset

func (m *SignedStakeResult) Reset()

func (*SignedStakeResult) Size

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

func (*SignedStakeResult) String

func (m *SignedStakeResult) String() string

func (*SignedStakeResult) Unmarshal

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

func (*SignedStakeResult) XXX_DiscardUnknown

func (m *SignedStakeResult) XXX_DiscardUnknown()

func (*SignedStakeResult) XXX_Marshal

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

func (*SignedStakeResult) XXX_Merge

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

func (*SignedStakeResult) XXX_MessageName

func (*SignedStakeResult) XXX_MessageName() string

func (*SignedStakeResult) XXX_Size

func (m *SignedStakeResult) XXX_Size() int

func (*SignedStakeResult) XXX_Unmarshal

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

type SignedStartEscrowResult

type SignedStartEscrowResult struct {
	Result               *StartEscrowResult `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 (*SignedStartEscrowResult) Descriptor

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

func (*SignedStartEscrowResult) GetEscrowSignature

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

func (*SignedStartEscrowResult) GetResult

func (*SignedStartEscrowResult) Marshal

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

func (*SignedStartEscrowResult) MarshalTo

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

func (*SignedStartEscrowResult) MarshalToSizedBuffer

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

func (*SignedStartEscrowResult) ProtoMessage

func (*SignedStartEscrowResult) ProtoMessage()

func (*SignedStartEscrowResult) Reset

func (m *SignedStartEscrowResult) Reset()

func (*SignedStartEscrowResult) Size

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

func (*SignedStartEscrowResult) String

func (m *SignedStartEscrowResult) String() string

func (*SignedStartEscrowResult) Unmarshal

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

func (*SignedStartEscrowResult) XXX_DiscardUnknown

func (m *SignedStartEscrowResult) XXX_DiscardUnknown()

func (*SignedStartEscrowResult) XXX_Marshal

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

func (*SignedStartEscrowResult) XXX_Merge

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

func (*SignedStartEscrowResult) XXX_MessageName

func (*SignedStartEscrowResult) XXX_MessageName() string

func (*SignedStartEscrowResult) XXX_Size

func (m *SignedStartEscrowResult) XXX_Size() int

func (*SignedStartEscrowResult) XXX_Unmarshal

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

type SignedSubmitContractResult

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

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

func (*SignedSubmitContractResult) GetEscrowSignature

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

func (*SignedSubmitContractResult) GetResult

func (*SignedSubmitContractResult) Marshal

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

func (*SignedSubmitContractResult) MarshalTo

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

func (*SignedSubmitContractResult) MarshalToSizedBuffer

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

func (*SignedSubmitContractResult) ProtoMessage

func (*SignedSubmitContractResult) ProtoMessage()

func (*SignedSubmitContractResult) Reset

func (m *SignedSubmitContractResult) Reset()

func (*SignedSubmitContractResult) Size

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

func (*SignedSubmitContractResult) String

func (m *SignedSubmitContractResult) String() string

func (*SignedSubmitContractResult) Unmarshal

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

func (*SignedSubmitContractResult) XXX_DiscardUnknown

func (m *SignedSubmitContractResult) XXX_DiscardUnknown()

func (*SignedSubmitContractResult) XXX_Marshal

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

func (*SignedSubmitContractResult) XXX_Merge

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

func (*SignedSubmitContractResult) XXX_MessageName

func (*SignedSubmitContractResult) XXX_MessageName() string

func (*SignedSubmitContractResult) XXX_Size

func (m *SignedSubmitContractResult) XXX_Size() int

func (*SignedSubmitContractResult) XXX_Unmarshal

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

type StakeLedger

type StakeLedger struct {
	StakerId             string        `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty" pg:"staker_id"`
	Amount               int64         `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	StartTime            time.Time     `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" pg:"start_time"`
	MatureTime           time.Time     `protobuf:"bytes,4,opt,name=mature_time,json=matureTime,proto3,stdtime" json:"mature_time" pg:"mature_time"`
	OperatorId           string        `protobuf:"bytes,5,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty" pg:"operator_id"`
	Type                 OperationType `protobuf:"varint,6,opt,name=type,proto3,enum=escrow.OperationType" json:"type,omitempty" pg:"type"`
	OperationLog         string        `protobuf:"bytes,7,opt,name=operation_log,json=operationLog,proto3" json:"operation_log,omitempty" pg:"operation_log"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-" pg:"-"`
	XXX_unrecognized     []byte        `json:"-" pg:"-"`
	XXX_sizecache        int32         `json:"-" pg:"-"`
}

func (*StakeLedger) Descriptor

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

func (*StakeLedger) GetAmount

func (m *StakeLedger) GetAmount() int64

func (*StakeLedger) GetMatureTime

func (m *StakeLedger) GetMatureTime() time.Time

func (*StakeLedger) GetOperationLog

func (m *StakeLedger) GetOperationLog() string

func (*StakeLedger) GetOperatorId

func (m *StakeLedger) GetOperatorId() string

func (*StakeLedger) GetStakerId

func (m *StakeLedger) GetStakerId() string

func (*StakeLedger) GetStartTime

func (m *StakeLedger) GetStartTime() time.Time

func (*StakeLedger) GetType

func (m *StakeLedger) GetType() OperationType

func (*StakeLedger) Marshal

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

func (*StakeLedger) MarshalTo

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

func (*StakeLedger) MarshalToSizedBuffer

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

func (*StakeLedger) ProtoMessage

func (*StakeLedger) ProtoMessage()

func (*StakeLedger) Reset

func (m *StakeLedger) Reset()

func (*StakeLedger) Size

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

func (*StakeLedger) String

func (m *StakeLedger) String() string

func (*StakeLedger) Unmarshal

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

func (*StakeLedger) XXX_DiscardUnknown

func (m *StakeLedger) XXX_DiscardUnknown()

func (*StakeLedger) XXX_Marshal

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

func (*StakeLedger) XXX_Merge

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

func (*StakeLedger) XXX_MessageName

func (*StakeLedger) XXX_MessageName() string

func (*StakeLedger) XXX_Size

func (m *StakeLedger) XXX_Size() int

func (*StakeLedger) XXX_Unmarshal

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

type StakePenaltyRequest

type StakePenaltyRequest struct {
	StakerId             string        `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty" pg:"staker_id"`
	OperatorId           string        `protobuf:"bytes,2,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty" pg:"operator_id"`
	Reason               OperationType `protobuf:"varint,3,opt,name=reason,proto3,enum=escrow.OperationType" json:"reason,omitempty" pg:"reason"`
	OperationLog         string        `protobuf:"bytes,4,opt,name=operation_log,json=operationLog,proto3" json:"operation_log,omitempty" pg:"operation_log"`
	Amount               int64         `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	SubmitTime           time.Time     `protobuf:"bytes,6,opt,name=submit_time,json=submitTime,proto3,stdtime" json:"submit_time" pg:"submit_time"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-" pg:"-"`
	XXX_unrecognized     []byte        `json:"-" pg:"-"`
	XXX_sizecache        int32         `json:"-" pg:"-"`
}

func (*StakePenaltyRequest) Descriptor

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

func (*StakePenaltyRequest) GetAmount

func (m *StakePenaltyRequest) GetAmount() int64

func (*StakePenaltyRequest) GetOperationLog

func (m *StakePenaltyRequest) GetOperationLog() string

func (*StakePenaltyRequest) GetOperatorId

func (m *StakePenaltyRequest) GetOperatorId() string

func (*StakePenaltyRequest) GetReason

func (m *StakePenaltyRequest) GetReason() OperationType

func (*StakePenaltyRequest) GetStakerId

func (m *StakePenaltyRequest) GetStakerId() string

func (*StakePenaltyRequest) GetSubmitTime

func (m *StakePenaltyRequest) GetSubmitTime() time.Time

func (*StakePenaltyRequest) Marshal

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

func (*StakePenaltyRequest) MarshalTo

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

func (*StakePenaltyRequest) MarshalToSizedBuffer

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

func (*StakePenaltyRequest) ProtoMessage

func (*StakePenaltyRequest) ProtoMessage()

func (*StakePenaltyRequest) Reset

func (m *StakePenaltyRequest) Reset()

func (*StakePenaltyRequest) Size

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

func (*StakePenaltyRequest) String

func (m *StakePenaltyRequest) String() string

func (*StakePenaltyRequest) Unmarshal

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

func (*StakePenaltyRequest) XXX_DiscardUnknown

func (m *StakePenaltyRequest) XXX_DiscardUnknown()

func (*StakePenaltyRequest) XXX_Marshal

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

func (*StakePenaltyRequest) XXX_Merge

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

func (*StakePenaltyRequest) XXX_MessageName

func (*StakePenaltyRequest) XXX_MessageName() string

func (*StakePenaltyRequest) XXX_Size

func (m *StakePenaltyRequest) XXX_Size() int

func (*StakePenaltyRequest) XXX_Unmarshal

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

type StakePenaltyResult

type StakePenaltyResult struct {
	StakerId             string    `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty" pg:"staker_id"`
	RequestPenaltyAmount int64     `` /* 152-byte string literal not displayed */
	OperatePenaltyAmount int64     `` /* 152-byte string literal not displayed */
	OperatorId           string    `protobuf:"bytes,4,opt,name=operator_id,json=operatorId,proto3" json:"operator_id,omitempty" pg:"operator_id"`
	ReceiveTime          time.Time `protobuf:"bytes,5,opt,name=receive_time,json=receiveTime,proto3,stdtime" json:"receive_time" pg:"receive_time"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-" pg:"-"`
	XXX_unrecognized     []byte    `json:"-" pg:"-"`
	XXX_sizecache        int32     `json:"-" pg:"-"`
}

func (*StakePenaltyResult) Descriptor

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

func (*StakePenaltyResult) GetOperatePenaltyAmount

func (m *StakePenaltyResult) GetOperatePenaltyAmount() int64

func (*StakePenaltyResult) GetOperatorId

func (m *StakePenaltyResult) GetOperatorId() string

func (*StakePenaltyResult) GetReceiveTime

func (m *StakePenaltyResult) GetReceiveTime() time.Time

func (*StakePenaltyResult) GetRequestPenaltyAmount

func (m *StakePenaltyResult) GetRequestPenaltyAmount() int64

func (*StakePenaltyResult) GetStakerId

func (m *StakePenaltyResult) GetStakerId() string

func (*StakePenaltyResult) Marshal

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

func (*StakePenaltyResult) MarshalTo

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

func (*StakePenaltyResult) MarshalToSizedBuffer

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

func (*StakePenaltyResult) ProtoMessage

func (*StakePenaltyResult) ProtoMessage()

func (*StakePenaltyResult) Reset

func (m *StakePenaltyResult) Reset()

func (*StakePenaltyResult) Size

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

func (*StakePenaltyResult) String

func (m *StakePenaltyResult) String() string

func (*StakePenaltyResult) Unmarshal

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

func (*StakePenaltyResult) XXX_DiscardUnknown

func (m *StakePenaltyResult) XXX_DiscardUnknown()

func (*StakePenaltyResult) XXX_Marshal

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

func (*StakePenaltyResult) XXX_Merge

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

func (*StakePenaltyResult) XXX_MessageName

func (*StakePenaltyResult) XXX_MessageName() string

func (*StakePenaltyResult) XXX_Size

func (m *StakePenaltyResult) XXX_Size() int

func (*StakePenaltyResult) XXX_Unmarshal

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

type StakeRequest

type StakeRequest struct {
	StakerId             string                        `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty" pg:"staker_id"`
	StakeAmount          int64                         `protobuf:"varint,2,opt,name=stake_amount,json=stakeAmount,proto3" json:"stake_amount,omitempty" pg:"stake_amount"`
	TransferRequest      *ledger.SignedTransferRequest `` /* 128-byte string literal not displayed */
	RequestTime          time.Time                     `protobuf:"bytes,4,opt,name=request_time,json=requestTime,proto3,stdtime" json:"request_time" pg:"request_time"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-" pg:"-"`
	XXX_unrecognized     []byte                        `json:"-" pg:"-"`
	XXX_sizecache        int32                         `json:"-" pg:"-"`
}

func (*StakeRequest) Descriptor

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

func (*StakeRequest) GetRequestTime

func (m *StakeRequest) GetRequestTime() time.Time

func (*StakeRequest) GetStakeAmount

func (m *StakeRequest) GetStakeAmount() int64

func (*StakeRequest) GetStakerId

func (m *StakeRequest) GetStakerId() string

func (*StakeRequest) GetTransferRequest

func (m *StakeRequest) GetTransferRequest() *ledger.SignedTransferRequest

func (*StakeRequest) Marshal

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

func (*StakeRequest) MarshalTo

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

func (*StakeRequest) MarshalToSizedBuffer

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

func (*StakeRequest) ProtoMessage

func (*StakeRequest) ProtoMessage()

func (*StakeRequest) Reset

func (m *StakeRequest) Reset()

func (*StakeRequest) Size

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

func (*StakeRequest) String

func (m *StakeRequest) String() string

func (*StakeRequest) Unmarshal

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

func (*StakeRequest) XXX_DiscardUnknown

func (m *StakeRequest) XXX_DiscardUnknown()

func (*StakeRequest) XXX_Marshal

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

func (*StakeRequest) XXX_Merge

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

func (*StakeRequest) XXX_MessageName

func (*StakeRequest) XXX_MessageName() string

func (*StakeRequest) XXX_Size

func (m *StakeRequest) XXX_Size() int

func (*StakeRequest) XXX_Unmarshal

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

type StakeResult

type StakeResult struct {
	StakerId             string                 `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty" pg:"staker_id"`
	Balance              int64                  `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty" pg:"balance"`
	MatureAmount         int64                  `protobuf:"varint,3,opt,name=mature_amount,json=matureAmount,proto3" json:"mature_amount,omitempty" pg:"mature_amount"`
	PendingAmount        int64                  `protobuf:"varint,4,opt,name=pending_amount,json=pendingAmount,proto3" json:"pending_amount,omitempty" pg:"pending_amount"`
	Ledgers              []*StakeLedger         `protobuf:"bytes,5,rep,name=ledgers,proto3" json:"ledgers,omitempty" pg:"ledgers"`
	UnfinishLedgers      []*UnfinishStakeLedger `` /* 128-byte string literal not displayed */
	XXX_NoUnkeyedLiteral struct{}               `json:"-" pg:"-"`
	XXX_unrecognized     []byte                 `json:"-" pg:"-"`
	XXX_sizecache        int32                  `json:"-" pg:"-"`
}

func (*StakeResult) Descriptor

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

func (*StakeResult) GetBalance

func (m *StakeResult) GetBalance() int64

func (*StakeResult) GetLedgers

func (m *StakeResult) GetLedgers() []*StakeLedger

func (*StakeResult) GetMatureAmount

func (m *StakeResult) GetMatureAmount() int64

func (*StakeResult) GetPendingAmount

func (m *StakeResult) GetPendingAmount() int64

func (*StakeResult) GetStakerId

func (m *StakeResult) GetStakerId() string

func (*StakeResult) GetUnfinishLedgers

func (m *StakeResult) GetUnfinishLedgers() []*UnfinishStakeLedger

func (*StakeResult) Marshal

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

func (*StakeResult) MarshalTo

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

func (*StakeResult) MarshalToSizedBuffer

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

func (*StakeResult) ProtoMessage

func (*StakeResult) ProtoMessage()

func (*StakeResult) Reset

func (m *StakeResult) Reset()

func (*StakeResult) Size

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

func (*StakeResult) String

func (m *StakeResult) String() string

func (*StakeResult) Unmarshal

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

func (*StakeResult) XXX_DiscardUnknown

func (m *StakeResult) XXX_DiscardUnknown()

func (*StakeResult) XXX_Marshal

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

func (*StakeResult) XXX_Merge

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

func (*StakeResult) XXX_MessageName

func (*StakeResult) XXX_MessageName() string

func (*StakeResult) XXX_Size

func (m *StakeResult) XXX_Size() int

func (*StakeResult) XXX_Unmarshal

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

type StakeStatus

type StakeStatus int32
const (
	StakeStatus_PROCEEDING StakeStatus = 0
	StakeStatus_FAIL       StakeStatus = 1
)

func (StakeStatus) EnumDescriptor

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

func (StakeStatus) String

func (x StakeStatus) String() string

type StartEscrowResult

type StartEscrowResult struct {
	Escrow               []*Escrow `protobuf:"bytes,1,rep,name=escrow,proto3" json:"escrow,omitempty" pg:"escrow"`
	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 (*StartEscrowResult) Descriptor

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

func (*StartEscrowResult) GetEscrow

func (m *StartEscrowResult) GetEscrow() []*Escrow

func (*StartEscrowResult) GetEscrowAddress

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

func (*StartEscrowResult) GetEscrowSignedTime

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

func (*StartEscrowResult) Marshal

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

func (*StartEscrowResult) MarshalTo

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

func (*StartEscrowResult) MarshalToSizedBuffer

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

func (*StartEscrowResult) ProtoMessage

func (*StartEscrowResult) ProtoMessage()

func (*StartEscrowResult) Reset

func (m *StartEscrowResult) Reset()

func (*StartEscrowResult) Size

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

func (*StartEscrowResult) String

func (m *StartEscrowResult) String() string

func (*StartEscrowResult) Unmarshal

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

func (*StartEscrowResult) XXX_DiscardUnknown

func (m *StartEscrowResult) XXX_DiscardUnknown()

func (*StartEscrowResult) XXX_Marshal

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

func (*StartEscrowResult) XXX_Merge

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

func (*StartEscrowResult) XXX_MessageName

func (*StartEscrowResult) XXX_MessageName() string

func (*StartEscrowResult) XXX_Size

func (m *StartEscrowResult) XXX_Size() int

func (*StartEscrowResult) XXX_Unmarshal

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

type SubmitContractResult

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

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

func (*SubmitContractResult) GetBuyerChannelState

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

func (*SubmitContractResult) GetEscrow

func (m *SubmitContractResult) GetEscrow() []*Escrow

func (*SubmitContractResult) GetEscrowAddress

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

func (*SubmitContractResult) GetEscrowSignedTime

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

func (*SubmitContractResult) GetPayinId

func (m *SubmitContractResult) GetPayinId() string

func (*SubmitContractResult) Marshal

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

func (*SubmitContractResult) MarshalTo

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

func (*SubmitContractResult) MarshalToSizedBuffer

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

func (*SubmitContractResult) ProtoMessage

func (*SubmitContractResult) ProtoMessage()

func (*SubmitContractResult) Reset

func (m *SubmitContractResult) Reset()

func (*SubmitContractResult) Size

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

func (*SubmitContractResult) String

func (m *SubmitContractResult) String() string

func (*SubmitContractResult) Unmarshal

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

func (*SubmitContractResult) XXX_DiscardUnknown

func (m *SubmitContractResult) XXX_DiscardUnknown()

func (*SubmitContractResult) XXX_Marshal

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

func (*SubmitContractResult) XXX_Merge

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

func (*SubmitContractResult) XXX_MessageName

func (*SubmitContractResult) XXX_MessageName() string

func (*SubmitContractResult) XXX_Size

func (m *SubmitContractResult) XXX_Size() int

func (*SubmitContractResult) XXX_Unmarshal

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 UnfinishStakeLedger

type UnfinishStakeLedger struct {
	StakerId             string      `protobuf:"bytes,1,opt,name=staker_id,json=stakerId,proto3" json:"staker_id,omitempty" pg:"staker_id"`
	Amount               int64       `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty" pg:"amount"`
	Status               StakeStatus `protobuf:"varint,3,opt,name=status,proto3,enum=escrow.StakeStatus" json:"status,omitempty" pg:"status"`
	FailReason           string      `protobuf:"bytes,4,opt,name=fail_reason,json=failReason,proto3" json:"fail_reason,omitempty" pg:"fail_reason"`
	SubmitTime           time.Time   `protobuf:"bytes,5,opt,name=submit_time,json=submitTime,proto3,stdtime" json:"submit_time" pg:"submit_time"`
	FailTime             time.Time   `protobuf:"bytes,6,opt,name=fail_time,json=failTime,proto3,stdtime" json:"fail_time" pg:"fail_time"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-" pg:"-"`
	XXX_unrecognized     []byte      `json:"-" pg:"-"`
	XXX_sizecache        int32       `json:"-" pg:"-"`
}

func (*UnfinishStakeLedger) Descriptor

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

func (*UnfinishStakeLedger) GetAmount

func (m *UnfinishStakeLedger) GetAmount() int64

func (*UnfinishStakeLedger) GetFailReason

func (m *UnfinishStakeLedger) GetFailReason() string

func (*UnfinishStakeLedger) GetFailTime

func (m *UnfinishStakeLedger) GetFailTime() time.Time

func (*UnfinishStakeLedger) GetStakerId

func (m *UnfinishStakeLedger) GetStakerId() string

func (*UnfinishStakeLedger) GetStatus

func (m *UnfinishStakeLedger) GetStatus() StakeStatus

func (*UnfinishStakeLedger) GetSubmitTime

func (m *UnfinishStakeLedger) GetSubmitTime() time.Time

func (*UnfinishStakeLedger) Marshal

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

func (*UnfinishStakeLedger) MarshalTo

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

func (*UnfinishStakeLedger) MarshalToSizedBuffer

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

func (*UnfinishStakeLedger) ProtoMessage

func (*UnfinishStakeLedger) ProtoMessage()

func (*UnfinishStakeLedger) Reset

func (m *UnfinishStakeLedger) Reset()

func (*UnfinishStakeLedger) Size

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

func (*UnfinishStakeLedger) String

func (m *UnfinishStakeLedger) String() string

func (*UnfinishStakeLedger) Unmarshal

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

func (*UnfinishStakeLedger) XXX_DiscardUnknown

func (m *UnfinishStakeLedger) XXX_DiscardUnknown()

func (*UnfinishStakeLedger) XXX_Marshal

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

func (*UnfinishStakeLedger) XXX_Merge

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

func (*UnfinishStakeLedger) XXX_MessageName

func (*UnfinishStakeLedger) XXX_MessageName() string

func (*UnfinishStakeLedger) XXX_Size

func (m *UnfinishStakeLedger) XXX_Size() int

func (*UnfinishStakeLedger) XXX_Unmarshal

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

type UnimplementedEscrowServiceServer

type UnimplementedEscrowServiceServer struct {
}

UnimplementedEscrowServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedEscrowServiceServer) BalanceOf

func (*UnimplementedEscrowServiceServer) CancelContracts

func (*UnimplementedEscrowServiceServer) CloseChannel

func (*UnimplementedEscrowServiceServer) CreateChannel

func (*UnimplementedEscrowServiceServer) GetModifyPayOutStatusBatch

func (*UnimplementedEscrowServiceServer) GetPayOutStatus

func (*UnimplementedEscrowServiceServer) GetPayOutStatusBatch

func (*UnimplementedEscrowServiceServer) IsPaid

func (*UnimplementedEscrowServiceServer) MyPayment

func (*UnimplementedEscrowServiceServer) Pay

func (*UnimplementedEscrowServiceServer) PayIn

func (*UnimplementedEscrowServiceServer) Stake

func (*UnimplementedEscrowServiceServer) StakePenalty

func (*UnimplementedEscrowServiceServer) StartEscrow

func (*UnimplementedEscrowServiceServer) SubmitContracts

Jump to

Keyboard shortcuts

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