2020-07-10 14:17:51 +00:00
|
|
|
package morph
|
|
|
|
|
|
|
|
import (
|
|
|
|
"strings"
|
|
|
|
|
2020-07-24 13:54:03 +00:00
|
|
|
"github.com/nspcc-dev/neofs-node/cmd/neofs-node/modules/fix/module"
|
2020-07-10 14:17:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
// Module is a Neo:Morph module.
|
|
|
|
var Module = module.Module{
|
2020-07-24 13:54:03 +00:00
|
|
|
{Constructor: newClient},
|
2020-07-10 14:17:51 +00:00
|
|
|
{Constructor: newMorphContracts},
|
|
|
|
{Constructor: newContainerContract},
|
|
|
|
{Constructor: newNetmapContract},
|
|
|
|
{Constructor: newEventListener},
|
|
|
|
{Constructor: newBalanceContract},
|
|
|
|
}
|
|
|
|
|
|
|
|
func optPath(sections ...string) string {
|
|
|
|
return strings.Join(sections, ".")
|
|
|
|
}
|