MCPcopy Create free account

hub / github.com/Cyborg-Network/cyborg-parachain / functions

Functions483 in github.com/Cyborg-Network/cyborg-parachain

Methoddeposit_asset
(asset: &Asset, location: &Location, _context: Option<&XcmContext>)
pallets/xcm-support/src/currency_adapter.rs:148
Methodderive_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
Methodderive_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
Methoddescription
()
node/src/command.rs:38
Methoddestroy_accounts
(c: u32)
runtime/src/weights/pallet_assets.rs:18
Methoddestroy_approvals
(a: u32)
runtime/src/weights/pallet_assets.rs:23
Methoddisable_grandpa
(&self)
node/src/command.rs:379
Methoddistribute_rewards
()
runtime/src/weights/pallet_payment.rs:123
Methoddistribute_rewards
(origin: OriginFor<T>)
pallets/payment/src/lib.rs:459
Methoddistribute_rewards
()
pallets/payment/src/weights.rs:123
Functionemitting_proper_event_for_registering_miner
()
pallets/edge-connect/src/tests.rs:556
Methodenqueue_2_empty_xcmp_messages
()
runtime/src/weights/cumulus_pallet_xcmp_queue.rs:77
Methodenqueue_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
Methodenqueue_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
Methodenqueue_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
Methodexecute_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
Methodexecute_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
Functionfails_if_task_does_not_exist
()
pallets/task-management/src/tests.rs:761
Functionfails_if_task_is_not_running
()
pallets/task-management/src/tests.rs:722
Functionfails_if_task_not_stopped
()
pallets/task-management/src/tests.rs:608
Methodfeed_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
Methodfinish_destroy
()
runtime/src/weights/pallet_assets.rs:28
Methodforce_adjust_total_issuance
()
runtime/src/weights/pallet_balances.rs:140
Methodforce_asset_status
()
runtime/src/weights/pallet_assets.rs:92
Methodforce_authoring
(&self)
node/src/command.rs:375
Methodforce_cancel_approval
()
runtime/src/weights/pallet_assets.rs:108
Methodforce_clear_metadata
()
runtime/src/weights/pallet_assets.rs:88
Methodforce_create
()
runtime/src/weights/pallet_assets.rs:10
Methodforce_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
Methodforce_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
Methodforce_set_metadata
(_name_len: u32, _symbol_len: u32)
runtime/src/weights/pallet_assets.rs:84
Methodforce_transfer
()
runtime/src/weights/pallet_assets.rs:48
Methodforce_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
Methodforce_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
Methodfreeze
()
runtime/src/weights/pallet_assets.rs:52
Methodfreeze_asset
()
runtime/src/weights/pallet_assets.rs:60
Methodfrom
(e: Error)
pallets/xcm-support/src/currency_adapter.rs:34
Methodfrom_asset_balance
(balance: Balance, _asset_id: ())
runtime/src/lib.rs:445
Functionfrom_dec_string
(dec_str: &str)
pallets/zk-verifier/src/deserialization.rs:399
Methodfrom_json_u8_slice
Creates `VKey` from json representation
pallets/zk-verifier/src/deserialization.rs:74
Methodfrom_uncompressed
( alpha: &G1UncompressedBytes, beta: &G2UncompressedBytes, gamma: &G2UncompressedBytes, delta: &G2Unco
pallets/zk-verifier/src/verify.rs:122
Functiong1_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
Functiong2_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
Methodget
(_key: &Location)
pallets/xcm-support/src/lib.rs:80
Functionget_account_id_from_seed
Helper function to generate an account ID from seed
node/src/chain_spec.rs:51
Methodget_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
Functionget_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
Methodget_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
Functionget_from_seed
Helper function to generate a crypto pair from seed
node/src/chain_spec.rs:17
Methodget_miner
( miner_key: &MinerId, miner_type: &MinerType, )
pallets/edge-connect/src/lib.rs:802
Methodget_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
Methodget_model_hash
(origin: OriginFor<T>, model_id: Vec<u8>)
pallets/task-management/src/lib.rs:555
Methodget_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
Functionget_public_inputs
(task_id: TaskId)
pallets/zk-verifier/src/lib.rs:208
Methodget_remaining_hours
()
runtime/src/weights/pallet_payment.rs:178
Methodget_remaining_hours
(origin: OriginFor<T>)
pallets/payment/src/lib.rs:738
Methodget_remaining_hours
()
pallets/payment/src/weights.rs:178
Methodget_stuck_tasks
Helper function to get all stuck tasks
pallets/task-management/src/lib.rs:741
Methodget_total_compute_hours
Get total compute hours for a user (now unified)
pallets/payment/src/lib.rs:875
Functionget_verification_key
( task_id: TaskId, )
pallets/zk-verifier/src/lib.rs:229
Methodhas_sufficient_hours
Check if user has sufficient compute hours
pallets/payment/src/lib.rs:880
Methodimpl_name
()
node/src/command.rs:30
Methodimpl_version
()
node/src/command.rs:34
Methodimport_params
(&self)
node/src/command.rs:294
Methodinit
(&self, _support_url: &String, _impl_version: &String, _logger_hook: F)
node/src/command.rs:330
Functionis_native_concrete_does_not_matches_non_native_currencies
()
pallets/xcm-support/src/tests.rs:63
Functionis_native_concrete_matches_native_currencies
()
pallets/xcm-support/src/tests.rs:37
Methodis_online
(&self)
primitives/src/miner.rs:137
Methodis_online_and_available
(&self)
primitives/src/miner.rs:132
Methodis_operational
(&self)
primitives/src/miner.rs:141
Methodis_registered_miner
(account: &T::AccountId)
pallets/edge-connect/src/lib.rs:738
Functionit_distributes_rewards_to_miners
()
pallets/payment/src/tests.rs:119
Functionit_fails_for_registering_duplicate_miner
()
pallets/edge-connect/src/tests.rs:363
Functionit_fails_for_registering_with_incomplete_miner_id
()
pallets/edge-connect/src/tests.rs:206
Functionit_fails_for_removing_non_existent_miner
()
pallets/edge-connect/src/tests.rs:519
Functionit_fails_to_distribute_if_provider_not_set
()
pallets/payment/src/tests.rs:166
Functionit_fails_to_record_usage_if_not_a_miner
()
pallets/payment/src/tests.rs:238
Functionit_fails_when_consuming_zero_hours
()
pallets/payment/src/tests.rs:8
Functionit_fails_when_miner_not_registered
()
pallets/task-management/src/tests.rs:281
Functionit_fails_when_no_computer_hours_available
()
pallets/task-management/src/tests.rs:361
Functionit_fails_when_no_miners_are_available
()
pallets/task-management/src/tests.rs:324
Functionit_fails_when_usage_input_is_invalid
()
pallets/payment/src/tests.rs:101
Functionit_overwrites_existing_usage
()
pallets/payment/src/tests.rs:179
Functionit_records_usage_successfully
()
pallets/payment/src/tests.rs:74
Functionit_skips_distribution_for_zero_rewards
()
pallets/payment/src/tests.rs:213
Functionit_works_for_confirm_miner_vacation
()
pallets/task-management/src/tests.rs:495
Functionit_works_for_inserting_miner_into_correct_storage
()
pallets/edge-connect/src/tests.rs:9
Functionit_works_for_miner_status_updates
()
pallets/task-management/src/tests.rs:179
Functionit_works_for_registering_and_reregistering_the_miner
()
pallets/edge-connect/src/tests.rs:250
Functionit_works_for_registering_domain
()
pallets/edge-connect/src/tests.rs:129
Functionit_works_for_removing_miner
()
pallets/edge-connect/src/tests.rs:423
Functionit_works_for_requesting_maintenance
()
pallets/edge-connect/src/tests.rs:604
Functionit_works_for_resolving_maintenance
()
pallets/edge-connect/src/tests.rs:664
Functionit_works_for_stop_task_and_vacate_miner
()
pallets/task-management/src/tests.rs:659
Functionit_works_for_task_scheduler
()
pallets/task-management/src/tests.rs:86
Methodkeystore_params
(&self)
node/src/command.rs:302
Methodleave_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
Methodlift_suspension
Lift suspension from a miner
pallets/edge-connect/src/lib.rs:1037
Functionmain
()
runtime/build.rs:3
Functionmain
()
node/build.rs:3
← previousnext →101–200 of 483, ranked by callers