'how to construct the parameters for wyvern protocol atomicMatch function
I am recently writing a nft automatic purchase transaction program in golang, but the nft platform does not support direct purchase, it must be purchased on the web page The platform's protocol is based on the wyvern exchange protocol, and the atomicMatch method is ultimately called, but this method has many parameters and no instructions:
func (*wyvernExchange.WyvernExchangeTransactor).AtomicMatch(opts *bind.TransactOpts, uints [16]*big.Int, staticSelectors [2][4]byte, firstExtradata []byte, firstCalldata []byte, secondExtradata []byte, secondCalldata []byte, howToCalls [2]uint8, metadata [32]byte, signatures []byte) (*types.Transaction, error)
AtomicMatch is a paid mutator transaction binding the contract method 0x9a5168db.
Solidity: function atomicMatch_(uint256[16] uints, bytes4[2] staticSelectors, bytes firstExtradata, bytes firstCalldata, bytes secondExtradata, bytes secondCalldata, uint8[2] howToCalls, bytes32 metadata, bytes signatures) payable returns()
I don't understand what these parameters actually mean, and I can't find a corresponding example
can anyone give some help
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
