-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chore] Cleanup and Refactor Proto (#92)
- Loading branch information
1 parent
19af41d
commit cd747e7
Showing
34 changed files
with
1,705 additions
and
2,181 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
package client | ||
|
||
import ( | ||
"github.com/bandprotocol/bothan/bothan-api/client/go-client/proto/price" | ||
"github.com/bandprotocol/bothan/bothan-api/client/go-client/proto/signal" | ||
"github.com/bandprotocol/bothan/bothan-api/client/go-client/proto/bothan/v1" | ||
) | ||
|
||
type Client interface { | ||
GetInfo() (*signal.GetInfoResponse, error) | ||
GetInfo() (*proto.GetInfoResponse, error) | ||
UpdateRegistry(ipfsHash string, version string) error | ||
PushMonitoringRecords(uuid, txHash string) error | ||
GetPrices(signalIDs []string) (*price.GetPricesResponse, error) | ||
GetPrices(signalIDs []string) (*proto.GetPricesResponse, error) | ||
} |
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
Oops, something went wrong.