-
Notifications
You must be signed in to change notification settings - Fork 158
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
feat: protocol rewards #143
Merged
Merged
Changes from 54 commits
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
ce66a42
chore: add zora rewards package
kulkarohan 6b9ac3d
chore: update remappings
kulkarohan 943cd74
refactor: add ERC721Rewards extension
kulkarohan d8f6939
chore: update dependencies
kulkarohan bbe8f11
chore: add zora rewards to scripts
kulkarohan 21c7bbe
chore: update existing tests
kulkarohan 4e6a9aa
feat: add purchaseWithRewards
kulkarohan 9ae43f0
chore: update dependencies
kulkarohan 55403c9
fix: add finder and lister params
kulkarohan 49f3adf
chore: add rewards tests
kulkarohan a19b9a7
chore: reduce optimizer runs
kulkarohan 54d322f
chore: update dependencies
kulkarohan b811ac7
Merge branch 'main' into zora-rewards
kulkarohan 8e6b82c
chore: update runs
kulkarohan 79555ea
fix: handle supply royaltes when purchasing with rewards
kulkarohan f796d1e
chore: update tests
kulkarohan 1ea8b27
chore: update OZ dependency location
kulkarohan 77ab5c3
chore: update rewards tests
kulkarohan a907094
Merge branch 'main' into zora-rewards
kulkarohan 16f9300
refactor: add recipient to purchase w rewards
kulkarohan 573cb33
chore: update rewards dep
kulkarohan b3e725d
refactor: update lister to origin
kulkarohan 51aef58
chore: update tests
kulkarohan 606197d
chore: add zora rewards to chain configs
kulkarohan 80446d8
refactor: change purchase to mint w/ rewards
kulkarohan 1d916cb
refactor: update referral names
kulkarohan 6f14c57
Merge branch 'main' into zora-rewards
kulkarohan c21c8a3
chore: add pgn
kulkarohan aff942d
chore: add rewards to deploy config
kulkarohan 8b9f79b
chore: update dependencies
kulkarohan f3a9c01
refactor: set create referral on initialization
kulkarohan 630c4c3
refactor: add create referral to factory
kulkarohan 517fea9
chore: update scripts w/ default create referral
kulkarohan 115fc54
chore: update tests
kulkarohan c8876f3
chore: update create referral tests
kulkarohan 821491e
refactor: add common helpers
kulkarohan 8d85761
chore: update deps
kulkarohan bdf9a7f
chore: update deps
kulkarohan a879d55
refactor: add rewards storage
kulkarohan 56bbac5
chore: update runs
kulkarohan 3221408
chore: update protocol rewards
kulkarohan 8a69a89
chore: update deploy config
kulkarohan d8a66df
chore: update naming
kulkarohan 24030ec
chore: update versions
kulkarohan 48197ec
refactor: do not force create referral via factory
kulkarohan f5b995e
chore: update goerli deploy
kulkarohan c7cd561
chore: update zora goerli deploy
kulkarohan 7107a68
chore: update op goerli deploy
kulkarohan 7644578
chore: update base goerli deploy
kulkarohan ab68524
chore: update deps
kulkarohan ec70925
chore: update goerli deploy
kulkarohan c009127
chore: update zora goerli deploy
kulkarohan cffe9e3
chore: update op goerli deploy
kulkarohan f638164
chore: update base goerli deploy
kulkarohan 27d7e58
chore: update dep
kulkarohan 0eef638
refactor: update rewards handler
kulkarohan d27b7f3
chore: update tests
kulkarohan 111a422
refactor: add error for protocol rewards withdraw
kulkarohan 56331ad
refactor: add rewards withdraw and sale event helper
kulkarohan 594e9b8
chore: update runs
kulkarohan 88f0b47
Merge branch 'main' into zora-rewards
kulkarohan 797af0a
chore: remove old var
kulkarohan f939e2f
Merge branch 'main' into zora-rewards
kulkarohan 97318b7
Merge branch 'zora-rewards' of https://github.com/ourzora/zora-drops-…
kulkarohan d43f796
chore: add back OZ
kulkarohan fa68e34
chore: update lock
kulkarohan c228b1f
chore: update chain configs
kulkarohan 4a8263f
chore: update testnets
kulkarohan 15193ab
chore: update deploys
kulkarohan 0344522
Merge branch 'zora-rewards' of https://github.com/ourzora/zora-drops-…
kulkarohan 2489222
chore: update deployments
kulkarohan 13a4d11
chore: update op goerli
kulkarohan 6b7d258
chore: update chain configs
kulkarohan 2478acf
fix: consistent chain config amounts
kulkarohan 90d5e1a
chore: update deploys
kulkarohan 59b3e58
fix: remove chain config key
kulkarohan 857219f
generate new storage layout
jgeary File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
{ | ||
"DROP_METADATA_RENDERER": "0xCe6B190956D73dA045bA348743E4C1cb6652f37f", | ||
"EDITION_METADATA_RENDERER": "0x169007EF8fF4d2a225f361654e4B8280910fD8FC", | ||
"ERC721DROP_IMPL": "0x0Cf8733DEd6d9E0905A8cCc8DC767F381A76970a", | ||
"ERC721DROP_IMPL": "0x53a85FbD2955EF713AA489Ae0C48523E727a0c07", | ||
"FACTORY_UPGRADE_GATE": "0x9B414A3F7872bdd2E6513689214BD2Debbe48340", | ||
"ZORA_NFT_CREATOR_PROXY": "0x3C1ebcF36Ca9DD9371c9aA99c274e4988906c6E3", | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0xC5c958a65656A84b74100D1d420a1819fEA18d41", | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0xfFFD7409031B1aeb731271C6C2D59771523Ff8a8", | ||
"timestamp": 1683668679, | ||
"commit": "e100eee" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
{ | ||
"ZORA_NFT_CREATOR_V1": "0xb4d319458E489825Cea8e25b5e43742BCdAFc6dd", | ||
"ZORA_NFT_CREATOR_PROXY": "0xb9583D05Ba9ba8f7F14CCEe3Da10D2bc0A72f519", | ||
"ZORA_ERC721_TRANSFER_HELPER": "0xd1adAF05575295710dE1145c3c9427c364A70a7f", | ||
"ZORA_FEE_MANAGER": "0xCf5E957CA7b77EC16611992d79f4E179132ad98C", | ||
"EDITION_METADATA_RENDERER": "0x2f5C21EF9DdFf9A1FE76a1c55dd5112fcf2EfD39", | ||
"DROP_METADATA_RENDERER": "0x5956Fd16c4d8c4b4711F2551971aBB7c2F4aF677", | ||
"ERC721_DROP": "0x2093eFB737C07324D8b6c5807910EFF45045D987", | ||
"ERC721_DROP": "0x242f0EE150a171CC250685F19faA062D79bd3170", | ||
"FACTORY_UPGRADE_GATE": "0x942C03C7afE5c8118BDB728Aa06d1b894B1cD9A8", | ||
"ZORA_NFT_CREATOR_PROXY": "0xb9583D05Ba9ba8f7F14CCEe3Da10D2bc0A72f519", | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0x4328cbDAD668E81B475766520E1004e6688D2949" | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0x2d54733cBebb23b8a10a935f6B42Efaaa9f5d27e" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"DROP_METADATA_RENDERER": "0x0Cf8733DEd6d9E0905A8cCc8DC767F381A76970a", | ||
"EDITION_METADATA_RENDERER": "0xC5c958a65656A84b74100D1d420a1819fEA18d41", | ||
"ERC721DROP_IMPL": "0x421B6ad0CdD20bE3636F3511B6ae244d8F668dB1", | ||
"ERC721DROP_IMPL": "0x53a85FbD2955EF713AA489Ae0C48523E727a0c07", | ||
"FACTORY_UPGRADE_GATE": "0x3C1ebcF36Ca9DD9371c9aA99c274e4988906c6E3", | ||
"ZORA_NFT_CREATOR_PROXY": "0x87cfd516c5ea86e50b950678CA970a8a28de27ac", | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0x0ABdD5AA61E9107519DB7cD626442B905284B7eb" | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0xfFFD7409031B1aeb731271C6C2D59771523Ff8a8" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
{ | ||
"DROP_METADATA_RENDERER": "0xb9583D05Ba9ba8f7F14CCEe3Da10D2bc0A72f519", | ||
"EDITION_METADATA_RENDERER": "0x481c56e15A9B2987Bd6041043e1d807697505d23", | ||
"ERC721DROP_IMPL": "0xA3Fb46092D9DAe8eAa2F99417630930F4Ee5A45a", | ||
"ERC721DROP_IMPL": "0xa1F45f5B50e16E79366867E91fE45c181D18Cb67", | ||
"FACTORY_UPGRADE_GATE": "0x2068BA7Be6e22b97d21f5eb6e152A36d2Dc27da2", | ||
"ZORA_NFT_CREATOR_PROXY": "0xeB29A4e5b84fef428c072debA2444e93c080CE87", | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0x4589A93f2444b736E3d35acB331f5241b1c6DAD3" | ||
"ZORA_NFT_CREATOR_V1_IMPL": "0x2D6d587e9B09fa01405A5816938554ccdeEf69db" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule openzeppelin-contracts
deleted from
c239e1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:'(