Open lukaw3d opened 1 year ago
For finding erc20 transfer/approval data, you can query the emerald events endpoint and filter by type=evm.log
curl "localhost:8008/v1/emerald/events?type=evm.log" | jq
anyone got blocks with ERC-20 activity on sapphire?
Account with ERC-20 activity on emerald: https://explorer.dev.oasis.io/mainnet/emerald/address/0xba504818fdd8d3dba2ef8fd9b4f4d5c71ad1d1d3/tokens/erc-20
Anyone have a tx_hash that maps to multiple transactions? (multiple runtime tx_hash and/or tx_eth_hash)
consensus.Deposit transaction without eth_hash https://explorer.dev.oasis.io/mainnet/emerald/tx/88c78e1d1d4ee1161408c6a748f08e7aa5a1e2fc934622c2a8a81ab5946cabfd
consensus.Withdraw https://explorer.dev.oasis.io/mainnet/emerald/tx/7e4d85955c9b70102889fda670db38e53cae02f7d8a5bab3a89e8158f31f8412
Sapphire failed transaction: https://explorer.dev.oasis.io/mainnet/sapphire/tx/0x7b43eb170434af3d2b069b3a15d7b7f44dd05669900a6ccb9fef2e33a02112c2
Sapphire account that should have ERC-20 activity (as per blockscout) https://explorer.dev.oasis.io/mainnet/sapphire/address/0x643c8A8120eFB675E82C5C58d8D473f5aDd0B5e6
Block that exists on Emerald mainnet, Sapphire mainnet, Sapphire testnet: https://explorer.dev.oasis.io/search?q=123
Emerald contract account: https://explorer.dev.oasis.io/mainnet/emerald/address/oasis1qrrmuaed6numjju8gajzn68tn2edlvycjc50nfva
Sapphire contract account: https://explorer.dev.oasis.io/mainnet/sapphire/address/oasis1qzdk2wmgfn0shn8g0x8fcck2wspq60rtk56z5k4g
verified contracts on sapphire
e.g. https://explorer.dev.oasis.io/testnet/sapphire/address/0xF190579aE5E6aac6cEBA5ea3F48DAC66C93925c2
@mitjat oasisindexer=> select runtime, contract_address from chain.evm_contracts where runtime='sapphire' and abi is not null; runtime | contract_address
----------+------------------------------------------------ sapphire | oasis1qpwe6h0hw6s0x4skujhznld065300p83wgxnvu0n sapphire | oasis1qqpdzd8rlnjveqpzc3fwx7swr55gt6m3vyw0clhq sapphire | oasis1qqq0z02ld7h6k820cfdw0hn9pa9cyf8a3yfvk8vy sapphire | oasis1qrlyfhjmfstfqxqdejd6jdqgkfmhep67cynfrasy sapphire | oasis1qrz4lxv2gkczghq63yfzkas3734q9xsrdc5lm7pf sapphire | oasis1qz9j6xclumlt7tyr0h29r3kw6zx5ka6zfusnyst9 sapphire | oasis1qpzn0sxwvyd5wa9x2p6mmjm62rya89vrtgwjj8jl sapphire | oasis1qp30s67wevt54dhza5fnepescupwqwgjwssl6ylq sapphire | oasis1qpdgv5nv2dhxp4q897cgag6kgnm9qs0dccwnckuu sapphire | oasis1qqrpqlpmuaha3mkuv2srl4s92mnfp9e8aveh9re2 sapphire | oasis1qpzuxgtt9mtugx4wltujtfu839l5u37utynfvyfl sapphire | oasis1qrhtvz6m70gwy3umnfnvnd73uzlz2fkxdudpltcm sapphire | oasis1qrnmln59pct7zr37seupnyfy260ghpxskc72wvrf sapphire | oasis1qzehkrh37ee5sdmpkyllkzzvfste39atevhh3lpv sapphire | oasis1qzhaj3sm7a58h3hqz5qa4k2zcfe0wc4zqccdazg0 (15 rows) testnet: runtime | contract_address
----------+------------------------------------------------ sapphire | oasis1qqmkv7dpy5rvkacqp3hw9ewcafg62rw4nvaptwkx sapphire | oasis1qp56vqfvtaxyacae42xusy2md9kf8zz3tvdkk2ty sapphire | oasis1qpwrg6784q4y8awyzlhgexm9fsmk72l9xv4z4gxj sapphire | oasis1qqgjk80z7r6rd5nhvcn8xnqj657cvwvtfvff4eq6 sapphire | oasis1qq0qn02ue8d0q32luhkkrnr00cyuwt29f53vxywr sapphire | oasis1qzeqw47e3mt7hr585zztzsfjkvn4cwf23qp8n0e2 sapphire | oasis1qqxw75qdktva3fx238xus58ukkxyg6gvccvgye0a sapphire | oasis1qqv4emecl5hqqqxn0q4au9nrwtca4wplkypg76zx sapphire | oasis1qr2d6j38nu93tmdlu5q9lefppr7psjk0suuxez9m sapphire | oasis1qr3jmcm5xeszylcarkcrmwjynvsm9fyxzydzawgt sapphire | oasis1qqmh0punjtt9sfqu3lkgfem8skl6zqv2wcnnpp7p (11 rows)
New events:
https://explorer.dev.oasis.io/testnet/sapphire/address/0xC3ecf872F643C6238Aa20673798eed6F7dA199e9 https://explorer.dev.oasis.io/testnet/sapphire/address/oasis1qrwncs459lauc77zw23efdn9dmfcp23cxv095l5z
https://explorer.dev.oasis.io/testnet/sapphire/block/3038912#transactions https://explorer.dev.oasis.io/testnet/sapphire/block/3038913/events?page=2
https://explorer.dev.oasis.io/testnet/sapphire/block/3038943#transactions https://explorer.dev.oasis.io/testnet/sapphire/block/3038944/events#events https://explorer.dev.oasis.io/testnet/sapphire/block/3216359/events#events
An event with an error (failed deposit) failed event: https://explorer.dev.oasis.io/mainnet/emerald/block/7253084
(transaction "succeeded"): https://explorer.dev.oasis.io/mainnet/emerald/tx/7e91c5a459e3f46751a3f599e902baa1728fab4693c857c5a6ad8f52a82c07ff
https://explorer.dev.oasis.io/mainnet/emerald/address/0xBB610d581409Ce06240771a97821d5ee80Ae4F2E
Self-deposit without explicit "to" field https://explorer.dev.oasis.io/mainnet/sapphire/tx/c72d51780c9db7614fb4419d4c82a711ac0c3a430f2737e1f38961d7d019229a and corresponding event https://explorer.dev.oasis.io/mainnet/sapphire/block/550815
Account with incorrectly missing balance
Explorer https://explorer.dev.oasis.io/mainnet/sapphire/address/0x0A400fb7b16760fF1ed77192cFE45cC303BcB980
Balance n/a
Nexus https://nexus.oasis.io/v1/sapphire/accounts/oasis1qqqccl2rsxrzafm0ggf7pf2rwwgec4nh7yvuadmn
"balances":[],"evm_balances":[],"stats":{"num_txns":0,"total_received":"0","total_sent":"0"}
RPC curl 'https://sapphire.oasis.io/' -H 'content-type: application/json' --data-raw '[{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"},{"method":"eth_getBalance","params":["0x0a400fb7b16760ff1ed77192cfe45cc303bcb980","latest"],"id":2,"jsonrpc":"2.0"}]'
"result":"0x308e830ad35a9d45"
Balance 3.498878043032296773 ROSE
Account with multiple balances https://explorer.dev.oasis.io/testnet/pontusxdev/address/0x9c26685b6E8e2997d9aAf3f1a642f1b1b3dB9580
Balance 908.02734593 EUROe __ 10 TEST
https://explorer.dev.oasis.io/testnet/pontusxdev/address/0xFB7Cb9F2E15F3935B22FB9846d69b46bD31edf07
Balance 51.930214 EUROe 1 TEST
Deposited TEST in https://explorer.dev.oasis.io/testnet/pontusxdev/tx/0663796a8aa4ac8e57974ba57e83c4421ead9bcfb5c7aa0715da48480d343a74 paid fees in TEST
Duplicate transactions with the same hash: https://explorer.dev.oasis.io/mainnet/emerald/tx/18384fa89f4da26a570b161b9be56ead40138bfa613302f5a428c05817e38a62 https://explorer.dev.oasis.io/mainnet/emerald/block/195380 https://explorer.dev.oasis.io/mainnet/emerald/block/195382
Consensus: https://explorer.dev.oasis.io/mainnet/consensus/tx/3f261ce45cc1feb10c9803fa5f9d8210e4953adabbe7075d3c182f182c35ba5d https://explorer.dev.oasis.io/mainnet/consensus/block/20612386 https://explorer.dev.oasis.io/mainnet/consensus/block/20612387
An event with custom evm_log_name: "TaskAcceptorChanged" https://explorer.dev.oasis.io/mainnet/sapphire/tx/0x6990c0f6d4178090e07c9d48fc38fcb987e5daed54a940fa17a057922f17c344 (currently requires https://github.com/oasisprotocol/oasis-wallet-web/wiki/lukaw3d-bookmarklets#switch-to-nexusprd-api to see it)
Native (non-EVM) transfer made with oasis CLI https://explorer.dev.oasis.io/mainnet/sapphire/tx/7224d59e6b74d9b2caf55ab40dfe0757cef4f71c66d3a7aba3de1d267d2ea409
Transaction with 1000 addresses in evm_fn_params and emitting 1000 events https://explorer.dev.oasis.io/mainnet/sapphire/tx/0x9ce91f01d822bb4144de04ad4fce4711eb005c7d2824bfe38f670bf2916727ca
Transaction using multiple tokens: https://explorer.dev.oasis.io/testnet/pontusxdev/tx/138df58d541e43c16faebb68a0e7dd90019ac920852f483e6eb32f80c66e0f34
Related to https://github.com/oasisprotocol/explorer/issues/109#issuecomment-2018270973
ERC-1167 / EIP-1167 minimal proxy
Transaction with long EVM fn name "swapExactTokensForROSESupportingFeeOnTransferTokens" https://explorer.dev.oasis.io/mainnet/sapphire/tx/0xce30d30fed1afea2cd2199f0446ad1534ab39fd8df3284d19d296f748b2718d3
Subcall precompile transaction with cbor encoded input https://explorer.dev.oasis.io/testnet/sapphire/tx/0xf7a5c2fcf6ad2361b413e46f7f415ecc8314aa78bfe80465c3cd60b938ee1c87
Contract emitting events with various field types: https://explorer.dev.oasis.io/mainnet/emerald/address/0xEF15601B599F5C0696E38AB27f100c4075B36150/events#events https://explorer.dev.oasis.io/testnet/sapphire/address/0x03237c372AcD10Cc749253a2ea2aAfBfD49C6A18/events#events also tests abi-playground inputs UI
Failed transaction https://explorer.dev.oasis.io/mainnet/emerald/tx/0ccfccc62eb41598bea5d6b25960d8e353f1a054552b74d91ad244f15a7597d8
In a list https://explorer.dev.oasis.io/mainnet/emerald/block/1396255