Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: darwinia-network/msgportscan
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.0
Choose a base ref
...
head repository: darwinia-network/msgportscan
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Nov 13, 2023

  1. testnet

    wuminzhe committed Nov 13, 2023
    Copy the full SHA
    ce89887 View commit details

Commits on Nov 14, 2023

  1. add query input

    wuminzhe committed Nov 14, 2023
    Copy the full SHA
    c7f3bc9 View commit details
  2. update

    wuminzhe committed Nov 14, 2023
    Copy the full SHA
    be18dfa View commit details

Commits on Nov 15, 2023

  1. wasm

    wuminzhe committed Nov 15, 2023
    Copy the full SHA
    b267d51 View commit details

Commits on Nov 16, 2023

  1. ui update

    wuminzhe committed Nov 16, 2023
    Copy the full SHA
    dc62692 View commit details
  2. abi tool

    wuminzhe committed Nov 16, 2023
    Copy the full SHA
    bd9c5bd View commit details
  3. update abi tool

    wuminzhe committed Nov 16, 2023
    Copy the full SHA
    612a912 View commit details

Commits on Nov 17, 2023

  1. add github release work flow

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    c6ea9d7 View commit details
  2. update title

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    6f73c64 View commit details
  3. add query input

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    69f1adb View commit details
  4. update

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    5aac92e View commit details
  5. wasm

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    b6d7fd3 View commit details
  6. ui update

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    6553ec4 View commit details
  7. abi tool

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    915a88d View commit details
  8. update abi tool

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    c1eb630 View commit details
  9. remove event models

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    a4c6bfa View commit details
  10. udpate deploy config

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    0e2110a View commit details
  11. update pug

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    3a10d53 View commit details
  12. update dockerfile

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    1bbf1a2 View commit details
  13. update bin/pug

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    e1f9b83 View commit details
  14. fix deploy

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    1205c57 View commit details
  15. update dockerfile

    wuminzhe committed Nov 17, 2023
    Copy the full SHA
    52ef48f View commit details

Commits on Nov 18, 2023

  1. fix query

    wuminzhe committed Nov 18, 2023
    Copy the full SHA
    668292a View commit details

Commits on Nov 24, 2023

  1. update

    wuminzhe committed Nov 24, 2023
    Copy the full SHA
    21070b2 View commit details
  2. pagination

    wuminzhe committed Nov 24, 2023
    Copy the full SHA
    84ed91a View commit details

Commits on Nov 27, 2023

  1. Copy the full SHA
    0a013bc View commit details
  2. update pug

    wuminzhe committed Nov 27, 2023
    Copy the full SHA
    c057efc View commit details
  3. add sep

    wuminzhe committed Nov 27, 2023
    Copy the full SHA
    68b5c14 View commit details
  4. Copy the full SHA
    f738ca4 View commit details

Commits on Nov 28, 2023

  1. update style

    wuminzhe committed Nov 28, 2023
    Copy the full SHA
    76cf647 View commit details

Commits on Nov 29, 2023

  1. better query

    wuminzhe committed Nov 29, 2023
    Copy the full SHA
    46dc2b6 View commit details

Commits on Nov 30, 2023

  1. update

    wuminzhe committed Nov 30, 2023
    Copy the full SHA
    a61c7d3 View commit details

Commits on Dec 5, 2023

  1. trace tasks

    wuminzhe committed Dec 5, 2023
    Copy the full SHA
    7805a88 View commit details
  2. add tron support

    wuminzhe committed Dec 5, 2023
    Copy the full SHA
    d3fc0ab View commit details

Commits on Dec 13, 2023

  1. output

    wuminzhe committed Dec 13, 2023
    Copy the full SHA
    aa5ab84 View commit details
  2. Merge branch 'testnet'

    # Conflicts:
    #	app/controllers/messages_controller.rb
    #	app/views/layouts/application.html.erb
    #	public/404.html
    wuminzhe committed Dec 13, 2023
    Copy the full SHA
    cdfda14 View commit details
  3. update

    wuminzhe committed Dec 13, 2023
    Copy the full SHA
    66b2fee View commit details
  4. Update README.md

    wuminzhe authored Dec 13, 2023
    Copy the full SHA
    3fae643 View commit details
  5. Update README.md

    wuminzhe authored Dec 13, 2023
    Copy the full SHA
    b7f57c4 View commit details
  6. add crab

    wuminzhe committed Dec 13, 2023
    Copy the full SHA
    9b5cd97 View commit details
  7. add testnets

    wuminzhe committed Dec 13, 2023
    Copy the full SHA
    0bbcc2f View commit details
  8. remove testnet

    wuminzhe committed Dec 13, 2023
    Copy the full SHA
    7982cee View commit details

Commits on Dec 14, 2023

  1. add crab

    wuminzhe committed Dec 14, 2023
    Copy the full SHA
    0dacec8 View commit details
Showing with 3,146 additions and 2,142 deletions.
  1. +1 −1 Dockerfile
  2. +2 −1 Gemfile
  3. +86 −65 Gemfile.lock
  4. +4 −0 Procfile.pug
  5. +47 −10 README.md
  6. +10 −2 app/assets/stylesheets/application.tailwind.css
  7. +11 −2 app/controllers/messages_controller.rb
  8. +0 −15 app/models/message.rb
  9. +0 −25 app/models/pug/oracle_assigned.rb
  10. +0 −25 app/models/pug/oracle_set_approved.rb
  11. +0 −25 app/models/pug/oracle_set_dapi.rb
  12. +0 −25 app/models/pug/oracle_set_fee.rb
  13. +0 −26 app/models/pug/ormp_app_config_updated.rb
  14. +0 −25 app/models/pug/ormp_default_config_updated.rb
  15. +0 −25 app/models/pug/ormp_line_ownership_transfer_started.rb
  16. +0 −25 app/models/pug/ormp_line_ownership_transferred.rb
  17. +0 −25 app/models/pug/ormp_line_set_from_line.rb
  18. +0 −25 app/models/pug/ormp_line_set_to_line.rb
  19. +0 −24 app/models/pug/ormp_line_uri.rb
  20. +0 −33 app/models/pug/ormp_message_accepted.rb
  21. +0 −25 app/models/pug/ormp_message_dispatched.rb
  22. +0 −27 app/models/pug/relayer_assigned.rb
  23. +0 −25 app/models/pug/relayer_set_approved.rb
  24. +0 −26 app/models/pug/relayer_set_dst_config.rb
  25. +0 −26 app/models/pug/relayer_set_dst_price.rb
  26. +0 −28 app/models/pug/sub_api_add_beacon.rb
  27. +0 −25 app/models/pug/sub_api_aggregated_ormp_datum.rb
  28. +0 −26 app/models/pug/sub_api_airnode_rrp_completed.rb
  29. +0 −25 app/models/pug/sub_api_airnode_rrp_requested.rb
  30. +0 −25 app/models/pug/sub_api_ownership_transfer_started.rb
  31. +0 −25 app/models/pug/sub_api_ownership_transferred.rb
  32. +0 −24 app/models/pug/sub_api_remove_beacon.rb
  33. +0 −24 app/models/pug/sub_api_set_fee.rb
  34. +0 −26 app/models/pug/sub_api_sub_api_feed_updated.rb
  35. +9 −3 app/views/layouts/application.html.erb
  36. +45 −43 app/views/messages/_show_message.html.erb
  37. +3 −0 app/views/messages/index.html.erb
  38. +1 −1 app/views/messages/show.html.erb
  39. +8 −0 bin/pug
  40. +1 −1 config/deploy.yml
  41. +9 −5 config/ormpscan2.yml
  42. +1 −0 config/routes.rb
  43. +8 −0 db/migrate/20231025072150_create_pug_evm_logs.pug.rb
  44. +0 −22 db/migrate/20231108053610_create_pug_ormp_app_config_updateds.rb
  45. +0 −20 db/migrate/20231108053611_create_pug_ormp_default_config_updateds.rb
  46. +0 −36 db/migrate/20231108053612_create_pug_ormp_message_accepteds.rb
  47. +0 −20 db/migrate/20231108053613_create_pug_ormp_message_dispatcheds.rb
  48. +0 −20 db/migrate/20231108053614_create_pug_oracle_assigneds.rb
  49. +0 −20 db/migrate/20231108053615_create_pug_oracle_set_approveds.rb
  50. +0 −20 db/migrate/20231108053616_create_pug_oracle_set_dapis.rb
  51. +0 −20 db/migrate/20231108053617_create_pug_oracle_set_fees.rb
  52. +0 −24 db/migrate/20231108053618_create_pug_relayer_assigneds.rb
  53. +0 −20 db/migrate/20231108053619_create_pug_relayer_set_approveds.rb
  54. +0 −22 db/migrate/20231108053620_create_pug_relayer_set_dst_configs.rb
  55. +0 −22 db/migrate/20231108053621_create_pug_relayer_set_dst_prices.rb
  56. +0 −26 db/migrate/20231108053622_create_pug_sub_api_add_beacons.rb
  57. +0 −20 db/migrate/20231108053623_create_pug_sub_api_aggregated_ormp_data.rb
  58. +0 −22 db/migrate/20231108053624_create_pug_sub_api_airnode_rrp_completeds.rb
  59. +0 −20 db/migrate/20231108053625_create_pug_sub_api_airnode_rrp_requesteds.rb
  60. +0 −20 db/migrate/20231108053626_create_pug_sub_api_ownership_transfer_starteds.rb
  61. +0 −20 db/migrate/20231108053627_create_pug_sub_api_ownership_transferreds.rb
  62. +0 −18 db/migrate/20231108053628_create_pug_sub_api_remove_beacons.rb
  63. +0 −18 db/migrate/20231108053629_create_pug_sub_api_set_fees.rb
  64. +0 −22 db/migrate/20231108053630_create_pug_sub_api_sub_api_feed_updateds.rb
  65. +0 −20 db/migrate/20231108053631_create_pug_ormp_line_ownership_transfer_starteds.rb
  66. +0 −20 db/migrate/20231108053632_create_pug_ormp_line_ownership_transferreds.rb
  67. +0 −20 db/migrate/20231108053633_create_pug_ormp_line_set_from_lines.rb
  68. +0 −20 db/migrate/20231108053634_create_pug_ormp_line_set_to_lines.rb
  69. +0 −18 db/migrate/20231108053635_create_pug_ormp_line_uris.rb
  70. +5 −0 db/migrate/20231205014603_add_tron_address_to_pug_evm_contracts.rb
  71. +7 −629 db/schema.rb
  72. +13 −30 db/seeds.rb
  73. +106 −0 g2.generic.darwinia.network.yml
  74. +64 −0 lib/tasks/contracts.rake
  75. +59 −51 lib/tasks/messages.rake
  76. +1 −67 public/404.html
  77. +134 −0 public/abi.html
  78. +132 −0 public/abis/ORMP-0b90c75f42.json
  79. +91 −0 public/abis/ORMPLine-77bac18b03.json
  80. +91 −0 public/abis/ORMPLineExt-77bac18b03.json
  81. +59 −0 public/abis/Oracle-428d08a99e.json
  82. +353 −0 public/abis/Oracle-7580cf2a3c.json
  83. +102 −0 public/abis/Relayer-5bf71a6102.json
  84. +236 −0 public/abis/SubAPI-bd7ba75f32.json
  85. +879 −0 public/abis/SubAPI-f729c41066.json
  86. +565 −0 public/flattened_abi_coder-1700126655.rb
  87. BIN public/index.wasm
  88. +2 −0 rpcs
  89. +1 −1 scripts/latest_ormp_contracts.rb
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -64,7 +64,7 @@ COPY --from=build /rails /rails

# Run and own only the runtime files as a non-root user for security
RUN useradd rails --create-home --shell /bin/bash && \
chown -R rails:rails db log storage tmp
chown -R rails:rails db log storage tmp /usr/local/bundle
USER rails:rails

# Entrypoint prepares the database.
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -71,7 +71,8 @@ end

gem 'annotate', '~> 3.2'
gem 'eth', github: 'wuminzhe/eth.rb'
gem 'pug', github: 'wuminzhe/pug'
gem 'pug', github: 'wuminzhe/pug', branch: 'support-tron'
# gem 'pug', path: '/workspaces/pug'

gem 'dotenv', '~> 2.8'
gem 'kaminari'
151 changes: 86 additions & 65 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -12,78 +12,84 @@ GIT

GIT
remote: https://github.com/wuminzhe/pug.git
revision: 22016298c8334ebbe530b66a51a4579a9a59d34a
revision: f3e79b34c793b03c9e1c725b847548623686de4e
branch: support-tron
specs:
pug (0.1.0)
abi_coder_rb (~> 0.2.2)
etherscan (~> 0.3.0)
rails (>= 7.1.1)

GEM
remote: https://rubygems.org/
specs:
actioncable (7.1.1)
actionpack (= 7.1.1)
activesupport (= 7.1.1)
abi_coder_rb (0.2.2)
activesupport
actioncable (7.1.2)
actionpack (= 7.1.2)
activesupport (= 7.1.2)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6)
actionmailbox (7.1.1)
actionpack (= 7.1.1)
activejob (= 7.1.1)
activerecord (= 7.1.1)
activestorage (= 7.1.1)
activesupport (= 7.1.1)
actionmailbox (7.1.2)
actionpack (= 7.1.2)
activejob (= 7.1.2)
activerecord (= 7.1.2)
activestorage (= 7.1.2)
activesupport (= 7.1.2)
mail (>= 2.7.1)
net-imap
net-pop
net-smtp
actionmailer (7.1.1)
actionpack (= 7.1.1)
actionview (= 7.1.1)
activejob (= 7.1.1)
activesupport (= 7.1.1)
actionmailer (7.1.2)
actionpack (= 7.1.2)
actionview (= 7.1.2)
activejob (= 7.1.2)
activesupport (= 7.1.2)
mail (~> 2.5, >= 2.5.4)
net-imap
net-pop
net-smtp
rails-dom-testing (~> 2.2)
actionpack (7.1.1)
actionview (= 7.1.1)
activesupport (= 7.1.1)
actionpack (7.1.2)
actionview (= 7.1.2)
activesupport (= 7.1.2)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actiontext (7.1.1)
actionpack (= 7.1.1)
activerecord (= 7.1.1)
activestorage (= 7.1.1)
activesupport (= 7.1.1)
actiontext (7.1.2)
actionpack (= 7.1.2)
activerecord (= 7.1.2)
activestorage (= 7.1.2)
activesupport (= 7.1.2)
globalid (>= 0.6.0)
nokogiri (>= 1.8.5)
actionview (7.1.1)
activesupport (= 7.1.1)
actionview (7.1.2)
activesupport (= 7.1.2)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activejob (7.1.1)
activesupport (= 7.1.1)
activejob (7.1.2)
activesupport (= 7.1.2)
globalid (>= 0.3.6)
activemodel (7.1.1)
activesupport (= 7.1.1)
activerecord (7.1.1)
activemodel (= 7.1.1)
activesupport (= 7.1.1)
activemodel (7.1.2)
activesupport (= 7.1.2)
activerecord (7.1.2)
activemodel (= 7.1.2)
activesupport (= 7.1.2)
timeout (>= 0.4.0)
activestorage (7.1.1)
actionpack (= 7.1.1)
activejob (= 7.1.1)
activerecord (= 7.1.1)
activesupport (= 7.1.1)
activestorage (7.1.2)
actionpack (= 7.1.2)
activejob (= 7.1.2)
activerecord (= 7.1.2)
activesupport (= 7.1.2)
marcel (~> 1.0)
activesupport (7.1.1)
activesupport (7.1.2)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -99,7 +105,7 @@ GEM
activerecord (>= 3.2, < 8.0)
rake (>= 10.4, < 14.0)
base64 (0.2.0)
bigdecimal (3.1.4)
bigdecimal (3.1.5)
bindex (0.8.1)
bootsnap (1.16.0)
msgpack (~> 1.2)
@@ -126,6 +132,8 @@ GEM
drb (2.2.0)
ruby2_keywords
erubi (1.12.0)
etherscan (0.3.0)
activesupport
ffi (1.16.3)
ffi-compiler (1.0.1)
ffi (>= 1.0.0)
@@ -135,18 +143,30 @@ GEM
activesupport (>= 6.1)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
io-console (0.6.0)
irb (1.8.3)
io-console (0.7.0)
irb (1.10.1)
rdoc
reline (>= 0.3.8)
jbuilder (2.11.5)
actionview (>= 5.0.0)
activesupport (>= 5.0.0)
jsbundling-rails (1.2.1)
railties (>= 6.0.0)
kaminari (1.2.2)
activesupport (>= 4.1.0)
kaminari-actionview (= 1.2.2)
kaminari-activerecord (= 1.2.2)
kaminari-core (= 1.2.2)
kaminari-actionview (1.2.2)
actionview
kaminari-core (= 1.2.2)
kaminari-activerecord (1.2.2)
activerecord
kaminari-core (= 1.2.2)
kaminari-core (1.2.2)
keccak (1.3.1)
konstructor (1.0.2)
loofah (2.21.4)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
mail (2.8.1)
@@ -161,7 +181,7 @@ GEM
minitest (5.20.0)
msgpack (1.7.2)
mutex_m (0.2.0)
net-imap (0.4.4)
net-imap (0.4.8)
date
net-protocol
net-pop (0.1.2)
@@ -170,10 +190,10 @@ GEM
timeout
net-smtp (0.4.0)
net-protocol
nio4r (2.5.9)
nokogiri (1.15.4-aarch64-linux)
nio4r (2.7.0)
nokogiri (1.15.5-aarch64-linux)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
nokogiri (1.15.5-x86_64-linux)
racc (~> 1.4)
openssl (3.2.0)
pg (1.5.4)
@@ -192,30 +212,30 @@ GEM
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails (7.1.1)
actioncable (= 7.1.1)
actionmailbox (= 7.1.1)
actionmailer (= 7.1.1)
actionpack (= 7.1.1)
actiontext (= 7.1.1)
actionview (= 7.1.1)
activejob (= 7.1.1)
activemodel (= 7.1.1)
activerecord (= 7.1.1)
activestorage (= 7.1.1)
activesupport (= 7.1.1)
rails (7.1.2)
actioncable (= 7.1.2)
actionmailbox (= 7.1.2)
actionmailer (= 7.1.2)
actionpack (= 7.1.2)
actiontext (= 7.1.2)
actionview (= 7.1.2)
activejob (= 7.1.2)
activemodel (= 7.1.2)
activerecord (= 7.1.2)
activestorage (= 7.1.2)
activesupport (= 7.1.2)
bundler (>= 1.15.0)
railties (= 7.1.1)
railties (= 7.1.2)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.1.1)
actionpack (= 7.1.1)
activesupport (= 7.1.1)
railties (7.1.2)
actionpack (= 7.1.2)
activesupport (= 7.1.2)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
@@ -226,14 +246,14 @@ GEM
mini_portile2 (~> 2.8)
pkg-config (~> 1.5)
rubyzip (~> 2.3)
rdoc (6.6.0)
rdoc (6.6.1)
psych (>= 4.0.0)
redis (5.0.8)
redis-client (>= 0.17.0)
redis-client (0.18.0)
connection_pool
regexp_parser (2.8.2)
reline (0.4.0)
reline (0.4.1)
io-console (~> 0.5)
rexml (3.2.6)
ruby2_keywords (0.0.5)
@@ -253,7 +273,7 @@ GEM
sprockets (>= 3.0.0)
stimulus-rails (1.3.0)
railties (>= 6.0.0)
stringio (3.0.9)
stringio (3.1.0)
thor (1.3.0)
timeout (0.4.1)
turbo-rails (1.5.0)
@@ -290,6 +310,7 @@ DEPENDENCIES
eth!
jbuilder
jsbundling-rails
kaminari
pg (~> 1.1)
pug!
puma (>= 5.0)
4 changes: 4 additions & 0 deletions Procfile.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eth: bin/rails "pug:track_logs[1]"
crab: bin/rails "pug:track_logs[44]"
arb1: bin/rails "pug:track_logs[42161]"
darwinia: bin/rails "pug:track_logs[46]"
57 changes: 47 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,51 @@
# README

# Url examples
## list messages
```bash
# LIST
/messages?status=accepted # all, status is an optional filter, same for all other lists
/messages/crab # all from crab
/messages/_/crab # all to crab
/messages/arb_sep/crab # all from arb_sep to crab

# SINGLE MESSAGE
/messages/crab/arb_sep/1 # the index 1 message from arb_sep to crab
/messages/0x139501988f5142b5f12d9df60e75df625a4a0476c273b4539a1770185d92bd46 # by msg hash
/messages/0x830962b211927e61720770bad65a8be0d56263fe33dc77b04229834a462b2f83 # by transaction hash
# all, status is an optional filter, same for all other lists
/messages?status=accepted

# all from crab
/messages/crab

# all to crab
/messages/_/crab

# all from arb_sep to crab
/messages/arb_sep/crab
```

## single message

```bash
# the index 1 message from arb_sep to crab
/messages/crab/arb_sep/1

# by msg hash
/messages/0x139501988f5142b5f12d9df60e75df625a4a0476c273b4539a1770185d92bd46

# by transaction hash
/messages/0x830962b211927e61720770bad65a8be0d56263fe33dc77b04229834a462b2f83
```

# Add new contracts
## add new netowrks and their contracts
1. (optional)update networks rpcs in rails console.
`Pug::Network.find_by(chain_id: 1).update rpc: 'https://ethereum.publicnode.com'`

2. update `config/ormpscan2.yml`.

3. add contracts of the new networks.
`ETHERSCAN_API_KEY=#{api_key} rails 'pug:add_contract[#{network.chain_id},#{contract_address}]' --trace`
NOTE1: you can manually add the contract. or, you can use helper task `rails contracts:add` to add all msgport and ormp contracts.
NOTE2: `pug:add_contract` depends on etherscan(-like) api to get contract creational info.
NOTE3: `ETHERSCAN_API_KEY` is optional, but without it, the api is limited to a small requests per second.

4. update Procfile.pug, then rerun `bin/pug`.
`bin/rails pug:procfile`

5. rerun `bin/rails messages:trace`

## add new contract to an existing network
1. add the contract to the network.
12 changes: 10 additions & 2 deletions app/assets/stylesheets/application.tailwind.css
Original file line number Diff line number Diff line change
@@ -3,8 +3,16 @@
@tailwind utilities;

html, body {
font-family: 'Overpass Mono', monospace;
background-color: rgb(252, 251, 248);
background-color: rgb(252, 251, 248);
}

table, dd {
font-family: 'Overpass Mono', monospace;
}

.pagination a {
font-size: 14px;
text-decoration: underline;
}

/*
Loading