Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 3579544

Browse files
committed
chore(deploy): cleanup docs deploy arbOne
1 parent 5893783 commit 3579544

File tree

233 files changed

+9284
-26501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

233 files changed

+9284
-26501
lines changed

Diff for: .github/workflows/ci-default.yml

-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
11
# NOTE: This name appears in GitHub's Checks API and in workflow's status badge.
22
name: ci-default
33
env:
4-
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
5-
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
6-
NEXT_PUBLIC_DOMAIN: ${{ vars.NEXT_PUBLIC_DOMAIN }}
7-
NEXT_PUBLIC_DEFAULT_CHAIN_ID: ${{ vars.NEXT_PUBLIC_DEFAULT_CHAIN_ID }}
8-
NEXT_PUBLIC_CONTRACT_ADDRESS: ${{ vars.NEXT_PUBLIC_CONTRACT_ADDRESS }}
9-
NEXT_PUBLIC_GRAPH_URL: ${{ vars.NEXT_PUBLIC_GRAPH_URL }}
10-
NEXT_PUBLIC_NFT_STORAGE_TOKEN: ${{ secrets.NEXT_PUBLIC_NFT_STORAGE_TOKEN }}
11-
NEXT_PUBLIC_WEB3_STORAGE_TOKEN: ${{ secrets.NEXT_PUBLIC_NFT_STORAGE_TOKEN }}
12-
NEXT_PUBLIC_SUPABASE_URL: ${{ vars.NEXT_PUBLIC_SUPABASE_URL }}
13-
NEXT_PUBLIC_SUPABASE_ANON_KEY: ${{ secrets.NEXT_PUBLIC_SUPABASE_ANON_KEY }}
14-
NEXT_PUBLIC_SUPABASE_TABLE: ${{ vars.NEXT_PUBLIC_SUPABASE_TABLE }}
15-
NEXT_PUBLIC_WALLETCONNECT_ID: ${{ secrets.NEXT_PUBLIC_WALLETCONNECT_ID }}
164
INFURA_API_KEY: ${{ secrets.INFURA_API_KEY }}
175
ALCHEMY_API_KEY: ${{ secrets.ALCHEMY_API_KEY }}
18-
DOCKER_PLATFORM: "amd64"
196

207
# Trigger the workflow when:
218
on:
@@ -46,14 +33,9 @@ jobs:
4633
# Fetch all history so gitlint can check the relevant commits.
4734
fetch-depth: "0"
4835
- run: corepack enable
49-
- name: Set up Python 3
50-
uses: actions/setup-python@v4
51-
with:
52-
python-version: "3.x"
5336
- name: Set up Node.js 18
5437
uses: actions/setup-node@v4
5538
with:
56-
node-version: "18.18.1"
5739
cache: "pnpm"
5840

5941
- name: Install Foundry

Diff for: .gitmodules

-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +0,0 @@
1-
[submodule "sdk/lib/hypercerts-api"]
2-
path = sdk/lib/hypercerts-api
3-
url = https://github.com/hypercerts-org/hypercerts-api

Diff for: contracts/hardhat.config.cts

+4-4
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ function getChainConfig(chain: keyof typeof chainIds) {
114114
config = {
115115
...config,
116116
url: `https://arb-mainnet.g.alchemy.com/v2/${ALCHEMY_API_KEY}`,
117-
// url: "https://virtual.arbitrum.rpc.tenderly.co/982c9fbc-4ae9-4eb6-9346-daca23fd603f",
117+
// url: "https://virtual.arbitrum.rpc.tenderly.co/143c1212-e69c-4f74-bd24-8676c965c44c",
118118
};
119119
}
120120

