SYMBOL INDEX (335 symbols across 21 files) FILE: tronapi/common/abi.py function filter_by_argument_name (line 108) | def filter_by_argument_name(argument_names, contract_abi): function process_type (line 131) | def process_type(type_str): function collapse_type (line 168) | def collapse_type(base, sub, arrlist): function filter_by_type (line 172) | def filter_by_type(_type, contract_abi): function filter_by_name (line 176) | def filter_by_name(name, contract_abi): function get_abi_input_types (line 188) | def get_abi_input_types(abi): function get_abi_output_types (line 195) | def get_abi_output_types(abi): function get_abi_input_names (line 202) | def get_abi_input_names(abi): function length_of_array_type (line 209) | def length_of_array_type(abi_type): function get_fallback_func_abi (line 222) | def get_fallback_func_abi(contract_abi): function fallback_func_abi_exists (line 230) | def fallback_func_abi_exists(contract_abi): function get_constructor_abi (line 234) | def get_constructor_abi(contract_abi): function is_recognized_type (line 246) | def is_recognized_type(abi_type): function is_bool_type (line 250) | def is_bool_type(abi_type): function is_uint_type (line 254) | def is_uint_type(abi_type): function is_int_type (line 258) | def is_int_type(abi_type): function is_address_type (line 262) | def is_address_type(abi_type): function is_bytes_type (line 266) | def is_bytes_type(abi_type): function is_string_type (line 270) | def is_string_type(abi_type): function is_length (line 275) | def is_length(target_length, value): function size_of_type (line 279) | def size_of_type(abi_type): function is_array_type (line 296) | def is_array_type(abi_type): function sub_type_of_array_type (line 300) | def sub_type_of_array_type(abi_type): function is_probably_enum (line 309) | def is_probably_enum(abi_type): function normalize_event_input_types (line 314) | def normalize_event_input_types(abi_args): function abi_to_signature (line 324) | def abi_to_signature(abi): function filter_by_argument_count (line 334) | def filter_by_argument_count(num_arguments, contract_abi): function filter_by_encodability (line 343) | def filter_by_encodability(args, kwargs, contract_abi): class AcceptsHexStrMixin (line 351) | class AcceptsHexStrMixin: method validate_value (line 352) | def validate_value(self, value): class ByteStringEncoder (line 365) | class ByteStringEncoder(AcceptsHexStrMixin, encoding.ByteStringEncoder): class BytesEncoder (line 369) | class BytesEncoder(AcceptsHexStrMixin, encoding.BytesEncoder): class TextStringEncoder (line 373) | class TextStringEncoder(encoding.TextStringEncoder): method validate_value (line 375) | def validate_value(cls, value): function check_if_arguments_can_be_encoded (line 418) | def check_if_arguments_can_be_encoded(function_abi, args, kwargs): function merge_args_and_kwargs (line 435) | def merge_args_and_kwargs(function_abi, args, kwargs): function abi_sub_tree (line 491) | def abi_sub_tree(data_type, data_value): function map_abi_data (line 516) | def map_abi_data(normalizers, types, data): function abi_data_tree (line 550) | def abi_data_tree(types, data): function data_tree_map (line 569) | def data_tree_map(func, data_tree): class ABITypedData (line 584) | class ABITypedData(namedtuple('ABITypedData', 'abi_type, data')): method __new__ (line 603) | def __new__(cls, iterable): function strip_abi_type (line 607) | def strip_abi_type(elements): FILE: tronapi/common/account.py class Account (line 19) | class Account: method create (line 21) | def create(): method sign_hash (line 26) | def sign_hash(message_hash, private_key): method recover_hash (line 33) | def recover_hash(message_hash, signature): class Address (line 40) | class Address(object): method from_hex (line 42) | def from_hex(address): method to_hex (line 50) | def to_hex(address): method from_private_key (line 58) | def from_private_key(private_key): class PrivateKey (line 62) | class PrivateKey(object): method __init__ (line 63) | def __init__(self, private_key): method private_key (line 79) | def private_key(self): method public_key (line 84) | def public_key(self) -> str: method address (line 89) | def address(self): method __str__ (line 103) | def __str__(self): method __bytes__ (line 106) | def __bytes__(self): FILE: tronapi/common/blocks.py function is_hex_encoded_block_hash (line 13) | def is_hex_encoded_block_hash(value): function is_hex_encoded_block_number (line 19) | def is_hex_encoded_block_number(value): function select_method_for_block (line 31) | def select_method_for_block(value, if_hash, if_number): FILE: tronapi/common/contracts.py class FallbackFn (line 47) | class FallbackFn: function find_matching_fn_abi (line 51) | def find_matching_fn_abi(abi, fn_identifier=None, args=None, kwargs=None): function encode_abi (line 109) | def encode_abi(tron, abi, arguments, data=None): function get_function_info (line 149) | def get_function_info(fn_name, contract_abi=None, fn_abi=None, args=None... FILE: tronapi/common/datastructures.py class ReadableAttributeDict (line 22) | class ReadableAttributeDict(Mapping): method __init__ (line 27) | def __init__(self, dictionary, *args, **kwargs): method __getitem__ (line 31) | def __getitem__(self, key): method __iter__ (line 34) | def __iter__(self): method __len__ (line 37) | def __len__(self): method __repr__ (line 40) | def __repr__(self): method _repr_pretty_ (line 43) | def _repr_pretty_(self, builder, cycle): method _apply_if_mapping (line 55) | def _apply_if_mapping(cls, value): method recursive (line 62) | def recursive(cls, value): class MutableAttributeDict (line 66) | class MutableAttributeDict(MutableMapping, ReadableAttributeDict): method __setitem__ (line 68) | def __setitem__(self, key, val): method __delitem__ (line 71) | def __delitem__(self, key): class AttributeDict (line 75) | class AttributeDict(ReadableAttributeDict, Hashable): method __setattr__ (line 80) | def __setattr__(self, attr, val): method __delattr__ (line 86) | def __delattr__(self, key): method __hash__ (line 89) | def __hash__(self): method __eq__ (line 92) | def __eq__(self, other): class NamedElementOnion (line 99) | class NamedElementOnion(Mapping): method __init__ (line 104) | def __init__(self, init_elements, valid_element=callable): method add (line 112) | def add(self, element, name=None): method inject (line 124) | def inject(self, element, name=None, layer=None): method clear (line 155) | def clear(self): method replace (line 158) | def replace(self, old, new): method remove (line 169) | def remove(self, old): method _replace_with_new_name (line 174) | def _replace_with_new_name(self, old, new): method __iter__ (line 186) | def __iter__(self): method __add__ (line 192) | def __add__(self, other): method __contains__ (line 199) | def __contains__(self, element): method __getitem__ (line 202) | def __getitem__(self, element): method __len__ (line 205) | def __len__(self): method __reversed__ (line 208) | def __reversed__(self): FILE: tronapi/common/datatypes.py function verify_attr (line 15) | def verify_attr(class_name, key, namespace): class PropertyCheckingFactory (line 24) | class PropertyCheckingFactory(type): method __init__ (line 25) | def __init__(cls, name, bases, namespace, **kargs): method __new__ (line 30) | def __new__(mcs, name, bases, namespace, normalizers=None): FILE: tronapi/common/encoding.py function hex_encode_abi_type (line 50) | def hex_encode_abi_type(abi_type, value, force_size=None): function to_hex_twos_compliment (line 82) | def to_hex_twos_compliment(value, bit_size): function to_hex_with_size (line 95) | def to_hex_with_size(value, bit_size): function pad_hex (line 100) | def pad_hex(value, bit_size): function trim_hex (line 106) | def trim_hex(hexstr): function to_int (line 114) | def to_int(value=None, hexstr=None, text=None): function text_if_str (line 140) | def text_if_str(to_type, text_or_primitive): function to_text (line 149) | def to_text(primitive=None, hexstr=None, text=None): function to_bytes (line 166) | def to_bytes(primitive=None, hexstr=None, text=None): function to_4byte_hex (line 184) | def to_4byte_hex(hex_or_str_or_bytes: Union[int, str, bytes]) -> str: class FriendlyJsonSerialize (line 195) | class FriendlyJsonSerialize: method _json_mapping_errors (line 203) | def _json_mapping_errors(self, mapping): method _json_list_errors (line 210) | def _json_list_errors(self, iterable): method _friendly_json_encode (line 217) | def _friendly_json_encode(self, obj, cls=None): method json_decode (line 232) | def json_decode(json_str): method json_encode (line 242) | def json_encode(self, obj, cls=None): class TronJsonEncoder (line 249) | class TronJsonEncoder(json.JSONEncoder): method default (line 250) | def default(self, obj): function to_json (line 258) | def to_json(obj: object) -> object: FILE: tronapi/common/formatters.py function apply_formatters_to_dict (line 22) | def apply_formatters_to_dict(formatters, value): function recursive_map (line 34) | def recursive_map(func, data): function map_collection (line 47) | def map_collection(func, collection): FILE: tronapi/common/normalizers.py function implicitly_identity (line 25) | def implicitly_identity(to_wrap): function normalize_abi (line 37) | def normalize_abi(abi): function normalize_bytecode (line 44) | def normalize_bytecode(bytecode): function abi_address_to_hex (line 51) | def abi_address_to_hex(abi_type, data): function abi_string_to_text (line 59) | def abi_string_to_text(abi_type, data): function abi_bytes_to_bytes (line 65) | def abi_bytes_to_bytes(abi_type, data): function addresses_checksummed (line 72) | def addresses_checksummed(abi_type, data): function to_checksum_address (line 77) | def to_checksum_address(address: str): function abi_resolver (line 82) | def abi_resolver(abi_type, val): FILE: tronapi/common/threads.py class Timeout (line 8) | class Timeout(Exception): method __init__ (line 17) | def __init__(self, seconds=None, exception=None, *args, **kwargs): method __enter__ (line 21) | def __enter__(self): method __exit__ (line 25) | def __exit__(self, exc_type, exc_val, exc_tb): method __str__ (line 28) | def __str__(self): method expire_at (line 34) | def expire_at(self): method start (line 41) | def start(self): method check (line 47) | def check(self): method cancel (line 63) | def cancel(self): method sleep (line 66) | def sleep(self, seconds): class ThreadWithReturn (line 71) | class ThreadWithReturn(threading.Thread): method __init__ (line 72) | def __init__(self, target=None, args=None, kwargs=None): method run (line 82) | def run(self): method get (line 85) | def get(self, timeout=None): class TimerClass (line 93) | class TimerClass(threading.Thread): method __init__ (line 94) | def __init__(self, interval, callback, *args): method run (line 101) | def run(self): method stop (line 106) | def stop(self): function spawn (line 110) | def spawn(target, *args, thread_class=ThreadWithReturn, **kwargs): FILE: tronapi/common/transactions.py function wait_for_transaction_id (line 4) | def wait_for_transaction_id(tron, tx_id, timeout=120, poll_latency=0.1): FILE: tronapi/common/validation.py function _prepare_selector_collision_msg (line 43) | def _prepare_selector_collision_msg(duplicates): function is_valid_url (line 50) | def is_valid_url(value): function validate_abi (line 69) | def validate_abi(abi): function validate_abi_type (line 92) | def validate_abi_type(abi_type): function validate_abi_value (line 100) | def validate_abi_value(abi_type, value): function validate_address (line 155) | def validate_address(value): function has_one_val (line 186) | def has_one_val(*args, **kwargs): function assert_one_val (line 192) | def assert_one_val(*args, **kwargs): FILE: tronapi/contract.py class NonExistentFallbackFunction (line 51) | class NonExistentFallbackFunction: method _raise_exception (line 53) | def _raise_exception(): method __getattr__ (line 56) | def __getattr__(self, attr): class ContractFunction (line 60) | class ContractFunction: method __init__ (line 70) | def __init__(self, abi=None): method __call__ (line 74) | def __call__(self, *args, **kwargs): method _set_function_info (line 88) | def _set_function_info(self): method factory (line 106) | def factory(cls, class_name, **kwargs): method __repr__ (line 109) | def __repr__(self): class ContractFunctions (line 118) | class ContractFunctions: method __init__ (line 122) | def __init__(self, abi, tron, address=None): method __iter__ (line 137) | def __iter__(self): method __getattr__ (line 144) | def __getattr__(self, function_name): method __getitem__ (line 158) | def __getitem__(self, function_name): class Contract (line 162) | class Contract: method __init__ (line 178) | def __init__(self, address=None): method factory (line 198) | def factory(cls, tron, class_name=None, **kwargs): method deploy (line 221) | def deploy(cls, **kwargs): method constructor (line 247) | def constructor(cls): method encodeABI (line 258) | def encodeABI(cls, fn_name, args=None, kwargs=None, data=None): method get_fallback_function (line 272) | def get_fallback_function(abi, tron, address=None): method all_functions (line 284) | def all_functions(self): method get_function_by_signature (line 290) | def get_function_by_signature(self, signature): method find_functions_by_name (line 304) | def find_functions_by_name(self, fn_name): method get_function_by_name (line 313) | def get_function_by_name(self, fn_name): method get_function_by_selector (line 318) | def get_function_by_selector(self, selector): method decode_function_input (line 326) | def decode_function_input(self, data): method find_functions_by_args (line 337) | def find_functions_by_args(self, *args): method get_function_by_args (line 346) | def get_function_by_args(self, *args): class ContractConstructor (line 351) | class ContractConstructor: method __init__ (line 356) | def __init__(self, tron, abi, bytecode): method check_forbidden_keys_in_transaction (line 362) | def check_forbidden_keys_in_transaction(transaction, forbidden_keys=No... method transact (line 368) | def transact(self, **kwargs): function find_functions_by_identifier (line 385) | def find_functions_by_identifier(contract_abi, tron, address, callable_c... function get_function_by_identifier (line 401) | def get_function_by_identifier(fns, identifier): FILE: tronapi/exceptions.py class TronError (line 8) | class TronError(Exception): class InvalidTronError (line 12) | class InvalidTronError(TronError): class FallbackNotFound (line 16) | class FallbackNotFound(Exception): class MismatchedABI (line 23) | class MismatchedABI(Exception): class InvalidAddress (line 31) | class InvalidAddress(ValueError): class NoABIFunctionsFound (line 38) | class NoABIFunctionsFound(AttributeError): class ValidationError (line 45) | class ValidationError(Exception): class TransportError (line 52) | class TransportError(TronError): method status_code (line 61) | def status_code(self): method error (line 65) | def error(self): method info (line 69) | def info(self): method url (line 73) | def url(self): class HttpError (line 77) | class HttpError(TransportError): class BadRequest (line 81) | class BadRequest(TransportError): class NotFoundError (line 85) | class NotFoundError(TransportError): class ServiceUnavailable (line 89) | class ServiceUnavailable(TransportError): class GatewayTimeout (line 93) | class GatewayTimeout(TransportError): class TimeExhausted (line 97) | class TimeExhausted(Exception): FILE: tronapi/main.py class Tron (line 63) | class Tron: method __init__ (line 85) | def __init__(self, **kwargs): method default_block (line 128) | def default_block(self): method default_block (line 132) | def default_block(self, block_id): method providers (line 144) | def providers(self): method private_key (line 149) | def private_key(self): method private_key (line 154) | def private_key(self, value: str) -> None: method default_address (line 169) | def default_address(self) -> AttributeDict: method default_address (line 174) | def default_address(self, address: str) -> None: method get_event_result (line 199) | def get_event_result(self, **kwargs): method get_event_transaction_id (line 265) | def get_event_transaction_id(self, tx_id): method address (line 275) | def address(self) -> Address: method create_account (line 287) | def create_account(self) -> PrivateKey: method is_valid_provider (line 298) | def is_valid_provider(provider) -> bool: method solidity_sha3 (line 306) | def solidity_sha3(self, abi_types, values): method keccak (line 339) | def keccak(primitive=None, text=None, hexstr=None): method is_connected (line 353) | def is_connected(self): FILE: tronapi/manager.py class TronManager (line 32) | class TronManager(object): method __init__ (line 40) | def __init__(self, tron, providers): method providers (line 66) | def providers(self): method providers (line 73) | def providers(self, value) -> None: method full_node (line 80) | def full_node(self) -> HttpProvider: method solidity_node (line 89) | def solidity_node(self) -> HttpProvider: method event_server (line 98) | def event_server(self) -> HttpProvider: method request (line 106) | def request(self, url, params=None, method=None): method is_connected (line 130) | def is_connected(self): FILE: tronapi/module.py class Module (line 8) | class Module: method __init__ (line 11) | def __init__(self, tron) -> None: method attach (line 15) | def attach(cls, target, module_name: str = None) -> None: FILE: tronapi/providers/base.py class BaseProvider (line 11) | class BaseProvider(object): method status_page (line 15) | def status_page(self): method status_page (line 20) | def status_page(self, page): method _http_default_headers (line 24) | def _http_default_headers(): method format_user_agent (line 32) | def format_user_agent(name=None): FILE: tronapi/providers/http.py class HttpProvider (line 37) | class HttpProvider(BaseProvider): method __init__ (line 40) | def __init__(self, node_url, request_kwargs=None): method get_request_kwargs (line 66) | def get_request_kwargs(self): method request (line 73) | def request(self, path, json=None, params=None, method=None): method is_connected (line 96) | def is_connected(self) -> bool: method _request (line 112) | def _request(self, **kwargs): method __error_manager (line 140) | def __error_manager(data): FILE: tronapi/transactionbuilder.py class TransactionBuilder (line 34) | class TransactionBuilder(object): method __init__ (line 35) | def __init__(self, tron): method send_transaction (line 38) | def send_transaction(self, to, amount, account=None): method send_token (line 76) | def send_token(self, to, amount, token_id, account=None): method freeze_balance (line 124) | def freeze_balance(self, amount, duration, resource, account=None): method unfreeze_balance (line 166) | def unfreeze_balance(self, resource='BANDWIDTH', account=None): method purchase_token (line 197) | def purchase_token(self, to: str, token_id: str, amount: int, buyer=No... method withdraw_block_rewards (line 231) | def withdraw_block_rewards(self, address: str = None): method apply_for_sr (line 249) | def apply_for_sr(self, url, address=None): method vote (line 273) | def vote(self, votes: List[Tuple[str, int]], voter_address: str = None): method create_proposal (line 317) | def create_proposal(self, parameters: Any, issuer_address=None): method vote_proposal (line 347) | def vote_proposal(self, proposal_id, has_approval, voter_address=None): method delete_proposal (line 376) | def delete_proposal(self, proposal_id: int, issuer_address: str = None): method update_account (line 403) | def update_account(self, account_name, account: str = None): method create_smart_contract (line 434) | def create_smart_contract(self, **kwargs): method trigger_smart_contract (line 508) | def trigger_smart_contract(self, **kwargs): method create_trx_exchange (line 599) | def create_trx_exchange(self, method create_token_exchange (line 633) | def create_token_exchange(self, method inject_exchange_tokens (line 668) | def inject_exchange_tokens(self, method create_token (line 702) | def create_token(self, **kwargs): method withdraw_exchange_tokens (line 837) | def withdraw_exchange_tokens(self, method trade_exchange_tokens (line 871) | def trade_exchange_tokens(self, method update_setting (line 912) | def update_setting(self, method update_energy_limit (line 946) | def update_energy_limit(self, method check_permissions (line 980) | def check_permissions(self, permissions, _type): method update_account_permissions (line 998) | def update_account_permissions(self, owner_address=None, FILE: tronapi/trx.py class Trx (line 37) | class Trx(Module): method get_current_block (line 40) | def get_current_block(self): method get_confirmed_current_block (line 44) | def get_confirmed_current_block(self): method get_block (line 48) | def get_block(self, block: Any = None): method get_transaction_count_by_blocknum (line 80) | def get_transaction_count_by_blocknum(self, num: int): method get_block_transaction_count (line 93) | def get_block_transaction_count(self, block: Any): method get_transaction_from_block (line 106) | def get_transaction_from_block(self, block: Any, index: int = 0): method wait_for_transaction_id (line 123) | def wait_for_transaction_id(self, method get_transaction (line 155) | def get_transaction(self, transaction_id: str, method get_account_by_id (line 174) | def get_account_by_id(self, account_id: str, options: object): method get_account_info_by_id (line 177) | def get_account_info_by_id(self, account_id: str, options: object): method get_unconfirmed_account_by_id (line 191) | def get_unconfirmed_account_by_id(self, account_id: str): method get_account_resource (line 197) | def get_account_resource(self, address=None): method get_account (line 218) | def get_account(self, address=None): method get_balance (line 236) | def get_balance(self, address=None, is_float=False): method get_transactions_related (line 253) | def get_transactions_related(self, address, direction='all', limit=30,... method get_transactions_to_address (line 304) | def get_transactions_to_address(self, address=None, limit=30, offset=0): method get_transactions_from_address (line 318) | def get_transactions_from_address(self, address=None, limit=30, offset... method get_transaction_info (line 332) | def get_transaction_info(self, tx_id): method get_band_width (line 348) | def get_band_width(self, address=None): method get_transaction_count (line 385) | def get_transaction_count(self): method send (line 396) | def send(self, to, amount, options=None): method send_trx (line 400) | def send_trx(self, to, amount, options=None): method send_transaction (line 404) | def send_transaction(self, to, amount, options=None): method send_token (line 436) | def send_token(self, to, amount, token_id=None, account=None): method freeze_balance (line 463) | def freeze_balance(self, amount=0, duration=3, resource='BANDWIDTH', a... method unfreeze_balance (line 491) | def unfreeze_balance(self, resource='BANDWIDTH', account=None): method online_sign (line 514) | def online_sign(self, transaction: dict): method sign (line 542) | def sign(self, transaction: Any, use_tron: bool = True, multisig: bool... method broadcast (line 597) | def broadcast(self, signed_transaction): method sign_and_broadcast (line 619) | def sign_and_broadcast(self, transaction: Any): method verify_message (line 631) | def verify_message(self, message, signed_message=None, address=None, u... method update_account (line 664) | def update_account(self, account_name, address=None): method apply_for_sr (line 685) | def apply_for_sr(self, url, address): method list_nodes (line 707) | def list_nodes(self): method get_tokens_issued_by_address (line 717) | def get_tokens_issued_by_address(self, address): method get_token_from_id (line 738) | def get_token_from_id(self, token_id: str): method get_block_range (line 752) | def get_block_range(self, start, end): method get_latest_blocks (line 773) | def get_latest_blocks(self, num=1): method list_super_representatives (line 789) | def list_super_representatives(self): method list_tokens (line 794) | def list_tokens(self, limit=0, offset=0): method time_until_next_vote_cycle (line 819) | def time_until_next_vote_cycle(self): method get_contract (line 833) | def get_contract(self, contract_address): method contract (line 851) | def contract(self, address=None, **kwargs): method validate_address (line 865) | def validate_address(self, address, _is_hex=False): method get_chain_parameters (line 880) | def get_chain_parameters(self): method get_exchange_by_id (line 884) | def get_exchange_by_id(self, exchange_id): method get_list_exchangers (line 899) | def get_list_exchangers(self): method get_proposal (line 903) | def get_proposal(self, proposal_id): method list_proposals (line 917) | def list_proposals(self): method vote_proposal (line 926) | def vote_proposal(self, proposal_id, has_approval, voter_address): method proposal_delete (line 952) | def proposal_delete(self, proposal_id: int, issuer_address: str): method list_exchanges_paginated (line 975) | def list_exchanges_paginated(self, limit=10, offset=0): method get_node_info (line 988) | def get_node_info(self): method get_token_list_name (line 992) | def get_token_list_name(self, token_id: str) -> any: method get_token_by_id (line 1005) | def get_token_by_id(self, token_id: str) -> any: