Skip to content

Commit 7551573

Browse files
rphairKtorZ
andauthored
CIP-0017 | Adjust preamble and structure w.r.t CIP-0001 (cardano-foundation#662)
* first draft remediation of CIP-0017 * Update CIP-0017/README.md * set status Inactive by author decision Co-authored-by: Matthias Benkort <[email protected]> --------- Co-authored-by: Matthias Benkort <[email protected]>
1 parent 0cf4b45 commit 7551573

File tree

1 file changed

+44
-32
lines changed

1 file changed

+44
-32
lines changed

CIP-0017/README.md

+44-32
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,26 @@
11
---
22
CIP: 17
33
Title: Cardano Delegation Portfolio
4-
Authors: Matthias Benkort <[email protected]>
5-
Comments-Summary: A Common format for sharing Cardano delegation portfolios
6-
Comments-URI: https://github.com/cardano-foundation/CIPs/wiki/Comments:CIP-0017
7-
Status: Active
8-
Type: Standards
4+
Status: Inactive (abandoned for lack of interest)
5+
Category: Tools
6+
Authors:
7+
- Matthias Benkort <[email protected]>
8+
Implementors: []
9+
Discussions:
10+
- https://github.com/cardano-foundation/CIPs/pull/82
911
Created: 2020-04-02
1012
License: CC-BY-4.0
1113
---
1214

13-
# Abstract
15+
## Abstract
1416

1517
This document details a common format for sharing Cardano delegation portfolio across various tools and wallets.
1618

17-
# Motivation
19+
## Motivation: why is this CIP necessary?
1820

1921
Stakeholders have indicated the desire to split their stake in various sizes and delegate to n pools from a single wallet/mnemonic. Albeit there are no monetary incentive for users to do this, the desire to drive decentralisation is sufficiently prevalent to justify it. Furthermore, stakeholders want to introduce a certain social element to this activity by sharing their delegation portfolio with other stakeholders. This specification should help to standardize the representation of portfolios across tools for more interoperability.
2022

21-
# Specification
23+
## Specification
2224

2325
### Overview
2426

@@ -32,29 +34,7 @@ For each pool, we demand a `weight` which can capture a certain stake proportion
3234

3335
Portfolios which treat all stake pools equally should use the same weight (e.g. `1`) for each pool.
3436

35-
# Rationale
36-
37-
1. JSON is widely used, widely supported and quite lightweight. Makes for a reasonable choice of data format.
38-
39-
2. Using JSON schema for validation is quite common when dealing with JSON and it's usually sufficiently precise to enable good interoperability.
40-
41-
3. The portfolio should only capture information that are not subject to radical change. That is, stake pools parameters like pledge or fees are excluded since they can be changed fairly easily using on-chain certificate updates.
42-
43-
4. The JSON schema doesn't enforce any `additionalProperties: false` for neither the top-level object definition nor each stake pool objects. This allows for open extension of the objects with custom fields at the discretion of applications implementing this standard. The semantic of well-known properties specified in this document is however fixed.
44-
45-
5. Since the portfolio format isn't _immediately user-facing_, we favor base16 over bech32 for the pool id's encoding for there's better support and tooling for the former.
46-
47-
# Backwards Compatibility
48-
49-
## Adafolio (https://adafolio.com)
50-
51-
The format used by Adafolio share a lot of similarities with the proposed format in this CIP. In order to power its frontend user interface, Adafolio contains however several fields which we consider _too volatile_ and unnecessary to the definition of a portfolio. This doesn't preclude the format used by Adafolio as a valid portfolio format (see also point (4). in the rationale above).
52-
53-
The only point of incompatibility regards the `pool_id` field (in Adafolio) vs the `id` field (in this proposal) which we deem more consistent with regards to other field.
54-
55-
# Reference Implementation(s)
56-
57-
## Examples
37+
### Example
5838

5939
```json
6040
{ "name": "Metal 🤘"
@@ -81,6 +61,38 @@ The only point of incompatibility regards the `pool_id` field (in Adafolio) vs t
8161
}
8262
```
8363

64+
## Rationale: how does this CIP achieve its goals?
65+
66+
1. JSON is widely used, widely supported and quite lightweight. Makes for a reasonable choice of data format.
67+
68+
2. Using JSON schema for validation is quite common when dealing with JSON and it's usually sufficiently precise to enable good interoperability.
69+
70+
3. The portfolio should only capture information that are not subject to radical change. That is, stake pools parameters like pledge or fees are excluded since they can be changed fairly easily using on-chain certificate updates.
71+
72+
4. The JSON schema doesn't enforce any `additionalProperties: false` for neither the top-level object definition nor each stake pool objects. This allows for open extension of the objects with custom fields at the discretion of applications implementing this standard. The semantic of well-known properties specified in this document is however fixed.
73+
74+
5. Since the portfolio format isn't _immediately user-facing_, we favor base16 over bech32 for the pool id's encoding for there's better support and tooling for the former.
75+
76+
### Backwards Compatibility
77+
78+
#### Adafolio
79+
80+
The format used by [Adafolio](https://adafolio.com) share a lot of similarities with the proposed format in this CIP. In order to power its frontend user interface, Adafolio contains however several fields which we consider _too volatile_ and unnecessary to the definition of a portfolio. This doesn't preclude the format used by Adafolio as a valid portfolio format (see also point (4). in the rationale above).
81+
82+
The only point of incompatibility regards the `pool_id` field (in Adafolio) vs the `id` field (in this proposal) which we deem more consistent with regards to other field.
83+
84+
## Path to Active
85+
86+
### Acceptance Criteria
87+
88+
- [ ] At least one pair of applications (wallets, explorers or other tools) together support the following:
89+
- [ ] generation of the specified portfolio file format
90+
- [ ] interpretation and use of the specified portfolio file format
91+
92+
### Implementation Plan
93+
94+
- [ ] Provide a reference implementation and/or parsing library to read and/or write files in this schema.
95+
8496
# Copyright
8597

86-
CC-BY-4.0
98+
This CIP is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4.0/legalcode).

0 commit comments

Comments
 (0)