Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
961263a5
Commit
961263a5
authored
Oct 11, 2019
by
pengjun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#627 update collateralize exec local
parent
4bf2e915
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
190 additions
and
356 deletions
+190
-356
collateralize.go
plugin/dapp/collateralize/executor/collateralize.go
+18
-52
exec_del_local.go
plugin/dapp/collateralize/executor/exec_del_local.go
+24
-17
exec_local.go
plugin/dapp/collateralize/executor/exec_local.go
+24
-18
keys.go
plugin/dapp/collateralize/executor/keys.go
+9
-9
collateralize.proto
plugin/dapp/collateralize/proto/collateralize.proto
+6
-20
collateralize.pb.go
plugin/dapp/collateralize/types/collateralize.pb.go
+109
-240
No files found.
plugin/dapp/collateralize/executor/collateralize.go
View file @
961263a5
...
...
@@ -59,76 +59,42 @@ func (Coll *Collateralize) GetDriverName() string {
return
pty
.
CollateralizeX
}
func
(
Coll
*
Collateralize
)
saveCollateralizeBorrow
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeBorrowKey
(
collateralizelog
.
CollateralizeId
,
collateralizelog
.
AccountAddr
)
record
:=
&
pty
.
CollateralizeBorrowRecord
{
CollateralizeId
:
collateralizelog
.
CollateralizeId
,}
func
(
Coll
*
Collateralize
)
addCollateralizeStatus
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeStatusKey
(
collateralizelog
.
Status
,
collateralizelog
.
Index
)
record
:=
&
pty
.
CollateralizeRecord
{
CollateralizeId
:
collateralizelog
.
CollateralizeId
,
Index
:
collateralizelog
.
Index
,
}
kv
:=
&
types
.
KeyValue
{
Key
:
key
,
Value
:
types
.
Encode
(
record
)}
kvs
=
append
(
kvs
,
kv
)
return
kvs
}
func
(
Coll
*
Collateralize
)
deleteCollateralize
Borrow
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralize
BorrowKey
(
collateralizelog
.
CollateralizeId
,
collateralizelog
.
AccountAddr
)
func
(
Coll
*
Collateralize
)
deleteCollateralize
Status
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralize
StatusKey
(
collateralizelog
.
Status
,
collateralizelog
.
Index
)
kv
:=
&
types
.
KeyValue
{
Key
:
key
,
Value
:
nil
}
kvs
=
append
(
kvs
,
kv
)
return
kvs
}
func
(
Coll
*
Collateralize
)
saveCollateralizeRepay
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeRepayKey
(
collateralizelog
.
CollateralizeId
)
record
:=
&
pty
.
CollateralizeRepayRecord
{}
func
(
Coll
*
Collateralize
)
addCollateralizeAddr
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeAddrKey
(
collateralizelog
.
AccountAddr
,
collateralizelog
.
Index
)
record
:=
&
pty
.
CollateralizeRecord
{
CollateralizeId
:
collateralizelog
.
CollateralizeId
,
Index
:
collateralizelog
.
Index
,
}
kv
:=
&
types
.
KeyValue
{
Key
:
key
,
Value
:
types
.
Encode
(
record
)}
kvs
=
append
(
kvs
,
kv
)
return
kvs
}
func
(
Coll
*
Collateralize
)
deleteCollateralizeRepay
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeRepayKey
(
collateralizelog
.
CollateralizeId
)
kv
:=
&
types
.
KeyValue
{
Key
:
key
,
Value
:
nil
}
kvs
=
append
(
kvs
,
kv
)
return
kvs
}
func
(
Coll
*
Collateralize
)
saveCollateralize
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
if
collateralizelog
.
PreStatus
>
0
{
kv
:=
delCollateralize
(
collateralizelog
.
CollateralizeId
,
collateralizelog
.
PreStatus
)
kvs
=
append
(
kvs
,
kv
)
}
kvs
=
append
(
kvs
,
addCollateralize
(
collateralizelog
.
CollateralizeId
,
collateralizelog
.
Status
))
return
kvs
}
func
(
Coll
*
Collateralize
)
deleteCollateralizeAddr
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
key
:=
calcCollateralizeAddrKey
(
collateralizelog
.
AccountAddr
,
collateralizelog
.
Index
)
func
(
Coll
*
Collateralize
)
deleteCollateralize
(
collateralizelog
*
pty
.
ReceiptCollateralize
)
(
kvs
[]
*
types
.
KeyValue
)
{
if
collateralizelog
.
PreStatus
>
0
{
kv
:=
addCollateralize
(
collateralizelog
.
CollateralizeId
,
collateralizelog
.
PreStatus
)
kvs
=
append
(
kvs
,
kv
)
}
kvs
=
append
(
kvs
,
delCollateralize
(
collateralizelog
.
CollateralizeId
,
collateralizelog
.
Status
))
kv
:=
&
types
.
KeyValue
{
Key
:
key
,
Value
:
nil
}
kvs
=
append
(
kvs
,
kv
)
return
kvs
}
func
addCollateralize
(
collateralizeID
string
,
status
int32
)
*
types
.
KeyValue
{
kv
:=
&
types
.
KeyValue
{}
kv
.
Key
=
calcCollateralizeKey
(
collateralizeID
)
kv
.
Value
=
[]
byte
(
collateralizeID
)
return
kv
}
func
delCollateralize
(
collateralizeID
string
,
status
int32
)
*
types
.
KeyValue
{
kv
:=
&
types
.
KeyValue
{}
kv
.
Key
=
calcCollateralizeKey
(
collateralizeID
)
kv
.
Value
=
nil
return
kv
}
// GetPayloadValue CollateralizeAction
func
(
Coll
*
Collateralize
)
GetPayloadValue
()
types
.
Message
{
return
&
pty
.
CollateralizeAction
{}
}
// CheckReceiptExecOk return true to check if receipt ty is ok
func
(
Coll
*
Collateralize
)
CheckReceiptExecOk
()
bool
{
return
true
}
plugin/dapp/collateralize/executor/exec_del_local.go
View file @
961263a5
...
...
@@ -13,25 +13,32 @@ import (
func
(
c
*
Collateralize
)
execDelLocal
(
tx
*
types
.
Transaction
,
receiptData
*
types
.
ReceiptData
)
(
*
types
.
LocalDBSet
,
error
)
{
set
:=
&
types
.
LocalDBSet
{}
for
_
,
item
:=
range
receiptData
.
Logs
{
var
collateralizelog
pty
.
ReceiptCollateralize
err
:=
types
.
Decode
(
item
.
Log
,
&
collateralizelog
)
if
err
!=
nil
{
return
nil
,
err
}
switch
item
.
Ty
{
case
pty
.
TyLogCollateralizeCreate
,
pty
.
TyLogCollateralizeBorrow
,
pty
.
TyLogCollateralizeAppend
,
pty
.
TyLogCollateralizeRepay
,
pty
.
TyLogCollateralizeFeed
,
pty
.
TyLogCollateralizeClose
:
var
collateralizelog
pty
.
ReceiptCollateralize
err
:=
types
.
Decode
(
item
.
Log
,
&
collateralizelog
)
if
err
!=
nil
{
return
nil
,
err
}
kv
:=
c
.
deleteCollateralize
(
&
collateralizelog
)
case
pty
.
TyLogCollateralizeCreate
:
kv
:=
c
.
deleteCollateralizeStatus
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
if
item
.
Ty
==
pty
.
TyLogCollateralizeBorrow
{
kv
:=
c
.
deleteCollateralizeBorrow
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
}
else
if
item
.
Ty
==
pty
.
TyLogCollateralizeAppend
{
kv
:=
c
.
deleteCollateralizeRepay
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
//TODO
}
break
case
pty
.
TyLogCollateralizeBorrow
:
kv
:=
c
.
deleteCollateralizeAddr
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
break
case
pty
.
TyLogCollateralizeAppend
:
// append没有状态变化
break
case
pty
.
TyLogCollateralizeRepay
:
kv
:=
c
.
addCollateralizeAddr
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
break
/*case pty.TyLogCollateralizeFeed:*/
// TODO
case
pty
.
TyLogCollateralizeClose
:
kv
:=
c
.
addCollateralizeStatus
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
break
}
}
return
set
,
nil
...
...
plugin/dapp/collateralize/executor/exec_local.go
View file @
961263a5
...
...
@@ -13,26 +13,32 @@ import (
func
(
c
*
Collateralize
)
execLocal
(
tx
*
types
.
Transaction
,
receipt
*
types
.
ReceiptData
)
(
*
types
.
LocalDBSet
,
error
)
{
set
:=
&
types
.
LocalDBSet
{}
for
_
,
item
:=
range
receipt
.
Logs
{
var
collateralizelog
pty
.
ReceiptCollateralize
err
:=
types
.
Decode
(
item
.
Log
,
&
collateralizelog
)
if
err
!=
nil
{
return
nil
,
err
}
switch
item
.
Ty
{
case
pty
.
TyLogCollateralizeCreate
,
pty
.
TyLogCollateralizeBorrow
,
pty
.
TyLogCollateralizeRepay
,
pty
.
TyLogCollateralizeAppend
,
pty
.
TyLogCollateralizeFeed
,
pty
.
TyLogCollateralizeClose
:
var
Collateralizelog
pty
.
ReceiptCollateralize
err
:=
types
.
Decode
(
item
.
Log
,
&
Collateralizelog
)
if
err
!=
nil
{
return
nil
,
err
}
kv
:=
c
.
saveCollateralize
(
&
Collateralizelog
)
case
pty
.
TyLogCollateralizeCreate
:
kv
:=
c
.
addCollateralizeStatus
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
if
item
.
Ty
==
pty
.
TyLogCollateralizeBorrow
{
kv
:=
c
.
saveCollateralizeBorrow
(
&
Collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
}
else
if
item
.
Ty
==
pty
.
TyLogCollateralizeRepay
{
kv
:=
c
.
saveCollateralizeRepay
(
&
Collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
}
else
{
//TODO
}
break
case
pty
.
TyLogCollateralizeBorrow
:
kv
:=
c
.
addCollateralizeAddr
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
break
case
pty
.
TyLogCollateralizeAppend
:
//append没有状态变化
break
case
pty
.
TyLogCollateralizeRepay
:
kv
:=
c
.
deleteCollateralizeAddr
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
break
/*case pty.TyLogCollateralizeFeed:*/
// TODO
case
pty
.
TyLogCollateralizeClose
:
kv
:=
c
.
deleteCollateralizeStatus
(
&
collateralizelog
)
set
.
KV
=
append
(
set
.
KV
,
kv
...
)
break
}
}
return
set
,
nil
...
...
plugin/dapp/collateralize/executor/keys.go
View file @
961263a5
...
...
@@ -7,27 +7,27 @@ package executor
import
"fmt"
func
calcCollateralizeKey
(
CollateralizeID
string
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
create
:%s"
,
CollateralizeID
)
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
ID
:%s"
,
CollateralizeID
)
return
[]
byte
(
key
)
}
func
calcCollateralize
BorrowPrefix
(
CollateralizeID
string
,
addr
string
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
borrow:%s:%s"
,
CollateralizeID
,
addr
)
func
calcCollateralize
StatusPrefix
(
status
int32
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
status-index:%d"
,
status
)
return
[]
byte
(
key
)
}
func
calcCollateralize
BorrowKey
(
CollateralizeID
string
,
addr
string
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
buy:%s:%s:%18d"
,
CollateralizeID
,
addr
)
func
calcCollateralize
StatusKey
(
status
int32
,
index
int64
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
status:%d:%018d"
,
status
,
index
)
return
[]
byte
(
key
)
}
func
calcCollateralize
RepayPrefix
(
CollateralizeID
string
,
addr
string
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
repay:%s:%s"
,
CollateralizeID
,
addr
)
func
calcCollateralize
AddrPrefix
(
addr
string
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
addr:%s"
,
addr
)
return
[]
byte
(
key
)
}
func
calcCollateralize
RepayKey
(
CollateralizeID
string
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
repay:%s:%10d"
,
CollateralizeID
)
func
calcCollateralize
AddrKey
(
addr
string
,
index
int64
)
[]
byte
{
key
:=
fmt
.
Sprintf
(
"LODB-Collateralize-
addr:%s:%018d"
,
addr
,
index
)
return
[]
byte
(
key
)
}
...
...
plugin/dapp/collateralize/proto/collateralize.proto
View file @
961263a5
...
...
@@ -84,8 +84,9 @@ message ReceiptCollateralize {
string
collateralizeId
=
1
;
string
createAddr
=
3
;
string
accountAddr
=
4
;
int32
status
=
9
;
int32
preStatus
=
10
;
int32
status
=
5
;
int32
preStatus
=
6
;
int64
index
=
7
;
}
message
ReqCollateralizeInfo
{
...
...
@@ -125,26 +126,11 @@ message ReplyCollateralizeBadDebt {
}
// used for execlocal
message
Collateralize
Borrow
Record
{
message
CollateralizeRecord
{
string
collateralizeId
=
1
;
int64
value
=
2
;
int64
index
=
3
;
int64
time
=
4
;
string
txHash
=
5
;
}
message
CollateralizeBorrowRecords
{
repeated
CollateralizeBorrowRecord
records
=
1
;
}
message
CollateralizeRepayRecord
{
string
collateralizeId
=
1
;
int64
value
=
2
;
int64
index
=
3
;
int64
time
=
4
;
string
txHash
=
5
;
}
message
CollateralizeRepayRecords
{
repeated
CollateralizeRepayRecord
records
=
1
;
message
CollateralizeRecords
{
repeated
CollateralizeRecord
records
=
1
;
}
plugin/dapp/collateralize/types/collateralize.pb.go
View file @
961263a5
...
...
@@ -763,8 +763,9 @@ type ReceiptCollateralize struct {
CollateralizeId
string
`protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"`
CreateAddr
string
`protobuf:"bytes,3,opt,name=createAddr,proto3" json:"createAddr,omitempty"`
AccountAddr
string
`protobuf:"bytes,4,opt,name=accountAddr,proto3" json:"accountAddr,omitempty"`
Status
int32
`protobuf:"varint,9,opt,name=status,proto3" json:"status,omitempty"`
PreStatus
int32
`protobuf:"varint,10,opt,name=preStatus,proto3" json:"preStatus,omitempty"`
Status
int32
`protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
PreStatus
int32
`protobuf:"varint,6,opt,name=preStatus,proto3" json:"preStatus,omitempty"`
Index
int64
`protobuf:"varint,7,opt,name=index,proto3" json:"index,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
...
...
@@ -830,6 +831,13 @@ func (m *ReceiptCollateralize) GetPreStatus() int32 {
return
0
}
func
(
m
*
ReceiptCollateralize
)
GetIndex
()
int64
{
if
m
!=
nil
{
return
m
.
Index
}
return
0
}
type
ReqCollateralizeInfo
struct
{
CollateralizeId
string
`protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
...
...
@@ -1161,220 +1169,86 @@ func (m *ReplyCollateralizeBadDebt) GetRecords() []*BorrowRecord {
}
// used for execlocal
type
Collateralize
Borrow
Record
struct
{
type
CollateralizeRecord
struct
{
CollateralizeId
string
`protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"`
Value
int64
`protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
Index
int64
`protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
Time
int64
`protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
TxHash
string
`protobuf:"bytes,5,opt,name=txHash,proto3" json:"txHash,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Collateralize
BorrowRecord
)
Reset
()
{
*
m
=
CollateralizeBorrow
Record
{}
}
func
(
m
*
Collateralize
Borrow
Record
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Collateralize
Borrow
Record
)
ProtoMessage
()
{}
func
(
*
Collateralize
Borrow
Record
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
m
*
Collateralize
Record
)
Reset
()
{
*
m
=
Collateralize
Record
{}
}
func
(
m
*
CollateralizeRecord
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CollateralizeRecord
)
ProtoMessage
()
{}
func
(
*
CollateralizeRecord
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_a988fb4a61381972
,
[]
int
{
17
}
}
func
(
m
*
Collateralize
Borrow
Record
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_Collateralize
Borrow
Record
.
Unmarshal
(
m
,
b
)
func
(
m
*
CollateralizeRecord
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_CollateralizeRecord
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
Collateralize
Borrow
Record
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_Collateralize
Borrow
Record
.
Marshal
(
b
,
m
,
deterministic
)
func
(
m
*
CollateralizeRecord
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_CollateralizeRecord
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
Collateralize
Borrow
Record
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_Collateralize
Borrow
Record
.
Merge
(
m
,
src
)
func
(
m
*
CollateralizeRecord
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_CollateralizeRecord
.
Merge
(
m
,
src
)
}
func
(
m
*
Collateralize
Borrow
Record
)
XXX_Size
()
int
{
return
xxx_messageInfo_Collateralize
Borrow
Record
.
Size
(
m
)
func
(
m
*
CollateralizeRecord
)
XXX_Size
()
int
{
return
xxx_messageInfo_CollateralizeRecord
.
Size
(
m
)
}
func
(
m
*
Collateralize
Borrow
Record
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_Collateralize
Borrow
Record
.
DiscardUnknown
(
m
)
func
(
m
*
CollateralizeRecord
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_CollateralizeRecord
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_Collateralize
Borrow
Record
proto
.
InternalMessageInfo
var
xxx_messageInfo_CollateralizeRecord
proto
.
InternalMessageInfo
func
(
m
*
Collateralize
Borrow
Record
)
GetCollateralizeId
()
string
{
func
(
m
*
CollateralizeRecord
)
GetCollateralizeId
()
string
{
if
m
!=
nil
{
return
m
.
CollateralizeId
}
return
""
}
func
(
m
*
CollateralizeBorrowRecord
)
GetValue
()
int64
{
if
m
!=
nil
{
return
m
.
Value
}
return
0
}
func
(
m
*
CollateralizeBorrowRecord
)
GetIndex
()
int64
{
func
(
m
*
CollateralizeRecord
)
GetIndex
()
int64
{
if
m
!=
nil
{
return
m
.
Index
}
return
0
}
func
(
m
*
CollateralizeBorrowRecord
)
GetTime
()
int64
{
if
m
!=
nil
{
return
m
.
Time
}
return
0
}
func
(
m
*
CollateralizeBorrowRecord
)
GetTxHash
()
string
{
if
m
!=
nil
{
return
m
.
TxHash
}
return
""
}
type
CollateralizeBorrowRecords
struct
{
Records
[]
*
CollateralizeBorrowRecord
`protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
type
CollateralizeRecords
struct
{
Records
[]
*
CollateralizeRecord
`protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
Collateralize
BorrowRecords
)
Reset
()
{
*
m
=
CollateralizeBorrow
Records
{}
}
func
(
m
*
Collateralize
Borrow
Records
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
Collateralize
Borrow
Records
)
ProtoMessage
()
{}
func
(
*
Collateralize
Borrow
Records
)
Descriptor
()
([]
byte
,
[]
int
)
{
func
(
m
*
Collateralize
Records
)
Reset
()
{
*
m
=
Collateralize
Records
{}
}
func
(
m
*
CollateralizeRecords
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CollateralizeRecords
)
ProtoMessage
()
{}
func
(
*
CollateralizeRecords
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_a988fb4a61381972
,
[]
int
{
18
}
}
func
(
m
*
CollateralizeBorrowRecords
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_CollateralizeBorrowRecords
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
CollateralizeBorrowRecords
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_CollateralizeBorrowRecords
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
CollateralizeBorrowRecords
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_CollateralizeBorrowRecords
.
Merge
(
m
,
src
)
}
func
(
m
*
CollateralizeBorrowRecords
)
XXX_Size
()
int
{
return
xxx_messageInfo_CollateralizeBorrowRecords
.
Size
(
m
)
}
func
(
m
*
CollateralizeBorrowRecords
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_CollateralizeBorrowRecords
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_CollateralizeBorrowRecords
proto
.
InternalMessageInfo
func
(
m
*
CollateralizeBorrowRecords
)
GetRecords
()
[]
*
CollateralizeBorrowRecord
{
if
m
!=
nil
{
return
m
.
Records
}
return
nil
}
type
CollateralizeRepayRecord
struct
{
CollateralizeId
string
`protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"`
Value
int64
`protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
Index
int64
`protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
Time
int64
`protobuf:"varint,4,opt,name=time,proto3" json:"time,omitempty"`
TxHash
string
`protobuf:"bytes,5,opt,name=txHash,proto3" json:"txHash,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
CollateralizeRepayRecord
)
Reset
()
{
*
m
=
CollateralizeRepayRecord
{}
}
func
(
m
*
CollateralizeRepayRecord
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CollateralizeRepayRecord
)
ProtoMessage
()
{}
func
(
*
CollateralizeRepayRecord
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_a988fb4a61381972
,
[]
int
{
19
}
}
func
(
m
*
CollateralizeRepayRecord
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_CollateralizeRepayRecord
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
CollateralizeRepayRecord
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_CollateralizeRepayRecord
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
CollateralizeRepayRecord
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_CollateralizeRepayRecord
.
Merge
(
m
,
src
)
}
func
(
m
*
CollateralizeRepayRecord
)
XXX_Size
()
int
{
return
xxx_messageInfo_CollateralizeRepayRecord
.
Size
(
m
)
}
func
(
m
*
CollateralizeRepayRecord
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_CollateralizeRepayRecord
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_CollateralizeRepayRecord
proto
.
InternalMessageInfo
func
(
m
*
CollateralizeRepayRecord
)
GetCollateralizeId
()
string
{
if
m
!=
nil
{
return
m
.
CollateralizeId
}
return
""
}
func
(
m
*
CollateralizeRepayRecord
)
GetValue
()
int64
{
if
m
!=
nil
{
return
m
.
Value
}
return
0
}
func
(
m
*
CollateralizeRepayRecord
)
GetIndex
()
int64
{
if
m
!=
nil
{
return
m
.
Index
}
return
0
}
func
(
m
*
CollateralizeRepayRecord
)
GetTime
()
int64
{
if
m
!=
nil
{
return
m
.
Time
}
return
0
}
func
(
m
*
CollateralizeRepayRecord
)
GetTxHash
()
string
{
if
m
!=
nil
{
return
m
.
TxHash
}
return
""
}
type
CollateralizeRepayRecords
struct
{
Records
[]
*
CollateralizeRepayRecord
`protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
XXX_NoUnkeyedLiteral
struct
{}
`json:"-"`
XXX_unrecognized
[]
byte
`json:"-"`
XXX_sizecache
int32
`json:"-"`
}
func
(
m
*
CollateralizeRepayRecords
)
Reset
()
{
*
m
=
CollateralizeRepayRecords
{}
}
func
(
m
*
CollateralizeRepayRecords
)
String
()
string
{
return
proto
.
CompactTextString
(
m
)
}
func
(
*
CollateralizeRepayRecords
)
ProtoMessage
()
{}
func
(
*
CollateralizeRepayRecords
)
Descriptor
()
([]
byte
,
[]
int
)
{
return
fileDescriptor_a988fb4a61381972
,
[]
int
{
20
}
}
func
(
m
*
CollateralizeRepayRecords
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_CollateralizeRepayRecords
.
Unmarshal
(
m
,
b
)
func
(
m
*
CollateralizeRecords
)
XXX_Unmarshal
(
b
[]
byte
)
error
{
return
xxx_messageInfo_CollateralizeRecords
.
Unmarshal
(
m
,
b
)
}
func
(
m
*
CollateralizeRe
payRe
cords
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_CollateralizeRe
payRe
cords
.
Marshal
(
b
,
m
,
deterministic
)
func
(
m
*
CollateralizeRecords
)
XXX_Marshal
(
b
[]
byte
,
deterministic
bool
)
([]
byte
,
error
)
{
return
xxx_messageInfo_CollateralizeRecords
.
Marshal
(
b
,
m
,
deterministic
)
}
func
(
m
*
CollateralizeRe
payRe
cords
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_CollateralizeRe
payRe
cords
.
Merge
(
m
,
src
)
func
(
m
*
CollateralizeRecords
)
XXX_Merge
(
src
proto
.
Message
)
{
xxx_messageInfo_CollateralizeRecords
.
Merge
(
m
,
src
)
}
func
(
m
*
CollateralizeRe
payRe
cords
)
XXX_Size
()
int
{
return
xxx_messageInfo_CollateralizeRe
payRe
cords
.
Size
(
m
)
func
(
m
*
CollateralizeRecords
)
XXX_Size
()
int
{
return
xxx_messageInfo_CollateralizeRecords
.
Size
(
m
)
}
func
(
m
*
CollateralizeRe
payRe
cords
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_CollateralizeRe
payRe
cords
.
DiscardUnknown
(
m
)
func
(
m
*
CollateralizeRecords
)
XXX_DiscardUnknown
()
{
xxx_messageInfo_CollateralizeRecords
.
DiscardUnknown
(
m
)
}
var
xxx_messageInfo_CollateralizeRe
payRe
cords
proto
.
InternalMessageInfo
var
xxx_messageInfo_CollateralizeRecords
proto
.
InternalMessageInfo
func
(
m
*
CollateralizeRe
payRecords
)
GetRecords
()
[]
*
CollateralizeRepay
Record
{
func
(
m
*
CollateralizeRe
cords
)
GetRecords
()
[]
*
Collateralize
Record
{
if
m
!=
nil
{
return
m
.
Records
}
...
...
@@ -1399,74 +1273,69 @@ func init() {
proto
.
RegisterType
((
*
ReqCollateralizeBorrowHistory
)(
nil
),
"types.ReqCollateralizeBorrowHistory"
)
proto
.
RegisterType
((
*
ReplyCollateralizeCurrentInfo
)(
nil
),
"types.ReplyCollateralizeCurrentInfo"
)
proto
.
RegisterType
((
*
ReplyCollateralizeBadDebt
)(
nil
),
"types.ReplyCollateralizeBadDebt"
)
proto
.
RegisterType
((
*
CollateralizeBorrowRecord
)(
nil
),
"types.CollateralizeBorrowRecord"
)
proto
.
RegisterType
((
*
CollateralizeBorrowRecords
)(
nil
),
"types.CollateralizeBorrowRecords"
)
proto
.
RegisterType
((
*
CollateralizeRepayRecord
)(
nil
),
"types.CollateralizeRepayRecord"
)
proto
.
RegisterType
((
*
CollateralizeRepayRecords
)(
nil
),
"types.CollateralizeRepayRecords"
)
proto
.
RegisterType
((
*
CollateralizeRecord
)(
nil
),
"types.CollateralizeRecord"
)
proto
.
RegisterType
((
*
CollateralizeRecords
)(
nil
),
"types.CollateralizeRecords"
)
}
func
init
()
{
proto
.
RegisterFile
(
"collateralize.proto"
,
fileDescriptor_a988fb4a61381972
)
}
var
fileDescriptor_a988fb4a61381972
=
[]
byte
{
// 959 bytes of a gzipped FileDescriptorProto
0x1f
,
0x8b
,
0x08
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x02
,
0xff
,
0xe4
,
0x57
,
0x4f
,
0x8f
,
0xdb
,
0x44
,
0x14
,
0xaf
,
0x9d
,
0x38
,
0x69
,
0x5e
,
0x76
,
0xa1
,
0xcc
,
0x56
,
0xe0
,
0x5d
,
0x95
,
0x62
,
0x8d
,
0x38
,
0x44
,
0x48
,
0x44
,
0x62
,
0xcb
,
0xa5
,
0x1c
,
0x10
,
0xd9
,
0xa0
,
0x6a
,
0xcb
,
0xa9
,
0x32
,
0x4b
,
0x85
,
0xb8
,
0x8d
,
0xed
,
0x29
,
0xb5
,
0x64
,
0x6c
,
0x77
,
0x3c
,
0x29
,
0x6b
,
0xce
,
0x5c
,
0xf8
,
0x0e
,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94
,
0x95
,
0x66
,
0x71
,
0x51
,
0xe7
,
0xe8
,
0x9a
,
0x73
,
0x96
,
0x08
,
0x84
,
0xb3
,
0x1c
,
0xbd
,
0x51
,
0x1b
,
0xfd
,
0x5b
,
0xfe
,
0xfe
,
0x73
,
0xbf
,
0x82
,
0xf3
,
0x36
,
0x70
,
0x1b
,
0xaa
,
0x7c
,
0x02
,
0x03
,
0xae
,
0x9f
,
0x77
,
0xc6
,
0xee
,
0xe7
,
0xdd
,
0xc6
,
0xa6
,
0xb5
,
0x7e
,
0xf5
,
0xb3
,
0xe3
,
0xa0
,
0x45
,
0xa9
,
0x86
,
0x6b
,
0x55
,
0x87
,
0xfb
,
0x35
,
0x9c
,
0x75
,
0x84
,
0xcd
,
0xc9
,
0x75
,
0xb3
,
0xba
,
0x49
,
0xf7
,
0x95
,
0x5d
,
0x2b
,
0xd2
,
0xef
,
0xe3
,
0xbf
,
0x0e
,
0x57
,
0xff
,
0x05
,
0x00
,
0x00
,
0xff
,
0xff
,
0xbb
,
0x53
,
0x0d
,
0x10
,
0x51
,
0x0c
,
0x00
,
0x00
,
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment