Commit 38154040 authored by pengjun's avatar pengjun

Merge branch 'master' of https://github.com/jpeng-go/plugin

parents 6a742c89 48707976
...@@ -5,9 +5,10 @@ ...@@ -5,9 +5,10 @@
package executor package executor
import ( import (
"github.com/33cn/chain33/common/db/table"
"math" "math"
"github.com/33cn/chain33/common/db/table"
"github.com/33cn/chain33/account" "github.com/33cn/chain33/account"
"github.com/33cn/chain33/common" "github.com/33cn/chain33/common"
dbm "github.com/33cn/chain33/common/db" dbm "github.com/33cn/chain33/common/db"
...@@ -478,7 +479,7 @@ func getBtyNumToFrozen(value int64, price float64, ratio float64) (int64, error) ...@@ -478,7 +479,7 @@ func getBtyNumToFrozen(value int64, price float64, ratio float64) (int64, error)
// value:借出ccny数量, colValue:抵押物数量, price:抵押物价格 // value:借出ccny数量, colValue:抵押物数量, price:抵押物价格
func calcLiquidationPrice(value int64, colValue int64) float64 { func calcLiquidationPrice(value int64, colValue int64) float64 {
liquidationRation := float64(value) / float64(colValue) liquidationRation := float64(value) / float64(colValue)
liquidationPrice := math.Trunc(liquidationRation * pty.CollateralizePreLiquidationRatio * 1e4)/1e4 liquidationPrice := math.Trunc(liquidationRation*pty.CollateralizePreLiquidationRatio*1e4) / 1e4
return liquidationPrice return liquidationPrice
} }
...@@ -620,7 +621,7 @@ func (action *Action) CollateralizeBorrow(borrow *pty.CollateralizeBorrow) (*typ ...@@ -620,7 +621,7 @@ func (action *Action) CollateralizeBorrow(borrow *pty.CollateralizeBorrow) (*typ
borrowRecord.StartTime = action.blocktime borrowRecord.StartTime = action.blocktime
borrowRecord.CollateralPrice = lastPrice borrowRecord.CollateralPrice = lastPrice
borrowRecord.DebtValue = borrow.GetValue() borrowRecord.DebtValue = borrow.GetValue()
borrowRecord.LiquidationPrice = math.Trunc(coll.LiquidationRatio * lastPrice * pty.CollateralizePreLiquidationRatio * 1e4)/1e4 borrowRecord.LiquidationPrice = math.Trunc(coll.LiquidationRatio*lastPrice*pty.CollateralizePreLiquidationRatio*1e4) / 1e4
borrowRecord.Status = pty.CollateralizeUserStatusCreate borrowRecord.Status = pty.CollateralizeUserStatusCreate
borrowRecord.ExpireTime = action.blocktime + coll.Period borrowRecord.ExpireTime = action.blocktime + coll.Period
...@@ -1174,8 +1175,8 @@ func queryCollateralizeByStatus(localdb dbm.KVDB, status int32, collID string) ( ...@@ -1174,8 +1175,8 @@ func queryCollateralizeByStatus(localdb dbm.KVDB, status int32, collID string) (
} }
var data = &pty.ReceiptCollateralize{ var data = &pty.ReceiptCollateralize{
CollateralizeId:collID, CollateralizeId: collID,
Status:status, Status: status,
} }
rows, err := query.List("status", data, primary, DefultCount, ListDESC) rows, err := query.List("status", data, primary, DefultCount, ListDESC)
if err != nil { if err != nil {
...@@ -1199,9 +1200,9 @@ func queryCollateralizeByAddr(localdb dbm.KVDB, addr string, status int32, collI ...@@ -1199,9 +1200,9 @@ func queryCollateralizeByAddr(localdb dbm.KVDB, addr string, status int32, collI
} }
var data = &pty.ReceiptCollateralize{ var data = &pty.ReceiptCollateralize{
CollateralizeId:collID, CollateralizeId: collID,
Status:status, Status: status,
AccountAddr:addr, AccountAddr: addr,
} }
var rows []*table.Row var rows []*table.Row
var err error var err error
...@@ -1257,8 +1258,8 @@ func queryCollateralizeRecordByAddr(db dbm.KV, localdb dbm.KVDB, addr string, co ...@@ -1257,8 +1258,8 @@ func queryCollateralizeRecordByAddr(db dbm.KV, localdb dbm.KVDB, addr string, co
} }
var data = &pty.ReceiptCollateralize{ var data = &pty.ReceiptCollateralize{
AccountAddr:addr, AccountAddr: addr,
CollateralizeId:collID, CollateralizeId: collID,
} }
var rows []*table.Row var rows []*table.Row
...@@ -1298,8 +1299,8 @@ func queryCollateralizeRecordByStatus(db dbm.KV, localdb dbm.KVDB, status int32, ...@@ -1298,8 +1299,8 @@ func queryCollateralizeRecordByStatus(db dbm.KV, localdb dbm.KVDB, status int32,
} }
var data = &pty.ReceiptCollateralize{ var data = &pty.ReceiptCollateralize{
Status:status, Status: status,
CollateralizeId:collID, CollateralizeId: collID,
} }
var rows []*table.Row var rows []*table.Row
......
...@@ -23,7 +23,7 @@ func (c *Collateralize) execLocal(tx *types.Transaction, receipt *types.ReceiptD ...@@ -23,7 +23,7 @@ func (c *Collateralize) execLocal(tx *types.Transaction, receipt *types.ReceiptD
if item.Ty == pty.TyLogCollateralizeCreate || item.Ty == pty.TyLogCollateralizeRetrieve { if item.Ty == pty.TyLogCollateralizeCreate || item.Ty == pty.TyLogCollateralizeRetrieve {
collTable := pty.NewCollateralizeTable(c.GetLocalDB()) collTable := pty.NewCollateralizeTable(c.GetLocalDB())
err = collTable.Replace(&pty.ReceiptCollateralize{CollateralizeId: collateralizeLog.CollateralizeId, Status: collateralizeLog.Status, err = collTable.Replace(&pty.ReceiptCollateralize{CollateralizeId: collateralizeLog.CollateralizeId, Status: collateralizeLog.Status,
AccountAddr:collateralizeLog.AccountAddr}) AccountAddr: collateralizeLog.AccountAddr})
if err != nil { if err != nil {
return nil, err return nil, err
} }
......
...@@ -5,7 +5,9 @@ package types ...@@ -5,7 +5,9 @@ package types
import ( import (
fmt "fmt" fmt "fmt"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
math "math" math "math"
) )
...@@ -18,7 +20,7 @@ var _ = math.Inf ...@@ -18,7 +20,7 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against. // is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the // A compilation error at this line likely means your copy of the
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// 放贷信息 // 放贷信息
type Collateralize struct { type Collateralize struct {
...@@ -46,17 +48,16 @@ func (m *Collateralize) Reset() { *m = Collateralize{} } ...@@ -46,17 +48,16 @@ func (m *Collateralize) Reset() { *m = Collateralize{} }
func (m *Collateralize) String() string { return proto.CompactTextString(m) } func (m *Collateralize) String() string { return proto.CompactTextString(m) }
func (*Collateralize) ProtoMessage() {} func (*Collateralize) ProtoMessage() {}
func (*Collateralize) Descriptor() ([]byte, []int) { func (*Collateralize) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{0} return fileDescriptor_collateralize_8df09badc6e8384c, []int{0}
} }
func (m *Collateralize) XXX_Unmarshal(b []byte) error { func (m *Collateralize) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Collateralize.Unmarshal(m, b) return xxx_messageInfo_Collateralize.Unmarshal(m, b)
} }
func (m *Collateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Collateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Collateralize.Marshal(b, m, deterministic) return xxx_messageInfo_Collateralize.Marshal(b, m, deterministic)
} }
func (m *Collateralize) XXX_Merge(src proto.Message) { func (dst *Collateralize) XXX_Merge(src proto.Message) {
xxx_messageInfo_Collateralize.Merge(m, src) xxx_messageInfo_Collateralize.Merge(dst, src)
} }
func (m *Collateralize) XXX_Size() int { func (m *Collateralize) XXX_Size() int {
return xxx_messageInfo_Collateralize.Size(m) return xxx_messageInfo_Collateralize.Size(m)
...@@ -195,17 +196,16 @@ func (m *BorrowRecord) Reset() { *m = BorrowRecord{} } ...@@ -195,17 +196,16 @@ func (m *BorrowRecord) Reset() { *m = BorrowRecord{} }
func (m *BorrowRecord) String() string { return proto.CompactTextString(m) } func (m *BorrowRecord) String() string { return proto.CompactTextString(m) }
func (*BorrowRecord) ProtoMessage() {} func (*BorrowRecord) ProtoMessage() {}
func (*BorrowRecord) Descriptor() ([]byte, []int) { func (*BorrowRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{1} return fileDescriptor_collateralize_8df09badc6e8384c, []int{1}
} }
func (m *BorrowRecord) XXX_Unmarshal(b []byte) error { func (m *BorrowRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_BorrowRecord.Unmarshal(m, b) return xxx_messageInfo_BorrowRecord.Unmarshal(m, b)
} }
func (m *BorrowRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *BorrowRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_BorrowRecord.Marshal(b, m, deterministic) return xxx_messageInfo_BorrowRecord.Marshal(b, m, deterministic)
} }
func (m *BorrowRecord) XXX_Merge(src proto.Message) { func (dst *BorrowRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_BorrowRecord.Merge(m, src) xxx_messageInfo_BorrowRecord.Merge(dst, src)
} }
func (m *BorrowRecord) XXX_Size() int { func (m *BorrowRecord) XXX_Size() int {
return xxx_messageInfo_BorrowRecord.Size(m) return xxx_messageInfo_BorrowRecord.Size(m)
...@@ -315,17 +315,16 @@ func (m *AssetPriceRecord) Reset() { *m = AssetPriceRecord{} } ...@@ -315,17 +315,16 @@ func (m *AssetPriceRecord) Reset() { *m = AssetPriceRecord{} }
func (m *AssetPriceRecord) String() string { return proto.CompactTextString(m) } func (m *AssetPriceRecord) String() string { return proto.CompactTextString(m) }
func (*AssetPriceRecord) ProtoMessage() {} func (*AssetPriceRecord) ProtoMessage() {}
func (*AssetPriceRecord) Descriptor() ([]byte, []int) { func (*AssetPriceRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{2} return fileDescriptor_collateralize_8df09badc6e8384c, []int{2}
} }
func (m *AssetPriceRecord) XXX_Unmarshal(b []byte) error { func (m *AssetPriceRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AssetPriceRecord.Unmarshal(m, b) return xxx_messageInfo_AssetPriceRecord.Unmarshal(m, b)
} }
func (m *AssetPriceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *AssetPriceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AssetPriceRecord.Marshal(b, m, deterministic) return xxx_messageInfo_AssetPriceRecord.Marshal(b, m, deterministic)
} }
func (m *AssetPriceRecord) XXX_Merge(src proto.Message) { func (dst *AssetPriceRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_AssetPriceRecord.Merge(m, src) xxx_messageInfo_AssetPriceRecord.Merge(dst, src)
} }
func (m *AssetPriceRecord) XXX_Size() int { func (m *AssetPriceRecord) XXX_Size() int {
return xxx_messageInfo_AssetPriceRecord.Size(m) return xxx_messageInfo_AssetPriceRecord.Size(m)
...@@ -385,17 +384,16 @@ func (m *CollateralizeAction) Reset() { *m = CollateralizeAction{} } ...@@ -385,17 +384,16 @@ func (m *CollateralizeAction) Reset() { *m = CollateralizeAction{} }
func (m *CollateralizeAction) String() string { return proto.CompactTextString(m) } func (m *CollateralizeAction) String() string { return proto.CompactTextString(m) }
func (*CollateralizeAction) ProtoMessage() {} func (*CollateralizeAction) ProtoMessage() {}
func (*CollateralizeAction) Descriptor() ([]byte, []int) { func (*CollateralizeAction) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{3} return fileDescriptor_collateralize_8df09badc6e8384c, []int{3}
} }
func (m *CollateralizeAction) XXX_Unmarshal(b []byte) error { func (m *CollateralizeAction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeAction.Unmarshal(m, b) return xxx_messageInfo_CollateralizeAction.Unmarshal(m, b)
} }
func (m *CollateralizeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeAction.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeAction.Marshal(b, m, deterministic)
} }
func (m *CollateralizeAction) XXX_Merge(src proto.Message) { func (dst *CollateralizeAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeAction.Merge(m, src) xxx_messageInfo_CollateralizeAction.Merge(dst, src)
} }
func (m *CollateralizeAction) XXX_Size() int { func (m *CollateralizeAction) XXX_Size() int {
return xxx_messageInfo_CollateralizeAction.Size(m) return xxx_messageInfo_CollateralizeAction.Size(m)
...@@ -515,9 +513,9 @@ func (m *CollateralizeAction) GetTy() int32 { ...@@ -515,9 +513,9 @@ func (m *CollateralizeAction) GetTy() int32 {
return 0 return 0
} }
// XXX_OneofWrappers is for the internal use of the proto package. // XXX_OneofFuncs is for the internal use of the proto package.
func (*CollateralizeAction) XXX_OneofWrappers() []interface{} { func (*CollateralizeAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return []interface{}{ return _CollateralizeAction_OneofMarshaler, _CollateralizeAction_OneofUnmarshaler, _CollateralizeAction_OneofSizer, []interface{}{
(*CollateralizeAction_Create)(nil), (*CollateralizeAction_Create)(nil),
(*CollateralizeAction_Borrow)(nil), (*CollateralizeAction_Borrow)(nil),
(*CollateralizeAction_Repay)(nil), (*CollateralizeAction_Repay)(nil),
...@@ -528,6 +526,162 @@ func (*CollateralizeAction) XXX_OneofWrappers() []interface{} { ...@@ -528,6 +526,162 @@ func (*CollateralizeAction) XXX_OneofWrappers() []interface{} {
} }
} }
func _CollateralizeAction_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*CollateralizeAction)
// value
switch x := m.Value.(type) {
case *CollateralizeAction_Create:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Create); err != nil {
return err
}
case *CollateralizeAction_Borrow:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Borrow); err != nil {
return err
}
case *CollateralizeAction_Repay:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Repay); err != nil {
return err
}
case *CollateralizeAction_Append:
b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Append); err != nil {
return err
}
case *CollateralizeAction_Feed:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Feed); err != nil {
return err
}
case *CollateralizeAction_Retrieve:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Retrieve); err != nil {
return err
}
case *CollateralizeAction_Manage:
b.EncodeVarint(7<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Manage); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("CollateralizeAction.Value has unexpected type %T", x)
}
return nil
}
func _CollateralizeAction_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*CollateralizeAction)
switch tag {
case 1: // value.create
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CollateralizeCreate)
err := b.DecodeMessage(msg)
m.Value = &CollateralizeAction_Create{msg}
return true, err
case 2: // value.borrow
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CollateralizeBorrow)
err := b.DecodeMessage(msg)
m.Value = &CollateralizeAction_Borrow{msg}
return true, err
case 3: // value.repay
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CollateralizeRepay)
err := b.DecodeMessage(msg)
m.Value = &CollateralizeAction_Repay{msg}
return true, err
case 4: // value.append
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CollateralizeAppend)
err := b.DecodeMessage(msg)
m.Value = &CollateralizeAction_Append{msg}
return true, err
case 5: // value.feed
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CollateralizeFeed)
err := b.DecodeMessage(msg)
m.Value = &CollateralizeAction_Feed{msg}
return true, err
case 6: // value.retrieve
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CollateralizeRetrieve)
err := b.DecodeMessage(msg)
m.Value = &CollateralizeAction_Retrieve{msg}
return true, err
case 7: // value.manage
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(CollateralizeManage)
err := b.DecodeMessage(msg)
m.Value = &CollateralizeAction_Manage{msg}
return true, err
default:
return false, nil
}
}
func _CollateralizeAction_OneofSizer(msg proto.Message) (n int) {
m := msg.(*CollateralizeAction)
// value
switch x := m.Value.(type) {
case *CollateralizeAction_Create:
s := proto.Size(x.Create)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CollateralizeAction_Borrow:
s := proto.Size(x.Borrow)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CollateralizeAction_Repay:
s := proto.Size(x.Repay)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CollateralizeAction_Append:
s := proto.Size(x.Append)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CollateralizeAction_Feed:
s := proto.Size(x.Feed)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CollateralizeAction_Retrieve:
s := proto.Size(x.Retrieve)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *CollateralizeAction_Manage:
s := proto.Size(x.Manage)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type CollateralizeManage struct { type CollateralizeManage struct {
DebtCeiling int64 `protobuf:"varint,1,opt,name=debtCeiling,proto3" json:"debtCeiling,omitempty"` DebtCeiling int64 `protobuf:"varint,1,opt,name=debtCeiling,proto3" json:"debtCeiling,omitempty"`
LiquidationRatio float64 `protobuf:"fixed64,2,opt,name=liquidationRatio,proto3" json:"liquidationRatio,omitempty"` LiquidationRatio float64 `protobuf:"fixed64,2,opt,name=liquidationRatio,proto3" json:"liquidationRatio,omitempty"`
...@@ -544,17 +698,16 @@ func (m *CollateralizeManage) Reset() { *m = CollateralizeManage{} } ...@@ -544,17 +698,16 @@ func (m *CollateralizeManage) Reset() { *m = CollateralizeManage{} }
func (m *CollateralizeManage) String() string { return proto.CompactTextString(m) } func (m *CollateralizeManage) String() string { return proto.CompactTextString(m) }
func (*CollateralizeManage) ProtoMessage() {} func (*CollateralizeManage) ProtoMessage() {}
func (*CollateralizeManage) Descriptor() ([]byte, []int) { func (*CollateralizeManage) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{4} return fileDescriptor_collateralize_8df09badc6e8384c, []int{4}
} }
func (m *CollateralizeManage) XXX_Unmarshal(b []byte) error { func (m *CollateralizeManage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeManage.Unmarshal(m, b) return xxx_messageInfo_CollateralizeManage.Unmarshal(m, b)
} }
func (m *CollateralizeManage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeManage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeManage.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeManage.Marshal(b, m, deterministic)
} }
func (m *CollateralizeManage) XXX_Merge(src proto.Message) { func (dst *CollateralizeManage) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeManage.Merge(m, src) xxx_messageInfo_CollateralizeManage.Merge(dst, src)
} }
func (m *CollateralizeManage) XXX_Size() int { func (m *CollateralizeManage) XXX_Size() int {
return xxx_messageInfo_CollateralizeManage.Size(m) return xxx_messageInfo_CollateralizeManage.Size(m)
...@@ -618,17 +771,16 @@ func (m *CollateralizeAddr) Reset() { *m = CollateralizeAddr{} } ...@@ -618,17 +771,16 @@ func (m *CollateralizeAddr) Reset() { *m = CollateralizeAddr{} }
func (m *CollateralizeAddr) String() string { return proto.CompactTextString(m) } func (m *CollateralizeAddr) String() string { return proto.CompactTextString(m) }
func (*CollateralizeAddr) ProtoMessage() {} func (*CollateralizeAddr) ProtoMessage() {}
func (*CollateralizeAddr) Descriptor() ([]byte, []int) { func (*CollateralizeAddr) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{5} return fileDescriptor_collateralize_8df09badc6e8384c, []int{5}
} }
func (m *CollateralizeAddr) XXX_Unmarshal(b []byte) error { func (m *CollateralizeAddr) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeAddr.Unmarshal(m, b) return xxx_messageInfo_CollateralizeAddr.Unmarshal(m, b)
} }
func (m *CollateralizeAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeAddr.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeAddr.Marshal(b, m, deterministic)
} }
func (m *CollateralizeAddr) XXX_Merge(src proto.Message) { func (dst *CollateralizeAddr) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeAddr.Merge(m, src) xxx_messageInfo_CollateralizeAddr.Merge(dst, src)
} }
func (m *CollateralizeAddr) XXX_Size() int { func (m *CollateralizeAddr) XXX_Size() int {
return xxx_messageInfo_CollateralizeAddr.Size(m) return xxx_messageInfo_CollateralizeAddr.Size(m)
...@@ -658,17 +810,16 @@ func (m *CollateralizeCreate) Reset() { *m = CollateralizeCreate{} } ...@@ -658,17 +810,16 @@ func (m *CollateralizeCreate) Reset() { *m = CollateralizeCreate{} }
func (m *CollateralizeCreate) String() string { return proto.CompactTextString(m) } func (m *CollateralizeCreate) String() string { return proto.CompactTextString(m) }
func (*CollateralizeCreate) ProtoMessage() {} func (*CollateralizeCreate) ProtoMessage() {}
func (*CollateralizeCreate) Descriptor() ([]byte, []int) { func (*CollateralizeCreate) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{6} return fileDescriptor_collateralize_8df09badc6e8384c, []int{6}
} }
func (m *CollateralizeCreate) XXX_Unmarshal(b []byte) error { func (m *CollateralizeCreate) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeCreate.Unmarshal(m, b) return xxx_messageInfo_CollateralizeCreate.Unmarshal(m, b)
} }
func (m *CollateralizeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeCreate.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeCreate.Marshal(b, m, deterministic)
} }
func (m *CollateralizeCreate) XXX_Merge(src proto.Message) { func (dst *CollateralizeCreate) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeCreate.Merge(m, src) xxx_messageInfo_CollateralizeCreate.Merge(dst, src)
} }
func (m *CollateralizeCreate) XXX_Size() int { func (m *CollateralizeCreate) XXX_Size() int {
return xxx_messageInfo_CollateralizeCreate.Size(m) return xxx_messageInfo_CollateralizeCreate.Size(m)
...@@ -699,17 +850,16 @@ func (m *CollateralizeBorrow) Reset() { *m = CollateralizeBorrow{} } ...@@ -699,17 +850,16 @@ func (m *CollateralizeBorrow) Reset() { *m = CollateralizeBorrow{} }
func (m *CollateralizeBorrow) String() string { return proto.CompactTextString(m) } func (m *CollateralizeBorrow) String() string { return proto.CompactTextString(m) }
func (*CollateralizeBorrow) ProtoMessage() {} func (*CollateralizeBorrow) ProtoMessage() {}
func (*CollateralizeBorrow) Descriptor() ([]byte, []int) { func (*CollateralizeBorrow) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{7} return fileDescriptor_collateralize_8df09badc6e8384c, []int{7}
} }
func (m *CollateralizeBorrow) XXX_Unmarshal(b []byte) error { func (m *CollateralizeBorrow) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeBorrow.Unmarshal(m, b) return xxx_messageInfo_CollateralizeBorrow.Unmarshal(m, b)
} }
func (m *CollateralizeBorrow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeBorrow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeBorrow.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeBorrow.Marshal(b, m, deterministic)
} }
func (m *CollateralizeBorrow) XXX_Merge(src proto.Message) { func (dst *CollateralizeBorrow) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeBorrow.Merge(m, src) xxx_messageInfo_CollateralizeBorrow.Merge(dst, src)
} }
func (m *CollateralizeBorrow) XXX_Size() int { func (m *CollateralizeBorrow) XXX_Size() int {
return xxx_messageInfo_CollateralizeBorrow.Size(m) return xxx_messageInfo_CollateralizeBorrow.Size(m)
...@@ -747,17 +897,16 @@ func (m *CollateralizeRepay) Reset() { *m = CollateralizeRepay{} } ...@@ -747,17 +897,16 @@ func (m *CollateralizeRepay) Reset() { *m = CollateralizeRepay{} }
func (m *CollateralizeRepay) String() string { return proto.CompactTextString(m) } func (m *CollateralizeRepay) String() string { return proto.CompactTextString(m) }
func (*CollateralizeRepay) ProtoMessage() {} func (*CollateralizeRepay) ProtoMessage() {}
func (*CollateralizeRepay) Descriptor() ([]byte, []int) { func (*CollateralizeRepay) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{8} return fileDescriptor_collateralize_8df09badc6e8384c, []int{8}
} }
func (m *CollateralizeRepay) XXX_Unmarshal(b []byte) error { func (m *CollateralizeRepay) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeRepay.Unmarshal(m, b) return xxx_messageInfo_CollateralizeRepay.Unmarshal(m, b)
} }
func (m *CollateralizeRepay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeRepay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeRepay.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeRepay.Marshal(b, m, deterministic)
} }
func (m *CollateralizeRepay) XXX_Merge(src proto.Message) { func (dst *CollateralizeRepay) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeRepay.Merge(m, src) xxx_messageInfo_CollateralizeRepay.Merge(dst, src)
} }
func (m *CollateralizeRepay) XXX_Size() int { func (m *CollateralizeRepay) XXX_Size() int {
return xxx_messageInfo_CollateralizeRepay.Size(m) return xxx_messageInfo_CollateralizeRepay.Size(m)
...@@ -796,17 +945,16 @@ func (m *CollateralizeAppend) Reset() { *m = CollateralizeAppend{} } ...@@ -796,17 +945,16 @@ func (m *CollateralizeAppend) Reset() { *m = CollateralizeAppend{} }
func (m *CollateralizeAppend) String() string { return proto.CompactTextString(m) } func (m *CollateralizeAppend) String() string { return proto.CompactTextString(m) }
func (*CollateralizeAppend) ProtoMessage() {} func (*CollateralizeAppend) ProtoMessage() {}
func (*CollateralizeAppend) Descriptor() ([]byte, []int) { func (*CollateralizeAppend) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{9} return fileDescriptor_collateralize_8df09badc6e8384c, []int{9}
} }
func (m *CollateralizeAppend) XXX_Unmarshal(b []byte) error { func (m *CollateralizeAppend) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeAppend.Unmarshal(m, b) return xxx_messageInfo_CollateralizeAppend.Unmarshal(m, b)
} }
func (m *CollateralizeAppend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeAppend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeAppend.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeAppend.Marshal(b, m, deterministic)
} }
func (m *CollateralizeAppend) XXX_Merge(src proto.Message) { func (dst *CollateralizeAppend) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeAppend.Merge(m, src) xxx_messageInfo_CollateralizeAppend.Merge(dst, src)
} }
func (m *CollateralizeAppend) XXX_Size() int { func (m *CollateralizeAppend) XXX_Size() int {
return xxx_messageInfo_CollateralizeAppend.Size(m) return xxx_messageInfo_CollateralizeAppend.Size(m)
...@@ -852,17 +1000,16 @@ func (m *CollateralizeFeed) Reset() { *m = CollateralizeFeed{} } ...@@ -852,17 +1000,16 @@ func (m *CollateralizeFeed) Reset() { *m = CollateralizeFeed{} }
func (m *CollateralizeFeed) String() string { return proto.CompactTextString(m) } func (m *CollateralizeFeed) String() string { return proto.CompactTextString(m) }
func (*CollateralizeFeed) ProtoMessage() {} func (*CollateralizeFeed) ProtoMessage() {}
func (*CollateralizeFeed) Descriptor() ([]byte, []int) { func (*CollateralizeFeed) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{10} return fileDescriptor_collateralize_8df09badc6e8384c, []int{10}
} }
func (m *CollateralizeFeed) XXX_Unmarshal(b []byte) error { func (m *CollateralizeFeed) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeFeed.Unmarshal(m, b) return xxx_messageInfo_CollateralizeFeed.Unmarshal(m, b)
} }
func (m *CollateralizeFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeFeed.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeFeed.Marshal(b, m, deterministic)
} }
func (m *CollateralizeFeed) XXX_Merge(src proto.Message) { func (dst *CollateralizeFeed) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeFeed.Merge(m, src) xxx_messageInfo_CollateralizeFeed.Merge(dst, src)
} }
func (m *CollateralizeFeed) XXX_Size() int { func (m *CollateralizeFeed) XXX_Size() int {
return xxx_messageInfo_CollateralizeFeed.Size(m) return xxx_messageInfo_CollateralizeFeed.Size(m)
...@@ -907,17 +1054,16 @@ func (m *CollateralizeRetrieve) Reset() { *m = CollateralizeRetrieve{} } ...@@ -907,17 +1054,16 @@ func (m *CollateralizeRetrieve) Reset() { *m = CollateralizeRetrieve{} }
func (m *CollateralizeRetrieve) String() string { return proto.CompactTextString(m) } func (m *CollateralizeRetrieve) String() string { return proto.CompactTextString(m) }
func (*CollateralizeRetrieve) ProtoMessage() {} func (*CollateralizeRetrieve) ProtoMessage() {}
func (*CollateralizeRetrieve) Descriptor() ([]byte, []int) { func (*CollateralizeRetrieve) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{11} return fileDescriptor_collateralize_8df09badc6e8384c, []int{11}
} }
func (m *CollateralizeRetrieve) XXX_Unmarshal(b []byte) error { func (m *CollateralizeRetrieve) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeRetrieve.Unmarshal(m, b) return xxx_messageInfo_CollateralizeRetrieve.Unmarshal(m, b)
} }
func (m *CollateralizeRetrieve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeRetrieve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeRetrieve.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeRetrieve.Marshal(b, m, deterministic)
} }
func (m *CollateralizeRetrieve) XXX_Merge(src proto.Message) { func (dst *CollateralizeRetrieve) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeRetrieve.Merge(m, src) xxx_messageInfo_CollateralizeRetrieve.Merge(dst, src)
} }
func (m *CollateralizeRetrieve) XXX_Size() int { func (m *CollateralizeRetrieve) XXX_Size() int {
return xxx_messageInfo_CollateralizeRetrieve.Size(m) return xxx_messageInfo_CollateralizeRetrieve.Size(m)
...@@ -957,17 +1103,16 @@ func (m *ReceiptCollateralize) Reset() { *m = ReceiptCollateralize{} } ...@@ -957,17 +1103,16 @@ func (m *ReceiptCollateralize) Reset() { *m = ReceiptCollateralize{} }
func (m *ReceiptCollateralize) String() string { return proto.CompactTextString(m) } func (m *ReceiptCollateralize) String() string { return proto.CompactTextString(m) }
func (*ReceiptCollateralize) ProtoMessage() {} func (*ReceiptCollateralize) ProtoMessage() {}
func (*ReceiptCollateralize) Descriptor() ([]byte, []int) { func (*ReceiptCollateralize) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{12} return fileDescriptor_collateralize_8df09badc6e8384c, []int{12}
} }
func (m *ReceiptCollateralize) XXX_Unmarshal(b []byte) error { func (m *ReceiptCollateralize) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReceiptCollateralize.Unmarshal(m, b) return xxx_messageInfo_ReceiptCollateralize.Unmarshal(m, b)
} }
func (m *ReceiptCollateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReceiptCollateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptCollateralize.Marshal(b, m, deterministic) return xxx_messageInfo_ReceiptCollateralize.Marshal(b, m, deterministic)
} }
func (m *ReceiptCollateralize) XXX_Merge(src proto.Message) { func (dst *ReceiptCollateralize) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptCollateralize.Merge(m, src) xxx_messageInfo_ReceiptCollateralize.Merge(dst, src)
} }
func (m *ReceiptCollateralize) XXX_Size() int { func (m *ReceiptCollateralize) XXX_Size() int {
return xxx_messageInfo_ReceiptCollateralize.Size(m) return xxx_messageInfo_ReceiptCollateralize.Size(m)
...@@ -1018,17 +1163,16 @@ func (m *CollateralizeRecords) Reset() { *m = CollateralizeRecords{} } ...@@ -1018,17 +1163,16 @@ func (m *CollateralizeRecords) Reset() { *m = CollateralizeRecords{} }
func (m *CollateralizeRecords) String() string { return proto.CompactTextString(m) } func (m *CollateralizeRecords) String() string { return proto.CompactTextString(m) }
func (*CollateralizeRecords) ProtoMessage() {} func (*CollateralizeRecords) ProtoMessage() {}
func (*CollateralizeRecords) Descriptor() ([]byte, []int) { func (*CollateralizeRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{13} return fileDescriptor_collateralize_8df09badc6e8384c, []int{13}
} }
func (m *CollateralizeRecords) XXX_Unmarshal(b []byte) error { func (m *CollateralizeRecords) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CollateralizeRecords.Unmarshal(m, b) return xxx_messageInfo_CollateralizeRecords.Unmarshal(m, b)
} }
func (m *CollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *CollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CollateralizeRecords.Marshal(b, m, deterministic) return xxx_messageInfo_CollateralizeRecords.Marshal(b, m, deterministic)
} }
func (m *CollateralizeRecords) XXX_Merge(src proto.Message) { func (dst *CollateralizeRecords) XXX_Merge(src proto.Message) {
xxx_messageInfo_CollateralizeRecords.Merge(m, src) xxx_messageInfo_CollateralizeRecords.Merge(dst, src)
} }
func (m *CollateralizeRecords) XXX_Size() int { func (m *CollateralizeRecords) XXX_Size() int {
return xxx_messageInfo_CollateralizeRecords.Size(m) return xxx_messageInfo_CollateralizeRecords.Size(m)
...@@ -1058,17 +1202,16 @@ func (m *ReqCollateralizeInfo) Reset() { *m = ReqCollateralizeInfo{} } ...@@ -1058,17 +1202,16 @@ func (m *ReqCollateralizeInfo) Reset() { *m = ReqCollateralizeInfo{} }
func (m *ReqCollateralizeInfo) String() string { return proto.CompactTextString(m) } func (m *ReqCollateralizeInfo) String() string { return proto.CompactTextString(m) }
func (*ReqCollateralizeInfo) ProtoMessage() {} func (*ReqCollateralizeInfo) ProtoMessage() {}
func (*ReqCollateralizeInfo) Descriptor() ([]byte, []int) { func (*ReqCollateralizeInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{14} return fileDescriptor_collateralize_8df09badc6e8384c, []int{14}
} }
func (m *ReqCollateralizeInfo) XXX_Unmarshal(b []byte) error { func (m *ReqCollateralizeInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCollateralizeInfo.Unmarshal(m, b) return xxx_messageInfo_ReqCollateralizeInfo.Unmarshal(m, b)
} }
func (m *ReqCollateralizeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCollateralizeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCollateralizeInfo.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCollateralizeInfo.Marshal(b, m, deterministic)
} }
func (m *ReqCollateralizeInfo) XXX_Merge(src proto.Message) { func (dst *ReqCollateralizeInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCollateralizeInfo.Merge(m, src) xxx_messageInfo_ReqCollateralizeInfo.Merge(dst, src)
} }
func (m *ReqCollateralizeInfo) XXX_Size() int { func (m *ReqCollateralizeInfo) XXX_Size() int {
return xxx_messageInfo_ReqCollateralizeInfo.Size(m) return xxx_messageInfo_ReqCollateralizeInfo.Size(m)
...@@ -1108,17 +1251,16 @@ func (m *RepCollateralizeCurrentInfo) Reset() { *m = RepCollateralizeCur ...@@ -1108,17 +1251,16 @@ func (m *RepCollateralizeCurrentInfo) Reset() { *m = RepCollateralizeCur
func (m *RepCollateralizeCurrentInfo) String() string { return proto.CompactTextString(m) } func (m *RepCollateralizeCurrentInfo) String() string { return proto.CompactTextString(m) }
func (*RepCollateralizeCurrentInfo) ProtoMessage() {} func (*RepCollateralizeCurrentInfo) ProtoMessage() {}
func (*RepCollateralizeCurrentInfo) Descriptor() ([]byte, []int) { func (*RepCollateralizeCurrentInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{15} return fileDescriptor_collateralize_8df09badc6e8384c, []int{15}
} }
func (m *RepCollateralizeCurrentInfo) XXX_Unmarshal(b []byte) error { func (m *RepCollateralizeCurrentInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepCollateralizeCurrentInfo.Unmarshal(m, b) return xxx_messageInfo_RepCollateralizeCurrentInfo.Unmarshal(m, b)
} }
func (m *RepCollateralizeCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepCollateralizeCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepCollateralizeCurrentInfo.Marshal(b, m, deterministic) return xxx_messageInfo_RepCollateralizeCurrentInfo.Marshal(b, m, deterministic)
} }
func (m *RepCollateralizeCurrentInfo) XXX_Merge(src proto.Message) { func (dst *RepCollateralizeCurrentInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepCollateralizeCurrentInfo.Merge(m, src) xxx_messageInfo_RepCollateralizeCurrentInfo.Merge(dst, src)
} }
func (m *RepCollateralizeCurrentInfo) XXX_Size() int { func (m *RepCollateralizeCurrentInfo) XXX_Size() int {
return xxx_messageInfo_RepCollateralizeCurrentInfo.Size(m) return xxx_messageInfo_RepCollateralizeCurrentInfo.Size(m)
...@@ -1218,17 +1360,16 @@ func (m *ReqCollateralizeInfos) Reset() { *m = ReqCollateralizeInfos{} } ...@@ -1218,17 +1360,16 @@ func (m *ReqCollateralizeInfos) Reset() { *m = ReqCollateralizeInfos{} }
func (m *ReqCollateralizeInfos) String() string { return proto.CompactTextString(m) } func (m *ReqCollateralizeInfos) String() string { return proto.CompactTextString(m) }
func (*ReqCollateralizeInfos) ProtoMessage() {} func (*ReqCollateralizeInfos) ProtoMessage() {}
func (*ReqCollateralizeInfos) Descriptor() ([]byte, []int) { func (*ReqCollateralizeInfos) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{16} return fileDescriptor_collateralize_8df09badc6e8384c, []int{16}
} }
func (m *ReqCollateralizeInfos) XXX_Unmarshal(b []byte) error { func (m *ReqCollateralizeInfos) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCollateralizeInfos.Unmarshal(m, b) return xxx_messageInfo_ReqCollateralizeInfos.Unmarshal(m, b)
} }
func (m *ReqCollateralizeInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCollateralizeInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCollateralizeInfos.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCollateralizeInfos.Marshal(b, m, deterministic)
} }
func (m *ReqCollateralizeInfos) XXX_Merge(src proto.Message) { func (dst *ReqCollateralizeInfos) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCollateralizeInfos.Merge(m, src) xxx_messageInfo_ReqCollateralizeInfos.Merge(dst, src)
} }
func (m *ReqCollateralizeInfos) XXX_Size() int { func (m *ReqCollateralizeInfos) XXX_Size() int {
return xxx_messageInfo_ReqCollateralizeInfos.Size(m) return xxx_messageInfo_ReqCollateralizeInfos.Size(m)
...@@ -1258,17 +1399,16 @@ func (m *RepCollateralizeCurrentInfos) Reset() { *m = RepCollateralizeCu ...@@ -1258,17 +1399,16 @@ func (m *RepCollateralizeCurrentInfos) Reset() { *m = RepCollateralizeCu
func (m *RepCollateralizeCurrentInfos) String() string { return proto.CompactTextString(m) } func (m *RepCollateralizeCurrentInfos) String() string { return proto.CompactTextString(m) }
func (*RepCollateralizeCurrentInfos) ProtoMessage() {} func (*RepCollateralizeCurrentInfos) ProtoMessage() {}
func (*RepCollateralizeCurrentInfos) Descriptor() ([]byte, []int) { func (*RepCollateralizeCurrentInfos) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{17} return fileDescriptor_collateralize_8df09badc6e8384c, []int{17}
} }
func (m *RepCollateralizeCurrentInfos) XXX_Unmarshal(b []byte) error { func (m *RepCollateralizeCurrentInfos) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepCollateralizeCurrentInfos.Unmarshal(m, b) return xxx_messageInfo_RepCollateralizeCurrentInfos.Unmarshal(m, b)
} }
func (m *RepCollateralizeCurrentInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepCollateralizeCurrentInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepCollateralizeCurrentInfos.Marshal(b, m, deterministic) return xxx_messageInfo_RepCollateralizeCurrentInfos.Marshal(b, m, deterministic)
} }
func (m *RepCollateralizeCurrentInfos) XXX_Merge(src proto.Message) { func (dst *RepCollateralizeCurrentInfos) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepCollateralizeCurrentInfos.Merge(m, src) xxx_messageInfo_RepCollateralizeCurrentInfos.Merge(dst, src)
} }
func (m *RepCollateralizeCurrentInfos) XXX_Size() int { func (m *RepCollateralizeCurrentInfos) XXX_Size() int {
return xxx_messageInfo_RepCollateralizeCurrentInfos.Size(m) return xxx_messageInfo_RepCollateralizeCurrentInfos.Size(m)
...@@ -1299,17 +1439,16 @@ func (m *ReqCollateralizeByStatus) Reset() { *m = ReqCollateralizeByStat ...@@ -1299,17 +1439,16 @@ func (m *ReqCollateralizeByStatus) Reset() { *m = ReqCollateralizeByStat
func (m *ReqCollateralizeByStatus) String() string { return proto.CompactTextString(m) } func (m *ReqCollateralizeByStatus) String() string { return proto.CompactTextString(m) }
func (*ReqCollateralizeByStatus) ProtoMessage() {} func (*ReqCollateralizeByStatus) ProtoMessage() {}
func (*ReqCollateralizeByStatus) Descriptor() ([]byte, []int) { func (*ReqCollateralizeByStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{18} return fileDescriptor_collateralize_8df09badc6e8384c, []int{18}
} }
func (m *ReqCollateralizeByStatus) XXX_Unmarshal(b []byte) error { func (m *ReqCollateralizeByStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCollateralizeByStatus.Unmarshal(m, b) return xxx_messageInfo_ReqCollateralizeByStatus.Unmarshal(m, b)
} }
func (m *ReqCollateralizeByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCollateralizeByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCollateralizeByStatus.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCollateralizeByStatus.Marshal(b, m, deterministic)
} }
func (m *ReqCollateralizeByStatus) XXX_Merge(src proto.Message) { func (dst *ReqCollateralizeByStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCollateralizeByStatus.Merge(m, src) xxx_messageInfo_ReqCollateralizeByStatus.Merge(dst, src)
} }
func (m *ReqCollateralizeByStatus) XXX_Size() int { func (m *ReqCollateralizeByStatus) XXX_Size() int {
return xxx_messageInfo_ReqCollateralizeByStatus.Size(m) return xxx_messageInfo_ReqCollateralizeByStatus.Size(m)
...@@ -1348,17 +1487,16 @@ func (m *ReqCollateralizeByAddr) Reset() { *m = ReqCollateralizeByAddr{} ...@@ -1348,17 +1487,16 @@ func (m *ReqCollateralizeByAddr) Reset() { *m = ReqCollateralizeByAddr{}
func (m *ReqCollateralizeByAddr) String() string { return proto.CompactTextString(m) } func (m *ReqCollateralizeByAddr) String() string { return proto.CompactTextString(m) }
func (*ReqCollateralizeByAddr) ProtoMessage() {} func (*ReqCollateralizeByAddr) ProtoMessage() {}
func (*ReqCollateralizeByAddr) Descriptor() ([]byte, []int) { func (*ReqCollateralizeByAddr) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{19} return fileDescriptor_collateralize_8df09badc6e8384c, []int{19}
} }
func (m *ReqCollateralizeByAddr) XXX_Unmarshal(b []byte) error { func (m *ReqCollateralizeByAddr) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCollateralizeByAddr.Unmarshal(m, b) return xxx_messageInfo_ReqCollateralizeByAddr.Unmarshal(m, b)
} }
func (m *ReqCollateralizeByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCollateralizeByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCollateralizeByAddr.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCollateralizeByAddr.Marshal(b, m, deterministic)
} }
func (m *ReqCollateralizeByAddr) XXX_Merge(src proto.Message) { func (dst *ReqCollateralizeByAddr) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCollateralizeByAddr.Merge(m, src) xxx_messageInfo_ReqCollateralizeByAddr.Merge(dst, src)
} }
func (m *ReqCollateralizeByAddr) XXX_Size() int { func (m *ReqCollateralizeByAddr) XXX_Size() int {
return xxx_messageInfo_ReqCollateralizeByAddr.Size(m) return xxx_messageInfo_ReqCollateralizeByAddr.Size(m)
...@@ -1402,17 +1540,16 @@ func (m *RepCollateralizeIDs) Reset() { *m = RepCollateralizeIDs{} } ...@@ -1402,17 +1540,16 @@ func (m *RepCollateralizeIDs) Reset() { *m = RepCollateralizeIDs{} }
func (m *RepCollateralizeIDs) String() string { return proto.CompactTextString(m) } func (m *RepCollateralizeIDs) String() string { return proto.CompactTextString(m) }
func (*RepCollateralizeIDs) ProtoMessage() {} func (*RepCollateralizeIDs) ProtoMessage() {}
func (*RepCollateralizeIDs) Descriptor() ([]byte, []int) { func (*RepCollateralizeIDs) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{20} return fileDescriptor_collateralize_8df09badc6e8384c, []int{20}
} }
func (m *RepCollateralizeIDs) XXX_Unmarshal(b []byte) error { func (m *RepCollateralizeIDs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepCollateralizeIDs.Unmarshal(m, b) return xxx_messageInfo_RepCollateralizeIDs.Unmarshal(m, b)
} }
func (m *RepCollateralizeIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepCollateralizeIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepCollateralizeIDs.Marshal(b, m, deterministic) return xxx_messageInfo_RepCollateralizeIDs.Marshal(b, m, deterministic)
} }
func (m *RepCollateralizeIDs) XXX_Merge(src proto.Message) { func (dst *RepCollateralizeIDs) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepCollateralizeIDs.Merge(m, src) xxx_messageInfo_RepCollateralizeIDs.Merge(dst, src)
} }
func (m *RepCollateralizeIDs) XXX_Size() int { func (m *RepCollateralizeIDs) XXX_Size() int {
return xxx_messageInfo_RepCollateralizeIDs.Size(m) return xxx_messageInfo_RepCollateralizeIDs.Size(m)
...@@ -1445,17 +1582,16 @@ func (m *ReqCollateralizeRecordByAddr) Reset() { *m = ReqCollateralizeRe ...@@ -1445,17 +1582,16 @@ func (m *ReqCollateralizeRecordByAddr) Reset() { *m = ReqCollateralizeRe
func (m *ReqCollateralizeRecordByAddr) String() string { return proto.CompactTextString(m) } func (m *ReqCollateralizeRecordByAddr) String() string { return proto.CompactTextString(m) }
func (*ReqCollateralizeRecordByAddr) ProtoMessage() {} func (*ReqCollateralizeRecordByAddr) ProtoMessage() {}
func (*ReqCollateralizeRecordByAddr) Descriptor() ([]byte, []int) { func (*ReqCollateralizeRecordByAddr) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{21} return fileDescriptor_collateralize_8df09badc6e8384c, []int{21}
} }
func (m *ReqCollateralizeRecordByAddr) XXX_Unmarshal(b []byte) error { func (m *ReqCollateralizeRecordByAddr) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCollateralizeRecordByAddr.Unmarshal(m, b) return xxx_messageInfo_ReqCollateralizeRecordByAddr.Unmarshal(m, b)
} }
func (m *ReqCollateralizeRecordByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCollateralizeRecordByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCollateralizeRecordByAddr.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCollateralizeRecordByAddr.Marshal(b, m, deterministic)
} }
func (m *ReqCollateralizeRecordByAddr) XXX_Merge(src proto.Message) { func (dst *ReqCollateralizeRecordByAddr) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCollateralizeRecordByAddr.Merge(m, src) xxx_messageInfo_ReqCollateralizeRecordByAddr.Merge(dst, src)
} }
func (m *ReqCollateralizeRecordByAddr) XXX_Size() int { func (m *ReqCollateralizeRecordByAddr) XXX_Size() int {
return xxx_messageInfo_ReqCollateralizeRecordByAddr.Size(m) return xxx_messageInfo_ReqCollateralizeRecordByAddr.Size(m)
...@@ -1508,17 +1644,16 @@ func (m *ReqCollateralizeRecordByStatus) Reset() { *m = ReqCollateralize ...@@ -1508,17 +1644,16 @@ func (m *ReqCollateralizeRecordByStatus) Reset() { *m = ReqCollateralize
func (m *ReqCollateralizeRecordByStatus) String() string { return proto.CompactTextString(m) } func (m *ReqCollateralizeRecordByStatus) String() string { return proto.CompactTextString(m) }
func (*ReqCollateralizeRecordByStatus) ProtoMessage() {} func (*ReqCollateralizeRecordByStatus) ProtoMessage() {}
func (*ReqCollateralizeRecordByStatus) Descriptor() ([]byte, []int) { func (*ReqCollateralizeRecordByStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{22} return fileDescriptor_collateralize_8df09badc6e8384c, []int{22}
} }
func (m *ReqCollateralizeRecordByStatus) XXX_Unmarshal(b []byte) error { func (m *ReqCollateralizeRecordByStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCollateralizeRecordByStatus.Unmarshal(m, b) return xxx_messageInfo_ReqCollateralizeRecordByStatus.Unmarshal(m, b)
} }
func (m *ReqCollateralizeRecordByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCollateralizeRecordByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCollateralizeRecordByStatus.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCollateralizeRecordByStatus.Marshal(b, m, deterministic)
} }
func (m *ReqCollateralizeRecordByStatus) XXX_Merge(src proto.Message) { func (dst *ReqCollateralizeRecordByStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCollateralizeRecordByStatus.Merge(m, src) xxx_messageInfo_ReqCollateralizeRecordByStatus.Merge(dst, src)
} }
func (m *ReqCollateralizeRecordByStatus) XXX_Size() int { func (m *ReqCollateralizeRecordByStatus) XXX_Size() int {
return xxx_messageInfo_ReqCollateralizeRecordByStatus.Size(m) return xxx_messageInfo_ReqCollateralizeRecordByStatus.Size(m)
...@@ -1562,17 +1697,16 @@ func (m *RepCollateralizeRecords) Reset() { *m = RepCollateralizeRecords ...@@ -1562,17 +1697,16 @@ func (m *RepCollateralizeRecords) Reset() { *m = RepCollateralizeRecords
func (m *RepCollateralizeRecords) String() string { return proto.CompactTextString(m) } func (m *RepCollateralizeRecords) String() string { return proto.CompactTextString(m) }
func (*RepCollateralizeRecords) ProtoMessage() {} func (*RepCollateralizeRecords) ProtoMessage() {}
func (*RepCollateralizeRecords) Descriptor() ([]byte, []int) { func (*RepCollateralizeRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{23} return fileDescriptor_collateralize_8df09badc6e8384c, []int{23}
} }
func (m *RepCollateralizeRecords) XXX_Unmarshal(b []byte) error { func (m *RepCollateralizeRecords) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepCollateralizeRecords.Unmarshal(m, b) return xxx_messageInfo_RepCollateralizeRecords.Unmarshal(m, b)
} }
func (m *RepCollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepCollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepCollateralizeRecords.Marshal(b, m, deterministic) return xxx_messageInfo_RepCollateralizeRecords.Marshal(b, m, deterministic)
} }
func (m *RepCollateralizeRecords) XXX_Merge(src proto.Message) { func (dst *RepCollateralizeRecords) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepCollateralizeRecords.Merge(m, src) xxx_messageInfo_RepCollateralizeRecords.Merge(dst, src)
} }
func (m *RepCollateralizeRecords) XXX_Size() int { func (m *RepCollateralizeRecords) XXX_Size() int {
return xxx_messageInfo_RepCollateralizeRecords.Size(m) return xxx_messageInfo_RepCollateralizeRecords.Size(m)
...@@ -1603,17 +1737,16 @@ func (m *ReqCollateralizeRecord) Reset() { *m = ReqCollateralizeRecord{} ...@@ -1603,17 +1737,16 @@ func (m *ReqCollateralizeRecord) Reset() { *m = ReqCollateralizeRecord{}
func (m *ReqCollateralizeRecord) String() string { return proto.CompactTextString(m) } func (m *ReqCollateralizeRecord) String() string { return proto.CompactTextString(m) }
func (*ReqCollateralizeRecord) ProtoMessage() {} func (*ReqCollateralizeRecord) ProtoMessage() {}
func (*ReqCollateralizeRecord) Descriptor() ([]byte, []int) { func (*ReqCollateralizeRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{24} return fileDescriptor_collateralize_8df09badc6e8384c, []int{24}
} }
func (m *ReqCollateralizeRecord) XXX_Unmarshal(b []byte) error { func (m *ReqCollateralizeRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqCollateralizeRecord.Unmarshal(m, b) return xxx_messageInfo_ReqCollateralizeRecord.Unmarshal(m, b)
} }
func (m *ReqCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqCollateralizeRecord.Marshal(b, m, deterministic) return xxx_messageInfo_ReqCollateralizeRecord.Marshal(b, m, deterministic)
} }
func (m *ReqCollateralizeRecord) XXX_Merge(src proto.Message) { func (dst *ReqCollateralizeRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqCollateralizeRecord.Merge(m, src) xxx_messageInfo_ReqCollateralizeRecord.Merge(dst, src)
} }
func (m *ReqCollateralizeRecord) XXX_Size() int { func (m *ReqCollateralizeRecord) XXX_Size() int {
return xxx_messageInfo_ReqCollateralizeRecord.Size(m) return xxx_messageInfo_ReqCollateralizeRecord.Size(m)
...@@ -1650,17 +1783,16 @@ func (m *RepCollateralizeRecord) Reset() { *m = RepCollateralizeRecord{} ...@@ -1650,17 +1783,16 @@ func (m *RepCollateralizeRecord) Reset() { *m = RepCollateralizeRecord{}
func (m *RepCollateralizeRecord) String() string { return proto.CompactTextString(m) } func (m *RepCollateralizeRecord) String() string { return proto.CompactTextString(m) }
func (*RepCollateralizeRecord) ProtoMessage() {} func (*RepCollateralizeRecord) ProtoMessage() {}
func (*RepCollateralizeRecord) Descriptor() ([]byte, []int) { func (*RepCollateralizeRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{25} return fileDescriptor_collateralize_8df09badc6e8384c, []int{25}
} }
func (m *RepCollateralizeRecord) XXX_Unmarshal(b []byte) error { func (m *RepCollateralizeRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepCollateralizeRecord.Unmarshal(m, b) return xxx_messageInfo_RepCollateralizeRecord.Unmarshal(m, b)
} }
func (m *RepCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepCollateralizeRecord.Marshal(b, m, deterministic) return xxx_messageInfo_RepCollateralizeRecord.Marshal(b, m, deterministic)
} }
func (m *RepCollateralizeRecord) XXX_Merge(src proto.Message) { func (dst *RepCollateralizeRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepCollateralizeRecord.Merge(m, src) xxx_messageInfo_RepCollateralizeRecord.Merge(dst, src)
} }
func (m *RepCollateralizeRecord) XXX_Size() int { func (m *RepCollateralizeRecord) XXX_Size() int {
return xxx_messageInfo_RepCollateralizeRecord.Size(m) return xxx_messageInfo_RepCollateralizeRecord.Size(m)
...@@ -1696,17 +1828,16 @@ func (m *RepCollateralizeConfig) Reset() { *m = RepCollateralizeConfig{} ...@@ -1696,17 +1828,16 @@ func (m *RepCollateralizeConfig) Reset() { *m = RepCollateralizeConfig{}
func (m *RepCollateralizeConfig) String() string { return proto.CompactTextString(m) } func (m *RepCollateralizeConfig) String() string { return proto.CompactTextString(m) }
func (*RepCollateralizeConfig) ProtoMessage() {} func (*RepCollateralizeConfig) ProtoMessage() {}
func (*RepCollateralizeConfig) Descriptor() ([]byte, []int) { func (*RepCollateralizeConfig) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{26} return fileDescriptor_collateralize_8df09badc6e8384c, []int{26}
} }
func (m *RepCollateralizeConfig) XXX_Unmarshal(b []byte) error { func (m *RepCollateralizeConfig) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepCollateralizeConfig.Unmarshal(m, b) return xxx_messageInfo_RepCollateralizeConfig.Unmarshal(m, b)
} }
func (m *RepCollateralizeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepCollateralizeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepCollateralizeConfig.Marshal(b, m, deterministic) return xxx_messageInfo_RepCollateralizeConfig.Marshal(b, m, deterministic)
} }
func (m *RepCollateralizeConfig) XXX_Merge(src proto.Message) { func (dst *RepCollateralizeConfig) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepCollateralizeConfig.Merge(m, src) xxx_messageInfo_RepCollateralizeConfig.Merge(dst, src)
} }
func (m *RepCollateralizeConfig) XXX_Size() int { func (m *RepCollateralizeConfig) XXX_Size() int {
return xxx_messageInfo_RepCollateralizeConfig.Size(m) return xxx_messageInfo_RepCollateralizeConfig.Size(m)
...@@ -1778,17 +1909,16 @@ func (m *RepCollateralizePrice) Reset() { *m = RepCollateralizePrice{} } ...@@ -1778,17 +1909,16 @@ func (m *RepCollateralizePrice) Reset() { *m = RepCollateralizePrice{} }
func (m *RepCollateralizePrice) String() string { return proto.CompactTextString(m) } func (m *RepCollateralizePrice) String() string { return proto.CompactTextString(m) }
func (*RepCollateralizePrice) ProtoMessage() {} func (*RepCollateralizePrice) ProtoMessage() {}
func (*RepCollateralizePrice) Descriptor() ([]byte, []int) { func (*RepCollateralizePrice) Descriptor() ([]byte, []int) {
return fileDescriptor_a988fb4a61381972, []int{27} return fileDescriptor_collateralize_8df09badc6e8384c, []int{27}
} }
func (m *RepCollateralizePrice) XXX_Unmarshal(b []byte) error { func (m *RepCollateralizePrice) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepCollateralizePrice.Unmarshal(m, b) return xxx_messageInfo_RepCollateralizePrice.Unmarshal(m, b)
} }
func (m *RepCollateralizePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepCollateralizePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepCollateralizePrice.Marshal(b, m, deterministic) return xxx_messageInfo_RepCollateralizePrice.Marshal(b, m, deterministic)
} }
func (m *RepCollateralizePrice) XXX_Merge(src proto.Message) { func (dst *RepCollateralizePrice) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepCollateralizePrice.Merge(m, src) xxx_messageInfo_RepCollateralizePrice.Merge(dst, src)
} }
func (m *RepCollateralizePrice) XXX_Size() int { func (m *RepCollateralizePrice) XXX_Size() int {
return xxx_messageInfo_RepCollateralizePrice.Size(m) return xxx_messageInfo_RepCollateralizePrice.Size(m)
...@@ -1837,9 +1967,9 @@ func init() { ...@@ -1837,9 +1967,9 @@ func init() {
proto.RegisterType((*RepCollateralizePrice)(nil), "types.RepCollateralizePrice") proto.RegisterType((*RepCollateralizePrice)(nil), "types.RepCollateralizePrice")
} }
func init() { proto.RegisterFile("collateralize.proto", fileDescriptor_a988fb4a61381972) } func init() { proto.RegisterFile("collateralize.proto", fileDescriptor_collateralize_8df09badc6e8384c) }
var fileDescriptor_a988fb4a61381972 = []byte{ var fileDescriptor_collateralize_8df09badc6e8384c = []byte{
// 1203 bytes of a gzipped FileDescriptorProto // 1203 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0x4d, 0x6f, 0xe4, 0x44, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0x4d, 0x6f, 0xe4, 0x44,
0x13, 0x8e, 0xc7, 0xf3, 0x91, 0xa9, 0x49, 0xb2, 0xd9, 0x4e, 0x36, 0xaf, 0xdf, 0xdd, 0x28, 0x1a, 0x13, 0x8e, 0xc7, 0xf3, 0x91, 0xa9, 0x49, 0xb2, 0xd9, 0x4e, 0x36, 0xaf, 0xdf, 0xdd, 0x28, 0x1a,
......
...@@ -112,7 +112,7 @@ func (tx *CollateralizeRecordRow) Get(key string) ([]byte, error) { ...@@ -112,7 +112,7 @@ func (tx *CollateralizeRecordRow) Get(key string) ([]byte, error) {
} else if key == "status" { } else if key == "status" {
return []byte(fmt.Sprintf("%2d", tx.Status)), nil return []byte(fmt.Sprintf("%2d", tx.Status)), nil
} else if key == "addr" { } else if key == "addr" {
return []byte( tx.AccountAddr), nil return []byte(tx.AccountAddr), nil
} else if key == "id_status" { } else if key == "id_status" {
return []byte(fmt.Sprintf("%s:%2d", tx.CollateralizeId, tx.Status)), nil return []byte(fmt.Sprintf("%s:%2d", tx.CollateralizeId, tx.Status)), nil
} else if key == "id_addr" { } else if key == "id_addr" {
......
...@@ -584,7 +584,7 @@ func (action *Action) IssuanceDebt(debt *pty.IssuanceDebt) (*types.Receipt, erro ...@@ -584,7 +584,7 @@ func (action *Action) IssuanceDebt(debt *pty.IssuanceDebt) (*types.Receipt, erro
debtRecord.StartTime = action.blocktime debtRecord.StartTime = action.blocktime
debtRecord.CollateralPrice = lastPrice debtRecord.CollateralPrice = lastPrice
debtRecord.DebtValue = debt.Value debtRecord.DebtValue = debt.Value
debtRecord.LiquidationPrice = math.Trunc(issu.LiquidationRatio * lastPrice * pty.IssuancePreLiquidationRatio * 1e4)/1e4 debtRecord.LiquidationPrice = math.Trunc(issu.LiquidationRatio*lastPrice*pty.IssuancePreLiquidationRatio*1e4) / 1e4
debtRecord.Status = pty.IssuanceUserStatusCreate debtRecord.Status = pty.IssuanceUserStatusCreate
debtRecord.ExpireTime = action.blocktime + issu.Period debtRecord.ExpireTime = action.blocktime + issu.Period
...@@ -972,8 +972,8 @@ func queryIssuanceByStatus(localdb dbm.KVDB, status int32, issuanceID string) ([ ...@@ -972,8 +972,8 @@ func queryIssuanceByStatus(localdb dbm.KVDB, status int32, issuanceID string) ([
} }
var data = &pty.ReceiptIssuanceID{ var data = &pty.ReceiptIssuanceID{
IssuanceId:issuanceID, IssuanceId: issuanceID,
Status:status, Status: status,
} }
rows, err := query.List("status", data, primary, DefultCount, ListDESC) rows, err := query.List("status", data, primary, DefultCount, ListDESC)
if err != nil { if err != nil {
...@@ -990,7 +990,7 @@ func queryIssuanceByStatus(localdb dbm.KVDB, status int32, issuanceID string) ([ ...@@ -990,7 +990,7 @@ func queryIssuanceByStatus(localdb dbm.KVDB, status int32, issuanceID string) ([
} }
// 精确查找发行记录 // 精确查找发行记录
func queryIssuanceRecordByID(db dbm.KV, issuanceID string, debtID string, ) (*pty.DebtRecord, error) { func queryIssuanceRecordByID(db dbm.KV, issuanceID string, debtID string) (*pty.DebtRecord, error) {
issu, err := queryIssuanceByID(db, issuanceID) issu, err := queryIssuanceByID(db, issuanceID)
if err != nil { if err != nil {
clog.Error("queryIssuanceRecordByID", "error", err) clog.Error("queryIssuanceRecordByID", "error", err)
...@@ -1021,7 +1021,7 @@ func queryIssuanceRecordsByStatus(db dbm.KV, localdb dbm.KVDB, status int32, deb ...@@ -1021,7 +1021,7 @@ func queryIssuanceRecordsByStatus(db dbm.KV, localdb dbm.KVDB, status int32, deb
} }
var data = &pty.ReceiptIssuance{ var data = &pty.ReceiptIssuance{
Status:status, Status: status,
} }
rows, err := query.List("status", data, primary, DefultCount, ListDESC) rows, err := query.List("status", data, primary, DefultCount, ListDESC)
if err != nil { if err != nil {
......
...@@ -5,7 +5,9 @@ package types ...@@ -5,7 +5,9 @@ package types
import ( import (
fmt "fmt" fmt "fmt"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
math "math" math "math"
) )
...@@ -18,7 +20,7 @@ var _ = math.Inf ...@@ -18,7 +20,7 @@ var _ = math.Inf
// is compatible with the proto package it is being compiled against. // is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the // A compilation error at this line likely means your copy of the
// proto package needs to be updated. // proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
// 发行信息 // 发行信息
type Issuance struct { type Issuance struct {
...@@ -46,17 +48,16 @@ func (m *Issuance) Reset() { *m = Issuance{} } ...@@ -46,17 +48,16 @@ func (m *Issuance) Reset() { *m = Issuance{} }
func (m *Issuance) String() string { return proto.CompactTextString(m) } func (m *Issuance) String() string { return proto.CompactTextString(m) }
func (*Issuance) ProtoMessage() {} func (*Issuance) ProtoMessage() {}
func (*Issuance) Descriptor() ([]byte, []int) { func (*Issuance) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{0} return fileDescriptor_issuance_40720e0041940428, []int{0}
} }
func (m *Issuance) XXX_Unmarshal(b []byte) error { func (m *Issuance) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Issuance.Unmarshal(m, b) return xxx_messageInfo_Issuance.Unmarshal(m, b)
} }
func (m *Issuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *Issuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Issuance.Marshal(b, m, deterministic) return xxx_messageInfo_Issuance.Marshal(b, m, deterministic)
} }
func (m *Issuance) XXX_Merge(src proto.Message) { func (dst *Issuance) XXX_Merge(src proto.Message) {
xxx_messageInfo_Issuance.Merge(m, src) xxx_messageInfo_Issuance.Merge(dst, src)
} }
func (m *Issuance) XXX_Size() int { func (m *Issuance) XXX_Size() int {
return xxx_messageInfo_Issuance.Size(m) return xxx_messageInfo_Issuance.Size(m)
...@@ -195,17 +196,16 @@ func (m *DebtRecord) Reset() { *m = DebtRecord{} } ...@@ -195,17 +196,16 @@ func (m *DebtRecord) Reset() { *m = DebtRecord{} }
func (m *DebtRecord) String() string { return proto.CompactTextString(m) } func (m *DebtRecord) String() string { return proto.CompactTextString(m) }
func (*DebtRecord) ProtoMessage() {} func (*DebtRecord) ProtoMessage() {}
func (*DebtRecord) Descriptor() ([]byte, []int) { func (*DebtRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{1} return fileDescriptor_issuance_40720e0041940428, []int{1}
} }
func (m *DebtRecord) XXX_Unmarshal(b []byte) error { func (m *DebtRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DebtRecord.Unmarshal(m, b) return xxx_messageInfo_DebtRecord.Unmarshal(m, b)
} }
func (m *DebtRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *DebtRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DebtRecord.Marshal(b, m, deterministic) return xxx_messageInfo_DebtRecord.Marshal(b, m, deterministic)
} }
func (m *DebtRecord) XXX_Merge(src proto.Message) { func (dst *DebtRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_DebtRecord.Merge(m, src) xxx_messageInfo_DebtRecord.Merge(dst, src)
} }
func (m *DebtRecord) XXX_Size() int { func (m *DebtRecord) XXX_Size() int {
return xxx_messageInfo_DebtRecord.Size(m) return xxx_messageInfo_DebtRecord.Size(m)
...@@ -313,17 +313,16 @@ func (m *IssuanceAssetPriceRecord) Reset() { *m = IssuanceAssetPriceReco ...@@ -313,17 +313,16 @@ func (m *IssuanceAssetPriceRecord) Reset() { *m = IssuanceAssetPriceReco
func (m *IssuanceAssetPriceRecord) String() string { return proto.CompactTextString(m) } func (m *IssuanceAssetPriceRecord) String() string { return proto.CompactTextString(m) }
func (*IssuanceAssetPriceRecord) ProtoMessage() {} func (*IssuanceAssetPriceRecord) ProtoMessage() {}
func (*IssuanceAssetPriceRecord) Descriptor() ([]byte, []int) { func (*IssuanceAssetPriceRecord) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{2} return fileDescriptor_issuance_40720e0041940428, []int{2}
} }
func (m *IssuanceAssetPriceRecord) XXX_Unmarshal(b []byte) error { func (m *IssuanceAssetPriceRecord) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceAssetPriceRecord.Unmarshal(m, b) return xxx_messageInfo_IssuanceAssetPriceRecord.Unmarshal(m, b)
} }
func (m *IssuanceAssetPriceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceAssetPriceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceAssetPriceRecord.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceAssetPriceRecord.Marshal(b, m, deterministic)
} }
func (m *IssuanceAssetPriceRecord) XXX_Merge(src proto.Message) { func (dst *IssuanceAssetPriceRecord) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceAssetPriceRecord.Merge(m, src) xxx_messageInfo_IssuanceAssetPriceRecord.Merge(dst, src)
} }
func (m *IssuanceAssetPriceRecord) XXX_Size() int { func (m *IssuanceAssetPriceRecord) XXX_Size() int {
return xxx_messageInfo_IssuanceAssetPriceRecord.Size(m) return xxx_messageInfo_IssuanceAssetPriceRecord.Size(m)
...@@ -368,17 +367,16 @@ func (m *IssuanceAction) Reset() { *m = IssuanceAction{} } ...@@ -368,17 +367,16 @@ func (m *IssuanceAction) Reset() { *m = IssuanceAction{} }
func (m *IssuanceAction) String() string { return proto.CompactTextString(m) } func (m *IssuanceAction) String() string { return proto.CompactTextString(m) }
func (*IssuanceAction) ProtoMessage() {} func (*IssuanceAction) ProtoMessage() {}
func (*IssuanceAction) Descriptor() ([]byte, []int) { func (*IssuanceAction) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{3} return fileDescriptor_issuance_40720e0041940428, []int{3}
} }
func (m *IssuanceAction) XXX_Unmarshal(b []byte) error { func (m *IssuanceAction) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceAction.Unmarshal(m, b) return xxx_messageInfo_IssuanceAction.Unmarshal(m, b)
} }
func (m *IssuanceAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceAction.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceAction.Marshal(b, m, deterministic)
} }
func (m *IssuanceAction) XXX_Merge(src proto.Message) { func (dst *IssuanceAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceAction.Merge(m, src) xxx_messageInfo_IssuanceAction.Merge(dst, src)
} }
func (m *IssuanceAction) XXX_Size() int { func (m *IssuanceAction) XXX_Size() int {
return xxx_messageInfo_IssuanceAction.Size(m) return xxx_messageInfo_IssuanceAction.Size(m)
...@@ -485,9 +483,9 @@ func (m *IssuanceAction) GetTy() int32 { ...@@ -485,9 +483,9 @@ func (m *IssuanceAction) GetTy() int32 {
return 0 return 0
} }
// XXX_OneofWrappers is for the internal use of the proto package. // XXX_OneofFuncs is for the internal use of the proto package.
func (*IssuanceAction) XXX_OneofWrappers() []interface{} { func (*IssuanceAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
return []interface{}{ return _IssuanceAction_OneofMarshaler, _IssuanceAction_OneofUnmarshaler, _IssuanceAction_OneofSizer, []interface{}{
(*IssuanceAction_Create)(nil), (*IssuanceAction_Create)(nil),
(*IssuanceAction_Debt)(nil), (*IssuanceAction_Debt)(nil),
(*IssuanceAction_Repay)(nil), (*IssuanceAction_Repay)(nil),
...@@ -497,6 +495,144 @@ func (*IssuanceAction) XXX_OneofWrappers() []interface{} { ...@@ -497,6 +495,144 @@ func (*IssuanceAction) XXX_OneofWrappers() []interface{} {
} }
} }
func _IssuanceAction_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
m := msg.(*IssuanceAction)
// value
switch x := m.Value.(type) {
case *IssuanceAction_Create:
b.EncodeVarint(1<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Create); err != nil {
return err
}
case *IssuanceAction_Debt:
b.EncodeVarint(2<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Debt); err != nil {
return err
}
case *IssuanceAction_Repay:
b.EncodeVarint(3<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Repay); err != nil {
return err
}
case *IssuanceAction_Feed:
b.EncodeVarint(4<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Feed); err != nil {
return err
}
case *IssuanceAction_Close:
b.EncodeVarint(5<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Close); err != nil {
return err
}
case *IssuanceAction_Manage:
b.EncodeVarint(6<<3 | proto.WireBytes)
if err := b.EncodeMessage(x.Manage); err != nil {
return err
}
case nil:
default:
return fmt.Errorf("IssuanceAction.Value has unexpected type %T", x)
}
return nil
}
func _IssuanceAction_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
m := msg.(*IssuanceAction)
switch tag {
case 1: // value.create
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(IssuanceCreate)
err := b.DecodeMessage(msg)
m.Value = &IssuanceAction_Create{msg}
return true, err
case 2: // value.debt
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(IssuanceDebt)
err := b.DecodeMessage(msg)
m.Value = &IssuanceAction_Debt{msg}
return true, err
case 3: // value.repay
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(IssuanceRepay)
err := b.DecodeMessage(msg)
m.Value = &IssuanceAction_Repay{msg}
return true, err
case 4: // value.feed
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(IssuanceFeed)
err := b.DecodeMessage(msg)
m.Value = &IssuanceAction_Feed{msg}
return true, err
case 5: // value.close
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(IssuanceClose)
err := b.DecodeMessage(msg)
m.Value = &IssuanceAction_Close{msg}
return true, err
case 6: // value.manage
if wire != proto.WireBytes {
return true, proto.ErrInternalBadWireType
}
msg := new(IssuanceManage)
err := b.DecodeMessage(msg)
m.Value = &IssuanceAction_Manage{msg}
return true, err
default:
return false, nil
}
}
func _IssuanceAction_OneofSizer(msg proto.Message) (n int) {
m := msg.(*IssuanceAction)
// value
switch x := m.Value.(type) {
case *IssuanceAction_Create:
s := proto.Size(x.Create)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *IssuanceAction_Debt:
s := proto.Size(x.Debt)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *IssuanceAction_Repay:
s := proto.Size(x.Repay)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *IssuanceAction_Feed:
s := proto.Size(x.Feed)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *IssuanceAction_Close:
s := proto.Size(x.Close)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case *IssuanceAction_Manage:
s := proto.Size(x.Manage)
n += 1 // tag and wire
n += proto.SizeVarint(uint64(s))
n += s
case nil:
default:
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
}
return n
}
type IssuanceManage struct { type IssuanceManage struct {
SuperAddrs []string `protobuf:"bytes,1,rep,name=superAddrs,proto3" json:"superAddrs,omitempty"` SuperAddrs []string `protobuf:"bytes,1,rep,name=superAddrs,proto3" json:"superAddrs,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_NoUnkeyedLiteral struct{} `json:"-"`
...@@ -508,17 +644,16 @@ func (m *IssuanceManage) Reset() { *m = IssuanceManage{} } ...@@ -508,17 +644,16 @@ func (m *IssuanceManage) Reset() { *m = IssuanceManage{} }
func (m *IssuanceManage) String() string { return proto.CompactTextString(m) } func (m *IssuanceManage) String() string { return proto.CompactTextString(m) }
func (*IssuanceManage) ProtoMessage() {} func (*IssuanceManage) ProtoMessage() {}
func (*IssuanceManage) Descriptor() ([]byte, []int) { func (*IssuanceManage) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{4} return fileDescriptor_issuance_40720e0041940428, []int{4}
} }
func (m *IssuanceManage) XXX_Unmarshal(b []byte) error { func (m *IssuanceManage) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceManage.Unmarshal(m, b) return xxx_messageInfo_IssuanceManage.Unmarshal(m, b)
} }
func (m *IssuanceManage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceManage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceManage.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceManage.Marshal(b, m, deterministic)
} }
func (m *IssuanceManage) XXX_Merge(src proto.Message) { func (dst *IssuanceManage) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceManage.Merge(m, src) xxx_messageInfo_IssuanceManage.Merge(dst, src)
} }
func (m *IssuanceManage) XXX_Size() int { func (m *IssuanceManage) XXX_Size() int {
return xxx_messageInfo_IssuanceManage.Size(m) return xxx_messageInfo_IssuanceManage.Size(m)
...@@ -551,17 +686,16 @@ func (m *IssuanceCreate) Reset() { *m = IssuanceCreate{} } ...@@ -551,17 +686,16 @@ func (m *IssuanceCreate) Reset() { *m = IssuanceCreate{} }
func (m *IssuanceCreate) String() string { return proto.CompactTextString(m) } func (m *IssuanceCreate) String() string { return proto.CompactTextString(m) }
func (*IssuanceCreate) ProtoMessage() {} func (*IssuanceCreate) ProtoMessage() {}
func (*IssuanceCreate) Descriptor() ([]byte, []int) { func (*IssuanceCreate) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{5} return fileDescriptor_issuance_40720e0041940428, []int{5}
} }
func (m *IssuanceCreate) XXX_Unmarshal(b []byte) error { func (m *IssuanceCreate) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceCreate.Unmarshal(m, b) return xxx_messageInfo_IssuanceCreate.Unmarshal(m, b)
} }
func (m *IssuanceCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceCreate.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceCreate.Marshal(b, m, deterministic)
} }
func (m *IssuanceCreate) XXX_Merge(src proto.Message) { func (dst *IssuanceCreate) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceCreate.Merge(m, src) xxx_messageInfo_IssuanceCreate.Merge(dst, src)
} }
func (m *IssuanceCreate) XXX_Size() int { func (m *IssuanceCreate) XXX_Size() int {
return xxx_messageInfo_IssuanceCreate.Size(m) return xxx_messageInfo_IssuanceCreate.Size(m)
...@@ -613,17 +747,16 @@ func (m *IssuanceDebt) Reset() { *m = IssuanceDebt{} } ...@@ -613,17 +747,16 @@ func (m *IssuanceDebt) Reset() { *m = IssuanceDebt{} }
func (m *IssuanceDebt) String() string { return proto.CompactTextString(m) } func (m *IssuanceDebt) String() string { return proto.CompactTextString(m) }
func (*IssuanceDebt) ProtoMessage() {} func (*IssuanceDebt) ProtoMessage() {}
func (*IssuanceDebt) Descriptor() ([]byte, []int) { func (*IssuanceDebt) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{6} return fileDescriptor_issuance_40720e0041940428, []int{6}
} }
func (m *IssuanceDebt) XXX_Unmarshal(b []byte) error { func (m *IssuanceDebt) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceDebt.Unmarshal(m, b) return xxx_messageInfo_IssuanceDebt.Unmarshal(m, b)
} }
func (m *IssuanceDebt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceDebt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceDebt.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceDebt.Marshal(b, m, deterministic)
} }
func (m *IssuanceDebt) XXX_Merge(src proto.Message) { func (dst *IssuanceDebt) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceDebt.Merge(m, src) xxx_messageInfo_IssuanceDebt.Merge(dst, src)
} }
func (m *IssuanceDebt) XXX_Size() int { func (m *IssuanceDebt) XXX_Size() int {
return xxx_messageInfo_IssuanceDebt.Size(m) return xxx_messageInfo_IssuanceDebt.Size(m)
...@@ -661,17 +794,16 @@ func (m *IssuanceRepay) Reset() { *m = IssuanceRepay{} } ...@@ -661,17 +794,16 @@ func (m *IssuanceRepay) Reset() { *m = IssuanceRepay{} }
func (m *IssuanceRepay) String() string { return proto.CompactTextString(m) } func (m *IssuanceRepay) String() string { return proto.CompactTextString(m) }
func (*IssuanceRepay) ProtoMessage() {} func (*IssuanceRepay) ProtoMessage() {}
func (*IssuanceRepay) Descriptor() ([]byte, []int) { func (*IssuanceRepay) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{7} return fileDescriptor_issuance_40720e0041940428, []int{7}
} }
func (m *IssuanceRepay) XXX_Unmarshal(b []byte) error { func (m *IssuanceRepay) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceRepay.Unmarshal(m, b) return xxx_messageInfo_IssuanceRepay.Unmarshal(m, b)
} }
func (m *IssuanceRepay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceRepay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceRepay.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceRepay.Marshal(b, m, deterministic)
} }
func (m *IssuanceRepay) XXX_Merge(src proto.Message) { func (dst *IssuanceRepay) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceRepay.Merge(m, src) xxx_messageInfo_IssuanceRepay.Merge(dst, src)
} }
func (m *IssuanceRepay) XXX_Size() int { func (m *IssuanceRepay) XXX_Size() int {
return xxx_messageInfo_IssuanceRepay.Size(m) return xxx_messageInfo_IssuanceRepay.Size(m)
...@@ -710,17 +842,16 @@ func (m *IssuanceFeed) Reset() { *m = IssuanceFeed{} } ...@@ -710,17 +842,16 @@ func (m *IssuanceFeed) Reset() { *m = IssuanceFeed{} }
func (m *IssuanceFeed) String() string { return proto.CompactTextString(m) } func (m *IssuanceFeed) String() string { return proto.CompactTextString(m) }
func (*IssuanceFeed) ProtoMessage() {} func (*IssuanceFeed) ProtoMessage() {}
func (*IssuanceFeed) Descriptor() ([]byte, []int) { func (*IssuanceFeed) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{8} return fileDescriptor_issuance_40720e0041940428, []int{8}
} }
func (m *IssuanceFeed) XXX_Unmarshal(b []byte) error { func (m *IssuanceFeed) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceFeed.Unmarshal(m, b) return xxx_messageInfo_IssuanceFeed.Unmarshal(m, b)
} }
func (m *IssuanceFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceFeed.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceFeed.Marshal(b, m, deterministic)
} }
func (m *IssuanceFeed) XXX_Merge(src proto.Message) { func (dst *IssuanceFeed) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceFeed.Merge(m, src) xxx_messageInfo_IssuanceFeed.Merge(dst, src)
} }
func (m *IssuanceFeed) XXX_Size() int { func (m *IssuanceFeed) XXX_Size() int {
return xxx_messageInfo_IssuanceFeed.Size(m) return xxx_messageInfo_IssuanceFeed.Size(m)
...@@ -764,17 +895,16 @@ func (m *IssuanceClose) Reset() { *m = IssuanceClose{} } ...@@ -764,17 +895,16 @@ func (m *IssuanceClose) Reset() { *m = IssuanceClose{} }
func (m *IssuanceClose) String() string { return proto.CompactTextString(m) } func (m *IssuanceClose) String() string { return proto.CompactTextString(m) }
func (*IssuanceClose) ProtoMessage() {} func (*IssuanceClose) ProtoMessage() {}
func (*IssuanceClose) Descriptor() ([]byte, []int) { func (*IssuanceClose) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{9} return fileDescriptor_issuance_40720e0041940428, []int{9}
} }
func (m *IssuanceClose) XXX_Unmarshal(b []byte) error { func (m *IssuanceClose) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceClose.Unmarshal(m, b) return xxx_messageInfo_IssuanceClose.Unmarshal(m, b)
} }
func (m *IssuanceClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceClose) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceClose.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceClose.Marshal(b, m, deterministic)
} }
func (m *IssuanceClose) XXX_Merge(src proto.Message) { func (dst *IssuanceClose) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceClose.Merge(m, src) xxx_messageInfo_IssuanceClose.Merge(dst, src)
} }
func (m *IssuanceClose) XXX_Size() int { func (m *IssuanceClose) XXX_Size() int {
return xxx_messageInfo_IssuanceClose.Size(m) return xxx_messageInfo_IssuanceClose.Size(m)
...@@ -807,17 +937,16 @@ func (m *ReceiptIssuance) Reset() { *m = ReceiptIssuance{} } ...@@ -807,17 +937,16 @@ func (m *ReceiptIssuance) Reset() { *m = ReceiptIssuance{} }
func (m *ReceiptIssuance) String() string { return proto.CompactTextString(m) } func (m *ReceiptIssuance) String() string { return proto.CompactTextString(m) }
func (*ReceiptIssuance) ProtoMessage() {} func (*ReceiptIssuance) ProtoMessage() {}
func (*ReceiptIssuance) Descriptor() ([]byte, []int) { func (*ReceiptIssuance) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{10} return fileDescriptor_issuance_40720e0041940428, []int{10}
} }
func (m *ReceiptIssuance) XXX_Unmarshal(b []byte) error { func (m *ReceiptIssuance) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReceiptIssuance.Unmarshal(m, b) return xxx_messageInfo_ReceiptIssuance.Unmarshal(m, b)
} }
func (m *ReceiptIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReceiptIssuance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptIssuance.Marshal(b, m, deterministic) return xxx_messageInfo_ReceiptIssuance.Marshal(b, m, deterministic)
} }
func (m *ReceiptIssuance) XXX_Merge(src proto.Message) { func (dst *ReceiptIssuance) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptIssuance.Merge(m, src) xxx_messageInfo_ReceiptIssuance.Merge(dst, src)
} }
func (m *ReceiptIssuance) XXX_Size() int { func (m *ReceiptIssuance) XXX_Size() int {
return xxx_messageInfo_ReceiptIssuance.Size(m) return xxx_messageInfo_ReceiptIssuance.Size(m)
...@@ -869,17 +998,16 @@ func (m *ReceiptIssuanceID) Reset() { *m = ReceiptIssuanceID{} } ...@@ -869,17 +998,16 @@ func (m *ReceiptIssuanceID) Reset() { *m = ReceiptIssuanceID{} }
func (m *ReceiptIssuanceID) String() string { return proto.CompactTextString(m) } func (m *ReceiptIssuanceID) String() string { return proto.CompactTextString(m) }
func (*ReceiptIssuanceID) ProtoMessage() {} func (*ReceiptIssuanceID) ProtoMessage() {}
func (*ReceiptIssuanceID) Descriptor() ([]byte, []int) { func (*ReceiptIssuanceID) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{11} return fileDescriptor_issuance_40720e0041940428, []int{11}
} }
func (m *ReceiptIssuanceID) XXX_Unmarshal(b []byte) error { func (m *ReceiptIssuanceID) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReceiptIssuanceID.Unmarshal(m, b) return xxx_messageInfo_ReceiptIssuanceID.Unmarshal(m, b)
} }
func (m *ReceiptIssuanceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReceiptIssuanceID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReceiptIssuanceID.Marshal(b, m, deterministic) return xxx_messageInfo_ReceiptIssuanceID.Marshal(b, m, deterministic)
} }
func (m *ReceiptIssuanceID) XXX_Merge(src proto.Message) { func (dst *ReceiptIssuanceID) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReceiptIssuanceID.Merge(m, src) xxx_messageInfo_ReceiptIssuanceID.Merge(dst, src)
} }
func (m *ReceiptIssuanceID) XXX_Size() int { func (m *ReceiptIssuanceID) XXX_Size() int {
return xxx_messageInfo_ReceiptIssuanceID.Size(m) return xxx_messageInfo_ReceiptIssuanceID.Size(m)
...@@ -916,17 +1044,16 @@ func (m *IssuanceRecords) Reset() { *m = IssuanceRecords{} } ...@@ -916,17 +1044,16 @@ func (m *IssuanceRecords) Reset() { *m = IssuanceRecords{} }
func (m *IssuanceRecords) String() string { return proto.CompactTextString(m) } func (m *IssuanceRecords) String() string { return proto.CompactTextString(m) }
func (*IssuanceRecords) ProtoMessage() {} func (*IssuanceRecords) ProtoMessage() {}
func (*IssuanceRecords) Descriptor() ([]byte, []int) { func (*IssuanceRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{12} return fileDescriptor_issuance_40720e0041940428, []int{12}
} }
func (m *IssuanceRecords) XXX_Unmarshal(b []byte) error { func (m *IssuanceRecords) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_IssuanceRecords.Unmarshal(m, b) return xxx_messageInfo_IssuanceRecords.Unmarshal(m, b)
} }
func (m *IssuanceRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *IssuanceRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_IssuanceRecords.Marshal(b, m, deterministic) return xxx_messageInfo_IssuanceRecords.Marshal(b, m, deterministic)
} }
func (m *IssuanceRecords) XXX_Merge(src proto.Message) { func (dst *IssuanceRecords) XXX_Merge(src proto.Message) {
xxx_messageInfo_IssuanceRecords.Merge(m, src) xxx_messageInfo_IssuanceRecords.Merge(dst, src)
} }
func (m *IssuanceRecords) XXX_Size() int { func (m *IssuanceRecords) XXX_Size() int {
return xxx_messageInfo_IssuanceRecords.Size(m) return xxx_messageInfo_IssuanceRecords.Size(m)
...@@ -956,17 +1083,16 @@ func (m *ReqIssuanceInfo) Reset() { *m = ReqIssuanceInfo{} } ...@@ -956,17 +1083,16 @@ func (m *ReqIssuanceInfo) Reset() { *m = ReqIssuanceInfo{} }
func (m *ReqIssuanceInfo) String() string { return proto.CompactTextString(m) } func (m *ReqIssuanceInfo) String() string { return proto.CompactTextString(m) }
func (*ReqIssuanceInfo) ProtoMessage() {} func (*ReqIssuanceInfo) ProtoMessage() {}
func (*ReqIssuanceInfo) Descriptor() ([]byte, []int) { func (*ReqIssuanceInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{13} return fileDescriptor_issuance_40720e0041940428, []int{13}
} }
func (m *ReqIssuanceInfo) XXX_Unmarshal(b []byte) error { func (m *ReqIssuanceInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqIssuanceInfo.Unmarshal(m, b) return xxx_messageInfo_ReqIssuanceInfo.Unmarshal(m, b)
} }
func (m *ReqIssuanceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqIssuanceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqIssuanceInfo.Marshal(b, m, deterministic) return xxx_messageInfo_ReqIssuanceInfo.Marshal(b, m, deterministic)
} }
func (m *ReqIssuanceInfo) XXX_Merge(src proto.Message) { func (dst *ReqIssuanceInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqIssuanceInfo.Merge(m, src) xxx_messageInfo_ReqIssuanceInfo.Merge(dst, src)
} }
func (m *ReqIssuanceInfo) XXX_Size() int { func (m *ReqIssuanceInfo) XXX_Size() int {
return xxx_messageInfo_ReqIssuanceInfo.Size(m) return xxx_messageInfo_ReqIssuanceInfo.Size(m)
...@@ -1005,17 +1131,16 @@ func (m *RepIssuanceCurrentInfo) Reset() { *m = RepIssuanceCurrentInfo{} ...@@ -1005,17 +1131,16 @@ func (m *RepIssuanceCurrentInfo) Reset() { *m = RepIssuanceCurrentInfo{}
func (m *RepIssuanceCurrentInfo) String() string { return proto.CompactTextString(m) } func (m *RepIssuanceCurrentInfo) String() string { return proto.CompactTextString(m) }
func (*RepIssuanceCurrentInfo) ProtoMessage() {} func (*RepIssuanceCurrentInfo) ProtoMessage() {}
func (*RepIssuanceCurrentInfo) Descriptor() ([]byte, []int) { func (*RepIssuanceCurrentInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{14} return fileDescriptor_issuance_40720e0041940428, []int{14}
} }
func (m *RepIssuanceCurrentInfo) XXX_Unmarshal(b []byte) error { func (m *RepIssuanceCurrentInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepIssuanceCurrentInfo.Unmarshal(m, b) return xxx_messageInfo_RepIssuanceCurrentInfo.Unmarshal(m, b)
} }
func (m *RepIssuanceCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepIssuanceCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepIssuanceCurrentInfo.Marshal(b, m, deterministic) return xxx_messageInfo_RepIssuanceCurrentInfo.Marshal(b, m, deterministic)
} }
func (m *RepIssuanceCurrentInfo) XXX_Merge(src proto.Message) { func (dst *RepIssuanceCurrentInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepIssuanceCurrentInfo.Merge(m, src) xxx_messageInfo_RepIssuanceCurrentInfo.Merge(dst, src)
} }
func (m *RepIssuanceCurrentInfo) XXX_Size() int { func (m *RepIssuanceCurrentInfo) XXX_Size() int {
return xxx_messageInfo_RepIssuanceCurrentInfo.Size(m) return xxx_messageInfo_RepIssuanceCurrentInfo.Size(m)
...@@ -1108,17 +1233,16 @@ func (m *ReqIssuanceInfos) Reset() { *m = ReqIssuanceInfos{} } ...@@ -1108,17 +1233,16 @@ func (m *ReqIssuanceInfos) Reset() { *m = ReqIssuanceInfos{} }
func (m *ReqIssuanceInfos) String() string { return proto.CompactTextString(m) } func (m *ReqIssuanceInfos) String() string { return proto.CompactTextString(m) }
func (*ReqIssuanceInfos) ProtoMessage() {} func (*ReqIssuanceInfos) ProtoMessage() {}
func (*ReqIssuanceInfos) Descriptor() ([]byte, []int) { func (*ReqIssuanceInfos) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{15} return fileDescriptor_issuance_40720e0041940428, []int{15}
} }
func (m *ReqIssuanceInfos) XXX_Unmarshal(b []byte) error { func (m *ReqIssuanceInfos) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqIssuanceInfos.Unmarshal(m, b) return xxx_messageInfo_ReqIssuanceInfos.Unmarshal(m, b)
} }
func (m *ReqIssuanceInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqIssuanceInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqIssuanceInfos.Marshal(b, m, deterministic) return xxx_messageInfo_ReqIssuanceInfos.Marshal(b, m, deterministic)
} }
func (m *ReqIssuanceInfos) XXX_Merge(src proto.Message) { func (dst *ReqIssuanceInfos) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqIssuanceInfos.Merge(m, src) xxx_messageInfo_ReqIssuanceInfos.Merge(dst, src)
} }
func (m *ReqIssuanceInfos) XXX_Size() int { func (m *ReqIssuanceInfos) XXX_Size() int {
return xxx_messageInfo_ReqIssuanceInfos.Size(m) return xxx_messageInfo_ReqIssuanceInfos.Size(m)
...@@ -1148,17 +1272,16 @@ func (m *RepIssuanceCurrentInfos) Reset() { *m = RepIssuanceCurrentInfos ...@@ -1148,17 +1272,16 @@ func (m *RepIssuanceCurrentInfos) Reset() { *m = RepIssuanceCurrentInfos
func (m *RepIssuanceCurrentInfos) String() string { return proto.CompactTextString(m) } func (m *RepIssuanceCurrentInfos) String() string { return proto.CompactTextString(m) }
func (*RepIssuanceCurrentInfos) ProtoMessage() {} func (*RepIssuanceCurrentInfos) ProtoMessage() {}
func (*RepIssuanceCurrentInfos) Descriptor() ([]byte, []int) { func (*RepIssuanceCurrentInfos) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{16} return fileDescriptor_issuance_40720e0041940428, []int{16}
} }
func (m *RepIssuanceCurrentInfos) XXX_Unmarshal(b []byte) error { func (m *RepIssuanceCurrentInfos) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepIssuanceCurrentInfos.Unmarshal(m, b) return xxx_messageInfo_RepIssuanceCurrentInfos.Unmarshal(m, b)
} }
func (m *RepIssuanceCurrentInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepIssuanceCurrentInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepIssuanceCurrentInfos.Marshal(b, m, deterministic) return xxx_messageInfo_RepIssuanceCurrentInfos.Marshal(b, m, deterministic)
} }
func (m *RepIssuanceCurrentInfos) XXX_Merge(src proto.Message) { func (dst *RepIssuanceCurrentInfos) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepIssuanceCurrentInfos.Merge(m, src) xxx_messageInfo_RepIssuanceCurrentInfos.Merge(dst, src)
} }
func (m *RepIssuanceCurrentInfos) XXX_Size() int { func (m *RepIssuanceCurrentInfos) XXX_Size() int {
return xxx_messageInfo_RepIssuanceCurrentInfos.Size(m) return xxx_messageInfo_RepIssuanceCurrentInfos.Size(m)
...@@ -1189,17 +1312,16 @@ func (m *ReqIssuanceByStatus) Reset() { *m = ReqIssuanceByStatus{} } ...@@ -1189,17 +1312,16 @@ func (m *ReqIssuanceByStatus) Reset() { *m = ReqIssuanceByStatus{} }
func (m *ReqIssuanceByStatus) String() string { return proto.CompactTextString(m) } func (m *ReqIssuanceByStatus) String() string { return proto.CompactTextString(m) }
func (*ReqIssuanceByStatus) ProtoMessage() {} func (*ReqIssuanceByStatus) ProtoMessage() {}
func (*ReqIssuanceByStatus) Descriptor() ([]byte, []int) { func (*ReqIssuanceByStatus) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{17} return fileDescriptor_issuance_40720e0041940428, []int{17}
} }
func (m *ReqIssuanceByStatus) XXX_Unmarshal(b []byte) error { func (m *ReqIssuanceByStatus) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqIssuanceByStatus.Unmarshal(m, b) return xxx_messageInfo_ReqIssuanceByStatus.Unmarshal(m, b)
} }
func (m *ReqIssuanceByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqIssuanceByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqIssuanceByStatus.Marshal(b, m, deterministic) return xxx_messageInfo_ReqIssuanceByStatus.Marshal(b, m, deterministic)
} }
func (m *ReqIssuanceByStatus) XXX_Merge(src proto.Message) { func (dst *ReqIssuanceByStatus) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqIssuanceByStatus.Merge(m, src) xxx_messageInfo_ReqIssuanceByStatus.Merge(dst, src)
} }
func (m *ReqIssuanceByStatus) XXX_Size() int { func (m *ReqIssuanceByStatus) XXX_Size() int {
return xxx_messageInfo_ReqIssuanceByStatus.Size(m) return xxx_messageInfo_ReqIssuanceByStatus.Size(m)
...@@ -1236,17 +1358,16 @@ func (m *RepIssuanceIDs) Reset() { *m = RepIssuanceIDs{} } ...@@ -1236,17 +1358,16 @@ func (m *RepIssuanceIDs) Reset() { *m = RepIssuanceIDs{} }
func (m *RepIssuanceIDs) String() string { return proto.CompactTextString(m) } func (m *RepIssuanceIDs) String() string { return proto.CompactTextString(m) }
func (*RepIssuanceIDs) ProtoMessage() {} func (*RepIssuanceIDs) ProtoMessage() {}
func (*RepIssuanceIDs) Descriptor() ([]byte, []int) { func (*RepIssuanceIDs) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{18} return fileDescriptor_issuance_40720e0041940428, []int{18}
} }
func (m *RepIssuanceIDs) XXX_Unmarshal(b []byte) error { func (m *RepIssuanceIDs) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepIssuanceIDs.Unmarshal(m, b) return xxx_messageInfo_RepIssuanceIDs.Unmarshal(m, b)
} }
func (m *RepIssuanceIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepIssuanceIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepIssuanceIDs.Marshal(b, m, deterministic) return xxx_messageInfo_RepIssuanceIDs.Marshal(b, m, deterministic)
} }
func (m *RepIssuanceIDs) XXX_Merge(src proto.Message) { func (dst *RepIssuanceIDs) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepIssuanceIDs.Merge(m, src) xxx_messageInfo_RepIssuanceIDs.Merge(dst, src)
} }
func (m *RepIssuanceIDs) XXX_Size() int { func (m *RepIssuanceIDs) XXX_Size() int {
return xxx_messageInfo_RepIssuanceIDs.Size(m) return xxx_messageInfo_RepIssuanceIDs.Size(m)
...@@ -1279,17 +1400,16 @@ func (m *ReqIssuanceRecords) Reset() { *m = ReqIssuanceRecords{} } ...@@ -1279,17 +1400,16 @@ func (m *ReqIssuanceRecords) Reset() { *m = ReqIssuanceRecords{} }
func (m *ReqIssuanceRecords) String() string { return proto.CompactTextString(m) } func (m *ReqIssuanceRecords) String() string { return proto.CompactTextString(m) }
func (*ReqIssuanceRecords) ProtoMessage() {} func (*ReqIssuanceRecords) ProtoMessage() {}
func (*ReqIssuanceRecords) Descriptor() ([]byte, []int) { func (*ReqIssuanceRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{19} return fileDescriptor_issuance_40720e0041940428, []int{19}
} }
func (m *ReqIssuanceRecords) XXX_Unmarshal(b []byte) error { func (m *ReqIssuanceRecords) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ReqIssuanceRecords.Unmarshal(m, b) return xxx_messageInfo_ReqIssuanceRecords.Unmarshal(m, b)
} }
func (m *ReqIssuanceRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *ReqIssuanceRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ReqIssuanceRecords.Marshal(b, m, deterministic) return xxx_messageInfo_ReqIssuanceRecords.Marshal(b, m, deterministic)
} }
func (m *ReqIssuanceRecords) XXX_Merge(src proto.Message) { func (dst *ReqIssuanceRecords) XXX_Merge(src proto.Message) {
xxx_messageInfo_ReqIssuanceRecords.Merge(m, src) xxx_messageInfo_ReqIssuanceRecords.Merge(dst, src)
} }
func (m *ReqIssuanceRecords) XXX_Size() int { func (m *ReqIssuanceRecords) XXX_Size() int {
return xxx_messageInfo_ReqIssuanceRecords.Size(m) return xxx_messageInfo_ReqIssuanceRecords.Size(m)
...@@ -1340,17 +1460,16 @@ func (m *RepIssuanceRecords) Reset() { *m = RepIssuanceRecords{} } ...@@ -1340,17 +1460,16 @@ func (m *RepIssuanceRecords) Reset() { *m = RepIssuanceRecords{} }
func (m *RepIssuanceRecords) String() string { return proto.CompactTextString(m) } func (m *RepIssuanceRecords) String() string { return proto.CompactTextString(m) }
func (*RepIssuanceRecords) ProtoMessage() {} func (*RepIssuanceRecords) ProtoMessage() {}
func (*RepIssuanceRecords) Descriptor() ([]byte, []int) { func (*RepIssuanceRecords) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{20} return fileDescriptor_issuance_40720e0041940428, []int{20}
} }
func (m *RepIssuanceRecords) XXX_Unmarshal(b []byte) error { func (m *RepIssuanceRecords) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepIssuanceRecords.Unmarshal(m, b) return xxx_messageInfo_RepIssuanceRecords.Unmarshal(m, b)
} }
func (m *RepIssuanceRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepIssuanceRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepIssuanceRecords.Marshal(b, m, deterministic) return xxx_messageInfo_RepIssuanceRecords.Marshal(b, m, deterministic)
} }
func (m *RepIssuanceRecords) XXX_Merge(src proto.Message) { func (dst *RepIssuanceRecords) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepIssuanceRecords.Merge(m, src) xxx_messageInfo_RepIssuanceRecords.Merge(dst, src)
} }
func (m *RepIssuanceRecords) XXX_Size() int { func (m *RepIssuanceRecords) XXX_Size() int {
return xxx_messageInfo_RepIssuanceRecords.Size(m) return xxx_messageInfo_RepIssuanceRecords.Size(m)
...@@ -1380,17 +1499,16 @@ func (m *RepIssuanceDebtInfo) Reset() { *m = RepIssuanceDebtInfo{} } ...@@ -1380,17 +1499,16 @@ func (m *RepIssuanceDebtInfo) Reset() { *m = RepIssuanceDebtInfo{} }
func (m *RepIssuanceDebtInfo) String() string { return proto.CompactTextString(m) } func (m *RepIssuanceDebtInfo) String() string { return proto.CompactTextString(m) }
func (*RepIssuanceDebtInfo) ProtoMessage() {} func (*RepIssuanceDebtInfo) ProtoMessage() {}
func (*RepIssuanceDebtInfo) Descriptor() ([]byte, []int) { func (*RepIssuanceDebtInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{21} return fileDescriptor_issuance_40720e0041940428, []int{21}
} }
func (m *RepIssuanceDebtInfo) XXX_Unmarshal(b []byte) error { func (m *RepIssuanceDebtInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepIssuanceDebtInfo.Unmarshal(m, b) return xxx_messageInfo_RepIssuanceDebtInfo.Unmarshal(m, b)
} }
func (m *RepIssuanceDebtInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepIssuanceDebtInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepIssuanceDebtInfo.Marshal(b, m, deterministic) return xxx_messageInfo_RepIssuanceDebtInfo.Marshal(b, m, deterministic)
} }
func (m *RepIssuanceDebtInfo) XXX_Merge(src proto.Message) { func (dst *RepIssuanceDebtInfo) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepIssuanceDebtInfo.Merge(m, src) xxx_messageInfo_RepIssuanceDebtInfo.Merge(dst, src)
} }
func (m *RepIssuanceDebtInfo) XXX_Size() int { func (m *RepIssuanceDebtInfo) XXX_Size() int {
return xxx_messageInfo_RepIssuanceDebtInfo.Size(m) return xxx_messageInfo_RepIssuanceDebtInfo.Size(m)
...@@ -1420,17 +1538,16 @@ func (m *RepIssuancePrice) Reset() { *m = RepIssuancePrice{} } ...@@ -1420,17 +1538,16 @@ func (m *RepIssuancePrice) Reset() { *m = RepIssuancePrice{} }
func (m *RepIssuancePrice) String() string { return proto.CompactTextString(m) } func (m *RepIssuancePrice) String() string { return proto.CompactTextString(m) }
func (*RepIssuancePrice) ProtoMessage() {} func (*RepIssuancePrice) ProtoMessage() {}
func (*RepIssuancePrice) Descriptor() ([]byte, []int) { func (*RepIssuancePrice) Descriptor() ([]byte, []int) {
return fileDescriptor_7110f4228953d675, []int{22} return fileDescriptor_issuance_40720e0041940428, []int{22}
} }
func (m *RepIssuancePrice) XXX_Unmarshal(b []byte) error { func (m *RepIssuancePrice) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RepIssuancePrice.Unmarshal(m, b) return xxx_messageInfo_RepIssuancePrice.Unmarshal(m, b)
} }
func (m *RepIssuancePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *RepIssuancePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RepIssuancePrice.Marshal(b, m, deterministic) return xxx_messageInfo_RepIssuancePrice.Marshal(b, m, deterministic)
} }
func (m *RepIssuancePrice) XXX_Merge(src proto.Message) { func (dst *RepIssuancePrice) XXX_Merge(src proto.Message) {
xxx_messageInfo_RepIssuancePrice.Merge(m, src) xxx_messageInfo_RepIssuancePrice.Merge(dst, src)
} }
func (m *RepIssuancePrice) XXX_Size() int { func (m *RepIssuancePrice) XXX_Size() int {
return xxx_messageInfo_RepIssuancePrice.Size(m) return xxx_messageInfo_RepIssuancePrice.Size(m)
...@@ -1474,9 +1591,9 @@ func init() { ...@@ -1474,9 +1591,9 @@ func init() {
proto.RegisterType((*RepIssuancePrice)(nil), "types.RepIssuancePrice") proto.RegisterType((*RepIssuancePrice)(nil), "types.RepIssuancePrice")
} }
func init() { proto.RegisterFile("issuance.proto", fileDescriptor_7110f4228953d675) } func init() { proto.RegisterFile("issuance.proto", fileDescriptor_issuance_40720e0041940428) }
var fileDescriptor_7110f4228953d675 = []byte{ var fileDescriptor_issuance_40720e0041940428 = []byte{
// 1031 bytes of a gzipped FileDescriptorProto // 1031 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcd, 0x6e, 0xdb, 0x46, 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x57, 0xcd, 0x6e, 0xdb, 0x46,
0x10, 0x36, 0x49, 0x51, 0xb2, 0x46, 0xb6, 0xec, 0x6c, 0x52, 0x97, 0x28, 0xda, 0x40, 0x58, 0xf4, 0x10, 0x36, 0x49, 0x51, 0xb2, 0x46, 0xb6, 0xec, 0x6c, 0x52, 0x97, 0x28, 0xda, 0x40, 0x58, 0xf4,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment