MCPcopy Create free account

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

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

↓ 235 callersMethodclone
(&self)
pallets/payment/src/lib.rs:53
↓ 98 callersFunctionfrom_dec_string
(number: &str)
pallets/zk-verifier/src/verify.rs:593
↓ 22 callersFunctionnew_test_ext
()
pallets/task-management/src/mock.rs:179
↓ 19 callersFunctionnew_test_ext
()
pallets/payment/src/mock.rs:177
↓ 19 callersFunctionsetup_gatekeeper
()
pallets/task-management/src/tests.rs:73
↓ 17 callersFunctionon_new_data
()
pallets/status-aggregator/src/benchmarking.rs:32
↓ 15 callersFunctionnew_test_ext
()
pallets/zk-verifier/src/mock.rs:54
↓ 11 callersFunctionnew_test_ext
Build genesis storage according to the mock runtime.
pallets/edge-connect/src/mock.rs:53
↓ 7 callersFunctionprepare_proof_json
(protocol: &str, curve: &str, pi_a_x: Option<String>)
pallets/zk-verifier/src/tests.rs:446
↓ 7 callersFunctionprepare_vk_json
(protocol: &str, curve: &str, alpha_x: Option<String>)
pallets/zk-verifier/src/tests.rs:344
↓ 7 callersFunctionzk_events
()
pallets/zk-verifier/src/mock.rs:61
↓ 4 callersFunctionget_domain
Helper function to convert the domain string into a BoundedVec with a maximum length of 128 bytes. Convert the domain string into a vector of bytes an
pallets/task-management/src/benchmarking.rs:20
↓ 4 callersFunctionget_taskdata
Helper function to convert task data into a BoundedVec with a maximum length of 128 bytes. This ensures the task data string does not exceed the limit
pallets/task-management/src/benchmarking.rs:27
↓ 4 callersFunctionnew_partial
(config: &Configuration)
node/src/service.rs:69
↓ 4 callersFunctionnew_test_ext
Build genesis storage according to the mock runtime.
pallets/status-aggregator/src/mock.rs:77
↓ 3 callersFunctiondeserialize_public_inputs
Creates vector of `u64` representing public inputs # Arguments `inputs` - A byte array slice containing array of integers in json array form
pallets/zk-verifier/src/deserialization.rs:183
↓ 3 callersFunctionget_domain
Helper function to convert the domain string into a BoundedVec with a maximum length of 128 bytes. Convert the domain string into a vector of bytes an
pallets/edge-connect/src/benchmarking.rs:16
↓ 3 callersMethodis_suspended
(&self)
primitives/src/miner.rs:128
↓ 2 callersMethodcan_accept_tasks
(&self)
primitives/src/miner.rs:123
↓ 2 callersFunctionlocal_testnet_config
()
node/src/chain_spec.rs:116
↓ 2 callersFunctionregister_worker
()
pallets/edge-connect/src/benchmarking.rs:97
↓ 2 callersFunctionset_service_provider_account
()
pallets/payment/src/benchmarking.rs:42
↓ 2 callersFunctiontestnet_genesis
( invulnerables: Vec<(AccountId, AuraId)>, endowed_accounts: Vec<AccountId>, root: AccountId, id: ParaId,
node/src/chain_spec.rs:169
↓ 1 callersMethodannounce_block
(&self)
node/src/command.rs:387
↓ 1 callersFunctionbuild_import_queue
Build the import queue for the parachain runtime.
node/src/service.rs:148
↓ 1 callersFunctionconsume_compute_hours
()
pallets/payment/src/benchmarking.rs:123
↓ 1 callersFunctioncreate_full
Instantiate all RPC extensions.
node/src/rpc.rs:29
↓ 1 callersFunctiondevelopment_config
()
node/src/chain_spec.rs:65
↓ 1 callersFunctionget_domain
Helper function to convert the domain string into a BoundedVec with a maximum length of 128 bytes. Convert the domain string into a vector of bytes an
pallets/status-aggregator/src/benchmarking.rs:18
↓ 1 callersMethodis_eligible_for_tasks
(&self)
primitives/src/miner.rs:145
↓ 1 callersFunctionload_spec
(id: &str)
node/src/command.rs:18
↓ 1 callersMethodload_spec
(&self, id: &str)
node/src/command.rs:60
↓ 1 callersFunctionprepare_public_inputs
Turns `u64` values into `Scalar` representation
pallets/zk-verifier/src/verify.rs:200
↓ 1 callersFunctionprepare_verification_key
( deserialized_vk: VKey, )
pallets/zk-verifier/src/common.rs:38
↓ 1 callersFunctionrun
Parse command line arguments into service configuration.
node/src/command.rs:113
↓ 1 callersFunctionset_gatekeeper
()
pallets/task-management/src/benchmarking.rs:286
↓ 1 callersMethodshared_params
(&self)
node/src/command.rs:290
↓ 1 callersFunctionstart_consensus
( client: Arc<ParachainClient>, backend: Arc<ParachainBackend>, block_import: ParachainBlockImport, promet
node/src/service.rs:175
↓ 1 callersFunctionstart_parachain_node
( parachain_config: Configuration, polkadot_config: Configuration, collator_options: CollatorOptions, para
node/src/service.rs:244
↓ 1 callersFunctionstop_task_and_vacate_miner
()
pallets/task-management/src/benchmarking.rs:224
↓ 1 callersFunctionsubscribe
()
pallets/payment/src/benchmarking.rs:69
↓ 1 callersFunctionverify
Verifies given proof with given verification key and public inputs
pallets/zk-verifier/src/verify.rs:205
FunctionMinerReputationDefault
()
pallets/edge-connect/src/lib.rs:53
Methodadd
(account: &AccountId)
runtime/src/lib.rs:351
Methodadd_account_authorized_for_registration
()
runtime/src/weights/pallet_edge_connect.rs:133
Methodadd_account_authorized_for_registration
( origin: OriginFor<T>, account: T::AccountId, )
pallets/edge-connect/src/lib.rs:679
Methodadd_account_authorized_for_registration
()
pallets/edge-connect/src/weights.rs:138
Methodadd_hours
()
runtime/src/weights/pallet_payment.rs:139
Methodadd_hours
(origin: OriginFor<T>, extra_hours: u32)
pallets/payment/src/lib.rs:514
Methodadd_hours
()
pallets/payment/src/weights.rs:139
Functionadd_hours_fails_if_not_subscribed
()
pallets/payment/src/tests.rs:299
Methodadd_hours_with_asset
()
runtime/src/weights/pallet_payment.rs:193
Methodadd_hours_with_asset
( origin: OriginFor<T>, asset_id: T::AssetId, extra_hours: u32, )
pallets/payment/src/lib.rs:823
Methodadd_hours_with_asset
()
pallets/payment/src/weights.rs:193
Functionadd_hours_works
()
pallets/payment/src/tests.rs:284
Methodadd_invulnerable
Storage: `Session::NextKeys` (r:1 w:0) Proof: `Session::NextKeys` (`max_values`: None, `max_size`: None, mode: `Measured`) Storage: `CollatorSelection
runtime/src/weights/pallet_collator_selection.rs:75
Functionadmin_can_set_service_provider_account
()
pallets/payment/src/tests.rs:23
Methodapply_penalty
Apply penalty to a miner's reputation
pallets/edge-connect/src/lib.rs:743
Methodapprove_transfer
()
runtime/src/weights/pallet_assets.rs:96
Methodauthor
()
node/src/command.rs:48
Methodban_miner
()
runtime/src/weights/pallet_edge_connect.rs:85
Methodban_miner
( origin: OriginFor<T>, miner_id: MinerId, miner_type: MinerType, reason: SuspensionReason, )
pallets/edge-connect/src/lib.rs:515
Methodban_miner
()
pallets/edge-connect/src/weights.rs:102
Methodban_miners
Ban a miner permanently
pallets/edge-connect/src/lib.rs:1006
Methodbase_path
(&self)
node/src/command.rs:306
Methodblock
()
runtime/src/weights/pallet_assets.rs:132
Methodbump_service_head
Storage: `MessageQueue::ServiceHead` (r:1 w:1) Proof: `MessageQueue::ServiceHead` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxE
runtime/src/weights/pallet_message_queue.rs:122
Methodburn
()
runtime/src/weights/pallet_assets.rs:36
Methodburn_allow_death
()
runtime/src/weights/pallet_balances.rs:147
Methodburn_keep_alive
()
runtime/src/weights/pallet_balances.rs:154
Methodcancel_approval
()
runtime/src/weights/pallet_assets.rs:104
Methodchain_id
(&self, is_dev: bool)
node/src/command.rs:337
Methodcheck_miner_status
Check if miner can perform actions
pallets/edge-connect/src/lib.rs:815
Methodcheck_only_sudo_account
Storage: `Sudo::Key` (r:1 w:0) Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(32), added: 527, mode: `MaxEncodedLen`)
runtime/src/weights/pallet_sudo.rs:85
Methodcheck_payment
(_id: Self::Id)
runtime/src/lib.rs:435
Methodcheck_rate_limit
(who: &T::AccountId)
pallets/task-management/src/lib.rs:636
Methodcheck_status
()
runtime/src/weights/pallet_treasury.rs:19
Methodcheck_task_confirmation_timeouts
Check for expired task confirmations and penalize miners
pallets/task-management/src/lib.rs:659
Methodclear_metadata
()
runtime/src/weights/pallet_assets.rs:80
Methodcombine_data
( _key: &OracleKey, _values: Vec<TimestampedValue<T, I>>, _prev_value: Option<TimestampedValue<T, I>>,
primitives/src/oracle.rs:115
Functionconfirm_miner_vacation
()
pallets/task-management/src/benchmarking.rs:256
Methodconfirm_miner_vacation
Storage: `TaskManagement::Tasks` (r:1 w:1) Proof: `TaskManagement::Tasks` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLe
runtime/src/weights/pallet_task_management.rs:184
Methodconfirm_miner_vacation
(origin: OriginFor<T>, task_id: TaskId, miner_type: MinerType)
pallets/task-management/src/lib.rs:473
Methodconfirm_miner_vacation
Storage: `TaskManagement::Tasks` (r:1 w:1) Proof: `TaskManagement::Tasks` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLe
pallets/task-management/src/weights.rs:174
Methodconfirm_task_reception
Storage: `TaskManagement::Tasks` (r:1 w:1) Proof: `TaskManagement::Tasks` (`max_values`: None, `max_size`: Some(182), added: 2657, mode: `MaxEncodedLe
runtime/src/weights/pallet_task_management.rs:158
Methodconfirm_task_reception
(origin: OriginFor<T>, task_id: TaskId, has_failed: bool)
pallets/task-management/src/lib.rs:368
Methodconfirm_task_reception
()
pallets/task-management/src/weights.rs:148
Functionconfirm_task_reception_should_fail_if_already_running
()
pallets/task-management/src/tests.rs:448
Functionconfirm_task_reception_should_work_for_valid_assigned_miner
()
pallets/task-management/src/tests.rs:397
Methodconsume_compute_hours
Storage: `Payment::ComputeHours` (r:1 w:1) Proof: `Payment::ComputeHours` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen
runtime/src/weights/pallet_payment.rs:104
Methodconsume_compute_hours
(origin: OriginFor<T>, hours: u32)
pallets/payment/src/lib.rs:349
Methodconsume_compute_hours
Storage: `Payment::ComputeHours` (r:1 w:1) Proof: `Payment::ComputeHours` (`max_values`: None, `max_size`: Some(52), added: 2527, mode: `MaxEncodedLen
pallets/payment/src/weights.rs:104
Methodcontains
(location: &Location)
runtime/src/configs/xcm_config.rs:96
Methodcontains
(asset: &Asset, origin: &Location)
pallets/xcm-support/src/lib.rs:47
Methodconvert
(l: Location)
pallets/xcm-support/src/tests.rs:18
Methodcopyright_start_year
()
node/src/command.rs:56
Methodcreate
()
runtime/src/weights/pallet_assets.rs:6
Methoddefault
()
primitives/src/miner.rs:173
Methoddefault_heap_pages
(&self)
node/src/command.rs:371
Methoddeposit
(_asset: &Asset, _to: &Location)
pallets/xcm-support/src/lib.rs:69
next →1–100 of 483, ranked by callers