-
Notifications
You must be signed in to change notification settings - Fork 1
WIP - New contracts and contracts-sdk packages #1264
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
Draft
seansing9
wants to merge
91
commits into
develop
Choose a base branch
from
feature/new-contracts-package
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 1 commit
Commits
Show all changes
91 commits
Select commit
Hold shift + click to select a range
c44d554
rename previous contracts folder to -old, create new contracts package
seansing9 998ff58
update readme
seansing9 4ab4595
add draft docker files
seansing9 a8b4391
add asset transfer functions to smart wallet
seansing9 1de4c7d
update smart wallet to import interfaces manually
seansing9 7295d03
update config, package.json
seansing9 1d5bb29
added wip contracts-sdk-new package
seansing9 5d6e038
merged develop
seansing9 d9c6162
update contracts, and new contracts-sdk
seansing9 1a9e35d
update contracts, added unit test read me for smart wallet factory, u…
seansing9 3db67f8
removed typechain-types folder, add gitignore
seansing9 434fae0
p256 additions
TtheBC01 46f08bf
updates to smart wallet
TtheBC01 f5bf1b6
update
TtheBC01 7b6d88c
argument consolidation
TtheBC01 beda889
fix spellings
seansing 9f8a653
update wallet factory contract
seansing c33d2fd
update wallet factory contract quote claim
seansing adc3c39
update wallet factory contract claim functions
seansing 8ce35f7
add getter for deployedSnickerdoodleWalletAddressToOwner mapping to r…
seansing 6122724
start unit tests
TtheBC01 9f9b142
update unit test and config to use ethers
seansing 7d640c7
update comments
seansing d29c5e5
first unit test
TtheBC01 46f9858
update to tests
TtheBC01 345a029
new unit tests for snickerdoodle wallet
TtheBC01 ec49045
bug fix smart wallet
TtheBC01 eb17ced
created stand alone struct contract for cleaner function interfaces
TtheBC01 c4868ed
added mock erc20 token
TtheBC01 71eb16d
updated testnet readme file, smartwalletfactory tasks to ethers, add …
seansing9 db7bf3f
updated testnet readme file using base sepolia
seansing9 ac4b219
new operator gateway contract plus erc7529 contracts
TtheBC01 33caa75
fixed compile error
TtheBC01 4fbbefd
added operator factory methods
TtheBC01 ed92b1d
make factory upgradeable, included upgradeable OApp contracts
seansing9 7b98163
update comments for required function implementations
seansing9 29c8f2d
add contract size reporter, transparent proxies module
seansing9 c2e59a9
add stoage to oappreceiver and sender
seansing9 1086102
merge
TtheBC01 d1d36f7
Merge branch 'feature/new-contracts-package' of https://github.com/Sn…
TtheBC01 41d33d3
new ignition modules and some refactoring of the factory
TtheBC01 fb78553
fixed some bugs in ignition modules
TtheBC01 5422994
bootstrapped some tests and more fixes to ignition modules
TtheBC01 f2ae1f1
fix bug (missed Ownable init), update 'claim' to 'reserve'
seansing9 5061c4b
WIP update hardhat tasks and testnet testing README
seansing9 1741dc8
fix typo
seansing9 415a52c
small refactor from names to usernames
TtheBC01 27b1c4f
Merge branch 'feature/new-contracts-package' of https://github.com/Sn…
TtheBC01 881c8cf
tweaks on usernames and helper function in ignition modules
TtheBC01 0b2467f
added EndpointV2Mock to pass tests of LZ0 contracts
TtheBC01 92f09d5
first test on SnickerdoodleFactory.sol
TtheBC01 6df9e4c
update receiving address for wallet message's _lzSend(), add module f…
seansing9 f7db6fb
add todo comment to operator gateway
seansing9 6eff4ed
wip debugging
seansing9 b5a1c41
update to contract tests
TtheBC01 7f52f80
Merge branch 'feature/new-contracts-package' of https://github.com/Sn…
TtheBC01 deca81b
fixed factory tests
TtheBC01 9135a2d
refactor to send operator and wallet hashes over Layer0
TtheBC01 7545de8
fixed contract, updated readme with working testnet flow
seansing9 52d3a31
merged feature/new-contracts-package
seansing9 b5c027b
wallets initializer takes a p256key array
TtheBC01 ad13810
Merge branch 'feature/new-contracts-package' of https://github.com/Sn…
TtheBC01 2fc5d1f
fixed factory test
TtheBC01 97b3862
wallet init now takes p256 array and updates hash on new wallets
TtheBC01 261670b
added gas reporter, replaced tmp contracts with OZ 5.1.0, update test…
seansing9 c2d3022
clean up hardhat tasks
seansing9 53d6fce
fix spellings
seansing9 da3d441
add getters, natspec params, update version
seansing9 39db5e9
fix bug for adding evm account, add test to check for it, update test…
seansing9 3e1e375
update operator hash implemented
TtheBC01 ffea15b
first missing override
TtheBC01 82d67e7
formatting
TtheBC01 1bb3bbd
initialize SmartClearinghouse contract
TtheBC01 e9843b4
rename AuthenticatorData to P256VerificationData
seansing9 43f21ac
first pass at clearinghouse contract
TtheBC01 494d80c
Merge branch 'feature/new-contracts-package' of https://github.com/Sn…
TtheBC01 8e870d0
add getter
seansing9 7974c19
update docker scripts, add module for lzendpointv2mock
seansing9 4ea2c62
add comment to dockerfile
seansing9 6cdfe8b
new execute method for wallet, removed domain arg in factory
TtheBC01 f2e0acd
Merge branch 'feature/new-contracts-package' of https://github.com/Sn…
TtheBC01 a8689ca
finish merge
TtheBC01 31b465c
added missing authorize function
TtheBC01 a8b62f8
added funds transfer function
TtheBC01 420b3e6
fix comments, add missing adminAccounts param when hashing on destin…
seansing9 7f31f09
add unit test to test execute function
seansing9 d9bd4a6
remove .only
seansing9 1e9e67d
add EOA check to operator initalize
seansing9 26a4ae8
refactor _verifyP256
TtheBC01 27b6235
tweak _verifyP256
TtheBC01 35d2b7c
added helper function to look up wallet addresses
TtheBC01 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| import { buildModule } from "@nomicfoundation/hardhat-ignition/modules"; | ||
|
|
||
| const EndpointV2MockModule = buildModule("EndpointV2MockModule", (m) => { | ||
| const endpointV2Mock = m.contract("EndpointV2Mock", []); | ||
|
|
||
| return { endpointV2Mock }; | ||
| }); | ||
|
|
||
| export default EndpointV2MockModule; |
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
needs force otherwise it errors with ethers version mismatch