| Package | Description |
|---|---|
| com.github.annchain.examples.Ledger | |
| com.github.annchain.examples.NewToken | |
| com.github.annchain.sdk.main | |
| com.github.annchain.sdk.types |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Account> |
Ledger.createAccounts(java.lang.Integer num) |
| Modifier and Type | Method and Description |
|---|---|
void |
Ledger.clear(Account issuer) |
java.lang.String |
Ledger.deployContract(Account issuer,
java.lang.String bytecode,
java.math.BigInteger value,
java.util.List<org.web3j.abi.datatypes.Type> constructorPrams) |
void |
Ledger.pay(Account issuer,
java.lang.Integer cash) |
void |
Ledger.setMerchant(Account issuer,
java.lang.String merchant,
java.lang.Integer share) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Account> |
NewTokenDemo.createAccounts(java.lang.Integer num) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
NewTokenDemo.deployContract(Account issuer,
java.lang.String bytecode,
java.math.BigInteger value,
java.util.List<org.web3j.abi.datatypes.Type> constructorPrams) |
IssueTokenResp |
NewTokenDemo.issueToken(Account issuer,
java.lang.String toUser,
byte[] data) |
ShiftResp |
NewTokenDemo.shift(Account issuer,
java.lang.String fromUser,
java.lang.String toUser,
byte[] hash) |
| Modifier and Type | Method and Description |
|---|---|
void |
NewTokenDemo.tranferBasicValue(java.util.List<Account> accounts,
java.math.BigInteger value) |
| Modifier and Type | Method and Description |
|---|---|
SendTransactionResp |
OG.CallContract(Account account,
java.lang.String contractAddress,
java.math.BigInteger value,
java.lang.String funcName,
java.util.List<org.web3j.abi.datatypes.Type> inputs,
java.util.List<org.web3j.abi.TypeReference<?>> outputParams) |
SendTransactionResp |
OG.CallContractAndJoin(Account account,
java.lang.String contractAddress,
java.math.BigInteger value,
java.lang.String funcName,
java.util.List<org.web3j.abi.datatypes.Type> inputs,
java.util.List<org.web3j.abi.TypeReference<?>> outputParams,
IContractCallback callback) |
SendTransactionResp |
OG.DeployContract(Account account,
java.math.BigInteger value,
java.lang.String bytecode,
java.util.List<org.web3j.abi.datatypes.Type> constructorParameters) |
SendTransactionResp |
OG.DeployContractAndJoin(Account account,
java.math.BigInteger value,
java.lang.String bytecode,
java.util.List<org.web3j.abi.datatypes.Type> constructorParameters,
IConfirmCallback callback) |
SendTransactionResp |
OG.DestroyToken(Account account,
java.lang.Integer tokenID) |
SendTransactionResp |
OG.DestroyTokenAndJoin(Account account,
java.lang.Integer tokenID,
IConfirmCallback callback) |
SendTransactionResp |
OG.InitialTokenOffering(Account account,
java.math.BigInteger value,
java.lang.Boolean additionalIssue,
java.lang.String tokenName) |
SendTransactionResp |
OG.InitialTokenOfferingAndJoin(Account account,
java.math.BigInteger value,
java.lang.Boolean additionalIssue,
java.lang.String tokenName,
IConfirmCallback callback) |
SendTransactionResp |
OG.OfferMoreToken(Account account,
java.math.BigInteger value,
java.lang.Integer tokenID) |
SendTransactionResp |
OG.OfferMoreTokenAndJoin(Account account,
java.math.BigInteger value,
java.lang.Integer tokenID,
IConfirmCallback callback) |
SendTransactionResp |
OG.SendTransaction(Account account,
java.lang.String to,
java.math.BigInteger value) |
SendTransactionResp |
OG.SendTransactionAndJoin(Account account,
java.lang.String to,
java.math.BigInteger value,
IConfirmCallback callback) |
SendTransactionResp |
OG.TransferToken(Account account,
java.lang.String to,
java.lang.Integer tokenID,
java.math.BigInteger value) |
SendTransactionResp |
OG.TransferTokenAndJoin(Account account,
java.lang.String to,
java.lang.Integer tokenID,
java.math.BigInteger value,
IConfirmCallback callback) |
| Modifier and Type | Field and Description |
|---|---|
Account |
TX_Action.account |
| Constructor and Description |
|---|
TX_AdditionalTokenOffering(Account fromAccount,
java.lang.Long nonce,
java.math.BigInteger value,
java.lang.Integer tokenID) |
TX_DestroyToken(Account fromAccount,
java.lang.Long nonce,
java.lang.Integer tokenID) |
TX_InitialTokenOffering(Account fromAccount,
java.lang.Long nonce,
java.math.BigInteger value,
java.lang.Boolean additionalIssue,
java.lang.String tokenName) |
TX(Account fromAccount,
java.lang.String toAddress,
java.lang.Long nonce,
java.math.BigInteger value,
java.lang.String data,
java.lang.Integer tokenID) |
Copyright © 2020. All Rights Reserved.