-
Notifications
You must be signed in to change notification settings - Fork 5
some new features for helpers #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| * @param opts.baseAsset | ||
| * @param opts.quoteAssets | ||
| * @param opts.defaultQuoteAsset | ||
| * @param opts.quoteAssets |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was duplicate at line 14
test/scripts/create_account.js
Outdated
| } | ||
| } | ||
|
|
||
| export async function fundMasterAccount (asset, amount, assetOwner = assetHelper.masterKp) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i guess there is no way to get master id in tests (except of hard coding or getting it from a helper so just in case dropped this helper here)
| } | ||
| } | ||
|
|
||
| export async function constructPayment (fromAccount, toAccount, assetCode, amount) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tryna create configurable payment constructor here. I noticed that up to present days there were no ways to create configurable payment, only hard-coded version for tests was available
| } | ||
| } | ||
|
|
||
| export async function createPaymentFromOpts (opts) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extracting paymentHelper.create() call to use it separately
No description provided.