@flowtyio/flow-contracts 0.0.11 → 0.0.15

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/flow.json CHANGED
@@ -13,6 +13,10 @@
13
13
  "emulator-ft": {
14
14
  "address": "ee82856bf20e2aa6",
15
15
  "key": "a8201e155882e2a7ec94644ef0f023ecce8baec418276f95217db1ecf90b03db"
16
+ },
17
+ "emulator-flowtoken": {
18
+ "address": "0ae53cb6e3f42a79",
19
+ "key": "a8201e155882e2a7ec94644ef0f023ecce8baec418276f95217db1ecf90b03db"
16
20
  }
17
21
  },
18
22
  "contracts": {
@@ -40,6 +44,14 @@
40
44
  "mainnet": "0xf233dcee88fe0abe"
41
45
  }
42
46
  },
47
+ "FungibleTokenMetadataViews": {
48
+ "source": "./contracts/FungibleTokenMetadataViews.cdc",
49
+ "aliases": {
50
+ "emulator": "0xee82856bf20e2aa6",
51
+ "testnet": "0x9a0766d93b6608b7",
52
+ "mainnet": "0xf233dcee88fe0abe"
53
+ }
54
+ },
43
55
  "ViewResolver": {
44
56
  "source": "./contracts/ViewResolver.cdc",
45
57
  "aliases": {
@@ -135,6 +147,126 @@
135
147
  "testnet": "0x294e44e1ec6993c6",
136
148
  "mainnet": "0xd8a7e05a7ac670c0"
137
149
  }
150
+ },
151
+ "NFTCatalog": {
152
+ "source": "./contracts/nft-catalog/NFTCatalog.cdc",
153
+ "aliases": {
154
+ "emulator": "0xf8d6e0586b0a20c7",
155
+ "testnet": "0x324c34e1c517e4db",
156
+ "mainnet": "0x49a7cda3a1eecc29"
157
+ }
158
+ },
159
+ "NFTCatalogAdmin": {
160
+ "source": "./contracts/nft-catalog/NFTCatalogAdmin.cdc",
161
+ "aliases": {
162
+ "emulator": "0xf8d6e0586b0a20c7",
163
+ "testnet": "0x324c34e1c517e4db",
164
+ "mainnet": "0x49a7cda3a1eecc29"
165
+ }
166
+ },
167
+ "FlowToken": {
168
+ "source": "./contracts/FlowToken.cdc",
169
+ "aliases": {
170
+ "emulator": "0x0ae53cb6e3f42a79",
171
+ "testnet": "0x7e60df042a9c0868",
172
+ "mainnet": "0x1654653399040a61"
173
+ }
174
+ },
175
+ "FlowStorageFees": {
176
+ "source": "./contracts/FlowStorageFees.cdc",
177
+ "aliases": {
178
+ "emulator": "0xf8d6e0586b0a20c7",
179
+ "testnet": "0x8c5303eaa26202d6",
180
+ "mainnet": "0xf919ee77447b7497"
181
+ }
182
+ },
183
+ "TokenForwarding": {
184
+ "source": "./contracts/TokenForwarding.cdc",
185
+ "aliases": {
186
+ "emulator": "0xf8d6e0586b0a20c7",
187
+ "testnet": "0x51ea0e37c27a1f1a",
188
+ "mainnet": "0xe544175ee0461c4b"
189
+ }
190
+ },
191
+ "DapperUtilityCoin": {
192
+ "source": "./contracts/dapper/DapperUtilityCoin.cdc",
193
+ "aliases": {
194
+ "emulator": "0xf8d6e0586b0a20c7",
195
+ "testnet": "0x82ec283f88a62e65",
196
+ "mainnet": "0xead892083b3e2c6c"
197
+ }
198
+ },
199
+ "FlowUtilityToken": {
200
+ "source": "./contracts/dapper/FlowUtilityToken.cdc",
201
+ "aliases": {
202
+ "emulator": "0xf8d6e0586b0a20c7",
203
+ "testnet": "0x82ec283f88a62e65",
204
+ "mainnet": "0xead892083b3e2c6c"
205
+ }
206
+ },
207
+ "LostAndFound": {
208
+ "source": "./contracts/lost-and-found/LostAndFound.cdc",
209
+ "aliases": {
210
+ "emulator": "0xf8d6e0586b0a20c7",
211
+ "testnet": "0xbe4635353f55bbd4",
212
+ "mainnet": "0x473d6a2c37eab5be"
213
+ }
214
+ },
215
+ "LostAndFoundHelper": {
216
+ "source": "./contracts/lost-and-found/LostAndFoundHelper.cdc",
217
+ "aliases": {
218
+ "emulator": "0xf8d6e0586b0a20c7",
219
+ "testnet": "0xbe4635353f55bbd4",
220
+ "mainnet": "0x473d6a2c37eab5be"
221
+ }
222
+ },
223
+ "FeeEstimator": {
224
+ "source": "./contracts/lost-and-found/FeeEstimator.cdc",
225
+ "aliases": {
226
+ "emulator": "0xf8d6e0586b0a20c7",
227
+ "testnet": "0xbe4635353f55bbd4",
228
+ "mainnet": "0x473d6a2c37eab5be"
229
+ }
230
+ },
231
+ "TopShot": {
232
+ "source": "./contracts/dapper/TopShot.cdc",
233
+ "aliases": {
234
+ "emulator": "0xf8d6e0586b0a20c7",
235
+ "testnet": "0x877931736ee77cff",
236
+ "mainnet": "0x0b2a3299cc857e29"
237
+ }
238
+ },
239
+ "TopShotLocking": {
240
+ "source": "./contracts/dapper/TopShotLocking.cdc",
241
+ "aliases": {
242
+ "emulator": "0xf8d6e0586b0a20c7",
243
+ "testnet": "0x877931736ee77cff",
244
+ "mainnet": "0x0b2a3299cc857e29"
245
+ }
246
+ },
247
+ "DapperOffersV2": {
248
+ "source": "./contracts/dapper/offers/DapperOffersV2.cdc",
249
+ "aliases": {
250
+ "emulator": "0xf8d6e0586b0a20c7",
251
+ "testnet": "0x8a5f647e58dde1ee",
252
+ "mainnet": "0xb8ea91944fd51c43"
253
+ }
254
+ },
255
+ "OffersV2": {
256
+ "source": "./contracts/dapper/offers/OffersV2.cdc",
257
+ "aliases": {
258
+ "emulator": "0xf8d6e0586b0a20c7",
259
+ "testnet": "0x8a5f647e58dde1ee",
260
+ "mainnet": "0xb8ea91944fd51c43"
261
+ }
262
+ },
263
+ "Resolver": {
264
+ "source": "./contracts/dapper/offers/Resolver.cdc",
265
+ "aliases": {
266
+ "emulator": "0xf8d6e0586b0a20c7",
267
+ "testnet": "0x8a5f647e58dde1ee",
268
+ "mainnet": "0xb8ea91944fd51c43"
269
+ }
138
270
  }
