types

package
v6.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ActionMultiSigAccCreate        = 10000
	ActionMultiSigOwnerOperate     = 10001
	ActionMultiSigAccOperate       = 10002
	ActionMultiSigConfirmTx        = 10003
	ActionMultiSigExecTransferTo   = 10004
	ActionMultiSigExecTransferFrom = 10005
)

MultiSig 交易的actionid

View Source
const (
	TyLogMultiSigAccCreate = 10000 //只输出多重签名的账户地址

	TyLogMultiSigOwnerAdd     = 10001 //输出add的owner:addr和weight
	TyLogMultiSigOwnerDel     = 10002 //输出del的owner:addr和weight
	TyLogMultiSigOwnerModify  = 10003 //输出modify的owner:preweight以及currentweight
	TyLogMultiSigOwnerReplace = 10004 //输出old的owner的信息:以及当前的owner信息:addr+weight

	TyLogMultiSigAccWeightModify     = 10005 //输出修改前后确认权重的值:preReqWeight和curReqWeight
	TyLogMultiSigAccDailyLimitAdd    = 10006 //输出add的DailyLimit:Symbol和DailyLimit
	TyLogMultiSigAccDailyLimitModify = 10007 //输出modify的DailyLimit:preDailyLimit以及currentDailyLimit

	TyLogMultiSigConfirmTx       = 10008 //对某笔未执行交易的确认
	TyLogMultiSigConfirmTxRevoke = 10009 //已经确认交易的撤销只针对还未执行的交易

	TyLogDailyLimitUpdate = 10010 //DailyLimit更新,DailyLimit在Submit和Confirm阶段都可能有变化
	TyLogMultiSigTx       = 10011 //在Submit提交交易阶段才会有更新
	TyLogTxCountUpdate    = 10012 //txcount只在在Submit阶段提交新的交易是才会增加计数

)

多重签名账户执行输出的logid

Variables

View Source
var (
	OwnerAdd     uint64 = 1
	OwnerDel     uint64 = 2
	OwnerModify  uint64 = 3
	OwnerReplace uint64 = 4
	//AccWeightOp 账户属性的操作
	AccWeightOp     = true
	AccDailyLimitOp = false
	//OwnerOperate 多重签名交易类型:转账,owner操作,account操作
	OwnerOperate    uint64 = 1
	AccountOperate  uint64 = 2
	TransferOperate uint64 = 3
	//IsSubmit :
	IsSubmit  = true
	IsConfirm = false

	MultiSigX            = "multisig"
	OneDaySecond   int64 = 24 * 3600
	MinOwnersInit        = 2
	MinOwnersCount       = 1  //一个多重签名的账户最少要保留一个owner
	MaxOwnersCount       = 20 //一个多重签名的账户最多拥有20个owner

	Multisiglog = log15.New("module", MultiSigX)
)

OwnerAdd : 交易操作类型

View Source
var (
	ErrRequiredweight       = errors.New("ErrRequiredweight")
	ErrCreatAccountAddr     = errors.New("ErrCreatAccountAddr")
	ErrOwnerExist           = errors.New("ErrOwnerExist")
	ErrOwnerNotExist        = errors.New("ErrOwnerNotExist")
	ErrTotalWeightNotEnough = errors.New("ErrTotalWeightNotEnough")
	ErrIsNotOwner           = errors.New("ErrIsNotOwner")
	ErrDailyLimitIsZero     = errors.New("ErrDailyLimitIsZero")
	ErrInvalidTxid          = errors.New("ErrInvalidTxid")
	ErrTxidNotExist         = errors.New("ErrTxidNotExist")
	ErrTxHasExecuted        = errors.New("ErrTxHasExecuted")
	ErrDupConfirmed         = errors.New("ErrDupConfirmed")
	ErrConfirmNotExist      = errors.New("ErrConfirmNotExist")
	ErrExecerHashNoMatch    = errors.New("ErrExecerHashNoMatch")
	ErrPayLoadTypeNoMatch   = errors.New("ErrPayLoadTypeNoMatch")
	ErrTxHashNoMatch        = errors.New("ErrTxHashNoMatch")
	ErrAccCountNoMatch      = errors.New("ErrAccCountNoMatch")
	ErrAccountHasExist      = errors.New("ErrAccountHasExist")
	ErrOwnerNoMatch         = errors.New("ErrOwnerNoMatch")
	ErrDailyLimitNoMatch    = errors.New("ErrDailyLimitNoMatch")
	ErrExecutedNoMatch      = errors.New("ErrExecutedNoMatch")
	ErrActionTyNoMatch      = errors.New("ErrActionTyNoMatch")
	ErrTxTypeNoMatch        = errors.New("ErrTxTypeNoMatch")
	ErrTxidHasExist         = errors.New("ErrTxidHasExist")
	ErrOnlyOneOwner         = errors.New("ErrOnlyOneOwner")
	ErrOperateType          = errors.New("ErrOperateType")
	ErrNewOwnerExist        = errors.New("ErrNewOwnerExist")
	ErrOwnerLessThanTwo     = errors.New("ErrOwnerLessThanTwo")
	ErrAddrNotSupport       = errors.New("ErrAddrNotSupport")
	ErrMaxOwnerCount        = errors.New("ErrMaxOwnerCount")
	ErrInvalidSymbol        = errors.New("ErrInvalidSymbol")
	ErrInvalidExec          = errors.New("ErrInvalidExec")
	ErrInvalidWeight        = errors.New("ErrInvalidWeight")
	ErrInvalidDailyLimit    = errors.New("ErrInvalidDailyLimit")
)

multisig 合约的错误码

Functions

func IsAssetsInvalid

func IsAssetsInvalid(exec, symbol string) error

IsAssetsInvalid 资产的合法性检测,Symbol:必须全部大写,例如:BTY,coins.BTY。exec:必须在types.AllowUserExec中存在

Types

type AccAddress

type AccAddress struct {
	Address              []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

账户地址列表

func (*AccAddress) Descriptor

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

func (*AccAddress) GetAddress

func (m *AccAddress) GetAddress() []string

func (*AccAddress) ProtoMessage

func (*AccAddress) ProtoMessage()

func (*AccAddress) Reset

func (m *AccAddress) Reset()

func (*AccAddress) String

func (m *AccAddress) String() string

func (*AccAddress) XXX_DiscardUnknown

func (m *AccAddress) XXX_DiscardUnknown()

func (*AccAddress) XXX_Marshal

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

func (*AccAddress) XXX_Merge

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

func (*AccAddress) XXX_Size

func (m *AccAddress) XXX_Size() int

func (*AccAddress) XXX_Unmarshal

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

type AccAssets

type AccAssets struct {
	Assets               *Assets        `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets,omitempty"`
	RecvAmount           int64          `protobuf:"varint,2,opt,name=recvAmount,proto3" json:"recvAmount,omitempty"`
	Account              *types.Account `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

账户资产信息

func (*AccAssets) Descriptor

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

func (*AccAssets) GetAccount

func (m *AccAssets) GetAccount() *types.Account

func (*AccAssets) GetAssets

func (m *AccAssets) GetAssets() *Assets

func (*AccAssets) GetRecvAmount

func (m *AccAssets) GetRecvAmount() int64

func (*AccAssets) ProtoMessage

func (*AccAssets) ProtoMessage()

func (*AccAssets) Reset

func (m *AccAssets) Reset()

func (*AccAssets) String

func (m *AccAssets) String() string

func (*AccAssets) XXX_DiscardUnknown

func (m *AccAssets) XXX_DiscardUnknown()

func (*AccAssets) XXX_Marshal

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

func (*AccAssets) XXX_Merge

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

func (*AccAssets) XXX_Size

func (m *AccAssets) XXX_Size() int

func (*AccAssets) XXX_Unmarshal

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

type AccAssetsResult

type AccAssetsResult struct {
	Execer   string `json:"execer,omitempty"`
	Symbol   string `json:"symbol,omitempty"`
	Currency int32  `json:"currency,omitempty"`
	Balance  string `json:"balance,omitempty"`
	Frozen   string `json:"frozen,omitempty"`
	Receiver string `json:"receiver,omitempty"`
	Addr     string `json:"addr,omitempty"`
}

AccAssetsResult 账户资产cli的显示,主要是amount需要转换成浮点型字符串

type AccountAssets

type AccountAssets struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Assets               *Assets  `protobuf:"bytes,2,opt,name=assets,proto3" json:"assets,omitempty"`
	Amount               int64    `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

记录账户收到固定资产的数量

func (*AccountAssets) Descriptor

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

func (*AccountAssets) GetAmount

func (m *AccountAssets) GetAmount() int64

func (*AccountAssets) GetAssets

func (m *AccountAssets) GetAssets() *Assets

func (*AccountAssets) GetMultiSigAddr

func (m *AccountAssets) GetMultiSigAddr() string

func (*AccountAssets) ProtoMessage

func (*AccountAssets) ProtoMessage()

func (*AccountAssets) Reset

func (m *AccountAssets) Reset()

func (*AccountAssets) String

func (m *AccountAssets) String() string

func (*AccountAssets) XXX_DiscardUnknown

func (m *AccountAssets) XXX_DiscardUnknown()

func (*AccountAssets) XXX_Marshal

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

func (*AccountAssets) XXX_Merge

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

func (*AccountAssets) XXX_Size

func (m *AccountAssets) XXX_Size() int

func (*AccountAssets) XXX_Unmarshal

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

type Assets

type Assets struct {
	Execer               string   `protobuf:"bytes,1,opt,name=execer,proto3" json:"execer,omitempty"`
	Symbol               string   `protobuf:"bytes,2,opt,name=symbol,proto3" json:"symbol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Assets) Descriptor

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

func (*Assets) GetExecer

func (m *Assets) GetExecer() string

func (*Assets) GetSymbol

func (m *Assets) GetSymbol() string

func (*Assets) ProtoMessage

func (*Assets) ProtoMessage()

func (*Assets) Reset

func (m *Assets) Reset()

func (*Assets) String

func (m *Assets) String() string

func (*Assets) XXX_DiscardUnknown

func (m *Assets) XXX_DiscardUnknown()

func (*Assets) XXX_Marshal

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

func (*Assets) XXX_Merge

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

func (*Assets) XXX_Size

func (m *Assets) XXX_Size() int

func (*Assets) XXX_Unmarshal

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

type ConfirmedOwner

type ConfirmedOwner struct {
	ConfirmedOwner       []*Owner `protobuf:"bytes,1,rep,name=confirmedOwner,proto3" json:"confirmedOwner,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

这个地址是否已经确认某个交易

func (*ConfirmedOwner) Descriptor

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

func (*ConfirmedOwner) GetConfirmedOwner

func (m *ConfirmedOwner) GetConfirmedOwner() []*Owner

func (*ConfirmedOwner) ProtoMessage

func (*ConfirmedOwner) ProtoMessage()

func (*ConfirmedOwner) Reset

func (m *ConfirmedOwner) Reset()

func (*ConfirmedOwner) String

func (m *ConfirmedOwner) String() string

func (*ConfirmedOwner) XXX_DiscardUnknown

func (m *ConfirmedOwner) XXX_DiscardUnknown()

func (*ConfirmedOwner) XXX_Marshal

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

func (*ConfirmedOwner) XXX_Merge

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

func (*ConfirmedOwner) XXX_Size

func (m *ConfirmedOwner) XXX_Size() int

func (*ConfirmedOwner) XXX_Unmarshal

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

type DailyLimit

type DailyLimit struct {
	Symbol               string   `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Execer               string   `protobuf:"bytes,2,opt,name=execer,proto3" json:"execer,omitempty"`
	DailyLimit           uint64   `protobuf:"varint,3,opt,name=dailyLimit,proto3" json:"dailyLimit,omitempty"`
	SpentToday           uint64   `protobuf:"varint,4,opt,name=spentToday,proto3" json:"spentToday,omitempty"`
	LastDay              int64    `protobuf:"varint,5,opt,name=lastDay,proto3" json:"lastDay,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

每日资产限额,不同的资产价格不一致,需要设置各自的每日限额。没有设置或者限额是0时,表示不能取币 spentToday今天已经花费的额度。用于和dailyLimit做对比,超过每日限额时需要多重签名 lastDay记录当天开始的时间戳,新的一天需要重置spentToday为初始值0,并修改lastDay的时间戳

func (*DailyLimit) Descriptor

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

func (*DailyLimit) GetDailyLimit

func (m *DailyLimit) GetDailyLimit() uint64

func (*DailyLimit) GetExecer

func (m *DailyLimit) GetExecer() string

func (*DailyLimit) GetLastDay

func (m *DailyLimit) GetLastDay() int64

func (*DailyLimit) GetSpentToday

func (m *DailyLimit) GetSpentToday() uint64

func (*DailyLimit) GetSymbol

func (m *DailyLimit) GetSymbol() string

func (*DailyLimit) ProtoMessage

func (*DailyLimit) ProtoMessage()

func (*DailyLimit) Reset

func (m *DailyLimit) Reset()

func (*DailyLimit) String

func (m *DailyLimit) String() string

func (*DailyLimit) XXX_DiscardUnknown

func (m *DailyLimit) XXX_DiscardUnknown()

func (*DailyLimit) XXX_Marshal

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

func (*DailyLimit) XXX_Merge

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

func (*DailyLimit) XXX_Size

func (m *DailyLimit) XXX_Size() int

func (*DailyLimit) XXX_Unmarshal

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

type DailyLimitResult

type DailyLimitResult struct {
	Symbol     string `json:"symbol,omitempty"`
	Execer     string `json:"execer,omitempty"`
	DailyLimit string `json:"dailyLimit,omitempty"`
	SpentToday string `json:"spent,omitempty"`
	LastDay    string `json:"lastday,omitempty"`
}

DailyLimitResult 每日限额信息的显示cli

type MultiSig

type MultiSig struct {
	CreateAddr           string        `protobuf:"bytes,1,opt,name=createAddr,proto3" json:"createAddr,omitempty"`
	MultiSigAddr         string        `protobuf:"bytes,2,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Owners               []*Owner      `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty"`
	DailyLimits          []*DailyLimit `protobuf:"bytes,4,rep,name=dailyLimits,proto3" json:"dailyLimits,omitempty"`
	TxCount              uint64        `protobuf:"varint,5,opt,name=txCount,proto3" json:"txCount,omitempty"`
	RequiredWeight       uint64        `protobuf:"varint,6,opt,name=requiredWeight,proto3" json:"requiredWeight,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

//////////////////////////////////////////////////////////////////////////// message for multisig start///////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// 多重签名账户的状态信息,存在在statedb中,通过多重签名账户作为key值 createaddr: 创建多重签名地址的创建者账户 multisigaddr: 多重签名地址 owners: 可以操作此多重签名地址的owner账户列表 DailyLimit: 不同资产的每日限额,通过symbol来区分,本连的原生币,以及跨链过来的其他链的原生币 txCount:记录此多重签名地址上提交的withdraw交易数 requiredweight:确认一笔withdraw交易需要的权重。

func (*MultiSig) Descriptor

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

func (*MultiSig) GetCreateAddr

func (m *MultiSig) GetCreateAddr() string

func (*MultiSig) GetDailyLimits

func (m *MultiSig) GetDailyLimits() []*DailyLimit

func (*MultiSig) GetMultiSigAddr

func (m *MultiSig) GetMultiSigAddr() string

func (*MultiSig) GetOwners

func (m *MultiSig) GetOwners() []*Owner

func (*MultiSig) GetRequiredWeight

func (m *MultiSig) GetRequiredWeight() uint64

func (*MultiSig) GetTxCount

func (m *MultiSig) GetTxCount() uint64

func (*MultiSig) ProtoMessage

func (*MultiSig) ProtoMessage()

func (*MultiSig) Reset

func (m *MultiSig) Reset()

func (*MultiSig) String

func (m *MultiSig) String() string

func (*MultiSig) XXX_DiscardUnknown

func (m *MultiSig) XXX_DiscardUnknown()

func (*MultiSig) XXX_Marshal

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

func (*MultiSig) XXX_Merge

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

func (*MultiSig) XXX_Size

func (m *MultiSig) XXX_Size() int

func (*MultiSig) XXX_Unmarshal

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

type MultiSigAccCreate

type MultiSigAccCreate struct {
	Owners               []*Owner          `protobuf:"bytes,1,rep,name=owners,proto3" json:"owners,omitempty"`
	RequiredWeight       uint64            `protobuf:"varint,2,opt,name=requiredWeight,proto3" json:"requiredWeight,omitempty"`
	DailyLimit           *SymbolDailyLimit `protobuf:"bytes,3,opt,name=dailyLimit,proto3" json:"dailyLimit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

创建多重签名账户时需要的信息:创建时最少初始化两个owners,资产的每日限额初始时可以不设置

func (*MultiSigAccCreate) Descriptor

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

func (*MultiSigAccCreate) GetDailyLimit

func (m *MultiSigAccCreate) GetDailyLimit() *SymbolDailyLimit

func (*MultiSigAccCreate) GetOwners

func (m *MultiSigAccCreate) GetOwners() []*Owner

func (*MultiSigAccCreate) GetRequiredWeight

func (m *MultiSigAccCreate) GetRequiredWeight() uint64

func (*MultiSigAccCreate) ProtoMessage

func (*MultiSigAccCreate) ProtoMessage()

func (*MultiSigAccCreate) Reset

func (m *MultiSigAccCreate) Reset()

func (*MultiSigAccCreate) String

func (m *MultiSigAccCreate) String() string

func (*MultiSigAccCreate) XXX_DiscardUnknown

func (m *MultiSigAccCreate) XXX_DiscardUnknown()

func (*MultiSigAccCreate) XXX_Marshal

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

func (*MultiSigAccCreate) XXX_Merge

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

func (*MultiSigAccCreate) XXX_Size

func (m *MultiSigAccCreate) XXX_Size() int

func (*MultiSigAccCreate) XXX_Unmarshal

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

type MultiSigAccOperate

type MultiSigAccOperate struct {
	MultiSigAccAddr      string            `protobuf:"bytes,1,opt,name=multiSigAccAddr,proto3" json:"multiSigAccAddr,omitempty"`
	DailyLimit           *SymbolDailyLimit `protobuf:"bytes,2,opt,name=dailyLimit,proto3" json:"dailyLimit,omitempty"`
	NewRequiredWeight    uint64            `protobuf:"varint,3,opt,name=newRequiredWeight,proto3" json:"newRequiredWeight,omitempty"`
	OperateFlag          bool              `protobuf:"varint,4,opt,name=operateFlag,proto3" json:"operateFlag,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

对MultiSigAccount账户的操作:modify/add:SymbolDailyLimit,requiredweight 修改或者添加每日限额,或者请求权重的值。

func (*MultiSigAccOperate) Descriptor

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

func (*MultiSigAccOperate) GetDailyLimit

func (m *MultiSigAccOperate) GetDailyLimit() *SymbolDailyLimit

func (*MultiSigAccOperate) GetMultiSigAccAddr

func (m *MultiSigAccOperate) GetMultiSigAccAddr() string

func (*MultiSigAccOperate) GetNewRequiredWeight

func (m *MultiSigAccOperate) GetNewRequiredWeight() uint64

func (*MultiSigAccOperate) GetOperateFlag

func (m *MultiSigAccOperate) GetOperateFlag() bool

func (*MultiSigAccOperate) ProtoMessage

func (*MultiSigAccOperate) ProtoMessage()

func (*MultiSigAccOperate) Reset

func (m *MultiSigAccOperate) Reset()

func (*MultiSigAccOperate) String

func (m *MultiSigAccOperate) String() string

func (*MultiSigAccOperate) XXX_DiscardUnknown

func (m *MultiSigAccOperate) XXX_DiscardUnknown()

func (*MultiSigAccOperate) XXX_Marshal

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

func (*MultiSigAccOperate) XXX_Merge

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

func (*MultiSigAccOperate) XXX_Size

func (m *MultiSigAccOperate) XXX_Size() int

func (*MultiSigAccOperate) XXX_Unmarshal

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

type MultiSigAction

type MultiSigAction struct {
	// Types that are valid to be assigned to Value:
	//	*MultiSigAction_MultiSigAccCreate
	//	*MultiSigAction_MultiSigOwnerOperate
	//	*MultiSigAction_MultiSigAccOperate
	//	*MultiSigAction_MultiSigConfirmTx
	//	*MultiSigAction_MultiSigExecTransferTo
	//	*MultiSigAction_MultiSigExecTransferFrom
	Value                isMultiSigAction_Value `protobuf_oneof:"value"`
	Ty                   int32                  `protobuf:"varint,7,opt,name=Ty,proto3" json:"Ty,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

MultiSig 所有可能的交易action

func (*MultiSigAction) Descriptor

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

func (*MultiSigAction) GetMultiSigAccCreate

func (m *MultiSigAction) GetMultiSigAccCreate() *MultiSigAccCreate

func (*MultiSigAction) GetMultiSigAccOperate

func (m *MultiSigAction) GetMultiSigAccOperate() *MultiSigAccOperate

func (*MultiSigAction) GetMultiSigConfirmTx

func (m *MultiSigAction) GetMultiSigConfirmTx() *MultiSigConfirmTx

func (*MultiSigAction) GetMultiSigExecTransferFrom

func (m *MultiSigAction) GetMultiSigExecTransferFrom() *MultiSigExecTransferFrom

func (*MultiSigAction) GetMultiSigExecTransferTo

func (m *MultiSigAction) GetMultiSigExecTransferTo() *MultiSigExecTransferTo

func (*MultiSigAction) GetMultiSigOwnerOperate

func (m *MultiSigAction) GetMultiSigOwnerOperate() *MultiSigOwnerOperate

func (*MultiSigAction) GetTy

func (m *MultiSigAction) GetTy() int32

func (*MultiSigAction) GetValue

func (m *MultiSigAction) GetValue() isMultiSigAction_Value

func (*MultiSigAction) ProtoMessage

func (*MultiSigAction) ProtoMessage()

func (*MultiSigAction) Reset

func (m *MultiSigAction) Reset()

func (*MultiSigAction) String

func (m *MultiSigAction) String() string

func (*MultiSigAction) XXX_DiscardUnknown

func (m *MultiSigAction) XXX_DiscardUnknown()

func (*MultiSigAction) XXX_Marshal

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

func (*MultiSigAction) XXX_Merge

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

func (*MultiSigAction) XXX_OneofFuncs

func (*MultiSigAction) 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 (*MultiSigAction) XXX_Size

func (m *MultiSigAction) XXX_Size() int

func (*MultiSigAction) XXX_Unmarshal

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

type MultiSigAction_MultiSigAccCreate

type MultiSigAction_MultiSigAccCreate struct {
	MultiSigAccCreate *MultiSigAccCreate `protobuf:"bytes,1,opt,name=multiSigAccCreate,proto3,oneof"`
}

type MultiSigAction_MultiSigAccOperate

type MultiSigAction_MultiSigAccOperate struct {
	MultiSigAccOperate *MultiSigAccOperate `protobuf:"bytes,3,opt,name=multiSigAccOperate,proto3,oneof"`
}

type MultiSigAction_MultiSigConfirmTx

type MultiSigAction_MultiSigConfirmTx struct {
	MultiSigConfirmTx *MultiSigConfirmTx `protobuf:"bytes,4,opt,name=multiSigConfirmTx,proto3,oneof"`
}

type MultiSigAction_MultiSigExecTransferFrom

type MultiSigAction_MultiSigExecTransferFrom struct {
	MultiSigExecTransferFrom *MultiSigExecTransferFrom `protobuf:"bytes,6,opt,name=multiSigExecTransferFrom,proto3,oneof"`
}

type MultiSigAction_MultiSigExecTransferTo

type MultiSigAction_MultiSigExecTransferTo struct {
	MultiSigExecTransferTo *MultiSigExecTransferTo `protobuf:"bytes,5,opt,name=multiSigExecTransferTo,proto3,oneof"`
}

type MultiSigAction_MultiSigOwnerOperate

type MultiSigAction_MultiSigOwnerOperate struct {
	MultiSigOwnerOperate *MultiSigOwnerOperate `protobuf:"bytes,2,opt,name=multiSigOwnerOperate,proto3,oneof"`
}

type MultiSigConfirmTx

type MultiSigConfirmTx struct {
	MultiSigAccAddr      string   `protobuf:"bytes,1,opt,name=multiSigAccAddr,proto3" json:"multiSigAccAddr,omitempty"`
	TxId                 uint64   `protobuf:"varint,2,opt,name=txId,proto3" json:"txId,omitempty"`
	ConfirmOrRevoke      bool     `protobuf:"varint,3,opt,name=confirmOrRevoke,proto3" json:"confirmOrRevoke,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

多重签名账户withdraw交易的确认或者取消确认 multisigaccaddr:多重签名账户地址 transactionid:多重签名账户上的withdraw交易的内部id

func (*MultiSigConfirmTx) Descriptor

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

func (*MultiSigConfirmTx) GetConfirmOrRevoke

func (m *MultiSigConfirmTx) GetConfirmOrRevoke() bool

func (*MultiSigConfirmTx) GetMultiSigAccAddr

func (m *MultiSigConfirmTx) GetMultiSigAccAddr() string

func (*MultiSigConfirmTx) GetTxId

func (m *MultiSigConfirmTx) GetTxId() uint64

func (*MultiSigConfirmTx) ProtoMessage

func (*MultiSigConfirmTx) ProtoMessage()

func (*MultiSigConfirmTx) Reset

func (m *MultiSigConfirmTx) Reset()

func (*MultiSigConfirmTx) String

func (m *MultiSigConfirmTx) String() string

func (*MultiSigConfirmTx) XXX_DiscardUnknown

func (m *MultiSigConfirmTx) XXX_DiscardUnknown()

func (*MultiSigConfirmTx) XXX_Marshal

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

func (*MultiSigConfirmTx) XXX_Merge

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

func (*MultiSigConfirmTx) XXX_Size

func (m *MultiSigConfirmTx) XXX_Size() int

func (*MultiSigConfirmTx) XXX_Unmarshal

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

type MultiSigExecTransferFrom

type MultiSigExecTransferFrom struct {
	Symbol               string   `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string   `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Execname             string   `protobuf:"bytes,4,opt,name=execname,proto3" json:"execname,omitempty"`
	To                   string   `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"`
	From                 string   `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

多重签名合约中账户之间转币操作:增加一个from的字段实现MultiSigAddr--->addr之间的转账 需要判断from地址是否是多重签名地址 将MultiSig合约中from地址上execname+symbol的资产转移到to地址

func (*MultiSigExecTransferFrom) Descriptor

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

func (*MultiSigExecTransferFrom) GetAmount

func (m *MultiSigExecTransferFrom) GetAmount() int64

func (*MultiSigExecTransferFrom) GetExecname

func (m *MultiSigExecTransferFrom) GetExecname() string

func (*MultiSigExecTransferFrom) GetFrom

func (m *MultiSigExecTransferFrom) GetFrom() string

func (*MultiSigExecTransferFrom) GetNote

func (m *MultiSigExecTransferFrom) GetNote() string

func (*MultiSigExecTransferFrom) GetSymbol

func (m *MultiSigExecTransferFrom) GetSymbol() string

func (*MultiSigExecTransferFrom) GetTo

func (m *MultiSigExecTransferFrom) GetTo() string

func (*MultiSigExecTransferFrom) ProtoMessage

func (*MultiSigExecTransferFrom) ProtoMessage()

func (*MultiSigExecTransferFrom) Reset

func (m *MultiSigExecTransferFrom) Reset()

func (*MultiSigExecTransferFrom) String

func (m *MultiSigExecTransferFrom) String() string

func (*MultiSigExecTransferFrom) XXX_DiscardUnknown

func (m *MultiSigExecTransferFrom) XXX_DiscardUnknown()

func (*MultiSigExecTransferFrom) XXX_Marshal

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

func (*MultiSigExecTransferFrom) XXX_Merge

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

func (*MultiSigExecTransferFrom) XXX_Size

func (m *MultiSigExecTransferFrom) XXX_Size() int

func (*MultiSigExecTransferFrom) XXX_Unmarshal

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

type MultiSigExecTransferTo

type MultiSigExecTransferTo struct {
	Symbol               string   `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Amount               int64    `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Note                 string   `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`
	Execname             string   `protobuf:"bytes,4,opt,name=execname,proto3" json:"execname,omitempty"`
	To                   string   `protobuf:"bytes,5,opt,name=to,proto3" json:"to,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

多重签名合约中账户之间转币操作: addr --->MultiSigAddr之间的转账 需要判断to地址是否是多重签名地址 将MultiSig合约中签名地址上execname+symbol的资产转移到to地址

func (*MultiSigExecTransferTo) Descriptor

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

func (*MultiSigExecTransferTo) GetAmount

func (m *MultiSigExecTransferTo) GetAmount() int64

func (*MultiSigExecTransferTo) GetExecname

func (m *MultiSigExecTransferTo) GetExecname() string

func (*MultiSigExecTransferTo) GetNote

func (m *MultiSigExecTransferTo) GetNote() string

func (*MultiSigExecTransferTo) GetSymbol

func (m *MultiSigExecTransferTo) GetSymbol() string

func (*MultiSigExecTransferTo) GetTo

func (m *MultiSigExecTransferTo) GetTo() string

func (*MultiSigExecTransferTo) ProtoMessage

func (*MultiSigExecTransferTo) ProtoMessage()

func (*MultiSigExecTransferTo) Reset

func (m *MultiSigExecTransferTo) Reset()

func (*MultiSigExecTransferTo) String

func (m *MultiSigExecTransferTo) String() string

func (*MultiSigExecTransferTo) XXX_DiscardUnknown

func (m *MultiSigExecTransferTo) XXX_DiscardUnknown()

func (*MultiSigExecTransferTo) XXX_Marshal

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

func (*MultiSigExecTransferTo) XXX_Merge

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

func (*MultiSigExecTransferTo) XXX_Size

func (m *MultiSigExecTransferTo) XXX_Size() int

func (*MultiSigExecTransferTo) XXX_Unmarshal

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

type MultiSigOwnerOperate

type MultiSigOwnerOperate struct {
	MultiSigAccAddr      string   `protobuf:"bytes,1,opt,name=multiSigAccAddr,proto3" json:"multiSigAccAddr,omitempty"`
	OldOwner             string   `protobuf:"bytes,2,opt,name=oldOwner,proto3" json:"oldOwner,omitempty"`
	NewOwner             string   `protobuf:"bytes,3,opt,name=newOwner,proto3" json:"newOwner,omitempty"`
	NewWeight            uint64   `protobuf:"varint,4,opt,name=newWeight,proto3" json:"newWeight,omitempty"`
	OperateFlag          uint64   `protobuf:"varint,5,opt,name=operateFlag,proto3" json:"operateFlag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

对MultiSigAccount账户owner的操作:add/del/replace/modify

func (*MultiSigOwnerOperate) Descriptor

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

func (*MultiSigOwnerOperate) GetMultiSigAccAddr

func (m *MultiSigOwnerOperate) GetMultiSigAccAddr() string

func (*MultiSigOwnerOperate) GetNewOwner

func (m *MultiSigOwnerOperate) GetNewOwner() string

func (*MultiSigOwnerOperate) GetNewWeight

func (m *MultiSigOwnerOperate) GetNewWeight() uint64

func (*MultiSigOwnerOperate) GetOldOwner

func (m *MultiSigOwnerOperate) GetOldOwner() string

func (*MultiSigOwnerOperate) GetOperateFlag

func (m *MultiSigOwnerOperate) GetOperateFlag() uint64

func (*MultiSigOwnerOperate) ProtoMessage

func (*MultiSigOwnerOperate) ProtoMessage()

func (*MultiSigOwnerOperate) Reset

func (m *MultiSigOwnerOperate) Reset()

func (*MultiSigOwnerOperate) String

func (m *MultiSigOwnerOperate) String() string

func (*MultiSigOwnerOperate) XXX_DiscardUnknown

func (m *MultiSigOwnerOperate) XXX_DiscardUnknown()

func (*MultiSigOwnerOperate) XXX_Marshal

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

func (*MultiSigOwnerOperate) XXX_Merge

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

func (*MultiSigOwnerOperate) XXX_Size

func (m *MultiSigOwnerOperate) XXX_Size() int

func (*MultiSigOwnerOperate) XXX_Unmarshal

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

type MultiSigResult

type MultiSigResult struct {
	CreateAddr     string              `json:"createAddr,omitempty"`
	MultiSigAddr   string              `json:"multiSigAddr,omitempty"`
	Owners         []*Owner            `json:"owners,omitempty"`
	DailyLimits    []*DailyLimitResult `json:"dailyLimits,omitempty"`
	TxCount        uint64              `json:"txCount,omitempty"`
	RequiredWeight uint64              `json:"requiredWeight,omitempty"`
}

MultiSigResult 多重签名账户信息的显示cli

type MultiSigTx

type MultiSigTx struct {
	Txid                 uint64   `protobuf:"varint,1,opt,name=txid,proto3" json:"txid,omitempty"`
	TxHash               string   `protobuf:"bytes,2,opt,name=txHash,proto3" json:"txHash,omitempty"`
	Executed             bool     `protobuf:"varint,3,opt,name=executed,proto3" json:"executed,omitempty"`
	TxType               uint64   `protobuf:"varint,4,opt,name=txType,proto3" json:"txType,omitempty"`
	MultiSigAddr         string   `protobuf:"bytes,5,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	ConfirmedOwner       []*Owner `protobuf:"bytes,6,rep,name=confirmedOwner,proto3" json:"confirmedOwner,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

记录提交的交易详情,在满足确认条件后执行data中的交易 txHash:用于存贮提交的确认交易。存贮在localdb中,通过txhash可以获取

func (*MultiSigTx) Descriptor

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

func (*MultiSigTx) GetConfirmedOwner

func (m *MultiSigTx) GetConfirmedOwner() []*Owner

func (*MultiSigTx) GetExecuted

func (m *MultiSigTx) GetExecuted() bool

func (*MultiSigTx) GetMultiSigAddr

func (m *MultiSigTx) GetMultiSigAddr() string

func (*MultiSigTx) GetTxHash

func (m *MultiSigTx) GetTxHash() string

func (*MultiSigTx) GetTxType

func (m *MultiSigTx) GetTxType() uint64

func (*MultiSigTx) GetTxid

func (m *MultiSigTx) GetTxid() uint64

func (*MultiSigTx) ProtoMessage

func (*MultiSigTx) ProtoMessage()

func (*MultiSigTx) Reset

func (m *MultiSigTx) Reset()

func (*MultiSigTx) String

func (m *MultiSigTx) String() string

func (*MultiSigTx) XXX_DiscardUnknown

func (m *MultiSigTx) XXX_DiscardUnknown()

func (*MultiSigTx) XXX_Marshal

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

func (*MultiSigTx) XXX_Merge

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

func (*MultiSigTx) XXX_Size

func (m *MultiSigTx) XXX_Size() int

func (*MultiSigTx) XXX_Unmarshal

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

type MultiSigTxOwner

type MultiSigTxOwner struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Txid                 uint64   `protobuf:"varint,2,opt,name=txid,proto3" json:"txid,omitempty"`
	ConfirmedOwner       *Owner   `protobuf:"bytes,3,opt,name=confirmedOwner,proto3" json:"confirmedOwner,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MultiSigTxOwner) Descriptor

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

func (*MultiSigTxOwner) GetConfirmedOwner

func (m *MultiSigTxOwner) GetConfirmedOwner() *Owner

func (*MultiSigTxOwner) GetMultiSigAddr

func (m *MultiSigTxOwner) GetMultiSigAddr() string

func (*MultiSigTxOwner) GetTxid

func (m *MultiSigTxOwner) GetTxid() uint64

func (*MultiSigTxOwner) ProtoMessage

func (*MultiSigTxOwner) ProtoMessage()

func (*MultiSigTxOwner) Reset

func (m *MultiSigTxOwner) Reset()

func (*MultiSigTxOwner) String

func (m *MultiSigTxOwner) String() string

func (*MultiSigTxOwner) XXX_DiscardUnknown

func (m *MultiSigTxOwner) XXX_DiscardUnknown()

func (*MultiSigTxOwner) XXX_Marshal

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

func (*MultiSigTxOwner) XXX_Merge

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

func (*MultiSigTxOwner) XXX_Size

func (m *MultiSigTxOwner) XXX_Size() int

func (*MultiSigTxOwner) XXX_Unmarshal

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

type MultiSigType

type MultiSigType struct {
	types.ExecTypeBase
}

MultiSigType multisig合约结构体

func NewType

func NewType() *MultiSigType

NewType new一个新的multisig合约实例

func (MultiSigType) ActionName

func (m MultiSigType) ActionName(tx *types.Transaction) string

ActionName 获取actionid对应的name

func (MultiSigType) DecodePayload

func (m MultiSigType) DecodePayload(tx *types.Transaction) (types.Message, error)

DecodePayload 解码交易的Payload信息

func (*MultiSigType) GetLogMap

func (m *MultiSigType) GetLogMap() map[int64]*types.LogInfo

GetLogMap 获取具体执行Receiptlog对应的结构体:

func (*MultiSigType) GetName

func (m *MultiSigType) GetName() string

GetName 获取合约name

func (*MultiSigType) GetPayload

func (m *MultiSigType) GetPayload() types.Message

GetPayload 获取交易payload的结构体信息:也就是multisig.pb.go中定义的具体交易类型结构体

func (*MultiSigType) GetTypeMap

func (m *MultiSigType) GetTypeMap() map[string]int32

GetTypeMap 获取处理具体交易的接口函数,也就是exec.go中的函数实现,去掉EXEC_

type Owner

type Owner struct {
	OwnerAddr            string   `protobuf:"bytes,1,opt,name=ownerAddr,proto3" json:"ownerAddr,omitempty"`
	Weight               uint64   `protobuf:"varint,2,opt,name=weight,proto3" json:"weight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

owner 结构体:owner账户地址,以及权重

func (*Owner) Descriptor

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

func (*Owner) GetOwnerAddr

func (m *Owner) GetOwnerAddr() string

func (*Owner) GetWeight

func (m *Owner) GetWeight() uint64

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) Reset

func (m *Owner) Reset()

func (*Owner) String

func (m *Owner) String() string

func (*Owner) XXX_DiscardUnknown

func (m *Owner) XXX_DiscardUnknown()

func (*Owner) XXX_Marshal

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

func (*Owner) XXX_Merge

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

func (*Owner) XXX_Size

func (m *Owner) XXX_Size() int

func (*Owner) XXX_Unmarshal

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

type OwnerAttr

type OwnerAttr struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	OwnerAddr            string   `protobuf:"bytes,2,opt,name=ownerAddr,proto3" json:"ownerAddr,omitempty"`
	Weight               uint64   `protobuf:"varint,3,opt,name=weight,proto3" json:"weight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

owner拥有的多重签名账户信息

func (*OwnerAttr) Descriptor

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

func (*OwnerAttr) GetMultiSigAddr

func (m *OwnerAttr) GetMultiSigAddr() string

func (*OwnerAttr) GetOwnerAddr

func (m *OwnerAttr) GetOwnerAddr() string

func (*OwnerAttr) GetWeight

func (m *OwnerAttr) GetWeight() uint64

func (*OwnerAttr) ProtoMessage

func (*OwnerAttr) ProtoMessage()

func (*OwnerAttr) Reset

func (m *OwnerAttr) Reset()

func (*OwnerAttr) String

func (m *OwnerAttr) String() string

func (*OwnerAttr) XXX_DiscardUnknown

func (m *OwnerAttr) XXX_DiscardUnknown()

func (*OwnerAttr) XXX_Marshal

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

func (*OwnerAttr) XXX_Merge

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

func (*OwnerAttr) XXX_Size

func (m *OwnerAttr) XXX_Size() int

func (*OwnerAttr) XXX_Unmarshal

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

type OwnerAttrs

type OwnerAttrs struct {
	Items                []*OwnerAttr `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*OwnerAttrs) Descriptor

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

func (*OwnerAttrs) GetItems

func (m *OwnerAttrs) GetItems() []*OwnerAttr

func (*OwnerAttrs) ProtoMessage

func (*OwnerAttrs) ProtoMessage()

func (*OwnerAttrs) Reset

func (m *OwnerAttrs) Reset()

func (*OwnerAttrs) String

func (m *OwnerAttrs) String() string

func (*OwnerAttrs) XXX_DiscardUnknown

func (m *OwnerAttrs) XXX_DiscardUnknown()

func (*OwnerAttrs) XXX_Marshal

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

func (*OwnerAttrs) XXX_Merge

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

func (*OwnerAttrs) XXX_Size

func (m *OwnerAttrs) XXX_Size() int

func (*OwnerAttrs) XXX_Unmarshal

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

type ReceiptAccDailyLimitUpdate

type ReceiptAccDailyLimitUpdate struct {
	MultiSigAddr         string      `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	PrevDailyLimit       *DailyLimit `protobuf:"bytes,2,opt,name=prevDailyLimit,proto3" json:"prevDailyLimit,omitempty"`
	CurDailyLimit        *DailyLimit `protobuf:"bytes,3,opt,name=curDailyLimit,proto3" json:"curDailyLimit,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

可能会修改dailyLimit的相关属性

func (*ReceiptAccDailyLimitUpdate) Descriptor

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

func (*ReceiptAccDailyLimitUpdate) GetCurDailyLimit

func (m *ReceiptAccDailyLimitUpdate) GetCurDailyLimit() *DailyLimit

func (*ReceiptAccDailyLimitUpdate) GetMultiSigAddr

func (m *ReceiptAccDailyLimitUpdate) GetMultiSigAddr() string

func (*ReceiptAccDailyLimitUpdate) GetPrevDailyLimit

func (m *ReceiptAccDailyLimitUpdate) GetPrevDailyLimit() *DailyLimit

func (*ReceiptAccDailyLimitUpdate) ProtoMessage

func (*ReceiptAccDailyLimitUpdate) ProtoMessage()

func (*ReceiptAccDailyLimitUpdate) Reset

func (m *ReceiptAccDailyLimitUpdate) Reset()

func (*ReceiptAccDailyLimitUpdate) String

func (m *ReceiptAccDailyLimitUpdate) String() string

func (*ReceiptAccDailyLimitUpdate) XXX_DiscardUnknown

func (m *ReceiptAccDailyLimitUpdate) XXX_DiscardUnknown()

func (*ReceiptAccDailyLimitUpdate) XXX_Marshal

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

func (*ReceiptAccDailyLimitUpdate) XXX_Merge

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

func (*ReceiptAccDailyLimitUpdate) XXX_Size

func (m *ReceiptAccDailyLimitUpdate) XXX_Size() int

func (*ReceiptAccDailyLimitUpdate) XXX_Unmarshal

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

type ReceiptConfirmTx

type ReceiptConfirmTx struct {
	MultiSigTxOwner      *MultiSigTxOwner `protobuf:"bytes,1,opt,name=multiSigTxOwner,proto3" json:"multiSigTxOwner,omitempty"`
	ConfirmeOrRevoke     bool             `protobuf:"varint,2,opt,name=confirmeOrRevoke,proto3" json:"confirmeOrRevoke,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

交易确认或者撤销(撤销值针对未执行的交易) TyLogMultiSigConfirmTx = 10008 //输出确认的交易id,以及owner信息:addr+weight TyLogMultiSigConfirmTxRevoke = 10009 //输出撤销确认的交易id,以及owner信息:addr+weight

func (*ReceiptConfirmTx) Descriptor

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

func (*ReceiptConfirmTx) GetConfirmeOrRevoke

func (m *ReceiptConfirmTx) GetConfirmeOrRevoke() bool

func (*ReceiptConfirmTx) GetMultiSigTxOwner

func (m *ReceiptConfirmTx) GetMultiSigTxOwner() *MultiSigTxOwner

func (*ReceiptConfirmTx) ProtoMessage

func (*ReceiptConfirmTx) ProtoMessage()

func (*ReceiptConfirmTx) Reset

func (m *ReceiptConfirmTx) Reset()

func (*ReceiptConfirmTx) String

func (m *ReceiptConfirmTx) String() string

func (*ReceiptConfirmTx) XXX_DiscardUnknown

func (m *ReceiptConfirmTx) XXX_DiscardUnknown()

func (*ReceiptConfirmTx) XXX_Marshal

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

func (*ReceiptConfirmTx) XXX_Merge

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

func (*ReceiptConfirmTx) XXX_Size

func (m *ReceiptConfirmTx) XXX_Size() int

func (*ReceiptConfirmTx) XXX_Unmarshal

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

type ReceiptDailyLimitOperate

type ReceiptDailyLimitOperate struct {
	MultiSigAddr         string      `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	PrevDailyLimit       *DailyLimit `protobuf:"bytes,2,opt,name=prevDailyLimit,proto3" json:"prevDailyLimit,omitempty"`
	CurDailyLimit        *DailyLimit `protobuf:"bytes,3,opt,name=curDailyLimit,proto3" json:"curDailyLimit,omitempty"`
	AddOrModify          bool        `protobuf:"varint,4,opt,name=addOrModify,proto3" json:"addOrModify,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

TyLogMultiSigAccDailyLimitAdd = 10006 //输出add的DailyLimit:Symbol和DailyLimit TyLogMultiSigAccDailyLimitModify = 10007 //输出modify的DailyLimit:preDailyLimit以及currentDailyLimit

func (*ReceiptDailyLimitOperate) Descriptor

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

func (*ReceiptDailyLimitOperate) GetAddOrModify

func (m *ReceiptDailyLimitOperate) GetAddOrModify() bool

func (*ReceiptDailyLimitOperate) GetCurDailyLimit

func (m *ReceiptDailyLimitOperate) GetCurDailyLimit() *DailyLimit

func (*ReceiptDailyLimitOperate) GetMultiSigAddr

func (m *ReceiptDailyLimitOperate) GetMultiSigAddr() string

func (*ReceiptDailyLimitOperate) GetPrevDailyLimit

func (m *ReceiptDailyLimitOperate) GetPrevDailyLimit() *DailyLimit

func (*ReceiptDailyLimitOperate) ProtoMessage

func (*ReceiptDailyLimitOperate) ProtoMessage()

func (*ReceiptDailyLimitOperate) Reset

func (m *ReceiptDailyLimitOperate) Reset()

func (*ReceiptDailyLimitOperate) String

func (m *ReceiptDailyLimitOperate) String() string

func (*ReceiptDailyLimitOperate) XXX_DiscardUnknown

func (m *ReceiptDailyLimitOperate) XXX_DiscardUnknown()

func (*ReceiptDailyLimitOperate) XXX_Marshal

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

func (*ReceiptDailyLimitOperate) XXX_Merge

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

func (*ReceiptDailyLimitOperate) XXX_Size

func (m *ReceiptDailyLimitOperate) XXX_Size() int

func (*ReceiptDailyLimitOperate) XXX_Unmarshal

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

type ReceiptMultiSig

type ReceiptMultiSig struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TyLogMultiSigAccCreate交易的执行Receipt

func (*ReceiptMultiSig) Descriptor

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

func (*ReceiptMultiSig) GetMultiSigAddr

func (m *ReceiptMultiSig) GetMultiSigAddr() string

func (*ReceiptMultiSig) ProtoMessage

func (*ReceiptMultiSig) ProtoMessage()

func (*ReceiptMultiSig) Reset

func (m *ReceiptMultiSig) Reset()

func (*ReceiptMultiSig) String

func (m *ReceiptMultiSig) String() string

func (*ReceiptMultiSig) XXX_DiscardUnknown

func (m *ReceiptMultiSig) XXX_DiscardUnknown()

func (*ReceiptMultiSig) XXX_Marshal

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

func (*ReceiptMultiSig) XXX_Merge

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

func (*ReceiptMultiSig) XXX_Size

func (m *ReceiptMultiSig) XXX_Size() int

func (*ReceiptMultiSig) XXX_Unmarshal

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

type ReceiptMultiSigTx

type ReceiptMultiSigTx struct {
	MultiSigTxOwner      *MultiSigTxOwner `protobuf:"bytes,1,opt,name=multiSigTxOwner,proto3" json:"multiSigTxOwner,omitempty"`
	PrevExecuted         bool             `protobuf:"varint,2,opt,name=prevExecuted,proto3" json:"prevExecuted,omitempty"`
	CurExecuted          bool             `protobuf:"varint,3,opt,name=curExecuted,proto3" json:"curExecuted,omitempty"`
	SubmitOrConfirm      bool             `protobuf:"varint,4,opt,name=submitOrConfirm,proto3" json:"submitOrConfirm,omitempty"`
	TxHash               string           `protobuf:"bytes,5,opt,name=txHash,proto3" json:"txHash,omitempty"`
	TxType               uint64           `protobuf:"varint,6,opt,name=txType,proto3" json:"txType,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

执行MultiSigAcc相关的交易可能会修改tx的执行状态和增加确认owner

func (*ReceiptMultiSigTx) Descriptor

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

func (*ReceiptMultiSigTx) GetCurExecuted

func (m *ReceiptMultiSigTx) GetCurExecuted() bool

func (*ReceiptMultiSigTx) GetMultiSigTxOwner

func (m *ReceiptMultiSigTx) GetMultiSigTxOwner() *MultiSigTxOwner

func (*ReceiptMultiSigTx) GetPrevExecuted

func (m *ReceiptMultiSigTx) GetPrevExecuted() bool

func (*ReceiptMultiSigTx) GetSubmitOrConfirm

func (m *ReceiptMultiSigTx) GetSubmitOrConfirm() bool

func (*ReceiptMultiSigTx) GetTxHash

func (m *ReceiptMultiSigTx) GetTxHash() string

func (*ReceiptMultiSigTx) GetTxType

func (m *ReceiptMultiSigTx) GetTxType() uint64

func (*ReceiptMultiSigTx) ProtoMessage

func (*ReceiptMultiSigTx) ProtoMessage()

func (*ReceiptMultiSigTx) Reset

func (m *ReceiptMultiSigTx) Reset()

func (*ReceiptMultiSigTx) String

func (m *ReceiptMultiSigTx) String() string

func (*ReceiptMultiSigTx) XXX_DiscardUnknown

func (m *ReceiptMultiSigTx) XXX_DiscardUnknown()

func (*ReceiptMultiSigTx) XXX_Marshal

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

func (*ReceiptMultiSigTx) XXX_Merge

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

func (*ReceiptMultiSigTx) XXX_Size

func (m *ReceiptMultiSigTx) XXX_Size() int

func (*ReceiptMultiSigTx) XXX_Unmarshal

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

type ReceiptOwnerAddOrDel

type ReceiptOwnerAddOrDel struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Owner                *Owner   `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	AddOrDel             bool     `protobuf:"varint,3,opt,name=addOrDel,proto3" json:"addOrDel,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptOwnerAddOrDel) Descriptor

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

func (*ReceiptOwnerAddOrDel) GetAddOrDel

func (m *ReceiptOwnerAddOrDel) GetAddOrDel() bool

func (*ReceiptOwnerAddOrDel) GetMultiSigAddr

func (m *ReceiptOwnerAddOrDel) GetMultiSigAddr() string

func (*ReceiptOwnerAddOrDel) GetOwner

func (m *ReceiptOwnerAddOrDel) GetOwner() *Owner

func (*ReceiptOwnerAddOrDel) ProtoMessage

func (*ReceiptOwnerAddOrDel) ProtoMessage()

func (*ReceiptOwnerAddOrDel) Reset

func (m *ReceiptOwnerAddOrDel) Reset()

func (*ReceiptOwnerAddOrDel) String

func (m *ReceiptOwnerAddOrDel) String() string

func (*ReceiptOwnerAddOrDel) XXX_DiscardUnknown

func (m *ReceiptOwnerAddOrDel) XXX_DiscardUnknown()

func (*ReceiptOwnerAddOrDel) XXX_Marshal

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

func (*ReceiptOwnerAddOrDel) XXX_Merge

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

func (*ReceiptOwnerAddOrDel) XXX_Size

func (m *ReceiptOwnerAddOrDel) XXX_Size() int

func (*ReceiptOwnerAddOrDel) XXX_Unmarshal

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

type ReceiptOwnerModOrRep

type ReceiptOwnerModOrRep struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	PrevOwner            *Owner   `protobuf:"bytes,2,opt,name=prevOwner,proto3" json:"prevOwner,omitempty"`
	CurrentOwner         *Owner   `protobuf:"bytes,3,opt,name=currentOwner,proto3" json:"currentOwner,omitempty"`
	ModOrRep             bool     `protobuf:"varint,4,opt,name=modOrRep,proto3" json:"modOrRep,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TyLogMultiSigOwnerModify = 10003 //输出modify的owner:preweight以及currentweight TyLogMultiSigOwnerReplace = 10004 //输出old的owner的信息:以及当前的owner信息:addr+weight

func (*ReceiptOwnerModOrRep) Descriptor

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

func (*ReceiptOwnerModOrRep) GetCurrentOwner

func (m *ReceiptOwnerModOrRep) GetCurrentOwner() *Owner

func (*ReceiptOwnerModOrRep) GetModOrRep

func (m *ReceiptOwnerModOrRep) GetModOrRep() bool

func (*ReceiptOwnerModOrRep) GetMultiSigAddr

func (m *ReceiptOwnerModOrRep) GetMultiSigAddr() string

func (*ReceiptOwnerModOrRep) GetPrevOwner

func (m *ReceiptOwnerModOrRep) GetPrevOwner() *Owner

func (*ReceiptOwnerModOrRep) ProtoMessage

func (*ReceiptOwnerModOrRep) ProtoMessage()

func (*ReceiptOwnerModOrRep) Reset

func (m *ReceiptOwnerModOrRep) Reset()

func (*ReceiptOwnerModOrRep) String

func (m *ReceiptOwnerModOrRep) String() string

func (*ReceiptOwnerModOrRep) XXX_DiscardUnknown

func (m *ReceiptOwnerModOrRep) XXX_DiscardUnknown()

func (*ReceiptOwnerModOrRep) XXX_Marshal

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

func (*ReceiptOwnerModOrRep) XXX_Merge

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

func (*ReceiptOwnerModOrRep) XXX_Size

func (m *ReceiptOwnerModOrRep) XXX_Size() int

func (*ReceiptOwnerModOrRep) XXX_Unmarshal

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

type ReceiptTxCountUpdate

type ReceiptTxCountUpdate struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	CurTxCount           uint64   `protobuf:"varint,2,opt,name=curTxCount,proto3" json:"curTxCount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReceiptTxCountUpdate) Descriptor

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

func (*ReceiptTxCountUpdate) GetCurTxCount

func (m *ReceiptTxCountUpdate) GetCurTxCount() uint64

func (*ReceiptTxCountUpdate) GetMultiSigAddr

func (m *ReceiptTxCountUpdate) GetMultiSigAddr() string

func (*ReceiptTxCountUpdate) ProtoMessage

func (*ReceiptTxCountUpdate) ProtoMessage()

func (*ReceiptTxCountUpdate) Reset

func (m *ReceiptTxCountUpdate) Reset()

func (*ReceiptTxCountUpdate) String

func (m *ReceiptTxCountUpdate) String() string

func (*ReceiptTxCountUpdate) XXX_DiscardUnknown

func (m *ReceiptTxCountUpdate) XXX_DiscardUnknown()

func (*ReceiptTxCountUpdate) XXX_Marshal

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

func (*ReceiptTxCountUpdate) XXX_Merge

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

func (*ReceiptTxCountUpdate) XXX_Size

func (m *ReceiptTxCountUpdate) XXX_Size() int

func (*ReceiptTxCountUpdate) XXX_Unmarshal

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

type ReceiptWeightModify

type ReceiptWeightModify struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	PrevWeight           uint64   `protobuf:"varint,2,opt,name=prevWeight,proto3" json:"prevWeight,omitempty"`
	CurrentWeight        uint64   `protobuf:"varint,3,opt,name=currentWeight,proto3" json:"currentWeight,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

多重签名账户的操作:ReqWeight,AssetDailyLimit TyLogMultiSigAccWeightModify = 10005 //输出修改前后确认权重的值:preReqWeight和curReqWeight

func (*ReceiptWeightModify) Descriptor

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

func (*ReceiptWeightModify) GetCurrentWeight

func (m *ReceiptWeightModify) GetCurrentWeight() uint64

func (*ReceiptWeightModify) GetMultiSigAddr

func (m *ReceiptWeightModify) GetMultiSigAddr() string

func (*ReceiptWeightModify) GetPrevWeight

func (m *ReceiptWeightModify) GetPrevWeight() uint64

func (*ReceiptWeightModify) ProtoMessage

func (*ReceiptWeightModify) ProtoMessage()

func (*ReceiptWeightModify) Reset

func (m *ReceiptWeightModify) Reset()

func (*ReceiptWeightModify) String

func (m *ReceiptWeightModify) String() string

func (*ReceiptWeightModify) XXX_DiscardUnknown

func (m *ReceiptWeightModify) XXX_DiscardUnknown()

func (*ReceiptWeightModify) XXX_Marshal

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

func (*ReceiptWeightModify) XXX_Merge

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

func (*ReceiptWeightModify) XXX_Size

func (m *ReceiptWeightModify) XXX_Size() int

func (*ReceiptWeightModify) XXX_Unmarshal

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

type ReplyAccAssets

type ReplyAccAssets struct {
	AccAssets            []*AccAssets `protobuf:"bytes,1,rep,name=accAssets,proto3" json:"accAssets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ReplyAccAssets) Descriptor

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

func (*ReplyAccAssets) GetAccAssets

func (m *ReplyAccAssets) GetAccAssets() []*AccAssets

func (*ReplyAccAssets) ProtoMessage

func (*ReplyAccAssets) ProtoMessage()

func (*ReplyAccAssets) Reset

func (m *ReplyAccAssets) Reset()

func (*ReplyAccAssets) String

func (m *ReplyAccAssets) String() string

func (*ReplyAccAssets) XXX_DiscardUnknown

func (m *ReplyAccAssets) XXX_DiscardUnknown()

func (*ReplyAccAssets) XXX_Marshal

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

func (*ReplyAccAssets) XXX_Merge

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

func (*ReplyAccAssets) XXX_Size

func (m *ReplyAccAssets) XXX_Size() int

func (*ReplyAccAssets) XXX_Unmarshal

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

type ReplyMultiSigAccInfo

type ReplyMultiSigAccInfo struct {
	CreateAddr           string        `protobuf:"bytes,1,opt,name=createAddr,proto3" json:"createAddr,omitempty"`
	MultiSigAddr         string        `protobuf:"bytes,2,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Owners               []*Owner      `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners,omitempty"`
	DailyLimits          []*DailyLimit `protobuf:"bytes,4,rep,name=dailyLimits,proto3" json:"dailyLimits,omitempty"`
	TxCount              uint64        `protobuf:"varint,5,opt,name=txCount,proto3" json:"txCount,omitempty"`
	RequiredWeight       uint64        `protobuf:"varint,6,opt,name=requiredWeight,proto3" json:"requiredWeight,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

指定多重签名账号的状态信息

func (*ReplyMultiSigAccInfo) Descriptor

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

func (*ReplyMultiSigAccInfo) GetCreateAddr

func (m *ReplyMultiSigAccInfo) GetCreateAddr() string

func (*ReplyMultiSigAccInfo) GetDailyLimits

func (m *ReplyMultiSigAccInfo) GetDailyLimits() []*DailyLimit

func (*ReplyMultiSigAccInfo) GetMultiSigAddr

func (m *ReplyMultiSigAccInfo) GetMultiSigAddr() string

func (*ReplyMultiSigAccInfo) GetOwners

func (m *ReplyMultiSigAccInfo) GetOwners() []*Owner

func (*ReplyMultiSigAccInfo) GetRequiredWeight

func (m *ReplyMultiSigAccInfo) GetRequiredWeight() uint64

func (*ReplyMultiSigAccInfo) GetTxCount

func (m *ReplyMultiSigAccInfo) GetTxCount() uint64

func (*ReplyMultiSigAccInfo) ProtoMessage

func (*ReplyMultiSigAccInfo) ProtoMessage()

func (*ReplyMultiSigAccInfo) Reset

func (m *ReplyMultiSigAccInfo) Reset()

func (*ReplyMultiSigAccInfo) String

func (m *ReplyMultiSigAccInfo) String() string

func (*ReplyMultiSigAccInfo) XXX_DiscardUnknown

func (m *ReplyMultiSigAccInfo) XXX_DiscardUnknown()

func (*ReplyMultiSigAccInfo) XXX_Marshal

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

func (*ReplyMultiSigAccInfo) XXX_Merge

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

func (*ReplyMultiSigAccInfo) XXX_Size

func (m *ReplyMultiSigAccInfo) XXX_Size() int

func (*ReplyMultiSigAccInfo) XXX_Unmarshal

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

type ReplyMultiSigAccs

type ReplyMultiSigAccs struct {
	Address              []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReplyMultiSigAccs) Descriptor

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

func (*ReplyMultiSigAccs) GetAddress

func (m *ReplyMultiSigAccs) GetAddress() []string

func (*ReplyMultiSigAccs) ProtoMessage

func (*ReplyMultiSigAccs) ProtoMessage()

func (*ReplyMultiSigAccs) Reset

func (m *ReplyMultiSigAccs) Reset()

func (*ReplyMultiSigAccs) String

func (m *ReplyMultiSigAccs) String() string

func (*ReplyMultiSigAccs) XXX_DiscardUnknown

func (m *ReplyMultiSigAccs) XXX_DiscardUnknown()

func (*ReplyMultiSigAccs) XXX_Marshal

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

func (*ReplyMultiSigAccs) XXX_Merge

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

func (*ReplyMultiSigAccs) XXX_Size

func (m *ReplyMultiSigAccs) XXX_Size() int

func (*ReplyMultiSigAccs) XXX_Unmarshal

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

type ReplyMultiSigTxInfo

type ReplyMultiSigTxInfo struct {
	MultiSigTxInfo       *MultiSigTx `protobuf:"bytes,1,opt,name=multiSigTxInfo,proto3" json:"multiSigTxInfo,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ReplyMultiSigTxInfo) Descriptor

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

func (*ReplyMultiSigTxInfo) GetMultiSigTxInfo

func (m *ReplyMultiSigTxInfo) GetMultiSigTxInfo() *MultiSigTx

func (*ReplyMultiSigTxInfo) ProtoMessage

func (*ReplyMultiSigTxInfo) ProtoMessage()

func (*ReplyMultiSigTxInfo) Reset

func (m *ReplyMultiSigTxInfo) Reset()

func (*ReplyMultiSigTxInfo) String

func (m *ReplyMultiSigTxInfo) String() string

func (*ReplyMultiSigTxInfo) XXX_DiscardUnknown

func (m *ReplyMultiSigTxInfo) XXX_DiscardUnknown()

func (*ReplyMultiSigTxInfo) XXX_Marshal

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

func (*ReplyMultiSigTxInfo) XXX_Merge

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

func (*ReplyMultiSigTxInfo) XXX_Size

func (m *ReplyMultiSigTxInfo) XXX_Size() int

func (*ReplyMultiSigTxInfo) XXX_Unmarshal

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

type ReplyMultiSigTxids

type ReplyMultiSigTxids struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Txids                []uint64 `protobuf:"varint,2,rep,packed,name=txids,proto3" json:"txids,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ReplyMultiSigTxids) Descriptor

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

func (*ReplyMultiSigTxids) GetMultiSigAddr

func (m *ReplyMultiSigTxids) GetMultiSigAddr() string

func (*ReplyMultiSigTxids) GetTxids

func (m *ReplyMultiSigTxids) GetTxids() []uint64

func (*ReplyMultiSigTxids) ProtoMessage

func (*ReplyMultiSigTxids) ProtoMessage()

func (*ReplyMultiSigTxids) Reset

func (m *ReplyMultiSigTxids) Reset()

func (*ReplyMultiSigTxids) String

func (m *ReplyMultiSigTxids) String() string

func (*ReplyMultiSigTxids) XXX_DiscardUnknown

func (m *ReplyMultiSigTxids) XXX_DiscardUnknown()

func (*ReplyMultiSigTxids) XXX_Marshal

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

func (*ReplyMultiSigTxids) XXX_Merge

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

func (*ReplyMultiSigTxids) XXX_Size

func (m *ReplyMultiSigTxids) XXX_Size() int

func (*ReplyMultiSigTxids) XXX_Unmarshal

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

type ReplyUnSpentAssets

type ReplyUnSpentAssets struct {
	UnSpentAssets        []*UnSpentAssets `protobuf:"bytes,3,rep,name=unSpentAssets,proto3" json:"unSpentAssets,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*ReplyUnSpentAssets) Descriptor

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

func (*ReplyUnSpentAssets) GetUnSpentAssets

func (m *ReplyUnSpentAssets) GetUnSpentAssets() []*UnSpentAssets

func (*ReplyUnSpentAssets) ProtoMessage

func (*ReplyUnSpentAssets) ProtoMessage()

func (*ReplyUnSpentAssets) Reset

func (m *ReplyUnSpentAssets) Reset()

func (*ReplyUnSpentAssets) String

func (m *ReplyUnSpentAssets) String() string

func (*ReplyUnSpentAssets) XXX_DiscardUnknown

func (m *ReplyUnSpentAssets) XXX_DiscardUnknown()

func (*ReplyUnSpentAssets) XXX_Marshal

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

func (*ReplyUnSpentAssets) XXX_Merge

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

func (*ReplyUnSpentAssets) XXX_Size

func (m *ReplyUnSpentAssets) XXX_Size() int

func (*ReplyUnSpentAssets) XXX_Unmarshal

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

type ReqAccAssets

type ReqAccAssets struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Assets               *Assets  `protobuf:"bytes,2,opt,name=assets,proto3" json:"assets,omitempty"`
	IsAll                bool     `protobuf:"varint,3,opt,name=isAll,proto3" json:"isAll,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

获取多重签名账户上的指定资产或者所有资产

func (*ReqAccAssets) Descriptor

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

func (*ReqAccAssets) GetAssets

func (m *ReqAccAssets) GetAssets() *Assets

func (*ReqAccAssets) GetIsAll

func (m *ReqAccAssets) GetIsAll() bool

func (*ReqAccAssets) GetMultiSigAddr

func (m *ReqAccAssets) GetMultiSigAddr() string

func (*ReqAccAssets) ProtoMessage

func (*ReqAccAssets) ProtoMessage()

func (*ReqAccAssets) Reset

func (m *ReqAccAssets) Reset()

func (*ReqAccAssets) String

func (m *ReqAccAssets) String() string

func (*ReqAccAssets) XXX_DiscardUnknown

func (m *ReqAccAssets) XXX_DiscardUnknown()

func (*ReqAccAssets) XXX_Marshal

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

func (*ReqAccAssets) XXX_Merge

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

func (*ReqAccAssets) XXX_Size

func (m *ReqAccAssets) XXX_Size() int

func (*ReqAccAssets) XXX_Unmarshal

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

type ReqMultiSigAccInfo

type ReqMultiSigAccInfo struct {
	MultiSigAccAddr      string   `protobuf:"bytes,1,opt,name=multiSigAccAddr,proto3" json:"multiSigAccAddr,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

获取指定多重签名账号的状态信息

func (*ReqMultiSigAccInfo) Descriptor

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

func (*ReqMultiSigAccInfo) GetMultiSigAccAddr

func (m *ReqMultiSigAccInfo) GetMultiSigAccAddr() string

func (*ReqMultiSigAccInfo) ProtoMessage

func (*ReqMultiSigAccInfo) ProtoMessage()

func (*ReqMultiSigAccInfo) Reset

func (m *ReqMultiSigAccInfo) Reset()

func (*ReqMultiSigAccInfo) String

func (m *ReqMultiSigAccInfo) String() string

func (*ReqMultiSigAccInfo) XXX_DiscardUnknown

func (m *ReqMultiSigAccInfo) XXX_DiscardUnknown()

func (*ReqMultiSigAccInfo) XXX_Marshal

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

func (*ReqMultiSigAccInfo) XXX_Merge

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

func (*ReqMultiSigAccInfo) XXX_Size

func (m *ReqMultiSigAccInfo) XXX_Size() int

func (*ReqMultiSigAccInfo) XXX_Unmarshal

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

type ReqMultiSigAccUnSpentToday

type ReqMultiSigAccUnSpentToday struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	Execer               string   `protobuf:"bytes,2,opt,name=execer,proto3" json:"execer,omitempty"`
	Symbol               string   `protobuf:"bytes,3,opt,name=symbol,proto3" json:"symbol,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

获取指定资产当日剩余的免多重签名的余额

func (*ReqMultiSigAccUnSpentToday) Descriptor

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

func (*ReqMultiSigAccUnSpentToday) GetExecer

func (m *ReqMultiSigAccUnSpentToday) GetExecer() string

func (*ReqMultiSigAccUnSpentToday) GetMultiSigAddr

func (m *ReqMultiSigAccUnSpentToday) GetMultiSigAddr() string

func (*ReqMultiSigAccUnSpentToday) GetSymbol

func (m *ReqMultiSigAccUnSpentToday) GetSymbol() string

func (*ReqMultiSigAccUnSpentToday) ProtoMessage

func (*ReqMultiSigAccUnSpentToday) ProtoMessage()

func (*ReqMultiSigAccUnSpentToday) Reset

func (m *ReqMultiSigAccUnSpentToday) Reset()

func (*ReqMultiSigAccUnSpentToday) String

func (m *ReqMultiSigAccUnSpentToday) String() string

func (*ReqMultiSigAccUnSpentToday) XXX_DiscardUnknown

func (m *ReqMultiSigAccUnSpentToday) XXX_DiscardUnknown()

func (*ReqMultiSigAccUnSpentToday) XXX_Marshal

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

func (*ReqMultiSigAccUnSpentToday) XXX_Merge

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

func (*ReqMultiSigAccUnSpentToday) XXX_Size

func (m *ReqMultiSigAccUnSpentToday) XXX_Size() int

func (*ReqMultiSigAccUnSpentToday) XXX_Unmarshal

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

type ReqMultiSigAccs

type ReqMultiSigAccs struct {
	Start                int64    `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End                  int64    `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

获取所有多重签名账号

func (*ReqMultiSigAccs) Descriptor

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

func (*ReqMultiSigAccs) GetEnd

func (m *ReqMultiSigAccs) GetEnd() int64

func (*ReqMultiSigAccs) GetStart

func (m *ReqMultiSigAccs) GetStart() int64

func (*ReqMultiSigAccs) ProtoMessage

func (*ReqMultiSigAccs) ProtoMessage()

func (*ReqMultiSigAccs) Reset

func (m *ReqMultiSigAccs) Reset()

func (*ReqMultiSigAccs) String

func (m *ReqMultiSigAccs) String() string

func (*ReqMultiSigAccs) XXX_DiscardUnknown

func (m *ReqMultiSigAccs) XXX_DiscardUnknown()

func (*ReqMultiSigAccs) XXX_Marshal

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

func (*ReqMultiSigAccs) XXX_Merge

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

func (*ReqMultiSigAccs) XXX_Size

func (m *ReqMultiSigAccs) XXX_Size() int

func (*ReqMultiSigAccs) XXX_Unmarshal

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

type ReqMultiSigTxInfo

type ReqMultiSigTxInfo struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	TxId                 uint64   `protobuf:"varint,2,opt,name=txId,proto3" json:"txId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

获取txid交易的信息,以及参与确认的owner信息

func (*ReqMultiSigTxInfo) Descriptor

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

func (*ReqMultiSigTxInfo) GetMultiSigAddr

func (m *ReqMultiSigTxInfo) GetMultiSigAddr() string

func (*ReqMultiSigTxInfo) GetTxId

func (m *ReqMultiSigTxInfo) GetTxId() uint64

func (*ReqMultiSigTxInfo) ProtoMessage

func (*ReqMultiSigTxInfo) ProtoMessage()

func (*ReqMultiSigTxInfo) Reset

func (m *ReqMultiSigTxInfo) Reset()

func (*ReqMultiSigTxInfo) String

func (m *ReqMultiSigTxInfo) String() string

func (*ReqMultiSigTxInfo) XXX_DiscardUnknown

func (m *ReqMultiSigTxInfo) XXX_DiscardUnknown()

func (*ReqMultiSigTxInfo) XXX_Marshal

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

func (*ReqMultiSigTxInfo) XXX_Merge

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

func (*ReqMultiSigTxInfo) XXX_Size

func (m *ReqMultiSigTxInfo) XXX_Size() int

func (*ReqMultiSigTxInfo) XXX_Unmarshal

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

type ReqMultiSigTxids

type ReqMultiSigTxids struct {
	MultiSigAddr         string   `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	FromTxId             uint64   `protobuf:"varint,2,opt,name=fromTxId,proto3" json:"fromTxId,omitempty"`
	ToTxId               uint64   `protobuf:"varint,3,opt,name=toTxId,proto3" json:"toTxId,omitempty"`
	Pending              bool     `protobuf:"varint,4,opt,name=pending,proto3" json:"pending,omitempty"`
	Executed             bool     `protobuf:"varint,5,opt,name=executed,proto3" json:"executed,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

获取txids设置过滤条件和区间,pending, executed

func (*ReqMultiSigTxids) Descriptor

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

func (*ReqMultiSigTxids) GetExecuted

func (m *ReqMultiSigTxids) GetExecuted() bool

func (*ReqMultiSigTxids) GetFromTxId

func (m *ReqMultiSigTxids) GetFromTxId() uint64

func (*ReqMultiSigTxids) GetMultiSigAddr

func (m *ReqMultiSigTxids) GetMultiSigAddr() string

func (*ReqMultiSigTxids) GetPending

func (m *ReqMultiSigTxids) GetPending() bool

func (*ReqMultiSigTxids) GetToTxId

func (m *ReqMultiSigTxids) GetToTxId() uint64

func (*ReqMultiSigTxids) ProtoMessage

func (*ReqMultiSigTxids) ProtoMessage()

func (*ReqMultiSigTxids) Reset

func (m *ReqMultiSigTxids) Reset()

func (*ReqMultiSigTxids) String

func (m *ReqMultiSigTxids) String() string

func (*ReqMultiSigTxids) XXX_DiscardUnknown

func (m *ReqMultiSigTxids) XXX_DiscardUnknown()

func (*ReqMultiSigTxids) XXX_Marshal

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

func (*ReqMultiSigTxids) XXX_Merge

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

func (*ReqMultiSigTxids) XXX_Size

func (m *ReqMultiSigTxids) XXX_Size() int

func (*ReqMultiSigTxids) XXX_Unmarshal

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

type SymbolDailyLimit

type SymbolDailyLimit struct {
	Symbol               string   `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
	Execer               string   `protobuf:"bytes,2,opt,name=execer,proto3" json:"execer,omitempty"`
	DailyLimit           uint64   `protobuf:"varint,3,opt,name=dailyLimit,proto3" json:"dailyLimit,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SymbolDailyLimit) Descriptor

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

func (*SymbolDailyLimit) GetDailyLimit

func (m *SymbolDailyLimit) GetDailyLimit() uint64

func (*SymbolDailyLimit) GetExecer

func (m *SymbolDailyLimit) GetExecer() string

func (*SymbolDailyLimit) GetSymbol

func (m *SymbolDailyLimit) GetSymbol() string

func (*SymbolDailyLimit) ProtoMessage

func (*SymbolDailyLimit) ProtoMessage()

func (*SymbolDailyLimit) Reset

func (m *SymbolDailyLimit) Reset()

func (*SymbolDailyLimit) String

func (m *SymbolDailyLimit) String() string

func (*SymbolDailyLimit) XXX_DiscardUnknown

func (m *SymbolDailyLimit) XXX_DiscardUnknown()

func (*SymbolDailyLimit) XXX_Marshal

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

func (*SymbolDailyLimit) XXX_Merge

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

func (*SymbolDailyLimit) XXX_Size

func (m *SymbolDailyLimit) XXX_Size() int

func (*SymbolDailyLimit) XXX_Unmarshal

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

type Uint64

type Uint64 struct {
	Data                 uint64   `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Uint64) Descriptor

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

func (*Uint64) GetData

func (m *Uint64) GetData() uint64

func (*Uint64) ProtoMessage

func (*Uint64) ProtoMessage()

func (*Uint64) Reset

func (m *Uint64) Reset()

func (*Uint64) String

func (m *Uint64) String() string

func (*Uint64) XXX_DiscardUnknown

func (m *Uint64) XXX_DiscardUnknown()

func (*Uint64) XXX_Marshal

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

func (*Uint64) XXX_Merge

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

func (*Uint64) XXX_Size

func (m *Uint64) XXX_Size() int

func (*Uint64) XXX_Unmarshal

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

type UnSpentAssets

type UnSpentAssets struct {
	Assets               *Assets  `protobuf:"bytes,1,opt,name=assets,proto3" json:"assets,omitempty"`
	Amount               uint64   `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnSpentAssets) Descriptor

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

func (*UnSpentAssets) GetAmount

func (m *UnSpentAssets) GetAmount() uint64

func (*UnSpentAssets) GetAssets

func (m *UnSpentAssets) GetAssets() *Assets

func (*UnSpentAssets) ProtoMessage

func (*UnSpentAssets) ProtoMessage()

func (*UnSpentAssets) Reset

func (m *UnSpentAssets) Reset()

func (*UnSpentAssets) String

func (m *UnSpentAssets) String() string

func (*UnSpentAssets) XXX_DiscardUnknown

func (m *UnSpentAssets) XXX_DiscardUnknown()

func (*UnSpentAssets) XXX_Marshal

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

func (*UnSpentAssets) XXX_Merge

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

func (*UnSpentAssets) XXX_Size

func (m *UnSpentAssets) XXX_Size() int

func (*UnSpentAssets) XXX_Unmarshal

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

type UnSpentAssetsResult

type UnSpentAssetsResult struct {
	Symbol  string `json:"symbol,omitempty"`
	Execer  string `json:"execer,omitempty"`
	UnSpent string `json:"unspent,omitempty"`
}

UnSpentAssetsResult 每日限额之内未花费额度的显示cli

Jump to

Keyboard shortcuts

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