Skip to content

Commit 1f6fcd3

Browse files
committed
chore: move all files into solidity-token-erc721a
0 parents  commit 1f6fcd3

Some content is hidden

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

87 files changed

+40472
-0
lines changed

.github/labeler.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: v1
2+
3+
labels:
4+
- label: 'feat'
5+
matcher:
6+
title: '^feat:.*'
7+
- label: 'fix'
8+
matcher:
9+
title: '^fix:.*'
10+
- label: 'chore'
11+
matcher:
12+
title: '^chore:.*'
13+
- label: 'docs'
14+
matcher:
15+
title: '^docs:.*'

.github/release.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
changelog:
2+
categories:
3+
- title: Breaking Changes 🛠
4+
labels:
5+
- breaking-change
6+
- title: Exciting New Features 🎉
7+
labels:
8+
- feat
9+
- title: Important Bug Fixes 🐛
10+
labels:
11+
- fix
12+
- title: Documentation 📚
13+
labels:
14+
- docs
15+
- title: Other changes 🏗️
16+
labels:
17+
- chore
18+
- title: Dependencies 📦
19+
labels:
20+
- dependencies

.github/renovate.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:recommended",
5+
":automergeMinor",
6+
":automergePr",
7+
":automergeRequireAllStatusChecks",
8+
":gitSignOff",
9+
":pinVersions",
10+
":semanticCommits",
11+
":semanticCommitTypeAll(chore)",
12+
":enableVulnerabilityAlerts",
13+
":combinePatchMinorReleases",
14+
":prConcurrentLimitNone",
15+
":prHourlyLimitNone",
16+
"security:openssf-scorecard",
17+
"schedule:nonOfficeHours",
18+
":disableDependencyDashboard"
19+
],
20+
"labels": ["dependencies"],
21+
"rebaseWhen": "conflicted",
22+
"packageRules": [],
23+
"hostRules": [
24+
{
25+
"timeout": 3000000
26+
}
27+
]
28+
}

.github/workflows/pr-labels.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: PR Labels
2+
3+
on:
4+
pull_request:
5+
types: [opened, closed]
6+
branches:
7+
- main
8+
9+
permissions:
10+
actions: write
11+
checks: write
12+
contents: write
13+
deployments: write
14+
id-token: write
15+
issues: write
16+
discussions: write
17+
packages: write
18+
pages: write
19+
pull-requests: write
20+
repository-projects: write
21+
security-events: write
22+
statuses: write
23+
24+
jobs:
25+
labels:
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: fuxingloh/multi-labeler@v4

.github/workflows/solidity.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Branch
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
tags:
11+
- 'v*'
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.ref }}
15+
cancel-in-progress: true
16+
17+
permissions:
18+
actions: write
19+
checks: write
20+
contents: write
21+
deployments: write
22+
id-token: write
23+
issues: write
24+
discussions: write
25+
packages: write
26+
pages: write
27+
pull-requests: write
28+
repository-projects: write
29+
security-events: write
30+
statuses: write
31+
32+
jobs:
33+
ci:
34+
name: CI
35+
uses: settlemint/smart-contracts-actions/.github/workflows/solidity.yml@main
36+
secrets:
37+
TOKEN: ${{ secrets.GITHUB_TOKEN }}
38+
with:
39+
docker-image-name: solidity-token-erc721a
40+
runs-on: solidity-token-erc721a
41+
ignition-module: 'ignition/modules/ExampleERC721a.ts'
42+
subgraph-contract-address-key: 'ExampleERC721aModule#ExampleERC721a'

.gitignore

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
node_modules
2+
.env
3+
4+
# Hardhat files
5+
/cache
6+
/artifacts
7+
8+
# TypeChain files
9+
/typechain
10+
/typechain-types
11+
12+
# solidity-coverage files
13+
/coverage
14+
/coverage.json
15+
lcov.info
16+
17+
# Hardhat Ignition default folder for deployments against a local node
18+
ignition/deployments/chain-31337
19+
20+
# Compiler files
21+
cache_forge/
22+
out/
23+
24+
# Ignores development broadcast logs
25+
!/broadcast
26+
/broadcast/*/31337/
27+
/broadcast/**/dry-run/
28+
29+
# Docs
30+
docs/
31+
32+
# Dotenv file
33+
.env
34+
35+
# Subgraphs
36+
generated
37+
build
38+
39+
.pnpm

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.yaml