139
271
  },
140
272
  "deployments": {
@@ -142,10 +274,28 @@
142
274
  "emulator-account": [
143
275
  "NonFungibleToken",
144
276
  "MetadataViews",
145
- "ViewResolver"
277
+ "ViewResolver",
278
+ "NFTCatalog",
279
+ "NFTCatalogAdmin",
280
+ "TokenForwarding",
281
+ "DapperUtilityCoin",
282
+ "FlowUtilityToken",
283
+ "FlowStorageFees",
284
+ "FeeEstimator",
285
+ "LostAndFound",
286
+ "LostAndFoundHelper",
287
+ "Resolver",
288
+ "DapperOffersV2",
289
+ "OffersV2",
290
+ "TopShot",
291
+ "TopShotLocking"
146
292
  ],
147
293
  "emulator-ft": [
148
- "FungibleToken"
294
+ "FungibleToken",
295
+ "FungibleTokenMetadataViews"
296
+ ],
297
+ "emulator-flowtoken": [
298
+ "FlowToken"
149
299
  ]
150
300
  }
151
301
  }
package/index.js CHANGED
@@ -33,8 +33,8 @@ program.command("add-all")
33
33
  .option('-a, --account <account>', 'Account to be used for signing', 'emulator-account')
34
34
  .action(({config, account}) => {
35
35
  if(!config) {
36
- options.config = getDefaultConfigPath()
37
- console.log("no config specified, using default config: ", options.config)
36
+ config = getDefaultConfigPath()
37
+ console.log("no config specified, using default config: ", config)
38
38
  }
39
39
 
40
40
  addAll(config, account)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowtyio/flow-contracts",
3
- "version": "0.0.11",
3
+ "version": "0.0.15",
4
4
  "main": "index.json",
5
5
  "description": "An NPM package for common flow contracts",
6
6
  "author": "flowtyio",