decred.org/dcrdex@v1.0.5/client/app/importlgpl.go (about)

     1  // This code is available on the terms of the project LICENSE.md file,
     2  // also available online at https://blueoakcouncil.org/license/1.0.0.
     3  //
     4  // By default, this app also imports go-ethereum code and so carries the burden
     5  // of go-ethereum's GNU Lesser General Public License. If that is unacceptable,
     6  // build with the nolgpl tag.
     7  
     8  //go:build !nolgpl
     9  
    10  package app
    11  
    12  import (
    13  	_ "decred.org/dcrdex/client/asset/eth"     // register eth asset
    14  	_ "decred.org/dcrdex/client/asset/polygon" // register polygon network
    15  	dexeth "decred.org/dcrdex/dex/networks/eth"
    16  	dexpolygon "decred.org/dcrdex/dex/networks/polygon"
    17  )
    18  
    19  func init() {
    20  	dexeth.MaybeReadSimnetAddrs()
    21  	dexpolygon.MaybeReadSimnetAddrs()
    22  
    23  }