abiparser 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +0 -1
- data/lib/abiparser/constructor.rb +3 -2
- data/lib/abiparser/function.rb +10 -10
- data/lib/abiparser/version.rb +1 -1
- data/lib/abiparser.rb +0 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8c3444ce73a26479bc5a39156f1c4a4213dc8445e86b5411003335de8d468e6
|
4
|
+
data.tar.gz: 1d600bcd4c0d0f9fa6059cac6d3ec7ae6f9f4f27e94306d2af34d36b67f5d5ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 191678ab0a6577f9ccfd35ddb27827962d323b613b113af5f96e7ca3e99c18483b1ef698ff8053d04cb90ea86cd1f32727ca8b96319e9df291ad86e5d404194d
|
7
|
+
data.tar.gz: 9853905ee95157f03e2fd4d74da4e4432fed384dc7c4ea1ef3aa37b9eb6b59c4390c9adc851a0d04c12d318620eadbc239abbbc2cf68f177dd23bfbb07a22eef
|
data/Rakefile
CHANGED
@@ -47,7 +47,8 @@ class Constructor
|
|
47
47
|
end
|
48
48
|
|
49
49
|
|
50
|
-
attr_reader :inputs
|
50
|
+
attr_reader :inputs
|
51
|
+
## :input_types
|
51
52
|
|
52
53
|
def initialize( inputs: [],
|
53
54
|
payable: false )
|
@@ -57,7 +58,7 @@ class Constructor
|
|
57
58
|
## parse inputs into types
|
58
59
|
## note: use "calculated" sig(nature) and NOT the type
|
59
60
|
## (differs for tuples, that is, types with components !!!)
|
60
|
-
@input_types = @inputs.map {|param| Type.parse( param.sig ) }
|
61
|
+
## @input_types = @inputs.map {|param| Type.parse( param.sig ) }
|
61
62
|
end
|
62
63
|
|
63
64
|
|
data/lib/abiparser/function.rb
CHANGED
@@ -54,8 +54,8 @@ class Function
|
|
54
54
|
|
55
55
|
|
56
56
|
attr_reader :name,
|
57
|
-
:inputs, :outputs
|
58
|
-
:input_types, :output_types
|
57
|
+
:inputs, :outputs
|
58
|
+
## :input_types, :output_types
|
59
59
|
|
60
60
|
def initialize( name,
|
61
61
|
inputs: [],
|
@@ -73,14 +73,14 @@ class Function
|
|
73
73
|
## parse inputs & outputs into types
|
74
74
|
## note: use "calculated" sig(nature) and NOT the type
|
75
75
|
## (differs for tuples, that is, types with components !!!)
|
76
|
-
@input_types = @inputs.map do |param|
|
77
|
-
|
78
|
-
|
79
|
-
@output_types = @outputs.map do |param|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
76
|
+
## @input_types = @inputs.map do |param|
|
77
|
+
## Type.parse( param.sig )
|
78
|
+
## end
|
79
|
+
## @output_types = @outputs.map do |param|
|
80
|
+
## ## pp param
|
81
|
+
## ## puts "sig: #{param.sig}"
|
82
|
+
## Type.parse( param.sig )
|
83
|
+
## end
|
84
84
|
end
|
85
85
|
|
86
86
|
|
data/lib/abiparser/version.rb
CHANGED
data/lib/abiparser.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: abiparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gerald Bauer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocos
|
@@ -52,20 +52,6 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: abicoder
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: rdoc
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|