huginn_callisto_network_agent 0.1.89 → 0.1.90
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 556c08ea2738c547d0c1ab649836aa178f0513ea965c4ab4d5631462a37a361a
|
4
|
+
data.tar.gz: aea02a509078a300e53fd69714459d753d876adeeea2d6e61d0710bf9cc6f39a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94414f14d202ebc7496c7585377d1f8b9a476095e8b97b48d05262fe003bfb5674a361772bfe4b933e474155496aa3a383f6bb63a90219f2be0ec602788e34fc
|
7
|
+
data.tar.gz: 30532eb693def0457fd385d19d0ed49dd8019a616e1f98bb0f543477ca09d69aaae3bb1ef0efacd0726d2ad2fb208e2c9b7ea7a944d38bf53dedba629c79e630
|
@@ -198,7 +198,7 @@ module Agents
|
|
198
198
|
def owner_finder(address=interpolated['wallet'])
|
199
199
|
|
200
200
|
db = SQLite3::Database.new(interpolated['sql_db'])
|
201
|
-
result = db.get_first_row('SELECT name FROM directory WHERE address = ?', address)
|
201
|
+
result = db.get_first_row('SELECT name FROM directory WHERE address = ?', [address])
|
202
202
|
db.close
|
203
203
|
|
204
204
|
if result
|
@@ -217,14 +217,14 @@ module Agents
|
|
217
217
|
def function_finder(contract_address=interpolated['wallet'],bytes_signature)
|
218
218
|
|
219
219
|
db = SQLite3::Database.new(interpolated['sql_db'])
|
220
|
-
result = db.get_first_row('SELECT text_signature FROM signatures WHERE bytes_signature = ? AND contract_address = ?', bytes_signature, contract_address)
|
220
|
+
result = db.get_first_row('SELECT text_signature FROM signatures WHERE bytes_signature = ? AND contract_address = ?', [bytes_signature, contract_address])
|
221
221
|
db.close
|
222
222
|
|
223
223
|
if result
|
224
224
|
return result[0].split('(').first
|
225
225
|
else
|
226
226
|
db = SQLite3::Database.new(interpolated['sql_db'])
|
227
|
-
result = db.get_first_row('SELECT text_signature FROM signatures WHERE bytes_signature = ?', bytes_signature)
|
227
|
+
result = db.get_first_row('SELECT text_signature FROM signatures WHERE bytes_signature = ?', [bytes_signature])
|
228
228
|
db.close
|
229
229
|
if result
|
230
230
|
return result[0].split('(').first
|