Blockchain explorer for Ethereum based network and a tool for inspecting and analyzing EVM based blockchains.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
blockscout/apps/explorer/priv/repo/migrations
Никита Поздняков 340a76d02f
Allow gasUsed in failed internal txs; Leave error field for staticcall
2 years ago
..
scripts Take away block hash, block index dups processing script from migration 5 years ago
.gitkeep Umbrellify 7 years ago
20180117221921_create_address.exs Update to Ecto 3.0 6 years ago
20180117221922_create_blocks.exs Update to Ecto 3.0 6 years ago
20180117221923_create_transactions.exs Update to Ecto 3.0 6 years ago
20180212222309_create_logs.exs Update to Ecto 3.0 6 years ago
20180221001948_create_internal_transactions.exs Update to Ecto 3.0 6 years ago
20180424203101_create_market_history.exs Merge branch 'master' into optimized-indexer 7 years ago
20180508183700_create_users.exs Add user accounts (#176) 7 years ago
20180508191045_create_user_contacts.exs Add user accounts (#176) 7 years ago
20180518221256_create_smart_contract_verified.exs Add smart contract verification using the solidity cli to process code 7 years ago
20180522154252_create_btree_gist_extension.exs Add API to calculate a block reward for a block (#223) 7 years ago
20180522154253_create_block_rewards.exs Add API to calculate a block reward for a block (#223) 7 years ago
20180606135149_create_tokens.exs Catalog token transfers and tokens during indexing (#484) 6 years ago
20180606135150_create_token_transfers.exs Add transaction hash to address indexes for transaction and token_transfer tables to optimize count query 6 years ago
20180626143840_add_inserted_at_index_to_blocks.exs Add `inserted_at` index to `blocks` to avoid sequential table scan 7 years ago
20180717204948_create_address_coin_balances.exs Update to Ecto 3.0 6 years ago
20180817021704_create_address_token_balances.exs Update to Ecto 3.0 6 years ago
20180821142139_create_address_names.exs Add support for named addresses (#590) 6 years ago
20180917182319_create_block_second_degree_relations.exs Update to Ecto 3.0 6 years ago
20180918200001_create_transaction_fork.exs Transaction.Fork 6 years ago
20180919175123_alter_token_decimals_to_bigint.exs Alter Token decimals column to bigint 6 years ago
20181008195723_create_administrators.exs Add bare admin panel (#927) 6 years ago
20181011193212_add_fields_to_internal_transactions.exs Add 'block_number' and 'transaction_index' in 'internal_transaction' 6 years ago
20181015173318_add_case_insensitive_extension.exs Add bare admin panel (#927) 6 years ago
20181015173319_modify_users_username.exs Add bare admin panel (#927) 6 years ago
20181016163236_modify_user_contacts_email.exs Add bare admin panel (#927) 6 years ago
20181017141409_add_index_to_internal_transaction_table.exs Alter 'Chain.address_to_internal_transactions' query 6 years ago
20181024141113_internal_transactions_composite_primary_key.exs Switch internal_transactions to composite primary key 6 years ago
20181024164623_logs_composite_primary_key.exs Switch logs to composite primary key 6 years ago
20181024172010_token_transfers_composite_primary_key.exs Switch token_transfers to composite primary key 6 years ago
20181026180921_create_address_current_token_balances.exs Update to Ecto 3.0 6 years ago
20181029174420_update_tokens_table_decimals_from_bigint_to_numeric.exs migration to change type of field decimals 6 years ago
20181106152300_add_nonce_to_addresses.exs Add script to migrate nonce to addresses 6 years ago
20181107164103_eip6.exs Separate schema and data migration for EIP-6 6 years ago
20181108205650_additional_internal_transaction_constraints.exs Actualize tests 4 years ago
20181121170616_add_block_number_to_token_transfers.exs Add script to migrate block_number to token transfers 6 years ago
20181126203826_add_index_to_addresses.exs Add index to addresses table 6 years ago
20181206200140_rename_block_rewards_to_emission_rewards.exs Rename block_rewards to emission_rewards 6 years ago
20181206200312_create_new_block_rewards.exs Add block_reward import 6 years ago
20181212115448_add_indexes_to_token_transfers.exs Fix Address Trasaction query 6 years ago
20181213111656_add_metadata_field_to_address_names.exs add metadata column to address_names 6 years ago
20181221143000_create_blocks_miner_hash_index.exs Use index and COUNT(*) for address_to_validation_count 6 years ago
20181221145054_add_contract_methods.exs feat: decoding candidates for unverified contracts 6 years ago
20190102141900_index_current_token_holders.exs Use COUNT(*) of current_token_balances to eliminate TokenHoldersCounter 6 years ago
20190114204640_add_tokens_holder_count.exs Token holder_count 6 years ago
20190116082843_add_created_contract_indexed_at_to_transactions.exs add index 6 years ago
20190118040301_create_tokens_primary_key.exs Tokens needs primary key to be preloaded 6 years ago
20190118152240_block_second_degree_relations_composite_primary_key.exs Block.SecondDegreeRelation needs primary key to be preloaded 6 years ago
20190122125815_change_transaction_error_constraint.exs mix format 6 years ago
20190124082812_add_index_on_transaction_nonce_and_from_address_hash.exs fix dialyzer 6 years ago
20190208113202_add_unique_index_to_rewards.exs add unique index on address_hash, block_hash and address_type for block_rewards 6 years ago
20190208143201_add_index_on_address_hash_block_number_and_token_contract_address_hash_for_current_token_balance.exs add index for address_current_token_balances 6 years ago
20190213180502_add_earliest_processing_start_to_transactions.exs feat: show an approximation of transaction time 6 years ago
20190214135850_add_index_on_block_number_to_address_token_balances.exs add index on block number to address token balances 6 years ago
20190215080049_add_index_on_fetched_coin_balance_to_addresses.exs add indexes required for blocks runner 6 years ago
20190215093358_add_compound_index_address_token_balances.exs add indexes required for blocks runner 6 years ago
20190215105501_add_constructor_arguments_to_smart_contracts.exs format 6 years ago
20190219082636_add_indexes_for_block_reward_query.exs add indexes for block_reward query 6 years ago
20190228102650_add_index_created_contract_address_hash.exs Rename 20190228102650_add_index_created_contract_address_has.exs to 20190228102650_add_index_created_contract_address_hash.exs 6 years ago
20190228152333_change_constructor_arguments_to_text.exs fix: constructor_arguments must be type `text` 6 years ago
20190228220746_add_internal_transactions_indexed_at_to_blocks.exs Use trace_replayBlockTransactions API for faster tracing 6 years ago
20190301095620_remove_duplicated_indexes.exs mix format 6 years ago
20190301120328_add_index_to_consensus.exs add index to blocks' consensus 6 years ago
20190305095926_add_index_to_value_fetched_at.exs add index to value_fetched_at 6 years ago
20190313085740_add_index_symobl_in_tokens.exs allow to search by token symbol 6 years ago
20190313103912_change_transactions_v_column_type.exs modify migration 6 years ago
20190314084907_add_index_to_to_address_hash.exs add incoming transactions count to contract view 6 years ago
20190318151809_add_inserted_at_index_to_accounts.exs feat: rpc address to list addresses 6 years ago
20190319081821_create_decompiled_smart_contracts.exs create separate migration 6 years ago
20190321185644_add_old_value_for_current_token_balances.exs Optimize token holder count updates when importing address current balances 6 years ago
20190325081658_remove_unique_address_hash_decompiled_contracts.exs mix format 6 years ago
20190403080447_add_full_text_search_tokens.exs add basic autocomplete 6 years ago
20190421143300_add_index_to_bsdr.exs Use eth_getUncleByBlockHashAndIndex for uncle block fetching 6 years ago
20190424170833_change_block_size_to_nullable.exs Make block size field nullable 6 years ago
20190508152922_add_old_block_hash_for_transactions.exs Force block refetch if transaction is recollated in a different block 6 years ago
20190513134025_add_refetch_needed_to_block.exs Add consensus filter to AddRefetchNeededToBlock migration 6 years ago
20190516140202_add_address_hash_index_to_decompiled_smart_contracts.exs fix: add fields for contrat filter performance 6 years ago
20190516160535_add_decompiled_and_verified_flag_to_addresses.exs fix: add fields for contrat filter performance 6 years ago
20190521104412_create_staking_pools.exs Reduce DB migrations 4 years ago
20190523112839_create_staking_pools_delegators.exs Reduce DB migrations 4 years ago
20190613065856_add_tx_hash_inserted_at_index.exs mix format 6 years ago
20190619154943_reduce_transaction_status_constraint.exs Reduce transaction status constraint 6 years ago
20190625085852_add_additional_contract_fields.exs add external libraries 6 years ago
20190709043832_create_transaction_stats.exs Added Transaction.History.Historian and TransactionStats w/ migration 5 years ago
20190709103104_add_external_libraries_to_smart_contracts.exs fix style issues 5 years ago
20190807111216_remove_duplicate_indexes.exs Reduce DB migrations 4 years ago
20190807113117_create_suggested_indexes.exs create suggested indexes 5 years ago
20190827120224_add_index_on_token_transfer_token_id.exs optimize ERC721 inventory query 5 years ago
20190905083522_create_token_instances.exs stream unfetched token instances 5 years ago
20190910170703_create_indexes_for_block_number_in_token_transfers_and_transactions.exs remove transaction index creation 5 years ago
20191007082500_add_indexes_for_token_instances_query.exs add indexes for token instances fetching queries 5 years ago
20191009121635_add_token_transfer_sorting_indexes.exs optimize token token transfers query 5 years ago
20191010075740_add_error_to_token_instances.exs add error field to token instances 5 years ago
20191018120546_create_pending_block_operations.exs Add pending block operations 5 years ago
20191018140054_add_pending_internal_txs_operation.exs Take away block hash, block index dups processing script from migration 5 years ago
20191121064805_add_block_hash_and_block_index_to_logs.exs New indexing scheme update migration 5 years ago
20191122062035_add_block_hash_to_token_transfers.exs New indexing scheme update migration 5 years ago
20191128124415_remove_duplicate_indexes_token_entities.exs improve migrations 5 years ago
20191203112646_internal_transactions_add_to_address_hash_index.exs Reorganize queries and indexes for internal_transactions table 5 years ago
20191208135613_block_rewards_block_hash_partial_index.exs Speedup blocks_without_reward_query 5 years ago
20191218120138_logs_block_number_index_index.exs Remove dropping of index logs_block_number_index because it never exists in migrations now 5 years ago
20191220113006_pending_block_operations_block_hash_partial_index.exs Partial index on pending_block_operations table on block hash where fetch_internal_transactions 5 years ago
20200214152058_add_token_id_to_token_balances.exs Add ERC-1155 support for token transfers and token balances 3 years ago
20200410115841_create_index_address_current_token_balances_token_contract_address_hash_value.exs Speedup tokenn holders query 5 years ago
20200410141202_create_index_token_transfers_token_contract_address_hash_block_number.exs Speedup list of token transfers query per token and inventory queries 5 years ago
20200421102450_pending_txs.exs Finally speedup pending tx list 5 years ago
20200424070607_drop_block_rewards_address_hash_address_type_block_hash_index.exs Fix migration 5 years ago
20200518075748_create_index_blocks_miner_hash_number_index.exs Performance fix: index on blocks [miner_hash, number] 5 years ago
20200521090250_recreate_staking_tables.exs Reduce DB migrations 4 years ago
20200521170002_create_token_transfers_token_contract_address_hash_token_id_block_number_index.exs Modified direction in index 5 years ago
20200525115811_address_coin_balances_daily.exs Store ddresses coin balances changes daily 5 years ago
20200527144742_add_counters_table.exs Last values of fetched counters from DB if cache is empty 5 years ago
20200608075122_alter_transactions_add_error_reason.exs Display and store revert reason on demand 5 years ago
20200806125649_token_add_bridged_column.exs Bridged tokens 4 years ago
20200807064700_bridged_tokens_table.exs Bridged tokens 4 years ago
20200812143050_add_addresses_contract_code_index.exs Easy verification from verified twins 4 years ago
20200904075501_add_bridged_token_custom_metadata.exs Import bridged tokens custom metadata 4 years ago
20200929075625_add_bridged_token_type.exs AMB bridged tokens 4 years ago
20201026093652_transactions_stat_add_gas_usage_column.exs Gas usage per day 4 years ago
20201214203532_support_sourcify.exs Verify via metadata json 4 years ago
20210219080523_add_tags.exs Account/Watchlist/Notifications (#13) 2 years ago
20210226154732_add_exchange_rate_column_to_bridged_tokens.exs Store bridged token price in the DB 4 years ago
20210309104122_add_bridged_token_custom_cap.exs LP tokens total liqudity 4 years ago
20210331074008_add_pool_name_description.exs Add pool names display to Staking DApp 4 years ago
20210422115740_add_token_id_to_current_token_balances.exs ERC-1155 transfers support in UI 3 years ago
20210423084253_address_current_token_balances_add_token_id_to_unique_index.exs ERC-1155: token balanaces indexer update 3 years ago
20210423091652_address_token_balances_add_token_id_to_unique_index.exs ERC-1155: token balanaces indexer update 3 years ago
20210423094801_address_token_balances_change_unfetched_token_balances_unique_index.exs ERC-1155: token balanaces indexer update 3 years ago
20210423115108_extend_token_transfers_for_erc1155.exs ERC-1155 finalization 3 years ago
20210524165427_min_missing_block_number.exs Speedup intial query for catchup fetcher 4 years ago
20210527093756_transaction_stats_add_total_fee_column.exs Calc total fee per day 4 years ago
20210616120552_smart_contracts_add_is_vyper_flag.exs Vyper contract verification 3 years ago
20210701084814_support_partial_match.exs add partially verified support 3 years ago
20210811140837_add_1559_support.exs Add support EIP-1559 3 years ago
20210823144531_tokens_add_metadata_fetch_flag.exs Add skip_metadata flag for token if indexer failed to get any of [name, symbol, decimals, totalSupply] 3 years ago
20210916194004_add_file_path_for_sourcify_contracts.exs Add path for sources from Sourcify 3 years ago
20211006121008_add_block_is_empty_flag.exs Empty blocks sanitizer 3 years ago
20211013190346_remove_duplicates_of_current_token_balances.exs Update token type in balances tables 3 years ago
20211017135545_migrate_optimization_runs_to_int8.exs optimiation_runs: int4 -> int8 3 years ago
20211018072347_add_is_empty_index.exs Empty blocks sanitizer 3 years ago
20211018073652_add_token_balances_contract_address_hash_index.exs PGAnalyze index suggestions 3 years ago
20211018164843_transactions_block_number_index.exs PGAnalyze index suggestions 3 years ago
20211018170533_add_address_token_balances_address_hash_token_contract_address_hash_block_number_index.exs PGAnalyze index suggestions 3 years ago
20211018170638_add_logs_address_hash_transaction_hash_index.exs PGAnalyze index suggestions 3 years ago
20211029085117_drop_block_rewards_block_hash_partial_index.exs PGAnalyze index suggestions 3 years ago
20211115164817_add_check_for_bytecode_actuality.exs Add daily bytecode verifcation to warn about metamorphic contracts vulnerability 3 years ago
20211203115010_add_contract_verification_status_table.exs Add verification via standard JSON input 3 years ago
20211204184037_address_add_gas_used.exs Save gas_used in addresses table 3 years ago
20211206071033_modify_address_gas_used_bigint.exs Fix typo in DB migration module name 3 years ago
20211210184136_add_display_name_to_address_tag.exs Remove redundant indexes 2 years ago
20211217201759_add_has_error_in_iternal_txs_field_to_transaction.exs Add view for internal transactions error 3 years ago
20220111085751_address_add_counters.exs Store address transactions/token transfers in the DB 3 years ago
20220303083252_smart_contracts_contract_code_md5.exs Speedup query for getting verified smart-contract bytecode twin 3 years ago
20220306091504_add_implementation_name.exs Contract names display improvement 3 years ago
20220527131249_add_implementation_fields.exs Improve working with contracts implementations (#5561) 2 years ago
20220622114402_remove_staking_tables.exs Drop staking_polls & stakin_pools_delegators tables with CASCADE flag 2 years ago
20220622140604_remove_bridged_tokens.exs Remove bridged tokens functionality from Blockscout core 2 years ago
20220706101103_address_coin_balances_daily_add_primary_key.exs Add primary keys for diff tables 2 years ago
20220706102257_address_coin_balances_add_primary_key.exs Add primary keys for diff tables 2 years ago
20220706102504_transactions_forks_add_primary_key.exs Add primary keys for diff tables 2 years ago
20220706102746_block_rewards_add_primary_key.exs Add primary keys for diff tables 2 years ago
20220706105925_emission_rewards_add_primary_key.exs Add primary keys for diff tables 2 years ago
20220706111510_address_names_add_primary_key.exs Add primary keys for diff tables 2 years ago
20220804114005_create_event_notifications.exs Fix large postgres notifications (#5850) 2 years ago
20220902083436_extend_token_name_type.exs Extend token name from string to text type 2 years ago
20220902103213_create_index_token_transfers_token_ids.exs Added token_transfers and token_instances migrations 2 years ago
20220902103527_create_indexes_token_instances_token_contract_address_hash_token_id.exs Added token_transfers and token_instances migrations 2 years ago
20220919105140_add_method_id_index.exs Fix index creation migration 2 years ago
20220926122620_extend_token_symbol_type.exs Extend token symbol type varchar(255) -> text 2 years ago
20221104104635_create_token_transfer_token_id_migrator_progress.exs Token id migration process 2 years ago
20221114113853_remove_not_null_constraint_from_abi.exs Add support for yul verification via rust microservice 2 years ago
20221114121811_drop_internal_transactions_order_index.exs Drop internal transactions order index 2 years ago
20221117075456_modify_address_token_balances_indexes.exs Fix token balances migrations 2 years ago
20221117080657_modify_address_current_token_balances_indexes.exs Fix token balances migrations 2 years ago
20221120184715_add_json_compiler_settings.exs Smart contract verification improvements (#6481) 2 years ago
20221125074820_drop_required_output_constraint.exs Allow gasUsed in failed internal txs; Leave error field for staticcall 2 years ago
20221126103223_add_txs_indexes.exs Cast pagination on address to one order_by set 2 years ago