Versions in this module Expand all Collapse all v1 v1.0.2 Jan 27, 2022 v1.0.1 Dec 1, 2021 Changes in this version + func NewACLManager(ctx *actx.AclCtx) (base.AclManager, error) + func UpdateAK2AccountReflection(ctx contract.KContext, aclOldJSON []byte, aclNewJSON []byte, ...) error + type KernMethod struct + BcName string + NewAccountResourceAmount int64 + func NewKernContractMethod(bcName string, NewAccountResourceAmount int64) *KernMethod + func (t *KernMethod) NewAccount(ctx contract.KContext) (*contract.Response, error) + func (t *KernMethod) SetAccountACL(ctx contract.KContext) (*contract.Response, error) + func (t *KernMethod) SetMethodACL(ctx contract.KContext) (*contract.Response, error) + type Manager struct + Ctx *actx.AclCtx + func (mgr *Manager) GetAccountACL(accountName string) (*pb.Acl, error) + func (mgr *Manager) GetAccountAddresses(accountName string) ([]string, error) + func (mgr *Manager) GetContractMethodACL(contractName, methodName string) (*pb.Acl, error) + func (mgr *Manager) GetObjectBySnapshot(bucket string, object []byte) ([]byte, error)