Skip to content

[pull] master from GoodforGod:master #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 108 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
108 commits
Select commit Hold shift + click to select a range
63beec4
Minor improvements and code style checks
GoodforGod Oct 18, 2020
670ce91
Method to get an event time stamp as milliseconds since the Unix epoc…
iSnow Jul 9, 2020
4a570d2
Method to get an event time stamp as milliseconds since the Unix epoc…
iSnow Jul 9, 2020
c1e995f
Method to get all events without a topic filter
iSnow Jul 14, 2020
1e03995
Higher-level API to read well-known ETH events as polymorphic classes
iSnow Jul 14, 2020
d7ab7ec
Added better handling of communication errors
iSnow Oct 5, 2020
01b31ff
Removed events stuff again, moved to different library
iSnow Oct 6, 2020
5729da7
Removed events stuff again, moved to different library
iSnow Oct 6, 2020
a4e4b09
Added support for rate limiting by Etherscan: throw RateLimitException
iSnow Oct 6, 2020
33b519f
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
664cb72
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
268e5e9
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
bb83e21
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
e74930b
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
93e6b02
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
af94534
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
ea512d1
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
6348a4b
Merge pull request #9 from GoodforGod/dev
GoodforGod Oct 18, 2020
8c0754d
[1.1.0-SNAPSHOT]
GoodforGod Oct 18, 2020
8ba73e8
[1.1.0]
GoodforGod Oct 18, 2020
5030e1c
README.md updated and improved
GoodforGod Apr 4, 2021
de595d2
codestyle.xml 80->100 comment per line
GoodforGod Oct 31, 2021
8adc32c
[1.1.0]
GoodforGod Oct 31, 2021
774201f
[1.1.0]
GoodforGod Oct 31, 2021
5c71cac
[1.1.0]
GoodforGod Oct 31, 2021
50c6fb6
[1.1.0]
GoodforGod Oct 31, 2021
167edcd
[1.1.1]
GoodforGod Oct 31, 2021
412f99b
[1.1.1]
GoodforGod Oct 31, 2021
cd2aad3
[1.1.1]
GoodforGod Oct 31, 2021
2969dc1
Merge pull request #12 from GoodforGod/dev
GoodforGod Nov 1, 2021
be775cf
Add support for ERC-721 (NFT) Tokens
Nov 19, 2021
7ce4a07
Fix formatting
Nov 19, 2021
e8cd38d
fix formatting again
Nov 19, 2021
478faf9
Add tests for RC-721 Tokens
Nov 29, 2021
4bb51f6
Merge pull request #13 from NGuggs/master
GoodforGod Dec 2, 2021
6070078
[1.1.1]
GoodforGod Dec 2, 2021
3a69c65
[1.1.1]
GoodforGod Dec 2, 2021
6f359b5
[1.2.0]
GoodforGod Dec 2, 2021
64f9db3
Merge pull request #14 from GoodforGod/dev
GoodforGod Dec 2, 2021
22c9679
[1.2.0]
GoodforGod Dec 2, 2021
7fc5946
Changed traceId in TxInternal from long to String
guggio Feb 20, 2022
bffcbb9
[1.2.1-SNAPSHOT]
GoodforGod Mar 8, 2022
a0aefad
Merge pull request #17 from guggio/master
GoodforGod Mar 8, 2022
bed627d
[1.2.1-SNAPSHOT]
GoodforGod Mar 8, 2022
bc3449e
[1.2.1]
GoodforGod Mar 8, 2022
1d1aa6f
[1.2.1]
GoodforGod Mar 8, 2022
aae1546
[1.2.1]
GoodforGod Mar 8, 2022
cafcdff
Merge pull request #19 from GoodforGod/dev
GoodforGod Mar 8, 2022
a039cff
[2.0.0-SNAPSHOT]
GoodforGod Mar 29, 2022
1559a3f
added support for txsToken with contract address too
abhaygupta1999 Jul 21, 2022
9fb7d91
gas tracker API implementation
abhaygupta1999 Nov 14, 2022
2174387
debug url
abhaygupta1999 Nov 14, 2022
bf59b71
fixed gas oracle base url
abhaygupta1999 Nov 14, 2022
c462175
removed sout
abhaygupta1999 Nov 14, 2022
f3d6858
[2.0.0-SNAPSHOT]
GoodforGod May 11, 2023
9e4d21a
Merge pull request #23 from abhaygupta1999/master
GoodforGod May 13, 2023
7436509
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
420c68f
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
b9a8dda
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
fe444f4
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
192cb5b
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
0cafb6d
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
34ca1a7
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
f095f0f
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
70cee44
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
43a0693
[2.0.0-SNAPSHOT]
GoodforGod May 13, 2023
9b366c3
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
bf9f02b
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
55788d5
[2.0.0-SNAPSHOT]
guggio Jul 17, 2022
8ec7d93
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
a9dd8e0
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
225b211
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
aa25129
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
873f582
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
1beaafd
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
948a6f3
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
3210c39
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
f5b2edb
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
25751ab
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
47e04a8
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
63f8909
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
6d19b73
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
1416a23
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
14ccb53
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
bf30d9a
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
3a3e409
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
2d666bc
[2.0.0-SNAPSHOT]
GoodforGod May 14, 2023
f09f38a
[2.0.0]
GoodforGod May 14, 2023
d1ec9e5
[2.0.0]
GoodforGod May 14, 2023
b05bd8a
[2.0.0]
GoodforGod May 15, 2023
e6bee19
[2.0.0]
GoodforGod May 15, 2023
c64a301
[2.0.0]
GoodforGod May 16, 2023
fdf0f98
Merge pull request #25 from GoodforGod/dev
GoodforGod May 17, 2023
0e1dccc
[2.0.0]
GoodforGod May 17, 2023
333cfe4
Contract creation API
Blackmorse Sep 24, 2023
234cce4
Formatting
Blackmorse Sep 29, 2023
64540b8
filtering out empty env
Blackmorse Oct 1, 2023
06464f8
Fix codestyle
Blackmorse Oct 4, 2023
3b1af9d
Merge pull request #27 from Blackmorse/contract_creation
GoodforGod Oct 5, 2023
3a87ca8
[2.1.0-SNAPSHOT]
GoodforGod Oct 5, 2023
3405883
[2.1.0-SNAPSHOT]
GoodforGod Oct 5, 2023
40059f4
[2.1.0-SNAPSHOT]
GoodforGod Oct 5, 2023
519c26a
[2.1.0-SNAPSHOT]
GoodforGod Oct 5, 2023
b6e9ba5
[2.1.0-SNAPSHOT]
GoodforGod Oct 5, 2023
c855695
[2.1.0-SNAPSHOT]
GoodforGod Oct 5, 2023
3a252b4
[2.1.0-SNAPSHOT]
GoodforGod Oct 5, 2023
1195075
Merge pull request #28 from GoodforGod/dev
GoodforGod Oct 5, 2023
3de7b24
[2.1.0-SNAPSHOT]
GoodforGod Jan 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# all-encompassing default settings unless otherwise specified
[*]
end_of_line = lf
charset = utf-8

