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
↓ 3 callers
Function
saveDeployments
( env: string, deploymentData: { [key in string]: string }, branch?: string, )
contracts/hardhat.config.ts:15
↓ 3 callers
Function
send_resolve_result
Respond to the sender of the query, if they are still listening.
ipld/resolver/src/service.rs:568
↓ 3 callers
Method
serialize
Convenience method to serialize a [`ChainMessage`] for inclusion in a Tendermint transaction.
fendermint/rpc/src/message.rs:156
↓ 3 callers
Method
set_finalized
Call when a new finalized block is added to the ledger, to clear out all preceding blocks. After this operation the minimum item in the chain will th
fendermint/vm/topdown/src/voting.rs:291
↓ 3 callers
Function
settings
Try to parse the settings in the configuration directory.
fendermint/app/src/cmd/mod.rs:77
↓ 3 callers
Method
sign
(&self, ctx: &ValidatorContext<C>)
fendermint/vm/interpreter/src/fvm/extend.rs:48
↓ 3 callers
Method
state_params_at_height
Look up a past state at a particular height Tendermint Core is looking for. A height of zero means we are looking for the latest state. The genesis b
fendermint/app/src/app.rs:370
↓ 3 callers
Function
subnet_id_to_eth
Decompose a subnet ID into a root ID and a route of Ethereum addresses
fendermint/vm/actor_interface/src/ipc.rs:261
↓ 3 callers
Function
subnet_id_to_evm_addresses
Convert the ipc SubnetID type to a vec of evm addresses. It extracts all the children addresses in the subnet id and turns them as a vec of evm addres
ipc/api/src/evm.rs:237
↓ 3 callers
Method
subscribe
(&mut self, topic: &Sha256Topic)
ipld/resolver/src/behaviour/membership.rs:195
↓ 3 callers
Function
take_until_max_size
Take the first transactions until the first one that would exceed the maximum limit. The function does not skip or reorder transaction even if a late
fendermint/abci/src/util.rs:7
↓ 3 callers
Function
test_hardhat
()
fendermint/eth/hardhat/src/lib.rs:285
↓ 3 callers
Function
to_app_hash
Produce an appliction hash that is a commitment to all data replicated by consensus, that is, all nodes participating in the network must agree on thi
fendermint/app/src/tmconv.rs:436
↓ 3 callers
Function
to_code
(exit_code: ExitCode)
fendermint/app/src/tmconv.rs:331
↓ 3 callers
Function
to_error_msg
(exit_code: ExitCode)
fendermint/app/src/tmconv.rs:339
↓ 3 callers
Function
to_eth_block_zero
Artificial block-zero.
fendermint/eth/api/src/conv/from_tm.rs:419
↓ 3 callers
Function
to_exec_tx_result
( ret: FvmApplyRet, domain_hash: Option<DomainHash>, block_hash: Option<BlockHash>, )
fendermint/app/src/tmconv.rs:68
↓ 3 callers
Function
to_fvm_message
(tx: TypedTransaction, accept_legacy: bool)
fendermint/eth/api/src/conv/from_eth.rs:14
↓ 3 callers
Function
to_fvm_message
https://github.com/filecoin-project/lotus/blob/594c52b96537a8c8728389b446482a2d7ea5617c/chain/types/ethtypes/eth_transactions.go#L152
fendermint/vm/message/src/conv/from_eth.rs:20
↓ 3 callers
Function
to_json_vec
(records: &[R])
fendermint/eth/api/src/filters.rs:347
↓ 3 callers
Function
to_logs
Turn Events into Ethereum logs. We need to turn Actor IDs into Ethereum addresses because that's what the tooling expects.
fendermint/eth/api/src/conv/from_tm.rs:440
↓ 3 callers
Method
to_queries
Convert an Ethereum filter to potentially multiple Tendermint queries. One limitation with Tendermint is that it only handles AND condition in filter
fendermint/eth/api/src/filters.rs:94
↓ 3 callers
Method
update_params
Update the parameters and mark them as dirty.
fendermint/vm/interpreter/src/fvm/state/exec.rs:310
↓ 3 callers
Function
upgradeFacet
( facet, onChainFacets, gatewayDiamondAddress, updatedFacets, onChainFacetBytecodes, d
contracts/scripts/util.ts:415
↓ 3 callers
Method
validate_value
(&self, index: usize)
ext/merkle-tree-rs/src/standard.rs:276
↓ 3 callers
Method
values_from
(&self, start: K)
fendermint/vm/topdown/src/cache.rs:91
↓ 3 callers
Method
voting_topic
Construct the topic used to gossip about votes. Replaces "/" with "_" to avoid clashes from prefix/suffix overlap.
ipld/resolver/src/behaviour/membership.rs:236
↓ 3 callers
Function
with_env_vars
Set some env vars, run a fallible piece of code, then unset the variables otherwise they would affect the next test.
fendermint/app/settings/src/utils.rs:150
↓ 3 callers
Method
with_revert
Do not make the changes in the call persistent. They should be run on top of transactions added to the mempool, but they can run independent of each o
fendermint/vm/interpreter/src/fvm/state/query.rs:91
↓ 3 callers
Function
workspace_dir
()
fendermint/vm/interpreter/src/fvm/bundle.rs:7
↓ 3 callers
Method
write_car
Write the snapshot to car file. The root cid points to the metadata, i.e `SnapshotMetadata` struct. From the snapshot metadata one can query the vers
fendermint/vm/interpreter/src/fvm/state/snapshot.rs:102
↓ 2 callers
Method
account
Get an account. Panics if it doesn't exist.
fendermint/testing/contract-test/tests/staking/state.rs:361
↓ 2 callers
Method
account_map
Resolve account IDs in a map to account references.
fendermint/testing/materializer/src/testnet.rs:208
↓ 2 callers
Method
add
Try to add a certain amount of resources consumed to a key. Return `true` if the key was within limits, `false` if it needs to wait. The [`RateLimit
ipld/resolver/src/limiter.rs:32
↓ 2 callers
Method
add_address
Add a known address to Kademlia.
ipld/resolver/src/behaviour/discovery.rs:216
↓ 2 callers
Method
add_identified
Add addresses we learned from the `Identify` protocol to Kademlia. This seems to be the only way, because Kademlia rightfully treats incoming connect
ipld/resolver/src/behaviour/discovery.rs:197
↓ 2 callers
Method
add_reference
( &self, sn: &SubnetName, reference: &Option<ResourceHash>, )
fendermint/testing/materializer/src/docker/mod.rs:576
↓ 2 callers
Method
add_signed_and_hashed_tag
( &mut self, rt: &impl Runtime, tag: Tag, signature: &BlsSignature, )
fendermint/actors/cetf/src/state.rs:161
↓ 2 callers
Function
app_hash_to_root
(app_hash: &tendermint::AppHash)
fendermint/eth/api/src/conv/from_tm.rs:391
↓ 2 callers
Method
artifact
Parse the Hardhat artifact of a contract.
fendermint/eth/hardhat/src/lib.rs:160
↓ 2 callers
Method
atomically
(&self, f: F)
fendermint/vm/topdown/tests/smt_voting.rs:182
↓ 2 callers
Method
atomically_or_err
(&self, f: F)
fendermint/vm/topdown/tests/smt_voting.rs:175
↓ 2 callers
Function
b64_to_public
(b64: &str)
fendermint/app/src/cmd/key.rs:157
↓ 2 callers
Method
begin
(&self, state: Self::State)
fendermint/vm/interpreter/src/bytes.rs:206
↓ 2 callers
Function
blake2b_256
Generates BLAKE2b hash of fixed 32 bytes size.
ipc/wallet/src/fvm/wallet_helpers.rs:18
↓ 2 callers
Method
block_hash
Identity of the block being executed, if we are indeed executing any blocks.
fendermint/vm/interpreter/src/fvm/state/exec.rs:217
↓ 2 callers
Method
block_hash
Get the hash of a block at the given height, if known.
fendermint/vm/topdown/src/voting.rs:138
↓ 2 callers
Function
build_jsonrpc_request
A convenience function to build a JSON-RPC request.
ipc/provider/src/jsonrpc/mod.rs:181
↓ 2 callers
Function
bundle_file
()
fendermint/vm/snapshot/src/car/streamer.rs:98
↓ 2 callers
Method
call_with_return
Call an EVM method implicitly to read its raw return value. Returns an error if the return code shows is not successful; intended to be used with met
fendermint/vm/interpreter/src/fvm/state/fevm.rs:186
↓ 2 callers
Method
can_checkpoint
Check if checkpoints can be sent to the system.
fendermint/testing/contract-test/tests/staking/state.rs:252
↓ 2 callers
Method
can_deploy
(&self, rt: &impl Runtime, deployer: ActorID)
fendermint/actors/eam/src/state.rs:56
↓ 2 callers
Method
can_extend
(&self)
fendermint/vm/topdown/tests/smt_voting.rs:103
↓ 2 callers
Function
cetf_tag_msg_to_fvm
(tag_msg: &(u64, BlsSignature))
fendermint/vm/interpreter/src/chain.rs:614
↓ 2 callers
Method
chain_head_height
(&self)
ipc/provider/src/manager/evm/manager.rs:116
↓ 2 callers
Function
check_bounds
(values: &[T], index: usize)
ext/merkle-tree-rs/src/standard.rs:79
↓ 2 callers
Function
check_leaf_node
(tree: &[Hash], i: usize)
ext/merkle-tree-rs/src/core.rs:81
↓ 2 callers
Function
check_providers
Check the cache against the reference built in the test.
ipld/resolver/src/provider_cache.rs:293
↓ 2 callers
Function
check_request
( request: &RequestObject, )
fendermint/eth/api/src/handlers/http.rs:87
↓ 2 callers
Function
check_test_data
(agent: &mut Agent, cid: &Cid)
ipld/resolver/tests/smoke.rs:402
↓ 2 callers
Method
checkpoint
Apply the changes up to the `next_configuration_number`.
fendermint/testing/contract-test/tests/staking/state.rs:276
↓ 2 callers
Method
checkpoint_bundle_at
( &self, height: ChainEpoch, )
ipc/provider/src/manager/evm/manager.rs:1167
↓ 2 callers
Method
cli
(&self, id: &str)
fendermint/testing/materializer/src/lib.rs:257
↓ 2 callers
Method
cmp
(&self, other: &Self)
fendermint/testing/materializer/src/materials/defaults.rs:85
↓ 2 callers
Method
code_by_name
(&self, str: &str)
fendermint/actors/src/manifest.rs:58
↓ 2 callers
Function
coin_contract
Create an instance of the statically typed contract client.
fendermint/rpc/examples/simplecoin.rs:321
↓ 2 callers
Method
collateral
Collateral of a validator.
fendermint/testing/contract-test/tests/staking/state.rs:78
↓ 2 callers
Function
collect_seeds
Collect comma separated values from seeds nodes.
fendermint/testing/materializer/src/docker/node.rs:603
↓ 2 callers
Method
cometbft_http_provider
(&self)
fendermint/testing/materializer/src/lib.rs:361
↓ 2 callers
Method
commit
Commit the current state at the current height.
fendermint/app/src/app.rs:1061
↓ 2 callers
Method
commit
(&mut self)
fendermint/testing/contract-test/src/lib.rs:225
↓ 2 callers
Function
compaction_style_from_str
Converts string to a compaction style `RocksDB` variant.
fendermint/rocksdb/src/rocks/config.rs:96
↓ 2 callers
Function
compression_type_from_str
Converts string to a compression type `RocksDB` variant.
fendermint/rocksdb/src/rocks/config.rs:107
↓ 2 callers
Function
compute_gas_overestimation_burn
(gas_used: u64, gas_limit: u64)
fendermint/eth/api/src/gas/output.rs:62
↓ 2 callers
Method
confirmed_collateral
Get the confirmed collateral of a validator.
fendermint/testing/contract-test/src/ipc/subnet.rs:145
↓ 2 callers
Method
constructor
Creates the actor. If the `whitelisted_deployers` is empty, that means there is no restriction for deployment, i.e any address can deploy.
fendermint/actors/eam/src/lib.rs:39
↓ 2 callers
Function
convert_tokenizables
( tokenizables: Vec<Source>, )
fendermint/vm/interpreter/src/fvm/checkpoint.rs:293
↓ 2 callers
Method
create_account_actor
( &mut self, acct: Account, balance: TokenAmount, ids: &init::AddressMap,
fendermint/vm/interpreter/src/fvm/state/genesis.rs:318
↓ 2 callers
Method
create_and_start_nodes
Configure and start the nodes of a subnet. Fails if the genesis of this subnet hasn't been created yet.
fendermint/testing/materializer/src/testnet.rs:248
↓ 2 callers
Method
create_custom_actor
( &mut self, name: &str, id: ActorID, state: &impl Serialize, balance:
fendermint/vm/interpreter/src/fvm/state/genesis.rs:265
↓ 2 callers
Method
create_evm_actor
Deploy an EVM contract. Returns the hashed Ethereum address we can use to invoke the contract.
fendermint/vm/interpreter/src/fvm/state/genesis.rs:411
↓ 2 callers
Method
create_root_subnet
( &mut self, subnet_name: &SubnetName, params: Either<ChainID, &M::Genesis>, )
fendermint/testing/materializer/src/logging.rs:105
↓ 2 callers
Function
current_network
The current address network needs to be set on the containers to match the addresses we created.
fendermint/testing/materializer/src/docker/mod.rs:1038
↓ 2 callers
Method
current_power_table
Get the current power table, which is the same as the membership but parsed into domain types.
fendermint/vm/interpreter/src/fvm/state/ipc.rs:163
↓ 2 callers
Method
debit
Decrease the current balance.
fendermint/testing/contract-test/tests/staking/state.rs:391
↓ 2 callers
Method
default_deployment
(&mut self, subnet_name: &SubnetName)
fendermint/testing/materializer/src/logging.rs:89
↓ 2 callers
Function
delorean_contract
Create an instance of the statically typed contract client.
fendermint/testing/delorean-cli/src/main.rs:514
↓ 2 callers
Method
dependencies
Traverse the linked references and return the library contracts to be deployed in topological order. The result will include the top contracts as wel
fendermint/eth/hardhat/src/lib.rs:104
↓ 2 callers
Method
deploy_contract
Construct the bytecode of a top-level contract and deploy it with some constructor parameters.
fendermint/vm/interpreter/src/fvm/genesis.rs:453
↓ 2 callers
Function
deserialization_error
(what: &str, e: serde_json::Error)
fendermint/eth/api/src/handlers/ws.rs:106
↓ 2 callers
Method
discovery_mut
(&mut self)
ipld/resolver/src/service.rs:556
↓ 2 callers
Method
dump
(&self)
ext/merkle-tree-rs/src/standard.rs:155
↓ 2 callers
Function
effective_gas_premium
https://github.com/filecoin-project/lotus/blob/9e4f1a4d23ad72ab191754d4f432e4dc754fce1b/chain/types/message.go#L227
fendermint/eth/api/src/gas/mod.rs:32
↓ 2 callers
Function
empty_state_tree
Create an empty state tree.
fendermint/vm/interpreter/src/fvm/state/genesis.rs:44
↓ 2 callers
Function
enrich_block
( client: &FendermintClient<C>, block: &tendermint::Block, )
fendermint/eth/api/src/state.rs:629
↓ 2 callers
Method
enrich_block
Fetch transaction results to produce the full block.
fendermint/eth/api/src/state.rs:317
↓ 2 callers
Function
ensure_has_randomness
Once we run out of randomness, most of the arbitrary data generated by it will be zeroes, which is is not very realistic. Calling this method can high
fendermint/testing/src/smt.rs:85
↓ 2 callers
Function
ensure_sequential
(msgs: &[T], f: F)
fendermint/vm/topdown/src/finality/mod.rs:17
↓ 2 callers
Method
ensure_subnet_exists
Check that the subnet has been created already.
fendermint/testing/materializer/src/validation.rs:112
↓ 2 callers
Method
execute_message
(&mut self, msg: Message, kind: ApplyKind)
fendermint/vm/interpreter/src/fvm/state/exec.rs:187
← previous
next →
401–500 of 2,468, ranked by callers