@@ -41,9 +41,9 @@ describe('SBT', () => {
4141 . mint ( signers . userA . address , encodedMetadata )
4242 )
4343 . to . emit ( sbt , 'Minted' )
44- . withArgs ( 0 , signers . userA . address )
44+ . withArgs ( 1 , signers . userA . address )
4545
46- const uri = await sbt . tokenURI ( 0 )
46+ const uri = await sbt . tokenURI ( 1 )
4747 const uriInfo : string [ ] = uri . split ( ',' )
4848 expect ( uriInfo [ 0 ] ) . to . equal ( 'data:application/json;base64' )
4949 const decodedData = JSON . parse (
@@ -80,9 +80,9 @@ describe('SBT', () => {
8080 . mint ( signers . userA . address , encodedMetadata )
8181 )
8282 . to . emit ( sbt , 'Minted' )
83- . withArgs ( 0 , signers . userA . address )
83+ . withArgs ( 1 , signers . userA . address )
8484
85- const uri = await sbt . tokenURI ( 0 )
85+ const uri = await sbt . tokenURI ( 1 )
8686 const uriInfo : string [ ] = uri . split ( ',' )
8787 expect ( uriInfo [ 0 ] ) . to . equal ( 'data:application/json;base64' )
8888 const decodedData = JSON . parse (
@@ -130,9 +130,9 @@ describe('SBT', () => {
130130 . mint ( signers . userA . address , encodedMetadata )
131131 )
132132 . to . emit ( sbt , 'Minted' )
133- . withArgs ( 0 , signers . userA . address )
133+ . withArgs ( 1 , signers . userA . address )
134134
135- const uri = await sbt . tokenURI ( 0 )
135+ const uri = await sbt . tokenURI ( 1 )
136136 const uriInfo : string [ ] = uri . split ( ',' )
137137 expect ( uriInfo [ 0 ] ) . to . equal ( 'data:application/json;base64' )
138138 const decodedData = JSON . parse (
@@ -192,9 +192,9 @@ describe('SBT', () => {
192192 . mint ( signers . userA . address , encodedMetadata )
193193 )
194194 . to . emit ( sbt , 'Minted' )
195- . withArgs ( 0 , signers . userA . address )
195+ . withArgs ( 1 , signers . userA . address )
196196
197- const uri = await sbt . tokenURI ( 0 )
197+ const uri = await sbt . tokenURI ( 1 )
198198 const uriInfo : string [ ] = uri . split ( ',' )
199199 expect ( uriInfo [ 0 ] ) . to . equal ( 'data:application/json;base64' )
200200 const decodedData = JSON . parse (
@@ -255,9 +255,9 @@ describe('SBT', () => {
255255 . mint ( signers . userA . address , encodedMetadata )
256256 )
257257 . to . emit ( sbt , 'Minted' )
258- . withArgs ( 0 , signers . userA . address )
258+ . withArgs ( 1 , signers . userA . address )
259259
260- const uri = await sbt . tokenURI ( 0 )
260+ const uri = await sbt . tokenURI ( 1 )
261261 const uriInfo : string [ ] = uri . split ( ',' )
262262 expect ( uriInfo [ 0 ] ) . to . equal ( 'data:application/json;base64' )
263263 const decodedData = JSON . parse (
@@ -328,9 +328,9 @@ describe('SBT', () => {
328328 . mint ( signers . userA . address , encodedMetadata )
329329 )
330330 . to . emit ( sbt , 'Minted' )
331- . withArgs ( 0 , signers . userA . address )
331+ . withArgs ( 1 , signers . userA . address )
332332
333- const uri = await sbt . tokenURI ( 0 )
333+ const uri = await sbt . tokenURI ( 1 )
334334 const uriInfo : string [ ] = uri . split ( ',' )
335335 expect ( uriInfo [ 0 ] ) . to . equal ( 'data:application/json;base64' )
336336 const decodedData = JSON . parse (
@@ -400,9 +400,9 @@ describe('SBT', () => {
400400 . mint ( signers . userA . address , encodedMetadata )
401401 )
402402 . to . emit ( sbt , 'Minted' )
403- . withArgs ( 0 , signers . userA . address )
403+ . withArgs ( 1 , signers . userA . address )
404404
405- const uri = await sbt . tokenURI ( 0 )
405+ const uri = await sbt . tokenURI ( 1 )
406406 const uriInfo : string [ ] = uri . split ( ',' )
407407 expect ( uriInfo [ 0 ] ) . to . equal ( 'data:application/json;base64' )
408408 const decodedData = JSON . parse (
@@ -482,7 +482,7 @@ describe('SBT', () => {
482482 . mint ( signers . userA . address , encodedMetadata )
483483 )
484484 . to . emit ( sbt , 'Minted' )
485- . withArgs ( 0 , signers . userA . address )
485+ . withArgs ( 1 , signers . userA . address )
486486
487487 const offChainEncodedParams = Buffer . from (
488488 JSON . stringify ( {
@@ -495,7 +495,7 @@ describe('SBT', () => {
495495 const offChainEncodedMetadata = 'data:application/json;base64,' . concat (
496496 offChainEncodedParams
497497 )
498- const uri = await sbt . tokenURI ( 0 )
498+ const uri = await sbt . tokenURI ( 1 )
499499 expect ( uri ) . to . deep . eq ( offChainEncodedMetadata )
500500 } )
501501
@@ -519,7 +519,7 @@ describe('SBT', () => {
519519 . mint ( signers . userA . address , encodedMetadata )
520520 )
521521 . to . emit ( sbt , 'Minted' )
522- . withArgs ( 0 , signers . userA . address )
522+ . withArgs ( 1 , signers . userA . address )
523523
524524 const offChainEncodedParams = Buffer . from (
525525 JSON . stringify ( {
@@ -532,7 +532,7 @@ describe('SBT', () => {
532532 const offChainEncodedMetadata = 'data:application/json;base64,' . concat (
533533 offChainEncodedParams
534534 )
535- const uri = await sbt . tokenURI ( 0 )
535+ const uri = await sbt . tokenURI ( 1 )
536536 expect ( uri ) . to . deep . eq ( offChainEncodedMetadata )
537537 } )
538538
@@ -560,7 +560,7 @@ describe('SBT', () => {
560560 . mint ( signers . userA . address , encodedMetadata )
561561 )
562562 . to . emit ( sbt , 'Minted' )
563- . withArgs ( 0 , signers . userA . address )
563+ . withArgs ( 1 , signers . userA . address )
564564
565565 const offChainEncodedParams = Buffer . from (
566566 JSON . stringify ( {
@@ -577,7 +577,7 @@ describe('SBT', () => {
577577 const offChainEncodedMetadata = 'data:application/json;base64,' . concat (
578578 offChainEncodedParams
579579 )
580- const uri = await sbt . tokenURI ( 0 )
580+ const uri = await sbt . tokenURI ( 1 )
581581 expect ( uri ) . to . deep . eq ( offChainEncodedMetadata )
582582 } )
583583
@@ -607,7 +607,7 @@ describe('SBT', () => {
607607 . mint ( signers . userA . address , encodedMetadata )
608608 )
609609 . to . emit ( sbt , 'Minted' )
610- . withArgs ( 0 , signers . userA . address )
610+ . withArgs ( 1 , signers . userA . address )
611611
612612 const offChainEncodedParams = Buffer . from (
613613 JSON . stringify ( {
@@ -626,7 +626,7 @@ describe('SBT', () => {
626626 const offChainEncodedMetadata = 'data:application/json;base64,' . concat (
627627 offChainEncodedParams
628628 )
629- const uri = await sbt . tokenURI ( 0 )
629+ const uri = await sbt . tokenURI ( 1 )
630630 expect ( uri ) . to . deep . eq ( offChainEncodedMetadata )
631631 } )
632632
@@ -662,7 +662,7 @@ describe('SBT', () => {
662662 . mint ( signers . userA . address , encodedMetadata )
663663 )
664664 . to . emit ( sbt , 'Minted' )
665- . withArgs ( 0 , signers . userA . address )
665+ . withArgs ( 1 , signers . userA . address )
666666
667667 const offChainEncodedParams = Buffer . from (
668668 JSON . stringify ( {
@@ -691,7 +691,7 @@ describe('SBT', () => {
691691 const offChainEncodedMetadata = 'data:application/json;base64,' . concat (
692692 offChainEncodedParams
693693 )
694- const uri = await sbt . tokenURI ( 0 )
694+ const uri = await sbt . tokenURI ( 1 )
695695 expect ( uri ) . to . deep . eq ( offChainEncodedMetadata )
696696 } )
697697
@@ -721,7 +721,7 @@ describe('SBT', () => {
721721 . mint ( signers . userA . address , encodedMetadata )
722722 )
723723 . to . emit ( sbt , 'Minted' )
724- . withArgs ( 0 , signers . userA . address )
724+ . withArgs ( 1 , signers . userA . address )
725725
726726 const offChainEncodedParams = Buffer . from (
727727 JSON . stringify ( {
@@ -741,7 +741,7 @@ describe('SBT', () => {
741741 const offChainEncodedMetadata = 'data:application/json;base64,' . concat (
742742 offChainEncodedParams
743743 )
744- const uri = await sbt . tokenURI ( 0 )
744+ const uri = await sbt . tokenURI ( 1 )
745745 expect ( uri ) . to . deep . eq ( offChainEncodedMetadata )
746746 } )
747747
@@ -781,7 +781,7 @@ describe('SBT', () => {
781781 . mint ( signers . userA . address , encodedMetadata )
782782 )
783783 . to . emit ( sbt , 'Minted' )
784- . withArgs ( 0 , signers . userA . address )
784+ . withArgs ( 1 , signers . userA . address )
785785
786786 const offChainEncodedParams = Buffer . from (
787787 JSON . stringify ( {
@@ -813,7 +813,7 @@ describe('SBT', () => {
813813 const offChainEncodedMetadata = 'data:application/json;base64,' . concat (
814814 offChainEncodedParams
815815 )
816- const uri = await sbt . tokenURI ( 0 )
816+ const uri = await sbt . tokenURI ( 1 )
817817 expect ( uri ) . to . deep . eq ( offChainEncodedMetadata )
818818 } )
819819 } )
0 commit comments