eost 0.1.4 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +12 -0
- data/Gemfile.lock +14 -14
- data/README.md +2 -2
- data/eost.gemspec +2 -4
- data/lib/eost.rb +38 -24
- data/lib/eost/bigquery.rb +128 -55
- data/lib/eost/carteiras.rb +109 -0
- data/lib/eost/eosscan.rb +214 -0
- data/lib/eost/folhacalculo.rb +49 -53
- data/lib/eost/formatar.rb +66 -0
- data/lib/eost/version.rb +1 -1
- data/specs/chain.json +256 -0
- data/specs/history.json +54 -0
- data/specs/wallet.json +12 -0
- metadata +10 -3
data/specs/history.json
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
{
|
2
|
+
"get_actions": {
|
3
|
+
"params": {
|
4
|
+
"account_name": "account_name",
|
5
|
+
"pos": "int32?",
|
6
|
+
"offset": "int32?"
|
7
|
+
},
|
8
|
+
"results": {
|
9
|
+
"actions": "ordered_action_result[]",
|
10
|
+
"last_irreversible_block": "uint32",
|
11
|
+
"time_limit_exceeded_error": "bool?"
|
12
|
+
},
|
13
|
+
"structs": [{
|
14
|
+
"name": "ordered_action_result",
|
15
|
+
"fields": {
|
16
|
+
"global_action_seq": "uint64",
|
17
|
+
"account_action_seq": "int32",
|
18
|
+
"block_num": "uint32",
|
19
|
+
"block_time": "block_timestamp_type",
|
20
|
+
"action_trace": "variant"
|
21
|
+
}
|
22
|
+
}]
|
23
|
+
},
|
24
|
+
"get_transaction": {
|
25
|
+
"brief": "Retrieve a transaction from the blockchain.",
|
26
|
+
"params": {
|
27
|
+
"id": "transaction_id_type"
|
28
|
+
},
|
29
|
+
"results": {
|
30
|
+
"id": "transaction_id_type",
|
31
|
+
"trx": "variant",
|
32
|
+
"block_time": "block_timestamp_type",
|
33
|
+
"block_num": "uint32",
|
34
|
+
"last_irreversible_block": "uint32",
|
35
|
+
"traces": "variant[]"
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"get_key_accounts": {
|
39
|
+
"params": {
|
40
|
+
"public_key": "public_key_type"
|
41
|
+
},
|
42
|
+
"results": {
|
43
|
+
"account_names": "account_name[]"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"get_controlled_accounts": {
|
47
|
+
"params": {
|
48
|
+
"controlling_account": "account_name"
|
49
|
+
},
|
50
|
+
"results": {
|
51
|
+
"controlled_accounts": "account_name[]"
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
data/specs/wallet.json
ADDED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eost
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hernâni Rodrigues Vaz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -104,6 +104,7 @@ extensions: []
|
|
104
104
|
extra_rdoc_files: []
|
105
105
|
files:
|
106
106
|
- ".gitignore"
|
107
|
+
- ".rubocop.yml"
|
107
108
|
- ".travis.yml"
|
108
109
|
- CODE_OF_CONDUCT.md
|
109
110
|
- Gemfile
|
@@ -117,8 +118,14 @@ files:
|
|
117
118
|
- exe/eost
|
118
119
|
- lib/eost.rb
|
119
120
|
- lib/eost/bigquery.rb
|
121
|
+
- lib/eost/carteiras.rb
|
122
|
+
- lib/eost/eosscan.rb
|
120
123
|
- lib/eost/folhacalculo.rb
|
124
|
+
- lib/eost/formatar.rb
|
121
125
|
- lib/eost/version.rb
|
126
|
+
- specs/chain.json
|
127
|
+
- specs/history.json
|
128
|
+
- specs/wallet.json
|
122
129
|
homepage: https://github.com/hernanirvaz/abank
|
123
130
|
licenses:
|
124
131
|
- MIT
|
@@ -140,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
147
|
- !ruby/object:Gem::Version
|
141
148
|
version: '0'
|
142
149
|
requirements: []
|
143
|
-
rubygems_version: 3.
|
150
|
+
rubygems_version: 3.1.2
|
144
151
|
signing_key:
|
145
152
|
specification_version: 4
|
146
153
|
summary: Arquiva eos-transactions.csv no bigquery.
|