public class TronContracts extends Object
Constructor and Description |
---|
TronContracts() |
public static Contract.TransferContract createTransferContract(byte[] to, byte[] owner, long amount)
public static Contract.TransferAssetContract createTransferAssetContract(byte[] to, byte[] assertName, byte[] owner, long amount)
public static Contract.ParticipateAssetIssueContract participateAssetIssueContract(byte[] to, byte[] assertName, byte[] owner, long amount)
public static Contract.AccountUpdateContract createAccountUpdateContract(byte[] accountName, byte[] address)
public static Contract.SetAccountIdContract createSetAccountIdContract(byte[] accountId, byte[] address)
public static Contract.UpdateAssetContract createUpdateAssetContract(byte[] address, byte[] description, byte[] url, long newLimit, long newPublicLimit)
public static Contract.AccountCreateContract createAccountCreateContract(byte[] owner, byte[] address)
public static Contract.WitnessCreateContract createWitnessCreateContract(byte[] owner, byte[] url)
public static Contract.WitnessUpdateContract createWitnessUpdateContract(byte[] owner, byte[] url)
public static Contract.VoteWitnessContract createVoteWitnessContract(byte[] owner, Map<TronAddress,Long> witness)
public static Contract.FreezeBalanceContract createFreezeBalanceContract(byte[] address, long frozen_balance, long frozen_duration, int resourceCode)
public static Contract.BuyStorageContract createBuyStorageContract(byte[] address, long quantity)
public static Contract.BuyStorageBytesContract createBuyStorageBytesContract(byte[] address, long bytes)
public static Contract.SellStorageContract createSellStorageContract(byte[] address, long storageBytes)
public static Contract.UnfreezeBalanceContract createUnfreezeBalanceContract(byte[] address, int resourceCode)
public static Contract.UnfreezeAssetContract createUnfreezeAssetContract(byte[] address)
public static Contract.WithdrawBalanceContract createWithdrawBalanceContract(byte[] address)
public static Contract.ProposalCreateContract createProposalCreateContract(byte[] owner, Map<Long,Long> parametersMap)
public static Contract.ProposalApproveContract createProposalApproveContract(byte[] owner, long id, boolean is_add_approval)
public static Contract.ProposalDeleteContract createProposalDeleteContract(byte[] owner, long id)
public static Contract.UpdateSettingContract createUpdateSettingContract(byte[] owner, byte[] contractAddress, long consumeUserResourcePercent)
public static Contract.CreateSmartContract createContractDeployContract(String contractName, byte[] address, String ABI, String code, long value, long consumeUserResourcePercent, long originEnergyLimit, long callValueTokenId, long callValueToken, Map<String,TronAddress> libraryAddressPair)
public static Contract.TriggerSmartContract triggerCallContract(byte[] address, byte[] contractAddress, long callValue, long callValueTokenId, long callValueToken, byte[] data)
Copyright © 2020. All rights reserved.