# Missing import of BN type after generating abis for predicate code

**URL:** <https://forum.fuel.network/t/missing-import-of-bn-type-after-generating-abis-for-predicate-code/2489>\
**Category:** TypeScript SDK\
**Created:** [May 1, 2023, 9:47am UTC](https://forum.fuel.network/t/missing-import-of-bn-type-after-generating-abis-for-predicate-code/2489 "2023-05-01T09:47:00Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sway](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/sway/32/103_2.png) [@sway](https://forum.fuel.network/u/sway)\
**Post date:** [May 1, 2023, 10:54am UTC](https://forum.fuel.network/t/missing-import-of-bn-type-after-generating-abis-for-predicate-code/2489/3 "2023-05-01T10:54:30Z")

</div>

looking forward for solving this problem, but also I have found another one, please have a look maybe they are related

> [@Cant create predicate instance following Use type tutorial in ts sdk](https://forum.fuel.network/t/cant-create-predicate-instance-following-use-type-tutorial-in-ts-sdk/2490):
>
> Hey devs! I have tried to create instance of predicate with following code, but it failed, please have a look) Link to tutorial that used - [Using Generated Types | Fuels-ts](https://fuellabs.github.io/fuels-ts/guide/abi-typegen/using-generated-types.html#using-generated-predicate-types) Link to my repo with code - [GitHub - compolabs/test-predicate-ts](https://github.com/compolabs/test-predicate-ts)

---

_[View the full topic](https://forum.fuel.network/t/missing-import-of-bn-type-after-generating-abis-for-predicate-code/2489)._
