@xyo-network/react-storybook 2.77.0 → 2.77.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.cjs +1 -781
- package/dist/browser/index.cjs.map +1 -1
- package/dist/browser/index.js +1 -758
- package/dist/browser/index.js.map +1 -1
- package/dist/neutral/index.cjs +1 -781
- package/dist/neutral/index.cjs.map +1 -1
- package/dist/neutral/index.js +1 -758
- package/dist/neutral/index.js.map +1 -1
- package/dist/node/index.cjs +1 -805
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.js +1 -758
- package/dist/node/index.js.map +1 -1
- package/package.json +3 -3
package/dist/browser/index.cjs
CHANGED
|
@@ -1,782 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
DefaultSeedPhrase: () => DefaultSeedPhrase,
|
|
24
|
-
DeprecateStory: () => DeprecateStory,
|
|
25
|
-
WithRefDecorator: () => WithRefDecorator,
|
|
26
|
-
payloadDataMissingPairs: () => payloadDataMissingPairs,
|
|
27
|
-
randomizedSampleAddressHistory: () => randomizedSampleAddressHistory,
|
|
28
|
-
sampleAddressHistory: () => sampleAddressHistory,
|
|
29
|
-
sampleBlock: () => sampleBlock,
|
|
30
|
-
sampleBlockWithBoundWitnessPayload: () => sampleBlockWithBoundWitnessPayload,
|
|
31
|
-
sampleBlocknativeGasPricePayload: () => sampleBlocknativeGasPricePayload,
|
|
32
|
-
sampleCoinGeckoPayload: () => sampleCoinGeckoPayload,
|
|
33
|
-
sampleEthGasStationGasPricePayload: () => sampleEthGasStationGasPricePayload,
|
|
34
|
-
sampleEtherchainV1GasPricePayload: () => sampleEtherchainV1GasPricePayload,
|
|
35
|
-
sampleEtherchainV2GasPricePayload: () => sampleEtherchainV2GasPricePayload,
|
|
36
|
-
sampleEthereumGasDivinerPayload: () => sampleEthereumGasDivinerPayload,
|
|
37
|
-
sampleEthereumGasDivinerPayloadMissingFees: () => sampleEthereumGasDivinerPayloadMissingFees,
|
|
38
|
-
sampleEthersGasPricePayload: () => sampleEthersGasPricePayload,
|
|
39
|
-
sampleEtherscanGasPricePayload: () => sampleEtherscanGasPricePayload,
|
|
40
|
-
sampleIdPayload: () => sampleIdPayload,
|
|
41
|
-
samplePayloadFromBuilder: () => samplePayloadFromBuilder,
|
|
42
|
-
sampleSystemInfoBrowserPayload: () => sampleSystemInfoBrowserPayload,
|
|
43
|
-
sampleUniswapPayload: () => sampleUniswapPayload
|
|
44
|
-
});
|
|
45
|
-
module.exports = __toCommonJS(src_exports);
|
|
46
|
-
|
|
47
|
-
// src/defaultSeedPhrase.ts
|
|
48
|
-
var DefaultSeedPhrase = "later puppy sound rebuild rebuild noise ozone amazing hope broccoli crystal grief";
|
|
49
|
-
|
|
50
|
-
// src/DeprecateStory.tsx
|
|
51
|
-
var import_material = require("@mui/material");
|
|
52
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
53
|
-
var DeprecateStory = ({ message }) => {
|
|
54
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_material.Alert, { severity: "error", sx: { marginBottom: "24px" }, children: [
|
|
55
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_material.AlertTitle, { children: "Story has been Deprecated" }),
|
|
56
|
-
message
|
|
57
|
-
] });
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
// src/sampleAddressHistory.ts
|
|
61
|
-
var import_boundwitness_model = require("@xyo-network/boundwitness-model");
|
|
62
|
-
var sampleAddressHistory = [
|
|
63
|
-
{
|
|
64
|
-
$meta: {
|
|
65
|
-
signatures: [
|
|
66
|
-
"186de1122640fc9d6577765e0b0f6822860994a0fbd1f80354963f89eebc3da01d0a68c36d2c6facab89bd777964c0d5b76103eb35b7900cc69bb1b90231117e"
|
|
67
|
-
]
|
|
68
|
-
},
|
|
69
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
70
|
-
payload_hashes: ["97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d"],
|
|
71
|
-
payload_schemas: ["network.xyo.id"],
|
|
72
|
-
previous_hashes: ["8f914f739a96cb8baffaf156724240e4d51ab94cd4a374754c4e8f8281dc4191"],
|
|
73
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
74
|
-
timestamp: 1666830950083
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
$meta: {
|
|
78
|
-
signatures: [
|
|
79
|
-
"35c4aa262694cdf6c72f473e4e2a4b164b35a5f228a6ed1c8345b8a6b7b0d192d6868fc038a09258f2b7016d04157640d7555109102e3c072556f8c4c002543f"
|
|
80
|
-
]
|
|
81
|
-
},
|
|
82
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
83
|
-
payload_hashes: ["b01dd00648fafa4488ff461c812e80e5c657939da8c7d4bb056177e241554449"],
|
|
84
|
-
payload_schemas: ["network.xyo.id"],
|
|
85
|
-
previous_hashes: ["7456e3a653f6b3cac3ee0204cef37152eeb8cfeef3e20a0e177abf7ec36e0236"],
|
|
86
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
87
|
-
timestamp: 1666830946487
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
$meta: {
|
|
91
|
-
signatures: [
|
|
92
|
-
"f273d8a8587ec2c6c9e91416eec66fdd441156f9ce2fb54e3e78e885aa792017e10ea36af44d9453422ffbafd58732a80387ab57c93ae0618b09aa4847f5e457"
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
96
|
-
payload_hashes: ["03be02066ed31dc92ffd371a48026eac5770a8647160704b70e8dca8fc64cb0a"],
|
|
97
|
-
payload_schemas: ["network.xyo.id"],
|
|
98
|
-
previous_hashes: ["053d47a27012548dc0b3bb469e6598c7a48e81d3a552a790b455922cdb0750ba"],
|
|
99
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
100
|
-
timestamp: 1666830867311
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
$meta: {
|
|
104
|
-
signatures: [
|
|
105
|
-
"79960dd5c590a1007bc526729a3ffee3153bb37ace383485ed298b3ba94939fffade54980a02c57119238bd9984d2860b822d29dbb36b04251fab83354b5a7cc"
|
|
106
|
-
]
|
|
107
|
-
},
|
|
108
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
109
|
-
payload_hashes: ["5ebf3c990e08174bcf3987dc94ff0a4ec33b6ba806d3f3ec50e0966395fc1c76"],
|
|
110
|
-
payload_schemas: ["network.xyo.id"],
|
|
111
|
-
previous_hashes: ["9ae219b4d71a5c46321a21cdef08540fafe7e6d51440ba34699883bdaf15e61d"],
|
|
112
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
113
|
-
timestamp: 1666830864908
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
$meta: {
|
|
117
|
-
signatures: [
|
|
118
|
-
"03830c7e9345a80390524543eb4ca097530bafa5d109b91a5a328399fcffe5af3a32b3a66658c045d013cf9b4fd598cafc9374bd0004d0c1bb2224ac812b855a"
|
|
119
|
-
]
|
|
120
|
-
},
|
|
121
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
122
|
-
payload_hashes: ["ce405ae29915ea7b5f62a87c316bf4f46052c7bb0a36e67e621fedb1ec96fec5"],
|
|
123
|
-
payload_schemas: ["network.xyo.id"],
|
|
124
|
-
previous_hashes: ["322e48abf142b99635ea51c73d7d6225c04514348ffd3c37399c39b0e17d4972"],
|
|
125
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
126
|
-
timestamp: 1666830860155
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
$meta: {
|
|
130
|
-
signatures: [
|
|
131
|
-
"2ddd7f65ad5ccdce83318f47040db7f45ef76142d2bb9c549241ac59619bf00a671f1ca5755d4e4b0e59fb8eb11c31e1d26c5d376eb57d8eeee7156469ae770b"
|
|
132
|
-
]
|
|
133
|
-
},
|
|
134
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
135
|
-
payload_hashes: ["84efe9b19a752d3d997cfe5e7c336b1b090669fc0172f649825b2f24c8d82876"],
|
|
136
|
-
payload_schemas: ["network.xyo.id"],
|
|
137
|
-
previous_hashes: [null],
|
|
138
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
139
|
-
timestamp: 1666830779473
|
|
140
|
-
}
|
|
141
|
-
];
|
|
142
|
-
var randomizedSampleAddressHistory = [
|
|
143
|
-
{
|
|
144
|
-
$meta: {
|
|
145
|
-
signatures: [
|
|
146
|
-
"35c4aa262694cdf6c72f473e4e2a4b164b35a5f228a6ed1c8345b8a6b7b0d192d6868fc038a09258f2b7016d04157640d7555109102e3c072556f8c4c002543f"
|
|
147
|
-
]
|
|
148
|
-
},
|
|
149
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
150
|
-
payload_hashes: ["b01dd00648fafa4488ff461c812e80e5c657939da8c7d4bb056177e241554449"],
|
|
151
|
-
payload_schemas: ["network.xyo.id"],
|
|
152
|
-
previous_hashes: ["7456e3a653f6b3cac3ee0204cef37152eeb8cfeef3e20a0e177abf7ec36e0236"],
|
|
153
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
154
|
-
timestamp: 1666830946487
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
$meta: {
|
|
158
|
-
signatures: [
|
|
159
|
-
"79960dd5c590a1007bc526729a3ffee3153bb37ace383485ed298b3ba94939fffade54980a02c57119238bd9984d2860b822d29dbb36b04251fab83354b5a7cc"
|
|
160
|
-
]
|
|
161
|
-
},
|
|
162
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
163
|
-
payload_hashes: ["5ebf3c990e08174bcf3987dc94ff0a4ec33b6ba806d3f3ec50e0966395fc1c76"],
|
|
164
|
-
payload_schemas: ["network.xyo.id"],
|
|
165
|
-
previous_hashes: ["9ae219b4d71a5c46321a21cdef08540fafe7e6d51440ba34699883bdaf15e61d"],
|
|
166
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
167
|
-
timestamp: 1666830864908
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
$meta: {
|
|
171
|
-
signatures: [
|
|
172
|
-
"186de1122640fc9d6577765e0b0f6822860994a0fbd1f80354963f89eebc3da01d0a68c36d2c6facab89bd777964c0d5b76103eb35b7900cc69bb1b90231117e"
|
|
173
|
-
]
|
|
174
|
-
},
|
|
175
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
176
|
-
payload_hashes: ["97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d"],
|
|
177
|
-
payload_schemas: ["network.xyo.id"],
|
|
178
|
-
previous_hashes: ["8f914f739a96cb8baffaf156724240e4d51ab94cd4a374754c4e8f8281dc4191"],
|
|
179
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
180
|
-
timestamp: 1666830950083
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
$meta: {
|
|
184
|
-
signatures: [
|
|
185
|
-
"f273d8a8587ec2c6c9e91416eec66fdd441156f9ce2fb54e3e78e885aa792017e10ea36af44d9453422ffbafd58732a80387ab57c93ae0618b09aa4847f5e457"
|
|
186
|
-
]
|
|
187
|
-
},
|
|
188
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
189
|
-
payload_hashes: ["03be02066ed31dc92ffd371a48026eac5770a8647160704b70e8dca8fc64cb0a"],
|
|
190
|
-
payload_schemas: ["network.xyo.id"],
|
|
191
|
-
previous_hashes: ["053d47a27012548dc0b3bb469e6598c7a48e81d3a552a790b455922cdb0750ba"],
|
|
192
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
193
|
-
timestamp: 1666830867311
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
$meta: {
|
|
197
|
-
signatures: [
|
|
198
|
-
"2ddd7f65ad5ccdce83318f47040db7f45ef76142d2bb9c549241ac59619bf00a671f1ca5755d4e4b0e59fb8eb11c31e1d26c5d376eb57d8eeee7156469ae770b"
|
|
199
|
-
]
|
|
200
|
-
},
|
|
201
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
202
|
-
payload_hashes: ["84efe9b19a752d3d997cfe5e7c336b1b090669fc0172f649825b2f24c8d82876"],
|
|
203
|
-
payload_schemas: ["network.xyo.id"],
|
|
204
|
-
previous_hashes: [null],
|
|
205
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
206
|
-
timestamp: 1666830779473
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
$meta: {
|
|
210
|
-
signatures: [
|
|
211
|
-
"03830c7e9345a80390524543eb4ca097530bafa5d109b91a5a328399fcffe5af3a32b3a66658c045d013cf9b4fd598cafc9374bd0004d0c1bb2224ac812b855a"
|
|
212
|
-
]
|
|
213
|
-
},
|
|
214
|
-
addresses: ["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],
|
|
215
|
-
payload_hashes: ["ce405ae29915ea7b5f62a87c316bf4f46052c7bb0a36e67e621fedb1ec96fec5"],
|
|
216
|
-
payload_schemas: ["network.xyo.id"],
|
|
217
|
-
previous_hashes: ["322e48abf142b99635ea51c73d7d6225c04514348ffd3c37399c39b0e17d4972"],
|
|
218
|
-
schema: import_boundwitness_model.BoundWitnessSchema,
|
|
219
|
-
timestamp: 1666830860155
|
|
220
|
-
}
|
|
221
|
-
];
|
|
222
|
-
|
|
223
|
-
// src/sampleBlock.ts
|
|
224
|
-
var sampleBlock = {
|
|
225
|
-
$meta: {
|
|
226
|
-
signatures: ["d0969a4edd2cbb55f879bb68733a36509dab7516c52e3066fd2e248ee80f98e36bdd56a0711140cfbc55106d4c65fe7ed58df8c03c5d360b34d3c74ea3b6fe1f"]
|
|
227
|
-
},
|
|
228
|
-
addresses: ["9c6df83b84297985d3ccc1f721ba1c2e3608c751", "BF005E04EF223aa18c0fBFF6B41BbB0227c45A48".toLowerCase()],
|
|
229
|
-
payload_hashes: [
|
|
230
|
-
"43df96261884ec99e0d7667120d036065c1f6a88dbb999f30d7c820dc9a37ee5",
|
|
231
|
-
"31b3a835ebad2b6f2d6cc16ec855b41f237116f52b515aac9a8f555fec05fa3e",
|
|
232
|
-
"97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d",
|
|
233
|
-
"be39d7b3b3383e65405236c0c314e4601eb5e98859266fef4e5caf22b16d5706",
|
|
234
|
-
"21ab79e5fae74ccc22d611a42732f9257e7a29a4da744e51ec99feda948e1115",
|
|
235
|
-
"bd5825ee3cefa969ded2dd1a35d9f28a9a0f312703e7f57bf8554ccda24f0b5f"
|
|
236
|
-
],
|
|
237
|
-
payload_schemas: [
|
|
238
|
-
"network.xyo.location",
|
|
239
|
-
"network.xyo.id",
|
|
240
|
-
"network.xyo.id",
|
|
241
|
-
"network.xyo.payload",
|
|
242
|
-
"network.xyo.location.range.answer",
|
|
243
|
-
"network.xyo.location.range"
|
|
244
|
-
],
|
|
245
|
-
previous_hashes: [null],
|
|
246
|
-
schema: "network.xyo.boundwitness",
|
|
247
|
-
timestamp: Date.now()
|
|
248
|
-
};
|
|
249
|
-
var sampleBlockWithBoundWitnessPayload = {
|
|
250
|
-
$meta: {
|
|
251
|
-
signatures: ["d0969a4edd2cbb55f879bb68733a36509dab7516c52e3066fd2e248ee80f98e36bdd56a0711140cfbc55106d4c65fe7ed58df8c03c5d360b34d3c74ea3b6fe1f"]
|
|
252
|
-
},
|
|
253
|
-
addresses: ["9c6df83b84297985d3ccc1f721ba1c2e3608c751", "BF005E04EF223aa18c0fBFF6B41BbB0227c45A48".toLowerCase()],
|
|
254
|
-
payload_hashes: [
|
|
255
|
-
"43df96261884ec99e0d7667120d036065c1f6a88dbb999f30d7c820dc9a37ee5",
|
|
256
|
-
"31b3a835ebad2b6f2d6cc16ec855b41f237116f52b515aac9a8f555fec05fa3e",
|
|
257
|
-
"97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d",
|
|
258
|
-
"be39d7b3b3383e65405236c0c314e4601eb5e98859266fef4e5caf22b16d5706",
|
|
259
|
-
"21ab79e5fae74ccc22d611a42732f9257e7a29a4da744e51ec99feda948e1115",
|
|
260
|
-
"bd5825ee3cefa969ded2dd1a35d9f28a9a0f312703e7f57bf8554ccda24f0b5f"
|
|
261
|
-
],
|
|
262
|
-
payload_schemas: [
|
|
263
|
-
"network.xyo.boundwitness",
|
|
264
|
-
"network.xyo.id",
|
|
265
|
-
"network.xyo.id",
|
|
266
|
-
"network.xyo.payload",
|
|
267
|
-
"network.xyo.location.range.answer",
|
|
268
|
-
"network.xyo.location.range"
|
|
269
|
-
],
|
|
270
|
-
previous_hashes: [null],
|
|
271
|
-
schema: "network.xyo.boundwitness",
|
|
272
|
-
timestamp: Date.now()
|
|
273
|
-
};
|
|
274
|
-
|
|
275
|
-
// src/sampleCoinGeckoPayload.ts
|
|
276
|
-
var sampleCoinGeckoPayload = {
|
|
277
|
-
assets: {
|
|
278
|
-
ada: {
|
|
279
|
-
btc: 2121e-8,
|
|
280
|
-
eth: 28602e-8,
|
|
281
|
-
eur: 0.455045,
|
|
282
|
-
usd: 0.451912
|
|
283
|
-
},
|
|
284
|
-
btc: {
|
|
285
|
-
btc: 1,
|
|
286
|
-
eth: 13.480925,
|
|
287
|
-
eur: 21444,
|
|
288
|
-
usd: 21297
|
|
289
|
-
},
|
|
290
|
-
busd: {
|
|
291
|
-
btc: 4691e-8,
|
|
292
|
-
eth: 63254e-8,
|
|
293
|
-
eur: 1.006,
|
|
294
|
-
usd: 0.999271
|
|
295
|
-
},
|
|
296
|
-
doge: {
|
|
297
|
-
btc: 315e-8,
|
|
298
|
-
eth: 4251e-8,
|
|
299
|
-
eur: 0.067639,
|
|
300
|
-
usd: 0.067173
|
|
301
|
-
},
|
|
302
|
-
dot: {
|
|
303
|
-
btc: 33957e-8,
|
|
304
|
-
eth: 457909e-8,
|
|
305
|
-
eur: 7.28,
|
|
306
|
-
usd: 7.23
|
|
307
|
-
},
|
|
308
|
-
eth: {
|
|
309
|
-
btc: 0.07416836,
|
|
310
|
-
eth: 1,
|
|
311
|
-
eur: 1590.95,
|
|
312
|
-
usd: 1580
|
|
313
|
-
},
|
|
314
|
-
sol: {
|
|
315
|
-
btc: 162396e-8,
|
|
316
|
-
eth: 0.02189873,
|
|
317
|
-
eur: 34.83,
|
|
318
|
-
usd: 34.59
|
|
319
|
-
},
|
|
320
|
-
usdc: {
|
|
321
|
-
btc: 4691e-8,
|
|
322
|
-
eth: 63259e-8,
|
|
323
|
-
eur: 1.006,
|
|
324
|
-
usd: 0.999341
|
|
325
|
-
},
|
|
326
|
-
usdt: {
|
|
327
|
-
btc: 4697e-8,
|
|
328
|
-
eth: 63328e-8,
|
|
329
|
-
eur: 1.008,
|
|
330
|
-
usd: 1.001
|
|
331
|
-
},
|
|
332
|
-
wbtc: {
|
|
333
|
-
btc: 0.99985708,
|
|
334
|
-
eth: 13.482839,
|
|
335
|
-
eur: 21447,
|
|
336
|
-
usd: 21300
|
|
337
|
-
},
|
|
338
|
-
xyo: {
|
|
339
|
-
btc: 406347e-12,
|
|
340
|
-
eth: 548e-8,
|
|
341
|
-
eur: 871642e-8,
|
|
342
|
-
usd: 86564e-7
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
schema: "network.xyo.crypto.market.coingecko",
|
|
346
|
-
timestamp: 1661188759757
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
// src/sampleEthereumGasDivinerPayload.ts
|
|
350
|
-
var sampleEthereumGasDivinerPayload = {
|
|
351
|
-
baseFee: 13.3646505198,
|
|
352
|
-
feePerGas: {
|
|
353
|
-
high: 17.3060964302,
|
|
354
|
-
low: 12.155000000000001,
|
|
355
|
-
medium: 12.5625,
|
|
356
|
-
veryHigh: 16.5462485885
|
|
357
|
-
},
|
|
358
|
-
priorityFeePerGas: {
|
|
359
|
-
high: 1.075,
|
|
360
|
-
low: 0.7466666666666667,
|
|
361
|
-
medium: 0.8566666666666668,
|
|
362
|
-
veryHigh: 1.2766666666666666
|
|
363
|
-
},
|
|
364
|
-
schema: "network.xyo.blockchain.ethereum.gas",
|
|
365
|
-
timestamp: 1669819808305
|
|
366
|
-
};
|
|
367
|
-
var sampleEthereumGasDivinerPayloadMissingFees = {
|
|
368
|
-
feePerGas: {},
|
|
369
|
-
priorityFeePerGas: {},
|
|
370
|
-
schema: "network.xyo.blockchain.ethereum.gas",
|
|
371
|
-
timestamp: 1659071465718
|
|
372
|
-
};
|
|
373
|
-
|
|
374
|
-
// src/sampleGasPricePayloads/blocknative.ts
|
|
375
|
-
var sampleBlocknativeGasPricePayload = {
|
|
376
|
-
blockPrices: [
|
|
377
|
-
{
|
|
378
|
-
baseFeePerGas: 26.32847478,
|
|
379
|
-
blockNumber: 16134624,
|
|
380
|
-
estimatedPrices: [
|
|
381
|
-
{
|
|
382
|
-
confidence: 99,
|
|
383
|
-
maxFeePerGas: 41.86,
|
|
384
|
-
maxPriorityFeePerGas: 1.18,
|
|
385
|
-
price: 27
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
confidence: 95,
|
|
389
|
-
maxFeePerGas: 41.54,
|
|
390
|
-
maxPriorityFeePerGas: 0.86,
|
|
391
|
-
price: 27
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
confidence: 90,
|
|
395
|
-
maxFeePerGas: 41.15,
|
|
396
|
-
maxPriorityFeePerGas: 0.47,
|
|
397
|
-
price: 26
|
|
398
|
-
},
|
|
399
|
-
{
|
|
400
|
-
confidence: 80,
|
|
401
|
-
maxFeePerGas: 41,
|
|
402
|
-
maxPriorityFeePerGas: 0.32,
|
|
403
|
-
price: 26
|
|
404
|
-
},
|
|
405
|
-
{
|
|
406
|
-
confidence: 70,
|
|
407
|
-
maxFeePerGas: 40.93,
|
|
408
|
-
maxPriorityFeePerGas: 0.25,
|
|
409
|
-
price: 26
|
|
410
|
-
}
|
|
411
|
-
],
|
|
412
|
-
estimatedTransactionCount: 186
|
|
413
|
-
}
|
|
414
|
-
],
|
|
415
|
-
currentBlockNumber: 16134623,
|
|
416
|
-
estimatedBaseFees: [
|
|
417
|
-
{
|
|
418
|
-
"pending+1": [
|
|
419
|
-
{
|
|
420
|
-
baseFee: 29.62,
|
|
421
|
-
confidence: 99
|
|
422
|
-
}
|
|
423
|
-
]
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"pending+2": [
|
|
427
|
-
{
|
|
428
|
-
baseFee: 33.33,
|
|
429
|
-
confidence: 99
|
|
430
|
-
}
|
|
431
|
-
]
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
"pending+3": [
|
|
435
|
-
{
|
|
436
|
-
baseFee: 37.4,
|
|
437
|
-
confidence: 99
|
|
438
|
-
}
|
|
439
|
-
]
|
|
440
|
-
},
|
|
441
|
-
{
|
|
442
|
-
"pending+4": [
|
|
443
|
-
{
|
|
444
|
-
baseFee: 39.26,
|
|
445
|
-
confidence: 99
|
|
446
|
-
}
|
|
447
|
-
]
|
|
448
|
-
},
|
|
449
|
-
{
|
|
450
|
-
"pending+5": [
|
|
451
|
-
{
|
|
452
|
-
baseFee: 40.68,
|
|
453
|
-
confidence: 99
|
|
454
|
-
}
|
|
455
|
-
]
|
|
456
|
-
}
|
|
457
|
-
],
|
|
458
|
-
maxPrice: 64,
|
|
459
|
-
msSinceLastBlock: 9645,
|
|
460
|
-
network: "main",
|
|
461
|
-
schema: "network.xyo.blockchain.ethereum.gas.blocknative",
|
|
462
|
-
system: "ethereum",
|
|
463
|
-
timestamp: 1670437800246,
|
|
464
|
-
unit: "gwei"
|
|
465
|
-
};
|
|
466
|
-
|
|
467
|
-
// src/sampleGasPricePayloads/etherchainV1.ts
|
|
468
|
-
var sampleEtherchainV1GasPricePayload = {
|
|
469
|
-
currentBaseFee: 28.3,
|
|
470
|
-
fast: 0.9,
|
|
471
|
-
fastest: 1.5,
|
|
472
|
-
recommendedBaseFee: 57.5,
|
|
473
|
-
safeLow: 0.2,
|
|
474
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v1",
|
|
475
|
-
standard: 0.4,
|
|
476
|
-
timestamp: 1670437800313
|
|
477
|
-
};
|
|
478
|
-
|
|
479
|
-
// src/sampleGasPricePayloads/etherchainV2.ts
|
|
480
|
-
var sampleEtherchainV2GasPricePayload = {
|
|
481
|
-
code: 200,
|
|
482
|
-
data: {
|
|
483
|
-
fast: 26423463713,
|
|
484
|
-
priceUSD: 1229.43,
|
|
485
|
-
rapid: 37143856713,
|
|
486
|
-
slow: 13e9,
|
|
487
|
-
standard: 21366997291,
|
|
488
|
-
timestamp: 1670437795342
|
|
489
|
-
},
|
|
490
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherchain.v2",
|
|
491
|
-
timestamp: 1670437800338
|
|
492
|
-
};
|
|
493
|
-
|
|
494
|
-
// src/sampleGasPricePayloads/ethers.ts
|
|
495
|
-
var sampleEthersGasPricePayload = {
|
|
496
|
-
gasPrice: 26770943129,
|
|
497
|
-
lastBaseFeePerGas: 26494335502,
|
|
498
|
-
maxFeePerGas: 54488671004,
|
|
499
|
-
maxPriorityFeePerGas: 15e8,
|
|
500
|
-
schema: "network.xyo.blockchain.ethereum.gas.ethers",
|
|
501
|
-
timestamp: 1670437800345
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
// src/sampleGasPricePayloads/etherscan.ts
|
|
505
|
-
var sampleEtherscanGasPricePayload = {
|
|
506
|
-
message: "OK",
|
|
507
|
-
result: {
|
|
508
|
-
FastGasPrice: "35",
|
|
509
|
-
LastBlock: "16134573",
|
|
510
|
-
ProposeGasPrice: "35",
|
|
511
|
-
SafeGasPrice: "34",
|
|
512
|
-
gasUsedRatio: "0.4491729,0.440816333333333,0.480461266666667,0.373305033333333,0.322907566666667",
|
|
513
|
-
suggestBaseFee: "33.952097068"
|
|
514
|
-
},
|
|
515
|
-
schema: "network.xyo.blockchain.ethereum.gas.etherscan",
|
|
516
|
-
status: "1",
|
|
517
|
-
timestamp: 1670437200510
|
|
518
|
-
};
|
|
519
|
-
|
|
520
|
-
// src/sampleGasPricePayloads/ethGasStation.ts
|
|
521
|
-
var sampleEthGasStationGasPricePayload = {
|
|
522
|
-
baseFee: 37,
|
|
523
|
-
blockNumber: 16134572,
|
|
524
|
-
blockTime: 11.88,
|
|
525
|
-
gasPrice: {
|
|
526
|
-
fast: 84,
|
|
527
|
-
instant: 97,
|
|
528
|
-
standard: 53
|
|
529
|
-
},
|
|
530
|
-
nextBaseFee: 37,
|
|
531
|
-
priorityFee: {
|
|
532
|
-
fast: 5,
|
|
533
|
-
instant: 14,
|
|
534
|
-
standard: 2
|
|
535
|
-
},
|
|
536
|
-
schema: "network.xyo.blockchain.ethereum.gas.ethgasstation",
|
|
537
|
-
timestamp: 1670437200687
|
|
538
|
-
};
|
|
539
|
-
|
|
540
|
-
// src/samplePayload.ts
|
|
541
|
-
var samplePayloadFromBuilder = {
|
|
542
|
-
...{ schema: "network.xyo.temp", test: "hello" },
|
|
543
|
-
_archive: "temp"
|
|
544
|
-
};
|
|
545
|
-
var sampleIdPayload = {
|
|
546
|
-
salt: "81b2372a-b4f0-4ab5-8642-c4e6de46a1cf",
|
|
547
|
-
schema: "network.xyo.id"
|
|
548
|
-
};
|
|
549
|
-
var sampleSystemInfoBrowserPayload = {
|
|
550
|
-
bowser: {
|
|
551
|
-
browser: {
|
|
552
|
-
name: "Chrome",
|
|
553
|
-
version: "104.0.0.0"
|
|
554
|
-
},
|
|
555
|
-
engine: {
|
|
556
|
-
name: "Blink"
|
|
557
|
-
},
|
|
558
|
-
os: {
|
|
559
|
-
name: "Windows",
|
|
560
|
-
version: "NT 10.0",
|
|
561
|
-
versionName: "10"
|
|
562
|
-
},
|
|
563
|
-
platform: {
|
|
564
|
-
type: "desktop"
|
|
565
|
-
}
|
|
566
|
-
},
|
|
567
|
-
schema: "network.xyo.system.info.browser"
|
|
568
|
-
};
|
|
569
|
-
|
|
570
|
-
// src/sampleUniswapPayload.ts
|
|
571
|
-
var sampleUniswapPayload = {
|
|
572
|
-
pairs: [
|
|
573
|
-
{
|
|
574
|
-
tokens: [
|
|
575
|
-
{
|
|
576
|
-
address: "0x55296f69f40Ea6d20E478533C15A6B08B654E758",
|
|
577
|
-
symbol: "xyo",
|
|
578
|
-
value: 688928e-11
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
582
|
-
symbol: "weth",
|
|
583
|
-
value: 145153
|
|
584
|
-
}
|
|
585
|
-
]
|
|
586
|
-
},
|
|
587
|
-
{
|
|
588
|
-
tokens: [
|
|
589
|
-
{
|
|
590
|
-
address: "0x55296f69f40Ea6d20E478533C15A6B08B654E758",
|
|
591
|
-
symbol: "xyo",
|
|
592
|
-
value: 0.0119766
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
address: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
|
|
596
|
-
symbol: "usdt",
|
|
597
|
-
value: 83.496
|
|
598
|
-
}
|
|
599
|
-
]
|
|
600
|
-
},
|
|
601
|
-
{
|
|
602
|
-
tokens: [
|
|
603
|
-
{
|
|
604
|
-
address: "0x55296f69f40Ea6d20E478533C15A6B08B654E758",
|
|
605
|
-
symbol: "xyo",
|
|
606
|
-
value: 0.0119815
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
address: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
|
|
610
|
-
symbol: "dai",
|
|
611
|
-
value: 83.4619
|
|
612
|
-
}
|
|
613
|
-
]
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
tokens: [
|
|
617
|
-
{
|
|
618
|
-
address: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
|
|
619
|
-
symbol: "wbtc",
|
|
620
|
-
value: 1985210
|
|
621
|
-
},
|
|
622
|
-
{
|
|
623
|
-
address: "0x55296f69f40Ea6d20E478533C15A6B08B654E758",
|
|
624
|
-
symbol: "xyo",
|
|
625
|
-
value: 503725e-12
|
|
626
|
-
}
|
|
627
|
-
]
|
|
628
|
-
},
|
|
629
|
-
{
|
|
630
|
-
tokens: [
|
|
631
|
-
{
|
|
632
|
-
address: "0x514910771AF9Ca656af840dff83E8264EcF986CA",
|
|
633
|
-
symbol: "link",
|
|
634
|
-
value: 632.648
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
address: "0x55296f69f40Ea6d20E478533C15A6B08B654E758",
|
|
638
|
-
symbol: "xyo",
|
|
639
|
-
value: 158066e-8
|
|
640
|
-
}
|
|
641
|
-
]
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
tokens: [
|
|
645
|
-
{
|
|
646
|
-
address: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
|
|
647
|
-
symbol: "wbtc",
|
|
648
|
-
value: 13.8399
|
|
649
|
-
},
|
|
650
|
-
{
|
|
651
|
-
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
652
|
-
symbol: "weth",
|
|
653
|
-
value: 0.072255
|
|
654
|
-
}
|
|
655
|
-
]
|
|
656
|
-
},
|
|
657
|
-
{
|
|
658
|
-
tokens: [
|
|
659
|
-
{
|
|
660
|
-
address: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
|
|
661
|
-
symbol: "dai",
|
|
662
|
-
value: 1.00004
|
|
663
|
-
},
|
|
664
|
-
{
|
|
665
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
666
|
-
symbol: "usdc",
|
|
667
|
-
value: 0.999964
|
|
668
|
-
}
|
|
669
|
-
]
|
|
670
|
-
},
|
|
671
|
-
{
|
|
672
|
-
tokens: [
|
|
673
|
-
{
|
|
674
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
675
|
-
symbol: "usdc",
|
|
676
|
-
value: 575766e-9
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
680
|
-
symbol: "weth",
|
|
681
|
-
value: 1736.82
|
|
682
|
-
}
|
|
683
|
-
]
|
|
684
|
-
},
|
|
685
|
-
{
|
|
686
|
-
tokens: [
|
|
687
|
-
{
|
|
688
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
689
|
-
symbol: "usdc",
|
|
690
|
-
value: 577657e-9
|
|
691
|
-
},
|
|
692
|
-
{
|
|
693
|
-
address: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
|
|
694
|
-
symbol: "weth",
|
|
695
|
-
value: 1731.13
|
|
696
|
-
}
|
|
697
|
-
]
|
|
698
|
-
},
|
|
699
|
-
{
|
|
700
|
-
tokens: [
|
|
701
|
-
{
|
|
702
|
-
address: "0x6B175474E89094C44Da98b954EedeAC495271d0F",
|
|
703
|
-
symbol: "dai",
|
|
704
|
-
value: 1.00002
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
708
|
-
symbol: "usdc",
|
|
709
|
-
value: 0.999983
|
|
710
|
-
}
|
|
711
|
-
]
|
|
712
|
-
},
|
|
713
|
-
{
|
|
714
|
-
tokens: [
|
|
715
|
-
{
|
|
716
|
-
address: "0x853d955aCEf822Db058eb8505911ED77F175b99e",
|
|
717
|
-
symbol: "frax",
|
|
718
|
-
value: 0.999829
|
|
719
|
-
},
|
|
720
|
-
{
|
|
721
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
722
|
-
symbol: "usdc",
|
|
723
|
-
value: 1.00017
|
|
724
|
-
}
|
|
725
|
-
]
|
|
726
|
-
},
|
|
727
|
-
{
|
|
728
|
-
tokens: [
|
|
729
|
-
{
|
|
730
|
-
address: "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",
|
|
731
|
-
symbol: "wbtc",
|
|
732
|
-
value: 23967.5
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
736
|
-
symbol: "usdc",
|
|
737
|
-
value: 417232e-10
|
|
738
|
-
}
|
|
739
|
-
]
|
|
740
|
-
},
|
|
741
|
-
{
|
|
742
|
-
tokens: [
|
|
743
|
-
{
|
|
744
|
-
address: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
|
|
745
|
-
symbol: "usdc",
|
|
746
|
-
value: 0.999756
|
|
747
|
-
},
|
|
748
|
-
{
|
|
749
|
-
address: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
|
|
750
|
-
symbol: "usdt",
|
|
751
|
-
value: 1.00024
|
|
752
|
-
}
|
|
753
|
-
]
|
|
754
|
-
}
|
|
755
|
-
],
|
|
756
|
-
schema: "network.xyo.crypto.market.uniswap",
|
|
757
|
-
timestamp: 1659071465718
|
|
758
|
-
};
|
|
759
|
-
var payloadDataMissingPairs = {
|
|
760
|
-
pairs: [],
|
|
761
|
-
schema: "network.xyo.crypto.market.uniswap",
|
|
762
|
-
timestamp: 1659071465718
|
|
763
|
-
};
|
|
764
|
-
|
|
765
|
-
// src/WithRefDecorator.tsx
|
|
766
|
-
var import_material2 = require("@mui/material");
|
|
767
|
-
var import_react = require("react");
|
|
768
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
769
|
-
var WithRefDecorator = (Story, args) => {
|
|
770
|
-
const ref = (0, import_react.useRef)(null);
|
|
771
|
-
const onClick = () => {
|
|
772
|
-
if (ref.current) {
|
|
773
|
-
ref.current.style.color = "green";
|
|
774
|
-
}
|
|
775
|
-
};
|
|
776
|
-
args.args.ref = ref;
|
|
777
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_jsx_runtime2.Fragment, { children: [
|
|
778
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_material2.Button, { onClick, variant: "contained", children: "Change to green" }),
|
|
779
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Story, { ...args })
|
|
780
|
-
] });
|
|
781
|
-
};
|
|
1
|
+
"use strict";var r=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var p=(s,a)=>{for(var c in a)r(s,c,{get:a[c],enumerable:!0})},h=(s,a,c,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let b of i(a))!l.call(s,b)&&b!==c&&r(s,b,{get:()=>a[b],enumerable:!(o=m(a,b))||o.enumerable});return s};var y=s=>h(r({},"__esModule",{value:!0}),s);var R={};p(R,{DefaultSeedPhrase:()=>u,DeprecateStory:()=>x,WithRefDecorator:()=>N,payloadDataMissingPairs:()=>H,randomizedSampleAddressHistory:()=>w,sampleAddressHistory:()=>k,sampleBlock:()=>F,sampleBlockWithBoundWitnessPayload:()=>B,sampleBlocknativeGasPricePayload:()=>v,sampleCoinGeckoPayload:()=>P,sampleEthGasStationGasPricePayload:()=>$,sampleEtherchainV1GasPricePayload:()=>C,sampleEtherchainV2GasPricePayload:()=>A,sampleEthereumGasDivinerPayload:()=>E,sampleEthereumGasDivinerPayloadMissingFees:()=>g,sampleEthersGasPricePayload:()=>D,sampleEtherscanGasPricePayload:()=>G,sampleIdPayload:()=>S,samplePayloadFromBuilder:()=>W,sampleSystemInfoBrowserPayload:()=>T,sampleUniswapPayload:()=>L});module.exports=y(R);var u="later puppy sound rebuild rebuild noise ozone amazing hope broccoli crystal grief";var t=require("@mui/material"),f=require("react/jsx-runtime"),x=({message:s})=>(0,f.jsxs)(t.Alert,{severity:"error",sx:{marginBottom:"24px"},children:[(0,f.jsx)(t.AlertTitle,{children:"Story has been Deprecated"}),s]});var e=require("@xyo-network/boundwitness-model"),k=[{$meta:{signatures:["186de1122640fc9d6577765e0b0f6822860994a0fbd1f80354963f89eebc3da01d0a68c36d2c6facab89bd777964c0d5b76103eb35b7900cc69bb1b90231117e"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d"],payload_schemas:["network.xyo.id"],previous_hashes:["8f914f739a96cb8baffaf156724240e4d51ab94cd4a374754c4e8f8281dc4191"],schema:e.BoundWitnessSchema,timestamp:1666830950083},{$meta:{signatures:["35c4aa262694cdf6c72f473e4e2a4b164b35a5f228a6ed1c8345b8a6b7b0d192d6868fc038a09258f2b7016d04157640d7555109102e3c072556f8c4c002543f"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["b01dd00648fafa4488ff461c812e80e5c657939da8c7d4bb056177e241554449"],payload_schemas:["network.xyo.id"],previous_hashes:["7456e3a653f6b3cac3ee0204cef37152eeb8cfeef3e20a0e177abf7ec36e0236"],schema:e.BoundWitnessSchema,timestamp:1666830946487},{$meta:{signatures:["f273d8a8587ec2c6c9e91416eec66fdd441156f9ce2fb54e3e78e885aa792017e10ea36af44d9453422ffbafd58732a80387ab57c93ae0618b09aa4847f5e457"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["03be02066ed31dc92ffd371a48026eac5770a8647160704b70e8dca8fc64cb0a"],payload_schemas:["network.xyo.id"],previous_hashes:["053d47a27012548dc0b3bb469e6598c7a48e81d3a552a790b455922cdb0750ba"],schema:e.BoundWitnessSchema,timestamp:1666830867311},{$meta:{signatures:["79960dd5c590a1007bc526729a3ffee3153bb37ace383485ed298b3ba94939fffade54980a02c57119238bd9984d2860b822d29dbb36b04251fab83354b5a7cc"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["5ebf3c990e08174bcf3987dc94ff0a4ec33b6ba806d3f3ec50e0966395fc1c76"],payload_schemas:["network.xyo.id"],previous_hashes:["9ae219b4d71a5c46321a21cdef08540fafe7e6d51440ba34699883bdaf15e61d"],schema:e.BoundWitnessSchema,timestamp:1666830864908},{$meta:{signatures:["03830c7e9345a80390524543eb4ca097530bafa5d109b91a5a328399fcffe5af3a32b3a66658c045d013cf9b4fd598cafc9374bd0004d0c1bb2224ac812b855a"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["ce405ae29915ea7b5f62a87c316bf4f46052c7bb0a36e67e621fedb1ec96fec5"],payload_schemas:["network.xyo.id"],previous_hashes:["322e48abf142b99635ea51c73d7d6225c04514348ffd3c37399c39b0e17d4972"],schema:e.BoundWitnessSchema,timestamp:1666830860155},{$meta:{signatures:["2ddd7f65ad5ccdce83318f47040db7f45ef76142d2bb9c549241ac59619bf00a671f1ca5755d4e4b0e59fb8eb11c31e1d26c5d376eb57d8eeee7156469ae770b"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["84efe9b19a752d3d997cfe5e7c336b1b090669fc0172f649825b2f24c8d82876"],payload_schemas:["network.xyo.id"],previous_hashes:[null],schema:e.BoundWitnessSchema,timestamp:1666830779473}],w=[{$meta:{signatures:["35c4aa262694cdf6c72f473e4e2a4b164b35a5f228a6ed1c8345b8a6b7b0d192d6868fc038a09258f2b7016d04157640d7555109102e3c072556f8c4c002543f"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["b01dd00648fafa4488ff461c812e80e5c657939da8c7d4bb056177e241554449"],payload_schemas:["network.xyo.id"],previous_hashes:["7456e3a653f6b3cac3ee0204cef37152eeb8cfeef3e20a0e177abf7ec36e0236"],schema:e.BoundWitnessSchema,timestamp:1666830946487},{$meta:{signatures:["79960dd5c590a1007bc526729a3ffee3153bb37ace383485ed298b3ba94939fffade54980a02c57119238bd9984d2860b822d29dbb36b04251fab83354b5a7cc"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["5ebf3c990e08174bcf3987dc94ff0a4ec33b6ba806d3f3ec50e0966395fc1c76"],payload_schemas:["network.xyo.id"],previous_hashes:["9ae219b4d71a5c46321a21cdef08540fafe7e6d51440ba34699883bdaf15e61d"],schema:e.BoundWitnessSchema,timestamp:1666830864908},{$meta:{signatures:["186de1122640fc9d6577765e0b0f6822860994a0fbd1f80354963f89eebc3da01d0a68c36d2c6facab89bd777964c0d5b76103eb35b7900cc69bb1b90231117e"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d"],payload_schemas:["network.xyo.id"],previous_hashes:["8f914f739a96cb8baffaf156724240e4d51ab94cd4a374754c4e8f8281dc4191"],schema:e.BoundWitnessSchema,timestamp:1666830950083},{$meta:{signatures:["f273d8a8587ec2c6c9e91416eec66fdd441156f9ce2fb54e3e78e885aa792017e10ea36af44d9453422ffbafd58732a80387ab57c93ae0618b09aa4847f5e457"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["03be02066ed31dc92ffd371a48026eac5770a8647160704b70e8dca8fc64cb0a"],payload_schemas:["network.xyo.id"],previous_hashes:["053d47a27012548dc0b3bb469e6598c7a48e81d3a552a790b455922cdb0750ba"],schema:e.BoundWitnessSchema,timestamp:1666830867311},{$meta:{signatures:["2ddd7f65ad5ccdce83318f47040db7f45ef76142d2bb9c549241ac59619bf00a671f1ca5755d4e4b0e59fb8eb11c31e1d26c5d376eb57d8eeee7156469ae770b"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["84efe9b19a752d3d997cfe5e7c336b1b090669fc0172f649825b2f24c8d82876"],payload_schemas:["network.xyo.id"],previous_hashes:[null],schema:e.BoundWitnessSchema,timestamp:1666830779473},{$meta:{signatures:["03830c7e9345a80390524543eb4ca097530bafa5d109b91a5a328399fcffe5af3a32b3a66658c045d013cf9b4fd598cafc9374bd0004d0c1bb2224ac812b855a"]},addresses:["fc0f8a536fe657ebbfa7a3b81bee6053c73debec"],payload_hashes:["ce405ae29915ea7b5f62a87c316bf4f46052c7bb0a36e67e621fedb1ec96fec5"],payload_schemas:["network.xyo.id"],previous_hashes:["322e48abf142b99635ea51c73d7d6225c04514348ffd3c37399c39b0e17d4972"],schema:e.BoundWitnessSchema,timestamp:1666830860155}];var F={$meta:{signatures:["d0969a4edd2cbb55f879bb68733a36509dab7516c52e3066fd2e248ee80f98e36bdd56a0711140cfbc55106d4c65fe7ed58df8c03c5d360b34d3c74ea3b6fe1f"]},addresses:["9c6df83b84297985d3ccc1f721ba1c2e3608c751","BF005E04EF223aa18c0fBFF6B41BbB0227c45A48".toLowerCase()],payload_hashes:["43df96261884ec99e0d7667120d036065c1f6a88dbb999f30d7c820dc9a37ee5","31b3a835ebad2b6f2d6cc16ec855b41f237116f52b515aac9a8f555fec05fa3e","97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d","be39d7b3b3383e65405236c0c314e4601eb5e98859266fef4e5caf22b16d5706","21ab79e5fae74ccc22d611a42732f9257e7a29a4da744e51ec99feda948e1115","bd5825ee3cefa969ded2dd1a35d9f28a9a0f312703e7f57bf8554ccda24f0b5f"],payload_schemas:["network.xyo.location","network.xyo.id","network.xyo.id","network.xyo.payload","network.xyo.location.range.answer","network.xyo.location.range"],previous_hashes:[null],schema:"network.xyo.boundwitness",timestamp:Date.now()},B={$meta:{signatures:["d0969a4edd2cbb55f879bb68733a36509dab7516c52e3066fd2e248ee80f98e36bdd56a0711140cfbc55106d4c65fe7ed58df8c03c5d360b34d3c74ea3b6fe1f"]},addresses:["9c6df83b84297985d3ccc1f721ba1c2e3608c751","BF005E04EF223aa18c0fBFF6B41BbB0227c45A48".toLowerCase()],payload_hashes:["43df96261884ec99e0d7667120d036065c1f6a88dbb999f30d7c820dc9a37ee5","31b3a835ebad2b6f2d6cc16ec855b41f237116f52b515aac9a8f555fec05fa3e","97e693d0eb86eec1ca28f2bb0c77ddaae821fd0a9adc51c1521cdd754e2e207d","be39d7b3b3383e65405236c0c314e4601eb5e98859266fef4e5caf22b16d5706","21ab79e5fae74ccc22d611a42732f9257e7a29a4da744e51ec99feda948e1115","bd5825ee3cefa969ded2dd1a35d9f28a9a0f312703e7f57bf8554ccda24f0b5f"],payload_schemas:["network.xyo.boundwitness","network.xyo.id","network.xyo.id","network.xyo.payload","network.xyo.location.range.answer","network.xyo.location.range"],previous_hashes:[null],schema:"network.xyo.boundwitness",timestamp:Date.now()};var P={assets:{ada:{btc:2121e-8,eth:28602e-8,eur:.455045,usd:.451912},btc:{btc:1,eth:13.480925,eur:21444,usd:21297},busd:{btc:4691e-8,eth:63254e-8,eur:1.006,usd:.999271},doge:{btc:315e-8,eth:4251e-8,eur:.067639,usd:.067173},dot:{btc:33957e-8,eth:.00457909,eur:7.28,usd:7.23},eth:{btc:.07416836,eth:1,eur:1590.95,usd:1580},sol:{btc:.00162396,eth:.02189873,eur:34.83,usd:34.59},usdc:{btc:4691e-8,eth:63259e-8,eur:1.006,usd:.999341},usdt:{btc:4697e-8,eth:63328e-8,eur:1.008,usd:1.001},wbtc:{btc:.99985708,eth:13.482839,eur:21447,usd:21300},xyo:{btc:406347e-12,eth:548e-8,eur:.00871642,usd:.0086564}},schema:"network.xyo.crypto.market.coingecko",timestamp:1661188759757};var E={baseFee:13.3646505198,feePerGas:{high:17.3060964302,low:12.155000000000001,medium:12.5625,veryHigh:16.5462485885},priorityFeePerGas:{high:1.075,low:.7466666666666667,medium:.8566666666666668,veryHigh:1.2766666666666666},schema:"network.xyo.blockchain.ethereum.gas",timestamp:1669819808305},g={feePerGas:{},priorityFeePerGas:{},schema:"network.xyo.blockchain.ethereum.gas",timestamp:1659071465718};var v={blockPrices:[{baseFeePerGas:26.32847478,blockNumber:16134624,estimatedPrices:[{confidence:99,maxFeePerGas:41.86,maxPriorityFeePerGas:1.18,price:27},{confidence:95,maxFeePerGas:41.54,maxPriorityFeePerGas:.86,price:27},{confidence:90,maxFeePerGas:41.15,maxPriorityFeePerGas:.47,price:26},{confidence:80,maxFeePerGas:41,maxPriorityFeePerGas:.32,price:26},{confidence:70,maxFeePerGas:40.93,maxPriorityFeePerGas:.25,price:26}],estimatedTransactionCount:186}],currentBlockNumber:16134623,estimatedBaseFees:[{"pending+1":[{baseFee:29.62,confidence:99}]},{"pending+2":[{baseFee:33.33,confidence:99}]},{"pending+3":[{baseFee:37.4,confidence:99}]},{"pending+4":[{baseFee:39.26,confidence:99}]},{"pending+5":[{baseFee:40.68,confidence:99}]}],maxPrice:64,msSinceLastBlock:9645,network:"main",schema:"network.xyo.blockchain.ethereum.gas.blocknative",system:"ethereum",timestamp:1670437800246,unit:"gwei"};var C={currentBaseFee:28.3,fast:.9,fastest:1.5,recommendedBaseFee:57.5,safeLow:.2,schema:"network.xyo.blockchain.ethereum.gas.etherchain.v1",standard:.4,timestamp:1670437800313};var A={code:200,data:{fast:26423463713,priceUSD:1229.43,rapid:37143856713,slow:13e9,standard:21366997291,timestamp:1670437795342},schema:"network.xyo.blockchain.ethereum.gas.etherchain.v2",timestamp:1670437800338};var D={gasPrice:26770943129,lastBaseFeePerGas:26494335502,maxFeePerGas:54488671004,maxPriorityFeePerGas:15e8,schema:"network.xyo.blockchain.ethereum.gas.ethers",timestamp:1670437800345};var G={message:"OK",result:{FastGasPrice:"35",LastBlock:"16134573",ProposeGasPrice:"35",SafeGasPrice:"34",gasUsedRatio:"0.4491729,0.440816333333333,0.480461266666667,0.373305033333333,0.322907566666667",suggestBaseFee:"33.952097068"},schema:"network.xyo.blockchain.ethereum.gas.etherscan",status:"1",timestamp:1670437200510};var $={baseFee:37,blockNumber:16134572,blockTime:11.88,gasPrice:{fast:84,instant:97,standard:53},nextBaseFee:37,priorityFee:{fast:5,instant:14,standard:2},schema:"network.xyo.blockchain.ethereum.gas.ethgasstation",timestamp:1670437200687};var W={schema:"network.xyo.temp",test:"hello",_archive:"temp"},S={salt:"81b2372a-b4f0-4ab5-8642-c4e6de46a1cf",schema:"network.xyo.id"},T={bowser:{browser:{name:"Chrome",version:"104.0.0.0"},engine:{name:"Blink"},os:{name:"Windows",version:"NT 10.0",versionName:"10"},platform:{type:"desktop"}},schema:"network.xyo.system.info.browser"};var L={pairs:[{tokens:[{address:"0x55296f69f40Ea6d20E478533C15A6B08B654E758",symbol:"xyo",value:688928e-11},{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",symbol:"weth",value:145153}]},{tokens:[{address:"0x55296f69f40Ea6d20E478533C15A6B08B654E758",symbol:"xyo",value:.0119766},{address:"0xdAC17F958D2ee523a2206206994597C13D831ec7",symbol:"usdt",value:83.496}]},{tokens:[{address:"0x55296f69f40Ea6d20E478533C15A6B08B654E758",symbol:"xyo",value:.0119815},{address:"0x6B175474E89094C44Da98b954EedeAC495271d0F",symbol:"dai",value:83.4619}]},{tokens:[{address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",symbol:"wbtc",value:1985210},{address:"0x55296f69f40Ea6d20E478533C15A6B08B654E758",symbol:"xyo",value:503725e-12}]},{tokens:[{address:"0x514910771AF9Ca656af840dff83E8264EcF986CA",symbol:"link",value:632.648},{address:"0x55296f69f40Ea6d20E478533C15A6B08B654E758",symbol:"xyo",value:.00158066}]},{tokens:[{address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",symbol:"wbtc",value:13.8399},{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",symbol:"weth",value:.072255}]},{tokens:[{address:"0x6B175474E89094C44Da98b954EedeAC495271d0F",symbol:"dai",value:1.00004},{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"usdc",value:.999964}]},{tokens:[{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"usdc",value:575766e-9},{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",symbol:"weth",value:1736.82}]},{tokens:[{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"usdc",value:577657e-9},{address:"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",symbol:"weth",value:1731.13}]},{tokens:[{address:"0x6B175474E89094C44Da98b954EedeAC495271d0F",symbol:"dai",value:1.00002},{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"usdc",value:.999983}]},{tokens:[{address:"0x853d955aCEf822Db058eb8505911ED77F175b99e",symbol:"frax",value:.999829},{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"usdc",value:1.00017}]},{tokens:[{address:"0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599",symbol:"wbtc",value:23967.5},{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"usdc",value:417232e-10}]},{tokens:[{address:"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",symbol:"usdc",value:.999756},{address:"0xdAC17F958D2ee523a2206206994597C13D831ec7",symbol:"usdt",value:1.00024}]}],schema:"network.xyo.crypto.market.uniswap",timestamp:1659071465718},H={pairs:[],schema:"network.xyo.crypto.market.uniswap",timestamp:1659071465718};var _=require("@mui/material"),n=require("react"),d=require("react/jsx-runtime"),N=(s,a)=>{let c=(0,n.useRef)(null),o=()=>{c.current&&(c.current.style.color="green")};return a.args.ref=c,(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(_.Button,{onClick:o,variant:"contained",children:"Change to green"}),(0,d.jsx)(s,{...a})]})};
|
|
782
2
|
//# sourceMappingURL=index.cjs.map
|