Documentation
¶
Index ¶
- Constants
- Variables
- func CreateRawCollateralizeAppendTx(cfg *types.Chain33Config, parm *CollateralizeAppendTx) (*types.Transaction, error)
- func CreateRawCollateralizeBorrowTx(cfg *types.Chain33Config, parm *CollateralizeBorrowTx) (*types.Transaction, error)
- func CreateRawCollateralizeCreateTx(cfg *types.Chain33Config, parm *CollateralizeCreateTx) (*types.Transaction, error)
- func CreateRawCollateralizeFeedTx(cfg *types.Chain33Config, parm *CollateralizeFeedTx) (*types.Transaction, error)
- func CreateRawCollateralizeManageTx(cfg *types.Chain33Config, parm *CollateralizeManageTx) (*types.Transaction, error)
- func CreateRawCollateralizeRepayTx(cfg *types.Chain33Config, parm *CollateralizeRepayTx) (*types.Transaction, error)
- func CreateRawCollateralizeRetrieveTx(cfg *types.Chain33Config, parm *CollateralizeRetrieveTx) (*types.Transaction, error)
- func InitExecutor(cfg *types.Chain33Config)
- func InitFork(cfg *types.Chain33Config)
- func NewCollateralizeTable(kvdb db.KV) *table.Table
- func NewRecordTable(kvdb db.KV) *table.Table
- type AssetPriceRecord
- func (*AssetPriceRecord) Descriptor() ([]byte, []int)
- func (m *AssetPriceRecord) GetBtcPrice() int64
- func (m *AssetPriceRecord) GetBtyPrice() int64
- func (m *AssetPriceRecord) GetEthPrice() int64
- func (m *AssetPriceRecord) GetRecordTime() int64
- func (*AssetPriceRecord) ProtoMessage()
- func (m *AssetPriceRecord) Reset()
- func (m *AssetPriceRecord) String() string
- func (m *AssetPriceRecord) XXX_DiscardUnknown()
- func (m *AssetPriceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AssetPriceRecord) XXX_Merge(src proto.Message)
- func (m *AssetPriceRecord) XXX_Size() int
- func (m *AssetPriceRecord) XXX_Unmarshal(b []byte) error
- type BorrowRecord
- func (*BorrowRecord) Descriptor() ([]byte, []int)
- func (m *BorrowRecord) GetAccountAddr() string
- func (m *BorrowRecord) GetCollateralPrice() int64
- func (m *BorrowRecord) GetCollateralValue() int64
- func (m *BorrowRecord) GetCollateralizeId() string
- func (m *BorrowRecord) GetDebtValue() int64
- func (m *BorrowRecord) GetExpireTime() int64
- func (m *BorrowRecord) GetLiquidateTime() int64
- func (m *BorrowRecord) GetLiquidationPrice() int64
- func (m *BorrowRecord) GetPreStatus() int32
- func (m *BorrowRecord) GetRecordId() string
- func (m *BorrowRecord) GetStartTime() int64
- func (m *BorrowRecord) GetStatus() int32
- func (*BorrowRecord) ProtoMessage()
- func (m *BorrowRecord) Reset()
- func (m *BorrowRecord) String() string
- func (m *BorrowRecord) XXX_DiscardUnknown()
- func (m *BorrowRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BorrowRecord) XXX_Merge(src proto.Message)
- func (m *BorrowRecord) XXX_Size() int
- func (m *BorrowRecord) XXX_Unmarshal(b []byte) error
- type Collateralize
- func (*Collateralize) Descriptor() ([]byte, []int)
- func (m *Collateralize) GetBalance() int64
- func (m *Collateralize) GetBorrowRecords() []*BorrowRecord
- func (m *Collateralize) GetCollBalance() int64
- func (m *Collateralize) GetCollateralizeId() string
- func (m *Collateralize) GetCreateAddr() string
- func (m *Collateralize) GetDebtCeiling() int64
- func (m *Collateralize) GetInvalidRecords() []*BorrowRecord
- func (m *Collateralize) GetLatestExpireTime() int64
- func (m *Collateralize) GetLatestLiquidationPrice() int64
- func (m *Collateralize) GetLiquidationRatio() int64
- func (m *Collateralize) GetPeriod() int64
- func (m *Collateralize) GetPreStatus() int32
- func (m *Collateralize) GetStabilityFeeRatio() int64
- func (m *Collateralize) GetStatus() int32
- func (m *Collateralize) GetTotalBalance() int64
- func (*Collateralize) ProtoMessage()
- func (m *Collateralize) Reset()
- func (m *Collateralize) String() string
- func (m *Collateralize) XXX_DiscardUnknown()
- func (m *Collateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Collateralize) XXX_Merge(src proto.Message)
- func (m *Collateralize) XXX_Size() int
- func (m *Collateralize) XXX_Unmarshal(b []byte) error
- type CollateralizeAction
- func (*CollateralizeAction) Descriptor() ([]byte, []int)
- func (m *CollateralizeAction) GetAppend() *CollateralizeAppend
- func (m *CollateralizeAction) GetBorrow() *CollateralizeBorrow
- func (m *CollateralizeAction) GetCreate() *CollateralizeCreate
- func (m *CollateralizeAction) GetFeed() *CollateralizeFeed
- func (m *CollateralizeAction) GetManage() *CollateralizeManage
- func (m *CollateralizeAction) GetRepay() *CollateralizeRepay
- func (m *CollateralizeAction) GetRetrieve() *CollateralizeRetrieve
- func (m *CollateralizeAction) GetTy() int32
- func (m *CollateralizeAction) GetValue() isCollateralizeAction_Value
- func (*CollateralizeAction) ProtoMessage()
- func (m *CollateralizeAction) Reset()
- func (m *CollateralizeAction) String() string
- func (m *CollateralizeAction) XXX_DiscardUnknown()
- func (m *CollateralizeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeAction) XXX_Merge(src proto.Message)
- func (*CollateralizeAction) XXX_OneofWrappers() []interface{}
- func (m *CollateralizeAction) XXX_Size() int
- func (m *CollateralizeAction) XXX_Unmarshal(b []byte) error
- type CollateralizeAction_Append
- type CollateralizeAction_Borrow
- type CollateralizeAction_Create
- type CollateralizeAction_Feed
- type CollateralizeAction_Manage
- type CollateralizeAction_Repay
- type CollateralizeAction_Retrieve
- type CollateralizeAddr
- func (*CollateralizeAddr) Descriptor() ([]byte, []int)
- func (m *CollateralizeAddr) GetSuperAddrs() []string
- func (*CollateralizeAddr) ProtoMessage()
- func (m *CollateralizeAddr) Reset()
- func (m *CollateralizeAddr) String() string
- func (m *CollateralizeAddr) XXX_DiscardUnknown()
- func (m *CollateralizeAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeAddr) XXX_Merge(src proto.Message)
- func (m *CollateralizeAddr) XXX_Size() int
- func (m *CollateralizeAddr) XXX_Unmarshal(b []byte) error
- type CollateralizeAppend
- func (*CollateralizeAppend) Descriptor() ([]byte, []int)
- func (m *CollateralizeAppend) GetCollateralValue() int64
- func (m *CollateralizeAppend) GetCollateralizeId() string
- func (m *CollateralizeAppend) GetRecordId() string
- func (*CollateralizeAppend) ProtoMessage()
- func (m *CollateralizeAppend) Reset()
- func (m *CollateralizeAppend) String() string
- func (m *CollateralizeAppend) XXX_DiscardUnknown()
- func (m *CollateralizeAppend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeAppend) XXX_Merge(src proto.Message)
- func (m *CollateralizeAppend) XXX_Size() int
- func (m *CollateralizeAppend) XXX_Unmarshal(b []byte) error
- type CollateralizeAppendTx
- type CollateralizeBorrow
- func (*CollateralizeBorrow) Descriptor() ([]byte, []int)
- func (m *CollateralizeBorrow) GetCollateralizeId() string
- func (m *CollateralizeBorrow) GetValue() int64
- func (*CollateralizeBorrow) ProtoMessage()
- func (m *CollateralizeBorrow) Reset()
- func (m *CollateralizeBorrow) String() string
- func (m *CollateralizeBorrow) XXX_DiscardUnknown()
- func (m *CollateralizeBorrow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeBorrow) XXX_Merge(src proto.Message)
- func (m *CollateralizeBorrow) XXX_Size() int
- func (m *CollateralizeBorrow) XXX_Unmarshal(b []byte) error
- type CollateralizeBorrowTx
- type CollateralizeCreate
- func (*CollateralizeCreate) Descriptor() ([]byte, []int)
- func (m *CollateralizeCreate) GetTotalBalance() int64
- func (*CollateralizeCreate) ProtoMessage()
- func (m *CollateralizeCreate) Reset()
- func (m *CollateralizeCreate) String() string
- func (m *CollateralizeCreate) XXX_DiscardUnknown()
- func (m *CollateralizeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeCreate) XXX_Merge(src proto.Message)
- func (m *CollateralizeCreate) XXX_Size() int
- func (m *CollateralizeCreate) XXX_Unmarshal(b []byte) error
- type CollateralizeCreateTx
- type CollateralizeFeed
- func (*CollateralizeFeed) Descriptor() ([]byte, []int)
- func (m *CollateralizeFeed) GetCollType() int32
- func (m *CollateralizeFeed) GetPrice() []int64
- func (m *CollateralizeFeed) GetVolume() []int64
- func (*CollateralizeFeed) ProtoMessage()
- func (m *CollateralizeFeed) Reset()
- func (m *CollateralizeFeed) String() string
- func (m *CollateralizeFeed) XXX_DiscardUnknown()
- func (m *CollateralizeFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeFeed) XXX_Merge(src proto.Message)
- func (m *CollateralizeFeed) XXX_Size() int
- func (m *CollateralizeFeed) XXX_Unmarshal(b []byte) error
- type CollateralizeFeedTx
- type CollateralizeManage
- func (*CollateralizeManage) Descriptor() ([]byte, []int)
- func (m *CollateralizeManage) GetCurrentTime() int64
- func (m *CollateralizeManage) GetDebtCeiling() int64
- func (m *CollateralizeManage) GetLiquidationRatio() int64
- func (m *CollateralizeManage) GetPeriod() int64
- func (m *CollateralizeManage) GetStabilityFeeRatio() int64
- func (m *CollateralizeManage) GetTotalBalance() int64
- func (*CollateralizeManage) ProtoMessage()
- func (m *CollateralizeManage) Reset()
- func (m *CollateralizeManage) String() string
- func (m *CollateralizeManage) XXX_DiscardUnknown()
- func (m *CollateralizeManage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeManage) XXX_Merge(src proto.Message)
- func (m *CollateralizeManage) XXX_Size() int
- func (m *CollateralizeManage) XXX_Unmarshal(b []byte) error
- type CollateralizeManageTx
- type CollateralizeRecordRow
- type CollateralizeRecords
- func (*CollateralizeRecords) Descriptor() ([]byte, []int)
- func (m *CollateralizeRecords) GetRecords() []*ReceiptCollateralize
- func (*CollateralizeRecords) ProtoMessage()
- func (m *CollateralizeRecords) Reset()
- func (m *CollateralizeRecords) String() string
- func (m *CollateralizeRecords) XXX_DiscardUnknown()
- func (m *CollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeRecords) XXX_Merge(src proto.Message)
- func (m *CollateralizeRecords) XXX_Size() int
- func (m *CollateralizeRecords) XXX_Unmarshal(b []byte) error
- type CollateralizeRepay
- func (*CollateralizeRepay) Descriptor() ([]byte, []int)
- func (m *CollateralizeRepay) GetCollateralizeId() string
- func (m *CollateralizeRepay) GetRecordId() string
- func (*CollateralizeRepay) ProtoMessage()
- func (m *CollateralizeRepay) Reset()
- func (m *CollateralizeRepay) String() string
- func (m *CollateralizeRepay) XXX_DiscardUnknown()
- func (m *CollateralizeRepay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeRepay) XXX_Merge(src proto.Message)
- func (m *CollateralizeRepay) XXX_Size() int
- func (m *CollateralizeRepay) XXX_Unmarshal(b []byte) error
- type CollateralizeRepayTx
- type CollateralizeRetrieve
- func (*CollateralizeRetrieve) Descriptor() ([]byte, []int)
- func (m *CollateralizeRetrieve) GetBalance() int64
- func (m *CollateralizeRetrieve) GetCollateralizeId() string
- func (*CollateralizeRetrieve) ProtoMessage()
- func (m *CollateralizeRetrieve) Reset()
- func (m *CollateralizeRetrieve) String() string
- func (m *CollateralizeRetrieve) XXX_DiscardUnknown()
- func (m *CollateralizeRetrieve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollateralizeRetrieve) XXX_Merge(src proto.Message)
- func (m *CollateralizeRetrieve) XXX_Size() int
- func (m *CollateralizeRetrieve) XXX_Unmarshal(b []byte) error
- type CollateralizeRetrieveTx
- type CollateralizeType
- func (collateralize CollateralizeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
- func (collateralize *CollateralizeType) GetLogMap() map[int64]*types.LogInfo
- func (collateralize *CollateralizeType) GetName() string
- func (collateralize *CollateralizeType) GetPayload() types.Message
- func (collateralize CollateralizeType) GetTypeMap() map[string]int32
- type CollatetalizeRow
- type ReceiptCollateralize
- func (*ReceiptCollateralize) Descriptor() ([]byte, []int)
- func (m *ReceiptCollateralize) GetAccountAddr() string
- func (m *ReceiptCollateralize) GetCollateralizeId() string
- func (m *ReceiptCollateralize) GetRecordId() string
- func (m *ReceiptCollateralize) GetStatus() int32
- func (*ReceiptCollateralize) ProtoMessage()
- func (m *ReceiptCollateralize) Reset()
- func (m *ReceiptCollateralize) String() string
- func (m *ReceiptCollateralize) XXX_DiscardUnknown()
- func (m *ReceiptCollateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiptCollateralize) XXX_Merge(src proto.Message)
- func (m *ReceiptCollateralize) XXX_Size() int
- func (m *ReceiptCollateralize) XXX_Unmarshal(b []byte) error
- type RepCollateralizeConfig
- func (*RepCollateralizeConfig) Descriptor() ([]byte, []int)
- func (m *RepCollateralizeConfig) GetBalance() int64
- func (m *RepCollateralizeConfig) GetCurrentTime() int64
- func (m *RepCollateralizeConfig) GetDebtCeiling() int64
- func (m *RepCollateralizeConfig) GetLiquidationRatio() int64
- func (m *RepCollateralizeConfig) GetPeriod() int64
- func (m *RepCollateralizeConfig) GetStabilityFeeRatio() int64
- func (m *RepCollateralizeConfig) GetTotalBalance() int64
- func (*RepCollateralizeConfig) ProtoMessage()
- func (m *RepCollateralizeConfig) Reset()
- func (m *RepCollateralizeConfig) String() string
- func (m *RepCollateralizeConfig) XXX_DiscardUnknown()
- func (m *RepCollateralizeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizeConfig) XXX_Merge(src proto.Message)
- func (m *RepCollateralizeConfig) XXX_Size() int
- func (m *RepCollateralizeConfig) XXX_Unmarshal(b []byte) error
- type RepCollateralizeCurrentInfo
- func (*RepCollateralizeCurrentInfo) Descriptor() ([]byte, []int)
- func (m *RepCollateralizeCurrentInfo) GetBalance() int64
- func (m *RepCollateralizeCurrentInfo) GetBorrowRecords() []*BorrowRecord
- func (m *RepCollateralizeCurrentInfo) GetCollBalance() int64
- func (m *RepCollateralizeCurrentInfo) GetCollateralizeId() string
- func (m *RepCollateralizeCurrentInfo) GetCreateAddr() string
- func (m *RepCollateralizeCurrentInfo) GetDebtCeiling() int64
- func (m *RepCollateralizeCurrentInfo) GetLiquidationRatio() int64
- func (m *RepCollateralizeCurrentInfo) GetPeriod() int64
- func (m *RepCollateralizeCurrentInfo) GetStabilityFeeRatio() int64
- func (m *RepCollateralizeCurrentInfo) GetStatus() int32
- func (m *RepCollateralizeCurrentInfo) GetTotalBalance() int64
- func (*RepCollateralizeCurrentInfo) ProtoMessage()
- func (m *RepCollateralizeCurrentInfo) Reset()
- func (m *RepCollateralizeCurrentInfo) String() string
- func (m *RepCollateralizeCurrentInfo) XXX_DiscardUnknown()
- func (m *RepCollateralizeCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizeCurrentInfo) XXX_Merge(src proto.Message)
- func (m *RepCollateralizeCurrentInfo) XXX_Size() int
- func (m *RepCollateralizeCurrentInfo) XXX_Unmarshal(b []byte) error
- type RepCollateralizeCurrentInfos
- func (*RepCollateralizeCurrentInfos) Descriptor() ([]byte, []int)
- func (m *RepCollateralizeCurrentInfos) GetInfos() []*RepCollateralizeCurrentInfo
- func (*RepCollateralizeCurrentInfos) ProtoMessage()
- func (m *RepCollateralizeCurrentInfos) Reset()
- func (m *RepCollateralizeCurrentInfos) String() string
- func (m *RepCollateralizeCurrentInfos) XXX_DiscardUnknown()
- func (m *RepCollateralizeCurrentInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizeCurrentInfos) XXX_Merge(src proto.Message)
- func (m *RepCollateralizeCurrentInfos) XXX_Size() int
- func (m *RepCollateralizeCurrentInfos) XXX_Unmarshal(b []byte) error
- type RepCollateralizeIDs
- func (*RepCollateralizeIDs) Descriptor() ([]byte, []int)
- func (m *RepCollateralizeIDs) GetIDs() []string
- func (*RepCollateralizeIDs) ProtoMessage()
- func (m *RepCollateralizeIDs) Reset()
- func (m *RepCollateralizeIDs) String() string
- func (m *RepCollateralizeIDs) XXX_DiscardUnknown()
- func (m *RepCollateralizeIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizeIDs) XXX_Merge(src proto.Message)
- func (m *RepCollateralizeIDs) XXX_Size() int
- func (m *RepCollateralizeIDs) XXX_Unmarshal(b []byte) error
- type RepCollateralizePrice
- func (*RepCollateralizePrice) Descriptor() ([]byte, []int)
- func (m *RepCollateralizePrice) GetPrice() int64
- func (*RepCollateralizePrice) ProtoMessage()
- func (m *RepCollateralizePrice) Reset()
- func (m *RepCollateralizePrice) String() string
- func (m *RepCollateralizePrice) XXX_DiscardUnknown()
- func (m *RepCollateralizePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizePrice) XXX_Merge(src proto.Message)
- func (m *RepCollateralizePrice) XXX_Size() int
- func (m *RepCollateralizePrice) XXX_Unmarshal(b []byte) error
- type RepCollateralizeRecord
- func (*RepCollateralizeRecord) Descriptor() ([]byte, []int)
- func (m *RepCollateralizeRecord) GetRecord() *BorrowRecord
- func (*RepCollateralizeRecord) ProtoMessage()
- func (m *RepCollateralizeRecord) Reset()
- func (m *RepCollateralizeRecord) String() string
- func (m *RepCollateralizeRecord) XXX_DiscardUnknown()
- func (m *RepCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizeRecord) XXX_Merge(src proto.Message)
- func (m *RepCollateralizeRecord) XXX_Size() int
- func (m *RepCollateralizeRecord) XXX_Unmarshal(b []byte) error
- type RepCollateralizeRecords
- func (*RepCollateralizeRecords) Descriptor() ([]byte, []int)
- func (m *RepCollateralizeRecords) GetRecords() []*BorrowRecord
- func (*RepCollateralizeRecords) ProtoMessage()
- func (m *RepCollateralizeRecords) Reset()
- func (m *RepCollateralizeRecords) String() string
- func (m *RepCollateralizeRecords) XXX_DiscardUnknown()
- func (m *RepCollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizeRecords) XXX_Merge(src proto.Message)
- func (m *RepCollateralizeRecords) XXX_Size() int
- func (m *RepCollateralizeRecords) XXX_Unmarshal(b []byte) error
- type RepCollateralizeUserBalance
- func (*RepCollateralizeUserBalance) Descriptor() ([]byte, []int)
- func (m *RepCollateralizeUserBalance) GetBalance() int64
- func (*RepCollateralizeUserBalance) ProtoMessage()
- func (m *RepCollateralizeUserBalance) Reset()
- func (m *RepCollateralizeUserBalance) String() string
- func (m *RepCollateralizeUserBalance) XXX_DiscardUnknown()
- func (m *RepCollateralizeUserBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RepCollateralizeUserBalance) XXX_Merge(src proto.Message)
- func (m *RepCollateralizeUserBalance) XXX_Size() int
- func (m *RepCollateralizeUserBalance) XXX_Unmarshal(b []byte) error
- type ReqCollateralizeByAddr
- func (*ReqCollateralizeByAddr) Descriptor() ([]byte, []int)
- func (m *ReqCollateralizeByAddr) GetAddr() string
- func (m *ReqCollateralizeByAddr) GetCollID() string
- func (m *ReqCollateralizeByAddr) GetStatus() int32
- func (*ReqCollateralizeByAddr) ProtoMessage()
- func (m *ReqCollateralizeByAddr) Reset()
- func (m *ReqCollateralizeByAddr) String() string
- func (m *ReqCollateralizeByAddr) XXX_DiscardUnknown()
- func (m *ReqCollateralizeByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCollateralizeByAddr) XXX_Merge(src proto.Message)
- func (m *ReqCollateralizeByAddr) XXX_Size() int
- func (m *ReqCollateralizeByAddr) XXX_Unmarshal(b []byte) error
- type ReqCollateralizeByStatus
- func (*ReqCollateralizeByStatus) Descriptor() ([]byte, []int)
- func (m *ReqCollateralizeByStatus) GetCollID() string
- func (m *ReqCollateralizeByStatus) GetStatus() int32
- func (*ReqCollateralizeByStatus) ProtoMessage()
- func (m *ReqCollateralizeByStatus) Reset()
- func (m *ReqCollateralizeByStatus) String() string
- func (m *ReqCollateralizeByStatus) XXX_DiscardUnknown()
- func (m *ReqCollateralizeByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCollateralizeByStatus) XXX_Merge(src proto.Message)
- func (m *ReqCollateralizeByStatus) XXX_Size() int
- func (m *ReqCollateralizeByStatus) XXX_Unmarshal(b []byte) error
- type ReqCollateralizeInfo
- func (*ReqCollateralizeInfo) Descriptor() ([]byte, []int)
- func (m *ReqCollateralizeInfo) GetCollateralizeId() string
- func (*ReqCollateralizeInfo) ProtoMessage()
- func (m *ReqCollateralizeInfo) Reset()
- func (m *ReqCollateralizeInfo) String() string
- func (m *ReqCollateralizeInfo) XXX_DiscardUnknown()
- func (m *ReqCollateralizeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCollateralizeInfo) XXX_Merge(src proto.Message)
- func (m *ReqCollateralizeInfo) XXX_Size() int
- func (m *ReqCollateralizeInfo) XXX_Unmarshal(b []byte) error
- type ReqCollateralizeInfos
- func (*ReqCollateralizeInfos) Descriptor() ([]byte, []int)
- func (m *ReqCollateralizeInfos) GetCollateralizeIds() []string
- func (*ReqCollateralizeInfos) ProtoMessage()
- func (m *ReqCollateralizeInfos) Reset()
- func (m *ReqCollateralizeInfos) String() string
- func (m *ReqCollateralizeInfos) XXX_DiscardUnknown()
- func (m *ReqCollateralizeInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCollateralizeInfos) XXX_Merge(src proto.Message)
- func (m *ReqCollateralizeInfos) XXX_Size() int
- func (m *ReqCollateralizeInfos) XXX_Unmarshal(b []byte) error
- type ReqCollateralizeRecord
- func (*ReqCollateralizeRecord) Descriptor() ([]byte, []int)
- func (m *ReqCollateralizeRecord) GetCollateralizeId() string
- func (m *ReqCollateralizeRecord) GetRecordId() string
- func (*ReqCollateralizeRecord) ProtoMessage()
- func (m *ReqCollateralizeRecord) Reset()
- func (m *ReqCollateralizeRecord) String() string
- func (m *ReqCollateralizeRecord) XXX_DiscardUnknown()
- func (m *ReqCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCollateralizeRecord) XXX_Merge(src proto.Message)
- func (m *ReqCollateralizeRecord) XXX_Size() int
- func (m *ReqCollateralizeRecord) XXX_Unmarshal(b []byte) error
- type ReqCollateralizeRecordByAddr
- func (*ReqCollateralizeRecordByAddr) Descriptor() ([]byte, []int)
- func (m *ReqCollateralizeRecordByAddr) GetAddr() string
- func (m *ReqCollateralizeRecordByAddr) GetCollateralizeId() string
- func (m *ReqCollateralizeRecordByAddr) GetRecordId() string
- func (m *ReqCollateralizeRecordByAddr) GetStatus() int32
- func (*ReqCollateralizeRecordByAddr) ProtoMessage()
- func (m *ReqCollateralizeRecordByAddr) Reset()
- func (m *ReqCollateralizeRecordByAddr) String() string
- func (m *ReqCollateralizeRecordByAddr) XXX_DiscardUnknown()
- func (m *ReqCollateralizeRecordByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCollateralizeRecordByAddr) XXX_Merge(src proto.Message)
- func (m *ReqCollateralizeRecordByAddr) XXX_Size() int
- func (m *ReqCollateralizeRecordByAddr) XXX_Unmarshal(b []byte) error
- type ReqCollateralizeRecordByStatus
- func (*ReqCollateralizeRecordByStatus) Descriptor() ([]byte, []int)
- func (m *ReqCollateralizeRecordByStatus) GetCollateralizeId() string
- func (m *ReqCollateralizeRecordByStatus) GetRecordId() string
- func (m *ReqCollateralizeRecordByStatus) GetStatus() int32
- func (*ReqCollateralizeRecordByStatus) ProtoMessage()
- func (m *ReqCollateralizeRecordByStatus) Reset()
- func (m *ReqCollateralizeRecordByStatus) String() string
- func (m *ReqCollateralizeRecordByStatus) XXX_DiscardUnknown()
- func (m *ReqCollateralizeRecordByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReqCollateralizeRecordByStatus) XXX_Merge(src proto.Message)
- func (m *ReqCollateralizeRecordByStatus) XXX_Size() int
- func (m *ReqCollateralizeRecordByStatus) XXX_Unmarshal(b []byte) error
Constants ¶
const ( CollateralizeActionCreate = 1 + iota CollateralizeActionBorrow CollateralizeActionRepay CollateralizeActionAppend CollateralizeActionFeed CollateralizeActionRetrieve CollateralizeActionManage //log for Collateralize TyLogCollateralizeCreate = 731 TyLogCollateralizeBorrow = 732 TyLogCollateralizeRepay = 733 TyLogCollateralizeAppend = 734 TyLogCollateralizeFeed = 735 TyLogCollateralizeRetrieve = 736 )
Collateralize op
const ( CollateralizeX = "collateralize" CCNYTokenName = "CCNY" CollateralizePreLiquidationRatio = 1.1 * 1e4 //TODO 预清算比例,抵押物价值跌到借出ccny价值110%的时候开始清算 )
Collateralize name
const ( CollateralizeStatusCreated = 1 + iota CollateralizeStatusClose )
Collateralize status
const ( CollateralizeUserStatusCreate = 1 + iota CollateralizeUserStatusWarning CollateralizeUserStatusSystemLiquidate CollateralizeUserStatusExpire CollateralizeUserStatusExpireLiquidate CollateralizeUserStatusClose )
collater ...
Variables ¶
var ( ErrRiskParam = errors.New("ErrRiskParam") ErrCollateralizeStatus = errors.New("ErrCollateralizeStatus") ErrCollateralizeExceedDebtCeiling = errors.New("ErrCollateralizeExceedDebtCeiling") ErrPriceInvalid = errors.New("ErrPriceInvalid") ErrAssetType = errors.New("ErrAssetType") ErrRecordNotExist = errors.New("ErrRecordNotExist") ErrCollateralizeErrCloser = errors.New("ErrCollateralizeErrCloser") ErrRepayValueInsufficient = errors.New("ErrRepayValueInsufficient") ErrCollateralizeAccountExist = errors.New("ErrCollateralizeAccountExist") ErrCollateralizeLowBalance = errors.New("ErrCollateralizeLowBalance") ErrCollateralizeBalanceInvalid = errors.New("ErrCollateralizeBalanceInvalid") ErrPermissionDeny = errors.New("ErrPermissionDeny") ErrCollateralizeRecordNotEmpty = errors.New("ErrCollateralizeRecordNotEmpty") )
Errors for lottery
var (
ForkCollateralizeTableUpdate = "ForkCollateralizeTableUpdate"
)
fork ...
Functions ¶
func CreateRawCollateralizeAppendTx ¶
func CreateRawCollateralizeAppendTx(cfg *types.Chain33Config, parm *CollateralizeAppendTx) (*types.Transaction, error)
CreateRawCollateralizeAppendTx method
func CreateRawCollateralizeBorrowTx ¶
func CreateRawCollateralizeBorrowTx(cfg *types.Chain33Config, parm *CollateralizeBorrowTx) (*types.Transaction, error)
CreateRawCollateralizeBorrowTx method
func CreateRawCollateralizeCreateTx ¶
func CreateRawCollateralizeCreateTx(cfg *types.Chain33Config, parm *CollateralizeCreateTx) (*types.Transaction, error)
CreateRawCollateralizeCreateTx method
func CreateRawCollateralizeFeedTx ¶
func CreateRawCollateralizeFeedTx(cfg *types.Chain33Config, parm *CollateralizeFeedTx) (*types.Transaction, error)
CreateRawCollateralizeFeedTx method
func CreateRawCollateralizeManageTx ¶
func CreateRawCollateralizeManageTx(cfg *types.Chain33Config, parm *CollateralizeManageTx) (*types.Transaction, error)
CreateRawCollateralizeManageTx method
func CreateRawCollateralizeRepayTx ¶
func CreateRawCollateralizeRepayTx(cfg *types.Chain33Config, parm *CollateralizeRepayTx) (*types.Transaction, error)
CreateRawCollateralizeRepayTx method
func CreateRawCollateralizeRetrieveTx ¶
func CreateRawCollateralizeRetrieveTx(cfg *types.Chain33Config, parm *CollateralizeRetrieveTx) (*types.Transaction, error)
CreateRawCollateralizeRetrieveTx method
func NewCollateralizeTable ¶
NewCollateralizeTable 新建表
Types ¶
type AssetPriceRecord ¶
type AssetPriceRecord struct { RecordTime int64 `protobuf:"varint,1,opt,name=recordTime,proto3" json:"recordTime,omitempty"` BtyPrice int64 `protobuf:"varint,2,opt,name=btyPrice,proto3" json:"btyPrice,omitempty"` BtcPrice int64 `protobuf:"varint,3,opt,name=btcPrice,proto3" json:"btcPrice,omitempty"` EthPrice int64 `protobuf:"varint,4,opt,name=ethPrice,proto3" json:"ethPrice,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
资产价格记录
func (*AssetPriceRecord) Descriptor ¶
func (*AssetPriceRecord) Descriptor() ([]byte, []int)
func (*AssetPriceRecord) GetBtcPrice ¶
func (m *AssetPriceRecord) GetBtcPrice() int64
func (*AssetPriceRecord) GetBtyPrice ¶
func (m *AssetPriceRecord) GetBtyPrice() int64
func (*AssetPriceRecord) GetEthPrice ¶
func (m *AssetPriceRecord) GetEthPrice() int64
func (*AssetPriceRecord) GetRecordTime ¶
func (m *AssetPriceRecord) GetRecordTime() int64
func (*AssetPriceRecord) ProtoMessage ¶
func (*AssetPriceRecord) ProtoMessage()
func (*AssetPriceRecord) Reset ¶
func (m *AssetPriceRecord) Reset()
func (*AssetPriceRecord) String ¶
func (m *AssetPriceRecord) String() string
func (*AssetPriceRecord) XXX_DiscardUnknown ¶
func (m *AssetPriceRecord) XXX_DiscardUnknown()
func (*AssetPriceRecord) XXX_Marshal ¶
func (m *AssetPriceRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AssetPriceRecord) XXX_Merge ¶
func (m *AssetPriceRecord) XXX_Merge(src proto.Message)
func (*AssetPriceRecord) XXX_Size ¶
func (m *AssetPriceRecord) XXX_Size() int
func (*AssetPriceRecord) XXX_Unmarshal ¶
func (m *AssetPriceRecord) XXX_Unmarshal(b []byte) error
type BorrowRecord ¶
type BorrowRecord struct { AccountAddr string `protobuf:"bytes,1,opt,name=accountAddr,proto3" json:"accountAddr,omitempty"` StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` CollateralValue int64 `protobuf:"varint,3,opt,name=collateralValue,proto3" json:"collateralValue,omitempty"` CollateralPrice int64 `protobuf:"varint,4,opt,name=collateralPrice,proto3" json:"collateralPrice,omitempty"` DebtValue int64 `protobuf:"varint,5,opt,name=debtValue,proto3" json:"debtValue,omitempty"` LiquidationPrice int64 `protobuf:"varint,6,opt,name=liquidationPrice,proto3" json:"liquidationPrice,omitempty"` Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` LiquidateTime int64 `protobuf:"varint,8,opt,name=liquidateTime,proto3" json:"liquidateTime,omitempty"` ExpireTime int64 `protobuf:"varint,9,opt,name=expireTime,proto3" json:"expireTime,omitempty"` PreStatus int32 `protobuf:"varint,10,opt,name=preStatus,proto3" json:"preStatus,omitempty"` RecordId string `protobuf:"bytes,11,opt,name=recordId,proto3" json:"recordId,omitempty"` CollateralizeId string `protobuf:"bytes,12,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
借出记录
func (*BorrowRecord) Descriptor ¶
func (*BorrowRecord) Descriptor() ([]byte, []int)
func (*BorrowRecord) GetAccountAddr ¶
func (m *BorrowRecord) GetAccountAddr() string
func (*BorrowRecord) GetCollateralPrice ¶
func (m *BorrowRecord) GetCollateralPrice() int64
func (*BorrowRecord) GetCollateralValue ¶
func (m *BorrowRecord) GetCollateralValue() int64
func (*BorrowRecord) GetCollateralizeId ¶
func (m *BorrowRecord) GetCollateralizeId() string
func (*BorrowRecord) GetDebtValue ¶
func (m *BorrowRecord) GetDebtValue() int64
func (*BorrowRecord) GetExpireTime ¶
func (m *BorrowRecord) GetExpireTime() int64
func (*BorrowRecord) GetLiquidateTime ¶
func (m *BorrowRecord) GetLiquidateTime() int64
func (*BorrowRecord) GetLiquidationPrice ¶
func (m *BorrowRecord) GetLiquidationPrice() int64
func (*BorrowRecord) GetPreStatus ¶
func (m *BorrowRecord) GetPreStatus() int32
func (*BorrowRecord) GetRecordId ¶
func (m *BorrowRecord) GetRecordId() string
func (*BorrowRecord) GetStartTime ¶
func (m *BorrowRecord) GetStartTime() int64
func (*BorrowRecord) GetStatus ¶
func (m *BorrowRecord) GetStatus() int32
func (*BorrowRecord) ProtoMessage ¶
func (*BorrowRecord) ProtoMessage()
func (*BorrowRecord) Reset ¶
func (m *BorrowRecord) Reset()
func (*BorrowRecord) String ¶
func (m *BorrowRecord) String() string
func (*BorrowRecord) XXX_DiscardUnknown ¶
func (m *BorrowRecord) XXX_DiscardUnknown()
func (*BorrowRecord) XXX_Marshal ¶
func (m *BorrowRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BorrowRecord) XXX_Merge ¶
func (m *BorrowRecord) XXX_Merge(src proto.Message)
func (*BorrowRecord) XXX_Size ¶
func (m *BorrowRecord) XXX_Size() int
func (*BorrowRecord) XXX_Unmarshal ¶
func (m *BorrowRecord) XXX_Unmarshal(b []byte) error
type Collateralize ¶
type Collateralize struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` TotalBalance int64 `protobuf:"varint,2,opt,name=totalBalance,proto3" json:"totalBalance,omitempty"` DebtCeiling int64 `protobuf:"varint,3,opt,name=debtCeiling,proto3" json:"debtCeiling,omitempty"` LiquidationRatio int64 `protobuf:"varint,4,opt,name=liquidationRatio,proto3" json:"liquidationRatio,omitempty"` StabilityFeeRatio int64 `protobuf:"varint,5,opt,name=stabilityFeeRatio,proto3" json:"stabilityFeeRatio,omitempty"` CreateAddr string `protobuf:"bytes,6,opt,name=createAddr,proto3" json:"createAddr,omitempty"` Balance int64 `protobuf:"varint,7,opt,name=balance,proto3" json:"balance,omitempty"` BorrowRecords []*BorrowRecord `protobuf:"bytes,8,rep,name=borrowRecords,proto3" json:"borrowRecords,omitempty"` InvalidRecords []*BorrowRecord `protobuf:"bytes,9,rep,name=InvalidRecords,proto3" json:"InvalidRecords,omitempty"` Status int32 `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty"` LatestLiquidationPrice int64 `protobuf:"varint,11,opt,name=latestLiquidationPrice,proto3" json:"latestLiquidationPrice,omitempty"` Period int64 `protobuf:"varint,12,opt,name=period,proto3" json:"period,omitempty"` LatestExpireTime int64 `protobuf:"varint,13,opt,name=latestExpireTime,proto3" json:"latestExpireTime,omitempty"` CollBalance int64 `protobuf:"varint,14,opt,name=collBalance,proto3" json:"collBalance,omitempty"` PreStatus int32 `protobuf:"varint,15,opt,name=preStatus,proto3" json:"preStatus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
放贷信息
func (*Collateralize) Descriptor ¶
func (*Collateralize) Descriptor() ([]byte, []int)
func (*Collateralize) GetBalance ¶
func (m *Collateralize) GetBalance() int64
func (*Collateralize) GetBorrowRecords ¶
func (m *Collateralize) GetBorrowRecords() []*BorrowRecord
func (*Collateralize) GetCollBalance ¶
func (m *Collateralize) GetCollBalance() int64
func (*Collateralize) GetCollateralizeId ¶
func (m *Collateralize) GetCollateralizeId() string
func (*Collateralize) GetCreateAddr ¶
func (m *Collateralize) GetCreateAddr() string
func (*Collateralize) GetDebtCeiling ¶
func (m *Collateralize) GetDebtCeiling() int64
func (*Collateralize) GetInvalidRecords ¶
func (m *Collateralize) GetInvalidRecords() []*BorrowRecord
func (*Collateralize) GetLatestExpireTime ¶
func (m *Collateralize) GetLatestExpireTime() int64
func (*Collateralize) GetLatestLiquidationPrice ¶
func (m *Collateralize) GetLatestLiquidationPrice() int64
func (*Collateralize) GetLiquidationRatio ¶
func (m *Collateralize) GetLiquidationRatio() int64
func (*Collateralize) GetPeriod ¶
func (m *Collateralize) GetPeriod() int64
func (*Collateralize) GetPreStatus ¶
func (m *Collateralize) GetPreStatus() int32
func (*Collateralize) GetStabilityFeeRatio ¶
func (m *Collateralize) GetStabilityFeeRatio() int64
func (*Collateralize) GetStatus ¶
func (m *Collateralize) GetStatus() int32
func (*Collateralize) GetTotalBalance ¶
func (m *Collateralize) GetTotalBalance() int64
func (*Collateralize) ProtoMessage ¶
func (*Collateralize) ProtoMessage()
func (*Collateralize) Reset ¶
func (m *Collateralize) Reset()
func (*Collateralize) String ¶
func (m *Collateralize) String() string
func (*Collateralize) XXX_DiscardUnknown ¶
func (m *Collateralize) XXX_DiscardUnknown()
func (*Collateralize) XXX_Marshal ¶
func (m *Collateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Collateralize) XXX_Merge ¶
func (m *Collateralize) XXX_Merge(src proto.Message)
func (*Collateralize) XXX_Size ¶
func (m *Collateralize) XXX_Size() int
func (*Collateralize) XXX_Unmarshal ¶
func (m *Collateralize) XXX_Unmarshal(b []byte) error
type CollateralizeAction ¶
type CollateralizeAction struct { // Types that are valid to be assigned to Value: // *CollateralizeAction_Create // *CollateralizeAction_Borrow // *CollateralizeAction_Repay // *CollateralizeAction_Append // *CollateralizeAction_Feed // *CollateralizeAction_Retrieve // *CollateralizeAction_Manage Value isCollateralizeAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,10,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
action
func (*CollateralizeAction) Descriptor ¶
func (*CollateralizeAction) Descriptor() ([]byte, []int)
func (*CollateralizeAction) GetAppend ¶
func (m *CollateralizeAction) GetAppend() *CollateralizeAppend
func (*CollateralizeAction) GetBorrow ¶
func (m *CollateralizeAction) GetBorrow() *CollateralizeBorrow
func (*CollateralizeAction) GetCreate ¶
func (m *CollateralizeAction) GetCreate() *CollateralizeCreate
func (*CollateralizeAction) GetFeed ¶
func (m *CollateralizeAction) GetFeed() *CollateralizeFeed
func (*CollateralizeAction) GetManage ¶
func (m *CollateralizeAction) GetManage() *CollateralizeManage
func (*CollateralizeAction) GetRepay ¶
func (m *CollateralizeAction) GetRepay() *CollateralizeRepay
func (*CollateralizeAction) GetRetrieve ¶
func (m *CollateralizeAction) GetRetrieve() *CollateralizeRetrieve
func (*CollateralizeAction) GetTy ¶
func (m *CollateralizeAction) GetTy() int32
func (*CollateralizeAction) GetValue ¶
func (m *CollateralizeAction) GetValue() isCollateralizeAction_Value
func (*CollateralizeAction) ProtoMessage ¶
func (*CollateralizeAction) ProtoMessage()
func (*CollateralizeAction) Reset ¶
func (m *CollateralizeAction) Reset()
func (*CollateralizeAction) String ¶
func (m *CollateralizeAction) String() string
func (*CollateralizeAction) XXX_DiscardUnknown ¶
func (m *CollateralizeAction) XXX_DiscardUnknown()
func (*CollateralizeAction) XXX_Marshal ¶
func (m *CollateralizeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeAction) XXX_Merge ¶
func (m *CollateralizeAction) XXX_Merge(src proto.Message)
func (*CollateralizeAction) XXX_OneofWrappers ¶
func (*CollateralizeAction) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*CollateralizeAction) XXX_Size ¶
func (m *CollateralizeAction) XXX_Size() int
func (*CollateralizeAction) XXX_Unmarshal ¶
func (m *CollateralizeAction) XXX_Unmarshal(b []byte) error
type CollateralizeAction_Append ¶
type CollateralizeAction_Append struct {
Append *CollateralizeAppend `protobuf:"bytes,4,opt,name=append,proto3,oneof"`
}
type CollateralizeAction_Borrow ¶
type CollateralizeAction_Borrow struct {
Borrow *CollateralizeBorrow `protobuf:"bytes,2,opt,name=borrow,proto3,oneof"`
}
type CollateralizeAction_Create ¶
type CollateralizeAction_Create struct {
Create *CollateralizeCreate `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type CollateralizeAction_Feed ¶
type CollateralizeAction_Feed struct {
Feed *CollateralizeFeed `protobuf:"bytes,5,opt,name=feed,proto3,oneof"`
}
type CollateralizeAction_Manage ¶
type CollateralizeAction_Manage struct {
Manage *CollateralizeManage `protobuf:"bytes,7,opt,name=manage,proto3,oneof"`
}
type CollateralizeAction_Repay ¶
type CollateralizeAction_Repay struct {
Repay *CollateralizeRepay `protobuf:"bytes,3,opt,name=repay,proto3,oneof"`
}
type CollateralizeAction_Retrieve ¶
type CollateralizeAction_Retrieve struct {
Retrieve *CollateralizeRetrieve `protobuf:"bytes,6,opt,name=retrieve,proto3,oneof"`
}
type CollateralizeAddr ¶
type CollateralizeAddr struct { SuperAddrs []string `protobuf:"bytes,1,rep,name=superAddrs,proto3" json:"superAddrs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollateralizeAddr) Descriptor ¶
func (*CollateralizeAddr) Descriptor() ([]byte, []int)
func (*CollateralizeAddr) GetSuperAddrs ¶
func (m *CollateralizeAddr) GetSuperAddrs() []string
func (*CollateralizeAddr) ProtoMessage ¶
func (*CollateralizeAddr) ProtoMessage()
func (*CollateralizeAddr) Reset ¶
func (m *CollateralizeAddr) Reset()
func (*CollateralizeAddr) String ¶
func (m *CollateralizeAddr) String() string
func (*CollateralizeAddr) XXX_DiscardUnknown ¶
func (m *CollateralizeAddr) XXX_DiscardUnknown()
func (*CollateralizeAddr) XXX_Marshal ¶
func (m *CollateralizeAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeAddr) XXX_Merge ¶
func (m *CollateralizeAddr) XXX_Merge(src proto.Message)
func (*CollateralizeAddr) XXX_Size ¶
func (m *CollateralizeAddr) XXX_Size() int
func (*CollateralizeAddr) XXX_Unmarshal ¶
func (m *CollateralizeAddr) XXX_Unmarshal(b []byte) error
type CollateralizeAppend ¶
type CollateralizeAppend struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` RecordId string `protobuf:"bytes,2,opt,name=recordId,proto3" json:"recordId,omitempty"` CollateralValue int64 `protobuf:"varint,3,opt,name=collateralValue,proto3" json:"collateralValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
追加抵押物
func (*CollateralizeAppend) Descriptor ¶
func (*CollateralizeAppend) Descriptor() ([]byte, []int)
func (*CollateralizeAppend) GetCollateralValue ¶
func (m *CollateralizeAppend) GetCollateralValue() int64
func (*CollateralizeAppend) GetCollateralizeId ¶
func (m *CollateralizeAppend) GetCollateralizeId() string
func (*CollateralizeAppend) GetRecordId ¶
func (m *CollateralizeAppend) GetRecordId() string
func (*CollateralizeAppend) ProtoMessage ¶
func (*CollateralizeAppend) ProtoMessage()
func (*CollateralizeAppend) Reset ¶
func (m *CollateralizeAppend) Reset()
func (*CollateralizeAppend) String ¶
func (m *CollateralizeAppend) String() string
func (*CollateralizeAppend) XXX_DiscardUnknown ¶
func (m *CollateralizeAppend) XXX_DiscardUnknown()
func (*CollateralizeAppend) XXX_Marshal ¶
func (m *CollateralizeAppend) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeAppend) XXX_Merge ¶
func (m *CollateralizeAppend) XXX_Merge(src proto.Message)
func (*CollateralizeAppend) XXX_Size ¶
func (m *CollateralizeAppend) XXX_Size() int
func (*CollateralizeAppend) XXX_Unmarshal ¶
func (m *CollateralizeAppend) XXX_Unmarshal(b []byte) error
type CollateralizeAppendTx ¶
type CollateralizeAppendTx struct { CollateralizeID string `json:"collateralizeId"` RecordID string `json:"recordID"` Value float64 `json:"value"` Fee int64 `json:"fee"` }
CollateralizeAppendTx for construction
type CollateralizeBorrow ¶
type CollateralizeBorrow 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
质押借出
func (*CollateralizeBorrow) Descriptor ¶
func (*CollateralizeBorrow) Descriptor() ([]byte, []int)
func (*CollateralizeBorrow) GetCollateralizeId ¶
func (m *CollateralizeBorrow) GetCollateralizeId() string
func (*CollateralizeBorrow) GetValue ¶
func (m *CollateralizeBorrow) GetValue() int64
func (*CollateralizeBorrow) ProtoMessage ¶
func (*CollateralizeBorrow) ProtoMessage()
func (*CollateralizeBorrow) Reset ¶
func (m *CollateralizeBorrow) Reset()
func (*CollateralizeBorrow) String ¶
func (m *CollateralizeBorrow) String() string
func (*CollateralizeBorrow) XXX_DiscardUnknown ¶
func (m *CollateralizeBorrow) XXX_DiscardUnknown()
func (*CollateralizeBorrow) XXX_Marshal ¶
func (m *CollateralizeBorrow) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeBorrow) XXX_Merge ¶
func (m *CollateralizeBorrow) XXX_Merge(src proto.Message)
func (*CollateralizeBorrow) XXX_Size ¶
func (m *CollateralizeBorrow) XXX_Size() int
func (*CollateralizeBorrow) XXX_Unmarshal ¶
func (m *CollateralizeBorrow) XXX_Unmarshal(b []byte) error
type CollateralizeBorrowTx ¶
type CollateralizeBorrowTx struct { CollateralizeID string `json:"collateralizeId"` Value float64 `json:"value"` Fee int64 `json:"fee"` }
CollateralizeBorrowTx for construction
type CollateralizeCreate ¶
type CollateralizeCreate struct { TotalBalance int64 `protobuf:"varint,1,opt,name=totalBalance,proto3" json:"totalBalance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
创建放贷
func (*CollateralizeCreate) Descriptor ¶
func (*CollateralizeCreate) Descriptor() ([]byte, []int)
func (*CollateralizeCreate) GetTotalBalance ¶
func (m *CollateralizeCreate) GetTotalBalance() int64
func (*CollateralizeCreate) ProtoMessage ¶
func (*CollateralizeCreate) ProtoMessage()
func (*CollateralizeCreate) Reset ¶
func (m *CollateralizeCreate) Reset()
func (*CollateralizeCreate) String ¶
func (m *CollateralizeCreate) String() string
func (*CollateralizeCreate) XXX_DiscardUnknown ¶
func (m *CollateralizeCreate) XXX_DiscardUnknown()
func (*CollateralizeCreate) XXX_Marshal ¶
func (m *CollateralizeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeCreate) XXX_Merge ¶
func (m *CollateralizeCreate) XXX_Merge(src proto.Message)
func (*CollateralizeCreate) XXX_Size ¶
func (m *CollateralizeCreate) XXX_Size() int
func (*CollateralizeCreate) XXX_Unmarshal ¶
func (m *CollateralizeCreate) XXX_Unmarshal(b []byte) error
type CollateralizeCreateTx ¶
type CollateralizeCreateTx struct { TotalBalance float64 `json:"totalBalance"` Fee int64 `json:"fee"` }
CollateralizeCreateTx for construction
type CollateralizeFeed ¶
type CollateralizeFeed struct { CollType int32 `protobuf:"varint,1,opt,name=collType,proto3" json:"collType,omitempty"` Price []int64 `protobuf:"varint,2,rep,packed,name=price,proto3" json:"price,omitempty"` Volume []int64 `protobuf:"varint,3,rep,packed,name=volume,proto3" json:"volume,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
喂价
func (*CollateralizeFeed) Descriptor ¶
func (*CollateralizeFeed) Descriptor() ([]byte, []int)
func (*CollateralizeFeed) GetCollType ¶
func (m *CollateralizeFeed) GetCollType() int32
func (*CollateralizeFeed) GetPrice ¶
func (m *CollateralizeFeed) GetPrice() []int64
func (*CollateralizeFeed) GetVolume ¶
func (m *CollateralizeFeed) GetVolume() []int64
func (*CollateralizeFeed) ProtoMessage ¶
func (*CollateralizeFeed) ProtoMessage()
func (*CollateralizeFeed) Reset ¶
func (m *CollateralizeFeed) Reset()
func (*CollateralizeFeed) String ¶
func (m *CollateralizeFeed) String() string
func (*CollateralizeFeed) XXX_DiscardUnknown ¶
func (m *CollateralizeFeed) XXX_DiscardUnknown()
func (*CollateralizeFeed) XXX_Marshal ¶
func (m *CollateralizeFeed) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeFeed) XXX_Merge ¶
func (m *CollateralizeFeed) XXX_Merge(src proto.Message)
func (*CollateralizeFeed) XXX_Size ¶
func (m *CollateralizeFeed) XXX_Size() int
func (*CollateralizeFeed) XXX_Unmarshal ¶
func (m *CollateralizeFeed) XXX_Unmarshal(b []byte) error
type CollateralizeFeedTx ¶
type CollateralizeFeedTx struct { Price []float64 `json:"price"` Volume []int64 `json:"volume"` Fee int64 `json:"fee"` }
CollateralizeFeedTx for construction
type CollateralizeManage ¶
type CollateralizeManage struct { DebtCeiling int64 `protobuf:"varint,1,opt,name=debtCeiling,proto3" json:"debtCeiling,omitempty"` LiquidationRatio int64 `protobuf:"varint,2,opt,name=liquidationRatio,proto3" json:"liquidationRatio,omitempty"` StabilityFeeRatio int64 `protobuf:"varint,3,opt,name=stabilityFeeRatio,proto3" json:"stabilityFeeRatio,omitempty"` Period int64 `protobuf:"varint,4,opt,name=period,proto3" json:"period,omitempty"` TotalBalance int64 `protobuf:"varint,5,opt,name=totalBalance,proto3" json:"totalBalance,omitempty"` CurrentTime int64 `protobuf:"varint,6,opt,name=currentTime,proto3" json:"currentTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CollateralizeManage) Descriptor ¶
func (*CollateralizeManage) Descriptor() ([]byte, []int)
func (*CollateralizeManage) GetCurrentTime ¶
func (m *CollateralizeManage) GetCurrentTime() int64
func (*CollateralizeManage) GetDebtCeiling ¶
func (m *CollateralizeManage) GetDebtCeiling() int64
func (*CollateralizeManage) GetLiquidationRatio ¶
func (m *CollateralizeManage) GetLiquidationRatio() int64
func (*CollateralizeManage) GetPeriod ¶
func (m *CollateralizeManage) GetPeriod() int64
func (*CollateralizeManage) GetStabilityFeeRatio ¶
func (m *CollateralizeManage) GetStabilityFeeRatio() int64
func (*CollateralizeManage) GetTotalBalance ¶
func (m *CollateralizeManage) GetTotalBalance() int64
func (*CollateralizeManage) ProtoMessage ¶
func (*CollateralizeManage) ProtoMessage()
func (*CollateralizeManage) Reset ¶
func (m *CollateralizeManage) Reset()
func (*CollateralizeManage) String ¶
func (m *CollateralizeManage) String() string
func (*CollateralizeManage) XXX_DiscardUnknown ¶
func (m *CollateralizeManage) XXX_DiscardUnknown()
func (*CollateralizeManage) XXX_Marshal ¶
func (m *CollateralizeManage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeManage) XXX_Merge ¶
func (m *CollateralizeManage) XXX_Merge(src proto.Message)
func (*CollateralizeManage) XXX_Size ¶
func (m *CollateralizeManage) XXX_Size() int
func (*CollateralizeManage) XXX_Unmarshal ¶
func (m *CollateralizeManage) XXX_Unmarshal(b []byte) error
type CollateralizeManageTx ¶
type CollateralizeManageTx struct { DebtCeiling float64 `json:"debtCeiling"` LiquidationRatio float64 `json:"liquidationRatio"` StabilityFeeRatio float64 `json:"stabilityFeeRatio"` Period int64 `json:"period"` TotalBalance float64 `json:"totalBalance"` Fee int64 `json:"fee"` }
CollateralizeManageTx for construction
type CollateralizeRecordRow ¶
type CollateralizeRecordRow struct {
*ReceiptCollateralize
}
CollateralizeRecordRow table meta 结构
func (*CollateralizeRecordRow) CreateRow ¶
func (tx *CollateralizeRecordRow) CreateRow() *table.Row
CreateRow 新建数据行
func (*CollateralizeRecordRow) Get ¶
func (tx *CollateralizeRecordRow) Get(key string) ([]byte, error)
Get 按照indexName 查询 indexValue
func (*CollateralizeRecordRow) SetPayload ¶
func (tx *CollateralizeRecordRow) SetPayload(data types.Message) error
SetPayload 设置数据
type CollateralizeRecords ¶
type CollateralizeRecords struct { Records []*ReceiptCollateralize `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
exec_local 放贷记录信息列表
func (*CollateralizeRecords) Descriptor ¶
func (*CollateralizeRecords) Descriptor() ([]byte, []int)
func (*CollateralizeRecords) GetRecords ¶
func (m *CollateralizeRecords) GetRecords() []*ReceiptCollateralize
func (*CollateralizeRecords) ProtoMessage ¶
func (*CollateralizeRecords) ProtoMessage()
func (*CollateralizeRecords) Reset ¶
func (m *CollateralizeRecords) Reset()
func (*CollateralizeRecords) String ¶
func (m *CollateralizeRecords) String() string
func (*CollateralizeRecords) XXX_DiscardUnknown ¶
func (m *CollateralizeRecords) XXX_DiscardUnknown()
func (*CollateralizeRecords) XXX_Marshal ¶
func (m *CollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeRecords) XXX_Merge ¶
func (m *CollateralizeRecords) XXX_Merge(src proto.Message)
func (*CollateralizeRecords) XXX_Size ¶
func (m *CollateralizeRecords) XXX_Size() int
func (*CollateralizeRecords) XXX_Unmarshal ¶
func (m *CollateralizeRecords) XXX_Unmarshal(b []byte) error
type CollateralizeRepay ¶
type CollateralizeRepay struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` RecordId string `protobuf:"bytes,2,opt,name=recordId,proto3" json:"recordId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
质押清算
func (*CollateralizeRepay) Descriptor ¶
func (*CollateralizeRepay) Descriptor() ([]byte, []int)
func (*CollateralizeRepay) GetCollateralizeId ¶
func (m *CollateralizeRepay) GetCollateralizeId() string
func (*CollateralizeRepay) GetRecordId ¶
func (m *CollateralizeRepay) GetRecordId() string
func (*CollateralizeRepay) ProtoMessage ¶
func (*CollateralizeRepay) ProtoMessage()
func (*CollateralizeRepay) Reset ¶
func (m *CollateralizeRepay) Reset()
func (*CollateralizeRepay) String ¶
func (m *CollateralizeRepay) String() string
func (*CollateralizeRepay) XXX_DiscardUnknown ¶
func (m *CollateralizeRepay) XXX_DiscardUnknown()
func (*CollateralizeRepay) XXX_Marshal ¶
func (m *CollateralizeRepay) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeRepay) XXX_Merge ¶
func (m *CollateralizeRepay) XXX_Merge(src proto.Message)
func (*CollateralizeRepay) XXX_Size ¶
func (m *CollateralizeRepay) XXX_Size() int
func (*CollateralizeRepay) XXX_Unmarshal ¶
func (m *CollateralizeRepay) XXX_Unmarshal(b []byte) error
type CollateralizeRepayTx ¶
type CollateralizeRepayTx struct { CollateralizeID string `json:"collateralizeId"` RecordID string `json:"recordID"` Fee int64 `json:"fee"` }
CollateralizeRepayTx for construction
type CollateralizeRetrieve ¶
type CollateralizeRetrieve struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` Balance int64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
收回
func (*CollateralizeRetrieve) Descriptor ¶
func (*CollateralizeRetrieve) Descriptor() ([]byte, []int)
func (*CollateralizeRetrieve) GetBalance ¶
func (m *CollateralizeRetrieve) GetBalance() int64
func (*CollateralizeRetrieve) GetCollateralizeId ¶
func (m *CollateralizeRetrieve) GetCollateralizeId() string
func (*CollateralizeRetrieve) ProtoMessage ¶
func (*CollateralizeRetrieve) ProtoMessage()
func (*CollateralizeRetrieve) Reset ¶
func (m *CollateralizeRetrieve) Reset()
func (*CollateralizeRetrieve) String ¶
func (m *CollateralizeRetrieve) String() string
func (*CollateralizeRetrieve) XXX_DiscardUnknown ¶
func (m *CollateralizeRetrieve) XXX_DiscardUnknown()
func (*CollateralizeRetrieve) XXX_Marshal ¶
func (m *CollateralizeRetrieve) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollateralizeRetrieve) XXX_Merge ¶
func (m *CollateralizeRetrieve) XXX_Merge(src proto.Message)
func (*CollateralizeRetrieve) XXX_Size ¶
func (m *CollateralizeRetrieve) XXX_Size() int
func (*CollateralizeRetrieve) XXX_Unmarshal ¶
func (m *CollateralizeRetrieve) XXX_Unmarshal(b []byte) error
type CollateralizeRetrieveTx ¶
type CollateralizeRetrieveTx struct { CollateralizeID string `json:"collateralizeId"` Balance float64 `json:"Balance"` Fee int64 `json:"fee"` }
CollateralizeRetrieveTx for construction
type CollateralizeType ¶
type CollateralizeType struct {
types.ExecTypeBase
}
CollateralizeType def
func (CollateralizeType) CreateTx ¶
func (collateralize CollateralizeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
CreateTx method
func (*CollateralizeType) GetLogMap ¶
func (collateralize *CollateralizeType) GetLogMap() map[int64]*types.LogInfo
GetLogMap method
func (*CollateralizeType) GetName ¶
func (collateralize *CollateralizeType) GetName() string
GetName 获取执行器名称
func (*CollateralizeType) GetPayload ¶
func (collateralize *CollateralizeType) GetPayload() types.Message
GetPayload method
func (CollateralizeType) GetTypeMap ¶
func (collateralize CollateralizeType) GetTypeMap() map[string]int32
GetTypeMap method
type CollatetalizeRow ¶
type CollatetalizeRow struct {
*ReceiptCollateralize
}
CollatetalizeRow table meta 结构
func NewCollatetalizeRow ¶
func NewCollatetalizeRow() *CollatetalizeRow
NewCollatetalizeRow 新建一个meta 结构
func (*CollatetalizeRow) CreateRow ¶
func (tx *CollatetalizeRow) CreateRow() *table.Row
CreateRow 新建数据行
func (*CollatetalizeRow) Get ¶
func (tx *CollatetalizeRow) Get(key string) ([]byte, error)
Get 按照indexName 查询 indexValue
func (*CollatetalizeRow) SetPayload ¶
func (tx *CollatetalizeRow) SetPayload(data types.Message) error
SetPayload 设置数据
type ReceiptCollateralize ¶
type ReceiptCollateralize struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` AccountAddr string `protobuf:"bytes,3,opt,name=accountAddr,proto3" json:"accountAddr,omitempty"` RecordId string `protobuf:"bytes,4,opt,name=recordId,proto3" json:"recordId,omitempty"` Status int32 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
exec_local 放贷信息
func (*ReceiptCollateralize) Descriptor ¶
func (*ReceiptCollateralize) Descriptor() ([]byte, []int)
func (*ReceiptCollateralize) GetAccountAddr ¶
func (m *ReceiptCollateralize) GetAccountAddr() string
func (*ReceiptCollateralize) GetCollateralizeId ¶
func (m *ReceiptCollateralize) GetCollateralizeId() string
func (*ReceiptCollateralize) GetRecordId ¶
func (m *ReceiptCollateralize) GetRecordId() string
func (*ReceiptCollateralize) GetStatus ¶
func (m *ReceiptCollateralize) GetStatus() int32
func (*ReceiptCollateralize) ProtoMessage ¶
func (*ReceiptCollateralize) ProtoMessage()
func (*ReceiptCollateralize) Reset ¶
func (m *ReceiptCollateralize) Reset()
func (*ReceiptCollateralize) String ¶
func (m *ReceiptCollateralize) String() string
func (*ReceiptCollateralize) XXX_DiscardUnknown ¶
func (m *ReceiptCollateralize) XXX_DiscardUnknown()
func (*ReceiptCollateralize) XXX_Marshal ¶
func (m *ReceiptCollateralize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptCollateralize) XXX_Merge ¶
func (m *ReceiptCollateralize) XXX_Merge(src proto.Message)
func (*ReceiptCollateralize) XXX_Size ¶
func (m *ReceiptCollateralize) XXX_Size() int
func (*ReceiptCollateralize) XXX_Unmarshal ¶
func (m *ReceiptCollateralize) XXX_Unmarshal(b []byte) error
type RepCollateralizeConfig ¶
type RepCollateralizeConfig struct { DebtCeiling int64 `protobuf:"varint,1,opt,name=debtCeiling,proto3" json:"debtCeiling,omitempty"` LiquidationRatio int64 `protobuf:"varint,2,opt,name=liquidationRatio,proto3" json:"liquidationRatio,omitempty"` StabilityFeeRatio int64 `protobuf:"varint,3,opt,name=stabilityFeeRatio,proto3" json:"stabilityFeeRatio,omitempty"` Period int64 `protobuf:"varint,4,opt,name=period,proto3" json:"period,omitempty"` TotalBalance int64 `protobuf:"varint,5,opt,name=totalBalance,proto3" json:"totalBalance,omitempty"` Balance int64 `protobuf:"varint,6,opt,name=balance,proto3" json:"balance,omitempty"` CurrentTime int64 `protobuf:"varint,7,opt,name=currentTime,proto3" json:"currentTime,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回放贷配置
func (*RepCollateralizeConfig) Descriptor ¶
func (*RepCollateralizeConfig) Descriptor() ([]byte, []int)
func (*RepCollateralizeConfig) GetBalance ¶
func (m *RepCollateralizeConfig) GetBalance() int64
func (*RepCollateralizeConfig) GetCurrentTime ¶
func (m *RepCollateralizeConfig) GetCurrentTime() int64
func (*RepCollateralizeConfig) GetDebtCeiling ¶
func (m *RepCollateralizeConfig) GetDebtCeiling() int64
func (*RepCollateralizeConfig) GetLiquidationRatio ¶
func (m *RepCollateralizeConfig) GetLiquidationRatio() int64
func (*RepCollateralizeConfig) GetPeriod ¶
func (m *RepCollateralizeConfig) GetPeriod() int64
func (*RepCollateralizeConfig) GetStabilityFeeRatio ¶
func (m *RepCollateralizeConfig) GetStabilityFeeRatio() int64
func (*RepCollateralizeConfig) GetTotalBalance ¶
func (m *RepCollateralizeConfig) GetTotalBalance() int64
func (*RepCollateralizeConfig) ProtoMessage ¶
func (*RepCollateralizeConfig) ProtoMessage()
func (*RepCollateralizeConfig) Reset ¶
func (m *RepCollateralizeConfig) Reset()
func (*RepCollateralizeConfig) String ¶
func (m *RepCollateralizeConfig) String() string
func (*RepCollateralizeConfig) XXX_DiscardUnknown ¶
func (m *RepCollateralizeConfig) XXX_DiscardUnknown()
func (*RepCollateralizeConfig) XXX_Marshal ¶
func (m *RepCollateralizeConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizeConfig) XXX_Merge ¶
func (m *RepCollateralizeConfig) XXX_Merge(src proto.Message)
func (*RepCollateralizeConfig) XXX_Size ¶
func (m *RepCollateralizeConfig) XXX_Size() int
func (*RepCollateralizeConfig) XXX_Unmarshal ¶
func (m *RepCollateralizeConfig) XXX_Unmarshal(b []byte) error
type RepCollateralizeCurrentInfo ¶
type RepCollateralizeCurrentInfo struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` TotalBalance int64 `protobuf:"varint,2,opt,name=totalBalance,proto3" json:"totalBalance,omitempty"` DebtCeiling int64 `protobuf:"varint,3,opt,name=debtCeiling,proto3" json:"debtCeiling,omitempty"` LiquidationRatio int64 `protobuf:"varint,4,opt,name=liquidationRatio,proto3" json:"liquidationRatio,omitempty"` StabilityFeeRatio int64 `protobuf:"varint,5,opt,name=stabilityFeeRatio,proto3" json:"stabilityFeeRatio,omitempty"` CreateAddr string `protobuf:"bytes,6,opt,name=createAddr,proto3" json:"createAddr,omitempty"` Balance int64 `protobuf:"varint,7,opt,name=balance,proto3" json:"balance,omitempty"` Period int64 `protobuf:"varint,8,opt,name=period,proto3" json:"period,omitempty"` CollateralizeId string `protobuf:"bytes,9,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` CollBalance int64 `protobuf:"varint,10,opt,name=collBalance,proto3" json:"collBalance,omitempty"` BorrowRecords []*BorrowRecord `protobuf:"bytes,11,rep,name=borrowRecords,proto3" json:"borrowRecords,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回一期放贷信息
func (*RepCollateralizeCurrentInfo) Descriptor ¶
func (*RepCollateralizeCurrentInfo) Descriptor() ([]byte, []int)
func (*RepCollateralizeCurrentInfo) GetBalance ¶
func (m *RepCollateralizeCurrentInfo) GetBalance() int64
func (*RepCollateralizeCurrentInfo) GetBorrowRecords ¶
func (m *RepCollateralizeCurrentInfo) GetBorrowRecords() []*BorrowRecord
func (*RepCollateralizeCurrentInfo) GetCollBalance ¶
func (m *RepCollateralizeCurrentInfo) GetCollBalance() int64
func (*RepCollateralizeCurrentInfo) GetCollateralizeId ¶
func (m *RepCollateralizeCurrentInfo) GetCollateralizeId() string
func (*RepCollateralizeCurrentInfo) GetCreateAddr ¶
func (m *RepCollateralizeCurrentInfo) GetCreateAddr() string
func (*RepCollateralizeCurrentInfo) GetDebtCeiling ¶
func (m *RepCollateralizeCurrentInfo) GetDebtCeiling() int64
func (*RepCollateralizeCurrentInfo) GetLiquidationRatio ¶
func (m *RepCollateralizeCurrentInfo) GetLiquidationRatio() int64
func (*RepCollateralizeCurrentInfo) GetPeriod ¶
func (m *RepCollateralizeCurrentInfo) GetPeriod() int64
func (*RepCollateralizeCurrentInfo) GetStabilityFeeRatio ¶
func (m *RepCollateralizeCurrentInfo) GetStabilityFeeRatio() int64
func (*RepCollateralizeCurrentInfo) GetStatus ¶
func (m *RepCollateralizeCurrentInfo) GetStatus() int32
func (*RepCollateralizeCurrentInfo) GetTotalBalance ¶
func (m *RepCollateralizeCurrentInfo) GetTotalBalance() int64
func (*RepCollateralizeCurrentInfo) ProtoMessage ¶
func (*RepCollateralizeCurrentInfo) ProtoMessage()
func (*RepCollateralizeCurrentInfo) Reset ¶
func (m *RepCollateralizeCurrentInfo) Reset()
func (*RepCollateralizeCurrentInfo) String ¶
func (m *RepCollateralizeCurrentInfo) String() string
func (*RepCollateralizeCurrentInfo) XXX_DiscardUnknown ¶
func (m *RepCollateralizeCurrentInfo) XXX_DiscardUnknown()
func (*RepCollateralizeCurrentInfo) XXX_Marshal ¶
func (m *RepCollateralizeCurrentInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizeCurrentInfo) XXX_Merge ¶
func (m *RepCollateralizeCurrentInfo) XXX_Merge(src proto.Message)
func (*RepCollateralizeCurrentInfo) XXX_Size ¶
func (m *RepCollateralizeCurrentInfo) XXX_Size() int
func (*RepCollateralizeCurrentInfo) XXX_Unmarshal ¶
func (m *RepCollateralizeCurrentInfo) XXX_Unmarshal(b []byte) error
type RepCollateralizeCurrentInfos ¶
type RepCollateralizeCurrentInfos struct { Infos []*RepCollateralizeCurrentInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回多期放贷信息
func (*RepCollateralizeCurrentInfos) Descriptor ¶
func (*RepCollateralizeCurrentInfos) Descriptor() ([]byte, []int)
func (*RepCollateralizeCurrentInfos) GetInfos ¶
func (m *RepCollateralizeCurrentInfos) GetInfos() []*RepCollateralizeCurrentInfo
func (*RepCollateralizeCurrentInfos) ProtoMessage ¶
func (*RepCollateralizeCurrentInfos) ProtoMessage()
func (*RepCollateralizeCurrentInfos) Reset ¶
func (m *RepCollateralizeCurrentInfos) Reset()
func (*RepCollateralizeCurrentInfos) String ¶
func (m *RepCollateralizeCurrentInfos) String() string
func (*RepCollateralizeCurrentInfos) XXX_DiscardUnknown ¶
func (m *RepCollateralizeCurrentInfos) XXX_DiscardUnknown()
func (*RepCollateralizeCurrentInfos) XXX_Marshal ¶
func (m *RepCollateralizeCurrentInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizeCurrentInfos) XXX_Merge ¶
func (m *RepCollateralizeCurrentInfos) XXX_Merge(src proto.Message)
func (*RepCollateralizeCurrentInfos) XXX_Size ¶
func (m *RepCollateralizeCurrentInfos) XXX_Size() int
func (*RepCollateralizeCurrentInfos) XXX_Unmarshal ¶
func (m *RepCollateralizeCurrentInfos) XXX_Unmarshal(b []byte) error
type RepCollateralizeIDs ¶
type RepCollateralizeIDs struct { IDs []string `protobuf:"bytes,1,rep,name=IDs,proto3" json:"IDs,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回放贷ID列表
func (*RepCollateralizeIDs) Descriptor ¶
func (*RepCollateralizeIDs) Descriptor() ([]byte, []int)
func (*RepCollateralizeIDs) GetIDs ¶
func (m *RepCollateralizeIDs) GetIDs() []string
func (*RepCollateralizeIDs) ProtoMessage ¶
func (*RepCollateralizeIDs) ProtoMessage()
func (*RepCollateralizeIDs) Reset ¶
func (m *RepCollateralizeIDs) Reset()
func (*RepCollateralizeIDs) String ¶
func (m *RepCollateralizeIDs) String() string
func (*RepCollateralizeIDs) XXX_DiscardUnknown ¶
func (m *RepCollateralizeIDs) XXX_DiscardUnknown()
func (*RepCollateralizeIDs) XXX_Marshal ¶
func (m *RepCollateralizeIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizeIDs) XXX_Merge ¶
func (m *RepCollateralizeIDs) XXX_Merge(src proto.Message)
func (*RepCollateralizeIDs) XXX_Size ¶
func (m *RepCollateralizeIDs) XXX_Size() int
func (*RepCollateralizeIDs) XXX_Unmarshal ¶
func (m *RepCollateralizeIDs) XXX_Unmarshal(b []byte) error
type RepCollateralizePrice ¶
type RepCollateralizePrice struct { Price int64 `protobuf:"varint,1,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回最新抵押物价格
func (*RepCollateralizePrice) Descriptor ¶
func (*RepCollateralizePrice) Descriptor() ([]byte, []int)
func (*RepCollateralizePrice) GetPrice ¶
func (m *RepCollateralizePrice) GetPrice() int64
func (*RepCollateralizePrice) ProtoMessage ¶
func (*RepCollateralizePrice) ProtoMessage()
func (*RepCollateralizePrice) Reset ¶
func (m *RepCollateralizePrice) Reset()
func (*RepCollateralizePrice) String ¶
func (m *RepCollateralizePrice) String() string
func (*RepCollateralizePrice) XXX_DiscardUnknown ¶
func (m *RepCollateralizePrice) XXX_DiscardUnknown()
func (*RepCollateralizePrice) XXX_Marshal ¶
func (m *RepCollateralizePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizePrice) XXX_Merge ¶
func (m *RepCollateralizePrice) XXX_Merge(src proto.Message)
func (*RepCollateralizePrice) XXX_Size ¶
func (m *RepCollateralizePrice) XXX_Size() int
func (*RepCollateralizePrice) XXX_Unmarshal ¶
func (m *RepCollateralizePrice) XXX_Unmarshal(b []byte) error
type RepCollateralizeRecord ¶
type RepCollateralizeRecord struct { Record *BorrowRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回借贷记录
func (*RepCollateralizeRecord) Descriptor ¶
func (*RepCollateralizeRecord) Descriptor() ([]byte, []int)
func (*RepCollateralizeRecord) GetRecord ¶
func (m *RepCollateralizeRecord) GetRecord() *BorrowRecord
func (*RepCollateralizeRecord) ProtoMessage ¶
func (*RepCollateralizeRecord) ProtoMessage()
func (*RepCollateralizeRecord) Reset ¶
func (m *RepCollateralizeRecord) Reset()
func (*RepCollateralizeRecord) String ¶
func (m *RepCollateralizeRecord) String() string
func (*RepCollateralizeRecord) XXX_DiscardUnknown ¶
func (m *RepCollateralizeRecord) XXX_DiscardUnknown()
func (*RepCollateralizeRecord) XXX_Marshal ¶
func (m *RepCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizeRecord) XXX_Merge ¶
func (m *RepCollateralizeRecord) XXX_Merge(src proto.Message)
func (*RepCollateralizeRecord) XXX_Size ¶
func (m *RepCollateralizeRecord) XXX_Size() int
func (*RepCollateralizeRecord) XXX_Unmarshal ¶
func (m *RepCollateralizeRecord) XXX_Unmarshal(b []byte) error
type RepCollateralizeRecords ¶
type RepCollateralizeRecords struct { Records []*BorrowRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回借贷记录
func (*RepCollateralizeRecords) Descriptor ¶
func (*RepCollateralizeRecords) Descriptor() ([]byte, []int)
func (*RepCollateralizeRecords) GetRecords ¶
func (m *RepCollateralizeRecords) GetRecords() []*BorrowRecord
func (*RepCollateralizeRecords) ProtoMessage ¶
func (*RepCollateralizeRecords) ProtoMessage()
func (*RepCollateralizeRecords) Reset ¶
func (m *RepCollateralizeRecords) Reset()
func (*RepCollateralizeRecords) String ¶
func (m *RepCollateralizeRecords) String() string
func (*RepCollateralizeRecords) XXX_DiscardUnknown ¶
func (m *RepCollateralizeRecords) XXX_DiscardUnknown()
func (*RepCollateralizeRecords) XXX_Marshal ¶
func (m *RepCollateralizeRecords) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizeRecords) XXX_Merge ¶
func (m *RepCollateralizeRecords) XXX_Merge(src proto.Message)
func (*RepCollateralizeRecords) XXX_Size ¶
func (m *RepCollateralizeRecords) XXX_Size() int
func (*RepCollateralizeRecords) XXX_Unmarshal ¶
func (m *RepCollateralizeRecords) XXX_Unmarshal(b []byte) error
type RepCollateralizeUserBalance ¶
type RepCollateralizeUserBalance struct { Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
返回用户借贷总额
func (*RepCollateralizeUserBalance) Descriptor ¶
func (*RepCollateralizeUserBalance) Descriptor() ([]byte, []int)
func (*RepCollateralizeUserBalance) GetBalance ¶
func (m *RepCollateralizeUserBalance) GetBalance() int64
func (*RepCollateralizeUserBalance) ProtoMessage ¶
func (*RepCollateralizeUserBalance) ProtoMessage()
func (*RepCollateralizeUserBalance) Reset ¶
func (m *RepCollateralizeUserBalance) Reset()
func (*RepCollateralizeUserBalance) String ¶
func (m *RepCollateralizeUserBalance) String() string
func (*RepCollateralizeUserBalance) XXX_DiscardUnknown ¶
func (m *RepCollateralizeUserBalance) XXX_DiscardUnknown()
func (*RepCollateralizeUserBalance) XXX_Marshal ¶
func (m *RepCollateralizeUserBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RepCollateralizeUserBalance) XXX_Merge ¶
func (m *RepCollateralizeUserBalance) XXX_Merge(src proto.Message)
func (*RepCollateralizeUserBalance) XXX_Size ¶
func (m *RepCollateralizeUserBalance) XXX_Size() int
func (*RepCollateralizeUserBalance) XXX_Unmarshal ¶
func (m *RepCollateralizeUserBalance) XXX_Unmarshal(b []byte) error
type ReqCollateralizeByAddr ¶
type ReqCollateralizeByAddr struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` CollID string `protobuf:"bytes,3,opt,name=collID,proto3" json:"collID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据用户地址查询
func (*ReqCollateralizeByAddr) Descriptor ¶
func (*ReqCollateralizeByAddr) Descriptor() ([]byte, []int)
func (*ReqCollateralizeByAddr) GetAddr ¶
func (m *ReqCollateralizeByAddr) GetAddr() string
func (*ReqCollateralizeByAddr) GetCollID ¶
func (m *ReqCollateralizeByAddr) GetCollID() string
func (*ReqCollateralizeByAddr) GetStatus ¶
func (m *ReqCollateralizeByAddr) GetStatus() int32
func (*ReqCollateralizeByAddr) ProtoMessage ¶
func (*ReqCollateralizeByAddr) ProtoMessage()
func (*ReqCollateralizeByAddr) Reset ¶
func (m *ReqCollateralizeByAddr) Reset()
func (*ReqCollateralizeByAddr) String ¶
func (m *ReqCollateralizeByAddr) String() string
func (*ReqCollateralizeByAddr) XXX_DiscardUnknown ¶
func (m *ReqCollateralizeByAddr) XXX_DiscardUnknown()
func (*ReqCollateralizeByAddr) XXX_Marshal ¶
func (m *ReqCollateralizeByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCollateralizeByAddr) XXX_Merge ¶
func (m *ReqCollateralizeByAddr) XXX_Merge(src proto.Message)
func (*ReqCollateralizeByAddr) XXX_Size ¶
func (m *ReqCollateralizeByAddr) XXX_Size() int
func (*ReqCollateralizeByAddr) XXX_Unmarshal ¶
func (m *ReqCollateralizeByAddr) XXX_Unmarshal(b []byte) error
type ReqCollateralizeByStatus ¶
type ReqCollateralizeByStatus struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` CollID string `protobuf:"bytes,2,opt,name=collID,proto3" json:"collID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据放贷状态查询
func (*ReqCollateralizeByStatus) Descriptor ¶
func (*ReqCollateralizeByStatus) Descriptor() ([]byte, []int)
func (*ReqCollateralizeByStatus) GetCollID ¶
func (m *ReqCollateralizeByStatus) GetCollID() string
func (*ReqCollateralizeByStatus) GetStatus ¶
func (m *ReqCollateralizeByStatus) GetStatus() int32
func (*ReqCollateralizeByStatus) ProtoMessage ¶
func (*ReqCollateralizeByStatus) ProtoMessage()
func (*ReqCollateralizeByStatus) Reset ¶
func (m *ReqCollateralizeByStatus) Reset()
func (*ReqCollateralizeByStatus) String ¶
func (m *ReqCollateralizeByStatus) String() string
func (*ReqCollateralizeByStatus) XXX_DiscardUnknown ¶
func (m *ReqCollateralizeByStatus) XXX_DiscardUnknown()
func (*ReqCollateralizeByStatus) XXX_Marshal ¶
func (m *ReqCollateralizeByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCollateralizeByStatus) XXX_Merge ¶
func (m *ReqCollateralizeByStatus) XXX_Merge(src proto.Message)
func (*ReqCollateralizeByStatus) XXX_Size ¶
func (m *ReqCollateralizeByStatus) XXX_Size() int
func (*ReqCollateralizeByStatus) XXX_Unmarshal ¶
func (m *ReqCollateralizeByStatus) XXX_Unmarshal(b []byte) error
type ReqCollateralizeInfo ¶
type ReqCollateralizeInfo struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据ID查询一期放贷信息
func (*ReqCollateralizeInfo) Descriptor ¶
func (*ReqCollateralizeInfo) Descriptor() ([]byte, []int)
func (*ReqCollateralizeInfo) GetCollateralizeId ¶
func (m *ReqCollateralizeInfo) GetCollateralizeId() string
func (*ReqCollateralizeInfo) ProtoMessage ¶
func (*ReqCollateralizeInfo) ProtoMessage()
func (*ReqCollateralizeInfo) Reset ¶
func (m *ReqCollateralizeInfo) Reset()
func (*ReqCollateralizeInfo) String ¶
func (m *ReqCollateralizeInfo) String() string
func (*ReqCollateralizeInfo) XXX_DiscardUnknown ¶
func (m *ReqCollateralizeInfo) XXX_DiscardUnknown()
func (*ReqCollateralizeInfo) XXX_Marshal ¶
func (m *ReqCollateralizeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCollateralizeInfo) XXX_Merge ¶
func (m *ReqCollateralizeInfo) XXX_Merge(src proto.Message)
func (*ReqCollateralizeInfo) XXX_Size ¶
func (m *ReqCollateralizeInfo) XXX_Size() int
func (*ReqCollateralizeInfo) XXX_Unmarshal ¶
func (m *ReqCollateralizeInfo) XXX_Unmarshal(b []byte) error
type ReqCollateralizeInfos ¶
type ReqCollateralizeInfos struct { CollateralizeIds []string `protobuf:"bytes,1,rep,name=collateralizeIds,proto3" json:"collateralizeIds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据ID列表查询多期放贷信息
func (*ReqCollateralizeInfos) Descriptor ¶
func (*ReqCollateralizeInfos) Descriptor() ([]byte, []int)
func (*ReqCollateralizeInfos) GetCollateralizeIds ¶
func (m *ReqCollateralizeInfos) GetCollateralizeIds() []string
func (*ReqCollateralizeInfos) ProtoMessage ¶
func (*ReqCollateralizeInfos) ProtoMessage()
func (*ReqCollateralizeInfos) Reset ¶
func (m *ReqCollateralizeInfos) Reset()
func (*ReqCollateralizeInfos) String ¶
func (m *ReqCollateralizeInfos) String() string
func (*ReqCollateralizeInfos) XXX_DiscardUnknown ¶
func (m *ReqCollateralizeInfos) XXX_DiscardUnknown()
func (*ReqCollateralizeInfos) XXX_Marshal ¶
func (m *ReqCollateralizeInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCollateralizeInfos) XXX_Merge ¶
func (m *ReqCollateralizeInfos) XXX_Merge(src proto.Message)
func (*ReqCollateralizeInfos) XXX_Size ¶
func (m *ReqCollateralizeInfos) XXX_Size() int
func (*ReqCollateralizeInfos) XXX_Unmarshal ¶
func (m *ReqCollateralizeInfos) XXX_Unmarshal(b []byte) error
type ReqCollateralizeRecord ¶
type ReqCollateralizeRecord struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` RecordId string `protobuf:"bytes,2,opt,name=recordId,proto3" json:"recordId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
精确查找借贷记录
func (*ReqCollateralizeRecord) Descriptor ¶
func (*ReqCollateralizeRecord) Descriptor() ([]byte, []int)
func (*ReqCollateralizeRecord) GetCollateralizeId ¶
func (m *ReqCollateralizeRecord) GetCollateralizeId() string
func (*ReqCollateralizeRecord) GetRecordId ¶
func (m *ReqCollateralizeRecord) GetRecordId() string
func (*ReqCollateralizeRecord) ProtoMessage ¶
func (*ReqCollateralizeRecord) ProtoMessage()
func (*ReqCollateralizeRecord) Reset ¶
func (m *ReqCollateralizeRecord) Reset()
func (*ReqCollateralizeRecord) String ¶
func (m *ReqCollateralizeRecord) String() string
func (*ReqCollateralizeRecord) XXX_DiscardUnknown ¶
func (m *ReqCollateralizeRecord) XXX_DiscardUnknown()
func (*ReqCollateralizeRecord) XXX_Marshal ¶
func (m *ReqCollateralizeRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCollateralizeRecord) XXX_Merge ¶
func (m *ReqCollateralizeRecord) XXX_Merge(src proto.Message)
func (*ReqCollateralizeRecord) XXX_Size ¶
func (m *ReqCollateralizeRecord) XXX_Size() int
func (*ReqCollateralizeRecord) XXX_Unmarshal ¶
func (m *ReqCollateralizeRecord) XXX_Unmarshal(b []byte) error
type ReqCollateralizeRecordByAddr ¶
type ReqCollateralizeRecordByAddr struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Status int32 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` RecordId string `protobuf:"bytes,4,opt,name=recordId,proto3" json:"recordId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据地址和借贷ID混合查询具体借贷记录
func (*ReqCollateralizeRecordByAddr) Descriptor ¶
func (*ReqCollateralizeRecordByAddr) Descriptor() ([]byte, []int)
func (*ReqCollateralizeRecordByAddr) GetAddr ¶
func (m *ReqCollateralizeRecordByAddr) GetAddr() string
func (*ReqCollateralizeRecordByAddr) GetCollateralizeId ¶
func (m *ReqCollateralizeRecordByAddr) GetCollateralizeId() string
func (*ReqCollateralizeRecordByAddr) GetRecordId ¶
func (m *ReqCollateralizeRecordByAddr) GetRecordId() string
func (*ReqCollateralizeRecordByAddr) GetStatus ¶
func (m *ReqCollateralizeRecordByAddr) GetStatus() int32
func (*ReqCollateralizeRecordByAddr) ProtoMessage ¶
func (*ReqCollateralizeRecordByAddr) ProtoMessage()
func (*ReqCollateralizeRecordByAddr) Reset ¶
func (m *ReqCollateralizeRecordByAddr) Reset()
func (*ReqCollateralizeRecordByAddr) String ¶
func (m *ReqCollateralizeRecordByAddr) String() string
func (*ReqCollateralizeRecordByAddr) XXX_DiscardUnknown ¶
func (m *ReqCollateralizeRecordByAddr) XXX_DiscardUnknown()
func (*ReqCollateralizeRecordByAddr) XXX_Marshal ¶
func (m *ReqCollateralizeRecordByAddr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCollateralizeRecordByAddr) XXX_Merge ¶
func (m *ReqCollateralizeRecordByAddr) XXX_Merge(src proto.Message)
func (*ReqCollateralizeRecordByAddr) XXX_Size ¶
func (m *ReqCollateralizeRecordByAddr) XXX_Size() int
func (*ReqCollateralizeRecordByAddr) XXX_Unmarshal ¶
func (m *ReqCollateralizeRecordByAddr) XXX_Unmarshal(b []byte) error
type ReqCollateralizeRecordByStatus ¶
type ReqCollateralizeRecordByStatus struct { CollateralizeId string `protobuf:"bytes,1,opt,name=collateralizeId,proto3" json:"collateralizeId,omitempty"` Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` RecordId string `protobuf:"bytes,3,opt,name=recordId,proto3" json:"recordId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
根据状态和借贷ID混合查询具体借贷记录
func (*ReqCollateralizeRecordByStatus) Descriptor ¶
func (*ReqCollateralizeRecordByStatus) Descriptor() ([]byte, []int)
func (*ReqCollateralizeRecordByStatus) GetCollateralizeId ¶
func (m *ReqCollateralizeRecordByStatus) GetCollateralizeId() string
func (*ReqCollateralizeRecordByStatus) GetRecordId ¶
func (m *ReqCollateralizeRecordByStatus) GetRecordId() string
func (*ReqCollateralizeRecordByStatus) GetStatus ¶
func (m *ReqCollateralizeRecordByStatus) GetStatus() int32
func (*ReqCollateralizeRecordByStatus) ProtoMessage ¶
func (*ReqCollateralizeRecordByStatus) ProtoMessage()
func (*ReqCollateralizeRecordByStatus) Reset ¶
func (m *ReqCollateralizeRecordByStatus) Reset()
func (*ReqCollateralizeRecordByStatus) String ¶
func (m *ReqCollateralizeRecordByStatus) String() string
func (*ReqCollateralizeRecordByStatus) XXX_DiscardUnknown ¶
func (m *ReqCollateralizeRecordByStatus) XXX_DiscardUnknown()
func (*ReqCollateralizeRecordByStatus) XXX_Marshal ¶
func (m *ReqCollateralizeRecordByStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqCollateralizeRecordByStatus) XXX_Merge ¶
func (m *ReqCollateralizeRecordByStatus) XXX_Merge(src proto.Message)
func (*ReqCollateralizeRecordByStatus) XXX_Size ¶
func (m *ReqCollateralizeRecordByStatus) XXX_Size() int
func (*ReqCollateralizeRecordByStatus) XXX_Unmarshal ¶
func (m *ReqCollateralizeRecordByStatus) XXX_Unmarshal(b []byte) error