Skip to content

Commit

Permalink
revert changes in band_ibc.go and proposal.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrajovic committed Feb 22, 2023
1 parent 9cb5cf7 commit 5061c0d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions bandchain/hooks/price/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ package price

import "github.com/InjectiveLabs/sdk-go/bandchain/oracle/types"

type Input struct {
type SymbolInput struct {
Symbols []string `json:"symbols"`
MinimumSourceCount uint8 `json:"minimum_source_count"`
}

type Output struct {
type SymbolOutput struct {
Responses []Response `json:"responses"`
}

Expand All @@ -17,6 +17,15 @@ type Response struct {
Rate uint64 `json:"rate"`
}

type Input struct {
Symbols []string `json:"symbols"`
Multiplier uint64 `json:"multiplier"`
}

type Output struct {
Pxs []uint64 `json:"pxs"`
}

type Price struct {
Symbol string `json:"symbol"`
Multiplier uint64 `json:"multiplier"`
Expand Down

0 comments on commit 5061c0d

Please sign in to comment.