parent
5e5dc6eb65
commit
c685cd00fd
@ -0,0 +1,12 @@ |
||||
<%= case @type do %> |
||||
<% :token_burning -> %> |
||||
<%= gettext("Token Burning") %> |
||||
<% :token_minting -> %> |
||||
<%= gettext("Token Minting") %> |
||||
<% :token_spawning -> %> |
||||
<%= gettext("Token Creation") %> |
||||
<% :token_transfer -> %> |
||||
<%= gettext("Token Transfer") %> |
||||
<% _ -> %> |
||||
<%= gettext("Token Transfer") %> |
||||
<% end %> |
@ -1,3 +1,5 @@ |
||||
defmodule BlockScoutWeb.TransactionTokenTransferView do |
||||
use BlockScoutWeb, :view |
||||
|
||||
alias Explorer.Chain |
||||
end |
||||
|
@ -0,0 +1,12 @@ |
||||
defmodule Explorer.Repo.Migrations.AddTokenIdToCurrentTokenBalances do |
||||
use Ecto.Migration |
||||
|
||||
def change do |
||||
alter table(:address_current_token_balances) do |
||||
add(:token_id, :numeric, precision: 78, scale: 0, null: true) |
||||
add(:token_type, :string, null: true) |
||||
end |
||||
|
||||
create(index(:address_current_token_balances, [:token_id])) |
||||
end |
||||
end |
Loading…
Reference in new issue