-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update contract and user usecases
- Loading branch information
1 parent
a8a78e4
commit 685cd3f
Showing
9 changed files
with
58 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
package user_usecase | ||
|
||
import "github.com/ethereum/go-ethereum/common" | ||
import ( | ||
"github.com/ethereum/go-ethereum/common" | ||
"github.com/holiman/uint256" | ||
) | ||
|
||
type FindUserOutputDTO struct { | ||
Id uint `json:"id"` | ||
Role string `json:"role"` | ||
Address common.Address `json:"address"` | ||
CreatedAt int64 `json:"created_at"` | ||
UpdatedAt int64 `json:"updated_at"` | ||
Id uint `json:"id"` | ||
Role string `json:"role"` | ||
Address common.Address `json:"address"` | ||
InvestmentLimit *uint256.Int `json:"investment_limit,omitempty" gorm:"type:bigint"` | ||
DebtIssuanceLimit *uint256.Int `json:"debt_issuance_limit,omitempty" gorm:"type:bigint"` | ||
CreatedAt int64 `json:"created_at"` | ||
UpdatedAt int64 `json:"updated_at"` | ||
} |
This file was deleted.
Oops, something went wrong.