@xyo-network/react-storybook 7.5.7 → 7.5.11
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.mjs +74 -193
- package/dist/browser/index.mjs.map +1 -1
- package/dist/browser/samplePayload.d.ts +10 -8
- package/dist/browser/samplePayload.d.ts.map +1 -1
- package/package.json +39 -28
- package/src/DeprecateStory.tsx +0 -11
- package/src/WithRefDecorator.tsx +0 -22
- package/src/defaultSeedPhrase.ts +0 -2
- package/src/index.ts +0 -10
- package/src/sampleAddressHistory.ts +0 -128
- package/src/sampleBlock.ts +0 -47
- package/src/sampleCoinGeckoPayload.ts +0 -74
- package/src/sampleEthereumGasDivinerPayload.ts +0 -26
- package/src/sampleGasPricePayloads/blocknative.ts +0 -93
- package/src/sampleGasPricePayloads/ethGasStation.ts +0 -20
- package/src/sampleGasPricePayloads/etherchainV1.ts +0 -10
- package/src/sampleGasPricePayloads/etherchainV2.ts +0 -15
- package/src/sampleGasPricePayloads/ethers.ts +0 -10
- package/src/sampleGasPricePayloads/etherscan.ts +0 -16
- package/src/sampleGasPricePayloads/index.ts +0 -6
- package/src/samplePayload.ts +0 -40
- package/src/sampleUniswapPayload.ts +0 -196
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
-
|
|
3
|
-
export const sampleUniswapPayload = {
|
|
4
|
-
pairs: [
|
|
5
|
-
{
|
|
6
|
-
tokens: [
|
|
7
|
-
{
|
|
8
|
-
address: '0x55296f69f40Ea6d20E478533C15A6B08B654E758',
|
|
9
|
-
symbol: 'xyo',
|
|
10
|
-
value: 0.000_006_889_28,
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
14
|
-
symbol: 'weth',
|
|
15
|
-
value: 145_153,
|
|
16
|
-
},
|
|
17
|
-
],
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
tokens: [
|
|
21
|
-
{
|
|
22
|
-
address: '0x55296f69f40Ea6d20E478533C15A6B08B654E758',
|
|
23
|
-
symbol: 'xyo',
|
|
24
|
-
value: 0.011_976_6,
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
|
|
28
|
-
symbol: 'usdt',
|
|
29
|
-
value: 83.496,
|
|
30
|
-
},
|
|
31
|
-
],
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
tokens: [
|
|
35
|
-
{
|
|
36
|
-
address: '0x55296f69f40Ea6d20E478533C15A6B08B654E758',
|
|
37
|
-
symbol: 'xyo',
|
|
38
|
-
value: 0.011_981_5,
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
address: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
42
|
-
symbol: 'dai',
|
|
43
|
-
value: 83.4619,
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
tokens: [
|
|
49
|
-
{
|
|
50
|
-
address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
51
|
-
symbol: 'wbtc',
|
|
52
|
-
value: 1_985_210,
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
address: '0x55296f69f40Ea6d20E478533C15A6B08B654E758',
|
|
56
|
-
symbol: 'xyo',
|
|
57
|
-
value: 5.037_25e-7,
|
|
58
|
-
},
|
|
59
|
-
],
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
tokens: [
|
|
63
|
-
{
|
|
64
|
-
address: '0x514910771AF9Ca656af840dff83E8264EcF986CA',
|
|
65
|
-
symbol: 'link',
|
|
66
|
-
value: 632.648,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
address: '0x55296f69f40Ea6d20E478533C15A6B08B654E758',
|
|
70
|
-
symbol: 'xyo',
|
|
71
|
-
value: 0.001_580_66,
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
tokens: [
|
|
77
|
-
{
|
|
78
|
-
address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
79
|
-
symbol: 'wbtc',
|
|
80
|
-
value: 13.8399,
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
84
|
-
symbol: 'weth',
|
|
85
|
-
value: 0.072_255,
|
|
86
|
-
},
|
|
87
|
-
],
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
tokens: [
|
|
91
|
-
{
|
|
92
|
-
address: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
93
|
-
symbol: 'dai',
|
|
94
|
-
value: 1.000_04,
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
98
|
-
symbol: 'usdc',
|
|
99
|
-
value: 0.999_964,
|
|
100
|
-
},
|
|
101
|
-
],
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
tokens: [
|
|
105
|
-
{
|
|
106
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
107
|
-
symbol: 'usdc',
|
|
108
|
-
value: 0.000_575_766,
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
112
|
-
symbol: 'weth',
|
|
113
|
-
value: 1736.82,
|
|
114
|
-
},
|
|
115
|
-
],
|
|
116
|
-
},
|
|
117
|
-
{
|
|
118
|
-
tokens: [
|
|
119
|
-
{
|
|
120
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
121
|
-
symbol: 'usdc',
|
|
122
|
-
value: 0.000_577_657,
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
address: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
|
|
126
|
-
symbol: 'weth',
|
|
127
|
-
value: 1731.13,
|
|
128
|
-
},
|
|
129
|
-
],
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
tokens: [
|
|
133
|
-
{
|
|
134
|
-
address: '0x6B175474E89094C44Da98b954EedeAC495271d0F',
|
|
135
|
-
symbol: 'dai',
|
|
136
|
-
value: 1.000_02,
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
140
|
-
symbol: 'usdc',
|
|
141
|
-
value: 0.999_983,
|
|
142
|
-
},
|
|
143
|
-
],
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
tokens: [
|
|
147
|
-
{
|
|
148
|
-
address: '0x853d955aCEf822Db058eb8505911ED77F175b99e',
|
|
149
|
-
symbol: 'frax',
|
|
150
|
-
value: 0.999_829,
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
154
|
-
symbol: 'usdc',
|
|
155
|
-
value: 1.000_17,
|
|
156
|
-
},
|
|
157
|
-
],
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
tokens: [
|
|
161
|
-
{
|
|
162
|
-
address: '0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599',
|
|
163
|
-
symbol: 'wbtc',
|
|
164
|
-
value: 23_967.5,
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
168
|
-
symbol: 'usdc',
|
|
169
|
-
value: 0.000_041_723_2,
|
|
170
|
-
},
|
|
171
|
-
],
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
tokens: [
|
|
175
|
-
{
|
|
176
|
-
address: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
|
|
177
|
-
symbol: 'usdc',
|
|
178
|
-
value: 0.999_756,
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
address: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
|
|
182
|
-
symbol: 'usdt',
|
|
183
|
-
value: 1.000_24,
|
|
184
|
-
},
|
|
185
|
-
],
|
|
186
|
-
},
|
|
187
|
-
],
|
|
188
|
-
schema: asSchema('network.xyo.crypto.market.uniswap', true),
|
|
189
|
-
timestamp: 1_659_071_465_718,
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
export const payloadDataMissingPairs = {
|
|
193
|
-
pairs: [],
|
|
194
|
-
schema: asSchema('network.xyo.crypto.market.uniswap', true),
|
|
195
|
-
timestamp: 1_659_071_465_718,
|
|
196
|
-
}
|