@@ -23,6 +23,26 @@ const dot_location = {
23
23
} ,
24
24
} ;
25
25
26
+ const weth_location = {
27
+ parents : 2 ,
28
+ interior : {
29
+ x2 : [
30
+ {
31
+ globalConsensus : {
32
+ ethereum : {
33
+ chainId : 1n
34
+ }
35
+ }
36
+ } ,
37
+ {
38
+ accountKey20 : {
39
+ key : "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
40
+ }
41
+ }
42
+ ]
43
+ }
44
+ }
45
+
26
46
export const polimec_storage = {
27
47
System : {
28
48
Account : [
@@ -57,52 +77,75 @@ export const polimec_storage = {
57
77
balance : INITIAL_BALANCES . DOT ,
58
78
} ,
59
79
] ,
60
- ] ,
61
- Asset : [
62
- [
63
- [ usdc_location ] ,
64
- {
65
- owner : Accounts . ALICE ,
66
- issuer : Accounts . ALICE ,
67
- admin : Accounts . ALICE ,
68
- freezer : Accounts . ALICE ,
69
- supply : INITIAL_BALANCES . USDC ,
70
- deposit : 0n ,
71
- min_balance : 70000n ,
72
- is_sufficient : true ,
73
- accounts : 1 ,
74
- sufficients : 1 ,
75
- approvals : 0 ,
76
- status : 'Live' ,
77
- } ,
78
- ] ,
79
80
[
80
- [ usdt_location ] ,
81
+ [ weth_location , Accounts . BOB ] ,
81
82
{
82
- owner : Accounts . ALICE ,
83
- issuer : Accounts . ALICE ,
84
- admin : Accounts . ALICE ,
85
- freezer : Accounts . ALICE ,
86
- supply : INITIAL_BALANCES . USDT ,
87
- deposit : 0n ,
88
- min_balance : 70000n ,
89
- is_sufficient : true ,
90
- accounts : 1 ,
91
- sufficients : 1 ,
92
- approvals : 0 ,
93
- status : 'Live' ,
83
+ balance : INITIAL_BALANCES . WETH ,
94
84
} ,
95
85
] ,
86
+ ] ,
87
+ Asset : [
88
+ // [
89
+ // [usdc_location],
90
+ // {
91
+ // owner: Accounts.ALICE,
92
+ // issuer: Accounts.ALICE,
93
+ // admin: Accounts.ALICE,
94
+ // freezer: Accounts.ALICE,
95
+ // supply: INITIAL_BALANCES.USDC,
96
+ // deposit: 0n,
97
+ // min_balance: 70000n,
98
+ // is_sufficient: true,
99
+ // accounts: 1,
100
+ // sufficients: 1,
101
+ // approvals: 0,
102
+ // status: 'Live',
103
+ // },
104
+ // ],
105
+ // [
106
+ // [usdt_location],
107
+ // {
108
+ // owner: Accounts.ALICE,
109
+ // issuer: Accounts.ALICE,
110
+ // admin: Accounts.ALICE,
111
+ // freezer: Accounts.ALICE,
112
+ // supply: INITIAL_BALANCES.USDT,
113
+ // deposit: 0n,
114
+ // min_balance: 70000n,
115
+ // is_sufficient: true,
116
+ // accounts: 1,
117
+ // sufficients: 1,
118
+ // approvals: 0,
119
+ // status: 'Live',
120
+ // },
121
+ // ],
122
+ // [
123
+ // [dot_location],
124
+ // {
125
+ // owner: Accounts.ALICE,
126
+ // issuer: Accounts.ALICE,
127
+ // admin: Accounts.ALICE,
128
+ // freezer: Accounts.ALICE,
129
+ // supply: INITIAL_BALANCES.DOT,
130
+ // deposit: 0n,
131
+ // min_balance: 100000000n,
132
+ // is_sufficient: true,
133
+ // accounts: 1,
134
+ // sufficients: 1,
135
+ // approvals: 0,
136
+ // status: 'Live',
137
+ // },
138
+ // ],
96
139
[
97
- [ dot_location ] ,
140
+ [ weth_location ] ,
98
141
{
99
142
owner : Accounts . ALICE ,
100
143
issuer : Accounts . ALICE ,
101
144
admin : Accounts . ALICE ,
102
145
freezer : Accounts . ALICE ,
103
- supply : INITIAL_BALANCES . DOT ,
146
+ supply : INITIAL_BALANCES . WETH ,
104
147
deposit : 0n ,
105
- min_balance : 100000000n ,
148
+ min_balance : 1000000n ,
106
149
is_sufficient : true ,
107
150
accounts : 1 ,
108
151
sufficients : 1 ,
@@ -112,9 +155,10 @@ export const polimec_storage = {
112
155
] ,
113
156
] ,
114
157
Metadata : [
115
- [ [ usdc_location ] , { symbol : 'USDC' , name : 'USDC' , decimals : 6 , isFrozen : false } ] ,
116
- [ [ usdt_location ] , { symbol : 'USDT' , name : 'USDC' , decimals : 6 , isFrozen : false } ] ,
117
- [ [ dot_location ] , { symbol : 'DOT' , name : 'DOT' , decimals : 10 , isFrozen : false } ] ,
158
+ // [[usdc_location], { symbol: 'USDC', name: 'USDC', decimals: 6, isFrozen: false }],
159
+ // [[usdt_location], { symbol: 'USDT', name: 'USDC', decimals: 6, isFrozen: false }],
160
+ // [[dot_location], { symbol: 'DOT', name: 'DOT', decimals: 10, isFrozen: false }],
161
+ [ [ weth_location ] , { symbol : 'WETH' , name : 'WETH' , decimals : 18 , isFrozen : false } ] ,
118
162
] ,
119
163
} ,
120
164
} as const ;
0 commit comments