Package io.meeds.wallet.service
Class WalletContractServiceImpl
java.lang.Object
io.meeds.wallet.service.WalletContractServiceImpl
- All Implemented Interfaces:
io.meeds.wallet.service.WalletContractService,org.picocontainer.Startable
public class WalletContractServiceImpl
extends Object
implements io.meeds.wallet.service.WalletContractService, org.picocontainer.Startable
-
Constructor Summary
ConstructorsConstructorDescriptionWalletContractServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.container.configuration.ConfigurationManager configurationManager, org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionorg.json.JSONArrayio.meeds.wallet.model.ContractDetailgetContractDetail(String address) getContractFileContent(String name, String extension) booleanisContract(String address) voidsaveContractDetail(io.meeds.wallet.model.ContractDetail contractDetail) voidstart()voidstop()
-
Constructor Details
-
WalletContractServiceImpl
public WalletContractServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.container.configuration.ConfigurationManager configurationManager, org.exoplatform.container.xml.InitParams params)
-
-
Method Details
-
start
public void start()- Specified by:
startin interfaceorg.picocontainer.Startable
-
stop
public void stop()- Specified by:
stopin interfaceorg.picocontainer.Startable
-
isContract
- Specified by:
isContractin interfaceio.meeds.wallet.service.WalletContractService
-
saveContractDetail
public void saveContractDetail(io.meeds.wallet.model.ContractDetail contractDetail) - Specified by:
saveContractDetailin interfaceio.meeds.wallet.service.WalletContractService
-
getContractDetail
- Specified by:
getContractDetailin interfaceio.meeds.wallet.service.WalletContractService
-
getContractAbi
public org.json.JSONArray getContractAbi()- Specified by:
getContractAbiin interfaceio.meeds.wallet.service.WalletContractService
-
getContractBinary
- Specified by:
getContractBinaryin interfaceio.meeds.wallet.service.WalletContractService
-
getContractFileContent
- Specified by:
getContractFileContentin interfaceio.meeds.wallet.service.WalletContractService- Throws:
IOException
-