wharfkit / cli

Wharf command line tool to provide code generation and other utilities

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not all types generating properly against atomicassets

aaroncox opened this issue · comments

The generated contract code that's output doesn't properly generated the types on the atomicassets contract.

The ABI defines an ATTRIBUTE_MAP type, which is never converted into any type of struct and is not mapping on the appropriate fields.

image

The below is a Struct generated that tries to use it, and it cannot find it.

image

Reproduce:

npx @wharfkit/cli generate -u https://wax.greymass.com atomicassets -f contract.ts