@@ -101,7 +101,7 @@ var KnownGetMethodsDecoder = map[string][]func(tlb.VmStack) (string, any, error)
101101 "get_pool_address_no_settings" : {DecodeGetPoolAddressNoSettings_CoffeeResult },
102102 "get_pool_creator_address" : {DecodeGetPoolCreatorAddress_CoffeeResult },
103103 "get_pool_creator_address_no_settings" : {DecodeGetPoolCreatorAddressNoSettings_CoffeeResult },
104- "get_pool_data" : {DecodeGetPoolData_DaolamaResult , DecodeGetPoolData_StonfiResult , DecodeGetPoolData_StonfiV2Result , DecodeGetPoolData_StonfiV2StableswapResult , DecodeGetPoolData_StonfiV2WeightedStableswapResult , DecodeGetPoolData_CoffeeResult , DecodeGetPoolData_TfResult },
104+ "get_pool_data" : {DecodeGetPoolData_DaolamaResult , DecodeGetPoolData_StonfiResult , DecodeGetPoolData_StonfiV2ConstProductResult , DecodeGetPoolData_StonfiV2StableswapResult , DecodeGetPoolData_StonfiV2WeightedStableswapResult , DecodeGetPoolData_CoffeeResult , DecodeGetPoolData_TfResult },
105105 "get_pool_full_data" : {DecodeGetPoolFullDataResult },
106106 "get_pool_info" : {DecodeGetPoolInfo_BidaskResult },
107107 "get_pool_status" : {DecodeGetPoolStatusResult },
@@ -388,7 +388,7 @@ var resultTypes = []interface{}{
388388 & GetPoolData_CoffeeResult {},
389389 & GetPoolData_DaolamaResult {},
390390 & GetPoolData_StonfiResult {},
391- & GetPoolData_StonfiV2Result {},
391+ & GetPoolData_StonfiV2ConstProductResult {},
392392 & GetPoolData_StonfiV2StableswapResult {},
393393 & GetPoolData_StonfiV2WeightedStableswapResult {},
394394 & GetPoolData_TfResult {},
@@ -4084,7 +4084,7 @@ type GetPoolData_StonfiResult struct {
40844084 CollectedToken1ProtocolFee tlb.Int257
40854085}
40864086
4087- type GetPoolData_StonfiV2Result struct {
4087+ type GetPoolData_StonfiV2ConstProductResult struct {
40884088 IsLocked bool
40894089 RouterAddress tlb.MsgAddress
40904090 TotalSupply tlb.Int257
@@ -4166,7 +4166,7 @@ func GetPoolData(ctx context.Context, executor Executor, reqAccountID ton.Accoun
41664166 if errCode != 0 && errCode != 1 {
41674167 return "" , nil , fmt .Errorf ("method execution failed with code: %v" , errCode )
41684168 }
4169- for _ , f := range []func (tlb.VmStack ) (string , any , error ){DecodeGetPoolData_DaolamaResult , DecodeGetPoolData_StonfiResult , DecodeGetPoolData_StonfiV2Result , DecodeGetPoolData_StonfiV2StableswapResult , DecodeGetPoolData_StonfiV2WeightedStableswapResult , DecodeGetPoolData_CoffeeResult , DecodeGetPoolData_TfResult } {
4169+ for _ , f := range []func (tlb.VmStack ) (string , any , error ){DecodeGetPoolData_DaolamaResult , DecodeGetPoolData_StonfiResult , DecodeGetPoolData_StonfiV2ConstProductResult , DecodeGetPoolData_StonfiV2StableswapResult , DecodeGetPoolData_StonfiV2WeightedStableswapResult , DecodeGetPoolData_CoffeeResult , DecodeGetPoolData_TfResult } {
41704170 s , r , err := f (stack )
41714171 if err == nil {
41724172 return s , r , nil
@@ -4193,13 +4193,13 @@ func DecodeGetPoolData_StonfiResult(stack tlb.VmStack) (resultType string, resul
41934193 return "GetPoolData_StonfiResult" , result , err
41944194}
41954195
4196- func DecodeGetPoolData_StonfiV2Result (stack tlb.VmStack ) (resultType string , resultAny any , err error ) {
4196+ func DecodeGetPoolData_StonfiV2ConstProductResult (stack tlb.VmStack ) (resultType string , resultAny any , err error ) {
41974197 if len (stack ) != 12 || (stack [0 ].SumType != "VmStkTinyInt" && stack [0 ].SumType != "VmStkInt" ) || (stack [1 ].SumType != "VmStkSlice" ) || (stack [2 ].SumType != "VmStkTinyInt" && stack [2 ].SumType != "VmStkInt" ) || (stack [3 ].SumType != "VmStkTinyInt" && stack [3 ].SumType != "VmStkInt" ) || (stack [4 ].SumType != "VmStkTinyInt" && stack [4 ].SumType != "VmStkInt" ) || (stack [5 ].SumType != "VmStkSlice" ) || (stack [6 ].SumType != "VmStkSlice" ) || (stack [7 ].SumType != "VmStkTinyInt" && stack [7 ].SumType != "VmStkInt" ) || (stack [8 ].SumType != "VmStkTinyInt" && stack [8 ].SumType != "VmStkInt" ) || (stack [9 ].SumType != "VmStkSlice" ) || (stack [10 ].SumType != "VmStkTinyInt" && stack [10 ].SumType != "VmStkInt" ) || (stack [11 ].SumType != "VmStkTinyInt" && stack [11 ].SumType != "VmStkInt" ) {
41984198 return "" , nil , fmt .Errorf ("invalid stack format" )
41994199 }
4200- var result GetPoolData_StonfiV2Result
4200+ var result GetPoolData_StonfiV2ConstProductResult
42014201 err = stack .Unmarshal (& result )
4202- return "GetPoolData_StonfiV2Result " , result , err
4202+ return "GetPoolData_StonfiV2ConstProductResult " , result , err
42034203}
42044204
42054205func DecodeGetPoolData_StonfiV2StableswapResult (stack tlb.VmStack ) (resultType string , resultAny any , err error ) {
0 commit comments