Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/seeder #592

Open
wants to merge 133 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
c9e9709
feat: partly modified
iforcenick Sep 9, 2022
2122887
feat: modification1
iforcenick Sep 13, 2022
2226b46
feat:modification3
iforcenick Sep 14, 2022
3de4bb9
feat: almost done without order exception
iforcenick Sep 21, 2022
fa328d4
feat: script modified
iforcenick Sep 23, 2022
4448627
feat: changed deployment script
iforcenick Sep 26, 2022
2b5077d
feat: deployment ready
iforcenick Sep 27, 2022
3c81e02
feat: deployment error fixed
iforcenick Sep 28, 2022
f118237
feat: web-app types
iforcenick Sep 29, 2022
25d8322
feat: modifying web-app
iforcenick Sep 29, 2022
54a4bed
feat: smart contract part upgraded
iforcenick Sep 29, 2022
2f6781a
feat: UI runs.
iforcenick Oct 5, 2022
301805f
feat: webapp modified
iforcenick Oct 10, 2022
a3db5bf
feat: update
iforcenick Oct 12, 2022
15a2808
feat: webapp completed
iforcenick Oct 14, 2022
d6f20ee
feat: final push
iforcenick Oct 19, 2022
9042577
fix: generating images, accessories layers
Jan 2, 2023
82843b3
fix: accessory alignment and accId mapping, accessory border
Jan 9, 2023
3f4c259
fix: accessory layering
Jan 11, 2023
1685b1f
fix: zombie and alien heads are replaced
Jan 11, 2023
9449e4c
fix: decompression optimization
Jan 18, 2023
282045b
fix: hoodies rendering and rendering optimization
Jan 20, 2023
b71d644
fix: hoodies rendering and rendering optimization
Jan 21, 2023
d1068f8
feature: RGBA palette and transparent rim glasses f
Jan 21, 2023
f86269c
fix: opacity
Jan 23, 2023
6ff7003
fix: addresses update after goerli deploy
Jan 26, 2023
a24414a
fix: composing assets, indexing per gender
Jan 27, 2023
6cf8b96
fix: opacity
Feb 6, 2023
630c535
fix: rendering optimization
Feb 10, 2023
bcfcd9e
fix: compile tests
Feb 22, 2023
06b0d14
fix: accessories in subgraph
Feb 22, 2023
9df073f
fix: governance tests pass
Feb 23, 2023
2d09931
feat: cryptopunks in gov contract
Feb 23, 2023
1ffde4e
feat: original Cryptopunks in deployment scripts
Feb 23, 2023
7868341
feat: CryptopunksVote contract v1
Feb 25, 2023
e578daf
fix: idiomatic function signature - CryptopunksVote
Feb 25, 2023
ffbfd5d
fix: CryptopunksVote events
Feb 25, 2023
8751a59
fix: seed hash calculation and detecting repeating hashes in the cont…
Feb 26, 2023
52d6d7f
fix: CryptopunksVote: delegateBySig
Feb 26, 2023
af7a94a
fix: goerli deployment
Feb 26, 2023
21429cb
deployment
Feb 28, 2023
f5fa49b
deploymnet
Feb 28, 2023
aacbc55
fix: subgraph url and data adjustments
natkins-dev Feb 22, 2023
63caabf
fix: data enhancements
natkins-dev Feb 22, 2023
59162f2
fix: routes changes and hidden the unused ones
natkins-dev Feb 23, 2023
0e943c9
fix: hide all non project copy
natkins-dev Feb 23, 2023
7d61a46
fix: gas limit for new auction settle
natkins-dev Feb 28, 2023
b29f79e
fix: add cryptopunks votes to proposal count
natkins-dev Feb 28, 2023
bef00cc
fix: redirect removed
natkins-dev Feb 28, 2023
ed7dd6b
fix: cached punks removed temporarily
natkins-dev Feb 28, 2023
385d89b
fix: opacity rendered in sdk
Feb 28, 2023
3186ce5
fix: problematic translation removed
natkins-dev Mar 1, 2023
482f1ce
fix: spinner as loader
natkins-dev Mar 1, 2023
0047429
feat: gather stats from artificial seeds
Mar 5, 2023
8d95021
local subgrapsh data
Mar 5, 2023
1e661d4
fix: auction house auto pausing tests
Mar 5, 2023
7560d31
fix: contract tests
Mar 6, 2023
51d5761
fix: ts warnings
natkins-dev Mar 7, 2023
f0ff441
fix: remove an unnecessary dependency
Apr 16, 2023
5a61c48
feat: headings font changed
natkins-dev Apr 16, 2023
6b3e908
feat: paragraph font changed
natkins-dev Apr 16, 2023
c2ff1ed
fix: winner component
natkins-dev Apr 17, 2023
f684c0b
feat: punks ids start with 10_000
Apr 17, 2023
a968b13
fix: calculating hashes for OG punks
Apr 18, 2023
11a5b02
feat: generate og punks from contracts and sdk
Apr 18, 2023
af480c2
fix: reversed skin tone
Apr 22, 2023
0971fb0
fix: accessories count choice
Apr 22, 2023
f6f9ef4
fix: generateSeedFromNumber optimization
Apr 22, 2023
feb4231
fix: mint gas consumption and accessories female/zombie
Apr 24, 2023
4682a23
fix: gas usage optimization, NToken.mint()
Apr 25, 2023
c59df22
fix: sdk og rendering, accessories sorting
Apr 25, 2023
285c5d3
test: compare og punks
May 3, 2023
d3e2d84
fix: contracts and sdk rendering compatible with OG punks
May 6, 2023
59d4ba6
feat: modal delegation
natkins-dev May 9, 2023
3694d24
feat: loader
natkins-dev May 11, 2023
6cf0cc3
feat: logo
natkins-dev May 11, 2023
65deaa8
feat: banner and documentation
natkins-dev May 12, 2023
5a9bb8d
feat: footer
natkins-dev May 12, 2023
adc8a61
feat: favicon
natkins-dev May 12, 2023
1be4c5f
feat: brand color
natkins-dev May 13, 2023
40231f1
fix: loader
natkins-dev May 13, 2023
2dca9a6
feat: 404
natkins-dev May 13, 2023
ddcbc92
feat: batch OG cryptopunks delegations and wrapped punk delegation su…
May 15, 2023
7d8e0ac
feat: crypto punks subgraph
May 15, 2023
35a90c2
fix: subgraph og punks represented
May 16, 2023
e9983e5
feat: contract name: CRYPTOPUNKS
May 16, 2023
09061b7
fix: new background
May 16, 2023
4c6366b
fix: male noses random selection
May 17, 2023
b54ee5b
fix: goggles
May 17, 2023
8f336c1
fix: accessories exclusions
May 18, 2023
114a05f
fix: pilot helmet exclusion
May 18, 2023
fd5c436
feat: wrapped punks support in subgraph
May 25, 2023
c71e965
fix: contracts workflow
natkins-dev May 25, 2023
71b7566
fix: delegate
natkins-dev May 22, 2023
a032a95
fix: Sepolia deployment
May 26, 2023
dde2659
fix: Sepolia webapp support
natkins-dev May 27, 2023
a06437f
fix: packages rollback
natkins-dev May 27, 2023
edd8c70
feat: goerli deployment
May 27, 2023
c2c225c
fix: loader
natkins-dev May 28, 2023
c23662f
fix: auction displaying
natkins-dev May 28, 2023
8fc21ec
fix: translations
natkins-dev May 28, 2023
097f29e
fix: docs translations
natkins-dev May 29, 2023
987eba0
fix: treasury link and balance
natkins-dev May 29, 2023
072fb8e
fix: separate delegate and proposal logic
natkins-dev May 30, 2023
a3bef07
fix: header
natkins-dev Jun 1, 2023
2449bea
fix: copy changes
natkins-dev Jun 1, 2023
5e731e3
fix: hide sepolia from supported networks
natkins-dev Jun 1, 2023
ae71680
fix: token name
Jun 2, 2023
e55456c
fix: lock probabilities in NSeeder
Jun 2, 2023
635fbaf
fix: the minter can burn only its own punks
Jun 2, 2023
5cab521
fix: null check for NToken.punkerDAO
Jun 2, 2023
771d3c6
fix: punkers
Jun 2, 2023
6d2ea5b
fix: lock regiter OG Punk Hashes
Jun 2, 2023
8e85523
fix: lock a descriptor in an art contract
Jun 2, 2023
d7c170c
fix: transfer ownership of NSeeder during deployment
Jun 2, 2023
ce85fc2
fix:punkers is the owner after deployment
Jun 2, 2023
b38eab0
doc: goerli deployemnt
Jun 2, 2023
97f5df0
fix: delegate votes
Jun 3, 2023
db4b671
fix: favicon fix
Jun 3, 2023
ceb25d3
fix: treasury balance
Jun 3, 2023
1b14693
fix: hide punk without accessories
Jun 3, 2023
6736a59
fix: yarn.lock, dependencies
Jun 3, 2023
c4d2aea
fix: accessories random selection
Jun 8, 2023
b47373a
fix: changeable token metadata & stats tests & neck attributes
Jun 9, 2023
9b2493d
fix: remove proxy registry
Jun 9, 2023
c22a10d
feat: human readable metadata for test punks
Jun 13, 2023
47089f8
fix: contract uri ipfs hash
Jun 13, 2023
cd77a97
fix: gov tests after voting base changed
Jun 14, 2023
cf7db34
fix: register og punks script/task
Jun 14, 2023
af85c62
feat: total gas consumption of deployment
Jun 14, 2023
f80eb7e
fix: CI
Jun 17, 2023
aacd5a5
fix: project name is PUNKS
Jun 23, 2023
3e24a67
doc: CryptoPunksVote deployment
Jun 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 14 additions & 14 deletions .github/workflows/contracts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
build_and_test:
name: Build and Test
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -41,16 +41,16 @@ jobs:
- name: Uninstall Yarn
if: always()
run: npm uninstall -g yarn
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Run Forge build
run: |
cd packages/nouns-contracts
forge --version
forge build --sizes
- name: Run Forge tests
run: |
cd packages/nouns-contracts
forge test -vvv --ffi
# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1
# with:
# version: nightly
# - name: Run Forge build
# run: |
# cd packages/nouns-contracts
# forge --version
# forge build --sizes
# - name: Run Forge tests
# run: |
# cd packages/nouns-contracts
# forge test -vvv --ffi
2 changes: 1 addition & 1 deletion .github/workflows/node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
node_modules
.vscode
.idea/
build/
dist
/**/sha.ts
Expand All @@ -8,4 +9,6 @@ dist
.env
.DS_Store
*.tsbuildinfo
*.log
*.log
# Local Netlify folder
.netlify
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
REACT_APP_ENABLE_HISTORY = "true"

