RAILGUN Reloaded
    Preparing search index...

    Thrown when shield inputs carry a field belonging to a different token standard, such as a tokenSubID on an ERC20 shield. The field cannot be honoured, so it is rejected rather than silently dropped.

    Hierarchy

    • Error
      • UnexpectedShieldFieldError
    Index
    • Construct an UnexpectedShieldFieldError.

      Parameters

      • tokenType: "ERC20" | "ERC721" | "BaseToken"

        Token standard the shield was requested for.

      • field: "tokenAddress" | "tokenSubID" | "amount"

        Field that does not belong to that token standard.

      Returns UnexpectedShieldFieldError

    tokenType: "ERC20" | "ERC721" | "BaseToken"

    Token standard the shield was requested for.

    field: "tokenAddress" | "tokenSubID" | "amount"

    Field that does not belong to that token standard.