types

package
v1.67.5 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: BSD-3-Clause Imports: 7 Imported by: 7 modules, 26 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 合约的错误码

View Source
var File_multisig_proto protoreflect.FileDescriptor

Functions

func InitExecutor

func InitExecutor(cfg *types.Chain33Config)

InitExecutor ...

func InitFork

func InitFork(cfg *types.Chain33Config)

InitFork ...

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"`
	// contains filtered or unexported fields
}

账户地址列表

func (*AccAddress) Descriptor deprecated

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

Deprecated: Use AccAddress.ProtoReflect.Descriptor instead.

func (*AccAddress) GetAddress

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

func (*AccAddress) ProtoMessage

func (*AccAddress) ProtoMessage()

func (*AccAddress) ProtoReflect added in v1.65.3

func (x *AccAddress) ProtoReflect() protoreflect.Message

func (*AccAddress) Reset

func (x *AccAddress) Reset()

func (*AccAddress) String

func (x *AccAddress) String() string

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"`
	// contains filtered or unexported fields
}

账户资产信息

func (*AccAssets) Descriptor deprecated

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

Deprecated: Use AccAssets.ProtoReflect.Descriptor instead.

func (*AccAssets) GetAccount

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

func (*AccAssets) GetAssets

func (x *AccAssets) GetAssets() *Assets

func (*AccAssets) GetRecvAmount

func (x *AccAssets) GetRecvAmount() int64

func (*AccAssets) ProtoMessage

func (*AccAssets) ProtoMessage()

func (*AccAssets) ProtoReflect added in v1.65.3

func (x *AccAssets) ProtoReflect() protoreflect.Message

func (*AccAssets) Reset

func (x *AccAssets) Reset()

func (*AccAssets) String

func (x *AccAssets) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*AccountAssets) Descriptor deprecated

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

Deprecated: Use AccountAssets.ProtoReflect.Descriptor instead.

func (*AccountAssets) GetAmount

func (x *AccountAssets) GetAmount() int64

func (*AccountAssets) GetAssets

func (x *AccountAssets) GetAssets() *Assets

func (*AccountAssets) GetMultiSigAddr

func (x *AccountAssets) GetMultiSigAddr() string

func (*AccountAssets) ProtoMessage

func (*AccountAssets) ProtoMessage()

func (*AccountAssets) ProtoReflect added in v1.65.3

func (x *AccountAssets) ProtoReflect() protoreflect.Message

func (*AccountAssets) Reset

func (x *AccountAssets) Reset()

func (*AccountAssets) String

func (x *AccountAssets) String() string

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"`
	// contains filtered or unexported fields
}

func (*Assets) Descriptor deprecated

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

Deprecated: Use Assets.ProtoReflect.Descriptor instead.

func (*Assets) GetExecer

func (x *Assets) GetExecer() string

func (*Assets) GetSymbol

func (x *Assets) GetSymbol() string

func (*Assets) ProtoMessage

func (*Assets) ProtoMessage()

func (*Assets) ProtoReflect added in v1.65.3

func (x *Assets) ProtoReflect() protoreflect.Message

func (*Assets) Reset

func (x *Assets) Reset()

func (*Assets) String

func (x *Assets) String() string

type ConfirmedOwner

