Skip to content

Commit

Permalink
refactor: organize directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyhyde committed Jan 20, 2025
1 parent 2d993db commit b5c2c81
Show file tree
Hide file tree
Showing 434 changed files with 42 additions and 277 deletions.
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.
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.
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.
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.
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.
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.
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.
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
File renamed without changes.
File renamed without changes.
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" // pool package
i256 "gno.land/p/gnoswap/int256"
plp "gno.land/p/gnoswap/pool" // pool package
u256 "gno.land/p/gnoswap/uint256"
)

Expand Down
File renamed without changes.
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.
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.
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit b5c2c81

Please sign in to comment.