-
Notifications
You must be signed in to change notification settings - Fork 229
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
docs: Update destination
Arg Description in ICA transfer
#10983
base: master
Are you sure you want to change the base?
Conversation
Deploying agoric-sdk with
|
Latest commit: |
f675508
|
Status: | ✅ Deploy successful! |
Preview URL: | https://f0269b7f.agoric-sdk.pages.dev |
Branch Preview URL: | https://ms-update-ica-transfer-docs.agoric-sdk.pages.dev |
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 need to think this over...
@@ -193,8 +193,9 @@ export interface OrchestrationAccountCommon { | |||
* Transfer an amount to another account, typically on another chain. | |||
* The promise settles when the transfer is complete. | |||
* @param amount - the amount to transfer. Can be provided as pure data using denoms or as ERTP Amounts. | |||
* @param destination - the account to transfer the amount to. | |||
* @param [opts] - an optional memo to include with the transfer, which could drive custom PFM behavior, and timeout parameters | |||
* @param destination - the account to transfer the amount to. The denom in the destination arg has to be |
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.
oops! the denom is in the amount, not the destination
* @param destination - the account to transfer the amount to. | ||
* @param [opts] - an optional memo to include with the transfer, which could drive custom PFM behavior, and timeout parameters | ||
* @param destination - the account to transfer the amount to. The denom in the destination arg has to be | ||
* registered with `chainHub` via {@link `registerAsset`} API. |
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.
* registered with `chainHub` via {@link `registerAsset`} API. | |
* registered with `chainHub` via {@link `registerAsset`} method. |
* @param destination - the account to transfer the amount to. | ||
* @param [opts] - an optional memo to include with the transfer, which could drive custom PFM behavior, and timeout parameters | ||
* @param destination - the account to transfer the amount to. The denom in the destination arg has to be | ||
* registered with `chainHub` via {@link `registerAsset`} API. |
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.
This link doesn't seem to work.
you might try {@link ChainHub}
, after checking that ChainHub is imported.
Hm. It might not be imported. It's sort of a lower level concept than OrchestrationAccount.
I should think this over a bit.
refs: #9966
Description
Security Considerations
None
Scaling Considerations
None
Documentation Considerations
Documentation for
transfer
should also be updated if necessary.