sway
May 23, 2023, 3:40pm
1
Would be great to add configurable argument to createInstance function
export class LimitOrderPredicateAbi__factory {
static readonly abi = _abi
static readonly bin = _bin;
static createInstance(provider?: Provider) {
const { abi, bin } = LimitOrderPredicateAbi__factory
const predicate = new Predicate(bin, abi, provider);
return predicate;
}
}
2 Likes
Good idea @sway ! I’ve raised the following issue . I might try take a look over the next week or so. I assume this is just for the improvement in user experience, and not a blocker for you?
sway
May 23, 2023, 4:40pm
3
Yep, exactly) I am not blocked by this, thanks for keeping updated
1 Like
Hey @sway , just thought I’d let you know that this is now supported through this PR and is available in fuels@0.44.2
.
2 Likes
system
Closed
June 27, 2023, 7:30am
5
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.