Order Interface

Order Fulfillment Function

PlaceOrder

function placeOrder(
        Order memory buy,
        Sig   memory buySig,
        Order memory sell,
        Sig   memory sellSig,
        uint256 permitBlock,
        Sig   memory serverSideSig
    ) external payable nonReentrant

Function for Placing an Order with Ethereum Payment for a Bundle consisting of ERC721 tokens

NameTypeDescription

buy

struct Order

Purchase Order Information

buySig

struct Sig

Buyer's Signature

sell

struct Order

Sales Order Information

sellSig

struct Sig

Seller's Signature

permitBlock

uint256

This order refers to the block approved by SSS (Server Side Sign), and the sum of permitBlock and the intervalBlock defined in the contract must be greater than or equal to the execution block for the order to be successfully executed.

Example: Approved block (17,000,000 blocks), intervalBlock defined in the contract (10 blocks) 17,000,000 + 10 = 17,000,010 The transaction must be conducted within 17,000,010 blocks for successful completion.

serverSideSig

struct Sig

If the sig is not verified by Server Side Sign, the order will not proceed even if buySig and SellSig match.

Last updated