Documentation ¶
Index ¶
- func AddAddrIfChanged(stub shim.ChaincodeStubInterface, addrMsgFromACL *pb.SignedAddress) error
- func CheckACL(stub shim.ChaincodeStubInterface, keys []string) (*pb.AclResponse, error)
- func GetAccountInfo(stub shim.ChaincodeStubInterface, addr string) (*pb.AccountInfo, error)
- func GetAddress(stub shim.ChaincodeStubInterface, keys string) (*pb.AclResponse, error)
- func GetFullAddress(stub shim.ChaincodeStubInterface, key string) (*pb.Address, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAddrIfChanged ¶
func AddAddrIfChanged(stub shim.ChaincodeStubInterface, addrMsgFromACL *pb.SignedAddress) error
AddAddrIfChanged looks to ACL for pb.Address saved for specific pubkeys and checks addr changed or not (does have pb.Address SignedTx field or not) if the address has changed in the ACL, we also fix it in the token channel
func CheckACL ¶
func CheckACL(stub shim.ChaincodeStubInterface, keys []string) (*pb.AclResponse, error)
CheckACL checks if the address is in the ACL
func GetAccountInfo ¶
func GetAccountInfo(stub shim.ChaincodeStubInterface, addr string) (*pb.AccountInfo, error)
GetAccountInfo returns pb.AccountInfo from the ACL
func GetAddress ¶
func GetAddress(stub shim.ChaincodeStubInterface, keys string) (*pb.AclResponse, error)
GetAddress returns pb.AclResponse from the ACL
func GetFullAddress ¶
GetFullAddress returns pb.Address from the ACL
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.