Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cyborg-Network/cyborg-parachain
/ functions
Functions
483 in github.com/Cyborg-Network/cyborg-parachain
⨍
Functions
483
◇
Types & classes
146
Method
deposit_asset
(asset: &Asset, location: &Location, _context: Option<&XcmContext>)
pallets/xcm-support/src/currency_adapter.rs:148
Method
derive_status_percentages_for_period
Storage: `StatusAggregator::WorkerStatusEntriesPerPeriod` (r:11 w:0) Proof: `StatusAggregator::WorkerStatusEntriesPerPeriod` (`max_values`: None, `max
runtime/src/weights/pallet_status_aggregator.rs:49
Method
derive_status_percentages_for_period
Storage: `StatusAggregator::WorkerStatusEntriesPerPeriod` (r:11 w:0) Proof: `StatusAggregator::WorkerStatusEntriesPerPeriod` (`max_values`: None, `max
pallets/status-aggregator/src/weights.rs:49
Method
description
()
node/src/command.rs:38
Method
destroy_accounts
(c: u32)
runtime/src/weights/pallet_assets.rs:18
Method
destroy_approvals
(a: u32)
runtime/src/weights/pallet_assets.rs:23
Method
disable_grandpa
(&self)
node/src/command.rs:379
Method
distribute_rewards
()
runtime/src/weights/pallet_payment.rs:123
Method
distribute_rewards
(origin: OriginFor<T>)
pallets/payment/src/lib.rs:459
Method
distribute_rewards
()
pallets/payment/src/weights.rs:123
Function
emitting_proper_event_for_registering_miner
()
pallets/edge-connect/src/tests.rs:556
Method
enqueue_2_empty_xcmp_messages
()
runtime/src/weights/cumulus_pallet_xcmp_queue.rs:77
Method
enqueue_inbound_downward_messages
Storage: `ParachainSystem::LastDmqMqcHead` (r:1 w:1) Proof: `ParachainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measure
runtime/src/weights/cumulus_pallet_parachain_system.rs:49
Method
enqueue_n_bytes_xcmp_message
Storage: `XcmpQueue::QueueConfig` (r:1 w:0) Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncode
runtime/src/weights/cumulus_pallet_xcmp_queue.rs:66
Method
enqueue_xcmp_message
Storage: `XcmpQueue::QueueConfig` (r:1 w:0) Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncode
runtime/src/weights/cumulus_pallet_xcmp_queue.rs:186
Method
execute_overweight_page_removed
Storage: `MessageQueue::BookStateFor` (r:1 w:1) Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Max
runtime/src/weights/pallet_message_queue.rs:158
Method
execute_overweight_page_updated
Storage: `MessageQueue::BookStateFor` (r:1 w:1) Proof: `MessageQueue::BookStateFor` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `Max
runtime/src/weights/pallet_message_queue.rs:171
Function
fails_if_task_does_not_exist
()
pallets/task-management/src/tests.rs:761
Function
fails_if_task_is_not_running
()
pallets/task-management/src/tests.rs:722
Function
fails_if_task_not_stopped
()
pallets/task-management/src/tests.rs:608
Method
feed_values
Storage: `OracleMembership::Members` (r:1 w:0) Proof: `OracleMembership::Members` (`max_values`: Some(1), `max_size`: Some(513), added: 1008, mode: `M
runtime/src/weights/orml_oracle.rs:52
Method
finish_destroy
()
runtime/src/weights/pallet_assets.rs:28
Method
force_adjust_total_issuance
()
runtime/src/weights/pallet_balances.rs:140
Method
force_asset_status
()
runtime/src/weights/pallet_assets.rs:92
Method
force_authoring
(&self)
node/src/command.rs:375
Method
force_cancel_approval
()
runtime/src/weights/pallet_assets.rs:108
Method
force_clear_metadata
()
runtime/src/weights/pallet_assets.rs:88
Method
force_create
()
runtime/src/weights/pallet_assets.rs:10
Method
force_set_balance_creating
Storage: `System::Account` (r:1 w:1) Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
runtime/src/weights/pallet_balances.rs:72
Method
force_set_balance_killing
Storage: `System::Account` (r:1 w:1) Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
runtime/src/weights/pallet_balances.rs:83
Method
force_set_metadata
(_name_len: u32, _symbol_len: u32)
runtime/src/weights/pallet_assets.rs:84
Method
force_transfer
()
runtime/src/weights/pallet_assets.rs:48
Method
force_transfer
Storage: `System::Account` (r:2 w:2) Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
runtime/src/weights/pallet_balances.rs:94
Method
force_unreserve
Storage: `System::Account` (r:1 w:1) Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
runtime/src/weights/pallet_balances.rs:116
Method
freeze
()
runtime/src/weights/pallet_assets.rs:52
Method
freeze_asset
()
runtime/src/weights/pallet_assets.rs:60
Method
from
(e: Error)
pallets/xcm-support/src/currency_adapter.rs:34
Method
from_asset_balance
(balance: Balance, _asset_id: ())
runtime/src/lib.rs:445
Function
from_dec_string
(dec_str: &str)
pallets/zk-verifier/src/deserialization.rs:399
Method
from_json_u8_slice
Creates `VKey` from json representation
pallets/zk-verifier/src/deserialization.rs:74
Method
from_uncompressed
( alpha: &G1UncompressedBytes, beta: &G2UncompressedBytes, gamma: &G2UncompressedBytes, delta: &G2Unco
pallets/zk-verifier/src/verify.rs:122
Function
g1_deserializer
Turns G1 point represented by numbers in decimal format into G1 point represented by numbers in binary format
pallets/zk-verifier/src/deserialization.rs:110
Function
g2_deserializer
Turns G2 point represented by numbers in decimal format into G2 point represented by numbers in binary format
pallets/zk-verifier/src/deserialization.rs:149
Method
get
(_key: &Location)
pallets/xcm-support/src/lib.rs:80
Function
get_account_id_from_seed
Helper function to generate an account ID from seed
node/src/chain_spec.rs:51
Method
get_active_miners
Helper Function to retrieve all active miners from storage. Filters miners based on their status (active or inactive).
pallets/edge-connect/src/lib.rs:721
Function
get_collator_keys_from_seed
Generate collator keys from seed. This function's return type must always match the session keys of the chain in tuple format.
node/src/chain_spec.rs:46
Method
get_currency_id_value_pairs
The required method from the BenchmarkHelper trait, which we are customizing for benchmarking the status-aggregator pallet. This method outputs key-va
runtime/src/lib.rs:216
Function
get_from_seed
Helper function to generate a crypto pair from seed
node/src/chain_spec.rs:17
Method
get_miner
( miner_key: &MinerId, miner_type: &MinerType, )
pallets/edge-connect/src/lib.rs:802
Method
get_model_hash
Storage: `TaskManagement::ModelHashes` (r:1 w:0) Proof: `TaskManagement::ModelHashes` (`max_values`: None, `max_size`: Some(96), added: 2592, mode: `M
runtime/src/weights/pallet_task_management.rs:221
Method
get_model_hash
(origin: OriginFor<T>, model_id: Vec<u8>)
pallets/task-management/src/lib.rs:555
Method
get_model_hash
Storage: `TaskManagement::ModelHashes` (r:1 w:0) Proof: `TaskManagement::ModelHashes` (`max_values`: None, `max_size`: Some(96), added: 2592, mode: `M
pallets/task-management/src/weights.rs:211
Function
get_public_inputs
(task_id: TaskId)
pallets/zk-verifier/src/lib.rs:208
Method
get_remaining_hours
()
runtime/src/weights/pallet_payment.rs:178
Method
get_remaining_hours
(origin: OriginFor<T>)
pallets/payment/src/lib.rs:738
Method
get_remaining_hours
()
pallets/payment/src/weights.rs:178
Method
get_stuck_tasks
Helper function to get all stuck tasks
pallets/task-management/src/lib.rs:741
Method
get_total_compute_hours
Get total compute hours for a user (now unified)
pallets/payment/src/lib.rs:875
Function
get_verification_key
( task_id: TaskId, )
pallets/zk-verifier/src/lib.rs:229
Method
has_sufficient_hours
Check if user has sufficient compute hours
pallets/payment/src/lib.rs:880
Method
impl_name
()
node/src/command.rs:30
Method
impl_version
()
node/src/command.rs:34
Method
import_params
(&self)
node/src/command.rs:294
Method
init
(&self, _support_url: &String, _impl_version: &String, _logger_hook: F)
node/src/command.rs:330
Function
is_native_concrete_does_not_matches_non_native_currencies
()
pallets/xcm-support/src/tests.rs:63
Function
is_native_concrete_matches_native_currencies
()
pallets/xcm-support/src/tests.rs:37
Method
is_online
(&self)
primitives/src/miner.rs:137
Method
is_online_and_available
(&self)
primitives/src/miner.rs:132
Method
is_operational
(&self)
primitives/src/miner.rs:141
Method
is_registered_miner
(account: &T::AccountId)
pallets/edge-connect/src/lib.rs:738
Function
it_distributes_rewards_to_miners
()
pallets/payment/src/tests.rs:119
Function
it_fails_for_registering_duplicate_miner
()
pallets/edge-connect/src/tests.rs:363
Function
it_fails_for_registering_with_incomplete_miner_id
()
pallets/edge-connect/src/tests.rs:206
Function
it_fails_for_removing_non_existent_miner
()
pallets/edge-connect/src/tests.rs:519
Function
it_fails_to_distribute_if_provider_not_set
()
pallets/payment/src/tests.rs:166
Function
it_fails_to_record_usage_if_not_a_miner
()
pallets/payment/src/tests.rs:238
Function
it_fails_when_consuming_zero_hours
()
pallets/payment/src/tests.rs:8
Function
it_fails_when_miner_not_registered
()
pallets/task-management/src/tests.rs:281
Function
it_fails_when_no_computer_hours_available
()
pallets/task-management/src/tests.rs:361
Function
it_fails_when_no_miners_are_available
()
pallets/task-management/src/tests.rs:324
Function
it_fails_when_usage_input_is_invalid
()
pallets/payment/src/tests.rs:101
Function
it_overwrites_existing_usage
()
pallets/payment/src/tests.rs:179
Function
it_records_usage_successfully
()
pallets/payment/src/tests.rs:74
Function
it_skips_distribution_for_zero_rewards
()
pallets/payment/src/tests.rs:213
Function
it_works_for_confirm_miner_vacation
()
pallets/task-management/src/tests.rs:495
Function
it_works_for_inserting_miner_into_correct_storage
()
pallets/edge-connect/src/tests.rs:9
Function
it_works_for_miner_status_updates
()
pallets/task-management/src/tests.rs:179
Function
it_works_for_registering_and_reregistering_the_miner
()
pallets/edge-connect/src/tests.rs:250
Function
it_works_for_registering_domain
()
pallets/edge-connect/src/tests.rs:129
Function
it_works_for_removing_miner
()
pallets/edge-connect/src/tests.rs:423
Function
it_works_for_requesting_maintenance
()
pallets/edge-connect/src/tests.rs:604
Function
it_works_for_resolving_maintenance
()
pallets/edge-connect/src/tests.rs:664
Function
it_works_for_stop_task_and_vacate_miner
()
pallets/task-management/src/tests.rs:659
Function
it_works_for_task_scheduler
()
pallets/task-management/src/tests.rs:86
Method
keystore_params
(&self)
node/src/command.rs:302
Method
leave_intent
Storage: `CollatorSelection::CandidateList` (r:1 w:1) Proof: `CollatorSelection::CandidateList` (`max_values`: Some(1), `max_size`: Some(4802), added:
runtime/src/weights/pallet_collator_selection.rs:212
Method
lift_suspension
Lift suspension from a miner
pallets/edge-connect/src/lib.rs:1037
Function
main
()
runtime/build.rs:3
Function
main
()
node/build.rs:3
← previous
next →
101–200 of 483, ranked by callers