@@ -3607,7 +3607,7 @@ impl<'de> serde::Deserialize<'de> for MsgSubmitPriceResponse {
3607
3607
}
3608
3608
}
3609
3609
#[ cfg( feature = "serde" ) ]
3610
- impl serde:: Serialize for MsgSubmitRepaymentAdaptorSignature {
3610
+ impl serde:: Serialize for MsgSubmitRepaymentAdaptorSignatures {
3611
3611
#[ allow( deprecated) ]
3612
3612
fn serialize < S > ( & self , serializer : S ) -> core:: result:: Result < S :: Ok , S :: Error >
3613
3613
where
@@ -3621,25 +3621,25 @@ impl serde::Serialize for MsgSubmitRepaymentAdaptorSignature {
3621
3621
if !self . loan_id . is_empty ( ) {
3622
3622
len += 1 ;
3623
3623
}
3624
- if !self . adaptor_signature . is_empty ( ) {
3624
+ if !self . adaptor_signatures . is_empty ( ) {
3625
3625
len += 1 ;
3626
3626
}
3627
3627
let mut struct_ser =
3628
- serializer. serialize_struct ( "side.lending.MsgSubmitRepaymentAdaptorSignature " , len) ?;
3628
+ serializer. serialize_struct ( "side.lending.MsgSubmitRepaymentAdaptorSignatures " , len) ?;
3629
3629
if !self . sender . is_empty ( ) {
3630
3630
struct_ser. serialize_field ( "sender" , & self . sender ) ?;
3631
3631
}
3632
3632
if !self . loan_id . is_empty ( ) {
3633
3633
struct_ser. serialize_field ( "loanId" , & self . loan_id ) ?;
3634
3634
}
3635
- if !self . adaptor_signature . is_empty ( ) {
3636
- struct_ser. serialize_field ( "adaptorSignature " , & self . adaptor_signature ) ?;
3635
+ if !self . adaptor_signatures . is_empty ( ) {
3636
+ struct_ser. serialize_field ( "adaptorSignatures " , & self . adaptor_signatures ) ?;
3637
3637
}
3638
3638
struct_ser. end ( )
3639
3639
}
3640
3640
}
3641
3641
#[ cfg( feature = "serde" ) ]
3642
- impl < ' de > serde:: Deserialize < ' de > for MsgSubmitRepaymentAdaptorSignature {
3642
+ impl < ' de > serde:: Deserialize < ' de > for MsgSubmitRepaymentAdaptorSignatures {
3643
3643
#[ allow( deprecated) ]
3644
3644
fn deserialize < D > ( deserializer : D ) -> core:: result:: Result < Self , D :: Error >
3645
3645
where
@@ -3649,15 +3649,15 @@ impl<'de> serde::Deserialize<'de> for MsgSubmitRepaymentAdaptorSignature {
3649
3649
"sender" ,
3650
3650
"loan_id" ,
3651
3651
"loanId" ,
3652
- "adaptor_signature " ,
3653
- "adaptorSignature " ,
3652
+ "adaptor_signatures " ,
3653
+ "adaptorSignatures " ,
3654
3654
] ;
3655
3655
3656
3656
#[ allow( clippy:: enum_variant_names) ]
3657
3657
enum GeneratedField {
3658
3658
Sender ,
3659
3659
LoanId ,
3660
- AdaptorSignature ,
3660
+ AdaptorSignatures ,
3661
3661
}
3662
3662
#[ cfg( feature = "serde" ) ]
3663
3663
impl < ' de > serde:: Deserialize < ' de > for GeneratedField {
@@ -3685,8 +3685,8 @@ impl<'de> serde::Deserialize<'de> for MsgSubmitRepaymentAdaptorSignature {
3685
3685
match value {
3686
3686
"sender" => Ok ( GeneratedField :: Sender ) ,
3687
3687
"loanId" | "loan_id" => Ok ( GeneratedField :: LoanId ) ,
3688
- "adaptorSignature " | "adaptor_signature " => {
3689
- Ok ( GeneratedField :: AdaptorSignature )
3688
+ "adaptorSignatures " | "adaptor_signatures " => {
3689
+ Ok ( GeneratedField :: AdaptorSignatures )
3690
3690
}
3691
3691
_ => Err ( serde:: de:: Error :: unknown_field ( value, FIELDS ) ) ,
3692
3692
}
@@ -3697,22 +3697,22 @@ impl<'de> serde::Deserialize<'de> for MsgSubmitRepaymentAdaptorSignature {
3697
3697
}
3698
3698
struct GeneratedVisitor ;
3699
3699
impl < ' de > serde:: de:: Visitor < ' de > for GeneratedVisitor {
3700
- type Value = MsgSubmitRepaymentAdaptorSignature ;
3700
+ type Value = MsgSubmitRepaymentAdaptorSignatures ;
3701
3701
3702
3702
fn expecting ( & self , formatter : & mut core:: fmt:: Formatter < ' _ > ) -> core:: fmt:: Result {
3703
- formatter. write_str ( "struct side.lending.MsgSubmitRepaymentAdaptorSignature " )
3703
+ formatter. write_str ( "struct side.lending.MsgSubmitRepaymentAdaptorSignatures " )
3704
3704
}
3705
3705
3706
3706
fn visit_map < V > (
3707
3707
self ,
3708
3708
mut map_ : V ,
3709
- ) -> core:: result:: Result < MsgSubmitRepaymentAdaptorSignature , V :: Error >
3709
+ ) -> core:: result:: Result < MsgSubmitRepaymentAdaptorSignatures , V :: Error >
3710
3710
where
3711
3711
V : serde:: de:: MapAccess < ' de > ,
3712
3712
{
3713
3713
let mut sender__ = None ;
3714
3714
let mut loan_id__ = None ;
3715
- let mut adaptor_signature__ = None ;
3715
+ let mut adaptor_signatures__ = None ;
3716
3716
while let Some ( k) = map_. next_key ( ) ? {
3717
3717
match k {
3718
3718
GeneratedField :: Sender => {
@@ -3727,30 +3727,30 @@ impl<'de> serde::Deserialize<'de> for MsgSubmitRepaymentAdaptorSignature {
3727
3727
}
3728
3728
loan_id__ = Some ( map_. next_value ( ) ?) ;
3729
3729
}
3730
- GeneratedField :: AdaptorSignature => {
3731
- if adaptor_signature__ . is_some ( ) {
3732
- return Err ( serde:: de:: Error :: duplicate_field ( "adaptorSignature " ) ) ;
3730
+ GeneratedField :: AdaptorSignatures => {
3731
+ if adaptor_signatures__ . is_some ( ) {
3732
+ return Err ( serde:: de:: Error :: duplicate_field ( "adaptorSignatures " ) ) ;
3733
3733
}
3734
- adaptor_signature__ = Some ( map_. next_value ( ) ?) ;
3734
+ adaptor_signatures__ = Some ( map_. next_value ( ) ?) ;
3735
3735
}
3736
3736
}
3737
3737
}
3738
- Ok ( MsgSubmitRepaymentAdaptorSignature {
3738
+ Ok ( MsgSubmitRepaymentAdaptorSignatures {
3739
3739
sender : sender__. unwrap_or_default ( ) ,
3740
3740
loan_id : loan_id__. unwrap_or_default ( ) ,
3741
- adaptor_signature : adaptor_signature__ . unwrap_or_default ( ) ,
3741
+ adaptor_signatures : adaptor_signatures__ . unwrap_or_default ( ) ,
3742
3742
} )
3743
3743
}
3744
3744
}
3745
3745
deserializer. deserialize_struct (
3746
- "side.lending.MsgSubmitRepaymentAdaptorSignature " ,
3746
+ "side.lending.MsgSubmitRepaymentAdaptorSignatures " ,
3747
3747
FIELDS ,
3748
3748
GeneratedVisitor ,
3749
3749
)
3750
3750
}
3751
3751
}
3752
3752
#[ cfg( feature = "serde" ) ]
3753
- impl serde:: Serialize for MsgSubmitRepaymentAdaptorSignatureResponse {
3753
+ impl serde:: Serialize for MsgSubmitRepaymentAdaptorSignaturesResponse {
3754
3754
#[ allow( deprecated) ]
3755
3755
fn serialize < S > ( & self , serializer : S ) -> core:: result:: Result < S :: Ok , S :: Error >
3756
3756
where
@@ -3759,14 +3759,14 @@ impl serde::Serialize for MsgSubmitRepaymentAdaptorSignatureResponse {
3759
3759
use serde:: ser:: SerializeStruct ;
3760
3760
let len = 0 ;
3761
3761
let struct_ser = serializer. serialize_struct (
3762
- "side.lending.MsgSubmitRepaymentAdaptorSignatureResponse " ,
3762
+ "side.lending.MsgSubmitRepaymentAdaptorSignaturesResponse " ,
3763
3763
len,
3764
3764
) ?;
3765
3765
struct_ser. end ( )
3766
3766
}
3767
3767
}
3768
3768
#[ cfg( feature = "serde" ) ]
3769
- impl < ' de > serde:: Deserialize < ' de > for MsgSubmitRepaymentAdaptorSignatureResponse {
3769
+ impl < ' de > serde:: Deserialize < ' de > for MsgSubmitRepaymentAdaptorSignaturesResponse {
3770
3770
#[ allow( deprecated) ]
3771
3771
fn deserialize < D > ( deserializer : D ) -> core:: result:: Result < Self , D :: Error >
3772
3772
where
@@ -3807,28 +3807,28 @@ impl<'de> serde::Deserialize<'de> for MsgSubmitRepaymentAdaptorSignatureResponse
3807
3807
}
3808
3808
struct GeneratedVisitor ;
3809
3809
impl < ' de > serde:: de:: Visitor < ' de > for GeneratedVisitor {
3810
- type Value = MsgSubmitRepaymentAdaptorSignatureResponse ;
3810
+ type Value = MsgSubmitRepaymentAdaptorSignaturesResponse ;
3811
3811
3812
3812
fn expecting ( & self , formatter : & mut core:: fmt:: Formatter < ' _ > ) -> core:: fmt:: Result {
3813
3813
formatter
3814
- . write_str ( "struct side.lending.MsgSubmitRepaymentAdaptorSignatureResponse " )
3814
+ . write_str ( "struct side.lending.MsgSubmitRepaymentAdaptorSignaturesResponse " )
3815
3815
}
3816
3816
3817
3817
fn visit_map < V > (
3818
3818
self ,
3819
3819
mut map_ : V ,
3820
- ) -> core:: result:: Result < MsgSubmitRepaymentAdaptorSignatureResponse , V :: Error >
3820
+ ) -> core:: result:: Result < MsgSubmitRepaymentAdaptorSignaturesResponse , V :: Error >
3821
3821
where
3822
3822
V : serde:: de:: MapAccess < ' de > ,
3823
3823
{
3824
3824
while map_. next_key :: < GeneratedField > ( ) ?. is_some ( ) {
3825
3825
let _ = map_. next_value :: < serde:: de:: IgnoredAny > ( ) ?;
3826
3826
}
3827
- Ok ( MsgSubmitRepaymentAdaptorSignatureResponse { } )
3827
+ Ok ( MsgSubmitRepaymentAdaptorSignaturesResponse { } )
3828
3828
}
3829
3829
}
3830
3830
deserializer. deserialize_struct (
3831
- "side.lending.MsgSubmitRepaymentAdaptorSignatureResponse " ,
3831
+ "side.lending.MsgSubmitRepaymentAdaptorSignaturesResponse " ,
3832
3832
FIELDS ,
3833
3833
GeneratedVisitor ,
3834
3834
)
@@ -6593,7 +6593,7 @@ impl serde::Serialize for Repayment {
6593
6593
if !self . repay_adaptor_point . is_empty ( ) {
6594
6594
len += 1 ;
6595
6595
}
6596
- if !self . dca_adaptor_signature . is_empty ( ) {
6596
+ if !self . dca_adaptor_signatures . is_empty ( ) {
6597
6597
len += 1 ;
6598
6598
}
6599
6599
if !self . borrower_signature . is_empty ( ) {
@@ -6615,8 +6615,8 @@ impl serde::Serialize for Repayment {
6615
6615
if !self . repay_adaptor_point . is_empty ( ) {
6616
6616
struct_ser. serialize_field ( "repayAdaptorPoint" , & self . repay_adaptor_point ) ?;
6617
6617
}
6618
- if !self . dca_adaptor_signature . is_empty ( ) {
6619
- struct_ser. serialize_field ( "dcaAdaptorSignature " , & self . dca_adaptor_signature ) ?;
6618
+ if !self . dca_adaptor_signatures . is_empty ( ) {
6619
+ struct_ser. serialize_field ( "dcaAdaptorSignatures " , & self . dca_adaptor_signatures ) ?;
6620
6620
}
6621
6621
if !self . borrower_signature . is_empty ( ) {
6622
6622
struct_ser. serialize_field ( "borrowerSignature" , & self . borrower_signature ) ?;
@@ -6641,8 +6641,8 @@ impl<'de> serde::Deserialize<'de> for Repayment {
6641
6641
"tx" ,
6642
6642
"repay_adaptor_point" ,
6643
6643
"repayAdaptorPoint" ,
6644
- "dca_adaptor_signature " ,
6645
- "dcaAdaptorSignature " ,
6644
+ "dca_adaptor_signatures " ,
6645
+ "dcaAdaptorSignatures " ,
6646
6646
"borrower_signature" ,
6647
6647
"borrowerSignature" ,
6648
6648
"create_at" ,
@@ -6655,7 +6655,7 @@ impl<'de> serde::Deserialize<'de> for Repayment {
6655
6655
Txid ,
6656
6656
Tx ,
6657
6657
RepayAdaptorPoint ,
6658
- DcaAdaptorSignature ,
6658
+ DcaAdaptorSignatures ,
6659
6659
BorrowerSignature ,
6660
6660
CreateAt ,
6661
6661
}
@@ -6689,8 +6689,8 @@ impl<'de> serde::Deserialize<'de> for Repayment {
6689
6689
"repayAdaptorPoint" | "repay_adaptor_point" => {
6690
6690
Ok ( GeneratedField :: RepayAdaptorPoint )
6691
6691
}
6692
- "dcaAdaptorSignature " | "dca_adaptor_signature " => {
6693
- Ok ( GeneratedField :: DcaAdaptorSignature )
6692
+ "dcaAdaptorSignatures " | "dca_adaptor_signatures " => {
6693
+ Ok ( GeneratedField :: DcaAdaptorSignatures )
6694
6694
}
6695
6695
"borrowerSignature" | "borrower_signature" => {
6696
6696
Ok ( GeneratedField :: BorrowerSignature )
@@ -6719,7 +6719,7 @@ impl<'de> serde::Deserialize<'de> for Repayment {
6719
6719
let mut txid__ = None ;
6720
6720
let mut tx__ = None ;
6721
6721
let mut repay_adaptor_point__ = None ;
6722
- let mut dca_adaptor_signature__ = None ;
6722
+ let mut dca_adaptor_signatures__ = None ;
6723
6723
let mut borrower_signature__ = None ;
6724
6724
let mut create_at__ = None ;
6725
6725
while let Some ( k) = map_. next_key ( ) ? {
@@ -6748,13 +6748,13 @@ impl<'de> serde::Deserialize<'de> for Repayment {
6748
6748
}
6749
6749
repay_adaptor_point__ = Some ( map_. next_value ( ) ?) ;
6750
6750
}
6751
- GeneratedField :: DcaAdaptorSignature => {
6752
- if dca_adaptor_signature__ . is_some ( ) {
6751
+ GeneratedField :: DcaAdaptorSignatures => {
6752
+ if dca_adaptor_signatures__ . is_some ( ) {
6753
6753
return Err ( serde:: de:: Error :: duplicate_field (
6754
- "dcaAdaptorSignature " ,
6754
+ "dcaAdaptorSignatures " ,
6755
6755
) ) ;
6756
6756
}
6757
- dca_adaptor_signature__ = Some ( map_. next_value ( ) ?) ;
6757
+ dca_adaptor_signatures__ = Some ( map_. next_value ( ) ?) ;
6758
6758
}
6759
6759
GeneratedField :: BorrowerSignature => {
6760
6760
if borrower_signature__. is_some ( ) {
@@ -6775,7 +6775,7 @@ impl<'de> serde::Deserialize<'de> for Repayment {
6775
6775
txid : txid__. unwrap_or_default ( ) ,
6776
6776
tx : tx__. unwrap_or_default ( ) ,
6777
6777
repay_adaptor_point : repay_adaptor_point__. unwrap_or_default ( ) ,
6778
- dca_adaptor_signature : dca_adaptor_signature__ . unwrap_or_default ( ) ,
6778
+ dca_adaptor_signatures : dca_adaptor_signatures__ . unwrap_or_default ( ) ,
6779
6779
borrower_signature : borrower_signature__. unwrap_or_default ( ) ,
6780
6780
create_at : create_at__,
6781
6781
} )
0 commit comments