# Json
[*.json]
indent_size = 2
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = true

# Yaml
[{*.yml, *.yaml}]
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# Property files
[*.properties]
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

# XML files
[*.xml]
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
60 changes: 60 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto


# The above will handle all files NOT found below
# These files are text and should be normalized (Convert crlf => lf)
*.bash text eol=lf
*.css text diff=css
*.df text
*.htm text diff=html
*.html text diff=html eol=lf
*.java text diff=java eol=lf
*.js text
*.json text eol=lf
*.jsp text eol=lf
*.jspf text eol=lf
*.jspx text eol=lf
*.properties text eol=lf
*.sh text eol=lf
*.tld text
*.txt text eol=lf
*.tag text
*.tagx text
*.xml text
*.yml text eol=lf


# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
# Archives
*.7z binary
*.br binary
*.gz binary
*.tar binary
*.zip binary
*.jar binary
*.so binary
*.war binary
*.dll binary

# Documents
*.pdf binary

# Images
*.ico binary
*.gif binary
*.jpg binary
*.jpeg binary
*.png binary
*.psd binary
*.webp binary

# Fonts
*.woff2 binary

# Other
*.exe binary
*.class binary
*.ear binary
49 changes: 49 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: CI Master

on:
release:
types: [ published ]

jobs:
publish-release:
runs-on: ubuntu-latest
name: Publish Release

steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'

- name: Build
run: './gradlew classes'

- name: Test
run: './gradlew test jacocoTestReport'
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY_2 }}

- name: SonarQube
run: './gradlew sonar --info'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Publish Release to GitHub Packages
run: './gradlew publishMavenJavaPublicationToGitHubPackagesRepository'
env:
RELEASE_VERSION: ${{ github.ref_name }}
GITHUB_TOKEN: ${{ secrets.OSS_GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSS_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSS_SIGNING_PASSWORD }}

- name: Publish Release to OSSRH
run: './gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository'
env:
RELEASE_VERSION: ${{ github.ref_name }}
OSS_USERNAME: ${{ secrets.OSS_USERNAME }}
OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSS_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSS_SIGNING_PASSWORD }}
44 changes: 44 additions & 0 deletions .github/workflows/publish-snapshot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI Dev

on:
push:
paths:
- '**/workflows/*.yml'
- '**/java/**'
- '*.java'
- '*.gradle'
- '*.properties'
branches:
- dev

jobs:
publish-snapshot:
runs-on: ubuntu-latest
name: Publish Snapshot

steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'adopt'

- name: Code Style
run: './gradlew spotlessCheck'

- name: Build
run: './gradlew classes'

- name: Test
run: './gradlew test jacocoTestReport'
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY_2 }}

- name: Publish Snapshot
run: './gradlew publish'
env:
OSS_USERNAME: ${{ secrets.OSS_USERNAME }}
OSS_PASSWORD: ${{ secrets.OSS_PASSWORD }}
ORG_GRADLE_PROJECT_signingKey: ${{ secrets.OSS_SIGNING_KEY }}
ORG_GRADLE_PROJECT_signingPassword: ${{ secrets.OSS_SIGNING_PASSWORD }}
55 changes: 55 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: CI Pull Request

on:
pull_request:
branches:
- master
- dev

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '11', '17' ]
name: Java ${{ matrix.java }} Pull Request setup

steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'

- name: Code Style
run: './gradlew spotlessCheck'

- name: Build
run: './gradlew classes'

- name: Test
if: matrix.java == '11'
run: './gradlew test jacocoTestReport'
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY_1 }}

- name: Test
if: matrix.java == '17'
run: './gradlew test jacocoTestReport'
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY_2 }}

- name: Test Report
if: matrix.java == '17'
uses: EnricoMi/publish-unit-test-result-action@v2
with:
files: |
**/test-results/**/*.xml

- name: SonarQube
if: matrix.java == '17'
run: './gradlew sonar --info'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
18 changes: 17 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,18 @@
.idea/
### Package Files
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar

### Gradle template
.gradle
build/
target/

### Idea generated files
.idea
.settings/
*.iml
out/
14 changes: 0 additions & 14 deletions .travis.yml

This file was deleted.

23 changes: 23 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Contributing Code or Documentation Guide

## Running Tests

The new code should contain tests that check new behavior.

Run tests `./gradlew test` to check that code works as behavior.

## Code Style

The code base should remain clean, following industry best practices for organization, javadoc and style, as much as possible.

To run the Code Style check use `./gradlew spotlessCheck`.

If check found any errors, you can apply Code Style by running `./gradlew spotlessApply`

## Creating a pull request

Once you are satisfied with your changes:

- Commit changes to the local branch you created.
- Push that branch with changes to the corresponding remote branch on GitHub
- Submit a [pull request](https://help.github.com/articles/creating-a-pull-request) to `dev` branch.
Loading