Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Doc Drift: Fix a variety of doc issues, primarily around cross-references #561

Merged
merged 14 commits into from
Apr 6, 2020

Conversation

Shadowfiend
Copy link
Contributor

Initiated by #549 (h/t @claveros), the following things should be true:

  • All links should now be correct on both the single-page compile (docs.keep.network/tbtc/) and the multi-page compiles (e.g. docs.keep.network/tbtc/deposits/).
  • There should no longer be numbering-related warnings during asciidoc compilations.
  • The information on the Maker oracle should be more accurate.
  • Liquidation auction start percentage should be correctly filled in for the bonding section.

Fixes #549.
See #554.

Asciidoctor allows relfileprefix to be combined with cross-references
that end in .adoc and a proper anchor to correctly resolve both in a
same-file and in separate-file compilation passes. Leverage this across
the document includes.
Copy link
Member

@mhluongo mhluongo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Questions around the price feed

BTC in custody (with overcollateralization factored in), a BTC value drop
against the bonded asset translates in lower fees for Signers. Note that this
does not create any issue for TBTC reserves, but it makes the system less
attractive to signers looking to earn interest via fees on their assets.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You didn't do this, but we shouldn't call it "interest" as it isn't... maybe just "attractive to signers earning fees on their assets"? Anyway fine to kick, nit

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

operated by MakerDAO. MakerDAO has both ETHUSD and BTCUSD feeds; these are
combined to make a single ETHBTC price.
collateral backs all tBTC signers. For tBTC v1, the feed will be built on a
BTCETH
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the code match this yet?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. PR is #545.

collateral backs all tBTC signers. For tBTC v1, the feed will be built on a
BTCETH
https://developer.makerdao.com/feeds/[https://docs.makerdao.com/smart-contract-modules/oracle-module/oracle-security-module-osm-detailed-documentation]
from MakerDAO, currently operated by MakerDAO.

The minimal price feed design is specified completely by the interface below:

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this interface still accurate?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not, but that’s for another day.

@Shadowfiend
Copy link
Contributor Author

@mhluongo this is ready for another pass!

These were TODOs from some time ago that are still very much worth
introducing for clarity.
These constants, which are all tracked in constants.adoc are important
for cross-referencing against mainnet system constants.
Some of these no longer make sense since the spec has been restructured,
others are left as exercises for the reader.
ECDSA fraud proofs are the only supported types at this point.
Spec-ial Todos: Clean up most remaining spec TODOs
Copy link
Member

@mhluongo mhluongo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yassssss

@mhluongo mhluongo merged commit e23d309 into master Apr 6, 2020
@mhluongo mhluongo deleted the doc-drift branch April 6, 2020 00:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

broken links from documentation
2 participants