forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 115
feat(eth-swap): maker tpu v2 implementation #2211
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
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
e485de2
create eth_swap_v2 module, and refactor eth_swap_v2.rs to eth_taker_s…
laruh 6593dc7
maker ops: send_maker_payment_v2_impl added
laruh 9eac0fd
WIP: validate_maker_payment_v2_impl
laruh 4fc3971
remove unused import
laruh 45d4726
maker tpu v2: validate_maker_payment_v2_impl
laruh 619359a
maker tpu v2: refund timelock and secret
laruh a6e17b4
maker tpu v2: wait_for_maker_payment_spend TODO
laruh e16bf49
maker tpu v2: spend_maker_payment_v2_impl
laruh b35e68f
eth maker tpu v2: wait_for_maker_payment_spend_impl
laruh f73b5de
eth maker v2 docker tests
laruh e53c028
remove clone for now
laruh 3815d08
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh 7498eec
maker swap v2 docker tests (on sepolia)
laruh b1626f7
set taker and maker gas limits V2
laruh ce7903d
taker gas limits v2
laruh f1063c7
move prepare erc20 payment data above allowance, impl handle_allowance
laruh 60f11f8
start using `nft_maker_swap_v2_contract` from EthCoin in Nft maker sw…
laruh 0c96992
nft maker gas limits v2
laruh 8f983ec
update taker time
laruh 6961d50
update gas limit fields names
laruh 5d9d1de
add sepolia test features
laruh d57abdb
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh 1ef0f43
provide SEPOLIA_TESTS_LOCK
laruh 638afd2
UtxoStandardCoin wait_for_maker_payment_spend
laruh be1eab0
call crate BigDecimal method is_positive
laruh 4bada4f
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh ab0f961
fix clippy
laruh b3ed7ba
review: gas limit traits
laruh 9b388a2
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh 3dce044
review: remove traits
laruh eeead52
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh f7eab3c
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh 5f1e38c
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh a5a0834
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh db6b2e7
remove wait_for_maker_payment_spend
laruh da12b97
increase v2 ERC20_PAYMENT consts to 150_000
laruh 2b81855
review: consts for TAKER/MAKER state indexes
laruh 72ed306
review: create separate Refund Args structures for Timelock and Secre…
laruh a9a5c47
review: remove unreachable
laruh 1ccfc77
review: split token_address and gas_limit funcs logic
laruh 6e42e34
review: adjust gas limit consts
laruh 1e6dacb
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh ce15cd8
review: prioritize errors
laruh 57e75ed
review: remove unnecessary as_ref, map functions
laruh 1e6ea8e
review: use ref to a fixed-size array in Validation Args
laruh 77b7500
Merge remote-tracking branch 'origin/dev' into eth-maker-tpu-v2
laruh ed02392
review: update payment state index consts names
laruh 1301084
review: remove redundant validation
laruh 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
Oops, something went wrong.
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.