Skip to content

Commit d533851

Browse files
committed
Refactoring with new package
Api Contracts renamed Api implementations renamed and refactored Proxy Api improvements Documentation in progress
1 parent 15d5775 commit d533851

File tree

87 files changed

+720
-554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+720
-554
lines changed

src/main/java/io/api/core/IBlockProvider.java

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/main/java/io/api/core/ILogsProvider.java

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/main/java/io/api/core/IProxyProvider.java

Lines changed: 0 additions & 39 deletions
This file was deleted.

src/main/java/io/api/core/IStatisticProvider.java

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/main/java/io/api/core/ITransactionProvider.java

Lines changed: 0 additions & 18 deletions
This file was deleted.

src/main/java/io/api/core/impl/BlockProvider.java

Lines changed: 0 additions & 40 deletions
This file was deleted.

src/main/java/io/api/core/impl/EtherScanApi.java

Lines changed: 0 additions & 80 deletions
This file was deleted.

src/main/java/io/api/core/impl/TransactionProvider.java

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/main/java/io/api/App.java renamed to src/main/java/io/api/etherscan/App.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
package io.api;
1+
package io.api.etherscan;
22

3-
import io.api.core.impl.EtherScanApi;
4-
import io.api.model.Tx;
5-
import io.api.model.TxInternal;
6-
import io.api.model.TxToken;
7-
import io.api.model.UncleBlock;
3+
import io.api.etherscan.core.impl.EtherScanApi;
4+
import io.api.etherscan.model.Tx;
5+
import io.api.etherscan.model.TxInternal;
6+
import io.api.etherscan.model.TxToken;
7+
import io.api.etherscan.model.UncleBlock;
88

99
import java.util.List;
1010
import java.util.Optional;

src/main/java/io/api/core/IAccountProvider.java renamed to src/main/java/io/api/etherscan/core/IAccountApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package io.api.core;
1+
package io.api.etherscan.core;
22

3-
import io.api.error.ApiException;
4-
import io.api.model.*;
3+
import io.api.etherscan.error.ApiException;
4+
import io.api.etherscan.model.*;
55
import org.jetbrains.annotations.NotNull;
66

77
import java.util.List;
@@ -13,7 +13,7 @@
1313
* @author GoodforGod
1414
* @since 28.10.2018
1515
*/
16-
public interface IAccountProvider {
16+
public interface IAccountApi {
1717

1818
/** Address ETH balance */
1919
@NotNull Balance balance(String address) throws ApiException;

0 commit comments

Comments
 (0)