# How to handle contract address change?

**URL:** <https://discuss.koinly.io/t/how-to-handle-contract-address-change/2528>\
**Category:** Koinly Support\
**Created:** [March 12, 2021, 12:38pm UTC](https://discuss.koinly.io/t/how-to-handle-contract-address-change/2528 "2021-03-12T12:38:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Killavolt](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/killavolt/32/723_2.png) [@Killavolt](https://discuss.koinly.io/u/Killavolt)\
**Post date:** [March 12, 2021, 12:38pm UTC](https://discuss.koinly.io/t/how-to-handle-contract-address-change/2528/1 "2021-03-12T12:38:10Z")

</div>

Back in Nov I bought a tiny amount of Axion, sometime shortly after this there was a hack and the contract address changed, so I entered this new address in my Metamask wallet and everything is fine.

Except that in my transactions reported by the ETH blockchain API it shows me making the purchase of AXION, then right around when the contract changed, it shows just a deposit of the same amount of Axion.

This now makes it look like I have 2x the amount of AXN that I actually do.

I can delete the second deposit, but then the wallet complains that I have less AXN than the API reports and shows a discrepancy, but if I don’t delete it shows me having 2x the amount I really do.

Is there anyway to correct this and get rid of the warning so it will sync up properly?

---

<div class="post-metadata">

**Author:** ![europa](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/europa/32/576_2.png) [@europa](https://discuss.koinly.io/u/europa)\
**Post date:** [March 12, 2021, 1:48pm UTC](https://discuss.koinly.io/t/how-to-handle-contract-address-change/2528/2 "2021-03-12T13:48:44Z")

</div>

See the section “When a token migrates to a new address” in [https://help.koinly.io/en/articles/4928719-rebases-swaps-ampl-dot-ocean-etc](https://help.koinly.io/en/articles/4928719-rebases-swaps-ampl-dot-ocean-etc).

Basically, you’ve done the right thing to delete the airdrop - but if you choose ‘soft delete’ the API should ignore it next time you sync.

Soft deleting also leaves you a reminder of what you’ve done.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex052/uploads/koinly_app/original/1X/7ac58e5593a7122893d066794a7254dcdb5ddb31.png) [@system](https://discuss.koinly.io/u/system)\
**Post date:** [May 11, 2021, 1:49pm UTC](https://discuss.koinly.io/t/how-to-handle-contract-address-change/2528/3 "2021-05-11T13:49:06Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