@@ -154,7 +154,7 @@ const config: HardhatUserConfig = {
154154
except: ["@openzeppelin"],
155155
},
156156
dodoc: {
157-
runOnCompile: true,
157+
runOnCompile: false,
158158
include: ["src/marketplace", "src/protocol"],
159159
freshOutput: true,
160160
outputDir: "../docs/docs/developer/api/contracts",
@@ -167,7 +167,7 @@ const config: HardhatUserConfig = {
167167
base: BASESCAN_API_KEY!,
168168
"base-sepolia": BASESCAN_API_KEY!,
169169
"arb-sepolia": ARBISCAN_API_KEY!,
170-
arbitrumOne: ARBISCAN_API_KEY!,
170+
arbitrumOne: "DPB1JAY49URG4RJP76WQ11CMGPBF2FX3C5",
171171
},
172172
customChains: [
173173
{
@@ -221,7 +221,7 @@ const config: HardhatUserConfig = {
221221
"base-sepolia": getChainConfig("base-sepolia"),
222222
"base-mainnet": getChainConfig("base-mainnet"),
223223
"arb-sepolia": getChainConfig("arb-sepolia"),
224-
"arbitrumOne": getChainConfig("arbitrumOne"),
224+
arbitrumOne: getChainConfig("arbitrumOne"),
225225
},
226226
paths: {
227227
cache: "./cache_hardhat", // Use a different cache for Hardhat than Foundry

Diff for: contracts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@hypercerts-org/contracts",
33
"description": "EVM compatible protocol for managing impact claims",
4-
"version": "2.0.0-alpha.8",
4+
"version": "2.0.0-alpha.9",
55
"author": {
66
"name": "Hypercerts Foundation",
77
"url": "https://github.com/hypercerts-org/hypercerts"

Diff for: contracts/pnpm-lock.yaml

+9,209
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"TransferManager": {
3+
"address": "0x658c1695DCb298E57e6144F6dA3e83DdCF5e2BaB",
4+
"fullNamespace": "TransferManager",
5+
"args": ["0xdc6d6f9ab5fcc398b92b017e8482749ae5afbf35"],
6+
"encodedArgs": "0xdc6d6f9ab5fcc398b92b017e8482749ae5afbf35",
7+
"tx": "0x70b306371278c66189814b465e151006ad6a6e0c9d6b910c0234ac2ec8da1706"
8+
},
9+
"ProtocolFeeRecipient": {
10+
"address": "0xE332d4b0a30a522099292594999967267480a081",
11+
"fullNamespace": "ProtocolFeeRecipient",
12+
"args": ["0xE7C4531ad8828794904D332a12702beC8ff1A498", "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"],
13+
"encodedArgs": "0xe7c4531ad8828794904d332a12702bec8ff1a49882af49447d8a07e3bd95bd0d56f35241523fbab1",
14+
"tx": "0x6d9ff2423d04879b3445bb95c2abdfe760090391440e1e2ea92e26c267d5c696"
15+
},
16+
"HypercertExchange": {
17+
"address": "0xcE8fa09562f07c23B9C21b5d0A29a293F8a8BC83",
18+
"fullNamespace": "LooksRareProtocol",
19+
"args": [
20+
"0xdc6d6f9ab5fcc398b92b017e8482749ae5afbf35",
21+
"0xE332d4b0a30a522099292594999967267480a081",
22+
"0x658c1695DCb298E57e6144F6dA3e83DdCF5e2BaB",
23+
"0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"
24+
],
25+
"encodedArgs": "0xdc6d6f9ab5fcc398b92b017e8482749ae5afbf35e332d4b0a30a522099292594999967267480a081658c1695dcb298e57e6144f6da3e83ddcf5e2bab82af49447d8a07e3bd95bd0d56f35241523fbab1",
26+
"tx": "0x1eff2ebd3d6ad2a97f92c4caa648fb34fb25ca60730625d3491cd2b1171fcc23"
27+
},
28+
"RoyaltyFeeRegistry": {
29+
"address": "0xd97b92B740EAf655DFf4f93B0D6D38232cfE84C6",
30+
"fullNamespace": "RoyaltyFeeRegistry",
31+
"args": ["1000"],
32+
"encodedArgs": "0x00000000000000000000000000000000000000000000000000000000000003e8",
33+
"tx": "0x8352d52116ff97551dca27801b0fe1995e9b66ad45062021c13da4d7855f9658"
34+
},
35+
"OrderValidator": {
36+
"address": "0x74b05A917BBa5050ea216877c81801d6049b3f16",
37+
"fullNamespace": "OrderValidatorV2A",
38+
"args": ["0xcE8fa09562f07c23B9C21b5d0A29a293F8a8BC83"],
39+
"encodedArgs": "0xce8fa09562f07c23b9c21b5d0a29a293f8a8bc83"
40+
},
41+
"CreatorFeeManager": {
42+
"address": "0x2d25df25ab95b74a18eb2d719a98b47f5e5f5534",
43+
"fullNamespace": "CreatorFeeManagerWithRoyalties",
44+
"args": ["0xd97b92B740EAf655DFf4f93B0D6D38232cfE84C6"],
45+
"encodedArgs": "0xd97b92b740eaf655dff4f93b0d6d38232cfe84c6",
46+
"tx": "0x2339dcf7dda93e4fbfc763a70dfe932b793552ee805c584d10acdf6127ba18f2"
47+
},
48+
"StrategyHypercertFractionOffer": {
49+
"address": "0xecab24cade0261fc6513ca13bb3d10f760af3da8",
50+
"fullNamespace": "StrategyHypercertFractionOffer",
51+
"args": [],
52+
"encodedArgs": "0x",
53+
"tx": "0x79012a15888ec5c77e7c68cbc85614645f13603e18a1f951746fa5857c0f0a23"
54+
}
55+
}

Diff for: contracts/src/deployments/index.ts

+8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import deployments_marketplace_optimism_mainnet from "./deployment-marketplace-o
33
import deployments_marketplace_sepolia from "./deployment-marketplace-sepolia.json";
44
import deployments_protocol from "./deployments-protocol.json";
55
import deployments_marketplace_arb_sepolia from "./deployment-marketplace-arb-sepolia.json";
6+
import deployments_marketplace_arb_one from "./deployment-marketplace-arbitrumOne.json";
67

78
const deployments_marketplace = {
89
"10": {
@@ -33,6 +34,13 @@ const deployments_marketplace = {
3334
RoyaltyFeeRegistry: deployments_marketplace_arb_sepolia.RoyaltyFeeRegistry.address,
3435
StrategyHypercertFractionOffer: deployments_marketplace_arb_sepolia.StrategyHypercertFractionOffer.address,
3536
},
37+
"42161": {
38+
TransferManager: deployments_marketplace_arb_one.TransferManager.address,
39+
HypercertExchange: deployments_marketplace_arb_one.HypercertExchange.address,
40+
OrderValidatorV2A: deployments_marketplace_arb_one.OrderValidator.address,
41+
RoyaltyFeeRegistry: deployments_marketplace_arb_one.RoyaltyFeeRegistry.address,
42+
StrategyHypercertFractionOffer: deployments_marketplace_arb_one.StrategyHypercertFractionOffer.address,
43+
},
3644
};
3745

3846
export default { marketplace: deployments_marketplace, protocol: deployments_protocol };

Diff for: contracts/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ const deployments = {
7979
},
8080
42161: {
8181
...DEPLOYMENTS.protocol["42161"],
82+
...DEPLOYMENTS.marketplace["42161"],
8283
},
8384
421614: {
8485
...DEPLOYMENTS.protocol["421614"],

Diff for: contracts/tasks/config.ts

+5-2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const WETH: TokenAddressType = {
77
"optimism-mainnet": "0x4200000000000000000000000000000000000006",
88
"base-sepolia": "0x4200000000000000000000000000000000000006",
99
"arb-sepolia": "0x3031a6D5D9648BA5f50f656Cd4a1672E1167a34A",
10+
arbitrumOne: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
1011
};
1112

1213
// LINK faucet for Sepolia: https://faucets.chain.link/
@@ -17,6 +18,7 @@ const DAI: TokenAddressType = {
1718
"optimism-mainnet": "0xda10009cbd5d07dd0cecc66161fc93d7c9000da1",
1819
"base-sepolia": "0xE4aB69C077896252FAFBD49EFD26B5D171A32410",
1920
"arb-sepolia": "0xb1D4538B4571d411F07960EF2838Ce337FE1E80E",
21+
arbitrumOne: "0xDA10009cBd5D07dd0CeCc66161FC93D7c9000da1",
2022
};
2123

2224
// USDC https://faucet.circle.com/
@@ -28,6 +30,7 @@ const USDC: TokenAddressType = {
2830
"optimism-mainnet": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
2931
"base-sepolia": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
3032
"arb-sepolia": "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",
33+
arbitrumOne: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
3134
};
3235

3336
export const getTokenAddresses = (network: string) => {
@@ -46,7 +49,7 @@ const ADMIN_ACCOUNT: { [key: string]: string } = {
4649
"optimism-mainnet": "0x560adA72a80b4707e493cA8c3B7B7528930E7Be5",
4750
celo: "0x14ae502FEF3843fF3a1735B3209D39B320130af9",
4851
base: "0x14ae502FEF3843fF3a1735B3209D39B320130af9",
49-
arbitrum: "0x14ae502FEF3843fF3a1735B3209D39B320130af9",
52+
arbitrumOne: "0x14ae502FEF3843fF3a1735B3209D39B320130af9",
5053
"arb-sepolia": "0x5d36971451AE593685Cab8815d644f9B4B66Ec99",
5154
};
5255

@@ -68,7 +71,7 @@ const FEE_RECIPIENT: { [key: string]: string } = {
6871
"optimism-mainnet": "0xE7C4531ad8828794904D332a12702beC8ff1A498",
6972
celo: "0xE7C4531ad8828794904D332a12702beC8ff1A498",
7073
base: "0xE7C4531ad8828794904D332a12702beC8ff1A498",
71-
arbitrum: "0xE7C4531ad8828794904D332a12702beC8ff1A498",
74+
arbitrumOne: "0xE7C4531ad8828794904D332a12702beC8ff1A498",
7275
"arb-sepolia": "0x5d36971451AE593685Cab8815d644f9B4B66Ec99",
7376
};
7477

Diff for: contracts/tasks/deploy-marketplace.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const runCreate2Deployment = async (
5252
abi: create2Instance.abi,
5353
functionName: "safeCreate2",
5454
args: [create2.salt, create2.deployData],
55-
account: "0x5d36971451ae593685cab8815d644f9b4b66ec99", // update method to take account as arg
55+
account: "0xDc6d6f9aB5fcc398B92B017e8482749aE5afbF35", // update method to take account as arg
5656
});
5757

5858
const hash = await create2Instance.write.safeCreate2([create2.salt, create2.deployData]);

Diff for: docs/.eslintrc.yml

-27
This file was deleted.

Diff for: docs/.gitignore

-22
This file was deleted.

Diff for: docs/README.md

-40
This file was deleted.

Diff for: docs/babel.config.ts

-3
This file was deleted.

Diff for: docs/docs/about.md

-22
This file was deleted.

Diff for: docs/docs/announcements/2024_01_16_An_Impactful_Year.md

-24
This file was deleted.

0 commit comments

Comments
 (0)