Documentation ¶
Index ¶
- Constants
- Variables
- func CreateUnfreezeCreateTx(title string, parm *UnfreezeCreate) (*types.Transaction, error)
- func CreateUnfreezeTerminateTx(title string, parm *UnfreezeTerminate) (*types.Transaction, error)
- func CreateUnfreezeWithdrawTx(title string, parm *UnfreezeWithdraw) (*types.Transaction, error)
- func RegisterUnfreezeServer(s *grpc.Server, srv UnfreezeServer)
- type FixAmount
- func (*FixAmount) Descriptor() ([]byte, []int)
- func (m *FixAmount) GetAmount() int64
- func (m *FixAmount) GetPeriod() int64
- func (*FixAmount) ProtoMessage()
- func (m *FixAmount) Reset()
- func (m *FixAmount) String() string
- func (m *FixAmount) XXX_DiscardUnknown()
- func (m *FixAmount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FixAmount) XXX_Merge(src proto.Message)
- func (m *FixAmount) XXX_Size() int
- func (m *FixAmount) XXX_Unmarshal(b []byte) error
- type LeftProportion
- func (*LeftProportion) Descriptor() ([]byte, []int)
- func (m *LeftProportion) GetPeriod() int64
- func (m *LeftProportion) GetTenThousandth() int64
- func (*LeftProportion) ProtoMessage()
- func (m *LeftProportion) Reset()
- func (m *LeftProportion) String() string
- func (m *LeftProportion) XXX_DiscardUnknown()
- func (m *LeftProportion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LeftProportion) XXX_Merge(src proto.Message)
- func (m *LeftProportion) XXX_Size() int
- func (m *LeftProportion) XXX_Unmarshal(b []byte) error
- type LocalUnfreeze
- func (*LocalUnfreeze) Descriptor() ([]byte, []int)
- func (m *LocalUnfreeze) GetTxIndex() string
- func (m *LocalUnfreeze) GetUnfreeze() *Unfreeze
- func (*LocalUnfreeze) ProtoMessage()
- func (m *LocalUnfreeze) Reset()
- func (m *LocalUnfreeze) String() string
- func (m *LocalUnfreeze) XXX_DiscardUnknown()
- func (m *LocalUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *LocalUnfreeze) XXX_Merge(src proto.Message)
- func (m *LocalUnfreeze) XXX_Size() int
- func (m *LocalUnfreeze) XXX_Unmarshal(b []byte) error
- type ReceiptUnfreeze
- func (*ReceiptUnfreeze) Descriptor() ([]byte, []int)
- func (m *ReceiptUnfreeze) GetCurrent() *Unfreeze
- func (m *ReceiptUnfreeze) GetPrev() *Unfreeze
- func (*ReceiptUnfreeze) ProtoMessage()
- func (m *ReceiptUnfreeze) Reset()
- func (m *ReceiptUnfreeze) String() string
- func (m *ReceiptUnfreeze) XXX_DiscardUnknown()
- func (m *ReceiptUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReceiptUnfreeze) XXX_Merge(src proto.Message)
- func (m *ReceiptUnfreeze) XXX_Size() int
- func (m *ReceiptUnfreeze) XXX_Unmarshal(b []byte) error
- type ReplyQueryUnfreezeWithdraw
- func (*ReplyQueryUnfreezeWithdraw) Descriptor() ([]byte, []int)
- func (m *ReplyQueryUnfreezeWithdraw) GetAvailableAmount() int64
- func (m *ReplyQueryUnfreezeWithdraw) GetUnfreezeID() string
- func (*ReplyQueryUnfreezeWithdraw) ProtoMessage()
- func (m *ReplyQueryUnfreezeWithdraw) Reset()
- func (m *ReplyQueryUnfreezeWithdraw) String() string
- func (m *ReplyQueryUnfreezeWithdraw) XXX_DiscardUnknown()
- func (m *ReplyQueryUnfreezeWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReplyQueryUnfreezeWithdraw) XXX_Merge(src proto.Message)
- func (m *ReplyQueryUnfreezeWithdraw) XXX_Size() int
- func (m *ReplyQueryUnfreezeWithdraw) XXX_Unmarshal(b []byte) error
- type ReplyUnfreeze
- func (*ReplyUnfreeze) Descriptor() ([]byte, []int)
- func (m *ReplyUnfreeze) GetAssetExec() string
- func (m *ReplyUnfreeze) GetAssetSymbol() string
- func (m *ReplyUnfreeze) GetBeneficiary() string
- func (m *ReplyUnfreeze) GetFixAmount() *FixAmount
- func (m *ReplyUnfreeze) GetInitiator() string
- func (m *ReplyUnfreeze) GetKey() string
- func (m *ReplyUnfreeze) GetLeftProportion() *LeftProportion
- func (m *ReplyUnfreeze) GetMeans() string
- func (m *ReplyUnfreeze) GetMeansOpt() isReplyUnfreeze_MeansOpt
- func (m *ReplyUnfreeze) GetRemaining() int64
- func (m *ReplyUnfreeze) GetStartTime() int64
- func (m *ReplyUnfreeze) GetTerminated() bool
- func (m *ReplyUnfreeze) GetTotalCount() int64
- func (m *ReplyUnfreeze) GetUnfreezeID() string
- func (*ReplyUnfreeze) ProtoMessage()
- func (m *ReplyUnfreeze) Reset()
- func (m *ReplyUnfreeze) String() string
- func (m *ReplyUnfreeze) XXX_DiscardUnknown()
- func (m *ReplyUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReplyUnfreeze) XXX_Merge(src proto.Message)
- func (*ReplyUnfreeze) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *ReplyUnfreeze) XXX_Size() int
- func (m *ReplyUnfreeze) XXX_Unmarshal(b []byte) error
- type ReplyUnfreeze_FixAmount
- type ReplyUnfreeze_LeftProportion
- type ReplyUnfreezes
- func (*ReplyUnfreezes) Descriptor() ([]byte, []int)
- func (m *ReplyUnfreezes) GetUnfreeze() []*ReplyUnfreeze
- func (*ReplyUnfreezes) ProtoMessage()
- func (m *ReplyUnfreezes) Reset()
- func (m *ReplyUnfreezes) String() string
- func (m *ReplyUnfreezes) XXX_DiscardUnknown()
- func (m *ReplyUnfreezes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReplyUnfreezes) XXX_Merge(src proto.Message)
- func (m *ReplyUnfreezes) XXX_Size() int
- func (m *ReplyUnfreezes) XXX_Unmarshal(b []byte) error
- type ReqUnfreezes
- func (*ReqUnfreezes) Descriptor() ([]byte, []int)
- func (m *ReqUnfreezes) GetBeneficiary() string
- func (m *ReqUnfreezes) GetCount() int32
- func (m *ReqUnfreezes) GetDirection() int32
- func (m *ReqUnfreezes) GetFromKey() string
- func (m *ReqUnfreezes) GetInitiator() string
- func (*ReqUnfreezes) ProtoMessage()
- func (m *ReqUnfreezes) Reset()
- func (m *ReqUnfreezes) String() string
- func (m *ReqUnfreezes) XXX_DiscardUnknown()
- func (m *ReqUnfreezes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ReqUnfreezes) XXX_Merge(src proto.Message)
- func (m *ReqUnfreezes) XXX_Size() int
- func (m *ReqUnfreezes) XXX_Unmarshal(b []byte) error
- type Unfreeze
- func (*Unfreeze) Descriptor() ([]byte, []int)
- func (m *Unfreeze) GetAssetExec() string
- func (m *Unfreeze) GetAssetSymbol() string
- func (m *Unfreeze) GetBeneficiary() string
- func (m *Unfreeze) GetFixAmount() *FixAmount
- func (m *Unfreeze) GetInitiator() string
- func (m *Unfreeze) GetLeftProportion() *LeftProportion
- func (m *Unfreeze) GetMeans() string
- func (m *Unfreeze) GetMeansOpt() isUnfreeze_MeansOpt
- func (m *Unfreeze) GetRemaining() int64
- func (m *Unfreeze) GetStartTime() int64
- func (m *Unfreeze) GetTerminated() bool
- func (m *Unfreeze) GetTotalCount() int64
- func (m *Unfreeze) GetUnfreezeID() string
- func (*Unfreeze) ProtoMessage()
- func (m *Unfreeze) Reset()
- func (m *Unfreeze) String() string
- func (m *Unfreeze) XXX_DiscardUnknown()
- func (m *Unfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Unfreeze) XXX_Merge(src proto.Message)
- func (*Unfreeze) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Unfreeze) XXX_Size() int
- func (m *Unfreeze) XXX_Unmarshal(b []byte) error
- type UnfreezeAction
- func (*UnfreezeAction) Descriptor() ([]byte, []int)
- func (m *UnfreezeAction) GetCreate() *UnfreezeCreate
- func (m *UnfreezeAction) GetTerminate() *UnfreezeTerminate
- func (m *UnfreezeAction) GetTy() int32
- func (m *UnfreezeAction) GetValue() isUnfreezeAction_Value
- func (m *UnfreezeAction) GetWithdraw() *UnfreezeWithdraw
- func (*UnfreezeAction) ProtoMessage()
- func (m *UnfreezeAction) Reset()
- func (m *UnfreezeAction) String() string
- func (m *UnfreezeAction) XXX_DiscardUnknown()
- func (m *UnfreezeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnfreezeAction) XXX_Merge(src proto.Message)
- func (*UnfreezeAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *UnfreezeAction) XXX_Size() int
- func (m *UnfreezeAction) XXX_Unmarshal(b []byte) error
- type UnfreezeAction_Create
- type UnfreezeAction_Terminate
- type UnfreezeAction_Withdraw
- type UnfreezeClient
- type UnfreezeCreate
- func (*UnfreezeCreate) Descriptor() ([]byte, []int)
- func (m *UnfreezeCreate) GetAssetExec() string
- func (m *UnfreezeCreate) GetAssetSymbol() string
- func (m *UnfreezeCreate) GetBeneficiary() string
- func (m *UnfreezeCreate) GetFixAmount() *FixAmount
- func (m *UnfreezeCreate) GetLeftProportion() *LeftProportion
- func (m *UnfreezeCreate) GetMeans() string
- func (m *UnfreezeCreate) GetMeansOpt() isUnfreezeCreate_MeansOpt
- func (m *UnfreezeCreate) GetStartTime() int64
- func (m *UnfreezeCreate) GetTotalCount() int64
- func (*UnfreezeCreate) ProtoMessage()
- func (m *UnfreezeCreate) Reset()
- func (m *UnfreezeCreate) String() string
- func (m *UnfreezeCreate) UnmarshalJSON(v []byte) error
- func (m *UnfreezeCreate) XXX_DiscardUnknown()
- func (m *UnfreezeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnfreezeCreate) XXX_Merge(src proto.Message)
- func (*UnfreezeCreate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *UnfreezeCreate) XXX_Size() int
- func (m *UnfreezeCreate) XXX_Unmarshal(b []byte) error
- type UnfreezeCreate_FixAmount
- type UnfreezeCreate_LeftProportion
- type UnfreezeServer
- type UnfreezeTerminate
- func (*UnfreezeTerminate) Descriptor() ([]byte, []int)
- func (m *UnfreezeTerminate) GetUnfreezeID() string
- func (*UnfreezeTerminate) ProtoMessage()
- func (m *UnfreezeTerminate) Reset()
- func (m *UnfreezeTerminate) String() string
- func (m *UnfreezeTerminate) XXX_DiscardUnknown()
- func (m *UnfreezeTerminate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnfreezeTerminate) XXX_Merge(src proto.Message)
- func (m *UnfreezeTerminate) XXX_Size() int
- func (m *UnfreezeTerminate) XXX_Unmarshal(b []byte) error
- type UnfreezeType
- func (u *UnfreezeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
- func (u *UnfreezeType) GetLogMap() map[int64]*types.LogInfo
- func (u *UnfreezeType) GetName() string
- func (u *UnfreezeType) GetPayload() types.Message
- func (u *UnfreezeType) GetTypeMap() map[string]int32
- func (u *UnfreezeType) RPC_UnfreezeCreateTx(parm *UnfreezeCreate) (*types.Transaction, error)
- func (u *UnfreezeType) RPC_UnfreezeTerminateTx(parm *UnfreezeTerminate) (*types.Transaction, error)
- func (u *UnfreezeType) RPC_UnfreezeWithdrawTx(parm *UnfreezeWithdraw) (*types.Transaction, error)
- type UnfreezeWithdraw
- func (*UnfreezeWithdraw) Descriptor() ([]byte, []int)
- func (m *UnfreezeWithdraw) GetUnfreezeID() string
- func (*UnfreezeWithdraw) ProtoMessage()
- func (m *UnfreezeWithdraw) Reset()
- func (m *UnfreezeWithdraw) String() string
- func (m *UnfreezeWithdraw) XXX_DiscardUnknown()
- func (m *UnfreezeWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UnfreezeWithdraw) XXX_Merge(src proto.Message)
- func (m *UnfreezeWithdraw) XXX_Size() int
- func (m *UnfreezeWithdraw) XXX_Unmarshal(b []byte) error
- type Unfreeze_FixAmount
- type Unfreeze_LeftProportion
Constants ¶
const ( UnfreezeActionCreate = iota + 1 UnfreezeActionWithdraw UnfreezeActionTerminate //log for unfreeze TyLogCreateUnfreeze = 2001 // TODO 修改具体编号 TyLogWithdrawUnfreeze = 2002 TyLogTerminateUnfreeze = 2003 )
unfreeze action ty
const ( // Action_CreateUnfreeze Action 名字 Action_CreateUnfreeze = "createUnfreeze" // Action_WithdrawUnfreeze Action 名字 Action_WithdrawUnfreeze = "withdrawUnfreeze" // Action_TerminateUnfreeze Action 名字 Action_TerminateUnfreeze = "terminateUnfreeze" )
const (
// FuncName_QueryUnfreezeWithdraw 查询方法名
FuncName_QueryUnfreezeWithdraw = "QueryUnfreezeWithdraw"
)
Variables ¶
var ( PackageName = "chain33.unfreeze" RPCName = "Chain33.Unfreeze" UnfreezeX = "unfreeze" ExecerUnfreeze = []byte(UnfreezeX) FixAmountX = "FixAmount" LeftProportionX = "LeftProportion" SupportMeans = []string{"FixAmount", "LeftProportion"} ForkTerminatePartX = "ForkTerminatePart" ForkUnfreezeIDX = "ForkUnfreezeIDX" )
包的名字可以通过配置文件来配置 建议用github的组织名称,或者用户名字开头, 再加上自己的插件的名字 如果发生重名,可以通过配置文件修改这些名字
var ( // ErrUnfreezeEmptied 没有可提币量 ErrUnfreezeEmptied = errors.New("ErrUnfreezeEmptied") // ErrUnfreezeMeans 解冻币算法错误 ErrUnfreezeMeans = errors.New("ErrUnfreezeMeans") // ErrUnfreezeID 冻结合约ID错误 ErrUnfreezeID = errors.New("ErrUnfreezeID") // ErrNoPrivilege 没有权限 ErrNoPrivilege = errors.New("ErrNoPrivilege") // ErrTerminated 已经被取消过了 ErrTerminated = errors.New("ErrTerminated") )
Functions ¶
func CreateUnfreezeCreateTx ¶
func CreateUnfreezeCreateTx(title string, parm *UnfreezeCreate) (*types.Transaction, error)
CreateUnfreezeCreateTx 创建冻结合约交易
func CreateUnfreezeTerminateTx ¶
func CreateUnfreezeTerminateTx(title string, parm *UnfreezeTerminate) (*types.Transaction, error)
CreateUnfreezeTerminateTx 创建终止冻结合约
func CreateUnfreezeWithdrawTx ¶
func CreateUnfreezeWithdrawTx(title string, parm *UnfreezeWithdraw) (*types.Transaction, error)
CreateUnfreezeWithdrawTx 创建提币交易
func RegisterUnfreezeServer ¶
func RegisterUnfreezeServer(s *grpc.Server, srv UnfreezeServer)
Types ¶
type FixAmount ¶
type FixAmount struct { Period int64 `protobuf:"varint,1,opt,name=period,proto3" json:"period,omitempty"` Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
按时间固定额度解冻
func (*FixAmount) Descriptor ¶
func (*FixAmount) ProtoMessage ¶
func (*FixAmount) ProtoMessage()
func (*FixAmount) XXX_DiscardUnknown ¶
func (m *FixAmount) XXX_DiscardUnknown()
func (*FixAmount) XXX_Marshal ¶
func (*FixAmount) XXX_Unmarshal ¶
type LeftProportion ¶
type LeftProportion struct { Period int64 `protobuf:"varint,1,opt,name=period,proto3" json:"period,omitempty"` TenThousandth int64 `protobuf:"varint,2,opt,name=tenThousandth,proto3" json:"tenThousandth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
固定时间间隔按余量百分比解冻
func (*LeftProportion) Descriptor ¶
func (*LeftProportion) Descriptor() ([]byte, []int)
func (*LeftProportion) GetPeriod ¶
func (m *LeftProportion) GetPeriod() int64
func (*LeftProportion) GetTenThousandth ¶
func (m *LeftProportion) GetTenThousandth() int64
func (*LeftProportion) ProtoMessage ¶
func (*LeftProportion) ProtoMessage()
func (*LeftProportion) Reset ¶
func (m *LeftProportion) Reset()
func (*LeftProportion) String ¶
func (m *LeftProportion) String() string
func (*LeftProportion) XXX_DiscardUnknown ¶
func (m *LeftProportion) XXX_DiscardUnknown()
func (*LeftProportion) XXX_Marshal ¶
func (m *LeftProportion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LeftProportion) XXX_Merge ¶
func (dst *LeftProportion) XXX_Merge(src proto.Message)
func (*LeftProportion) XXX_Size ¶
func (m *LeftProportion) XXX_Size() int
func (*LeftProportion) XXX_Unmarshal ¶
func (m *LeftProportion) XXX_Unmarshal(b []byte) error
type LocalUnfreeze ¶
type LocalUnfreeze struct { Unfreeze *Unfreeze `protobuf:"bytes,1,opt,name=unfreeze,proto3" json:"unfreeze,omitempty"` TxIndex string `protobuf:"bytes,2,opt,name=txIndex,proto3" json:"txIndex,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalUnfreeze) Descriptor ¶
func (*LocalUnfreeze) Descriptor() ([]byte, []int)
func (*LocalUnfreeze) GetTxIndex ¶
func (m *LocalUnfreeze) GetTxIndex() string
func (*LocalUnfreeze) GetUnfreeze ¶
func (m *LocalUnfreeze) GetUnfreeze() *Unfreeze
func (*LocalUnfreeze) ProtoMessage ¶
func (*LocalUnfreeze) ProtoMessage()
func (*LocalUnfreeze) Reset ¶
func (m *LocalUnfreeze) Reset()
func (*LocalUnfreeze) String ¶
func (m *LocalUnfreeze) String() string
func (*LocalUnfreeze) XXX_DiscardUnknown ¶
func (m *LocalUnfreeze) XXX_DiscardUnknown()
func (*LocalUnfreeze) XXX_Marshal ¶
func (m *LocalUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalUnfreeze) XXX_Merge ¶
func (dst *LocalUnfreeze) XXX_Merge(src proto.Message)
func (*LocalUnfreeze) XXX_Size ¶
func (m *LocalUnfreeze) XXX_Size() int
func (*LocalUnfreeze) XXX_Unmarshal ¶
func (m *LocalUnfreeze) XXX_Unmarshal(b []byte) error
type ReceiptUnfreeze ¶
type ReceiptUnfreeze struct { Prev *Unfreeze `protobuf:"bytes,1,opt,name=prev,proto3" json:"prev,omitempty"` Current *Unfreeze `protobuf:"bytes,2,opt,name=current,proto3" json:"current,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
receipt
func (*ReceiptUnfreeze) Descriptor ¶
func (*ReceiptUnfreeze) Descriptor() ([]byte, []int)
func (*ReceiptUnfreeze) GetCurrent ¶
func (m *ReceiptUnfreeze) GetCurrent() *Unfreeze
func (*ReceiptUnfreeze) GetPrev ¶
func (m *ReceiptUnfreeze) GetPrev() *Unfreeze
func (*ReceiptUnfreeze) ProtoMessage ¶
func (*ReceiptUnfreeze) ProtoMessage()
func (*ReceiptUnfreeze) Reset ¶
func (m *ReceiptUnfreeze) Reset()
func (*ReceiptUnfreeze) String ¶
func (m *ReceiptUnfreeze) String() string
func (*ReceiptUnfreeze) XXX_DiscardUnknown ¶
func (m *ReceiptUnfreeze) XXX_DiscardUnknown()
func (*ReceiptUnfreeze) XXX_Marshal ¶
func (m *ReceiptUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiptUnfreeze) XXX_Merge ¶
func (dst *ReceiptUnfreeze) XXX_Merge(src proto.Message)
func (*ReceiptUnfreeze) XXX_Size ¶
func (m *ReceiptUnfreeze) XXX_Size() int
func (*ReceiptUnfreeze) XXX_Unmarshal ¶
func (m *ReceiptUnfreeze) XXX_Unmarshal(b []byte) error
type ReplyQueryUnfreezeWithdraw ¶
type ReplyQueryUnfreezeWithdraw struct { UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"` AvailableAmount int64 `protobuf:"varint,2,opt,name=availableAmount,proto3" json:"availableAmount,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
query
func (*ReplyQueryUnfreezeWithdraw) Descriptor ¶
func (*ReplyQueryUnfreezeWithdraw) Descriptor() ([]byte, []int)
func (*ReplyQueryUnfreezeWithdraw) GetAvailableAmount ¶
func (m *ReplyQueryUnfreezeWithdraw) GetAvailableAmount() int64
func (*ReplyQueryUnfreezeWithdraw) GetUnfreezeID ¶
func (m *ReplyQueryUnfreezeWithdraw) GetUnfreezeID() string
func (*ReplyQueryUnfreezeWithdraw) ProtoMessage ¶
func (*ReplyQueryUnfreezeWithdraw) ProtoMessage()
func (*ReplyQueryUnfreezeWithdraw) Reset ¶
func (m *ReplyQueryUnfreezeWithdraw) Reset()
func (*ReplyQueryUnfreezeWithdraw) String ¶
func (m *ReplyQueryUnfreezeWithdraw) String() string
func (*ReplyQueryUnfreezeWithdraw) XXX_DiscardUnknown ¶
func (m *ReplyQueryUnfreezeWithdraw) XXX_DiscardUnknown()
func (*ReplyQueryUnfreezeWithdraw) XXX_Marshal ¶
func (m *ReplyQueryUnfreezeWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyQueryUnfreezeWithdraw) XXX_Merge ¶
func (dst *ReplyQueryUnfreezeWithdraw) XXX_Merge(src proto.Message)
func (*ReplyQueryUnfreezeWithdraw) XXX_Size ¶
func (m *ReplyQueryUnfreezeWithdraw) XXX_Size() int
func (*ReplyQueryUnfreezeWithdraw) XXX_Unmarshal ¶
func (m *ReplyQueryUnfreezeWithdraw) XXX_Unmarshal(b []byte) error
type ReplyUnfreeze ¶
type ReplyUnfreeze struct { // 解冻交易ID(唯一识别码) UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"` // 开始时间 StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` // 币种 AssetExec string `protobuf:"bytes,3,opt,name=assetExec,proto3" json:"assetExec,omitempty"` AssetSymbol string `protobuf:"bytes,4,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"` // 冻结总额 TotalCount int64 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` // 发币人地址 Initiator string `protobuf:"bytes,6,opt,name=initiator,proto3" json:"initiator,omitempty"` // 收币人地址 Beneficiary string `protobuf:"bytes,7,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"` // 解冻剩余币数 Remaining int64 `protobuf:"varint,8,opt,name=remaining,proto3" json:"remaining,omitempty"` // 解冻方式(百分比;固额) Means string `protobuf:"bytes,9,opt,name=means,proto3" json:"means,omitempty"` // Types that are valid to be assigned to MeansOpt: // *ReplyUnfreeze_FixAmount // *ReplyUnfreeze_LeftProportion MeansOpt isReplyUnfreeze_MeansOpt `protobuf_oneof:"meansOpt"` Terminated bool `protobuf:"varint,12,opt,name=terminated,proto3" json:"terminated,omitempty"` Key string `protobuf:"bytes,13,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyUnfreeze) Descriptor ¶
func (*ReplyUnfreeze) Descriptor() ([]byte, []int)
func (*ReplyUnfreeze) GetAssetExec ¶
func (m *ReplyUnfreeze) GetAssetExec() string
func (*ReplyUnfreeze) GetAssetSymbol ¶
func (m *ReplyUnfreeze) GetAssetSymbol() string
func (*ReplyUnfreeze) GetBeneficiary ¶
func (m *ReplyUnfreeze) GetBeneficiary() string
func (*ReplyUnfreeze) GetFixAmount ¶
func (m *ReplyUnfreeze) GetFixAmount() *FixAmount
func (*ReplyUnfreeze) GetInitiator ¶
func (m *ReplyUnfreeze) GetInitiator() string
func (*ReplyUnfreeze) GetKey ¶
func (m *ReplyUnfreeze) GetKey() string
func (*ReplyUnfreeze) GetLeftProportion ¶
func (m *ReplyUnfreeze) GetLeftProportion() *LeftProportion
func (*ReplyUnfreeze) GetMeans ¶
func (m *ReplyUnfreeze) GetMeans() string
func (*ReplyUnfreeze) GetMeansOpt ¶
func (m *ReplyUnfreeze) GetMeansOpt() isReplyUnfreeze_MeansOpt
func (*ReplyUnfreeze) GetRemaining ¶
func (m *ReplyUnfreeze) GetRemaining() int64
func (*ReplyUnfreeze) GetStartTime ¶
func (m *ReplyUnfreeze) GetStartTime() int64
func (*ReplyUnfreeze) GetTerminated ¶
func (m *ReplyUnfreeze) GetTerminated() bool
func (*ReplyUnfreeze) GetTotalCount ¶
func (m *ReplyUnfreeze) GetTotalCount() int64
func (*ReplyUnfreeze) GetUnfreezeID ¶
func (m *ReplyUnfreeze) GetUnfreezeID() string
func (*ReplyUnfreeze) ProtoMessage ¶
func (*ReplyUnfreeze) ProtoMessage()
func (*ReplyUnfreeze) Reset ¶
func (m *ReplyUnfreeze) Reset()
func (*ReplyUnfreeze) String ¶
func (m *ReplyUnfreeze) String() string
func (*ReplyUnfreeze) XXX_DiscardUnknown ¶
func (m *ReplyUnfreeze) XXX_DiscardUnknown()
func (*ReplyUnfreeze) XXX_Marshal ¶
func (m *ReplyUnfreeze) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyUnfreeze) XXX_Merge ¶
func (dst *ReplyUnfreeze) XXX_Merge(src proto.Message)
func (*ReplyUnfreeze) XXX_OneofFuncs ¶
func (*ReplyUnfreeze) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*ReplyUnfreeze) XXX_Size ¶
func (m *ReplyUnfreeze) XXX_Size() int
func (*ReplyUnfreeze) XXX_Unmarshal ¶
func (m *ReplyUnfreeze) XXX_Unmarshal(b []byte) error
type ReplyUnfreeze_FixAmount ¶
type ReplyUnfreeze_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,10,opt,name=fixAmount,proto3,oneof"`
}
type ReplyUnfreeze_LeftProportion ¶
type ReplyUnfreeze_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,11,opt,name=leftProportion,proto3,oneof"`
}
type ReplyUnfreezes ¶
type ReplyUnfreezes struct { Unfreeze []*ReplyUnfreeze `protobuf:"bytes,1,rep,name=unfreeze,proto3" json:"unfreeze,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReplyUnfreezes) Descriptor ¶
func (*ReplyUnfreezes) Descriptor() ([]byte, []int)
func (*ReplyUnfreezes) GetUnfreeze ¶
func (m *ReplyUnfreezes) GetUnfreeze() []*ReplyUnfreeze
func (*ReplyUnfreezes) ProtoMessage ¶
func (*ReplyUnfreezes) ProtoMessage()
func (*ReplyUnfreezes) Reset ¶
func (m *ReplyUnfreezes) Reset()
func (*ReplyUnfreezes) String ¶
func (m *ReplyUnfreezes) String() string
func (*ReplyUnfreezes) XXX_DiscardUnknown ¶
func (m *ReplyUnfreezes) XXX_DiscardUnknown()
func (*ReplyUnfreezes) XXX_Marshal ¶
func (m *ReplyUnfreezes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReplyUnfreezes) XXX_Merge ¶
func (dst *ReplyUnfreezes) XXX_Merge(src proto.Message)
func (*ReplyUnfreezes) XXX_Size ¶
func (m *ReplyUnfreezes) XXX_Size() int
func (*ReplyUnfreezes) XXX_Unmarshal ¶
func (m *ReplyUnfreezes) XXX_Unmarshal(b []byte) error
type ReqUnfreezes ¶
type ReqUnfreezes struct { Direction int32 `protobuf:"varint,1,opt,name=direction,proto3" json:"direction,omitempty"` Count int32 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` FromKey string `protobuf:"bytes,3,opt,name=fromKey,proto3" json:"fromKey,omitempty"` Initiator string `protobuf:"bytes,4,opt,name=initiator,proto3" json:"initiator,omitempty"` Beneficiary string `protobuf:"bytes,5,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ReqUnfreezes) Descriptor ¶
func (*ReqUnfreezes) Descriptor() ([]byte, []int)
func (*ReqUnfreezes) GetBeneficiary ¶
func (m *ReqUnfreezes) GetBeneficiary() string
func (*ReqUnfreezes) GetCount ¶
func (m *ReqUnfreezes) GetCount() int32
func (*ReqUnfreezes) GetDirection ¶
func (m *ReqUnfreezes) GetDirection() int32
func (*ReqUnfreezes) GetFromKey ¶
func (m *ReqUnfreezes) GetFromKey() string
func (*ReqUnfreezes) GetInitiator ¶
func (m *ReqUnfreezes) GetInitiator() string
func (*ReqUnfreezes) ProtoMessage ¶
func (*ReqUnfreezes) ProtoMessage()
func (*ReqUnfreezes) Reset ¶
func (m *ReqUnfreezes) Reset()
func (*ReqUnfreezes) String ¶
func (m *ReqUnfreezes) String() string
func (*ReqUnfreezes) XXX_DiscardUnknown ¶
func (m *ReqUnfreezes) XXX_DiscardUnknown()
func (*ReqUnfreezes) XXX_Marshal ¶
func (m *ReqUnfreezes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReqUnfreezes) XXX_Merge ¶
func (dst *ReqUnfreezes) XXX_Merge(src proto.Message)
func (*ReqUnfreezes) XXX_Size ¶
func (m *ReqUnfreezes) XXX_Size() int
func (*ReqUnfreezes) XXX_Unmarshal ¶
func (m *ReqUnfreezes) XXX_Unmarshal(b []byte) error
type Unfreeze ¶
type Unfreeze struct { // 解冻交易ID(唯一识别码) UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"` // 开始时间 StartTime int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"` // 币种 AssetExec string `protobuf:"bytes,3,opt,name=assetExec,proto3" json:"assetExec,omitempty"` AssetSymbol string `protobuf:"bytes,4,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"` // 冻结总额 TotalCount int64 `protobuf:"varint,5,opt,name=totalCount,proto3" json:"totalCount,omitempty"` // 发币人地址 Initiator string `protobuf:"bytes,6,opt,name=initiator,proto3" json:"initiator,omitempty"` // 收币人地址 Beneficiary string `protobuf:"bytes,7,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"` // 解冻剩余币数 Remaining int64 `protobuf:"varint,8,opt,name=remaining,proto3" json:"remaining,omitempty"` // 解冻方式(百分比;固额) Means string `protobuf:"bytes,9,opt,name=means,proto3" json:"means,omitempty"` // Types that are valid to be assigned to MeansOpt: // *Unfreeze_FixAmount // *Unfreeze_LeftProportion MeansOpt isUnfreeze_MeansOpt `protobuf_oneof:"meansOpt"` Terminated bool `protobuf:"varint,12,opt,name=terminated,proto3" json:"terminated,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Unfreeze) Descriptor ¶
func (*Unfreeze) GetAssetExec ¶
func (*Unfreeze) GetAssetSymbol ¶
func (*Unfreeze) GetBeneficiary ¶
func (*Unfreeze) GetFixAmount ¶
func (*Unfreeze) GetInitiator ¶
func (*Unfreeze) GetLeftProportion ¶
func (m *Unfreeze) GetLeftProportion() *LeftProportion
func (*Unfreeze) GetMeansOpt ¶
func (m *Unfreeze) GetMeansOpt() isUnfreeze_MeansOpt
func (*Unfreeze) GetRemaining ¶
func (*Unfreeze) GetStartTime ¶
func (*Unfreeze) GetTerminated ¶
func (*Unfreeze) GetTotalCount ¶
func (*Unfreeze) GetUnfreezeID ¶
func (*Unfreeze) ProtoMessage ¶
func (*Unfreeze) ProtoMessage()
func (*Unfreeze) XXX_DiscardUnknown ¶
func (m *Unfreeze) XXX_DiscardUnknown()
func (*Unfreeze) XXX_Marshal ¶
func (*Unfreeze) XXX_OneofFuncs ¶
func (*Unfreeze) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Unfreeze) XXX_Unmarshal ¶
type UnfreezeAction ¶
type UnfreezeAction struct { // Types that are valid to be assigned to Value: // *UnfreezeAction_Create // *UnfreezeAction_Withdraw // *UnfreezeAction_Terminate Value isUnfreezeAction_Value `protobuf_oneof:"value"` Ty int32 `protobuf:"varint,4,opt,name=ty,proto3" json:"ty,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
message for execs.unfreeze
func (*UnfreezeAction) Descriptor ¶
func (*UnfreezeAction) Descriptor() ([]byte, []int)
func (*UnfreezeAction) GetCreate ¶
func (m *UnfreezeAction) GetCreate() *UnfreezeCreate
func (*UnfreezeAction) GetTerminate ¶
func (m *UnfreezeAction) GetTerminate() *UnfreezeTerminate
func (*UnfreezeAction) GetTy ¶
func (m *UnfreezeAction) GetTy() int32
func (*UnfreezeAction) GetValue ¶
func (m *UnfreezeAction) GetValue() isUnfreezeAction_Value
func (*UnfreezeAction) GetWithdraw ¶
func (m *UnfreezeAction) GetWithdraw() *UnfreezeWithdraw
func (*UnfreezeAction) ProtoMessage ¶
func (*UnfreezeAction) ProtoMessage()
func (*UnfreezeAction) Reset ¶
func (m *UnfreezeAction) Reset()
func (*UnfreezeAction) String ¶
func (m *UnfreezeAction) String() string
func (*UnfreezeAction) XXX_DiscardUnknown ¶
func (m *UnfreezeAction) XXX_DiscardUnknown()
func (*UnfreezeAction) XXX_Marshal ¶
func (m *UnfreezeAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeAction) XXX_Merge ¶
func (dst *UnfreezeAction) XXX_Merge(src proto.Message)
func (*UnfreezeAction) XXX_OneofFuncs ¶
func (*UnfreezeAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*UnfreezeAction) XXX_Size ¶
func (m *UnfreezeAction) XXX_Size() int
func (*UnfreezeAction) XXX_Unmarshal ¶
func (m *UnfreezeAction) XXX_Unmarshal(b []byte) error
type UnfreezeAction_Create ¶
type UnfreezeAction_Create struct {
Create *UnfreezeCreate `protobuf:"bytes,1,opt,name=create,proto3,oneof"`
}
type UnfreezeAction_Terminate ¶
type UnfreezeAction_Terminate struct {
Terminate *UnfreezeTerminate `protobuf:"bytes,3,opt,name=terminate,proto3,oneof"`
}
type UnfreezeAction_Withdraw ¶
type UnfreezeAction_Withdraw struct {
Withdraw *UnfreezeWithdraw `protobuf:"bytes,2,opt,name=withdraw,proto3,oneof"`
}
type UnfreezeClient ¶
type UnfreezeClient interface { GetUnfreezeWithdraw(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*ReplyQueryUnfreezeWithdraw, error) QueryUnfreeze(ctx context.Context, in *types.ReqString, opts ...grpc.CallOption) (*Unfreeze, error) }
UnfreezeClient is the client API for Unfreeze service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewUnfreezeClient ¶
func NewUnfreezeClient(cc *grpc.ClientConn) UnfreezeClient
type UnfreezeCreate ¶
type UnfreezeCreate struct { StartTime int64 `protobuf:"varint,1,opt,name=startTime,proto3" json:"startTime,omitempty"` AssetExec string `protobuf:"bytes,2,opt,name=assetExec,proto3" json:"assetExec,omitempty"` AssetSymbol string `protobuf:"bytes,3,opt,name=assetSymbol,proto3" json:"assetSymbol,omitempty"` TotalCount int64 `protobuf:"varint,4,opt,name=totalCount,proto3" json:"totalCount,omitempty"` Beneficiary string `protobuf:"bytes,5,opt,name=beneficiary,proto3" json:"beneficiary,omitempty"` Means string `protobuf:"bytes,6,opt,name=means,proto3" json:"means,omitempty"` // Types that are valid to be assigned to MeansOpt: // *UnfreezeCreate_FixAmount // *UnfreezeCreate_LeftProportion MeansOpt isUnfreezeCreate_MeansOpt `protobuf_oneof:"meansOpt"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
action
func (*UnfreezeCreate) Descriptor ¶
func (*UnfreezeCreate) Descriptor() ([]byte, []int)
func (*UnfreezeCreate) GetAssetExec ¶
func (m *UnfreezeCreate) GetAssetExec() string
func (*UnfreezeCreate) GetAssetSymbol ¶
func (m *UnfreezeCreate) GetAssetSymbol() string
func (*UnfreezeCreate) GetBeneficiary ¶
func (m *UnfreezeCreate) GetBeneficiary() string
func (*UnfreezeCreate) GetFixAmount ¶
func (m *UnfreezeCreate) GetFixAmount() *FixAmount
func (*UnfreezeCreate) GetLeftProportion ¶
func (m *UnfreezeCreate) GetLeftProportion() *LeftProportion
func (*UnfreezeCreate) GetMeans ¶
func (m *UnfreezeCreate) GetMeans() string
func (*UnfreezeCreate) GetMeansOpt ¶
func (m *UnfreezeCreate) GetMeansOpt() isUnfreezeCreate_MeansOpt
func (*UnfreezeCreate) GetStartTime ¶
func (m *UnfreezeCreate) GetStartTime() int64
func (*UnfreezeCreate) GetTotalCount ¶
func (m *UnfreezeCreate) GetTotalCount() int64
func (*UnfreezeCreate) ProtoMessage ¶
func (*UnfreezeCreate) ProtoMessage()
func (*UnfreezeCreate) Reset ¶
func (m *UnfreezeCreate) Reset()
func (*UnfreezeCreate) String ¶
func (m *UnfreezeCreate) String() string
func (*UnfreezeCreate) UnmarshalJSON ¶
func (m *UnfreezeCreate) UnmarshalJSON(v []byte) error
UnmarshalJSON 解析UnfreezeCreate
func (*UnfreezeCreate) XXX_DiscardUnknown ¶
func (m *UnfreezeCreate) XXX_DiscardUnknown()
func (*UnfreezeCreate) XXX_Marshal ¶
func (m *UnfreezeCreate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeCreate) XXX_Merge ¶
func (dst *UnfreezeCreate) XXX_Merge(src proto.Message)
func (*UnfreezeCreate) XXX_OneofFuncs ¶
func (*UnfreezeCreate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*UnfreezeCreate) XXX_Size ¶
func (m *UnfreezeCreate) XXX_Size() int
func (*UnfreezeCreate) XXX_Unmarshal ¶
func (m *UnfreezeCreate) XXX_Unmarshal(b []byte) error
type UnfreezeCreate_FixAmount ¶
type UnfreezeCreate_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,7,opt,name=fixAmount,proto3,oneof"`
}
type UnfreezeCreate_LeftProportion ¶
type UnfreezeCreate_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,8,opt,name=leftProportion,proto3,oneof"`
}
type UnfreezeServer ¶
type UnfreezeServer interface { GetUnfreezeWithdraw(context.Context, *types.ReqString) (*ReplyQueryUnfreezeWithdraw, error) QueryUnfreeze(context.Context, *types.ReqString) (*Unfreeze, error) }
UnfreezeServer is the server API for Unfreeze service.
type UnfreezeTerminate ¶
type UnfreezeTerminate struct { UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnfreezeTerminate) Descriptor ¶
func (*UnfreezeTerminate) Descriptor() ([]byte, []int)
func (*UnfreezeTerminate) GetUnfreezeID ¶
func (m *UnfreezeTerminate) GetUnfreezeID() string
func (*UnfreezeTerminate) ProtoMessage ¶
func (*UnfreezeTerminate) ProtoMessage()
func (*UnfreezeTerminate) Reset ¶
func (m *UnfreezeTerminate) Reset()
func (*UnfreezeTerminate) String ¶
func (m *UnfreezeTerminate) String() string
func (*UnfreezeTerminate) XXX_DiscardUnknown ¶
func (m *UnfreezeTerminate) XXX_DiscardUnknown()
func (*UnfreezeTerminate) XXX_Marshal ¶
func (m *UnfreezeTerminate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeTerminate) XXX_Merge ¶
func (dst *UnfreezeTerminate) XXX_Merge(src proto.Message)
func (*UnfreezeTerminate) XXX_Size ¶
func (m *UnfreezeTerminate) XXX_Size() int
func (*UnfreezeTerminate) XXX_Unmarshal ¶
func (m *UnfreezeTerminate) XXX_Unmarshal(b []byte) error
type UnfreezeType ¶
type UnfreezeType struct {
types.ExecTypeBase
}
UnfreezeType 基础类型结构体
func (*UnfreezeType) CreateTx ¶
func (u *UnfreezeType) CreateTx(action string, message json.RawMessage) (*types.Transaction, error)
CreateTx 创建交易
func (*UnfreezeType) GetLogMap ¶
func (u *UnfreezeType) GetLogMap() map[int64]*types.LogInfo
GetLogMap 获得日志类型列表
func (*UnfreezeType) GetPayload ¶
func (u *UnfreezeType) GetPayload() types.Message
GetPayload 获得空的Unfreeze 的 Payload
func (*UnfreezeType) GetTypeMap ¶
func (u *UnfreezeType) GetTypeMap() map[string]int32
GetTypeMap 获得Action 方法列表
func (*UnfreezeType) RPC_UnfreezeCreateTx ¶
func (u *UnfreezeType) RPC_UnfreezeCreateTx(parm *UnfreezeCreate) (*types.Transaction, error)
RPC_UnfreezeCreateTx 创建冻结合约交易入口
func (*UnfreezeType) RPC_UnfreezeTerminateTx ¶
func (u *UnfreezeType) RPC_UnfreezeTerminateTx(parm *UnfreezeTerminate) (*types.Transaction, error)
RPC_UnfreezeTerminateTx 创建终止冻结合约入口
func (*UnfreezeType) RPC_UnfreezeWithdrawTx ¶
func (u *UnfreezeType) RPC_UnfreezeWithdrawTx(parm *UnfreezeWithdraw) (*types.Transaction, error)
RPC_UnfreezeWithdrawTx 创建提币交易入口
type UnfreezeWithdraw ¶
type UnfreezeWithdraw struct { UnfreezeID string `protobuf:"bytes,1,opt,name=unfreezeID,proto3" json:"unfreezeID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnfreezeWithdraw) Descriptor ¶
func (*UnfreezeWithdraw) Descriptor() ([]byte, []int)
func (*UnfreezeWithdraw) GetUnfreezeID ¶
func (m *UnfreezeWithdraw) GetUnfreezeID() string
func (*UnfreezeWithdraw) ProtoMessage ¶
func (*UnfreezeWithdraw) ProtoMessage()
func (*UnfreezeWithdraw) Reset ¶
func (m *UnfreezeWithdraw) Reset()
func (*UnfreezeWithdraw) String ¶
func (m *UnfreezeWithdraw) String() string
func (*UnfreezeWithdraw) XXX_DiscardUnknown ¶
func (m *UnfreezeWithdraw) XXX_DiscardUnknown()
func (*UnfreezeWithdraw) XXX_Marshal ¶
func (m *UnfreezeWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnfreezeWithdraw) XXX_Merge ¶
func (dst *UnfreezeWithdraw) XXX_Merge(src proto.Message)
func (*UnfreezeWithdraw) XXX_Size ¶
func (m *UnfreezeWithdraw) XXX_Size() int
func (*UnfreezeWithdraw) XXX_Unmarshal ¶
func (m *UnfreezeWithdraw) XXX_Unmarshal(b []byte) error
type Unfreeze_FixAmount ¶
type Unfreeze_FixAmount struct {
FixAmount *FixAmount `protobuf:"bytes,10,opt,name=fixAmount,proto3,oneof"`
}
type Unfreeze_LeftProportion ¶
type Unfreeze_LeftProportion struct {
LeftProportion *LeftProportion `protobuf:"bytes,11,opt,name=leftProportion,proto3,oneof"`
}