-
Notifications
You must be signed in to change notification settings - Fork 1.2k
ERC20 Asset Transactor #7762
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
ERC20 Asset Transactor #7762
Changes from all commits
Commits
Show all changes
83 commits
Select commit
Hold shift + click to select a range
f5a6148
feat: interact with an ERC20 contract via fungibles
franciscoaguirre cc0826a
Merge branch 'master' into erc20-transactor
franciscoaguirre 663dc31
feat(pallet-revive): implement burn_from and mint_into
franciscoaguirre dec5a16
WIP
franciscoaguirre 0e30d61
Merge branch 'master' into erc20-transactor
franciscoaguirre d1d3200
Merge branch 'master' into erc20-transactor
franciscoaguirre 69d8188
test(asset-hub-westend-integration-tests): handle erc20 with xcm
franciscoaguirre c3ea080
chore: remove erc20.txt
franciscoaguirre f47caff
doc(assets-common): add docs to public items
franciscoaguirre 3ff6618
test(pallet-revive): total issuance
franciscoaguirre 42525b5
Merge branch 'master' into erc20-transactor
franciscoaguirre b7e7292
chore: some tweaks
franciscoaguirre 1a3ca40
feat(xcm-executor): integrate fees to withdraw and deposit in a simpl…
franciscoaguirre 3c91d8c
test(asset-hub-westend): ERC20s weighing more than regular assets
franciscoaguirre bea5b5c
chore(xcm-executor): add new trait fn to avoid breaking change
franciscoaguirre 4b8300b
doc(xcm-executor): add some doc comments
franciscoaguirre c7d53e9
chore(erc20-transactor): clean up errors
franciscoaguirre 3c27b62
test(asset-hub-westend): add refund_surplus to ERC20Transactor test
franciscoaguirre 1f9eaed
fix(xcm-executor): actually accrue surplus after deposit
franciscoaguirre 6b00997
doc: add prdoc
franciscoaguirre 7efef14
feat(xcm-executor): also take into account surplus on transfer_asset
franciscoaguirre feb9883
Merge branch 'master' into erc20-transactor
franciscoaguirre 4b55188
fix: feature propagation
franciscoaguirre 9b4f1ce
fix: taplo
franciscoaguirre 311dcee
fix: fmt
franciscoaguirre 9db097f
fix(erc20-transactor): make sure we don't panic
franciscoaguirre 85c36ab
enhance erc20 transactor
acatangiu a8a7c09
test(erc20-transactor): non-existent and non-erc20 contracts
franciscoaguirre a02574c
Update cumulus/parachains/runtimes/assets/common/src/lib.rs
franciscoaguirre 89580be
Update polkadot/xcm/xcm-executor/src/traits/transact_asset.rs
franciscoaguirre 21f947e
Update polkadot/xcm/xcm-executor/src/traits/transact_asset.rs
franciscoaguirre 41dc734
Update polkadot/xcm/xcm-executor/src/traits/transact_asset.rs
franciscoaguirre d1d25f6
fix(erc20-transactor): use a specific checking account
franciscoaguirre e750fd0
chore(erc20-transactor): rename checking account
franciscoaguirre c25e04e
doc(erc20-transactor): improve doc comments
franciscoaguirre 16e71c0
fix: fmt
franciscoaguirre 5b84a77
Merge branch 'master' into erc20-transactor
franciscoaguirre f7777e6
fix: checking account
franciscoaguirre 7eecb15
Merge branch 'master' into erc20-transactor
franciscoaguirre 559988d
fix(erc20-transactor): disallow teleports
franciscoaguirre 063c31d
Merge branch 'master' into erc20-transactor
franciscoaguirre 74b2932
Merge branch 'master' into erc20-transactor
franciscoaguirre 5452f4c
fix(erc20-transactor): license
franciscoaguirre 9f475a1
Merge branch 'master' into erc20-transactor
franciscoaguirre 357f392
Merge branch 'master' into erc20-transactor
franciscoaguirre e19d44d
Merge branch 'master' into erc20-transactor
franciscoaguirre 3d97b16
fix(assets-common): unresolved link
franciscoaguirre 18a6ed3
fix(assets-common): propagate try-runtime feature from pallet-revive
franciscoaguirre eee48ef
Merge branch 'master' into erc20-transactor
franciscoaguirre 754677c
chore: move erc20 interface to its own crate
franciscoaguirre c7b0d41
fix: zepter and taplo
franciscoaguirre 3d7e538
fix: copy polkavm blob instead of moving it
franciscoaguirre b696d4e
test: contract that returns more data
franciscoaguirre 77f7723
test: scenarios with different contracts
franciscoaguirre 793d1e0
fix: add storage deposit limits
franciscoaguirre d9c830c
Merge branch 'master' into erc20-transactor
franciscoaguirre 5323bb8
chore(pallet-revive-fixtures): rename function
franciscoaguirre 4c0d7fc
chore(pallet-revive): refactor magic number to constant
franciscoaguirre 4cd4230
fix: add new crate to umbrella
franciscoaguirre 129b93b
doc: update prdoc
franciscoaguirre 11ce20f
Merge branch 'master' into erc20-transactor
franciscoaguirre 43f027d
Merge branch 'master' into erc20-transactor
franciscoaguirre 219eac4
Update cumulus/parachains/runtimes/assets/asset-hub-westend/src/xcm_c…
franciscoaguirre 7d9a360
chore: move IERC20 and validate all decoding
franciscoaguirre f53ee34
fix: fmt
franciscoaguirre 989abbc
Merge branch 'master' into erc20-transactor
franciscoaguirre 8640566
fix: add max weight to a test
franciscoaguirre 6937b11
chore: move erc20 transactor tests to asset-hub unit tests
franciscoaguirre 3eeaa8d
fix: fmt
franciscoaguirre 64f1397
Merge branch 'master' into erc20-transactor
franciscoaguirre 5adbd29
fix: clippy
franciscoaguirre 065a40c
fix: zepter
franciscoaguirre b72c080
Merge branch 'master' into erc20-transactor
franciscoaguirre a70edad
chore(pallet-revive): move feature gate to module itself
franciscoaguirre d383df3
chore(asset-hub-westend-emulated-chain): rename contracts to revive
franciscoaguirre 4412d17
chore(assets-common): remove alloy-core dependency
franciscoaguirre dd389f9
chore: remove a space
franciscoaguirre 1392670
chore(asset-hub-westend-runtime): remove dependency on revive fixtures
franciscoaguirre c42cf06
chore(pallet-revive): specify imports instead of glob
franciscoaguirre 765d5ba
Merge branch 'master' into erc20-transactor
franciscoaguirre f8b59a4
chore(asset-hub-westend-runtime): add reference contracts
franciscoaguirre 946842e
fix(pallet-revive): fungibles tests
franciscoaguirre 39db981
revert(yet-another-parachain): taplo
franciscoaguirre 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
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.