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

- Update Tipping Contracts #25

Open
wants to merge 61 commits into
base: main
Choose a base branch
from
Open

- Update Tipping Contracts #25

wants to merge 61 commits into from

Conversation

lennardevertz
Copy link
Member

Multiple advancements to Tipping contracts.

- use EAS_SCHEMA as constructor arg instead of hardcoded value
- use _easSchema in modifier in TippingEAS.sol and TippingFull.sol
- use OZ SafeERC20 in MultiAssetSender.sol
- use amountIn as _amount in sendTokenTo in TippingFull.sol
@lennardevertz lennardevertz self-assigned this Oct 30, 2023
@lennardevertz lennardevertz changed the title - change solidity versions - Update Tipping Contracts Oct 30, 2023
lennardevertz and others added 16 commits October 30, 2023 23:35
- delete amount from sendNativeTo
- add temporary FeeCalculatorNew.sol used in the new tipping contract structure (TippingEASBase, TippingEASOracle, TippingCore)
- remove Batchable from TippingCore.sol
1. Chainlink but no EAS
2. EAS but no Chainlink
3. Neither of the two

- create empty implementation for `_afterTransfer()`` so I don't have to overwrite in all importing contracts.
- add sequencer uptime checks
- refactor old files
- fix input params for erc721 transferFrom
- reformat test file
- move publicGoods mapping to FeeCalculator.sol
- fix sequencer address passing issue
- add tests
- fix erc20 events
- fix wrong EAS mock contract
- fix abstract keyword for Tipping.sol
- temporarily ignore tests for SendToHash.test.ts
- fix TipMessage event amount for NFTs
- fix `msgFeeUsed += fee` placement in batch sending of ERC20s
- fix `paymentValue` for batch NFT sending
- start fixing ERC1155 tests
- add v2 tipping contracts
# Conflicts:
#	hardhat.config.ts
#	src/contracts/Tipping.sol
#	src/contracts/libs/FeeCalculator.sol
#	src/contracts/libs/MultiAssetSender.sol
#	src/contracts/mocks/MockEAS.sol
#	test/Tipping.test.ts
- add additional verification helper method
- add payment contract to deploy
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.

1 participant