Skip to content

Commit 552c2f5

Browse files
committed
vstorage ref (SQUASHME / FIXUP)
1 parent ce2017d commit 552c2f5

File tree

1 file changed

+13
-74
lines changed

1 file changed

+13
-74
lines changed

main/reference/vstorage-ref.md

Lines changed: 13 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -160,60 +160,19 @@ The data at this key are the entries of the NameHub. Here we show the object com
160160

161161
`published.agoricNames.oracleBrand` has the well-known oracle brands.
162162

163+
```js
163164
{
164165
ATOM: Object @Alleged: Brand#board03935 {},
165166
USD: Object @Alleged: Brand#board01034 {},
166167
stATOM: Object @Alleged: Brand#board04388 {},
167168
}
169+
```
168170

169171
`published.agoricNames.vbankAsset` shows denoms registered with the vbank.
170172

171173
```js
172174
{
173-
'ibc/295548A78785A1007F232DE286149A6FF512F180AF5657780FC89C009E2C348F': {
174-
brand: Object @Alleged: USDC_axl brand#board03040 {},
175-
denom: 'ibc/295548A78785A1007F232DE286149A6FF512F180AF5657780FC89C009E2C348F',
176-
displayInfo: {
177-
assetKind: 'nat',
178-
decimalPlaces: 6,
179-
},
180-
issuer: Object @Alleged: USDC_axl issuer#board05141 {},
181-
issuerName: 'USDC_axl',
182-
proposedName: 'USD Coin',
183-
},
184-
'ibc/386D09AE31DA7C0C93091BB45D08CB7A0730B1F697CD813F06A5446DCF02EEB2': {
185-
brand: Object @Alleged: USDT_grv brand#board03446 {},
186-
denom: 'ibc/386D09AE31DA7C0C93091BB45D08CB7A0730B1F697CD813F06A5446DCF02EEB2',
187-
displayInfo: {
188-
assetKind: 'nat',
189-
decimalPlaces: 6,
190-
},
191-
issuer: Object @Alleged: USDT_grv issuer#board01547 {},
192-
issuerName: 'USDT_grv',
193-
proposedName: 'Tether USD',
194-
},
195-
'ibc/3914BDEF46F429A26917E4D8D434620EC4817DC6B6E68FB327E190902F1E9242': {
196-
brand: Object @Alleged: DAI_axl brand#board05736 {},
197-
denom: 'ibc/3914BDEF46F429A26917E4D8D434620EC4817DC6B6E68FB327E190902F1E9242',
198-
displayInfo: {
199-
assetKind: 'nat',
200-
decimalPlaces: 18,
201-
},
202-
issuer: Object @Alleged: DAI_axl issuer#board02437 {},
203-
issuerName: 'DAI_axl',
204-
proposedName: 'DAI',
205-
},
206-
'ibc/3D5291C23D776C3AA7A7ABB34C7B023193ECD2BC42EA19D3165B2CF9652117E7': {
207-
brand: Object @Alleged: DAI_grv brand#board03138 {},
208-
denom: 'ibc/3D5291C23D776C3AA7A7ABB34C7B023193ECD2BC42EA19D3165B2CF9652117E7',
209-
displayInfo: {
210-
assetKind: 'nat',
211-
decimalPlaces: 18,
212-
},
213-
issuer: Object @Alleged: DAI_grv issuer#board05039 {},
214-
issuerName: 'DAI_grv',
215-
proposedName: 'DAI',
216-
},
175+
...
217176
'ibc/42225F147137DDEB5FEF0F1D0A92F2AD57557AFA2C4D6F30B21E0D983001C002': {
218177
brand: Object @Alleged: stATOM brand#board00990 {},
219178
denom: 'ibc/42225F147137DDEB5FEF0F1D0A92F2AD57557AFA2C4D6F30B21E0D983001C002',
@@ -225,17 +184,7 @@ The data at this key are the entries of the NameHub. Here we show the object com
225184
issuerName: 'stATOM',
226185
proposedName: 'stATOM',
227186
},
228-
'ibc/6831292903487E58BF9A195FDDC8A2E626B3DF39B88F4E7F41C935CADBAF54AC': {
229-
brand: Object @Alleged: USDC_grv brand#board04542 {},
230-
denom: 'ibc/6831292903487E58BF9A195FDDC8A2E626B3DF39B88F4E7F41C935CADBAF54AC',
231-
displayInfo: {
232-
assetKind: 'nat',
233-
decimalPlaces: 6,
234-
},
235-
issuer: Object @Alleged: USDC_grv issuer#board00443 {},
236-
issuerName: 'USDC_grv',
237-
proposedName: 'USC Coin',
238-
},
187+
...
239188
'ibc/BA313C4A19DFBF943586C0387E6B11286F9E416B4DD27574E6909CABE0E342FA': {
240189
brand: Object @Alleged: ATOM brand#board05557 {},
241190
denom: 'ibc/BA313C4A19DFBF943586C0387E6B11286F9E416B4DD27574E6909CABE0E342FA',
@@ -247,17 +196,7 @@ The data at this key are the entries of the NameHub. Here we show the object com
247196
issuerName: 'ATOM',
248197
proposedName: 'ATOM',
249198
},
250-
'ibc/F2331645B9683116188EF36FC04A809C28BD36B54555E8705A37146D0182F045': {
251-
brand: Object @Alleged: USDT_axl brand#board01744 {},
252-
denom: 'ibc/F2331645B9683116188EF36FC04A809C28BD36B54555E8705A37146D0182F045',
253-
displayInfo: {
254-
assetKind: 'nat',
255-
decimalPlaces: 6,
256-
},
257-
issuer: Object @Alleged: USDT_axl issuer#board06445 {},
258-
issuerName: 'USDT_axl',
259-
proposedName: 'Tether USD',
260-
},
199+
...
261200
ubld: {
262201
brand: Object @Alleged: BLD brand#board0566 {},
263202
denom: 'ubld',
@@ -288,12 +227,8 @@ The data at this key are the entries of the NameHub. Here we show the object com
288227
The keys under `published.boardAux` are board IDs.
289228
Here we show a handful.
290229

291-
```
292-
[
293-
'board00282',
294-
'board0074',
295-
'board01744',
296-
]
230+
```js
231+
['board00282', 'board0074', 'board01744'];
297232
```
298233

