public class TokenTypeManagement extends Object
| Constructor and Description |
|---|
TokenTypeManagement() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
dropTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub,
String type) |
static boolean |
enrollTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub,
String type,
Map<String,List<String>> attributes) |
static List<String> |
retrieveAttributeOfTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub,
String type,
String attribute) |
static Map<String,List<String>> |
retrieveTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub,
String type) |
static List<String> |
tokenTypesOf(org.hyperledger.fabric.shim.ChaincodeStub stub) |
public static List<String> tokenTypesOf(org.hyperledger.fabric.shim.ChaincodeStub stub) throws IOException
IOExceptionpublic static boolean enrollTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub,
String type,
Map<String,List<String>> attributes)
throws IOException
IOExceptionpublic static boolean dropTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub,
String type)
throws IOException
IOExceptionpublic static Map<String,List<String>> retrieveTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub, String type) throws IOException
IOExceptionpublic static List<String> retrieveAttributeOfTokenType(org.hyperledger.fabric.shim.ChaincodeStub stub, String type, String attribute) throws IOException
IOExceptionCopyright © 2020. All rights reserved.