public class ERC721 extends Object
| Constructor and Description |
|---|
ERC721() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
approve(org.hyperledger.fabric.shim.ChaincodeStub stub,
String approved,
String id) |
static long |
balanceOf(org.hyperledger.fabric.shim.ChaincodeStub stub,
String owner) |
static String |
getApproved(org.hyperledger.fabric.shim.ChaincodeStub stub,
String id) |
static boolean |
isApprovedForAll(org.hyperledger.fabric.shim.ChaincodeStub stub,
String owner,
String operator) |
static String |
ownerOf(org.hyperledger.fabric.shim.ChaincodeStub stub,
String id) |
static boolean |
setApprovalForAll(org.hyperledger.fabric.shim.ChaincodeStub stub,
String operator,
boolean approved) |
static boolean |
transferFrom(org.hyperledger.fabric.shim.ChaincodeStub stub,
String from,
String to,
String id) |
public static long balanceOf(org.hyperledger.fabric.shim.ChaincodeStub stub,
String owner)
public static String ownerOf(org.hyperledger.fabric.shim.ChaincodeStub stub, String id) throws IOException
IOExceptionpublic static boolean transferFrom(org.hyperledger.fabric.shim.ChaincodeStub stub,
String from,
String to,
String id)
throws IOException
IOExceptionpublic static boolean approve(org.hyperledger.fabric.shim.ChaincodeStub stub,
String approved,
String id)
throws IOException
IOExceptionpublic static boolean setApprovalForAll(org.hyperledger.fabric.shim.ChaincodeStub stub,
String operator,
boolean approved)
throws IOException
IOExceptionpublic static String getApproved(org.hyperledger.fabric.shim.ChaincodeStub stub, String id) throws IOException
IOExceptionpublic static boolean isApprovedForAll(org.hyperledger.fabric.shim.ChaincodeStub stub,
String owner,
String operator)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.