huginn_callisto_network_agent 0.1.2 → 0.1.3
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: ddf73844731bf49acb35b590bd5fc598ba67df6c4db546d568f3b9269f9c8760
|
4
|
+
data.tar.gz: f8163830f26b16c7708f460730ec769894e3c0ffb1c4d3516cac77a29cc5e87a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dca5bdb5fb8f7bf1e7abd0aec593d8ea2ff08109ccdc80049cb495ace905ed53f12698747fce034d6bdac2a831c8d9cc44edeaf45a0f566923fd3543d02a57e
|
7
|
+
data.tar.gz: 8550c96cb4af5d1990e500fffa0558c1576f8df51645074481573fd5dc28fb1e19ba71666076c9598f66f189d24c98b1a8119f4a9273142c504ae01461451986
|
@@ -69,8 +69,8 @@ module Agents
|
|
69
69
|
form_configurable :round, type: :string
|
70
70
|
form_configurable :wallet_dest, type: :string
|
71
71
|
form_configurable :filter_for_method_id, type: :string
|
72
|
-
form_configurable :first_block, type: :
|
73
|
-
form_configurable :last_block, type: :
|
72
|
+
form_configurable :first_block, type: :string
|
73
|
+
form_configurable :last_block, type: :string
|
74
74
|
def validate_options
|
75
75
|
errors.add(:base, "type has invalid value: should be 'get_balance' 'net_peerCount' 'net_version' 'eth_protocolVersion' 'eth_gasPrice' 'eth_getTransactionCount' 'stake_reward_clo' 'get_tokens_balance' 'eth_getBlockByNumber' 'soy_farming_soy_clo_pending_rewards' 'soy_farming_soy_cloe_pending_rewards' 'stake_reward_soy' 'soy_farming_soy_btt_pending_rewards' 'soy_cs_pending_rewards' 'clo_sendtx' 'get_tx_by_address_with_filter' 'start_cs_clo' 'withdraw_cs_clo' 'get_tx_stats'") if interpolated['type'].present? && !%w(get_balance net_peerCount net_version eth_protocolVersion eth_gasPrice eth_getTransactionCount stake_reward_clo get_tokens_balance eth_getBlockByNumber soy_farming_soy_clo_pending_rewards soy_farming_soy_cloe_pending_rewards stake_reward_soy soy_farming_soy_btt_pending_rewards soy_cs_pending_rewards clo_sendtx get_tx_by_address_with_filter start_cs_clo withdraw_cs_clo get_tx_stats).include?(interpolated['type'])
|
76
76
|
|