Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cosmos/cosmos-rust
/ functions
Functions
1,313 in github.com/cosmos/cosmos-rust
⨍
Functions
1,313
◇
Types & classes
1,419
↓ 889 callers
Function
new
()
cosmrs/src/base/coin.rs:78
↓ 404 callers
Method
as_ref
(&self)
cosmrs/src/base/denom.rs:18
↓ 197 callers
Function
to_string
()
cosmrs/src/base/account_id.rs:165
↓ 63 callers
Method
to_string
(&self)
cosmrs/src/crypto/public_key.rs:170
↓ 30 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1.tonic.rs:707
↓ 28 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.v1.tonic.rs:1060
↓ 21 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.v1beta1.tonic.rs:1111
↓ 17 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.v1beta1.tonic.rs:1004
↓ 17 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.distribution.v1beta1.tonic.rs:881
↓ 12 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1beta1.tonic.rs:651
↓ 11 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.auth.v1beta1.tonic.rs:815
↓ 9 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.tx.v1beta1.tonic.rs:725
↓ 8 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.v1beta1.tonic.rs:592
↓ 7 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.upgrade.v1beta1.tonic.rs:511
↓ 7 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.tendermint.v1beta1.tonic.rs:652
↓ 6 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v2alpha1.tonic.rs:610
↓ 6 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.v1.tonic.rs:369
↓ 6 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.v1beta1.tonic.rs:390
↓ 6 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.authz.v1beta1.tonic.rs:381
↓ 6 callers
Function
run_git
(args: impl IntoIterator<Item = impl AsRef<OsStr>>)
proto-build/src/main.rs:155
↓ 6 callers
Method
to_bytes
Serialize this [`PublicKey`] as a byte vector.
cosmrs/src/crypto/public_key.rs:79
↓ 5 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.slashing.v1beta1.tonic.rs:378
↓ 5 callers
Method
parse_optional
Parse optional field.
cosmos-sdk-proto/src/traits.rs:31
↓ 4 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.v1beta1.tonic.rs:381
↓ 4 callers
Method
to_bytes
Serialize raw transaction as a byte vector.
cosmrs/src/tx/raw.rs:29
↓ 3 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.v1beta1.tonic.rs:318
↓ 3 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.vesting.v1beta1.tonic.rs:405
↓ 3 callers
Function
exec_docker_command
Execute a given `docker` command, returning what was written to stdout if the command completed successfully. Panics if the `docker` process exits wi
cosmrs/src/dev.rs:56
↓ 3 callers
Method
into_bytes
Encode this type using Protocol Buffers.
cosmrs/src/tx/sign_doc.rs:55
↓ 3 callers
Function
run_cmd
(cmd: impl AsRef<OsStr>, args: impl IntoIterator<Item = impl AsRef<OsStr>>)
proto-build/src/main.rs:113
↓ 2 callers
Method
account_id
Get the [`AccountId`] for this [`PublicKey`] (if applicable).
cosmrs/src/crypto/public_key.rs:38
↓ 2 callers
Method
as_ref
(&self)
cosmrs/src/base/account_id.rs:61
↓ 2 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.v1beta1.tonic.rs:316
↓ 2 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.v1.tonic.rs:257
↓ 2 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.query.v1alpha1.tonic.rs:312
↓ 2 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v1beta1.tonic.rs:332
↓ 2 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.node.v1beta1.tonic.rs:317
↓ 2 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.v1beta1.tonic.rs:314
↓ 2 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.streaming.abci.tonic.rs:344
↓ 2 callers
Function
copy_generated_files
(from_dir: &Path, to_dir: &Path)
proto-build/src/main.rs:248
↓ 2 callers
Method
finish
Return the finished [`Body`].
cosmrs/src/tx/builder.rs:58
↓ 2 callers
Function
is_github
Parse `--github` flag passed to `proto-build` on the eponymous GitHub Actions job. Disables `info`-level log messages, instead outputting only a commi
proto-build/src/main.rs:109
↓ 2 callers
Function
patch_file
(path: impl AsRef<Path>, pattern: &Regex, replacement: &str)
proto-build/src/main.rs:347
↓ 2 callers
Method
public_key
Get the [`PublicKey`] for this [`SigningKey`].
cosmrs/src/crypto/secp256k1/signing_key.rs:68
↓ 2 callers
Function
run_buf
(config: &str, proto_path: impl AsRef<Path>, out_dir: impl AsRef<Path>)
proto-build/src/main.rs:140
↓ 2 callers
Method
to_any
Convert this [`PublicKey`] to a Protobuf [`Any`] type.
cosmrs/src/crypto/public_key.rs:59
↓ 2 callers
Method
type_url
Get the type URL for this [`PublicKey`].
cosmrs/src/crypto/public_key.rs:49
↓ 1 callers
Function
apply_patches
Fix clashing type names in prost-generated code. See cosmos/cosmos-rust#154.
proto-build/src/main.rs:354
↓ 1 callers
Method
auth_info
Get the [`AuthInfo`] for this signer with the given fee. This is primarily useful for cases involving a single signer.
cosmrs/src/tx/signer_info.rs:44
↓ 1 callers
Method
broadcast_commit
(&self, client: &C)
cosmrs/src/tx/raw.rs:35
↓ 1 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.v1alpha1.tonic.rs:265
↓ 1 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.autocli.v1.tonic.rs:258
↓ 1 callers
Method
clone
(&self)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.reflection.v1.tonic.rs:278
↓ 1 callers
Method
code
( &mut self, request: impl tonic::IntoRequest<super::QueryCodeRequest>, )
cosmos-sdk-proto/src/prost/wasmd/cosmwasm.wasm.v1.tonic.rs:201
↓ 1 callers
Function
collect_protos
collect_protos walks every path in `proto_paths` and recursively locates all .proto files in each path's subdirectories, adding the full path of each
proto-build/src/main.rs:231
↓ 1 callers
Function
compile_sdk_protos_and_services
(out_dir: &Path)
proto-build/src/main.rs:199
↓ 1 callers
Function
compile_wasmd_proto_and_services
(out_dir: &Path)
proto-build/src/main.rs:212
↓ 1 callers
Function
copy_and_patch
(src: impl AsRef<Path>, dest: impl AsRef<Path>)
proto-build/src/main.rs:279
↓ 1 callers
Function
docker_run
Invoke `docker run` with the given arguments, calling the provided function after the container has booted and terminating the container after the pro
cosmrs/src/dev.rs:28
↓ 1 callers
Function
init_tokio_runtime
Initialize Tokio runtime
cosmrs/tests/integration.rs:103
↓ 1 callers
Method
into_any
Convert this message proto into [`Any`].
cosmrs/src/tx/msg.rs:31
↓ 1 callers
Method
into_proto
Convert to a Protocol Buffers representation.
cosmrs/src/tx/auth_info.rs:30
↓ 1 callers
Method
into_proto
Convert to a Protocol Buffers representation.
cosmrs/src/tx/sign_doc.rs:50
↓ 1 callers
Method
into_proto
Convert the body to a Protocol Buffers representation.
cosmrs/src/tx/body.rs:62
↓ 1 callers
Function
is_quiet
()
proto-build/src/main.rs:99
↓ 1 callers
Method
memo
Set the transaction memo.
cosmrs/src/tx/builder.rs:34
↓ 1 callers
Method
msg
Add a message to the transaction.
cosmrs/src/tx/builder.rs:22
↓ 1 callers
Function
output_sdk_version
(out_dir: &Path)
proto-build/src/main.rs:189
↓ 1 callers
Function
output_wasmd_version
(out_dir: &Path)
proto-build/src/main.rs:194
↓ 1 callers
Function
poll_for_first_block
Wait for the node to produce the first block. This should be used at the beginning of the test lifecycle to ensure the node is fully booted.
cosmrs/src/dev.rs:82
↓ 1 callers
Function
poll_for_tx
Wait for a transaction with the given hash to appear in the blockchain
cosmrs/src/dev.rs:105
↓ 1 callers
Function
run_rustfmt
(dir: &Path)
proto-build/src/main.rs:159
↓ 1 callers
Function
set_quiet
()
proto-build/src/main.rs:103
↓ 1 callers
Method
sign
Sign this [`SignDoc`], producing a [`Raw`] transaction.
cosmrs/src/tx/sign_doc.rs:60
↓ 1 callers
Method
status
( &mut self, request: impl tonic::IntoRequest<super::StatusRequest>, )
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.node.v1beta1.tonic.rs:111
↓ 1 callers
Method
to_bytes
Decode an account ID from Bech32 to an inner byte value.
cosmrs/src/base/account_id.rs:53
↓ 1 callers
Method
to_json
Serialize public key as Cosmos JSON.
cosmrs/src/crypto/public_key.rs:33
↓ 1 callers
Function
update_submodules
()
proto-build/src/main.rs:177
Method
abci_query
( &mut self, request: impl tonic::IntoRequest<super::AbciQueryRequest>, )
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.tendermint.v1beta1.tonic.rs:212
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/wasmd/cosmwasm.wasm.v1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.bank.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.crisis.v1beta1.tonic.rs:71
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.gov.v1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.consensus.v1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.app.v1alpha1.tonic.rs:76
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v2alpha1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.autocli.v1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.orm.query.v1alpha1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.evidence.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.circuit.v1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.feegrant.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.reflection.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.base.node.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.nft.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.mint.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.params.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.staking.v1beta1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.group.v1.tonic.rs:74
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.store.streaming.abci.tonic.rs:76
Method
accept_compressed
(mut self, encoding: CompressionEncoding)
cosmos-sdk-proto/src/prost/cosmos-sdk/cosmos.reflection.v1.tonic.rs:77
next →
1–100 of 1,313, ranked by callers