truffle-verify-constants.patch 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. --- node_modules/truffle-plugin-verify/contants-old.js 2022-01-28 12:44:53.140709519 +0000
  2. +++ node_modules/truffle-plugin-verify/constants.js 2022-01-28 12:45:16.800710171 +0000
  3. @@ -3,13 +3,23 @@
  4. 3: 'https://api-ropsten.etherscan.io/api',
  5. 4: 'https://api-rinkeby.etherscan.io/api',
  6. 5: 'https://api-goerli.etherscan.io/api',
  7. + 10: 'https://api-optimistic.etherscan.io/api',
  8. 42: 'https://api-kovan.etherscan.io/api',
  9. 56: 'https://api.bscscan.com/api',
  10. + 69: 'https://api-kovan-optimistic.etherscan.io/api',
  11. 97: 'https://api-testnet.bscscan.com/api',
  12. 128: 'https://api.hecoinfo.com/api',
  13. 137: 'https://api.polygonscan.com/api',
  14. 250: 'https://api.ftmscan.com/api',
  15. 256: 'https://api-testnet.hecoinfo.com/api',
  16. + 1284: 'https://api-moonbeam.moonscan.io/api',
  17. + 1285: 'https://api-moonriver.moonscan.io/api',
  18. + 1287: 'https://api-moonbase.moonscan.io/api',
  19. + 4002: 'https://api-testnet.ftmscan.com/api',
  20. + 42161: 'https://api.arbiscan.io/api',
  21. + 43113: 'https://api-testnet.snowtrace.io/api',
  22. + 43114: 'https://api.snowtrace.io/api',
  23. + 421611: 'https://api-testnet.arbiscan.io/api',
  24. 80001: 'https://api-testnet.polygonscan.com/api'
  25. }
  26. @@ -18,16 +28,25 @@
  27. 3: 'https://ropsten.etherscan.io/address',
  28. 4: 'https://rinkeby.etherscan.io/address',
  29. 5: 'https://goerli.etherscan.io/address',
  30. + 10: 'https://optimistic.etherscan.io/address',
  31. 42: 'https://kovan.etherscan.io/address',
  32. 56: 'https://bscscan.com/address',
  33. + 69: 'https://kovan-optimistic.etherscan.io/address',
  34. 97: 'https://testnet.bscscan.com/address',
  35. 128: 'https://hecoinfo.com/address',
  36. 137: 'https://polygonscan.com/address',
  37. 250: 'https://ftmscan.com/address',
  38. 256: 'https://testnet.hecoinfo.com/address',
  39. + 1284: 'https://moonbeam.moonscan.io/address',
  40. + 1285: 'https://moonriver.moonscan.io/address',
  41. + 1287: 'https://moonbase.moonscan.io/address',
  42. + 4002: 'https://testnet.ftmscan.com/address',
  43. + 42161: 'https://arbiscan.io/address',
  44. + 43113: 'https://testnet.snowtrace.io/address',
  45. + 43114: 'https://snowtrace.io/address',
  46. + 421611: 'https://testnet.arbiscan.io/address',
  47. 80001: 'https://mumbai.polygonscan.com/address'
  48. }
  49. -
  50. const RequestStatus = {
  51. OK: '1',
  52. NOTOK: '0'