Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: organize directory structure #469

Merged
merged 4 commits into from
Jan 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

import (
u256 "gno.land/p/gnoswap/uint256"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

const (
MAX_UINT8 string = "255"
Expand Down
1 change: 1 addition & 0 deletions contract/p/gnoswap/gnsmath/gno.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module gno.land/p/gnoswap/gnsmath
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

import (
i256 "gno.land/p/gnoswap/int256"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

import (
"testing"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

import (
i256 "gno.land/p/gnoswap/int256"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package pool
package gnsmath

import (
"testing"
Expand Down
1 change: 0 additions & 1 deletion contract/p/gnoswap/pool/gno.mod

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package governance

import (
"strconv"
"std"
"strconv"
"testing"

"gno.land/p/demo/avl"
"gno.land/p/demo/testutils"
"gno.land/p/demo/uassert"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package pool

import (
"gno.land/p/demo/ufmt"
plp "gno.land/p/gnoswap/gnsmath"
i256 "gno.land/p/gnoswap/int256"
plp "gno.land/p/gnoswap/pool"
u256 "gno.land/p/gnoswap/uint256"
"gno.land/r/gnoswap/v1/common"
"gno.land/r/gnoswap/v1/consts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"gno.land/r/gnoswap/v1/common"
"gno.land/r/gnoswap/v1/consts"

plp "gno.land/p/gnoswap/gnsmath"
i256 "gno.land/p/gnoswap/int256"
plp "gno.land/p/gnoswap/pool" // pool package
u256 "gno.land/p/gnoswap/uint256"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
i256 "gno.land/p/gnoswap/int256"
u256 "gno.land/p/gnoswap/uint256"

plp "gno.land/p/gnoswap/pool"
plp "gno.land/p/gnoswap/gnsmath"

"gno.land/r/gnoswap/v1/common"
"gno.land/r/gnoswap/v1/consts"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

u256 "gno.land/p/gnoswap/uint256"

plp "gno.land/p/gnoswap/pool"
plp "gno.land/p/gnoswap/gnsmath"

"gno.land/r/gnoswap/v1/consts"
)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strconv"

"gno.land/p/demo/ufmt"
plp "gno.land/p/gnoswap/pool"
plp "gno.land/p/gnoswap/gnsmath"

u256 "gno.land/p/gnoswap/uint256"
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading