radiator 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/radiator/api.rb +8 -8
- data/lib/radiator/ssc/base_steem_smart_contract_rpc.rb +1 -1
- data/lib/radiator/ssc/blockchain.rb +1 -1
- data/lib/radiator/ssc/contracts.rb +1 -1
- data/lib/radiator/ssc/stream.rb +1 -1
- data/lib/radiator/version.rb +1 -1
- data/radiator.gemspec +3 -3
- data/test/fixtures/vcr_cassettes/account_by_key_api_all_methods.yml +207 -1
- data/test/fixtures/vcr_cassettes/api_all_methods.yml +331 -1
- data/test/fixtures/vcr_cassettes/base_per_debt.yml +855 -1
- data/test/fixtures/vcr_cassettes/base_per_mvest.yml +651 -1
- data/test/fixtures/vcr_cassettes/block_time.yml +733 -1
- data/test/fixtures/vcr_cassettes/broadcast_transaction.yml +108 -1
- data/test/fixtures/vcr_cassettes/condenser_all_all_methods.yml +166 -1
- data/test/fixtures/vcr_cassettes/expiration_initialize.yml +1162 -1
- data/test/fixtures/vcr_cassettes/find_account.yml +633 -1
- data/test/fixtures/vcr_cassettes/find_block.yml +628 -1
- data/test/fixtures/vcr_cassettes/find_comment.yml +1967 -1
- data/test/fixtures/vcr_cassettes/get_account_count.yml +53 -1
- data/test/fixtures/vcr_cassettes/get_account_references.yml +111 -1
- data/test/fixtures/vcr_cassettes/get_accounts.yml +62 -1
- data/test/fixtures/vcr_cassettes/get_accounts_no_argument.yml +111 -1
- data/test/fixtures/vcr_cassettes/get_dynamic_global_properties.yml +59 -1
- data/test/fixtures/vcr_cassettes/get_feed_history.yml +191 -1
- data/test/fixtures/vcr_cassettes/get_hardfork_version.yml +53 -1
- data/test/fixtures/vcr_cassettes/get_key_references.yml +211 -1
- data/test/fixtures/vcr_cassettes/get_market_history.yml +209 -1
- data/test/fixtures/vcr_cassettes/get_market_history_buckets.yml +209 -1
- data/test/fixtures/vcr_cassettes/get_order_book.yml +209 -1
- data/test/fixtures/vcr_cassettes/get_recent_trades.yml +209 -1
- data/test/fixtures/vcr_cassettes/get_ticker.yml +105 -1
- data/test/fixtures/vcr_cassettes/get_trade_history.yml +209 -1
- data/test/fixtures/vcr_cassettes/get_vesting_delegations.yml +105 -1
- data/test/fixtures/vcr_cassettes/get_volume.yml +213 -1
- data/test/fixtures/vcr_cassettes/get_witness_by_account.yml +53 -1
- data/test/fixtures/vcr_cassettes/look_up_witnesses.yml +53 -1
- data/test/fixtures/vcr_cassettes/market_history_api_all_methods.yml +1461 -1
- data/test/fixtures/vcr_cassettes/network_broadcast_api_all_methods.yml +217 -1
- data/test/fixtures/vcr_cassettes/properties.yml +633 -1
- data/test/fixtures/vcr_cassettes/recover_transaction.yml +111 -1
- data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info.yml +90 -3
- data/test/fixtures/vcr_cassettes/ssc_blockchain_block_info_invalid.yml +88 -3
- data/test/fixtures/vcr_cassettes/ssc_blockchain_latest_block_info.yml +89 -3
- data/test/fixtures/vcr_cassettes/ssc_blockchain_transaction_info.yml +82 -3
- data/test/fixtures/vcr_cassettes/ssc_contracts_contract.yml +364 -3
- data/test/fixtures/vcr_cassettes/ssc_contracts_find.yml +81 -3
- data/test/fixtures/vcr_cassettes/ssc_contracts_find_one.yml +87 -3
- data/test/fixtures/vcr_cassettes/stream_jsonrpc.yml +2167 -1
- data/test/fixtures/vcr_cassettes/transaction_expiration_initialize_nil.yml +1229 -1
- data/test/fixtures/vcr_cassettes/transaction_jsonrpc.yml +2131 -1
- data/test/fixtures/vcr_cassettes/unknown_chain_id.yml +1203 -1
- data/test/fixtures/vcr_cassettes/valid_chains.yml +1157 -1
- metadata +42 -42
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: post
|
5
|
-
uri: https://api.steem-engine.
|
5
|
+
uri: https://api.steem-engine.net/rpc/contracts
|
6
6
|
body:
|
7
7
|
encoding: UTF-8
|
8
8
|
string: '{"method":"find","params":{"contract":"tokens","table":"transfers","query":{"symbol":""},"limit":0},"jsonrpc":"2.0","id":2}'
|
@@ -44,7 +44,7 @@ http_interactions:
|
|
44
44
|
recorded_at: Sat, 07 Nov 2020 20:13:34 GMT
|
45
45
|
- request:
|
46
46
|
method: post
|
47
|
-
uri: https://api.steem-engine.
|
47
|
+
uri: https://api.steem-engine.net/rpc/contracts
|
48
48
|
body:
|
49
49
|
encoding: UTF-8
|
50
50
|
string: '{"method":"findOne","params":{"contract":"tokens","table":"balances","query":{"symbol":"STINGY","account":"inertia"}},"jsonrpc":"2.0","id":1}'
|
@@ -84,4 +84,88 @@ http_interactions:
|
|
84
84
|
encoding: UTF-8
|
85
85
|
string: '{"jsonrpc":"2.0","id":1,"result":{"_id":363,"account":"inertia","symbol":"STINGY","balance":"36.92931281"}}'
|
86
86
|
recorded_at: Sat, 07 Nov 2020 20:13:34 GMT
|
87
|
-
|
87
|
+
- request:
|
88
|
+
method: post
|
89
|
+
uri: https://api.steem-engine.net/rpc/contracts
|
90
|
+
body:
|
91
|
+
encoding: UTF-8
|
92
|
+
string: '{"method":"find","params":{"contract":"tokens","table":"transfers","query":{"symbol":""},"limit":0},"jsonrpc":"2.0","id":2}'
|
93
|
+
headers:
|
94
|
+
Content-Type:
|
95
|
+
- application/json
|
96
|
+
User-Agent:
|
97
|
+
- radiator/0.4.9
|
98
|
+
Accept-Encoding:
|
99
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
100
|
+
Accept:
|
101
|
+
- "*/*"
|
102
|
+
Connection:
|
103
|
+
- keep-alive
|
104
|
+
Keep-Alive:
|
105
|
+
- '30'
|
106
|
+
response:
|
107
|
+
status:
|
108
|
+
code: 200
|
109
|
+
message: OK
|
110
|
+
headers:
|
111
|
+
Server:
|
112
|
+
- nginx/1.10.3 (Ubuntu)
|
113
|
+
Date:
|
114
|
+
- Sat, 30 Jul 2022 23:22:55 GMT
|
115
|
+
Content-Type:
|
116
|
+
- application/json; charset=utf-8
|
117
|
+
Content-Length:
|
118
|
+
- '38'
|
119
|
+
Connection:
|
120
|
+
- keep-alive
|
121
|
+
X-Powered-By:
|
122
|
+
- Express
|
123
|
+
Access-Control-Allow-Origin:
|
124
|
+
- "*"
|
125
|
+
body:
|
126
|
+
encoding: UTF-8
|
127
|
+
string: '{"jsonrpc":"2.0","id":2,"result":null}'
|
128
|
+
recorded_at: Sat, 30 Jul 2022 23:22:56 GMT
|
129
|
+
- request:
|
130
|
+
method: post
|
131
|
+
uri: https://api.steem-engine.net/rpc/contracts
|
132
|
+
body:
|
133
|
+
encoding: UTF-8
|
134
|
+
string: '{"method":"findOne","params":{"contract":"tokens","table":"balances","query":{"symbol":"STINGY","account":"inertia"}},"jsonrpc":"2.0","id":1}'
|
135
|
+
headers:
|
136
|
+
Content-Type:
|
137
|
+
- application/json
|
138
|
+
User-Agent:
|
139
|
+
- radiator/0.4.9
|
140
|
+
Accept-Encoding:
|
141
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
142
|
+
Accept:
|
143
|
+
- "*/*"
|
144
|
+
Connection:
|
145
|
+
- keep-alive
|
146
|
+
Keep-Alive:
|
147
|
+
- '30'
|
148
|
+
response:
|
149
|
+
status:
|
150
|
+
code: 200
|
151
|
+
message: OK
|
152
|
+
headers:
|
153
|
+
Server:
|
154
|
+
- nginx/1.10.3 (Ubuntu)
|
155
|
+
Date:
|
156
|
+
- Sat, 30 Jul 2022 23:22:56 GMT
|
157
|
+
Content-Type:
|
158
|
+
- application/json; charset=utf-8
|
159
|
+
Content-Length:
|
160
|
+
- '107'
|
161
|
+
Connection:
|
162
|
+
- keep-alive
|
163
|
+
X-Powered-By:
|
164
|
+
- Express
|
165
|
+
Access-Control-Allow-Origin:
|
166
|
+
- "*"
|
167
|
+
body:
|
168
|
+
encoding: UTF-8
|
169
|
+
string: '{"jsonrpc":"2.0","id":1,"result":{"_id":363,"account":"inertia","symbol":"STINGY","balance":"36.92931281"}}'
|
170
|
+
recorded_at: Sat, 30 Jul 2022 23:22:56 GMT
|
171
|
+
recorded_with: VCR 6.1.0
|