File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -379,6 +379,9 @@ function makeFtBurnOperation(
379
379
decimals : ftMetadata . decimals ,
380
380
symbol : ftMetadata . symbol ,
381
381
} ,
382
+ metadata : {
383
+ token_type : 'ft' ,
384
+ } ,
382
385
} ,
383
386
} ;
384
387
@@ -426,6 +429,9 @@ function makeFtMintOperation(
426
429
decimals : ftMetadata . decimals ,
427
430
symbol : ftMetadata . symbol ,
428
431
} ,
432
+ metadata : {
433
+ token_type : 'ft' ,
434
+ } ,
429
435
} ,
430
436
} ;
431
437
@@ -477,6 +483,9 @@ function makeFtSenderOperation(
477
483
decimals : ftMetadata . decimals ,
478
484
symbol : ftMetadata . symbol ,
479
485
} ,
486
+ metadata : {
487
+ token_type : 'ft' ,
488
+ } ,
480
489
} ,
481
490
coin_change : {
482
491
coin_action : CoinAction . CoinSpent ,
@@ -541,6 +550,9 @@ function makeFtReceiverOperation(
541
550
decimals : ftMetadata . decimals ,
542
551
symbol : ftMetadata . symbol ,
543
552
} ,
553
+ metadata : {
554
+ token_type : 'ft' ,
555
+ } ,
544
556
} ,
545
557
coin_change : {
546
558
coin_action : CoinAction . CoinCreated ,
Original file line number Diff line number Diff line change @@ -170,6 +170,9 @@ describe('/block tests', () => {
170
170
symbol : 'NYC' ,
171
171
} ,
172
172
value : '-7500' ,
173
+ metadata : {
174
+ token_type : 'ft' ,
175
+ } ,
173
176
} ,
174
177
coin_change : {
175
178
coin_action : 'coin_spent' ,
@@ -193,6 +196,9 @@ describe('/block tests', () => {
193
196
symbol : 'NYC' ,
194
197
} ,
195
198
value : '7500' ,
199
+ metadata : {
200
+ token_type : 'ft' ,
201
+ } ,
196
202
} ,
197
203
coin_change : {
198
204
coin_action : 'coin_created' ,
@@ -249,6 +255,9 @@ describe('/block tests', () => {
249
255
symbol : 'NYC' ,
250
256
} ,
251
257
value : '-100' ,
258
+ metadata : {
259
+ token_type : 'ft' ,
260
+ } ,
252
261
} ,
253
262
operation_identifier : {
254
263
index : 1 ,
@@ -294,6 +303,9 @@ describe('/block tests', () => {
294
303
symbol : 'NYC' ,
295
304
} ,
296
305
value : '500' ,
306
+ metadata : {
307
+ token_type : 'ft' ,
308
+ } ,
297
309
} ,
298
310
operation_identifier : {
299
311
index : 1 ,
You can’t perform that action at this time.
0 commit comments