Skip to main content

Module keychain

Module keychain 

Source

Structsยง

AnvilNodeInfo ๐Ÿ”’
AuthScopesJson
Newtype wrapper for parsed key-authorization --scopes JSON.
DoctorCandidate ๐Ÿ”’
Candidate subject collected before the RPC chain is known.
DoctorContext ๐Ÿ”’
DoctorStep ๐Ÿ”’
DoctorSubject ๐Ÿ”’
Result of resolving a local registry entry for the doctor.
InspectedLimit ๐Ÿ”’
JsonCallScope ๐Ÿ”’
Represents a single scope entry in JSON format for --scopes.
JsonSelectorWithRecipients ๐Ÿ”’
KeyAuthArgs
Common fields for cast key-auth encode and cast key-auth sign.
KeyMetadata ๐Ÿ”’
LocalCandidateResolution ๐Ÿ”’
LocalLimitMetadata ๐Ÿ”’
ScopesJson
Newtype wrapper for parsed --scopes JSON so clap can treat it as a single value.
SponsorshipDiagnosis ๐Ÿ”’
ValidKeyAuthorization ๐Ÿ”’

Enumsยง

AllowedCallMatch ๐Ÿ”’
Outcome of TIP-1011 allowed-call matching.
AllowedCallsView ๐Ÿ”’
ChainTimestamp ๐Ÿ”’
DoctorStatus ๐Ÿ”’
JsonSelectorEntry ๐Ÿ”’
A selector entry can be either a plain string or an object with recipients.
KeyAuthSubcommand
Tempo signed key-authorization helpers.
KeyRegistrationState ๐Ÿ”’
KeychainPolicySubcommand
Higher-level access-key policy editing commands.
KeychainRootSigner ๐Ÿ”’
KeychainSubcommand
Tempo keychain management commands.
KeychainTxOutcome ๐Ÿ”’

Functionsยง