type ConfirmedOwner struct {
	ConfirmedOwner []*Owner `protobuf:"bytes,1,rep,name=confirmedOwner,proto3" json:"confirmedOwner,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ConfirmedOwner) Descriptor deprecated

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

Deprecated: Use ConfirmedOwner.ProtoReflect.Descriptor instead.

func (*ConfirmedOwner) GetConfirmedOwner

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

func (*ConfirmedOwner) ProtoMessage

func (*ConfirmedOwner) ProtoMessage()

func (*ConfirmedOwner) ProtoReflect added in v1.65.3

func (x *ConfirmedOwner) ProtoReflect() protoreflect.Message

func (*ConfirmedOwner) Reset

func (x *ConfirmedOwner) Reset()

func (*ConfirmedOwner) String

func (x *ConfirmedOwner) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*DailyLimit) Descriptor deprecated

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

Deprecated: Use DailyLimit.ProtoReflect.Descriptor instead.

func (*DailyLimit) GetDailyLimit

func (x *DailyLimit) GetDailyLimit() uint64

func (*DailyLimit) GetExecer

func (x *DailyLimit) GetExecer() string

func (*DailyLimit) GetLastDay

func (x *DailyLimit) GetLastDay() int64

func (*DailyLimit) GetSpentToday

func (x *DailyLimit) GetSpentToday() uint64

func (*DailyLimit) GetSymbol

func (x *DailyLimit) GetSymbol() string

func (*DailyLimit) ProtoMessage

func (*DailyLimit) ProtoMessage()

func (*DailyLimit) ProtoReflect added in v1.65.3

func (x *DailyLimit) ProtoReflect() protoreflect.Message

func (*DailyLimit) Reset

func (x *DailyLimit) Reset()

func (*DailyLimit) String

func (x *DailyLimit) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSig) Descriptor deprecated

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

Deprecated: Use MultiSig.ProtoReflect.Descriptor instead.

func (*MultiSig) GetCreateAddr

func (x *MultiSig) GetCreateAddr() string

func (*MultiSig) GetDailyLimits

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

func (*MultiSig) GetMultiSigAddr

func (x *MultiSig) GetMultiSigAddr() string

func (*MultiSig) GetOwners

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

func (*MultiSig) GetRequiredWeight

func (x *MultiSig) GetRequiredWeight() uint64

func (*MultiSig) GetTxCount

func (x *MultiSig) GetTxCount() uint64

func (*MultiSig) ProtoMessage

func (*MultiSig) ProtoMessage()

func (*MultiSig) ProtoReflect added in v1.65.3

func (x *MultiSig) ProtoReflect() protoreflect.Message

func (*MultiSig) Reset

func (x *MultiSig) Reset()

func (*MultiSig) String

func (x *MultiSig) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSigAccCreate) Descriptor deprecated

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

Deprecated: Use MultiSigAccCreate.ProtoReflect.Descriptor instead.

func (*MultiSigAccCreate) GetDailyLimit

func (x *MultiSigAccCreate) GetDailyLimit() *SymbolDailyLimit

func (*MultiSigAccCreate) GetOwners

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

func (*MultiSigAccCreate) GetRequiredWeight

func (x *MultiSigAccCreate) GetRequiredWeight() uint64

func (*MultiSigAccCreate) ProtoMessage

func (*MultiSigAccCreate) ProtoMessage()

func (*MultiSigAccCreate) ProtoReflect added in v1.65.3

func (x *MultiSigAccCreate) ProtoReflect() protoreflect.Message

func (*MultiSigAccCreate) Reset

func (x *MultiSigAccCreate) Reset()

func (*MultiSigAccCreate) String

func (x *MultiSigAccCreate) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSigAccOperate) Descriptor deprecated

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

Deprecated: Use MultiSigAccOperate.ProtoReflect.Descriptor instead.

func (*MultiSigAccOperate) GetDailyLimit

func (x *MultiSigAccOperate) GetDailyLimit() *SymbolDailyLimit

func (*MultiSigAccOperate) GetMultiSigAccAddr

func (x *MultiSigAccOperate) GetMultiSigAccAddr() string

func (*MultiSigAccOperate) GetNewRequiredWeight

func (x *MultiSigAccOperate) GetNewRequiredWeight() uint64

func (*MultiSigAccOperate) GetOperateFlag

func (x *MultiSigAccOperate) GetOperateFlag() bool

func (*MultiSigAccOperate) ProtoMessage

func (*MultiSigAccOperate) ProtoMessage()

func (*MultiSigAccOperate) ProtoReflect added in v1.65.3

func (x *MultiSigAccOperate) ProtoReflect() protoreflect.Message

func (*MultiSigAccOperate) Reset

func (x *MultiSigAccOperate) Reset()

func (*MultiSigAccOperate) String

func (x *MultiSigAccOperate) String() string

type MultiSigAction

type MultiSigAction struct {

	// Types that are assignable 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"`
	// contains filtered or unexported fields
}

MultiSig 所有可能的交易action

func (*MultiSigAction) Descriptor deprecated

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

Deprecated: Use MultiSigAction.ProtoReflect.Descriptor instead.

func (*MultiSigAction) GetMultiSigAccCreate

func (x *MultiSigAction) GetMultiSigAccCreate() *MultiSigAccCreate

func (*MultiSigAction) GetMultiSigAccOperate

func (x *MultiSigAction) GetMultiSigAccOperate() *MultiSigAccOperate

func (*MultiSigAction) GetMultiSigConfirmTx

func (x *MultiSigAction) GetMultiSigConfirmTx() *MultiSigConfirmTx

func (*MultiSigAction) GetMultiSigExecTransferFrom

func (x *MultiSigAction) GetMultiSigExecTransferFrom() *MultiSigExecTransferFrom

func (*MultiSigAction) GetMultiSigExecTransferTo

func (x *MultiSigAction) GetMultiSigExecTransferTo() *MultiSigExecTransferTo

func (*MultiSigAction) GetMultiSigOwnerOperate

func (x *MultiSigAction) GetMultiSigOwnerOperate() *MultiSigOwnerOperate

func (*MultiSigAction) GetTy

func (x *MultiSigAction) GetTy() int32

func (*MultiSigAction) GetValue

func (m *MultiSigAction) GetValue() isMultiSigAction_Value

func (*MultiSigAction) ProtoMessage

func (*MultiSigAction) ProtoMessage()

func (*MultiSigAction) ProtoReflect added in v1.65.3

func (x *MultiSigAction) ProtoReflect() protoreflect.Message

func (*MultiSigAction) Reset

func (x *MultiSigAction) Reset()

func (*MultiSigAction) String

func (x *MultiSigAction) String() string

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"` //合约中多重签名账户转账到外部账户,multiSigAddr--->Addr
}

type MultiSigAction_MultiSigExecTransferTo

type MultiSigAction_MultiSigExecTransferTo struct {
	MultiSigExecTransferTo *MultiSigExecTransferTo `protobuf:"bytes,5,opt,name=multiSigExecTransferTo,proto3,oneof"` //合约中外部账户转账到多重签名账户,Addr --->multiSigAddr
}

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSigConfirmTx) Descriptor deprecated

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

Deprecated: Use MultiSigConfirmTx.ProtoReflect.Descriptor instead.

func (*MultiSigConfirmTx) GetConfirmOrRevoke

func (x *MultiSigConfirmTx) GetConfirmOrRevoke() bool

func (*MultiSigConfirmTx) GetMultiSigAccAddr

func (x *MultiSigConfirmTx) GetMultiSigAccAddr() string

func (*MultiSigConfirmTx) GetTxId

func (x *MultiSigConfirmTx) GetTxId() uint64

func (*MultiSigConfirmTx) ProtoMessage

func (*MultiSigConfirmTx) ProtoMessage()

func (*MultiSigConfirmTx) ProtoReflect added in v1.65.3

func (x *MultiSigConfirmTx) ProtoReflect() protoreflect.Message

