public class WalletContractServiceImpl extends Object implements org.exoplatform.wallet.service.WalletContractService, org.picocontainer.Startable
| Constructor and Description |
|---|
WalletContractServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.container.xml.InitParams params) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
getContractAbi() |
String |
getContractBinary() |
org.exoplatform.wallet.model.ContractDetail |
getContractDetail(String address) |
String |
getContractFileContent(String name,
String extension) |
boolean |
isContract(String address) |
void |
refreshContractDetail(Set<String> contractModifications) |
void |
saveContractDetail(org.exoplatform.wallet.model.ContractDetail contractDetail) |
void |
start() |
void |
stop() |
public WalletContractServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.container.configuration.ConfigurationManager configurationManager,
org.exoplatform.container.xml.InitParams params)
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic boolean isContract(String address)
isContract in interface org.exoplatform.wallet.service.WalletContractServicepublic void saveContractDetail(org.exoplatform.wallet.model.ContractDetail contractDetail)
saveContractDetail in interface org.exoplatform.wallet.service.WalletContractServicepublic org.exoplatform.wallet.model.ContractDetail getContractDetail(String address)
getContractDetail in interface org.exoplatform.wallet.service.WalletContractServicepublic void refreshContractDetail(Set<String> contractModifications)
refreshContractDetail in interface org.exoplatform.wallet.service.WalletContractServicepublic org.json.JSONArray getContractAbi()
getContractAbi in interface org.exoplatform.wallet.service.WalletContractServicepublic String getContractBinary()
getContractBinary in interface org.exoplatform.wallet.service.WalletContractServicepublic String getContractFileContent(String name, String extension) throws IOException
getContractFileContent in interface org.exoplatform.wallet.service.WalletContractServiceIOExceptionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.