abi_scope_to_auth_scope ๐Ÿ”’
active_from_anvil_node_info ๐Ÿ”’
add_selector_rule_to_scope ๐Ÿ”’
address_label ๐Ÿ”’
address_label_with_address ๐Ÿ”’
allowed_calls_to_json ๐Ÿ”’
anvil_tempo_hardfork_active ๐Ÿ”’
auth_signature_type_label ๐Ÿ”’
auth_signature_type_name ๐Ÿ”’
call_scope_to_json ๐Ÿ”’
check_allowed_calls ๐Ÿ”’
Step 8 helper: allowed calls (TIP-1011).
check_authorization_allowed_calls ๐Ÿ”’
check_authorization_expiry ๐Ÿ”’
check_authorization_spending_limits ๐Ÿ”’
check_expiring_nonce ๐Ÿ”’
Step 12 helper: validate TIP-1009 expiring-nonce options, if supplied.
check_expiring_nonce_window ๐Ÿ”’
check_fee_token_balance ๐Ÿ”’
Step 9 helper: fee-token balance on the root account.
check_hardfork ๐Ÿ”’
check_key_expiry ๐Ÿ”’
check_local_signing_readiness ๐Ÿ”’
Step 4 helper: verify whether the local side can actually sign as the key.
check_spending_limits ๐Ÿ”’
Step 7 helper: spending limits.
check_sponsorship ๐Ÿ”’
Step 13 helper: validate sponsorship configuration, if supplied.
collect_local_candidates ๐Ÿ”’
Step 1 helper: collect local registry candidates.
decoded_entry_key_authorization ๐Ÿ”’
diagnose_allowed_scopes ๐Ÿ”’
encode_key_authorization ๐Ÿ”’
ensure_root_sender ๐Ÿ”’
Ensures AccountKeychain calls with a known root account use that root as the signer.
fetch_chain_timestamp ๐Ÿ”’
finalize_doctor ๐Ÿ”’
Render the doctor result and return.
format_authorization_limits ๐Ÿ”’
format_duration_words ๐Ÿ”’
format_expiry ๐Ÿ”’
format_expiry_for_inspect ๐Ÿ”’
format_period_end ๐Ÿ”’
format_recipients ๐Ÿ”’
format_relative_timestamp ๐Ÿ”’
format_relative_timestamp_from ๐Ÿ”’
format_selector ๐Ÿ”’
format_timestamp_iso ๐Ÿ”’
inspected_limit_to_json ๐Ÿ”’
is_rpc_method_not_found ๐Ÿ”’
is_tempo_hardfork_active ๐Ÿ”’
key_entry_effective_key ๐Ÿ”’
key_entry_to_json ๐Ÿ”’
key_metadata_from_entry ๐Ÿ”’
key_type_label ๐Ÿ”’
key_type_matches_authorization ๐Ÿ”’
key_type_name ๐Ÿ”’
load_keys_file ๐Ÿ”’
match_allowed_call ๐Ÿ”’
Pure TIP-1011 matching logic. Extracted so it can be unit-tested.
parse_auth_limit ๐Ÿ”’
Parse a key-authorization --limit TOKEN:AMOUNT[:PERIOD] flag value.
parse_auth_scope ๐Ÿ”’
parse_auth_scopes_json_wrapped ๐Ÿ”’
parse_auth_signature_type ๐Ÿ”’
parse_limit ๐Ÿ”’
Parse a --limit TOKEN:AMOUNT flag value.
parse_scopes_json ๐Ÿ”’
Parse --scopes JSON flag value.
parse_scopes_json_wrapped ๐Ÿ”’
Parse --scopes JSON flag value into the newtype wrapper.
parse_signature_type ๐Ÿ”’
print_allowed_calls ๐Ÿ”’
print_doctor_step ๐Ÿ”’
print_inspected_limits ๐Ÿ”’
print_key_entry ๐Ÿ”’
redact_private_key_uri_tokens ๐Ÿ”’
resolve_key_metadata ๐Ÿ”’
resolve_keychain_root_signer ๐Ÿ”’
Resolve the root-authorized signer used for AccountKeychain policy changes.
run_authorize ๐Ÿ”’
cast keychain authorize / cast keychain auth โ€” authorize a key on-chain.
run_burn_witness ๐Ÿ”’
cast keychain burn-witness โ€” burn a TIP-1053 key authorization witness.
run_check ๐Ÿ”’
cast keychain check / cast keychain info โ€” query on-chain key status.
run_doctor ๐Ÿ”’
cast keychain doctor โ€” diagnose access-key signing failures.
run_inspect ๐Ÿ”’
cast keychain inspect <key_address> โ€” inspect on-chain key policy.
run_is_witness_burned ๐Ÿ”’
cast keychain is-witness-burned โ€” check TIP-1053 witness burn state.
run_key_auth_encode ๐Ÿ”’
run_key_auth_sign ๐Ÿ”’
run_list ๐Ÿ”’
cast keychain list โ€” display all entries from keys.toml.
run_policy_add_call ๐Ÿ”’
cast keychain policy add-call โ€” merge a selector rule into a target scope.
run_policy_set_limit ๐Ÿ”’
cast keychain policy set-limit โ€” update a spending limit amount.
run_remaining_limit ๐Ÿ”’
cast keychain rl โ€” query remaining spending limit.
run_remove_scope ๐Ÿ”’
cast keychain rs โ€” remove call scope for a target.
run_revoke ๐Ÿ”’
cast keychain revoke / cast keychain rev โ€” revoke a key on-chain.
run_set_scope ๐Ÿ”’
cast keychain ss โ€” set allowed call scopes.
run_show ๐Ÿ”’
cast keychain show <wallet_address> โ€” show keys for a specific wallet.
run_update_limit ๐Ÿ”’
cast keychain ul โ€” update spending limit.
sanitize_sponsor_config_error ๐Ÿ”’
select_subject_for_chain ๐Ÿ”’
Step 3 helper: filter candidates to the RPC chain id and pick a single entry.
selector_hex ๐Ÿ”’
selector_rule_to_json ๐Ÿ”’
selector_signature ๐Ÿ”’
send_keychain_tx ๐Ÿ”’
Send calldata to the Tempo AccountKeychain precompile as a root-authorized transaction.
send_keychain_tx_with_root_signer ๐Ÿ”’
Send AccountKeychain calldata with an already-resolved root signer.
signature_type_label ๐Ÿ”’
signature_type_name ๐Ÿ”’
tempo_keys_path_display ๐Ÿ”’
unix_timestamp_now ๐Ÿ”’
validate_pending_key_authorization ๐Ÿ”’
wallet_type_name ๐Ÿ”’