-
Notifications
You must be signed in to change notification settings - Fork 215
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: Inter Protocol Liquidation Bidding Test Tool #7295
Conversation
|
c29b823
to
4983d7e
Compare
@Mergifyio refresh |
✅ Pull request refreshed |
c0fb26b
to
1200ad5
Compare
@@ -109,8 +112,15 @@ Using the `test` keyring is lower friction, but feel free to use the os keyring: | |||
agd keys add test-acct | |||
``` | |||
|
|||
## Provisioning your account for use with Zoe smart contracts | |||
|
|||
Mainnet |
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 is a testing tool. Use with mainnet is outside the scope.
Please coordinate before pushing to this branch.
I made https://github.com/Agoric/agoric-sdk/tree/bot-bid-cli-doc and put your work there.
|
||
Mainnet | ||
|
||
You’ll need to provision an Agoric Smart Wallet account (offer handler) in order to interact with Zoe contracts. You’ll need acquire 10BLD in order to do this. See[ ‘How to Provisions a Smart Wallet instructions’](https://docs.inter.trade/user-how-to/wallet-usage/create-your-agoric-account-and-smart-wallet.). Once provisioned, you’ll need to hold an IST balance in order to be able to place a bid. |
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.
The deleted period is not very visible in the diff, but it's the most semantically significant change below. The link won't work without the fix.
You’ll need to provision an Agoric Smart Wallet account (offer handler) in order to interact with Zoe contracts. You’ll need acquire 10BLD in order to do this. See[ ‘How to Provisions a Smart Wallet instructions’](https://docs.inter.trade/user-how-to/wallet-usage/create-your-agoric-account-and-smart-wallet.). Once provisioned, you’ll need to hold an IST balance in order to be able to place a bid. | |
You’ll need to provision an Agoric Smart Wallet account (offer handler) in order to interact with Zoe contracts. You’ll need acquire 10BLD in order to do this. See [‘How to Provision a Smart Wallet instructions’](https://docs.inter.trade/user-how-to/wallet-usage/create-your-agoric-account-and-smart-wallet). Once provisioned, you’ll need to hold an IST balance in order to be able to place a bid. |
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.
Note that I reverted the Mainnet stuff.
5cbbfc5
to
d7cd994
Compare
fixup: SKIP_DOWNLOAD=false to install chore: --give amounts include brand names
- add tests for: inter liquidation status, inter vbank list - take test expected output from README - use matching bid id, 3.105 ATOM - spaces in amounts - round to 4 digits - tweak brands: - ATOM board # - include BLD - want -> maxBuy - punt on payouts from bid cancel - use board serializer rather than ad-hoc @qclass stuff
- address TODOs per discussion with product - omit want
|
||
``` | ||
$ inter bid list --from test-acct | ||
{"id":"bid-1680246460034","price":"9.5 IST/ATOM","give":{"Currency":"5 IST"},"result":"Your bid has been accepted"} |
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.
@dckc I disagree - If the example in instructions are different to what I receive in my output, I as a user would be confused/bothered. We know 'maxBuy' appears so it's not accurate as stated.
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.
@dckc Looks good to me. Just an FYI though - I only reviewed the .md file as I don't believe I am a suitable reviewer of the .js files so my review has ignored those.
refs: #6930, #6889
stacked on #7454
Description
This documents a revised design implemented in #7256. Excerpt:
Tasks
Security Considerations
Scaling Considerations
Documentation Considerations
rendered: README-bidding-cli.md
Testing Considerations
Ideally we'd have tests that tell us that this needs maintenance. The cited snapshot tests can help, perhaps.