SYMBOL INDEX (139 symbols across 26 files) FILE: sharding/contracts/sharding_manager.v.py function __init__ (line 112) | def __init__( function is_empty_slots_stack_empty (line 132) | def is_empty_slots_stack_empty() -> bool: function empty_slots_stack_push (line 138) | def empty_slots_stack_push(index: int128): function empty_slots_stack_pop (line 145) | def empty_slots_stack_pop() -> int128: function get_notary_info (line 155) | def get_notary_info(notary_address: address) -> (int128, int128): function update_notary_sample_size (line 161) | def update_notary_sample_size() -> bool: function register_notary (line 176) | def register_notary() -> bool: function deregister_notary (line 210) | def deregister_notary() -> bool: function release_notary (line 232) | def release_notary() -> bool: function get_member_of_committee (line 257) | def get_member_of_committee( function add_header (line 293) | def add_header( function get_vote_count (line 336) | def get_vote_count(shard_id: int128) -> int128: function has_notary_voted (line 352) | def has_notary_voted(shard_id: int128, index: int128) -> bool: function update_vote (line 364) | def update_vote(shard_id: int128, index: int128) -> bool: function submit_vote (line 382) | def submit_vote( FILE: sharding/contracts/utils/config.py function get_sharding_config (line 14) | def get_sharding_config() -> Dict[str, Any]: FILE: sharding/contracts/utils/smc_utils.py function get_smc_source_code (line 13) | def get_smc_source_code() -> str: function get_smc_json (line 19) | def get_smc_json() -> Dict[str, Any]: FILE: sharding/handler/exceptions.py class LogParsingError (line 1) | class LogParsingError(Exception): FILE: sharding/handler/log_handler.py class LogHandler (line 18) | class LogHandler: method __init__ (line 22) | def __init__(self, w3: Web3, period_length: int) -> None: method get_logs (line 26) | def get_logs(self, FILE: sharding/handler/shard_tracker.py class ShardTracker (line 35) | class ShardTracker: method __init__ (line 39) | def __init__(self, method _get_logs_by_shard_id (line 52) | def _get_logs_by_shard_id(self, method _get_logs_by_notary (line 68) | def _get_logs_by_notary(self, method _decide_period_block_number (line 89) | def _decide_period_block_number(self, method get_register_notary_logs (line 109) | def get_register_notary_logs(self, method get_deregister_notary_logs (line 123) | def get_deregister_notary_logs(self, method get_release_notary_logs (line 138) | def get_release_notary_logs(self, method get_add_header_logs (line 153) | def get_add_header_logs(self, method get_submit_vote_logs (line 167) | def get_submit_vote_logs(self, method is_notary_registered (line 183) | def is_notary_registered(self, notary: str, from_period: int=None) -> ... method is_notary_deregistered (line 193) | def is_notary_deregistered(self, notary: str, from_period: int=None) -... method is_notary_released (line 203) | def is_notary_released(self, notary: str, from_period: int=None) -> bool: method is_new_header_added (line 213) | def is_new_header_added(self, period: int) -> bool: method has_enough_vote (line 222) | def has_enough_vote(self, period: int) -> bool: FILE: sharding/handler/smc_handler.py class SMC (line 38) | class SMC(Contract): method __init__ (line 54) | def __init__(self, method basic_call_context (line 69) | def basic_call_context(self) -> Dict[str, Any]: method does_notary_exist (line 77) | def does_notary_exist(self, notary_address: Address) -> bool: method get_notary_info (line 80) | def get_notary_info(self, notary_address: Address) -> Tuple[int, int]: method notary_pool_len (line 83) | def notary_pool_len(self) -> int: method notary_pool (line 86) | def notary_pool(self, pool_index: int) -> List[Address]: method empty_slots_stack_top (line 90) | def empty_slots_stack_top(self) -> int: method empty_slots_stack (line 93) | def empty_slots_stack(self, stack_index: int) -> List[int]: method current_period_notary_sample_size (line 96) | def current_period_notary_sample_size(self) -> int: method next_period_notary_sample_size (line 99) | def next_period_notary_sample_size(self) -> int: method notary_sample_size_updated_period (line 102) | def notary_sample_size_updated_period(self) -> int: method records_updated_period (line 105) | def records_updated_period(self, shard_id: int) -> int: method head_collation_period (line 108) | def head_collation_period(self, shard_id: int) -> int: method get_member_of_committee (line 111) | def get_member_of_committee(self, shard_id: int, index: int) -> Address: method get_collation_chunk_root (line 118) | def get_collation_chunk_root(self, shard_id: int, period: int) -> Hash32: method get_collation_proposer (line 124) | def get_collation_proposer(self, shard_id: int, period: int) -> Address: method get_collation_is_elected (line 131) | def get_collation_is_elected(self, shard_id: int, period: int) -> bool: method current_vote (line 137) | def current_vote(self, shard_id: int) -> bytes: method get_vote_count (line 142) | def get_vote_count(self, shard_id: int) -> int: method has_notary_voted (line 147) | def has_notary_voted(self, shard_id: int, index: int) -> bool: method _send_transaction (line 153) | def _send_transaction(self, method register_notary (line 192) | def register_notary(self, method deregister_notary (line 206) | def deregister_notary(self, method release_notary (line 219) | def release_notary(self, method add_header (line 232) | def add_header(self, method submit_vote (line 253) | def submit_vote(self, FILE: sharding/handler/utils/log_parser.py class LogParser (line 26) | class LogParser(object): method __init__ (line 27) | def __init__(self, *, event_name: str, log: Dict[str, Any]) -> None: method _extract_event_abi (line 41) | def _extract_event_abi(self, *, event_name: str) -> Dict[str, Any]: method _set_topic_value (line 47) | def _set_topic_value(self, *, topics: List[Tuple[str, Any]], log: Dict... method _set_data_value (line 57) | def _set_data_value(self, *, data: List[Tuple[str, Any]], log: Dict[st... method _parse_value (line 68) | def _parse_value(self, *, val_type: str, val: bytes) -> Union[bool, Ad... FILE: sharding/handler/utils/shard_tracker_utils.py function to_log_topic_address (line 18) | def to_log_topic_address(address: Union[Address, str]) -> str: function get_event_signature_from_abi (line 22) | def get_event_signature_from_abi(event_name: str) -> bytes: FILE: sharding/handler/utils/smc_handler_utils.py function make_call_context (line 18) | def make_call_context(sender_address: Address, function make_transaction_context (line 41) | def make_transaction_context(nonce: int, FILE: sharding/handler/utils/web3_utils.py function get_code (line 24) | def get_code(w3: Web3, address: Address) -> bytes: function get_nonce (line 28) | def get_nonce(w3: Web3, address: Address) -> int: function take_snapshot (line 32) | def take_snapshot(w3: Web3) -> int: function revert_to_snapshot (line 36) | def revert_to_snapshot(w3: Web3, snapshot_id: int) -> None: function mine (line 40) | def mine(w3: Web3, num_blocks: int) -> None: function send_raw_transaction (line 44) | def send_raw_transaction(w3: Web3, raw_transaction: BaseTransaction) -> ... function get_recent_block_hashes (line 51) | def get_recent_block_hashes(w3: Web3, history_size: int) -> Tuple[Hash32... function get_canonical_chain (line 65) | def get_canonical_chain(w3: Web3, FILE: tests/conftest.py function smc_testing_config (line 31) | def smc_testing_config(): function smc_handler (line 36) | def smc_handler(smc_testing_config): FILE: tests/contract/test_add_header.py function test_normal_add_header (line 14) | def test_normal_add_header(smc_handler): # noqa: F811 function test_add_header_wrong_period (line 69) | def test_add_header_wrong_period(smc_handler): # noqa: F811 function test_add_header_wrong_shard (line 121) | def test_add_header_wrong_shard(smc_handler): # noqa: F811 function test_double_add_header (line 174) | def test_double_add_header(smc_handler): # noqa: F811 FILE: tests/contract/test_compile.py function test_compile_smc (line 9) | def test_compile_smc(): FILE: tests/contract/test_log_emission.py function test_log_emission (line 19) | def test_log_emission(smc_handler): # noqa: F811 FILE: tests/contract/test_notary_sample.py function test_normal_update_notary_sample_size (line 20) | def test_normal_update_notary_sample_size(smc_handler): # noqa: F811 function test_register_then_deregister (line 84) | def test_register_then_deregister(smc_handler): # noqa: F811 function test_deregister_then_register (line 107) | def test_deregister_then_register(smc_handler): # noqa: F811 function test_series_of_deregister_starting_from_top_of_the_stack (line 139) | def test_series_of_deregister_starting_from_top_of_the_stack(smc_handler... function test_series_of_deregister_starting_from_bottom_of_the_stack (line 186) | def test_series_of_deregister_starting_from_bottom_of_the_stack(smc_hand... function test_get_member_of_committee_without_updating_sample_size (line 239) | def test_get_member_of_committee_without_updating_sample_size(smc_handle... function test_get_member_of_committee_with_updated_sample_size (line 271) | def test_get_member_of_committee_with_updated_sample_size(smc_handler): ... function test_committee_lists_generated_are_different (line 294) | def test_committee_lists_generated_are_different(smc_handler): # noqa: ... function test_get_member_of_committee_with_non_member (line 316) | def test_get_member_of_committee_with_non_member(smc_handler): # noqa: ... function test_committee_change_with_deregister_then_register (line 334) | def test_committee_change_with_deregister_then_register(smc_handler): #... function test_get_sample_result (line 360) | def test_get_sample_result(smc_handler): # noqa: F811 FILE: tests/contract/test_registry_management.py function test_normal_register (line 14) | def test_normal_register(smc_handler): # noqa: F811 function test_register_without_enough_ether (line 58) | def test_register_without_enough_ether(smc_handler): # noqa: F811 function test_double_register (line 83) | def test_double_register(smc_handler): # noqa: F811 function test_normal_deregister (line 106) | def test_normal_deregister(smc_handler): # noqa: F811 function test_deregister_then_register (line 136) | def test_deregister_then_register(smc_handler): # noqa: F811 function test_normal_release_notary (line 175) | def test_normal_release_notary(smc_handler): # noqa: F811 function test_instant_release_notary (line 207) | def test_instant_release_notary(smc_handler): # noqa: F811 function test_deregister_and_new_notary_register (line 239) | def test_deregister_and_new_notary_register(smc_handler): # noqa: F811 FILE: tests/contract/test_submit_vote.py function test_normal_submit_vote (line 20) | def test_normal_submit_vote(smc_handler): # noqa: F811 function test_double_submit_vote (line 100) | def test_double_submit_vote(smc_handler): # noqa: F811 function test_submit_vote_by_notary_sampled_multiple_times (line 151) | def test_submit_vote_by_notary_sampled_multiple_times(smc_handler): # n... function test_submit_vote_by_non_eligible_notary (line 197) | def test_submit_vote_by_non_eligible_notary(smc_handler): # noqa: F811 function test_submit_vote_without_add_header_first (line 237) | def test_submit_vote_without_add_header_first(smc_handler): # noqa: F811 function test_submit_vote_with_invalid_args (line 279) | def test_submit_vote_with_invalid_args(smc_handler, period, shard_id, ch... function test_submit_vote_then_deregister (line 314) | def test_submit_vote_then_deregister(smc_handler): # noqa: F811 FILE: tests/contract/utils/common_utils.py function update_notary_sample_size (line 9) | def update_notary_sample_size(smc_handler): function batch_register (line 19) | def batch_register(smc_handler, start, end): function fast_forward (line 27) | def fast_forward(smc_handler, num_of_periods): FILE: tests/contract/utils/notary_account.py class NotaryAccount (line 6) | class NotaryAccount: method __init__ (line 9) | def __init__(self, index): method private_key (line 13) | def private_key(self): method checksum_address (line 17) | def checksum_address(self): method canonical_address (line 21) | def canonical_address(self): FILE: tests/contract/utils/sample_helper.py function get_notary_pool_list (line 13) | def get_notary_pool_list(smc_handler): function sampling (line 22) | def sampling(smc_handler, shard_id): function get_committee_list (line 54) | def get_committee_list(smc_handler, shard_id): function get_sample_result (line 63) | def get_sample_result(smc_handler, notary_index): FILE: tests/handler/test_log_handler.py function contract (line 61) | def contract(): function test_get_logs_without_forks (line 75) | def test_get_logs_without_forks(contract, smc_testing_config): function test_get_logs_with_forks (line 105) | def test_get_logs_with_forks(contract, smc_testing_config): FILE: tests/handler/test_shard_tracker.py function test_normal_log_parser (line 110) | def test_normal_log_parser(raw_log, event_name, attr_tuples): function test_log_parser_with_wrong_log_content (line 146) | def test_log_parser_with_wrong_log_content(raw_log, event_name): function test_status_checking_functions (line 151) | def test_status_checking_functions(smc_handler, smc_testing_config): # ... FILE: tests/handler/test_smc_handler.py function test_make_transaction_context (line 16) | def test_make_transaction_context(): function test_make_call_context (line 36) | def test_make_call_context(): FILE: tests/handler/utils/config.py function get_sharding_testing_config (line 10) | def get_sharding_testing_config(): FILE: tools/vyper_compile_script.py function generate_compiled_json (line 8) | def generate_compiled_json(file_path: str) -> None: function main (line 25) | def main() -> None: