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

Feat/v3.5.0 #66

Open
wants to merge 8 commits into
base: feat/v3
Choose a base branch
from
Open

Feat/v3.5.0 #66

wants to merge 8 commits into from

Conversation

iulianpascalau
Copy link
Contributor

No description provided.

iulianpascalau and others added 8 commits September 18, 2024 16:39
* Add BridgeProxy contract and state variables

* add deposit endpoint

* add logic for deposit funds in Bridge contract

* moved structs to SharedStructs

* add counter for transactions

* add execute endpoint

* fixed BridgeMock bug

* add executeCallback private method

* add finishExecuteGracefully private method

* add refund method and view functions

* removed token payments mapping and refactored

* removed token payment

* fixed logic after removing token payments

* add setter for Bridge address

* refactored tests for Bridge, MintBurnERC20 and ERC20Safe contracts

* refactored deposit endpoint

* removed state variable bridgeAddress

* small gas optimization for getPendingTransaction view function

* lowestIndexId and calldata encoding fixes

* add unit tests for BridgeProxy contract

* refactored execute endpoint

* add logic for deleting pending txns

* add test for txns with endpoints with no args

* made BridgeProxy contract upgradable

* test fixes after merge

* add test for BridgeProxy contract upgrade

* add isPendingTransaction private function

* temporar fixes

* fixes after review

* renamed BridgeProxy to BridgeExecutor

* more fixes

* refactor execute function

* renamed variables

* - fixes after merge

---------

Co-authored-by: cosmatudor <[email protected]>
Co-authored-by: Rebegea Dragos-Alexandru <[email protected]>
Co-authored-by: Cosma Tudor-Mihai <[email protected]>
Add TestCaller contract on solidity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants