@RolesAllowed(value="administrators") public class EthereumWalletContractREST extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
| Constructor and Description |
|---|
EthereumWalletContractREST(EthereumWalletService ethereumWalletService) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
removeContract(String address,
Long networkId)
Removes a contract address from default contracts displayed in wallet of
all users
|
javax.ws.rs.core.Response |
saveContract(ContractDetail contractDetail)
Save a new contract address to display it in wallet of all users and save
contract name and symbol
|
public EthereumWalletContractREST(EthereumWalletService ethereumWalletService)
public javax.ws.rs.core.Response saveContract(ContractDetail contractDetail)
contractDetail - Copyright © 2003–2018 eXo Platform SAS. All rights reserved.