Refactor project structure and update import paths to GMWalletApp/epusdt

This commit is contained in:
line-6000
2026-04-23 02:17:21 +08:00
parent 91936d580f
commit 89be1fc967
86 changed files with 254 additions and 254 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
package task
import (
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/util/log"
"github.com/robfig/cron/v3"
)
+4 -4
View File
@@ -7,10 +7,10 @@ import (
"sync/atomic"
"time"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/model/service"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/model/service"
"github.com/GMWalletApp/epusdt/util/log"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
+3 -3
View File
@@ -6,9 +6,9 @@ import (
"strings"
"time"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/util/log"
"github.com/ethereum/go-ethereum/common"
)
+3 -3
View File
@@ -3,9 +3,9 @@ package task
import (
"testing"
"github.com/assimon/luuu/internal/testutil"
"github.com/assimon/luuu/model/dao"
"github.com/assimon/luuu/model/mdb"
"github.com/GMWalletApp/epusdt/internal/testutil"
"github.com/GMWalletApp/epusdt/model/dao"
"github.com/GMWalletApp/epusdt/model/mdb"
)
func TestResolveChainWsURLRequiresEnabledRpcNode(t *testing.T) {
+4 -4
View File
@@ -7,10 +7,10 @@ import (
"sync/atomic"
"time"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/model/service"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/model/service"
"github.com/GMWalletApp/epusdt/util/log"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"context"
"time"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/util/log"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/core/types"
+4 -4
View File
@@ -7,10 +7,10 @@ import (
"sync/atomic"
"time"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/model/service"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/model/service"
"github.com/GMWalletApp/epusdt/util/log"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
+4 -4
View File
@@ -7,10 +7,10 @@ import (
"sync/atomic"
"time"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/model/service"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/model/service"
"github.com/GMWalletApp/epusdt/util/log"
"github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/common"
+4 -4
View File
@@ -3,10 +3,10 @@ package task
import (
"sync"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/model/service"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/model/service"
"github.com/GMWalletApp/epusdt/util/log"
)
type ListenSolJob struct{}
+4 -4
View File
@@ -3,10 +3,10 @@ package task
import (
"sync"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/model/service"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/model/service"
"github.com/GMWalletApp/epusdt/util/log"
)
type ListenTrc20Job struct{}
+3 -3
View File
@@ -7,9 +7,9 @@ import (
"sync"
"time"
"github.com/assimon/luuu/model/data"
"github.com/assimon/luuu/model/mdb"
"github.com/assimon/luuu/util/log"
"github.com/GMWalletApp/epusdt/model/data"
"github.com/GMWalletApp/epusdt/model/mdb"
"github.com/GMWalletApp/epusdt/util/log"
)
const rpcProbeTimeout = 5 * time.Second
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"testing"
"time"
"github.com/assimon/luuu/model/mdb"
"github.com/GMWalletApp/epusdt/model/mdb"
)
// --------------- ParseAddress ---------------