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

Develop and Main DIFF (DO NOT MERGE) #73

Closed
wants to merge 189 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
189 commits
Select commit Hold shift + click to select a range
36dece5
feat: Solidity 0.8.19
ankurdubey521 Oct 30, 2023
c736316
setup paymaster related changes
livingrockrises Oct 30, 2023
c0b7a68
contract with positive tests
livingrockrises Oct 30, 2023
5185b35
Merge branch 'main' into feat/paymaster-changes
livingrockrises Oct 31, 2023
a4405bb
forge install: account-abstraction
livingrockrises Oct 31, 2023
8d3a794
Merge branch 'feat/paymaster-changes' into feat/SMA-232-sponsorship-p…
livingrockrises Oct 31, 2023
1bcaf11
update test specs with v2 account
livingrockrises Oct 31, 2023
103283b
add interfaces as per PR comments + deal with dev notes
livingrockrises Nov 1, 2023
0364e34
update modifier for interface methods
livingrockrises Nov 1, 2023
c2b92d7
bump solidity version to 0.8.20
ankurdubey521 Nov 2, 2023
fd8079d
Merge remote-tracking branch 'origin/main' into features/sma-242-sol-…
ankurdubey521 Nov 2, 2023
004b2dc
fixes for #38
ankurdubey521 Nov 2, 2023
0a0e29b
Merge pull request #38 from bcnmy/features/sma-242-sol-0.8.19
ankurdubey521 Nov 2, 2023
9305a61
respond to PR comments
livingrockrises Nov 2, 2023
30ba758
natspec
livingrockrises Nov 2, 2023
17985a3
Merge branch 'develop' into feat/paymaster-changes
livingrockrises Nov 2, 2023
2f3758b
Merge branch 'feat/paymaster-changes' into feat/SMA-232-sponsorship-p…
livingrockrises Nov 2, 2023
3f14fed
update solidity version
livingrockrises Nov 2, 2023
8bc330f
respond to PR comments
livingrockrises Nov 4, 2023
fddcfd7
add fee collector instead of collecting for owner address
livingrockrises Nov 6, 2023
dcc6ce2
respond to PR comments
livingrockrises Nov 6, 2023
c233cb4
use += and -=
livingrockrises Nov 6, 2023
013348c
Merge pull request #39 from bcnmy/feat/SMA-232-sponsorship-paymaster-…
livingrockrises Nov 6, 2023
ee523f9
🧹 Clean package duplicates + versions mistmatches
Aboudjem Nov 7, 2023
c3cafe2
🐛 fix husky hook
Aboudjem Nov 7, 2023
4439173
🐛 Remove this.skip from tests
Aboudjem Nov 7, 2023
587a88f
💚 add check branch name for testing
Aboudjem Nov 7, 2023
4ddfa9c
💚 fix ci
Aboudjem Nov 7, 2023
9cc151e
Merge pull request #42 from bcnmy/features/SMA-324-fix-tests
livingrockrises Nov 7, 2023
aba30f1
Merge branch 'develop' into fix/foundry-breaking-tests
Aboudjem Nov 8, 2023
e0ee631
🙈 ignore yarn error log
Aboudjem Nov 8, 2023
827877c
Merge pull request #45 from bcnmy/fix/foundry-breaking-tests
livingrockrises Nov 8, 2023
9378533
🙈 update gitignore
Aboudjem Nov 9, 2023
cd4a963
🔥 remove git add . hook
Aboudjem Nov 9, 2023
132680d
🎨 add diagrams for readme
Aboudjem Nov 9, 2023
f2b3d04
📝 improved readme
Aboudjem Nov 9, 2023
04edd80
📃 Update README.md
Aboudjem Nov 9, 2023
9170422
🚨 lint fix
Aboudjem Nov 9, 2023
445b570
Merge remote-tracking branch 'origin/features/SMA-329-improve-repo' i…
Aboudjem Nov 9, 2023
b486de2
📝 add contributing.md and license.md
Aboudjem Nov 9, 2023
44ccb3b
📝 add audits
Aboudjem Nov 9, 2023
b55d847
event to emit userOpHash
livingrockrises Nov 9, 2023
5c9cb42
Merge branch 'main' into m_develop_main
livingrockrises Nov 10, 2023
0ef7956
lockfile
livingrockrises Nov 10, 2023
4e5fed8
fix failing build and tests
livingrockrises Nov 10, 2023
381b28d
revert hardhat-foundry plugin
livingrockrises Nov 10, 2023
5523ce9
🔖 fix solhint compiler version to 0.8.20
Aboudjem Nov 13, 2023
fd9f443
🎨 reorder to fix lint issues
Aboudjem Nov 13, 2023
bb6605f
🚨 fix lint warnings
Aboudjem Nov 13, 2023
91cc064
🔖 upgrade solidity version 0.8.20
Aboudjem Nov 13, 2023
c32d0e1
🚨 fix lint
Aboudjem Nov 13, 2023
57354bf
🎨 reodering functions to fix lint
Aboudjem Nov 13, 2023
584b0c6
🚨 lint fix
Aboudjem Nov 13, 2023
a64b8c5
forge install: openzeppelin-contracts
Aboudjem Nov 13, 2023
a2278ff
📦 update openzeppelin to 4.9.3
Aboudjem Nov 13, 2023
a271976
🐛 fix script
Aboudjem Nov 13, 2023
b0c13dd
refactor script
livingrockrises Nov 13, 2023
c460beb
🙈 add lib and audits to npmignore
Aboudjem Nov 13, 2023
f338697
Merge branch 'main' into features/SMA-329-improve-repo
Aboudjem Nov 15, 2023
24aa41b
Merge pull request #50 from bcnmy/m_develop_main
livingrockrises Nov 15, 2023
baad7ca
Merge branch 'develop' into features/SMA-329-improve-repo
Aboudjem Nov 15, 2023
d3fa24c
✏️ fix links
Aboudjem Nov 15, 2023
d79fa81
💩 lint on sol only for now
Aboudjem Nov 15, 2023
cb813f0
📝 Update README
Aboudjem Nov 15, 2023
0ae429e
🎨 update diagram
Aboudjem Nov 15, 2023
f71ecb5
update lib
livingrockrises Nov 16, 2023
ac6c7f7
Merge branch 'develop' into features/SMA-329-improve-repo
Aboudjem Nov 16, 2023
5f4b2ed
bundler test for 3.1
livingrockrises Nov 16, 2023
6074b93
fix for 3.2
livingrockrises Nov 16, 2023
73546a3
update dependencies
ankurdubey521 Nov 17, 2023
37ee56a
gas opt: token paymaster and oracle aggregator
ankurdubey521 Nov 17, 2023
acccf2e
remove unnecessary files
livingrockrises Nov 19, 2023
402a442
update the test to reflect exact error
livingrockrises Nov 19, 2023
0dabf4d
📝 Verifying -> Sponsorship
Aboudjem Nov 19, 2023
c7dc1df
negative tests mentioned in threat model + bundler integration test
livingrockrises Nov 20, 2023
d543e79
refactor utils
livingrockrises Nov 20, 2023
cca5a30
Merge pull request #51 from bcnmy/refactor-develop
livingrockrises Nov 20, 2023
d7c18ff
Merge branch 'develop' into fixes/zellic-audit-remediations-VPMV2
livingrockrises Nov 20, 2023
37b7bf1
Merge branch 'develop' into features/SMA-329-improve-repo
Aboudjem Nov 20, 2023
7a54837
refactor and gas opt + add SATestBase
livingrockrises Nov 24, 2023
1f940bd
add accounting tests + update overhead while deploying
livingrockrises Nov 25, 2023
ebbe8ae
respond to PR comments
livingrockrises Nov 28, 2023
1c5157c
Merge pull request #52 from bcnmy/fixes/zellic-audit-remediations-VPMV2
livingrockrises Nov 28, 2023
6185ccf
chore:rename verifying singelton paymaster to sponsorship paymaster a…
livingrockrises Nov 29, 2023
89b998c
💚 fix ci for branch naming
Aboudjem Nov 29, 2023
fc76609
📝 update pr template with new flow
Aboudjem Nov 29, 2023
0d40317
Merge branch 'develop' into features/SMA-329-improve-repo
Aboudjem Nov 29, 2023
33d5249
Merge pull request #49 from bcnmy/features/SMA-329-improve-repo
Aboudjem Nov 29, 2023
edc9e84
fix/remediations
livingrockrises Nov 29, 2023
6d236f5
Merge branch 'develop' into chore/SMA-389-check-branch-update
Aboudjem Nov 29, 2023
a5accaa
Merge branch 'develop' into chore/SMA-351-rename-to-sponsorship-pm
Aboudjem Nov 29, 2023
a13d668
Merge branch 'chore/SMA-351-rename-to-sponsorship-pm' into feat/SMA-3…
Aboudjem Nov 29, 2023
2eb3e24
respond to PR comments
livingrockrises Nov 29, 2023
ef9a994
Merge pull request #57 from bcnmy/feat/SMA-390-kawach-audit-remediations
livingrockrises Nov 29, 2023
8c85686
Merge pull request #56 from bcnmy/chore/SMA-389-check-branch-update
AmanRaj1608 Nov 30, 2023
a79b1ff
feat/use oracle aggregator as base of token paymaster
livingrockrises Nov 30, 2023
89fe946
gas-snapshot
livingrockrises Nov 30, 2023
2131924
minor refactor
livingrockrises Dec 2, 2023
45be83f
Merge pull request #55 from bcnmy/chore/SMA-351-rename-to-sponsorship-pm
livingrockrises Dec 4, 2023
c573499
iteration2 : using derived price feed management in token paymaster =…
livingrockrises Dec 4, 2023
ab671ec
code refactor + potential new event with reduced params
livingrockrises Dec 4, 2023
e5a9491
revert event modifications
livingrockrises Dec 4, 2023
c523299
initial changes for packing paymasterAndData more closely (without te…
livingrockrises Dec 4, 2023
df92aa0
add more logs in test cases and potential way to pocket or refund the…
livingrockrises Dec 8, 2023
ff71663
updated overhead + events + test case
livingrockrises Dec 11, 2023
08ad285
add ways to catch AA33 with revert reason
livingrockrises Dec 14, 2023
1ef46df
more accounting tests for state changes + adjust overhead
livingrockrises Dec 14, 2023
2f6eb32
Merge pull request #61 from bcnmy/feat/sponsorship-paymaster-gas-acco…
tomarsachin2271 Dec 19, 2023
21d4d5b
reduce pnd length
livingrockrises Dec 20, 2023
df9464a
add logs
livingrockrises Dec 20, 2023
120db61
Merge branch 'features/sma-233-gas-opt-2' into sma-233-token-paymaste…
livingrockrises Dec 20, 2023
4599a49
Merge pull request #63 from bcnmy/sma-233-token-paymaster-gas-opt-3
livingrockrises Dec 20, 2023
a4475b8
Merge pull request #60 from bcnmy/features/sma-233-gas-opt-2
livingrockrises Dec 20, 2023
0f6c10a
Merge branch 'develop' into features/sma-233-gas-opt-1
livingrockrises Dec 20, 2023
ffeceac
refactor
livingrockrises Dec 20, 2023
365da06
mumbai tests
livingrockrises Dec 20, 2023
761304d
refactor
livingrockrises Dec 20, 2023
c136ac4
add revert in postOp + dev notes + updated tests
livingrockrises Dec 21, 2023
da3b794
dev notes
livingrockrises Dec 21, 2023
49fd62a
fix bundler integration test
livingrockrises Dec 21, 2023
525cdb0
update error handling
livingrockrises Dec 26, 2023
b7424b5
Merge branch 'develop' into sponsorship-paymaster-catching-validation…
livingrockrises Dec 26, 2023
037c9e1
resolve conflicts + revert strings in validate paymaster userop
livingrockrises Dec 26, 2023
8640625
refactor
livingrockrises Dec 28, 2023
5e4d0ee
error handling for stale price feed
livingrockrises Dec 29, 2023
ec2563f
feat:refactor error messages
livingrockrises Dec 29, 2023
90c4a15
Merge pull request #68 from bcnmy/sponsorship-paymaster-catching-vali…
livingrockrises Dec 29, 2023
34bbb95
remove comments and console logs
livingrockrises Dec 29, 2023
7ad549b
Merge pull request #67 from bcnmy/SMA-459-btpm-postop-revert
livingrockrises Dec 29, 2023
228196f
draft: stale price feed test case
livingrockrises Dec 29, 2023
091bbf2
Merge branch 'develop' into features/sma-233-gas-opt-1
livingrockrises Dec 29, 2023
032f5a4
Merge branch 'features/sma-233-gas-opt-1' into feat/oracle-aggregator…
livingrockrises Dec 29, 2023
493736c
fix test case
livingrockrises Dec 29, 2023
8942802
init fix test
livingrockrises Dec 29, 2023
82413a9
allow dynamic markup override(remove max logic and fixedpricemarkup s…
livingrockrises Dec 29, 2023
5a7dfd0
fix try catch and update test cases
livingrockrises Dec 29, 2023
1db5921
Merge pull request #69 from bcnmy/feat/oracle-aggregator-handle-stale…
livingrockrises Dec 29, 2023
2bfe77e
sponsorship pm pnd len reduction
livingrockrises Jan 2, 2024
fbd9cb7
respond to PR comments
livingrockrises Jan 2, 2024
6a484ac
respond to PR comments
livingrockrises Jan 2, 2024
9776bb0
Merge branch 'features/sma-233-gas-opt-1' of https://github.com/bcnmy…
livingrockrises Jan 2, 2024
3820f64
respond to PR comments
livingrockrises Jan 2, 2024
68f3ae3
forge fmt
livingrockrises Jan 2, 2024
eae7bea
snapshot
livingrockrises Jan 2, 2024
51a6f4d
respond to PR comments
livingrockrises Jan 2, 2024
8fbfc94
Merge pull request #64 from bcnmy/features/sma-233-gas-opt-1
livingrockrises Jan 3, 2024
8ec10f9
add script 1
livingrockrises Jan 3, 2024
2aec1de
Merge branch 'develop' into feat/sponsorship-paymaster-change-markup-…
livingrockrises Jan 3, 2024
5b50640
Merge branch 'develop' into feat/gas-opt-reduce-pnd-len-spons-pm
livingrockrises Jan 3, 2024
9620664
Merge pull request #70 from bcnmy/feat/sponsorship-paymaster-change-m…
livingrockrises Jan 4, 2024
0c18feb
Merge branch 'develop' into feat/gas-opt-reduce-pnd-len-spons-pm
livingrockrises Jan 4, 2024
528172e
Merge pull request #71 from bcnmy/feat/gas-opt-reduce-pnd-len-spons-pm
livingrockrises Jan 4, 2024
ca3bc5e
Merge branch 'develop' into feat/btpm-new-deployment-scripts
livingrockrises Jan 4, 2024
c486063
update salt
livingrockrises Jan 4, 2024
7ecc9b4
update to solidity 0.8.23
livingrockrises Jan 10, 2024
700f9c8
remove refs
livingrockrises Jan 10, 2024
3d49312
Merge pull request #75 from bcnmy/sma-495-remove-refs
livingrockrises Jan 10, 2024
357ea22
Merge pull request #74 from bcnmy/sma-494-sol-0.8.23
livingrockrises Jan 10, 2024
0e57dcd
refactor scripts
livingrockrises Jan 15, 2024
76c48f2
update configurations
livingrockrises Jan 15, 2024
2544456
dev notes TODO
livingrockrises Jan 15, 2024
f8c7d50
fixes
livingrockrises Jan 30, 2024
61152d7
Merge pull request #78 from bcnmy/fix/develop-build-and-tests
livingrockrises Jan 30, 2024
a3ba421
3.2 Gas can be saved in _postOp()
livingrockrises Jan 30, 2024
0e54c2a
3.3 update the overhead gas cost
livingrockrises Jan 30, 2024
f7825c8
Merge branch 'develop' into feat/btpm-new-deployment-scripts
livingrockrises Jan 31, 2024
34e61c3
respond to PR comments
livingrockrises Feb 4, 2024
b49a8e0
update isContract checks
livingrockrises Feb 4, 2024
2ed359d
Merge pull request #72 from bcnmy/feat/btpm-new-deployment-scripts
livingrockrises Feb 6, 2024
e7ce3ea
chainlight remediations
livingrockrises Feb 6, 2024
0d05691
Merge branch 'develop' into fix/chainlight-remediations
livingrockrises Feb 6, 2024
e79673a
gas optimisation
livingrockrises Feb 6, 2024
5b4827a
add priceUpdateThreshold per oracle + update deployment script
livingrockrises Feb 7, 2024
50da798
fix test cases
livingrockrises Feb 7, 2024
39ecb2f
Merge branch 'develop' into remediations/SMA-575-sponsorship-pm
livingrockrises Feb 7, 2024
de75c81
Merge branch 'develop' into remediations/SMA-568-btpm-v2-audit
livingrockrises Feb 7, 2024
4fd1993
Merge pull request #80 from bcnmy/remediations/SMA-575-sponsorship-pm
livingrockrises Feb 10, 2024
a2bdc31
Merge branch 'develop' into remediations/SMA-568-btpm-v2-audit
livingrockrises Feb 10, 2024
902146b
fetch token's decimals directly + update the test cases
livingrockrises Feb 12, 2024
feb42a8
respond to PR comments
livingrockrises Feb 12, 2024
8c4caf6
fix: math lib respond to PR comments
livingrockrises Feb 12, 2024
fd750fe
notes for unaccounted overhead values + update storage to memory
livingrockrises Feb 12, 2024
5d2988a
Merge pull request #82 from bcnmy/zellic-remediation-3.1
livingrockrises Feb 12, 2024
b9e1876
Merge pull request #79 from bcnmy/remediations/SMA-568-btpm-v2-audit
livingrockrises Feb 12, 2024
4b59605
Merge branch 'develop' into fix/chainlight-remediations
livingrockrises Feb 12, 2024
8969f36
Merge branch 'develop' into fix/chainlight-remediations
livingrockrises Feb 12, 2024
5d95cd6
respond to PR comments
livingrockrises Feb 14, 2024
e0a87f7
Merge pull request #81 from bcnmy/fix/chainlight-remediations
livingrockrises Feb 14, 2024
cff8f41
submodules
livingrockrises Feb 16, 2024
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
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ PAYMASTER_OWNER_ADDRESS_DEV=
PAYMASTER_OWNER_ADDRESS_PROD=
PAYMASTER_SIGNER_ADDRESS_DEV=
PAYMASTER_SIGNER_ADDRESS_PROD=
SPONSORSHIP_FEE_COLLECTOR_ADDRESS_PROD=
TOKEN_PAYMASTER_OWNER_ADDRESS_DEV=
TOKEN_PAYMASTER_OWNER_ADDRESS_PROD=
TOKEN_PAYMASTER_SIGNER_ADDRESS_DEV=
Expand Down
38 changes: 24 additions & 14 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
TokenPaymasterTest:test2TokenPaymasterFailInvalidPaymasteDataLength() (gas: 278584)
TokenPaymasterTest:testCall() (gas: 313171)
TokenPaymasterTest:testCheckStates() (gas: 18600)
TokenPaymasterTest:testDeploy() (gas: 1604349)
TokenPaymasterTest:testOwnershipTransfer() (gas: 23443)
TokenPaymasterTest:testParsePaymasterData() (gas: 621)
TokenPaymasterTest:testTokenPaymasterFailHighPriceMarkup() (gas: 300775)
TokenPaymasterTest:testTokenPaymasterFailInvalidPMSignature() (gas: 283184)
TokenPaymasterTest:testTokenPaymasterFailInvalidPMSignatureLength() (gas: 283496)
TokenPaymasterTest:testTokenPaymasterFailInvalidPaymasteDataLength() (gas: 221406)
TokenPaymasterTest:testTokenPaymasterFailWrongPMSignature() (gas: 295014)
TokenPaymasterTest:testTokenPaymasterRefund() (gas: 399655)
TokenPaymasterTest:testWithdrawERC20(uint256) (runs: 256, μ: 61802, ~: 64060)
TokenPaymasterTest:testWithdrawERC20FailNotOwner(uint256) (runs: 256, μ: 48871, ~: 51000)
TokenPaymasterMumbaiTest:test2TokenPaymasterFailInvalidPaymasteDataLength() (gas: 506028)
TokenPaymasterMumbaiTest:testCall() (gas: 164706)
TokenPaymasterMumbaiTest:testCheckStates() (gas: 18809)
TokenPaymasterMumbaiTest:testDeploy() (gas: 1761558)
TokenPaymasterMumbaiTest:testOwnershipTransfer() (gas: 23623)
TokenPaymasterMumbaiTest:testTokenPaymasterFailHighPriceMarkup() (gas: 521192)
TokenPaymasterMumbaiTest:testTokenPaymasterFailInvalidPMSignature() (gas: 509672)
TokenPaymasterMumbaiTest:testTokenPaymasterFailInvalidPaymasteDataLength() (gas: 460199)
TokenPaymasterMumbaiTest:testTokenPaymasterFailWrongPMSignature() (gas: 515316)
TokenPaymasterMumbaiTest:testTokenPaymasterRefund() (gas: 470153)
TokenPaymasterMumbaiTest:testWithdrawERC20(uint256) (runs: 256, μ: 202488, ~: 203918)
TokenPaymasterMumbaiTest:testWithdrawERC20FailNotOwner(uint256) (runs: 256, μ: 173830, ~: 173830)
TokenPaymasterTest:test2TokenPaymasterFailInvalidPaymasteDataLength() (gas: 290853)
TokenPaymasterTest:testCall() (gas: 166515)
TokenPaymasterTest:testCheckStates() (gas: 18787)
TokenPaymasterTest:testDeploy() (gas: 1761536)
TokenPaymasterTest:testOwnershipTransfer() (gas: 23579)
TokenPaymasterTest:testTokenPaymasterFailHighPriceMarkup() (gas: 309758)
TokenPaymasterTest:testTokenPaymasterFailInvalidPMSignature() (gas: 295496)
TokenPaymasterTest:testTokenPaymasterFailInvalidPaymasteDataLength() (gas: 231031)
TokenPaymasterTest:testTokenPaymasterFailWrongPMSignature() (gas: 302475)
TokenPaymasterTest:testTokenPaymasterRefund() (gas: 255197)
TokenPaymasterTest:testWithdrawERC20(uint256) (runs: 256, μ: 61632, ~: 63985)
TokenPaymasterTest:testWithdrawERC20FailNotOwner(uint256) (runs: 256, μ: 48656, ~: 50873)
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ Related Issue: # (issue number)
<!-- Any additional information or context about the PR. -->

# Branch Naming
<!-- Make sure your branch name follows the pattern: `features/`, `fixes/`, or `releases/`. -->
<!-- Make sure your branch name follows the pattern: `feat/`, `fix/`, `chore/` or `release/`. -->
<!-- **Note**: The person creating the PR is responsible for merging and deleting the branch. Ensure the code has been tested, commented, linted, and documents updated if needed. -->
18 changes: 18 additions & 0 deletions .github/workflows/check_branch_name.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check Branch Name
on:
create:

jobs:
check-branch-name:
runs-on: ubuntu-latest
if: github.event.ref_type == 'branch' && !contains(github.ref, 'refs/heads/main')
steps:
- name: Check Branch Name
run: |
BRANCH_PREFIX_REGEX="^(feat/|fix/|release/|chore/).+"
BRANCH_NAME=${GITHUB_REF#refs/heads/}
if [[ ! $BRANCH_NAME =~ $BRANCH_PREFIX_REGEX ]]; then
echo "Invalid branch name: $BRANCH_NAME"
echo "Branch name must start with 'feat/', 'fix/', 'chore/', or 'release/'."
exit 1
fi
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ forge-cache/
typechain-types
typechain
typings
yarn-error.log

#Hardhat files
cache
Expand All @@ -19,3 +20,5 @@ artifacts-filtered
account-abstraction
scw-contracts

.DS_Store
yarn-error.log
8 changes: 5 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[submodule "lib/account-abstraction"]
path = lib/account-abstraction
url = https://github.com/eth-infinitism/account-abstraction
[submodule "lib/forge-std"]
path = lib/forge-std
url = https://github.com/foundry-rs/forge-std
[submodule "lib/scw-contracts"]
path = lib/scw-contracts
url = https://github.com/bcnmy/scw-contracts
branch = develop
[submodule "lib/account-abstraction"]
path = lib/account-abstraction
url = https://github.com/eth-infinitism/account-abstraction
tag = v0.6.0
4 changes: 3 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
. "$(dirname -- "$0")/_/husky.sh"

yarn lint:sol
2 changes: 1 addition & 1 deletion .solhint.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "solhint:recommended",
"rules": {
"compiler-version": ["error", "0.8.17"],
"compiler-version": ["error", "0.8.23"],
"func-visibility": ["warn", { "ignoreConstructors": true }],
"reentrancy": "error",
"state-visibility": "error",
Expand Down
67 changes: 67 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Contributing to Biconomy Projects 🚀

First off, thank you for considering contributing to Biconomy! We truly appreciate your effort.
Contributions from the community are what make Biconomy awesome. 🙌

Your contributions are valued and will help in driving the decentralized web forward.

> If you're passionate about our mission but can't contribute directly, there are other ways to support:
>
> - ⭐ Star our projects on GitHub
> - 🐦 [Tweet about Biconomy](https://twitter.com/biconomy/)
> - 📌 Reference Biconomy in your project's readme
> - 🗣️ Share about Biconomy at meetups or with peers

## Table of Contents

- [Contributing to Biconomy Projects 🚀](#contributing-to-biconomy-projects-)
- [Table of Contents](#table-of-contents)
- [Have a Question?](#have-a-question)
- [Ready to Contribute?](#ready-to-contribute)
- [Legal Notice 📜](#legal-notice-)
- [Reporting Bugs 🐛](#reporting-bugs-)
- [Suggesting Enhancements 💡](#suggesting-enhancements-)
- [First Time Contributing? 🌱](#first-time-contributing-)
- [Improving Documentation 📚](#improving-documentation-)
- [Commit Messages 📝](#commit-messages-)
- [Join Biconomy's Team! 🚀](#join-biconomys-team-)

## Have a Question?

Before reaching out, please ensure you've gone through our [Documentation](https://docs.biconomy.io/). If you still have questions:

1. Search for existing [Issues](https://github.com/bcnmy/biconomy-paymasters/issues) that might answer your question.
2. Check out our [Forum](https://forum.biconomy.io/).
3. Join our [Discord](https://discord.com/invite/biconomy) or [Telegram](https://t.me/biconomy) communities.

If you still need assistance, feel free to open an [Issue](https://github.com/bcnmy/biconomy-paymasters/issues/new) with your question.

## Ready to Contribute?

### Legal Notice 📜

By contributing, you agree that you've authored your contribution and that it can be provided under the project's license.

### Reporting Bugs 🐛

Before submitting a bug report, ensure you're using the latest version and that you've read our [documentation](https://docs.biconomy.io/). If you've identified a bug that hasn't been reported, open a new [Issue](https://github.com/bcnmy/biconomy-paymasters/issues/new) detailing the bug.

### Suggesting Enhancements 💡

Have a feature in mind? First, ensure it aligns with Biconomy's mission and hasn't been suggested before. Then, open an [Issue](https://github.com/bcnmy/biconomy-paymasters/issues/new) to discuss your enhancement.

### First Time Contributing? 🌱

Welcome! We're thrilled to have you. If you're unsure where to start, look for issues labeled `good first issue`.

### Improving Documentation 📚

Good documentation is key! If you spot areas for improvement or errors in our documentation, we'd love your input. If you wish to suggest changes, feel free to raise a PR on our [documentation repository](https://github.com/bcnmy/docs).

### Commit Messages 📝

Ensure your commit messages are clear and descriptive.

## Join Biconomy's Team! 🚀

Interested in joining our mission full-time? Check out our [current job openings](https://jobs.lever.co/biconomy).
149 changes: 0 additions & 149 deletions DerivedPriceFeedFlat.sol

This file was deleted.

21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Biconomy

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading