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 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:
      start in interface org.picocontainer.Startable
    • stop

      public void stop()
      Specified by:
      stop in interface org.picocontainer.Startable
    • isContract

      public boolean isContract(String address)
      Specified by:
      isContract in interface io.meeds.wallet.service.WalletContractService
    • saveContractDetail

      public void saveContractDetail(io.meeds.wallet.model.ContractDetail contractDetail)
      Specified by:
      saveContractDetail in interface io.meeds.wallet.service.WalletContractService
    • getContractDetail

      public io.meeds.wallet.model.ContractDetail getContractDetail(String address)
      Specified by:
      getContractDetail in interface io.meeds.wallet.service.WalletContractService
    • getContractAbi

      public org.json.JSONArray getContractAbi()
      Specified by:
      getContractAbi in interface io.meeds.wallet.service.WalletContractService
    • getContractBinary

      public String getContractBinary()
      Specified by:
      getContractBinary in interface io.meeds.wallet.service.WalletContractService
    • getContractFileContent

      public String getContractFileContent(String name, String extension) throws IOException
      Specified by:
      getContractFileContent in interface io.meeds.wallet.service.WalletContractService
      Throws:
      IOException