@@ -29,8 +29,7 @@ public class ERC1155 : Routable
29
29
/// <summary>
30
30
/// Interact with any ERC1155 compatible contract.
31
31
/// </summary>
32
- public ERC1155 ( string parentRoute , string contractAddress )
33
- : base ( Routable . append ( parentRoute , "erc1155" ) )
32
+ public ERC1155 ( string parentRoute , string contractAddress ) : base ( Routable . append ( parentRoute , "erc1155" ) )
34
33
{
35
34
this . contractAddress = contractAddress ;
36
35
this . signature = new ERC1155Signature ( baseRoute , contractAddress ) ;
@@ -142,7 +141,7 @@ public async Task<string> Balance(string tokenId)
142
141
{
143
142
if ( Utils . IsWebGLBuild ( ) )
144
143
{
145
- return await Bridge . InvokeRoute < string > ( getRoute ( "balance" ) , new string [ ] { } ) ;
144
+ return await Bridge . InvokeRoute < string > ( getRoute ( "balance" ) , Utils . ToJsonStringArray ( tokenId ) ) ;
146
145
}
147
146
else
148
147
{
@@ -431,8 +430,7 @@ public class ERC1155ClaimConditions : Routable
431
430
{
432
431
private string contractAddress ;
433
432
434
- public ERC1155ClaimConditions ( string parentRoute , string contractAddress )
435
- : base ( Routable . append ( parentRoute , "claimConditions" ) )
433
+ public ERC1155ClaimConditions ( string parentRoute , string contractAddress ) : base ( Routable . append ( parentRoute , "claimConditions" ) )
436
434
{
437
435
this . contractAddress = contractAddress ;
438
436
}
@@ -620,8 +618,7 @@ public class ERC1155Signature : Routable
620
618
/// <summary>
621
619
/// Generate, verify and mint signed mintable payloads
622
620
/// </summary>
623
- public ERC1155Signature ( string parentRoute , string contractAddress )
624
- : base ( Routable . append ( parentRoute , "signature" ) )
621
+ public ERC1155Signature ( string parentRoute , string contractAddress ) : base ( Routable . append ( parentRoute , "signature" ) )
625
622
{
626
623
this . contractAddress = contractAddress ;
627
624
}
0 commit comments