├── .credo.exs ├── .formatter.exs ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── fixture └── vcr_cassettes │ ├── eth_block_number.json │ ├── eth_call.json │ ├── eth_estimate_gas.json │ ├── eth_gas_price.json │ ├── eth_get_block_by_number.json │ ├── eth_get_block_transaction_count_by_number.json │ ├── eth_get_code.json │ ├── eth_get_storage_at.json │ ├── eth_get_transaction_by_block_number_and_index.json │ ├── eth_get_transaction_by_hash.json │ ├── eth_get_transaction_count.json │ ├── eth_get_transaction_receipt.json │ ├── eth_get_uncle_by_block_number_and_index.json │ ├── eth_send_raw_transaction.json │ ├── get_balance.json │ ├── get_balances.json │ ├── get_block_and_uncle_rewards.json │ ├── get_blocks_mined.json │ ├── get_blocks_mined_offset.json │ ├── get_blocks_mined_page.json │ ├── get_contract_abi.json │ ├── get_contract_execution_status.json │ ├── get_contract_execution_status_error.json │ ├── get_contract_source.json │ ├── get_eth_price.json │ ├── get_eth_supply.json │ ├── get_internal_transactions.json │ ├── get_internal_transactions_by_hash.json │ ├── get_internal_transactions_endblock.json │ ├── get_internal_transactions_offset.json │ ├── get_internal_transactions_page.json │ ├── get_internal_transactions_sort.json │ ├── get_internal_transactions_startblock.json │ ├── get_logs.json │ ├── get_token_balance.json │ ├── get_token_supply.json │ ├── get_transaction_receipt_status.json │ ├── get_transaction_receipt_status_pre_byzantium.json │ ├── get_transactions.json │ ├── get_transactions_endblock.json │ ├── get_transactions_offset.json │ ├── get_transactions_page.json │ ├── get_transactions_sort.json │ ├── get_transactions_startblock.json │ ├── get_uncles_mined.json │ ├── get_uncles_mined_offset.json │ └── get_uncles_mined_page.json ├── lib ├── etherscan.ex └── etherscan │ ├── api.ex │ ├── api │ ├── accounts.ex │ ├── blocks.ex │ ├── contracts.ex │ ├── logs.ex │ ├── proxy.ex │ ├── stats.ex │ └── transactions.ex │ ├── constants.ex │ ├── types │ ├── block_reward.ex │ ├── block_reward_uncle.ex │ ├── contract_status.ex │ ├── internal_transaction.ex │ ├── log.ex │ ├── mined_block.ex │ ├── mined_uncle.ex │ ├── proxy_block.ex │ ├── proxy_transaction.ex │ ├── proxy_transaction_receipt.ex │ └── transaction.ex │ └── util.ex ├── mix.exs ├── mix.lock └── test ├── etherscan ├── api │ ├── accounts_test.exs │ ├── blocks_test.exs │ ├── contracts_test.exs │ ├── logs_test.exs │ ├── proxy_test.exs │ ├── stats_test.exs │ └── transactions_test.exs └── util_test.exs ├── etherscan_test.exs └── test_helper.exs /.credo.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/.credo.exs -------------------------------------------------------------------------------- /.formatter.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/.formatter.exs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/README.md -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_block_number.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_block_number.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_call.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_call.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_estimate_gas.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_estimate_gas.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_gas_price.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_gas_price.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_block_by_number.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_block_by_number.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_block_transaction_count_by_number.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_block_transaction_count_by_number.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_code.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_code.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_storage_at.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_storage_at.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_transaction_by_block_number_and_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_transaction_by_block_number_and_index.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_transaction_by_hash.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_transaction_by_hash.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_transaction_count.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_transaction_count.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_transaction_receipt.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_transaction_receipt.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_get_uncle_by_block_number_and_index.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_get_uncle_by_block_number_and_index.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/eth_send_raw_transaction.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/eth_send_raw_transaction.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_balance.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_balance.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_balances.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_balances.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_block_and_uncle_rewards.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_block_and_uncle_rewards.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_blocks_mined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_blocks_mined.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_blocks_mined_offset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_blocks_mined_offset.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_blocks_mined_page.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_blocks_mined_page.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_contract_abi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_contract_abi.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_contract_execution_status.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_contract_execution_status.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_contract_execution_status_error.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_contract_execution_status_error.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_contract_source.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_contract_source.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_eth_price.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_eth_price.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_eth_supply.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_eth_supply.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_internal_transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_internal_transactions.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_internal_transactions_by_hash.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_internal_transactions_by_hash.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_internal_transactions_endblock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_internal_transactions_endblock.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_internal_transactions_offset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_internal_transactions_offset.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_internal_transactions_page.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_internal_transactions_page.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_internal_transactions_sort.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_internal_transactions_sort.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_internal_transactions_startblock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_internal_transactions_startblock.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_logs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_logs.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_token_balance.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_token_balance.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_token_supply.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_token_supply.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transaction_receipt_status.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transaction_receipt_status.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transaction_receipt_status_pre_byzantium.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transaction_receipt_status_pre_byzantium.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transactions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transactions.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transactions_endblock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transactions_endblock.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transactions_offset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transactions_offset.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transactions_page.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transactions_page.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transactions_sort.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transactions_sort.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_transactions_startblock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_transactions_startblock.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_uncles_mined.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_uncles_mined.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_uncles_mined_offset.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_uncles_mined_offset.json -------------------------------------------------------------------------------- /fixture/vcr_cassettes/get_uncles_mined_page.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/fixture/vcr_cassettes/get_uncles_mined_page.json -------------------------------------------------------------------------------- /lib/etherscan.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan.ex -------------------------------------------------------------------------------- /lib/etherscan/api.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api.ex -------------------------------------------------------------------------------- /lib/etherscan/api/accounts.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api/accounts.ex -------------------------------------------------------------------------------- /lib/etherscan/api/blocks.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api/blocks.ex -------------------------------------------------------------------------------- /lib/etherscan/api/contracts.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api/contracts.ex -------------------------------------------------------------------------------- /lib/etherscan/api/logs.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api/logs.ex -------------------------------------------------------------------------------- /lib/etherscan/api/proxy.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api/proxy.ex -------------------------------------------------------------------------------- /lib/etherscan/api/stats.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api/stats.ex -------------------------------------------------------------------------------- /lib/etherscan/api/transactions.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/api/transactions.ex -------------------------------------------------------------------------------- /lib/etherscan/constants.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/constants.ex -------------------------------------------------------------------------------- /lib/etherscan/types/block_reward.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/block_reward.ex -------------------------------------------------------------------------------- /lib/etherscan/types/block_reward_uncle.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/block_reward_uncle.ex -------------------------------------------------------------------------------- /lib/etherscan/types/contract_status.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/contract_status.ex -------------------------------------------------------------------------------- /lib/etherscan/types/internal_transaction.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/internal_transaction.ex -------------------------------------------------------------------------------- /lib/etherscan/types/log.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/log.ex -------------------------------------------------------------------------------- /lib/etherscan/types/mined_block.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/mined_block.ex -------------------------------------------------------------------------------- /lib/etherscan/types/mined_uncle.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/mined_uncle.ex -------------------------------------------------------------------------------- /lib/etherscan/types/proxy_block.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/proxy_block.ex -------------------------------------------------------------------------------- /lib/etherscan/types/proxy_transaction.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/proxy_transaction.ex -------------------------------------------------------------------------------- /lib/etherscan/types/proxy_transaction_receipt.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/proxy_transaction_receipt.ex -------------------------------------------------------------------------------- /lib/etherscan/types/transaction.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/types/transaction.ex -------------------------------------------------------------------------------- /lib/etherscan/util.ex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/lib/etherscan/util.ex -------------------------------------------------------------------------------- /mix.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/mix.exs -------------------------------------------------------------------------------- /mix.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/mix.lock -------------------------------------------------------------------------------- /test/etherscan/api/accounts_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/api/accounts_test.exs -------------------------------------------------------------------------------- /test/etherscan/api/blocks_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/api/blocks_test.exs -------------------------------------------------------------------------------- /test/etherscan/api/contracts_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/api/contracts_test.exs -------------------------------------------------------------------------------- /test/etherscan/api/logs_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/api/logs_test.exs -------------------------------------------------------------------------------- /test/etherscan/api/proxy_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/api/proxy_test.exs -------------------------------------------------------------------------------- /test/etherscan/api/stats_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/api/stats_test.exs -------------------------------------------------------------------------------- /test/etherscan/api/transactions_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/api/transactions_test.exs -------------------------------------------------------------------------------- /test/etherscan/util_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan/util_test.exs -------------------------------------------------------------------------------- /test/etherscan_test.exs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/l1h3r/etherscan/HEAD/test/etherscan_test.exs -------------------------------------------------------------------------------- /test/test_helper.exs: -------------------------------------------------------------------------------- 1 | ExUnit.start() 2 | --------------------------------------------------------------------------------