Documentation ¶
Index ¶
- Constants
- func AddOwnerAttr(firstAdd bool, ownerAttrs *mtypes.OwnerAttrs, ownerAttr *mtypes.OwnerAttr, ...)
- func DelOwnerAttr(ownerAttrs *mtypes.OwnerAttrs, ownerAddr string, multiSigAddr string, ...)
- func ModOwnerAttr(ownerAttrs *mtypes.OwnerAttrs, ownerAddr string, multiSigAddr string, ...)
- func New() wcom.WalletBizPolicy
Constants ¶
View Source
const (
MaxCountPerTime int64 = 100
)
MaxCountPerTime: 每次获取多重签名账户的数量
View Source
const (
// MultisigAddr 记录本钱包owner地址拥有的多重签名地址,key:"multisig-addr-owneraddr, value [](multisigaddr,owneraddr,weight)
MultisigAddr = "multisig-addr-"
)
Variables ¶
This section is empty.
Functions ¶
func AddOwnerAttr ¶
func AddOwnerAttr(firstAdd bool, ownerAttrs *mtypes.OwnerAttrs, ownerAttr *mtypes.OwnerAttr, newbatch db.Batch)
AddOwnerAttr : 添加owmer属性
func DelOwnerAttr ¶
func DelOwnerAttr(ownerAttrs *mtypes.OwnerAttrs, ownerAddr string, multiSigAddr string, newbatch db.Batch)
DelOwnerAttr :删除owner属性
func ModOwnerAttr ¶
func ModOwnerAttr(ownerAttrs *mtypes.OwnerAttrs, ownerAddr string, multiSigAddr string, weight uint64, newbatch db.Batch)
ModOwnerAttr :修改owner weight属性
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.