@@ -510,85 +510,90 @@ fn main() {
510510 // <https://docs.balancer.fi/reference/contracts/deployment-addresses/sepolia.html>
511511 // <https://docs.balancer.fi/reference/contracts/deployment-addresses/base.html>
512512 } ) ;
513- generate_contract_with_config ( "BalancerV2NoProtocolFeeLiquidityBootstrappingPoolFactory" , |builder| {
514- builder
515- . contract_mod_override ( "balancer_v2_no_protocol_fee_liquidity_bootstrapping_pool_factory" )
516- . add_network (
517- // <https://docs.balancer.fi/reference/contracts/deployment-addresses/mainnet.html#ungrouped-active-current-contracts>
518- MAINNET ,
519- Network {
520- address : addr ( "0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e" ) ,
521- // <https://etherscan.io/tx/0x298381e567ff6643d9b32e8e7e9ff0f04a80929dce3e004f6fa1a0104b2b69c3>
522- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 13730248 ) ) ,
523- } ,
524- )
525- . add_network (
526- // <https://docs.balancer.fi/reference/contracts/deployment-addresses/gnosis.html#ungrouped-active-current-contracts>
527- GNOSIS ,
528- Network {
529- address : addr ( "0x85a80afee867aDf27B50BdB7b76DA70f1E853062" ) ,
530- // <https://gnosis.blockscout.com/tx/0xbd56fefdb27e4ff1c0852e405f78311d6bc2befabaf6c87a405ab19de8c1506a>
531- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 25415236 ) ) ,
532- } ,
533- )
534- . add_network (
535- // <https://docs.balancer.fi/reference/contracts/deployment-addresses/sepolia.html#ungrouped-active-current-contracts>
536- SEPOLIA ,
537- Network {
538- address : addr ( "0x45fFd460cC6642B8D8Fb12373DFd77Ceb0f4932B" ) ,
539- // <https://sepolia.etherscan.io/tx/0xe0e8feb509a8aa8a1eaa0b0c4b34395ff2fd880fb854fbeeccc0af1826e395c9>
540- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 3419649 ) ) ,
541- } ,
542- )
543- . add_network (
544- ARBITRUM_ONE ,
545- Network {
546- address : addr ( "0x1802953277FD955f9a254B80Aa0582f193cF1d77" ) ,
547- // <https://arbiscan.io/tx/0x5265176961ba08450afc1d7c7d34321da11b2f1f106a7d652e6c11d923caed24>
548- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 4859669 ) ) ,
549- } ,
550- )
551- . add_network (
552- BASE ,
553- Network {
554- address : addr ( "0x0c6052254551EAe3ECac77B01DFcf1025418828f" ) ,
555- // <https://basescan.org/tx/0x0529de9dbe772f4b4f48da93ae2c2d2c46e3d3221ced9e0c4063a7a5bc47e874>
556- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 1206531 ) ) ,
557- } ,
558- )
559- . add_network (
560- AVALANCHE ,
561- Network {
562- address : addr ( "0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e" ) ,
563- // <https://snowscan.xyz/tx/0x33a75d83436ae9fcda4b4986713417bf3dc80d9ceb8d2541817846b1ac579d9f>
564- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 26386552 ) ) ,
565- } ,
566- )
567- . add_network (
568- BNB ,
569- Network {
570- address : addr ( "0xC128468b7Ce63eA702C1f104D55A2566b13D3ABD" ) ,
571- // <https://bscscan.com/tx/0x8b964b97e6091bd41c93002c558d49adc26b8b31d2b30f3a33babbbbe8c55f47>
572- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 22691243 ) ) ,
573- } ,
574- )
575- . add_network (
576- OPTIMISM ,
577- Network {
578- address : addr ( "0xf302f9F50958c5593770FDf4d4812309fF77414f" ) ,
579- // <https://optimistic.etherscan.io/tx/0x14fb43f051eebdec645abf0125e52348dc875b0887b689f8db026d75f9c78dda>
580- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 7005915 ) ) ,
581- } ,
582- )
583- . add_network (
584- POLYGON ,
585- Network {
586- address : addr ( "0x41B953164995c11C81DA73D212ED8Af25741b7Ac" ) ,
587- // <https://polygonscan.com/tx/0x125bc007a86d771f8dc8f5fa1017de6e5a11162a458a72f25814503404bbeb0b>
588- deployment_information : Some ( DeploymentInformation :: BlockNumber ( 22067480 ) ) ,
589- } ,
590- )
591- } ) ;
513+ generate_contract_with_config (
514+ "BalancerV2NoProtocolFeeLiquidityBootstrappingPoolFactory" ,
515+ |builder| {
516+ builder
517+ . contract_mod_override (
518+ "balancer_v2_no_protocol_fee_liquidity_bootstrapping_pool_factory" ,
519+ )
520+ . add_network (
521+ // <https://docs.balancer.fi/reference/contracts/deployment-addresses/mainnet.html#ungrouped-active-current-contracts>
522+ MAINNET ,
523+ Network {
524+ address : addr ( "0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e" ) ,
525+ // <https://etherscan.io/tx/0x298381e567ff6643d9b32e8e7e9ff0f04a80929dce3e004f6fa1a0104b2b69c3>
526+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 13730248 ) ) ,
527+ } ,
528+ )
529+ . add_network (
530+ // <https://docs.balancer.fi/reference/contracts/deployment-addresses/gnosis.html#ungrouped-active-current-contracts>
531+ GNOSIS ,
532+ Network {
533+ address : addr ( "0x85a80afee867aDf27B50BdB7b76DA70f1E853062" ) ,
534+ // <https://gnosis.blockscout.com/tx/0xbd56fefdb27e4ff1c0852e405f78311d6bc2befabaf6c87a405ab19de8c1506a>
535+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 25415236 ) ) ,
536+ } ,
537+ )
538+ . add_network (
539+ // <https://docs.balancer.fi/reference/contracts/deployment-addresses/sepolia.html#ungrouped-active-current-contracts>
540+ SEPOLIA ,
541+ Network {
542+ address : addr ( "0x45fFd460cC6642B8D8Fb12373DFd77Ceb0f4932B" ) ,
543+ // <https://sepolia.etherscan.io/tx/0xe0e8feb509a8aa8a1eaa0b0c4b34395ff2fd880fb854fbeeccc0af1826e395c9>
544+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 3419649 ) ) ,
545+ } ,
546+ )
547+ . add_network (
548+ ARBITRUM_ONE ,
549+ Network {
550+ address : addr ( "0x1802953277FD955f9a254B80Aa0582f193cF1d77" ) ,
551+ // <https://arbiscan.io/tx/0x5265176961ba08450afc1d7c7d34321da11b2f1f106a7d652e6c11d923caed24>
552+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 4859669 ) ) ,
553+ } ,
554+ )
555+ . add_network (
556+ BASE ,
557+ Network {
558+ address : addr ( "0x0c6052254551EAe3ECac77B01DFcf1025418828f" ) ,
559+ // <https://basescan.org/tx/0x0529de9dbe772f4b4f48da93ae2c2d2c46e3d3221ced9e0c4063a7a5bc47e874>
560+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 1206531 ) ) ,
561+ } ,
562+ )
563+ . add_network (
564+ AVALANCHE ,
565+ Network {
566+ address : addr ( "0x0F3e0c4218b7b0108a3643cFe9D3ec0d4F57c54e" ) ,
567+ // <https://snowscan.xyz/tx/0x33a75d83436ae9fcda4b4986713417bf3dc80d9ceb8d2541817846b1ac579d9f>
568+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 26386552 ) ) ,
569+ } ,
570+ )
571+ . add_network (
572+ BNB ,
573+ Network {
574+ address : addr ( "0xC128468b7Ce63eA702C1f104D55A2566b13D3ABD" ) ,
575+ // <https://bscscan.com/tx/0x8b964b97e6091bd41c93002c558d49adc26b8b31d2b30f3a33babbbbe8c55f47>
576+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 22691243 ) ) ,
577+ } ,
578+ )
579+ . add_network (
580+ OPTIMISM ,
581+ Network {
582+ address : addr ( "0xf302f9F50958c5593770FDf4d4812309fF77414f" ) ,
583+ // <https://optimistic.etherscan.io/tx/0x14fb43f051eebdec645abf0125e52348dc875b0887b689f8db026d75f9c78dda>
584+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 7005915 ) ) ,
585+ } ,
586+ )
587+ . add_network (
588+ POLYGON ,
589+ Network {
590+ address : addr ( "0x41B953164995c11C81DA73D212ED8Af25741b7Ac" ) ,
591+ // <https://polygonscan.com/tx/0x125bc007a86d771f8dc8f5fa1017de6e5a11162a458a72f25814503404bbeb0b>
592+ deployment_information : Some ( DeploymentInformation :: BlockNumber ( 22067480 ) ) ,
593+ } ,
594+ )
595+ } ,
596+ ) ;
592597 generate_contract_with_config ( "BalancerV2ComposableStablePoolFactory" , |builder| {
593598 builder
594599 . contract_mod_override ( "balancer_v2_composable_stable_pool_factory" )
@@ -1198,11 +1203,11 @@ fn main() {
11981203 deployment_information : Some ( DeploymentInformation :: BlockNumber ( 7944011 ) ) ,
11991204 } ,
12001205 )
1201- } ) ;
1202-
1206+ } ) ;
1207+
12031208 generate_contract ( "BalancerV3WeightedPool" ) ;
12041209 generate_contract ( "BalancerV3StablePool" ) ;
1205-
1210+
12061211 generate_contract_with_config ( "BaoswapRouter" , |builder| {
12071212 builder. add_network_str ( GNOSIS , "0x6093AeBAC87d62b1A5a4cEec91204e35020E38bE" )
12081213 } ) ;
0 commit comments