public class Ledger
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
clear(Account issuer) |
java.util.List<Account> |
createAccounts(java.lang.Integer num) |
java.lang.String |
deployContract(Account issuer,
java.lang.String bytecode,
java.math.BigInteger value,
java.util.List<org.web3j.abi.datatypes.Type> constructorPrams) |
GetIncomingResp |
getIncoming(java.lang.String merchant) |
static void |
main(java.lang.String[] args) |
void |
pay(Account issuer,
java.lang.Integer cash) |
void |
setMerchant(Account issuer,
java.lang.String merchant,
java.lang.Integer share) |
public java.util.List<Account> createAccounts(java.lang.Integer num)
public java.lang.String deployContract(Account issuer, java.lang.String bytecode, java.math.BigInteger value, java.util.List<org.web3j.abi.datatypes.Type> constructorPrams) throws java.io.IOException, java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void setMerchant(Account issuer, java.lang.String merchant, java.lang.Integer share) throws java.io.IOException, java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void pay(Account issuer, java.lang.Integer cash) throws java.io.IOException, java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic void clear(Account issuer) throws java.io.IOException, java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic GetIncomingResp getIncoming(java.lang.String merchant) throws java.io.IOException, java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException,
java.lang.InterruptedException
java.io.IOExceptionjava.lang.InterruptedExceptionCopyright © 2020. All Rights Reserved.