Closed cthulhu-rider closed 9 months ago
https://pkg.go.dev/github.com/nspcc-dev/neofs-contract@v0.17.0/nns
I'm slightly confused by the contract API. We deal with
name string
tokenID []byte
If both of these elements are about the same entity, then I'd expect uniformity in method parameters.
I suppose this came from docs
the domain name itself is your NFT
Replace tokenID []byte with name string everywhere and don't forget about backwards.
tokenID is used in NEP-11-compliant APIs, I guess, so it's a feature.
tokenID
Can't be done.
https://pkg.go.dev/github.com/nspcc-dev/neofs-contract@v0.17.0/nns
I'm slightly confused by the contract API. We deal with
name string
- domain nametokenID []byte
- domain name too (???)If both of these elements are about the same entity, then I'd expect uniformity in method parameters.
I suppose this came from docs
Possible solution
Replace
tokenID []byte
withname string
everywhere and don't forget about backwards.