Proxy contracts
User ---- tx ---> Proxy ----------> Implementation_v0
|
------------> Implementation_v1
|
------------> Implementation_v2Step 1 – Edit the implementation contract
struct TransferMetadata {
uint256 balanceBefore;
uint256 balanceAfter;
int256 percentChange;
}
event TransferWithMetadata(
address from,
address to,
uint256 amount,
TransferMetadata fromMetadata,
TransferMetadata toMetadata
);Step 2 – Test run your changes
Step 3 – Deploy your changes
Step 4 – Getting your data

Last updated