func (*MultiSigConfirmTx) Reset

func (x *MultiSigConfirmTx) Reset()

func (*MultiSigConfirmTx) String

func (x *MultiSigConfirmTx) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSigExecTransferFrom) Descriptor deprecated

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

Deprecated: Use MultiSigExecTransferFrom.ProtoReflect.Descriptor instead.

func (*MultiSigExecTransferFrom) GetAmount

func (x *MultiSigExecTransferFrom) GetAmount() int64

func (*MultiSigExecTransferFrom) GetExecname

func (x *MultiSigExecTransferFrom) GetExecname() string

func (*MultiSigExecTransferFrom) GetFrom

func (x *MultiSigExecTransferFrom) GetFrom() string

func (*MultiSigExecTransferFrom) GetNote

func (x *MultiSigExecTransferFrom) GetNote() string

func (*MultiSigExecTransferFrom) GetSymbol

func (x *MultiSigExecTransferFrom) GetSymbol() string

func (*MultiSigExecTransferFrom) GetTo

func (x *MultiSigExecTransferFrom) GetTo() string

func (*MultiSigExecTransferFrom) ProtoMessage

func (*MultiSigExecTransferFrom) ProtoMessage()

func (*MultiSigExecTransferFrom) ProtoReflect added in v1.65.3

func (x *MultiSigExecTransferFrom) ProtoReflect() protoreflect.Message

func (*MultiSigExecTransferFrom) Reset

func (x *MultiSigExecTransferFrom) Reset()

func (*MultiSigExecTransferFrom) String

func (x *MultiSigExecTransferFrom) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSigExecTransferTo) Descriptor deprecated

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

Deprecated: Use MultiSigExecTransferTo.ProtoReflect.Descriptor instead.

func (*MultiSigExecTransferTo) GetAmount

func (x *MultiSigExecTransferTo) GetAmount() int64

func (*MultiSigExecTransferTo) GetExecname

func (x *MultiSigExecTransferTo) GetExecname() string

func (*MultiSigExecTransferTo) GetNote

func (x *MultiSigExecTransferTo) GetNote() string

func (*MultiSigExecTransferTo) GetSymbol

func (x *MultiSigExecTransferTo) GetSymbol() string

func (*MultiSigExecTransferTo) GetTo

func (x *MultiSigExecTransferTo) GetTo() string

func (*MultiSigExecTransferTo) ProtoMessage

func (*MultiSigExecTransferTo) ProtoMessage()

func (*MultiSigExecTransferTo) ProtoReflect added in v1.65.3

func (x *MultiSigExecTransferTo) ProtoReflect() protoreflect.Message

func (*MultiSigExecTransferTo) Reset

func (x *MultiSigExecTransferTo) Reset()

func (*MultiSigExecTransferTo) String

func (x *MultiSigExecTransferTo) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSigOwnerOperate) Descriptor deprecated

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

Deprecated: Use MultiSigOwnerOperate.ProtoReflect.Descriptor instead.

func (*MultiSigOwnerOperate) GetMultiSigAccAddr

func (x *MultiSigOwnerOperate) GetMultiSigAccAddr() string

func (*MultiSigOwnerOperate) GetNewOwner

func (x *MultiSigOwnerOperate) GetNewOwner() string

func (*MultiSigOwnerOperate) GetNewWeight

func (x *MultiSigOwnerOperate) GetNewWeight() uint64

func (*MultiSigOwnerOperate) GetOldOwner

func (x *MultiSigOwnerOperate) GetOldOwner() string

func (*MultiSigOwnerOperate) GetOperateFlag

func (x *MultiSigOwnerOperate) GetOperateFlag() uint64

func (*MultiSigOwnerOperate) ProtoMessage

func (*MultiSigOwnerOperate) ProtoMessage()

func (*MultiSigOwnerOperate) ProtoReflect added in v1.65.3

func (x *MultiSigOwnerOperate) ProtoReflect() protoreflect.Message

func (*MultiSigOwnerOperate) Reset

func (x *MultiSigOwnerOperate) Reset()

func (*MultiSigOwnerOperate) String

func (x *MultiSigOwnerOperate) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*MultiSigTx) Descriptor deprecated

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

Deprecated: Use MultiSigTx.ProtoReflect.Descriptor instead.

func (*MultiSigTx) GetConfirmedOwner

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

func (*MultiSigTx) GetExecuted

func (x *MultiSigTx) GetExecuted() bool

func (*MultiSigTx) GetMultiSigAddr

func (x *MultiSigTx) GetMultiSigAddr() string

func (*MultiSigTx) GetTxHash

func (x *MultiSigTx) GetTxHash() string

func (*MultiSigTx) GetTxType

func (x *MultiSigTx) GetTxType() uint64

func (*MultiSigTx) GetTxid

func (x *MultiSigTx) GetTxid() uint64

func (*MultiSigTx) ProtoMessage

func (*MultiSigTx) ProtoMessage()

func (*MultiSigTx) ProtoReflect added in v1.65.3

func (x *MultiSigTx) ProtoReflect() protoreflect.Message

func (*MultiSigTx) Reset

func (x *MultiSigTx) Reset()

func (*MultiSigTx) String

func (x *MultiSigTx) String() string

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"`
	// contains filtered or unexported fields
}

func (*MultiSigTxOwner) Descriptor deprecated

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

Deprecated: Use MultiSigTxOwner.ProtoReflect.Descriptor instead.

func (*MultiSigTxOwner) GetConfirmedOwner

func (x *MultiSigTxOwner) GetConfirmedOwner() *Owner

func (*MultiSigTxOwner) GetMultiSigAddr

func (x *MultiSigTxOwner) GetMultiSigAddr() string

func (*MultiSigTxOwner) GetTxid

func (x *MultiSigTxOwner) GetTxid() uint64

func (*MultiSigTxOwner) ProtoMessage

func (*MultiSigTxOwner) ProtoMessage()

func (*MultiSigTxOwner) ProtoReflect added in v1.65.3

func (x *MultiSigTxOwner) ProtoReflect() protoreflect.Message

func (*MultiSigTxOwner) Reset

func (x *MultiSigTxOwner) Reset()

func (*MultiSigTxOwner) String

func (x *MultiSigTxOwner) String() string

type MultiSigType

type MultiSigType struct {
	types.ExecTypeBase
}

MultiSigType multisig合约结构体

func NewType

func NewType(cfg *types.Chain33Config) *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"`
	// contains filtered or unexported fields
}

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

func (*Owner) Descriptor deprecated

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

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetOwnerAddr

func (x *Owner) GetOwnerAddr() string

func (*Owner) GetWeight

func (x *Owner) GetWeight() uint64

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect added in v1.65.3

func (x *Owner) ProtoReflect() protoreflect.Message

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*OwnerAttr) Descriptor deprecated

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

Deprecated: Use OwnerAttr.ProtoReflect.Descriptor instead.

func (*OwnerAttr) GetMultiSigAddr

func (x *OwnerAttr) GetMultiSigAddr() string

func (*OwnerAttr) GetOwnerAddr

func (x *OwnerAttr) GetOwnerAddr() string

func (*OwnerAttr) GetWeight

func (x *OwnerAttr) GetWeight() uint64

func (*OwnerAttr) ProtoMessage

func (*OwnerAttr) ProtoMessage()

func (*OwnerAttr) ProtoReflect added in v1.65.3

func (x *OwnerAttr) ProtoReflect() protoreflect.Message

func (*OwnerAttr) Reset

func (x *OwnerAttr) Reset()

func (*OwnerAttr) String

func (x *OwnerAttr) String() string

type OwnerAttrs

type OwnerAttrs struct {
	Items []*OwnerAttr `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*OwnerAttrs) Descriptor deprecated

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

Deprecated: Use OwnerAttrs.ProtoReflect.Descriptor instead.

func (*OwnerAttrs) GetItems

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

func (*OwnerAttrs) ProtoMessage

func (*OwnerAttrs) ProtoMessage()

func (*OwnerAttrs) ProtoReflect added in v1.65.3

func (x *OwnerAttrs) ProtoReflect() protoreflect.Message

func (*OwnerAttrs) Reset

func (x *OwnerAttrs) Reset()

func (*OwnerAttrs) String

func (x *OwnerAttrs) String() string

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"`
	// contains filtered or unexported fields
}

可能会修改dailyLimit的相关属性

func (*ReceiptAccDailyLimitUpdate) Descriptor deprecated

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

Deprecated: Use ReceiptAccDailyLimitUpdate.ProtoReflect.Descriptor instead.

func (*ReceiptAccDailyLimitUpdate) GetCurDailyLimit

func (x *ReceiptAccDailyLimitUpdate) GetCurDailyLimit() *DailyLimit

func (*ReceiptAccDailyLimitUpdate) GetMultiSigAddr

func (x *ReceiptAccDailyLimitUpdate) GetMultiSigAddr() string

func (*ReceiptAccDailyLimitUpdate) GetPrevDailyLimit

func (x *ReceiptAccDailyLimitUpdate) GetPrevDailyLimit() *DailyLimit

func (*ReceiptAccDailyLimitUpdate) ProtoMessage

func (*ReceiptAccDailyLimitUpdate) ProtoMessage()

func (*ReceiptAccDailyLimitUpdate) ProtoReflect added in v1.65.3

func (*ReceiptAccDailyLimitUpdate) Reset

func (x *ReceiptAccDailyLimitUpdate) Reset()

func (*ReceiptAccDailyLimitUpdate) String

func (x *ReceiptAccDailyLimitUpdate) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReceiptConfirmTx) Descriptor deprecated

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

Deprecated: Use ReceiptConfirmTx.ProtoReflect.Descriptor instead.

func (*ReceiptConfirmTx) GetConfirmeOrRevoke

func (x *ReceiptConfirmTx) GetConfirmeOrRevoke() bool

func (*ReceiptConfirmTx) GetMultiSigTxOwner

func (x *ReceiptConfirmTx) GetMultiSigTxOwner() *MultiSigTxOwner

func (*ReceiptConfirmTx) ProtoMessage

func (*ReceiptConfirmTx) ProtoMessage()

func (*ReceiptConfirmTx) ProtoReflect added in v1.65.3

func (x *ReceiptConfirmTx) ProtoReflect() protoreflect.Message

func (*ReceiptConfirmTx) Reset

func (x *ReceiptConfirmTx) Reset()

func (*ReceiptConfirmTx) String

func (x *ReceiptConfirmTx) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReceiptDailyLimitOperate) Descriptor deprecated

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

Deprecated: Use ReceiptDailyLimitOperate.ProtoReflect.Descriptor instead.

func (*ReceiptDailyLimitOperate) GetAddOrModify

func (x *ReceiptDailyLimitOperate) GetAddOrModify() bool

func (*ReceiptDailyLimitOperate) GetCurDailyLimit

func (x *ReceiptDailyLimitOperate) GetCurDailyLimit() *DailyLimit

func (*ReceiptDailyLimitOperate) GetMultiSigAddr

func (x *ReceiptDailyLimitOperate) GetMultiSigAddr() string

func (*ReceiptDailyLimitOperate) GetPrevDailyLimit

func (x *ReceiptDailyLimitOperate) GetPrevDailyLimit() *DailyLimit

func (*ReceiptDailyLimitOperate) ProtoMessage

func (*ReceiptDailyLimitOperate) ProtoMessage()

func (*ReceiptDailyLimitOperate) ProtoReflect added in v1.65.3

func (x *ReceiptDailyLimitOperate) ProtoReflect() protoreflect.Message

func (*ReceiptDailyLimitOperate) Reset

func (x *ReceiptDailyLimitOperate) Reset()

func (*ReceiptDailyLimitOperate) String

func (x *ReceiptDailyLimitOperate) String() string

type ReceiptMultiSig

type ReceiptMultiSig struct {
	MultiSigAddr string `protobuf:"bytes,1,opt,name=multiSigAddr,proto3" json:"multiSigAddr,omitempty"`
	// contains filtered or unexported fields
}

TyLogMultiSigAccCreate交易的执行Receipt

func (*ReceiptMultiSig) Descriptor deprecated

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

Deprecated: Use ReceiptMultiSig.ProtoReflect.Descriptor instead.

func (*ReceiptMultiSig) GetMultiSigAddr

func (x *ReceiptMultiSig) GetMultiSigAddr() string

func (*ReceiptMultiSig) ProtoMessage

func (*ReceiptMultiSig) ProtoMessage()

func (*ReceiptMultiSig) ProtoReflect added in v1.65.3

func (x *ReceiptMultiSig) ProtoReflect() protoreflect.Message

func (*ReceiptMultiSig) Reset

func (x *ReceiptMultiSig) Reset()

func (*ReceiptMultiSig) String

func (x *ReceiptMultiSig) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReceiptMultiSigTx) Descriptor deprecated

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

Deprecated: Use ReceiptMultiSigTx.ProtoReflect.Descriptor instead.

func (*ReceiptMultiSigTx) GetCurExecuted

func (x *ReceiptMultiSigTx) GetCurExecuted() bool

func (*ReceiptMultiSigTx) GetMultiSigTxOwner

func (x *ReceiptMultiSigTx) GetMultiSigTxOwner() *MultiSigTxOwner

func (*ReceiptMultiSigTx) GetPrevExecuted

func (x *ReceiptMultiSigTx) GetPrevExecuted() bool

func (*ReceiptMultiSigTx) GetSubmitOrConfirm

func (x *ReceiptMultiSigTx) GetSubmitOrConfirm() bool

func (*ReceiptMultiSigTx) GetTxHash

func (x *ReceiptMultiSigTx) GetTxHash() string

func (*ReceiptMultiSigTx) GetTxType

func (x *ReceiptMultiSigTx) GetTxType() uint64

func (*ReceiptMultiSigTx) ProtoMessage

func (*ReceiptMultiSigTx) ProtoMessage()

func (*ReceiptMultiSigTx) ProtoReflect added in v1.65.3

func (x *ReceiptMultiSigTx) ProtoReflect() protoreflect.Message

func (*ReceiptMultiSigTx) Reset

func (x *ReceiptMultiSigTx) Reset()

func (*ReceiptMultiSigTx) String

func (x *ReceiptMultiSigTx) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReceiptOwnerAddOrDel) Descriptor deprecated

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

Deprecated: Use ReceiptOwnerAddOrDel.ProtoReflect.Descriptor instead.

func (*ReceiptOwnerAddOrDel) GetAddOrDel

func (x *ReceiptOwnerAddOrDel) GetAddOrDel() bool

func (*ReceiptOwnerAddOrDel) GetMultiSigAddr

func (x *ReceiptOwnerAddOrDel) GetMultiSigAddr() string

func (*ReceiptOwnerAddOrDel) GetOwner

func (x *ReceiptOwnerAddOrDel) GetOwner() *Owner

func (*ReceiptOwnerAddOrDel) ProtoMessage

func (*ReceiptOwnerAddOrDel) ProtoMessage()

func (*ReceiptOwnerAddOrDel) ProtoReflect added in v1.65.3

func (x *ReceiptOwnerAddOrDel) ProtoReflect() protoreflect.Message

func (*ReceiptOwnerAddOrDel) Reset

func (x *ReceiptOwnerAddOrDel) Reset()

func (*ReceiptOwnerAddOrDel) String

func (x *ReceiptOwnerAddOrDel) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReceiptOwnerModOrRep) Descriptor deprecated

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

Deprecated: Use ReceiptOwnerModOrRep.ProtoReflect.Descriptor instead.

func (*ReceiptOwnerModOrRep) GetCurrentOwner

func (x *ReceiptOwnerModOrRep) GetCurrentOwner() *Owner

func (*ReceiptOwnerModOrRep) GetModOrRep

func (x *ReceiptOwnerModOrRep) GetModOrRep() bool

func (*ReceiptOwnerModOrRep) GetMultiSigAddr

func (x *ReceiptOwnerModOrRep) GetMultiSigAddr() string

func (*ReceiptOwnerModOrRep) GetPrevOwner

func (x *ReceiptOwnerModOrRep) GetPrevOwner() *Owner

func (*ReceiptOwnerModOrRep) ProtoMessage

func (*ReceiptOwnerModOrRep) ProtoMessage()

func (*ReceiptOwnerModOrRep) ProtoReflect added in v1.65.3

func (x *ReceiptOwnerModOrRep) ProtoReflect() protoreflect.Message

