unlock icon indicating copy to clipboard operation
unlock copied to clipboard

Deployed Unlock to Astar zkEVM

Open pavvann opened this issue 1 year ago • 9 comments

Unlock protocol deployment on Astar zkEVM network.

Unlock Proxy: https://astar-zkevm.explorer.startale.com/address/0xeBec66d1f006FEC42633B6fa30b0397de8a4D965?tab=contact_code

Unlock Impl: https://astar-zkevm.explorer.startale.com/address/0x2d8Cc500188d52452B47D4FABd613a3460748cC8?tab=contract

Public Lock: https://astar-zkevm.explorer.startale.com/address/0xA8BD17B22991509F89Eb9861ce88a2Cbdc8bBfF0?tab=contract

Password Hook: https://astar-zkevm.explorer.startale.com/address/0xe270a288cb5a4633C26B79d8386afa195BcdC610?tab=contract

Sub Graph and MultiSig are pending.

pavvann avatar Mar 14 '24 15:03 pavvann

Hey @pavvann I would love to move forward with this! What's the status here?

julien51 avatar Apr 01 '24 20:04 julien51

Hey @pavvann I would love to move forward with this! What's the status here?

  1. Graph waiting to be deployed as discussed on Discord https://discord.com/channels/462280183425138719/835883531438653460/1217866429106360431
  2. Need to transfer ownership for multisig https://discord.com/channels/462280183425138719/835883531438653460/1217869796972953630

pavvann avatar Apr 03 '24 08:04 pavvann

@pavvann Is safe multisig service deployed on Astar ?

clemsos avatar May 06 '24 09:05 clemsos

@pavvann Is safe multisig service deployed on Astar ?

@clemsos no. i think i have to transfer ownership to unlock-protocol.eth?

pavvann avatar May 07 '24 08:05 pavvann

@pavvann Is safe multisig service deployed on Astar ?

@clemsos no. i think i have to transfer ownership to unlock-protocol.eth?

seems Astar zkEVM is in the process of being added to safe https://github.com/safe-global/safe-deployments/issues/404

you could create a safe using the command yarn hardhat safe:create --network astarzkevm then transfer the ownership of contracts and proxyadmin there. What is the best way to get native tokens for the network?

clemsos avatar May 28 '24 13:05 clemsos

@pavvann Is safe multisig service deployed on Astar ?

@clemsos no. i think i have to transfer ownership to unlock-protocol.eth?

seems Astar zkEVM is in the process of being added to safe safe-global/safe-deployments#404

you could create a safe using the command yarn hardhat safe:create --network astarzkevm then transfer the ownership of contracts and proxyadmin there. What is the best way to get native tokens for the network?

let me try to create the safe and transfer ownership

pavvann avatar Sep 12 '24 11:09 pavvann

@pavvann Is safe multisig service deployed on Astar ?

@clemsos no. i think i have to transfer ownership to unlock-protocol.eth?

seems Astar zkEVM is in the process of being added to safe safe-global/safe-deployments#404 you could create a safe using the command yarn hardhat safe:create --network astarzkevm then transfer the ownership of contracts and proxyadmin there. What is the best way to get native tokens for the network?

let me try to create the safe and transfer ownership

hi there! i have transferred the ownership to the safe

Safe Address: 0xAf82C931A1a7c751eA8AB2c983619A27b87F8470

ProxyAdmin: https://astar-zkevm.explorer.startale.com/tx/0x9f7ea57b9bfb5ac2b2abffc517d8a1f18d2deea576cac197e823ab0095a95aa9

UnlockProxy: https://astar-zkevm.explorer.startale.com/tx/0xca87b3ee30c0c0acb7d241c7a1441f99334f3700c7b47b4ed007ed57f390a5b9

pavvann avatar Sep 15 '24 10:09 pavvann

packages/networks/src/networks/astarzkevm.ts

The setup is successful :

  • ✅ all mandatory keys are present

We have found the following errors :

  • ❌ Multisig is missing.

Some verification calls have failed :

  • ❌ Failed to check verification for contract PublicLockLatest at 0xA8BD17B22991509F89Eb9861ce88a2Cbdc8bBfF0 (did you add block explorer verification and API in @unlock-protocol/hardhat-helpers package ?)
  • ❌ Failed to check verification for contract Unlock at 0xeBec66d1f006FEC42633B6fa30b0397de8a4D965 (did you add block explorer verification and API in @unlock-protocol/hardhat-helpers package ?)
  • ❌ Failed to check verification for contract onKeyPurchaseHook_PASSWORD at 0xe270a288cb5a4633C26B79d8386afa195BcdC610 (did you add block explorer verification and API in @unlock-protocol/hardhat-helpers package ?)
  • ❌ Could not fetch Unlock source code from block explorer, undefined
  • ❌ Could not fetch PublicLock source code from block explorer, TypeError: Cannot destructure property 'urls' of 'chains.find(...)' as it is undefined.

Some additonal warnings :

  • ⚠️ Contract PublicLockPrevious is missing

unlock-deployer avatar Sep 15 '24 10:09 unlock-deployer

packages/networks/src/networks/astarzkevm.ts

The setup is successful :

  • ✅ all mandatory keys are present
  • ✅ Unlock ownership correctly set to the multisig

We have found the following errors :

  • ❌ Unexpected policy: 1/9 for 4/9 expected

Some verification calls have failed :

  • ❌ Failed to check verification for contract PublicLockLatest at 0xA8BD17B22991509F89Eb9861ce88a2Cbdc8bBfF0 (did you add block explorer verification and API in @unlock-protocol/hardhat-helpers package ?)
  • ❌ Failed to check verification for contract Unlock at 0xeBec66d1f006FEC42633B6fa30b0397de8a4D965 (did you add block explorer verification and API in @unlock-protocol/hardhat-helpers package ?)
  • ❌ Failed to check verification for contract onKeyPurchaseHook_PASSWORD at 0xe270a288cb5a4633C26B79d8386afa195BcdC610 (did you add block explorer verification and API in @unlock-protocol/hardhat-helpers package ?)
  • ❌ Could not fetch Unlock source code from block explorer, undefined
  • ❌ Could not fetch PublicLock source code from block explorer, TypeError: Cannot destructure property 'urls' of 'chains.find(...)' as it is undefined.

Some additonal warnings :

  • ⚠️ Contract PublicLockPrevious is missing

unlock-deployer avatar Sep 15 '24 10:09 unlock-deployer