.solhint.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": "solhint:recommended"
3+
}

.vscode/extensions.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"recommendations": [
3+
"nomicfoundation.hardhat-solidity",
4+
"genieai.chatgpt-vscode",
5+
"esbenp.prettier-vscode",
6+
"dracula-theme.theme-dracula",
7+
"cnshenj.vscode-task-manager",
8+
"catppuccin.catppuccin-vsc-icons",
9+
"catppuccin.catppuccin-vsc"
10+
]
11+
}

.vscode/tasks.json

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"version": "2.0.0",
3+
"inputs": [
4+
{
5+
"id": "deployment-module",
6+
"description": "Hardhat Ignition Module",
7+
"type": "promptString",
8+
"default": "ignition/modules/ExampleERC721a.ts"
9+
},
10+
{
11+
"id": "extra-deployment",
12+
"description": "Extra commandline arguments, e.g. --verify",
13+
"type": "promptString",
14+
"default": ""
15+
},
16+
],
17+
"tasks": [
18+
{
19+
"label": "Foundry - Build",
20+
"type": "shell",
21+
"command": "btp-scs foundry build",
22+
"group": {
23+
"kind": "build",
24+
"isDefault": true
25+
},
26+
"problemMatcher": []
27+
},
28+
{
29+
"label": "Hardhat - Build",
30+
"type": "shell",
31+
"command": "btp-scs hardhat build",
32+
"group": {
33+
"kind": "build",
34+
"isDefault": false
35+
},
36+
"problemMatcher": []
37+
},
38+
{
39+
"label": "Foundry - Test",
40+
"type": "shell",
41+
"command": "btp-scs foundry test",
42+
"group": "test",
43+
"problemMatcher": []
44+
},
45+
{
46+
"label": "Hardhat - Test",
47+
"type": "shell",
48+
"command": "btp-scs hardhat test",
49+
"group": "test",
50+
"problemMatcher": []
51+
},
52+
{
53+
"label": "Foundry - Format",
54+
"type": "shell",
55+
"command": "btp-scs foundry format",
56+
"problemMatcher": []
57+
},
58+
{
59+
"label": "Foundry - Start network",
60+
"type": "shell",
61+
"command": "btp-scs foundry network",
62+
"problemMatcher": [],
63+
"isBackground": true
64+
},
65+
{
66+
"label": "Hardhat - Start network",
67+
"type": "shell",
68+
"command": "btp-scs hardhat network",
69+
"problemMatcher": [],
70+
"isBackground": true,
71+
},
72+
{
73+
"label": "Hardhat - Deploy to local network",
74+
"type": "shell",
75+
"command": "btp-scs hardhat deploy local ${input:extra-deployment} -m ${input:deployment-module}",
76+
"problemMatcher": []
77+
},
78+
{
79+
"label": "Hardhat - Reset & Deploy to local network",
80+
"type": "shell",
81+
"command": "btp-scs hardhat deploy local --reset ${input:extra-deployment} -m ${input:deployment-module}",
82+
"problemMatcher": []
83+
},
84+
{
85+
"label": "Hardhat - Deploy to platform network",
86+
"type": "shell",
87+
"command": "btp-scs hardhat deploy remote ${input:extra-deployment} -m ${input:deployment-module}",
88+
"problemMatcher": []
89+
},
90+
{
91+
"label": "Hardhat - Reset & Deploy to platform network",
92+
"type": "shell",
93+
"command": "btp-scs hardhat deploy remote --reset ${input:extra-deployment} -m ${input:deployment-module}",
94+
"problemMatcher": []
95+
},
96+
{
97+
"label": "The Graph - Deploy or update the subgraph",
98+
"type": "shell",
99+
"command": "btp-scs subgraph deploy",
100+
"problemMatcher": []
101+
}
102+
],
103+
}

0 commit comments

Comments
 (0)