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

subgraph + sdk + app #208

Merged
merged 430 commits into from
Dec 1, 2023
Merged
Changes from 1 commit
Commits
Show all changes
430 commits
Select commit Hold shift + click to select a range
9214196
fix ENS test
jfschwarz Apr 18, 2023
5d1eece
add test watcher
jfschwarz Apr 18, 2023
5c3eea3
fix test watcher
jfschwarz Apr 18, 2023
01a02e6
flatten nested and/or
jfschwarz Apr 18, 2023
23e181b
condition normalization
jfschwarz Apr 18, 2023
f1a7a9d
fix merge mistake
jfschwarz Apr 19, 2023
f809e82
cleanup
jfschwarz Apr 19, 2023
cddb29e
additional conditional normalizations
jfschwarz Apr 19, 2023
103625d
fix merge mistakes
jfschwarz Apr 19, 2023
bd6d846
add integrity checks
jfschwarz Apr 19, 2023
357b697
fix bug
jfschwarz Apr 19, 2023
d428423
integrity check boilerplate
jfschwarz Apr 19, 2023
bb3c769
map AVATAR placeholders to EqualToAvatar conditions
jfschwarz Apr 19, 2023
d334a4d
implement condition integrity checks
jfschwarz Apr 19, 2023
a044ca7
cleanup
jfschwarz Apr 19, 2023
f05f11f
trial to fix subgraph install
jfschwarz Apr 19, 2023
037fd86
use yarn workspaces
jfschwarz Apr 19, 2023
c61c63b
streamline monorepo scripts
jfschwarz Apr 19, 2023
fbcf830
fix sdk in monorepo by preventing hoisting of eth-sdk packages
jfschwarz Apr 19, 2023
93f7709
cleaner gitignore org
jfschwarz Apr 19, 2023
61f989e
Update README.md
jfschwarz Apr 19, 2023
4e8bc03
Update README.md
jfschwarz Apr 19, 2023
4bf6d09
update workflows
jfschwarz Apr 19, 2023
3f63ee4
cleanup
jfschwarz Apr 19, 2023
8955d8c
Update README.md
jfschwarz Apr 19, 2023
0cbaa98
fix import
jfschwarz Apr 19, 2023
18e30f2
fix issue
jfschwarz Apr 19, 2023
bfc6d61
temp disable app build
jfschwarz Apr 19, 2023
9b5df6c
fix subgraph prepare
jfschwarz Apr 19, 2023
88c6d71
trial to fix prepare
jfschwarz Apr 19, 2023
0b77260
fix tests
jfschwarz Apr 19, 2023
f409c2a
restore symlink again
jfschwarz Apr 19, 2023
4979462
some extra convenience for matchesAbi
jfschwarz Apr 19, 2023
90015f0
add nor()
jfschwarz Apr 20, 2023
0335e67
fix integrity checks
jfschwarz Apr 20, 2023
5860394
fix test setup
jfschwarz Apr 20, 2023
01873f3
streamline l2: get rid of special inputsMatch entrypoint
jfschwarz Apr 20, 2023
cd52ce6
remove xor tests
jfschwarz Apr 20, 2023
1443ee7
remove xor from subgraph and sdk
jfschwarz Apr 20, 2023
7c26527
fix a bug
jfschwarz Apr 20, 2023
7312702
fix an issue due to inplace reverse messing with configs
jfschwarz Apr 20, 2023
933b281
fix simulation test setup
jfschwarz Apr 20, 2023
5d53365
fix condition normalization
jfschwarz Apr 20, 2023
909e7ed
cleanup
jfschwarz Apr 20, 2023
4c7779d
allow single branch nor
jfschwarz Apr 20, 2023
f9430e8
improve condition type safety
jfschwarz Apr 20, 2023
ef18ad6
add withinAllowance
jfschwarz Apr 20, 2023
7fe3b91
add other allowance functions
jfschwarz Apr 20, 2023
90e2c29
Update README.md
jfschwarz Apr 20, 2023
a96205e
add etherWithinAllowance and callWithinAllowance to kit options
jfschwarz Apr 21, 2023
326cf80
public presets api
jfschwarz Apr 24, 2023
9cdae01
trim public exports and dependencies
jfschwarz Apr 24, 2023
906bf9d
add applyMembers
jfschwarz Apr 24, 2023
33b55c1
don't implement keys encoding
jfschwarz Apr 24, 2023
216d2b3
fix test
jfschwarz Apr 24, 2023
d09a677
docs and deps
jfschwarz Apr 25, 2023
f31b0d2
fix build paths
jfschwarz Apr 25, 2023
01d7971
clear out eth-sdk export
jfschwarz Apr 25, 2023
9fabdc6
fix typing issue
jfschwarz Apr 26, 2023
c16511f
remove unused dep
jfschwarz Apr 26, 2023
07a6a2c
fix test
jfschwarz Apr 26, 2023
6282462
subgraph: track allowance consumptions
jfschwarz Apr 26, 2023
65c2824
upgrade gh actions
jfschwarz May 2, 2023
b1c5a71
update gh cache for yarn v3
jfschwarz May 2, 2023
37bfa3c
upgrade yarn
jfschwarz May 2, 2023
db487ce
fix indent
jfschwarz May 2, 2023
683dabf
fix yaml syntax
jfschwarz May 2, 2023
7d54414
trial to fix yarn install
jfschwarz May 2, 2023
b6401cc
next try
jfschwarz May 2, 2023
cd2869c
regenerate lock file
jfschwarz May 2, 2023
732cf16
also take yarnrc changes into account for caching
jfschwarz May 2, 2023
8795a78
fix ts hashes
jfschwarz May 2, 2023
3e732f3
Update package.json
jfschwarz May 3, 2023
b1ce18b
export additional type
jfschwarz May 3, 2023
5737068
bump version
jfschwarz May 3, 2023
3c228e0
make eth-sdk an optional peer dep
jfschwarz May 9, 2023
9d31dd6
adjust docs and tests
jfschwarz May 9, 2023
fedccb2
Include yarn.lock
cristovaoth May 10, 2023
6119549
adding some more stuff to the public API
jfschwarz May 10, 2023
7a5666d
also publicly export encodeCalls
jfschwarz May 10, 2023
d7d7b22
cosmetics on Preset type
jfschwarz May 10, 2023
2aec9e5
add optional peer dep as dev dep
jfschwarz May 12, 2023
8582df9
Merge branch 'main' into sdk
cristovaoth May 12, 2023
86529fd
fix outdated example
jfschwarz May 16, 2023
55889d7
Merge branch 'sdk' of github.com:gnosis/zodiac-modifier-roles into sdk
jfschwarz May 16, 2023
4397bab
add `mode` for applyPermissions, rename `patchPermissions` -> `replac…
jfschwarz May 19, 2023
8dd89ea
bring applyMembers in line, rename restrict -> remove
jfschwarz May 19, 2023
b5c4ddb
bump sdk version
jfschwarz May 22, 2023
3755315
add some todos
jfschwarz May 22, 2023
b67f61a
fix tests
jfschwarz May 22, 2023
04ec9c9
make types for kit entrypoint available
jfschwarz May 25, 2023
0d1ea9a
document use without eth-sdk
jfschwarz May 25, 2023
3c8521c
fix bug in condition normalization
jfschwarz Jun 7, 2023
69f179a
added bitmask operator
jfschwarz Jun 26, 2023
afbc135
rename `matchesAbi` to `calldataMatches`
jfschwarz Jun 27, 2023
6bee373
add support for checking function selector
jfschwarz Jun 27, 2023
ce25ffa
more solid bitmask implementation
jfschwarz Jun 27, 2023
ac1b152
add overload for calldataMatches that allows using a PresetFunction
jfschwarz Jun 27, 2023
361a4ad
bump sdk version
jfschwarz Jun 28, 2023
b3ba9df
allow passing readonly arrays
jfschwarz Jun 28, 2023
8d4c40f
add abiEncodedMatches condition helper
jfschwarz Jun 28, 2023
06a477d
bump sdk version
jfschwarz Jun 28, 2023
2c6ebb7
fix export
jfschwarz Jun 28, 2023
de3c06b
bump sdk version
jfschwarz Jun 28, 2023
d81c482
typing improvements
jfschwarz Jun 28, 2023
a0cb6fe
bump sdk version
jfschwarz Jul 7, 2023
508a227
Merge branch 'v2.1' into sdk
jfschwarz Jul 8, 2023
de44f84
adjust for v2.1
jfschwarz Jul 8, 2023
f53fbab
bump sdk version
jfschwarz Jul 8, 2023
37bf4bf
sdk fixes for new Calldata param type
jfschwarz Jul 8, 2023
f9f532b
bump sdk patch
jfschwarz Jul 8, 2023
f24f8bf
forgot to build, bump again
jfschwarz Jul 8, 2023
23ab29f
sort condition children so that complex types come first
jfschwarz Jul 9, 2023
20affff
bump version
jfschwarz Jul 9, 2023
e237a8b
add c.avatar and get rid of placeholder concept
jfschwarz Jul 10, 2023
d119308
fix options handling
jfschwarz Jul 10, 2023
3a4ae46
Merge branch 'fix-options' into sdk
jfschwarz Jul 10, 2023
81d9c5d
fix small bug
jfschwarz Jul 11, 2023
b740ccb
use path alias for better bundling in defi-presets
jfschwarz Jul 11, 2023
433d99e
clear out @ethersproject/bignumber dep
jfschwarz Jul 11, 2023
eb15892
bump version
jfschwarz Jul 11, 2023
38747b4
small bugfix
jfschwarz Jul 11, 2023
87f6117
got rid of preset concept, new nomenclature
jfschwarz Aug 14, 2023
70dc878
update tests
jfschwarz Aug 14, 2023
5a2abcb
update docs
jfschwarz Aug 14, 2023
43b725d
fix link
jfschwarz Aug 14, 2023
f1af062
network -> chainId
jfschwarz Aug 14, 2023
7f9e8af
docs boilerplate
jfschwarz Jun 5, 2023
050c709
work on condition viz components
jfschwarz Jun 5, 2023
735e415
improve example
jfschwarz Jun 5, 2023
ffe968b
improve docs
jfschwarz Jun 5, 2023
03a8527
highlight call data
jfschwarz Jun 6, 2023
6056990
tabbes view for call data
jfschwarz Jun 6, 2023
1079c27
allowance docs
jfschwarz Jun 6, 2023
4225955
add missing condition node
jfschwarz Jun 7, 2023
ebdf923
blank slate for app based on next
jfschwarz Jul 13, 2023
57bc93d
fix app
jfschwarz Jul 14, 2023
ebceb02
subgraph type updates
jfschwarz Aug 14, 2023
316cf3b
added permission annotations to subgraph
jfschwarz Aug 14, 2023
9266881
attach mod page
jfschwarz Aug 14, 2023
a4692d3
add fetchRolesMod function
jfschwarz Aug 14, 2023
cd9d63d
roles list
jfschwarz Aug 15, 2023
4f1eb7f
members list
jfschwarz Aug 15, 2023
5df2038
sketch annotations
jfschwarz Aug 16, 2023
befe3e8
move pure ui components to extra folder
jfschwarz Aug 16, 2023
ac08c49
reconstructPermissions sdk function
jfschwarz Aug 16, 2023
e904391
define zod schema for open api object
jfschwarz Aug 16, 2023
f3dfdaa
define ResolvedAnnotation
jfschwarz Aug 16, 2023
c42f3cc
preset resolving
jfschwarz Aug 17, 2023
2dc4acc
group by target
jfschwarz Aug 18, 2023
aa33652
sdk: add annotation mgmt functions + clean up exports
jfschwarz Aug 29, 2023
ec83ba9
subgraph: handle annotation updates via Poster
jfschwarz Aug 30, 2023
9900c5a
adding more networks to hardhat config
jfschwarz Aug 30, 2023
f6110b7
bump sdk version
jfschwarz Aug 30, 2023
58d1961
Merge branch 'v2.1' into app
jfschwarz Aug 30, 2023
7efe309
contracts: deploy and verify
jfschwarz Aug 30, 2023
3f78ca8
rename task deploy to deploy-standalone
jfschwarz Aug 30, 2023
c3b1e06
complete deploy scripts – everything is working
jfschwarz Aug 30, 2023
0730474
Merge branch 'v2.1' into app
jfschwarz Aug 30, 2023
dd4fe99
don't hoist hardhat, because it doesn't like that
jfschwarz Aug 30, 2023
bd7909b
Merge branch 'v2.1' into app
jfschwarz Aug 30, 2023
99200ed
cosmetics
jfschwarz Aug 30, 2023
4221041
remove duplicate logs
jfschwarz Aug 31, 2023
a4e1cd7
fix sdk entrypoints
jfschwarz Aug 31, 2023
f846459
bump sdk version
jfschwarz Aug 31, 2023
7d6708b
fix subgraph bug
jfschwarz Sep 1, 2023
3fff5b6
update subgraph urls
jfschwarz Sep 1, 2023
3368dd5
fix sdk tests
jfschwarz Sep 1, 2023
78d0fc0
sdk: export Roles abi
jfschwarz Sep 1, 2023
e6f2af0
subgraph: store conditions as json
jfschwarz Sep 5, 2023
eca7d70
bump sdk
jfschwarz Sep 5, 2023
0ce1f3a
fix request headers
jfschwarz Sep 5, 2023
e45092d
Merge branch 'v2.1' into app
jfschwarz Sep 5, 2023
c44788c
merge cntd
jfschwarz Sep 5, 2023
f98d1fd
fix merge mistake
jfschwarz Sep 5, 2023
fd0e3c4
added script for deploying adapter contracts
jfschwarz Sep 6, 2023
918d305
make deploy scripts replayable
jfschwarz Sep 6, 2023
c168b2c
app ui progress
jfschwarz Sep 6, 2023
1051712
sdk: introduce PermissionSet, handle annotations
jfschwarz Sep 6, 2023
3492a80
add type export
jfschwarz Sep 6, 2023
974610f
only update annotations if necessary
jfschwarz Sep 6, 2023
819381f
improve typing
jfschwarz Sep 6, 2023
470eda8
export poster abi
jfschwarz Sep 6, 2023
6e17aa5
export coercePermission
jfschwarz Sep 7, 2023
a98c8c5
bugfix
jfschwarz Sep 8, 2023
1a795e3
fix annotation tag
jfschwarz Sep 8, 2023
5e4dbd5
fix permission update post format
jfschwarz Sep 15, 2023
8085c2e
subgraph: fix indexing of annotations
jfschwarz Sep 18, 2023
a2c8784
app: improve breadcrumbs
jfschwarz Sep 18, 2023
2c2f33a
style fix
jfschwarz Sep 18, 2023
7cc15cc
allow passing options to fetch functions
jfschwarz Sep 18, 2023
c2e7070
small ui improvements
jfschwarz Sep 18, 2023
36b3122
setup testing setup, progress on annotation resolving
jfschwarz Sep 19, 2023
e2dbf92
sdk: clearer names
jfschwarz Sep 19, 2023
eff8f50
sdk: add permissionId function, rename getConditionId -> conditionId
jfschwarz Sep 19, 2023
0249c3c
sdk: conditionIds as lowercase
jfschwarz Sep 19, 2023
71b693f
app: annotations processing
jfschwarz Sep 19, 2023
68d1a20
sdk: fix bug in kit condition generation
jfschwarz Sep 19, 2023
113ee04
progress on presets handling
jfschwarz Sep 19, 2023
549f35a
app: basic presets ui
jfschwarz Sep 20, 2023
300d6c7
styling
jfschwarz Sep 20, 2023
5ae9fee
more styling
jfschwarz Sep 20, 2023
8f53ac4
Update annotations.mdx
jfschwarz Sep 20, 2023
3d55087
app: progress on conditions UI
jfschwarz Sep 22, 2023
13a4158
docs updates
jfschwarz Sep 22, 2023
19b792b
sdk: fix bug in array condition helper
jfschwarz Sep 22, 2023
bbc5a50
conditions ui tuning
jfschwarz Sep 22, 2023
54d6744
tune indentation
jfschwarz Sep 22, 2023
5b25e11
show fields of complex type pass nodes
jfschwarz Sep 22, 2023
0962a15
field styling
jfschwarz Sep 25, 2023
48eb52e
abi-supported permissions
jfschwarz Sep 26, 2023
10cd499
css fixes
jfschwarz Sep 27, 2023
78bbdbb
small stylistic improvements
jfschwarz Sep 27, 2023
4670a75
cleanup and evm build fix
jfschwarz Sep 27, 2023
bdc4ba0
clean pipelines
jfschwarz Sep 27, 2023
f2adb74
update lockfile
jfschwarz Sep 27, 2023
688abe6
fix test
jfschwarz Sep 27, 2023
217dfb6
update snapshot
jfschwarz Sep 27, 2023
fc288d0
add page
jfschwarz Sep 27, 2023
48d6d61
draft permission storing
jfschwarz Sep 27, 2023
8f00dd2
made storing/viewing permissions work
jfschwarz Sep 27, 2023
a8964cd
stricter typing and sort permissions
jfschwarz Sep 27, 2023
2415925
sketch diff implementation
jfschwarz Sep 28, 2023
e6e207e
diff view
jfschwarz Sep 29, 2023
89eb4a7
diff improvements
jfschwarz Sep 29, 2023
861a872
diff calls
jfschwarz Sep 29, 2023
1413d58
implement presets diffing, refactor diff model
jfschwarz Oct 6, 2023
5dd9fc0
adjust views to support presets diff viz
jfschwarz Oct 6, 2023
b1f6ced
minor subgraph fixes
jfschwarz Oct 17, 2023
a15c8b5
wip
jfschwarz Nov 9, 2023
4aed5c5
Merge branch 'v2.1' into app
jfschwarz Nov 9, 2023
75cd5f5
fixing deploy tasks after merge
jfschwarz Nov 9, 2023
2309adc
updates to subgraph and sdk for v2.1
jfschwarz Nov 9, 2023
f0b038f
upgrade deps
jfschwarz Nov 9, 2023
5b18efe
upgrade yarn
jfschwarz Nov 9, 2023
992f479
upgrade deps
jfschwarz Nov 9, 2023
b57ba8b
upgrade hardhat
jfschwarz Nov 9, 2023
d4d21c8
try to fix docs build
jfschwarz Nov 9, 2023
0b8fc56
docs update
jfschwarz Nov 24, 2023
290315e
Merge branch 'v2.1' into app
jfschwarz Nov 29, 2023
26d9271
upgrade hardhat
jfschwarz Nov 29, 2023
7232688
Merge branch 'main' into app
jfschwarz Dec 1, 2023
1c45b76
upgrade yarn
jfschwarz Dec 1, 2023
27ea25a
add 1min wait before verifying adapter contracts
jfschwarz Dec 1, 2023
b32ea90
some deploy script tweaking
jfschwarz Dec 1, 2023
09ef208
add rpc and fix env var typo
jfschwarz Dec 1, 2023
5c3457b
add deployed contract addresses
jfschwarz Dec 1, 2023
9a9673d
upgrade deps
jfschwarz Dec 1, 2023
f827ebc
fix sdk tests
jfschwarz Dec 1, 2023
666a16c
Update package.json
jfschwarz Dec 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
upgrade yarn
  • Loading branch information
jfschwarz committed Dec 1, 2023
commit 1c45b76d3836864419316eb4777cca8c9c0f9ac3
874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

875 changes: 875 additions & 0 deletions .yarn/releases/yarn-3.7.0.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -6,4 +6,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.6.4.cjs
yarnPath: .yarn/releases/yarn-3.7.0.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -24,5 +24,5 @@
},
"author": "",
"license": "LGPL-3.0+",
"packageManager": "yarn@3.6.4"
"packageManager": "yarn@3.7.0"
}