Skip to content

Aavegotchi bridge (Polygon <> Gotchichain)#203

Open
KevinKons wants to merge 42 commits into
aavegotchi:SOLID-135-prepare-gotchichain-deploy-scriptfrom
KevinKons:aavegotchi-bridge
Open

Aavegotchi bridge (Polygon <> Gotchichain)#203
KevinKons wants to merge 42 commits into
aavegotchi:SOLID-135-prepare-gotchichain-deploy-scriptfrom
KevinKons:aavegotchi-bridge

Conversation

@KevinKons

@KevinKons KevinKons commented Jun 13, 2023

Copy link
Copy Markdown

This PR contains the bridge implementation of Aavegotchis and Items.

BridgeGotchichainSide and BridgePolygonSide are the contracts responsible for handling the bridge of aavegotchi. These contracts extends contracts implemented by LayerZero that we are using as base for our bridge.

The ItemsBridgePolygonSide and ItemsBridgeGotchichainSide are basically the same thing as the above, but we use then to implement the Items bridge.

We have two test files, aavegotchiBridge.test.ts and itemsBridge.test.ts. These files use an mocked implementation of LayerZero that allows for testing the bridge in only one chain.

The most important part that we need you to review is the way we are handling the manipulation of items and aavegotgchis on the PolygonXGotchichainBridgeFacet contract. This contract basically handles updating Aavegotchis metadata and updating items ownership when we bridge them.

Comment thread contracts/Aavegotchi/facets/ItemsFacet.sol Outdated
Comment thread scripts/deploy-supernet.ts Outdated
Comment thread scripts/deploy-supernet.ts Outdated
@KevinKons KevinKons changed the title [WIP] Aavegotchi bridge (Polygon <> Gotchichain) Aavegotchi bridge (Polygon <> Gotchichain) Jun 26, 2023
Comment thread contracts/Aavegotchi/facets/PolygonXGotchichainBridgeFacet.sol Outdated
Comment thread contracts/Aavegotchi/facets/PolygonXGotchichainBridgeFacet.sol Outdated
Comment thread contracts/Aavegotchi/facets/PolygonXGotchichainBridgeFacet.sol Outdated
Comment thread contracts/Aavegotchi/facets/PolygonXGotchichainBridgeFacet.sol Outdated
Comment thread contracts/Aavegotchi/facets/PolygonXGotchichainBridgeFacet.sol Outdated
Comment thread hardhat.config.ts
Comment thread contracts/PolygonXGotchichainBridge/BridgeGotchichainSide.sol
Comment thread test/aavegotchiBridge.test.ts
Comment thread contracts/Aavegotchi/facets/PolygonXGotchichainBridgeFacet.sol Outdated
Comment thread contracts/Aavegotchi/facets/PolygonXGotchichainBridgeFacet.sol Outdated
@KevinKons

Copy link
Copy Markdown
Author

@orionstardust Can we have an estimate on when you will be done deploying the contracts?

@web3rover web3rover changed the base branch from SOLID-135-prepare-gotchichain-deploy-script to gotchichain July 16, 2023 12:50
@web3rover web3rover changed the base branch from gotchichain to SOLID-135-prepare-gotchichain-deploy-script July 16, 2023 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants