erc20 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.0pdd.yml +22 -0
- data/.gitattributes +7 -0
- data/.github/workflows/actionlint.yml +41 -0
- data/.github/workflows/codecov.yml +42 -0
- data/.github/workflows/copyrights.yml +34 -0
- data/.github/workflows/markdown-lint.yml +38 -0
- data/.github/workflows/pdd.yml +34 -0
- data/.github/workflows/rake.yml +45 -0
- data/.github/workflows/xcop.yml +34 -0
- data/.github/workflows/yamllint.yml +36 -0
- data/.gitignore +8 -0
- data/.pdd +7 -0
- data/.rubocop.yml +63 -0
- data/.rultor.yml +42 -0
- data/.simplecov +39 -0
- data/.yamllint.yml +29 -0
- data/Gemfile +38 -0
- data/Gemfile.lock +215 -0
- data/LICENSE.txt +21 -0
- data/README.md +50 -0
- data/Rakefile +71 -0
- data/erc20.gemspec +45 -0
- data/lib/erc20/wallet.rb +47 -0
- data/lib/erc20.rb +31 -0
- data/renovate.json +6 -0
- data/test/erc20/test_wallet.rb +38 -0
- data/test/test__helper.rb +35 -0
- metadata +102 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0b960e80558aca8b654d178d60629c83673a67c419a41be4e224be99b12bebbf
|
4
|
+
data.tar.gz: 706ad9b5c8187dd6db93821f0aefe2d84ddadfe6f77eac35d5e416e052653f57
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 935689bf9f9e0bc69a8d5415bf30d5f24f0c64c3057a5e5496229f73c1a4a0f65c51f2d243959f6cf0be39d44e35f19eaa4d0df1e62320d1861b9d28196de33c
|
7
|
+
data.tar.gz: 875542239945570f71fa515d478d70ba705b5c85a66d1109b1e138e71b318cdba01044c6a51a791912b2551c0f5d5cc02ff7022e7f1e560dfa45faa86d875c03
|
data/.0pdd.yml
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
errors:
|
22
|
+
- yegor256@gmail.com
|
data/.gitattributes
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: actionlint
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
pull_request:
|
27
|
+
branches:
|
28
|
+
- master
|
29
|
+
jobs:
|
30
|
+
actionlint:
|
31
|
+
runs-on: ubuntu-24.04
|
32
|
+
steps:
|
33
|
+
- uses: actions/checkout@v4
|
34
|
+
- name: Download actionlint
|
35
|
+
id: get_actionlint
|
36
|
+
# yamllint disable-line rule:line-length
|
37
|
+
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
|
38
|
+
shell: bash
|
39
|
+
- name: Check workflow files
|
40
|
+
run: ${{ steps.get_actionlint.outputs.executable }} -color
|
41
|
+
shell: bash
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: codecov
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
jobs:
|
27
|
+
codecov:
|
28
|
+
runs-on: ubuntu-24.04
|
29
|
+
steps:
|
30
|
+
- uses: actions/checkout@v4
|
31
|
+
- uses: ruby/setup-ruby@v1
|
32
|
+
with:
|
33
|
+
ruby-version: 3.3
|
34
|
+
bundler-cache: true
|
35
|
+
- run: bundle config set --global path "$(pwd)/vendor/bundle"
|
36
|
+
- run: bundle install
|
37
|
+
- run: bundle exec rake
|
38
|
+
- uses: codecov/codecov-action@v5
|
39
|
+
with:
|
40
|
+
token: ${{ secrets.CODECOV_TOKEN }}
|
41
|
+
files: coverage/.resultset.json
|
42
|
+
fail_ci_if_error: true
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: copyrights
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
pull_request:
|
27
|
+
branches:
|
28
|
+
- master
|
29
|
+
jobs:
|
30
|
+
copyrights:
|
31
|
+
runs-on: ubuntu-24.04
|
32
|
+
steps:
|
33
|
+
- uses: actions/checkout@v4
|
34
|
+
- uses: yegor256/copyrights-action@0.0.8
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: markdown-lint
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
pull_request:
|
27
|
+
branches:
|
28
|
+
- master
|
29
|
+
paths-ignore: ['paper/**', 'sandbox/**']
|
30
|
+
concurrency:
|
31
|
+
group: markdown-lint-${{ github.ref }}
|
32
|
+
cancel-in-progress: true
|
33
|
+
jobs:
|
34
|
+
markdown-lint:
|
35
|
+
runs-on: ubuntu-24.04
|
36
|
+
steps:
|
37
|
+
- uses: actions/checkout@v4
|
38
|
+
- uses: articulate/actions-markdownlint@v1
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: pdd
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
pull_request:
|
27
|
+
branches:
|
28
|
+
- master
|
29
|
+
jobs:
|
30
|
+
pdd:
|
31
|
+
runs-on: ubuntu-24.04
|
32
|
+
steps:
|
33
|
+
- uses: actions/checkout@v4
|
34
|
+
- uses: volodya-lombrozo/pdd-action@master
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: rake
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
pull_request:
|
27
|
+
branches:
|
28
|
+
- master
|
29
|
+
jobs:
|
30
|
+
rake:
|
31
|
+
name: test
|
32
|
+
strategy:
|
33
|
+
matrix:
|
34
|
+
os: [ubuntu-24.04, macos-15, windows-2022]
|
35
|
+
ruby: [3.3]
|
36
|
+
runs-on: ${{ matrix.os }}
|
37
|
+
steps:
|
38
|
+
- uses: actions/checkout@v4
|
39
|
+
- uses: ruby/setup-ruby@v1
|
40
|
+
with:
|
41
|
+
ruby-version: ${{ matrix.ruby }}
|
42
|
+
bundler-cache: true
|
43
|
+
- run: bundle config set --global path "$(pwd)/vendor/bundle"
|
44
|
+
- run: bundle install
|
45
|
+
- run: bundle exec rake
|
@@ -0,0 +1,34 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: xcop
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
pull_request:
|
27
|
+
branches:
|
28
|
+
- master
|
29
|
+
jobs:
|
30
|
+
xcop:
|
31
|
+
runs-on: ubuntu-24.04
|
32
|
+
steps:
|
33
|
+
- uses: actions/checkout@v4
|
34
|
+
- uses: g4s8/xcop-action@master
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
name: yamllint
|
22
|
+
'on':
|
23
|
+
push:
|
24
|
+
branches:
|
25
|
+
- master
|
26
|
+
pull_request:
|
27
|
+
branches:
|
28
|
+
- master
|
29
|
+
jobs:
|
30
|
+
yamllint:
|
31
|
+
runs-on: ubuntu-24.04
|
32
|
+
steps:
|
33
|
+
- uses: actions/checkout@v4
|
34
|
+
- uses: ibiqlik/action-yamllint@v3
|
35
|
+
with:
|
36
|
+
config_file: .yamllint.yml
|
data/.gitignore
ADDED
data/.pdd
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,63 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
AllCops:
|
22
|
+
Exclude:
|
23
|
+
- 'bin/**/*'
|
24
|
+
- 'assets/**/*'
|
25
|
+
- 'vendor/**/**'
|
26
|
+
DisplayCopNames: true
|
27
|
+
TargetRubyVersion: 3.2
|
28
|
+
SuggestExtensions: false
|
29
|
+
NewCops: enable
|
30
|
+
require:
|
31
|
+
- rubocop-minitest
|
32
|
+
- rubocop-performance
|
33
|
+
|
34
|
+
Minitest/EmptyLineBeforeAssertionMethods:
|
35
|
+
Enabled: false
|
36
|
+
Gemspec/RequiredRubyVersion:
|
37
|
+
Enabled: false
|
38
|
+
Metrics/MethodLength:
|
39
|
+
Enabled: false
|
40
|
+
Style/ClassAndModuleChildren:
|
41
|
+
Enabled: false
|
42
|
+
Layout/MultilineMethodCallIndentation:
|
43
|
+
Enabled: false
|
44
|
+
Metrics/AbcSize:
|
45
|
+
Enabled: false
|
46
|
+
Metrics/BlockLength:
|
47
|
+
Max: 30
|
48
|
+
Metrics/CyclomaticComplexity:
|
49
|
+
Max: 25
|
50
|
+
Metrics/PerceivedComplexity:
|
51
|
+
Max: 30
|
52
|
+
Metrics/ClassLength:
|
53
|
+
Enabled: false
|
54
|
+
Layout/EmptyLineAfterGuardClause:
|
55
|
+
Enabled: false
|
56
|
+
Naming/MethodParameterName:
|
57
|
+
MinNameLength: 2
|
58
|
+
Layout/EndOfLine:
|
59
|
+
EnforcedStyle: lf
|
60
|
+
Security/MarshalLoad:
|
61
|
+
Enabled: false
|
62
|
+
Layout/MultilineAssignmentLayout:
|
63
|
+
Enabled: true
|
data/.rultor.yml
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
docker:
|
22
|
+
image: yegor256/rultor-ruby
|
23
|
+
assets:
|
24
|
+
rubygems.yml: yegor256/home#assets/rubygems.yml
|
25
|
+
install: |
|
26
|
+
pdd -f /dev/null
|
27
|
+
bundle install --no-color
|
28
|
+
release:
|
29
|
+
pre: false
|
30
|
+
script: |-
|
31
|
+
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
|
32
|
+
bundle exec rake
|
33
|
+
rm -rf *.gem
|
34
|
+
sed -i "s/0\.0\.0/${tag}/g" lib/erc20.rb
|
35
|
+
git add lib/erc20.rb
|
36
|
+
git commit -m "version set to ${tag}"
|
37
|
+
gem build erc20.gemspec
|
38
|
+
chmod 0600 ../rubygems.yml
|
39
|
+
gem push *.gem --config-file ../rubygems.yml
|
40
|
+
merge:
|
41
|
+
script: |-
|
42
|
+
bundle exec rake
|
data/.simplecov
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
#
|
4
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
5
|
+
#
|
6
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
7
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
8
|
+
# in the Software without restriction, including without limitation the rights
|
9
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
10
|
+
# copies of the Software, and to permit persons to whom the Software is
|
11
|
+
# furnished to do so, subject to the following conditions:
|
12
|
+
#
|
13
|
+
# The above copyright notice and this permission notice shall be included in all
|
14
|
+
# copies or substantial portions of the Software.
|
15
|
+
#
|
16
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
17
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
18
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
19
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
20
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
21
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
22
|
+
# SOFTWARE.
|
23
|
+
|
24
|
+
if Gem.win_platform?
|
25
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
26
|
+
SimpleCov::Formatter::HTMLFormatter
|
27
|
+
]
|
28
|
+
SimpleCov.start do
|
29
|
+
add_filter '/test/'
|
30
|
+
end
|
31
|
+
else
|
32
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
33
|
+
[SimpleCov::Formatter::HTMLFormatter]
|
34
|
+
)
|
35
|
+
SimpleCov.start do
|
36
|
+
add_filter '/test/'
|
37
|
+
minimum_coverage 20
|
38
|
+
end
|
39
|
+
end
|
data/.yamllint.yml
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
2
|
+
#
|
3
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
4
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
5
|
+
# in the Software without restriction, including without limitation the rights
|
6
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
7
|
+
# copies of the Software, and to permit persons to whom the Software is
|
8
|
+
# furnished to do so, subject to the following conditions:
|
9
|
+
#
|
10
|
+
# The above copyright notice and this permission notice shall be included in all
|
11
|
+
# copies or substantial portions of the Software.
|
12
|
+
#
|
13
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19
|
+
# SOFTWARE.
|
20
|
+
---
|
21
|
+
extends: default
|
22
|
+
rules:
|
23
|
+
line-length: disable
|
24
|
+
brackets:
|
25
|
+
min-spaces-inside: 0
|
26
|
+
max-spaces-inside: 2
|
27
|
+
truthy:
|
28
|
+
level: warning
|
29
|
+
allowed-values: [ 'on', 'true', 'false', 'yes', 'no' ]
|
data/Gemfile
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
source 'https://rubygems.org'
|
24
|
+
gemspec
|
25
|
+
|
26
|
+
gem 'loog', '>0', require: false
|
27
|
+
gem 'minitest', '5.25.4', require: false
|
28
|
+
gem 'minitest-reporters', '1.7.1', require: false
|
29
|
+
gem 'rake', '13.2.1', require: false
|
30
|
+
gem 'rspec-rails', '7.1.0', require: false
|
31
|
+
gem 'rubocop', '1.71.1', require: false
|
32
|
+
gem 'rubocop-minitest', '0.36.0', require: false
|
33
|
+
gem 'rubocop-performance', '1.23.1', require: false
|
34
|
+
gem 'rubocop-rspec', '3.4.0', require: false
|
35
|
+
gem 'simplecov', '0.22.0', require: false
|
36
|
+
gem 'simplecov-cobertura', '2.1.0', require: false
|
37
|
+
gem 'threads', '0.4.1', require: false
|
38
|
+
gem 'yard', '0.9.37', require: false
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,215 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
erc20 (0.0.0)
|
5
|
+
backtrace (> 0)
|
6
|
+
tago (> 0)
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
actionpack (8.0.1)
|
12
|
+
actionview (= 8.0.1)
|
13
|
+
activesupport (= 8.0.1)
|
14
|
+
nokogiri (>= 1.8.5)
|
15
|
+
rack (>= 2.2.4)
|
16
|
+
rack-session (>= 1.0.1)
|
17
|
+
rack-test (>= 0.6.3)
|
18
|
+
rails-dom-testing (~> 2.2)
|
19
|
+
rails-html-sanitizer (~> 1.6)
|
20
|
+
useragent (~> 0.16)
|
21
|
+
actionview (8.0.1)
|
22
|
+
activesupport (= 8.0.1)
|
23
|
+
builder (~> 3.1)
|
24
|
+
erubi (~> 1.11)
|
25
|
+
rails-dom-testing (~> 2.2)
|
26
|
+
rails-html-sanitizer (~> 1.6)
|
27
|
+
activesupport (8.0.1)
|
28
|
+
base64
|
29
|
+
benchmark (>= 0.3)
|
30
|
+
bigdecimal
|
31
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
32
|
+
connection_pool (>= 2.2.5)
|
33
|
+
drb
|
34
|
+
i18n (>= 1.6, < 2)
|
35
|
+
logger (>= 1.4.2)
|
36
|
+
minitest (>= 5.1)
|
37
|
+
securerandom (>= 0.3)
|
38
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
39
|
+
uri (>= 0.13.1)
|
40
|
+
ansi (1.5.0)
|
41
|
+
ast (2.4.2)
|
42
|
+
backtrace (0.4.0)
|
43
|
+
base64 (0.2.0)
|
44
|
+
benchmark (0.4.0)
|
45
|
+
bigdecimal (3.1.9)
|
46
|
+
builder (3.3.0)
|
47
|
+
concurrent-ruby (1.3.5)
|
48
|
+
connection_pool (2.5.0)
|
49
|
+
crass (1.0.6)
|
50
|
+
date (3.4.1)
|
51
|
+
diff-lcs (1.5.1)
|
52
|
+
docile (1.4.1)
|
53
|
+
drb (2.2.1)
|
54
|
+
erubi (1.13.1)
|
55
|
+
i18n (1.14.7)
|
56
|
+
concurrent-ruby (~> 1.0)
|
57
|
+
io-console (0.8.0)
|
58
|
+
irb (1.15.1)
|
59
|
+
pp (>= 0.6.0)
|
60
|
+
rdoc (>= 4.0.0)
|
61
|
+
reline (>= 0.4.2)
|
62
|
+
json (2.9.1)
|
63
|
+
language_server-protocol (3.17.0.4)
|
64
|
+
logger (1.6.5)
|
65
|
+
loofah (2.24.0)
|
66
|
+
crass (~> 1.0.2)
|
67
|
+
nokogiri (>= 1.12.0)
|
68
|
+
loog (0.6.0)
|
69
|
+
minitest (5.25.4)
|
70
|
+
minitest-reporters (1.7.1)
|
71
|
+
ansi
|
72
|
+
builder
|
73
|
+
minitest (>= 5.0)
|
74
|
+
ruby-progressbar
|
75
|
+
nokogiri (1.18.2-arm64-darwin)
|
76
|
+
racc (~> 1.4)
|
77
|
+
nokogiri (1.18.2-x64-mingw-ucrt)
|
78
|
+
racc (~> 1.4)
|
79
|
+
nokogiri (1.18.2-x86_64-darwin)
|
80
|
+
racc (~> 1.4)
|
81
|
+
nokogiri (1.18.2-x86_64-linux-gnu)
|
82
|
+
racc (~> 1.4)
|
83
|
+
parallel (1.26.3)
|
84
|
+
parser (3.3.7.0)
|
85
|
+
ast (~> 2.4.1)
|
86
|
+
racc
|
87
|
+
pp (0.6.2)
|
88
|
+
prettyprint
|
89
|
+
prettyprint (0.2.0)
|
90
|
+
psych (5.2.3)
|
91
|
+
date
|
92
|
+
stringio
|
93
|
+
racc (1.8.1)
|
94
|
+
rack (3.1.9)
|
95
|
+
rack-session (2.1.0)
|
96
|
+
base64 (>= 0.1.0)
|
97
|
+
rack (>= 3.0.0)
|
98
|
+
rack-test (2.2.0)
|
99
|
+
rack (>= 1.3)
|
100
|
+
rackup (2.2.1)
|
101
|
+
rack (>= 3)
|
102
|
+
rails-dom-testing (2.2.0)
|
103
|
+
activesupport (>= 5.0.0)
|
104
|
+
minitest
|
105
|
+
nokogiri (>= 1.6)
|
106
|
+
rails-html-sanitizer (1.6.2)
|
107
|
+
loofah (~> 2.21)
|
108
|
+
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
109
|
+
railties (8.0.1)
|
110
|
+
actionpack (= 8.0.1)
|
111
|
+
activesupport (= 8.0.1)
|
112
|
+
irb (~> 1.13)
|
113
|
+
rackup (>= 1.0.0)
|
114
|
+
rake (>= 12.2)
|
115
|
+
thor (~> 1.0, >= 1.2.2)
|
116
|
+
zeitwerk (~> 2.6)
|
117
|
+
rainbow (3.1.1)
|
118
|
+
rake (13.2.1)
|
119
|
+
rdoc (6.11.0)
|
120
|
+
psych (>= 4.0.0)
|
121
|
+
regexp_parser (2.10.0)
|
122
|
+
reline (0.6.0)
|
123
|
+
io-console (~> 0.5)
|
124
|
+
rexml (3.4.0)
|
125
|
+
rspec-core (3.13.2)
|
126
|
+
rspec-support (~> 3.13.0)
|
127
|
+
rspec-expectations (3.13.3)
|
128
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
129
|
+
rspec-support (~> 3.13.0)
|
130
|
+
rspec-mocks (3.13.2)
|
131
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
132
|
+
rspec-support (~> 3.13.0)
|
133
|
+
rspec-rails (7.1.0)
|
134
|
+
actionpack (>= 7.0)
|
135
|
+
activesupport (>= 7.0)
|
136
|
+
railties (>= 7.0)
|
137
|
+
rspec-core (~> 3.13)
|
138
|
+
rspec-expectations (~> 3.13)
|
139
|
+
rspec-mocks (~> 3.13)
|
140
|
+
rspec-support (~> 3.13)
|
141
|
+
rspec-support (3.13.2)
|
142
|
+
rubocop (1.71.1)
|
143
|
+
json (~> 2.3)
|
144
|
+
language_server-protocol (>= 3.17.0)
|
145
|
+
parallel (~> 1.10)
|
146
|
+
parser (>= 3.3.0.2)
|
147
|
+
rainbow (>= 2.2.2, < 4.0)
|
148
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
149
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
150
|
+
ruby-progressbar (~> 1.7)
|
151
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
152
|
+
rubocop-ast (1.38.0)
|
153
|
+
parser (>= 3.3.1.0)
|
154
|
+
rubocop-minitest (0.36.0)
|
155
|
+
rubocop (>= 1.61, < 2.0)
|
156
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
157
|
+
rubocop-performance (1.23.1)
|
158
|
+
rubocop (>= 1.48.1, < 2.0)
|
159
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
160
|
+
rubocop-rspec (3.4.0)
|
161
|
+
rubocop (~> 1.61)
|
162
|
+
ruby-progressbar (1.13.0)
|
163
|
+
securerandom (0.4.1)
|
164
|
+
simplecov (0.22.0)
|
165
|
+
docile (~> 1.1)
|
166
|
+
simplecov-html (~> 0.11)
|
167
|
+
simplecov_json_formatter (~> 0.1)
|
168
|
+
simplecov-cobertura (2.1.0)
|
169
|
+
rexml
|
170
|
+
simplecov (~> 0.19)
|
171
|
+
simplecov-html (0.13.1)
|
172
|
+
simplecov_json_formatter (0.1.4)
|
173
|
+
stringio (3.1.2)
|
174
|
+
tago (0.0.2)
|
175
|
+
thor (1.3.2)
|
176
|
+
threads (0.4.1)
|
177
|
+
backtrace (~> 0)
|
178
|
+
concurrent-ruby (~> 1.0)
|
179
|
+
tzinfo (2.0.6)
|
180
|
+
concurrent-ruby (~> 1.0)
|
181
|
+
unicode-display_width (3.1.4)
|
182
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
183
|
+
unicode-emoji (4.0.4)
|
184
|
+
uri (1.0.2)
|
185
|
+
useragent (0.16.11)
|
186
|
+
yard (0.9.37)
|
187
|
+
zeitwerk (2.7.1)
|
188
|
+
|
189
|
+
PLATFORMS
|
190
|
+
arm64-darwin-22
|
191
|
+
arm64-darwin-23
|
192
|
+
arm64-darwin-24
|
193
|
+
x64-mingw-ucrt
|
194
|
+
x86_64-darwin-20
|
195
|
+
x86_64-darwin-21
|
196
|
+
x86_64-linux
|
197
|
+
|
198
|
+
DEPENDENCIES
|
199
|
+
erc20!
|
200
|
+
loog (> 0)
|
201
|
+
minitest (= 5.25.4)
|
202
|
+
minitest-reporters (= 1.7.1)
|
203
|
+
rake (= 13.2.1)
|
204
|
+
rspec-rails (= 7.1.0)
|
205
|
+
rubocop (= 1.71.1)
|
206
|
+
rubocop-minitest (= 0.36.0)
|
207
|
+
rubocop-performance (= 1.23.1)
|
208
|
+
rubocop-rspec (= 3.4.0)
|
209
|
+
simplecov (= 0.22.0)
|
210
|
+
simplecov-cobertura (= 2.1.0)
|
211
|
+
threads (= 0.4.1)
|
212
|
+
yard (= 0.9.37)
|
213
|
+
|
214
|
+
BUNDLED WITH
|
215
|
+
2.5.16
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
(The MIT License)
|
2
|
+
|
3
|
+
Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
# Etherium ERC20 Manipulations in Ruby
|
2
|
+
|
3
|
+
[](http://www.rultor.com/p/yegor256/erc20)
|
4
|
+
[](https://www.jetbrains.com/ruby/)
|
5
|
+
|
6
|
+
[](https://github.com/yegor256/erc20/actions/workflows/rake.yml)
|
7
|
+
[](http://www.0pdd.com/p?name=yegor256/erc20)
|
8
|
+
[](http://badge.fury.io/rb/erc20)
|
9
|
+
[](https://codecov.io/github/yegor256/erc20?branch=master)
|
10
|
+
[](http://rubydoc.info/github/yegor256/erc20/master/frames)
|
11
|
+
[](https://hitsofcode.com/view/github/yegor256/erc20)
|
12
|
+
[](https://github.com/yegor256/erc20/blob/master/LICENSE.txt)
|
13
|
+
|
14
|
+
This small Ruby library makes Etherium ERC20 manipulations
|
15
|
+
as simple as they can be, for a cryptocurrency newbie:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
# List of private keys:
|
19
|
+
keys = ['...', '...']
|
20
|
+
|
21
|
+
# Create a wallet:
|
22
|
+
w = ERC20::Wallet.new(keys)
|
23
|
+
|
24
|
+
# Add new key and return its public address:
|
25
|
+
address = w.create
|
26
|
+
|
27
|
+
# Send a few tokens to someone:
|
28
|
+
w.send(to_address, amount)
|
29
|
+
|
30
|
+
# Stay waiting, and trigger the block when transactions arrive:
|
31
|
+
w.accept(&block)
|
32
|
+
```
|
33
|
+
|
34
|
+
That's it.
|
35
|
+
|
36
|
+
## How to contribute
|
37
|
+
|
38
|
+
Read
|
39
|
+
[these guidelines](https://www.yegor256.com/2014/04/15/github-guidelines.html).
|
40
|
+
Make sure you build is green before you contribute
|
41
|
+
your pull request. You will need to have
|
42
|
+
[Ruby](https://www.ruby-lang.org/en/) 3.2+ and
|
43
|
+
[Bundler](https://bundler.io/) installed. Then:
|
44
|
+
|
45
|
+
```bash
|
46
|
+
bundle update
|
47
|
+
bundle exec rake
|
48
|
+
```
|
49
|
+
|
50
|
+
If it's clean and you don't see any error messages, submit your pull request.
|
data/Rakefile
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
require 'rubygems'
|
24
|
+
require 'rake'
|
25
|
+
require 'rake/clean'
|
26
|
+
|
27
|
+
def name
|
28
|
+
@name ||= File.basename(Dir['*.gemspec'].first, '.*')
|
29
|
+
end
|
30
|
+
|
31
|
+
def version
|
32
|
+
Gem::Specification.load(Dir['*.gemspec'].first).version
|
33
|
+
end
|
34
|
+
|
35
|
+
task default: %i[clean test rubocop yard copyright]
|
36
|
+
|
37
|
+
require 'rake/testtask'
|
38
|
+
desc 'Run all unit tests'
|
39
|
+
Rake::TestTask.new(:test) do |test|
|
40
|
+
Rake::Cleaner.cleanup_files(['coverage'])
|
41
|
+
test.libs << 'lib' << 'test'
|
42
|
+
test.pattern = 'test/**/test_*.rb'
|
43
|
+
test.warning = true
|
44
|
+
test.verbose = false
|
45
|
+
end
|
46
|
+
|
47
|
+
require 'yard'
|
48
|
+
desc 'Build Yard documentation'
|
49
|
+
YARD::Rake::YardocTask.new do |t|
|
50
|
+
t.files = ['lib/**/*.rb']
|
51
|
+
end
|
52
|
+
|
53
|
+
require 'rubocop/rake_task'
|
54
|
+
desc 'Run RuboCop on all directories'
|
55
|
+
RuboCop::RakeTask.new(:rubocop) do |task|
|
56
|
+
task.fail_on_error = true
|
57
|
+
task.requires << 'rubocop-rspec'
|
58
|
+
end
|
59
|
+
|
60
|
+
desc 'Run benchmark script'
|
61
|
+
task :benchmark do
|
62
|
+
ruby 'benchmarks/simple.rb'
|
63
|
+
end
|
64
|
+
|
65
|
+
task :copyright do
|
66
|
+
sh "grep -q -r '#{Date.today.strftime('%Y')}' \
|
67
|
+
--include '*.rb' \
|
68
|
+
--include '*.txt' \
|
69
|
+
--include 'Rakefile' \
|
70
|
+
."
|
71
|
+
end
|
data/erc20.gemspec
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
require 'English'
|
24
|
+
require_relative 'lib/erc20'
|
25
|
+
|
26
|
+
Gem::Specification.new do |s|
|
27
|
+
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
28
|
+
s.required_ruby_version = '>=3.0'
|
29
|
+
s.name = 'erc20'
|
30
|
+
s.version = ERC20::VERSION
|
31
|
+
s.license = 'MIT'
|
32
|
+
s.summary = 'Sending and receiving ERC20 tokens in Etherium network'
|
33
|
+
s.description =
|
34
|
+
'A simple library for making ERC20 manipulations as easy as they' \
|
35
|
+
'can be for cryptocurrency newbies'
|
36
|
+
s.authors = ['Yegor Bugayenko']
|
37
|
+
s.email = 'yegor256@gmail.com'
|
38
|
+
s.homepage = 'http://github.com/yegor256/erc20.rb'
|
39
|
+
s.files = `git ls-files`.split($RS)
|
40
|
+
s.rdoc_options = ['--charset=UTF-8']
|
41
|
+
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
|
42
|
+
s.add_dependency 'backtrace', '>0'
|
43
|
+
s.add_dependency 'tago', '>0'
|
44
|
+
s.metadata['rubygems_mfa_required'] = 'true'
|
45
|
+
end
|
data/lib/erc20/wallet.rb
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
require_relative '../erc20'
|
24
|
+
|
25
|
+
# A wallet.
|
26
|
+
#
|
27
|
+
# It is NOT thread-safe!
|
28
|
+
#
|
29
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
30
|
+
# Copyright:: Copyright (c) 2025 Yegor Bugayenko
|
31
|
+
# License:: MIT
|
32
|
+
class ERC20::Wallet
|
33
|
+
# Constructor.
|
34
|
+
# @param [Array<String>] keys Private keys
|
35
|
+
# @param [String] host The host of the server
|
36
|
+
# @param [Object] log The destination for logs
|
37
|
+
def initialize(keys, host: '', log: $stdout)
|
38
|
+
@keys = keys
|
39
|
+
@host = host
|
40
|
+
@log = log
|
41
|
+
end
|
42
|
+
|
43
|
+
# Create new key and return its public address.
|
44
|
+
def create
|
45
|
+
'none'
|
46
|
+
end
|
47
|
+
end
|
data/lib/erc20.rb
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
# ERC20 module.
|
24
|
+
#
|
25
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
26
|
+
# Copyright:: Copyright (c) 2025 Yegor Bugayenko
|
27
|
+
# License:: MIT
|
28
|
+
module ERC20
|
29
|
+
# Current version of the gem (changed by .rultor.yml on every release)
|
30
|
+
VERSION = '0.0.1'
|
31
|
+
end
|
data/renovate.json
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
require 'minitest/autorun'
|
24
|
+
require 'loog'
|
25
|
+
require_relative '../../lib/erc20'
|
26
|
+
require_relative '../../lib/erc20/wallet'
|
27
|
+
|
28
|
+
# Test.
|
29
|
+
# Author:: Yegor Bugayenko (yegor256@gmail.com)
|
30
|
+
# Copyright:: Copyright (c) 2025 Yegor Bugayenko
|
31
|
+
# License:: MIT
|
32
|
+
class TestWallet < Minitest::Test
|
33
|
+
def test_simple
|
34
|
+
keys = []
|
35
|
+
w = ERC20::Wallet.new(keys, log: Loog::VERBOSE)
|
36
|
+
refute_nil(w.create)
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2025 Yegor Bugayenko
|
4
|
+
#
|
5
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
# of this software and associated documentation files (the 'Software'), to deal
|
7
|
+
# in the Software without restriction, including without limitation the rights
|
8
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
# copies of the Software, and to permit persons to whom the Software is
|
10
|
+
# furnished to do so, subject to the following conditions:
|
11
|
+
#
|
12
|
+
# The above copyright notice and this permission notice shall be included in all
|
13
|
+
# copies or substantial portions of the Software.
|
14
|
+
#
|
15
|
+
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
# SOFTWARE.
|
22
|
+
|
23
|
+
$stdout.sync = true
|
24
|
+
|
25
|
+
require 'simplecov'
|
26
|
+
SimpleCov.external_at_exit = true
|
27
|
+
SimpleCov.start
|
28
|
+
|
29
|
+
require 'simplecov-cobertura'
|
30
|
+
SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter
|
31
|
+
|
32
|
+
require 'minitest/autorun'
|
33
|
+
|
34
|
+
require 'minitest/reporters'
|
35
|
+
Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new]
|
metadata
ADDED
@@ -0,0 +1,102 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: erc20
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Yegor Bugayenko
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2025-01-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: backtrace
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: tago
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: A simple library for making ERC20 manipulations as easy as theycan be
|
42
|
+
for cryptocurrency newbies
|
43
|
+
email: yegor256@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files:
|
47
|
+
- README.md
|
48
|
+
- LICENSE.txt
|
49
|
+
files:
|
50
|
+
- ".0pdd.yml"
|
51
|
+
- ".gitattributes"
|
52
|
+
- ".github/workflows/actionlint.yml"
|
53
|
+
- ".github/workflows/codecov.yml"
|
54
|
+
- ".github/workflows/copyrights.yml"
|
55
|
+
- ".github/workflows/markdown-lint.yml"
|
56
|
+
- ".github/workflows/pdd.yml"
|
57
|
+
- ".github/workflows/rake.yml"
|
58
|
+
- ".github/workflows/xcop.yml"
|
59
|
+
- ".github/workflows/yamllint.yml"
|
60
|
+
- ".gitignore"
|
61
|
+
- ".pdd"
|
62
|
+
- ".rubocop.yml"
|
63
|
+
- ".rultor.yml"
|
64
|
+
- ".simplecov"
|
65
|
+
- ".yamllint.yml"
|
66
|
+
- Gemfile
|
67
|
+
- Gemfile.lock
|
68
|
+
- LICENSE.txt
|
69
|
+
- README.md
|
70
|
+
- Rakefile
|
71
|
+
- erc20.gemspec
|
72
|
+
- lib/erc20.rb
|
73
|
+
- lib/erc20/wallet.rb
|
74
|
+
- renovate.json
|
75
|
+
- test/erc20/test_wallet.rb
|
76
|
+
- test/test__helper.rb
|
77
|
+
homepage: http://github.com/yegor256/erc20.rb
|
78
|
+
licenses:
|
79
|
+
- MIT
|
80
|
+
metadata:
|
81
|
+
rubygems_mfa_required: 'true'
|
82
|
+
post_install_message:
|
83
|
+
rdoc_options:
|
84
|
+
- "--charset=UTF-8"
|
85
|
+
require_paths:
|
86
|
+
- lib
|
87
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '3.0'
|
92
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
requirements: []
|
98
|
+
rubygems_version: 3.4.10
|
99
|
+
signing_key:
|
100
|
+
specification_version: 4
|
101
|
+
summary: Sending and receiving ERC20 tokens in Etherium network
|
102
|
+
test_files: []
|