Comments (3)
The anyERC1155ForERC20
and anyERC20ForERC1155
just apply to one ERC1155 with one ERC20 exchange, so if you want to exchange many ERC20 for one ERC1155, you can use atomicize
to wrap many ERC20 transactions as secondCall
parameters in atomicMatchWith
. or you can use anyAddOne
for your scene.
from wyvern-v3.
The
anyERC1155ForERC20
andanyERC20ForERC1155
just apply to one ERC1155 with one ERC20 exchange, so if you want to exchange many ERC20 for one ERC1155, you can useatomicize
to wrap many ERC20 transactions assecondCall
parameters inatomicMatchWith
. or you can useanyAddOne
for your scene.
@smitea Thank you for suggestion.
We tried to use atomicize
in counterorder but it cannot pass the validation because anyERC1155ForERC20
will check whether the 2nd call is transferFrom(address,address,uint256)
. atomicize
multiple ERC20 transactions will make this validation fail.
We also tried to use any
to any
pair and it so called "works" ("works" means that I can transfer ERC1155 to one wallet and transfer ERC20 to multiple wallets). However, it does not have any order matching validation.
What we are trying to achieve:
- match order with similar validation inside
anyERC1155ForERC20
andanyERC20ForERC1155
- support multiple ERC20 transactions
Is it required to write a customized solidity for cases like it?
Or does our purpose make no sense?
from wyvern-v3.
see that 56#.
from wyvern-v3.
Related Issues (20)
- how to call WyvernExchangeContract to mumbai HOT 1
- Examples to integrate with Wyvern from a smart contract HOT 13
- Integrating fees HOT 4
- One test failed HOT 1
- When will this contract be deployed to the mainnet? HOT 3
- Incorrect implementation of EIP-1271 HOT 2
- seems that cannot sell a 721nft with eth HOT 1
- Windows/GIT : fatal: unable to checkout working tree HOT 2
- Having issues with ExchangeCore code HOT 4
- Bug report for StaticMarket.sol HOT 3
- Integration with a marketplace
- What is the relation to the original ProjectWyvern HOT 1
- validates valid authorization by signature (personal_sign) (4_wyvernExchange_basics.js) unit test
- Static Market Matching test
- Seeking to implement the simplest NFT buy and sell operation sample code. HOT 3
- How about use `WyvernAtomicizer.atomicize` for eth transfer? HOT 2
- Optional User's Proxy for the atomicMatch
- Please add a test case in the test folder that demonstrates the option to use lazy mint.
- test failed in 5-wyvern-exchange-matching.js
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wyvern-v3.