@@ -72,6 +72,93 @@ Generated by [AVA](https://avajs.dev).
72
72
],
73
73
]
74
74
75
+ ## writes pool metrics to vstorage
76
+
77
+ > Under "published", the "fastUsdc.poolMetrics" node is delegated to FastUSC LiquidityPool exo.
78
+ > The example below illustrates the schema of the data published there.
79
+ >
80
+ > See also board marshalling conventions (_ to appear_ ).
81
+
82
+ [
83
+ [
84
+ 'published.fastUsdc.poolMetrics',
85
+ {
86
+ encumberedBalance: {
87
+ brand: Object @Alleged: USDC brand {},
88
+ value: 0n,
89
+ },
90
+ shareWorth: {
91
+ denominator: {
92
+ brand: Object @Alleged: PoolShares brand {},
93
+ value: 1n,
94
+ },
95
+ numerator: {
96
+ brand: Object @Alleged: USDC brand {},
97
+ value: 1n,
98
+ },
99
+ },
100
+ totalBorrows: {
101
+ brand: Object @Alleged: USDC brand {},
102
+ value: 0n,
103
+ },
104
+ totalContractFees: {
105
+ brand: Object @Alleged: USDC brand {},
106
+ value: 0n,
107
+ },
108
+ totalPoolFees: {
109
+ brand: Object @Alleged: USDC brand {},
110
+ value: 0n,
111
+ },
112
+ totalRepays: {
113
+ brand: Object @Alleged: USDC brand {},
114
+ value: 0n,
115
+ },
116
+ },
117
+ ],
118
+ ]
119
+
120
+ ## writes account addresses to vstorage
121
+
122
+ > Under "published", the "fastUsdc" node is delegated to FastUSDC contract.
123
+ > Note: published.fastUsdc.[ settleAcctAddr] , published.fastUsdc.[ poolAcctAddr] ,
124
+ > and published.fastUsdc.[ intermediateAcctAddr] are published by @agoric/orchestration
125
+ > via 'withOrchestration' and (local|cosmos)-orch-account-kit.js.
126
+ >
127
+ > The example below illustrates the schema of the data published there.
128
+ >
129
+ > See also board marshalling conventions (_ to appear_ ).
130
+
131
+ [
132
+ [
133
+ 'published.fastUsdc',
134
+ {
135
+ poolAccount: 'agoric1fakeLCAAddress',
136
+ settlementAccount: 'agoric1fakeLCAAddress1',
137
+ },
138
+ ],
139
+ [
140
+ 'published.fastUsdc.agoric1fakeLCAAddress',
141
+ {
142
+ body: '#""',
143
+ slots: [],
144
+ },
145
+ ],
146
+ [
147
+ 'published.fastUsdc.agoric1fakeLCAAddress1',
148
+ {
149
+ body: '#""',
150
+ slots: [],
151
+ },
152
+ ],
153
+ [
154
+ 'published.fastUsdc.noble1test',
155
+ {
156
+ body: '#{"localAddress":"/ibc-port/icacontroller-1/ordered/{\\"version\\":\\"ics27-1\\",\\"controllerConnectionId\\":\\"connection-72\\",\\"hostConnectionId\\":\\"connection-40\\",\\"address\\":\\"noble1test\\",\\"encoding\\":\\"proto3\\",\\"txType\\":\\"sdk_multi_msg\\"}/ibc-channel/channel-1","remoteAddress":"/ibc-hop/connection-72/ibc-port/icahost/ordered/{\\"version\\":\\"ics27-1\\",\\"controllerConnectionId\\":\\"connection-72\\",\\"hostConnectionId\\":\\"connection-40\\",\\"address\\":\\"noble1test\\",\\"encoding\\":\\"proto3\\",\\"txType\\":\\"sdk_multi_msg\\"}/ibc-channel/channel-1"}',
157
+ slots: [],
158
+ },
159
+ ],
160
+ ]
161
+
75
162
## makes usdc advance
76
163
77
164
> Under "published", the "fastUsdc.status" node is delegated to the statuses of fast USDC transfers identified by their tx hashes.
0 commit comments