Solidity - bid on a OpenSea: Wyvern Exchange v2
Budget: $1,500 – $3,000 USD
Hi,
I'm looking for a developper who can make a smart contract that buy a NFT on Opensea : Wyvern Exchange v2
The contract : https://etherscan.io/address/0x7f268357a8c2552623316e2562d90e642bb538e5#code
The function that should be called : function approveOrder_ (
address[7] addrs,
uint[9] uints,
FeeMethod feeMethod,
SaleKindInterface.Side side,
SaleKindInterface.SaleKind saleKind,
AuthenticatedProxy.HowToCall howToCall,
bytes calldata,
bytes replacementPattern,
bytes staticExtradata,
bool orderbookInclusionDesired)
public
This function is a Solidity workaround for usage of function atomicMatch(Order memory buy, Sig memory buySig, Order memory sell, Sig memory sellSig, bytes32 metadata)
Here is a detailed explaination of the process :
https://twitter.com/javamonnn/status/1461708393169756166
https://wyvernprotocol.com/docs
Here some test to undersand : https://github.com/wyvernprotocol/wyvern-v3/blob/1d89d6a91faddf3c3494e6ebdcb07b46fe111fb4/test/7-static-market-matching.js#L29
The contract should be called by a script that you need to develop in JS who send all the parameters required : Example {
tokenId: 5,
sellAmount: 1,
sellingPrice: price,
buyingPrice: price,
buyAmount: 1,
erc1155MintAmount: 1,
erc20MintAmount: price,
account_a: accounts[0],
account_b: accounts[6],
sender: accounts[1]
}
I'm looking for a developper who can make a smart contract that buy a NFT on Opensea : Wyvern Exchange v2
The contract : https://etherscan.io/address/0x7f268357a8c2552623316e2562d90e642bb538e5#code
The function that should be called : function approveOrder_ (
address[7] addrs,
uint[9] uints,
FeeMethod feeMethod,
SaleKindInterface.Side side,
SaleKindInterface.SaleKind saleKind,
AuthenticatedProxy.HowToCall howToCall,
bytes calldata,
bytes replacementPattern,
bytes staticExtradata,
bool orderbookInclusionDesired)
public
This function is a Solidity workaround for usage of function atomicMatch(Order memory buy, Sig memory buySig, Order memory sell, Sig memory sellSig, bytes32 metadata)
Here is a detailed explaination of the process :
https://twitter.com/javamonnn/status/1461708393169756166
https://wyvernprotocol.com/docs
Here some test to undersand : https://github.com/wyvernprotocol/wyvern-v3/blob/1d89d6a91faddf3c3494e6ebdcb07b46fe111fb4/test/7-static-market-matching.js#L29
The contract should be called by a script that you need to develop in JS who send all the parameters required : Example {
tokenId: 5,
sellAmount: 1,
sellingPrice: price,
buyingPrice: price,
buyAmount: 1,
erc1155MintAmount: 1,
erc20MintAmount: price,
account_a: accounts[0],
account_b: accounts[6],
sender: accounts[1]
}