MCPcopy Create free account

hub / github.com/andelf/rust-tron / functions

Functions287 in github.com/andelf/rust-tron

↓ 85 callersMethodas_bytes
As raw public key bytes. Full format without a type prefix.
keys/src/public.rs:73
↓ 51 callersMethoditer
Returns a borrowing iterator over the leaves of the tree.
merkle-tree/src/tree.rs:57
↓ 24 callersMethodrun
(&self)
wallet-cli/src/commands/batch.rs:53
↓ 23 callersMethodis_empty
Returns whether the Merkle tree is empty or not
merkle-tree/src/merkle_tree.rs:94
↓ 13 callersMethodas_ref
(&self)
keys/src/public.rs:173
↓ 10 callersFunctionsha256
(input: &[u8])
wallet-cli/src/utils/crypto.rs:5
↓ 8 callersFunctioncreate
(matches: &ArgMatches)
wallet-cli/src/commands/system/witness.rs:46
↓ 8 callersFunctionparse_amount_with_surfix
Parse command line amount to amount in pb.
wallet-cli/src/utils/trx.rs:145
↓ 8 callersMethodpublic
Returns public part of the keypair
keys/src/keypair.rs:26
↓ 7 callersFunctionparse_amount
(amount: &str)
wallet-cli/src/utils/trx.rs:137
↓ 6 callersMethodinto_iter
(self)
merkle-tree/src/tree.rs:182
↓ 5 callersMethodsign_digest
(&self, digest: &[u8], public: &Public)
wallet/src/lib.rs:244
↓ 4 callersMethodadd_left
(&mut self, mut tree: &'a Tree<T>)
merkle-tree/src/tree.rs:85
↓ 4 callersMethodaddress
Returns public part of the keypair converted into Address
keys/src/keypair.rs:31
↓ 4 callersFunctionbytes_to_bytes
(val: &serde_json::Value)
wallet-cli/src/utils/jsont.rs:36
↓ 4 callersFunctiondecode_params
(types: &[&str], data: &str)
wallet-cli/src/utils/abi.rs:56
↓ 4 callersFunctiondetermine_config_directory
()
wallet/src/config.rs:11
↓ 4 callersFunctionentry_to_method_name
(entry: &AbiEntry)
wallet-cli/src/utils/abi.rs:102
↓ 4 callersFunctionextract_owner_address_from_parameter
(any: &Any)
wallet-cli/src/utils/trx.rs:44
↓ 4 callersFunctionfix_transaction
pb: Transaction
wallet-cli/src/utils/jsont.rs:373
↓ 4 callersFunctionfnhash
Hash code of a contract method.
wallet-cli/src/utils/abi.rs:28
↓ 4 callersMethodis_locked
(&self)
wallet/src/lib.rs:93
↓ 4 callersMethodprivate
Returns private part of the keypair
keys/src/keypair.rs:21
↓ 4 callersFunctionsign_digest
(digest: &[u8], address: &Address)
wallet-cli/src/commands/wallet/mod.rs:246
↓ 4 callersFunctiontimestamp_millis
()
wallet-cli/src/utils/trx.rs:40
↓ 3 callersMethodas_ref
(&self)
keys/src/address.rs:204
↓ 3 callersFunctionfix_account
pb: Account
wallet-cli/src/utils/jsont.rs:405
↓ 3 callersFunctionget_contract_abi
(address: &Address)
wallet-cli/src/utils/trx.rs:367
↓ 3 callersMethodhash
Returns a hash from the tree.
merkle-tree/src/tree.rs:48
↓ 3 callersMethodimport_key
(&mut self, private: Private)
wallet/src/lib.rs:192
↓ 3 callersFunctionjson_to_abi
(json: &serde_json::Value)
wallet-cli/src/utils/abi.rs:240
↓ 3 callersFunctionkeccak256
(input: &[u8])
wallet-cli/src/utils/crypto.rs:12
↓ 3 callersMethodnext
(&mut self)
merkle-tree/src/tree.rs:112
↓ 3 callersFunctionsha512
(input: &[u8])
wallet/src/crypto.rs:35
↓ 3 callersMethodsync_to_wallet_file
(&self)
wallet/src/lib.rs:294
↓ 2 callersFunctionapprove
(approve: bool, matches: &ArgMatches)
wallet-cli/src/commands/system/proposal.rs:35
↓ 2 callersMethodas_bytes
As raw 21-byte address.
keys/src/address.rs:57
↓ 2 callersMethodas_google_any
Convert Pb to protobuf::well_known_types::Any
wallet-cli/src/utils/trx.rs:383
↓ 2 callersMethodas_tvm_bytes
As 20-byte address that compatiable with Ethereum.
keys/src/address.rs:62
↓ 2 callersFunctioncreate_wallet
(name: &str, password: &str)
wallet-cli/src/commands/wallet/mod.rs:19
↓ 2 callersFunctionencode_params
ref: https://github.com/paritytech/ethabi/blob/master/cli/src/main.rs
wallet-cli/src/utils/abi.rs:35
↓ 2 callersFunctionfix_api_return
pb: Return
wallet-cli/src/utils/jsont.rs:457
↓ 2 callersFunctionfix_asset_issue_contract
pb: AssetIssueContract
wallet-cli/src/utils/jsont.rs:464
↓ 2 callersFunctionfix_block
pb: Block / BlockExtention
wallet-cli/src/utils/jsont.rs:548
↓ 2 callersFunctionfix_transaction_info
pb: TransactionInfo
wallet-cli/src/utils/jsont.rs:506
↓ 2 callersFunctionfix_transaction_raw
pb: Transaction.raw
wallet-cli/src/utils/jsont.rs:176
↓ 2 callersFunctionhandle_contract_result
(contract: &Address, method: &str, result: &[u8])
wallet-cli/src/commands/contract/call.rs:116
↓ 2 callersFunctionjson_to_keys
(val: &serde_json::Value)
wallet/src/lib.rs:333
↓ 2 callersMethodkeys
(&self)
wallet/src/lib.rs:106
↓ 2 callersMethodlock
(&mut self)
wallet/src/lib.rs:114
↓ 2 callersMethodmap_raw_transaction
(&mut self, f: F)
wallet-cli/src/utils/trx.rs:189
↓ 2 callersFunctionparse_hex
(s: &str)
wallet-cli/src/commands/get/transaction.rs:285
↓ 2 callersMethodsign
Sign raw data with the private key.
keys/src/private.rs:32
↓ 2 callersMethodsign_digest
(&self, request: Request<SignDigestRequest>)
walletd/src/main.rs:198
↓ 2 callersMethodsync_json_to_wallet_file
(&self, wallet_json: &serde_json::Value)
wallet/src/lib.rs:314
↓ 2 callersFunctiontokio_main
NOTE: #[tokio:main] conflicts with daemonize
walletd/src/main.rs:378
↓ 2 callersFunctiontranslate_abi_entry_params
(val: &serde_json::Value)
wallet-cli/src/utils/abi.rs:225
↓ 2 callersFunctionunlock_wallet
(password: &str)
wallet-cli/src/commands/wallet/mod.rs:55
↓ 2 callersMethodwatch
(&mut self, on_success: F)
wallet-cli/src/utils/trx.rs:338
↓ 1 callersFunctionaes_decrypt
(key: &[u8], cipher_text: &[u8])
wallet/src/crypto.rs:23
↓ 1 callersFunctionaes_encrypt
NOTE: key, sha512 key
wallet/src/crypto.rs:11
↓ 1 callersMethodas_bytes
As raw bytes.
keys/src/private.rs:41
↓ 1 callersMethodas_ref
(&self)
keys/src/private.rs:127
↓ 1 callersFunctionb58decode_check
Base58check decode.
keys/src/address.rs:225
↓ 1 callersFunctionb58encode_check
Base58check encode.
keys/src/address.rs:210
↓ 1 callersMethodcheck_password
(&self, password: &str)
wallet/src/lib.rs:174
↓ 1 callersFunctionclear_contract_abi
(matches: &ArgMatches)
wallet-cli/src/commands/contract/mod.rs:46
↓ 1 callersMethodcount
Returns the number of leaves in the Merkle tree
merkle-tree/src/merkle_tree.rs:89
↓ 1 callersMethodcreate
(name: &str, password: &str)
wallet/src/lib.rs:39
↓ 1 callersFunctioncreate_key
()
wallet-cli/src/commands/create.rs:13
↓ 1 callersMethodcreate_key
(&mut self)
wallet/src/lib.rs:238
↓ 1 callersFunctioncreate_key_in_wallet
()
wallet-cli/src/commands/wallet/mod.rs:69
↓ 1 callersFunctioncreate_zkey
(matches: &ArgMatches)
wallet-cli/src/commands/create.rs:24
↓ 1 callersMethodcreate_zkey
(&self, request: Request<CreateZkeyRequest>)
walletd/src/main.rs:240
↓ 1 callersFunctioncreate_zkey_in_wallet
()
wallet-cli/src/commands/wallet/mod.rs:125
↓ 1 callersFunctioncreate_zkey_offline
()
wallet-cli/src/commands/create.rs:51
↓ 1 callersFunctiondecrypt_wallet_json_to_keypairs
(val: &serde_json::Value, decrypt_key: &[u8])
wallet/src/lib.rs:405
↓ 1 callersFunctiondelete
(matches: &ArgMatches)
wallet-cli/src/commands/system/proposal.rs:51
↓ 1 callersFunctiondump_merkle_tree
()
wallet-cli/src/commands/get/mod.rs:100
↓ 1 callersFunctioneip55_checksum
(hex_address: &mut [u8])
keys/src/address.rs:245
↓ 1 callersMethodencode_hex
(&self)
keys/src/signature.rs:156
↓ 1 callersFunctionencrypt_keypairs_to_json
(keypairs: &Vec<KeyPair>, encrypt_key: &[u8])
wallet/src/lib.rs:368
↓ 1 callersFunctionentry_to_indexed_types
(entry: &AbiEntry)
wallet-cli/src/utils/abi.rs:180
↓ 1 callersFunctionentry_to_input_types
(entry: &AbiEntry)
wallet-cli/src/utils/abi.rs:172
↓ 1 callersFunctionentry_to_non_indexed_types
(entry: &AbiEntry)
wallet-cli/src/utils/abi.rs:189
↓ 1 callersFunctionentry_to_output_types
(entry: &AbiEntry)
wallet-cli/src/utils/abi.rs:164
↓ 1 callersFunctionextract_types
(fnname: &str)
wallet-cli/src/commands/contract/call.rs:110
↓ 1 callersFunctionfix_account_permission_update_contract
pb: AccountPermissionUpdateContract
wallet-cli/src/utils/jsont.rs:65
↓ 1 callersFunctionfix_create_smart_contract
pb: CreateSmartContract
wallet-cli/src/utils/jsont.rs:106
↓ 1 callersFunctionfix_freeze_balance_contract
pb: FreezeBalanceContract
wallet-cli/src/utils/jsont.rs:170
↓ 1 callersFunctionfix_shielded_transfer_contract
pb: ShieldedTransferContract
wallet-cli/src/utils/jsont.rs:114
↓ 1 callersFunctionfix_transaction_ext
pb: TransactionExtention
wallet-cli/src/utils/jsont.rs:385
↓ 1 callersFunctionfix_transfer_asset_contract
pb: TransferAssetContract
wallet-cli/src/utils/jsont.rs:51
↓ 1 callersFunctionfix_transfer_contract
pb: TransferContract
wallet-cli/src/utils/jsont.rs:45
↓ 1 callersFunctionfix_trigger_smart_contract
pb: TriggerSmartContract
wallet-cli/src/utils/jsont.rs:58
↓ 1 callersFunctionfix_vote_witness_contract
pb: VoteWitnessContract
wallet-cli/src/utils/jsont.rs:157
↓ 1 callersFunctionfreeze
(matches: &ArgMatches)
wallet-cli/src/commands/system/freeze.rs:8
↓ 1 callersFunctiongenerate_key
(matches: &ArgMatches<'_>)
wallet-cli/src/commands/key.rs:18
↓ 1 callersFunctionget_account
Get account infomation.
wallet-cli/src/commands/get/mod.rs:329
↓ 1 callersFunctionget_account_permission
Get account permission info.
wallet-cli/src/commands/get/mod.rs:423
next →1–100 of 287, ranked by callers