Skip to content

Catalogue's getFeeData is inconsistent with AuctionHouse lotFees #231

@wenfix

Description

@wenfix

For the Aurelius auction on Mantle (lotId 1):
getFeeData in Catalogue:0x30c356DFBAc808BC62c860A9B285f024b40dF1fc is returning:

[getFeeData method Response]
curator tuple : 0x63c4fC41B61853997d51b73419a5Cf41C4be1A6F
curated : true
curatorFee : 500
protocolFee : 0
referrerFee : 0

while lotFees in BatchAuctionHouse:0xBA00000054C5a2122cD6333054BFDdB90A287Ee3 is the other way around:

[
  "0x63c4fC41B61853997d51b73419a5Cf41C4be1A6F",
  true,
  0,
  0,
  500
]

lotFees for reference:

function lotFees(uint96 lotId)
        external
        view
        returns (
            address curator,
            bool curated,
            uint48 curatorFee,
            uint48 protocolFee,
            uint48 referrerFee
        );

referrerFee and curatorFee are getting swapped between them

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions