Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/datahaven-xyz/datahaven
/ functions
Functions
3,821 in github.com/datahaven-xyz/datahaven
⨍
Functions
3,821
◇
Types & classes
805
↓ 2,563 callers
Method
into
(self)
operator/runtime/testnet/src/configs/storagehub/client.rs:60
↓ 274 callers
Method
into
(self)
operator/runtime/mainnet/src/configs/storagehub/client.rs:60
↓ 274 callers
Method
into
(self)
operator/runtime/stagenet/src/configs/storagehub/client.rs:60
↓ 128 callers
Method
build
(self)
operator/runtime/testnet/tests/common.rs:144
↓ 125 callers
Method
build
(self)
operator/runtime/mainnet/tests/common.rs:144
↓ 125 callers
Method
build
(self)
operator/runtime/stagenet/tests/common.rs:144
↓ 113 callers
Function
account_id
Helper function to convert account constants to AccountId
operator/runtime/testnet/tests/common.rs:57
↓ 110 callers
Function
account_id
Helper function to convert account constants to AccountId
operator/runtime/mainnet/tests/common.rs:57
↓ 110 callers
Function
account_id
Helper function to convert account constants to AccountId
operator/runtime/stagenet/tests/common.rs:57
↓ 103 callers
Method
success
(msg: string, ...args: any[])
test/utils/logger.ts:16
↓ 88 callers
Function
new_test_ext
()
operator/pallets/external-validators-rewards/src/mock.rs:344
↓ 87 callers
Function
new_tester
Build genesis storage according to the mock runtime.
operator/pallets/ethereum-client/src/mock.rs:158
↓ 82 callers
Function
run_to_block
(n: u64)
operator/pallets/external-validators-rewards/src/mock.rs:376
↓ 75 callers
Function
start_era
(era_index: EraIndex, session_index: SessionIndex, external_idx: u64)
operator/pallets/external-validator-slashes/src/tests.rs:1125
↓ 69 callers
Method
eq
(&self, other: &Bloom)
operator/primitives/snowbridge/ethereum/src/header.rs:203
↓ 66 callers
Method
filter
(&self, _: &RuntimeCall)
operator/precompiles/proxy/src/mock.rs:246
↓ 56 callers
Function
precompiles
No test of invalid selectors since we have a fallback behavior (deposit).
operator/precompiles/erc20-balances/src/tests.rs:27
↓ 55 callers
Function
submit
()
operator/pallets/ethereum-client/src/benchmarking/mod.rs:37
↓ 53 callers
Function
printDivider
()
test/utils/logger.ts:50
↓ 52 callers
Method
as_ref
(&self)
operator/primitives/snowbridge/core/src/lib.rs:137
↓ 49 callers
Function
load_checkpoint_update_fixture
( )
operator/pallets/ethereum-client/src/mock.rs:30
↓ 46 callers
Function
on_era_end
()
operator/pallets/external-validators-rewards/src/benchmarking.rs:57
↓ 41 callers
Function
compute_period
Compute the sync committee period in which a slot is contained.
operator/pallets/ethereum-client/src/functions.rs:20
↓ 39 callers
Function
fetchCompiledContract
(contractName: string)
test/moonwall/helpers/contracts.ts:53
↓ 37 callers
Function
end_session
Helper function for tests to award session performance points.
operator/pallets/external-validators-rewards/src/mock.rs:387
↓ 36 callers
Function
new_test_ext
Build genesis storage according to the mock runtime.
operator/pallets/external-validator-slashes/src/mock.rs:304
↓ 36 callers
Method
with_balances
(mut self, balances: Vec<(AccountId, Balance)>)
operator/runtime/testnet/tests/common.rs:125
↓ 35 callers
Method
insert
Insert a map entry.
operator/primitives/snowbridge/core/src/ringbuffer.rs:45
↓ 34 callers
Method
build
(self)
operator/precompiles/batch/src/mock.rs:194
↓ 34 callers
Function
expectEVMResult
( events: EventRecord[], resultType: Type, reason?: T[Type] )
test/moonwall/helpers/evm.ts:36
↓ 34 callers
Function
percent
(x: i32)
operator/runtime/testnet/src/configs/governance/tracks.rs:32
↓ 34 callers
Function
percent
(x: i32)
operator/runtime/mainnet/src/configs/governance/tracks.rs:32
↓ 34 callers
Function
percent
(x: i32)
operator/runtime/stagenet/src/configs/governance/tracks.rs:32
↓ 34 callers
Function
printHeader
(title: string)
test/utils/logger.ts:44
↓ 33 callers
Method
with_balances
(mut self, balances: Vec<(AccountId, Balance)>)
operator/runtime/mainnet/tests/common.rs:125
↓ 33 callers
Method
with_balances
(mut self, balances: Vec<(AccountId, Balance)>)
operator/runtime/stagenet/tests/common.rs:125
↓ 31 callers
Function
load_sync_committee_update_fixture
()
operator/pallets/ethereum-client/src/mock.rs:35
↓ 30 callers
Function
precompiles
()
operator/precompiles/collective/src/tests.rs:27
↓ 29 callers
Method
build
Build the test externalities for use in tests
operator/precompiles/identity/src/mock.rs:294
↓ 29 callers
Method
sudo
Storage: `Sudo::Key` (r:1 w:0) Proof: `Sudo::Key` (`max_values`: Some(1), `max_size`: Some(20), added: 515, mode: `MaxEncodedLen`)
operator/runtime/testnet/src/weights/pallet_sudo.rs:71
↓ 29 callers
Method
with_balances
Fund some accounts before starting the test
operator/precompiles/identity/src/mock.rs:288
↓ 28 callers
Method
build
Build the test externalities for use in tests
operator/precompiles/proxy/src/mock.rs:297
↓ 28 callers
Function
on_initialize
()
operator/pallets/outbound-queue-v2/src/benchmarking.rs:125
↓ 27 callers
Function
events
()
operator/precompiles/proxy/src/mock.rs:317
↓ 26 callers
Function
make_simple_proposal
()
operator/runtime/testnet/tests/common.rs:341
↓ 26 callers
Function
make_simple_proposal
()
operator/runtime/mainnet/tests/common.rs:341
↓ 26 callers
Function
make_simple_proposal
()
operator/runtime/stagenet/tests/common.rs:341
↓ 25 callers
Method
build
(self)
operator/precompiles/erc20-balances/src/mock.rs:205
↓ 25 callers
Method
with_balances
Fund some accounts before starting the test
operator/precompiles/proxy/src/mock.rs:291
↓ 25 callers
Method
with_balances
(mut self, balances: Vec<(AccountId, Balance)>)
operator/precompiles/erc20-balances/src/mock.rs:200
↓ 24 callers
Method
dispatch
( handle: &mut impl PrecompileHandle, from: Address, to: Address, value: U256,
operator/precompiles/call-permit/src/lib.rs:140
↓ 24 callers
Function
new_test_ext
()
operator/pallets/external-validators/src/mock.rs:279
↓ 24 callers
Method
next
(&mut self)
operator/primitives/snowbridge/outbound-queue/src/v2/converter/convert.rs:79
↓ 23 callers
Function
make_proposal_hash
(proposal: &RuntimeCall)
operator/runtime/testnet/tests/common.rs:301
↓ 23 callers
Function
make_proposal_hash
(proposal: &RuntimeCall)
operator/runtime/mainnet/tests/common.rs:301
↓ 23 callers
Function
make_proposal_hash
(proposal: &RuntimeCall)
operator/runtime/stagenet/tests/common.rs:301
↓ 23 callers
Function
precompile_address
Test helper to get the precompile address
operator/precompiles/datahaven-native-transfer/src/tests.rs:28
↓ 23 callers
Function
precompiles
()
operator/precompiles/datahaven-native-transfer/src/mock.rs:296
↓ 22 callers
Method
hash_tree_root
(&self)
operator/primitives/snowbridge/beacon/src/ssz.rs:279
↓ 22 callers
Function
precompiles
()
operator/precompiles/batch/src/tests.rs:33
↓ 21 callers
Method
convert
(_id: &TokenId)
operator/primitives/snowbridge/outbound-queue/src/v2/converter/tests.rs:67
↓ 21 callers
Function
new_test_ext
()
operator/pallets/datahaven-native-transfer/src/mock.rs:159
↓ 20 callers
Method
build
(self)
operator/precompiles/collective/src/mock.rs:296
↓ 20 callers
Method
destroy
Storage: `Nfts::Collection` (r:1 w:1) Proof: `Nfts::Collection` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`) Storage
operator/runtime/testnet/src/weights/pallet_nfts.rs:115
↓ 19 callers
Function
assert_last_event
(generic_event: <T as Config>::RuntimeEvent)
operator/pallets/external-validators/src/benchmarking.rs:33
↓ 19 callers
Method
from
(provider: BabeConsensusDataProvider)
operator/node/src/consensus.rs:52
↓ 18 callers
Method
build
(self)
operator/precompiles/datahaven-native-transfer/src/mock.rs:270
↓ 18 callers
Function
calculateEIP7623Gas
( numZeroBytes: number, numNonZeroBytes: number, executionGas = 0n )
test/moonwall/helpers/fees.ts:32
↓ 18 callers
Function
setup_technical_committee
(members: Vec<AccountId>)
operator/runtime/testnet/tests/common.rs:319
↓ 18 callers
Function
setup_technical_committee
(members: Vec<AccountId>)
operator/runtime/mainnet/tests/common.rs:319
↓ 18 callers
Function
setup_technical_committee
(members: Vec<AccountId>)
operator/runtime/stagenet/tests/common.rs:319
↓ 17 callers
Function
advance_referendum_time
Helper to advance time for voting
operator/runtime/testnet/tests/common.rs:349
↓ 17 callers
Function
advance_referendum_time
Helper to advance time for voting
operator/runtime/mainnet/tests/common.rs:349
↓ 17 callers
Function
advance_referendum_time
Helper to advance time for voting
operator/runtime/stagenet/tests/common.rs:349
↓ 17 callers
Function
new_test_ext
Build genesis storage according to the mock runtime.
operator/pallets/system/src/mock.rs:230
↓ 17 callers
Function
parseDeploymentsFile
(networkId = "anvil")
test/utils/contracts.ts:68
↓ 16 callers
Function
run_block
()
operator/pallets/external-validator-slashes/src/mock.rs:390
↓ 16 callers
Method
set
Storage: `Timestamp::Now` (r:1 w:1) Proof: `Timestamp::Now` (`max_values`: Some(1), `max_size`: Some(8), added: 503, mode: `MaxEncodedLen`) Storage: `
operator/runtime/testnet/src/weights/pallet_timestamp.rs:62
↓ 16 callers
Method
with_balances
(mut self, balances: Vec<(AccountId, Balance)>)
operator/precompiles/datahaven-native-transfer/src/mock.rs:259
↓ 15 callers
Function
alice
()
operator/runtime/testnet/tests/common.rs:264
↓ 15 callers
Function
alice
()
operator/runtime/mainnet/tests/common.rs:264
↓ 15 callers
Function
alice
()
operator/runtime/stagenet/tests/common.rs:264
↓ 15 callers
Function
balance
(account: impl Into<AccountId>)
operator/precompiles/batch/src/mock.rs:219
↓ 15 callers
Function
call
(target_address: impl Into<H160>, output: bool)
operator/precompiles/precompile-registry/src/tests.rs:57
↓ 15 callers
Method
description
()
operator/node/src/command.rs:124
↓ 15 callers
Method
get_dispatch_info
(&self)
operator/primitives/snowbridge/core/src/reward.rs:229
↓ 15 callers
Function
load_finalized_header_update_fixture
()
operator/pallets/ethereum-client/src/mock.rs:42
↓ 14 callers
Method
addContainer
( containerName: string, publicPorts: Record<string, number> = {}, internalPorts: Record<string, n
test/launcher/types/launchedNetwork.ts:84
↓ 14 callers
Function
confirmWithTimeout
( question: string, defaultValue: boolean, timeoutSeconds: number )
test/utils/input.ts:80
↓ 14 callers
Function
push_unsent
Helper: push an entry into the unsent ring buffer via the pallet API.
operator/pallets/external-validators-rewards/src/tests.rs:3731
↓ 14 callers
Function
run_to_session
(n: u32)
operator/pallets/external-validators/src/mock.rs:341
↓ 13 callers
Method
get
(version: number)
test/moonwall/helpers/constants.ts:30
↓ 13 callers
Function
log_subcall_failed
(address: impl Into<H160>, index: usize)
operator/precompiles/batch/src/lib.rs:59
↓ 13 callers
Function
new_tester
()
operator/pallets/inbound-queue-v2/src/mock.rs:202
↓ 13 callers
Function
precompiles
()
operator/precompiles/call-permit/src/tests.rs:27
↓ 13 callers
Function
register_native_token
()
operator/runtime/testnet/tests/native_token_transfer.rs:52
↓ 13 callers
Function
register_native_token
()
operator/runtime/mainnet/tests/native_token_transfer.rs:52
↓ 13 callers
Function
register_native_token
()
operator/runtime/stagenet/tests/native_token_transfer.rs:52
↓ 13 callers
Function
waitFor
(options: WaitForOptions)
test/utils/waits.ts:21
↓ 13 callers
Method
with_balances
(mut self, balances: Vec<(AccountId, Balance)>)
operator/precompiles/batch/src/mock.rs:189
next →
1–100 of 3,821, ranked by callers