[context.deploy-preview.environment]
REACT_APP_CHAIN_ID = "1"
REACT_APP_CHAIN_ID = "5"
REACT_APP_ENABLE_HISTORY = "true"

[functions]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"test": "lerna run --parallel test",
"clean": "lerna run --parallel clean",
"prepare": "lerna run prepare --scope=@nouns/{assets,contracts,sdk}",
"prep": "lerna run prepare --scope=@nouns/{assets,sdk}",
"lint": "eslint 'packages/**/*.ts' --fix",
"format": "prettier --write 'packages/**/*.{ts(x)?,sol,md,css,json}' '!**/typechain/**'"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/nouns-api/src/clients.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { config } from './config';
import { Contract, providers } from 'ethers';
import { NFTStorage } from 'nft.storage';
import { NounsTokenABI } from '@nouns/contracts';
import { NTokenABI } from '@nouns/contracts';
import Redis from 'ioredis';

/**
Expand All @@ -24,6 +24,6 @@ export const jsonRpcProvider = new providers.JsonRpcProvider(config.jsonRpcUrl);
*/
export const nounsTokenContract = new Contract(
config.nounsTokenAddress,
NounsTokenABI,
NTokenABI,
jsonRpcProvider,
);
Binary file added packages/nouns-assets/images/1-types/001-male_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/002-male_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/003-male_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/004-male_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/009-zombie.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/010-ape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/010-apex4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/011-alien.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/1-types/011-alienx4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nouns-assets/images/14-glasseses/043-vr.png
Binary file added packages/nouns-assets/images/14-glasseses/119-vr.png
Binary file added packages/nouns-assets/images/2-necks/080-choker.png
Binary file added packages/nouns-assets/images/4-faces/027-mole.png
Binary file added packages/nouns-assets/images/4-faces/027-molex4.png
Binary file added packages/nouns-assets/images/4-faces/055-spots.png
Binary file added packages/nouns-assets/images/4-faces/055-spotsx4.png
Binary file added packages/nouns-assets/images/4-faces/085-mole.png
Binary file added packages/nouns-assets/images/4-faces/085-molex4.png
Binary file added packages/nouns-assets/images/4-faces/087-spots.png
Binary file added packages/nouns-assets/images/4-faces/087-spotsx4.png
Binary file added packages/nouns-assets/images/5-beards/026-goat.png
Binary file added packages/nouns-assets/images/5-beards/026-goatx4.png
Binary file added packages/nouns-assets/images/6-mouths/032-vape.png
Binary file added packages/nouns-assets/images/6-mouths/032-vapex4.png
Binary file added packages/nouns-assets/images/6-mouths/064-pipe.png
Binary file added packages/nouns-assets/images/6-mouths/064-pipex4.png
Binary file added packages/nouns-assets/images/6-mouths/095-pipe.png
Binary file added packages/nouns-assets/images/6-mouths/095-pipex4.png
Binary file added packages/nouns-assets/images/6-mouths/120-vape.png
Binary file added packages/nouns-assets/images/6-mouths/120-vapex4.png
Binary file added packages/nouns-assets/images/8-hats/037-beanie.png
Binary file added packages/nouns-assets/images/8-hats/037-beaniex4.png
Binary file added packages/nouns-assets/images/8-hats/038-cap.png
Binary file added packages/nouns-assets/images/8-hats/038-capx4.png
Binary file added packages/nouns-assets/images/8-hats/046-top_hat.png
Binary file added packages/nouns-assets/images/8-hats/047-bandana.png
Binary file added packages/nouns-assets/images/8-hats/053-do-rag.png
Binary file added packages/nouns-assets/images/8-hats/053-do-ragx4.png
Binary file added packages/nouns-assets/images/8-hats/060-fedora.png
Binary file added packages/nouns-assets/images/8-hats/060-fedorax4.png
Binary file added packages/nouns-assets/images/8-hats/063-headband.png
Binary file added packages/nouns-assets/images/8-hats/067-hoodie.png
Binary file added packages/nouns-assets/images/8-hats/067-hoodiex4.png
Binary file added packages/nouns-assets/images/8-hats/090-tiara.png
Binary file added packages/nouns-assets/images/8-hats/090-tiarax4.png
Binary file added packages/nouns-assets/images/8-hats/105-cap.png
Binary file added packages/nouns-assets/images/8-hats/105-capx4.png
Binary file added packages/nouns-assets/images/8-hats/107-bandana.png
Binary file added packages/nouns-assets/images/9-hairs/074-mohawk.png
Binary file added packages/nouns-assets/images/9-hairs/123-mohawk.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Loading