func (*ReceiptOwnerModOrRep) Reset

func (x *ReceiptOwnerModOrRep) Reset()

func (*ReceiptOwnerModOrRep) String

func (x *ReceiptOwnerModOrRep) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReceiptTxCountUpdate) Descriptor deprecated

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

Deprecated: Use ReceiptTxCountUpdate.ProtoReflect.Descriptor instead.

func (*ReceiptTxCountUpdate) GetCurTxCount

func (x *ReceiptTxCountUpdate) GetCurTxCount() uint64

func (*ReceiptTxCountUpdate) GetMultiSigAddr

func (x *ReceiptTxCountUpdate) GetMultiSigAddr() string

func (*ReceiptTxCountUpdate) ProtoMessage

func (*ReceiptTxCountUpdate) ProtoMessage()

func (*ReceiptTxCountUpdate) ProtoReflect added in v1.65.3

func (x *ReceiptTxCountUpdate) ProtoReflect() protoreflect.Message

func (*ReceiptTxCountUpdate) Reset

func (x *ReceiptTxCountUpdate) Reset()

func (*ReceiptTxCountUpdate) String

func (x *ReceiptTxCountUpdate) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReceiptWeightModify) Descriptor deprecated

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

Deprecated: Use ReceiptWeightModify.ProtoReflect.Descriptor instead.

func (*ReceiptWeightModify) GetCurrentWeight

func (x *ReceiptWeightModify) GetCurrentWeight() uint64

func (*ReceiptWeightModify) GetMultiSigAddr

func (x *ReceiptWeightModify) GetMultiSigAddr() string

func (*ReceiptWeightModify) GetPrevWeight

func (x *ReceiptWeightModify) GetPrevWeight() uint64

func (*ReceiptWeightModify) ProtoMessage

func (*ReceiptWeightModify) ProtoMessage()

func (*ReceiptWeightModify) ProtoReflect added in v1.65.3

func (x *ReceiptWeightModify) ProtoReflect() protoreflect.Message

func (*ReceiptWeightModify) Reset

func (x *ReceiptWeightModify) Reset()

func (*ReceiptWeightModify) String

func (x *ReceiptWeightModify) String() string

type ReplyAccAssets

