@@ -583,6 +583,7 @@ pub struct WithdrawBatch<T: SigningAmount> {
583
583
/// `withdrawNativeCurrency/withdrawCis2Tokens`.
584
584
#[ derive( Serialize , SchemaType ) ]
585
585
#[ concordium( transparent) ]
586
+ #[ repr( transparent) ]
586
587
pub struct WithdrawParameter < T : SigningAmount > {
587
588
/// List of withdraw batches.
588
589
#[ concordium( size_length = 2 ) ]
@@ -1007,6 +1008,7 @@ pub struct InternalTransferBatch<T: SigningAmount> {
1007
1008
/// `internalTransferNativeCurrency/internalTransferCis2Tokens`.
1008
1009
#[ derive( Serialize , SchemaType ) ]
1009
1010
#[ concordium( transparent) ]
1011
+ #[ repr( transparent) ]
1010
1012
pub struct InternalTransferParameter < T : SigningAmount > {
1011
1013
/// List of transfer batches.
1012
1014
#[ concordium( size_length = 2 ) ]
@@ -1320,6 +1322,7 @@ fn contract_supports(
1320
1322
/// The parameter type for the contract function `balanceOfNativeCurrency`.
1321
1323
#[ derive( Serialize , SchemaType ) ]
1322
1324
#[ concordium( transparent) ]
1325
+ #[ repr( transparent) ]
1323
1326
pub struct NativeCurrencyBalanceOfParameter {
1324
1327
/// List of balance queries.
1325
1328
#[ concordium( size_length = 2 ) ]
@@ -1331,6 +1334,7 @@ pub struct NativeCurrencyBalanceOfParameter {
1331
1334
/// It consists of the list of results corresponding to the list of queries.
1332
1335
#[ derive( Serialize , SchemaType , PartialEq , Eq ) ]
1333
1336
#[ concordium( transparent) ]
1337
+ #[ repr( transparent) ]
1334
1338
pub struct NativeCurrencyBalanceOfResponse ( #[ concordium( size_length = 2 ) ] pub Vec < Amount > ) ;
1335
1339
1336
1340
/// Conversion helper function.
@@ -1380,6 +1384,7 @@ pub struct Cis2TokensBalanceOfQuery {
1380
1384
/// The parameter type for the contract function `balanceOfCis2Tokens`.
1381
1385
#[ derive( Serialize , SchemaType ) ]
1382
1386
#[ concordium( transparent) ]
1387
+ #[ repr( transparent) ]
1383
1388
pub struct Cis2TokensBalanceOfParameter {
1384
1389
/// List of balance queries.
1385
1390
#[ concordium( size_length = 2 ) ]
@@ -1391,6 +1396,7 @@ pub struct Cis2TokensBalanceOfParameter {
1391
1396
/// It consists of the list of results corresponding to the list of queries.
1392
1397
#[ derive( Serialize , SchemaType , PartialEq , Eq ) ]
1393
1398
#[ concordium( transparent) ]
1399
+ #[ repr( transparent) ]
1394
1400
pub struct Cis2TokensBalanceOfResponse ( #[ concordium( size_length = 2 ) ] pub Vec < ContractTokenAmount > ) ;
1395
1401
1396
1402
/// Conversion helper function.
0 commit comments