299234
The data are auxiliary info about objects in the board;
@@ -320,8 +255,9 @@ for example, displayInfo of brands, including assetKind.
320255
## vstorage: provisionPool
321256

322257
`published.provisionPool.governance` gives current values of governed params.
323-
See also Inter Protocol governance.
258+
See similar data in [Inter Protocol data](https://github.com/Agoric/agoric-sdk/tree/agoric-upgrade-13/packages/inter-protocol#reading-data-off-chain).
324259

260+
```js
325261
{
326262
current: {
327263
Electorate: {
@@ -347,9 +283,11 @@ See also Inter Protocol governance.
347283
},
348284
},
349285
}
286+
```
350287

351288
`published.provisionPool.metrics`
352289

290+
```js
353291
{
354292
totalMintedConverted: {
355293
brand: Object @Alleged: IST brand#board0257 {},
@@ -361,6 +299,7 @@ See also Inter Protocol governance.
361299
},
362300
walletsProvisioned: 11n,
363301
}
302+
```
364303

365304
## vstorage: wallet
366305

@@ -408,7 +347,7 @@ The `.current` child has current wallet status. For example:
408347
}
409348
```
410349

411-
The `published.wallet.${address}` key has wallet last update. For example:
350+
The `published.wallet.${address}` key has wallet's last update. For example:
412351

413352
```js
414353
{

0 commit comments

Comments
 (0)