Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crypto-com/defi-wallet-core-rs
/ functions
Functions
824 in github.com/crypto-com/defi-wallet-core-rs
⨍
Functions
824
◇
Types & classes
307
↓ 3 callers
Method
get_approved
Get the approved address for a single NFT by `token_id`
bindings/cpp/src/contract.rs:362
↓ 3 callers
Method
get_bech32_hrp
get the bech32 human-readable prefix
common/src/transaction/cosmos_sdk.rs:83
↓ 3 callers
Function
get_eth_balance
Returns the corresponding account's native token balance formatted in _ETH decimals_ (e.g. "1.50000...") wrapped as string
bindings/cpp/src/lib.rs:1302
↓ 3 callers
Method
get_eth_network
return ethereum like chain network
common/src/wallet.rs:85
↓ 3 callers
Function
logPrivateKeyInternal
(privateKey)
example/js-example/index.js:60
↓ 3 callers
Function
new_eth_contract
( rpcserver: String, contract_address: String, abi_json: String, )
bindings/cpp/src/ethereum.rs:89
↓ 3 callers
Function
new_eth_tx_info
create cronos tx info to sign
bindings/cpp/src/lib.rs:1389
↓ 3 callers
Method
owner
( &mut self, denom_id: String, owner: String, pagination: Option<PageRequest>,
bindings/wasm/src/cosmos_sdk.rs:412
↓ 3 callers
Method
owner
Owner queries the NFTs of the specified owner
common/src/node/nft.rs:80
↓ 3 callers
Method
query_account_balance
(&self, address: String, denom: String)
bindings/wasm/src/cosmos_sdk.rs:30
↓ 3 callers
Function
query_account_details_info
query account details info from cosmos address
bindings/cpp/src/lib.rs:1140
↓ 3 callers
Function
query_account_eth_balance
( web3_api_url: String, address: String, )
bindings/wasm/src/ethereum.rs:299
↓ 3 callers
Method
sign_direct
Sign the protobuf bytes directly.
common/src/transaction/cosmos_sdk/signer.rs:23
↓ 3 callers
Method
sign_typed_data
Sign an EIP-712 typed data from a JSON string of specified schema as below. The field `domain`, `message`, `primaryType` and `types` are all mandatory
common/src/transaction/ethereum/signer.rs:90
↓ 3 callers
Method
supply
(&mut self, denom_id: String, owner: String)
bindings/wasm/src/cosmos_sdk.rs:407
↓ 3 callers
Method
supply
Supply queries the total supply of a given denom or owner
common/src/node/nft.rs:52
↓ 3 callers
Method
to_eth_amount
(self)
bindings/wasm/src/ethereum.rs:170
↓ 3 callers
Method
to_hex
converts private key to a hex string without the 0x prefix
common/src/wallet.rs:315
↓ 3 callers
Method
transfer
Moves `amount` tokens from the caller’s account to `to_address`.
bindings/cpp/src/contract.rs:67
↓ 2 callers
Method
__init__
(self, base_dir, cmd)
integration_tests/network.py:17
↓ 2 callers
Function
add_delegate_msg
(tx: &mut CosmosTx)
bindings/wasm/tests/distribution.rs:102
↓ 2 callers
Method
add_issue_msg
(&mut self, denom: &Denom)
bindings/wasm/tests/nft.rs:110
↓ 2 callers
Function
add_withdraw_reward_msg
(tx: &mut CosmosTx)
bindings/wasm/tests/distribution.rs:116
↓ 2 callers
Method
base_port
(self, i)
integration_tests/network.py:22
↓ 2 callers
Function
broadcast_contract_approval_tx
given the contract approval details, it'll construct, sign and broadcast a corresponding approval transaction. If successful, it returns the transacti
common/src/node/ethereum/utils.rs:590
↓ 2 callers
Function
broadcast_contract_approval_tx_common
( approval_details: ContractApproval, network: EthNetwork, secret_key: Option<Arc<SecretKey>>,
common/src/node/ethereum/utils.rs:492
↓ 2 callers
Function
broadcast_contract_batch_transfer_tx
given the contract batch-transfer details, it'll construct, sign and broadcast a corresponding transfer transaction. If successful, it returns the tra
common/src/node/ethereum/utils.rs:902
↓ 2 callers
Function
broadcast_contract_batch_transfer_tx_common
( details: ContractBatchTransfer, network: EthNetwork, secret_key: Option<Arc<SecretKey>>, web
common/src/node/ethereum/utils.rs:839
↓ 2 callers
Function
broadcast_contract_transfer_tx
given the contract transfer details, it'll construct, sign and broadcast a corresponding transfer transaction. If successful, it returns the transacti
common/src/node/ethereum/utils.rs:807
↓ 2 callers
Function
broadcast_contract_transfer_tx_common
( transfer_details: ContractTransfer, network: EthNetwork, secret_key: Option<Arc<SecretKey>>,
common/src/node/ethereum/utils.rs:622
↓ 2 callers
Function
broadcast_sign_eth_tx
given the plain transfer details, it'll construct, sign and broadcast a corresponding transaction. If successful, it returns the transaction receipt.
common/src/node/ethereum/utils.rs:936
↓ 2 callers
Function
broadcast_tx_blocking
( tendermint_rpc_url: &str, raw_signed_tx: Vec<u8>, mode: TxBroadcastMode, )
common/src/node/cosmos_sdk.rs:262
↓ 2 callers
Method
build_staking_delegate_msg
construct StakingDelegate message
bindings/wasm/src/cosmos_sdk.rs:200
↓ 2 callers
Function
build_txinfo
example/cpp-example/chainmain.cc:15
↓ 2 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:249
↓ 2 callers
Method
collection
Collection queries the NFTs of the specified denom
common/src/node/nft.rs:126
↓ 2 callers
Function
convert_amount
( amount: &str, amount_unit: ffi::EthAmount, )
bindings/cpp/src/lib.rs:1217
↓ 2 callers
Function
copy_cxxbridge
(output_path)
example/cpp-example/helper.py:58
↓ 2 callers
Function
copy_lib_files
(output_path)
example/cpp-example/helper.py:90
↓ 2 callers
Function
copy_sources_files
(output_path)
example/cpp-example/helper.py:114
↓ 2 callers
Method
denoms
Denoms queries all the denoms
common/src/node/nft.rs:224
↓ 2 callers
Method
encode
Encode the typed data.
common/src/node/ethereum/eip712.rs:138
↓ 2 callers
Method
eth_sign_by_hash
eth sign hash hex string without the 0x prefix
common/src/wallet.rs:290
↓ 2 callers
Method
eth_sign_insecure
Sign a hash value directly. Argument `hash` must be a hex value of 32 bytes (H256). Return a signature of hex string with prefix `0x`. The security co
common/src/transaction/ethereum/signer.rs:33
↓ 2 callers
Function
eth_sign_transaction
Parse the json data that meets the walletconnect standard and build raw transaction Use the chainid specified in json, if not set, use the default cha
common/src/transaction/ethereum.rs:351
↓ 2 callers
Method
from
(coin: Coin)
common/src/transaction/cosmos_sdk.rs:240
↓ 2 callers
Function
from_parse_tree
( parse_tree: &mut Pairs<Rule>, )
common/src/node/ethereum/abi.rs:76
↓ 2 callers
Function
getContext
bindings/cpp/src/android.cc:24
↓ 2 callers
Function
getSecureStorageClass
bindings/cpp/src/android.cc:19
↓ 2 callers
Function
get_account_balance_blocking
( grpc_url: &str, address: &str, denom: &str, )
common/src/node/cosmos_sdk/balance_query.rs:48
↓ 2 callers
Function
get_accounts_url
(api_url: &str, address: &str)
common/src/node/cosmos_sdk.rs:89
↓ 2 callers
Method
get_coin_type
return the HD coin type
common/src/wallet.rs:77
↓ 2 callers
Method
get_default_address
(&self, coin: CoinType)
bindings/wasm/src/lib.rs:216
↓ 2 callers
Method
get_default_address
returns the default address of the wallet
bindings/cpp/src/lib.rs:874
↓ 2 callers
Function
get_eth_transaction_receipt_by_vec
( tx_hash: Vec<u8>, web3api_url: String, )
common/src/node/ethereum/utils.rs:352
↓ 2 callers
Function
get_is_approved_for_all_blocking
( contract_address: &str, owner: &str, operator: &str, web3api_url: &str, )
common/src/node/ethereum/erc721.rs:152
↓ 2 callers
Method
get_key
return the secret key for a given derivation path
bindings/cpp/src/lib.rs:889
↓ 2 callers
Function
get_logininfo
(mwallet: Option<&SecretKey>)
common/src/login.rs:56
↓ 2 callers
Method
get_msg_count
(&self)
bindings/wasm/src/cosmos_sdk.rs:301
↓ 2 callers
Function
get_msg_sign_payload
creates the transaction signing payload (`SignDoc`) with some Cosmos SDK messages
common/src/transaction/cosmos_sdk.rs:708
↓ 2 callers
Function
get_msg_signdoc
( tx_info: CosmosSDKTxInfo, msgs: Vec<CosmosSDKMsg>, sender_public_key: crypto::PublicKey, )
common/src/transaction/cosmos_sdk.rs:638
↓ 2 callers
Function
get_name_blocking
(contract_address: &str, web3api_url: &str)
common/src/node/ethereum/erc20.rs:49
↓ 2 callers
Function
get_signed_msg_tx
( tx_info: CosmosSDKTxInfo, msgs: Vec<CosmosSDKMsg>, sender_private_key: SigningKey, )
common/src/transaction/cosmos_sdk.rs:665
↓ 2 callers
Method
get_struct
Get struct type by name.
common/src/node/ethereum/eip712.rs:262
↓ 2 callers
Function
get_symbol_blocking
(contract_address: &str, web3api_url: &str)
common/src/node/ethereum/erc20.rs:55
↓ 2 callers
Function
get_token_owner
given the contract information, it returns the owner address
common/src/node/ethereum/erc721.rs:7
↓ 2 callers
Function
get_total_supply_blocking
( contract_address: &str, web3api_url: &str, )
common/src/node/ethereum/erc20.rs:78
↓ 2 callers
Function
has_include_string
(s)
example/cpp-example/helper.py:63
↓ 2 callers
Function
hex_to_bytes
Convert hex string to byte array, hex string without the 0x prefix
common/src/wallet.rs:345
↓ 2 callers
Function
maybe_array
(inner_iter: &mut Pairs<Rule>)
common/src/node/ethereum/abi.rs:62
↓ 2 callers
Function
new_signing_eth_contract
( rpcserver: String, contract_address: String, abi_json: String, private_key: &PrivateKey,
bindings/cpp/src/ethereum.rs:103
↓ 2 callers
Function
new_wallet
generates the HD wallet with a BIP39 backup phrase (English words) and password
bindings/cpp/src/lib.rs:762
↓ 2 callers
Method
node_rpc
(self, i)
integration_tests/network.py:25
↓ 2 callers
Function
query_chainmain_account
(address: &str)
bindings/wasm/tests/test_helper.rs:99
↓ 2 callers
Function
query_cronos_balance
(address: &str)
bindings/wasm/tests/test_helper.rs:123
↓ 2 callers
Function
read_json
(filepath: String, keyname: String)
bindings/cpp/src/ethereum.rs:125
↓ 2 callers
Method
send
(self, tx)
integration_tests/utils.py:73
↓ 2 callers
Function
send_delegate_msg
(address: &str, mnemonic: &str, amount: u64)
bindings/wasm/tests/staking.rs:69
↓ 2 callers
Function
setup_pystarport
(path, base_port, config)
integration_tests/network.py:87
↓ 2 callers
Function
test_denom2
()
bindings/wasm/tests/nft.rs:174
↓ 2 callers
Function
test_wallet_generatemnemonics
example/cpp-example/wallet.cc:22
↓ 2 callers
Function
test_wallet_new
example/cpp-example/wallet.cc:30
↓ 2 callers
Function
test_wallet_restore
example/cpp-example/wallet.cc:14
↓ 2 callers
Method
to_legacy_tx
Convert to legacy Transaction Request
common/src/transaction/ethereum.rs:319
↓ 2 callers
Method
to_type_tx
Convert to TypedTransaction
common/src/transaction/ethereum.rs:338
↓ 2 callers
Method
token_uri
Get the distinct Uniform Resource Identifier (URI) for a given asset
bindings/cpp/src/contract.rs:208
↓ 2 callers
Function
wait_for_port
(port, host="127.0.0.1", timeout=40.0)
integration_tests/network.py:106
↓ 1 callers
Method
add_burn_msg
(&mut self, id: &str, denom_id: &str)
bindings/wasm/tests/nft.rs:93
↓ 1 callers
Method
add_edit_msg
(&mut self, id: &str, denom_id: &str, name: &str, uri: &str, data: &str)
bindings/wasm/tests/nft.rs:100
↓ 1 callers
Method
add_mint_msg
( &mut self, id: &str, denom_id: &str, name: &str, uri: &str,
bindings/wasm/tests/nft.rs:118
↓ 1 callers
Function
add_set_withdraw_address_msg
(tx: &mut CosmosTx)
bindings/wasm/tests/distribution.rs:110
↓ 1 callers
Method
add_transfer_msg
(&mut self, id: &str, denom_id: &str, recipient: &str)
bindings/wasm/tests/nft.rs:137
↓ 1 callers
Method
balance_of_batch
Batched version of balance_of. Get the balance of multiple account/token pairs
bindings/cpp/src/contract.rs:446
↓ 1 callers
Function
broadcast_contract_batch_transfer_tx_blocking
( batch_transfer_details: ContractBatchTransfer, network: EthNetwork, secret_key: Arc<SecretKey>,
common/src/node/ethereum/utils.rs:1104
↓ 1 callers
Function
broadcast_eth_signed_raw_tx
( raw_tx: Vec<u8>, web3api_url: String, polling_interval_ms: u64, )
bindings/wasm/src/ethereum.rs:260
↓ 1 callers
Function
broadcast_eth_signed_raw_tx
broadcast a previously signed ethereum tx async If successful, it returns the transaction receipt
common/src/node/ethereum/utils.rs:971
↓ 1 callers
Function
broadcast_eth_signed_raw_tx_blocking
( raw_tx: Vec<u8>, web3api_url: &str, polling_interval_ms: u64, )
common/src/node/ethereum/utils.rs:1126
↓ 1 callers
Function
broadcast_transfer_eth
( web3_api_url: String, to_address_hex: String, amount: EthTxAmount, chain_id: u64, pollin
bindings/wasm/src/ethereum.rs:352
↓ 1 callers
Function
broadcast_tx_sync
broadcast the tx (async for JS/WASM)
common/src/node/cosmos_sdk.rs:213
↓ 1 callers
Function
broadcast_tx_sync_blocking
( tendermint_rpc_url: &str, raw_signed_tx: Vec<u8>, )
common/src/node/cosmos_sdk.rs:318
← previous
next →
101–200 of 824, ranked by callers