MCPcopy Create free account

hub / github.com/crypto-com/defi-wallet-core-rs / functions

Functions824 in github.com/crypto-com/defi-wallet-core-rs

↓ 3 callersMethodget_approved
Get the approved address for a single NFT by `token_id`
bindings/cpp/src/contract.rs:362
↓ 3 callersMethodget_bech32_hrp
get the bech32 human-readable prefix
common/src/transaction/cosmos_sdk.rs:83
↓ 3 callersFunctionget_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 callersMethodget_eth_network
return ethereum like chain network
common/src/wallet.rs:85
↓ 3 callersFunctionlogPrivateKeyInternal
(privateKey)
example/js-example/index.js:60
↓ 3 callersFunctionnew_eth_contract
( rpcserver: String, contract_address: String, abi_json: String, )
bindings/cpp/src/ethereum.rs:89
↓ 3 callersFunctionnew_eth_tx_info
create cronos tx info to sign
bindings/cpp/src/lib.rs:1389
↓ 3 callersMethodowner
( &mut self, denom_id: String, owner: String, pagination: Option<PageRequest>,
bindings/wasm/src/cosmos_sdk.rs:412
↓ 3 callersMethodowner
Owner queries the NFTs of the specified owner
common/src/node/nft.rs:80
↓ 3 callersMethodquery_account_balance
(&self, address: String, denom: String)
bindings/wasm/src/cosmos_sdk.rs:30
↓ 3 callersFunctionquery_account_details_info
query account details info from cosmos address
bindings/cpp/src/lib.rs:1140
↓ 3 callersFunctionquery_account_eth_balance
( web3_api_url: String, address: String, )
bindings/wasm/src/ethereum.rs:299
↓ 3 callersMethodsign_direct
Sign the protobuf bytes directly.
common/src/transaction/cosmos_sdk/signer.rs:23
↓ 3 callersMethodsign_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 callersMethodsupply
(&mut self, denom_id: String, owner: String)
bindings/wasm/src/cosmos_sdk.rs:407
↓ 3 callersMethodsupply
Supply queries the total supply of a given denom or owner
common/src/node/nft.rs:52
↓ 3 callersMethodto_eth_amount
(self)
bindings/wasm/src/ethereum.rs:170
↓ 3 callersMethodto_hex
converts private key to a hex string without the 0x prefix
common/src/wallet.rs:315
↓ 3 callersMethodtransfer
Moves `amount` tokens from the caller’s account to `to_address`.
bindings/cpp/src/contract.rs:67
↓ 2 callersMethod__init__
(self, base_dir, cmd)
integration_tests/network.py:17
↓ 2 callersFunctionadd_delegate_msg
(tx: &mut CosmosTx)
bindings/wasm/tests/distribution.rs:102
↓ 2 callersMethodadd_issue_msg
(&mut self, denom: &Denom)
bindings/wasm/tests/nft.rs:110
↓ 2 callersFunctionadd_withdraw_reward_msg
(tx: &mut CosmosTx)
bindings/wasm/tests/distribution.rs:116
↓ 2 callersMethodbase_port
(self, i)
integration_tests/network.py:22
↓ 2 callersFunctionbroadcast_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 callersFunctionbroadcast_contract_approval_tx_common
( approval_details: ContractApproval, network: EthNetwork, secret_key: Option<Arc<SecretKey>>,
common/src/node/ethereum/utils.rs:492
↓ 2 callersFunctionbroadcast_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 callersFunctionbroadcast_contract_batch_transfer_tx_common
( details: ContractBatchTransfer, network: EthNetwork, secret_key: Option<Arc<SecretKey>>, web
common/src/node/ethereum/utils.rs:839
↓ 2 callersFunctionbroadcast_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 callersFunctionbroadcast_contract_transfer_tx_common
( transfer_details: ContractTransfer, network: EthNetwork, secret_key: Option<Arc<SecretKey>>,
common/src/node/ethereum/utils.rs:622
↓ 2 callersFunctionbroadcast_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 callersFunctionbroadcast_tx_blocking
( tendermint_rpc_url: &str, raw_signed_tx: Vec<u8>, mode: TxBroadcastMode, )
common/src/node/cosmos_sdk.rs:262
↓ 2 callersMethodbuild_staking_delegate_msg
construct StakingDelegate message
bindings/wasm/src/cosmos_sdk.rs:200
↓ 2 callersFunctionbuild_txinfo
example/cpp-example/chainmain.cc:15
↓ 2 callersFunctioncollect_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 callersMethodcollection
Collection queries the NFTs of the specified denom
common/src/node/nft.rs:126
↓ 2 callersFunctionconvert_amount
( amount: &str, amount_unit: ffi::EthAmount, )
bindings/cpp/src/lib.rs:1217
↓ 2 callersFunctioncopy_cxxbridge
(output_path)
example/cpp-example/helper.py:58
↓ 2 callersFunctioncopy_lib_files
(output_path)
example/cpp-example/helper.py:90
↓ 2 callersFunctioncopy_sources_files
(output_path)
example/cpp-example/helper.py:114
↓ 2 callersMethoddenoms
Denoms queries all the denoms
common/src/node/nft.rs:224
↓ 2 callersMethodencode
Encode the typed data.
common/src/node/ethereum/eip712.rs:138
↓ 2 callersMethodeth_sign_by_hash
eth sign hash hex string without the 0x prefix
common/src/wallet.rs:290
↓ 2 callersMethodeth_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 callersFunctioneth_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 callersMethodfrom
(coin: Coin)
common/src/transaction/cosmos_sdk.rs:240
↓ 2 callersFunctionfrom_parse_tree
( parse_tree: &mut Pairs<Rule>, )
common/src/node/ethereum/abi.rs:76
↓ 2 callersFunctiongetContext
bindings/cpp/src/android.cc:24
↓ 2 callersFunctiongetSecureStorageClass
bindings/cpp/src/android.cc:19
↓ 2 callersFunctionget_account_balance_blocking
( grpc_url: &str, address: &str, denom: &str, )
common/src/node/cosmos_sdk/balance_query.rs:48
↓ 2 callersFunctionget_accounts_url
(api_url: &str, address: &str)
common/src/node/cosmos_sdk.rs:89
↓ 2 callersMethodget_coin_type
return the HD coin type
common/src/wallet.rs:77
↓ 2 callersMethodget_default_address
(&self, coin: CoinType)
bindings/wasm/src/lib.rs:216
↓ 2 callersMethodget_default_address
returns the default address of the wallet
bindings/cpp/src/lib.rs:874
↓ 2 callersFunctionget_eth_transaction_receipt_by_vec
( tx_hash: Vec<u8>, web3api_url: String, )
common/src/node/ethereum/utils.rs:352
↓ 2 callersFunctionget_is_approved_for_all_blocking
( contract_address: &str, owner: &str, operator: &str, web3api_url: &str, )
common/src/node/ethereum/erc721.rs:152
↓ 2 callersMethodget_key
return the secret key for a given derivation path
bindings/cpp/src/lib.rs:889
↓ 2 callersFunctionget_logininfo
(mwallet: Option<&SecretKey>)
common/src/login.rs:56
↓ 2 callersMethodget_msg_count
(&self)
bindings/wasm/src/cosmos_sdk.rs:301
↓ 2 callersFunctionget_msg_sign_payload
creates the transaction signing payload (`SignDoc`) with some Cosmos SDK messages
common/src/transaction/cosmos_sdk.rs:708
↓ 2 callersFunctionget_msg_signdoc
( tx_info: CosmosSDKTxInfo, msgs: Vec<CosmosSDKMsg>, sender_public_key: crypto::PublicKey, )
common/src/transaction/cosmos_sdk.rs:638
↓ 2 callersFunctionget_name_blocking
(contract_address: &str, web3api_url: &str)
common/src/node/ethereum/erc20.rs:49
↓ 2 callersFunctionget_signed_msg_tx
( tx_info: CosmosSDKTxInfo, msgs: Vec<CosmosSDKMsg>, sender_private_key: SigningKey, )
common/src/transaction/cosmos_sdk.rs:665
↓ 2 callersMethodget_struct
Get struct type by name.
common/src/node/ethereum/eip712.rs:262
↓ 2 callersFunctionget_symbol_blocking
(contract_address: &str, web3api_url: &str)
common/src/node/ethereum/erc20.rs:55
↓ 2 callersFunctionget_token_owner
given the contract information, it returns the owner address
common/src/node/ethereum/erc721.rs:7
↓ 2 callersFunctionget_total_supply_blocking
( contract_address: &str, web3api_url: &str, )
common/src/node/ethereum/erc20.rs:78
↓ 2 callersFunctionhas_include_string
(s)
example/cpp-example/helper.py:63
↓ 2 callersFunctionhex_to_bytes
Convert hex string to byte array, hex string without the 0x prefix
common/src/wallet.rs:345
↓ 2 callersFunctionmaybe_array
(inner_iter: &mut Pairs<Rule>)
common/src/node/ethereum/abi.rs:62
↓ 2 callersFunctionnew_signing_eth_contract
( rpcserver: String, contract_address: String, abi_json: String, private_key: &PrivateKey,
bindings/cpp/src/ethereum.rs:103
↓ 2 callersFunctionnew_wallet
generates the HD wallet with a BIP39 backup phrase (English words) and password
bindings/cpp/src/lib.rs:762
↓ 2 callersMethodnode_rpc
(self, i)
integration_tests/network.py:25
↓ 2 callersFunctionquery_chainmain_account
(address: &str)
bindings/wasm/tests/test_helper.rs:99
↓ 2 callersFunctionquery_cronos_balance
(address: &str)
bindings/wasm/tests/test_helper.rs:123
↓ 2 callersFunctionread_json
(filepath: String, keyname: String)
bindings/cpp/src/ethereum.rs:125
↓ 2 callersMethodsend
(self, tx)
integration_tests/utils.py:73
↓ 2 callersFunctionsend_delegate_msg
(address: &str, mnemonic: &str, amount: u64)
bindings/wasm/tests/staking.rs:69
↓ 2 callersFunctionsetup_pystarport
(path, base_port, config)
integration_tests/network.py:87
↓ 2 callersFunctiontest_denom2
()
bindings/wasm/tests/nft.rs:174
↓ 2 callersFunctiontest_wallet_generatemnemonics
example/cpp-example/wallet.cc:22
↓ 2 callersFunctiontest_wallet_new
example/cpp-example/wallet.cc:30
↓ 2 callersFunctiontest_wallet_restore
example/cpp-example/wallet.cc:14
↓ 2 callersMethodto_legacy_tx
Convert to legacy Transaction Request
common/src/transaction/ethereum.rs:319
↓ 2 callersMethodto_type_tx
Convert to TypedTransaction
common/src/transaction/ethereum.rs:338
↓ 2 callersMethodtoken_uri
Get the distinct Uniform Resource Identifier (URI) for a given asset
bindings/cpp/src/contract.rs:208
↓ 2 callersFunctionwait_for_port
(port, host="127.0.0.1", timeout=40.0)
integration_tests/network.py:106
↓ 1 callersMethodadd_burn_msg
(&mut self, id: &str, denom_id: &str)
bindings/wasm/tests/nft.rs:93
↓ 1 callersMethodadd_edit_msg
(&mut self, id: &str, denom_id: &str, name: &str, uri: &str, data: &str)
bindings/wasm/tests/nft.rs:100
↓ 1 callersMethodadd_mint_msg
( &mut self, id: &str, denom_id: &str, name: &str, uri: &str,
bindings/wasm/tests/nft.rs:118
↓ 1 callersFunctionadd_set_withdraw_address_msg
(tx: &mut CosmosTx)
bindings/wasm/tests/distribution.rs:110
↓ 1 callersMethodadd_transfer_msg
(&mut self, id: &str, denom_id: &str, recipient: &str)
bindings/wasm/tests/nft.rs:137
↓ 1 callersMethodbalance_of_batch
Batched version of balance_of. Get the balance of multiple account/token pairs
bindings/cpp/src/contract.rs:446
↓ 1 callersFunctionbroadcast_contract_batch_transfer_tx_blocking
( batch_transfer_details: ContractBatchTransfer, network: EthNetwork, secret_key: Arc<SecretKey>,
common/src/node/ethereum/utils.rs:1104
↓ 1 callersFunctionbroadcast_eth_signed_raw_tx
( raw_tx: Vec<u8>, web3api_url: String, polling_interval_ms: u64, )
bindings/wasm/src/ethereum.rs:260
↓ 1 callersFunctionbroadcast_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 callersFunctionbroadcast_eth_signed_raw_tx_blocking
( raw_tx: Vec<u8>, web3api_url: &str, polling_interval_ms: u64, )
common/src/node/ethereum/utils.rs:1126
↓ 1 callersFunctionbroadcast_transfer_eth
( web3_api_url: String, to_address_hex: String, amount: EthTxAmount, chain_id: u64, pollin
bindings/wasm/src/ethereum.rs:352
↓ 1 callersFunctionbroadcast_tx_sync
broadcast the tx (async for JS/WASM)
common/src/node/cosmos_sdk.rs:213
↓ 1 callersFunctionbroadcast_tx_sync_blocking
( tendermint_rpc_url: &str, raw_signed_tx: Vec<u8>, )
common/src/node/cosmos_sdk.rs:318
← previousnext →101–200 of 824, ranked by callers