@@ -836,6 +836,9 @@ export const StoreCodeProposal = {
836
836
} ;
837
837
} ,
838
838
registerTypeUrl ( ) {
839
+ if ( GlobalDecoderRegistry . getDecoder ( StoreCodeProposal . typeUrl ) ) {
840
+ return ;
841
+ }
839
842
GlobalDecoderRegistry . register ( StoreCodeProposal . typeUrl , StoreCodeProposal ) ;
840
843
GlobalDecoderRegistry . registerAminoProtoMapping ( StoreCodeProposal . aminoType , StoreCodeProposal . typeUrl ) ;
841
844
AccessConfig . registerTypeUrl ( ) ;
@@ -1003,6 +1006,9 @@ export const InstantiateContractProposal = {
1003
1006
} ;
1004
1007
} ,
1005
1008
registerTypeUrl ( ) {
1009
+ if ( GlobalDecoderRegistry . getDecoder ( InstantiateContractProposal . typeUrl ) ) {
1010
+ return ;
1011
+ }
1006
1012
GlobalDecoderRegistry . register ( InstantiateContractProposal . typeUrl , InstantiateContractProposal ) ;
1007
1013
GlobalDecoderRegistry . registerAminoProtoMapping ( InstantiateContractProposal . aminoType , InstantiateContractProposal . typeUrl ) ;
1008
1014
Coin . registerTypeUrl ( ) ;
@@ -1194,6 +1200,9 @@ export const InstantiateContract2Proposal = {
1194
1200
} ;
1195
1201
} ,
1196
1202
registerTypeUrl ( ) {
1203
+ if ( GlobalDecoderRegistry . getDecoder ( InstantiateContract2Proposal . typeUrl ) ) {
1204
+ return ;
1205
+ }
1197
1206
GlobalDecoderRegistry . register ( InstantiateContract2Proposal . typeUrl , InstantiateContract2Proposal ) ;
1198
1207
GlobalDecoderRegistry . registerAminoProtoMapping ( InstantiateContract2Proposal . aminoType , InstantiateContract2Proposal . typeUrl ) ;
1199
1208
Coin . registerTypeUrl ( ) ;
@@ -1323,6 +1332,9 @@ export const MigrateContractProposal = {
1323
1332
} ;
1324
1333
} ,
1325
1334
registerTypeUrl ( ) {
1335
+ if ( GlobalDecoderRegistry . getDecoder ( MigrateContractProposal . typeUrl ) ) {
1336
+ return ;
1337
+ }
1326
1338
GlobalDecoderRegistry . register ( MigrateContractProposal . typeUrl , MigrateContractProposal ) ;
1327
1339
GlobalDecoderRegistry . registerAminoProtoMapping ( MigrateContractProposal . aminoType , MigrateContractProposal . typeUrl ) ;
1328
1340
}
@@ -1439,6 +1451,9 @@ export const SudoContractProposal = {
1439
1451
} ;
1440
1452
} ,
1441
1453
registerTypeUrl ( ) {
1454
+ if ( GlobalDecoderRegistry . getDecoder ( SudoContractProposal . typeUrl ) ) {
1455
+ return ;
1456
+ }
1442
1457
GlobalDecoderRegistry . register ( SudoContractProposal . typeUrl , SudoContractProposal ) ;
1443
1458
GlobalDecoderRegistry . registerAminoProtoMapping ( SudoContractProposal . aminoType , SudoContractProposal . typeUrl ) ;
1444
1459
}
@@ -1581,6 +1596,9 @@ export const ExecuteContractProposal = {
1581
1596
} ;
1582
1597
} ,
1583
1598
registerTypeUrl ( ) {
1599
+ if ( GlobalDecoderRegistry . getDecoder ( ExecuteContractProposal . typeUrl ) ) {
1600
+ return ;
1601
+ }
1584
1602
GlobalDecoderRegistry . register ( ExecuteContractProposal . typeUrl , ExecuteContractProposal ) ;
1585
1603
GlobalDecoderRegistry . registerAminoProtoMapping ( ExecuteContractProposal . aminoType , ExecuteContractProposal . typeUrl ) ;
1586
1604
Coin . registerTypeUrl ( ) ;
@@ -1698,6 +1716,9 @@ export const UpdateAdminProposal = {
1698
1716
} ;
1699
1717
} ,
1700
1718
registerTypeUrl ( ) {
1719
+ if ( GlobalDecoderRegistry . getDecoder ( UpdateAdminProposal . typeUrl ) ) {
1720
+ return ;
1721
+ }
1701
1722
GlobalDecoderRegistry . register ( UpdateAdminProposal . typeUrl , UpdateAdminProposal ) ;
1702
1723
GlobalDecoderRegistry . registerAminoProtoMapping ( UpdateAdminProposal . aminoType , UpdateAdminProposal . typeUrl ) ;
1703
1724
}
@@ -1802,6 +1823,9 @@ export const ClearAdminProposal = {
1802
1823
} ;
1803
1824
} ,
1804
1825
registerTypeUrl ( ) {
1826
+ if ( GlobalDecoderRegistry . getDecoder ( ClearAdminProposal . typeUrl ) ) {
1827
+ return ;
1828
+ }
1805
1829
GlobalDecoderRegistry . register ( ClearAdminProposal . typeUrl , ClearAdminProposal ) ;
1806
1830
GlobalDecoderRegistry . registerAminoProtoMapping ( ClearAdminProposal . aminoType , ClearAdminProposal . typeUrl ) ;
1807
1831
}
@@ -1917,6 +1941,9 @@ export const PinCodesProposal = {
1917
1941
} ;
1918
1942
} ,
1919
1943
registerTypeUrl ( ) {
1944
+ if ( GlobalDecoderRegistry . getDecoder ( PinCodesProposal . typeUrl ) ) {
1945
+ return ;
1946
+ }
1920
1947
GlobalDecoderRegistry . register ( PinCodesProposal . typeUrl , PinCodesProposal ) ;
1921
1948
GlobalDecoderRegistry . registerAminoProtoMapping ( PinCodesProposal . aminoType , PinCodesProposal . typeUrl ) ;
1922
1949
}
@@ -2032,6 +2059,9 @@ export const UnpinCodesProposal = {
2032
2059
} ;
2033
2060
} ,
2034
2061
registerTypeUrl ( ) {
2062
+ if ( GlobalDecoderRegistry . getDecoder ( UnpinCodesProposal . typeUrl ) ) {
2063
+ return ;
2064
+ }
2035
2065
GlobalDecoderRegistry . register ( UnpinCodesProposal . typeUrl , UnpinCodesProposal ) ;
2036
2066
GlobalDecoderRegistry . registerAminoProtoMapping ( UnpinCodesProposal . aminoType , UnpinCodesProposal . typeUrl ) ;
2037
2067
}
@@ -2229,6 +2259,9 @@ export const UpdateInstantiateConfigProposal = {
2229
2259
} ;
2230
2260
} ,
2231
2261
registerTypeUrl ( ) {
2262
+ if ( GlobalDecoderRegistry . getDecoder ( UpdateInstantiateConfigProposal . typeUrl ) ) {
2263
+ return ;
2264
+ }
2232
2265
GlobalDecoderRegistry . register ( UpdateInstantiateConfigProposal . typeUrl , UpdateInstantiateConfigProposal ) ;
2233
2266
GlobalDecoderRegistry . registerAminoProtoMapping ( UpdateInstantiateConfigProposal . aminoType , UpdateInstantiateConfigProposal . typeUrl ) ;
2234
2267
AccessConfigUpdate . registerTypeUrl ( ) ;
@@ -2456,6 +2489,9 @@ export const StoreAndInstantiateContractProposal = {
2456
2489
} ;
2457
2490
} ,
2458
2491
registerTypeUrl ( ) {
2492
+ if ( GlobalDecoderRegistry . getDecoder ( StoreAndInstantiateContractProposal . typeUrl ) ) {
2493
+ return ;
2494
+ }
2459
2495
GlobalDecoderRegistry . register ( StoreAndInstantiateContractProposal . typeUrl , StoreAndInstantiateContractProposal ) ;
2460
2496
GlobalDecoderRegistry . registerAminoProtoMapping ( StoreAndInstantiateContractProposal . aminoType , StoreAndInstantiateContractProposal . typeUrl ) ;
2461
2497
AccessConfig . registerTypeUrl ( ) ;
0 commit comments