Closed joshuajiangdev closed 1 year ago
I have implemented my own version here: https://github.com/joshuajiangdev/web3.swift-typeddata-v4/commit/8369ff744d438bc7c5fceaa84798c5a951d2b6f8
Let me know if you want me to submit a pull request. The newly added test cases are cross verified with @metamask/eth-sig-util.
Hi @joshuajiangdev yes please a PR would be great.
When we tried to get
signablehash
from the following typed data from OpenSea.We are getting error in
parseAtomicType
underwhere
data
is equal toand
type
isOfferItem[]
. This seems to be a match, the only issue here is this should not be inparseAtomicType
because it seems likeABIRawType
is only supportRawType
and passing inOfferItem
will result ainvalidValue
(Maybe should beinvalidType
) error.PS.
We are also trying to setup a simpler message:
Seems this one is not working.