type ReplyAccAssets struct {
	AccAssets []*AccAssets `protobuf:"bytes,1,rep,name=accAssets,proto3" json:"accAssets,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyAccAssets) Descriptor deprecated

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

Deprecated: Use ReplyAccAssets.ProtoReflect.Descriptor instead.

func (*ReplyAccAssets) GetAccAssets

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

func (*ReplyAccAssets) ProtoMessage

func (*ReplyAccAssets) ProtoMessage()

func (*ReplyAccAssets) ProtoReflect added in v1.65.3

func (x *ReplyAccAssets) ProtoReflect() protoreflect.Message

func (*ReplyAccAssets) Reset

func (x *ReplyAccAssets) Reset()

func (*ReplyAccAssets) String

func (x *ReplyAccAssets) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReplyMultiSigAccInfo) Descriptor deprecated

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

Deprecated: Use ReplyMultiSigAccInfo.ProtoReflect.Descriptor instead.

func (*ReplyMultiSigAccInfo) GetCreateAddr

func (x *ReplyMultiSigAccInfo) GetCreateAddr() string

func (*ReplyMultiSigAccInfo) GetDailyLimits

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

func (*ReplyMultiSigAccInfo) GetMultiSigAddr

func (x *ReplyMultiSigAccInfo) GetMultiSigAddr() string

func (*ReplyMultiSigAccInfo) GetOwners

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

func (*ReplyMultiSigAccInfo) GetRequiredWeight

func (x *ReplyMultiSigAccInfo) GetRequiredWeight() uint64

func (*ReplyMultiSigAccInfo) GetTxCount

func (x *ReplyMultiSigAccInfo) GetTxCount() uint64

func (*ReplyMultiSigAccInfo) ProtoMessage

func (*ReplyMultiSigAccInfo) ProtoMessage()

func (*ReplyMultiSigAccInfo) ProtoReflect added in v1.65.3

func (x *ReplyMultiSigAccInfo) ProtoReflect() protoreflect.Message

func (*ReplyMultiSigAccInfo) Reset

func (x *ReplyMultiSigAccInfo) Reset()

func (*ReplyMultiSigAccInfo) String

func (x *ReplyMultiSigAccInfo) String() string

type ReplyMultiSigAccs

type ReplyMultiSigAccs struct {
	Address []string `protobuf:"bytes,1,rep,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyMultiSigAccs) Descriptor deprecated

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

Deprecated: Use ReplyMultiSigAccs.ProtoReflect.Descriptor instead.

func (*ReplyMultiSigAccs) GetAddress

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

func (*ReplyMultiSigAccs) ProtoMessage

func (*ReplyMultiSigAccs) ProtoMessage()

func (*ReplyMultiSigAccs) ProtoReflect added in v1.65.3

func (x *ReplyMultiSigAccs) ProtoReflect() protoreflect.Message

func (*ReplyMultiSigAccs) Reset

func (x *ReplyMultiSigAccs) Reset()

func (*ReplyMultiSigAccs) String

func (x *ReplyMultiSigAccs) String() string

type ReplyMultiSigTxInfo

type ReplyMultiSigTxInfo struct {
	MultiSigTxInfo *MultiSigTx `protobuf:"bytes,1,opt,name=multiSigTxInfo,proto3" json:"multiSigTxInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyMultiSigTxInfo) Descriptor deprecated

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

Deprecated: Use ReplyMultiSigTxInfo.ProtoReflect.Descriptor instead.

func (*ReplyMultiSigTxInfo) GetMultiSigTxInfo

func (x *ReplyMultiSigTxInfo) GetMultiSigTxInfo() *MultiSigTx

func (*ReplyMultiSigTxInfo) ProtoMessage

func (*ReplyMultiSigTxInfo) ProtoMessage()

func (*ReplyMultiSigTxInfo) ProtoReflect added in v1.65.3

func (x *ReplyMultiSigTxInfo) ProtoReflect() protoreflect.Message

func (*ReplyMultiSigTxInfo) Reset

func (x *ReplyMultiSigTxInfo) Reset()

func (*ReplyMultiSigTxInfo) String

func (x *ReplyMultiSigTxInfo) String() string

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"`
	// contains filtered or unexported fields
}

func (*ReplyMultiSigTxids) Descriptor deprecated

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

Deprecated: Use ReplyMultiSigTxids.ProtoReflect.Descriptor instead.

func (*ReplyMultiSigTxids) GetMultiSigAddr

func (x *ReplyMultiSigTxids) GetMultiSigAddr() string

func (*ReplyMultiSigTxids) GetTxids

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

func (*ReplyMultiSigTxids) ProtoMessage

func (*ReplyMultiSigTxids) ProtoMessage()

func (*ReplyMultiSigTxids) ProtoReflect added in v1.65.3

func (x *ReplyMultiSigTxids) ProtoReflect() protoreflect.Message

func (*ReplyMultiSigTxids) Reset

func (x *ReplyMultiSigTxids) Reset()

func (*ReplyMultiSigTxids) String

func (x *ReplyMultiSigTxids) String() string

type ReplyUnSpentAssets

type ReplyUnSpentAssets struct {
	UnSpentAssets []*UnSpentAssets `protobuf:"bytes,3,rep,name=unSpentAssets,proto3" json:"unSpentAssets,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplyUnSpentAssets) Descriptor deprecated

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

Deprecated: Use ReplyUnSpentAssets.ProtoReflect.Descriptor instead.

func (*ReplyUnSpentAssets) GetUnSpentAssets

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

func (*ReplyUnSpentAssets) ProtoMessage

func (*ReplyUnSpentAssets) ProtoMessage()

func (*ReplyUnSpentAssets) ProtoReflect added in v1.65.3

func (x *ReplyUnSpentAssets) ProtoReflect() protoreflect.Message

func (*ReplyUnSpentAssets) Reset

func (x *ReplyUnSpentAssets) Reset()

func (*ReplyUnSpentAssets) String

func (x *ReplyUnSpentAssets) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReqAccAssets) Descriptor deprecated

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

Deprecated: Use ReqAccAssets.ProtoReflect.Descriptor instead.

func (*ReqAccAssets) GetAssets

func (x *ReqAccAssets) GetAssets() *Assets

func (*ReqAccAssets) GetIsAll

func (x *ReqAccAssets) GetIsAll() bool

func (*ReqAccAssets) GetMultiSigAddr

func (x *ReqAccAssets) GetMultiSigAddr() string

func (*ReqAccAssets) ProtoMessage

func (*ReqAccAssets) ProtoMessage()

func (*ReqAccAssets) ProtoReflect added in v1.65.3

func (x *ReqAccAssets) ProtoReflect() protoreflect.Message

func (*ReqAccAssets) Reset

func (x *ReqAccAssets) Reset()

func (*ReqAccAssets) String

func (x *ReqAccAssets) String() string

type ReqMultiSigAccInfo

type ReqMultiSigAccInfo struct {
	MultiSigAccAddr string `protobuf:"bytes,1,opt,name=multiSigAccAddr,proto3" json:"multiSigAccAddr,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ReqMultiSigAccInfo) Descriptor deprecated

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

Deprecated: Use ReqMultiSigAccInfo.ProtoReflect.Descriptor instead.

func (*ReqMultiSigAccInfo) GetMultiSigAccAddr

func (x *ReqMultiSigAccInfo) GetMultiSigAccAddr() string

func (*ReqMultiSigAccInfo) ProtoMessage

func (*ReqMultiSigAccInfo) ProtoMessage()

func (*ReqMultiSigAccInfo) ProtoReflect added in v1.65.3

func (x *ReqMultiSigAccInfo) ProtoReflect() protoreflect.Message

func (*ReqMultiSigAccInfo) Reset

func (x *ReqMultiSigAccInfo) Reset()

func (*ReqMultiSigAccInfo) String

func (x *ReqMultiSigAccInfo) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReqMultiSigAccUnSpentToday) Descriptor deprecated

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

Deprecated: Use ReqMultiSigAccUnSpentToday.ProtoReflect.Descriptor instead.

func (*ReqMultiSigAccUnSpentToday) GetExecer

func (x *ReqMultiSigAccUnSpentToday) GetExecer() string

func (*ReqMultiSigAccUnSpentToday) GetMultiSigAddr

func (x *ReqMultiSigAccUnSpentToday) GetMultiSigAddr() string

func (*ReqMultiSigAccUnSpentToday) GetSymbol

func (x *ReqMultiSigAccUnSpentToday) GetSymbol() string

func (*ReqMultiSigAccUnSpentToday) ProtoMessage

func (*ReqMultiSigAccUnSpentToday) ProtoMessage()

func (*ReqMultiSigAccUnSpentToday) ProtoReflect added in v1.65.3

func (*ReqMultiSigAccUnSpentToday) Reset

func (x *ReqMultiSigAccUnSpentToday) Reset()

func (*ReqMultiSigAccUnSpentToday) String

func (x *ReqMultiSigAccUnSpentToday) String() string

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"`
	// contains filtered or unexported fields
}

获取所有多重签名账号

func (*ReqMultiSigAccs) Descriptor deprecated

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

Deprecated: Use ReqMultiSigAccs.ProtoReflect.Descriptor instead.

func (*ReqMultiSigAccs) GetEnd

func (x *ReqMultiSigAccs) GetEnd() int64

func (*ReqMultiSigAccs) GetStart

func (x *ReqMultiSigAccs) GetStart() int64

func (*ReqMultiSigAccs) ProtoMessage

func (*ReqMultiSigAccs) ProtoMessage()

func (*ReqMultiSigAccs) ProtoReflect added in v1.65.3

func (x *ReqMultiSigAccs) ProtoReflect() protoreflect.Message

func (*ReqMultiSigAccs) Reset

func (x *ReqMultiSigAccs) Reset()

func (*ReqMultiSigAccs) String

func (x *ReqMultiSigAccs) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReqMultiSigTxInfo) Descriptor deprecated

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

Deprecated: Use ReqMultiSigTxInfo.ProtoReflect.Descriptor instead.

func (*ReqMultiSigTxInfo) GetMultiSigAddr

func (x *ReqMultiSigTxInfo) GetMultiSigAddr() string

func (*ReqMultiSigTxInfo) GetTxId

func (x *ReqMultiSigTxInfo) GetTxId() uint64

func (*ReqMultiSigTxInfo) ProtoMessage

func (*ReqMultiSigTxInfo) ProtoMessage()

func (*ReqMultiSigTxInfo) ProtoReflect added in v1.65.3

func (x *ReqMultiSigTxInfo) ProtoReflect() protoreflect.Message

func (*ReqMultiSigTxInfo) Reset

func (x *ReqMultiSigTxInfo) Reset()

func (*ReqMultiSigTxInfo) String

func (x *ReqMultiSigTxInfo) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ReqMultiSigTxids) Descriptor deprecated

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

Deprecated: Use ReqMultiSigTxids.ProtoReflect.Descriptor instead.

func (*ReqMultiSigTxids) GetExecuted

func (x *ReqMultiSigTxids) GetExecuted() bool

func (*ReqMultiSigTxids) GetFromTxId

func (x *ReqMultiSigTxids) GetFromTxId() uint64

func (*ReqMultiSigTxids) GetMultiSigAddr

func (x *ReqMultiSigTxids) GetMultiSigAddr() string

func (*ReqMultiSigTxids) GetPending

func (x *ReqMultiSigTxids) GetPending() bool

func (*ReqMultiSigTxids) GetToTxId

func (x *ReqMultiSigTxids) GetToTxId() uint64

func (*ReqMultiSigTxids) ProtoMessage

func (*ReqMultiSigTxids) ProtoMessage()

func (*ReqMultiSigTxids) ProtoReflect added in v1.65.3

func (x *ReqMultiSigTxids) ProtoReflect() protoreflect.Message

func (*ReqMultiSigTxids) Reset

func (x *ReqMultiSigTxids) Reset()

func (*ReqMultiSigTxids) String

func (x *ReqMultiSigTxids) String() string

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"`
	// contains filtered or unexported fields
}

func (*SymbolDailyLimit) Descriptor deprecated

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

Deprecated: Use SymbolDailyLimit.ProtoReflect.Descriptor instead.

func (*SymbolDailyLimit) GetDailyLimit

func (x *SymbolDailyLimit) GetDailyLimit() uint64

func (*SymbolDailyLimit) GetExecer

func (x *SymbolDailyLimit) GetExecer() string

func (*SymbolDailyLimit) GetSymbol

func (x *SymbolDailyLimit) GetSymbol() string

func (*SymbolDailyLimit) ProtoMessage

func (*SymbolDailyLimit) ProtoMessage()

func (*SymbolDailyLimit) ProtoReflect added in v1.65.3

func (x *SymbolDailyLimit) ProtoReflect() protoreflect.Message

func (*SymbolDailyLimit) Reset

func (x *SymbolDailyLimit) Reset()

func (*SymbolDailyLimit) String

func (x *SymbolDailyLimit) String() string

type Uint64

type Uint64 struct {
	Data uint64 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Uint64) Descriptor deprecated

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

Deprecated: Use Uint64.ProtoReflect.Descriptor instead.

func (*Uint64) GetData

func (x *Uint64) GetData() uint64

func (*Uint64) ProtoMessage

func (*Uint64) ProtoMessage()

func (*Uint64) ProtoReflect added in v1.65.3

func (x *Uint64) ProtoReflect() protoreflect.Message

func (*Uint64) Reset

func (x *Uint64) Reset()

func (*Uint64) String

func (x *Uint64) String() string

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"`
	// contains filtered or unexported fields
}

func (*UnSpentAssets) Descriptor deprecated

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

Deprecated: Use UnSpentAssets.ProtoReflect.Descriptor instead.

func (*UnSpentAssets) GetAmount

func (x *UnSpentAssets) GetAmount() uint64

func (*UnSpentAssets) GetAssets

func (x *UnSpentAssets) GetAssets() *Assets

func (*UnSpentAssets) ProtoMessage

func (*UnSpentAssets) ProtoMessage()

func (*UnSpentAssets) ProtoReflect added in v1.65.3

func (x *UnSpentAssets) ProtoReflect() protoreflect.Message

func (*UnSpentAssets) Reset

func (x *UnSpentAssets) Reset()

func (*UnSpentAssets) String

func (x *UnSpentAssets) String() string

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