Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChainSafe/Delorean-Protocol
/ functions
Functions
2,468 in github.com/ChainSafe/Delorean-Protocol
⨍
Functions
2,468
◇
Types & classes
742
↓ 10 callers
Function
f64_to_token_amount
(f: f64)
ipc/cli/src/commands/mod.rs:153
↓ 10 callers
Method
get
(&self, k: &cid::Cid)
fendermint/app/src/store.rs:76
↓ 10 callers
Method
id
(&self)
fendermint/eth/api/src/filters.rs:413
↓ 10 callers
Method
membership_mut
(&mut self)
ipld/resolver/src/service.rs:559
↓ 10 callers
Method
put
Save a key/`KeyInfo` pair to the `KeyStore`
ipc/wallet/src/fvm/keystore.rs:404
↓ 10 callers
Method
state_tree_mut
Get a mutable reference to the underlying [StateTree].
fendermint/vm/interpreter/src/fvm/state/exec.rs:245
↓ 10 callers
Method
values
(&self)
fendermint/vm/topdown/src/cache.rs:131
↓ 9 callers
Method
account
Get an account by ID.
fendermint/testing/materializer/src/testnet.rs:136
↓ 9 callers
Method
children
Returns the route from the root to the current subnet
ipc/api/src/subnet_id.rs:105
↓ 9 callers
Function
export_file
Export text to a file.
fendermint/testing/materializer/src/materials/mod.rs:58
↓ 9 callers
Method
fvm_wallet
FIXME: Reconcile these into a single wallet method that accepts an `ipc_wallet::WalletType` as an input.
ipc/provider/src/lib.rs:187
↓ 9 callers
Function
generate
Generate a new private key
ipc/wallet/src/fvm/wallet_helpers.rs:91
↓ 9 callers
Method
get
Get a container by name, if it exists.
fendermint/testing/materializer/src/docker/container.rs:43
↓ 9 callers
Method
handle
(&self, global: &GlobalArguments)
ipc/cli/src/commands/util/mod.rs:20
↓ 9 callers
Method
send_request
Send a request to the [`Service`], unless it has stopped listening.
ipld/resolver/src/client.rs:27
↓ 9 callers
Method
state_store_clone
Get an owned clone of the state store.
fendermint/app/src/app.rs:229
↓ 9 callers
Method
subnet
(&self, id: T)
fendermint/testing/materializer/src/lib.rs:245
↓ 8 callers
Method
account
(&self, id: T)
fendermint/testing/materializer/src/lib.rs:220
↓ 8 callers
Method
block_hash
(&self, h: BlockHeight)
fendermint/vm/topdown/tests/smt_voting.rs:127
↓ 8 callers
Method
block_height
The height of the currently executing block.
fendermint/vm/interpreter/src/fvm/state/exec.rs:212
↓ 8 callers
Function
builtin_actor_eth_addr
Delegated address of an Ethereum built-in actor. This is based on what seems to be going on in the `CREATE_EXTERNAL` method of the EAM actor when it
fendermint/vm/actor_interface/src/init.rs:32
↓ 8 callers
Function
characters
(s: &str)
ext/merkle-tree-rs/src/standard.rs:307
↓ 8 callers
Function
cid
Calculate the CID using Blake2b256 digest and DAG_CBOR. This used to be part of the `Cbor` trait, which is deprecated.
fendermint/vm/message/src/lib.rs:17
↓ 8 callers
Method
client
Create a new [`Client`] instance bound to this `Service`. The [`Client`] is geared towards request-response interactions, while the `Receiver` return
ipld/resolver/src/service.rs:223
↓ 8 callers
Method
ensure_contains
Check that a name is within the subnet. This should trivially be true by construction, but still.
fendermint/testing/materializer/src/validation.rs:76
↓ 8 callers
Function
eth_to_fil_amount
Converts an ethers::U256 TokenAmount into a FIL amount.
ipc/api/src/lib.rs:25
↓ 8 callers
Function
get
(functionNames)
contracts/scripts/js/diamond.js:45
↓ 8 callers
Method
public_key
(&self)
fendermint/crypto/src/lib.rs:53
↓ 8 callers
Method
public_key
(&self)
fendermint/testing/materializer/src/materials/defaults.rs:189
↓ 8 callers
Function
read_secret_key
(secret_key: &Path)
fendermint/app/src/cmd/key.rs:192
↓ 8 callers
Method
run
(mut self)
fendermint/eth/api/src/client.rs:114
↓ 8 callers
Function
to_fvm_tokens
(value: &U256)
fendermint/vm/message/src/conv/from_eth.rs:70
↓ 7 callers
Method
block_by_height
Get the Tendermint block at a specific height.
fendermint/eth/api/src/state.rs:166
↓ 7 callers
Function
block_number_from_receipt
Get the block number from the transaction receipt
ipc/provider/src/manager/evm/manager.rs:1356
↓ 7 callers
Function
bundle_path
Path to the builtin-actor bundle, indended to be used in tests.
fendermint/vm/interpreter/src/fvm/bundle.rs:20
↓ 7 callers
Method
committed_state
Get the last committed state; return error if it doesn't exist.
fendermint/app/src/app.rs:267
↓ 7 callers
Method
create
Create a container to be started later.
fendermint/testing/materializer/src/docker/runner.rs:193
↓ 7 callers
Function
down
(a: &str, b: &str, res: Option<SubnetID>)
ipc/api/src/subnet_id.rs:398
↓ 7 callers
Method
ethapi_http_provider
(&self)
fendermint/testing/materializer/src/lib.rs:349
↓ 7 callers
Function
ethers_address_to_fil_address
(addr: ðers::types::Address)
ipc/api/src/lib.rs:30
↓ 7 callers
Method
fevm_invoke
( &mut self, contract: Address, calldata: Bytes, value: TokenAmount, g
fendermint/rpc/src/message.rs:86
↓ 7 callers
Function
lazyImport
(module: any)
contracts/hardhat.config.ts:11
↓ 7 callers
Function
make_runner
()
fendermint/testing/materializer/src/docker/node.rs:660
↓ 7 callers
Method
message_factory_mut
(&mut self)
fendermint/rpc/src/client.rs:155
↓ 7 callers
Function
standard_leaf_hash
(values: Vec<String>, params: &[String])
ext/merkle-tree-rs/src/standard.rs:65
↓ 7 callers
Function
to_eth_address
(addr: &Address)
fendermint/vm/message/src/conv/from_fvm.rs:38
↓ 7 callers
Method
write
Take a snapshot to accumulate writes until they are committed. Take a write-lock on the data if necessary, but beware it doesn't work well with STM.
fendermint/storage/src/im.rs:95
↓ 6 callers
Function
bottom_up
(a: &str, b: &str, res: bool)
ipc/api/src/cross.rs:213
↓ 6 callers
Method
bytecode
Read the bytecode of the contract and replace all links in it with library addresses, similar to how the [hardhat-ethers](https://github.com/NomicFoun
fendermint/eth/hardhat/src/lib.rs:55
↓ 6 callers
Method
chain_id
The [ChainID] from the network configuration.
fendermint/vm/interpreter/src/fvm/state/exec.rs:260
↓ 6 callers
Function
choose_one
(g: &mut Gen, xs: &[T])
fendermint/testing/materializer/src/arb.rs:87
↓ 6 callers
Function
common_parent
(a: &str, b: &str, res: &str, index: usize)
ipc/api/src/subnet_id.rs:390
↓ 6 callers
Method
connection
Get the connection instance for the subnet.
ipc/provider/src/lib.rs:128
↓ 6 callers
Function
export
Write some content to a file. It will create all the directories along the path.
fendermint/testing/materializer/src/materials/mod.rs:40
↓ 6 callers
Method
from
(value: &str)
fendermint/testing/materializer/src/lib.rs:51
↓ 6 callers
Method
get
(&self)
fendermint/testing/src/smt.rs:211
↓ 6 callers
Method
get
(&self, k: &Cid)
ipld/resolver/tests/store/mod.rs:24
↓ 6 callers
Function
getTransactionFees
()
contracts/scripts/util.ts:64
↓ 6 callers
Method
get_proof
(&self, leaf: LeafType)
ext/merkle-tree-rs/src/standard.rs:199
↓ 6 callers
Method
has_staked
Check whether an account has staked before. The stake does not have to be confirmed by a checkpoint.
fendermint/testing/contract-test/tests/staking/state.rs:299
↓ 6 callers
Method
i256_is_negative
(&self)
ipc/types/src/uints.rs:57
↓ 6 callers
Method
max_chain_height
(&self)
fendermint/vm/topdown/tests/smt_voting.rs:123
↓ 6 callers
Method
message
Returns reference to the unsigned message.
fendermint/vm/message/src/signed.rs:213
↓ 6 callers
Method
new_filter
Create a new filter, subscribe with Tendermint and start handlers in the background.
fendermint/eth/api/src/state.rs:578
↓ 6 callers
Method
new_parent_view
( &self, height: BlockHeight, maybe_payload: Option<ParentViewPayload>, )
fendermint/vm/topdown/src/finality/null.rs:72
↓ 6 callers
Function
new_provider
( mut blocks: Vec<(BlockHeight, Option<ParentViewPayload>)>, )
fendermint/vm/topdown/src/finality/null.rs:377
↓ 6 callers
Method
path_string
(&self)
fendermint/testing/materializer/src/lib.rs:110
↓ 6 callers
Method
public_key
(&self)
fendermint/vm/genesis/src/lib.rs:153
↓ 6 callers
Method
query_height
Return the height of a block which we should send with a query, or None if it's the latest, to let the node figure it out. Adjusts the height of the
fendermint/eth/api/src/state.rs:257
↓ 6 callers
Method
remove
(self, filters: FilterMap)
fendermint/eth/api/src/filters.rs:606
↓ 6 callers
Function
to_chain_message
Decode the transaction payload as a [ChainMessage].
fendermint/eth/api/src/conv/from_tm.rs:538
↓ 6 callers
Function
to_eth_signature
Convert an FVM signature, which is a normal Secp256k1 signature, to an Ethereum one, where the `v` is optionally shifted by 27 to make it compatible w
fendermint/vm/message/src/conv/from_fvm.rs:77
↓ 6 callers
Function
to_fvm_address
(addr: H160)
fendermint/vm/message/src/conv/from_eth.rs:66
↓ 6 callers
Method
try_call
Call an EVM method implicitly to read its return value. Returns either the result or the exit code if it's not successful; intended to be used with m
fendermint/vm/interpreter/src/fvm/state/fevm.rs:217
↓ 6 callers
Function
up
(a: &str, b: &str, res: Option<SubnetID>)
ipc/api/src/subnet_id.rs:403
↓ 6 callers
Method
upper_bound
(&self)
fendermint/vm/topdown/src/cache.rs:61
↓ 6 callers
Method
with_cf_handle
Look up a column family and pass it to a closure. Return an error if it doesn't exist.
fendermint/rocksdb/src/kvstore.rs:40
↓ 5 callers
Method
add_provider
Try to add a provider to the cache. Returns `None` if the peer is not routable and nothing could be added. Returns `Some` if the peer is routable, c
ipld/resolver/src/provider_cache.rs:103
↓ 5 callers
Function
apply_both
Apply an operation on the model and the KV store, checking that the results are the same where possible.
fendermint/storage/src/testing.rs:387
↓ 5 callers
Method
arbitrary
(u: &mut Unstructured<'_>)
fendermint/testing/contract-test/tests/staking/state.rs:477
↓ 5 callers
Method
as_secs
Seconds elapsed since Unix epoch.
ipld/resolver/src/timestamp.rs:23
↓ 5 callers
Method
bottom_up_check_period
Fetch the period with which the current subnet has to submit checkpoints to its parent.
fendermint/vm/interpreter/src/fvm/state/ipc.rs:101
↓ 5 callers
Function
choose_account
( u: &mut Unstructured<'_>, state: &'a StakingState, )
fendermint/testing/contract-test/tests/staking/machine.rs:613
↓ 5 callers
Method
common_parent
Computes the common parent of the current subnet and the one given as argument. It returns the number of common children and the subnet.
ipc/api/src/subnet_id.rs:149
↓ 5 callers
Method
config_path
(&self)
ipc/cli/src/lib.rs:52
↓ 5 callers
Function
construct_and_verify
(deployers: Vec<Address>)
fendermint/actors/eam/src/lib.rs:155
↓ 5 callers
Function
construct_priv_keys
()
ipc/wallet/src/fvm/wallet.rs:253
↓ 5 callers
Method
content_mut
(&mut self)
ipld/resolver/src/service.rs:562
↓ 5 callers
Method
delete
(&self, kv: &mut impl KVWrite<S>, k: &K)
fendermint/storage/src/lib.rs:166
↓ 5 callers
Method
ensure_same_gateway
(&self, gateway: &Address)
ipc/provider/src/manager/evm/manager.rs:1022
↓ 5 callers
Method
export
Return the `KeyInfo` for a given address
ipc/wallet/src/fvm/wallet.rs:99
↓ 5 callers
Function
extract
Extract some value from the query result, unless there was an error.
fendermint/rpc/src/query.rs:147
↓ 5 callers
Method
get
(&self, k: &Cid)
fendermint/vm/interpreter/src/fvm/store/mod.rs:22
↓ 5 callers
Method
get
(&self, addr: &Self::Key)
ipc/wallet/src/evm/persistent.rs:59
↓ 5 callers
Function
hash_pair
(a: &Hash, b: &Hash)
ext/merkle-tree-rs/src/core.rs:21
↓ 5 callers
Method
into_message
Consumes self and returns it's unsigned message.
fendermint/vm/message/src/signed.rs:223
↓ 5 callers
Function
into_power_map
Convert the power list to a `HashMap` to support lookups by the public key. Unfortunately in their raw format the [`PublicKey`] does not implement `H
fendermint/vm/interpreter/src/fvm/checkpoint.rs:419
↓ 5 callers
Method
is_root
Check if this is the root subnet, ie. it ends with `root` and it parent is a `testnet`
fendermint/testing/materializer/src/lib.rs:262
↓ 5 callers
Method
join_id
(&self, id: &ResourceId)
fendermint/testing/materializer/src/lib.rs:102
↓ 5 callers
Function
layer
Create a layer that handles events by incrementing metrics.
fendermint/app/src/metrics/tracing.rs:14
← previous
next →
101–200 of 2,468, ranked by callers