From 430dfecbc300207758452339120ad906e1c8b093 Mon Sep 17 00:00:00 2001 From: Milap Sheth Date: Mon, 25 Mar 2024 03:06:01 -0400 Subject: [PATCH] chore: upgrade ITS to v1.2.4 (#197) * chore: upgrade ITS to v1.2.2 * chore: upgrade ITS to v1.2.3 * misc * add contract name * upgrade to v1.2.4 * update scripts * bump package version * prettier * fix artifact path --- axelar-chains-config/info/mainnet.json | 173 ++++++++++---------- axelar-chains-config/info/testnet.json | 210 ++++++++++++------------- axelar-chains-config/package-lock.json | 4 +- axelar-chains-config/package.json | 2 +- evm/deploy-its.js | 21 ++- evm/its.js | 19 ++- package-lock.json | 4 +- package.json | 2 +- 8 files changed, 222 insertions(+), 213 deletions(-) diff --git a/axelar-chains-config/info/mainnet.json b/axelar-chains-config/info/mainnet.json index cd9a40d6..eb2d62fe 100644 --- a/axelar-chains-config/info/mainnet.json +++ b/axelar-chains-config/info/mainnet.json @@ -95,22 +95,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -217,22 +217,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -339,22 +339,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -465,22 +465,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "proxySalt": "ITS v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -590,22 +590,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -713,22 +713,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -839,22 +839,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -964,22 +964,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "proxySalt": "ITS v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1086,22 +1086,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1208,22 +1208,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1334,22 +1334,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1460,22 +1460,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1586,22 +1586,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1709,22 +1709,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1734,9 +1734,6 @@ "url": "https://explorer.mantle.xyz", "api": "https://explorer.mantle.xyz/api" }, - "gasOptions": { - "gasLimit": 8000000 - }, "skipRevertTests": true, "staticGasOptions": { "gasLimit": 3000000, @@ -1830,22 +1827,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -2132,22 +2129,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -2239,22 +2236,22 @@ "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, diff --git a/axelar-chains-config/info/testnet.json b/axelar-chains-config/info/testnet.json index f6dd6f0b..df7e605e 100644 --- a/axelar-chains-config/info/testnet.json +++ b/axelar-chains-config/info/testnet.json @@ -78,21 +78,21 @@ "deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -153,21 +153,21 @@ "predeployCodehash": "0x73fc31262c4bad113c79439fd231281201c7c7d45b50328bd86bccf37684bf92" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" }, "InterchainProposalSender": { @@ -222,7 +222,7 @@ "id": "Fantom", "axelarId": "Fantom", "chainId": 4002, - "rpc": "https://xapi.testnet.fantom.network/lachesis", + "rpc": "https://rpc.testnet.fantom.network", "tokenSymbol": "FTM", "contracts": { "AxelarGateway": { @@ -269,21 +269,21 @@ "predeployCodehash": "0x73fc31262c4bad113c79439fd231281201c7c7d45b50328bd86bccf37684bf92" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" }, "InterchainProposalSender": { @@ -420,21 +420,21 @@ "salt": "Multisig v5.5" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -535,21 +535,21 @@ "salt": "Multisig v5.5" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -569,7 +569,7 @@ "id": "binance", "axelarId": "binance", "chainId": 97, - "rpc": "https://data-seed-prebsc-2-s2.bnbchain.org:8545", + "rpc": "https://bsc-testnet-rpc.publicnode.com", "tokenSymbol": "BNB", "gasOptions": { "gasPriceAdjustment": 1.4 @@ -651,21 +651,21 @@ "salt": "Multisig v5.5" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -723,21 +723,21 @@ "predeployCodehash": "0x73fc31262c4bad113c79439fd231281201c7c7d45b50328bd86bccf37684bf92" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" }, "InterchainProposalSender": { @@ -874,21 +874,21 @@ "salt": "Multisig v5.5" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -982,21 +982,21 @@ "salt": "Multisig v5.5" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1096,21 +1096,21 @@ "salt": "Multisig v5.5" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", - "proxySalt": "ITS v1.2.1" + "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { - "salt": "ITS Factory v1.2.1", + "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1206,21 +1206,21 @@ "salt": "Multisig v5.5" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C", "proxySalt": "ITS v1.0.0" }, "InterchainTokenFactory": { "salt": "ITS Factory v1.0.0", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1408,22 +1408,22 @@ "deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1606,22 +1606,22 @@ "salt": "Operators" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1719,22 +1719,22 @@ "deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1827,22 +1827,22 @@ "deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -1935,22 +1935,22 @@ "deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, @@ -2043,22 +2043,22 @@ "deployer": "0x5b593E7b1725dc6FcbbFe80b2415B19153F94A85" }, "InterchainTokenService": { - "salt": "ITS v1.2.1", + "salt": "ITS v1.2.4", "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "proxySalt": "ITS v1.0.0", "tokenManagerDeployer": "0x121b0e54Cd7ad2BBCb4c4C9275697978EBaF3653", "interchainToken": "0x7F9F70Da4af54671a6abAc58e705b5634cac8819", "interchainTokenDeployer": "0x58667c5f134420Bf6904C7dD01fDDcB4Fea3a760", - "tokenManager": "0xC1B09c9c16117417A1B414A52Dd92CF1f634e786", - "tokenHandler": "0x9Ef1f24EF4Ed0520DC1Da282a0fe76271A183b36", - "implementation": "0x30DEFb998D7FdDC75ffb8D002fC15BbB75115758", + "tokenManager": "0x81a0545091864617E7037171FdfcBbdCFE3aeb23", + "tokenHandler": "0x07715674F74c560200c7C95430673180812fCE73", + "implementation": "0x6d59D9360BDAe406614b7E61c53F43a03198A4ef", "predeployCodehash": "0x08a4a556c4db879b4f24104d13a8baf86915d58b12c81b382dfea2a82d2856cf", "address": "0xB5FB4BE02232B1bBA4dC8f81dc24C26980dE9e3C" }, "InterchainTokenFactory": { "deployer": "0x6f24A47Fc8AE5441Eb47EFfC3665e70e69Ac3F05", "salt": "ITS Factory v1.0.0", - "implementation": "0x440B118f34d6224B20b4641835AC9161BD4f0994", + "implementation": "0xA852412D2d91fE05d790934B6E64C3C351fAB54f", "address": "0x83a93500d23Fbc3e82B410aD07A6a9F7A0670D66" } }, diff --git a/axelar-chains-config/package-lock.json b/axelar-chains-config/package-lock.json index 661a42fb..c2ad0ad7 100644 --- a/axelar-chains-config/package-lock.json +++ b/axelar-chains-config/package-lock.json @@ -1,12 +1,12 @@ { "name": "@axelar-network/axelar-chains-config", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@axelar-network/axelar-chains-config", - "version": "1.1.0", + "version": "1.2.0", "license": "MIT", "dependencies": { "@ethersproject/keccak256": "^5.7.0", diff --git a/axelar-chains-config/package.json b/axelar-chains-config/package.json index 27694c8b..f3b70fc3 100644 --- a/axelar-chains-config/package.json +++ b/axelar-chains-config/package.json @@ -1,6 +1,6 @@ { "name": "@axelar-network/axelar-chains-config", - "version": "1.1.0", + "version": "1.2.0", "description": "A utility to get chain information from Axelar", "main": "src/index.js", "types": "dist/index.d.ts", diff --git a/evm/deploy-its.js b/evm/deploy-its.js index 42bc980f..715fe1a2 100644 --- a/evm/deploy-its.js +++ b/evm/deploy-its.js @@ -136,6 +136,7 @@ async function deployAll(config, wallet, chain, options) { const deployments = { tokenManagerDeployer: { name: 'Token Manager Deployer', + contractName: 'TokenManagerDeployer', async deploy() { return await deployContract( deployMethod, @@ -151,6 +152,7 @@ async function deployAll(config, wallet, chain, options) { }, interchainToken: { name: 'Interchain Token', + contractName: 'InterchainToken', async deploy() { return await deployContract( deployMethod, @@ -166,6 +168,7 @@ async function deployAll(config, wallet, chain, options) { }, interchainTokenDeployer: { name: 'Interchain Token Deployer', + contractName: 'InterchainTokenDeployer', async deploy() { return await deployContract( deployMethod, @@ -181,6 +184,7 @@ async function deployAll(config, wallet, chain, options) { }, tokenManager: { name: 'Token Manager', + contractName: 'TokenManager', async deploy() { return await deployContract( deployMethod, @@ -196,6 +200,7 @@ async function deployAll(config, wallet, chain, options) { }, tokenHandler: { name: 'Token Handler', + contractName: 'TokenHandler', async deploy() { return await deployContract( deployMethod, @@ -211,6 +216,7 @@ async function deployAll(config, wallet, chain, options) { }, implementation: { name: 'Interchain Token Service Implementation', + contractName: 'InterchainTokenService', async deploy() { const args = [ contractConfig.tokenManagerDeployer, @@ -239,6 +245,7 @@ async function deployAll(config, wallet, chain, options) { }, address: { name: 'Interchain Token Service Proxy', + contractName: 'InterchainProxy', async deploy() { const operatorAddress = options.operatorAddress || wallet.address; @@ -265,6 +272,7 @@ async function deployAll(config, wallet, chain, options) { }, interchainTokenFactoryImplementation: { name: 'Interchain Token Factory Implementation', + contractName: 'InterchainTokenFactory', async deploy() { return await deployContract( deployMethod, @@ -280,6 +288,7 @@ async function deployAll(config, wallet, chain, options) { }, interchainTokenFactory: { name: 'Interchain Token Factory Proxy', + contractName: 'InterchainProxy', async deploy() { const args = [itsFactoryContractConfig.implementation, wallet.address, '0x']; printInfo('ITS Factory Proxy args', args); @@ -303,13 +312,9 @@ async function deployAll(config, wallet, chain, options) { const deployment = deployments[key]; - if (key === 'address' && options.reuseProxy) { - printInfo(`Reusing ${deployment.name} deployment at ${contractConfig.address}`); - continue; - } - - if (key === 'interchainTokenFactory' && options.reuseProxy) { - printInfo(`Reusing ${deployment.name} deployment at ${itsFactoryContractConfig.address}`); + // When upgrading/reusing proxy, avoid re-deploying the proxy and the interchain token contract + if (options.reuseProxy && ['InterchainToken', 'InterchainProxy'].includes(deployment.contractName)) { + printInfo(`Reusing ${deployment.name} deployment for contract ${deployment.contractName} at ${contractConfig[key]}`); continue; } @@ -473,7 +478,7 @@ if (require.main === module) { .default('create3'), ); - addExtendedOptions(program, { skipExisting: true, upgrade: true, predictOnly: true }); + addExtendedOptions(program, { artifactPath: true, skipExisting: true, upgrade: true, predictOnly: true }); program.addOption(new Option('--reuseProxy', 'reuse existing proxy (useful for upgrade deployments')); program.addOption(new Option('--contractName ', 'contract name').default('InterchainTokenService')); // added for consistency diff --git a/evm/its.js b/evm/its.js index 154c4e96..373a1b18 100644 --- a/evm/its.js +++ b/evm/its.js @@ -3,7 +3,7 @@ const { ethers } = require('hardhat'); const { getDefaultProvider, - utils: { hexZeroPad, toUtf8Bytes, keccak256 }, + utils: { hexZeroPad, toUtf8Bytes, keccak256, defaultAbiCoder }, BigNumber, constants: { AddressZero }, Contract, @@ -33,10 +33,11 @@ const IOwnable = getContractJSON('IOwnable'); const { addExtendedOptions } = require('./cli-utils'); const { getSaltFromKey } = require('@axelar-network/axelar-gmp-sdk-solidity/scripts/utils'); const tokenManagerImplementations = { - MINT_BURN: 0, + INTERCHAIN_TOKEN: 0, MINT_BURN_FROM: 1, LOCK_UNLOCK: 2, LOCK_UNLOCK_FEE: 3, + MINT_BURN: 4, }; function getDeploymentSalt(options) { @@ -242,22 +243,26 @@ async function processCommand(config, chain, options) { } case 'deployTokenManager': { - const { destinationChain, type, params, gasValue } = options; + const { destinationChain, type, operator, tokenAddress, gasValue } = options; const deploymentSalt = getDeploymentSalt(options); + const tokenManagerType = tokenManagerImplementations[type]; validateParameters({ isString: { destinationChain }, - isValidCalldata: { params }, - isValidNumber: { gasValue }, + isValidAddress: { tokenAddress }, + isValidCalldata: { operator }, + isValidNumber: { gasValue, tokenManagerType }, }); isValidDestinationChain(config, destinationChain); + const params = defaultAbiCoder.encode(['bytes', 'address'], [operator, tokenAddress]); + const tx = await interchainTokenService.deployTokenManager( deploymentSalt, destinationChain, - tokenManagerImplementations[type], + tokenManagerType, params, gasValue, gasOptions, @@ -697,6 +702,8 @@ if (require.main === module) { program.addOption(new Option('--destinationChain ', 'destination chain')); program.addOption(new Option('--destinationAddress ', 'destination address')); program.addOption(new Option('--params ', 'params for TokenManager deployment')); + program.addOption(new Option('--tokenAddress ', 'token address to use for token manager deployment')); + program.addOption(new Option('--operator ', 'operator address to use for token manager')); program.addOption(new Option('--gasValue ', 'gas value').default(0)); program.addOption(new Option('--name ', 'token name')); program.addOption(new Option('--symbol ', 'token symbol')); diff --git a/package-lock.json b/package-lock.json index 0f962ba0..f26e5cd4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@axelar-network/axelar-contract-deployments", - "version": "1.1.0", + "version": "1.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@axelar-network/axelar-contract-deployments", - "version": "1.1.0", + "version": "1.2.0", "license": "MIT", "dependencies": { "@0xpolygonhermez/zkevm-commonjs": "github:0xpolygonhermez/zkevm-commonjs#v1.0.0", diff --git a/package.json b/package.json index 839dbfa6..40dc65bd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@axelar-network/axelar-contract-deployments", - "version": "1.1.0", + "version": "1.2.0", "description": "Axelar contract deployment scripts", "main": "index.js", "scripts": {