harmony-one / explorer-v2-backend

12 stars 16 forks source link

Proxy implementation #80

Closed ArtemKolodko closed 2 years ago

ArtemKolodko commented 2 years ago

1) Added new table contracts_proxy

create table if not exists contracts_proxy
(
    proxy_address               char(42)        not null,
    implementation_address      char(42)        not null,
    created_at                  timestamp not null default now(),
    updated_at                  timestamp not null default now(),
    unique (proxy_address, implementation_address)
);

2) Implemented new methods getProxyImplementation and assignProxyImplementation