Skip to content

Commit 147cc6b

Browse files
committed
copied from main
1 parent ba75438 commit 147cc6b

Some content is hidden

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

48 files changed

+4911
-310
lines changed

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
3+
"changelog": "@changesets/cli/changelog",
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "public",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.env.example

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TENDERLY_ACCESS_KEY=
2+
3+
TENDERLY_VIRTUAL_TESTNET_RPC_URL=
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: "Setup Node and Foundry"
2+
description: "Setups up node and foundry"
3+
runs:
4+
using: "composite"
5+
steps:
6+
- name: Enable Corepack
7+
run: corepack enable
8+
shell: bash
9+
10+
- uses: pnpm/action-setup@v4
11+
name: Install pnpm
12+
with:
13+
run_install: false
14+
15+
- name: Install Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20.10.0
19+
cache: "pnpm"
20+
21+
- name: Install dependencies
22+
run: pnpm install
23+
shell: bash
24+
25+
- name: Install Foundry
26+
uses: foundry-rs/foundry-toolchain@v1
27+
with:
28+
version: nightly-6b07c77eb1c1d1c4b56ffa7f79240254b73236d2

.github/workflows/coverage.yml

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,11 @@ jobs:
99
name: Coverage
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v4
12+
- name: Checkout Repo
13+
uses: actions/checkout@v4
1314

14-
- uses: actions/checkout@v4
15-
16-
- uses: pnpm/action-setup@v4
17-
name: Install pnpm
18-
with:
19-
run_install: false
20-
21-
- name: Install Node.js
22-
uses: actions/setup-node@v4
23-
with:
24-
node-version: 20.10.0
25-
cache: "pnpm"
26-
27-
- name: Install dependencies
28-
run: pnpm install
29-
shell: bash
30-
31-
- name: Install Foundry
32-
uses: foundry-rs/foundry-toolchain@v1
33-
with:
34-
version: nightly-6b07c77eb1c1d1c4b56ffa7f79240254b73236d2
15+
- name: Install node deps and foundry
16+
uses: ./.github/actions/setup_deps
3517

3618
- name: Run Forge coverage
3719
run: forge coverage --report lcov

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Changesets Version and Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
concurrency: ${{ github.workflow }}-${{ github.ref }}
9+
10+
jobs:
11+
release:
12+
name: Release
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repo
16+
uses: actions/checkout@v4
17+
18+
- name: Install node deps and foundry
19+
uses: ./.github/actions/setup_deps
20+
21+
- name: Create Release Pull Request or Publish to npm
22+
id: changesets
23+
uses: changesets/action@v1
24+
with:
25+
version: pnpm changeset version
26+
publish: pnpm changeset publish
27+
createGithubReleases: true
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,11 @@ jobs:
1616
status: pending
1717
context: Test status
1818

19-
- uses: actions/checkout@v4
19+
- name: Checkout Repo
20+
uses: actions/checkout@v4
2021

21-
- uses: pnpm/action-setup@v4
22-
name: Install pnpm
23-
with:
24-
run_install: false
25-
26-
- name: Install Node.js
27-
uses: actions/setup-node@v4
28-
with:
29-
node-version: 20.10.0
30-
cache: "pnpm"
31-
32-
- name: Install dependencies
33-
run: pnpm install
34-
shell: bash
35-
36-
- name: Install Foundry
37-
uses: foundry-rs/foundry-toolchain@v1
38-
with:
39-
version: nightly-6b07c77eb1c1d1c4b56ffa7f79240254b73236d2
22+
- name: Install node deps and foundry
23+
uses: ./.github/actions/setup_deps
4024

4125
- name: Build contracts
4226
run: |

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Compiler files
22
cache/
33
out/
4-
abis/
4+
abis/*.json
55

66
# Ignores development broadcast logs
77
broadcast
@@ -32,3 +32,5 @@ dist/
3232
!.env.anvil
3333

3434
.vercel
35+
36+
package/generated.ts

CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# @zoralabs/zora-token-contracts
2+
3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- 55174b2: Storing allocation amounts, and allowing set allocations with signature
8+
- 1573442: Deployed latest claim
9+
- 793f3db: Combined storage slots for claim contract
10+
11+
## 0.1.1
12+
13+
### Patch Changes
14+
15+
- 2328c40: Removed indexed flags from array values in events to make them easier to index
16+
17+
## 0.1.0
18+
19+
### Minor Changes
20+
21+
- b3f3c6b: Created dev community claim contract. made base claim contract with logic for if claim is open moved to subclass
22+
23+
### Patch Changes
24+
25+
- 04e00e0: Added expiration details to signature expired error
26+
27+
## 0.0.5
28+
29+
### Patch Changes
30+
31+
- 49e37ec: Zora Token Contract dependency updates
32+
33+
## 0.0.4
34+
35+
### Patch Changes
36+
37+
- 0a3a586: Saved tenderly virtual testnet deployment
38+
- 0a3a586: Add abis in JSON to package exports
39+
- 0a3a586: Included typed data generation helper

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2023 Zora Labs
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)