Skip to content

Issue with fulfillBasicOrder while executing it through a smart contract #628

Closed

Description

@CleanPegasus

I tried to fulfil an order for an NFT with WETH. But when I tried to implement it through a smart contract, I'm getting the following error. I have enough WETH in my account and enough ETH for the gas(Rinkeby).

image

Here is the function I'm trying to execute.

` function fulfillSeaportOrder() public returns(bool) {

    AdditionalRecipient memory seaportCut = AdditionalRecipient({
        amount: 25000000000000000,
        recipient: payable(0x0000a26b00c1F0DF003000390027140000fAa719)

    });

    AdditionalRecipient memory dead = AdditionalRecipient({
        amount: 1000000000000000,
        recipient: payable(0x000000000000000000000000000000000000dEaD)
    });

    additionalRecipients.push(seaportCut);
    additionalRecipients.push(dead);


    BasicOrderParameters memory order = BasicOrderParameters({
    considerationToken: 0xc778417E063141139Fce010982780140Aa0cD5Ab, 
    considerationIdentifier: 0,
    considerationAmount: 974000000000000000,
    offerer: payable(0x1845aD3465b6BFB4C402bbc682C56bed473D0cC3), // your address
    zone: 0x00000000E88FE2628EbC5DA81d2b3CeaD633E89e,
    offerToken: 0xf5de760f2e916647fd766B4AD9E85ff943cE3A2b, // tokenAddress
    offerIdentifier: 1521045,
    offerAmount: 1, // total amount
    basicOrderType: BasicOrderType.ERC20_TO_ERC721_FULL_OPEN, // ETH_TO_ERC721_FULL_OPEN
    startTime: 1661366912,
    endTime:   1664045312,
    zoneHash: 0x0000000000000000000000000000000000000000000000000000000000000000,
    salt: 317612967258845460796535291342557661168,
    offererConduitKey: 0x0000007b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f0000,
    fulfillerConduitKey: 0x0000007b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f0000,
    totalOriginalAdditionalRecipients: 0,
    additionalRecipients: additionalRecipients,
    signature: "0xbe88efc1a4f9b84551918bd688f75728d55926b70d14d0a444d00a580e3a27cd02957e3309508b0cc53ef457ac007d251a678052c67059b7f4feb2994f4c82871c"
    });

    bool status = seaport.fulfillBasicOrder(order);

    return status;
}`

Activity

  1. locked and limited conversation to collaborators on Aug 25, 2022
  2. converted this issue into a discussion #639 on Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions