diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml
new file mode 100644
index 00000000..e822c838
--- /dev/null
+++ b/.github/workflows/pre-commit.yml
@@ -0,0 +1,19 @@
+name: pre-commit
+on:
+ pull_request:
+ push:
+ branches: [master, dev]
+
+jobs:
+ pre-commit:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/setup-python@v4
+ - uses: actions/setup-go@v5
+ with:
+ go-version: 1.19
+ - run: go install golang.org/x/tools/cmd/goimports@latest
+ - run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s - -b $(go env GOPATH)/bin v1.49.0
+ - run: echo "PATH=$PATH:/home/runner/go/bin" >> $GITHUB_ENV
+ - uses: actions/checkout@v3
+ - uses: pre-commit/action@v2.0.2
diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml
new file mode 100644
index 00000000..c95973fc
--- /dev/null
+++ b/.github/workflows/run-tests.yml
@@ -0,0 +1,20 @@
+name: run-tests
+on:
+ pull_request:
+ push:
+ branches: [ master, dev ]
+
+jobs:
+ run-tests:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ fetch-depth: 2
+ - uses: actions/setup-go@v5
+ with:
+ go-version: 1.19
+ - name: Run test and calculate coverage
+ run: make coverage
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v3
diff --git a/.gitignore b/.gitignore
index 23bbb47f..8f38a601 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
.idea/
.chain_cookie
.exchange_cookie
+coverage.out
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
new file mode 100644
index 00000000..a70840d1
--- /dev/null
+++ b/.pre-commit-config.yaml
@@ -0,0 +1,21 @@
+exclude: |
+ (?x)^(
+ chain/.*|
+ exchange/.*|
+ proto/.*
+ )$
+repos:
+ - repo: https://github.com/pre-commit/pre-commit-hooks
+ rev: v4.5.0
+ hooks:
+ - id: trailing-whitespace
+ - id: end-of-file-fixer
+ - id: end-of-file-fixer
+ - id: check-yaml
+ - repo: https://github.com/dnephin/pre-commit-golang
+ rev: v0.5.0
+ hooks:
+ - id: go-fmt
+ - id: go-imports
+ - id: golangci-lint
+ args: [--timeout=15m]
diff --git a/LICENSE.md b/LICENSE.md
index fd30af8c..1d5c5b7c 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -200,4 +200,4 @@ Copyright © 2020 - 2022 Injective Labs Inc. (https://injectivelabs.org/)
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
- limitations under the License.
\ No newline at end of file
+ limitations under the License.
diff --git a/Makefile b/Makefile
index f7fc6405..627437a9 100644
--- a/Makefile
+++ b/Makefile
@@ -24,11 +24,13 @@ copy-exchange-client:
cp -r ../injective-indexer/api/gen/grpc/injective_derivative_exchange_rpc/pb exchange/derivative_exchange_rpc/pb
cp -r ../injective-indexer/api/gen/grpc/injective_portfolio_rpc/pb exchange/portfolio_rpc/pb
-.PHONY: copy-exchange-client
+.PHONY: copy-exchange-client tests coverage
copy-chain-types:
cp ../injective-core/injective-chain/types/*.go chain/types
+ rm -rf chain/types/*test.go rm -rf chain/types/*gw.go
cp ../injective-core/injective-chain/crypto/ethsecp256k1/*.go chain/crypto/ethsecp256k1
+ rm -rf chain/crypto/ethsecp256k1/*test.go rm -rf chain/crypto/ethsecp256k1/*gw.go
cp ../injective-core/injective-chain/modules/auction/types/*.go chain/auction/types
rm -rf chain/auction/types/*test.go rm -rf chain/auction/types/*gw.go
cp ../injective-core/injective-chain/modules/exchange/types/*.go chain/exchange/types
@@ -46,6 +48,13 @@ copy-chain-types:
rm -rf chain/wasmx/types/*test.go rm -rf chain/wasmx/types/*gw.go
cp ../injective-core/injective-chain/modules/tokenfactory/types/*.go chain/tokenfactory/types
rm -rf chain/tokenfactory/types/*test.go rm -rf chain/tokenfactory/types/*gw.go
+ cp ../injective-core/injective-chain/stream/types/*.go chain/stream/types
echo "👉 Replace injective-core/injective-chain/modules with sdk-go/chain"
echo "👉 Replace injective-core/injective-chain/types with sdk-go/chain/types"
+ echo "👉 Replace injective-core/injective-chain/crypto with sdk-go/chain/crypto"
+
+tests:
+ go test -race ./client/... ./ethereum/...
+coverage:
+ go test -race -coverprofile=coverage.out -covermode=atomic ./client/... ./ethereum/...
diff --git a/NOTICE.md b/NOTICE.md
index 68e8c372..9e73b26c 100644
--- a/NOTICE.md
+++ b/NOTICE.md
@@ -5,4 +5,4 @@ Copyright © 2020 - 2022 Injective Labs Inc. (https://injectivelabs.org/)
Originally released by Injective Labs Inc. under:
Apache License
Version 2.0, January 2004
-http://www.apache.org/licenses/
+http://www.apache.org/licenses/
diff --git a/README.md b/README.md
index b5f92d4d..1ab21609 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# Injective Protocol Golang SDK 🌟
+[![codecov](https://codecov.io/gh/InjectiveLabs/sdk-go/graph/badge.svg?token=XDGZV265EE)](https://codecov.io/gh/InjectiveLabs/sdk-go)
+
---
## 📚 Getting Started
@@ -65,4 +67,4 @@ Copyright © 2020 - 2022 Injective Labs Inc. (https://injectivelabs.org/)
Originally released by Injective Labs Inc. under:
Apache License
Version 2.0, January 2004
-http://www.apache.org/licenses/
+http://www.apache.org/licenses/
diff --git a/chain/auction/types/auction.pb.go b/chain/auction/types/auction.pb.go
index d0d2e780..0d7b6220 100644
--- a/chain/auction/types/auction.pb.go
+++ b/chain/auction/types/auction.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/auction/types/genesis.pb.go b/chain/auction/types/genesis.pb.go
index d1452e2a..c7c3ab27 100644
--- a/chain/auction/types/genesis.pb.go
+++ b/chain/auction/types/genesis.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/auction/types/query.pb.go b/chain/auction/types/query.pb.go
index ec9d8b68..bde86cb4 100644
--- a/chain/auction/types/query.pb.go
+++ b/chain/auction/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
@@ -15,9 +19,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/auction/types/tx.pb.go b/chain/auction/types/tx.pb.go
index 57d3be57..b592915e 100644
--- a/chain/auction/types/tx.pb.go
+++ b/chain/auction/types/tx.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
@@ -15,9 +19,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/crypto/ethsecp256k1/keys.pb.go b/chain/crypto/ethsecp256k1/keys.pb.go
index c445cb5b..1f19c66a 100644
--- a/chain/crypto/ethsecp256k1/keys.pb.go
+++ b/chain/crypto/ethsecp256k1/keys.pb.go
@@ -5,11 +5,12 @@ package ethsecp256k1
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/exchange/types/authz.pb.go b/chain/exchange/types/authz.pb.go
index e97e8a78..7989416a 100644
--- a/chain/exchange/types/authz.pb.go
+++ b/chain/exchange/types/authz.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/cosmos-proto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/cosmos-proto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/exchange/types/common_order.go b/chain/exchange/types/common_order.go
index f131359e..0c0abe99 100644
--- a/chain/exchange/types/common_order.go
+++ b/chain/exchange/types/common_order.go
@@ -186,3 +186,11 @@ func (m *OrderType) UnmarshalJSON(data []byte) error {
*m = OrderType(value)
return nil
}
+
+// GetOrderIdentifier returns the cid of an order if it exists, otherwise returns the order hash
+func GetOrderIdentifier(orderHash, cid string) any {
+ if cid != "" {
+ return cid
+ }
+ return common.HexToHash(orderHash)
+}
diff --git a/chain/exchange/types/common_utils.go b/chain/exchange/types/common_utils.go
index c35d8189..2069b826 100644
--- a/chain/exchange/types/common_utils.go
+++ b/chain/exchange/types/common_utils.go
@@ -75,6 +75,10 @@ func (d *DerivativeLimitOrderDelta) OrderHash() common.Hash {
return d.Order.Hash()
}
+func (d *DerivativeLimitOrderDelta) Cid() string {
+ return d.Order.Cid()
+}
+
var AuctionSubaccountID = common.HexToHash("0x1111111111111111111111111111111111111111111111111111111111111111")
var ZeroSubaccountID = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")
@@ -138,6 +142,11 @@ func IsValidOrderHash(orderHash string) bool {
return IsHexHash(orderHash)
}
+func IsValidCid(cid string) bool {
+ // Arbitrarily setting max length of cid to uuid length
+ return len(cid) <= 36
+}
+
// IsHexHash verifies whether a string can represent a valid hex-encoded hash or not.
func IsHexHash(s string) bool {
if !isHexString(s) {
@@ -337,12 +346,18 @@ func HasDuplicatesCoin(slice []sdk.Coin) bool {
}
func HasDuplicatesOrder(slice []*OrderData) bool {
- seen := make(map[string]struct{})
+ seenHashes := make(map[string]struct{})
+ seenCids := make(map[string]struct{})
for _, item := range slice {
- if _, ok := seen[item.OrderHash]; ok {
+ hash, cid := item.GetOrderHash(), item.GetCid()
+ _, hashExists := seenHashes[hash]
+ _, cidExists := seenCids[cid]
+
+ if (hash != "" && hashExists) || (cid != "" && cidExists) {
return true
}
- seen[item.OrderHash] = struct{}{}
+ seenHashes[hash] = struct{}{}
+ seenCids[cid] = struct{}{}
}
return false
}
diff --git a/chain/exchange/types/derivative_orders.go b/chain/exchange/types/derivative_orders.go
index 3d70e1fd..7bc947f5 100644
--- a/chain/exchange/types/derivative_orders.go
+++ b/chain/exchange/types/derivative_orders.go
@@ -6,19 +6,21 @@ import (
"github.com/ethereum/go-ethereum/common"
)
-func NewMarketOrderForLiquidation(position *Position, positionSubaccountID common.Hash, liquidator sdk.AccAddress) *DerivativeMarketOrder {
+func NewMarketOrderForLiquidation(
+ position *Position,
+ positionSubaccountID common.Hash,
+ liquidator sdk.AccAddress,
+ worstPrice sdk.Dec,
+) *DerivativeMarketOrder {
var (
- worstPrice sdk.Dec
- orderType OrderType
+ orderType OrderType
)
- // if long position, market sell order at price 0
- // if short position, market buy order at price infinity
+ // if long position, market sell order
+ // if short position, market buy order
if position.IsLong {
- worstPrice = sdk.ZeroDec()
orderType = OrderType_SELL
} else {
- worstPrice = MaxOrderPrice
orderType = OrderType_BUY
}
@@ -447,10 +449,22 @@ func (o *DerivativeLimitOrder) IsConditional() bool {
return o.OrderType.IsConditional()
}
+func (o *DerivativeLimitOrder) Cid() string {
+ return o.OrderInfo.GetCid()
+}
+
+func (o *DerivativeMarketOrder) Cid() string {
+ return o.OrderInfo.GetCid()
+}
+
func (o *DerivativeOrder) SubaccountID() common.Hash {
return o.OrderInfo.SubaccountID()
}
+func (o *DerivativeOrder) Cid() string {
+ return o.OrderInfo.GetCid()
+}
+
func (o *DerivativeOrder) IsFromDefaultSubaccount() bool {
return o.OrderInfo.IsFromDefaultSubaccount()
}
diff --git a/chain/exchange/types/errors.go b/chain/exchange/types/errors.go
index ae5ec436..0d148680 100644
--- a/chain/exchange/types/errors.go
+++ b/chain/exchange/types/errors.go
@@ -100,4 +100,8 @@ var (
ErrTooMuchOrderMargin = errors.Register(ModuleName, 93, "Order has too much margin")
ErrBadSubaccountNonce = errors.Register(ModuleName, 94, "Subaccount nonce is invalid")
ErrInsufficientFunds = errors.Register(ModuleName, 95, "insufficient funds")
+ ErrPostOnlyMode = errors.Register(ModuleName, 96, "exchange is in post-only mode")
+ ErrClientOrderIdAlreadyExists = errors.Register(ModuleName, 97, "client order id already exists")
+ ErrInvalidCid = errors.Register(ModuleName, 98, "client order id is invalid. Max length is 36 chars")
+ ErrInvalidEmergencySettle = errors.Register(ModuleName, 99, "market cannot be settled in emergency mode")
)
diff --git a/chain/exchange/types/events.go b/chain/exchange/types/events.go
index 7cb591cd..d0143c3c 100644
--- a/chain/exchange/types/events.go
+++ b/chain/exchange/types/events.go
@@ -4,6 +4,8 @@ import (
"github.com/ethereum/go-ethereum/common"
)
+// Event type and attribute constants
+
func (e *EventOrderFail) AddOrderFail(orderHash common.Hash, flag uint32) {
e.Hashes = append(e.Hashes, orderHash.Bytes())
e.Flags = append(e.Flags, flag)
diff --git a/chain/exchange/types/events.pb.go b/chain/exchange/types/events.pb.go
index fde0ea75..0b05ad3a 100644
--- a/chain/exchange/types/events.pb.go
+++ b/chain/exchange/types/events.pb.go
@@ -5,14 +5,15 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/exchange/types/exchange.go b/chain/exchange/types/exchange.go
index 154f36eb..d4ad366e 100644
--- a/chain/exchange/types/exchange.go
+++ b/chain/exchange/types/exchange.go
@@ -36,10 +36,8 @@ func (e ExecutionType) IsTaker() bool {
func (s MarketStatus) SupportsOrderCancellations() bool {
switch s {
- case MarketStatus_Active, MarketStatus_Demolished, MarketStatus_Expired:
+ case MarketStatus_Active, MarketStatus_Demolished, MarketStatus_Expired, MarketStatus_Paused:
return true
- case MarketStatus_Paused:
- return false
default:
return false
}
diff --git a/chain/exchange/types/exchange.pb.go b/chain/exchange/types/exchange.pb.go
index 7eea3cb6..1db8e74d 100644
--- a/chain/exchange/types/exchange.pb.go
+++ b/chain/exchange/types/exchange.pb.go
@@ -5,14 +5,15 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types1 "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -297,7 +298,8 @@ type Params struct {
MinimalProtocolFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,23,opt,name=minimal_protocol_fee_rate,json=minimalProtocolFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"minimal_protocol_fee_rate"`
// is_instant_derivative_market_launch_enabled defines whether instant
// derivative market launch is enabled
- IsInstantDerivativeMarketLaunchEnabled bool `protobuf:"varint,24,opt,name=is_instant_derivative_market_launch_enabled,json=isInstantDerivativeMarketLaunchEnabled,proto3" json:"is_instant_derivative_market_launch_enabled,omitempty"`
+ IsInstantDerivativeMarketLaunchEnabled bool `protobuf:"varint,24,opt,name=is_instant_derivative_market_launch_enabled,json=isInstantDerivativeMarketLaunchEnabled,proto3" json:"is_instant_derivative_market_launch_enabled,omitempty"`
+ PostOnlyModeHeightThreshold int64 `protobuf:"varint,25,opt,name=post_only_mode_height_threshold,json=postOnlyModeHeightThreshold,proto3" json:"post_only_mode_height_threshold,omitempty"`
}
func (m *Params) Reset() { *m = Params{} }
@@ -396,6 +398,13 @@ func (m *Params) GetIsInstantDerivativeMarketLaunchEnabled() bool {
return false
}
+func (m *Params) GetPostOnlyModeHeightThreshold() int64 {
+ if m != nil {
+ return m.PostOnlyModeHeightThreshold
+ }
+ return 0
+}
+
type MarketFeeMultiplier struct {
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
FeeMultiplier github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=fee_multiplier,json=feeMultiplier,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee_multiplier"`
@@ -1093,6 +1102,7 @@ type OrderInfo struct {
Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
// quantity of the order
Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
+ Cid string `protobuf:"bytes,5,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (m *OrderInfo) Reset() { *m = OrderInfo{} }
@@ -1142,6 +1152,13 @@ func (m *OrderInfo) GetFeeRecipient() string {
return ""
}
+func (m *OrderInfo) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
type SpotOrder struct {
// market_id represents the unique ID of the market
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
@@ -1826,6 +1843,7 @@ type TradeLog struct {
Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
OrderHash []byte `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
FeeRecipientAddress []byte `protobuf:"bytes,6,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"`
+ Cid string `protobuf:"bytes,7,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (m *TradeLog) Reset() { *m = TradeLog{} }
@@ -1882,6 +1900,13 @@ func (m *TradeLog) GetFeeRecipientAddress() []byte {
return nil
}
+func (m *TradeLog) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
type PositionDelta struct {
IsLong bool `protobuf:"varint,1,opt,name=is_long,json=isLong,proto3" json:"is_long,omitempty"`
ExecutionQuantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=execution_quantity,json=executionQuantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"execution_quantity"`
@@ -1936,6 +1961,7 @@ type DerivativeTradeLog struct {
Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
OrderHash []byte `protobuf:"bytes,5,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
FeeRecipientAddress []byte `protobuf:"bytes,6,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"`
+ Cid string `protobuf:"bytes,7,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (m *DerivativeTradeLog) Reset() { *m = DerivativeTradeLog{} }
@@ -1999,6 +2025,13 @@ func (m *DerivativeTradeLog) GetFeeRecipientAddress() []byte {
return nil
}
+func (m *DerivativeTradeLog) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
type SubaccountPosition struct {
Position *Position `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
SubaccountId []byte `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
@@ -3101,263 +3134,266 @@ func init() {
}
var fileDescriptor_2116e2804e9c53f9 = []byte{
- // 4092 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0x4b, 0x6c, 0x5c, 0x59,
- 0x5a, 0xce, 0xad, 0x2a, 0xdb, 0x55, 0xbf, 0xab, 0xca, 0x95, 0xe3, 0x8a, 0x5d, 0x71, 0x12, 0xbb,
- 0xba, 0xd2, 0xe9, 0xb8, 0xd3, 0xd3, 0xce, 0x74, 0x80, 0x51, 0xd3, 0x62, 0xa4, 0x94, 0x5f, 0x9d,
- 0xea, 0xf6, 0xab, 0x6f, 0x55, 0x7a, 0x14, 0x46, 0x3d, 0x77, 0x8e, 0xef, 0x3d, 0x76, 0x9d, 0xce,
- 0x7d, 0x54, 0xee, 0xbd, 0xe5, 0xd8, 0x83, 0x90, 0x10, 0x83, 0x10, 0x63, 0x90, 0x1a, 0x58, 0xc0,
- 0x6c, 0x2c, 0xcd, 0x82, 0x0d, 0x2c, 0x80, 0x05, 0x62, 0xd3, 0xb0, 0x66, 0x96, 0xbd, 0x44, 0x68,
- 0x18, 0x50, 0x7a, 0x01, 0x62, 0x81, 0x04, 0x3b, 0x84, 0x84, 0xd0, 0x79, 0xdc, 0x47, 0x3d, 0x5c,
- 0x76, 0xae, 0x1d, 0x4d, 0x83, 0x66, 0xe5, 0x3a, 0xaf, 0xef, 0x3f, 0xe7, 0x7f, 0x9f, 0xc7, 0x35,
- 0xbc, 0x49, 0xed, 0x4f, 0x89, 0xee, 0xd3, 0x03, 0x72, 0x9f, 0x1c, 0xea, 0x6d, 0x6c, 0xef, 0x93,
- 0xfb, 0x07, 0xef, 0xec, 0x12, 0x1f, 0xbf, 0x13, 0x56, 0x2c, 0x75, 0x5c, 0xc7, 0x77, 0xd0, 0x5c,
- 0xd8, 0x75, 0x29, 0x6c, 0x91, 0x5d, 0xe7, 0xca, 0xfb, 0xce, 0xbe, 0xc3, 0xbb, 0xdd, 0x67, 0xbf,
- 0xc4, 0x88, 0xb9, 0x79, 0xdd, 0xf1, 0x2c, 0xc7, 0xbb, 0xbf, 0x8b, 0xbd, 0x08, 0x55, 0x77, 0xa8,
- 0x2d, 0xdb, 0xef, 0x44, 0xc4, 0x1d, 0x17, 0xeb, 0x66, 0xd4, 0x49, 0x14, 0x45, 0xb7, 0xda, 0x17,
- 0x65, 0x18, 0xdf, 0xc1, 0x2e, 0xb6, 0x3c, 0x44, 0x60, 0xc1, 0xeb, 0x38, 0xbe, 0x66, 0x61, 0xf7,
- 0x29, 0xf1, 0x35, 0x6a, 0x7b, 0x3e, 0xb6, 0x7d, 0xcd, 0xa4, 0x9e, 0x4f, 0xed, 0x7d, 0x6d, 0x8f,
- 0x90, 0x8a, 0x52, 0x55, 0x16, 0x27, 0x1f, 0x5c, 0x5f, 0x12, 0xb4, 0x97, 0x18, 0xed, 0x60, 0x9a,
- 0x4b, 0x2b, 0x0e, 0xb5, 0x97, 0x33, 0x3f, 0xfe, 0xe9, 0xc2, 0x15, 0xf5, 0x06, 0xc3, 0xd9, 0xe4,
- 0x30, 0x0d, 0x81, 0xb2, 0x21, 0x40, 0xd6, 0x09, 0x41, 0xcf, 0xe0, 0x8e, 0x41, 0x5c, 0x7a, 0x80,
- 0xd9, 0xdc, 0x46, 0x11, 0x4b, 0x9d, 0x8f, 0xd8, 0x6b, 0x11, 0xda, 0x69, 0x24, 0x4d, 0xb8, 0x61,
- 0x90, 0x3d, 0xdc, 0x35, 0x7d, 0x4d, 0xae, 0xf0, 0x29, 0x71, 0x19, 0x0d, 0xcd, 0xc5, 0x3e, 0xa9,
- 0xa4, 0xab, 0xca, 0x62, 0x6e, 0x79, 0x89, 0xa1, 0xfd, 0xc3, 0x4f, 0x17, 0xde, 0xd8, 0xa7, 0x7e,
- 0xbb, 0xbb, 0xbb, 0xa4, 0x3b, 0xd6, 0x7d, 0xc9, 0x63, 0xf1, 0xe7, 0x6d, 0xcf, 0x78, 0x7a, 0xdf,
- 0x3f, 0xea, 0x10, 0x6f, 0x69, 0x95, 0xe8, 0xea, 0xac, 0x84, 0x6c, 0xf2, 0xb5, 0x3e, 0x25, 0xee,
- 0x3a, 0x21, 0x2a, 0xf6, 0x07, 0xa9, 0xf9, 0xbd, 0xd4, 0x32, 0x17, 0xa6, 0xd6, 0x8a, 0x53, 0x3b,
- 0x84, 0xd7, 0x02, 0x6a, 0x3d, 0x6c, 0xed, 0xa1, 0x39, 0x96, 0x88, 0xe6, 0x2d, 0x09, 0xbc, 0x1a,
- 0x63, 0xf0, 0x99, 0x94, 0xfb, 0x56, 0x3b, 0x7e, 0x49, 0x94, 0x7b, 0xd6, 0xec, 0xc0, 0xcd, 0x80,
- 0x32, 0xb5, 0xa9, 0x4f, 0xb1, 0xc9, 0xf4, 0x68, 0x9f, 0xda, 0x8c, 0x26, 0x75, 0x2a, 0x13, 0x89,
- 0x88, 0x5e, 0x97, 0x98, 0x0d, 0x01, 0xb9, 0xc9, 0x11, 0x55, 0x06, 0x88, 0x9e, 0x43, 0x35, 0x20,
- 0x68, 0x61, 0x6a, 0xfb, 0xc4, 0xc6, 0xb6, 0x4e, 0x7a, 0x89, 0x66, 0x2f, 0xb4, 0xd2, 0xcd, 0x08,
- 0x36, 0x4e, 0xf8, 0x5d, 0xa8, 0x04, 0x84, 0xf7, 0xba, 0xb6, 0xc1, 0x4c, 0x83, 0xf5, 0x73, 0x0f,
- 0xb0, 0x59, 0xc9, 0x55, 0x95, 0xc5, 0xb4, 0x3a, 0x23, 0xdb, 0xd7, 0x45, 0x73, 0x43, 0xb6, 0xa2,
- 0x37, 0xa1, 0x14, 0x8c, 0xb0, 0xba, 0xa6, 0x4f, 0x3b, 0x26, 0xa9, 0x00, 0x1f, 0x31, 0x25, 0xeb,
- 0x37, 0x65, 0x35, 0xd2, 0x61, 0xc6, 0x25, 0x26, 0x3e, 0x92, 0x72, 0xf3, 0xda, 0xd8, 0x95, 0xd2,
- 0x9b, 0x4c, 0xb4, 0xa6, 0x69, 0x89, 0xb6, 0x4e, 0x48, 0x93, 0x61, 0x71, 0x99, 0xf9, 0xb0, 0x10,
- 0xac, 0xa4, 0xed, 0x74, 0x5d, 0xf3, 0x28, 0x5c, 0x10, 0xa3, 0xa4, 0xe9, 0xb8, 0x53, 0xc9, 0x27,
- 0xa2, 0x16, 0x18, 0xdb, 0x23, 0x8e, 0x2a, 0xd9, 0xc0, 0x48, 0xae, 0xe0, 0x4e, 0x5c, 0x53, 0x24,
- 0x55, 0xce, 0x3e, 0xe2, 0xf9, 0x62, 0x81, 0x85, 0x0b, 0x69, 0x8a, 0x20, 0xd9, 0x90, 0x88, 0x7c,
- 0x99, 0xab, 0xb0, 0x60, 0xe1, 0xc3, 0xb8, 0x41, 0x38, 0xae, 0x41, 0x5c, 0xcd, 0xa3, 0x06, 0xd1,
- 0x74, 0xa7, 0x6b, 0xfb, 0x95, 0x62, 0x55, 0x59, 0x2c, 0xa8, 0x37, 0x2c, 0x7c, 0x18, 0xa9, 0xf7,
- 0x36, 0xeb, 0xd4, 0xa4, 0x06, 0x59, 0x61, 0x5d, 0xd0, 0x6f, 0x29, 0x70, 0x97, 0xda, 0x9f, 0x6a,
- 0x2e, 0x79, 0x8e, 0x5d, 0x43, 0xf3, 0x98, 0x51, 0x19, 0x9a, 0x4b, 0x9e, 0x75, 0xa9, 0x4b, 0x2c,
- 0x62, 0xfb, 0x9a, 0xdf, 0x76, 0x89, 0xd7, 0x76, 0x4c, 0xa3, 0x32, 0xf5, 0xd2, 0x4b, 0x68, 0xd8,
- 0xbe, 0x7a, 0x9b, 0xda, 0x9f, 0xaa, 0x1c, 0xbd, 0xc9, 0xc1, 0xd5, 0x08, 0xbb, 0x15, 0x40, 0xa3,
- 0xf7, 0xa1, 0xea, 0xbb, 0x58, 0x08, 0x89, 0xf7, 0xf5, 0xb4, 0x03, 0x22, 0x1c, 0xb4, 0xd1, 0xe5,
- 0x5a, 0x6f, 0x57, 0x4a, 0x5c, 0xa7, 0x6e, 0xc9, 0x7e, 0x02, 0xd2, 0xfb, 0x58, 0xf4, 0x5a, 0x95,
- 0x9d, 0x98, 0x18, 0x4c, 0xfa, 0xac, 0x4b, 0x0d, 0xec, 0x3b, 0x6e, 0xb8, 0xaa, 0x48, 0xcf, 0xae,
- 0x26, 0x13, 0x43, 0x84, 0x29, 0x97, 0x12, 0x6a, 0xdb, 0x21, 0xbc, 0xb9, 0x4b, 0x6d, 0xec, 0x1e,
- 0x69, 0x4e, 0x87, 0xcd, 0xc0, 0x1b, 0x15, 0x68, 0xd0, 0xf9, 0x02, 0xcd, 0xeb, 0x02, 0x71, 0x5b,
- 0x00, 0x9e, 0x16, 0x6b, 0x7e, 0x43, 0x81, 0x2a, 0xf6, 0x1d, 0x8b, 0xea, 0x01, 0x49, 0xa1, 0x00,
- 0x58, 0xd7, 0x89, 0xe7, 0x69, 0x26, 0x39, 0x20, 0x66, 0x65, 0xba, 0xaa, 0x2c, 0x16, 0x1f, 0xbc,
- 0xbb, 0x74, 0x7a, 0xd4, 0x5f, 0xaa, 0x73, 0x0c, 0x41, 0x85, 0x6b, 0x47, 0x9d, 0x03, 0x6c, 0xb0,
- 0xf1, 0xea, 0x4d, 0x3c, 0xa2, 0x15, 0x7d, 0x5f, 0x81, 0xbb, 0x3c, 0xf2, 0x0c, 0x9b, 0x07, 0xb3,
- 0x70, 0xe9, 0x10, 0x28, 0x71, 0x2b, 0xe5, 0x44, 0x9c, 0xaf, 0x31, 0xf8, 0x81, 0x19, 0xae, 0x13,
- 0xb2, 0x19, 0x22, 0xa3, 0xcf, 0x14, 0x78, 0x3b, 0x66, 0x06, 0xe7, 0x98, 0xcb, 0xb5, 0x44, 0x73,
- 0x59, 0x8c, 0x88, 0x9c, 0x31, 0xa3, 0x3f, 0x52, 0xe0, 0x9d, 0x3e, 0xad, 0x38, 0xc7, 0xac, 0x66,
- 0x12, 0xcd, 0xea, 0xad, 0x1e, 0x65, 0x39, 0x63, 0x62, 0x14, 0xae, 0x5b, 0xd4, 0xa6, 0x16, 0x36,
- 0x35, 0x9e, 0x95, 0xe9, 0x8e, 0x19, 0x45, 0xd0, 0xd9, 0x44, 0xf4, 0x67, 0x24, 0xe0, 0x8e, 0xc4,
- 0x0b, 0x42, 0xe7, 0xb7, 0xe1, 0x2d, 0xea, 0x85, 0x56, 0x30, 0x98, 0x88, 0x99, 0xb8, 0x6b, 0xeb,
- 0x6d, 0x8d, 0xd8, 0x78, 0xd7, 0x24, 0x46, 0xa5, 0x52, 0x55, 0x16, 0xb3, 0xea, 0x1b, 0xd4, 0x93,
- 0x8a, 0xbe, 0xda, 0x97, 0x6b, 0x6d, 0xf0, 0xee, 0x6b, 0xa2, 0xf7, 0x7b, 0x99, 0x7f, 0xfd, 0xd1,
- 0x82, 0x52, 0xfb, 0x4c, 0x81, 0x69, 0xd1, 0xda, 0xbb, 0xca, 0x1b, 0x90, 0x0b, 0x8c, 0xd0, 0xe0,
- 0x99, 0x64, 0x4e, 0xcd, 0x8a, 0x8a, 0x86, 0x81, 0x1e, 0x43, 0xb1, 0x8f, 0xef, 0xa9, 0x44, 0xeb,
- 0x2e, 0xec, 0xc5, 0x69, 0xbe, 0x97, 0xf9, 0x9d, 0x1f, 0x2d, 0x5c, 0xa9, 0xfd, 0x79, 0x16, 0x4a,
- 0xfd, 0x33, 0x47, 0x33, 0x30, 0xee, 0x53, 0xfd, 0x29, 0x71, 0xe5, 0x5c, 0x64, 0x09, 0x2d, 0xc0,
- 0xa4, 0xc8, 0x90, 0x35, 0xe6, 0x08, 0xc4, 0x34, 0x54, 0x10, 0x55, 0xcb, 0xd8, 0x23, 0xe8, 0x35,
- 0xc8, 0xcb, 0x0e, 0xcf, 0xba, 0x4e, 0x90, 0x3e, 0xaa, 0x72, 0xd0, 0x47, 0xac, 0x0a, 0xad, 0x85,
- 0x18, 0x6c, 0x66, 0x3c, 0xe5, 0x2b, 0x3e, 0x78, 0x3d, 0x66, 0xee, 0x32, 0x07, 0x0f, 0x8c, 0x7d,
- 0x9b, 0x17, 0x5b, 0x47, 0x1d, 0x12, 0x50, 0x62, 0xbf, 0xd1, 0x12, 0x4c, 0x4b, 0x18, 0x4f, 0xc7,
- 0x26, 0xd1, 0xf6, 0xb0, 0xee, 0x3b, 0x2e, 0xcf, 0xe6, 0x0a, 0xea, 0x55, 0xd1, 0xd4, 0x64, 0x2d,
- 0xeb, 0xbc, 0x81, 0x4d, 0x9d, 0x4f, 0x49, 0x33, 0x88, 0xed, 0x58, 0x22, 0xf7, 0x52, 0x81, 0x57,
- 0xad, 0xb2, 0x9a, 0x5e, 0x11, 0x4c, 0xf4, 0x89, 0xe0, 0xbb, 0x50, 0x1e, 0x9a, 0x4d, 0x25, 0x4b,
- 0x6c, 0x10, 0x1d, 0x4c, 0xa3, 0xda, 0x50, 0x39, 0x35, 0x7d, 0xca, 0x25, 0x54, 0xf3, 0xe1, 0x79,
- 0x53, 0x0b, 0x8a, 0x7d, 0x29, 0x30, 0x24, 0xc2, 0xcf, 0x5b, 0xf1, 0xbc, 0xb3, 0x05, 0xc5, 0xbe,
- 0xf4, 0x36, 0x59, 0x82, 0x94, 0xf7, 0xe3, 0xa8, 0xa7, 0xa7, 0x5f, 0xf9, 0xcb, 0x4b, 0xbf, 0xaa,
- 0x30, 0x49, 0xbd, 0x1d, 0xe2, 0x76, 0x88, 0xdf, 0xc5, 0x26, 0xcf, 0x7b, 0xb2, 0x6a, 0xbc, 0x0a,
- 0x3d, 0x84, 0x71, 0xcf, 0xc7, 0x7e, 0xd7, 0xe3, 0x09, 0x4a, 0xf1, 0xc1, 0xe2, 0xa8, 0xe8, 0x24,
- 0x6c, 0xa8, 0xc9, 0xfb, 0xab, 0x72, 0x1c, 0xfa, 0x04, 0xa6, 0x2d, 0x6a, 0x6b, 0x1d, 0x97, 0xea,
- 0x44, 0x63, 0xd6, 0xa4, 0x79, 0xf4, 0x7b, 0x24, 0x41, 0x82, 0xc2, 0x56, 0x51, 0xb2, 0xa8, 0xbd,
- 0xc3, 0x90, 0x5a, 0x54, 0x7f, 0xda, 0xa4, 0xdf, 0xe3, 0x7c, 0x62, 0xf0, 0xcf, 0xba, 0xd8, 0xf6,
- 0xa9, 0x7f, 0x14, 0xa3, 0x50, 0x4a, 0xc6, 0x27, 0x8b, 0xda, 0x1f, 0x49, 0xb0, 0x80, 0x88, 0x74,
- 0x18, 0x7f, 0x92, 0x85, 0xe9, 0xe5, 0xc1, 0x68, 0x7f, 0xaa, 0xcf, 0xb8, 0x0d, 0x85, 0xc0, 0x50,
- 0x8f, 0xac, 0x5d, 0xc7, 0x94, 0x5e, 0x43, 0xfa, 0x89, 0x26, 0xaf, 0x43, 0x77, 0x61, 0x4a, 0x76,
- 0xea, 0xb8, 0xce, 0x01, 0x35, 0x88, 0x2b, 0x5d, 0x47, 0x51, 0x54, 0xef, 0xc8, 0xda, 0x9f, 0x95,
- 0xf7, 0x78, 0x07, 0xca, 0xe4, 0xb0, 0x43, 0x45, 0xca, 0xa6, 0xf9, 0xd4, 0x22, 0x9e, 0x8f, 0xad,
- 0x0e, 0x77, 0x23, 0x69, 0x75, 0x3a, 0x6a, 0x6b, 0x05, 0x4d, 0x6c, 0x88, 0x47, 0x7c, 0xdf, 0x94,
- 0x39, 0x69, 0x38, 0x64, 0x42, 0x0c, 0x89, 0xda, 0xa2, 0x21, 0x65, 0x18, 0xc3, 0x86, 0x45, 0x6d,
- 0xe1, 0x56, 0x54, 0x51, 0xe8, 0xf7, 0x5c, 0xb9, 0xd1, 0x9e, 0x0b, 0xfa, 0x3c, 0xd7, 0xa0, 0xb5,
- 0x4f, 0xbe, 0x12, 0x6b, 0xcf, 0xbf, 0x52, 0x6b, 0x2f, 0x5c, 0x9e, 0xb5, 0xff, 0xdc, 0x96, 0x19,
- 0x91, 0x27, 0x50, 0x8a, 0x69, 0x27, 0x5f, 0x4a, 0x6c, 0xa7, 0xa1, 0xbc, 0x04, 0xfc, 0x54, 0x84,
- 0xc3, 0xd7, 0x21, 0xdd, 0xc4, 0x7f, 0xa7, 0x60, 0x76, 0x8d, 0x99, 0xc5, 0xd1, 0x7a, 0xd7, 0xef,
- 0xba, 0x24, 0xdc, 0x14, 0xec, 0x39, 0xa3, 0xb3, 0x9d, 0xd3, 0x4c, 0x2d, 0x75, 0xba, 0xa9, 0x7d,
- 0x1d, 0xca, 0xfe, 0x73, 0xdc, 0x61, 0x7b, 0x41, 0x37, 0x6e, 0x6a, 0x69, 0x3e, 0x04, 0xb1, 0xb6,
- 0x26, 0x6b, 0x8a, 0x46, 0xfc, 0xa6, 0x02, 0x6f, 0xc4, 0xa9, 0x44, 0xa3, 0x85, 0x54, 0xf5, 0xae,
- 0xd5, 0x35, 0x79, 0x46, 0x94, 0xf0, 0x4c, 0xaa, 0x16, 0x9b, 0x67, 0x40, 0x9e, 0xb3, 0x67, 0x25,
- 0x44, 0x1e, 0x2a, 0x83, 0x64, 0xa7, 0x51, 0xfd, 0x32, 0xa8, 0xfd, 0x24, 0x05, 0xd3, 0x61, 0xf8,
- 0x3a, 0x2f, 0xe7, 0x09, 0xcc, 0x9e, 0x76, 0xfc, 0x90, 0x2c, 0xe1, 0x2c, 0xb7, 0x87, 0x9d, 0x3b,
- 0x7c, 0x17, 0xca, 0x43, 0xcf, 0x1b, 0x92, 0x1d, 0x35, 0xa2, 0xf6, 0xe0, 0x41, 0xc3, 0x2f, 0xc2,
- 0x8c, 0x4d, 0x0e, 0xa3, 0x63, 0xa1, 0x48, 0x23, 0x32, 0x5c, 0x23, 0xca, 0xac, 0x55, 0xce, 0x2a,
- 0xd2, 0x89, 0xd8, 0xa9, 0x50, 0x78, 0x8e, 0x34, 0xd6, 0x73, 0x2a, 0x14, 0x1c, 0x20, 0xd5, 0xfe,
- 0x4b, 0x81, 0x99, 0x3e, 0xf6, 0x4a, 0x38, 0xf4, 0x09, 0xa0, 0x48, 0x79, 0x82, 0x19, 0x08, 0x56,
- 0xbf, 0xf4, 0xda, 0xae, 0x46, 0x48, 0x01, 0xfc, 0x13, 0x28, 0xc5, 0xe0, 0x85, 0xce, 0x24, 0x13,
- 0xce, 0x54, 0x84, 0xc3, 0x75, 0x06, 0xdd, 0x81, 0xa2, 0x89, 0xbd, 0x41, 0xfb, 0x29, 0xb0, 0xda,
- 0x90, 0x4d, 0xb5, 0x1f, 0x2a, 0x30, 0xdf, 0xbf, 0x61, 0x68, 0x86, 0xea, 0x77, 0xb6, 0x96, 0x0d,
- 0xd3, 0xfa, 0xd4, 0xe5, 0x68, 0xfd, 0x37, 0xa1, 0xbc, 0x35, 0x4c, 0xb2, 0x77, 0xa0, 0xc8, 0xf5,
- 0x21, 0x5a, 0x99, 0x22, 0x56, 0xc6, 0x6a, 0xa3, 0x95, 0xfd, 0x6e, 0x0a, 0x8a, 0x9b, 0xd4, 0xe0,
- 0x58, 0x75, 0xdb, 0x68, 0x6d, 0x2f, 0xa3, 0x0f, 0x21, 0x67, 0x51, 0x43, 0xce, 0x52, 0x49, 0xe4,
- 0x1f, 0xb3, 0x96, 0x84, 0x64, 0x41, 0x73, 0x97, 0x69, 0xfb, 0x6e, 0xf7, 0x68, 0x60, 0xdd, 0x2f,
- 0x83, 0x98, 0x67, 0x28, 0xcb, 0xdd, 0x23, 0x81, 0xfa, 0x31, 0x4c, 0x71, 0x54, 0x8f, 0x98, 0xa6,
- 0x84, 0x4d, 0x27, 0x82, 0x2d, 0x30, 0x98, 0x26, 0x31, 0x4d, 0xc1, 0xcc, 0x1f, 0x8e, 0x01, 0x34,
- 0xc3, 0xbb, 0x8a, 0x53, 0xd3, 0xbb, 0x5b, 0x00, 0x6c, 0x2f, 0x28, 0x93, 0x13, 0x91, 0xdb, 0xe5,
- 0x58, 0x8d, 0xc8, 0x4d, 0xfa, 0x92, 0x97, 0xf4, 0x40, 0xf2, 0x32, 0x98, 0x9f, 0x64, 0x5e, 0x49,
- 0x7e, 0x32, 0xf6, 0x4a, 0xf3, 0x93, 0xf1, 0xcb, 0xcb, 0x4f, 0x46, 0xee, 0x43, 0xa3, 0xe4, 0x25,
- 0x7b, 0xb9, 0xc9, 0x4b, 0xee, 0x95, 0x27, 0x2f, 0x70, 0x69, 0xc9, 0x4b, 0xed, 0x73, 0x05, 0x26,
- 0x56, 0x49, 0xc7, 0xf1, 0xa8, 0x8f, 0xbe, 0x0d, 0x57, 0xf1, 0x01, 0xa6, 0x26, 0xde, 0xe5, 0xa7,
- 0x12, 0x26, 0xdb, 0xed, 0x26, 0x74, 0xb7, 0xa5, 0x10, 0x68, 0x59, 0xe0, 0xa0, 0x26, 0x14, 0x7c,
- 0xc7, 0xc7, 0x66, 0x08, 0x9c, 0x4a, 0xa8, 0x45, 0x0c, 0x44, 0x82, 0xd6, 0xbe, 0x06, 0xe5, 0x66,
- 0x77, 0x17, 0xeb, 0xfc, 0xc4, 0xbb, 0xe5, 0x62, 0x83, 0x6c, 0x39, 0x8c, 0x58, 0x19, 0xc6, 0x6c,
- 0x27, 0x98, 0x7d, 0x41, 0x15, 0x85, 0xda, 0xbf, 0x28, 0x90, 0xe3, 0xc7, 0x62, 0xdc, 0xb3, 0xde,
- 0x86, 0x82, 0x17, 0x8e, 0x8d, 0xbc, 0x6b, 0x3e, 0xaa, 0x6c, 0x18, 0xac, 0x13, 0x57, 0x7b, 0xa2,
- 0xd3, 0x0e, 0x25, 0xb6, 0x1f, 0xec, 0xb8, 0xf6, 0x08, 0x51, 0x83, 0x3a, 0xb4, 0x0a, 0x63, 0xfd,
- 0xce, 0xe2, 0x65, 0x96, 0x24, 0x06, 0xa3, 0x0f, 0x20, 0x1b, 0x88, 0x3a, 0xa1, 0xdd, 0x86, 0xe3,
- 0x6b, 0x9f, 0xa5, 0x20, 0xc7, 0x1c, 0x0e, 0x5f, 0xed, 0xe8, 0x18, 0xf2, 0x01, 0x80, 0x38, 0x8f,
- 0xa4, 0xf6, 0x9e, 0x23, 0x2f, 0x43, 0xef, 0x8c, 0x32, 0x85, 0x90, 0x83, 0xf2, 0xbc, 0x3a, 0xe7,
- 0x84, 0x2c, 0x5d, 0x0d, 0xb0, 0xf8, 0x86, 0x32, 0xcd, 0xcd, 0xea, 0x6c, 0x2c, 0xbe, 0xa3, 0x14,
- 0x28, 0x7c, 0x43, 0xc9, 0x34, 0xc5, 0xa5, 0xfb, 0xfb, 0xc4, 0x95, 0x3e, 0x38, 0x93, 0xcc, 0xb5,
- 0x4b, 0x10, 0xe1, 0x82, 0x5f, 0xa4, 0xa0, 0xc8, 0x38, 0xb2, 0x41, 0x2d, 0x2a, 0xd9, 0xd2, 0xbb,
- 0x72, 0xe5, 0x12, 0x57, 0x9e, 0x4a, 0xb8, 0xf2, 0x0f, 0x20, 0xbb, 0x47, 0x4d, 0x6e, 0x36, 0x09,
- 0x75, 0x29, 0x1c, 0xff, 0x4a, 0xb8, 0xc8, 0x22, 0x94, 0x58, 0x66, 0x1b, 0x7b, 0x6d, 0x1e, 0x07,
- 0xf2, 0x72, 0xfe, 0x8f, 0xb0, 0xd7, 0xae, 0xfd, 0x5b, 0x0a, 0xa6, 0xa2, 0x38, 0x77, 0xf9, 0x5c,
- 0xfe, 0x08, 0xf2, 0xd2, 0x7b, 0x68, 0xfc, 0x4e, 0x2a, 0x99, 0x0b, 0x99, 0x94, 0x18, 0x8f, 0x1c,
- 0xd3, 0xe8, 0x5b, 0x51, 0xba, 0x6f, 0x45, 0x7d, 0x72, 0xcd, 0x5c, 0x96, 0x46, 0x8f, 0x5d, 0x82,
- 0x46, 0xff, 0x63, 0x0a, 0xa6, 0xfa, 0x6e, 0xf6, 0xfe, 0xaf, 0x59, 0xfa, 0x3a, 0x8c, 0x8b, 0xc3,
- 0xd9, 0x84, 0x0e, 0x4f, 0x8e, 0x7e, 0x35, 0xfc, 0xfd, 0xc3, 0x0c, 0xdc, 0x88, 0x82, 0x0b, 0x9f,
- 0xff, 0xae, 0xe3, 0x3c, 0xdd, 0x24, 0x3e, 0x36, 0xb0, 0x8f, 0xd1, 0x2f, 0xc3, 0xf5, 0x03, 0x6c,
- 0x33, 0x73, 0xd3, 0x4c, 0xe6, 0x54, 0xe4, 0xb5, 0x8e, 0xb8, 0x7c, 0x15, 0x71, 0x67, 0x46, 0x76,
- 0x88, 0x9c, 0x8e, 0xb8, 0x77, 0x7d, 0x08, 0xb7, 0x5c, 0x62, 0x74, 0x75, 0xa2, 0x39, 0xb6, 0x79,
- 0x34, 0x64, 0x78, 0x8a, 0x0f, 0xbf, 0x2e, 0x3a, 0x6d, 0xdb, 0xe6, 0x51, 0x3f, 0x82, 0x07, 0xf3,
- 0x78, 0x7f, 0xdf, 0x25, 0xfb, 0x6c, 0x57, 0x19, 0xc7, 0x0a, 0x43, 0x48, 0x32, 0xff, 0x71, 0x23,
- 0x44, 0x55, 0x43, 0xda, 0x41, 0xce, 0x80, 0x4c, 0x98, 0x8b, 0x88, 0x06, 0x6b, 0xbf, 0x60, 0xcc,
- 0xaa, 0x84, 0x88, 0x1f, 0x0b, 0xc0, 0x90, 0xda, 0x1a, 0x2c, 0x04, 0x34, 0x74, 0xc7, 0x36, 0x28,
- 0xdb, 0xff, 0x63, 0xb3, 0x87, 0x4d, 0xe2, 0x8c, 0xf1, 0xa6, 0xec, 0xb6, 0x12, 0xf5, 0x8a, 0x71,
- 0x6a, 0x03, 0x6e, 0xc7, 0xf9, 0x73, 0x1a, 0xd4, 0x38, 0x87, 0x5a, 0x88, 0x38, 0x3e, 0x14, 0xad,
- 0xf6, 0x77, 0x0a, 0x4c, 0xf5, 0x29, 0x45, 0x14, 0xfe, 0x95, 0xcb, 0x0a, 0xff, 0xa9, 0x8b, 0x85,
- 0x7f, 0x54, 0x83, 0x3c, 0xf5, 0x22, 0x01, 0x72, 0x5d, 0xc8, 0xaa, 0x3d, 0x75, 0xb5, 0xe7, 0x30,
- 0xdd, 0xb7, 0x90, 0x55, 0xa6, 0xd5, 0x75, 0x18, 0xe3, 0x6c, 0x91, 0x9e, 0xfa, 0xad, 0x51, 0x36,
- 0xdd, 0x37, 0x5e, 0x15, 0x23, 0xfb, 0x5c, 0x6a, 0xaa, 0x3f, 0x48, 0xfc, 0x65, 0x1a, 0xca, 0x91,
- 0xdf, 0xfa, 0x4a, 0xc7, 0xe3, 0xc8, 0x3f, 0xa5, 0x2f, 0xe4, 0x9f, 0xe2, 0x71, 0x3d, 0x73, 0xd9,
- 0x71, 0x7d, 0xec, 0xd2, 0xe3, 0xfa, 0x78, 0xbf, 0xc8, 0xfe, 0x3a, 0x0d, 0xd7, 0xfa, 0xcf, 0x29,
- 0xfe, 0xbf, 0xcb, 0x6c, 0x1b, 0x26, 0xe5, 0xc5, 0x21, 0x4f, 0x35, 0x92, 0x89, 0x0d, 0x04, 0x04,
- 0xcf, 0x34, 0x7e, 0x16, 0x82, 0xfb, 0x8f, 0x14, 0x64, 0x77, 0xd8, 0xde, 0x8e, 0x3a, 0x36, 0x9a,
- 0x81, 0x71, 0xea, 0x6d, 0x38, 0xf2, 0x08, 0x2d, 0xab, 0xca, 0xd2, 0xa5, 0x7a, 0x9e, 0x6d, 0x98,
- 0x24, 0xb6, 0xef, 0x1e, 0x69, 0x17, 0xd9, 0x10, 0x01, 0x87, 0x10, 0x0b, 0xbc, 0xac, 0x14, 0xa1,
- 0x0d, 0x95, 0xc1, 0xb3, 0x44, 0x8d, 0x13, 0x4a, 0x78, 0x9e, 0x31, 0x33, 0x70, 0xa2, 0xb8, 0xc6,
- 0xd0, 0x6a, 0x0d, 0x28, 0xc7, 0x2c, 0xa4, 0x61, 0x1b, 0x54, 0xc7, 0xbe, 0x73, 0x46, 0x6e, 0x56,
- 0x86, 0x31, 0xea, 0x2d, 0x77, 0x85, 0x00, 0xb2, 0xaa, 0x28, 0xd4, 0x7e, 0x92, 0x82, 0x2c, 0xdf,
- 0xd5, 0x6e, 0x38, 0xbd, 0x62, 0x52, 0x2e, 0x28, 0xa6, 0x30, 0x64, 0xa5, 0x2e, 0x12, 0xb2, 0x06,
- 0x76, 0xd0, 0x22, 0x7d, 0xee, 0xdd, 0x41, 0x3f, 0x84, 0xf4, 0x1e, 0x49, 0xea, 0xf6, 0xd8, 0xd0,
- 0x33, 0x36, 0x1d, 0xe8, 0x5d, 0xb8, 0xd6, 0xb3, 0x45, 0xd7, 0xb0, 0x61, 0xb8, 0xc4, 0xf3, 0x84,
- 0x35, 0x70, 0x37, 0xa3, 0xa8, 0xd3, 0xf1, 0x0d, 0x7b, 0x5d, 0x74, 0xa8, 0x7d, 0x9e, 0x82, 0x42,
- 0x60, 0x1d, 0xab, 0xc4, 0xf4, 0x31, 0x9a, 0x85, 0x09, 0xea, 0x69, 0xe6, 0xa0, 0x8d, 0x7c, 0x02,
- 0x88, 0x1c, 0x12, 0xbd, 0xcb, 0xaf, 0x38, 0x2e, 0x68, 0x2d, 0x57, 0x43, 0xa4, 0x30, 0xd7, 0x79,
- 0x02, 0xa5, 0x08, 0xfe, 0x42, 0xee, 0x6b, 0x2a, 0xc4, 0x11, 0xef, 0x14, 0xd0, 0xb7, 0x20, 0xaa,
- 0x1a, 0xd8, 0x09, 0xbe, 0x0c, 0x72, 0x31, 0x84, 0x11, 0xf9, 0xf1, 0xbf, 0xa7, 0x00, 0xc5, 0x1e,
- 0xce, 0x06, 0x6a, 0x3a, 0xf4, 0x58, 0xa5, 0x5f, 0x29, 0x76, 0xa0, 0xd8, 0x91, 0x8c, 0xd7, 0x0c,
- 0xc6, 0x79, 0xb9, 0x1d, 0x79, 0x73, 0x94, 0xbb, 0xef, 0x11, 0x95, 0x5a, 0xe8, 0xf4, 0x48, 0x6e,
- 0x1d, 0xc6, 0x3b, 0xf8, 0xc8, 0xe9, 0xfa, 0x49, 0xdd, 0xbe, 0x18, 0xfd, 0x55, 0x56, 0xd7, 0x5f,
- 0x03, 0x14, 0x65, 0x5c, 0xa1, 0x57, 0x7f, 0x08, 0xd9, 0x80, 0x13, 0x32, 0xfe, 0xbe, 0x7e, 0x1e,
- 0x26, 0xaa, 0xe1, 0xa8, 0x41, 0x89, 0xa5, 0x06, 0x25, 0x56, 0x7b, 0x0e, 0x57, 0x23, 0xe2, 0xc1,
- 0x81, 0xe1, 0xb9, 0x64, 0xfd, 0x4d, 0x98, 0x30, 0x44, 0x7f, 0x29, 0xe4, 0xdb, 0xa3, 0xe6, 0x27,
- 0xa1, 0xd5, 0x60, 0x4c, 0xad, 0x03, 0x05, 0x59, 0xf7, 0xb8, 0x63, 0x60, 0x9f, 0x9f, 0xed, 0x89,
- 0x03, 0x70, 0xe1, 0x43, 0x45, 0x01, 0x35, 0x20, 0x2b, 0x47, 0x78, 0x95, 0x54, 0x35, 0xbd, 0x38,
- 0xf9, 0xe0, 0xed, 0xf3, 0xa5, 0xae, 0x01, 0xc1, 0x70, 0x78, 0xed, 0x85, 0x02, 0xa5, 0x1d, 0x87,
- 0xda, 0xbe, 0x17, 0x7b, 0x55, 0xb6, 0x07, 0xb3, 0xe2, 0x6c, 0xbd, 0xc3, 0x5b, 0xe2, 0x2f, 0xc8,
- 0x92, 0x39, 0xe3, 0x6b, 0x1c, 0x6e, 0x18, 0x1d, 0xff, 0x14, 0x3a, 0xc9, 0xbc, 0xcd, 0x35, 0x7f,
- 0x18, 0x9d, 0xda, 0xff, 0xa4, 0x60, 0xbe, 0x15, 0x7f, 0x4c, 0xbb, 0x82, 0xad, 0x0e, 0xa6, 0xfb,
- 0xf6, 0xb2, 0xe3, 0x78, 0xe2, 0xea, 0xe9, 0x97, 0x60, 0x76, 0x97, 0x15, 0x88, 0xa1, 0xf5, 0x7c,
- 0xb0, 0x61, 0x78, 0x15, 0xa5, 0x9a, 0x5e, 0xcc, 0xa9, 0x65, 0xd9, 0x1c, 0x1d, 0xf9, 0x34, 0x0c,
- 0x0f, 0x7d, 0x0a, 0xb3, 0xf1, 0xee, 0xd1, 0x02, 0x02, 0xc1, 0x7c, 0x6d, 0xb4, 0x7e, 0xf6, 0x4e,
- 0x54, 0xa6, 0x89, 0xd7, 0xa2, 0x4f, 0x3d, 0xa2, 0x36, 0x0f, 0xd5, 0xe1, 0x56, 0x30, 0xc5, 0x21,
- 0x1f, 0x7b, 0x18, 0x5e, 0x25, 0xcd, 0x27, 0x3a, 0x27, 0x3b, 0xf5, 0xe7, 0xb0, 0x6c, 0xba, 0x07,
- 0x70, 0x6b, 0x70, 0x68, 0x7c, 0xd2, 0x99, 0xc4, 0x93, 0xbe, 0xd1, 0xff, 0xc9, 0x48, 0x6c, 0xea,
- 0xb5, 0xbf, 0x51, 0x00, 0x05, 0x3c, 0x17, 0x12, 0xd8, 0x71, 0xc4, 0xeb, 0x9d, 0xfe, 0xab, 0x77,
- 0x71, 0xc1, 0x56, 0xf4, 0x7a, 0xaf, 0xdd, 0x7f, 0x1d, 0xca, 0x16, 0x3e, 0xd4, 0x74, 0x09, 0x11,
- 0xbc, 0x9c, 0x96, 0x3c, 0x1e, 0xf1, 0xca, 0xf8, 0xeb, 0x6c, 0x6e, 0x7f, 0xf6, 0x4f, 0x0b, 0x8b,
- 0xe7, 0x50, 0x20, 0x36, 0xc0, 0x53, 0x91, 0x85, 0x0f, 0x7b, 0xa7, 0xea, 0xd5, 0xfe, 0x34, 0x05,
- 0xd7, 0x87, 0xea, 0x0f, 0x57, 0x9d, 0xf7, 0xe0, 0x7a, 0x38, 0xb1, 0xe0, 0x09, 0xb7, 0xe6, 0x11,
- 0xb6, 0xf9, 0xf6, 0xe4, 0x7a, 0x66, 0x83, 0x0e, 0xc1, 0xeb, 0xed, 0xa6, 0x68, 0x46, 0xaf, 0x41,
- 0x3e, 0x76, 0xcd, 0x25, 0x16, 0x94, 0x53, 0x27, 0xa3, 0x7b, 0x2e, 0x0f, 0x75, 0xe1, 0x7a, 0xef,
- 0x83, 0x71, 0x8d, 0x0b, 0x58, 0x6c, 0x42, 0xd2, 0xdc, 0xc9, 0xbc, 0x37, 0x4a, 0x5e, 0xa3, 0x15,
- 0x5f, 0x9d, 0xe9, 0x79, 0x65, 0x1e, 0x19, 0xc4, 0x37, 0x60, 0xd6, 0xa0, 0xde, 0xb3, 0x2e, 0x36,
- 0xe9, 0x1e, 0x25, 0x46, 0x5c, 0xcf, 0x32, 0x7c, 0x92, 0xd7, 0xe2, 0xcd, 0xa1, 0x8a, 0xd5, 0xfe,
- 0x33, 0x05, 0xd3, 0xeb, 0x84, 0xac, 0x52, 0x4f, 0xdc, 0x53, 0x50, 0xb9, 0xe1, 0xf9, 0x0e, 0x4c,
- 0x0b, 0x9f, 0x62, 0xc8, 0x16, 0x71, 0x01, 0x96, 0xf0, 0x82, 0x9b, 0x43, 0x05, 0x34, 0xf8, 0xf5,
- 0xd7, 0x77, 0x60, 0xda, 0x1f, 0x82, 0x9f, 0x30, 0x6b, 0xf1, 0x07, 0xf0, 0x9b, 0x50, 0x90, 0x9f,
- 0x0c, 0x60, 0x8b, 0x1f, 0xa2, 0xa4, 0x13, 0x7d, 0x23, 0x90, 0x17, 0x20, 0x75, 0x8e, 0xc1, 0x02,
- 0xf9, 0x81, 0x63, 0x76, 0xad, 0xa4, 0x31, 0x58, 0x8e, 0xae, 0xfd, 0x5e, 0x2f, 0xd3, 0x9b, 0x7a,
- 0x9b, 0x18, 0x5d, 0x93, 0x3f, 0xab, 0xdd, 0xed, 0xea, 0x4c, 0x6e, 0xd1, 0x49, 0x5d, 0x46, 0x9d,
- 0x14, 0x75, 0xe2, 0xc8, 0xe8, 0x2e, 0x4c, 0xc9, 0x2e, 0xe1, 0xe7, 0x07, 0xe2, 0xc5, 0x4c, 0x51,
- 0x54, 0x87, 0xdf, 0x1b, 0xf4, 0xab, 0x6a, 0x7a, 0x50, 0x55, 0xb7, 0x00, 0x7c, 0x2a, 0xf7, 0xc7,
- 0x81, 0x2f, 0xb9, 0x3f, 0x4a, 0x37, 0x87, 0x28, 0x8a, 0x9a, 0xf3, 0xe5, 0x2f, 0x6f, 0x94, 0x0e,
- 0x8e, 0x8d, 0xd2, 0xc1, 0x4d, 0x40, 0x7d, 0xc8, 0xad, 0xd6, 0x06, 0x42, 0x90, 0xf1, 0x83, 0x10,
- 0x96, 0x51, 0xf9, 0x6f, 0x16, 0xd4, 0x7d, 0xdf, 0x1c, 0x78, 0x2d, 0x94, 0xf7, 0x7d, 0x33, 0xba,
- 0xdf, 0xff, 0x2b, 0x05, 0xf2, 0x1f, 0x73, 0x46, 0xab, 0x44, 0x77, 0x5c, 0x03, 0x7d, 0x04, 0xe2,
- 0xd6, 0x58, 0x93, 0xc2, 0x4b, 0xa6, 0xc4, 0x93, 0x1c, 0x43, 0x00, 0x33, 0x48, 0x3f, 0x0e, 0x99,
- 0xf0, 0xb4, 0xdf, 0x8f, 0x20, 0x6b, 0x7f, 0xa0, 0x40, 0xb1, 0x2e, 0xe2, 0xbe, 0x74, 0x64, 0xa8,
- 0x02, 0x13, 0x32, 0x13, 0x90, 0x09, 0x45, 0x50, 0x44, 0x04, 0x26, 0x5e, 0xa1, 0x53, 0x0d, 0xb0,
- 0x6b, 0xbf, 0xad, 0x40, 0x9e, 0x67, 0xcf, 0x82, 0x93, 0xde, 0x59, 0x4f, 0x3e, 0xca, 0x26, 0xf6,
- 0x89, 0xe7, 0x6b, 0xcc, 0x49, 0xf1, 0x3c, 0xd2, 0x89, 0x66, 0x78, 0xf7, 0x2c, 0xaf, 0x27, 0x89,
- 0xa8, 0x48, 0x80, 0xc4, 0xe9, 0xd6, 0xbe, 0x01, 0x85, 0x28, 0x2d, 0x6a, 0xac, 0x7a, 0xe8, 0x0e,
- 0x14, 0x7b, 0xd2, 0x3b, 0x11, 0xf7, 0xf3, 0x6a, 0x21, 0x9e, 0xdf, 0x79, 0xb5, 0xbf, 0x55, 0x60,
- 0x32, 0x06, 0x84, 0x6e, 0x42, 0xae, 0x3f, 0x78, 0x45, 0x15, 0x97, 0xb4, 0xf5, 0x8c, 0x6f, 0x86,
- 0xd3, 0x17, 0xbc, 0x2c, 0xfd, 0xbe, 0x02, 0x63, 0xe2, 0x8b, 0x96, 0x5f, 0x01, 0xa5, 0x93, 0x50,
- 0x73, 0x95, 0x0e, 0x1b, 0xfd, 0x2c, 0xe1, 0xaa, 0x94, 0x67, 0xb5, 0x3f, 0x56, 0x60, 0xa1, 0x1e,
- 0x9c, 0x85, 0x47, 0x72, 0xe8, 0x31, 0xb2, 0x73, 0x5d, 0x59, 0x6f, 0x43, 0x51, 0xaa, 0x8f, 0xb0,
- 0x9b, 0x40, 0x37, 0xce, 0xf1, 0xbe, 0x41, 0x12, 0x2b, 0x58, 0xb1, 0x92, 0x57, 0xfb, 0x81, 0x02,
- 0x37, 0xc3, 0x99, 0xd5, 0x87, 0x4c, 0xeb, 0x74, 0x13, 0xba, 0xf4, 0xb9, 0x78, 0x90, 0x8f, 0x37,
- 0x8f, 0xb6, 0x95, 0x28, 0x94, 0x88, 0x8d, 0xc7, 0x48, 0xaa, 0xf1, 0x15, 0xc9, 0xfc, 0x2d, 0x08,
- 0x25, 0x75, 0xb6, 0x05, 0xb1, 0x1d, 0x6b, 0x95, 0xe8, 0xd4, 0xc2, 0xa6, 0x77, 0xca, 0x16, 0x64,
- 0x8e, 0x6d, 0x41, 0x44, 0x0f, 0x4e, 0x30, 0xa3, 0x86, 0xe5, 0x7b, 0x3e, 0xdc, 0x1c, 0xf5, 0xa5,
- 0x15, 0x02, 0x18, 0xdf, 0x72, 0x76, 0x1d, 0xe3, 0xa8, 0x74, 0x05, 0xd5, 0x60, 0x7e, 0x99, 0xec,
- 0x53, 0x7b, 0xd9, 0x74, 0xf4, 0xa7, 0xc4, 0x6d, 0x5a, 0xd8, 0xf5, 0x57, 0x1c, 0xdb, 0x77, 0xb1,
- 0xee, 0x7b, 0xdb, 0xb6, 0x79, 0x54, 0x52, 0xd0, 0x0c, 0xa0, 0x21, 0xf5, 0x29, 0x94, 0x87, 0xec,
- 0xda, 0x01, 0x71, 0x8f, 0x1c, 0x9b, 0x94, 0xd2, 0xf7, 0x5a, 0x01, 0xb7, 0xc4, 0xc3, 0x15, 0x34,
- 0x05, 0x93, 0x8f, 0x6d, 0xaf, 0x43, 0x74, 0x1e, 0x1c, 0x4a, 0x57, 0x18, 0xd9, 0x3a, 0xe7, 0x47,
- 0x49, 0x61, 0xbf, 0x77, 0x70, 0xd7, 0x23, 0x46, 0x29, 0x85, 0x8a, 0x00, 0xab, 0xc4, 0x72, 0x4c,
- 0xea, 0xb5, 0x89, 0x51, 0x4a, 0xa3, 0x49, 0x98, 0xe0, 0x0f, 0x50, 0x89, 0x51, 0xca, 0xdc, 0xfb,
- 0x3c, 0x25, 0x9f, 0x51, 0xf0, 0xf3, 0xd6, 0x2a, 0x4c, 0x3e, 0xde, 0x6a, 0xee, 0xac, 0xad, 0x34,
- 0xd6, 0x1b, 0x6b, 0xab, 0xa5, 0x2b, 0x73, 0x53, 0xc7, 0x27, 0xd5, 0x78, 0x15, 0x2a, 0x41, 0x7a,
- 0xf9, 0xf1, 0x93, 0x92, 0x32, 0x37, 0x71, 0x7c, 0x52, 0x65, 0x3f, 0x59, 0xd8, 0x69, 0xae, 0x6d,
- 0x6c, 0x94, 0x52, 0x73, 0xd9, 0xe3, 0x93, 0x2a, 0xff, 0xcd, 0xb8, 0xd7, 0x6c, 0x6d, 0xef, 0x68,
- 0xac, 0x6b, 0x7a, 0x2e, 0x7f, 0x7c, 0x52, 0x0d, 0xcb, 0xcc, 0xa3, 0xf0, 0xdf, 0x7c, 0x50, 0x66,
- 0xae, 0x70, 0x7c, 0x52, 0x8d, 0x2a, 0xd8, 0xc8, 0x56, 0xfd, 0xc3, 0x35, 0x3e, 0x72, 0x4c, 0x8c,
- 0x0c, 0xca, 0x6c, 0x24, 0xff, 0xcd, 0x47, 0x8e, 0x8b, 0x91, 0x61, 0x05, 0x9a, 0x81, 0xf1, 0xe5,
- 0xc7, 0x4f, 0xb4, 0x9d, 0xed, 0xd2, 0xc4, 0x1c, 0x1c, 0x9f, 0x54, 0x65, 0x89, 0x29, 0x34, 0x6b,
- 0x67, 0x0d, 0xd9, 0xb9, 0xc9, 0xe3, 0x93, 0x6a, 0x50, 0x44, 0xf3, 0x00, 0xac, 0x4f, 0xbd, 0xb5,
- 0xbd, 0xd9, 0x58, 0x29, 0xe5, 0xe6, 0x8a, 0xc7, 0x27, 0xd5, 0x58, 0x0d, 0xe3, 0x06, 0xef, 0x2a,
- 0x3b, 0x80, 0xe0, 0x46, 0xac, 0xea, 0xde, 0x5f, 0x28, 0x50, 0x58, 0x0b, 0x4e, 0x52, 0x38, 0x07,
- 0x6f, 0x42, 0x25, 0x26, 0x95, 0x9e, 0x36, 0x21, 0x22, 0x21, 0xc3, 0x92, 0x82, 0x0a, 0x90, 0xe3,
- 0xf7, 0x25, 0xeb, 0xd4, 0x34, 0x4b, 0x29, 0x34, 0x07, 0x33, 0xbc, 0xb8, 0x89, 0x7d, 0xbd, 0xad,
- 0x8a, 0x6f, 0x21, 0xb9, 0x60, 0x4a, 0x69, 0xa6, 0x20, 0x51, 0xdb, 0x16, 0x79, 0x2e, 0xea, 0x33,
- 0xe8, 0x1a, 0x5c, 0x95, 0x9f, 0x54, 0xc9, 0x8f, 0x1a, 0xa9, 0x63, 0x97, 0xc6, 0x18, 0x94, 0x78,
- 0x61, 0xdc, 0xff, 0x08, 0xb1, 0x34, 0x7e, 0xef, 0x07, 0x81, 0xbc, 0x37, 0xb1, 0xf7, 0x94, 0xf1,
- 0xec, 0xf1, 0xd6, 0xe3, 0x26, 0x17, 0x35, 0xe7, 0x99, 0x28, 0x31, 0x29, 0xd7, 0xb7, 0x42, 0x29,
- 0xd7, 0xb7, 0x9e, 0x30, 0x2e, 0xaa, 0x6b, 0xef, 0x3f, 0xde, 0xa8, 0xab, 0xa5, 0x94, 0xe0, 0xa2,
- 0x2c, 0x32, 0x2e, 0xad, 0x6c, 0x6f, 0xad, 0x36, 0x5a, 0x8d, 0xed, 0xad, 0x3a, 0x93, 0x28, 0xe7,
- 0x52, 0xac, 0x0a, 0x2d, 0xc1, 0xec, 0x6a, 0x43, 0x5d, 0x5b, 0x61, 0x45, 0x26, 0x48, 0x6d, 0x5b,
- 0xd5, 0x1e, 0x35, 0xde, 0x7f, 0xb4, 0xa6, 0x96, 0xb2, 0x73, 0x57, 0x8f, 0x4f, 0xaa, 0x85, 0x9e,
- 0xca, 0xde, 0xfe, 0x9c, 0xdd, 0xdb, 0xaa, 0xb6, 0xb1, 0xfd, 0xad, 0x35, 0xb5, 0x54, 0x12, 0xfd,
- 0x7b, 0x2a, 0xd1, 0x0d, 0x98, 0x6c, 0x3d, 0xd9, 0x59, 0xd3, 0x36, 0xeb, 0xea, 0x87, 0x6b, 0xad,
- 0x52, 0x55, 0x2c, 0x45, 0x94, 0xd0, 0x75, 0x00, 0xde, 0xb8, 0xd1, 0xd8, 0x6c, 0xb4, 0x4a, 0x0f,
- 0xe7, 0x72, 0xc7, 0x27, 0xd5, 0x31, 0x5e, 0x58, 0x6e, 0xff, 0xf8, 0xc5, 0xbc, 0xf2, 0xc5, 0x8b,
- 0x79, 0xe5, 0x9f, 0x5f, 0xcc, 0x2b, 0xbf, 0xff, 0xe5, 0xfc, 0x95, 0x2f, 0xbe, 0x9c, 0xbf, 0xf2,
- 0xf7, 0x5f, 0xce, 0x5f, 0xf9, 0xd5, 0xad, 0x98, 0xab, 0x6f, 0x04, 0x6e, 0x66, 0x03, 0xef, 0x7a,
- 0xf7, 0x43, 0xa7, 0xf3, 0xb6, 0xee, 0xb8, 0x24, 0x5e, 0x6c, 0x63, 0x6a, 0xdf, 0xb7, 0x1c, 0x96,
- 0x97, 0x7a, 0xd1, 0xff, 0x6e, 0xe0, 0x61, 0x61, 0x77, 0x9c, 0x7f, 0xa2, 0xf7, 0x0b, 0xff, 0x1b,
- 0x00, 0x00, 0xff, 0xff, 0x0c, 0x1e, 0x9c, 0x40, 0xde, 0x41, 0x00, 0x00,
+ // 4144 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5c, 0x4d, 0x6c, 0x23, 0x59,
+ 0x5e, 0xef, 0xb2, 0x9d, 0xc4, 0xfe, 0xc7, 0x76, 0xdc, 0x95, 0x74, 0xe2, 0xa4, 0xbb, 0x13, 0x8f,
+ 0x67, 0x7a, 0x3a, 0xd3, 0xb3, 0x93, 0xde, 0x69, 0x60, 0x35, 0x8c, 0x58, 0xa9, 0x9d, 0xaf, 0x69,
+ 0xcf, 0xe4, 0x6b, 0xca, 0xee, 0x59, 0x35, 0xab, 0xd9, 0xda, 0x97, 0xaa, 0x97, 0xf8, 0x4d, 0x97,
+ 0xab, 0xdc, 0xf5, 0x9e, 0xd3, 0xc9, 0x22, 0xa4, 0x15, 0x8b, 0x10, 0x1b, 0x90, 0x06, 0x38, 0x2c,
+ 0x7b, 0x89, 0xb4, 0x07, 0x2e, 0x70, 0x00, 0x0e, 0x88, 0xcb, 0xc0, 0x99, 0x3d, 0xee, 0x11, 0x21,
+ 0x58, 0x50, 0xcf, 0x05, 0x71, 0x40, 0x82, 0x1b, 0x42, 0x42, 0xe8, 0x7d, 0xd4, 0x87, 0xed, 0xc4,
+ 0x49, 0x57, 0xd2, 0x5a, 0x16, 0xed, 0x29, 0x7e, 0x5f, 0xbf, 0xff, 0x7b, 0xff, 0xef, 0xf7, 0x51,
+ 0x81, 0xb7, 0x88, 0xfb, 0x19, 0xb6, 0x18, 0x39, 0xc0, 0xf7, 0xf1, 0xa1, 0xd5, 0x42, 0xee, 0x3e,
+ 0xbe, 0x7f, 0xf0, 0xee, 0x2e, 0x66, 0xe8, 0xdd, 0xb0, 0x62, 0xa9, 0xe3, 0x7b, 0xcc, 0xd3, 0xe7,
+ 0xc2, 0xae, 0x4b, 0x61, 0x8b, 0xea, 0x3a, 0x37, 0xb5, 0xef, 0xed, 0x7b, 0xa2, 0xdb, 0x7d, 0xfe,
+ 0x4b, 0x8e, 0x98, 0x9b, 0xb7, 0x3c, 0xda, 0xf6, 0xe8, 0xfd, 0x5d, 0x44, 0x23, 0x54, 0xcb, 0x23,
+ 0xae, 0x6a, 0xbf, 0x13, 0x11, 0xf7, 0x7c, 0x64, 0x39, 0x51, 0x27, 0x59, 0x94, 0xdd, 0xaa, 0x3f,
+ 0xb8, 0x01, 0xa3, 0x3b, 0xc8, 0x47, 0x6d, 0xaa, 0x63, 0x58, 0xa0, 0x1d, 0x8f, 0x99, 0x6d, 0xe4,
+ 0x3f, 0xc5, 0xcc, 0x24, 0x2e, 0x65, 0xc8, 0x65, 0xa6, 0x43, 0x28, 0x23, 0xee, 0xbe, 0xb9, 0x87,
+ 0x71, 0x59, 0xab, 0x68, 0x8b, 0xe3, 0x0f, 0x66, 0x97, 0x24, 0xed, 0x25, 0x4e, 0x3b, 0x98, 0xe6,
+ 0xd2, 0x8a, 0x47, 0xdc, 0xe5, 0xcc, 0x8f, 0x7f, 0xba, 0x70, 0xcd, 0xb8, 0xc9, 0x71, 0x36, 0x05,
+ 0x4c, 0x5d, 0xa2, 0x6c, 0x48, 0x90, 0x75, 0x8c, 0xf5, 0x67, 0x70, 0xc7, 0xc6, 0x3e, 0x39, 0x40,
+ 0x7c, 0x6e, 0xc3, 0x88, 0xa5, 0x2e, 0x46, 0xec, 0xb5, 0x08, 0xed, 0x2c, 0x92, 0x0e, 0xdc, 0xb4,
+ 0xf1, 0x1e, 0xea, 0x3a, 0xcc, 0x54, 0x2b, 0x7c, 0x8a, 0x7d, 0x4e, 0xc3, 0xf4, 0x11, 0xc3, 0xe5,
+ 0x74, 0x45, 0x5b, 0xcc, 0x2d, 0x2f, 0x71, 0xb4, 0x7f, 0xf8, 0xe9, 0xc2, 0x9b, 0xfb, 0x84, 0xb5,
+ 0xba, 0xbb, 0x4b, 0x96, 0xd7, 0xbe, 0xaf, 0x78, 0x2c, 0xff, 0xbc, 0x43, 0xed, 0xa7, 0xf7, 0xd9,
+ 0x51, 0x07, 0xd3, 0xa5, 0x55, 0x6c, 0x19, 0x33, 0x0a, 0xb2, 0x21, 0xd6, 0xfa, 0x14, 0xfb, 0xeb,
+ 0x18, 0x1b, 0x88, 0x0d, 0x52, 0x63, 0xbd, 0xd4, 0x32, 0x97, 0xa6, 0xd6, 0x8c, 0x53, 0x3b, 0x84,
+ 0xd7, 0x02, 0x6a, 0x3d, 0x6c, 0xed, 0xa1, 0x39, 0x92, 0x88, 0xe6, 0x6d, 0x05, 0xbc, 0x1a, 0x63,
+ 0xf0, 0xb9, 0x94, 0xfb, 0x56, 0x3b, 0x7a, 0x45, 0x94, 0x7b, 0xd6, 0xec, 0xc1, 0xad, 0x80, 0x32,
+ 0x71, 0x09, 0x23, 0xc8, 0xe1, 0x7a, 0xb4, 0x4f, 0x5c, 0x4e, 0x93, 0x78, 0xe5, 0xb1, 0x44, 0x44,
+ 0x67, 0x15, 0x66, 0x5d, 0x42, 0x6e, 0x0a, 0x44, 0x83, 0x03, 0xea, 0xcf, 0xa1, 0x12, 0x10, 0x6c,
+ 0x23, 0xe2, 0x32, 0xec, 0x22, 0xd7, 0xc2, 0xbd, 0x44, 0xb3, 0x97, 0x5a, 0xe9, 0x66, 0x04, 0x1b,
+ 0x27, 0xfc, 0x1e, 0x94, 0x03, 0xc2, 0x7b, 0x5d, 0xd7, 0xe6, 0xa6, 0xc1, 0xfb, 0xf9, 0x07, 0xc8,
+ 0x29, 0xe7, 0x2a, 0xda, 0x62, 0xda, 0x98, 0x56, 0xed, 0xeb, 0xb2, 0xb9, 0xae, 0x5a, 0xf5, 0xb7,
+ 0xa0, 0x14, 0x8c, 0x68, 0x77, 0x1d, 0x46, 0x3a, 0x0e, 0x2e, 0x83, 0x18, 0x31, 0xa1, 0xea, 0x37,
+ 0x55, 0xb5, 0x6e, 0xc1, 0xb4, 0x8f, 0x1d, 0x74, 0xa4, 0xe4, 0x46, 0x5b, 0xc8, 0x57, 0xd2, 0x1b,
+ 0x4f, 0xb4, 0xa6, 0x49, 0x85, 0xb6, 0x8e, 0x71, 0x83, 0x63, 0x09, 0x99, 0x31, 0x58, 0x08, 0x56,
+ 0xd2, 0xf2, 0xba, 0xbe, 0x73, 0x14, 0x2e, 0x88, 0x53, 0x32, 0x2d, 0xd4, 0x29, 0xe7, 0x13, 0x51,
+ 0x0b, 0x8c, 0xed, 0x91, 0x40, 0x55, 0x6c, 0xe0, 0x24, 0x57, 0x50, 0x27, 0xae, 0x29, 0x8a, 0xaa,
+ 0x60, 0x1f, 0xa6, 0x4c, 0x2e, 0xb0, 0x70, 0x29, 0x4d, 0x91, 0x24, 0xeb, 0x0a, 0x51, 0x2c, 0x73,
+ 0x15, 0x16, 0xda, 0xe8, 0x30, 0x6e, 0x10, 0x9e, 0x6f, 0x63, 0xdf, 0xa4, 0xc4, 0xc6, 0xa6, 0xe5,
+ 0x75, 0x5d, 0x56, 0x2e, 0x56, 0xb4, 0xc5, 0x82, 0x71, 0xb3, 0x8d, 0x0e, 0x23, 0xf5, 0xde, 0xe6,
+ 0x9d, 0x1a, 0xc4, 0xc6, 0x2b, 0xbc, 0x8b, 0xfe, 0xdb, 0x1a, 0xdc, 0x25, 0xee, 0x67, 0xa6, 0x8f,
+ 0x9f, 0x23, 0xdf, 0x36, 0x29, 0x37, 0x2a, 0xdb, 0xf4, 0xf1, 0xb3, 0x2e, 0xf1, 0x71, 0x1b, 0xbb,
+ 0xcc, 0x64, 0x2d, 0x1f, 0xd3, 0x96, 0xe7, 0xd8, 0xe5, 0x89, 0x97, 0x5e, 0x42, 0xdd, 0x65, 0xc6,
+ 0xeb, 0xc4, 0xfd, 0xcc, 0x10, 0xe8, 0x0d, 0x01, 0x6e, 0x44, 0xd8, 0xcd, 0x00, 0x5a, 0xff, 0x00,
+ 0x2a, 0xcc, 0x47, 0x52, 0x48, 0xa2, 0x2f, 0x35, 0x0f, 0xb0, 0x74, 0xd0, 0x76, 0x57, 0x68, 0xbd,
+ 0x5b, 0x2e, 0x09, 0x9d, 0xba, 0xad, 0xfa, 0x49, 0x48, 0xfa, 0x89, 0xec, 0xb5, 0xaa, 0x3a, 0x71,
+ 0x31, 0x38, 0xe4, 0x59, 0x97, 0xd8, 0x88, 0x79, 0x7e, 0xb8, 0xaa, 0x48, 0xcf, 0xae, 0x27, 0x13,
+ 0x43, 0x84, 0xa9, 0x96, 0x12, 0x6a, 0xdb, 0x21, 0xbc, 0xb5, 0x4b, 0x5c, 0xe4, 0x1f, 0x99, 0x5e,
+ 0x87, 0xcf, 0x80, 0x0e, 0x0b, 0x34, 0xfa, 0xc5, 0x02, 0xcd, 0x1b, 0x12, 0x71, 0x5b, 0x02, 0x9e,
+ 0x15, 0x6b, 0xbe, 0xab, 0x41, 0x05, 0x31, 0xaf, 0x4d, 0xac, 0x80, 0xa4, 0x54, 0x00, 0x64, 0x59,
+ 0x98, 0x52, 0xd3, 0xc1, 0x07, 0xd8, 0x29, 0x4f, 0x56, 0xb4, 0xc5, 0xe2, 0x83, 0xf7, 0x96, 0xce,
+ 0x8e, 0xfa, 0x4b, 0x35, 0x81, 0x21, 0xa9, 0x08, 0xed, 0xa8, 0x09, 0x80, 0x0d, 0x3e, 0xde, 0xb8,
+ 0x85, 0x86, 0xb4, 0xea, 0xdf, 0xd3, 0xe0, 0xae, 0x88, 0x3c, 0xa7, 0xcd, 0x83, 0x5b, 0xb8, 0x72,
+ 0x08, 0x04, 0xfb, 0xe5, 0xa9, 0x44, 0x9c, 0xaf, 0x72, 0xf8, 0x81, 0x19, 0xae, 0x63, 0xbc, 0x19,
+ 0x22, 0xeb, 0x9f, 0x6b, 0xf0, 0x4e, 0xcc, 0x0c, 0x2e, 0x30, 0x97, 0x1b, 0x89, 0xe6, 0xb2, 0x18,
+ 0x11, 0x39, 0x67, 0x46, 0x3f, 0xd0, 0xe0, 0xdd, 0x3e, 0xad, 0xb8, 0xc0, 0xac, 0xa6, 0x13, 0xcd,
+ 0xea, 0xed, 0x1e, 0x65, 0x39, 0x67, 0x62, 0x04, 0x66, 0xdb, 0xc4, 0x25, 0x6d, 0xe4, 0x98, 0x22,
+ 0x2b, 0xb3, 0x3c, 0x27, 0x8a, 0xa0, 0x33, 0x89, 0xe8, 0x4f, 0x2b, 0xc0, 0x1d, 0x85, 0x17, 0x84,
+ 0xce, 0x6f, 0xc2, 0xdb, 0x84, 0x86, 0x56, 0x30, 0x98, 0x88, 0x39, 0xa8, 0xeb, 0x5a, 0x2d, 0x13,
+ 0xbb, 0x68, 0xd7, 0xc1, 0x76, 0xb9, 0x5c, 0xd1, 0x16, 0xb3, 0xc6, 0x9b, 0x84, 0x2a, 0x45, 0x5f,
+ 0xed, 0xcb, 0xb5, 0x36, 0x44, 0xf7, 0x35, 0xd9, 0x9b, 0x3b, 0xbf, 0x8e, 0x47, 0x99, 0xe9, 0xb9,
+ 0xce, 0x91, 0xd9, 0xf6, 0x6c, 0x6c, 0xb6, 0x30, 0xd9, 0x6f, 0xc5, 0xbd, 0xd5, 0xac, 0x70, 0x17,
+ 0x37, 0x79, 0xb7, 0x6d, 0xd7, 0x39, 0xda, 0xf4, 0x6c, 0xfc, 0x48, 0xf4, 0x09, 0xbd, 0xce, 0xfb,
+ 0x99, 0x7f, 0xfd, 0xd1, 0x82, 0x56, 0xfd, 0x5c, 0x83, 0x49, 0x49, 0xa3, 0x97, 0x57, 0x37, 0x21,
+ 0x17, 0x98, 0xb2, 0x2d, 0xf2, 0xd1, 0x9c, 0x91, 0x95, 0x15, 0x75, 0x5b, 0x7f, 0x0c, 0xc5, 0x3e,
+ 0xe9, 0xa5, 0x12, 0x71, 0xaf, 0xb0, 0x17, 0xa7, 0xf9, 0x7e, 0xe6, 0x77, 0x7f, 0xb4, 0x70, 0xad,
+ 0xfa, 0xe7, 0x59, 0x28, 0xf5, 0xaf, 0x5f, 0x9f, 0x86, 0x51, 0x46, 0xac, 0xa7, 0xd8, 0x57, 0x73,
+ 0x51, 0x25, 0x7d, 0x01, 0xc6, 0x65, 0x9e, 0x6d, 0x72, 0x77, 0x22, 0xa7, 0x61, 0x80, 0xac, 0x5a,
+ 0x46, 0x14, 0xeb, 0xaf, 0x41, 0x5e, 0x75, 0x78, 0xd6, 0xf5, 0x82, 0x24, 0xd4, 0x50, 0x83, 0x3e,
+ 0xe6, 0x55, 0xfa, 0x5a, 0x88, 0xc1, 0x67, 0x26, 0x12, 0xc7, 0xe2, 0x83, 0x37, 0x62, 0x4e, 0x43,
+ 0x65, 0xf2, 0x81, 0xcb, 0xd8, 0x16, 0xc5, 0xe6, 0x51, 0x07, 0x07, 0x94, 0xf8, 0x6f, 0x7d, 0x09,
+ 0x26, 0x15, 0x0c, 0xb5, 0x90, 0x83, 0xcd, 0x3d, 0x64, 0x31, 0xcf, 0x17, 0x39, 0x61, 0xc1, 0xb8,
+ 0x2e, 0x9b, 0x1a, 0xbc, 0x65, 0x5d, 0x34, 0xf0, 0xa9, 0x8b, 0x29, 0x99, 0x36, 0x76, 0xbd, 0xb6,
+ 0xcc, 0xe0, 0x0c, 0x10, 0x55, 0xab, 0xbc, 0xa6, 0x57, 0x04, 0x63, 0x7d, 0x22, 0xf8, 0x36, 0x4c,
+ 0x9d, 0x9a, 0x93, 0x25, 0x4b, 0x8f, 0x74, 0x32, 0x98, 0x8c, 0xb5, 0xa0, 0x7c, 0x66, 0x12, 0x96,
+ 0x4b, 0x68, 0x2c, 0xa7, 0x67, 0x5f, 0x4d, 0x28, 0xf6, 0x25, 0xd2, 0x90, 0x08, 0x3f, 0xdf, 0x8e,
+ 0x67, 0xaf, 0x4d, 0x28, 0xf6, 0x25, 0xc9, 0xc9, 0xd2, 0xac, 0x3c, 0x8b, 0xa3, 0x9e, 0x9d, 0xc4,
+ 0xe5, 0xaf, 0x2e, 0x89, 0xab, 0xc0, 0x38, 0xa1, 0x3b, 0xd8, 0xef, 0x60, 0xd6, 0x45, 0x8e, 0xc8,
+ 0x9e, 0xb2, 0x46, 0xbc, 0x4a, 0x7f, 0x08, 0xa3, 0x94, 0x21, 0xd6, 0xa5, 0x22, 0xcd, 0x29, 0x3e,
+ 0x58, 0x1c, 0x16, 0xe3, 0xa4, 0x0d, 0x35, 0x44, 0x7f, 0x43, 0x8d, 0xd3, 0x3f, 0x85, 0xc9, 0x36,
+ 0x71, 0xcd, 0x8e, 0x4f, 0x2c, 0x6c, 0x72, 0x6b, 0x32, 0x29, 0xf9, 0x0e, 0x4e, 0x90, 0xe6, 0xf0,
+ 0x55, 0x94, 0xda, 0xc4, 0xdd, 0xe1, 0x48, 0x4d, 0x62, 0x3d, 0x6d, 0x90, 0xef, 0x08, 0x3e, 0x71,
+ 0xf8, 0x67, 0x5d, 0xe4, 0x32, 0xc2, 0x8e, 0x62, 0x14, 0x4a, 0xc9, 0xf8, 0xd4, 0x26, 0xee, 0xc7,
+ 0x0a, 0x2c, 0x20, 0xa2, 0x1c, 0xc6, 0x9f, 0x64, 0x61, 0x72, 0x79, 0x30, 0x67, 0x38, 0xd3, 0x67,
+ 0xbc, 0x0e, 0x85, 0xc0, 0x50, 0x8f, 0xda, 0xbb, 0x9e, 0xa3, 0xbc, 0x86, 0xf2, 0x13, 0x0d, 0x51,
+ 0xa7, 0xdf, 0x85, 0x09, 0xd5, 0xa9, 0xe3, 0x7b, 0x07, 0xc4, 0xc6, 0xbe, 0x72, 0x1d, 0x45, 0x59,
+ 0xbd, 0xa3, 0x6a, 0x7f, 0x56, 0xde, 0xe3, 0x5d, 0x98, 0xc2, 0x87, 0x1d, 0x22, 0x13, 0x3f, 0x93,
+ 0x91, 0x36, 0xa6, 0x0c, 0xb5, 0x3b, 0xc2, 0x8d, 0xa4, 0x8d, 0xc9, 0xa8, 0xad, 0x19, 0x34, 0xf1,
+ 0x21, 0x14, 0x33, 0xe6, 0xa8, 0xcc, 0x36, 0x1c, 0x32, 0x26, 0x87, 0x44, 0x6d, 0xd1, 0x90, 0x29,
+ 0x18, 0x41, 0x76, 0x9b, 0xb8, 0xd2, 0xad, 0x18, 0xb2, 0xd0, 0xef, 0xb9, 0x72, 0xc3, 0x3d, 0x17,
+ 0xf4, 0x79, 0xae, 0x41, 0x6b, 0x1f, 0x7f, 0x25, 0xd6, 0x9e, 0x7f, 0xa5, 0xd6, 0x5e, 0xb8, 0x3a,
+ 0x6b, 0xff, 0x85, 0x2d, 0x73, 0x22, 0x4f, 0xa0, 0x14, 0xd3, 0x4e, 0xb1, 0x94, 0xd8, 0x7e, 0x45,
+ 0x7b, 0x09, 0xf8, 0x89, 0x08, 0x47, 0xac, 0x43, 0xb9, 0x89, 0xff, 0x4e, 0xc1, 0xcc, 0x1a, 0x37,
+ 0x8b, 0xa3, 0xf5, 0x2e, 0xeb, 0xfa, 0x38, 0xdc, 0x5a, 0xec, 0x79, 0xc3, 0xb3, 0x9d, 0xb3, 0x4c,
+ 0x2d, 0x75, 0xb6, 0xa9, 0x7d, 0x15, 0xa6, 0xd8, 0x73, 0xd4, 0xe1, 0x3b, 0x4a, 0x3f, 0x6e, 0x6a,
+ 0x69, 0x31, 0x44, 0xe7, 0x6d, 0x0d, 0xde, 0x14, 0x8d, 0xf8, 0x2d, 0x0d, 0xde, 0x8c, 0x53, 0x89,
+ 0x46, 0x4b, 0xa9, 0x5a, 0xdd, 0x76, 0xd7, 0x11, 0x19, 0x51, 0xc2, 0x93, 0xad, 0x6a, 0x6c, 0x9e,
+ 0x01, 0x79, 0xc1, 0x9e, 0x95, 0x10, 0xf9, 0x54, 0x19, 0x24, 0x3b, 0xd3, 0xea, 0x97, 0x41, 0xf5,
+ 0x1f, 0x53, 0x30, 0x19, 0x86, 0xaf, 0x8b, 0x72, 0x1e, 0xc3, 0xcc, 0x59, 0x87, 0x18, 0xc9, 0x12,
+ 0xce, 0xa9, 0xd6, 0x69, 0xa7, 0x17, 0xdf, 0x86, 0xa9, 0x53, 0x4f, 0x2d, 0x92, 0x1d, 0x58, 0xea,
+ 0xad, 0xc1, 0xe3, 0x8a, 0x5f, 0x86, 0x69, 0x17, 0x1f, 0x46, 0x87, 0x4b, 0x91, 0x46, 0x64, 0x84,
+ 0x46, 0x4c, 0xf1, 0x56, 0x35, 0xab, 0x48, 0x27, 0x62, 0x67, 0x4b, 0xe1, 0x69, 0xd4, 0x48, 0xcf,
+ 0xd9, 0x52, 0x70, 0x0c, 0x55, 0xfd, 0x2f, 0x0d, 0xa6, 0xfb, 0xd8, 0xab, 0xe0, 0xf4, 0x4f, 0x41,
+ 0x8f, 0x94, 0x27, 0x98, 0x81, 0x64, 0xf5, 0x4b, 0xaf, 0xed, 0x7a, 0x84, 0x14, 0xc0, 0x3f, 0x81,
+ 0x52, 0x0c, 0x5e, 0xea, 0x4c, 0x32, 0xe1, 0x4c, 0x44, 0x38, 0x42, 0x67, 0xf4, 0x3b, 0x50, 0x74,
+ 0x10, 0x1d, 0xb4, 0x9f, 0x02, 0xaf, 0x0d, 0xd9, 0x54, 0xfd, 0xa1, 0x06, 0xf3, 0xfd, 0x1b, 0x86,
+ 0x46, 0xa8, 0x7e, 0xe7, 0x6b, 0xd9, 0x69, 0x5a, 0x9f, 0xba, 0x1a, 0xad, 0xff, 0x3a, 0x4c, 0x6d,
+ 0x9d, 0x26, 0xd9, 0x3b, 0x50, 0x14, 0xfa, 0x10, 0xad, 0x4c, 0x93, 0x2b, 0xe3, 0xb5, 0xd1, 0xca,
+ 0x7e, 0x2f, 0x05, 0xc5, 0x4d, 0x62, 0x0b, 0xac, 0x9a, 0x6b, 0x37, 0xb7, 0x97, 0xf5, 0x8f, 0x20,
+ 0xd7, 0x26, 0xb6, 0x9a, 0xa5, 0x96, 0xc8, 0x3f, 0x66, 0xdb, 0x0a, 0x92, 0x07, 0xcd, 0x5d, 0xae,
+ 0xed, 0xbb, 0xdd, 0xa3, 0x81, 0x75, 0xbf, 0x0c, 0x62, 0x9e, 0xa3, 0x2c, 0x77, 0x8f, 0x24, 0xea,
+ 0x27, 0x30, 0x21, 0x50, 0x29, 0x76, 0x1c, 0x05, 0x9b, 0x4e, 0x04, 0x5b, 0xe0, 0x30, 0x0d, 0xec,
+ 0x38, 0x92, 0x99, 0x3f, 0x1c, 0x01, 0x68, 0x84, 0x37, 0x1e, 0x67, 0xa6, 0x77, 0xb7, 0x01, 0xf8,
+ 0x5e, 0x50, 0x25, 0x27, 0x32, 0xb7, 0xcb, 0xf1, 0x1a, 0x99, 0x9b, 0xf4, 0x25, 0x2f, 0xe9, 0x81,
+ 0xe4, 0x65, 0x30, 0x3f, 0xc9, 0xbc, 0x92, 0xfc, 0x64, 0xe4, 0x95, 0xe6, 0x27, 0xa3, 0x57, 0x97,
+ 0x9f, 0x0c, 0xdd, 0x87, 0x46, 0xc9, 0x4b, 0xf6, 0x6a, 0x93, 0x97, 0xdc, 0x2b, 0x4f, 0x5e, 0xe0,
+ 0xca, 0x92, 0x97, 0xea, 0x17, 0x1a, 0x8c, 0xad, 0xe2, 0x8e, 0x47, 0x09, 0xd3, 0xbf, 0x09, 0xd7,
+ 0xd1, 0x01, 0x22, 0x0e, 0xda, 0x15, 0xa7, 0x12, 0x0e, 0xdf, 0xed, 0x26, 0x74, 0xb7, 0xa5, 0x10,
+ 0x68, 0x59, 0xe2, 0xe8, 0x0d, 0x28, 0x30, 0x8f, 0x21, 0x27, 0x04, 0x4e, 0x25, 0xd4, 0x22, 0x0e,
+ 0xa2, 0x40, 0xab, 0x5f, 0x81, 0xa9, 0x46, 0x77, 0x17, 0x59, 0xe2, 0xdc, 0xbc, 0xe9, 0x23, 0x1b,
+ 0x6f, 0x79, 0x9c, 0xd8, 0x14, 0x8c, 0xb8, 0x5e, 0x30, 0xfb, 0x82, 0x21, 0x0b, 0x3c, 0xd4, 0xe4,
+ 0xc4, 0xe1, 0x9a, 0xf0, 0xac, 0xaf, 0x43, 0x81, 0x86, 0x63, 0x23, 0xef, 0x9a, 0x8f, 0x2a, 0xeb,
+ 0x36, 0xef, 0x24, 0xd4, 0x1e, 0x5b, 0xa4, 0x43, 0xb0, 0xcb, 0x82, 0x1d, 0xd7, 0x1e, 0xc6, 0x46,
+ 0x50, 0xa7, 0xaf, 0xc2, 0x48, 0xbf, 0xb3, 0x78, 0x99, 0x25, 0xc9, 0xc1, 0xfa, 0x87, 0x90, 0x0d,
+ 0x44, 0x9d, 0xd0, 0x6e, 0xc3, 0xf1, 0x7a, 0x09, 0xd2, 0x16, 0xb1, 0xa5, 0xa1, 0x1a, 0xfc, 0x67,
+ 0xf5, 0xf3, 0x14, 0xe4, 0xb8, 0x0b, 0x12, 0xeb, 0x1f, 0x1e, 0x55, 0x3e, 0x04, 0x90, 0xe7, 0x9c,
+ 0xc4, 0xdd, 0xf3, 0xd4, 0x25, 0xeb, 0x9d, 0x61, 0xc6, 0x11, 0xf2, 0x54, 0x9d, 0x83, 0xe7, 0xbc,
+ 0x90, 0xc9, 0xab, 0x01, 0x96, 0xd8, 0x62, 0xa6, 0x85, 0xa1, 0x9d, 0x8f, 0x25, 0xf6, 0x98, 0x12,
+ 0x45, 0x6c, 0x31, 0xb9, 0xee, 0xf8, 0x64, 0x7f, 0x1f, 0xfb, 0xca, 0x2b, 0x67, 0x92, 0x39, 0x7b,
+ 0x05, 0x22, 0x9d, 0xf2, 0x8b, 0x14, 0x14, 0x39, 0x47, 0x36, 0x48, 0x9b, 0x28, 0xb6, 0xf4, 0xae,
+ 0x5c, 0xbb, 0xc2, 0x95, 0xa7, 0x12, 0xae, 0xfc, 0x43, 0xc8, 0xee, 0x11, 0x47, 0x18, 0x52, 0x42,
+ 0xed, 0x0a, 0xc7, 0xbf, 0x12, 0x2e, 0xf2, 0x98, 0x25, 0x97, 0xd9, 0x42, 0xb4, 0x25, 0x14, 0x2e,
+ 0xaf, 0xe6, 0xff, 0x08, 0xd1, 0x56, 0xf5, 0xdf, 0x52, 0x30, 0x11, 0x45, 0xbe, 0xab, 0xe7, 0xf2,
+ 0xc7, 0x90, 0x57, 0xfe, 0xc4, 0x14, 0xa7, 0xc7, 0xc9, 0x9c, 0xca, 0xb8, 0xc2, 0x78, 0xe4, 0x39,
+ 0x76, 0xdf, 0x8a, 0xd2, 0x7d, 0x2b, 0xea, 0x93, 0x6b, 0xe6, 0xaa, 0x34, 0x7a, 0xe4, 0x0a, 0x34,
+ 0xfa, 0x9f, 0x52, 0x30, 0xd1, 0x77, 0x63, 0xf8, 0xf3, 0x66, 0xe9, 0xeb, 0x30, 0x2a, 0x8f, 0x6b,
+ 0x13, 0xba, 0x40, 0x35, 0xfa, 0xd5, 0xf0, 0xf7, 0x8f, 0x32, 0x70, 0x33, 0x0a, 0x37, 0x62, 0xfe,
+ 0xbb, 0x9e, 0xf7, 0x74, 0x13, 0x33, 0x64, 0x23, 0x86, 0xf4, 0x5f, 0x85, 0xd9, 0x03, 0xe4, 0x72,
+ 0x73, 0x33, 0x1d, 0xee, 0x54, 0xd4, 0x75, 0x91, 0xbc, 0xd4, 0x95, 0x91, 0x68, 0x5a, 0x75, 0x88,
+ 0x9c, 0x8e, 0xbc, 0xcf, 0x7d, 0x08, 0xb7, 0x7d, 0x6c, 0x77, 0x2d, 0x2c, 0xaf, 0x46, 0x06, 0x87,
+ 0xa7, 0xc4, 0xf0, 0x59, 0xd9, 0x69, 0xdb, 0x75, 0x8e, 0xfa, 0x11, 0x28, 0xcc, 0xa3, 0xfd, 0x7d,
+ 0x1f, 0xef, 0xf3, 0x7d, 0x66, 0x1c, 0x2b, 0x0c, 0x2a, 0xc9, 0xfc, 0xc7, 0xcd, 0x10, 0xd5, 0x08,
+ 0x69, 0x07, 0x59, 0x84, 0xee, 0xc0, 0x5c, 0x44, 0x34, 0x58, 0xfb, 0x25, 0xa3, 0x58, 0x39, 0x44,
+ 0xfc, 0x44, 0x02, 0x86, 0xd4, 0xd6, 0x60, 0x21, 0xa0, 0x61, 0x79, 0xae, 0x4d, 0x18, 0xf1, 0x5c,
+ 0xe4, 0xf4, 0xb0, 0x49, 0x9e, 0x3a, 0xde, 0x52, 0xdd, 0x56, 0xa2, 0x5e, 0x31, 0x4e, 0x6d, 0xc0,
+ 0xeb, 0x71, 0xfe, 0x9c, 0x05, 0x35, 0x2a, 0xa0, 0x16, 0x22, 0x8e, 0x9f, 0x8a, 0x56, 0xfd, 0x3b,
+ 0x0d, 0x26, 0xfa, 0x94, 0x22, 0x4a, 0x08, 0xb4, 0xab, 0x4a, 0x08, 0x52, 0x97, 0x4c, 0x08, 0xaa,
+ 0x90, 0x27, 0x34, 0x12, 0xa0, 0xd0, 0x85, 0xac, 0xd1, 0x53, 0x57, 0x7d, 0x0e, 0x93, 0x7d, 0x0b,
+ 0x59, 0xe5, 0x5a, 0x5d, 0x83, 0x11, 0xc1, 0x16, 0xe5, 0xa9, 0xdf, 0x1e, 0x66, 0xd3, 0x7d, 0xe3,
+ 0x0d, 0x39, 0xb2, 0xcf, 0xa5, 0xa6, 0xfa, 0x83, 0xc4, 0x5f, 0xa6, 0x61, 0x2a, 0xf2, 0x5b, 0xff,
+ 0xa7, 0xe3, 0x71, 0xe4, 0x9f, 0xd2, 0x97, 0xf2, 0x4f, 0xf1, 0xb8, 0x9e, 0xb9, 0xea, 0xb8, 0x3e,
+ 0x72, 0xe5, 0x71, 0x7d, 0xb4, 0x5f, 0x64, 0x7f, 0x9d, 0x86, 0x1b, 0xfd, 0x27, 0x17, 0xff, 0xdf,
+ 0x65, 0xb6, 0x0d, 0xe3, 0xea, 0x2a, 0x51, 0xa4, 0x1a, 0xc9, 0xc4, 0x06, 0x12, 0x42, 0x64, 0x1a,
+ 0x3f, 0x0b, 0xc1, 0xfd, 0x47, 0x0a, 0xb2, 0x3b, 0x7c, 0xb7, 0x47, 0x3c, 0x57, 0x9f, 0x86, 0x51,
+ 0x42, 0x37, 0x3c, 0x75, 0xa8, 0x96, 0x35, 0x54, 0xe9, 0x4a, 0x3d, 0xcf, 0x36, 0x8c, 0x63, 0x97,
+ 0xf9, 0x47, 0xe6, 0x65, 0xb6, 0x48, 0x20, 0x20, 0xe4, 0x02, 0xaf, 0x2a, 0x45, 0x68, 0x41, 0x79,
+ 0xf0, 0x74, 0xd1, 0x14, 0x84, 0x12, 0x9e, 0x70, 0x4c, 0x0f, 0x9c, 0x31, 0xae, 0x71, 0xb4, 0x6a,
+ 0x1d, 0xa6, 0x62, 0x16, 0x52, 0x77, 0x6d, 0x62, 0x21, 0xe6, 0x9d, 0x93, 0x9b, 0x4d, 0xc1, 0x08,
+ 0xa1, 0xcb, 0x5d, 0x29, 0x80, 0xac, 0x21, 0x0b, 0xd5, 0x7f, 0x4f, 0x41, 0x56, 0xec, 0x73, 0x37,
+ 0xbc, 0x5e, 0x31, 0x69, 0x97, 0x14, 0x53, 0x18, 0xb2, 0x52, 0x97, 0x09, 0x59, 0x03, 0x7b, 0x6a,
+ 0x99, 0x3e, 0xf7, 0xee, 0xa9, 0x1f, 0x42, 0x7a, 0x0f, 0x27, 0x75, 0x7b, 0x7c, 0xe8, 0x39, 0x9b,
+ 0x0e, 0xfd, 0x3d, 0xb8, 0xd1, 0xb3, 0x69, 0x37, 0x91, 0x6d, 0xfb, 0x98, 0x52, 0x69, 0x0d, 0xc2,
+ 0xcd, 0x68, 0xc6, 0x64, 0x7c, 0x0b, 0x5f, 0x93, 0x1d, 0x82, 0x7d, 0xf3, 0x58, 0xb4, 0x6f, 0xfe,
+ 0x22, 0x05, 0x85, 0xc0, 0x5e, 0x56, 0xb1, 0xc3, 0x90, 0x3e, 0x03, 0x63, 0x84, 0x9a, 0xce, 0xa0,
+ 0xd5, 0x7c, 0x0a, 0x3a, 0x3e, 0xc4, 0x56, 0x57, 0x5c, 0x83, 0x5c, 0xd2, 0x7e, 0xae, 0x87, 0x48,
+ 0x61, 0xf6, 0xf3, 0x04, 0x4a, 0x11, 0xfc, 0xa5, 0x1c, 0xda, 0x44, 0x88, 0x23, 0xdf, 0x32, 0xe8,
+ 0xdf, 0x80, 0xa8, 0x6a, 0x60, 0x6f, 0xf8, 0x32, 0xc8, 0xc5, 0x10, 0x46, 0x66, 0xcc, 0xdf, 0x4d,
+ 0x83, 0x1e, 0x7b, 0xa2, 0x1b, 0x28, 0xee, 0xa9, 0x47, 0x2f, 0xfd, 0x6a, 0xb2, 0x03, 0xc5, 0x8e,
+ 0x62, 0xbc, 0x69, 0x73, 0xce, 0xab, 0x0d, 0xca, 0x5b, 0xc3, 0x02, 0x40, 0x8f, 0xa8, 0x8c, 0x42,
+ 0xa7, 0x47, 0x72, 0xeb, 0x30, 0xda, 0x41, 0x47, 0x5e, 0x97, 0x25, 0x0d, 0x04, 0x72, 0xf4, 0xcf,
+ 0x97, 0x02, 0xff, 0x06, 0xe8, 0x51, 0x56, 0x16, 0x7a, 0xfe, 0x87, 0x90, 0x0d, 0x78, 0xa3, 0x62,
+ 0xf4, 0x1b, 0x17, 0x61, 0xab, 0x11, 0x8e, 0x1a, 0x94, 0x61, 0x6a, 0x50, 0x86, 0xd5, 0xe7, 0x70,
+ 0x3d, 0x22, 0x1e, 0x1c, 0x33, 0x5e, 0x48, 0xfa, 0x5f, 0x87, 0x31, 0x5b, 0xf6, 0x57, 0x62, 0x7f,
+ 0x7d, 0xd8, 0xfc, 0x14, 0xb4, 0x11, 0x8c, 0xa9, 0x76, 0xa0, 0xa0, 0xea, 0x1e, 0x77, 0x6c, 0xc4,
+ 0xc4, 0x89, 0xa0, 0x3c, 0x36, 0x97, 0x7e, 0x56, 0x16, 0xf4, 0x3a, 0x64, 0xd5, 0x08, 0x5a, 0x4e,
+ 0x55, 0xd2, 0x8b, 0xe3, 0x0f, 0xde, 0xb9, 0x58, 0x7a, 0x1b, 0x10, 0x0c, 0x87, 0x57, 0x5f, 0x68,
+ 0x50, 0xda, 0xf1, 0x88, 0xcb, 0x68, 0xec, 0x2d, 0xda, 0x1e, 0xcc, 0xc8, 0x13, 0xf9, 0x8e, 0x68,
+ 0x89, 0xbf, 0x3b, 0x4b, 0xe6, 0xb0, 0x6f, 0x08, 0xb8, 0xd3, 0xe8, 0xb0, 0x33, 0xe8, 0x24, 0xf3,
+ 0x3f, 0x37, 0xd8, 0x69, 0x74, 0xaa, 0xff, 0x93, 0x82, 0xf9, 0x66, 0xfc, 0x21, 0xef, 0x0a, 0x6a,
+ 0x77, 0x10, 0xd9, 0x77, 0x97, 0x3d, 0x8f, 0xca, 0x0b, 0xab, 0x5f, 0x81, 0x99, 0x5d, 0x5e, 0xc0,
+ 0xb6, 0xd9, 0xf3, 0xb1, 0x88, 0x4d, 0xcb, 0x5a, 0x25, 0xbd, 0x98, 0x33, 0xa6, 0x54, 0x73, 0x74,
+ 0x2c, 0x54, 0xb7, 0xa9, 0xfe, 0x19, 0xcc, 0xc4, 0xbb, 0x47, 0x0b, 0x08, 0x04, 0xf3, 0x95, 0xe1,
+ 0xfa, 0xd9, 0x3b, 0x51, 0x95, 0x4a, 0xde, 0x88, 0x3e, 0x33, 0x89, 0xda, 0xa8, 0x5e, 0x83, 0xdb,
+ 0xc1, 0x14, 0x4f, 0xf9, 0xd0, 0xc4, 0xa6, 0xe5, 0xb4, 0x98, 0xe8, 0x9c, 0xea, 0xd4, 0x9f, 0xe7,
+ 0xf2, 0xe9, 0x1e, 0xc0, 0xed, 0xc1, 0xa1, 0xf1, 0x49, 0x67, 0x12, 0x4f, 0xfa, 0x66, 0xff, 0xe7,
+ 0x2a, 0xb1, 0xa9, 0x57, 0xff, 0x46, 0x03, 0x3d, 0xe0, 0xb9, 0x94, 0xc0, 0x8e, 0x27, 0xdf, 0xfc,
+ 0xf4, 0x5f, 0xd8, 0xcb, 0x6b, 0xb9, 0x22, 0xed, 0xbd, 0xac, 0xff, 0x4d, 0x98, 0x6a, 0xa3, 0x43,
+ 0xd3, 0x52, 0x10, 0xc1, 0xab, 0x6d, 0xc5, 0xe3, 0x21, 0x2f, 0x9c, 0xbf, 0xca, 0xe7, 0xf6, 0x67,
+ 0xff, 0xbc, 0xb0, 0x78, 0x01, 0x05, 0xe2, 0x03, 0xa8, 0xa1, 0xb7, 0xd1, 0x61, 0xef, 0x54, 0x69,
+ 0xf5, 0x4f, 0x53, 0x30, 0x7b, 0xaa, 0xfe, 0x08, 0xd5, 0x79, 0x1f, 0x66, 0xc3, 0x89, 0x05, 0xcf,
+ 0xc7, 0x4d, 0x8a, 0xf9, 0x06, 0x9d, 0xaa, 0xf5, 0xcc, 0x04, 0x1d, 0x82, 0x97, 0xe3, 0x0d, 0xd9,
+ 0xac, 0xbf, 0x06, 0xf9, 0xd8, 0xe5, 0x98, 0x5c, 0x50, 0xce, 0x18, 0x8f, 0x6e, 0xc7, 0xa8, 0xde,
+ 0x85, 0xd9, 0xde, 0xc7, 0xea, 0xa6, 0x10, 0xb0, 0xdc, 0xa8, 0xa4, 0x85, 0x93, 0x79, 0x7f, 0x98,
+ 0xbc, 0x86, 0x2b, 0xbe, 0x31, 0xdd, 0xf3, 0xc2, 0x3d, 0x32, 0x88, 0xaf, 0xc1, 0x8c, 0x4d, 0xe8,
+ 0xb3, 0x2e, 0x72, 0xc8, 0x1e, 0xc1, 0x76, 0x5c, 0xcf, 0x32, 0x62, 0x92, 0x37, 0xe2, 0xcd, 0xa1,
+ 0x8a, 0x55, 0xff, 0x33, 0x05, 0x93, 0xeb, 0x18, 0xaf, 0x12, 0x2a, 0x6f, 0x37, 0x88, 0xda, 0x14,
+ 0x7d, 0x0b, 0x26, 0xa5, 0x4f, 0xb1, 0x55, 0x8b, 0xbc, 0x36, 0x4b, 0x78, 0x2d, 0x2e, 0xa0, 0x02,
+ 0x1a, 0xe2, 0xd2, 0xec, 0x5b, 0x30, 0xc9, 0x4e, 0xc1, 0x4f, 0x98, 0xc7, 0xb0, 0x01, 0xfc, 0x06,
+ 0x14, 0xd4, 0xe7, 0x0a, 0xa8, 0x2d, 0x0e, 0x5a, 0xd2, 0x89, 0xbe, 0x4f, 0xc8, 0x4b, 0x90, 0x9a,
+ 0xc0, 0xe0, 0xa1, 0xfd, 0xc0, 0x73, 0xba, 0xed, 0xa4, 0x51, 0x59, 0x8d, 0xae, 0xfe, 0x7e, 0x2f,
+ 0xd3, 0x1b, 0x56, 0x0b, 0xdb, 0x5d, 0x47, 0x3c, 0xc6, 0xdd, 0xed, 0x5a, 0x5c, 0x6e, 0xd1, 0x69,
+ 0x5e, 0xc6, 0x18, 0x97, 0x75, 0xf2, 0x58, 0xe9, 0x2e, 0x4c, 0xa8, 0x2e, 0xe1, 0xa7, 0x0f, 0xf2,
+ 0x9d, 0x4d, 0x51, 0x56, 0x87, 0xdf, 0x3a, 0xf4, 0xab, 0x6a, 0x7a, 0x50, 0x55, 0xb7, 0x00, 0x18,
+ 0x51, 0x7b, 0xe8, 0xc0, 0x97, 0xdc, 0x1f, 0xa6, 0x9b, 0xa7, 0x28, 0x8a, 0x91, 0x63, 0xea, 0x17,
+ 0x1d, 0xa6, 0x83, 0x23, 0xc3, 0x74, 0x70, 0x13, 0xf4, 0x3e, 0xe4, 0x66, 0x73, 0x43, 0xd7, 0x21,
+ 0xc3, 0x82, 0x10, 0x96, 0x31, 0xc4, 0x6f, 0x1e, 0xd4, 0x19, 0x73, 0x06, 0xde, 0x18, 0xe5, 0x19,
+ 0x73, 0xa2, 0x57, 0x01, 0x7f, 0xa5, 0x41, 0xfe, 0x13, 0xc1, 0x68, 0x03, 0x5b, 0x9e, 0x6f, 0xeb,
+ 0x1f, 0x83, 0xbc, 0x6b, 0x36, 0x95, 0xf0, 0x92, 0x29, 0xf1, 0xb8, 0xc0, 0x90, 0xc0, 0x1c, 0x92,
+ 0xc5, 0x21, 0x13, 0xde, 0x08, 0xb0, 0x08, 0xb2, 0xfa, 0x87, 0x1a, 0x14, 0x6b, 0x32, 0xee, 0x2b,
+ 0x47, 0xa6, 0x97, 0x61, 0x4c, 0x65, 0x02, 0x2a, 0xa1, 0x08, 0x8a, 0x3a, 0x86, 0xb1, 0x57, 0xe8,
+ 0x54, 0x03, 0xec, 0xea, 0xef, 0x68, 0x90, 0x17, 0xf9, 0xb4, 0xe4, 0x24, 0x3d, 0xef, 0xa1, 0xc8,
+ 0x94, 0x83, 0x18, 0xa6, 0xcc, 0xe4, 0x4e, 0x4a, 0x64, 0x96, 0x5e, 0x34, 0xc3, 0xbb, 0xe7, 0x79,
+ 0x3d, 0x45, 0xc4, 0xd0, 0x25, 0x48, 0x9c, 0x6e, 0xf5, 0x6b, 0x50, 0x88, 0xd2, 0xa2, 0xfa, 0x2a,
+ 0xd5, 0xef, 0x40, 0xb1, 0x27, 0xbd, 0x93, 0x71, 0x3f, 0x6f, 0x14, 0xe2, 0xf9, 0x1d, 0xad, 0xfe,
+ 0xad, 0x06, 0xe3, 0x31, 0x20, 0xfd, 0x16, 0xe4, 0xfa, 0x83, 0x57, 0x54, 0x71, 0x45, 0xdb, 0xd3,
+ 0xf8, 0x86, 0x39, 0x7d, 0xb9, 0x0d, 0x73, 0xf5, 0x7b, 0x1a, 0x8c, 0xc8, 0xaf, 0x69, 0x7e, 0x0d,
+ 0xb4, 0x4e, 0x42, 0xcd, 0xd5, 0x3a, 0x7c, 0xf4, 0xb3, 0x84, 0xab, 0xd2, 0x9e, 0x55, 0xff, 0x58,
+ 0x83, 0x85, 0x5a, 0x70, 0x5e, 0x1e, 0xc9, 0xa1, 0xc7, 0xc8, 0x2e, 0x74, 0xd1, 0xbd, 0x0d, 0x45,
+ 0xa5, 0x3e, 0xd2, 0x6e, 0x02, 0xdd, 0xb8, 0xc0, 0xab, 0x08, 0x45, 0xac, 0xd0, 0x8e, 0x95, 0x68,
+ 0xf5, 0xfb, 0x1a, 0xdc, 0x0a, 0x67, 0x56, 0x3b, 0x65, 0x5a, 0x67, 0x9b, 0xd0, 0x95, 0xcf, 0x85,
+ 0x42, 0x3e, 0xde, 0x3c, 0xdc, 0x56, 0xa2, 0x50, 0x22, 0x37, 0x1e, 0x43, 0xa9, 0xc6, 0x57, 0xa4,
+ 0xf2, 0xb7, 0x20, 0x94, 0xd4, 0xf8, 0x16, 0xc4, 0xf5, 0xda, 0xab, 0xd8, 0x22, 0x6d, 0xe4, 0xd0,
+ 0x33, 0xb6, 0x20, 0x73, 0x7c, 0x0b, 0x22, 0x7b, 0x08, 0x82, 0x19, 0x23, 0x2c, 0xdf, 0x63, 0x70,
+ 0x6b, 0xd8, 0x57, 0x5e, 0x3a, 0xc0, 0xe8, 0x96, 0xb7, 0xeb, 0xd9, 0x47, 0xa5, 0x6b, 0x7a, 0x15,
+ 0xe6, 0x97, 0xf1, 0x3e, 0x71, 0x97, 0x1d, 0xcf, 0x7a, 0x8a, 0xfd, 0x46, 0x1b, 0xf9, 0x6c, 0xc5,
+ 0x73, 0x99, 0x8f, 0x2c, 0x46, 0xb7, 0x5d, 0xe7, 0xa8, 0xa4, 0xe9, 0xd3, 0xa0, 0x9f, 0x52, 0x9f,
+ 0xd2, 0xf3, 0x90, 0x5d, 0x3b, 0xc0, 0xfe, 0x91, 0xe7, 0xe2, 0x52, 0xfa, 0x5e, 0x33, 0xe0, 0x96,
+ 0x7c, 0xee, 0xa2, 0x4f, 0xc0, 0xf8, 0x63, 0x97, 0x76, 0xb0, 0x25, 0x82, 0x43, 0xe9, 0x1a, 0x27,
+ 0x5b, 0x13, 0xfc, 0x28, 0x69, 0xfc, 0xf7, 0x0e, 0xea, 0x52, 0x6c, 0x97, 0x52, 0x7a, 0x11, 0x60,
+ 0x15, 0xb7, 0x3d, 0x87, 0xd0, 0x16, 0xb6, 0x4b, 0x69, 0x7d, 0x1c, 0xc6, 0xc4, 0xb3, 0x55, 0x6c,
+ 0x97, 0x32, 0xf7, 0xbe, 0x48, 0xa9, 0xc7, 0x17, 0xe2, 0x4c, 0xb6, 0x02, 0xe3, 0x8f, 0xb7, 0x1a,
+ 0x3b, 0x6b, 0x2b, 0xf5, 0xf5, 0xfa, 0xda, 0x6a, 0xe9, 0xda, 0xdc, 0xc4, 0xf1, 0x49, 0x25, 0x5e,
+ 0xc5, 0x77, 0xb2, 0xcb, 0x8f, 0x9f, 0x94, 0xb4, 0xb9, 0xb1, 0xe3, 0x93, 0x0a, 0xff, 0xc9, 0xc3,
+ 0x4e, 0x63, 0x6d, 0x63, 0xa3, 0x94, 0x9a, 0xcb, 0x1e, 0x9f, 0x54, 0xc4, 0x6f, 0xce, 0xbd, 0x46,
+ 0x73, 0x7b, 0xc7, 0xe4, 0x5d, 0xd3, 0x73, 0xf9, 0xe3, 0x93, 0x4a, 0x58, 0xe6, 0x1e, 0x45, 0xfc,
+ 0x16, 0x83, 0x32, 0x73, 0x85, 0xe3, 0x93, 0x4a, 0x54, 0xc1, 0x47, 0x36, 0x6b, 0x1f, 0xad, 0x89,
+ 0x91, 0x23, 0x72, 0x64, 0x50, 0xe6, 0x23, 0xc5, 0x6f, 0x31, 0x72, 0x54, 0x8e, 0x0c, 0x2b, 0xf4,
+ 0x69, 0x18, 0x5d, 0x7e, 0xfc, 0xc4, 0xdc, 0xd9, 0x2e, 0x8d, 0xcd, 0xc1, 0xf1, 0x49, 0x45, 0x95,
+ 0xb8, 0x42, 0xf3, 0x76, 0xde, 0x90, 0x9d, 0x1b, 0x3f, 0x3e, 0xa9, 0x04, 0x45, 0x7d, 0x1e, 0x80,
+ 0xf7, 0xa9, 0x35, 0xb7, 0x37, 0xeb, 0x2b, 0xa5, 0xdc, 0x5c, 0xf1, 0xf8, 0xa4, 0x12, 0xab, 0xe1,
+ 0xdc, 0x10, 0x5d, 0x55, 0x07, 0x90, 0xdc, 0x88, 0x55, 0xdd, 0xfb, 0x0b, 0x0d, 0x0a, 0x6b, 0xc1,
+ 0xd9, 0x8a, 0xe0, 0xe0, 0x2d, 0x28, 0xc7, 0xa4, 0xd2, 0xd3, 0x26, 0x45, 0x24, 0x65, 0x58, 0xd2,
+ 0xf4, 0x02, 0xe4, 0xc4, 0x9d, 0xca, 0x3a, 0x71, 0x9c, 0x52, 0x4a, 0x9f, 0x83, 0x69, 0x51, 0xdc,
+ 0x44, 0xcc, 0x6a, 0x19, 0xf2, 0x3b, 0x4c, 0x21, 0x98, 0x52, 0x9a, 0x2b, 0x48, 0xd4, 0xb6, 0x85,
+ 0x9f, 0xcb, 0xfa, 0x8c, 0x7e, 0x03, 0xae, 0xab, 0xcf, 0xb9, 0xd4, 0x07, 0x95, 0xc4, 0x73, 0x4b,
+ 0x23, 0x1c, 0x4a, 0xbe, 0x4b, 0xee, 0x7f, 0xba, 0x58, 0x1a, 0xbd, 0xf7, 0xfd, 0x40, 0xde, 0x9b,
+ 0x88, 0x3e, 0xe5, 0x3c, 0x7b, 0xbc, 0xf5, 0xb8, 0x21, 0x44, 0x2d, 0x78, 0x26, 0x4b, 0x5c, 0xca,
+ 0xb5, 0xad, 0x50, 0xca, 0xb5, 0xad, 0x27, 0x9c, 0x8b, 0xc6, 0xda, 0x07, 0x8f, 0x37, 0x6a, 0x46,
+ 0x29, 0x25, 0xb9, 0xa8, 0x8a, 0x9c, 0x4b, 0x2b, 0xdb, 0x5b, 0xab, 0xf5, 0x66, 0x7d, 0x7b, 0xab,
+ 0xc6, 0x25, 0x2a, 0xb8, 0x14, 0xab, 0xd2, 0x97, 0x60, 0x66, 0xb5, 0x6e, 0xac, 0xad, 0xf0, 0x22,
+ 0x17, 0xa4, 0xb9, 0x6d, 0x98, 0x8f, 0xea, 0x1f, 0x3c, 0x5a, 0x33, 0x4a, 0xd9, 0xb9, 0xeb, 0xc7,
+ 0x27, 0x95, 0x42, 0x4f, 0x65, 0x6f, 0x7f, 0xc1, 0xee, 0x6d, 0xc3, 0xdc, 0xd8, 0xfe, 0xc6, 0x9a,
+ 0x51, 0x2a, 0xc9, 0xfe, 0x3d, 0x95, 0xfa, 0x4d, 0x18, 0x6f, 0x3e, 0xd9, 0x59, 0x33, 0x37, 0x6b,
+ 0xc6, 0x47, 0x6b, 0xcd, 0x52, 0x45, 0x2e, 0x45, 0x96, 0xf4, 0x59, 0x00, 0xd1, 0xb8, 0x51, 0xdf,
+ 0xac, 0x37, 0x4b, 0x0f, 0xe7, 0x72, 0xc7, 0x27, 0x95, 0x11, 0x51, 0x58, 0x6e, 0xfd, 0xf8, 0xc5,
+ 0xbc, 0xf6, 0x93, 0x17, 0xf3, 0xda, 0xbf, 0xbc, 0x98, 0xd7, 0xfe, 0xe0, 0xcb, 0xf9, 0x6b, 0x3f,
+ 0xf9, 0x72, 0xfe, 0xda, 0xdf, 0x7f, 0x39, 0x7f, 0xed, 0xd7, 0xb7, 0x62, 0xae, 0xbe, 0x1e, 0xb8,
+ 0x99, 0x0d, 0xb4, 0x4b, 0xef, 0x87, 0x4e, 0xe7, 0x1d, 0xcb, 0xf3, 0x71, 0xbc, 0xd8, 0x42, 0xc4,
+ 0xbd, 0xdf, 0xf6, 0x78, 0x5e, 0x4a, 0xa3, 0xff, 0x1b, 0x21, 0xc2, 0xc2, 0xee, 0xa8, 0xf8, 0x3c,
+ 0xf0, 0x97, 0xfe, 0x37, 0x00, 0x00, 0xff, 0xff, 0x3f, 0x09, 0xcb, 0x9d, 0x5a, 0x42, 0x00, 0x00,
}
func (this *Params) Equal(that interface{}) bool {
@@ -3451,6 +3487,9 @@ func (this *Params) Equal(that interface{}) bool {
if this.IsInstantDerivativeMarketLaunchEnabled != that1.IsInstantDerivativeMarketLaunchEnabled {
return false
}
+ if this.PostOnlyModeHeightThreshold != that1.PostOnlyModeHeightThreshold {
+ return false
+ }
return true
}
func (m *Params) Marshal() (dAtA []byte, err error) {
@@ -3473,6 +3512,13 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if m.PostOnlyModeHeightThreshold != 0 {
+ i = encodeVarintExchange(dAtA, i, uint64(m.PostOnlyModeHeightThreshold))
+ i--
+ dAtA[i] = 0x1
+ i--
+ dAtA[i] = 0xc8
+ }
if m.IsInstantDerivativeMarketLaunchEnabled {
i--
if m.IsInstantDerivativeMarketLaunchEnabled {
@@ -4552,6 +4598,13 @@ func (m *OrderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintExchange(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x2a
+ }
{
size := m.Quantity.Size()
i -= size
@@ -5292,6 +5345,13 @@ func (m *TradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintExchange(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x3a
+ }
if len(m.FeeRecipientAddress) > 0 {
i -= len(m.FeeRecipientAddress)
copy(dAtA[i:], m.FeeRecipientAddress)
@@ -5429,6 +5489,13 @@ func (m *DerivativeTradeLog) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintExchange(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x3a
+ }
if len(m.FeeRecipientAddress) > 0 {
i -= len(m.FeeRecipientAddress)
copy(dAtA[i:], m.FeeRecipientAddress)
@@ -6474,6 +6541,9 @@ func (m *Params) Size() (n int) {
if m.IsInstantDerivativeMarketLaunchEnabled {
n += 3
}
+ if m.PostOnlyModeHeightThreshold != 0 {
+ n += 2 + sovExchange(uint64(m.PostOnlyModeHeightThreshold))
+ }
return n
}
@@ -6800,6 +6870,10 @@ func (m *OrderInfo) Size() (n int) {
n += 1 + l + sovExchange(uint64(l))
l = m.Quantity.Size()
n += 1 + l + sovExchange(uint64(l))
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovExchange(uint64(l))
+ }
return n
}
@@ -7067,6 +7141,10 @@ func (m *TradeLog) Size() (n int) {
if l > 0 {
n += 1 + l + sovExchange(uint64(l))
}
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovExchange(uint64(l))
+ }
return n
}
@@ -7114,6 +7192,10 @@ func (m *DerivativeTradeLog) Size() (n int) {
if l > 0 {
n += 1 + l + sovExchange(uint64(l))
}
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovExchange(uint64(l))
+ }
return n
}
@@ -8250,6 +8332,25 @@ func (m *Params) Unmarshal(dAtA []byte) error {
}
}
m.IsInstantDerivativeMarketLaunchEnabled = bool(v != 0)
+ case 25:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PostOnlyModeHeightThreshold", wireType)
+ }
+ m.PostOnlyModeHeightThreshold = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowExchange
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.PostOnlyModeHeightThreshold |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
default:
iNdEx = preIndex
skippy, err := skipExchange(dAtA[iNdEx:])
@@ -11026,6 +11127,38 @@ func (m *OrderInfo) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowExchange
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthExchange
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthExchange
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipExchange(dAtA[iNdEx:])
@@ -13306,6 +13439,38 @@ func (m *TradeLog) Unmarshal(dAtA []byte) error {
m.FeeRecipientAddress = []byte{}
}
iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowExchange
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthExchange
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthExchange
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipExchange(dAtA[iNdEx:])
@@ -13734,6 +13899,38 @@ func (m *DerivativeTradeLog) Unmarshal(dAtA []byte) error {
m.FeeRecipientAddress = []byte{}
}
iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowExchange
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthExchange
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthExchange
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipExchange(dAtA[iNdEx:])
diff --git a/chain/exchange/types/genesis.pb.go b/chain/exchange/types/genesis.pb.go
index 92998d1d..d83d83f7 100644
--- a/chain/exchange/types/genesis.pb.go
+++ b/chain/exchange/types/genesis.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/exchange/types/key.go b/chain/exchange/types/key.go
index e0942bff..93af05d1 100644
--- a/chain/exchange/types/key.go
+++ b/chain/exchange/types/key.go
@@ -38,6 +38,7 @@ var (
SubaccountMarketVolumePrefix = []byte{0x0b} // prefix for each key to the aggregate volume for a subaccount in a market
MarketVolumePrefix = []byte{0x0c} // prefix for each key to the aggregate volume for a market
ParamsKey = []byte{0x0d} // prefix for module params
+ SubaccountCidPrefix = []byte{0x0e} // prefix for each
DenomDecimalsPrefix = []byte{0x10} // prefix for denom decimals
SpotMarketsPrefix = []byte{0x11} // prefix for each key to a spot market by (isEnabled, marketID)
@@ -111,6 +112,17 @@ var (
AtomicMarketOrderTakerFeeMultiplierKey = []byte{0x79} // key to store individual market atomic take fee multiplier
)
+func GetSubaccountCidKey(subaccountID common.Hash, cid string) []byte {
+ return append(SubaccountCidPrefix, append(subaccountID.Bytes(), cid...)...)
+}
+
+func ParseMarketDirectionAndOrderHashFromSubaccountCidValue(key []byte) (marketID common.Hash, direction byte, orderHash common.Hash) {
+ marketID = common.BytesToHash(key[:common.HashLength])
+ direction = key[common.HashLength]
+ orderHash = common.BytesToHash(key[common.HashLength+1:])
+ return marketID, direction, orderHash
+}
+
// GetFeeDiscountAccountVolumeInBucketKey provides the key for the account's volume in the given bucket
func GetFeeDiscountAccountVolumeInBucketKey(bucketStartTimestamp int64, account sdk.AccAddress) []byte {
timeBz := sdk.Uint64ToBigEndian(uint64(bucketStartTimestamp))
diff --git a/chain/exchange/types/market.go b/chain/exchange/types/market.go
index e8270bd9..e84d685f 100644
--- a/chain/exchange/types/market.go
+++ b/chain/exchange/types/market.go
@@ -86,6 +86,34 @@ func (m *SpotMarket) StatusSupportsOrderCancellations() bool {
return m.Status.SupportsOrderCancellations()
}
+func (m *SpotMarket) GetMarketType() MarketType {
+ return MarketType_Spot
+}
+
+func (m *SpotMarket) GetMakerFeeRate() sdk.Dec {
+ return m.MakerFeeRate
+}
+
+func (m *SpotMarket) GetTakerFeeRate() sdk.Dec {
+ return m.TakerFeeRate
+}
+
+func (m *SpotMarket) GetRelayerFeeShareRate() sdk.Dec {
+ return m.RelayerFeeShareRate
+}
+
+func (m *SpotMarket) GetMinPriceTickSize() sdk.Dec {
+ return m.MinPriceTickSize
+}
+
+func (m *SpotMarket) GetMinQuantityTickSize() sdk.Dec {
+ return m.MinQuantityTickSize
+}
+
+func (m *SpotMarket) GetMarketStatus() MarketStatus {
+ return m.Status
+}
+
func (m *ExpiryFuturesMarketInfo) IsPremature(currBlockTime int64) bool {
return currBlockTime < m.TwapStartTimestamp
}
diff --git a/chain/exchange/types/msgs.go b/chain/exchange/types/msgs.go
index 73479b65..84ae39e5 100644
--- a/chain/exchange/types/msgs.go
+++ b/chain/exchange/types/msgs.go
@@ -37,6 +37,7 @@ var (
_ sdk.Msg = &MsgExternalTransfer{}
_ sdk.Msg = &MsgIncreasePositionMargin{}
_ sdk.Msg = &MsgLiquidatePosition{}
+ _ sdk.Msg = &MsgEmergencySettleMarket{}
_ sdk.Msg = &MsgInstantSpotMarketLaunch{}
_ sdk.Msg = &MsgInstantPerpetualMarketLaunch{}
_ sdk.Msg = &MsgInstantExpiryFuturesMarketLaunch{}
@@ -71,6 +72,7 @@ const (
TypeMsgExternalTransfer = "externalTransfer"
TypeMsgIncreasePositionMargin = "increasePositionMargin"
TypeMsgLiquidatePosition = "liquidatePosition"
+ TypeMsgEmergencySettleMarket = "emergencySettleMarket"
TypeMsgInstantSpotMarketLaunch = "instantSpotMarketLaunch"
TypeMsgInstantPerpetualMarketLaunch = "instantPerpetualMarketLaunch"
TypeMsgInstantExpiryFuturesMarketLaunch = "instantExpiryFuturesMarketLaunch"
@@ -142,6 +144,10 @@ func (o *OrderInfo) ValidateBasic(senderAddr sdk.AccAddress, hasBinaryPriceBand,
return err
}
+ if o.Cid != "" && !IsValidCid(o.Cid) {
+ return errors.Wrap(ErrInvalidCid, o.Cid)
+ }
+
if o.Quantity.IsNil() || o.Quantity.LTE(sdk.ZeroDec()) || o.Quantity.GT(MaxOrderQuantity) {
return errors.Wrap(ErrInvalidQuantity, o.Quantity.String())
}
@@ -192,7 +198,7 @@ func (o *DerivativeOrder) ValidateBasic(senderAddr sdk.AccAddress, hasBinaryPric
}
if o.IsConditional() && (o.TriggerPrice == nil || o.TriggerPrice.LT(MinDerivativeOrderPrice)) { /*||
- !o.IsConditional() && o.TriggerPrice != nil */// commented out this check since FE is sending to us 0.0 trigger price for all orders
+ !o.IsConditional() && o.TriggerPrice != nil */ // commented out this check since FE is sending to us 0.0 trigger price for all orders
return errors.Wrapf(ErrInvalidTriggerPrice, "Mismatch between triggerPrice: %v and orderType: %v, or triggerPrice is incorrect", o.TriggerPrice, o.OrderType)
}
@@ -214,12 +220,25 @@ func (o *OrderData) ValidateBasic(senderAddr sdk.AccAddress) error {
return err
}
- if ok := IsValidOrderHash(o.OrderHash); !ok {
+ // order data must contain either an order hash or cid
+ if o.Cid == "" && o.OrderHash == "" {
+ return ErrOrderHashInvalid
+ }
+
+ if o.Cid != "" && !IsValidCid(o.Cid) {
+ return errors.Wrap(ErrInvalidCid, o.Cid)
+ }
+
+ if o.OrderHash != "" && !IsValidOrderHash(o.OrderHash) {
return errors.Wrap(ErrOrderHashInvalid, o.OrderHash)
}
return nil
}
+func (o *OrderData) GetIdentifier() any {
+ return GetOrderIdentifier(o.OrderHash, o.Cid)
+}
+
// Route implements the sdk.Msg interface. It should return the name of the module
func (msg MsgDeposit) Route() string { return RouterKey }
@@ -712,6 +731,7 @@ func (msg *MsgCancelSpotOrder) ValidateBasic() error {
MarketId: msg.MarketId,
SubaccountId: msg.SubaccountId,
OrderHash: msg.OrderHash,
+ Cid: msg.Cid,
}
return orderData.ValidateBasic(senderAddr)
}
@@ -1042,6 +1062,7 @@ func (msg *MsgCancelDerivativeOrder) ValidateBasic() error {
MarketId: msg.MarketId,
SubaccountId: msg.SubaccountId,
OrderHash: msg.OrderHash,
+ Cid: msg.Cid,
}
return orderData.ValidateBasic(senderAddr)
}
@@ -1125,6 +1146,7 @@ func (msg *MsgCancelBinaryOptionsOrder) ValidateBasic() error {
MarketId: msg.MarketId,
SubaccountId: msg.SubaccountId,
OrderHash: msg.OrderHash,
+ Cid: msg.Cid,
}
return orderData.ValidateBasic(senderAddr)
}
@@ -1496,6 +1518,45 @@ func (msg *MsgLiquidatePosition) GetSigners() []sdk.AccAddress {
return []sdk.AccAddress{sender}
}
+func (msg *MsgEmergencySettleMarket) Route() string {
+ return RouterKey
+}
+
+func (msg *MsgEmergencySettleMarket) Type() string {
+ return TypeMsgEmergencySettleMarket
+}
+
+func (msg *MsgEmergencySettleMarket) ValidateBasic() error {
+ _, err := sdk.AccAddressFromBech32(msg.Sender)
+
+ if err != nil {
+ return errors.Wrap(sdkerrors.ErrInvalidAddress, msg.Sender)
+ }
+
+ if !IsHexHash(msg.MarketId) {
+ return errors.Wrap(ErrMarketInvalid, msg.MarketId)
+ }
+
+ _, ok := IsValidSubaccountID(msg.SubaccountId)
+ if !ok {
+ return errors.Wrap(ErrBadSubaccountID, msg.SubaccountId)
+ }
+
+ return nil
+}
+
+func (msg *MsgEmergencySettleMarket) GetSignBytes() []byte {
+ return sdk.MustSortJSON(ModuleCdc.MustMarshalJSON(msg))
+}
+
+func (msg *MsgEmergencySettleMarket) GetSigners() []sdk.AccAddress {
+ sender, err := sdk.AccAddressFromBech32(msg.Sender)
+ if err != nil {
+ panic(err)
+ }
+ return []sdk.AccAddress{sender}
+}
+
// Route implements the sdk.Msg interface. It should return the name of the module
func (msg MsgBatchUpdateOrders) Route() string { return RouterKey }
diff --git a/chain/exchange/types/params.go b/chain/exchange/types/params.go
index f2fc5576..f5a45be8 100644
--- a/chain/exchange/types/params.go
+++ b/chain/exchange/types/params.go
@@ -86,6 +86,7 @@ var (
KeyBinaryOptionsAtomicMarketOrderFeeMultiplier = []byte("BinaryOptionsAtomicMarketOrderFeeMultiplier")
KeyMinimalProtocolFeeRate = []byte("MinimalProtocolFeeRate")
KeyIsInstantDerivativeMarketLaunchEnabled = []byte("IsInstantDerivativeMarketLaunchEnabled")
+ KeyPostOnlyModeHeightThreshold = []byte("PostOnlyModeHeightThreshold")
)
// ParamKeyTable returns the parameter key table.
@@ -118,6 +119,7 @@ func NewParams(
derivativeAtomicMarketOrderFeeMultiplier sdk.Dec,
binaryOptionsAtomicMarketOrderFeeMultiplier sdk.Dec,
minimalProtocolFeeRate sdk.Dec,
+ postOnlyModeHeightThreshold int64,
) Params {
return Params{
SpotMarketInstantListingFee: spotMarketInstantListingFee,
@@ -143,6 +145,8 @@ func NewParams(
DerivativeAtomicMarketOrderFeeMultiplier: derivativeAtomicMarketOrderFeeMultiplier,
BinaryOptionsAtomicMarketOrderFeeMultiplier: binaryOptionsAtomicMarketOrderFeeMultiplier,
MinimalProtocolFeeRate: minimalProtocolFeeRate,
+ IsInstantDerivativeMarketLaunchEnabled: false,
+ PostOnlyModeHeightThreshold: postOnlyModeHeightThreshold,
}
}
@@ -173,6 +177,7 @@ func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs {
paramtypes.NewParamSetPair(KeyBinaryOptionsAtomicMarketOrderFeeMultiplier, &p.BinaryOptionsAtomicMarketOrderFeeMultiplier, validateAtomicMarketOrderFeeMultiplier),
paramtypes.NewParamSetPair(KeyMinimalProtocolFeeRate, &p.MinimalProtocolFeeRate, ValidateFee),
paramtypes.NewParamSetPair(KeyIsInstantDerivativeMarketLaunchEnabled, &p.IsInstantDerivativeMarketLaunchEnabled, validateBool),
+ paramtypes.NewParamSetPair(KeyPostOnlyModeHeightThreshold, &p.PostOnlyModeHeightThreshold, validatePostOnlyModeHeightThreshold),
}
}
@@ -202,6 +207,8 @@ func DefaultParams() Params {
DerivativeAtomicMarketOrderFeeMultiplier: sdk.NewDecWithPrec(25, 1), // default 2.5 multiplier
BinaryOptionsAtomicMarketOrderFeeMultiplier: sdk.NewDecWithPrec(25, 1), // default 2.5 multiplier
MinimalProtocolFeeRate: sdk.MustNewDecFromStr("0.00005"), // default 0.005% minimal fee rate
+ IsInstantDerivativeMarketLaunchEnabled: false,
+ PostOnlyModeHeightThreshold: 0,
}
}
@@ -273,6 +280,9 @@ func (p Params) Validate() error {
if err := ValidateFee(p.MinimalProtocolFeeRate); err != nil {
return fmt.Errorf("minimal_protocol_fee_rate is incorrect: %w", err)
}
+ if err := validatePostOnlyModeHeightThreshold(p.PostOnlyModeHeightThreshold); err != nil {
+ return fmt.Errorf("post_only_mode_height_threshold is incorrect: %w", err)
+ }
return nil
}
@@ -478,6 +488,19 @@ func validateFundingInterval(i interface{}) error {
return nil
}
+func validatePostOnlyModeHeightThreshold(i interface{}) error {
+ v, ok := i.(int64)
+ if !ok {
+ return fmt.Errorf("invalid parameter type: %T", i)
+ }
+
+ if v < 0 {
+ return fmt.Errorf("postOnlyModeHeightThreshold must be non-negative: %d", v)
+ }
+
+ return nil
+}
+
func validateFundingMultiple(i interface{}) error {
v, ok := i.(int64)
if !ok {
diff --git a/chain/exchange/types/positions.go b/chain/exchange/types/positions.go
index d4fd101a..10899a5c 100644
--- a/chain/exchange/types/positions.go
+++ b/chain/exchange/types/positions.go
@@ -188,6 +188,17 @@ func (p *Position) checkValidClosingPrice(closingPrice, tradeFeeRate sdk.Dec, fu
return nil
}
+func (p *Position) GetLiquidationMarketOrderWorstPrice(markPrice sdk.Dec, funding *PerpetualMarketFunding) sdk.Dec {
+ bankruptcyPrice := p.GetBankruptcyPrice(funding)
+ hasNegativeEquity := (p.IsLong && markPrice.LT(bankruptcyPrice)) || (p.IsShort() && markPrice.GT(bankruptcyPrice))
+
+ if hasNegativeEquity {
+ return markPrice
+ }
+
+ return bankruptcyPrice
+}
+
func (p *Position) GetBankruptcyPrice(funding *PerpetualMarketFunding) (bankruptcyPrice sdk.Dec) {
return p.GetLiquidationPrice(sdk.ZeroDec(), funding)
}
diff --git a/chain/exchange/types/proposal.go b/chain/exchange/types/proposal.go
index 19a0170a..ccba95ed 100644
--- a/chain/exchange/types/proposal.go
+++ b/chain/exchange/types/proposal.go
@@ -197,6 +197,18 @@ func (p *BatchExchangeModificationProposal) ValidateBasic() error {
}
}
+ if p.FeeDiscountProposal != nil {
+ if err := p.FeeDiscountProposal.ValidateBasic(); err != nil {
+ return err
+ }
+ }
+
+ for _, proposal := range p.MarketForcedSettlementProposals {
+ if err := proposal.ValidateBasic(); err != nil {
+ return err
+ }
+ }
+
return govtypes.ValidateAbstract(p)
}
diff --git a/chain/exchange/types/proposal.pb.go b/chain/exchange/types/proposal.pb.go
new file mode 100644
index 00000000..8ec78f6e
--- /dev/null
+++ b/chain/exchange/types/proposal.pb.go
@@ -0,0 +1,9436 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: injective/exchange/v1beta1/proposal.proto
+
+package types
+
+import (
+ fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
+ types "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
+ _ "github.com/cosmos/cosmos-proto"
+ _ "github.com/cosmos/cosmos-sdk/types"
+ github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/cosmos-sdk/types/msgservice"
+ types1 "github.com/cosmos/cosmos-sdk/x/distribution/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+type ExchangeType int32
+
+const (
+ ExchangeType_EXCHANGE_UNSPECIFIED ExchangeType = 0
+ ExchangeType_SPOT ExchangeType = 1
+ ExchangeType_DERIVATIVES ExchangeType = 2
+)
+
+var ExchangeType_name = map[int32]string{
+ 0: "EXCHANGE_UNSPECIFIED",
+ 1: "SPOT",
+ 2: "DERIVATIVES",
+}
+
+var ExchangeType_value = map[string]int32{
+ "EXCHANGE_UNSPECIFIED": 0,
+ "SPOT": 1,
+ "DERIVATIVES": 2,
+}
+
+func (x ExchangeType) String() string {
+ return proto.EnumName(ExchangeType_name, int32(x))
+}
+
+func (ExchangeType) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{0}
+}
+
+type SpotMarketParamUpdateProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // maker_fee_rate defines the trade fee rate for makers on the spot market
+ MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
+ // taker_fee_rate defines the trade fee rate for takers on the spot market
+ TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
+ // relayer_fee_share_rate defines the relayer fee share rate for the spot
+ // market
+ RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=relayer_fee_share_rate,json=relayerFeeShareRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"relayer_fee_share_rate,omitempty"`
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size,omitempty"`
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size,omitempty"`
+ Status MarketStatus `protobuf:"varint,9,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
+}
+
+func (m *SpotMarketParamUpdateProposal) Reset() { *m = SpotMarketParamUpdateProposal{} }
+func (m *SpotMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) }
+func (*SpotMarketParamUpdateProposal) ProtoMessage() {}
+func (*SpotMarketParamUpdateProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{0}
+}
+func (m *SpotMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SpotMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SpotMarketParamUpdateProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SpotMarketParamUpdateProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SpotMarketParamUpdateProposal.Merge(m, src)
+}
+func (m *SpotMarketParamUpdateProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *SpotMarketParamUpdateProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_SpotMarketParamUpdateProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SpotMarketParamUpdateProposal proto.InternalMessageInfo
+
+type ExchangeEnableProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ ExchangeType ExchangeType `protobuf:"varint,3,opt,name=exchangeType,proto3,enum=injective.exchange.v1beta1.ExchangeType" json:"exchangeType,omitempty"`
+}
+
+func (m *ExchangeEnableProposal) Reset() { *m = ExchangeEnableProposal{} }
+func (m *ExchangeEnableProposal) String() string { return proto.CompactTextString(m) }
+func (*ExchangeEnableProposal) ProtoMessage() {}
+func (*ExchangeEnableProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{1}
+}
+func (m *ExchangeEnableProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ExchangeEnableProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ExchangeEnableProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ExchangeEnableProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ExchangeEnableProposal.Merge(m, src)
+}
+func (m *ExchangeEnableProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *ExchangeEnableProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_ExchangeEnableProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ExchangeEnableProposal proto.InternalMessageInfo
+
+type BatchExchangeModificationProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ SpotMarketParamUpdateProposals []*SpotMarketParamUpdateProposal `protobuf:"bytes,3,rep,name=spot_market_param_update_proposals,json=spotMarketParamUpdateProposals,proto3" json:"spot_market_param_update_proposals,omitempty"`
+ DerivativeMarketParamUpdateProposals []*DerivativeMarketParamUpdateProposal `protobuf:"bytes,4,rep,name=derivative_market_param_update_proposals,json=derivativeMarketParamUpdateProposals,proto3" json:"derivative_market_param_update_proposals,omitempty"`
+ SpotMarketLaunchProposals []*SpotMarketLaunchProposal `protobuf:"bytes,5,rep,name=spot_market_launch_proposals,json=spotMarketLaunchProposals,proto3" json:"spot_market_launch_proposals,omitempty"`
+ PerpetualMarketLaunchProposals []*PerpetualMarketLaunchProposal `protobuf:"bytes,6,rep,name=perpetual_market_launch_proposals,json=perpetualMarketLaunchProposals,proto3" json:"perpetual_market_launch_proposals,omitempty"`
+ ExpiryFuturesMarketLaunchProposals []*ExpiryFuturesMarketLaunchProposal `protobuf:"bytes,7,rep,name=expiry_futures_market_launch_proposals,json=expiryFuturesMarketLaunchProposals,proto3" json:"expiry_futures_market_launch_proposals,omitempty"`
+ TradingRewardCampaignUpdateProposal *TradingRewardCampaignUpdateProposal `protobuf:"bytes,8,opt,name=trading_reward_campaign_update_proposal,json=tradingRewardCampaignUpdateProposal,proto3" json:"trading_reward_campaign_update_proposal,omitempty"`
+ BinaryOptionsMarketLaunchProposals []*BinaryOptionsMarketLaunchProposal `protobuf:"bytes,9,rep,name=binary_options_market_launch_proposals,json=binaryOptionsMarketLaunchProposals,proto3" json:"binary_options_market_launch_proposals,omitempty"`
+ BinaryOptionsParamUpdateProposals []*BinaryOptionsMarketParamUpdateProposal `protobuf:"bytes,10,rep,name=binary_options_param_update_proposals,json=binaryOptionsParamUpdateProposals,proto3" json:"binary_options_param_update_proposals,omitempty"`
+ DenomDecimalsUpdateProposal *UpdateDenomDecimalsProposal `protobuf:"bytes,11,opt,name=denom_decimals_update_proposal,json=denomDecimalsUpdateProposal,proto3" json:"denom_decimals_update_proposal,omitempty"`
+ FeeDiscountProposal *FeeDiscountProposal `protobuf:"bytes,12,opt,name=fee_discount_proposal,json=feeDiscountProposal,proto3" json:"fee_discount_proposal,omitempty"`
+ MarketForcedSettlementProposals []*MarketForcedSettlementProposal `protobuf:"bytes,13,rep,name=market_forced_settlement_proposals,json=marketForcedSettlementProposals,proto3" json:"market_forced_settlement_proposals,omitempty"`
+}
+
+func (m *BatchExchangeModificationProposal) Reset() { *m = BatchExchangeModificationProposal{} }
+func (m *BatchExchangeModificationProposal) String() string { return proto.CompactTextString(m) }
+func (*BatchExchangeModificationProposal) ProtoMessage() {}
+func (*BatchExchangeModificationProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{2}
+}
+func (m *BatchExchangeModificationProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *BatchExchangeModificationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_BatchExchangeModificationProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *BatchExchangeModificationProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_BatchExchangeModificationProposal.Merge(m, src)
+}
+func (m *BatchExchangeModificationProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *BatchExchangeModificationProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_BatchExchangeModificationProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_BatchExchangeModificationProposal proto.InternalMessageInfo
+
+// SpotMarketLaunchProposal defines a SDK message for proposing a new spot
+// market through governance
+type SpotMarketLaunchProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ // Ticker for the spot market.
+ Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
+ // type of coin to use as the base currency
+ BaseDenom string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
+ // type of coin to use as the quote currency
+ QuoteDenom string `protobuf:"bytes,5,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ // min_price_tick_size defines the minimum tick size of the order's price
+ MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
+ // maker_fee_rate defines the fee percentage makers pay when trading
+ MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
+ // taker_fee_rate defines the fee percentage takers pay when trading
+ TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
+}
+
+func (m *SpotMarketLaunchProposal) Reset() { *m = SpotMarketLaunchProposal{} }
+func (m *SpotMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
+func (*SpotMarketLaunchProposal) ProtoMessage() {}
+func (*SpotMarketLaunchProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{3}
+}
+func (m *SpotMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SpotMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SpotMarketLaunchProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SpotMarketLaunchProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SpotMarketLaunchProposal.Merge(m, src)
+}
+func (m *SpotMarketLaunchProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *SpotMarketLaunchProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_SpotMarketLaunchProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SpotMarketLaunchProposal proto.InternalMessageInfo
+
+// PerpetualMarketLaunchProposal defines a SDK message for proposing a new
+// perpetual futures market through governance
+type PerpetualMarketLaunchProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ // Ticker for the derivative market.
+ Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
+ // type of coin to use as the base currency
+ QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ // Oracle base currency
+ OracleBase string `protobuf:"bytes,5,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
+ // Oracle quote currency
+ OracleQuote string `protobuf:"bytes,6,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
+ // Scale factor for oracle prices.
+ OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
+ // Oracle type
+ OracleType types.OracleType `protobuf:"varint,8,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
+ // initial_margin_ratio defines the initial margin ratio for the derivative
+ // market
+ InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"initial_margin_ratio"`
+ // maintenance_margin_ratio defines the maintenance margin ratio for the
+ // derivative market
+ MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maintenance_margin_ratio"`
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate"`
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate"`
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
+}
+
+func (m *PerpetualMarketLaunchProposal) Reset() { *m = PerpetualMarketLaunchProposal{} }
+func (m *PerpetualMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
+func (*PerpetualMarketLaunchProposal) ProtoMessage() {}
+func (*PerpetualMarketLaunchProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{4}
+}
+func (m *PerpetualMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *PerpetualMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_PerpetualMarketLaunchProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *PerpetualMarketLaunchProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_PerpetualMarketLaunchProposal.Merge(m, src)
+}
+func (m *PerpetualMarketLaunchProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *PerpetualMarketLaunchProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_PerpetualMarketLaunchProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_PerpetualMarketLaunchProposal proto.InternalMessageInfo
+
+type BinaryOptionsMarketLaunchProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ // Ticker for the derivative contract.
+ Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
+ // Oracle symbol
+ OracleSymbol string `protobuf:"bytes,4,opt,name=oracle_symbol,json=oracleSymbol,proto3" json:"oracle_symbol,omitempty"`
+ // Oracle Provider
+ OracleProvider string `protobuf:"bytes,5,opt,name=oracle_provider,json=oracleProvider,proto3" json:"oracle_provider,omitempty"`
+ // Oracle type
+ OracleType types.OracleType `protobuf:"varint,6,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
+ // Scale factor for oracle prices.
+ OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
+ // expiration timestamp
+ ExpirationTimestamp int64 `protobuf:"varint,8,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
+ // expiration timestamp
+ SettlementTimestamp int64 `protobuf:"varint,9,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
+ // admin of the market
+ Admin string `protobuf:"bytes,10,opt,name=admin,proto3" json:"admin,omitempty"`
+ // Address of the quote currency denomination for the binary options contract
+ QuoteDenom string `protobuf:"bytes,11,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ // maker_fee_rate defines the maker fee rate of a binary options market
+ MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate"`
+ // taker_fee_rate defines the taker fee rate of a derivative market
+ TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate"`
+ // min_price_tick_size defines the minimum tick size that the price and margin
+ // required for orders in the market
+ MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
+ // min_quantity_tick_size defines the minimum tick size of the quantity
+ // required for orders in the market
+ MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,15,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
+}
+
+func (m *BinaryOptionsMarketLaunchProposal) Reset() { *m = BinaryOptionsMarketLaunchProposal{} }
+func (m *BinaryOptionsMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
+func (*BinaryOptionsMarketLaunchProposal) ProtoMessage() {}
+func (*BinaryOptionsMarketLaunchProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{5}
+}
+func (m *BinaryOptionsMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *BinaryOptionsMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_BinaryOptionsMarketLaunchProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *BinaryOptionsMarketLaunchProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_BinaryOptionsMarketLaunchProposal.Merge(m, src)
+}
+func (m *BinaryOptionsMarketLaunchProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *BinaryOptionsMarketLaunchProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_BinaryOptionsMarketLaunchProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_BinaryOptionsMarketLaunchProposal proto.InternalMessageInfo
+
+// ExpiryFuturesMarketLaunchProposal defines a SDK message for proposing a new
+// expiry futures market through governance
+type ExpiryFuturesMarketLaunchProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ // Ticker for the derivative market.
+ Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
+ // type of coin to use as the quote currency
+ QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ // Oracle base currency
+ OracleBase string `protobuf:"bytes,5,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
+ // Oracle quote currency
+ OracleQuote string `protobuf:"bytes,6,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
+ // Scale factor for oracle prices.
+ OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
+ // Oracle type
+ OracleType types.OracleType `protobuf:"varint,8,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
+ // Expiration time of the market
+ Expiry int64 `protobuf:"varint,9,opt,name=expiry,proto3" json:"expiry,omitempty"`
+ // initial_margin_ratio defines the initial margin ratio for the derivative
+ // market
+ InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"initial_margin_ratio"`
+ // maintenance_margin_ratio defines the maintenance margin ratio for the
+ // derivative market
+ MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maintenance_margin_ratio"`
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate"`
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate"`
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,15,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
+}
+
+func (m *ExpiryFuturesMarketLaunchProposal) Reset() { *m = ExpiryFuturesMarketLaunchProposal{} }
+func (m *ExpiryFuturesMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
+func (*ExpiryFuturesMarketLaunchProposal) ProtoMessage() {}
+func (*ExpiryFuturesMarketLaunchProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{6}
+}
+func (m *ExpiryFuturesMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ExpiryFuturesMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ExpiryFuturesMarketLaunchProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ExpiryFuturesMarketLaunchProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ExpiryFuturesMarketLaunchProposal.Merge(m, src)
+}
+func (m *ExpiryFuturesMarketLaunchProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *ExpiryFuturesMarketLaunchProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_ExpiryFuturesMarketLaunchProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ExpiryFuturesMarketLaunchProposal proto.InternalMessageInfo
+
+type DerivativeMarketParamUpdateProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // initial_margin_ratio defines the initial margin ratio for the derivative
+ // market
+ InitialMarginRatio *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"initial_margin_ratio,omitempty"`
+ // maintenance_margin_ratio defines the maintenance margin ratio for the
+ // derivative market
+ MaintenanceMarginRatio *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maintenance_margin_ratio,omitempty"`
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
+ // relayer_fee_share_rate defines the relayer fee share rate for the
+ // derivative market
+ RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=relayer_fee_share_rate,json=relayerFeeShareRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"relayer_fee_share_rate,omitempty"`
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size,omitempty"`
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size,omitempty"`
+ // hourly_interest_rate defines the hourly interest rate
+ HourlyInterestRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=HourlyInterestRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"HourlyInterestRate,omitempty"`
+ // hourly_funding_rate_cap defines the maximum absolute value of the hourly
+ // funding rate
+ HourlyFundingRateCap *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=HourlyFundingRateCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"HourlyFundingRateCap,omitempty"`
+ Status MarketStatus `protobuf:"varint,13,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
+ OracleParams *OracleParams `protobuf:"bytes,14,opt,name=oracle_params,json=oracleParams,proto3" json:"oracle_params,omitempty"`
+}
+
+func (m *DerivativeMarketParamUpdateProposal) Reset() { *m = DerivativeMarketParamUpdateProposal{} }
+func (m *DerivativeMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) }
+func (*DerivativeMarketParamUpdateProposal) ProtoMessage() {}
+func (*DerivativeMarketParamUpdateProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{7}
+}
+func (m *DerivativeMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *DerivativeMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_DerivativeMarketParamUpdateProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *DerivativeMarketParamUpdateProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_DerivativeMarketParamUpdateProposal.Merge(m, src)
+}
+func (m *DerivativeMarketParamUpdateProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *DerivativeMarketParamUpdateProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_DerivativeMarketParamUpdateProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DerivativeMarketParamUpdateProposal proto.InternalMessageInfo
+
+type MarketForcedSettlementProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=settlement_price,json=settlementPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"settlement_price,omitempty"`
+}
+
+func (m *MarketForcedSettlementProposal) Reset() { *m = MarketForcedSettlementProposal{} }
+func (m *MarketForcedSettlementProposal) String() string { return proto.CompactTextString(m) }
+func (*MarketForcedSettlementProposal) ProtoMessage() {}
+func (*MarketForcedSettlementProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{8}
+}
+func (m *MarketForcedSettlementProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MarketForcedSettlementProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MarketForcedSettlementProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MarketForcedSettlementProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MarketForcedSettlementProposal.Merge(m, src)
+}
+func (m *MarketForcedSettlementProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *MarketForcedSettlementProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_MarketForcedSettlementProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MarketForcedSettlementProposal proto.InternalMessageInfo
+
+type UpdateDenomDecimalsProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ DenomDecimals []*DenomDecimals `protobuf:"bytes,3,rep,name=denom_decimals,json=denomDecimals,proto3" json:"denom_decimals,omitempty"`
+}
+
+func (m *UpdateDenomDecimalsProposal) Reset() { *m = UpdateDenomDecimalsProposal{} }
+func (m *UpdateDenomDecimalsProposal) String() string { return proto.CompactTextString(m) }
+func (*UpdateDenomDecimalsProposal) ProtoMessage() {}
+func (*UpdateDenomDecimalsProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{9}
+}
+func (m *UpdateDenomDecimalsProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *UpdateDenomDecimalsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_UpdateDenomDecimalsProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *UpdateDenomDecimalsProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_UpdateDenomDecimalsProposal.Merge(m, src)
+}
+func (m *UpdateDenomDecimalsProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *UpdateDenomDecimalsProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_UpdateDenomDecimalsProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_UpdateDenomDecimalsProposal proto.InternalMessageInfo
+
+type BinaryOptionsMarketParamUpdateProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
+ // relayer_fee_share_rate defines the relayer fee share rate for the
+ // derivative market
+ RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=relayer_fee_share_rate,json=relayerFeeShareRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"relayer_fee_share_rate,omitempty"`
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size,omitempty"`
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size,omitempty"`
+ // expiration timestamp
+ ExpirationTimestamp int64 `protobuf:"varint,9,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
+ // expiration timestamp
+ SettlementTimestamp int64 `protobuf:"varint,10,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
+ // new price at which market will be settled
+ SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=settlement_price,json=settlementPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"settlement_price,omitempty"`
+ // admin of the market
+ Admin string `protobuf:"bytes,12,opt,name=admin,proto3" json:"admin,omitempty"`
+ Status MarketStatus `protobuf:"varint,13,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
+ OracleParams *ProviderOracleParams `protobuf:"bytes,14,opt,name=oracle_params,json=oracleParams,proto3" json:"oracle_params,omitempty"`
+}
+
+func (m *BinaryOptionsMarketParamUpdateProposal) Reset() {
+ *m = BinaryOptionsMarketParamUpdateProposal{}
+}
+func (m *BinaryOptionsMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) }
+func (*BinaryOptionsMarketParamUpdateProposal) ProtoMessage() {}
+func (*BinaryOptionsMarketParamUpdateProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{10}
+}
+func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal.Merge(m, src)
+}
+func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *BinaryOptionsMarketParamUpdateProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal proto.InternalMessageInfo
+
+type ProviderOracleParams struct {
+ // Oracle base currency
+ Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
+ // Oracle quote currency
+ Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
+ // Scale factor for oracle prices.
+ OracleScaleFactor uint32 `protobuf:"varint,3,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
+ // Oracle type
+ OracleType types.OracleType `protobuf:"varint,4,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
+}
+
+func (m *ProviderOracleParams) Reset() { *m = ProviderOracleParams{} }
+func (m *ProviderOracleParams) String() string { return proto.CompactTextString(m) }
+func (*ProviderOracleParams) ProtoMessage() {}
+func (*ProviderOracleParams) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{11}
+}
+func (m *ProviderOracleParams) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *ProviderOracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_ProviderOracleParams.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *ProviderOracleParams) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ProviderOracleParams.Merge(m, src)
+}
+func (m *ProviderOracleParams) XXX_Size() int {
+ return m.Size()
+}
+func (m *ProviderOracleParams) XXX_DiscardUnknown() {
+ xxx_messageInfo_ProviderOracleParams.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ProviderOracleParams proto.InternalMessageInfo
+
+func (m *ProviderOracleParams) GetSymbol() string {
+ if m != nil {
+ return m.Symbol
+ }
+ return ""
+}
+
+func (m *ProviderOracleParams) GetProvider() string {
+ if m != nil {
+ return m.Provider
+ }
+ return ""
+}
+
+func (m *ProviderOracleParams) GetOracleScaleFactor() uint32 {
+ if m != nil {
+ return m.OracleScaleFactor
+ }
+ return 0
+}
+
+func (m *ProviderOracleParams) GetOracleType() types.OracleType {
+ if m != nil {
+ return m.OracleType
+ }
+ return types.OracleType_Unspecified
+}
+
+type OracleParams struct {
+ // Oracle base currency
+ OracleBase string `protobuf:"bytes,1,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
+ // Oracle quote currency
+ OracleQuote string `protobuf:"bytes,2,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
+ // Scale factor for oracle prices.
+ OracleScaleFactor uint32 `protobuf:"varint,3,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
+ // Oracle type
+ OracleType types.OracleType `protobuf:"varint,4,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
+}
+
+func (m *OracleParams) Reset() { *m = OracleParams{} }
+func (m *OracleParams) String() string { return proto.CompactTextString(m) }
+func (*OracleParams) ProtoMessage() {}
+func (*OracleParams) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{12}
+}
+func (m *OracleParams) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *OracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_OracleParams.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *OracleParams) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_OracleParams.Merge(m, src)
+}
+func (m *OracleParams) XXX_Size() int {
+ return m.Size()
+}
+func (m *OracleParams) XXX_DiscardUnknown() {
+ xxx_messageInfo_OracleParams.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_OracleParams proto.InternalMessageInfo
+
+func (m *OracleParams) GetOracleBase() string {
+ if m != nil {
+ return m.OracleBase
+ }
+ return ""
+}
+
+func (m *OracleParams) GetOracleQuote() string {
+ if m != nil {
+ return m.OracleQuote
+ }
+ return ""
+}
+
+func (m *OracleParams) GetOracleScaleFactor() uint32 {
+ if m != nil {
+ return m.OracleScaleFactor
+ }
+ return 0
+}
+
+func (m *OracleParams) GetOracleType() types.OracleType {
+ if m != nil {
+ return m.OracleType
+ }
+ return types.OracleType_Unspecified
+}
+
+type TradingRewardCampaignLaunchProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ CampaignInfo *TradingRewardCampaignInfo `protobuf:"bytes,3,opt,name=campaign_info,json=campaignInfo,proto3" json:"campaign_info,omitempty"`
+ CampaignRewardPools []*CampaignRewardPool `protobuf:"bytes,4,rep,name=campaign_reward_pools,json=campaignRewardPools,proto3" json:"campaign_reward_pools,omitempty"`
+}
+
+func (m *TradingRewardCampaignLaunchProposal) Reset() { *m = TradingRewardCampaignLaunchProposal{} }
+func (m *TradingRewardCampaignLaunchProposal) String() string { return proto.CompactTextString(m) }
+func (*TradingRewardCampaignLaunchProposal) ProtoMessage() {}
+func (*TradingRewardCampaignLaunchProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{13}
+}
+func (m *TradingRewardCampaignLaunchProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *TradingRewardCampaignLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_TradingRewardCampaignLaunchProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *TradingRewardCampaignLaunchProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_TradingRewardCampaignLaunchProposal.Merge(m, src)
+}
+func (m *TradingRewardCampaignLaunchProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *TradingRewardCampaignLaunchProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_TradingRewardCampaignLaunchProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TradingRewardCampaignLaunchProposal proto.InternalMessageInfo
+
+type TradingRewardCampaignUpdateProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ CampaignInfo *TradingRewardCampaignInfo `protobuf:"bytes,3,opt,name=campaign_info,json=campaignInfo,proto3" json:"campaign_info,omitempty"`
+ CampaignRewardPoolsAdditions []*CampaignRewardPool `protobuf:"bytes,4,rep,name=campaign_reward_pools_additions,json=campaignRewardPoolsAdditions,proto3" json:"campaign_reward_pools_additions,omitempty"`
+ CampaignRewardPoolsUpdates []*CampaignRewardPool `protobuf:"bytes,5,rep,name=campaign_reward_pools_updates,json=campaignRewardPoolsUpdates,proto3" json:"campaign_reward_pools_updates,omitempty"`
+}
+
+func (m *TradingRewardCampaignUpdateProposal) Reset() { *m = TradingRewardCampaignUpdateProposal{} }
+func (m *TradingRewardCampaignUpdateProposal) String() string { return proto.CompactTextString(m) }
+func (*TradingRewardCampaignUpdateProposal) ProtoMessage() {}
+func (*TradingRewardCampaignUpdateProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{14}
+}
+func (m *TradingRewardCampaignUpdateProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *TradingRewardCampaignUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_TradingRewardCampaignUpdateProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *TradingRewardCampaignUpdateProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_TradingRewardCampaignUpdateProposal.Merge(m, src)
+}
+func (m *TradingRewardCampaignUpdateProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *TradingRewardCampaignUpdateProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_TradingRewardCampaignUpdateProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TradingRewardCampaignUpdateProposal proto.InternalMessageInfo
+
+type RewardPointUpdate struct {
+ AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // new_points overwrites the current trading reward points for the account
+ NewPoints github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=new_points,json=newPoints,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"new_points"`
+}
+
+func (m *RewardPointUpdate) Reset() { *m = RewardPointUpdate{} }
+func (m *RewardPointUpdate) String() string { return proto.CompactTextString(m) }
+func (*RewardPointUpdate) ProtoMessage() {}
+func (*RewardPointUpdate) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{15}
+}
+func (m *RewardPointUpdate) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *RewardPointUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_RewardPointUpdate.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *RewardPointUpdate) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_RewardPointUpdate.Merge(m, src)
+}
+func (m *RewardPointUpdate) XXX_Size() int {
+ return m.Size()
+}
+func (m *RewardPointUpdate) XXX_DiscardUnknown() {
+ xxx_messageInfo_RewardPointUpdate.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_RewardPointUpdate proto.InternalMessageInfo
+
+func (m *RewardPointUpdate) GetAccountAddress() string {
+ if m != nil {
+ return m.AccountAddress
+ }
+ return ""
+}
+
+type TradingRewardPendingPointsUpdateProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ PendingPoolTimestamp int64 `protobuf:"varint,3,opt,name=pending_pool_timestamp,json=pendingPoolTimestamp,proto3" json:"pending_pool_timestamp,omitempty"`
+ RewardPointUpdates []*RewardPointUpdate `protobuf:"bytes,4,rep,name=reward_point_updates,json=rewardPointUpdates,proto3" json:"reward_point_updates,omitempty"`
+}
+
+func (m *TradingRewardPendingPointsUpdateProposal) Reset() {
+ *m = TradingRewardPendingPointsUpdateProposal{}
+}
+func (m *TradingRewardPendingPointsUpdateProposal) String() string { return proto.CompactTextString(m) }
+func (*TradingRewardPendingPointsUpdateProposal) ProtoMessage() {}
+func (*TradingRewardPendingPointsUpdateProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{16}
+}
+func (m *TradingRewardPendingPointsUpdateProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *TradingRewardPendingPointsUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_TradingRewardPendingPointsUpdateProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *TradingRewardPendingPointsUpdateProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_TradingRewardPendingPointsUpdateProposal.Merge(m, src)
+}
+func (m *TradingRewardPendingPointsUpdateProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *TradingRewardPendingPointsUpdateProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_TradingRewardPendingPointsUpdateProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TradingRewardPendingPointsUpdateProposal proto.InternalMessageInfo
+
+type FeeDiscountProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ Schedule *FeeDiscountSchedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"`
+}
+
+func (m *FeeDiscountProposal) Reset() { *m = FeeDiscountProposal{} }
+func (m *FeeDiscountProposal) String() string { return proto.CompactTextString(m) }
+func (*FeeDiscountProposal) ProtoMessage() {}
+func (*FeeDiscountProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{17}
+}
+func (m *FeeDiscountProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *FeeDiscountProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_FeeDiscountProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *FeeDiscountProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_FeeDiscountProposal.Merge(m, src)
+}
+func (m *FeeDiscountProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *FeeDiscountProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_FeeDiscountProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_FeeDiscountProposal proto.InternalMessageInfo
+
+type BatchCommunityPoolSpendProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ Proposals []*types1.CommunityPoolSpendProposal `protobuf:"bytes,3,rep,name=proposals,proto3" json:"proposals,omitempty"`
+}
+
+func (m *BatchCommunityPoolSpendProposal) Reset() { *m = BatchCommunityPoolSpendProposal{} }
+func (m *BatchCommunityPoolSpendProposal) String() string { return proto.CompactTextString(m) }
+func (*BatchCommunityPoolSpendProposal) ProtoMessage() {}
+func (*BatchCommunityPoolSpendProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{18}
+}
+func (m *BatchCommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *BatchCommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_BatchCommunityPoolSpendProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *BatchCommunityPoolSpendProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_BatchCommunityPoolSpendProposal.Merge(m, src)
+}
+func (m *BatchCommunityPoolSpendProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *BatchCommunityPoolSpendProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_BatchCommunityPoolSpendProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_BatchCommunityPoolSpendProposal proto.InternalMessageInfo
+
+// AtomicMarketOrderFeeMultiplierScheduleProposal defines a SDK message for
+// proposing new atomic take fee multipliers for specified markets
+type AtomicMarketOrderFeeMultiplierScheduleProposal struct {
+ Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
+ Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
+ MarketFeeMultipliers []*MarketFeeMultiplier `protobuf:"bytes,3,rep,name=market_fee_multipliers,json=marketFeeMultipliers,proto3" json:"market_fee_multipliers,omitempty"`
+}
+
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Reset() {
+ *m = AtomicMarketOrderFeeMultiplierScheduleProposal{}
+}
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) String() string {
+ return proto.CompactTextString(m)
+}
+func (*AtomicMarketOrderFeeMultiplierScheduleProposal) ProtoMessage() {}
+func (*AtomicMarketOrderFeeMultiplierScheduleProposal) Descriptor() ([]byte, []int) {
+ return fileDescriptor_32e9ec9b6b22477c, []int{19}
+}
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal.Merge(m, src)
+}
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Size() int {
+ return m.Size()
+}
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_DiscardUnknown() {
+ xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal proto.InternalMessageInfo
+
+func init() {
+ proto.RegisterEnum("injective.exchange.v1beta1.ExchangeType", ExchangeType_name, ExchangeType_value)
+ proto.RegisterType((*SpotMarketParamUpdateProposal)(nil), "injective.exchange.v1beta1.SpotMarketParamUpdateProposal")
+ proto.RegisterType((*ExchangeEnableProposal)(nil), "injective.exchange.v1beta1.ExchangeEnableProposal")
+ proto.RegisterType((*BatchExchangeModificationProposal)(nil), "injective.exchange.v1beta1.BatchExchangeModificationProposal")
+ proto.RegisterType((*SpotMarketLaunchProposal)(nil), "injective.exchange.v1beta1.SpotMarketLaunchProposal")
+ proto.RegisterType((*PerpetualMarketLaunchProposal)(nil), "injective.exchange.v1beta1.PerpetualMarketLaunchProposal")
+ proto.RegisterType((*BinaryOptionsMarketLaunchProposal)(nil), "injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal")
+ proto.RegisterType((*ExpiryFuturesMarketLaunchProposal)(nil), "injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal")
+ proto.RegisterType((*DerivativeMarketParamUpdateProposal)(nil), "injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal")
+ proto.RegisterType((*MarketForcedSettlementProposal)(nil), "injective.exchange.v1beta1.MarketForcedSettlementProposal")
+ proto.RegisterType((*UpdateDenomDecimalsProposal)(nil), "injective.exchange.v1beta1.UpdateDenomDecimalsProposal")
+ proto.RegisterType((*BinaryOptionsMarketParamUpdateProposal)(nil), "injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal")
+ proto.RegisterType((*ProviderOracleParams)(nil), "injective.exchange.v1beta1.ProviderOracleParams")
+ proto.RegisterType((*OracleParams)(nil), "injective.exchange.v1beta1.OracleParams")
+ proto.RegisterType((*TradingRewardCampaignLaunchProposal)(nil), "injective.exchange.v1beta1.TradingRewardCampaignLaunchProposal")
+ proto.RegisterType((*TradingRewardCampaignUpdateProposal)(nil), "injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal")
+ proto.RegisterType((*RewardPointUpdate)(nil), "injective.exchange.v1beta1.RewardPointUpdate")
+ proto.RegisterType((*TradingRewardPendingPointsUpdateProposal)(nil), "injective.exchange.v1beta1.TradingRewardPendingPointsUpdateProposal")
+ proto.RegisterType((*FeeDiscountProposal)(nil), "injective.exchange.v1beta1.FeeDiscountProposal")
+ proto.RegisterType((*BatchCommunityPoolSpendProposal)(nil), "injective.exchange.v1beta1.BatchCommunityPoolSpendProposal")
+ proto.RegisterType((*AtomicMarketOrderFeeMultiplierScheduleProposal)(nil), "injective.exchange.v1beta1.AtomicMarketOrderFeeMultiplierScheduleProposal")
+}
+
+func init() {
+ proto.RegisterFile("injective/exchange/v1beta1/proposal.proto", fileDescriptor_32e9ec9b6b22477c)
+}
+
+var fileDescriptor_32e9ec9b6b22477c = []byte{
+ // 2150 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x5a, 0xcd, 0x6f, 0x24, 0x47,
+ 0x15, 0x77, 0xaf, 0x3f, 0xe7, 0xcd, 0xf8, 0x23, 0xed, 0x89, 0x99, 0x78, 0xb3, 0xe3, 0x8f, 0x4d,
+ 0x76, 0x1d, 0xa4, 0x9d, 0x61, 0x4d, 0x50, 0xc4, 0x4a, 0x08, 0xfc, 0x31, 0x26, 0x16, 0xeb, 0xdd,
+ 0x49, 0x8f, 0x37, 0x82, 0x48, 0xd0, 0xd4, 0x74, 0x97, 0xed, 0xc2, 0xd3, 0x5d, 0xbd, 0x5d, 0x35,
+ 0xde, 0x75, 0xc4, 0x11, 0x04, 0x5a, 0x2e, 0x20, 0x81, 0xe0, 0xb2, 0x52, 0xb8, 0x71, 0xe3, 0x00,
+ 0xff, 0x00, 0x48, 0x48, 0x81, 0x1c, 0xc8, 0x31, 0xe2, 0x10, 0xa1, 0xdd, 0x03, 0x08, 0x89, 0x33,
+ 0x1c, 0x51, 0x57, 0x55, 0xf7, 0xf4, 0x7c, 0xf7, 0x8c, 0x3d, 0x11, 0x87, 0x3d, 0xcd, 0xd4, 0xab,
+ 0x57, 0xbf, 0xf7, 0xea, 0xd5, 0x7b, 0xaf, 0x5e, 0x55, 0x35, 0xbc, 0x41, 0xdc, 0xef, 0x61, 0x8b,
+ 0x93, 0x33, 0x5c, 0xc4, 0x8f, 0xad, 0x13, 0xe4, 0x1e, 0xe3, 0xe2, 0xd9, 0xed, 0x2a, 0xe6, 0xe8,
+ 0x76, 0xd1, 0xf3, 0xa9, 0x47, 0x19, 0xaa, 0x15, 0x3c, 0x9f, 0x72, 0xaa, 0x2f, 0x47, 0xac, 0x85,
+ 0x90, 0xb5, 0xa0, 0x58, 0x97, 0xf3, 0x16, 0x65, 0x0e, 0x65, 0xc5, 0x2a, 0x62, 0x8d, 0xf1, 0x16,
+ 0x25, 0xae, 0x1c, 0xbb, 0x5c, 0x50, 0xfd, 0x36, 0x61, 0xdc, 0x27, 0xd5, 0x3a, 0x27, 0xd4, 0x8d,
+ 0xf8, 0xe2, 0x44, 0xc5, 0xff, 0x39, 0xc5, 0xef, 0xb0, 0xe3, 0xe2, 0xd9, 0xed, 0xe0, 0x47, 0x75,
+ 0xbc, 0x22, 0x3b, 0x4c, 0xd1, 0x2a, 0xca, 0x86, 0xea, 0xca, 0x1e, 0xd3, 0x63, 0x2a, 0xe9, 0xc1,
+ 0x3f, 0x45, 0xed, 0x35, 0xc1, 0x68, 0x1a, 0x92, 0xf5, 0xf5, 0x06, 0x2b, 0xf5, 0x91, 0x55, 0x6b,
+ 0x30, 0xca, 0xa6, 0x64, 0x5b, 0xff, 0xdd, 0x24, 0x5c, 0xab, 0x78, 0x94, 0x1f, 0x20, 0xff, 0x14,
+ 0xf3, 0x32, 0xf2, 0x91, 0xf3, 0xc0, 0xb3, 0x11, 0xc7, 0x65, 0x65, 0x2f, 0x3d, 0x0b, 0x93, 0x9c,
+ 0xf0, 0x1a, 0xce, 0x69, 0xab, 0xda, 0x46, 0xca, 0x90, 0x0d, 0x7d, 0x15, 0xd2, 0x36, 0x66, 0x96,
+ 0x4f, 0xbc, 0x60, 0xa2, 0xb9, 0x2b, 0xa2, 0x2f, 0x4e, 0xd2, 0xaf, 0x42, 0xca, 0x11, 0xa0, 0x26,
+ 0xb1, 0x73, 0xe3, 0xa2, 0x7f, 0x46, 0x12, 0xf6, 0x6d, 0xfd, 0x10, 0xe6, 0x1c, 0x74, 0x8a, 0x7d,
+ 0xf3, 0x08, 0x63, 0xd3, 0x47, 0x1c, 0xe7, 0x26, 0x02, 0x8e, 0xed, 0xc2, 0x87, 0x9f, 0xae, 0x68,
+ 0x7f, 0xfb, 0x74, 0xe5, 0xc6, 0x31, 0xe1, 0x27, 0xf5, 0x6a, 0xc1, 0xa2, 0x8e, 0xb2, 0x8b, 0xfa,
+ 0xb9, 0xc5, 0xec, 0xd3, 0x22, 0x3f, 0xf7, 0x30, 0x2b, 0xec, 0x62, 0xcb, 0xc8, 0x08, 0x94, 0x3d,
+ 0x8c, 0x0d, 0xc4, 0x71, 0x80, 0xca, 0x9b, 0x51, 0x27, 0x87, 0x43, 0xe5, 0x71, 0x54, 0x0b, 0x96,
+ 0x7c, 0x5c, 0x43, 0xe7, 0x0a, 0x97, 0x9d, 0x20, 0x5f, 0xa1, 0x4f, 0x0d, 0x85, 0xbe, 0xa8, 0xd0,
+ 0xf6, 0x30, 0xae, 0x04, 0x58, 0x42, 0xc8, 0xb7, 0x61, 0xd1, 0x21, 0xae, 0xe9, 0xf9, 0xc4, 0xc2,
+ 0x26, 0x27, 0xd6, 0xa9, 0xc9, 0xc8, 0xfb, 0x38, 0x37, 0x3d, 0x94, 0x84, 0x05, 0x87, 0xb8, 0xe5,
+ 0x00, 0xe9, 0x90, 0x58, 0xa7, 0x15, 0xf2, 0xbe, 0x98, 0x43, 0x00, 0xff, 0xb0, 0x8e, 0x5c, 0x4e,
+ 0xf8, 0x79, 0x4c, 0xc2, 0xcc, 0x70, 0x73, 0x70, 0x88, 0xfb, 0x8e, 0x02, 0x8b, 0x84, 0x7c, 0x0d,
+ 0xa6, 0x18, 0x47, 0xbc, 0xce, 0x72, 0xa9, 0x55, 0x6d, 0x63, 0x6e, 0x73, 0xa3, 0xd0, 0x3d, 0xc8,
+ 0x0a, 0xd2, 0xe1, 0x2a, 0x82, 0xdf, 0x50, 0xe3, 0xee, 0xdc, 0xf8, 0xf1, 0x07, 0x2b, 0x63, 0xff,
+ 0xfc, 0x60, 0x65, 0xec, 0x2f, 0xbf, 0xbf, 0xb5, 0xac, 0xe2, 0xe1, 0x98, 0x9e, 0x45, 0x83, 0x76,
+ 0xa8, 0xcb, 0xb1, 0xcb, 0xd7, 0x7f, 0xa3, 0xc1, 0x52, 0x49, 0x21, 0x96, 0x5c, 0x54, 0xad, 0x5d,
+ 0xdc, 0x5d, 0xef, 0x42, 0x26, 0xd4, 0xf1, 0xf0, 0xdc, 0xc3, 0xc2, 0x63, 0xfb, 0x4c, 0xa1, 0x14,
+ 0xe3, 0x37, 0x9a, 0x46, 0xdf, 0x99, 0x09, 0x27, 0xb2, 0xfe, 0x8f, 0x0c, 0xac, 0x6d, 0x23, 0x6e,
+ 0x9d, 0x84, 0xdc, 0x07, 0xd4, 0x26, 0x47, 0xc4, 0x42, 0x81, 0xd4, 0x0b, 0x6b, 0xfd, 0x43, 0x0d,
+ 0xd6, 0x99, 0x47, 0xb9, 0xa9, 0x42, 0xcd, 0x0b, 0x02, 0xd8, 0xac, 0x8b, 0x08, 0x36, 0xc3, 0x94,
+ 0xc7, 0x72, 0xe3, 0xab, 0xe3, 0x1b, 0xe9, 0xcd, 0x2f, 0xf7, 0x9a, 0x4c, 0xcf, 0x24, 0x60, 0xe4,
+ 0x59, 0xaf, 0x6e, 0xa6, 0xff, 0x52, 0x83, 0x0d, 0x1b, 0xfb, 0xe4, 0x0c, 0x05, 0xe8, 0x7d, 0xb4,
+ 0x99, 0x10, 0xda, 0x7c, 0xb5, 0x97, 0x36, 0xbb, 0x11, 0x56, 0x77, 0x9d, 0x5e, 0xb3, 0xfb, 0x33,
+ 0x31, 0xbd, 0x0e, 0xaf, 0xc6, 0x0d, 0x54, 0x43, 0x75, 0xd7, 0x3a, 0x89, 0x29, 0x33, 0x29, 0x94,
+ 0x79, 0x33, 0x99, 0x69, 0xee, 0x8a, 0xd1, 0x91, 0x06, 0xaf, 0xb0, 0x2e, 0x3d, 0x4c, 0xff, 0x81,
+ 0x06, 0x6b, 0x1e, 0xf6, 0x3d, 0xcc, 0xeb, 0xa8, 0xd6, 0x55, 0xf8, 0x54, 0xff, 0x75, 0x29, 0x87,
+ 0x20, 0x1d, 0x35, 0xc8, 0x7b, 0xbd, 0xba, 0x99, 0xfe, 0x33, 0x0d, 0x6e, 0xe0, 0xc7, 0x1e, 0xf1,
+ 0xcf, 0xcd, 0xa3, 0x3a, 0xaf, 0xfb, 0x98, 0x75, 0xd5, 0x65, 0x5a, 0xe8, 0xf2, 0x95, 0xde, 0x0e,
+ 0x1f, 0x20, 0xed, 0x49, 0xa0, 0x8e, 0xfa, 0xac, 0xe3, 0x7e, 0x2c, 0x4c, 0xff, 0x85, 0x06, 0x37,
+ 0xb9, 0x8f, 0x6c, 0xe2, 0x1e, 0x9b, 0x3e, 0x7e, 0x84, 0x7c, 0xdb, 0xb4, 0x90, 0xe3, 0x21, 0x72,
+ 0xec, 0xb6, 0xfa, 0x8a, 0xc8, 0x4e, 0x7d, 0x5c, 0xe5, 0x50, 0x42, 0x19, 0x02, 0x69, 0x47, 0x01,
+ 0xb5, 0xb8, 0xca, 0x75, 0xde, 0x9f, 0x49, 0xd8, 0xaa, 0x4a, 0x5c, 0xe4, 0x9f, 0x9b, 0x54, 0x44,
+ 0x57, 0x77, 0x5b, 0xa5, 0xfa, 0xdb, 0x6a, 0x5b, 0x20, 0xdd, 0x97, 0x40, 0x9d, 0x6d, 0x55, 0xed,
+ 0xc7, 0xc2, 0xf4, 0x9f, 0x6b, 0xf0, 0x7a, 0x8b, 0x4e, 0x5d, 0x82, 0x0a, 0x84, 0x4a, 0xdb, 0x03,
+ 0xaa, 0xd4, 0x29, 0xae, 0xd6, 0x9a, 0xf4, 0xea, 0x18, 0x54, 0xdf, 0x87, 0xbc, 0x8d, 0x5d, 0xea,
+ 0x98, 0x36, 0xb6, 0x88, 0x83, 0x6a, 0xac, 0x6d, 0xe1, 0xd2, 0x62, 0xe1, 0xde, 0xea, 0xa5, 0x8e,
+ 0x04, 0xdd, 0x0d, 0x70, 0x76, 0x15, 0x4c, 0xa4, 0xc3, 0x55, 0x3b, 0x4e, 0x6e, 0x59, 0x28, 0x0b,
+ 0x5e, 0x0e, 0x36, 0x62, 0x9b, 0x30, 0x8b, 0xd6, 0x5d, 0xde, 0x10, 0x9a, 0x11, 0x42, 0x8b, 0xbd,
+ 0x84, 0xee, 0x61, 0xbc, 0xab, 0xc6, 0x45, 0xc2, 0x16, 0x8f, 0xda, 0x89, 0xfa, 0x8f, 0x34, 0x58,
+ 0x57, 0xcb, 0x7f, 0x44, 0x7d, 0x0b, 0xdb, 0x26, 0xc3, 0x9c, 0xd7, 0xb0, 0x83, 0x63, 0x12, 0x59,
+ 0x6e, 0x56, 0x98, 0xfd, 0x4e, 0xff, 0x9d, 0x6e, 0x4f, 0x80, 0x54, 0x22, 0x8c, 0x48, 0xfa, 0x8a,
+ 0xd3, 0xb3, 0x3f, 0xf9, 0xa6, 0xf8, 0xc7, 0x09, 0xc8, 0x75, 0x4b, 0x55, 0x43, 0x6f, 0x30, 0x4b,
+ 0x30, 0x15, 0xd4, 0x0a, 0xd8, 0x57, 0x25, 0x9c, 0x6a, 0xe9, 0xd7, 0x00, 0x82, 0xf2, 0xd8, 0x14,
+ 0xeb, 0x24, 0x8b, 0x37, 0x23, 0x15, 0x50, 0xc4, 0x7a, 0xea, 0x2b, 0x90, 0x7e, 0x58, 0xa7, 0x3c,
+ 0xec, 0x17, 0x65, 0x98, 0x01, 0x82, 0x24, 0x19, 0xba, 0xd4, 0x3b, 0x8d, 0x8a, 0x6a, 0x6c, 0x44,
+ 0xf5, 0xce, 0xf4, 0x50, 0x12, 0x3a, 0xd6, 0x3b, 0xed, 0x45, 0xec, 0xcc, 0x48, 0x8a, 0xd8, 0xd4,
+ 0xc5, 0x8b, 0xd8, 0xc4, 0x4e, 0xf4, 0xdb, 0x69, 0xb8, 0xd6, 0x73, 0xcb, 0xb9, 0x74, 0x4f, 0x6a,
+ 0x71, 0x95, 0x89, 0x36, 0x57, 0x59, 0x81, 0xb4, 0x3c, 0xb2, 0x98, 0x81, 0x7f, 0x85, 0xbe, 0x24,
+ 0x49, 0xdb, 0x88, 0x61, 0x7d, 0x0d, 0x32, 0x8a, 0x41, 0x8c, 0x92, 0x4e, 0x64, 0xa8, 0x41, 0xef,
+ 0x04, 0x24, 0xbd, 0x00, 0x8b, 0x8a, 0x85, 0x59, 0xa8, 0x86, 0xcd, 0x23, 0x64, 0x71, 0xea, 0x0b,
+ 0x67, 0x98, 0x35, 0x5e, 0x92, 0x5d, 0x95, 0xa0, 0x67, 0x4f, 0x74, 0xe8, 0xa5, 0x48, 0x66, 0x60,
+ 0x50, 0xb1, 0xae, 0x73, 0x9b, 0xaf, 0xc5, 0xa2, 0x5c, 0x1d, 0xa2, 0x42, 0xf3, 0xdd, 0x17, 0x4d,
+ 0x51, 0x08, 0x2a, 0xcd, 0x82, 0xff, 0xfa, 0x77, 0x21, 0x4b, 0x5c, 0xc2, 0x89, 0x2c, 0x01, 0x8e,
+ 0x89, 0x1b, 0x2c, 0x28, 0xa1, 0xb1, 0x15, 0x1d, 0xc4, 0x09, 0x75, 0x85, 0x75, 0x20, 0xa0, 0x8c,
+ 0x00, 0x49, 0x3f, 0x81, 0x9c, 0x83, 0x48, 0xb0, 0x76, 0xc8, 0xb5, 0x70, 0xb3, 0x14, 0x18, 0x4a,
+ 0xca, 0x52, 0x0c, 0x2f, 0x2e, 0xa9, 0xdd, 0xdb, 0xd3, 0x43, 0xe1, 0xf7, 0xf3, 0xf6, 0xcc, 0x70,
+ 0xa8, 0x4d, 0x47, 0xb6, 0x2e, 0xd9, 0x65, 0x76, 0xe4, 0xd9, 0x65, 0xee, 0xd2, 0xb2, 0x4b, 0xe2,
+ 0x88, 0xfd, 0xf7, 0x14, 0xac, 0xf5, 0x2d, 0x36, 0x2e, 0x3d, 0x6a, 0xaf, 0xc3, 0x6c, 0x18, 0x50,
+ 0xe7, 0x4e, 0x95, 0xd6, 0x54, 0xdc, 0xaa, 0x40, 0xac, 0x08, 0x9a, 0x7e, 0x13, 0xe6, 0x15, 0x93,
+ 0xe7, 0xd3, 0x33, 0x62, 0x63, 0x5f, 0x45, 0xef, 0x9c, 0x24, 0x97, 0x15, 0xb5, 0x35, 0xdc, 0xa6,
+ 0x86, 0x0c, 0xb7, 0x41, 0xa3, 0xfc, 0x36, 0x64, 0x45, 0xbd, 0x2a, 0xce, 0x62, 0x26, 0x27, 0x0e,
+ 0x66, 0x1c, 0x39, 0x9e, 0x08, 0xf7, 0x71, 0x63, 0xb1, 0xd1, 0x77, 0x18, 0x76, 0x05, 0x43, 0x62,
+ 0x75, 0x40, 0x63, 0x48, 0x4a, 0x0e, 0x69, 0xf4, 0x35, 0x86, 0x64, 0x61, 0x12, 0xd9, 0x0e, 0x71,
+ 0x65, 0x3c, 0x1a, 0xb2, 0xd1, 0x9a, 0xf6, 0xd2, 0x6d, 0x69, 0xaf, 0x3d, 0xde, 0x32, 0x23, 0x89,
+ 0xb7, 0xd9, 0xd1, 0xc5, 0xdb, 0xdc, 0xc8, 0xe3, 0x6d, 0xfe, 0xb3, 0x8f, 0xb7, 0x8f, 0xa6, 0x61,
+ 0xad, 0xef, 0x41, 0xe8, 0xc5, 0x2e, 0x39, 0x40, 0xd8, 0x2e, 0xc1, 0x94, 0x3c, 0x36, 0xaa, 0x28,
+ 0x52, 0xad, 0xae, 0xbb, 0x27, 0x7c, 0x26, 0xbb, 0x67, 0x7a, 0xc4, 0xbb, 0xe7, 0x8b, 0x68, 0xfe,
+ 0x7f, 0x88, 0xe6, 0x5f, 0xa5, 0xe0, 0x7a, 0x82, 0xcb, 0xa6, 0xd1, 0xdc, 0x82, 0x77, 0x73, 0xf0,
+ 0xe1, 0xee, 0xc2, 0x07, 0x75, 0xf0, 0xe1, 0xee, 0xc6, 0x93, 0x3b, 0xf8, 0xd4, 0x48, 0x0e, 0x43,
+ 0xd3, 0x23, 0xbd, 0xd1, 0x9f, 0x19, 0xf9, 0x8d, 0x7e, 0x6a, 0xe4, 0x37, 0xfa, 0x70, 0x79, 0x37,
+ 0xfa, 0xdf, 0x01, 0xfd, 0x6d, 0x5a, 0xf7, 0x6b, 0xe7, 0xfb, 0x2e, 0xc7, 0x3e, 0x66, 0xdc, 0x68,
+ 0xae, 0xfb, 0x07, 0x72, 0xcf, 0x76, 0x24, 0xbd, 0x0a, 0x59, 0x49, 0xdd, 0xab, 0xbb, 0xe2, 0x7e,
+ 0x0e, 0x71, 0xbc, 0x83, 0xbc, 0x58, 0x6e, 0x1c, 0x44, 0x42, 0x47, 0xac, 0xd8, 0xab, 0xc4, 0xec,
+ 0x70, 0xaf, 0x12, 0xfa, 0x41, 0x54, 0xeb, 0x8a, 0xbb, 0x37, 0x26, 0x32, 0x61, 0xba, 0x37, 0x90,
+ 0xdc, 0xea, 0x44, 0x26, 0x61, 0x61, 0x55, 0x2c, 0x5b, 0x89, 0x53, 0xd3, 0x7f, 0x35, 0xc8, 0xf7,
+ 0xbe, 0x3b, 0x1a, 0x4d, 0x56, 0xfa, 0x16, 0x2c, 0x34, 0x5d, 0x75, 0x11, 0x6b, 0xd8, 0xd7, 0xb9,
+ 0x79, 0x16, 0x53, 0x99, 0x58, 0xc9, 0xb3, 0xf2, 0x5f, 0x35, 0xb8, 0xda, 0xe3, 0x7a, 0x70, 0xe8,
+ 0x79, 0x97, 0x61, 0xae, 0xf9, 0xde, 0x52, 0xbd, 0x8c, 0xbc, 0xd1, 0xfb, 0x2d, 0x22, 0xa6, 0x82,
+ 0x31, 0xdb, 0x74, 0x33, 0x99, 0x78, 0x46, 0xff, 0x9a, 0x86, 0x1b, 0xc9, 0xee, 0x5f, 0x5f, 0x3c,
+ 0xb8, 0xbe, 0x78, 0x70, 0x4d, 0x98, 0x9e, 0xbb, 0x9d, 0x5f, 0x53, 0x83, 0x9f, 0x5f, 0xa1, 0xfb,
+ 0xf9, 0xb5, 0x53, 0x3e, 0x48, 0x5f, 0x4a, 0x3e, 0x68, 0x1c, 0x8d, 0x33, 0xf1, 0xa3, 0xf1, 0xc5,
+ 0x33, 0xf6, 0x83, 0xce, 0x19, 0xfb, 0x0b, 0x3d, 0x1f, 0xda, 0xd4, 0x65, 0xc4, 0x25, 0x64, 0xee,
+ 0x3f, 0x68, 0x90, 0xed, 0x04, 0x17, 0x9c, 0x74, 0xd4, 0x75, 0x89, 0x8c, 0x6d, 0xd5, 0xd2, 0x97,
+ 0x61, 0x26, 0xba, 0x21, 0x91, 0x91, 0x1d, 0xb5, 0xbb, 0x1d, 0xca, 0xc6, 0x13, 0x1e, 0xca, 0x26,
+ 0x86, 0x3b, 0x94, 0xad, 0xff, 0x59, 0x83, 0x4c, 0x93, 0xee, 0x2d, 0x07, 0x4c, 0xad, 0xef, 0x01,
+ 0xf3, 0x4a, 0xe2, 0x03, 0xe6, 0xa8, 0xe7, 0xf2, 0xa7, 0x2b, 0x70, 0xbd, 0xe3, 0x33, 0xe1, 0x25,
+ 0x1d, 0xda, 0xdf, 0x83, 0xd9, 0xe8, 0x05, 0x93, 0xb8, 0x47, 0x54, 0x4c, 0x28, 0xbd, 0xf9, 0xa5,
+ 0x81, 0x9f, 0x2d, 0xf7, 0xdd, 0x23, 0x6a, 0x64, 0xac, 0x58, 0x4b, 0xaf, 0xc2, 0xcb, 0x11, 0xb6,
+ 0x7a, 0x2d, 0xf5, 0x28, 0x8d, 0x5e, 0xd1, 0x0b, 0xbd, 0x64, 0x84, 0xb0, 0x52, 0x48, 0x99, 0xd2,
+ 0x9a, 0xb1, 0x68, 0xb5, 0xd1, 0x92, 0xfb, 0xf5, 0x47, 0xe3, 0x5d, 0xec, 0x78, 0x49, 0x3b, 0xd8,
+ 0x28, 0xed, 0x58, 0x87, 0x95, 0x8e, 0x76, 0x34, 0x91, 0x6d, 0x13, 0xb1, 0x23, 0x0f, 0x69, 0xd1,
+ 0x57, 0x3b, 0x58, 0x74, 0x2b, 0xc4, 0xd4, 0x1f, 0xc2, 0xb5, 0xce, 0x62, 0xe5, 0x83, 0x69, 0xf8,
+ 0xfd, 0xc1, 0xa0, 0x42, 0x97, 0x3b, 0x08, 0x95, 0x8b, 0x90, 0x7c, 0x35, 0x7f, 0xa2, 0xc1, 0x4b,
+ 0xe1, 0x70, 0xe2, 0x72, 0x39, 0x5c, 0xbf, 0x09, 0xf3, 0xc8, 0x92, 0xef, 0xaa, 0xc8, 0xb6, 0x7d,
+ 0xcc, 0x98, 0x5a, 0xc5, 0x39, 0x45, 0xde, 0x92, 0x54, 0xfd, 0x00, 0xc0, 0xc5, 0x8f, 0x4c, 0x2f,
+ 0x18, 0xcb, 0x86, 0xbc, 0xcd, 0x48, 0xb9, 0xf8, 0x91, 0x10, 0xce, 0xd6, 0x7f, 0x7d, 0x05, 0x36,
+ 0x9a, 0xd6, 0xb2, 0x8c, 0x45, 0x19, 0x2f, 0xbb, 0x2f, 0xc9, 0xc1, 0xde, 0x84, 0x25, 0x4f, 0xc2,
+ 0x8a, 0x55, 0x88, 0xed, 0x7f, 0xe3, 0x62, 0xff, 0xcb, 0x7a, 0xa1, 0x50, 0x5a, 0x6b, 0x6c, 0x80,
+ 0x26, 0x64, 0xa3, 0xa5, 0x23, 0x2e, 0x8f, 0x96, 0x4e, 0xfa, 0xcb, 0xad, 0x5e, 0x4b, 0xd7, 0x66,
+ 0x5f, 0x43, 0xf7, 0x5b, 0x49, 0x03, 0xbc, 0xf0, 0x6a, 0xb0, 0xd8, 0xe1, 0x01, 0x7b, 0x68, 0x73,
+ 0x7c, 0x03, 0x66, 0x98, 0x75, 0x82, 0xed, 0x7a, 0x0d, 0xab, 0x50, 0x4b, 0xfa, 0x76, 0x5e, 0x51,
+ 0xc3, 0x8c, 0x08, 0x20, 0xf1, 0x24, 0x3e, 0xd1, 0x60, 0x45, 0x7c, 0x10, 0xb5, 0x43, 0x1d, 0xa7,
+ 0xee, 0x12, 0x7e, 0x1e, 0x58, 0xbb, 0x12, 0x58, 0xfe, 0xc2, 0x13, 0x7a, 0x00, 0xa9, 0xd6, 0x8f,
+ 0x9e, 0xde, 0x52, 0x5f, 0x6b, 0x16, 0x9a, 0x3e, 0xcc, 0x6c, 0x28, 0xd5, 0x4d, 0x07, 0xa3, 0x81,
+ 0x94, 0x78, 0x6a, 0xff, 0xd1, 0xa0, 0xb0, 0xc5, 0xa9, 0x43, 0x2c, 0x59, 0x95, 0xdc, 0xf7, 0x6d,
+ 0x51, 0x75, 0x1e, 0xd4, 0x6b, 0x9c, 0x78, 0x35, 0x82, 0xfd, 0xd0, 0x6e, 0x17, 0x9e, 0x29, 0x86,
+ 0xa5, 0xf0, 0xeb, 0x04, 0x8c, 0x4d, 0x27, 0x12, 0x10, 0x4e, 0xbb, 0x98, 0xe0, 0x8b, 0x84, 0xb8,
+ 0x62, 0x46, 0xd6, 0x69, 0x27, 0x26, 0x9e, 0xf9, 0xe7, 0x1f, 0x43, 0x26, 0xfe, 0x35, 0x9c, 0xbe,
+ 0x09, 0xd9, 0xd2, 0x37, 0x77, 0xde, 0xde, 0xba, 0xf7, 0xf5, 0x92, 0xf9, 0xe0, 0x5e, 0xa5, 0x5c,
+ 0xda, 0xd9, 0xdf, 0xdb, 0x2f, 0xed, 0x2e, 0x8c, 0x2d, 0xe7, 0x9e, 0x3c, 0x5d, 0xed, 0xd8, 0xa7,
+ 0xeb, 0x30, 0x51, 0x29, 0xdf, 0x3f, 0x5c, 0xd0, 0x96, 0x67, 0x9e, 0x3c, 0x5d, 0x15, 0xff, 0x03,
+ 0x43, 0xec, 0x96, 0x8c, 0xfd, 0x77, 0xb7, 0x0e, 0xf7, 0xdf, 0x2d, 0x55, 0x16, 0xae, 0x2c, 0xcf,
+ 0x3f, 0x79, 0xba, 0x1a, 0x27, 0x6d, 0x9f, 0x7c, 0xf8, 0x2c, 0xaf, 0x7d, 0xfc, 0x2c, 0xaf, 0xfd,
+ 0xfd, 0x59, 0x5e, 0xfb, 0xe9, 0xf3, 0xfc, 0xd8, 0xc7, 0xcf, 0xf3, 0x63, 0x9f, 0x3c, 0xcf, 0x8f,
+ 0xbd, 0x77, 0x2f, 0x96, 0x84, 0xf6, 0x43, 0x63, 0xdc, 0x45, 0x55, 0x56, 0x8c, 0x4c, 0x73, 0xcb,
+ 0xa2, 0x3e, 0x8e, 0x37, 0x4f, 0x10, 0x71, 0x8b, 0x0e, 0x0d, 0x96, 0x88, 0x35, 0x3e, 0xb1, 0x15,
+ 0x09, 0xab, 0x3a, 0x25, 0xbe, 0x98, 0xfd, 0xe2, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x8e,
+ 0xe4, 0xae, 0x66, 0x2c, 0x00, 0x00,
+}
+
+func (m *SpotMarketParamUpdateProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SpotMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SpotMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Status != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.Status))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.MinQuantityTickSize != nil {
+ {
+ size := m.MinQuantityTickSize.Size()
+ i -= size
+ if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ if m.MinPriceTickSize != nil {
+ {
+ size := m.MinPriceTickSize.Size()
+ i -= size
+ if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ }
+ if m.RelayerFeeShareRate != nil {
+ {
+ size := m.RelayerFeeShareRate.Size()
+ i -= size
+ if _, err := m.RelayerFeeShareRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.TakerFeeRate != nil {
+ {
+ size := m.TakerFeeRate.Size()
+ i -= size
+ if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.MakerFeeRate != nil {
+ {
+ size := m.MakerFeeRate.Size()
+ i -= size
+ if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ExchangeEnableProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExchangeEnableProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ExchangeEnableProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.ExchangeType != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.ExchangeType))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *BatchExchangeModificationProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *BatchExchangeModificationProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *BatchExchangeModificationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.MarketForcedSettlementProposals) > 0 {
+ for iNdEx := len(m.MarketForcedSettlementProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.MarketForcedSettlementProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x6a
+ }
+ }
+ if m.FeeDiscountProposal != nil {
+ {
+ size, err := m.FeeDiscountProposal.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ }
+ if m.DenomDecimalsUpdateProposal != nil {
+ {
+ size, err := m.DenomDecimalsUpdateProposal.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ }
+ if len(m.BinaryOptionsParamUpdateProposals) > 0 {
+ for iNdEx := len(m.BinaryOptionsParamUpdateProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.BinaryOptionsParamUpdateProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x52
+ }
+ }
+ if len(m.BinaryOptionsMarketLaunchProposals) > 0 {
+ for iNdEx := len(m.BinaryOptionsMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.BinaryOptionsMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ }
+ }
+ if m.TradingRewardCampaignUpdateProposal != nil {
+ {
+ size, err := m.TradingRewardCampaignUpdateProposal.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ if len(m.ExpiryFuturesMarketLaunchProposals) > 0 {
+ for iNdEx := len(m.ExpiryFuturesMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.ExpiryFuturesMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ }
+ }
+ if len(m.PerpetualMarketLaunchProposals) > 0 {
+ for iNdEx := len(m.PerpetualMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.PerpetualMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ }
+ if len(m.SpotMarketLaunchProposals) > 0 {
+ for iNdEx := len(m.SpotMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SpotMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if len(m.DerivativeMarketParamUpdateProposals) > 0 {
+ for iNdEx := len(m.DerivativeMarketParamUpdateProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.DerivativeMarketParamUpdateProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.SpotMarketParamUpdateProposals) > 0 {
+ for iNdEx := len(m.SpotMarketParamUpdateProposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SpotMarketParamUpdateProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SpotMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SpotMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SpotMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.TakerFeeRate != nil {
+ {
+ size := m.TakerFeeRate.Size()
+ i -= size
+ if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ }
+ if m.MakerFeeRate != nil {
+ {
+ size := m.MakerFeeRate.Size()
+ i -= size
+ if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ {
+ size := m.MinQuantityTickSize.Size()
+ i -= size
+ if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ {
+ size := m.MinPriceTickSize.Size()
+ i -= size
+ if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ if len(m.QuoteDenom) > 0 {
+ i -= len(m.QuoteDenom)
+ copy(dAtA[i:], m.QuoteDenom)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.QuoteDenom)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.BaseDenom) > 0 {
+ i -= len(m.BaseDenom)
+ copy(dAtA[i:], m.BaseDenom)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.BaseDenom)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Ticker) > 0 {
+ i -= len(m.Ticker)
+ copy(dAtA[i:], m.Ticker)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Ticker)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *PerpetualMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *PerpetualMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *PerpetualMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size := m.MinQuantityTickSize.Size()
+ i -= size
+ if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x72
+ {
+ size := m.MinPriceTickSize.Size()
+ i -= size
+ if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x6a
+ {
+ size := m.TakerFeeRate.Size()
+ i -= size
+ if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ {
+ size := m.MakerFeeRate.Size()
+ i -= size
+ if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ {
+ size := m.MaintenanceMarginRatio.Size()
+ i -= size
+ if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x52
+ {
+ size := m.InitialMarginRatio.Size()
+ i -= size
+ if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ if m.OracleType != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleType))
+ i--
+ dAtA[i] = 0x40
+ }
+ if m.OracleScaleFactor != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleScaleFactor))
+ i--
+ dAtA[i] = 0x38
+ }
+ if len(m.OracleQuote) > 0 {
+ i -= len(m.OracleQuote)
+ copy(dAtA[i:], m.OracleQuote)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleQuote)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.OracleBase) > 0 {
+ i -= len(m.OracleBase)
+ copy(dAtA[i:], m.OracleBase)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleBase)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.QuoteDenom) > 0 {
+ i -= len(m.QuoteDenom)
+ copy(dAtA[i:], m.QuoteDenom)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.QuoteDenom)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Ticker) > 0 {
+ i -= len(m.Ticker)
+ copy(dAtA[i:], m.Ticker)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Ticker)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *BinaryOptionsMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *BinaryOptionsMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *BinaryOptionsMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size := m.MinQuantityTickSize.Size()
+ i -= size
+ if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x7a
+ {
+ size := m.MinPriceTickSize.Size()
+ i -= size
+ if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x72
+ {
+ size := m.TakerFeeRate.Size()
+ i -= size
+ if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x6a
+ {
+ size := m.MakerFeeRate.Size()
+ i -= size
+ if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ if len(m.QuoteDenom) > 0 {
+ i -= len(m.QuoteDenom)
+ copy(dAtA[i:], m.QuoteDenom)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.QuoteDenom)))
+ i--
+ dAtA[i] = 0x5a
+ }
+ if len(m.Admin) > 0 {
+ i -= len(m.Admin)
+ copy(dAtA[i:], m.Admin)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Admin)))
+ i--
+ dAtA[i] = 0x52
+ }
+ if m.SettlementTimestamp != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.SettlementTimestamp))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.ExpirationTimestamp != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.ExpirationTimestamp))
+ i--
+ dAtA[i] = 0x40
+ }
+ if m.OracleScaleFactor != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleScaleFactor))
+ i--
+ dAtA[i] = 0x38
+ }
+ if m.OracleType != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleType))
+ i--
+ dAtA[i] = 0x30
+ }
+ if len(m.OracleProvider) > 0 {
+ i -= len(m.OracleProvider)
+ copy(dAtA[i:], m.OracleProvider)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleProvider)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.OracleSymbol) > 0 {
+ i -= len(m.OracleSymbol)
+ copy(dAtA[i:], m.OracleSymbol)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleSymbol)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Ticker) > 0 {
+ i -= len(m.Ticker)
+ copy(dAtA[i:], m.Ticker)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Ticker)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ExpiryFuturesMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ExpiryFuturesMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ExpiryFuturesMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size := m.MinQuantityTickSize.Size()
+ i -= size
+ if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x7a
+ {
+ size := m.MinPriceTickSize.Size()
+ i -= size
+ if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x72
+ {
+ size := m.TakerFeeRate.Size()
+ i -= size
+ if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x6a
+ {
+ size := m.MakerFeeRate.Size()
+ i -= size
+ if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ {
+ size := m.MaintenanceMarginRatio.Size()
+ i -= size
+ if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ {
+ size := m.InitialMarginRatio.Size()
+ i -= size
+ if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x52
+ if m.Expiry != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.Expiry))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.OracleType != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleType))
+ i--
+ dAtA[i] = 0x40
+ }
+ if m.OracleScaleFactor != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleScaleFactor))
+ i--
+ dAtA[i] = 0x38
+ }
+ if len(m.OracleQuote) > 0 {
+ i -= len(m.OracleQuote)
+ copy(dAtA[i:], m.OracleQuote)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleQuote)))
+ i--
+ dAtA[i] = 0x32
+ }
+ if len(m.OracleBase) > 0 {
+ i -= len(m.OracleBase)
+ copy(dAtA[i:], m.OracleBase)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleBase)))
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.QuoteDenom) > 0 {
+ i -= len(m.QuoteDenom)
+ copy(dAtA[i:], m.QuoteDenom)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.QuoteDenom)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Ticker) > 0 {
+ i -= len(m.Ticker)
+ copy(dAtA[i:], m.Ticker)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Ticker)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *DerivativeMarketParamUpdateProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *DerivativeMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DerivativeMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.OracleParams != nil {
+ {
+ size, err := m.OracleParams.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x72
+ }
+ if m.Status != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.Status))
+ i--
+ dAtA[i] = 0x68
+ }
+ if m.HourlyFundingRateCap != nil {
+ {
+ size := m.HourlyFundingRateCap.Size()
+ i -= size
+ if _, err := m.HourlyFundingRateCap.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ }
+ if m.HourlyInterestRate != nil {
+ {
+ size := m.HourlyInterestRate.Size()
+ i -= size
+ if _, err := m.HourlyInterestRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ }
+ if m.MinQuantityTickSize != nil {
+ {
+ size := m.MinQuantityTickSize.Size()
+ i -= size
+ if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x52
+ }
+ if m.MinPriceTickSize != nil {
+ {
+ size := m.MinPriceTickSize.Size()
+ i -= size
+ if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ }
+ if m.RelayerFeeShareRate != nil {
+ {
+ size := m.RelayerFeeShareRate.Size()
+ i -= size
+ if _, err := m.RelayerFeeShareRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ if m.TakerFeeRate != nil {
+ {
+ size := m.TakerFeeRate.Size()
+ i -= size
+ if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ }
+ if m.MakerFeeRate != nil {
+ {
+ size := m.MakerFeeRate.Size()
+ i -= size
+ if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.MaintenanceMarginRatio != nil {
+ {
+ size := m.MaintenanceMarginRatio.Size()
+ i -= size
+ if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.InitialMarginRatio != nil {
+ {
+ size := m.InitialMarginRatio.Size()
+ i -= size
+ if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MarketForcedSettlementProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MarketForcedSettlementProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MarketForcedSettlementProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.SettlementPrice != nil {
+ {
+ size := m.SettlementPrice.Size()
+ i -= size
+ if _, err := m.SettlementPrice.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *UpdateDenomDecimalsProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *UpdateDenomDecimalsProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *UpdateDenomDecimalsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.DenomDecimals) > 0 {
+ for iNdEx := len(m.DenomDecimals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.DenomDecimals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *BinaryOptionsMarketParamUpdateProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *BinaryOptionsMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *BinaryOptionsMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.OracleParams != nil {
+ {
+ size, err := m.OracleParams.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x72
+ }
+ if m.Status != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.Status))
+ i--
+ dAtA[i] = 0x68
+ }
+ if len(m.Admin) > 0 {
+ i -= len(m.Admin)
+ copy(dAtA[i:], m.Admin)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Admin)))
+ i--
+ dAtA[i] = 0x62
+ }
+ if m.SettlementPrice != nil {
+ {
+ size := m.SettlementPrice.Size()
+ i -= size
+ if _, err := m.SettlementPrice.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ }
+ if m.SettlementTimestamp != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.SettlementTimestamp))
+ i--
+ dAtA[i] = 0x50
+ }
+ if m.ExpirationTimestamp != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.ExpirationTimestamp))
+ i--
+ dAtA[i] = 0x48
+ }
+ if m.MinQuantityTickSize != nil {
+ {
+ size := m.MinQuantityTickSize.Size()
+ i -= size
+ if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ if m.MinPriceTickSize != nil {
+ {
+ size := m.MinPriceTickSize.Size()
+ i -= size
+ if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ }
+ if m.RelayerFeeShareRate != nil {
+ {
+ size := m.RelayerFeeShareRate.Size()
+ i -= size
+ if _, err := m.RelayerFeeShareRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.TakerFeeRate != nil {
+ {
+ size := m.TakerFeeRate.Size()
+ i -= size
+ if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.MakerFeeRate != nil {
+ {
+ size := m.MakerFeeRate.Size()
+ i -= size
+ if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *ProviderOracleParams) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *ProviderOracleParams) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *ProviderOracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.OracleType != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleType))
+ i--
+ dAtA[i] = 0x20
+ }
+ if m.OracleScaleFactor != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleScaleFactor))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.Provider) > 0 {
+ i -= len(m.Provider)
+ copy(dAtA[i:], m.Provider)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Provider)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Symbol) > 0 {
+ i -= len(m.Symbol)
+ copy(dAtA[i:], m.Symbol)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Symbol)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *OracleParams) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OracleParams) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *OracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.OracleType != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleType))
+ i--
+ dAtA[i] = 0x20
+ }
+ if m.OracleScaleFactor != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.OracleScaleFactor))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.OracleQuote) > 0 {
+ i -= len(m.OracleQuote)
+ copy(dAtA[i:], m.OracleQuote)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleQuote)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.OracleBase) > 0 {
+ i -= len(m.OracleBase)
+ copy(dAtA[i:], m.OracleBase)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.OracleBase)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *TradingRewardCampaignLaunchProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *TradingRewardCampaignLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TradingRewardCampaignLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.CampaignRewardPools) > 0 {
+ for iNdEx := len(m.CampaignRewardPools) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.CampaignRewardPools[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.CampaignInfo != nil {
+ {
+ size, err := m.CampaignInfo.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *TradingRewardCampaignUpdateProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *TradingRewardCampaignUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TradingRewardCampaignUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.CampaignRewardPoolsUpdates) > 0 {
+ for iNdEx := len(m.CampaignRewardPoolsUpdates) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.CampaignRewardPoolsUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if len(m.CampaignRewardPoolsAdditions) > 0 {
+ for iNdEx := len(m.CampaignRewardPoolsAdditions) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.CampaignRewardPoolsAdditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.CampaignInfo != nil {
+ {
+ size, err := m.CampaignInfo.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *RewardPointUpdate) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *RewardPointUpdate) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *RewardPointUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size := m.NewPoints.Size()
+ i -= size
+ if _, err := m.NewPoints.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ if len(m.AccountAddress) > 0 {
+ i -= len(m.AccountAddress)
+ copy(dAtA[i:], m.AccountAddress)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.AccountAddress)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *TradingRewardPendingPointsUpdateProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *TradingRewardPendingPointsUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TradingRewardPendingPointsUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.RewardPointUpdates) > 0 {
+ for iNdEx := len(m.RewardPointUpdates) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.RewardPointUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if m.PendingPoolTimestamp != 0 {
+ i = encodeVarintProposal(dAtA, i, uint64(m.PendingPoolTimestamp))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *FeeDiscountProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *FeeDiscountProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *FeeDiscountProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Schedule != nil {
+ {
+ size, err := m.Schedule.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *BatchCommunityPoolSpendProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *BatchCommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *BatchCommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Proposals) > 0 {
+ for iNdEx := len(m.Proposals) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Proposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.MarketFeeMultipliers) > 0 {
+ for iNdEx := len(m.MarketFeeMultipliers) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.MarketFeeMultipliers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintProposal(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.Description) > 0 {
+ i -= len(m.Description)
+ copy(dAtA[i:], m.Description)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Description)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Title) > 0 {
+ i -= len(m.Title)
+ copy(dAtA[i:], m.Title)
+ i = encodeVarintProposal(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintProposal(dAtA []byte, offset int, v uint64) int {
+ offset -= sovProposal(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *SpotMarketParamUpdateProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MakerFeeRate != nil {
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.TakerFeeRate != nil {
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.RelayerFeeShareRate != nil {
+ l = m.RelayerFeeShareRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MinPriceTickSize != nil {
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MinQuantityTickSize != nil {
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.Status != 0 {
+ n += 1 + sovProposal(uint64(m.Status))
+ }
+ return n
+}
+
+func (m *ExchangeEnableProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.ExchangeType != 0 {
+ n += 1 + sovProposal(uint64(m.ExchangeType))
+ }
+ return n
+}
+
+func (m *BatchExchangeModificationProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.SpotMarketParamUpdateProposals) > 0 {
+ for _, e := range m.SpotMarketParamUpdateProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if len(m.DerivativeMarketParamUpdateProposals) > 0 {
+ for _, e := range m.DerivativeMarketParamUpdateProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if len(m.SpotMarketLaunchProposals) > 0 {
+ for _, e := range m.SpotMarketLaunchProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if len(m.PerpetualMarketLaunchProposals) > 0 {
+ for _, e := range m.PerpetualMarketLaunchProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if len(m.ExpiryFuturesMarketLaunchProposals) > 0 {
+ for _, e := range m.ExpiryFuturesMarketLaunchProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if m.TradingRewardCampaignUpdateProposal != nil {
+ l = m.TradingRewardCampaignUpdateProposal.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.BinaryOptionsMarketLaunchProposals) > 0 {
+ for _, e := range m.BinaryOptionsMarketLaunchProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if len(m.BinaryOptionsParamUpdateProposals) > 0 {
+ for _, e := range m.BinaryOptionsParamUpdateProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if m.DenomDecimalsUpdateProposal != nil {
+ l = m.DenomDecimalsUpdateProposal.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.FeeDiscountProposal != nil {
+ l = m.FeeDiscountProposal.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.MarketForcedSettlementProposals) > 0 {
+ for _, e := range m.MarketForcedSettlementProposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *SpotMarketLaunchProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.BaseDenom)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ if m.MakerFeeRate != nil {
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.TakerFeeRate != nil {
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ return n
+}
+
+func (m *PerpetualMarketLaunchProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.OracleBase)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.OracleQuote)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.OracleScaleFactor != 0 {
+ n += 1 + sovProposal(uint64(m.OracleScaleFactor))
+ }
+ if m.OracleType != 0 {
+ n += 1 + sovProposal(uint64(m.OracleType))
+ }
+ l = m.InitialMarginRatio.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MaintenanceMarginRatio.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ return n
+}
+
+func (m *BinaryOptionsMarketLaunchProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.OracleSymbol)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.OracleProvider)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.OracleType != 0 {
+ n += 1 + sovProposal(uint64(m.OracleType))
+ }
+ if m.OracleScaleFactor != 0 {
+ n += 1 + sovProposal(uint64(m.OracleScaleFactor))
+ }
+ if m.ExpirationTimestamp != 0 {
+ n += 1 + sovProposal(uint64(m.ExpirationTimestamp))
+ }
+ if m.SettlementTimestamp != 0 {
+ n += 1 + sovProposal(uint64(m.SettlementTimestamp))
+ }
+ l = len(m.Admin)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ return n
+}
+
+func (m *ExpiryFuturesMarketLaunchProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.OracleBase)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.OracleQuote)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.OracleScaleFactor != 0 {
+ n += 1 + sovProposal(uint64(m.OracleScaleFactor))
+ }
+ if m.OracleType != 0 {
+ n += 1 + sovProposal(uint64(m.OracleType))
+ }
+ if m.Expiry != 0 {
+ n += 1 + sovProposal(uint64(m.Expiry))
+ }
+ l = m.InitialMarginRatio.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MaintenanceMarginRatio.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ return n
+}
+
+func (m *DerivativeMarketParamUpdateProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.InitialMarginRatio != nil {
+ l = m.InitialMarginRatio.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MaintenanceMarginRatio != nil {
+ l = m.MaintenanceMarginRatio.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MakerFeeRate != nil {
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.TakerFeeRate != nil {
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.RelayerFeeShareRate != nil {
+ l = m.RelayerFeeShareRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MinPriceTickSize != nil {
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MinQuantityTickSize != nil {
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.HourlyInterestRate != nil {
+ l = m.HourlyInterestRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.HourlyFundingRateCap != nil {
+ l = m.HourlyFundingRateCap.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.Status != 0 {
+ n += 1 + sovProposal(uint64(m.Status))
+ }
+ if m.OracleParams != nil {
+ l = m.OracleParams.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ return n
+}
+
+func (m *MarketForcedSettlementProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.SettlementPrice != nil {
+ l = m.SettlementPrice.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ return n
+}
+
+func (m *UpdateDenomDecimalsProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.DenomDecimals) > 0 {
+ for _, e := range m.DenomDecimals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *BinaryOptionsMarketParamUpdateProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MakerFeeRate != nil {
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.TakerFeeRate != nil {
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.RelayerFeeShareRate != nil {
+ l = m.RelayerFeeShareRate.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MinPriceTickSize != nil {
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.MinQuantityTickSize != nil {
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.ExpirationTimestamp != 0 {
+ n += 1 + sovProposal(uint64(m.ExpirationTimestamp))
+ }
+ if m.SettlementTimestamp != 0 {
+ n += 1 + sovProposal(uint64(m.SettlementTimestamp))
+ }
+ if m.SettlementPrice != nil {
+ l = m.SettlementPrice.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Admin)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.Status != 0 {
+ n += 1 + sovProposal(uint64(m.Status))
+ }
+ if m.OracleParams != nil {
+ l = m.OracleParams.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ return n
+}
+
+func (m *ProviderOracleParams) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Symbol)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Provider)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.OracleScaleFactor != 0 {
+ n += 1 + sovProposal(uint64(m.OracleScaleFactor))
+ }
+ if m.OracleType != 0 {
+ n += 1 + sovProposal(uint64(m.OracleType))
+ }
+ return n
+}
+
+func (m *OracleParams) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.OracleBase)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.OracleQuote)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.OracleScaleFactor != 0 {
+ n += 1 + sovProposal(uint64(m.OracleScaleFactor))
+ }
+ if m.OracleType != 0 {
+ n += 1 + sovProposal(uint64(m.OracleType))
+ }
+ return n
+}
+
+func (m *TradingRewardCampaignLaunchProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.CampaignInfo != nil {
+ l = m.CampaignInfo.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.CampaignRewardPools) > 0 {
+ for _, e := range m.CampaignRewardPools {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *TradingRewardCampaignUpdateProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.CampaignInfo != nil {
+ l = m.CampaignInfo.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.CampaignRewardPoolsAdditions) > 0 {
+ for _, e := range m.CampaignRewardPoolsAdditions {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ if len(m.CampaignRewardPoolsUpdates) > 0 {
+ for _, e := range m.CampaignRewardPoolsUpdates {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *RewardPointUpdate) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.AccountAddress)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = m.NewPoints.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ return n
+}
+
+func (m *TradingRewardPendingPointsUpdateProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.PendingPoolTimestamp != 0 {
+ n += 1 + sovProposal(uint64(m.PendingPoolTimestamp))
+ }
+ if len(m.RewardPointUpdates) > 0 {
+ for _, e := range m.RewardPointUpdates {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *FeeDiscountProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if m.Schedule != nil {
+ l = m.Schedule.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ return n
+}
+
+func (m *BatchCommunityPoolSpendProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.Proposals) > 0 {
+ for _, e := range m.Proposals {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Title)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ l = len(m.Description)
+ if l > 0 {
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ if len(m.MarketFeeMultipliers) > 0 {
+ for _, e := range m.MarketFeeMultipliers {
+ l = e.Size()
+ n += 1 + l + sovProposal(uint64(l))
+ }
+ }
+ return n
+}
+
+func sovProposal(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozProposal(x uint64) (n int) {
+ return sovProposal(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SpotMarketParamUpdateProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SpotMarketParamUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MakerFeeRate = &v
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.TakerFeeRate = &v
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RelayerFeeShareRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.RelayerFeeShareRate = &v
+ if err := m.RelayerFeeShareRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MinPriceTickSize = &v
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MinQuantityTickSize = &v
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ m.Status = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Status |= MarketStatus(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExchangeEnableProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExchangeEnableProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExchangeType", wireType)
+ }
+ m.ExchangeType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ExchangeType |= ExchangeType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: BatchExchangeModificationProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: BatchExchangeModificationProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketParamUpdateProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SpotMarketParamUpdateProposals = append(m.SpotMarketParamUpdateProposals, &SpotMarketParamUpdateProposal{})
+ if err := m.SpotMarketParamUpdateProposals[len(m.SpotMarketParamUpdateProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeMarketParamUpdateProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DerivativeMarketParamUpdateProposals = append(m.DerivativeMarketParamUpdateProposals, &DerivativeMarketParamUpdateProposal{})
+ if err := m.DerivativeMarketParamUpdateProposals[len(m.DerivativeMarketParamUpdateProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketLaunchProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SpotMarketLaunchProposals = append(m.SpotMarketLaunchProposals, &SpotMarketLaunchProposal{})
+ if err := m.SpotMarketLaunchProposals[len(m.SpotMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PerpetualMarketLaunchProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.PerpetualMarketLaunchProposals = append(m.PerpetualMarketLaunchProposals, &PerpetualMarketLaunchProposal{})
+ if err := m.PerpetualMarketLaunchProposals[len(m.PerpetualMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExpiryFuturesMarketLaunchProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ExpiryFuturesMarketLaunchProposals = append(m.ExpiryFuturesMarketLaunchProposals, &ExpiryFuturesMarketLaunchProposal{})
+ if err := m.ExpiryFuturesMarketLaunchProposals[len(m.ExpiryFuturesMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TradingRewardCampaignUpdateProposal", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.TradingRewardCampaignUpdateProposal == nil {
+ m.TradingRewardCampaignUpdateProposal = &TradingRewardCampaignUpdateProposal{}
+ }
+ if err := m.TradingRewardCampaignUpdateProposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsMarketLaunchProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.BinaryOptionsMarketLaunchProposals = append(m.BinaryOptionsMarketLaunchProposals, &BinaryOptionsMarketLaunchProposal{})
+ if err := m.BinaryOptionsMarketLaunchProposals[len(m.BinaryOptionsMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsParamUpdateProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.BinaryOptionsParamUpdateProposals = append(m.BinaryOptionsParamUpdateProposals, &BinaryOptionsMarketParamUpdateProposal{})
+ if err := m.BinaryOptionsParamUpdateProposals[len(m.BinaryOptionsParamUpdateProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DenomDecimalsUpdateProposal", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.DenomDecimalsUpdateProposal == nil {
+ m.DenomDecimalsUpdateProposal = &UpdateDenomDecimalsProposal{}
+ }
+ if err := m.DenomDecimalsUpdateProposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FeeDiscountProposal", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.FeeDiscountProposal == nil {
+ m.FeeDiscountProposal = &FeeDiscountProposal{}
+ }
+ if err := m.FeeDiscountProposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 13:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketForcedSettlementProposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketForcedSettlementProposals = append(m.MarketForcedSettlementProposals, &MarketForcedSettlementProposal{})
+ if err := m.MarketForcedSettlementProposals[len(m.MarketForcedSettlementProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SpotMarketLaunchProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SpotMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Ticker = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BaseDenom", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.BaseDenom = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MakerFeeRate = &v
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.TakerFeeRate = &v
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: PerpetualMarketLaunchProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PerpetualMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Ticker = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleBase = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleQuote = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ }
+ m.OracleScaleFactor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ }
+ m.OracleType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleType |= types.OracleType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 13:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 14:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: BinaryOptionsMarketLaunchProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: BinaryOptionsMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Ticker = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleSymbol", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleSymbol = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleProvider", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleProvider = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ }
+ m.OracleType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleType |= types.OracleType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ }
+ m.OracleScaleFactor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
+ }
+ m.ExpirationTimestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ExpirationTimestamp |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
+ }
+ m.SettlementTimestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.SettlementTimestamp |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Admin = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 13:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 14:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 15:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ExpiryFuturesMarketLaunchProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ExpiryFuturesMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Ticker = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleBase = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleQuote = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ }
+ m.OracleScaleFactor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ }
+ m.OracleType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleType |= types.OracleType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Expiry", wireType)
+ }
+ m.Expiry = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Expiry |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 13:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 14:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 15:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DerivativeMarketParamUpdateProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DerivativeMarketParamUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.InitialMarginRatio = &v
+ if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MaintenanceMarginRatio = &v
+ if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MakerFeeRate = &v
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.TakerFeeRate = &v
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RelayerFeeShareRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.RelayerFeeShareRate = &v
+ if err := m.RelayerFeeShareRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MinPriceTickSize = &v
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MinQuantityTickSize = &v
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field HourlyInterestRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.HourlyInterestRate = &v
+ if err := m.HourlyInterestRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field HourlyFundingRateCap", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.HourlyFundingRateCap = &v
+ if err := m.HourlyFundingRateCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 13:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ m.Status = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Status |= MarketStatus(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 14:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleParams", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.OracleParams == nil {
+ m.OracleParams = &OracleParams{}
+ }
+ if err := m.OracleParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MarketForcedSettlementProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MarketForcedSettlementProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SettlementPrice", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.SettlementPrice = &v
+ if err := m.SettlementPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *UpdateDenomDecimalsProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: UpdateDenomDecimalsProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: UpdateDenomDecimalsProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DenomDecimals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DenomDecimals = append(m.DenomDecimals, &DenomDecimals{})
+ if err := m.DenomDecimals[len(m.DenomDecimals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: BinaryOptionsMarketParamUpdateProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: BinaryOptionsMarketParamUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MakerFeeRate = &v
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.TakerFeeRate = &v
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RelayerFeeShareRate", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.RelayerFeeShareRate = &v
+ if err := m.RelayerFeeShareRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MinPriceTickSize = &v
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.MinQuantityTickSize = &v
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
+ }
+ m.ExpirationTimestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.ExpirationTimestamp |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 10:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
+ }
+ m.SettlementTimestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.SettlementTimestamp |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SettlementPrice", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var v github_com_cosmos_cosmos_sdk_types.Dec
+ m.SettlementPrice = &v
+ if err := m.SettlementPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Admin = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 13:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ m.Status = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Status |= MarketStatus(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 14:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleParams", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.OracleParams == nil {
+ m.OracleParams = &ProviderOracleParams{}
+ }
+ if err := m.OracleParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: ProviderOracleParams: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: ProviderOracleParams: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Symbol = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Provider = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ }
+ m.OracleScaleFactor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ }
+ m.OracleType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleType |= types.OracleType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *OracleParams) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: OracleParams: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: OracleParams: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleBase = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleQuote = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ }
+ m.OracleScaleFactor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ }
+ m.OracleType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleType |= types.OracleType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: TradingRewardCampaignLaunchProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TradingRewardCampaignLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CampaignInfo", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.CampaignInfo == nil {
+ m.CampaignInfo = &TradingRewardCampaignInfo{}
+ }
+ if err := m.CampaignInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CampaignRewardPools", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CampaignRewardPools = append(m.CampaignRewardPools, &CampaignRewardPool{})
+ if err := m.CampaignRewardPools[len(m.CampaignRewardPools)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: TradingRewardCampaignUpdateProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TradingRewardCampaignUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CampaignInfo", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.CampaignInfo == nil {
+ m.CampaignInfo = &TradingRewardCampaignInfo{}
+ }
+ if err := m.CampaignInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CampaignRewardPoolsAdditions", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CampaignRewardPoolsAdditions = append(m.CampaignRewardPoolsAdditions, &CampaignRewardPool{})
+ if err := m.CampaignRewardPoolsAdditions[len(m.CampaignRewardPoolsAdditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CampaignRewardPoolsUpdates", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.CampaignRewardPoolsUpdates = append(m.CampaignRewardPoolsUpdates, &CampaignRewardPool{})
+ if err := m.CampaignRewardPoolsUpdates[len(m.CampaignRewardPoolsUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: RewardPointUpdate: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: RewardPointUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AccountAddress", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.AccountAddress = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field NewPoints", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.NewPoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: TradingRewardPendingPointsUpdateProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TradingRewardPendingPointsUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PendingPoolTimestamp", wireType)
+ }
+ m.PendingPoolTimestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.PendingPoolTimestamp |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RewardPointUpdates", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.RewardPointUpdates = append(m.RewardPointUpdates, &RewardPointUpdate{})
+ if err := m.RewardPointUpdates[len(m.RewardPointUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: FeeDiscountProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: FeeDiscountProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Schedule == nil {
+ m.Schedule = &FeeDiscountSchedule{}
+ }
+ if err := m.Schedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *BatchCommunityPoolSpendProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: BatchCommunityPoolSpendProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: BatchCommunityPoolSpendProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Proposals", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Proposals = append(m.Proposals, &types1.CommunityPoolSpendProposal{})
+ if err := m.Proposals[len(m.Proposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: AtomicMarketOrderFeeMultiplierScheduleProposal: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: AtomicMarketOrderFeeMultiplierScheduleProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Title = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Description = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketFeeMultipliers", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthProposal
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketFeeMultipliers = append(m.MarketFeeMultipliers, &MarketFeeMultiplier{})
+ if err := m.MarketFeeMultipliers[len(m.MarketFeeMultipliers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipProposal(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthProposal
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipProposal(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowProposal
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthProposal
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupProposal
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthProposal
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthProposal = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowProposal = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupProposal = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/chain/exchange/types/query.pb.go b/chain/exchange/types/query.pb.go
index a9d39357..d95ca74e 100644
--- a/chain/exchange/types/query.pb.go
+++ b/chain/exchange/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
@@ -15,9 +19,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -5614,7 +5615,8 @@ func (m *MitoVaultInfosResponse) GetCw20Addresses() []string {
return nil
}
-// QueryMarketIDFromVaultRequest is the request type for the Query/QueryMarketIDFromVault RPC method.
+// QueryMarketIDFromVaultRequest is the request type for the
+// Query/QueryMarketIDFromVault RPC method.
type QueryMarketIDFromVaultRequest struct {
VaultAddress string `protobuf:"bytes,1,opt,name=vault_address,json=vaultAddress,proto3" json:"vault_address,omitempty"`
}
@@ -5798,8 +5800,9 @@ func (m *QueryHistoricalTradeRecordsResponse) GetTradeRecords() []*TradeRecords
type TradeHistoryOptions struct {
// TradeGroupingSec of 0 means use the chain's default grouping
TradeGroupingSec uint64 `protobuf:"varint,1,opt,name=trade_grouping_sec,json=tradeGroupingSec,proto3" json:"trade_grouping_sec,omitempty"`
- // MaxAge restricts the trade records oldest age in seconds from the current block time to consider.
- // A value of 0 means use all the records present on the chain.
+ // MaxAge restricts the trade records oldest age in seconds from the current
+ // block time to consider. A value of 0 means use all the records present on
+ // the chain.
MaxAge uint64 `protobuf:"varint,2,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
// If IncludeRawHistory is true, the raw underlying data used for the
// computation is included in the response
@@ -6937,7 +6940,8 @@ type QueryClient interface {
FeeDiscountTierStatistics(ctx context.Context, in *QueryFeeDiscountTierStatisticsRequest, opts ...grpc.CallOption) (*QueryFeeDiscountTierStatisticsResponse, error)
// Retrieves market making pool info
MitoVaultInfos(ctx context.Context, in *MitoVaultInfosRequest, opts ...grpc.CallOption) (*MitoVaultInfosResponse, error)
- // QueryMarketIDFromVault returns the market ID for a given vault subaccount ID
+ // QueryMarketIDFromVault returns the market ID for a given vault subaccount
+ // ID
QueryMarketIDFromVault(ctx context.Context, in *QueryMarketIDFromVaultRequest, opts ...grpc.CallOption) (*QueryMarketIDFromVaultResponse, error)
// Retrieves historical trade records for a given market ID
HistoricalTradeRecords(ctx context.Context, in *QueryHistoricalTradeRecordsRequest, opts ...grpc.CallOption) (*QueryHistoricalTradeRecordsResponse, error)
@@ -7579,7 +7583,8 @@ type QueryServer interface {
FeeDiscountTierStatistics(context.Context, *QueryFeeDiscountTierStatisticsRequest) (*QueryFeeDiscountTierStatisticsResponse, error)
// Retrieves market making pool info
MitoVaultInfos(context.Context, *MitoVaultInfosRequest) (*MitoVaultInfosResponse, error)
- // QueryMarketIDFromVault returns the market ID for a given vault subaccount ID
+ // QueryMarketIDFromVault returns the market ID for a given vault subaccount
+ // ID
QueryMarketIDFromVault(context.Context, *QueryMarketIDFromVaultRequest) (*QueryMarketIDFromVaultResponse, error)
// Retrieves historical trade records for a given market ID
HistoricalTradeRecords(context.Context, *QueryHistoricalTradeRecordsRequest) (*QueryHistoricalTradeRecordsResponse, error)
diff --git a/chain/exchange/types/spot_orders.go b/chain/exchange/types/spot_orders.go
index 7c39ff9a..29147bd2 100644
--- a/chain/exchange/types/spot_orders.go
+++ b/chain/exchange/types/spot_orders.go
@@ -49,6 +49,14 @@ func (o *SpotLimitOrder) IsFromDefaultSubaccount() bool {
return o.OrderInfo.IsFromDefaultSubaccount()
}
+func (o *SpotLimitOrder) Cid() string {
+ return o.OrderInfo.GetCid()
+}
+
+func (o *SpotMarketOrder) Cid() string {
+ return o.OrderInfo.GetCid()
+}
+
func (o *SpotLimitOrder) SubaccountID() common.Hash {
return o.OrderInfo.SubaccountID()
}
@@ -91,6 +99,10 @@ func (o *SpotOrder) IsBuy() bool {
return o.OrderType.IsBuy()
}
+func (o *SpotOrder) Cid() string {
+ return o.OrderInfo.Cid
+}
+
func (m *SpotLimitOrder) IsBuy() bool {
return m.OrderType.IsBuy()
}
diff --git a/chain/exchange/types/tx.pb.go b/chain/exchange/types/tx.pb.go
index 28532a8a..525c7871 100644
--- a/chain/exchange/types/tx.pb.go
+++ b/chain/exchange/types/tx.pb.go
@@ -6,21 +6,22 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types1 "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
_ "github.com/cosmos/cosmos-proto"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
- types2 "github.com/cosmos/cosmos-sdk/x/distribution/types"
+ _ "github.com/cosmos/cosmos-sdk/x/distribution/types"
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
proto "github.com/cosmos/gogoproto/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -34,34 +35,6 @@ var _ = math.Inf
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
-type ExchangeType int32
-
-const (
- ExchangeType_EXCHANGE_UNSPECIFIED ExchangeType = 0
- ExchangeType_SPOT ExchangeType = 1
- ExchangeType_DERIVATIVES ExchangeType = 2
-)
-
-var ExchangeType_name = map[int32]string{
- 0: "EXCHANGE_UNSPECIFIED",
- 1: "SPOT",
- 2: "DERIVATIVES",
-}
-
-var ExchangeType_value = map[string]int32{
- "EXCHANGE_UNSPECIFIED": 0,
- "SPOT": 1,
- "DERIVATIVES": 2,
-}
-
-func (x ExchangeType) String() string {
- return proto.EnumName(ExchangeType_name, int32(x))
-}
-
-func (ExchangeType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{0}
-}
-
type MsgUpdateParams struct {
// authority is the address of the governance account.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
@@ -1257,6 +1230,7 @@ type MsgCancelSpotOrder struct {
MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
OrderHash string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ Cid string `protobuf:"bytes,5,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (m *MsgCancelSpotOrder) Reset() { *m = MsgCancelSpotOrder{} }
@@ -1795,6 +1769,7 @@ type MsgCancelDerivativeOrder struct {
SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
OrderHash string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
OrderMask int32 `protobuf:"varint,5,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
+ Cid string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (m *MsgCancelDerivativeOrder) Reset() { *m = MsgCancelDerivativeOrder{} }
@@ -1876,6 +1851,7 @@ type MsgCancelBinaryOptionsOrder struct {
SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
OrderHash string `protobuf:"bytes,4,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
OrderMask int32 `protobuf:"varint,5,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
+ Cid string `protobuf:"bytes,6,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (m *MsgCancelBinaryOptionsOrder) Reset() { *m = MsgCancelBinaryOptionsOrder{} }
@@ -1954,6 +1930,7 @@ type OrderData struct {
SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
OrderHash string `protobuf:"bytes,3,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
OrderMask int32 `protobuf:"varint,4,opt,name=order_mask,json=orderMask,proto3" json:"order_mask,omitempty"`
+ Cid string `protobuf:"bytes,5,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (m *OrderData) Reset() { *m = OrderData{} }
@@ -2017,6 +1994,13 @@ func (m *OrderData) GetOrderMask() int32 {
return 0
}
+func (m *OrderData) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
// MsgBatchCancelDerivativeOrders defines the Msg/CancelDerivativeOrders
// response type.
type MsgBatchCancelDerivativeOrders struct {
@@ -2418,6 +2402,105 @@ func (m *MsgLiquidatePositionResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgLiquidatePositionResponse proto.InternalMessageInfo
+// A Cosmos-SDK MsgEmergencySettleMarket
+type MsgEmergencySettleMarket struct {
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
+ SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+}
+
+func (m *MsgEmergencySettleMarket) Reset() { *m = MsgEmergencySettleMarket{} }
+func (m *MsgEmergencySettleMarket) String() string { return proto.CompactTextString(m) }
+func (*MsgEmergencySettleMarket) ProtoMessage() {}
+func (*MsgEmergencySettleMarket) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{53}
+}
+func (m *MsgEmergencySettleMarket) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgEmergencySettleMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgEmergencySettleMarket.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgEmergencySettleMarket) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgEmergencySettleMarket.Merge(m, src)
+}
+func (m *MsgEmergencySettleMarket) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgEmergencySettleMarket) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgEmergencySettleMarket.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgEmergencySettleMarket proto.InternalMessageInfo
+
+func (m *MsgEmergencySettleMarket) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
+}
+
+func (m *MsgEmergencySettleMarket) GetSubaccountId() string {
+ if m != nil {
+ return m.SubaccountId
+ }
+ return ""
+}
+
+func (m *MsgEmergencySettleMarket) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+// MsgEmergencySettleMarketResponse defines the Msg/EmergencySettleMarket
+// response type.
+type MsgEmergencySettleMarketResponse struct {
+}
+
+func (m *MsgEmergencySettleMarketResponse) Reset() { *m = MsgEmergencySettleMarketResponse{} }
+func (m *MsgEmergencySettleMarketResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgEmergencySettleMarketResponse) ProtoMessage() {}
+func (*MsgEmergencySettleMarketResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{54}
+}
+func (m *MsgEmergencySettleMarketResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *MsgEmergencySettleMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_MsgEmergencySettleMarketResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *MsgEmergencySettleMarketResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgEmergencySettleMarketResponse.Merge(m, src)
+}
+func (m *MsgEmergencySettleMarketResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *MsgEmergencySettleMarketResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgEmergencySettleMarketResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_MsgEmergencySettleMarketResponse proto.InternalMessageInfo
+
// A Cosmos-SDK MsgIncreasePositionMargin
type MsgIncreasePositionMargin struct {
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
@@ -2432,7 +2515,7 @@ func (m *MsgIncreasePositionMargin) Reset() { *m = MsgIncreasePositionMa
func (m *MsgIncreasePositionMargin) String() string { return proto.CompactTextString(m) }
func (*MsgIncreasePositionMargin) ProtoMessage() {}
func (*MsgIncreasePositionMargin) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{53}
+ return fileDescriptor_bd45b74cb6d81462, []int{55}
}
func (m *MsgIncreasePositionMargin) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2498,7 +2581,7 @@ func (m *MsgIncreasePositionMarginResponse) Reset() { *m = MsgIncreasePo
func (m *MsgIncreasePositionMarginResponse) String() string { return proto.CompactTextString(m) }
func (*MsgIncreasePositionMarginResponse) ProtoMessage() {}
func (*MsgIncreasePositionMarginResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{54}
+ return fileDescriptor_bd45b74cb6d81462, []int{56}
}
func (m *MsgIncreasePositionMarginResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2543,7 +2626,7 @@ func (m *MsgPrivilegedExecuteContract) Reset() { *m = MsgPrivilegedExecu
func (m *MsgPrivilegedExecuteContract) String() string { return proto.CompactTextString(m) }
func (*MsgPrivilegedExecuteContract) ProtoMessage() {}
func (*MsgPrivilegedExecuteContract) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{55}
+ return fileDescriptor_bd45b74cb6d81462, []int{57}
}
func (m *MsgPrivilegedExecuteContract) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2581,7 +2664,7 @@ func (m *MsgPrivilegedExecuteContractResponse) Reset() { *m = MsgPrivile
func (m *MsgPrivilegedExecuteContractResponse) String() string { return proto.CompactTextString(m) }
func (*MsgPrivilegedExecuteContractResponse) ProtoMessage() {}
func (*MsgPrivilegedExecuteContractResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{56}
+ return fileDescriptor_bd45b74cb6d81462, []int{58}
}
func (m *MsgPrivilegedExecuteContractResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
@@ -2610,38 +2693,23 @@ func (m *MsgPrivilegedExecuteContractResponse) XXX_DiscardUnknown() {
var xxx_messageInfo_MsgPrivilegedExecuteContractResponse proto.InternalMessageInfo
-type SpotMarketParamUpdateProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // maker_fee_rate defines the trade fee rate for makers on the spot market
- MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
- // taker_fee_rate defines the trade fee rate for takers on the spot market
- TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
- // relayer_fee_share_rate defines the relayer fee share rate for the spot
- // market
- RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=relayer_fee_share_rate,json=relayerFeeShareRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"relayer_fee_share_rate,omitempty"`
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size,omitempty"`
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size,omitempty"`
- Status MarketStatus `protobuf:"varint,9,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
+// A Cosmos-SDK MsgRewardsOptOut
+type MsgRewardsOptOut struct {
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
}
-func (m *SpotMarketParamUpdateProposal) Reset() { *m = SpotMarketParamUpdateProposal{} }
-func (m *SpotMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) }
-func (*SpotMarketParamUpdateProposal) ProtoMessage() {}
-func (*SpotMarketParamUpdateProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{57}
+func (m *MsgRewardsOptOut) Reset() { *m = MsgRewardsOptOut{} }
+func (m *MsgRewardsOptOut) String() string { return proto.CompactTextString(m) }
+func (*MsgRewardsOptOut) ProtoMessage() {}
+func (*MsgRewardsOptOut) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{59}
}
-func (m *SpotMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error {
+func (m *MsgRewardsOptOut) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *SpotMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgRewardsOptOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_SpotMarketParamUpdateProposal.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgRewardsOptOut.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -2651,36 +2719,41 @@ func (m *SpotMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool
return b[:n], nil
}
}
-func (m *SpotMarketParamUpdateProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SpotMarketParamUpdateProposal.Merge(m, src)
+func (m *MsgRewardsOptOut) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgRewardsOptOut.Merge(m, src)
}
-func (m *SpotMarketParamUpdateProposal) XXX_Size() int {
+func (m *MsgRewardsOptOut) XXX_Size() int {
return m.Size()
}
-func (m *SpotMarketParamUpdateProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_SpotMarketParamUpdateProposal.DiscardUnknown(m)
+func (m *MsgRewardsOptOut) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgRewardsOptOut.DiscardUnknown(m)
}
-var xxx_messageInfo_SpotMarketParamUpdateProposal proto.InternalMessageInfo
+var xxx_messageInfo_MsgRewardsOptOut proto.InternalMessageInfo
-type ExchangeEnableProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- ExchangeType ExchangeType `protobuf:"varint,3,opt,name=exchangeType,proto3,enum=injective.exchange.v1beta1.ExchangeType" json:"exchangeType,omitempty"`
+func (m *MsgRewardsOptOut) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
}
-func (m *ExchangeEnableProposal) Reset() { *m = ExchangeEnableProposal{} }
-func (m *ExchangeEnableProposal) String() string { return proto.CompactTextString(m) }
-func (*ExchangeEnableProposal) ProtoMessage() {}
-func (*ExchangeEnableProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{58}
+// MsgRewardsOptOutResponse defines the Msg/RewardsOptOut response type.
+type MsgRewardsOptOutResponse struct {
+}
+
+func (m *MsgRewardsOptOutResponse) Reset() { *m = MsgRewardsOptOutResponse{} }
+func (m *MsgRewardsOptOutResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgRewardsOptOutResponse) ProtoMessage() {}
+func (*MsgRewardsOptOutResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{60}
}
-func (m *ExchangeEnableProposal) XXX_Unmarshal(b []byte) error {
+func (m *MsgRewardsOptOutResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *ExchangeEnableProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgRewardsOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_ExchangeEnableProposal.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgRewardsOptOutResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -2690,44 +2763,37 @@ func (m *ExchangeEnableProposal) XXX_Marshal(b []byte, deterministic bool) ([]by
return b[:n], nil
}
}
-func (m *ExchangeEnableProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExchangeEnableProposal.Merge(m, src)
+func (m *MsgRewardsOptOutResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgRewardsOptOutResponse.Merge(m, src)
}
-func (m *ExchangeEnableProposal) XXX_Size() int {
+func (m *MsgRewardsOptOutResponse) XXX_Size() int {
return m.Size()
}
-func (m *ExchangeEnableProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_ExchangeEnableProposal.DiscardUnknown(m)
+func (m *MsgRewardsOptOutResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgRewardsOptOutResponse.DiscardUnknown(m)
}
-var xxx_messageInfo_ExchangeEnableProposal proto.InternalMessageInfo
+var xxx_messageInfo_MsgRewardsOptOutResponse proto.InternalMessageInfo
-type BatchExchangeModificationProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- SpotMarketParamUpdateProposals []*SpotMarketParamUpdateProposal `protobuf:"bytes,3,rep,name=spot_market_param_update_proposals,json=spotMarketParamUpdateProposals,proto3" json:"spot_market_param_update_proposals,omitempty"`
- DerivativeMarketParamUpdateProposals []*DerivativeMarketParamUpdateProposal `protobuf:"bytes,4,rep,name=derivative_market_param_update_proposals,json=derivativeMarketParamUpdateProposals,proto3" json:"derivative_market_param_update_proposals,omitempty"`
- SpotMarketLaunchProposals []*SpotMarketLaunchProposal `protobuf:"bytes,5,rep,name=spot_market_launch_proposals,json=spotMarketLaunchProposals,proto3" json:"spot_market_launch_proposals,omitempty"`
- PerpetualMarketLaunchProposals []*PerpetualMarketLaunchProposal `protobuf:"bytes,6,rep,name=perpetual_market_launch_proposals,json=perpetualMarketLaunchProposals,proto3" json:"perpetual_market_launch_proposals,omitempty"`
- ExpiryFuturesMarketLaunchProposals []*ExpiryFuturesMarketLaunchProposal `protobuf:"bytes,7,rep,name=expiry_futures_market_launch_proposals,json=expiryFuturesMarketLaunchProposals,proto3" json:"expiry_futures_market_launch_proposals,omitempty"`
- TradingRewardCampaignUpdateProposal *TradingRewardCampaignUpdateProposal `protobuf:"bytes,8,opt,name=trading_reward_campaign_update_proposal,json=tradingRewardCampaignUpdateProposal,proto3" json:"trading_reward_campaign_update_proposal,omitempty"`
- BinaryOptionsMarketLaunchProposals []*BinaryOptionsMarketLaunchProposal `protobuf:"bytes,9,rep,name=binary_options_market_launch_proposals,json=binaryOptionsMarketLaunchProposals,proto3" json:"binary_options_market_launch_proposals,omitempty"`
- BinaryOptionsParamUpdateProposals []*BinaryOptionsMarketParamUpdateProposal `protobuf:"bytes,10,rep,name=binary_options_param_update_proposals,json=binaryOptionsParamUpdateProposals,proto3" json:"binary_options_param_update_proposals,omitempty"`
- DenomDecimalsUpdateProposal *UpdateDenomDecimalsProposal `protobuf:"bytes,11,opt,name=denom_decimals_update_proposal,json=denomDecimalsUpdateProposal,proto3" json:"denom_decimals_update_proposal,omitempty"`
+// A Cosmos-SDK MsgReclaimLockedFunds
+type MsgReclaimLockedFunds struct {
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
+ LockedAccountPubKey []byte `protobuf:"bytes,2,opt,name=lockedAccountPubKey,proto3" json:"lockedAccountPubKey,omitempty"`
+ Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
}
-func (m *BatchExchangeModificationProposal) Reset() { *m = BatchExchangeModificationProposal{} }
-func (m *BatchExchangeModificationProposal) String() string { return proto.CompactTextString(m) }
-func (*BatchExchangeModificationProposal) ProtoMessage() {}
-func (*BatchExchangeModificationProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{59}
+func (m *MsgReclaimLockedFunds) Reset() { *m = MsgReclaimLockedFunds{} }
+func (m *MsgReclaimLockedFunds) String() string { return proto.CompactTextString(m) }
+func (*MsgReclaimLockedFunds) ProtoMessage() {}
+func (*MsgReclaimLockedFunds) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{61}
}
-func (m *BatchExchangeModificationProposal) XXX_Unmarshal(b []byte) error {
+func (m *MsgReclaimLockedFunds) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *BatchExchangeModificationProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgReclaimLockedFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_BatchExchangeModificationProposal.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgReclaimLockedFunds.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -2737,52 +2803,56 @@ func (m *BatchExchangeModificationProposal) XXX_Marshal(b []byte, deterministic
return b[:n], nil
}
}
-func (m *BatchExchangeModificationProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BatchExchangeModificationProposal.Merge(m, src)
+func (m *MsgReclaimLockedFunds) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgReclaimLockedFunds.Merge(m, src)
}
-func (m *BatchExchangeModificationProposal) XXX_Size() int {
+func (m *MsgReclaimLockedFunds) XXX_Size() int {
return m.Size()
}
-func (m *BatchExchangeModificationProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_BatchExchangeModificationProposal.DiscardUnknown(m)
+func (m *MsgReclaimLockedFunds) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgReclaimLockedFunds.DiscardUnknown(m)
}
-var xxx_messageInfo_BatchExchangeModificationProposal proto.InternalMessageInfo
+var xxx_messageInfo_MsgReclaimLockedFunds proto.InternalMessageInfo
-// SpotMarketLaunchProposal defines a SDK message for proposing a new spot
-// market through governance
-type SpotMarketLaunchProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // Ticker for the spot market.
- Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
- // type of coin to use as the base currency
- BaseDenom string `protobuf:"bytes,4,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
- // type of coin to use as the quote currency
- QuoteDenom string `protobuf:"bytes,5,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
- // min_price_tick_size defines the minimum tick size of the order's price
- MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
- // maker_fee_rate defines the fee percentage makers pay when trading
- MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
- // taker_fee_rate defines the fee percentage takers pay when trading
- TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
+func (m *MsgReclaimLockedFunds) GetSender() string {
+ if m != nil {
+ return m.Sender
+ }
+ return ""
}
-func (m *SpotMarketLaunchProposal) Reset() { *m = SpotMarketLaunchProposal{} }
-func (m *SpotMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
-func (*SpotMarketLaunchProposal) ProtoMessage() {}
-func (*SpotMarketLaunchProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{60}
+func (m *MsgReclaimLockedFunds) GetLockedAccountPubKey() []byte {
+ if m != nil {
+ return m.LockedAccountPubKey
+ }
+ return nil
+}
+
+func (m *MsgReclaimLockedFunds) GetSignature() []byte {
+ if m != nil {
+ return m.Signature
+ }
+ return nil
+}
+
+// MsgReclaimLockedFundsResponse defines the Msg/ReclaimLockedFunds response
+// type.
+type MsgReclaimLockedFundsResponse struct {
+}
+
+func (m *MsgReclaimLockedFundsResponse) Reset() { *m = MsgReclaimLockedFundsResponse{} }
+func (m *MsgReclaimLockedFundsResponse) String() string { return proto.CompactTextString(m) }
+func (*MsgReclaimLockedFundsResponse) ProtoMessage() {}
+func (*MsgReclaimLockedFundsResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{62}
}
-func (m *SpotMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
+func (m *MsgReclaimLockedFundsResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *SpotMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgReclaimLockedFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_SpotMarketLaunchProposal.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgReclaimLockedFundsResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -2792,67 +2862,39 @@ func (m *SpotMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]
return b[:n], nil
}
}
-func (m *SpotMarketLaunchProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SpotMarketLaunchProposal.Merge(m, src)
+func (m *MsgReclaimLockedFundsResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgReclaimLockedFundsResponse.Merge(m, src)
}
-func (m *SpotMarketLaunchProposal) XXX_Size() int {
+func (m *MsgReclaimLockedFundsResponse) XXX_Size() int {
return m.Size()
}
-func (m *SpotMarketLaunchProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_SpotMarketLaunchProposal.DiscardUnknown(m)
+func (m *MsgReclaimLockedFundsResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgReclaimLockedFundsResponse.DiscardUnknown(m)
}
-var xxx_messageInfo_SpotMarketLaunchProposal proto.InternalMessageInfo
+var xxx_messageInfo_MsgReclaimLockedFundsResponse proto.InternalMessageInfo
-// PerpetualMarketLaunchProposal defines a SDK message for proposing a new
-// perpetual futures market through governance
-type PerpetualMarketLaunchProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // Ticker for the derivative market.
- Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
- // type of coin to use as the base currency
- QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
- // Oracle base currency
- OracleBase string `protobuf:"bytes,5,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
- // Oracle quote currency
- OracleQuote string `protobuf:"bytes,6,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
- // Scale factor for oracle prices.
- OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
- // Oracle type
- OracleType types1.OracleType `protobuf:"varint,8,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
- // initial_margin_ratio defines the initial margin ratio for the derivative
- // market
- InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"initial_margin_ratio"`
- // maintenance_margin_ratio defines the maintenance margin ratio for the
- // derivative market
- MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maintenance_margin_ratio"`
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate"`
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate"`
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
+// MsgSignData defines an arbitrary, general-purpose, off-chain message
+type MsgSignData struct {
+ // Signer is the sdk.AccAddress of the message signer
+ Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=Signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer"`
+ // Data represents the raw bytes of the content that is signed (text, json,
+ // etc)
+ Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"data"`
}
-func (m *PerpetualMarketLaunchProposal) Reset() { *m = PerpetualMarketLaunchProposal{} }
-func (m *PerpetualMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
-func (*PerpetualMarketLaunchProposal) ProtoMessage() {}
-func (*PerpetualMarketLaunchProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{61}
+func (m *MsgSignData) Reset() { *m = MsgSignData{} }
+func (m *MsgSignData) String() string { return proto.CompactTextString(m) }
+func (*MsgSignData) ProtoMessage() {}
+func (*MsgSignData) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{63}
}
-func (m *PerpetualMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
+func (m *MsgSignData) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *PerpetualMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgSignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_PerpetualMarketLaunchProposal.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgSignData.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -2862,202 +2904,50 @@ func (m *PerpetualMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool
return b[:n], nil
}
}
-func (m *PerpetualMarketLaunchProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PerpetualMarketLaunchProposal.Merge(m, src)
+func (m *MsgSignData) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgSignData.Merge(m, src)
}
-func (m *PerpetualMarketLaunchProposal) XXX_Size() int {
+func (m *MsgSignData) XXX_Size() int {
return m.Size()
}
-func (m *PerpetualMarketLaunchProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_PerpetualMarketLaunchProposal.DiscardUnknown(m)
+func (m *MsgSignData) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgSignData.DiscardUnknown(m)
}
-var xxx_messageInfo_PerpetualMarketLaunchProposal proto.InternalMessageInfo
+var xxx_messageInfo_MsgSignData proto.InternalMessageInfo
-type BinaryOptionsMarketLaunchProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // Ticker for the derivative contract.
- Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
- // Oracle symbol
- OracleSymbol string `protobuf:"bytes,4,opt,name=oracle_symbol,json=oracleSymbol,proto3" json:"oracle_symbol,omitempty"`
- // Oracle Provider
- OracleProvider string `protobuf:"bytes,5,opt,name=oracle_provider,json=oracleProvider,proto3" json:"oracle_provider,omitempty"`
- // Oracle type
- OracleType types1.OracleType `protobuf:"varint,6,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
- // Scale factor for oracle prices.
- OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
- // expiration timestamp
- ExpirationTimestamp int64 `protobuf:"varint,8,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
- // expiration timestamp
- SettlementTimestamp int64 `protobuf:"varint,9,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
- // admin of the market
- Admin string `protobuf:"bytes,10,opt,name=admin,proto3" json:"admin,omitempty"`
- // Address of the quote currency denomination for the binary options contract
- QuoteDenom string `protobuf:"bytes,11,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
- // maker_fee_rate defines the maker fee rate of a binary options market
- MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate"`
- // taker_fee_rate defines the taker fee rate of a derivative market
- TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate"`
- // min_price_tick_size defines the minimum tick size that the price and margin
- // required for orders in the market
- MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
- // min_quantity_tick_size defines the minimum tick size of the quantity
- // required for orders in the market
- MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,15,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
-}
-
-func (m *BinaryOptionsMarketLaunchProposal) Reset() { *m = BinaryOptionsMarketLaunchProposal{} }
-func (m *BinaryOptionsMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
-func (*BinaryOptionsMarketLaunchProposal) ProtoMessage() {}
-func (*BinaryOptionsMarketLaunchProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{62}
-}
-func (m *BinaryOptionsMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *BinaryOptionsMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_BinaryOptionsMarketLaunchProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (m *MsgSignData) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress {
+ if m != nil {
+ return m.Signer
}
-}
-func (m *BinaryOptionsMarketLaunchProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BinaryOptionsMarketLaunchProposal.Merge(m, src)
-}
-func (m *BinaryOptionsMarketLaunchProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *BinaryOptionsMarketLaunchProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_BinaryOptionsMarketLaunchProposal.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BinaryOptionsMarketLaunchProposal proto.InternalMessageInfo
-
-// ExpiryFuturesMarketLaunchProposal defines a SDK message for proposing a new
-// expiry futures market through governance
-type ExpiryFuturesMarketLaunchProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- // Ticker for the derivative market.
- Ticker string `protobuf:"bytes,3,opt,name=ticker,proto3" json:"ticker,omitempty"`
- // type of coin to use as the quote currency
- QuoteDenom string `protobuf:"bytes,4,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
- // Oracle base currency
- OracleBase string `protobuf:"bytes,5,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
- // Oracle quote currency
- OracleQuote string `protobuf:"bytes,6,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
- // Scale factor for oracle prices.
- OracleScaleFactor uint32 `protobuf:"varint,7,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
- // Oracle type
- OracleType types1.OracleType `protobuf:"varint,8,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
- // Expiration time of the market
- Expiry int64 `protobuf:"varint,9,opt,name=expiry,proto3" json:"expiry,omitempty"`
- // initial_margin_ratio defines the initial margin ratio for the derivative
- // market
- InitialMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"initial_margin_ratio"`
- // maintenance_margin_ratio defines the maintenance margin ratio for the
- // derivative market
- MaintenanceMarginRatio github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maintenance_margin_ratio"`
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- MakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate"`
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- TakerFeeRate github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,13,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate"`
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- MinPriceTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,14,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size"`
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- MinQuantityTickSize github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,15,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size"`
+ return nil
}
-func (m *ExpiryFuturesMarketLaunchProposal) Reset() { *m = ExpiryFuturesMarketLaunchProposal{} }
-func (m *ExpiryFuturesMarketLaunchProposal) String() string { return proto.CompactTextString(m) }
-func (*ExpiryFuturesMarketLaunchProposal) ProtoMessage() {}
-func (*ExpiryFuturesMarketLaunchProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{63}
-}
-func (m *ExpiryFuturesMarketLaunchProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *ExpiryFuturesMarketLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ExpiryFuturesMarketLaunchProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (m *MsgSignData) GetData() []byte {
+ if m != nil {
+ return m.Data
}
-}
-func (m *ExpiryFuturesMarketLaunchProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ExpiryFuturesMarketLaunchProposal.Merge(m, src)
-}
-func (m *ExpiryFuturesMarketLaunchProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *ExpiryFuturesMarketLaunchProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_ExpiryFuturesMarketLaunchProposal.DiscardUnknown(m)
+ return nil
}
-var xxx_messageInfo_ExpiryFuturesMarketLaunchProposal proto.InternalMessageInfo
+// MsgSignDoc defines an arbitrary, general-purpose, off-chain message
+type MsgSignDoc struct {
+ SignType string `protobuf:"bytes,1,opt,name=sign_type,json=signType,proto3" json:"type"`
+ Value MsgSignData `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
+}
-type DerivativeMarketParamUpdateProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // initial_margin_ratio defines the initial margin ratio for the derivative
- // market
- InitialMarginRatio *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=initial_margin_ratio,json=initialMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"initial_margin_ratio,omitempty"`
- // maintenance_margin_ratio defines the maintenance margin ratio for the
- // derivative market
- MaintenanceMarginRatio *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=maintenance_margin_ratio,json=maintenanceMarginRatio,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maintenance_margin_ratio,omitempty"`
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
- // relayer_fee_share_rate defines the relayer fee share rate for the
- // derivative market
- RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=relayer_fee_share_rate,json=relayerFeeShareRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"relayer_fee_share_rate,omitempty"`
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,9,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size,omitempty"`
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,10,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size,omitempty"`
- // hourly_interest_rate defines the hourly interest rate
- HourlyInterestRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=HourlyInterestRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"HourlyInterestRate,omitempty"`
- // hourly_funding_rate_cap defines the maximum absolute value of the hourly
- // funding rate
- HourlyFundingRateCap *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=HourlyFundingRateCap,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"HourlyFundingRateCap,omitempty"`
- Status MarketStatus `protobuf:"varint,13,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
- OracleParams *OracleParams `protobuf:"bytes,14,opt,name=oracle_params,json=oracleParams,proto3" json:"oracle_params,omitempty"`
-}
-
-func (m *DerivativeMarketParamUpdateProposal) Reset() { *m = DerivativeMarketParamUpdateProposal{} }
-func (m *DerivativeMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) }
-func (*DerivativeMarketParamUpdateProposal) ProtoMessage() {}
-func (*DerivativeMarketParamUpdateProposal) Descriptor() ([]byte, []int) {
+func (m *MsgSignDoc) Reset() { *m = MsgSignDoc{} }
+func (m *MsgSignDoc) String() string { return proto.CompactTextString(m) }
+func (*MsgSignDoc) ProtoMessage() {}
+func (*MsgSignDoc) Descriptor() ([]byte, []int) {
return fileDescriptor_bd45b74cb6d81462, []int{64}
}
-func (m *DerivativeMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error {
+func (m *MsgSignDoc) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *DerivativeMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_DerivativeMarketParamUpdateProposal.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgSignDoc.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -3067,142 +2957,59 @@ func (m *DerivativeMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministi
return b[:n], nil
}
}
-func (m *DerivativeMarketParamUpdateProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DerivativeMarketParamUpdateProposal.Merge(m, src)
+func (m *MsgSignDoc) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgSignDoc.Merge(m, src)
}
-func (m *DerivativeMarketParamUpdateProposal) XXX_Size() int {
+func (m *MsgSignDoc) XXX_Size() int {
return m.Size()
}
-func (m *DerivativeMarketParamUpdateProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_DerivativeMarketParamUpdateProposal.DiscardUnknown(m)
+func (m *MsgSignDoc) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgSignDoc.DiscardUnknown(m)
}
-var xxx_messageInfo_DerivativeMarketParamUpdateProposal proto.InternalMessageInfo
-
-type MarketForcedSettlementProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=settlement_price,json=settlementPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"settlement_price,omitempty"`
-}
+var xxx_messageInfo_MsgSignDoc proto.InternalMessageInfo
-func (m *MarketForcedSettlementProposal) Reset() { *m = MarketForcedSettlementProposal{} }
-func (m *MarketForcedSettlementProposal) String() string { return proto.CompactTextString(m) }
-func (*MarketForcedSettlementProposal) ProtoMessage() {}
-func (*MarketForcedSettlementProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{65}
-}
-func (m *MarketForcedSettlementProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MarketForcedSettlementProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MarketForcedSettlementProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (m *MsgSignDoc) GetSignType() string {
+ if m != nil {
+ return m.SignType
}
-}
-func (m *MarketForcedSettlementProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MarketForcedSettlementProposal.Merge(m, src)
-}
-func (m *MarketForcedSettlementProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *MarketForcedSettlementProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_MarketForcedSettlementProposal.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MarketForcedSettlementProposal proto.InternalMessageInfo
-
-type UpdateDenomDecimalsProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- DenomDecimals []*DenomDecimals `protobuf:"bytes,3,rep,name=denom_decimals,json=denomDecimals,proto3" json:"denom_decimals,omitempty"`
+ return ""
}
-func (m *UpdateDenomDecimalsProposal) Reset() { *m = UpdateDenomDecimalsProposal{} }
-func (m *UpdateDenomDecimalsProposal) String() string { return proto.CompactTextString(m) }
-func (*UpdateDenomDecimalsProposal) ProtoMessage() {}
-func (*UpdateDenomDecimalsProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{66}
-}
-func (m *UpdateDenomDecimalsProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *UpdateDenomDecimalsProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_UpdateDenomDecimalsProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (m *MsgSignDoc) GetValue() MsgSignData {
+ if m != nil {
+ return m.Value
}
+ return MsgSignData{}
}
-func (m *UpdateDenomDecimalsProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_UpdateDenomDecimalsProposal.Merge(m, src)
-}
-func (m *UpdateDenomDecimalsProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *UpdateDenomDecimalsProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_UpdateDenomDecimalsProposal.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_UpdateDenomDecimalsProposal proto.InternalMessageInfo
-type BinaryOptionsMarketParamUpdateProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- MakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=maker_fee_rate,json=makerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"maker_fee_rate,omitempty"`
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- TakerFeeRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=taker_fee_rate,json=takerFeeRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"taker_fee_rate,omitempty"`
- // relayer_fee_share_rate defines the relayer fee share rate for the
- // derivative market
- RelayerFeeShareRate *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=relayer_fee_share_rate,json=relayerFeeShareRate,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"relayer_fee_share_rate,omitempty"`
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- MinPriceTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=min_price_tick_size,json=minPriceTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_price_tick_size,omitempty"`
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- MinQuantityTickSize *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,8,opt,name=min_quantity_tick_size,json=minQuantityTickSize,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"min_quantity_tick_size,omitempty"`
+// MsgAdminUpdateBinaryOptionsMarket is used by the market Admin to operate the
+// market
+type MsgAdminUpdateBinaryOptionsMarket struct {
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
+ MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // new price at which market will be settled
+ SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=settlement_price,json=settlementPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"settlement_price,omitempty"`
// expiration timestamp
- ExpirationTimestamp int64 `protobuf:"varint,9,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
+ ExpirationTimestamp int64 `protobuf:"varint,4,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
// expiration timestamp
- SettlementTimestamp int64 `protobuf:"varint,10,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
- // new price at which market will be settled
- SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,11,opt,name=settlement_price,json=settlementPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"settlement_price,omitempty"`
- // admin of the market
- Admin string `protobuf:"bytes,12,opt,name=admin,proto3" json:"admin,omitempty"`
- Status MarketStatus `protobuf:"varint,13,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
- OracleParams *ProviderOracleParams `protobuf:"bytes,14,opt,name=oracle_params,json=oracleParams,proto3" json:"oracle_params,omitempty"`
+ SettlementTimestamp int64 `protobuf:"varint,5,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
+ // Status of the market
+ Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
}
-func (m *BinaryOptionsMarketParamUpdateProposal) Reset() {
- *m = BinaryOptionsMarketParamUpdateProposal{}
-}
-func (m *BinaryOptionsMarketParamUpdateProposal) String() string { return proto.CompactTextString(m) }
-func (*BinaryOptionsMarketParamUpdateProposal) ProtoMessage() {}
-func (*BinaryOptionsMarketParamUpdateProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{67}
+func (m *MsgAdminUpdateBinaryOptionsMarket) Reset() { *m = MsgAdminUpdateBinaryOptionsMarket{} }
+func (m *MsgAdminUpdateBinaryOptionsMarket) String() string { return proto.CompactTextString(m) }
+func (*MsgAdminUpdateBinaryOptionsMarket) ProtoMessage() {}
+func (*MsgAdminUpdateBinaryOptionsMarket) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{65}
}
-func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Unmarshal(b []byte) error {
+func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -3212,113 +3019,74 @@ func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Marshal(b []byte, determini
return b[:n], nil
}
}
-func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal.Merge(m, src)
+func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.Merge(m, src)
}
-func (m *BinaryOptionsMarketParamUpdateProposal) XXX_Size() int {
+func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Size() int {
return m.Size()
}
-func (m *BinaryOptionsMarketParamUpdateProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal.DiscardUnknown(m)
+func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.DiscardUnknown(m)
}
-var xxx_messageInfo_BinaryOptionsMarketParamUpdateProposal proto.InternalMessageInfo
-
-type ProviderOracleParams struct {
- // Oracle base currency
- Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
- // Oracle quote currency
- Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
- // Scale factor for oracle prices.
- OracleScaleFactor uint32 `protobuf:"varint,3,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
- // Oracle type
- OracleType types1.OracleType `protobuf:"varint,4,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
-}
+var xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket proto.InternalMessageInfo
-func (m *ProviderOracleParams) Reset() { *m = ProviderOracleParams{} }
-func (m *ProviderOracleParams) String() string { return proto.CompactTextString(m) }
-func (*ProviderOracleParams) ProtoMessage() {}
-func (*ProviderOracleParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{68}
-}
-func (m *ProviderOracleParams) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *ProviderOracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_ProviderOracleParams.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (m *MsgAdminUpdateBinaryOptionsMarket) GetSender() string {
+ if m != nil {
+ return m.Sender
}
-}
-func (m *ProviderOracleParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ProviderOracleParams.Merge(m, src)
-}
-func (m *ProviderOracleParams) XXX_Size() int {
- return m.Size()
-}
-func (m *ProviderOracleParams) XXX_DiscardUnknown() {
- xxx_messageInfo_ProviderOracleParams.DiscardUnknown(m)
+ return ""
}
-var xxx_messageInfo_ProviderOracleParams proto.InternalMessageInfo
-
-func (m *ProviderOracleParams) GetSymbol() string {
+func (m *MsgAdminUpdateBinaryOptionsMarket) GetMarketId() string {
if m != nil {
- return m.Symbol
+ return m.MarketId
}
return ""
}
-func (m *ProviderOracleParams) GetProvider() string {
+func (m *MsgAdminUpdateBinaryOptionsMarket) GetExpirationTimestamp() int64 {
if m != nil {
- return m.Provider
+ return m.ExpirationTimestamp
}
- return ""
+ return 0
}
-func (m *ProviderOracleParams) GetOracleScaleFactor() uint32 {
+func (m *MsgAdminUpdateBinaryOptionsMarket) GetSettlementTimestamp() int64 {
if m != nil {
- return m.OracleScaleFactor
+ return m.SettlementTimestamp
}
return 0
}
-func (m *ProviderOracleParams) GetOracleType() types1.OracleType {
+func (m *MsgAdminUpdateBinaryOptionsMarket) GetStatus() MarketStatus {
if m != nil {
- return m.OracleType
+ return m.Status
}
- return types1.OracleType_Unspecified
+ return MarketStatus_Unspecified
}
-type OracleParams struct {
- // Oracle base currency
- OracleBase string `protobuf:"bytes,1,opt,name=oracle_base,json=oracleBase,proto3" json:"oracle_base,omitempty"`
- // Oracle quote currency
- OracleQuote string `protobuf:"bytes,2,opt,name=oracle_quote,json=oracleQuote,proto3" json:"oracle_quote,omitempty"`
- // Scale factor for oracle prices.
- OracleScaleFactor uint32 `protobuf:"varint,3,opt,name=oracle_scale_factor,json=oracleScaleFactor,proto3" json:"oracle_scale_factor,omitempty"`
- // Oracle type
- OracleType types1.OracleType `protobuf:"varint,4,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
+// MsgAdminUpdateBinaryOptionsMarketResponse is the response for
+// AdminUpdateBinaryOptionsMarket rpc method
+type MsgAdminUpdateBinaryOptionsMarketResponse struct {
}
-func (m *OracleParams) Reset() { *m = OracleParams{} }
-func (m *OracleParams) String() string { return proto.CompactTextString(m) }
-func (*OracleParams) ProtoMessage() {}
-func (*OracleParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{69}
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Reset() {
+ *m = MsgAdminUpdateBinaryOptionsMarketResponse{}
+}
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) String() string {
+ return proto.CompactTextString(m)
+}
+func (*MsgAdminUpdateBinaryOptionsMarketResponse) ProtoMessage() {}
+func (*MsgAdminUpdateBinaryOptionsMarketResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_bd45b74cb6d81462, []int{66}
}
-func (m *OracleParams) XXX_Unmarshal(b []byte) error {
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *OracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_OracleParams.Marshal(b, m, deterministic)
+ return xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -3328,2355 +3096,1758 @@ func (m *OracleParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
return b[:n], nil
}
}
-func (m *OracleParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_OracleParams.Merge(m, src)
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.Merge(m, src)
}
-func (m *OracleParams) XXX_Size() int {
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Size() int {
return m.Size()
}
-func (m *OracleParams) XXX_DiscardUnknown() {
- xxx_messageInfo_OracleParams.DiscardUnknown(m)
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.DiscardUnknown(m)
}
-var xxx_messageInfo_OracleParams proto.InternalMessageInfo
-
-func (m *OracleParams) GetOracleBase() string {
- if m != nil {
- return m.OracleBase
- }
- return ""
-}
+var xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse proto.InternalMessageInfo
-func (m *OracleParams) GetOracleQuote() string {
- if m != nil {
- return m.OracleQuote
- }
- return ""
-}
-
-func (m *OracleParams) GetOracleScaleFactor() uint32 {
- if m != nil {
- return m.OracleScaleFactor
- }
- return 0
+func init() {
+ proto.RegisterType((*MsgUpdateParams)(nil), "injective.exchange.v1beta1.MsgUpdateParams")
+ proto.RegisterType((*MsgUpdateParamsResponse)(nil), "injective.exchange.v1beta1.MsgUpdateParamsResponse")
+ proto.RegisterType((*MsgDeposit)(nil), "injective.exchange.v1beta1.MsgDeposit")
+ proto.RegisterType((*MsgDepositResponse)(nil), "injective.exchange.v1beta1.MsgDepositResponse")
+ proto.RegisterType((*MsgWithdraw)(nil), "injective.exchange.v1beta1.MsgWithdraw")
+ proto.RegisterType((*MsgWithdrawResponse)(nil), "injective.exchange.v1beta1.MsgWithdrawResponse")
+ proto.RegisterType((*MsgCreateSpotLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateSpotLimitOrder")
+ proto.RegisterType((*MsgCreateSpotLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse")
+ proto.RegisterType((*MsgBatchCreateSpotLimitOrders)(nil), "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders")
+ proto.RegisterType((*MsgBatchCreateSpotLimitOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse")
+ proto.RegisterType((*MsgInstantSpotMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantSpotMarketLaunch")
+ proto.RegisterType((*MsgInstantSpotMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse")
+ proto.RegisterType((*MsgInstantPerpetualMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch")
+ proto.RegisterType((*MsgInstantPerpetualMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse")
+ proto.RegisterType((*MsgInstantBinaryOptionsMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch")
+ proto.RegisterType((*MsgInstantBinaryOptionsMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse")
+ proto.RegisterType((*MsgInstantExpiryFuturesMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch")
+ proto.RegisterType((*MsgInstantExpiryFuturesMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse")
+ proto.RegisterType((*MsgCreateSpotMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateSpotMarketOrder")
+ proto.RegisterType((*MsgCreateSpotMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse")
+ proto.RegisterType((*SpotMarketOrderResults)(nil), "injective.exchange.v1beta1.SpotMarketOrderResults")
+ proto.RegisterType((*MsgCreateDerivativeLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder")
+ proto.RegisterType((*MsgCreateDerivativeLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse")
+ proto.RegisterType((*MsgCreateBinaryOptionsLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder")
+ proto.RegisterType((*MsgCreateBinaryOptionsLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse")
+ proto.RegisterType((*MsgBatchCreateDerivativeLimitOrders)(nil), "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders")
+ proto.RegisterType((*MsgBatchCreateDerivativeLimitOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse")
+ proto.RegisterType((*MsgCancelSpotOrder)(nil), "injective.exchange.v1beta1.MsgCancelSpotOrder")
+ proto.RegisterType((*MsgCancelSpotOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelSpotOrderResponse")
+ proto.RegisterType((*MsgBatchCancelSpotOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrders")
+ proto.RegisterType((*MsgBatchCancelSpotOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse")
+ proto.RegisterType((*MsgBatchCancelBinaryOptionsOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders")
+ proto.RegisterType((*MsgBatchCancelBinaryOptionsOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse")
+ proto.RegisterType((*MsgBatchUpdateOrders)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrders")
+ proto.RegisterType((*MsgBatchUpdateOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse")
+ proto.RegisterType((*MsgCreateDerivativeMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder")
+ proto.RegisterType((*MsgCreateDerivativeMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse")
+ proto.RegisterType((*DerivativeMarketOrderResults)(nil), "injective.exchange.v1beta1.DerivativeMarketOrderResults")
+ proto.RegisterType((*MsgCreateBinaryOptionsMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder")
+ proto.RegisterType((*MsgCreateBinaryOptionsMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse")
+ proto.RegisterType((*MsgCancelDerivativeOrder)(nil), "injective.exchange.v1beta1.MsgCancelDerivativeOrder")
+ proto.RegisterType((*MsgCancelDerivativeOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse")
+ proto.RegisterType((*MsgCancelBinaryOptionsOrder)(nil), "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder")
+ proto.RegisterType((*MsgCancelBinaryOptionsOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse")
+ proto.RegisterType((*OrderData)(nil), "injective.exchange.v1beta1.OrderData")
+ proto.RegisterType((*MsgBatchCancelDerivativeOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders")
+ proto.RegisterType((*MsgBatchCancelDerivativeOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse")
+ proto.RegisterType((*MsgSubaccountTransfer)(nil), "injective.exchange.v1beta1.MsgSubaccountTransfer")
+ proto.RegisterType((*MsgSubaccountTransferResponse)(nil), "injective.exchange.v1beta1.MsgSubaccountTransferResponse")
+ proto.RegisterType((*MsgExternalTransfer)(nil), "injective.exchange.v1beta1.MsgExternalTransfer")
+ proto.RegisterType((*MsgExternalTransferResponse)(nil), "injective.exchange.v1beta1.MsgExternalTransferResponse")
+ proto.RegisterType((*MsgLiquidatePosition)(nil), "injective.exchange.v1beta1.MsgLiquidatePosition")
+ proto.RegisterType((*MsgLiquidatePositionResponse)(nil), "injective.exchange.v1beta1.MsgLiquidatePositionResponse")
+ proto.RegisterType((*MsgEmergencySettleMarket)(nil), "injective.exchange.v1beta1.MsgEmergencySettleMarket")
+ proto.RegisterType((*MsgEmergencySettleMarketResponse)(nil), "injective.exchange.v1beta1.MsgEmergencySettleMarketResponse")
+ proto.RegisterType((*MsgIncreasePositionMargin)(nil), "injective.exchange.v1beta1.MsgIncreasePositionMargin")
+ proto.RegisterType((*MsgIncreasePositionMarginResponse)(nil), "injective.exchange.v1beta1.MsgIncreasePositionMarginResponse")
+ proto.RegisterType((*MsgPrivilegedExecuteContract)(nil), "injective.exchange.v1beta1.MsgPrivilegedExecuteContract")
+ proto.RegisterType((*MsgPrivilegedExecuteContractResponse)(nil), "injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse")
+ proto.RegisterType((*MsgRewardsOptOut)(nil), "injective.exchange.v1beta1.MsgRewardsOptOut")
+ proto.RegisterType((*MsgRewardsOptOutResponse)(nil), "injective.exchange.v1beta1.MsgRewardsOptOutResponse")
+ proto.RegisterType((*MsgReclaimLockedFunds)(nil), "injective.exchange.v1beta1.MsgReclaimLockedFunds")
+ proto.RegisterType((*MsgReclaimLockedFundsResponse)(nil), "injective.exchange.v1beta1.MsgReclaimLockedFundsResponse")
+ proto.RegisterType((*MsgSignData)(nil), "injective.exchange.v1beta1.MsgSignData")
+ proto.RegisterType((*MsgSignDoc)(nil), "injective.exchange.v1beta1.MsgSignDoc")
+ proto.RegisterType((*MsgAdminUpdateBinaryOptionsMarket)(nil), "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket")
+ proto.RegisterType((*MsgAdminUpdateBinaryOptionsMarketResponse)(nil), "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse")
}
-func (m *OracleParams) GetOracleType() types1.OracleType {
- if m != nil {
- return m.OracleType
- }
- return types1.OracleType_Unspecified
+func init() {
+ proto.RegisterFile("injective/exchange/v1beta1/tx.proto", fileDescriptor_bd45b74cb6d81462)
}
-type TradingRewardCampaignLaunchProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- CampaignInfo *TradingRewardCampaignInfo `protobuf:"bytes,3,opt,name=campaign_info,json=campaignInfo,proto3" json:"campaign_info,omitempty"`
- CampaignRewardPools []*CampaignRewardPool `protobuf:"bytes,4,rep,name=campaign_reward_pools,json=campaignRewardPools,proto3" json:"campaign_reward_pools,omitempty"`
+var fileDescriptor_bd45b74cb6d81462 = []byte{
+ // 3167 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x1c, 0xdf, 0x6f, 0x1c, 0x47,
+ 0x39, 0xeb, 0x1f, 0x67, 0xdf, 0x67, 0x3b, 0x4e, 0xd6, 0x8e, 0x73, 0xb9, 0x24, 0x76, 0x6a, 0x37,
+ 0x8d, 0xd3, 0x10, 0xbb, 0x49, 0x43, 0xda, 0xa6, 0x84, 0xc4, 0x3f, 0xe2, 0x92, 0x36, 0x26, 0xee,
+ 0x9e, 0xf9, 0x55, 0x09, 0x8e, 0xf1, 0xee, 0xf8, 0xbc, 0xf5, 0xdd, 0xee, 0x65, 0x67, 0xce, 0x8d,
+ 0x2b, 0x24, 0xa0, 0xe2, 0xa1, 0x94, 0x1f, 0xa2, 0x50, 0x54, 0x28, 0x14, 0x2a, 0x21, 0x81, 0x04,
+ 0x08, 0xf5, 0x81, 0x47, 0x9e, 0x51, 0x1f, 0x2b, 0x24, 0xa4, 0x8a, 0x87, 0x00, 0x8d, 0x10, 0x55,
+ 0xff, 0x00, 0x1e, 0xfa, 0x80, 0xd0, 0xce, 0xcc, 0xce, 0xed, 0xee, 0xed, 0xaf, 0x3b, 0xd7, 0x49,
+ 0xc8, 0x53, 0x6e, 0x67, 0xbe, 0xef, 0x9b, 0xef, 0xf7, 0xcc, 0xf7, 0xcd, 0xc4, 0x30, 0x65, 0x5a,
+ 0xcf, 0x63, 0x9d, 0x9a, 0x5b, 0x78, 0x16, 0xdf, 0xd4, 0x37, 0x90, 0x55, 0xc1, 0xb3, 0x5b, 0x67,
+ 0xd6, 0x30, 0x45, 0x67, 0x66, 0xe9, 0xcd, 0x99, 0xba, 0x63, 0x53, 0x5b, 0x2d, 0x4a, 0xa0, 0x19,
+ 0x0f, 0x68, 0x46, 0x00, 0x15, 0xc7, 0x75, 0x9b, 0xd4, 0x6c, 0x32, 0xbb, 0x86, 0x48, 0x13, 0x53,
+ 0xb7, 0x4d, 0x8b, 0xe3, 0x16, 0x67, 0xc4, 0xbc, 0x61, 0x12, 0xea, 0x98, 0x6b, 0x0d, 0x6a, 0xda,
+ 0x96, 0x84, 0xf3, 0x0f, 0x0a, 0xf8, 0x83, 0x02, 0xbe, 0x46, 0x2a, 0xb3, 0x5b, 0x67, 0xdc, 0x7f,
+ 0xc4, 0xc4, 0x21, 0x3e, 0x51, 0x66, 0x5f, 0xb3, 0xfc, 0x43, 0x4c, 0x8d, 0x56, 0xec, 0x8a, 0xcd,
+ 0xc7, 0xdd, 0x5f, 0x62, 0xf4, 0x64, 0x82, 0x68, 0x52, 0x0c, 0x0e, 0x7a, 0xbc, 0x09, 0x6a, 0x3b,
+ 0x48, 0xaf, 0x36, 0x01, 0xf9, 0x27, 0x07, 0x9b, 0xfc, 0x99, 0x02, 0xc3, 0xcb, 0xa4, 0xf2, 0xb9,
+ 0xba, 0x81, 0x28, 0x5e, 0x41, 0x0e, 0xaa, 0x11, 0xf5, 0x3c, 0xe4, 0x51, 0x83, 0x6e, 0xd8, 0x8e,
+ 0x49, 0xb7, 0x0b, 0xca, 0x31, 0x65, 0x3a, 0x3f, 0x5f, 0xf8, 0xcb, 0x1f, 0x4f, 0x8f, 0x0a, 0x06,
+ 0xe7, 0x0c, 0xc3, 0xc1, 0x84, 0x94, 0xa8, 0x63, 0x5a, 0x15, 0xad, 0x09, 0xaa, 0x5e, 0x86, 0x5c,
+ 0x9d, 0x51, 0x28, 0x74, 0x1d, 0x53, 0xa6, 0x07, 0xce, 0x4e, 0xce, 0xc4, 0x2b, 0x79, 0x86, 0xaf,
+ 0x35, 0xdf, 0xf3, 0xce, 0xad, 0x89, 0x3d, 0x9a, 0xc0, 0xbb, 0xb0, 0xf7, 0xa5, 0x7f, 0xbf, 0xfd,
+ 0x70, 0x93, 0xe2, 0xe4, 0x21, 0x38, 0x18, 0x62, 0x4e, 0xc3, 0xa4, 0x6e, 0x5b, 0x04, 0x4f, 0xbe,
+ 0xae, 0x00, 0x2c, 0x93, 0xca, 0x22, 0xae, 0xdb, 0xc4, 0xa4, 0xea, 0x18, 0xe4, 0x08, 0xb6, 0x0c,
+ 0xec, 0x70, 0x86, 0x35, 0xf1, 0xa5, 0x4e, 0xc1, 0x10, 0x69, 0xac, 0x21, 0x5d, 0xb7, 0x1b, 0x16,
+ 0x2d, 0x9b, 0x06, 0x63, 0x2d, 0xaf, 0x0d, 0x36, 0x07, 0xaf, 0x1a, 0xea, 0x63, 0x90, 0x43, 0x35,
+ 0xf7, 0x77, 0xa1, 0x9b, 0x31, 0x7e, 0x48, 0x58, 0x78, 0xc6, 0xf5, 0x00, 0xc9, 0xf1, 0x82, 0x6d,
+ 0x5a, 0x1e, 0xbf, 0x1c, 0xfc, 0xc2, 0xc8, 0xcb, 0x6f, 0x4d, 0xec, 0xf9, 0xe0, 0xad, 0x89, 0x3d,
+ 0x2e, 0xdf, 0x62, 0xc9, 0xc9, 0x51, 0x50, 0x9b, 0x8c, 0x49, 0x7e, 0x7f, 0xa2, 0xc0, 0xc0, 0x32,
+ 0xa9, 0x7c, 0xc1, 0xa4, 0x1b, 0x86, 0x83, 0x5e, 0xb8, 0x97, 0x18, 0x3e, 0x00, 0x23, 0x3e, 0xce,
+ 0x24, 0xc7, 0xdf, 0x56, 0x98, 0xf6, 0x17, 0x1c, 0x8c, 0x28, 0x2e, 0xd5, 0x6d, 0x7a, 0xcd, 0xac,
+ 0x99, 0xf4, 0xba, 0xe3, 0x72, 0x19, 0xc7, 0xfd, 0x1c, 0xf4, 0xda, 0x2e, 0x80, 0xf0, 0x80, 0xe3,
+ 0x49, 0x1e, 0xe0, 0x92, 0x64, 0xd4, 0x04, 0x8f, 0x1c, 0x33, 0x9a, 0xc5, 0xa7, 0x61, 0x22, 0x86,
+ 0x15, 0x8f, 0x5d, 0xf5, 0x28, 0x00, 0x23, 0x50, 0xde, 0x40, 0x64, 0x43, 0xb0, 0x95, 0x67, 0x23,
+ 0x9f, 0x41, 0x64, 0xe3, 0x42, 0xbf, 0x47, 0x76, 0xf2, 0x55, 0x05, 0x8e, 0x2e, 0x93, 0xca, 0x3c,
+ 0xa2, 0xfa, 0x46, 0x14, 0x45, 0x12, 0x2b, 0xdd, 0x02, 0xe4, 0x18, 0x41, 0xd7, 0xc1, 0xbb, 0xdb,
+ 0x15, 0x4f, 0xa0, 0x46, 0xcb, 0xb7, 0x0a, 0xc7, 0x13, 0x59, 0x92, 0x52, 0x3e, 0x00, 0x83, 0x4d,
+ 0x29, 0x31, 0x29, 0x28, 0xc7, 0xba, 0xa7, 0xf3, 0xda, 0x80, 0x94, 0x13, 0x13, 0x9f, 0xa4, 0xff,
+ 0xea, 0x82, 0xe2, 0x32, 0xa9, 0x5c, 0xb5, 0x08, 0x45, 0x16, 0x75, 0x49, 0x2e, 0x23, 0x67, 0x13,
+ 0xd3, 0x6b, 0xa8, 0x61, 0xe9, 0x1b, 0xb1, 0x62, 0x8e, 0x41, 0x8e, 0x9a, 0xfa, 0xa6, 0xb0, 0x62,
+ 0x5e, 0x13, 0x5f, 0xae, 0x86, 0x5d, 0xff, 0x2a, 0x1b, 0xd8, 0xb2, 0x6b, 0xcc, 0xf3, 0xf2, 0x5a,
+ 0xde, 0x1d, 0x59, 0x74, 0x07, 0xd4, 0x09, 0x18, 0xb8, 0xd1, 0xb0, 0xa9, 0x37, 0xdf, 0xc3, 0xe6,
+ 0x81, 0x0d, 0x71, 0x80, 0x2f, 0xc3, 0x48, 0xcd, 0xb4, 0xca, 0x75, 0xc7, 0xd4, 0x71, 0xd9, 0xa5,
+ 0x59, 0x26, 0xe6, 0x8b, 0xb8, 0xd0, 0xcb, 0x32, 0xcc, 0x8c, 0xab, 0xa4, 0xbf, 0xdd, 0x9a, 0x78,
+ 0xa8, 0x62, 0xd2, 0x8d, 0xc6, 0xda, 0x8c, 0x6e, 0xd7, 0x44, 0x46, 0x14, 0xff, 0x9c, 0x26, 0xc6,
+ 0xe6, 0x2c, 0xdd, 0xae, 0x63, 0x32, 0xb3, 0x88, 0x75, 0x6d, 0x5f, 0xcd, 0xb4, 0x56, 0x5c, 0x4a,
+ 0xab, 0xa6, 0xbe, 0x59, 0x32, 0x5f, 0xc4, 0xaa, 0x0e, 0x63, 0x2e, 0xf9, 0x1b, 0x0d, 0x64, 0x51,
+ 0x93, 0x6e, 0xfb, 0x56, 0xc8, 0x75, 0xb4, 0x82, 0xcb, 0xec, 0xb3, 0x82, 0x98, 0xb7, 0x48, 0xb4,
+ 0xf5, 0x1e, 0x84, 0xc9, 0x78, 0x35, 0xcb, 0x78, 0xfa, 0x6f, 0x8e, 0x39, 0xb1, 0x00, 0x5b, 0xc1,
+ 0x4e, 0x1d, 0xd3, 0x06, 0xaa, 0xee, 0xc8, 0x24, 0x21, 0x9d, 0x77, 0xb7, 0xe8, 0x7c, 0x02, 0x06,
+ 0x78, 0xbe, 0x2f, 0xbb, 0x86, 0xf2, 0x8c, 0xc2, 0x87, 0xe6, 0x91, 0xe7, 0x50, 0x0c, 0x80, 0x61,
+ 0x71, 0x6b, 0x68, 0x02, 0xe9, 0x59, 0x77, 0x48, 0x9d, 0x81, 0x11, 0x01, 0x42, 0x74, 0x54, 0xc5,
+ 0xe5, 0x75, 0xa4, 0x53, 0xdb, 0x61, 0x5a, 0x1d, 0xd2, 0xf6, 0xf3, 0xa9, 0x92, 0x3b, 0xb3, 0xc4,
+ 0x26, 0xd4, 0x2b, 0x72, 0x4d, 0x57, 0x99, 0x85, 0xbe, 0x63, 0xca, 0xf4, 0xde, 0xb3, 0x0f, 0xfa,
+ 0x62, 0x45, 0xec, 0x40, 0x5e, 0xa4, 0x5c, 0x67, 0x9f, 0xab, 0xdb, 0x75, 0xec, 0x71, 0xe6, 0xfe,
+ 0x56, 0x57, 0x61, 0x6f, 0x0d, 0x6d, 0x62, 0xa7, 0xbc, 0x8e, 0x71, 0xd9, 0x41, 0x14, 0x17, 0xfa,
+ 0x3b, 0xb2, 0xe3, 0x20, 0xa3, 0xb2, 0x84, 0xb1, 0x86, 0x28, 0xa3, 0x4a, 0x83, 0x54, 0xf3, 0x9d,
+ 0x51, 0xa5, 0x7e, 0xaa, 0x5f, 0x85, 0x51, 0xd3, 0x32, 0xa9, 0x89, 0xaa, 0xe5, 0x1a, 0x72, 0x2a,
+ 0xa6, 0xe5, 0x92, 0x36, 0xed, 0x02, 0x74, 0x44, 0x5b, 0x15, 0xb4, 0x96, 0x19, 0x29, 0xcd, 0xa5,
+ 0xa4, 0x6e, 0x40, 0xa1, 0x86, 0x4c, 0x8b, 0x62, 0x0b, 0x59, 0x3a, 0x0e, 0xae, 0x32, 0xd0, 0xd1,
+ 0x2a, 0x63, 0x3e, 0x7a, 0xfe, 0x95, 0x62, 0xc2, 0x74, 0x70, 0xd7, 0xc3, 0x74, 0x68, 0x97, 0xc3,
+ 0xf4, 0x24, 0x9c, 0x48, 0x89, 0x3f, 0x19, 0xab, 0x7f, 0xca, 0xc1, 0x54, 0x13, 0x76, 0xde, 0xb4,
+ 0x90, 0xb3, 0x7d, 0xbd, 0xee, 0x9e, 0xe9, 0xc8, 0x8e, 0xe2, 0x75, 0x0a, 0x86, 0xbc, 0x50, 0xda,
+ 0xae, 0xad, 0xd9, 0x55, 0x11, 0xb1, 0x22, 0x04, 0x4b, 0x6c, 0x4c, 0x3d, 0x01, 0xc3, 0x02, 0xa8,
+ 0xee, 0xd8, 0x5b, 0xa6, 0x4b, 0x9d, 0xc7, 0xed, 0x5e, 0x3e, 0xbc, 0x22, 0x46, 0xc3, 0x81, 0xd6,
+ 0xdb, 0x61, 0xa0, 0xb5, 0x1b, 0xdf, 0xad, 0x81, 0xd9, 0xb7, 0x2b, 0x81, 0xd9, 0xff, 0x31, 0x04,
+ 0xe6, 0x19, 0x18, 0xc5, 0x37, 0xeb, 0x26, 0x8b, 0x13, 0xab, 0x4c, 0xcd, 0x1a, 0x26, 0x14, 0xd5,
+ 0xea, 0x2c, 0xe8, 0xbb, 0xb5, 0x91, 0xe6, 0xdc, 0xaa, 0x37, 0xe5, 0xa2, 0x10, 0x4c, 0x69, 0x15,
+ 0xd7, 0xb0, 0x45, 0x7d, 0x28, 0xc0, 0x51, 0x9a, 0x73, 0x4d, 0x94, 0x51, 0xe8, 0x45, 0x46, 0xcd,
+ 0xb4, 0x78, 0x24, 0x6a, 0xfc, 0x23, 0x9c, 0x9c, 0x07, 0xb3, 0x6e, 0x88, 0x43, 0xbb, 0x1e, 0x69,
+ 0x7b, 0x77, 0x39, 0xd2, 0x4e, 0xc3, 0xa9, 0x0c, 0xd1, 0x23, 0xa3, 0xed, 0x8d, 0x3e, 0x7f, 0xb4,
+ 0x5d, 0x71, 0x6d, 0xb2, 0xbd, 0xd4, 0xa0, 0x0d, 0x07, 0x93, 0x7b, 0x7f, 0x77, 0x0c, 0x05, 0x61,
+ 0xee, 0xe3, 0x0d, 0xc2, 0xbe, 0xb8, 0x20, 0x1c, 0x83, 0x1c, 0x73, 0xde, 0x6d, 0x16, 0x26, 0xdd,
+ 0x9a, 0xf8, 0x8a, 0x08, 0xce, 0xfc, 0xae, 0x04, 0x27, 0xec, 0xe2, 0xae, 0x39, 0x70, 0x47, 0x76,
+ 0xcd, 0xc1, 0x3b, 0xb1, 0x6b, 0xde, 0x67, 0xb1, 0x1c, 0x1b, 0x9b, 0x32, 0x96, 0x5f, 0x51, 0xa0,
+ 0x10, 0x28, 0xd5, 0x38, 0xd4, 0xdd, 0x29, 0x1b, 0x7f, 0xa9, 0xc0, 0xb1, 0x38, 0x66, 0x32, 0x16,
+ 0x8e, 0xaa, 0x06, 0x7d, 0x0e, 0x26, 0x8d, 0x2a, 0xf5, 0xda, 0x1a, 0x67, 0xd3, 0xb8, 0x0b, 0x2e,
+ 0xe2, 0x62, 0x32, 0x56, 0x15, 0xcd, 0x23, 0xe4, 0x2b, 0xd1, 0xfe, 0xa3, 0xc0, 0x58, 0x34, 0x8e,
+ 0xfa, 0x34, 0xf4, 0x7b, 0xe6, 0x16, 0x5d, 0x98, 0x76, 0x8d, 0x2c, 0xf1, 0xd5, 0x45, 0xe8, 0x65,
+ 0x9e, 0xc9, 0x13, 0x64, 0xdb, 0x84, 0x38, 0xb2, 0x7a, 0x19, 0xba, 0xd7, 0x31, 0xe6, 0x79, 0xb4,
+ 0x6d, 0x1a, 0x2e, 0x6a, 0x6b, 0x15, 0xce, 0x4d, 0xb3, 0x88, 0x1d, 0x73, 0x0b, 0xb9, 0x1a, 0xcd,
+ 0xd0, 0x63, 0x78, 0x2a, 0xe8, 0x2c, 0xa7, 0x92, 0xcc, 0xd1, 0x24, 0x1c, 0xe1, 0x32, 0xc3, 0x2f,
+ 0x87, 0xdc, 0x65, 0x85, 0x55, 0xe1, 0xf1, 0x2c, 0xb5, 0xdf, 0x6b, 0x78, 0xcd, 0xef, 0x80, 0x81,
+ 0x8d, 0xf0, 0xae, 0x0a, 0x5a, 0x82, 0xe9, 0x34, 0xae, 0xda, 0x97, 0xf5, 0xa7, 0x0a, 0xdb, 0xc5,
+ 0x7d, 0x4d, 0x8c, 0x28, 0x1d, 0xc6, 0x77, 0x57, 0xae, 0x86, 0xba, 0x2b, 0x1d, 0xc8, 0xeb, 0xf5,
+ 0x58, 0x5a, 0x04, 0x7e, 0x8e, 0x25, 0xb1, 0x34, 0xd6, 0x3a, 0xeb, 0xb2, 0xbc, 0xad, 0xb0, 0x86,
+ 0xdf, 0x82, 0xbb, 0x23, 0x54, 0x65, 0x76, 0x8a, 0x15, 0xf3, 0x30, 0xe4, 0x6b, 0x2c, 0xd8, 0x9b,
+ 0xcd, 0xbd, 0x7e, 0x3e, 0x70, 0xd5, 0x68, 0xed, 0xfe, 0x75, 0x47, 0x74, 0xff, 0x82, 0x16, 0xe9,
+ 0x09, 0x27, 0xac, 0x7d, 0xd0, 0xad, 0x9b, 0x86, 0x38, 0xaa, 0xb8, 0x3f, 0x5b, 0xd5, 0x71, 0x84,
+ 0xf5, 0x85, 0x42, 0x1c, 0xcb, 0x14, 0xfe, 0x2d, 0x9e, 0xc2, 0xb9, 0xb6, 0x82, 0x30, 0xf1, 0xd6,
+ 0xbb, 0x04, 0x3d, 0x06, 0xa2, 0x28, 0x4b, 0x67, 0x8c, 0x51, 0x5a, 0x44, 0x14, 0x09, 0xab, 0x31,
+ 0xc4, 0x56, 0x26, 0x97, 0x58, 0xe8, 0x44, 0x72, 0x21, 0x0d, 0x55, 0x80, 0x3e, 0xd2, 0xd0, 0x75,
+ 0x4c, 0xb8, 0x8d, 0xfa, 0x35, 0xef, 0xd3, 0x67, 0x9f, 0xef, 0x29, 0xf0, 0x40, 0x90, 0x50, 0xc0,
+ 0xe5, 0xef, 0xb8, 0x5c, 0xd7, 0xe1, 0x64, 0x2a, 0x3b, 0x6d, 0x09, 0xf8, 0x6e, 0x1f, 0x8c, 0x7a,
+ 0x14, 0x79, 0xaf, 0x3c, 0x45, 0xa6, 0x4c, 0x3d, 0xe6, 0x4b, 0x70, 0x94, 0xd4, 0x6d, 0x5a, 0x96,
+ 0xce, 0x4a, 0xca, 0xd4, 0x2e, 0xeb, 0x8c, 0xe3, 0x32, 0xaa, 0xba, 0xa5, 0xab, 0x1b, 0x14, 0x05,
+ 0x22, 0x77, 0xaf, 0xab, 0x06, 0x59, 0xb5, 0xb9, 0x48, 0x73, 0xd5, 0xaa, 0xfa, 0x0c, 0x4c, 0x19,
+ 0x32, 0xca, 0xe2, 0xc9, 0xf4, 0x30, 0x32, 0xe3, 0x4d, 0xd0, 0x48, 0x62, 0x5f, 0x81, 0x03, 0x8c,
+ 0x1b, 0x1e, 0xe0, 0x4d, 0x12, 0x85, 0xde, 0x76, 0xed, 0xa2, 0x68, 0x2a, 0x91, 0x8e, 0xe4, 0x2d,
+ 0xa1, 0x3e, 0x0f, 0x87, 0x7d, 0xcc, 0xb6, 0xac, 0x92, 0x6b, 0x7f, 0x95, 0x82, 0x11, 0x4c, 0x51,
+ 0xcd, 0xb5, 0x22, 0x64, 0x61, 0x39, 0xa9, 0xd0, 0xd7, 0x6e, 0x57, 0x39, 0x2c, 0x0b, 0x23, 0xa3,
+ 0xd6, 0xe3, 0x64, 0xe1, 0xab, 0xf4, 0x77, 0x96, 0x5d, 0xa3, 0x25, 0xe2, 0x2b, 0xde, 0x80, 0x89,
+ 0x35, 0xe6, 0xc4, 0x65, 0x9b, 0x7b, 0x71, 0xab, 0x06, 0xf3, 0xed, 0x6b, 0xf0, 0xf0, 0x5a, 0x6b,
+ 0x60, 0x48, 0x25, 0x6a, 0x70, 0x22, 0xb4, 0x64, 0xac, 0x87, 0x01, 0xf3, 0xb0, 0x07, 0xd6, 0x5a,
+ 0xeb, 0xd0, 0x90, 0x93, 0xbd, 0x90, 0x24, 0x06, 0x57, 0xde, 0x40, 0xa7, 0xca, 0x8b, 0x11, 0x86,
+ 0x51, 0x6d, 0xcd, 0x11, 0x1f, 0x75, 0xc1, 0x91, 0xa8, 0x90, 0x96, 0x79, 0x61, 0x06, 0x46, 0x98,
+ 0x0f, 0x09, 0x31, 0x83, 0x39, 0x62, 0xbf, 0x3b, 0x25, 0x72, 0x26, 0x9f, 0x50, 0x2f, 0xc0, 0x21,
+ 0x9f, 0x4f, 0x84, 0xb0, 0xba, 0x18, 0xd6, 0xc1, 0x26, 0x40, 0x10, 0xf7, 0x61, 0xd8, 0xdf, 0xf4,
+ 0x57, 0x6f, 0x4b, 0xe4, 0xd1, 0x3f, 0x2c, 0xdd, 0x8f, 0x6f, 0x8b, 0xea, 0x79, 0x38, 0x18, 0xf6,
+ 0x3d, 0x0f, 0x83, 0x07, 0xfa, 0x81, 0x90, 0x13, 0x09, 0xbc, 0x39, 0x38, 0x1a, 0x52, 0x7d, 0x88,
+ 0xc7, 0x5e, 0xc6, 0x63, 0x31, 0xa0, 0xc5, 0x20, 0x9b, 0x17, 0xe1, 0x70, 0x94, 0xf5, 0xbc, 0xe5,
+ 0x73, 0x3c, 0x5d, 0xb5, 0x9a, 0xa1, 0x65, 0x43, 0xff, 0xa1, 0x02, 0xe3, 0x11, 0xe7, 0xc0, 0x2c,
+ 0x85, 0xcc, 0xee, 0x1d, 0xd9, 0x7e, 0xa7, 0xc0, 0x43, 0xc9, 0x4c, 0x65, 0x2d, 0x68, 0xbe, 0x18,
+ 0x2e, 0x68, 0x1e, 0xcf, 0xc6, 0x65, 0x3b, 0x65, 0xcd, 0xcf, 0xbb, 0xe1, 0x48, 0x12, 0xe6, 0xfd,
+ 0x58, 0xdc, 0xa8, 0x9f, 0x87, 0xbd, 0xec, 0xce, 0xd7, 0xb4, 0xad, 0xb2, 0x81, 0xab, 0x14, 0xb1,
+ 0xb3, 0xd9, 0xc0, 0xd9, 0x93, 0x89, 0xf7, 0xe0, 0x02, 0x63, 0xd1, 0x45, 0x10, 0x3e, 0x30, 0x54,
+ 0xf7, 0x0f, 0xaa, 0x4b, 0x90, 0xab, 0xa3, 0x6d, 0xbb, 0x41, 0x3b, 0xbc, 0x2a, 0x13, 0xd8, 0x3e,
+ 0xf3, 0xfc, 0x98, 0x1f, 0x89, 0x22, 0x0a, 0x80, 0xbb, 0xeb, 0xe4, 0x7f, 0x50, 0xd8, 0xd9, 0x28,
+ 0x99, 0xaf, 0x7b, 0xc9, 0xcf, 0xff, 0x2a, 0xba, 0x1d, 0x2c, 0x11, 0x85, 0x64, 0xbd, 0x7b, 0x15,
+ 0x80, 0x9c, 0xae, 0x21, 0xb2, 0xc9, 0x9c, 0xa6, 0x57, 0x4c, 0x2f, 0x23, 0xb2, 0xe9, 0x15, 0x08,
+ 0xb9, 0x84, 0x02, 0x61, 0x92, 0x97, 0xad, 0x51, 0x62, 0xc9, 0x32, 0xe1, 0x3d, 0x05, 0x0e, 0x4b,
+ 0xa0, 0xd6, 0x33, 0xec, 0xff, 0xb3, 0xf8, 0xc7, 0x59, 0x25, 0x1b, 0x27, 0x99, 0xd4, 0xc0, 0x9b,
+ 0x0a, 0xe4, 0xe5, 0xa1, 0x25, 0x28, 0x97, 0x92, 0x26, 0x57, 0x57, 0xaa, 0x5c, 0xdd, 0xc9, 0x72,
+ 0xf5, 0xc4, 0xc8, 0xd5, 0xac, 0xfb, 0x26, 0x5f, 0xe1, 0x1b, 0x99, 0xaf, 0xd4, 0x08, 0xd9, 0xf2,
+ 0x4e, 0x96, 0x3d, 0xd7, 0xd8, 0xfe, 0x95, 0xc0, 0x4b, 0x5b, 0x35, 0xcf, 0x6d, 0x05, 0x0e, 0x2c,
+ 0x93, 0x4a, 0x49, 0xaa, 0x6f, 0xd5, 0x41, 0x16, 0x59, 0x4f, 0x70, 0xbb, 0x47, 0x60, 0x94, 0xd8,
+ 0x0d, 0x47, 0xc7, 0xe5, 0x28, 0x43, 0xa8, 0x7c, 0xae, 0xe4, 0x37, 0x07, 0x3b, 0x33, 0x11, 0x6a,
+ 0x5a, 0xfc, 0xf2, 0x28, 0xca, 0x2f, 0x0f, 0xfa, 0x00, 0x4a, 0xd1, 0x2f, 0x74, 0x7a, 0xda, 0x7b,
+ 0xa1, 0x33, 0xe0, 0xd7, 0xd9, 0x04, 0xeb, 0x91, 0xb5, 0x0a, 0x29, 0x3d, 0xf0, 0x9f, 0x0a, 0x7b,
+ 0xbb, 0x73, 0xe5, 0x26, 0xc5, 0x8e, 0x85, 0xaa, 0xf7, 0xa5, 0x12, 0x8e, 0xb2, 0x34, 0x13, 0x16,
+ 0x51, 0xaa, 0xe0, 0xcf, 0x0a, 0xab, 0x7e, 0xaf, 0x99, 0x37, 0x1a, 0x26, 0x7b, 0x27, 0x26, 0xf6,
+ 0xce, 0x9d, 0x55, 0xbf, 0x81, 0x60, 0xee, 0x0e, 0x05, 0xb3, 0xdc, 0x00, 0x7b, 0x3a, 0xdb, 0x00,
+ 0x15, 0x6f, 0x03, 0x0c, 0xc8, 0x39, 0xce, 0x8e, 0xfc, 0x2d, 0x72, 0x48, 0x41, 0xbf, 0xc9, 0xf7,
+ 0x9a, 0x2b, 0x35, 0xec, 0x54, 0xb0, 0xa5, 0x6f, 0x97, 0xd8, 0x45, 0x24, 0xdf, 0xad, 0x76, 0x4f,
+ 0xd8, 0x20, 0x8f, 0x7c, 0x5f, 0x88, 0x64, 0x41, 0xf2, 0xf9, 0xa3, 0x2e, 0x38, 0xc4, 0x6e, 0x0c,
+ 0xdc, 0x92, 0x89, 0x48, 0x39, 0xf8, 0x65, 0xc9, 0x3d, 0xe2, 0x99, 0x01, 0x89, 0x7b, 0x42, 0xe6,
+ 0x5d, 0x92, 0x6e, 0xdb, 0xe1, 0x79, 0x2b, 0xca, 0x8b, 0xa7, 0xd8, 0x89, 0x2b, 0x5a, 0x29, 0x52,
+ 0x75, 0x6f, 0x29, 0xcc, 0x07, 0x56, 0x1c, 0x73, 0xcb, 0xac, 0xe2, 0x0a, 0x36, 0xae, 0xdc, 0xc4,
+ 0x7a, 0x83, 0xe2, 0x05, 0xdb, 0xa2, 0x0e, 0xd2, 0xe3, 0xcd, 0x3c, 0x0a, 0xbd, 0xeb, 0x0d, 0xcb,
+ 0x20, 0x42, 0x5d, 0xfc, 0x43, 0x3d, 0x09, 0xfb, 0x74, 0x81, 0x59, 0x46, 0xfc, 0xd5, 0xa6, 0x50,
+ 0xcc, 0xb0, 0x37, 0x2e, 0x1e, 0x73, 0xaa, 0xaa, 0xc8, 0xf7, 0x5c, 0x17, 0x3c, 0x85, 0x47, 0x5e,
+ 0xa9, 0xfc, 0x46, 0x81, 0x07, 0x93, 0x58, 0x94, 0x59, 0xfc, 0x79, 0x00, 0xc6, 0x45, 0xd9, 0x30,
+ 0xd7, 0xd7, 0x59, 0x22, 0x4f, 0x4c, 0x00, 0x8f, 0xb8, 0x4a, 0xfe, 0xed, 0xdf, 0x27, 0xa6, 0x33,
+ 0x28, 0xd9, 0x45, 0x20, 0x5a, 0x9e, 0x91, 0x5f, 0x34, 0xd7, 0xd7, 0xa3, 0x39, 0x7d, 0x18, 0xf6,
+ 0x2d, 0x93, 0x8a, 0x86, 0x5f, 0x40, 0x8e, 0x41, 0xae, 0xd7, 0xe9, 0xf5, 0x46, 0xac, 0xfe, 0x26,
+ 0x8b, 0x2c, 0xb4, 0x02, 0xb0, 0xd2, 0x28, 0xdf, 0xe5, 0x5b, 0x8d, 0x86, 0xf5, 0x2a, 0x32, 0x6b,
+ 0xd7, 0x6c, 0x7d, 0x13, 0x1b, 0x4b, 0x4c, 0xbf, 0xf1, 0xbe, 0x3c, 0x52, 0x65, 0x60, 0x73, 0xdc,
+ 0xe1, 0x56, 0x1a, 0x6b, 0xcf, 0xe0, 0x6d, 0x66, 0x9b, 0x41, 0x2d, 0x6a, 0x4a, 0x3d, 0x02, 0x79,
+ 0x62, 0x56, 0x2c, 0x44, 0x1b, 0x0e, 0x2f, 0x41, 0x06, 0xb5, 0xe6, 0x40, 0xd4, 0x9e, 0xd0, 0xca,
+ 0x8d, 0xe4, 0xf7, 0x1b, 0xfc, 0xa5, 0x69, 0xc9, 0xac, 0x58, 0xec, 0x5c, 0x52, 0x82, 0x9c, 0xfb,
+ 0x5b, 0x70, 0x39, 0x38, 0xff, 0xe4, 0x87, 0xb7, 0x26, 0x72, 0x84, 0x8d, 0x7c, 0x74, 0x6b, 0xe2,
+ 0x74, 0x06, 0x7d, 0xcf, 0xe9, 0xba, 0xf0, 0x13, 0x4d, 0x90, 0x52, 0x8f, 0x40, 0xcf, 0x22, 0x3f,
+ 0x1f, 0xb8, 0x24, 0xfb, 0x3f, 0xbc, 0x35, 0xc1, 0x7c, 0x46, 0x63, 0xa3, 0x93, 0x37, 0xd9, 0xdb,
+ 0x5c, 0xc6, 0x81, 0xad, 0xab, 0xc7, 0xb9, 0x70, 0xfc, 0x7e, 0x9c, 0x17, 0x7b, 0x0c, 0xc1, 0xfd,
+ 0xd6, 0xfa, 0xdd, 0x29, 0x76, 0x03, 0xbe, 0x00, 0xbd, 0x5b, 0xa8, 0xda, 0xc0, 0xe2, 0xb4, 0x7e,
+ 0x22, 0x29, 0xab, 0xfa, 0xe4, 0xf3, 0x4a, 0x0a, 0x86, 0x3b, 0xf9, 0x41, 0x17, 0x8b, 0xb3, 0x39,
+ 0xa3, 0x66, 0x5a, 0xbc, 0x71, 0x12, 0x51, 0x46, 0x74, 0x76, 0x34, 0xfd, 0x12, 0xec, 0xf3, 0xbd,
+ 0x0b, 0xe1, 0x15, 0x67, 0xb3, 0x5a, 0x54, 0xda, 0x48, 0x10, 0xc3, 0x4d, 0x3a, 0xec, 0x96, 0x37,
+ 0xf6, 0x95, 0x4a, 0x4f, 0xfb, 0xaf, 0x54, 0x7a, 0xe3, 0x5f, 0xa9, 0x5c, 0x86, 0x1c, 0xa1, 0x88,
+ 0x36, 0x88, 0x78, 0xa4, 0x30, 0x9d, 0xa8, 0x61, 0x26, 0x76, 0x89, 0xc1, 0x6b, 0x02, 0x2f, 0xe8,
+ 0x88, 0xa7, 0x58, 0xad, 0x96, 0xac, 0x69, 0xcf, 0x29, 0xcf, 0xfe, 0x62, 0x0a, 0xba, 0x97, 0x49,
+ 0x45, 0x45, 0xd0, 0xe7, 0x3d, 0xd9, 0x7e, 0x28, 0xc5, 0xc0, 0x02, 0xae, 0x38, 0x93, 0x0d, 0x4e,
+ 0x26, 0x1e, 0x03, 0xfa, 0xe5, 0x2b, 0xeb, 0x34, 0x27, 0xf2, 0x00, 0x8b, 0xb3, 0x19, 0x01, 0xe5,
+ 0x2a, 0xaf, 0x2a, 0x70, 0x30, 0xee, 0x61, 0xed, 0xf9, 0x14, 0x62, 0x31, 0x78, 0xc5, 0x4f, 0x77,
+ 0x86, 0x27, 0x79, 0x72, 0xb7, 0x8f, 0xc4, 0xe7, 0xa5, 0x4f, 0x66, 0x5b, 0x20, 0x12, 0xb9, 0xb8,
+ 0xb0, 0x03, 0x64, 0xc9, 0xe2, 0xef, 0x15, 0x38, 0x96, 0xfa, 0xce, 0xe7, 0x52, 0xb6, 0x95, 0x62,
+ 0x09, 0x14, 0x9f, 0xda, 0x21, 0x01, 0xc9, 0xee, 0xcb, 0x0a, 0x8c, 0x46, 0x3e, 0x80, 0x7f, 0x34,
+ 0x65, 0x85, 0x28, 0xa4, 0xe2, 0x93, 0x1d, 0x20, 0x49, 0x56, 0xde, 0x50, 0xa0, 0x98, 0xf0, 0x66,
+ 0xfd, 0x89, 0x14, 0xda, 0xf1, 0xa8, 0xc5, 0xb9, 0x8e, 0x51, 0x25, 0x73, 0xdf, 0x51, 0xe0, 0x40,
+ 0xf4, 0x93, 0x8f, 0x73, 0x99, 0x65, 0xf6, 0x61, 0x15, 0x3f, 0xd5, 0x09, 0x96, 0xe4, 0x66, 0x1b,
+ 0x86, 0xc3, 0xb7, 0xb1, 0x69, 0x49, 0x24, 0x04, 0x5f, 0x3c, 0xdf, 0x1e, 0x7c, 0x40, 0x11, 0xd1,
+ 0x17, 0xa7, 0xe7, 0x32, 0x69, 0x39, 0x84, 0x95, 0xaa, 0x88, 0xe4, 0xeb, 0xd1, 0xaf, 0xc3, 0xfe,
+ 0xd6, 0x5b, 0xc1, 0x47, 0xb2, 0x90, 0xf4, 0x63, 0x14, 0x1f, 0x6f, 0x17, 0x43, 0x32, 0xf0, 0xba,
+ 0x02, 0x87, 0xe2, 0x4f, 0xb3, 0x69, 0x74, 0x63, 0x31, 0x8b, 0x97, 0x3b, 0xc5, 0x0c, 0x84, 0x53,
+ 0xc2, 0xe3, 0x93, 0x27, 0x32, 0x39, 0x60, 0x14, 0x6a, 0x6a, 0x38, 0x65, 0x78, 0x5f, 0xe2, 0x66,
+ 0xc9, 0xd4, 0x77, 0x14, 0x97, 0xb2, 0x87, 0x6d, 0x24, 0x81, 0xd4, 0x2c, 0x99, 0xf9, 0xb9, 0xc4,
+ 0x9b, 0x0a, 0x1c, 0x4e, 0xba, 0x2d, 0xb9, 0xd0, 0xa6, 0x46, 0xfc, 0x99, 0x60, 0xbe, 0x73, 0xdc,
+ 0x60, 0x76, 0x8a, 0x6c, 0xd1, 0x9e, 0xcb, 0x14, 0xe6, 0x21, 0xac, 0xf4, 0xec, 0x94, 0xd4, 0x37,
+ 0x65, 0xda, 0x4a, 0x6a, 0xc9, 0x5d, 0xc8, 0x1e, 0xf2, 0x61, 0xdc, 0x54, 0x6d, 0x65, 0x69, 0xbf,
+ 0xf9, 0xb6, 0xe8, 0xf8, 0x87, 0xef, 0x19, 0xb7, 0xe8, 0x58, 0x02, 0x59, 0xb7, 0xe8, 0xd4, 0xc7,
+ 0xc3, 0xea, 0xaf, 0x14, 0x38, 0x9a, 0xfc, 0xbe, 0x2a, 0xdb, 0x66, 0x12, 0x83, 0x5d, 0x5c, 0xdc,
+ 0x09, 0xb6, 0xe4, 0xf2, 0xd7, 0x0a, 0x8c, 0xa7, 0x5c, 0xb7, 0x5c, 0x6c, 0x7f, 0x21, 0x7f, 0xa0,
+ 0x5c, 0xd9, 0x11, 0xba, 0x64, 0xf4, 0x35, 0x05, 0x0a, 0xb1, 0x2d, 0xfd, 0xc7, 0x32, 0x39, 0x7e,
+ 0x2b, 0x62, 0xf1, 0x52, 0x87, 0x88, 0x01, 0xfd, 0xa5, 0xbc, 0xe0, 0xb9, 0x98, 0xdd, 0xf7, 0x23,
+ 0xd0, 0x53, 0xf5, 0x97, 0xf1, 0xc1, 0xce, 0x4b, 0x0a, 0xa8, 0x11, 0x5d, 0xe9, 0x33, 0x69, 0xd5,
+ 0x6c, 0x0b, 0x4a, 0xf1, 0x89, 0xb6, 0x51, 0x24, 0x13, 0x5f, 0x83, 0x7d, 0x2d, 0x2d, 0xe1, 0xb4,
+ 0x0a, 0x27, 0x8c, 0x50, 0x7c, 0xac, 0x4d, 0x04, 0xff, 0xa9, 0xa3, 0xb5, 0x1b, 0x9b, 0x76, 0xea,
+ 0x68, 0xc1, 0x48, 0x3d, 0x75, 0xc4, 0x76, 0x4a, 0x59, 0xbe, 0x8f, 0x6e, 0x93, 0xa6, 0xe5, 0xfb,
+ 0x48, 0xac, 0xd4, 0x7c, 0x9f, 0xd8, 0x0f, 0x55, 0xbf, 0xaf, 0xc0, 0x58, 0x4c, 0x33, 0xf4, 0x93,
+ 0xa9, 0x49, 0x30, 0x0a, 0xad, 0x78, 0xb1, 0x23, 0x34, 0xc9, 0x10, 0x81, 0xa1, 0x60, 0x57, 0xec,
+ 0x13, 0x29, 0xf4, 0x02, 0xd0, 0xc5, 0x73, 0xed, 0x40, 0x07, 0x02, 0x38, 0xa5, 0x2b, 0x93, 0x26,
+ 0x56, 0x32, 0x7a, 0x6a, 0x00, 0x67, 0xeb, 0x54, 0xb0, 0x00, 0x8e, 0xe8, 0xf5, 0x9d, 0x49, 0x95,
+ 0x3a, 0x8c, 0x92, 0x1a, 0xc0, 0xf1, 0x3d, 0x3c, 0xb5, 0x0e, 0x83, 0x81, 0xff, 0x92, 0x7f, 0x2a,
+ 0x85, 0x94, 0x1f, 0xb8, 0xf8, 0x68, 0x1b, 0xc0, 0xde, 0x8a, 0xf3, 0x1b, 0xef, 0xbc, 0x3f, 0xae,
+ 0xbc, 0xfb, 0xfe, 0xb8, 0xf2, 0x8f, 0xf7, 0xc7, 0x95, 0x1f, 0xdc, 0x1e, 0xdf, 0xf3, 0xee, 0xed,
+ 0xf1, 0x3d, 0xef, 0xdd, 0x1e, 0xdf, 0xf3, 0xdc, 0x67, 0x7d, 0x5d, 0xad, 0xab, 0x1e, 0xe1, 0x6b,
+ 0x68, 0x8d, 0xcc, 0xca, 0x65, 0x4e, 0xeb, 0xb6, 0x83, 0xfd, 0x9f, 0x1b, 0xc8, 0xb4, 0x66, 0x6b,
+ 0xb6, 0xd1, 0xa8, 0x62, 0xd2, 0xfc, 0x53, 0x05, 0xac, 0x03, 0xb6, 0x96, 0x63, 0x7f, 0x79, 0xe0,
+ 0xd1, 0xff, 0x05, 0x00, 0x00, 0xff, 0xff, 0x70, 0x8b, 0x67, 0xfe, 0xa8, 0x41, 0x00, 0x00,
}
-func (m *TradingRewardCampaignLaunchProposal) Reset() { *m = TradingRewardCampaignLaunchProposal{} }
-func (m *TradingRewardCampaignLaunchProposal) String() string { return proto.CompactTextString(m) }
-func (*TradingRewardCampaignLaunchProposal) ProtoMessage() {}
-func (*TradingRewardCampaignLaunchProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{70}
-}
-func (m *TradingRewardCampaignLaunchProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *TradingRewardCampaignLaunchProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TradingRewardCampaignLaunchProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *TradingRewardCampaignLaunchProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TradingRewardCampaignLaunchProposal.Merge(m, src)
-}
-func (m *TradingRewardCampaignLaunchProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *TradingRewardCampaignLaunchProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_TradingRewardCampaignLaunchProposal.DiscardUnknown(m)
-}
+// Reference imports to suppress errors if they are not otherwise used.
+var _ context.Context
+var _ grpc.ClientConn
-var xxx_messageInfo_TradingRewardCampaignLaunchProposal proto.InternalMessageInfo
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the grpc package it is being compiled against.
+const _ = grpc.SupportPackageIsVersion4
-type TradingRewardCampaignUpdateProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- CampaignInfo *TradingRewardCampaignInfo `protobuf:"bytes,3,opt,name=campaign_info,json=campaignInfo,proto3" json:"campaign_info,omitempty"`
- CampaignRewardPoolsAdditions []*CampaignRewardPool `protobuf:"bytes,4,rep,name=campaign_reward_pools_additions,json=campaignRewardPoolsAdditions,proto3" json:"campaign_reward_pools_additions,omitempty"`
- CampaignRewardPoolsUpdates []*CampaignRewardPool `protobuf:"bytes,5,rep,name=campaign_reward_pools_updates,json=campaignRewardPoolsUpdates,proto3" json:"campaign_reward_pools_updates,omitempty"`
+// MsgClient is the client API for Msg service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
+type MsgClient interface {
+ // Deposit defines a method for transferring coins from the sender's bank
+ // balance into the subaccount's exchange deposits
+ Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error)
+ // Withdraw defines a method for withdrawing coins from a subaccount's
+ // deposits to the user's bank balance
+ Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error)
+ // InstantSpotMarketLaunch defines method for creating a spot market by paying
+ // listing fee without governance
+ InstantSpotMarketLaunch(ctx context.Context, in *MsgInstantSpotMarketLaunch, opts ...grpc.CallOption) (*MsgInstantSpotMarketLaunchResponse, error)
+ // InstantPerpetualMarketLaunch defines a method for creating a new perpetual
+ // futures market by paying listing fee without governance
+ InstantPerpetualMarketLaunch(ctx context.Context, in *MsgInstantPerpetualMarketLaunch, opts ...grpc.CallOption) (*MsgInstantPerpetualMarketLaunchResponse, error)
+ // InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry
+ // futures market by paying listing fee without governance
+ InstantExpiryFuturesMarketLaunch(ctx context.Context, in *MsgInstantExpiryFuturesMarketLaunch, opts ...grpc.CallOption) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
+ // CreateSpotLimitOrder defines a method for creating a new spot limit order.
+ CreateSpotLimitOrder(ctx context.Context, in *MsgCreateSpotLimitOrder, opts ...grpc.CallOption) (*MsgCreateSpotLimitOrderResponse, error)
+ // BatchCreateSpotLimitOrder defines a method for creating a new batch of spot
+ // limit orders.
+ BatchCreateSpotLimitOrders(ctx context.Context, in *MsgBatchCreateSpotLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateSpotLimitOrdersResponse, error)
+ // CreateSpotMarketOrder defines a method for creating a new spot market
+ // order.
+ CreateSpotMarketOrder(ctx context.Context, in *MsgCreateSpotMarketOrder, opts ...grpc.CallOption) (*MsgCreateSpotMarketOrderResponse, error)
+ // MsgCancelSpotOrder defines a method for cancelling a spot order.
+ CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error)
+ // BatchCancelSpotOrders defines a method for cancelling a batch of spot
+ // orders in a given market.
+ BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error)
+ // BatchUpdateOrders defines a method for updating a batch of orders.
+ BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error)
+ // PrivilegedExecuteContract defines a method for executing a Cosmwasm
+ // contract from the exchange module with privileged capabilities.
+ PrivilegedExecuteContract(ctx context.Context, in *MsgPrivilegedExecuteContract, opts ...grpc.CallOption) (*MsgPrivilegedExecuteContractResponse, error)
+ // CreateDerivativeLimitOrder defines a method for creating a new derivative
+ // limit order.
+ CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error)
+ // BatchCreateDerivativeLimitOrders defines a method for creating a new batch
+ // of derivative limit orders.
+ BatchCreateDerivativeLimitOrders(ctx context.Context, in *MsgBatchCreateDerivativeLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
+ // MsgCreateDerivativeLimitOrder defines a method for creating a new
+ // derivative market order.
+ CreateDerivativeMarketOrder(ctx context.Context, in *MsgCreateDerivativeMarketOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeMarketOrderResponse, error)
+ // MsgCancelDerivativeOrder defines a method for cancelling a derivative
+ // order.
+ CancelDerivativeOrder(ctx context.Context, in *MsgCancelDerivativeOrder, opts ...grpc.CallOption) (*MsgCancelDerivativeOrderResponse, error)
+ // MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of
+ // derivative limit orders.
+ BatchCancelDerivativeOrders(ctx context.Context, in *MsgBatchCancelDerivativeOrders, opts ...grpc.CallOption) (*MsgBatchCancelDerivativeOrdersResponse, error)
+ // InstantBinaryOptionsMarketLaunch defines method for creating a binary
+ // options market by paying listing fee without governance
+ InstantBinaryOptionsMarketLaunch(ctx context.Context, in *MsgInstantBinaryOptionsMarketLaunch, opts ...grpc.CallOption) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
+ // CreateBinaryOptionsLimitOrder defines a method for creating a new binary
+ // options limit order.
+ CreateBinaryOptionsLimitOrder(ctx context.Context, in *MsgCreateBinaryOptionsLimitOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
+ // CreateBinaryOptionsMarketOrder defines a method for creating a new binary
+ // options market order.
+ CreateBinaryOptionsMarketOrder(ctx context.Context, in *MsgCreateBinaryOptionsMarketOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
+ // MsgCancelBinaryOptionsOrder defines a method for cancelling a binary
+ // options order.
+ CancelBinaryOptionsOrder(ctx context.Context, in *MsgCancelBinaryOptionsOrder, opts ...grpc.CallOption) (*MsgCancelBinaryOptionsOrderResponse, error)
+ // BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of
+ // binary options limit orders.
+ BatchCancelBinaryOptionsOrders(ctx context.Context, in *MsgBatchCancelBinaryOptionsOrders, opts ...grpc.CallOption) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
+ // SubaccountTransfer defines a method for transfer between subaccounts
+ SubaccountTransfer(ctx context.Context, in *MsgSubaccountTransfer, opts ...grpc.CallOption) (*MsgSubaccountTransferResponse, error)
+ // ExternalTransfer defines a method for transfer between external accounts
+ ExternalTransfer(ctx context.Context, in *MsgExternalTransfer, opts ...grpc.CallOption) (*MsgExternalTransferResponse, error)
+ // LiquidatePosition defines a method for liquidating a position
+ LiquidatePosition(ctx context.Context, in *MsgLiquidatePosition, opts ...grpc.CallOption) (*MsgLiquidatePositionResponse, error)
+ // EmergencySettleMarket defines a method for emergency settling a market
+ EmergencySettleMarket(ctx context.Context, in *MsgEmergencySettleMarket, opts ...grpc.CallOption) (*MsgEmergencySettleMarketResponse, error)
+ // IncreasePositionMargin defines a method for increasing margin of a position
+ IncreasePositionMargin(ctx context.Context, in *MsgIncreasePositionMargin, opts ...grpc.CallOption) (*MsgIncreasePositionMarginResponse, error)
+ // RewardsOptOut defines a method for opting out of rewards
+ RewardsOptOut(ctx context.Context, in *MsgRewardsOptOut, opts ...grpc.CallOption) (*MsgRewardsOptOutResponse, error)
+ // AdminUpdateBinaryOptionsMarket defines method for updating a binary options
+ // market by admin
+ AdminUpdateBinaryOptionsMarket(ctx context.Context, in *MsgAdminUpdateBinaryOptionsMarket, opts ...grpc.CallOption) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
+ //
+ ReclaimLockedFunds(ctx context.Context, in *MsgReclaimLockedFunds, opts ...grpc.CallOption) (*MsgReclaimLockedFundsResponse, error)
+ UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
}
-func (m *TradingRewardCampaignUpdateProposal) Reset() { *m = TradingRewardCampaignUpdateProposal{} }
-func (m *TradingRewardCampaignUpdateProposal) String() string { return proto.CompactTextString(m) }
-func (*TradingRewardCampaignUpdateProposal) ProtoMessage() {}
-func (*TradingRewardCampaignUpdateProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{71}
+type msgClient struct {
+ cc grpc1.ClientConn
}
-func (m *TradingRewardCampaignUpdateProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
+
+func NewMsgClient(cc grpc1.ClientConn) MsgClient {
+ return &msgClient{cc}
}
-func (m *TradingRewardCampaignUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TradingRewardCampaignUpdateProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+
+func (c *msgClient) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) {
+ out := new(MsgDepositResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/Deposit", in, out, opts...)
+ if err != nil {
+ return nil, err
}
-}
-func (m *TradingRewardCampaignUpdateProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TradingRewardCampaignUpdateProposal.Merge(m, src)
-}
-func (m *TradingRewardCampaignUpdateProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *TradingRewardCampaignUpdateProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_TradingRewardCampaignUpdateProposal.DiscardUnknown(m)
+ return out, nil
}
-var xxx_messageInfo_TradingRewardCampaignUpdateProposal proto.InternalMessageInfo
-
-type RewardPointUpdate struct {
- AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
- // new_points overwrites the current trading reward points for the account
- NewPoints github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,12,opt,name=new_points,json=newPoints,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"new_points"`
+func (c *msgClient) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) {
+ out := new(MsgWithdrawResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/Withdraw", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
}
-func (m *RewardPointUpdate) Reset() { *m = RewardPointUpdate{} }
-func (m *RewardPointUpdate) String() string { return proto.CompactTextString(m) }
-func (*RewardPointUpdate) ProtoMessage() {}
-func (*RewardPointUpdate) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{72}
-}
-func (m *RewardPointUpdate) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *RewardPointUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_RewardPointUpdate.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) InstantSpotMarketLaunch(ctx context.Context, in *MsgInstantSpotMarketLaunch, opts ...grpc.CallOption) (*MsgInstantSpotMarketLaunchResponse, error) {
+ out := new(MsgInstantSpotMarketLaunchResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch", in, out, opts...)
+ if err != nil {
+ return nil, err
}
+ return out, nil
}
-func (m *RewardPointUpdate) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RewardPointUpdate.Merge(m, src)
-}
-func (m *RewardPointUpdate) XXX_Size() int {
- return m.Size()
-}
-func (m *RewardPointUpdate) XXX_DiscardUnknown() {
- xxx_messageInfo_RewardPointUpdate.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_RewardPointUpdate proto.InternalMessageInfo
-func (m *RewardPointUpdate) GetAccountAddress() string {
- if m != nil {
- return m.AccountAddress
+func (c *msgClient) InstantPerpetualMarketLaunch(ctx context.Context, in *MsgInstantPerpetualMarketLaunch, opts ...grpc.CallOption) (*MsgInstantPerpetualMarketLaunchResponse, error) {
+ out := new(MsgInstantPerpetualMarketLaunchResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return ""
+ return out, nil
}
-type TradingRewardPendingPointsUpdateProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- PendingPoolTimestamp int64 `protobuf:"varint,3,opt,name=pending_pool_timestamp,json=pendingPoolTimestamp,proto3" json:"pending_pool_timestamp,omitempty"`
- RewardPointUpdates []*RewardPointUpdate `protobuf:"bytes,4,rep,name=reward_point_updates,json=rewardPointUpdates,proto3" json:"reward_point_updates,omitempty"`
+func (c *msgClient) InstantExpiryFuturesMarketLaunch(ctx context.Context, in *MsgInstantExpiryFuturesMarketLaunch, opts ...grpc.CallOption) (*MsgInstantExpiryFuturesMarketLaunchResponse, error) {
+ out := new(MsgInstantExpiryFuturesMarketLaunchResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
}
-func (m *TradingRewardPendingPointsUpdateProposal) Reset() {
- *m = TradingRewardPendingPointsUpdateProposal{}
-}
-func (m *TradingRewardPendingPointsUpdateProposal) String() string { return proto.CompactTextString(m) }
-func (*TradingRewardPendingPointsUpdateProposal) ProtoMessage() {}
-func (*TradingRewardPendingPointsUpdateProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{73}
-}
-func (m *TradingRewardPendingPointsUpdateProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *TradingRewardPendingPointsUpdateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_TradingRewardPendingPointsUpdateProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) CreateSpotLimitOrder(ctx context.Context, in *MsgCreateSpotLimitOrder, opts ...grpc.CallOption) (*MsgCreateSpotLimitOrderResponse, error) {
+ out := new(MsgCreateSpotLimitOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
}
+ return out, nil
}
-func (m *TradingRewardPendingPointsUpdateProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_TradingRewardPendingPointsUpdateProposal.Merge(m, src)
-}
-func (m *TradingRewardPendingPointsUpdateProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *TradingRewardPendingPointsUpdateProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_TradingRewardPendingPointsUpdateProposal.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_TradingRewardPendingPointsUpdateProposal proto.InternalMessageInfo
-type FeeDiscountProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- Schedule *FeeDiscountSchedule `protobuf:"bytes,3,opt,name=schedule,proto3" json:"schedule,omitempty"`
+func (c *msgClient) BatchCreateSpotLimitOrders(ctx context.Context, in *MsgBatchCreateSpotLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateSpotLimitOrdersResponse, error) {
+ out := new(MsgBatchCreateSpotLimitOrdersResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
}
-func (m *FeeDiscountProposal) Reset() { *m = FeeDiscountProposal{} }
-func (m *FeeDiscountProposal) String() string { return proto.CompactTextString(m) }
-func (*FeeDiscountProposal) ProtoMessage() {}
-func (*FeeDiscountProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{74}
-}
-func (m *FeeDiscountProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *FeeDiscountProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_FeeDiscountProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) CreateSpotMarketOrder(ctx context.Context, in *MsgCreateSpotMarketOrder, opts ...grpc.CallOption) (*MsgCreateSpotMarketOrderResponse, error) {
+ out := new(MsgCreateSpotMarketOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
}
-}
-func (m *FeeDiscountProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FeeDiscountProposal.Merge(m, src)
-}
-func (m *FeeDiscountProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *FeeDiscountProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_FeeDiscountProposal.DiscardUnknown(m)
+ return out, nil
}
-var xxx_messageInfo_FeeDiscountProposal proto.InternalMessageInfo
-
-type BatchCommunityPoolSpendProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- Proposals []*types2.CommunityPoolSpendProposal `protobuf:"bytes,3,rep,name=proposals,proto3" json:"proposals,omitempty"`
+func (c *msgClient) CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error) {
+ out := new(MsgCancelSpotOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelSpotOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
}
-func (m *BatchCommunityPoolSpendProposal) Reset() { *m = BatchCommunityPoolSpendProposal{} }
-func (m *BatchCommunityPoolSpendProposal) String() string { return proto.CompactTextString(m) }
-func (*BatchCommunityPoolSpendProposal) ProtoMessage() {}
-func (*BatchCommunityPoolSpendProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{75}
-}
-func (m *BatchCommunityPoolSpendProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *BatchCommunityPoolSpendProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_BatchCommunityPoolSpendProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error) {
+ out := new(MsgBatchCancelSpotOrdersResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders", in, out, opts...)
+ if err != nil {
+ return nil, err
}
+ return out, nil
}
-func (m *BatchCommunityPoolSpendProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BatchCommunityPoolSpendProposal.Merge(m, src)
-}
-func (m *BatchCommunityPoolSpendProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *BatchCommunityPoolSpendProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_BatchCommunityPoolSpendProposal.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BatchCommunityPoolSpendProposal proto.InternalMessageInfo
-// A Cosmos-SDK MsgRewardsOptOut
-type MsgRewardsOptOut struct {
- Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
+func (c *msgClient) BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error) {
+ out := new(MsgBatchUpdateOrdersResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
}
-func (m *MsgRewardsOptOut) Reset() { *m = MsgRewardsOptOut{} }
-func (m *MsgRewardsOptOut) String() string { return proto.CompactTextString(m) }
-func (*MsgRewardsOptOut) ProtoMessage() {}
-func (*MsgRewardsOptOut) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{76}
-}
-func (m *MsgRewardsOptOut) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgRewardsOptOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgRewardsOptOut.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) PrivilegedExecuteContract(ctx context.Context, in *MsgPrivilegedExecuteContract, opts ...grpc.CallOption) (*MsgPrivilegedExecuteContractResponse, error) {
+ out := new(MsgPrivilegedExecuteContractResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract", in, out, opts...)
+ if err != nil {
+ return nil, err
}
+ return out, nil
}
-func (m *MsgRewardsOptOut) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgRewardsOptOut.Merge(m, src)
-}
-func (m *MsgRewardsOptOut) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgRewardsOptOut) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgRewardsOptOut.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgRewardsOptOut proto.InternalMessageInfo
-func (m *MsgRewardsOptOut) GetSender() string {
- if m != nil {
- return m.Sender
+func (c *msgClient) CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error) {
+ out := new(MsgCreateDerivativeLimitOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return ""
+ return out, nil
}
-// MsgRewardsOptOutResponse defines the Msg/RewardsOptOut response type.
-type MsgRewardsOptOutResponse struct {
+func (c *msgClient) BatchCreateDerivativeLimitOrders(ctx context.Context, in *MsgBatchCreateDerivativeLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateDerivativeLimitOrdersResponse, error) {
+ out := new(MsgBatchCreateDerivativeLimitOrdersResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
}
-func (m *MsgRewardsOptOutResponse) Reset() { *m = MsgRewardsOptOutResponse{} }
-func (m *MsgRewardsOptOutResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgRewardsOptOutResponse) ProtoMessage() {}
-func (*MsgRewardsOptOutResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{77}
-}
-func (m *MsgRewardsOptOutResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgRewardsOptOutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgRewardsOptOutResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) CreateDerivativeMarketOrder(ctx context.Context, in *MsgCreateDerivativeMarketOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeMarketOrderResponse, error) {
+ out := new(MsgCreateDerivativeMarketOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
}
+ return out, nil
}
-func (m *MsgRewardsOptOutResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgRewardsOptOutResponse.Merge(m, src)
-}
-func (m *MsgRewardsOptOutResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgRewardsOptOutResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgRewardsOptOutResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgRewardsOptOutResponse proto.InternalMessageInfo
-// A Cosmos-SDK MsgReclaimLockedFunds
-type MsgReclaimLockedFunds struct {
- Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
- LockedAccountPubKey []byte `protobuf:"bytes,2,opt,name=lockedAccountPubKey,proto3" json:"lockedAccountPubKey,omitempty"`
- Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
+func (c *msgClient) CancelDerivativeOrder(ctx context.Context, in *MsgCancelDerivativeOrder, opts ...grpc.CallOption) (*MsgCancelDerivativeOrderResponse, error) {
+ out := new(MsgCancelDerivativeOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
}
-func (m *MsgReclaimLockedFunds) Reset() { *m = MsgReclaimLockedFunds{} }
-func (m *MsgReclaimLockedFunds) String() string { return proto.CompactTextString(m) }
-func (*MsgReclaimLockedFunds) ProtoMessage() {}
-func (*MsgReclaimLockedFunds) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{78}
-}
-func (m *MsgReclaimLockedFunds) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgReclaimLockedFunds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgReclaimLockedFunds.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) BatchCancelDerivativeOrders(ctx context.Context, in *MsgBatchCancelDerivativeOrders, opts ...grpc.CallOption) (*MsgBatchCancelDerivativeOrdersResponse, error) {
+ out := new(MsgBatchCancelDerivativeOrdersResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders", in, out, opts...)
+ if err != nil {
+ return nil, err
}
-}
-func (m *MsgReclaimLockedFunds) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgReclaimLockedFunds.Merge(m, src)
-}
-func (m *MsgReclaimLockedFunds) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgReclaimLockedFunds) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgReclaimLockedFunds.DiscardUnknown(m)
+ return out, nil
}
-var xxx_messageInfo_MsgReclaimLockedFunds proto.InternalMessageInfo
-
-func (m *MsgReclaimLockedFunds) GetSender() string {
- if m != nil {
- return m.Sender
+func (c *msgClient) InstantBinaryOptionsMarketLaunch(ctx context.Context, in *MsgInstantBinaryOptionsMarketLaunch, opts ...grpc.CallOption) (*MsgInstantBinaryOptionsMarketLaunchResponse, error) {
+ out := new(MsgInstantBinaryOptionsMarketLaunchResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return ""
+ return out, nil
}
-func (m *MsgReclaimLockedFunds) GetLockedAccountPubKey() []byte {
- if m != nil {
- return m.LockedAccountPubKey
+func (c *msgClient) CreateBinaryOptionsLimitOrder(ctx context.Context, in *MsgCreateBinaryOptionsLimitOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsLimitOrderResponse, error) {
+ out := new(MsgCreateBinaryOptionsLimitOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return nil
+ return out, nil
}
-func (m *MsgReclaimLockedFunds) GetSignature() []byte {
- if m != nil {
- return m.Signature
+func (c *msgClient) CreateBinaryOptionsMarketOrder(ctx context.Context, in *MsgCreateBinaryOptionsMarketOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsMarketOrderResponse, error) {
+ out := new(MsgCreateBinaryOptionsMarketOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return nil
+ return out, nil
}
-// MsgReclaimLockedFundsResponse defines the Msg/ReclaimLockedFunds response
-// type.
-type MsgReclaimLockedFundsResponse struct {
-}
-
-func (m *MsgReclaimLockedFundsResponse) Reset() { *m = MsgReclaimLockedFundsResponse{} }
-func (m *MsgReclaimLockedFundsResponse) String() string { return proto.CompactTextString(m) }
-func (*MsgReclaimLockedFundsResponse) ProtoMessage() {}
-func (*MsgReclaimLockedFundsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{79}
-}
-func (m *MsgReclaimLockedFundsResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgReclaimLockedFundsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgReclaimLockedFundsResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgReclaimLockedFundsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgReclaimLockedFundsResponse.Merge(m, src)
-}
-func (m *MsgReclaimLockedFundsResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgReclaimLockedFundsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgReclaimLockedFundsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgReclaimLockedFundsResponse proto.InternalMessageInfo
-
-// MsgSignData defines an arbitrary, general-purpose, off-chain message
-type MsgSignData struct {
- // Signer is the sdk.AccAddress of the message signer
- Signer github_com_cosmos_cosmos_sdk_types.AccAddress `protobuf:"bytes,1,opt,name=Signer,proto3,casttype=github.com/cosmos/cosmos-sdk/types.AccAddress" json:"signer"`
- // Data represents the raw bytes of the content that is signed (text, json,
- // etc)
- Data []byte `protobuf:"bytes,2,opt,name=Data,proto3" json:"data"`
-}
-
-func (m *MsgSignData) Reset() { *m = MsgSignData{} }
-func (m *MsgSignData) String() string { return proto.CompactTextString(m) }
-func (*MsgSignData) ProtoMessage() {}
-func (*MsgSignData) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{80}
-}
-func (m *MsgSignData) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgSignData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgSignData.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgSignData) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgSignData.Merge(m, src)
-}
-func (m *MsgSignData) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgSignData) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgSignData.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgSignData proto.InternalMessageInfo
-
-func (m *MsgSignData) GetSigner() github_com_cosmos_cosmos_sdk_types.AccAddress {
- if m != nil {
- return m.Signer
+func (c *msgClient) CancelBinaryOptionsOrder(ctx context.Context, in *MsgCancelBinaryOptionsOrder, opts ...grpc.CallOption) (*MsgCancelBinaryOptionsOrderResponse, error) {
+ out := new(MsgCancelBinaryOptionsOrderResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return nil
+ return out, nil
}
-func (m *MsgSignData) GetData() []byte {
- if m != nil {
- return m.Data
+func (c *msgClient) BatchCancelBinaryOptionsOrders(ctx context.Context, in *MsgBatchCancelBinaryOptionsOrders, opts ...grpc.CallOption) (*MsgBatchCancelBinaryOptionsOrdersResponse, error) {
+ out := new(MsgBatchCancelBinaryOptionsOrdersResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return nil
-}
-
-// MsgSignDoc defines an arbitrary, general-purpose, off-chain message
-type MsgSignDoc struct {
- SignType string `protobuf:"bytes,1,opt,name=sign_type,json=signType,proto3" json:"type"`
- Value MsgSignData `protobuf:"bytes,2,opt,name=value,proto3" json:"value"`
+ return out, nil
}
-func (m *MsgSignDoc) Reset() { *m = MsgSignDoc{} }
-func (m *MsgSignDoc) String() string { return proto.CompactTextString(m) }
-func (*MsgSignDoc) ProtoMessage() {}
-func (*MsgSignDoc) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{81}
-}
-func (m *MsgSignDoc) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgSignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgSignDoc.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) SubaccountTransfer(ctx context.Context, in *MsgSubaccountTransfer, opts ...grpc.CallOption) (*MsgSubaccountTransferResponse, error) {
+ out := new(MsgSubaccountTransferResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/SubaccountTransfer", in, out, opts...)
+ if err != nil {
+ return nil, err
}
+ return out, nil
}
-func (m *MsgSignDoc) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgSignDoc.Merge(m, src)
-}
-func (m *MsgSignDoc) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgSignDoc) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgSignDoc.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgSignDoc proto.InternalMessageInfo
-func (m *MsgSignDoc) GetSignType() string {
- if m != nil {
- return m.SignType
+func (c *msgClient) ExternalTransfer(ctx context.Context, in *MsgExternalTransfer, opts ...grpc.CallOption) (*MsgExternalTransferResponse, error) {
+ out := new(MsgExternalTransferResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/ExternalTransfer", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return ""
+ return out, nil
}
-func (m *MsgSignDoc) GetValue() MsgSignData {
- if m != nil {
- return m.Value
+func (c *msgClient) LiquidatePosition(ctx context.Context, in *MsgLiquidatePosition, opts ...grpc.CallOption) (*MsgLiquidatePositionResponse, error) {
+ out := new(MsgLiquidatePositionResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/LiquidatePosition", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return MsgSignData{}
-}
-
-// MsgAdminUpdateBinaryOptionsMarket is used by the market Admin to operate the
-// market
-type MsgAdminUpdateBinaryOptionsMarket struct {
- Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
- MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // new price at which market will be settled
- SettlementPrice *github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=settlement_price,json=settlementPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"settlement_price,omitempty"`
- // expiration timestamp
- ExpirationTimestamp int64 `protobuf:"varint,4,opt,name=expiration_timestamp,json=expirationTimestamp,proto3" json:"expiration_timestamp,omitempty"`
- // expiration timestamp
- SettlementTimestamp int64 `protobuf:"varint,5,opt,name=settlement_timestamp,json=settlementTimestamp,proto3" json:"settlement_timestamp,omitempty"`
- // Status of the market
- Status MarketStatus `protobuf:"varint,6,opt,name=status,proto3,enum=injective.exchange.v1beta1.MarketStatus" json:"status,omitempty"`
+ return out, nil
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) Reset() { *m = MsgAdminUpdateBinaryOptionsMarket{} }
-func (m *MsgAdminUpdateBinaryOptionsMarket) String() string { return proto.CompactTextString(m) }
-func (*MsgAdminUpdateBinaryOptionsMarket) ProtoMessage() {}
-func (*MsgAdminUpdateBinaryOptionsMarket) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{82}
-}
-func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
+func (c *msgClient) EmergencySettleMarket(ctx context.Context, in *MsgEmergencySettleMarket, opts ...grpc.CallOption) (*MsgEmergencySettleMarketResponse, error) {
+ out := new(MsgEmergencySettleMarketResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/EmergencySettleMarket", in, out, opts...)
+ if err != nil {
+ return nil, err
}
-}
-func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.Merge(m, src)
-}
-func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgAdminUpdateBinaryOptionsMarket) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket.DiscardUnknown(m)
+ return out, nil
}
-var xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarket proto.InternalMessageInfo
-
-func (m *MsgAdminUpdateBinaryOptionsMarket) GetSender() string {
- if m != nil {
- return m.Sender
+func (c *msgClient) IncreasePositionMargin(ctx context.Context, in *MsgIncreasePositionMargin, opts ...grpc.CallOption) (*MsgIncreasePositionMarginResponse, error) {
+ out := new(MsgIncreasePositionMarginResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/IncreasePositionMargin", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return ""
+ return out, nil
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) GetMarketId() string {
- if m != nil {
- return m.MarketId
+func (c *msgClient) RewardsOptOut(ctx context.Context, in *MsgRewardsOptOut, opts ...grpc.CallOption) (*MsgRewardsOptOutResponse, error) {
+ out := new(MsgRewardsOptOutResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/RewardsOptOut", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return ""
+ return out, nil
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) GetExpirationTimestamp() int64 {
- if m != nil {
- return m.ExpirationTimestamp
+func (c *msgClient) AdminUpdateBinaryOptionsMarket(ctx context.Context, in *MsgAdminUpdateBinaryOptionsMarket, opts ...grpc.CallOption) (*MsgAdminUpdateBinaryOptionsMarketResponse, error) {
+ out := new(MsgAdminUpdateBinaryOptionsMarketResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return 0
+ return out, nil
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) GetSettlementTimestamp() int64 {
- if m != nil {
- return m.SettlementTimestamp
+func (c *msgClient) ReclaimLockedFunds(ctx context.Context, in *MsgReclaimLockedFunds, opts ...grpc.CallOption) (*MsgReclaimLockedFundsResponse, error) {
+ out := new(MsgReclaimLockedFundsResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/ReclaimLockedFunds", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return 0
+ return out, nil
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) GetStatus() MarketStatus {
- if m != nil {
- return m.Status
+func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
+ out := new(MsgUpdateParamsResponse)
+ err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/UpdateParams", in, out, opts...)
+ if err != nil {
+ return nil, err
}
- return MarketStatus_Unspecified
+ return out, nil
}
-// MsgAdminUpdateBinaryOptionsMarketResponse is the response for
-// AdminUpdateBinaryOptionsMarket rpc method
-type MsgAdminUpdateBinaryOptionsMarketResponse struct {
-}
-
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Reset() {
- *m = MsgAdminUpdateBinaryOptionsMarketResponse{}
-}
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) String() string {
- return proto.CompactTextString(m)
-}
-func (*MsgAdminUpdateBinaryOptionsMarketResponse) ProtoMessage() {}
-func (*MsgAdminUpdateBinaryOptionsMarketResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{83}
-}
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.Merge(m, src)
-}
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_Size() int {
- return m.Size()
-}
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_MsgAdminUpdateBinaryOptionsMarketResponse proto.InternalMessageInfo
-
-// AtomicMarketOrderFeeMultiplierScheduleProposal defines a SDK message for
-// proposing new atomic take fee multipliers for specified markets
-type AtomicMarketOrderFeeMultiplierScheduleProposal struct {
- Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
- Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
- MarketFeeMultipliers []*MarketFeeMultiplier `protobuf:"bytes,3,rep,name=market_fee_multipliers,json=marketFeeMultipliers,proto3" json:"market_fee_multipliers,omitempty"`
-}
-
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Reset() {
- *m = AtomicMarketOrderFeeMultiplierScheduleProposal{}
-}
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) String() string {
- return proto.CompactTextString(m)
-}
-func (*AtomicMarketOrderFeeMultiplierScheduleProposal) ProtoMessage() {}
-func (*AtomicMarketOrderFeeMultiplierScheduleProposal) Descriptor() ([]byte, []int) {
- return fileDescriptor_bd45b74cb6d81462, []int{84}
-}
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal.Merge(m, src)
-}
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_Size() int {
- return m.Size()
-}
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) XXX_DiscardUnknown() {
- xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AtomicMarketOrderFeeMultiplierScheduleProposal proto.InternalMessageInfo
-
-func init() {
- proto.RegisterEnum("injective.exchange.v1beta1.ExchangeType", ExchangeType_name, ExchangeType_value)
- proto.RegisterType((*MsgUpdateParams)(nil), "injective.exchange.v1beta1.MsgUpdateParams")
- proto.RegisterType((*MsgUpdateParamsResponse)(nil), "injective.exchange.v1beta1.MsgUpdateParamsResponse")
- proto.RegisterType((*MsgDeposit)(nil), "injective.exchange.v1beta1.MsgDeposit")
- proto.RegisterType((*MsgDepositResponse)(nil), "injective.exchange.v1beta1.MsgDepositResponse")
- proto.RegisterType((*MsgWithdraw)(nil), "injective.exchange.v1beta1.MsgWithdraw")
- proto.RegisterType((*MsgWithdrawResponse)(nil), "injective.exchange.v1beta1.MsgWithdrawResponse")
- proto.RegisterType((*MsgCreateSpotLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateSpotLimitOrder")
- proto.RegisterType((*MsgCreateSpotLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateSpotLimitOrderResponse")
- proto.RegisterType((*MsgBatchCreateSpotLimitOrders)(nil), "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrders")
- proto.RegisterType((*MsgBatchCreateSpotLimitOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCreateSpotLimitOrdersResponse")
- proto.RegisterType((*MsgInstantSpotMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantSpotMarketLaunch")
- proto.RegisterType((*MsgInstantSpotMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantSpotMarketLaunchResponse")
- proto.RegisterType((*MsgInstantPerpetualMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunch")
- proto.RegisterType((*MsgInstantPerpetualMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantPerpetualMarketLaunchResponse")
- proto.RegisterType((*MsgInstantBinaryOptionsMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunch")
- proto.RegisterType((*MsgInstantBinaryOptionsMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantBinaryOptionsMarketLaunchResponse")
- proto.RegisterType((*MsgInstantExpiryFuturesMarketLaunch)(nil), "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunch")
- proto.RegisterType((*MsgInstantExpiryFuturesMarketLaunchResponse)(nil), "injective.exchange.v1beta1.MsgInstantExpiryFuturesMarketLaunchResponse")
- proto.RegisterType((*MsgCreateSpotMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateSpotMarketOrder")
- proto.RegisterType((*MsgCreateSpotMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateSpotMarketOrderResponse")
- proto.RegisterType((*SpotMarketOrderResults)(nil), "injective.exchange.v1beta1.SpotMarketOrderResults")
- proto.RegisterType((*MsgCreateDerivativeLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrder")
- proto.RegisterType((*MsgCreateDerivativeLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeLimitOrderResponse")
- proto.RegisterType((*MsgCreateBinaryOptionsLimitOrder)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrder")
- proto.RegisterType((*MsgCreateBinaryOptionsLimitOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsLimitOrderResponse")
- proto.RegisterType((*MsgBatchCreateDerivativeLimitOrders)(nil), "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrders")
- proto.RegisterType((*MsgBatchCreateDerivativeLimitOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCreateDerivativeLimitOrdersResponse")
- proto.RegisterType((*MsgCancelSpotOrder)(nil), "injective.exchange.v1beta1.MsgCancelSpotOrder")
- proto.RegisterType((*MsgCancelSpotOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelSpotOrderResponse")
- proto.RegisterType((*MsgBatchCancelSpotOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrders")
- proto.RegisterType((*MsgBatchCancelSpotOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelSpotOrdersResponse")
- proto.RegisterType((*MsgBatchCancelBinaryOptionsOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrders")
- proto.RegisterType((*MsgBatchCancelBinaryOptionsOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelBinaryOptionsOrdersResponse")
- proto.RegisterType((*MsgBatchUpdateOrders)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrders")
- proto.RegisterType((*MsgBatchUpdateOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchUpdateOrdersResponse")
- proto.RegisterType((*MsgCreateDerivativeMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrder")
- proto.RegisterType((*MsgCreateDerivativeMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateDerivativeMarketOrderResponse")
- proto.RegisterType((*DerivativeMarketOrderResults)(nil), "injective.exchange.v1beta1.DerivativeMarketOrderResults")
- proto.RegisterType((*MsgCreateBinaryOptionsMarketOrder)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrder")
- proto.RegisterType((*MsgCreateBinaryOptionsMarketOrderResponse)(nil), "injective.exchange.v1beta1.MsgCreateBinaryOptionsMarketOrderResponse")
- proto.RegisterType((*MsgCancelDerivativeOrder)(nil), "injective.exchange.v1beta1.MsgCancelDerivativeOrder")
- proto.RegisterType((*MsgCancelDerivativeOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelDerivativeOrderResponse")
- proto.RegisterType((*MsgCancelBinaryOptionsOrder)(nil), "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrder")
- proto.RegisterType((*MsgCancelBinaryOptionsOrderResponse)(nil), "injective.exchange.v1beta1.MsgCancelBinaryOptionsOrderResponse")
- proto.RegisterType((*OrderData)(nil), "injective.exchange.v1beta1.OrderData")
- proto.RegisterType((*MsgBatchCancelDerivativeOrders)(nil), "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrders")
- proto.RegisterType((*MsgBatchCancelDerivativeOrdersResponse)(nil), "injective.exchange.v1beta1.MsgBatchCancelDerivativeOrdersResponse")
- proto.RegisterType((*MsgSubaccountTransfer)(nil), "injective.exchange.v1beta1.MsgSubaccountTransfer")
- proto.RegisterType((*MsgSubaccountTransferResponse)(nil), "injective.exchange.v1beta1.MsgSubaccountTransferResponse")
- proto.RegisterType((*MsgExternalTransfer)(nil), "injective.exchange.v1beta1.MsgExternalTransfer")
- proto.RegisterType((*MsgExternalTransferResponse)(nil), "injective.exchange.v1beta1.MsgExternalTransferResponse")
- proto.RegisterType((*MsgLiquidatePosition)(nil), "injective.exchange.v1beta1.MsgLiquidatePosition")
- proto.RegisterType((*MsgLiquidatePositionResponse)(nil), "injective.exchange.v1beta1.MsgLiquidatePositionResponse")
- proto.RegisterType((*MsgIncreasePositionMargin)(nil), "injective.exchange.v1beta1.MsgIncreasePositionMargin")
- proto.RegisterType((*MsgIncreasePositionMarginResponse)(nil), "injective.exchange.v1beta1.MsgIncreasePositionMarginResponse")
- proto.RegisterType((*MsgPrivilegedExecuteContract)(nil), "injective.exchange.v1beta1.MsgPrivilegedExecuteContract")
- proto.RegisterType((*MsgPrivilegedExecuteContractResponse)(nil), "injective.exchange.v1beta1.MsgPrivilegedExecuteContractResponse")
- proto.RegisterType((*SpotMarketParamUpdateProposal)(nil), "injective.exchange.v1beta1.SpotMarketParamUpdateProposal")
- proto.RegisterType((*ExchangeEnableProposal)(nil), "injective.exchange.v1beta1.ExchangeEnableProposal")
- proto.RegisterType((*BatchExchangeModificationProposal)(nil), "injective.exchange.v1beta1.BatchExchangeModificationProposal")
- proto.RegisterType((*SpotMarketLaunchProposal)(nil), "injective.exchange.v1beta1.SpotMarketLaunchProposal")
- proto.RegisterType((*PerpetualMarketLaunchProposal)(nil), "injective.exchange.v1beta1.PerpetualMarketLaunchProposal")
- proto.RegisterType((*BinaryOptionsMarketLaunchProposal)(nil), "injective.exchange.v1beta1.BinaryOptionsMarketLaunchProposal")
- proto.RegisterType((*ExpiryFuturesMarketLaunchProposal)(nil), "injective.exchange.v1beta1.ExpiryFuturesMarketLaunchProposal")
- proto.RegisterType((*DerivativeMarketParamUpdateProposal)(nil), "injective.exchange.v1beta1.DerivativeMarketParamUpdateProposal")
- proto.RegisterType((*MarketForcedSettlementProposal)(nil), "injective.exchange.v1beta1.MarketForcedSettlementProposal")
- proto.RegisterType((*UpdateDenomDecimalsProposal)(nil), "injective.exchange.v1beta1.UpdateDenomDecimalsProposal")
- proto.RegisterType((*BinaryOptionsMarketParamUpdateProposal)(nil), "injective.exchange.v1beta1.BinaryOptionsMarketParamUpdateProposal")
- proto.RegisterType((*ProviderOracleParams)(nil), "injective.exchange.v1beta1.ProviderOracleParams")
- proto.RegisterType((*OracleParams)(nil), "injective.exchange.v1beta1.OracleParams")
- proto.RegisterType((*TradingRewardCampaignLaunchProposal)(nil), "injective.exchange.v1beta1.TradingRewardCampaignLaunchProposal")
- proto.RegisterType((*TradingRewardCampaignUpdateProposal)(nil), "injective.exchange.v1beta1.TradingRewardCampaignUpdateProposal")
- proto.RegisterType((*RewardPointUpdate)(nil), "injective.exchange.v1beta1.RewardPointUpdate")
- proto.RegisterType((*TradingRewardPendingPointsUpdateProposal)(nil), "injective.exchange.v1beta1.TradingRewardPendingPointsUpdateProposal")
- proto.RegisterType((*FeeDiscountProposal)(nil), "injective.exchange.v1beta1.FeeDiscountProposal")
- proto.RegisterType((*BatchCommunityPoolSpendProposal)(nil), "injective.exchange.v1beta1.BatchCommunityPoolSpendProposal")
- proto.RegisterType((*MsgRewardsOptOut)(nil), "injective.exchange.v1beta1.MsgRewardsOptOut")
- proto.RegisterType((*MsgRewardsOptOutResponse)(nil), "injective.exchange.v1beta1.MsgRewardsOptOutResponse")
- proto.RegisterType((*MsgReclaimLockedFunds)(nil), "injective.exchange.v1beta1.MsgReclaimLockedFunds")
- proto.RegisterType((*MsgReclaimLockedFundsResponse)(nil), "injective.exchange.v1beta1.MsgReclaimLockedFundsResponse")
- proto.RegisterType((*MsgSignData)(nil), "injective.exchange.v1beta1.MsgSignData")
- proto.RegisterType((*MsgSignDoc)(nil), "injective.exchange.v1beta1.MsgSignDoc")
- proto.RegisterType((*MsgAdminUpdateBinaryOptionsMarket)(nil), "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarket")
- proto.RegisterType((*MsgAdminUpdateBinaryOptionsMarketResponse)(nil), "injective.exchange.v1beta1.MsgAdminUpdateBinaryOptionsMarketResponse")
- proto.RegisterType((*AtomicMarketOrderFeeMultiplierScheduleProposal)(nil), "injective.exchange.v1beta1.AtomicMarketOrderFeeMultiplierScheduleProposal")
-}
-
-func init() {
- proto.RegisterFile("injective/exchange/v1beta1/tx.proto", fileDescriptor_bd45b74cb6d81462)
-}
-
-var fileDescriptor_bd45b74cb6d81462 = []byte{
- // 4497 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x3d, 0x6d, 0x6c, 0x1c, 0x49,
- 0x56, 0x69, 0x7b, 0x3c, 0xf6, 0x3c, 0x8f, 0xed, 0xa4, 0xed, 0x38, 0x93, 0x49, 0xfc, 0x91, 0xf1,
- 0x26, 0x71, 0x76, 0x89, 0xbd, 0xc9, 0xe5, 0x36, 0xb7, 0x59, 0x42, 0xd6, 0x9f, 0xbb, 0xbe, 0x8d,
- 0x37, 0xbe, 0x1e, 0xef, 0x72, 0xac, 0xc4, 0x0d, 0xed, 0x9e, 0xf2, 0xb8, 0x37, 0x33, 0xdd, 0x93,
- 0xae, 0x9a, 0x24, 0x3e, 0x9d, 0x04, 0x3a, 0x1d, 0xd2, 0x92, 0x05, 0x74, 0x0b, 0x7b, 0xda, 0xe3,
- 0x60, 0x61, 0x11, 0x12, 0x20, 0x40, 0x80, 0xc4, 0xfd, 0xe4, 0x0f, 0x87, 0x40, 0x07, 0xf7, 0x83,
- 0x15, 0xbf, 0x4e, 0xfc, 0x08, 0xb0, 0x2b, 0xc4, 0x69, 0x25, 0xfe, 0xc2, 0xe9, 0x7e, 0x20, 0xd4,
- 0x55, 0xd5, 0x3d, 0xfd, 0xfd, 0x65, 0x4f, 0x36, 0x44, 0xfb, 0xcb, 0xd3, 0x55, 0xf5, 0x5e, 0xbd,
- 0xf7, 0xea, 0xbd, 0x57, 0x55, 0xaf, 0x5e, 0x95, 0x61, 0x4e, 0xd5, 0xde, 0x44, 0x0a, 0x51, 0xef,
- 0xa2, 0x45, 0x74, 0x5f, 0xd9, 0x93, 0xb5, 0x06, 0x5a, 0xbc, 0x7b, 0x69, 0x07, 0x11, 0xf9, 0xd2,
- 0x22, 0xb9, 0xbf, 0xd0, 0x36, 0x74, 0xa2, 0x8b, 0x65, 0xbb, 0xd1, 0x82, 0xd5, 0x68, 0x81, 0x37,
- 0x2a, 0x4f, 0x2b, 0x3a, 0x6e, 0xe9, 0x78, 0x71, 0x47, 0xc6, 0x5d, 0x48, 0x45, 0x57, 0x35, 0x06,
- 0x5b, 0x5e, 0xe0, 0xf5, 0x75, 0x15, 0x13, 0x43, 0xdd, 0xe9, 0x10, 0x55, 0xd7, 0xec, 0x76, 0xce,
- 0x42, 0xde, 0xfe, 0x04, 0x6f, 0xdf, 0xc2, 0x8d, 0xc5, 0xbb, 0x97, 0xcc, 0x3f, 0xbc, 0xe2, 0x24,
- 0xab, 0xa8, 0xd1, 0xaf, 0x45, 0xf6, 0xc1, 0xab, 0x26, 0x1a, 0x7a, 0x43, 0x67, 0xe5, 0xe6, 0x2f,
- 0x5e, 0x7a, 0x21, 0x82, 0x35, 0x9b, 0x0d, 0xd6, 0xf4, 0x6c, 0xb7, 0xa9, 0x6e, 0xc8, 0x4a, 0xb3,
- 0xdb, 0x90, 0x7d, 0xb2, 0x66, 0x95, 0xdf, 0x16, 0x60, 0x6c, 0x13, 0x37, 0x5e, 0x6b, 0xd7, 0x65,
- 0x82, 0xb6, 0x64, 0x43, 0x6e, 0x61, 0xf1, 0x39, 0x28, 0xc8, 0x1d, 0xb2, 0xa7, 0x1b, 0x2a, 0xd9,
- 0x2f, 0x09, 0xb3, 0xc2, 0x7c, 0x61, 0xb9, 0xf4, 0xcf, 0xdf, 0xbd, 0x38, 0xc1, 0x09, 0x5c, 0xaa,
- 0xd7, 0x0d, 0x84, 0x71, 0x95, 0x18, 0xaa, 0xd6, 0x90, 0xba, 0x4d, 0xc5, 0x17, 0x21, 0xdf, 0xa6,
- 0x18, 0x4a, 0x7d, 0xb3, 0xc2, 0xfc, 0xf0, 0xe5, 0xca, 0x42, 0xb8, 0x90, 0x17, 0x58, 0x5f, 0xcb,
- 0xb9, 0xef, 0x3f, 0x9c, 0x39, 0x22, 0x71, 0xb8, 0x6b, 0xa3, 0x5f, 0xff, 0xcf, 0xbf, 0x7c, 0xba,
- 0x8b, 0xb1, 0x72, 0x12, 0x4e, 0x78, 0x88, 0x93, 0x10, 0x6e, 0xeb, 0x1a, 0x46, 0x95, 0xf7, 0x04,
- 0x80, 0x4d, 0xdc, 0x58, 0x45, 0x6d, 0x1d, 0xab, 0x44, 0x9c, 0x84, 0x3c, 0x46, 0x5a, 0x1d, 0x19,
- 0x8c, 0x60, 0x89, 0x7f, 0x89, 0x73, 0x30, 0x82, 0x3b, 0x3b, 0xb2, 0xa2, 0xe8, 0x1d, 0x8d, 0xd4,
- 0xd4, 0x3a, 0x25, 0xad, 0x20, 0x15, 0xbb, 0x85, 0x1b, 0x75, 0xf1, 0x2a, 0xe4, 0xe5, 0x96, 0xf9,
- 0xbb, 0xd4, 0x4f, 0x09, 0x3f, 0xc9, 0x47, 0x78, 0xc1, 0xd4, 0x00, 0x9b, 0xe2, 0x15, 0x5d, 0xd5,
- 0x2c, 0x7a, 0x59, 0xf3, 0x6b, 0xe3, 0x6f, 0x7d, 0x30, 0x73, 0xe4, 0x47, 0x1f, 0xcc, 0x1c, 0x31,
- 0xe9, 0xe6, 0x5d, 0x56, 0x26, 0x40, 0xec, 0x12, 0x66, 0xd3, 0xfb, 0x6d, 0x01, 0x86, 0x37, 0x71,
- 0xe3, 0x67, 0x55, 0xb2, 0x57, 0x37, 0xe4, 0x7b, 0x8f, 0x13, 0xc1, 0xc7, 0x61, 0xdc, 0x41, 0x99,
- 0x4d, 0xf1, 0xaf, 0x08, 0x54, 0xfa, 0x2b, 0x06, 0x92, 0x09, 0xaa, 0xb6, 0x75, 0x72, 0x53, 0x6d,
- 0xa9, 0xe4, 0x96, 0x61, 0x52, 0x19, 0x46, 0xfd, 0x12, 0x0c, 0xe8, 0x66, 0x03, 0xae, 0x01, 0x67,
- 0xa3, 0x34, 0xc0, 0x44, 0x49, 0xb1, 0x71, 0x1a, 0x19, 0x64, 0x30, 0x89, 0x5f, 0x84, 0x99, 0x10,
- 0x52, 0x2c, 0x72, 0xc5, 0x29, 0x00, 0x8a, 0xa0, 0xb6, 0x27, 0xe3, 0x3d, 0x4e, 0x56, 0x81, 0x96,
- 0xbc, 0x2c, 0xe3, 0xbd, 0x6b, 0x43, 0x16, 0xda, 0xca, 0x3b, 0x02, 0x4c, 0x6d, 0xe2, 0xc6, 0xb2,
- 0x4c, 0x94, 0xbd, 0x20, 0x8c, 0x38, 0x94, 0xbb, 0x15, 0xc8, 0x53, 0x84, 0xa6, 0x82, 0xf7, 0xa7,
- 0x65, 0x8f, 0x83, 0x06, 0xf3, 0xb7, 0x0d, 0x67, 0x23, 0x49, 0xb2, 0xb9, 0x3c, 0x03, 0xc5, 0x2e,
- 0x97, 0x08, 0x97, 0x84, 0xd9, 0xfe, 0xf9, 0x82, 0x34, 0x6c, 0xf3, 0x89, 0xb0, 0x83, 0xd3, 0xff,
- 0xe8, 0x83, 0xf2, 0x26, 0x6e, 0x6c, 0x68, 0x98, 0xc8, 0x1a, 0x31, 0x51, 0x6e, 0xca, 0xc6, 0x6d,
- 0x44, 0x6e, 0xca, 0x1d, 0x4d, 0xd9, 0x0b, 0x65, 0x73, 0x12, 0xf2, 0x44, 0x55, 0x6e, 0xf3, 0x51,
- 0x2c, 0x48, 0xfc, 0xcb, 0x94, 0xb0, 0xa9, 0x5f, 0xb5, 0x3a, 0xd2, 0xf4, 0x16, 0xd5, 0xbc, 0x82,
- 0x54, 0x30, 0x4b, 0x56, 0xcd, 0x02, 0x71, 0x06, 0x86, 0xef, 0x74, 0x74, 0x62, 0xd5, 0xe7, 0x68,
- 0x3d, 0xd0, 0x22, 0xd6, 0xe0, 0xe7, 0x61, 0xbc, 0xa5, 0x6a, 0xb5, 0xb6, 0xa1, 0x2a, 0xa8, 0x66,
- 0xe2, 0xac, 0x61, 0xf5, 0xab, 0xa8, 0x34, 0x40, 0x3d, 0xcc, 0x82, 0x29, 0xa4, 0x7f, 0x79, 0x38,
- 0x73, 0xae, 0xa1, 0x92, 0xbd, 0xce, 0xce, 0x82, 0xa2, 0xb7, 0xb8, 0x47, 0xe4, 0x7f, 0x2e, 0xe2,
- 0xfa, 0xed, 0x45, 0xb2, 0xdf, 0x46, 0x78, 0x61, 0x15, 0x29, 0xd2, 0xd1, 0x96, 0xaa, 0x6d, 0x99,
- 0x98, 0xb6, 0x55, 0xe5, 0x76, 0x55, 0xfd, 0x2a, 0x12, 0x15, 0x98, 0x34, 0xd1, 0xdf, 0xe9, 0xc8,
- 0x1a, 0x51, 0xc9, 0xbe, 0xa3, 0x87, 0x7c, 0xa6, 0x1e, 0x4c, 0x62, 0xbf, 0xc4, 0x91, 0x59, 0x9d,
- 0x04, 0x8f, 0xde, 0x53, 0x50, 0x09, 0x17, 0xb3, 0x6d, 0x4f, 0xff, 0x9b, 0xa7, 0x4a, 0xcc, 0x9b,
- 0x6d, 0x21, 0xa3, 0x8d, 0x48, 0x47, 0x6e, 0x1e, 0x68, 0x48, 0x3c, 0x32, 0xef, 0xf7, 0xc9, 0x7c,
- 0x06, 0x86, 0x99, 0xbf, 0xaf, 0x99, 0x03, 0x65, 0x0d, 0x0a, 0x2b, 0x5a, 0x96, 0x2d, 0x85, 0xa2,
- 0x0d, 0x28, 0x14, 0x1b, 0x0d, 0x89, 0x03, 0x7d, 0xc9, 0x2c, 0x12, 0x17, 0x60, 0x9c, 0x37, 0xc1,
- 0x8a, 0xdc, 0x44, 0xb5, 0x5d, 0x59, 0x21, 0xba, 0x41, 0xa5, 0x3a, 0x22, 0x1d, 0x63, 0x55, 0x55,
- 0xb3, 0x66, 0x9d, 0x56, 0x88, 0x6b, 0x76, 0x9f, 0xa6, 0x30, 0x4b, 0x83, 0xb3, 0xc2, 0xfc, 0xe8,
- 0xe5, 0xa7, 0x1c, 0xb6, 0xc2, 0x67, 0x20, 0xcb, 0x52, 0x6e, 0xd1, 0xcf, 0xed, 0xfd, 0x36, 0xb2,
- 0x28, 0x33, 0x7f, 0x8b, 0xdb, 0x30, 0xda, 0x92, 0x6f, 0x23, 0xa3, 0xb6, 0x8b, 0x50, 0xcd, 0x90,
- 0x09, 0x2a, 0x0d, 0x65, 0x1a, 0xc7, 0x22, 0xc5, 0xb2, 0x8e, 0x90, 0x24, 0x13, 0x8a, 0x95, 0xb8,
- 0xb1, 0x16, 0xb2, 0x61, 0x25, 0x4e, 0xac, 0xbf, 0x00, 0x13, 0xaa, 0xa6, 0x12, 0x55, 0x6e, 0xd6,
- 0x5a, 0xb2, 0xd1, 0x50, 0x35, 0x13, 0xb5, 0xaa, 0x97, 0x20, 0x13, 0x6e, 0x91, 0xe3, 0xda, 0xa4,
- 0xa8, 0x24, 0x13, 0x93, 0xb8, 0x07, 0xa5, 0x96, 0xac, 0x6a, 0x04, 0x69, 0xb2, 0xa6, 0x20, 0x77,
- 0x2f, 0xc3, 0x99, 0x7a, 0x99, 0x74, 0xe0, 0x73, 0xf6, 0x14, 0x62, 0xa6, 0xc5, 0x9e, 0x9b, 0xe9,
- 0x48, 0x8f, 0xcd, 0xf4, 0x02, 0x9c, 0x8f, 0xb1, 0x3f, 0xdb, 0x56, 0xff, 0x3a, 0x0f, 0x73, 0xdd,
- 0xb6, 0xcb, 0xaa, 0x26, 0x1b, 0xfb, 0xb7, 0xda, 0xe6, 0x9a, 0x0e, 0x1f, 0xc8, 0x5e, 0xe7, 0x60,
- 0xc4, 0x32, 0xa5, 0xfd, 0xd6, 0x8e, 0xde, 0xe4, 0x16, 0xcb, 0x4d, 0xb0, 0x4a, 0xcb, 0xc4, 0xf3,
- 0x30, 0xc6, 0x1b, 0xb5, 0x0d, 0xfd, 0xae, 0x6a, 0x62, 0x67, 0x76, 0x3b, 0xca, 0x8a, 0xb7, 0x78,
- 0xa9, 0xd7, 0xd0, 0x06, 0x32, 0x1a, 0x5a, 0x5a, 0xfb, 0xf6, 0x1b, 0xe6, 0x60, 0x4f, 0x0c, 0x73,
- 0xe8, 0x10, 0x0c, 0xf3, 0x12, 0x4c, 0xa0, 0xfb, 0x6d, 0x95, 0xda, 0x89, 0x56, 0x23, 0x6a, 0x0b,
- 0x61, 0x22, 0xb7, 0xda, 0xd4, 0xe8, 0xfb, 0xa5, 0xf1, 0x6e, 0xdd, 0xb6, 0x55, 0x65, 0x82, 0x60,
- 0x44, 0x48, 0x13, 0xb5, 0x90, 0x46, 0x1c, 0x20, 0xc0, 0x40, 0xba, 0x75, 0x5d, 0x90, 0x09, 0x18,
- 0x90, 0xeb, 0x2d, 0x55, 0x63, 0x96, 0x28, 0xb1, 0x0f, 0xaf, 0x73, 0x2e, 0x26, 0x9d, 0x10, 0x47,
- 0x7a, 0x6e, 0x69, 0xa3, 0x3d, 0xb6, 0xb4, 0x8b, 0xf0, 0x4c, 0x02, 0xeb, 0xb1, 0xad, 0xed, 0x3b,
- 0x83, 0x4e, 0x6b, 0x5b, 0x33, 0xc7, 0x64, 0x7f, 0xbd, 0x43, 0x3a, 0x06, 0xc2, 0x8f, 0xff, 0xec,
- 0xe8, 0x31, 0xc2, 0xfc, 0xe1, 0x1a, 0xe1, 0x60, 0x98, 0x11, 0x4e, 0x42, 0x9e, 0x2a, 0xef, 0x3e,
- 0x35, 0x93, 0x7e, 0x89, 0x7f, 0x05, 0x18, 0x67, 0xa1, 0x27, 0xc6, 0x09, 0x3d, 0x9c, 0x35, 0x87,
- 0x1f, 0xc9, 0xac, 0x59, 0x7c, 0x14, 0xb3, 0xe6, 0x13, 0x66, 0xcb, 0xa1, 0xb6, 0x69, 0xdb, 0xf2,
- 0x03, 0x01, 0x4a, 0xae, 0xad, 0x1a, 0x6b, 0xf5, 0xe9, 0x6c, 0x1b, 0x7f, 0x4f, 0x80, 0xd9, 0x30,
- 0x62, 0x12, 0x6e, 0x1c, 0x45, 0x09, 0x06, 0x0d, 0x84, 0x3b, 0x4d, 0x62, 0x85, 0x35, 0x2e, 0xc7,
- 0x51, 0xe7, 0xee, 0xc4, 0x84, 0xa4, 0xa4, 0x0a, 0x92, 0x85, 0xc8, 0xb1, 0x45, 0xfb, 0x6f, 0x01,
- 0x26, 0x83, 0x61, 0xc4, 0x2f, 0xc2, 0x90, 0x35, 0xdc, 0x3c, 0x0a, 0x93, 0x76, 0x90, 0x6d, 0x78,
- 0x71, 0x15, 0x06, 0xa8, 0x66, 0x32, 0x07, 0x99, 0x1a, 0x11, 0x03, 0x16, 0x5f, 0x84, 0xfe, 0x5d,
- 0x84, 0x98, 0x1f, 0x4d, 0x8d, 0xc3, 0x04, 0xf5, 0xef, 0xc2, 0xd9, 0xd0, 0xac, 0x22, 0x43, 0xbd,
- 0x2b, 0x9b, 0x12, 0x4d, 0x10, 0x63, 0x78, 0xc9, 0xad, 0x2c, 0xcf, 0x44, 0x0d, 0x47, 0x17, 0x71,
- 0x80, 0xca, 0x8c, 0xbd, 0xe5, 0x51, 0x97, 0x2d, 0xba, 0x0b, 0x0f, 0x27, 0x29, 0x7d, 0xac, 0xe1,
- 0x5d, 0xa7, 0x02, 0xba, 0x26, 0xc2, 0x4f, 0x95, 0xd1, 0x2a, 0xcc, 0xc7, 0x51, 0x95, 0x9e, 0xd7,
- 0xdf, 0x12, 0xe8, 0x2c, 0xee, 0x08, 0x62, 0x04, 0xc9, 0x30, 0x3c, 0xba, 0xb2, 0xe1, 0x89, 0xae,
- 0x64, 0xe0, 0xd7, 0x8a, 0xb1, 0xf8, 0x18, 0x7e, 0x83, 0x3a, 0xb1, 0x38, 0xd2, 0xb2, 0x45, 0x59,
- 0x7e, 0x57, 0xa0, 0x01, 0xbf, 0x15, 0x73, 0x46, 0x68, 0xda, 0xde, 0x29, 0x94, 0xcd, 0x53, 0x50,
- 0x68, 0x51, 0x63, 0xef, 0x06, 0xf7, 0x86, 0x58, 0xc1, 0x46, 0xdd, 0x1f, 0xfd, 0xeb, 0x0f, 0x88,
- 0xfe, 0xb9, 0x47, 0x24, 0xe7, 0x1d, 0x11, 0x1f, 0xf3, 0xa7, 0x69, 0x14, 0xc8, 0x43, 0x9f, 0xed,
- 0xb0, 0xbf, 0xc1, 0x1c, 0x36, 0x93, 0x8d, 0xbb, 0x4d, 0xf8, 0x58, 0xdd, 0x80, 0x5c, 0x5d, 0x26,
- 0x72, 0x92, 0x38, 0x18, 0xc5, 0xb4, 0x2a, 0x13, 0x99, 0x8f, 0x11, 0x05, 0xf4, 0x13, 0xb9, 0x4e,
- 0x0d, 0x25, 0x90, 0x0a, 0x7b, 0x58, 0x4a, 0x30, 0x88, 0x3b, 0x8a, 0x82, 0x30, 0x1b, 0x91, 0x21,
- 0xc9, 0xfa, 0x74, 0x8c, 0xc6, 0xaf, 0x09, 0x70, 0xc6, 0x8d, 0xc8, 0xa5, 0xe0, 0x8f, 0x9c, 0xaf,
- 0x5b, 0x70, 0x21, 0x96, 0x9c, 0x54, 0x0c, 0x7e, 0x38, 0x08, 0x13, 0x16, 0x46, 0x16, 0x19, 0x8f,
- 0xe1, 0x29, 0x51, 0x44, 0xf9, 0x06, 0x4c, 0xe1, 0xb6, 0x4e, 0x6a, 0xb6, 0x6a, 0xe2, 0x1a, 0xd1,
- 0x6b, 0x0a, 0xa5, 0xb8, 0x26, 0x37, 0xcd, 0x8d, 0xaa, 0x69, 0x02, 0x25, 0x6c, 0xcf, 0x55, 0x1b,
- 0x75, 0xbc, 0xad, 0x33, 0x96, 0x96, 0x9a, 0x4d, 0xf1, 0x15, 0x98, 0xab, 0xdb, 0x36, 0x15, 0x8e,
- 0x26, 0x47, 0xd1, 0x4c, 0x77, 0x9b, 0x06, 0x22, 0xfb, 0x0a, 0x1c, 0xa7, 0xd4, 0x30, 0x73, 0xee,
- 0xa2, 0x28, 0x0d, 0xa4, 0x1d, 0x17, 0x41, 0x12, 0xb1, 0xad, 0x48, 0x56, 0x17, 0xe2, 0x9b, 0x70,
- 0xca, 0x41, 0xac, 0xaf, 0x97, 0x7c, 0xfa, 0x5e, 0x4a, 0x75, 0xb7, 0x43, 0xea, 0xf6, 0x15, 0xc0,
- 0x0b, 0xf5, 0x40, 0xa5, 0xc1, 0xb4, 0x31, 0x64, 0x2f, 0x2f, 0x14, 0x8d, 0xd8, 0x0e, 0xe3, 0x85,
- 0xf5, 0x32, 0x94, 0xcd, 0x97, 0x06, 0x73, 0xc4, 0x7a, 0xbc, 0x03, 0x33, 0x3b, 0x54, 0x89, 0x6b,
- 0x3a, 0xd3, 0x62, 0xbf, 0x04, 0x0b, 0xe9, 0x25, 0x78, 0x6a, 0xc7, 0x6f, 0x18, 0xb6, 0x10, 0x25,
- 0x38, 0xef, 0xe9, 0x32, 0x54, 0xc3, 0x80, 0x6a, 0xd8, 0x99, 0x1d, 0xff, 0xae, 0xd3, 0xa3, 0x64,
- 0xf7, 0xa2, 0xd8, 0x60, 0xc2, 0x1b, 0xce, 0x2a, 0xbc, 0x10, 0x66, 0x28, 0x56, 0xbf, 0x8f, 0xf8,
- 0x49, 0x1f, 0x9c, 0x0e, 0x32, 0x69, 0xdb, 0x2f, 0x2c, 0xc0, 0x38, 0xd5, 0x21, 0xce, 0xa6, 0xdb,
- 0x47, 0x1c, 0x33, 0xab, 0xb8, 0xcf, 0x64, 0x15, 0xe2, 0x35, 0x38, 0xe9, 0xd0, 0x09, 0x0f, 0x54,
- 0x1f, 0x85, 0x3a, 0xd1, 0x6d, 0xe0, 0x86, 0x7d, 0x1a, 0x8e, 0x75, 0xf5, 0xd5, 0x9a, 0x00, 0x99,
- 0xf5, 0x8f, 0xd9, 0xea, 0xc7, 0x26, 0x41, 0xf1, 0x39, 0x38, 0xe1, 0xd5, 0x3d, 0x0b, 0x82, 0x19,
- 0xfa, 0x71, 0x8f, 0x12, 0x71, 0xb8, 0x25, 0x98, 0xf2, 0x88, 0xde, 0x43, 0xe3, 0x00, 0xa5, 0xb1,
- 0xec, 0x92, 0xa2, 0x9b, 0xcc, 0xeb, 0x70, 0x2a, 0x68, 0xf4, 0xac, 0xee, 0xf3, 0xcc, 0x5d, 0xf9,
- 0x87, 0xc1, 0x37, 0x7d, 0xff, 0x86, 0x00, 0xd3, 0x01, 0xab, 0xbe, 0x24, 0xdb, 0x96, 0xde, 0x2d,
- 0xd0, 0xfe, 0x54, 0x80, 0x73, 0xd1, 0x44, 0x25, 0xdd, 0xbe, 0x7c, 0xd9, 0xbb, 0x7d, 0xf9, 0x42,
- 0x32, 0x2a, 0xd3, 0x6c, 0x62, 0x7e, 0xa7, 0x1f, 0x4e, 0x47, 0x41, 0x3e, 0x89, 0x5b, 0x19, 0xf1,
- 0x75, 0x18, 0xa5, 0x27, 0xbc, 0xaa, 0xae, 0xd5, 0xea, 0xa8, 0x49, 0x64, 0xba, 0x12, 0x1b, 0xbe,
- 0x7c, 0x21, 0xf2, 0xd4, 0x9b, 0x43, 0xac, 0x9a, 0x00, 0x5c, 0x07, 0x46, 0xda, 0xce, 0x42, 0x71,
- 0x1d, 0xf2, 0x6d, 0x79, 0x5f, 0xef, 0x90, 0x8c, 0x07, 0x63, 0x1c, 0xda, 0x31, 0x3c, 0xdf, 0x62,
- 0x4b, 0xa2, 0x80, 0xe5, 0xfe, 0xa7, 0xab, 0xe4, 0x7f, 0x2e, 0xd0, 0xb5, 0x51, 0x34, 0x5d, 0x8f,
- 0x93, 0x9e, 0xff, 0x2d, 0x8f, 0x6d, 0x50, 0x47, 0xe4, 0xe1, 0xf5, 0x53, 0x5b, 0xef, 0x77, 0xab,
- 0x5b, 0x32, 0xbe, 0x4d, 0x95, 0x66, 0x80, 0x57, 0x6f, 0xca, 0xf8, 0xb6, 0x5f, 0xec, 0x15, 0xb6,
- 0x25, 0x0d, 0x62, 0xc2, 0xde, 0x14, 0xfc, 0xbd, 0x00, 0xa7, 0xec, 0x46, 0xfe, 0x15, 0xeb, 0xff,
- 0x1f, 0x66, 0xcf, 0xd2, 0x3d, 0x69, 0x18, 0x1f, 0x36, 0xbf, 0x6f, 0x0b, 0x50, 0xb0, 0x17, 0x24,
- 0x6e, 0x2e, 0x84, 0x38, 0x2e, 0xfa, 0x62, 0xb9, 0xe8, 0x8f, 0xe6, 0x22, 0xe7, 0xe1, 0xa2, 0xf2,
- 0x80, 0x4d, 0x49, 0x8e, 0x4d, 0x83, 0x67, 0x9c, 0x1e, 0xe5, 0x06, 0xe6, 0x26, 0x9d, 0x89, 0x22,
- 0x68, 0x49, 0xb5, 0x7b, 0xf9, 0x58, 0x80, 0xe3, 0x9b, 0xb8, 0x51, 0xb5, 0x85, 0xb5, 0x6d, 0xc8,
- 0x1a, 0xde, 0x8d, 0x50, 0xa9, 0x67, 0x61, 0x02, 0xeb, 0x1d, 0x43, 0x41, 0xb5, 0x20, 0xb1, 0x8b,
- 0xac, 0xae, 0xea, 0x14, 0x3e, 0x5d, 0xfd, 0x60, 0xa2, 0x6a, 0xec, 0xd0, 0x27, 0x48, 0xe7, 0x4e,
- 0x38, 0x1a, 0x54, 0x83, 0x33, 0x6b, 0x72, 0xe9, 0x32, 0x6b, 0x86, 0x9d, 0x32, 0x9b, 0xa1, 0xb1,
- 0x2d, 0x3f, 0x93, 0xb6, 0xbe, 0xfd, 0xbb, 0x40, 0x73, 0x6e, 0xd6, 0xee, 0x13, 0x64, 0x68, 0x72,
- 0xf3, 0x89, 0x14, 0xc2, 0x14, 0x75, 0x21, 0x5e, 0x16, 0x9d, 0x2e, 0xc6, 0xdc, 0xc7, 0xde, 0x54,
- 0xef, 0x74, 0x54, 0x9a, 0xdf, 0xc5, 0x67, 0xc1, 0x83, 0xed, 0x63, 0x5d, 0xa6, 0xdb, 0xef, 0x31,
- 0x5d, 0x7b, 0x2a, 0xcb, 0x65, 0x9b, 0xca, 0x04, 0x6b, 0x2a, 0x73, 0xf1, 0x39, 0x4d, 0x17, 0xef,
- 0x3e, 0x3e, 0x6c, 0x46, 0x7f, 0xb3, 0x0f, 0x4e, 0xd2, 0x08, 0xba, 0xb9, 0xa9, 0xc0, 0x76, 0x3d,
- 0x3b, 0x3c, 0x78, 0x4c, 0x46, 0xdc, 0x25, 0xb6, 0x9c, 0x47, 0x6c, 0xeb, 0xb6, 0x3a, 0x64, 0x5c,
- 0x91, 0x04, 0x69, 0xc7, 0x1c, 0x5d, 0x93, 0x04, 0x0b, 0xc5, 0x16, 0xdd, 0x07, 0x02, 0x95, 0xed,
- 0x96, 0xa1, 0xde, 0x55, 0x9b, 0xa8, 0x81, 0xea, 0x6b, 0xf7, 0x91, 0xd2, 0x21, 0x68, 0x45, 0xd7,
- 0x88, 0x21, 0x2b, 0xe1, 0x69, 0x7f, 0x13, 0x30, 0xb0, 0xdb, 0xd1, 0xea, 0x98, 0x8b, 0x8b, 0x7d,
- 0x88, 0x17, 0xe0, 0xa8, 0xc2, 0x21, 0x6b, 0x32, 0xcb, 0x62, 0xe4, 0x82, 0x19, 0xb3, 0xca, 0x79,
- 0x72, 0xa3, 0x28, 0x72, 0x3f, 0xca, 0x64, 0xc1, 0x5c, 0x63, 0xe0, 0x11, 0xc3, 0x1f, 0x09, 0xf0,
- 0x54, 0x14, 0x89, 0xb6, 0x77, 0x7c, 0x13, 0x80, 0x52, 0x51, 0xab, 0xab, 0xbb, 0xbb, 0xd4, 0x41,
- 0x46, 0x1a, 0xd6, 0xb3, 0xa6, 0x90, 0xff, 0xe4, 0x5f, 0x67, 0xe6, 0x13, 0x08, 0xd9, 0x04, 0xc0,
- 0x52, 0x81, 0xa2, 0x5f, 0x55, 0x77, 0x77, 0x83, 0x29, 0xfd, 0xab, 0x01, 0x98, 0xea, 0x1e, 0x35,
- 0xd0, 0x74, 0x4a, 0x9e, 0x59, 0x69, 0xe8, 0x6d, 0x1d, 0xcb, 0x4d, 0x53, 0x6a, 0x44, 0x25, 0x4d,
- 0xc4, 0x85, 0xc9, 0x3e, 0xc4, 0x59, 0x18, 0xae, 0x23, 0xac, 0x18, 0x2a, 0x9d, 0x38, 0xb9, 0x44,
- 0x9d, 0x45, 0xd1, 0x46, 0xe7, 0x3f, 0x90, 0xcc, 0xd9, 0x5a, 0x24, 0x1c, 0xe2, 0x81, 0xe4, 0x40,
- 0x36, 0xac, 0xae, 0x03, 0x49, 0x05, 0x26, 0x0d, 0xd4, 0x94, 0xf7, 0x39, 0x5e, 0xbc, 0x27, 0x1b,
- 0x1c, 0x7b, 0x3e, 0x13, 0xf6, 0x71, 0x8e, 0x6d, 0x1d, 0xa1, 0xaa, 0x89, 0x8b, 0x76, 0x12, 0x72,
- 0x52, 0x38, 0x98, 0xa9, 0x87, 0x34, 0x27, 0x85, 0x43, 0xd9, 0x78, 0x08, 0x38, 0x29, 0x14, 0x5f,
- 0x84, 0x3c, 0x26, 0x32, 0xe9, 0x60, 0x7a, 0xba, 0x3c, 0x7a, 0x79, 0x3e, 0xca, 0x95, 0x32, 0x85,
- 0xab, 0xd2, 0xf6, 0x12, 0x87, 0xbb, 0x76, 0xce, 0x52, 0xd1, 0x7f, 0xfc, 0xee, 0xc5, 0x32, 0xb7,
- 0x82, 0x86, 0x7e, 0xd7, 0x61, 0x04, 0x1a, 0x41, 0x1a, 0xa9, 0xfc, 0xb1, 0x00, 0x93, 0x6b, 0x1c,
- 0xe3, 0x9a, 0x26, 0xef, 0x34, 0x0f, 0xae, 0xae, 0x37, 0xa1, 0x68, 0xd1, 0xb8, 0xbd, 0xdf, 0x66,
- 0x9b, 0xc0, 0x18, 0x16, 0xd6, 0x1c, 0xed, 0x25, 0x17, 0xb4, 0x63, 0x6d, 0xf3, 0x63, 0x80, 0x33,
- 0x74, 0x9d, 0x64, 0xb5, 0xde, 0xd4, 0xeb, 0xea, 0xae, 0xaa, 0x50, 0x77, 0x7b, 0x60, 0xaa, 0x7f,
- 0x59, 0x80, 0x8a, 0x33, 0x44, 0x4b, 0x53, 0xa6, 0x6b, 0x1d, 0x6a, 0xc1, 0xb5, 0x36, 0xc7, 0xce,
- 0x22, 0x35, 0xc3, 0x97, 0x9f, 0x4f, 0x76, 0x46, 0x19, 0xe0, 0x04, 0xa4, 0x69, 0x1c, 0x55, 0x8d,
- 0xc5, 0xf7, 0x04, 0x98, 0xf7, 0x47, 0x7a, 0x43, 0xa8, 0xc9, 0x51, 0x6a, 0x6e, 0xa4, 0xd9, 0x8a,
- 0x05, 0xd1, 0xf4, 0x54, 0x3d, 0xbe, 0x11, 0x16, 0x3b, 0x70, 0xda, 0x29, 0xa0, 0x26, 0x3d, 0x98,
- 0x76, 0x10, 0xc3, 0x82, 0xc7, 0x57, 0x92, 0x89, 0x86, 0x1d, 0x6b, 0xdb, 0x14, 0x9c, 0xc4, 0x21,
- 0x35, 0x58, 0xfc, 0x86, 0x00, 0x67, 0xda, 0x56, 0x36, 0x59, 0x68, 0xe7, 0xf9, 0xf8, 0x71, 0x09,
- 0x4c, 0x49, 0xeb, 0x8e, 0x4b, 0x3b, 0xaa, 0x1a, 0x8b, 0xef, 0x08, 0x70, 0x8e, 0xe5, 0x80, 0xd4,
- 0x76, 0xd9, 0xf9, 0x7c, 0x28, 0x2d, 0x2c, 0xf2, 0x7c, 0x3d, 0x5a, 0xe1, 0x43, 0x0e, 0xfa, 0x6d,
- 0x7a, 0x2a, 0x28, 0xae, 0x09, 0x16, 0xbf, 0x25, 0xc0, 0x79, 0x62, 0xc8, 0x75, 0x55, 0x6b, 0xd4,
- 0x0c, 0x74, 0x4f, 0x36, 0xea, 0x35, 0x45, 0x6e, 0xb5, 0x65, 0xb5, 0xa1, 0x79, 0x75, 0x85, 0x7a,
- 0xa7, 0x18, 0x55, 0xd9, 0x66, 0xa8, 0x24, 0x8a, 0x69, 0x85, 0x23, 0xf2, 0xa8, 0xca, 0x1c, 0x89,
- 0x6f, 0x44, 0x65, 0x15, 0x1c, 0x4f, 0xf6, 0xc9, 0xaa, 0x10, 0x2f, 0xab, 0xd0, 0x04, 0xa7, 0xae,
- 0xac, 0x76, 0xe2, 0x9a, 0x60, 0xf1, 0x5d, 0x01, 0xce, 0x7a, 0x68, 0x0a, 0x31, 0x2a, 0xa0, 0x24,
- 0x2d, 0xa7, 0x24, 0x29, 0xc8, 0xae, 0xdc, 0x51, 0xf2, 0x40, 0xa3, 0xfa, 0x1a, 0x4c, 0xd3, 0xec,
- 0xa9, 0x5a, 0x1d, 0x29, 0x6a, 0x4b, 0x6e, 0x62, 0xdf, 0xc0, 0x0d, 0xd3, 0x81, 0xbb, 0x1a, 0x45,
- 0x0e, 0x43, 0x4a, 0x73, 0xae, 0x56, 0x39, 0x1a, 0x9b, 0x86, 0x53, 0x75, 0x67, 0xb1, 0xbb, 0xfb,
- 0xc4, 0xb3, 0xc4, 0xf7, 0x72, 0x50, 0x0a, 0xb3, 0xdd, 0xcc, 0x1e, 0xb7, 0x9b, 0x56, 0xd6, 0x1f,
- 0x91, 0x07, 0x9f, 0x8b, 0xc9, 0x83, 0x1f, 0x48, 0x9a, 0xf6, 0x97, 0xef, 0x79, 0xaa, 0xd0, 0xe0,
- 0xa1, 0xa5, 0x0a, 0x45, 0x26, 0x67, 0x0b, 0x3d, 0x49, 0xce, 0xce, 0xbc, 0xaa, 0x4b, 0xac, 0x44,
- 0x7f, 0x31, 0x08, 0x53, 0x91, 0x3e, 0xf8, 0xd0, 0x35, 0x29, 0xf6, 0xca, 0x84, 0x27, 0x41, 0x71,
- 0x20, 0x36, 0x41, 0x31, 0x9f, 0x38, 0x7d, 0x7f, 0x30, 0x61, 0xfa, 0xfe, 0x50, 0xc6, 0x84, 0xc6,
- 0xb0, 0xe4, 0xbe, 0xc2, 0x23, 0x49, 0xee, 0x83, 0x43, 0x4d, 0xee, 0xf3, 0x6b, 0xfb, 0x70, 0x4f,
- 0x92, 0x2a, 0x8b, 0x87, 0x90, 0x54, 0xf9, 0x24, 0x24, 0x22, 0x26, 0xb5, 0xd8, 0xff, 0xca, 0xc3,
- 0x99, 0xd8, 0xd9, 0xf7, 0xd0, 0xad, 0xd6, 0x97, 0xc4, 0x9f, 0x4b, 0x96, 0xc4, 0x3f, 0x90, 0x24,
- 0x89, 0xff, 0x51, 0xe5, 0x0f, 0x87, 0x25, 0xc6, 0x0f, 0xa5, 0x4f, 0x8c, 0x2f, 0x24, 0x48, 0x8c,
- 0x87, 0x88, 0xc4, 0xf8, 0x61, 0x9f, 0xdb, 0xf3, 0xdb, 0x5b, 0xb1, 0x27, 0xf6, 0x36, 0xd2, 0x3b,
- 0x7b, 0x1b, 0xed, 0xb9, 0xbd, 0x8d, 0x3d, 0x7a, 0x7b, 0xfb, 0xc1, 0x20, 0x9c, 0x89, 0xdd, 0x19,
- 0x7c, 0x36, 0x4b, 0xa6, 0x30, 0xdb, 0x6e, 0x1a, 0x7f, 0xc1, 0x95, 0xc6, 0xff, 0x24, 0x5d, 0x28,
- 0xfb, 0xcc, 0x9a, 0x1f, 0x4f, 0x6b, 0xfe, 0x76, 0x01, 0xe6, 0x12, 0x44, 0x5f, 0x7a, 0x13, 0x16,
- 0x0e, 0x53, 0xf0, 0x6c, 0xc1, 0xe1, 0xb4, 0x0a, 0x9e, 0x2d, 0x58, 0x9c, 0x5c, 0xc1, 0xf3, 0x3d,
- 0xd9, 0x0c, 0x0d, 0xf6, 0x34, 0xc4, 0x3d, 0xd4, 0xf3, 0x10, 0x77, 0xa1, 0xe7, 0x21, 0x6e, 0x38,
- 0xbc, 0x10, 0xf7, 0x57, 0x40, 0x7c, 0x59, 0xef, 0x18, 0xcd, 0xfd, 0x0d, 0x8d, 0x20, 0x03, 0x61,
- 0x22, 0xb9, 0xd7, 0xfd, 0xa9, 0xd4, 0xd3, 0x8f, 0x49, 0xdc, 0x81, 0x09, 0x56, 0xba, 0xde, 0xd1,
- 0x68, 0xc0, 0x4a, 0x26, 0x68, 0x45, 0x6e, 0x3b, 0x7c, 0x63, 0x9a, 0x1e, 0x02, 0x71, 0x39, 0xc2,
- 0xf4, 0x23, 0xd9, 0xc2, 0xf4, 0xe2, 0xa6, 0xbd, 0xd6, 0xe5, 0x4f, 0x7b, 0x8c, 0xd2, 0x68, 0xcf,
- 0x7c, 0x74, 0x62, 0x01, 0x5d, 0xe0, 0xb2, 0xf7, 0x3a, 0xf8, 0xc4, 0xcb, 0xbe, 0x12, 0xbb, 0xa6,
- 0x1f, 0x0b, 0x30, 0xcd, 0xe8, 0x59, 0xd7, 0x0d, 0x05, 0xd5, 0xab, 0xf6, 0xda, 0xb2, 0xb7, 0x5e,
- 0xe9, 0xe7, 0xe0, 0xa8, 0x63, 0x89, 0xcb, 0xf2, 0xcc, 0xb2, 0x79, 0xa4, 0x31, 0xec, 0x20, 0x59,
- 0x55, 0x92, 0x7b, 0xe5, 0x7f, 0x12, 0xe0, 0x54, 0x44, 0xbc, 0x2c, 0x33, 0xdf, 0x5b, 0x30, 0xea,
- 0x0e, 0xe4, 0xf1, 0xa3, 0x82, 0x0b, 0xd1, 0xc1, 0x79, 0x07, 0x09, 0xd2, 0x88, 0x2b, 0x54, 0x97,
- 0x98, 0xa3, 0x4f, 0x06, 0xe1, 0x5c, 0xb2, 0x80, 0xe4, 0x67, 0x27, 0x90, 0x9f, 0x9d, 0x40, 0x26,
- 0x74, 0xcf, 0x8f, 0xe6, 0x62, 0x77, 0x90, 0x3f, 0x18, 0x3e, 0x14, 0x7f, 0xd0, 0xdd, 0x1a, 0x17,
- 0x9d, 0x5b, 0xe3, 0x83, 0x7b, 0xec, 0xd7, 0x82, 0x3d, 0xf6, 0xb3, 0x91, 0x27, 0x4f, 0x3c, 0x18,
- 0x71, 0x08, 0x9e, 0xfb, 0x6f, 0x04, 0x98, 0x08, 0x42, 0x47, 0x53, 0x35, 0x58, 0xb8, 0xc4, 0x4a,
- 0xd5, 0x60, 0x81, 0x92, 0x32, 0x0c, 0xd9, 0x11, 0x12, 0x9e, 0x31, 0x68, 0x7d, 0x87, 0x6d, 0xca,
- 0xfa, 0x13, 0x6e, 0xca, 0x72, 0xd9, 0x36, 0x65, 0x95, 0x7f, 0x10, 0xa0, 0xe8, 0xa2, 0xdd, 0xb3,
- 0xc1, 0x14, 0x62, 0x37, 0x98, 0x7d, 0x89, 0x37, 0x98, 0xbd, 0xe6, 0xe5, 0xef, 0xfa, 0x60, 0x2e,
- 0xf0, 0xdc, 0xec, 0x90, 0x36, 0xed, 0x6f, 0xc0, 0x88, 0x7d, 0xa4, 0xa7, 0x6a, 0xbb, 0x3a, 0x7f,
- 0x91, 0xea, 0xf3, 0xa9, 0xcf, 0xf1, 0x36, 0xb4, 0x5d, 0x5d, 0x2a, 0x2a, 0x8e, 0x2f, 0x71, 0x07,
- 0x8e, 0xdb, 0xb8, 0xf9, 0xf1, 0x61, 0x5b, 0xd7, 0xed, 0x63, 0xe5, 0x85, 0xa8, 0x3e, 0x2c, 0xb4,
- 0xac, 0x93, 0x2d, 0x5d, 0x6f, 0x4a, 0xe3, 0x8a, 0xaf, 0x2c, 0xb9, 0x5e, 0xff, 0xa0, 0x3f, 0x44,
- 0x8e, 0x87, 0x34, 0x83, 0xf5, 0x52, 0x8e, 0x1d, 0x98, 0x09, 0x94, 0x63, 0x4d, 0xae, 0xd7, 0x69,
- 0xda, 0x55, 0x56, 0x89, 0x9e, 0x0e, 0x90, 0xe8, 0x92, 0x85, 0x53, 0xbc, 0x03, 0x53, 0xc1, 0xdd,
- 0xb2, 0x13, 0x44, 0xeb, 0x40, 0x3e, 0x6d, 0xa7, 0xe5, 0x80, 0x4e, 0xd9, 0x20, 0x24, 0x1f, 0xcd,
- 0xb7, 0x05, 0x38, 0x66, 0x81, 0xab, 0x1a, 0x61, 0xe0, 0xe2, 0x79, 0x18, 0xb3, 0x52, 0xe6, 0xac,
- 0xf4, 0x30, 0x36, 0x8a, 0xa3, 0xbc, 0xd8, 0xca, 0x0e, 0xdb, 0x04, 0xd0, 0xd0, 0xbd, 0x5a, 0xdb,
- 0x84, 0xc5, 0x19, 0xa3, 0x19, 0x05, 0x0d, 0xdd, 0xa3, 0x9d, 0xe3, 0xca, 0xef, 0xf7, 0xc1, 0xbc,
- 0x6b, 0x2c, 0xb7, 0x10, 0x5d, 0xc6, 0xb3, 0xea, 0x43, 0x52, 0xb0, 0x2b, 0x30, 0xd9, 0x66, 0x68,
- 0xe9, 0x28, 0x38, 0xe6, 0xbf, 0x7e, 0x3a, 0xff, 0x4d, 0xb4, 0xad, 0x4e, 0xf5, 0x66, 0x77, 0x02,
- 0xac, 0xc1, 0x84, 0x3d, 0x74, 0xaa, 0x46, 0xec, 0xa1, 0x63, 0xfa, 0x72, 0x31, 0x6a, 0xe8, 0x7c,
- 0xf2, 0x95, 0x44, 0xc3, 0x5b, 0x94, 0x7c, 0xc4, 0xbe, 0x27, 0xc0, 0xf8, 0x3a, 0x42, 0xab, 0x2a,
- 0xa6, 0x23, 0x71, 0x60, 0x71, 0xbc, 0x02, 0x43, 0x58, 0xd9, 0x43, 0xf5, 0x4e, 0x13, 0x71, 0x53,
- 0x5b, 0x8c, 0x62, 0xc6, 0xd1, 0x75, 0x95, 0x83, 0x49, 0x36, 0x82, 0xc4, 0x4c, 0xfc, 0x50, 0x80,
- 0x19, 0x96, 0x49, 0xad, 0xb7, 0x5a, 0x1d, 0x4d, 0x25, 0xfb, 0xa6, 0xb4, 0xab, 0xa6, 0xe4, 0x0f,
- 0xcc, 0xd0, 0x6b, 0x50, 0xf0, 0x66, 0x01, 0x5d, 0xb5, 0xd2, 0x0b, 0x5d, 0x8f, 0x52, 0x76, 0x89,
- 0x0a, 0xa3, 0x41, 0xea, 0x62, 0x4a, 0xcc, 0xda, 0xd3, 0x70, 0x74, 0x13, 0x73, 0xf5, 0xc5, 0xb7,
- 0xda, 0xe4, 0x56, 0x27, 0x34, 0x3b, 0xb3, 0x52, 0xa6, 0xd7, 0x28, 0x5c, 0x6d, 0xed, 0x94, 0xcf,
- 0x5f, 0x65, 0x09, 0xe2, 0x12, 0x52, 0x9a, 0xb2, 0xda, 0xba, 0xa9, 0x2b, 0xb7, 0x51, 0x7d, 0x9d,
- 0x66, 0x6f, 0x86, 0x67, 0xca, 0x8e, 0x37, 0x69, 0xb3, 0x25, 0x66, 0xa4, 0x5b, 0x9d, 0x9d, 0x57,
- 0xd0, 0x3e, 0x15, 0x51, 0x51, 0x0a, 0xaa, 0x12, 0x4f, 0x43, 0x01, 0xab, 0x0d, 0x4d, 0x26, 0x1d,
- 0x83, 0x0d, 0x7e, 0x51, 0xea, 0x16, 0x04, 0x65, 0x72, 0xfb, 0xa9, 0xb1, 0xe9, 0xfd, 0x25, 0xf6,
- 0xae, 0x63, 0x55, 0x6d, 0x68, 0xf4, 0xee, 0x40, 0x15, 0xf2, 0xe6, 0x6f, 0x4e, 0x65, 0x71, 0xf9,
- 0x85, 0x4f, 0x1e, 0xce, 0xe4, 0x31, 0x2d, 0xf9, 0xc9, 0xc3, 0x99, 0x8b, 0x09, 0x9c, 0xc3, 0x92,
- 0xa2, 0x70, 0x3f, 0x23, 0x71, 0x54, 0xe2, 0x69, 0xc8, 0xad, 0xb2, 0xac, 0x7e, 0x13, 0xe5, 0xd0,
- 0x27, 0x0f, 0x67, 0x68, 0x46, 0xaa, 0x44, 0x4b, 0x2b, 0xf7, 0xe9, 0x4b, 0x98, 0x94, 0x02, 0x5d,
- 0x11, 0xcf, 0x32, 0xe6, 0xd8, 0xaa, 0x81, 0x5d, 0xb6, 0xa2, 0x00, 0xe6, 0xb7, 0x34, 0x64, 0x56,
- 0xd1, 0xc0, 0xf3, 0x0a, 0x0c, 0xdc, 0x95, 0x9b, 0x1d, 0xc4, 0x6f, 0xcb, 0x9c, 0x8f, 0x5c, 0x67,
- 0x76, 0xf9, 0xb3, 0xae, 0xf4, 0x50, 0xd8, 0xca, 0x8f, 0xfa, 0x68, 0x16, 0xef, 0x92, 0xb9, 0x74,
- 0x65, 0x06, 0x1d, 0xb0, 0xcf, 0xcb, 0x76, 0x59, 0x24, 0x68, 0xe5, 0xdd, 0x7f, 0x38, 0x2b, 0xef,
- 0xb0, 0xad, 0x43, 0x2e, 0xfd, 0xd6, 0x61, 0x20, 0x7c, 0xeb, 0xd0, 0x5d, 0xc9, 0xe7, 0x33, 0xa6,
- 0x48, 0xba, 0x14, 0xf1, 0x19, 0x7a, 0x57, 0x2a, 0x5a, 0xd2, 0xb6, 0x52, 0xfe, 0x8f, 0x00, 0x0b,
- 0x4b, 0x44, 0x6f, 0xa9, 0x8a, 0xe3, 0x7a, 0xd3, 0x3a, 0x42, 0x9b, 0x9d, 0x26, 0x51, 0xdb, 0x4d,
- 0x15, 0x19, 0x96, 0x13, 0x3b, 0xb0, 0xdb, 0x41, 0x30, 0xc9, 0x07, 0xd1, 0xdc, 0xaf, 0xb6, 0xec,
- 0x0e, 0x2c, 0x1f, 0xb4, 0x18, 0xcf, 0xb6, 0x8b, 0x30, 0x69, 0xa2, 0xe5, 0x2f, 0x4c, 0xec, 0x86,
- 0x9e, 0xbe, 0x0f, 0x45, 0x67, 0xae, 0xa6, 0x78, 0x19, 0x26, 0xd6, 0xbe, 0xbc, 0xf2, 0xf2, 0xd2,
- 0xab, 0x2f, 0xad, 0xd5, 0x5e, 0x7b, 0xb5, 0xba, 0xb5, 0xb6, 0xb2, 0xb1, 0xbe, 0xb1, 0xb6, 0x7a,
- 0xf4, 0x48, 0xb9, 0xf4, 0xe0, 0xfd, 0xd9, 0xc0, 0x3a, 0x51, 0x84, 0x5c, 0x75, 0xeb, 0xd6, 0xf6,
- 0x51, 0xa1, 0x3c, 0xf4, 0xe0, 0xfd, 0x59, 0xfa, 0xdb, 0x14, 0xc4, 0xea, 0x9a, 0xb4, 0xf1, 0xfa,
- 0xd2, 0xf6, 0xc6, 0xeb, 0x6b, 0xd5, 0xa3, 0x7d, 0xe5, 0xb1, 0x07, 0xef, 0xcf, 0x3a, 0x8b, 0x2e,
- 0x7f, 0xb3, 0x02, 0xfd, 0x9b, 0xb8, 0x21, 0xca, 0x30, 0x68, 0x3d, 0x4a, 0x7b, 0x2e, 0xc6, 0xa8,
- 0x78, 0xbb, 0xf2, 0x42, 0xb2, 0x76, 0x76, 0x2a, 0x79, 0x1d, 0x86, 0xec, 0x77, 0x64, 0xe3, 0x0c,
- 0xd7, 0x6a, 0x58, 0x5e, 0x4c, 0xd8, 0xd0, 0xee, 0xe5, 0x1d, 0x01, 0x4e, 0x84, 0x3d, 0x1d, 0xfa,
- 0x5c, 0x0c, 0xb2, 0x10, 0xb8, 0xf2, 0xcf, 0x64, 0x83, 0xb3, 0x69, 0xfa, 0x40, 0x80, 0xd3, 0x91,
- 0x0f, 0x68, 0xbe, 0x90, 0xac, 0x83, 0x40, 0xe0, 0xf2, 0xca, 0x01, 0x80, 0x6d, 0x12, 0xff, 0x4c,
- 0x80, 0xd9, 0xd8, 0x97, 0xcc, 0x6e, 0x24, 0xeb, 0x29, 0x14, 0x41, 0xf9, 0xa5, 0x03, 0x22, 0xb0,
- 0xc9, 0x7d, 0x4b, 0x80, 0x89, 0xc0, 0x27, 0x7e, 0x3f, 0x17, 0xd3, 0x43, 0x10, 0x50, 0xf9, 0x85,
- 0x0c, 0x40, 0x36, 0x29, 0xdf, 0x11, 0xa0, 0x1c, 0xf1, 0x2a, 0xef, 0xf3, 0x31, 0xb8, 0xc3, 0x41,
- 0xcb, 0x4b, 0x99, 0x41, 0x6d, 0xe2, 0xde, 0x16, 0xe0, 0x78, 0xf0, 0xa3, 0x56, 0x57, 0x12, 0xf3,
- 0xec, 0x80, 0x2a, 0xff, 0x74, 0x16, 0x28, 0x9b, 0x9a, 0x7d, 0x18, 0xf3, 0xbe, 0x37, 0x13, 0xe7,
- 0x44, 0x3c, 0xed, 0xcb, 0xcf, 0xa5, 0x6b, 0xef, 0x12, 0x44, 0xf0, 0x63, 0x31, 0x57, 0x12, 0x49,
- 0xd9, 0x03, 0x15, 0x2b, 0x88, 0xe8, 0x27, 0x61, 0x7e, 0x11, 0x8e, 0xf9, 0x5f, 0x42, 0x79, 0x36,
- 0x09, 0x4a, 0x27, 0x44, 0xf9, 0x0b, 0x69, 0x21, 0x6c, 0x02, 0xde, 0x13, 0xe0, 0x64, 0xf8, 0xfd,
- 0xa4, 0x38, 0xbc, 0xa1, 0x90, 0xe5, 0x17, 0xb3, 0x42, 0xba, 0xcc, 0x29, 0xe2, 0x79, 0xad, 0xe7,
- 0x13, 0x29, 0x60, 0x10, 0x68, 0xac, 0x39, 0x25, 0x78, 0x41, 0xcb, 0xf4, 0x92, 0xb1, 0x2f, 0x45,
- 0xdd, 0x48, 0x6e, 0xb6, 0x81, 0x08, 0x62, 0xbd, 0x64, 0xe2, 0x07, 0xa1, 0xde, 0x17, 0xe0, 0x54,
- 0xd4, 0x0b, 0x11, 0xd7, 0x52, 0x4a, 0xc4, 0xe9, 0x09, 0x96, 0xb3, 0xc3, 0xba, 0xbd, 0x53, 0xe0,
- 0xb5, 0xf4, 0x2b, 0x89, 0xcc, 0xdc, 0x03, 0x15, 0xef, 0x9d, 0xa2, 0x6e, 0x8f, 0x53, 0x69, 0x45,
- 0x5d, 0x5e, 0xbe, 0x96, 0xdc, 0xe4, 0xbd, 0xb0, 0xb1, 0xd2, 0x4a, 0x72, 0x51, 0xd9, 0x31, 0x45,
- 0x87, 0x3f, 0xed, 0x9b, 0x70, 0x8a, 0x0e, 0x45, 0x90, 0x74, 0x8a, 0x8e, 0x7d, 0x1e, 0x55, 0xfc,
- 0x03, 0x01, 0xa6, 0xa2, 0x5f, 0x90, 0x4b, 0x36, 0x99, 0x84, 0x40, 0x97, 0x57, 0x0f, 0x02, 0x6d,
- 0x53, 0xf9, 0x87, 0x02, 0x4c, 0xc7, 0x3c, 0x31, 0x71, 0x3d, 0x7d, 0x47, 0x4e, 0x43, 0x59, 0x3b,
- 0x10, 0xb8, 0x4d, 0xe8, 0xbb, 0x02, 0x94, 0x42, 0x1f, 0x36, 0xb8, 0x9a, 0x48, 0xf1, 0xfd, 0x80,
- 0xe5, 0x1b, 0x19, 0x01, 0x5d, 0xf2, 0x8b, 0x79, 0xb5, 0xec, 0x7a, 0x72, 0xdd, 0x0f, 0x00, 0x8f,
- 0x95, 0x5f, 0xc2, 0x47, 0xca, 0xbe, 0x2e, 0x80, 0x18, 0x70, 0x7f, 0xff, 0x52, 0x5c, 0x04, 0xc1,
- 0x07, 0x52, 0x7e, 0x3e, 0x35, 0x88, 0x4d, 0xc4, 0xd7, 0xe0, 0xa8, 0xef, 0xf2, 0x7c, 0xdc, 0x0e,
- 0xc7, 0x0b, 0x50, 0xbe, 0x9a, 0x12, 0xc0, 0xb9, 0xea, 0xf0, 0xdf, 0x5b, 0x8f, 0x5b, 0x75, 0xf8,
- 0x20, 0x62, 0x57, 0x1d, 0xa1, 0x77, 0xca, 0xc5, 0x5f, 0x17, 0x60, 0x32, 0xe4, 0x42, 0xf9, 0xe7,
- 0x63, 0xdd, 0x4e, 0x10, 0x58, 0xf9, 0x7a, 0x26, 0x30, 0x9b, 0x20, 0x0c, 0x23, 0xee, 0xd8, 0xdf,
- 0x4f, 0xc5, 0xe0, 0x73, 0xb5, 0x2e, 0x5f, 0x49, 0xd3, 0xda, 0x65, 0x32, 0x31, 0xb1, 0xa7, 0x38,
- 0xb6, 0xa2, 0xc1, 0x63, 0x4d, 0x26, 0x59, 0x3c, 0x86, 0x9a, 0x4c, 0x40, 0x44, 0xf3, 0x52, 0x2c,
- 0xd7, 0x5e, 0x90, 0x58, 0x93, 0x09, 0x8f, 0x54, 0x8a, 0x6d, 0x28, 0xba, 0xfe, 0xcd, 0xcf, 0x33,
- 0x31, 0xa8, 0x9c, 0x8d, 0xcb, 0x9f, 0x4b, 0xd1, 0xd8, 0xea, 0x71, 0x79, 0xef, 0xfb, 0x1f, 0x4d,
- 0x0b, 0x1f, 0x7e, 0x34, 0x2d, 0xfc, 0xdb, 0x47, 0xd3, 0xc2, 0x37, 0x3f, 0x9e, 0x3e, 0xf2, 0xe1,
- 0xc7, 0xd3, 0x47, 0x7e, 0xf8, 0xf1, 0xf4, 0x91, 0x37, 0x5e, 0x75, 0xc4, 0xee, 0x36, 0x2c, 0xc4,
- 0x37, 0xe5, 0x1d, 0xbc, 0x68, 0x77, 0x73, 0x51, 0xd1, 0x0d, 0xe4, 0xfc, 0xdc, 0x93, 0x55, 0x6d,
- 0xb1, 0xa5, 0xd7, 0x3b, 0x4d, 0x84, 0xbb, 0xff, 0xfe, 0x88, 0xc6, 0xf9, 0x76, 0xf2, 0xf4, 0xbf,
- 0x19, 0x7d, 0xee, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0x1d, 0x96, 0xeb, 0x28, 0xfc, 0x69, 0x00,
- 0x00,
-}
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ context.Context
-var _ grpc.ClientConn
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the grpc package it is being compiled against.
-const _ = grpc.SupportPackageIsVersion4
-
-// MsgClient is the client API for Msg service.
-//
-// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
-type MsgClient interface {
+// MsgServer is the server API for Msg service.
+type MsgServer interface {
// Deposit defines a method for transferring coins from the sender's bank
// balance into the subaccount's exchange deposits
- Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error)
+ Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error)
// Withdraw defines a method for withdrawing coins from a subaccount's
// deposits to the user's bank balance
- Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error)
+ Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error)
// InstantSpotMarketLaunch defines method for creating a spot market by paying
// listing fee without governance
- InstantSpotMarketLaunch(ctx context.Context, in *MsgInstantSpotMarketLaunch, opts ...grpc.CallOption) (*MsgInstantSpotMarketLaunchResponse, error)
+ InstantSpotMarketLaunch(context.Context, *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error)
// InstantPerpetualMarketLaunch defines a method for creating a new perpetual
// futures market by paying listing fee without governance
- InstantPerpetualMarketLaunch(ctx context.Context, in *MsgInstantPerpetualMarketLaunch, opts ...grpc.CallOption) (*MsgInstantPerpetualMarketLaunchResponse, error)
+ InstantPerpetualMarketLaunch(context.Context, *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error)
// InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry
// futures market by paying listing fee without governance
- InstantExpiryFuturesMarketLaunch(ctx context.Context, in *MsgInstantExpiryFuturesMarketLaunch, opts ...grpc.CallOption) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
+ InstantExpiryFuturesMarketLaunch(context.Context, *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
// CreateSpotLimitOrder defines a method for creating a new spot limit order.
- CreateSpotLimitOrder(ctx context.Context, in *MsgCreateSpotLimitOrder, opts ...grpc.CallOption) (*MsgCreateSpotLimitOrderResponse, error)
+ CreateSpotLimitOrder(context.Context, *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error)
// BatchCreateSpotLimitOrder defines a method for creating a new batch of spot
// limit orders.
- BatchCreateSpotLimitOrders(ctx context.Context, in *MsgBatchCreateSpotLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateSpotLimitOrdersResponse, error)
+ BatchCreateSpotLimitOrders(context.Context, *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error)
// CreateSpotMarketOrder defines a method for creating a new spot market
// order.
- CreateSpotMarketOrder(ctx context.Context, in *MsgCreateSpotMarketOrder, opts ...grpc.CallOption) (*MsgCreateSpotMarketOrderResponse, error)
+ CreateSpotMarketOrder(context.Context, *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error)
// MsgCancelSpotOrder defines a method for cancelling a spot order.
- CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error)
+ CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
// BatchCancelSpotOrders defines a method for cancelling a batch of spot
// orders in a given market.
- BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error)
+ BatchCancelSpotOrders(context.Context, *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error)
// BatchUpdateOrders defines a method for updating a batch of orders.
- BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error)
+ BatchUpdateOrders(context.Context, *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error)
// PrivilegedExecuteContract defines a method for executing a Cosmwasm
// contract from the exchange module with privileged capabilities.
- PrivilegedExecuteContract(ctx context.Context, in *MsgPrivilegedExecuteContract, opts ...grpc.CallOption) (*MsgPrivilegedExecuteContractResponse, error)
+ PrivilegedExecuteContract(context.Context, *MsgPrivilegedExecuteContract) (*MsgPrivilegedExecuteContractResponse, error)
// CreateDerivativeLimitOrder defines a method for creating a new derivative
// limit order.
- CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error)
+ CreateDerivativeLimitOrder(context.Context, *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error)
// BatchCreateDerivativeLimitOrders defines a method for creating a new batch
// of derivative limit orders.
- BatchCreateDerivativeLimitOrders(ctx context.Context, in *MsgBatchCreateDerivativeLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
+ BatchCreateDerivativeLimitOrders(context.Context, *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
// MsgCreateDerivativeLimitOrder defines a method for creating a new
// derivative market order.
- CreateDerivativeMarketOrder(ctx context.Context, in *MsgCreateDerivativeMarketOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeMarketOrderResponse, error)
+ CreateDerivativeMarketOrder(context.Context, *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error)
// MsgCancelDerivativeOrder defines a method for cancelling a derivative
// order.
- CancelDerivativeOrder(ctx context.Context, in *MsgCancelDerivativeOrder, opts ...grpc.CallOption) (*MsgCancelDerivativeOrderResponse, error)
+ CancelDerivativeOrder(context.Context, *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error)
// MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of
// derivative limit orders.
- BatchCancelDerivativeOrders(ctx context.Context, in *MsgBatchCancelDerivativeOrders, opts ...grpc.CallOption) (*MsgBatchCancelDerivativeOrdersResponse, error)
+ BatchCancelDerivativeOrders(context.Context, *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error)
// InstantBinaryOptionsMarketLaunch defines method for creating a binary
// options market by paying listing fee without governance
- InstantBinaryOptionsMarketLaunch(ctx context.Context, in *MsgInstantBinaryOptionsMarketLaunch, opts ...grpc.CallOption) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
+ InstantBinaryOptionsMarketLaunch(context.Context, *MsgInstantBinaryOptionsMarketLaunch) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
// CreateBinaryOptionsLimitOrder defines a method for creating a new binary
// options limit order.
- CreateBinaryOptionsLimitOrder(ctx context.Context, in *MsgCreateBinaryOptionsLimitOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
+ CreateBinaryOptionsLimitOrder(context.Context, *MsgCreateBinaryOptionsLimitOrder) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
// CreateBinaryOptionsMarketOrder defines a method for creating a new binary
// options market order.
- CreateBinaryOptionsMarketOrder(ctx context.Context, in *MsgCreateBinaryOptionsMarketOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
+ CreateBinaryOptionsMarketOrder(context.Context, *MsgCreateBinaryOptionsMarketOrder) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
// MsgCancelBinaryOptionsOrder defines a method for cancelling a binary
// options order.
- CancelBinaryOptionsOrder(ctx context.Context, in *MsgCancelBinaryOptionsOrder, opts ...grpc.CallOption) (*MsgCancelBinaryOptionsOrderResponse, error)
+ CancelBinaryOptionsOrder(context.Context, *MsgCancelBinaryOptionsOrder) (*MsgCancelBinaryOptionsOrderResponse, error)
// BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of
// binary options limit orders.
- BatchCancelBinaryOptionsOrders(ctx context.Context, in *MsgBatchCancelBinaryOptionsOrders, opts ...grpc.CallOption) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
+ BatchCancelBinaryOptionsOrders(context.Context, *MsgBatchCancelBinaryOptionsOrders) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
// SubaccountTransfer defines a method for transfer between subaccounts
- SubaccountTransfer(ctx context.Context, in *MsgSubaccountTransfer, opts ...grpc.CallOption) (*MsgSubaccountTransferResponse, error)
+ SubaccountTransfer(context.Context, *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error)
// ExternalTransfer defines a method for transfer between external accounts
- ExternalTransfer(ctx context.Context, in *MsgExternalTransfer, opts ...grpc.CallOption) (*MsgExternalTransferResponse, error)
+ ExternalTransfer(context.Context, *MsgExternalTransfer) (*MsgExternalTransferResponse, error)
// LiquidatePosition defines a method for liquidating a position
- LiquidatePosition(ctx context.Context, in *MsgLiquidatePosition, opts ...grpc.CallOption) (*MsgLiquidatePositionResponse, error)
+ LiquidatePosition(context.Context, *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error)
+ // EmergencySettleMarket defines a method for emergency settling a market
+ EmergencySettleMarket(context.Context, *MsgEmergencySettleMarket) (*MsgEmergencySettleMarketResponse, error)
// IncreasePositionMargin defines a method for increasing margin of a position
- IncreasePositionMargin(ctx context.Context, in *MsgIncreasePositionMargin, opts ...grpc.CallOption) (*MsgIncreasePositionMarginResponse, error)
+ IncreasePositionMargin(context.Context, *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error)
// RewardsOptOut defines a method for opting out of rewards
- RewardsOptOut(ctx context.Context, in *MsgRewardsOptOut, opts ...grpc.CallOption) (*MsgRewardsOptOutResponse, error)
+ RewardsOptOut(context.Context, *MsgRewardsOptOut) (*MsgRewardsOptOutResponse, error)
// AdminUpdateBinaryOptionsMarket defines method for updating a binary options
// market by admin
- AdminUpdateBinaryOptionsMarket(ctx context.Context, in *MsgAdminUpdateBinaryOptionsMarket, opts ...grpc.CallOption) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
+ AdminUpdateBinaryOptionsMarket(context.Context, *MsgAdminUpdateBinaryOptionsMarket) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
//
- ReclaimLockedFunds(ctx context.Context, in *MsgReclaimLockedFunds, opts ...grpc.CallOption) (*MsgReclaimLockedFundsResponse, error)
- UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
+ ReclaimLockedFunds(context.Context, *MsgReclaimLockedFunds) (*MsgReclaimLockedFundsResponse, error)
+ UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
}
-type msgClient struct {
- cc grpc1.ClientConn
+// UnimplementedMsgServer can be embedded to have forward compatible implementations.
+type UnimplementedMsgServer struct {
}
-func NewMsgClient(cc grpc1.ClientConn) MsgClient {
- return &msgClient{cc}
+func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method Deposit not implemented")
}
-
-func (c *msgClient) Deposit(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) {
- out := new(MsgDepositResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/Deposit", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
+func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method Withdraw not implemented")
}
-
-func (c *msgClient) Withdraw(ctx context.Context, in *MsgWithdraw, opts ...grpc.CallOption) (*MsgWithdrawResponse, error) {
- out := new(MsgWithdrawResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/Withdraw", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
+func (*UnimplementedMsgServer) InstantSpotMarketLaunch(ctx context.Context, req *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method InstantSpotMarketLaunch not implemented")
}
-
-func (c *msgClient) InstantSpotMarketLaunch(ctx context.Context, in *MsgInstantSpotMarketLaunch, opts ...grpc.CallOption) (*MsgInstantSpotMarketLaunchResponse, error) {
- out := new(MsgInstantSpotMarketLaunchResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
+func (*UnimplementedMsgServer) InstantPerpetualMarketLaunch(ctx context.Context, req *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method InstantPerpetualMarketLaunch not implemented")
}
-
-func (c *msgClient) InstantPerpetualMarketLaunch(ctx context.Context, in *MsgInstantPerpetualMarketLaunch, opts ...grpc.CallOption) (*MsgInstantPerpetualMarketLaunchResponse, error) {
- out := new(MsgInstantPerpetualMarketLaunchResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
+func (*UnimplementedMsgServer) InstantExpiryFuturesMarketLaunch(ctx context.Context, req *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method InstantExpiryFuturesMarketLaunch not implemented")
+}
+func (*UnimplementedMsgServer) CreateSpotLimitOrder(ctx context.Context, req *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateSpotLimitOrder not implemented")
+}
+func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders(ctx context.Context, req *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method BatchCreateSpotLimitOrders not implemented")
+}
+func (*UnimplementedMsgServer) CreateSpotMarketOrder(ctx context.Context, req *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateSpotMarketOrder not implemented")
+}
+func (*UnimplementedMsgServer) CancelSpotOrder(ctx context.Context, req *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CancelSpotOrder not implemented")
+}
+func (*UnimplementedMsgServer) BatchCancelSpotOrders(ctx context.Context, req *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method BatchCancelSpotOrders not implemented")
+}
+func (*UnimplementedMsgServer) BatchUpdateOrders(ctx context.Context, req *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateOrders not implemented")
+}
+func (*UnimplementedMsgServer) PrivilegedExecuteContract(ctx context.Context, req *MsgPrivilegedExecuteContract) (*MsgPrivilegedExecuteContractResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method PrivilegedExecuteContract not implemented")
+}
+func (*UnimplementedMsgServer) CreateDerivativeLimitOrder(ctx context.Context, req *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateDerivativeLimitOrder not implemented")
+}
+func (*UnimplementedMsgServer) BatchCreateDerivativeLimitOrders(ctx context.Context, req *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method BatchCreateDerivativeLimitOrders not implemented")
+}
+func (*UnimplementedMsgServer) CreateDerivativeMarketOrder(ctx context.Context, req *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateDerivativeMarketOrder not implemented")
+}
+func (*UnimplementedMsgServer) CancelDerivativeOrder(ctx context.Context, req *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CancelDerivativeOrder not implemented")
+}
+func (*UnimplementedMsgServer) BatchCancelDerivativeOrders(ctx context.Context, req *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method BatchCancelDerivativeOrders not implemented")
+}
+func (*UnimplementedMsgServer) InstantBinaryOptionsMarketLaunch(ctx context.Context, req *MsgInstantBinaryOptionsMarketLaunch) (*MsgInstantBinaryOptionsMarketLaunchResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method InstantBinaryOptionsMarketLaunch not implemented")
+}
+func (*UnimplementedMsgServer) CreateBinaryOptionsLimitOrder(ctx context.Context, req *MsgCreateBinaryOptionsLimitOrder) (*MsgCreateBinaryOptionsLimitOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateBinaryOptionsLimitOrder not implemented")
+}
+func (*UnimplementedMsgServer) CreateBinaryOptionsMarketOrder(ctx context.Context, req *MsgCreateBinaryOptionsMarketOrder) (*MsgCreateBinaryOptionsMarketOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CreateBinaryOptionsMarketOrder not implemented")
+}
+func (*UnimplementedMsgServer) CancelBinaryOptionsOrder(ctx context.Context, req *MsgCancelBinaryOptionsOrder) (*MsgCancelBinaryOptionsOrderResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method CancelBinaryOptionsOrder not implemented")
+}
+func (*UnimplementedMsgServer) BatchCancelBinaryOptionsOrders(ctx context.Context, req *MsgBatchCancelBinaryOptionsOrders) (*MsgBatchCancelBinaryOptionsOrdersResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method BatchCancelBinaryOptionsOrders not implemented")
+}
+func (*UnimplementedMsgServer) SubaccountTransfer(ctx context.Context, req *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method SubaccountTransfer not implemented")
+}
+func (*UnimplementedMsgServer) ExternalTransfer(ctx context.Context, req *MsgExternalTransfer) (*MsgExternalTransferResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method ExternalTransfer not implemented")
+}
+func (*UnimplementedMsgServer) LiquidatePosition(ctx context.Context, req *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method LiquidatePosition not implemented")
+}
+func (*UnimplementedMsgServer) EmergencySettleMarket(ctx context.Context, req *MsgEmergencySettleMarket) (*MsgEmergencySettleMarketResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method EmergencySettleMarket not implemented")
+}
+func (*UnimplementedMsgServer) IncreasePositionMargin(ctx context.Context, req *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method IncreasePositionMargin not implemented")
+}
+func (*UnimplementedMsgServer) RewardsOptOut(ctx context.Context, req *MsgRewardsOptOut) (*MsgRewardsOptOutResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method RewardsOptOut not implemented")
+}
+func (*UnimplementedMsgServer) AdminUpdateBinaryOptionsMarket(ctx context.Context, req *MsgAdminUpdateBinaryOptionsMarket) (*MsgAdminUpdateBinaryOptionsMarketResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method AdminUpdateBinaryOptionsMarket not implemented")
+}
+func (*UnimplementedMsgServer) ReclaimLockedFunds(ctx context.Context, req *MsgReclaimLockedFunds) (*MsgReclaimLockedFundsResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method ReclaimLockedFunds not implemented")
+}
+func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
}
-func (c *msgClient) InstantExpiryFuturesMarketLaunch(ctx context.Context, in *MsgInstantExpiryFuturesMarketLaunch, opts ...grpc.CallOption) (*MsgInstantExpiryFuturesMarketLaunchResponse, error) {
- out := new(MsgInstantExpiryFuturesMarketLaunchResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
+func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
+ s.RegisterService(&_Msg_serviceDesc, srv)
}
-func (c *msgClient) CreateSpotLimitOrder(ctx context.Context, in *MsgCreateSpotLimitOrder, opts ...grpc.CallOption) (*MsgCreateSpotLimitOrderResponse, error) {
- out := new(MsgCreateSpotLimitOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder", in, out, opts...)
- if err != nil {
+func _Msg_Deposit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgDeposit)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).Deposit(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/Deposit",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).Deposit(ctx, req.(*MsgDeposit))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) BatchCreateSpotLimitOrders(ctx context.Context, in *MsgBatchCreateSpotLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateSpotLimitOrdersResponse, error) {
- out := new(MsgBatchCreateSpotLimitOrdersResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders", in, out, opts...)
- if err != nil {
+func _Msg_Withdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgWithdraw)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).Withdraw(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/Withdraw",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).Withdraw(ctx, req.(*MsgWithdraw))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) CreateSpotMarketOrder(ctx context.Context, in *MsgCreateSpotMarketOrder, opts ...grpc.CallOption) (*MsgCreateSpotMarketOrderResponse, error) {
- out := new(MsgCreateSpotMarketOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder", in, out, opts...)
- if err != nil {
+func _Msg_InstantSpotMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgInstantSpotMarketLaunch)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).InstantSpotMarketLaunch(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).InstantSpotMarketLaunch(ctx, req.(*MsgInstantSpotMarketLaunch))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) CancelSpotOrder(ctx context.Context, in *MsgCancelSpotOrder, opts ...grpc.CallOption) (*MsgCancelSpotOrderResponse, error) {
- out := new(MsgCancelSpotOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelSpotOrder", in, out, opts...)
- if err != nil {
+func _Msg_InstantPerpetualMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgInstantPerpetualMarketLaunch)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).InstantPerpetualMarketLaunch(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).InstantPerpetualMarketLaunch(ctx, req.(*MsgInstantPerpetualMarketLaunch))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) BatchCancelSpotOrders(ctx context.Context, in *MsgBatchCancelSpotOrders, opts ...grpc.CallOption) (*MsgBatchCancelSpotOrdersResponse, error) {
- out := new(MsgBatchCancelSpotOrdersResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders", in, out, opts...)
- if err != nil {
+func _Msg_InstantExpiryFuturesMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgInstantExpiryFuturesMarketLaunch)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).InstantExpiryFuturesMarketLaunch(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).InstantExpiryFuturesMarketLaunch(ctx, req.(*MsgInstantExpiryFuturesMarketLaunch))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) BatchUpdateOrders(ctx context.Context, in *MsgBatchUpdateOrders, opts ...grpc.CallOption) (*MsgBatchUpdateOrdersResponse, error) {
- out := new(MsgBatchUpdateOrdersResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchUpdateOrders", in, out, opts...)
- if err != nil {
+func _Msg_CreateSpotLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCreateSpotLimitOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CreateSpotLimitOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CreateSpotLimitOrder(ctx, req.(*MsgCreateSpotLimitOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) PrivilegedExecuteContract(ctx context.Context, in *MsgPrivilegedExecuteContract, opts ...grpc.CallOption) (*MsgPrivilegedExecuteContractResponse, error) {
- out := new(MsgPrivilegedExecuteContractResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract", in, out, opts...)
- if err != nil {
+func _Msg_BatchCreateSpotLimitOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgBatchCreateSpotLimitOrders)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).BatchCreateSpotLimitOrders(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).BatchCreateSpotLimitOrders(ctx, req.(*MsgBatchCreateSpotLimitOrders))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) CreateDerivativeLimitOrder(ctx context.Context, in *MsgCreateDerivativeLimitOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeLimitOrderResponse, error) {
- out := new(MsgCreateDerivativeLimitOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder", in, out, opts...)
- if err != nil {
+func _Msg_CreateSpotMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCreateSpotMarketOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CreateSpotMarketOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CreateSpotMarketOrder(ctx, req.(*MsgCreateSpotMarketOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) BatchCreateDerivativeLimitOrders(ctx context.Context, in *MsgBatchCreateDerivativeLimitOrders, opts ...grpc.CallOption) (*MsgBatchCreateDerivativeLimitOrdersResponse, error) {
- out := new(MsgBatchCreateDerivativeLimitOrdersResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders", in, out, opts...)
- if err != nil {
+func _Msg_CancelSpotOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCancelSpotOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
-}
-
-func (c *msgClient) CreateDerivativeMarketOrder(ctx context.Context, in *MsgCreateDerivativeMarketOrder, opts ...grpc.CallOption) (*MsgCreateDerivativeMarketOrderResponse, error) {
- out := new(MsgCreateDerivativeMarketOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder", in, out, opts...)
- if err != nil {
- return nil, err
+ if interceptor == nil {
+ return srv.(MsgServer).CancelSpotOrder(ctx, in)
}
- return out, nil
-}
-
-func (c *msgClient) CancelDerivativeOrder(ctx context.Context, in *MsgCancelDerivativeOrder, opts ...grpc.CallOption) (*MsgCancelDerivativeOrderResponse, error) {
- out := new(MsgCancelDerivativeOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder", in, out, opts...)
- if err != nil {
- return nil, err
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CancelSpotOrder",
}
- return out, nil
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CancelSpotOrder(ctx, req.(*MsgCancelSpotOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) BatchCancelDerivativeOrders(ctx context.Context, in *MsgBatchCancelDerivativeOrders, opts ...grpc.CallOption) (*MsgBatchCancelDerivativeOrdersResponse, error) {
- out := new(MsgBatchCancelDerivativeOrdersResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders", in, out, opts...)
- if err != nil {
+func _Msg_BatchCancelSpotOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgBatchCancelSpotOrders)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).BatchCancelSpotOrders(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).BatchCancelSpotOrders(ctx, req.(*MsgBatchCancelSpotOrders))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) InstantBinaryOptionsMarketLaunch(ctx context.Context, in *MsgInstantBinaryOptionsMarketLaunch, opts ...grpc.CallOption) (*MsgInstantBinaryOptionsMarketLaunchResponse, error) {
- out := new(MsgInstantBinaryOptionsMarketLaunchResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch", in, out, opts...)
- if err != nil {
+func _Msg_BatchUpdateOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgBatchUpdateOrders)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).BatchUpdateOrders(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/BatchUpdateOrders",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).BatchUpdateOrders(ctx, req.(*MsgBatchUpdateOrders))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) CreateBinaryOptionsLimitOrder(ctx context.Context, in *MsgCreateBinaryOptionsLimitOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsLimitOrderResponse, error) {
- out := new(MsgCreateBinaryOptionsLimitOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder", in, out, opts...)
- if err != nil {
+func _Msg_PrivilegedExecuteContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgPrivilegedExecuteContract)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).PrivilegedExecuteContract(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).PrivilegedExecuteContract(ctx, req.(*MsgPrivilegedExecuteContract))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) CreateBinaryOptionsMarketOrder(ctx context.Context, in *MsgCreateBinaryOptionsMarketOrder, opts ...grpc.CallOption) (*MsgCreateBinaryOptionsMarketOrderResponse, error) {
- out := new(MsgCreateBinaryOptionsMarketOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder", in, out, opts...)
- if err != nil {
+func _Msg_CreateDerivativeLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCreateDerivativeLimitOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CreateDerivativeLimitOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CreateDerivativeLimitOrder(ctx, req.(*MsgCreateDerivativeLimitOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) CancelBinaryOptionsOrder(ctx context.Context, in *MsgCancelBinaryOptionsOrder, opts ...grpc.CallOption) (*MsgCancelBinaryOptionsOrderResponse, error) {
- out := new(MsgCancelBinaryOptionsOrderResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder", in, out, opts...)
- if err != nil {
+func _Msg_BatchCreateDerivativeLimitOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgBatchCreateDerivativeLimitOrders)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).BatchCreateDerivativeLimitOrders(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).BatchCreateDerivativeLimitOrders(ctx, req.(*MsgBatchCreateDerivativeLimitOrders))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) BatchCancelBinaryOptionsOrders(ctx context.Context, in *MsgBatchCancelBinaryOptionsOrders, opts ...grpc.CallOption) (*MsgBatchCancelBinaryOptionsOrdersResponse, error) {
- out := new(MsgBatchCancelBinaryOptionsOrdersResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders", in, out, opts...)
- if err != nil {
+func _Msg_CreateDerivativeMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCreateDerivativeMarketOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CreateDerivativeMarketOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CreateDerivativeMarketOrder(ctx, req.(*MsgCreateDerivativeMarketOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) SubaccountTransfer(ctx context.Context, in *MsgSubaccountTransfer, opts ...grpc.CallOption) (*MsgSubaccountTransferResponse, error) {
- out := new(MsgSubaccountTransferResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/SubaccountTransfer", in, out, opts...)
- if err != nil {
+func _Msg_CancelDerivativeOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCancelDerivativeOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CancelDerivativeOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CancelDerivativeOrder(ctx, req.(*MsgCancelDerivativeOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) ExternalTransfer(ctx context.Context, in *MsgExternalTransfer, opts ...grpc.CallOption) (*MsgExternalTransferResponse, error) {
- out := new(MsgExternalTransferResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/ExternalTransfer", in, out, opts...)
- if err != nil {
+func _Msg_BatchCancelDerivativeOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgBatchCancelDerivativeOrders)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).BatchCancelDerivativeOrders(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).BatchCancelDerivativeOrders(ctx, req.(*MsgBatchCancelDerivativeOrders))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) LiquidatePosition(ctx context.Context, in *MsgLiquidatePosition, opts ...grpc.CallOption) (*MsgLiquidatePositionResponse, error) {
- out := new(MsgLiquidatePositionResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/LiquidatePosition", in, out, opts...)
- if err != nil {
+func _Msg_InstantBinaryOptionsMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgInstantBinaryOptionsMarketLaunch)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).InstantBinaryOptionsMarketLaunch(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).InstantBinaryOptionsMarketLaunch(ctx, req.(*MsgInstantBinaryOptionsMarketLaunch))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) IncreasePositionMargin(ctx context.Context, in *MsgIncreasePositionMargin, opts ...grpc.CallOption) (*MsgIncreasePositionMarginResponse, error) {
- out := new(MsgIncreasePositionMarginResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/IncreasePositionMargin", in, out, opts...)
- if err != nil {
+func _Msg_CreateBinaryOptionsLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCreateBinaryOptionsLimitOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CreateBinaryOptionsLimitOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CreateBinaryOptionsLimitOrder(ctx, req.(*MsgCreateBinaryOptionsLimitOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) RewardsOptOut(ctx context.Context, in *MsgRewardsOptOut, opts ...grpc.CallOption) (*MsgRewardsOptOutResponse, error) {
- out := new(MsgRewardsOptOutResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/RewardsOptOut", in, out, opts...)
- if err != nil {
+func _Msg_CreateBinaryOptionsMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCreateBinaryOptionsMarketOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CreateBinaryOptionsMarketOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CreateBinaryOptionsMarketOrder(ctx, req.(*MsgCreateBinaryOptionsMarketOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) AdminUpdateBinaryOptionsMarket(ctx context.Context, in *MsgAdminUpdateBinaryOptionsMarket, opts ...grpc.CallOption) (*MsgAdminUpdateBinaryOptionsMarketResponse, error) {
- out := new(MsgAdminUpdateBinaryOptionsMarketResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket", in, out, opts...)
- if err != nil {
+func _Msg_CancelBinaryOptionsOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgCancelBinaryOptionsOrder)
+ if err := dec(in); err != nil {
return nil, err
}
- return out, nil
+ if interceptor == nil {
+ return srv.(MsgServer).CancelBinaryOptionsOrder(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(MsgServer).CancelBinaryOptionsOrder(ctx, req.(*MsgCancelBinaryOptionsOrder))
+ }
+ return interceptor(ctx, in, info, handler)
}
-func (c *msgClient) ReclaimLockedFunds(ctx context.Context, in *MsgReclaimLockedFunds, opts ...grpc.CallOption) (*MsgReclaimLockedFundsResponse, error) {
- out := new(MsgReclaimLockedFundsResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/ReclaimLockedFunds", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-func (c *msgClient) UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) {
- out := new(MsgUpdateParamsResponse)
- err := c.cc.Invoke(ctx, "/injective.exchange.v1beta1.Msg/UpdateParams", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
-// MsgServer is the server API for Msg service.
-type MsgServer interface {
- // Deposit defines a method for transferring coins from the sender's bank
- // balance into the subaccount's exchange deposits
- Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error)
- // Withdraw defines a method for withdrawing coins from a subaccount's
- // deposits to the user's bank balance
- Withdraw(context.Context, *MsgWithdraw) (*MsgWithdrawResponse, error)
- // InstantSpotMarketLaunch defines method for creating a spot market by paying
- // listing fee without governance
- InstantSpotMarketLaunch(context.Context, *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error)
- // InstantPerpetualMarketLaunch defines a method for creating a new perpetual
- // futures market by paying listing fee without governance
- InstantPerpetualMarketLaunch(context.Context, *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error)
- // InstantExpiryFuturesMarketLaunch defines a method for creating a new expiry
- // futures market by paying listing fee without governance
- InstantExpiryFuturesMarketLaunch(context.Context, *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error)
- // CreateSpotLimitOrder defines a method for creating a new spot limit order.
- CreateSpotLimitOrder(context.Context, *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error)
- // BatchCreateSpotLimitOrder defines a method for creating a new batch of spot
- // limit orders.
- BatchCreateSpotLimitOrders(context.Context, *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error)
- // CreateSpotMarketOrder defines a method for creating a new spot market
- // order.
- CreateSpotMarketOrder(context.Context, *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error)
- // MsgCancelSpotOrder defines a method for cancelling a spot order.
- CancelSpotOrder(context.Context, *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error)
- // BatchCancelSpotOrders defines a method for cancelling a batch of spot
- // orders in a given market.
- BatchCancelSpotOrders(context.Context, *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error)
- // BatchUpdateOrders defines a method for updating a batch of orders.
- BatchUpdateOrders(context.Context, *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error)
- // PrivilegedExecuteContract defines a method for executing a Cosmwasm
- // contract from the exchange module with privileged capabilities.
- PrivilegedExecuteContract(context.Context, *MsgPrivilegedExecuteContract) (*MsgPrivilegedExecuteContractResponse, error)
- // CreateDerivativeLimitOrder defines a method for creating a new derivative
- // limit order.
- CreateDerivativeLimitOrder(context.Context, *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error)
- // BatchCreateDerivativeLimitOrders defines a method for creating a new batch
- // of derivative limit orders.
- BatchCreateDerivativeLimitOrders(context.Context, *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error)
- // MsgCreateDerivativeLimitOrder defines a method for creating a new
- // derivative market order.
- CreateDerivativeMarketOrder(context.Context, *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error)
- // MsgCancelDerivativeOrder defines a method for cancelling a derivative
- // order.
- CancelDerivativeOrder(context.Context, *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error)
- // MsgBatchCancelDerivativeOrders defines a method for cancelling a batch of
- // derivative limit orders.
- BatchCancelDerivativeOrders(context.Context, *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error)
- // InstantBinaryOptionsMarketLaunch defines method for creating a binary
- // options market by paying listing fee without governance
- InstantBinaryOptionsMarketLaunch(context.Context, *MsgInstantBinaryOptionsMarketLaunch) (*MsgInstantBinaryOptionsMarketLaunchResponse, error)
- // CreateBinaryOptionsLimitOrder defines a method for creating a new binary
- // options limit order.
- CreateBinaryOptionsLimitOrder(context.Context, *MsgCreateBinaryOptionsLimitOrder) (*MsgCreateBinaryOptionsLimitOrderResponse, error)
- // CreateBinaryOptionsMarketOrder defines a method for creating a new binary
- // options market order.
- CreateBinaryOptionsMarketOrder(context.Context, *MsgCreateBinaryOptionsMarketOrder) (*MsgCreateBinaryOptionsMarketOrderResponse, error)
- // MsgCancelBinaryOptionsOrder defines a method for cancelling a binary
- // options order.
- CancelBinaryOptionsOrder(context.Context, *MsgCancelBinaryOptionsOrder) (*MsgCancelBinaryOptionsOrderResponse, error)
- // BatchCancelBinaryOptionsOrders defines a method for cancelling a batch of
- // binary options limit orders.
- BatchCancelBinaryOptionsOrders(context.Context, *MsgBatchCancelBinaryOptionsOrders) (*MsgBatchCancelBinaryOptionsOrdersResponse, error)
- // SubaccountTransfer defines a method for transfer between subaccounts
- SubaccountTransfer(context.Context, *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error)
- // ExternalTransfer defines a method for transfer between external accounts
- ExternalTransfer(context.Context, *MsgExternalTransfer) (*MsgExternalTransferResponse, error)
- // LiquidatePosition defines a method for liquidating a position
- LiquidatePosition(context.Context, *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error)
- // IncreasePositionMargin defines a method for increasing margin of a position
- IncreasePositionMargin(context.Context, *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error)
- // RewardsOptOut defines a method for opting out of rewards
- RewardsOptOut(context.Context, *MsgRewardsOptOut) (*MsgRewardsOptOutResponse, error)
- // AdminUpdateBinaryOptionsMarket defines method for updating a binary options
- // market by admin
- AdminUpdateBinaryOptionsMarket(context.Context, *MsgAdminUpdateBinaryOptionsMarket) (*MsgAdminUpdateBinaryOptionsMarketResponse, error)
- //
- ReclaimLockedFunds(context.Context, *MsgReclaimLockedFunds) (*MsgReclaimLockedFundsResponse, error)
- UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
-}
-
-// UnimplementedMsgServer can be embedded to have forward compatible implementations.
-type UnimplementedMsgServer struct {
-}
-
-func (*UnimplementedMsgServer) Deposit(ctx context.Context, req *MsgDeposit) (*MsgDepositResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Deposit not implemented")
-}
-func (*UnimplementedMsgServer) Withdraw(ctx context.Context, req *MsgWithdraw) (*MsgWithdrawResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Withdraw not implemented")
-}
-func (*UnimplementedMsgServer) InstantSpotMarketLaunch(ctx context.Context, req *MsgInstantSpotMarketLaunch) (*MsgInstantSpotMarketLaunchResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method InstantSpotMarketLaunch not implemented")
-}
-func (*UnimplementedMsgServer) InstantPerpetualMarketLaunch(ctx context.Context, req *MsgInstantPerpetualMarketLaunch) (*MsgInstantPerpetualMarketLaunchResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method InstantPerpetualMarketLaunch not implemented")
-}
-func (*UnimplementedMsgServer) InstantExpiryFuturesMarketLaunch(ctx context.Context, req *MsgInstantExpiryFuturesMarketLaunch) (*MsgInstantExpiryFuturesMarketLaunchResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method InstantExpiryFuturesMarketLaunch not implemented")
-}
-func (*UnimplementedMsgServer) CreateSpotLimitOrder(ctx context.Context, req *MsgCreateSpotLimitOrder) (*MsgCreateSpotLimitOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateSpotLimitOrder not implemented")
-}
-func (*UnimplementedMsgServer) BatchCreateSpotLimitOrders(ctx context.Context, req *MsgBatchCreateSpotLimitOrders) (*MsgBatchCreateSpotLimitOrdersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BatchCreateSpotLimitOrders not implemented")
-}
-func (*UnimplementedMsgServer) CreateSpotMarketOrder(ctx context.Context, req *MsgCreateSpotMarketOrder) (*MsgCreateSpotMarketOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateSpotMarketOrder not implemented")
-}
-func (*UnimplementedMsgServer) CancelSpotOrder(ctx context.Context, req *MsgCancelSpotOrder) (*MsgCancelSpotOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CancelSpotOrder not implemented")
-}
-func (*UnimplementedMsgServer) BatchCancelSpotOrders(ctx context.Context, req *MsgBatchCancelSpotOrders) (*MsgBatchCancelSpotOrdersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BatchCancelSpotOrders not implemented")
-}
-func (*UnimplementedMsgServer) BatchUpdateOrders(ctx context.Context, req *MsgBatchUpdateOrders) (*MsgBatchUpdateOrdersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateOrders not implemented")
-}
-func (*UnimplementedMsgServer) PrivilegedExecuteContract(ctx context.Context, req *MsgPrivilegedExecuteContract) (*MsgPrivilegedExecuteContractResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method PrivilegedExecuteContract not implemented")
-}
-func (*UnimplementedMsgServer) CreateDerivativeLimitOrder(ctx context.Context, req *MsgCreateDerivativeLimitOrder) (*MsgCreateDerivativeLimitOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateDerivativeLimitOrder not implemented")
-}
-func (*UnimplementedMsgServer) BatchCreateDerivativeLimitOrders(ctx context.Context, req *MsgBatchCreateDerivativeLimitOrders) (*MsgBatchCreateDerivativeLimitOrdersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BatchCreateDerivativeLimitOrders not implemented")
-}
-func (*UnimplementedMsgServer) CreateDerivativeMarketOrder(ctx context.Context, req *MsgCreateDerivativeMarketOrder) (*MsgCreateDerivativeMarketOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateDerivativeMarketOrder not implemented")
-}
-func (*UnimplementedMsgServer) CancelDerivativeOrder(ctx context.Context, req *MsgCancelDerivativeOrder) (*MsgCancelDerivativeOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CancelDerivativeOrder not implemented")
-}
-func (*UnimplementedMsgServer) BatchCancelDerivativeOrders(ctx context.Context, req *MsgBatchCancelDerivativeOrders) (*MsgBatchCancelDerivativeOrdersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BatchCancelDerivativeOrders not implemented")
-}
-func (*UnimplementedMsgServer) InstantBinaryOptionsMarketLaunch(ctx context.Context, req *MsgInstantBinaryOptionsMarketLaunch) (*MsgInstantBinaryOptionsMarketLaunchResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method InstantBinaryOptionsMarketLaunch not implemented")
-}
-func (*UnimplementedMsgServer) CreateBinaryOptionsLimitOrder(ctx context.Context, req *MsgCreateBinaryOptionsLimitOrder) (*MsgCreateBinaryOptionsLimitOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateBinaryOptionsLimitOrder not implemented")
-}
-func (*UnimplementedMsgServer) CreateBinaryOptionsMarketOrder(ctx context.Context, req *MsgCreateBinaryOptionsMarketOrder) (*MsgCreateBinaryOptionsMarketOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CreateBinaryOptionsMarketOrder not implemented")
-}
-func (*UnimplementedMsgServer) CancelBinaryOptionsOrder(ctx context.Context, req *MsgCancelBinaryOptionsOrder) (*MsgCancelBinaryOptionsOrderResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method CancelBinaryOptionsOrder not implemented")
-}
-func (*UnimplementedMsgServer) BatchCancelBinaryOptionsOrders(ctx context.Context, req *MsgBatchCancelBinaryOptionsOrders) (*MsgBatchCancelBinaryOptionsOrdersResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method BatchCancelBinaryOptionsOrders not implemented")
-}
-func (*UnimplementedMsgServer) SubaccountTransfer(ctx context.Context, req *MsgSubaccountTransfer) (*MsgSubaccountTransferResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method SubaccountTransfer not implemented")
-}
-func (*UnimplementedMsgServer) ExternalTransfer(ctx context.Context, req *MsgExternalTransfer) (*MsgExternalTransferResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ExternalTransfer not implemented")
-}
-func (*UnimplementedMsgServer) LiquidatePosition(ctx context.Context, req *MsgLiquidatePosition) (*MsgLiquidatePositionResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method LiquidatePosition not implemented")
-}
-func (*UnimplementedMsgServer) IncreasePositionMargin(ctx context.Context, req *MsgIncreasePositionMargin) (*MsgIncreasePositionMarginResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method IncreasePositionMargin not implemented")
-}
-func (*UnimplementedMsgServer) RewardsOptOut(ctx context.Context, req *MsgRewardsOptOut) (*MsgRewardsOptOutResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method RewardsOptOut not implemented")
-}
-func (*UnimplementedMsgServer) AdminUpdateBinaryOptionsMarket(ctx context.Context, req *MsgAdminUpdateBinaryOptionsMarket) (*MsgAdminUpdateBinaryOptionsMarketResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method AdminUpdateBinaryOptionsMarket not implemented")
-}
-func (*UnimplementedMsgServer) ReclaimLockedFunds(ctx context.Context, req *MsgReclaimLockedFunds) (*MsgReclaimLockedFundsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method ReclaimLockedFunds not implemented")
-}
-func (*UnimplementedMsgServer) UpdateParams(ctx context.Context, req *MsgUpdateParams) (*MsgUpdateParamsResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method UpdateParams not implemented")
-}
-
-func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
- s.RegisterService(&_Msg_serviceDesc, srv)
-}
-
-func _Msg_Deposit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgDeposit)
- if err := dec(in); err != nil {
+func _Msg_BatchCancelBinaryOptionsOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgBatchCancelBinaryOptionsOrders)
+ if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).Deposit(ctx, in)
+ return srv.(MsgServer).BatchCancelBinaryOptionsOrders(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/Deposit",
+ FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).Deposit(ctx, req.(*MsgDeposit))
+ return srv.(MsgServer).BatchCancelBinaryOptionsOrders(ctx, req.(*MsgBatchCancelBinaryOptionsOrders))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_Withdraw_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgWithdraw)
+func _Msg_SubaccountTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgSubaccountTransfer)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).Withdraw(ctx, in)
+ return srv.(MsgServer).SubaccountTransfer(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/Withdraw",
+ FullMethod: "/injective.exchange.v1beta1.Msg/SubaccountTransfer",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).Withdraw(ctx, req.(*MsgWithdraw))
+ return srv.(MsgServer).SubaccountTransfer(ctx, req.(*MsgSubaccountTransfer))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_InstantSpotMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgInstantSpotMarketLaunch)
+func _Msg_ExternalTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgExternalTransfer)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).InstantSpotMarketLaunch(ctx, in)
+ return srv.(MsgServer).ExternalTransfer(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/InstantSpotMarketLaunch",
+ FullMethod: "/injective.exchange.v1beta1.Msg/ExternalTransfer",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).InstantSpotMarketLaunch(ctx, req.(*MsgInstantSpotMarketLaunch))
+ return srv.(MsgServer).ExternalTransfer(ctx, req.(*MsgExternalTransfer))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_InstantPerpetualMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgInstantPerpetualMarketLaunch)
+func _Msg_LiquidatePosition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgLiquidatePosition)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).InstantPerpetualMarketLaunch(ctx, in)
+ return srv.(MsgServer).LiquidatePosition(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/InstantPerpetualMarketLaunch",
+ FullMethod: "/injective.exchange.v1beta1.Msg/LiquidatePosition",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).InstantPerpetualMarketLaunch(ctx, req.(*MsgInstantPerpetualMarketLaunch))
+ return srv.(MsgServer).LiquidatePosition(ctx, req.(*MsgLiquidatePosition))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_InstantExpiryFuturesMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgInstantExpiryFuturesMarketLaunch)
+func _Msg_EmergencySettleMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgEmergencySettleMarket)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).InstantExpiryFuturesMarketLaunch(ctx, in)
+ return srv.(MsgServer).EmergencySettleMarket(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/InstantExpiryFuturesMarketLaunch",
+ FullMethod: "/injective.exchange.v1beta1.Msg/EmergencySettleMarket",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).InstantExpiryFuturesMarketLaunch(ctx, req.(*MsgInstantExpiryFuturesMarketLaunch))
+ return srv.(MsgServer).EmergencySettleMarket(ctx, req.(*MsgEmergencySettleMarket))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_CreateSpotLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCreateSpotLimitOrder)
+func _Msg_IncreasePositionMargin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgIncreasePositionMargin)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).CreateSpotLimitOrder(ctx, in)
+ return srv.(MsgServer).IncreasePositionMargin(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CreateSpotLimitOrder",
+ FullMethod: "/injective.exchange.v1beta1.Msg/IncreasePositionMargin",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CreateSpotLimitOrder(ctx, req.(*MsgCreateSpotLimitOrder))
+ return srv.(MsgServer).IncreasePositionMargin(ctx, req.(*MsgIncreasePositionMargin))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_BatchCreateSpotLimitOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgBatchCreateSpotLimitOrders)
+func _Msg_RewardsOptOut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgRewardsOptOut)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).BatchCreateSpotLimitOrders(ctx, in)
+ return srv.(MsgServer).RewardsOptOut(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/BatchCreateSpotLimitOrders",
+ FullMethod: "/injective.exchange.v1beta1.Msg/RewardsOptOut",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).BatchCreateSpotLimitOrders(ctx, req.(*MsgBatchCreateSpotLimitOrders))
+ return srv.(MsgServer).RewardsOptOut(ctx, req.(*MsgRewardsOptOut))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_CreateSpotMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCreateSpotMarketOrder)
+func _Msg_AdminUpdateBinaryOptionsMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgAdminUpdateBinaryOptionsMarket)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).CreateSpotMarketOrder(ctx, in)
+ return srv.(MsgServer).AdminUpdateBinaryOptionsMarket(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CreateSpotMarketOrder",
+ FullMethod: "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CreateSpotMarketOrder(ctx, req.(*MsgCreateSpotMarketOrder))
+ return srv.(MsgServer).AdminUpdateBinaryOptionsMarket(ctx, req.(*MsgAdminUpdateBinaryOptionsMarket))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_CancelSpotOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCancelSpotOrder)
+func _Msg_ReclaimLockedFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgReclaimLockedFunds)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).CancelSpotOrder(ctx, in)
+ return srv.(MsgServer).ReclaimLockedFunds(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CancelSpotOrder",
+ FullMethod: "/injective.exchange.v1beta1.Msg/ReclaimLockedFunds",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CancelSpotOrder(ctx, req.(*MsgCancelSpotOrder))
+ return srv.(MsgServer).ReclaimLockedFunds(ctx, req.(*MsgReclaimLockedFunds))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_BatchCancelSpotOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgBatchCancelSpotOrders)
+func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(MsgUpdateParams)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
- return srv.(MsgServer).BatchCancelSpotOrders(ctx, in)
+ return srv.(MsgServer).UpdateParams(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelSpotOrders",
+ FullMethod: "/injective.exchange.v1beta1.Msg/UpdateParams",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).BatchCancelSpotOrders(ctx, req.(*MsgBatchCancelSpotOrders))
+ return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
}
return interceptor(ctx, in, info, handler)
}
-func _Msg_BatchUpdateOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgBatchUpdateOrders)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).BatchUpdateOrders(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/BatchUpdateOrders",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).BatchUpdateOrders(ctx, req.(*MsgBatchUpdateOrders))
- }
- return interceptor(ctx, in, info, handler)
+var _Msg_serviceDesc = grpc.ServiceDesc{
+ ServiceName: "injective.exchange.v1beta1.Msg",
+ HandlerType: (*MsgServer)(nil),
+ Methods: []grpc.MethodDesc{
+ {
+ MethodName: "Deposit",
+ Handler: _Msg_Deposit_Handler,
+ },
+ {
+ MethodName: "Withdraw",
+ Handler: _Msg_Withdraw_Handler,
+ },
+ {
+ MethodName: "InstantSpotMarketLaunch",
+ Handler: _Msg_InstantSpotMarketLaunch_Handler,
+ },
+ {
+ MethodName: "InstantPerpetualMarketLaunch",
+ Handler: _Msg_InstantPerpetualMarketLaunch_Handler,
+ },
+ {
+ MethodName: "InstantExpiryFuturesMarketLaunch",
+ Handler: _Msg_InstantExpiryFuturesMarketLaunch_Handler,
+ },
+ {
+ MethodName: "CreateSpotLimitOrder",
+ Handler: _Msg_CreateSpotLimitOrder_Handler,
+ },
+ {
+ MethodName: "BatchCreateSpotLimitOrders",
+ Handler: _Msg_BatchCreateSpotLimitOrders_Handler,
+ },
+ {
+ MethodName: "CreateSpotMarketOrder",
+ Handler: _Msg_CreateSpotMarketOrder_Handler,
+ },
+ {
+ MethodName: "CancelSpotOrder",
+ Handler: _Msg_CancelSpotOrder_Handler,
+ },
+ {
+ MethodName: "BatchCancelSpotOrders",
+ Handler: _Msg_BatchCancelSpotOrders_Handler,
+ },
+ {
+ MethodName: "BatchUpdateOrders",
+ Handler: _Msg_BatchUpdateOrders_Handler,
+ },
+ {
+ MethodName: "PrivilegedExecuteContract",
+ Handler: _Msg_PrivilegedExecuteContract_Handler,
+ },
+ {
+ MethodName: "CreateDerivativeLimitOrder",
+ Handler: _Msg_CreateDerivativeLimitOrder_Handler,
+ },
+ {
+ MethodName: "BatchCreateDerivativeLimitOrders",
+ Handler: _Msg_BatchCreateDerivativeLimitOrders_Handler,
+ },
+ {
+ MethodName: "CreateDerivativeMarketOrder",
+ Handler: _Msg_CreateDerivativeMarketOrder_Handler,
+ },
+ {
+ MethodName: "CancelDerivativeOrder",
+ Handler: _Msg_CancelDerivativeOrder_Handler,
+ },
+ {
+ MethodName: "BatchCancelDerivativeOrders",
+ Handler: _Msg_BatchCancelDerivativeOrders_Handler,
+ },
+ {
+ MethodName: "InstantBinaryOptionsMarketLaunch",
+ Handler: _Msg_InstantBinaryOptionsMarketLaunch_Handler,
+ },
+ {
+ MethodName: "CreateBinaryOptionsLimitOrder",
+ Handler: _Msg_CreateBinaryOptionsLimitOrder_Handler,
+ },
+ {
+ MethodName: "CreateBinaryOptionsMarketOrder",
+ Handler: _Msg_CreateBinaryOptionsMarketOrder_Handler,
+ },
+ {
+ MethodName: "CancelBinaryOptionsOrder",
+ Handler: _Msg_CancelBinaryOptionsOrder_Handler,
+ },
+ {
+ MethodName: "BatchCancelBinaryOptionsOrders",
+ Handler: _Msg_BatchCancelBinaryOptionsOrders_Handler,
+ },
+ {
+ MethodName: "SubaccountTransfer",
+ Handler: _Msg_SubaccountTransfer_Handler,
+ },
+ {
+ MethodName: "ExternalTransfer",
+ Handler: _Msg_ExternalTransfer_Handler,
+ },
+ {
+ MethodName: "LiquidatePosition",
+ Handler: _Msg_LiquidatePosition_Handler,
+ },
+ {
+ MethodName: "EmergencySettleMarket",
+ Handler: _Msg_EmergencySettleMarket_Handler,
+ },
+ {
+ MethodName: "IncreasePositionMargin",
+ Handler: _Msg_IncreasePositionMargin_Handler,
+ },
+ {
+ MethodName: "RewardsOptOut",
+ Handler: _Msg_RewardsOptOut_Handler,
+ },
+ {
+ MethodName: "AdminUpdateBinaryOptionsMarket",
+ Handler: _Msg_AdminUpdateBinaryOptionsMarket_Handler,
+ },
+ {
+ MethodName: "ReclaimLockedFunds",
+ Handler: _Msg_ReclaimLockedFunds_Handler,
+ },
+ {
+ MethodName: "UpdateParams",
+ Handler: _Msg_UpdateParams_Handler,
+ },
+ },
+ Streams: []grpc.StreamDesc{},
+ Metadata: "injective/exchange/v1beta1/tx.proto",
}
-func _Msg_PrivilegedExecuteContract_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgPrivilegedExecuteContract)
- if err := dec(in); err != nil {
+func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
return nil, err
}
- if interceptor == nil {
- return srv.(MsgServer).PrivilegedExecuteContract(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/PrivilegedExecuteContract",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).PrivilegedExecuteContract(ctx, req.(*MsgPrivilegedExecuteContract))
- }
- return interceptor(ctx, in, info, handler)
+ return dAtA[:n], nil
}
-func _Msg_CreateDerivativeLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCreateDerivativeLimitOrder)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).CreateDerivativeLimitOrder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CreateDerivativeLimitOrder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CreateDerivativeLimitOrder(ctx, req.(*MsgCreateDerivativeLimitOrder))
- }
- return interceptor(ctx, in, info, handler)
+func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
}
-func _Msg_BatchCreateDerivativeLimitOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgBatchCreateDerivativeLimitOrders)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).BatchCreateDerivativeLimitOrders(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/BatchCreateDerivativeLimitOrders",
+func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintTx(dAtA, i, uint64(size))
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).BatchCreateDerivativeLimitOrders(ctx, req.(*MsgBatchCreateDerivativeLimitOrders))
+ i--
+ dAtA[i] = 0x12
+ if len(m.Authority) > 0 {
+ i -= len(m.Authority)
+ copy(dAtA[i:], m.Authority)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
+ i--
+ dAtA[i] = 0xa
}
- return interceptor(ctx, in, info, handler)
+ return len(dAtA) - i, nil
}
-func _Msg_CreateDerivativeMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCreateDerivativeMarketOrder)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).CreateDerivativeMarketOrder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CreateDerivativeMarketOrder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CreateDerivativeMarketOrder(ctx, req.(*MsgCreateDerivativeMarketOrder))
+func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- return interceptor(ctx, in, info, handler)
+ return dAtA[:n], nil
}
-func _Msg_CancelDerivativeOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCancelDerivativeOrder)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).CancelDerivativeOrder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CancelDerivativeOrder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CancelDerivativeOrder(ctx, req.(*MsgCancelDerivativeOrder))
- }
- return interceptor(ctx, in, info, handler)
+func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
}
-func _Msg_BatchCancelDerivativeOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgBatchCancelDerivativeOrders)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).BatchCancelDerivativeOrders(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelDerivativeOrders",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).BatchCancelDerivativeOrders(ctx, req.(*MsgBatchCancelDerivativeOrders))
- }
- return interceptor(ctx, in, info, handler)
+func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
}
-func _Msg_InstantBinaryOptionsMarketLaunch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgInstantBinaryOptionsMarketLaunch)
- if err := dec(in); err != nil {
+func (m *MsgDeposit) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
return nil, err
}
- if interceptor == nil {
- return srv.(MsgServer).InstantBinaryOptionsMarketLaunch(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/InstantBinaryOptionsMarketLaunch",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).InstantBinaryOptionsMarketLaunch(ctx, req.(*MsgInstantBinaryOptionsMarketLaunch))
- }
- return interceptor(ctx, in, info, handler)
+ return dAtA[:n], nil
}
-func _Msg_CreateBinaryOptionsLimitOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCreateBinaryOptionsLimitOrder)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).CreateBinaryOptionsLimitOrder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsLimitOrder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CreateBinaryOptionsLimitOrder(ctx, req.(*MsgCreateBinaryOptionsLimitOrder))
- }
- return interceptor(ctx, in, info, handler)
+func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
}
-func _Msg_CreateBinaryOptionsMarketOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCreateBinaryOptionsMarketOrder)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).CreateBinaryOptionsMarketOrder(ctx, in)
+func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintTx(dAtA, i, uint64(size))
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CreateBinaryOptionsMarketOrder",
+ i--
+ dAtA[i] = 0x1a
+ if len(m.SubaccountId) > 0 {
+ i -= len(m.SubaccountId)
+ copy(dAtA[i:], m.SubaccountId)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
+ i--
+ dAtA[i] = 0x12
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CreateBinaryOptionsMarketOrder(ctx, req.(*MsgCreateBinaryOptionsMarketOrder))
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0xa
}
- return interceptor(ctx, in, info, handler)
+ return len(dAtA) - i, nil
}
-func _Msg_CancelBinaryOptionsOrder_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgCancelBinaryOptionsOrder)
- if err := dec(in); err != nil {
+func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
return nil, err
}
- if interceptor == nil {
- return srv.(MsgServer).CancelBinaryOptionsOrder(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/CancelBinaryOptionsOrder",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).CancelBinaryOptionsOrder(ctx, req.(*MsgCancelBinaryOptionsOrder))
- }
- return interceptor(ctx, in, info, handler)
+ return dAtA[:n], nil
}
-func _Msg_BatchCancelBinaryOptionsOrders_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgBatchCancelBinaryOptionsOrders)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).BatchCancelBinaryOptionsOrders(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/BatchCancelBinaryOptionsOrders",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).BatchCancelBinaryOptionsOrders(ctx, req.(*MsgBatchCancelBinaryOptionsOrders))
- }
- return interceptor(ctx, in, info, handler)
+func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
}
-func _Msg_SubaccountTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgSubaccountTransfer)
- if err := dec(in); err != nil {
+func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgWithdraw) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
return nil, err
}
- if interceptor == nil {
- return srv.(MsgServer).SubaccountTransfer(ctx, in)
+ return dAtA[:n], nil
+}
+
+func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintTx(dAtA, i, uint64(size))
}
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/SubaccountTransfer",
+ i--
+ dAtA[i] = 0x1a
+ if len(m.SubaccountId) > 0 {
+ i -= len(m.SubaccountId)
+ copy(dAtA[i:], m.SubaccountId)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
+ i--
+ dAtA[i] = 0x12
}
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).SubaccountTransfer(ctx, req.(*MsgSubaccountTransfer))
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0xa
}
- return interceptor(ctx, in, info, handler)
+ return len(dAtA) - i, nil
}
-func _Msg_ExternalTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgExternalTransfer)
- if err := dec(in); err != nil {
+func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
return nil, err
}
- if interceptor == nil {
- return srv.(MsgServer).ExternalTransfer(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/ExternalTransfer",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).ExternalTransfer(ctx, req.(*MsgExternalTransfer))
- }
- return interceptor(ctx, in, info, handler)
+ return dAtA[:n], nil
}
-func _Msg_LiquidatePosition_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgLiquidatePosition)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).LiquidatePosition(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/LiquidatePosition",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).LiquidatePosition(ctx, req.(*MsgLiquidatePosition))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _Msg_IncreasePositionMargin_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgIncreasePositionMargin)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).IncreasePositionMargin(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/IncreasePositionMargin",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).IncreasePositionMargin(ctx, req.(*MsgIncreasePositionMargin))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _Msg_RewardsOptOut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgRewardsOptOut)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).RewardsOptOut(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/RewardsOptOut",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).RewardsOptOut(ctx, req.(*MsgRewardsOptOut))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _Msg_AdminUpdateBinaryOptionsMarket_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgAdminUpdateBinaryOptionsMarket)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).AdminUpdateBinaryOptionsMarket(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/AdminUpdateBinaryOptionsMarket",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).AdminUpdateBinaryOptionsMarket(ctx, req.(*MsgAdminUpdateBinaryOptionsMarket))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _Msg_ReclaimLockedFunds_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgReclaimLockedFunds)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).ReclaimLockedFunds(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/ReclaimLockedFunds",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).ReclaimLockedFunds(ctx, req.(*MsgReclaimLockedFunds))
- }
- return interceptor(ctx, in, info, handler)
-}
-
-func _Msg_UpdateParams_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(MsgUpdateParams)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(MsgServer).UpdateParams(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective.exchange.v1beta1.Msg/UpdateParams",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(MsgServer).UpdateParams(ctx, req.(*MsgUpdateParams))
- }
- return interceptor(ctx, in, info, handler)
+func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
}
-var _Msg_serviceDesc = grpc.ServiceDesc{
- ServiceName: "injective.exchange.v1beta1.Msg",
- HandlerType: (*MsgServer)(nil),
- Methods: []grpc.MethodDesc{
- {
- MethodName: "Deposit",
- Handler: _Msg_Deposit_Handler,
- },
- {
- MethodName: "Withdraw",
- Handler: _Msg_Withdraw_Handler,
- },
- {
- MethodName: "InstantSpotMarketLaunch",
- Handler: _Msg_InstantSpotMarketLaunch_Handler,
- },
- {
- MethodName: "InstantPerpetualMarketLaunch",
- Handler: _Msg_InstantPerpetualMarketLaunch_Handler,
- },
- {
- MethodName: "InstantExpiryFuturesMarketLaunch",
- Handler: _Msg_InstantExpiryFuturesMarketLaunch_Handler,
- },
- {
- MethodName: "CreateSpotLimitOrder",
- Handler: _Msg_CreateSpotLimitOrder_Handler,
- },
- {
- MethodName: "BatchCreateSpotLimitOrders",
- Handler: _Msg_BatchCreateSpotLimitOrders_Handler,
- },
- {
- MethodName: "CreateSpotMarketOrder",
- Handler: _Msg_CreateSpotMarketOrder_Handler,
- },
- {
- MethodName: "CancelSpotOrder",
- Handler: _Msg_CancelSpotOrder_Handler,
- },
- {
- MethodName: "BatchCancelSpotOrders",
- Handler: _Msg_BatchCancelSpotOrders_Handler,
- },
- {
- MethodName: "BatchUpdateOrders",
- Handler: _Msg_BatchUpdateOrders_Handler,
- },
- {
- MethodName: "PrivilegedExecuteContract",
- Handler: _Msg_PrivilegedExecuteContract_Handler,
- },
- {
- MethodName: "CreateDerivativeLimitOrder",
- Handler: _Msg_CreateDerivativeLimitOrder_Handler,
- },
- {
- MethodName: "BatchCreateDerivativeLimitOrders",
- Handler: _Msg_BatchCreateDerivativeLimitOrders_Handler,
- },
- {
- MethodName: "CreateDerivativeMarketOrder",
- Handler: _Msg_CreateDerivativeMarketOrder_Handler,
- },
- {
- MethodName: "CancelDerivativeOrder",
- Handler: _Msg_CancelDerivativeOrder_Handler,
- },
- {
- MethodName: "BatchCancelDerivativeOrders",
- Handler: _Msg_BatchCancelDerivativeOrders_Handler,
- },
- {
- MethodName: "InstantBinaryOptionsMarketLaunch",
- Handler: _Msg_InstantBinaryOptionsMarketLaunch_Handler,
- },
- {
- MethodName: "CreateBinaryOptionsLimitOrder",
- Handler: _Msg_CreateBinaryOptionsLimitOrder_Handler,
- },
- {
- MethodName: "CreateBinaryOptionsMarketOrder",
- Handler: _Msg_CreateBinaryOptionsMarketOrder_Handler,
- },
- {
- MethodName: "CancelBinaryOptionsOrder",
- Handler: _Msg_CancelBinaryOptionsOrder_Handler,
- },
- {
- MethodName: "BatchCancelBinaryOptionsOrders",
- Handler: _Msg_BatchCancelBinaryOptionsOrders_Handler,
- },
- {
- MethodName: "SubaccountTransfer",
- Handler: _Msg_SubaccountTransfer_Handler,
- },
- {
- MethodName: "ExternalTransfer",
- Handler: _Msg_ExternalTransfer_Handler,
- },
- {
- MethodName: "LiquidatePosition",
- Handler: _Msg_LiquidatePosition_Handler,
- },
- {
- MethodName: "IncreasePositionMargin",
- Handler: _Msg_IncreasePositionMargin_Handler,
- },
- {
- MethodName: "RewardsOptOut",
- Handler: _Msg_RewardsOptOut_Handler,
- },
- {
- MethodName: "AdminUpdateBinaryOptionsMarket",
- Handler: _Msg_AdminUpdateBinaryOptionsMarket_Handler,
- },
- {
- MethodName: "ReclaimLockedFunds",
- Handler: _Msg_ReclaimLockedFunds_Handler,
- },
- {
- MethodName: "UpdateParams",
- Handler: _Msg_UpdateParams_Handler,
- },
- },
- Streams: []grpc.StreamDesc{},
- Metadata: "injective/exchange/v1beta1/tx.proto",
+func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
}
-func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {
+func (m *MsgCreateSpotLimitOrder) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -5686,221 +4857,18 @@ func (m *MsgUpdateParams) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *MsgUpdateParams) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgCreateSpotLimitOrder) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *MsgUpdateParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgCreateSpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
{
- size, err := m.Params.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x12
- if len(m.Authority) > 0 {
- i -= len(m.Authority)
- copy(dAtA[i:], m.Authority)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Authority)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgUpdateParamsResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgUpdateParamsResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgUpdateParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgDeposit) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgDeposit) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- {
- size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- if len(m.SubaccountId) > 0 {
- i -= len(m.SubaccountId)
- copy(dAtA[i:], m.SubaccountId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgDepositResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgDepositResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgDepositResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgWithdraw) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgWithdraw) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- {
- size, err := m.Amount.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- if len(m.SubaccountId) > 0 {
- i -= len(m.SubaccountId)
- copy(dAtA[i:], m.SubaccountId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgWithdrawResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgWithdrawResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgWithdrawResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *MsgCreateSpotLimitOrder) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgCreateSpotLimitOrder) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgCreateSpotLimitOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- {
- size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
+ size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
return 0, err
}
@@ -6945,6 +5913,13 @@ func (m *MsgCancelSpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x2a
+ }
if len(m.OrderHash) > 0 {
i -= len(m.OrderHash)
copy(dAtA[i:], m.OrderHash)
@@ -7653,6 +6628,13 @@ func (m *MsgCancelDerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error
_ = i
var l int
_ = l
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x32
+ }
if m.OrderMask != 0 {
i = encodeVarintTx(dAtA, i, uint64(m.OrderMask))
i--
@@ -7732,6 +6714,13 @@ func (m *MsgCancelBinaryOptionsOrder) MarshalToSizedBuffer(dAtA []byte) (int, er
_ = i
var l int
_ = l
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x32
+ }
if m.OrderMask != 0 {
i = encodeVarintTx(dAtA, i, uint64(m.OrderMask))
i--
@@ -7811,6 +6800,13 @@ func (m *OrderData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x2a
+ }
if m.OrderMask != 0 {
i = encodeVarintTx(dAtA, i, uint64(m.OrderMask))
i--
@@ -8153,7 +7149,7 @@ func (m *MsgLiquidatePositionResponse) MarshalToSizedBuffer(dAtA []byte) (int, e
return len(dAtA) - i, nil
}
-func (m *MsgIncreasePositionMargin) Marshal() (dAtA []byte, err error) {
+func (m *MsgEmergencySettleMarket) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8163,44 +7159,27 @@ func (m *MsgIncreasePositionMargin) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *MsgIncreasePositionMargin) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgEmergencySettleMarket) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *MsgIncreasePositionMargin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgEmergencySettleMarket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- {
- size := m.Amount.Size()
- i -= size
- if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x2a
if len(m.MarketId) > 0 {
i -= len(m.MarketId)
copy(dAtA[i:], m.MarketId)
i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
i--
- dAtA[i] = 0x22
- }
- if len(m.DestinationSubaccountId) > 0 {
- i -= len(m.DestinationSubaccountId)
- copy(dAtA[i:], m.DestinationSubaccountId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationSubaccountId)))
- i--
dAtA[i] = 0x1a
}
- if len(m.SourceSubaccountId) > 0 {
- i -= len(m.SourceSubaccountId)
- copy(dAtA[i:], m.SourceSubaccountId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.SourceSubaccountId)))
+ if len(m.SubaccountId) > 0 {
+ i -= len(m.SubaccountId)
+ copy(dAtA[i:], m.SubaccountId)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.SubaccountId)))
i--
dAtA[i] = 0x12
}
@@ -8214,7 +7193,7 @@ func (m *MsgIncreasePositionMargin) MarshalToSizedBuffer(dAtA []byte) (int, erro
return len(dAtA) - i, nil
}
-func (m *MsgIncreasePositionMarginResponse) Marshal() (dAtA []byte, err error) {
+func (m *MsgEmergencySettleMarketResponse) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8224,12 +7203,12 @@ func (m *MsgIncreasePositionMarginResponse) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *MsgIncreasePositionMarginResponse) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgEmergencySettleMarketResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *MsgIncreasePositionMarginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgEmergencySettleMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
@@ -8237,7 +7216,7 @@ func (m *MsgIncreasePositionMarginResponse) MarshalToSizedBuffer(dAtA []byte) (i
return len(dAtA) - i, nil
}
-func (m *MsgPrivilegedExecuteContract) Marshal() (dAtA []byte, err error) {
+func (m *MsgIncreasePositionMargin) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8247,26 +7226,110 @@ func (m *MsgPrivilegedExecuteContract) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *MsgPrivilegedExecuteContract) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgIncreasePositionMargin) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *MsgPrivilegedExecuteContract) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgIncreasePositionMargin) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- if len(m.Data) > 0 {
- i -= len(m.Data)
- copy(dAtA[i:], m.Data)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Data)))
- i--
- dAtA[i] = 0x22
- }
- if len(m.ContractAddress) > 0 {
- i -= len(m.ContractAddress)
- copy(dAtA[i:], m.ContractAddress)
+ {
+ size := m.Amount.Size()
+ i -= size
+ if _, err := m.Amount.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintTx(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.DestinationSubaccountId) > 0 {
+ i -= len(m.DestinationSubaccountId)
+ copy(dAtA[i:], m.DestinationSubaccountId)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.DestinationSubaccountId)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.SourceSubaccountId) > 0 {
+ i -= len(m.SourceSubaccountId)
+ copy(dAtA[i:], m.SourceSubaccountId)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.SourceSubaccountId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgIncreasePositionMarginResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgIncreasePositionMarginResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgIncreasePositionMarginResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgPrivilegedExecuteContract) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *MsgPrivilegedExecuteContract) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgPrivilegedExecuteContract) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Data) > 0 {
+ i -= len(m.Data)
+ copy(dAtA[i:], m.Data)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Data)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.ContractAddress) > 0 {
+ i -= len(m.ContractAddress)
+ copy(dAtA[i:], m.ContractAddress)
i = encodeVarintTx(dAtA, i, uint64(len(m.ContractAddress)))
i--
dAtA[i] = 0x1a
@@ -8325,7 +7388,7 @@ func (m *MsgPrivilegedExecuteContractResponse) MarshalToSizedBuffer(dAtA []byte)
return len(dAtA) - i, nil
}
-func (m *SpotMarketParamUpdateProposal) Marshal() (dAtA []byte, err error) {
+func (m *MsgRewardsOptOut) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8335,106 +7398,94 @@ func (m *SpotMarketParamUpdateProposal) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *SpotMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgRewardsOptOut) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *SpotMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgRewardsOptOut) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- if m.Status != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.Status))
- i--
- dAtA[i] = 0x48
- }
- if m.MinQuantityTickSize != nil {
- {
- size := m.MinQuantityTickSize.Size()
- i -= size
- if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x42
- }
- if m.MinPriceTickSize != nil {
- {
- size := m.MinPriceTickSize.Size()
- i -= size
- if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x3a
- }
- if m.RelayerFeeShareRate != nil {
- {
- size := m.RelayerFeeShareRate.Size()
- i -= size
- if _, err := m.RelayerFeeShareRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
i--
- dAtA[i] = 0x32
+ dAtA[i] = 0xa
}
- if m.TakerFeeRate != nil {
- {
- size := m.TakerFeeRate.Size()
- i -= size
- if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x2a
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgRewardsOptOutResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if m.MakerFeeRate != nil {
- {
- size := m.MakerFeeRate.Size()
- i -= size
- if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
+ return dAtA[:n], nil
+}
+
+func (m *MsgRewardsOptOutResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgRewardsOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgReclaimLockedFunds) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.MarketId) > 0 {
- i -= len(m.MarketId)
- copy(dAtA[i:], m.MarketId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
+ return dAtA[:n], nil
+}
+
+func (m *MsgReclaimLockedFunds) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgReclaimLockedFunds) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Signature) > 0 {
+ i -= len(m.Signature)
+ copy(dAtA[i:], m.Signature)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Signature)))
i--
dAtA[i] = 0x1a
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
+ if len(m.LockedAccountPubKey) > 0 {
+ i -= len(m.LockedAccountPubKey)
+ copy(dAtA[i:], m.LockedAccountPubKey)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.LockedAccountPubKey)))
i--
dAtA[i] = 0x12
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *ExchangeEnableProposal) Marshal() (dAtA []byte, err error) {
+func (m *MsgReclaimLockedFundsResponse) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8444,39 +7495,57 @@ func (m *ExchangeEnableProposal) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *ExchangeEnableProposal) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgReclaimLockedFundsResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *ExchangeEnableProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgReclaimLockedFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- if m.ExchangeType != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.ExchangeType))
- i--
- dAtA[i] = 0x18
+ return len(dAtA) - i, nil
+}
+
+func (m *MsgSignData) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
+ return dAtA[:n], nil
+}
+
+func (m *MsgSignData) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *MsgSignData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Data) > 0 {
+ i -= len(m.Data)
+ copy(dAtA[i:], m.Data)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Data)))
i--
dAtA[i] = 0x12
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
+ if len(m.Signer) > 0 {
+ i -= len(m.Signer)
+ copy(dAtA[i:], m.Signer)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Signer)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *BatchExchangeModificationProposal) Marshal() (dAtA []byte, err error) {
+func (m *MsgSignDoc) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8486,156 +7555,37 @@ func (m *BatchExchangeModificationProposal) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *BatchExchangeModificationProposal) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgSignDoc) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *BatchExchangeModificationProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- if m.DenomDecimalsUpdateProposal != nil {
- {
- size, err := m.DenomDecimalsUpdateProposal.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
+ {
+ size, err := m.Value.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
}
- i--
- dAtA[i] = 0x5a
- }
- if len(m.BinaryOptionsParamUpdateProposals) > 0 {
- for iNdEx := len(m.BinaryOptionsParamUpdateProposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.BinaryOptionsParamUpdateProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x52
- }
- }
- if len(m.BinaryOptionsMarketLaunchProposals) > 0 {
- for iNdEx := len(m.BinaryOptionsMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.BinaryOptionsMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x4a
- }
- }
- if m.TradingRewardCampaignUpdateProposal != nil {
- {
- size, err := m.TradingRewardCampaignUpdateProposal.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x42
- }
- if len(m.ExpiryFuturesMarketLaunchProposals) > 0 {
- for iNdEx := len(m.ExpiryFuturesMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.ExpiryFuturesMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x3a
- }
- }
- if len(m.PerpetualMarketLaunchProposals) > 0 {
- for iNdEx := len(m.PerpetualMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.PerpetualMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x32
- }
- }
- if len(m.SpotMarketLaunchProposals) > 0 {
- for iNdEx := len(m.SpotMarketLaunchProposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.SpotMarketLaunchProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x2a
- }
- }
- if len(m.DerivativeMarketParamUpdateProposals) > 0 {
- for iNdEx := len(m.DerivativeMarketParamUpdateProposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.DerivativeMarketParamUpdateProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
- }
- }
- if len(m.SpotMarketParamUpdateProposals) > 0 {
- for iNdEx := len(m.SpotMarketParamUpdateProposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.SpotMarketParamUpdateProposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- }
- }
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ i -= size
+ i = encodeVarintTx(dAtA, i, uint64(size))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
+ i--
+ dAtA[i] = 0x12
+ if len(m.SignType) > 0 {
+ i -= len(m.SignType)
+ copy(dAtA[i:], m.SignType)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.SignType)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *SpotMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
+func (m *MsgAdminUpdateBinaryOptionsMarket) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8645,99 +7595,61 @@ func (m *SpotMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *SpotMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *SpotMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- if m.TakerFeeRate != nil {
- {
- size := m.TakerFeeRate.Size()
- i -= size
- if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
+ if m.Status != 0 {
+ i = encodeVarintTx(dAtA, i, uint64(m.Status))
+ i--
+ dAtA[i] = 0x30
+ }
+ if m.SettlementTimestamp != 0 {
+ i = encodeVarintTx(dAtA, i, uint64(m.SettlementTimestamp))
i--
- dAtA[i] = 0x4a
+ dAtA[i] = 0x28
+ }
+ if m.ExpirationTimestamp != 0 {
+ i = encodeVarintTx(dAtA, i, uint64(m.ExpirationTimestamp))
+ i--
+ dAtA[i] = 0x20
}
- if m.MakerFeeRate != nil {
+ if m.SettlementPrice != nil {
{
- size := m.MakerFeeRate.Size()
+ size := m.SettlementPrice.Size()
i -= size
- if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
+ if _, err := m.SettlementPrice.MarshalTo(dAtA[i:]); err != nil {
return 0, err
}
i = encodeVarintTx(dAtA, i, uint64(size))
}
i--
- dAtA[i] = 0x42
- }
- {
- size := m.MinQuantityTickSize.Size()
- i -= size
- if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x3a
- {
- size := m.MinPriceTickSize.Size()
- i -= size
- if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x32
- if len(m.QuoteDenom) > 0 {
- i -= len(m.QuoteDenom)
- copy(dAtA[i:], m.QuoteDenom)
- i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
- i--
- dAtA[i] = 0x2a
- }
- if len(m.BaseDenom) > 0 {
- i -= len(m.BaseDenom)
- copy(dAtA[i:], m.BaseDenom)
- i = encodeVarintTx(dAtA, i, uint64(len(m.BaseDenom)))
- i--
- dAtA[i] = 0x22
- }
- if len(m.Ticker) > 0 {
- i -= len(m.Ticker)
- copy(dAtA[i:], m.Ticker)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
- i--
dAtA[i] = 0x1a
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
i--
dAtA[i] = 0x12
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
+ if len(m.Sender) > 0 {
+ i -= len(m.Sender)
+ copy(dAtA[i:], m.Sender)
+ i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
i--
dAtA[i] = 0xa
}
return len(dAtA) - i, nil
}
-func (m *PerpetualMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -8747,8408 +7659,1289 @@ func (m *PerpetualMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *PerpetualMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *PerpetualMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
_ = l
- {
- size := m.MinQuantityTickSize.Size()
- i -= size
- if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
+ offset -= sovTx(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
}
- i--
- dAtA[i] = 0x72
- {
- size := m.MinPriceTickSize.Size()
- i -= size
- if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *MsgUpdateParams) Size() (n int) {
+ if m == nil {
+ return 0
}
- i--
- dAtA[i] = 0x6a
- {
- size := m.TakerFeeRate.Size()
- i -= size
- if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ var l int
+ _ = l
+ l = len(m.Authority)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x62
- {
- size := m.MakerFeeRate.Size()
- i -= size
- if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ l = m.Params.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
+}
+
+func (m *MsgUpdateParamsResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- i--
- dAtA[i] = 0x5a
- {
- size := m.MaintenanceMarginRatio.Size()
- i -= size
- if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgDeposit) Size() (n int) {
+ if m == nil {
+ return 0
}
- i--
- dAtA[i] = 0x52
- {
- size := m.InitialMarginRatio.Size()
- i -= size
- if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x4a
- if m.OracleType != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
- i--
- dAtA[i] = 0x40
- }
- if m.OracleScaleFactor != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
- i--
- dAtA[i] = 0x38
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.OracleQuote) > 0 {
- i -= len(m.OracleQuote)
- copy(dAtA[i:], m.OracleQuote)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleQuote)))
- i--
- dAtA[i] = 0x32
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.OracleBase) > 0 {
- i -= len(m.OracleBase)
- copy(dAtA[i:], m.OracleBase)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleBase)))
- i--
- dAtA[i] = 0x2a
+ l = m.Amount.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
+}
+
+func (m *MsgDepositResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.QuoteDenom) > 0 {
- i -= len(m.QuoteDenom)
- copy(dAtA[i:], m.QuoteDenom)
- i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
- i--
- dAtA[i] = 0x22
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgWithdraw) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Ticker) > 0 {
- i -= len(m.Ticker)
- copy(dAtA[i:], m.Ticker)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
- i--
- dAtA[i] = 0x1a
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ l = m.Amount.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
+}
+
+func (m *MsgWithdrawResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return len(dAtA) - i, nil
+ var l int
+ _ = l
+ return n
}
-func (m *BinaryOptionsMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgCreateSpotLimitOrder) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = m.Order.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *BinaryOptionsMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgCreateSpotLimitOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *BinaryOptionsMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgBatchCreateSpotLimitOrders) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- {
- size := m.MinQuantityTickSize.Size()
- i -= size
- if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x7a
- {
- size := m.MinPriceTickSize.Size()
- i -= size
- if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
+ if len(m.Orders) > 0 {
+ for _, e := range m.Orders {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
}
- i = encodeVarintTx(dAtA, i, uint64(size))
}
- i--
- dAtA[i] = 0x72
- {
- size := m.TakerFeeRate.Size()
- i -= size
- if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ return n
+}
+
+func (m *MsgBatchCreateSpotLimitOrdersResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- i--
- dAtA[i] = 0x6a
- {
- size := m.MakerFeeRate.Size()
- i -= size
- if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
+ var l int
+ _ = l
+ if len(m.OrderHashes) > 0 {
+ for _, s := range m.OrderHashes {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
}
- i = encodeVarintTx(dAtA, i, uint64(size))
}
- i--
- dAtA[i] = 0x62
- if len(m.QuoteDenom) > 0 {
- i -= len(m.QuoteDenom)
- copy(dAtA[i:], m.QuoteDenom)
- i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
- i--
- dAtA[i] = 0x5a
- }
- if len(m.Admin) > 0 {
- i -= len(m.Admin)
- copy(dAtA[i:], m.Admin)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Admin)))
- i--
- dAtA[i] = 0x52
+ return n
+}
+
+func (m *MsgInstantSpotMarketLaunch) Size() (n int) {
+ if m == nil {
+ return 0
}
- if m.SettlementTimestamp != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.SettlementTimestamp))
- i--
- dAtA[i] = 0x48
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.ExpirationTimestamp != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.ExpirationTimestamp))
- i--
- dAtA[i] = 0x40
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.OracleScaleFactor != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
- i--
- dAtA[i] = 0x38
+ l = len(m.BaseDenom)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.OracleType != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
- i--
- dAtA[i] = 0x30
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.OracleProvider) > 0 {
- i -= len(m.OracleProvider)
- copy(dAtA[i:], m.OracleProvider)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleProvider)))
- i--
- dAtA[i] = 0x2a
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
+}
+
+func (m *MsgInstantSpotMarketLaunchResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.OracleSymbol) > 0 {
- i -= len(m.OracleSymbol)
- copy(dAtA[i:], m.OracleSymbol)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleSymbol)))
- i--
- dAtA[i] = 0x22
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgInstantPerpetualMarketLaunch) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Ticker) > 0 {
- i -= len(m.Ticker)
- copy(dAtA[i:], m.Ticker)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
- i--
- dAtA[i] = 0x1a
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
-}
-
-func (m *ExpiryFuturesMarketLaunchProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+ l = len(m.OracleBase)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return dAtA[:n], nil
+ l = len(m.OracleQuote)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ if m.OracleScaleFactor != 0 {
+ n += 1 + sovTx(uint64(m.OracleScaleFactor))
+ }
+ if m.OracleType != 0 {
+ n += 1 + sovTx(uint64(m.OracleType))
+ }
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.InitialMarginRatio.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MaintenanceMarginRatio.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *ExpiryFuturesMarketLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgInstantPerpetualMarketLaunchResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (m *ExpiryFuturesMarketLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgInstantBinaryOptionsMarketLaunch) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- {
- size := m.MinQuantityTickSize.Size()
- i -= size
- if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x7a
- {
- size := m.MinPriceTickSize.Size()
- i -= size
- if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x72
- {
- size := m.TakerFeeRate.Size()
- i -= size
- if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x6a
- {
- size := m.MakerFeeRate.Size()
- i -= size
- if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x62
- {
- size := m.MaintenanceMarginRatio.Size()
- i -= size
- if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x5a
- {
- size := m.InitialMarginRatio.Size()
- i -= size
- if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ l = len(m.OracleSymbol)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x52
- if m.Expiry != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.Expiry))
- i--
- dAtA[i] = 0x48
+ l = len(m.OracleProvider)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
if m.OracleType != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
- i--
- dAtA[i] = 0x40
+ n += 1 + sovTx(uint64(m.OracleType))
}
if m.OracleScaleFactor != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
- i--
- dAtA[i] = 0x38
- }
- if len(m.OracleQuote) > 0 {
- i -= len(m.OracleQuote)
- copy(dAtA[i:], m.OracleQuote)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleQuote)))
- i--
- dAtA[i] = 0x32
- }
- if len(m.OracleBase) > 0 {
- i -= len(m.OracleBase)
- copy(dAtA[i:], m.OracleBase)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleBase)))
- i--
- dAtA[i] = 0x2a
+ n += 1 + sovTx(uint64(m.OracleScaleFactor))
}
- if len(m.QuoteDenom) > 0 {
- i -= len(m.QuoteDenom)
- copy(dAtA[i:], m.QuoteDenom)
- i = encodeVarintTx(dAtA, i, uint64(len(m.QuoteDenom)))
- i--
- dAtA[i] = 0x22
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovTx(uint64(l))
+ if m.ExpirationTimestamp != 0 {
+ n += 1 + sovTx(uint64(m.ExpirationTimestamp))
}
- if len(m.Ticker) > 0 {
- i -= len(m.Ticker)
- copy(dAtA[i:], m.Ticker)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Ticker)))
- i--
- dAtA[i] = 0x1a
+ if m.SettlementTimestamp != 0 {
+ n += 1 + sovTx(uint64(m.SettlementTimestamp))
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ l = len(m.Admin)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *DerivativeMarketParamUpdateProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *DerivativeMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ var l int
+ _ = l
+ return n
}
-func (m *DerivativeMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgInstantExpiryFuturesMarketLaunch) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if m.OracleParams != nil {
- {
- size, err := m.OracleParams.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x72
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.Status != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.Status))
- i--
- dAtA[i] = 0x68
+ l = len(m.Ticker)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.HourlyFundingRateCap != nil {
- {
- size := m.HourlyFundingRateCap.Size()
- i -= size
- if _, err := m.HourlyFundingRateCap.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x62
+ l = len(m.QuoteDenom)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.HourlyInterestRate != nil {
- {
- size := m.HourlyInterestRate.Size()
- i -= size
- if _, err := m.HourlyInterestRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x5a
+ l = len(m.OracleBase)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.MinQuantityTickSize != nil {
- {
- size := m.MinQuantityTickSize.Size()
- i -= size
- if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x52
+ l = len(m.OracleQuote)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.MinPriceTickSize != nil {
- {
- size := m.MinPriceTickSize.Size()
- i -= size
- if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x4a
+ if m.OracleType != 0 {
+ n += 1 + sovTx(uint64(m.OracleType))
}
- if m.RelayerFeeShareRate != nil {
- {
- size := m.RelayerFeeShareRate.Size()
- i -= size
- if _, err := m.RelayerFeeShareRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x42
+ if m.OracleScaleFactor != 0 {
+ n += 1 + sovTx(uint64(m.OracleScaleFactor))
}
- if m.TakerFeeRate != nil {
- {
- size := m.TakerFeeRate.Size()
- i -= size
- if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x3a
+ if m.Expiry != 0 {
+ n += 1 + sovTx(uint64(m.Expiry))
}
- if m.MakerFeeRate != nil {
- {
- size := m.MakerFeeRate.Size()
- i -= size
- if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x32
+ l = m.MakerFeeRate.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.TakerFeeRate.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.InitialMarginRatio.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MaintenanceMarginRatio.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MinPriceTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.MinQuantityTickSize.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
+}
+
+func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if m.MaintenanceMarginRatio != nil {
- {
- size := m.MaintenanceMarginRatio.Size()
- i -= size
- if _, err := m.MaintenanceMarginRatio.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x2a
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgCreateSpotMarketOrder) Size() (n int) {
+ if m == nil {
+ return 0
}
- if m.InitialMarginRatio != nil {
- {
- size := m.InitialMarginRatio.Size()
- i -= size
- if _, err := m.InitialMarginRatio.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.MarketId) > 0 {
- i -= len(m.MarketId)
- copy(dAtA[i:], m.MarketId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
- i--
- dAtA[i] = 0x1a
+ l = m.Order.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
+}
+
+func (m *MsgCreateSpotMarketOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ var l int
+ _ = l
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ if m.Results != nil {
+ l = m.Results.Size()
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
+ return n
}
-func (m *MarketForcedSettlementProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *SpotMarketOrderResults) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *MarketForcedSettlementProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ var l int
+ _ = l
+ l = m.Quantity.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.Price.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.Fee.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *MarketForcedSettlementProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgCreateDerivativeLimitOrder) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if m.SettlementPrice != nil {
- {
- size := m.SettlementPrice.Size()
- i -= size
- if _, err := m.SettlementPrice.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
- }
- if len(m.MarketId) > 0 {
- i -= len(m.MarketId)
- copy(dAtA[i:], m.MarketId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
- i--
- dAtA[i] = 0x1a
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ l = m.Order.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
+}
+
+func (m *MsgCreateDerivativeLimitOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ var l int
+ _ = l
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
+ return n
}
-func (m *UpdateDenomDecimalsProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgCreateBinaryOptionsLimitOrder) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = m.Order.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *UpdateDenomDecimalsProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgCreateBinaryOptionsLimitOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *UpdateDenomDecimalsProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgBatchCreateDerivativeLimitOrders) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if len(m.DenomDecimals) > 0 {
- for iNdEx := len(m.DenomDecimals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.DenomDecimals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- }
- }
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ if len(m.Orders) > 0 {
+ for _, e := range m.Orders {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- return len(dAtA) - i, nil
+ return n
}
-func (m *BinaryOptionsMarketParamUpdateProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *BinaryOptionsMarketParamUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *BinaryOptionsMarketParamUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
var l int
_ = l
- if m.OracleParams != nil {
- {
- size, err := m.OracleParams.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
+ if len(m.OrderHashes) > 0 {
+ for _, s := range m.OrderHashes {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x72
}
- if m.Status != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.Status))
- i--
- dAtA[i] = 0x68
+ return n
+}
+
+func (m *MsgCancelSpotOrder) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Admin) > 0 {
- i -= len(m.Admin)
- copy(dAtA[i:], m.Admin)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Admin)))
- i--
- dAtA[i] = 0x62
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.SettlementPrice != nil {
- {
- size := m.SettlementPrice.Size()
- i -= size
- if _, err := m.SettlementPrice.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x5a
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.SettlementTimestamp != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.SettlementTimestamp))
- i--
- dAtA[i] = 0x50
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.ExpirationTimestamp != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.ExpirationTimestamp))
- i--
- dAtA[i] = 0x48
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.MinQuantityTickSize != nil {
- {
- size := m.MinQuantityTickSize.Size()
- i -= size
- if _, err := m.MinQuantityTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x42
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.MinPriceTickSize != nil {
- {
- size := m.MinPriceTickSize.Size()
- i -= size
- if _, err := m.MinPriceTickSize.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x3a
+ return n
+}
+
+func (m *MsgCancelSpotOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- if m.RelayerFeeShareRate != nil {
- {
- size := m.RelayerFeeShareRate.Size()
- i -= size
- if _, err := m.RelayerFeeShareRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x32
+ var l int
+ _ = l
+ return n
+}
+
+func (m *MsgBatchCancelSpotOrders) Size() (n int) {
+ if m == nil {
+ return 0
}
- if m.TakerFeeRate != nil {
- {
- size := m.TakerFeeRate.Size()
- i -= size
- if _, err := m.TakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x2a
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.MakerFeeRate != nil {
- {
- size := m.MakerFeeRate.Size()
- i -= size
- if _, err := m.MakerFeeRate.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ if len(m.Data) > 0 {
+ for _, e := range m.Data {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x22
- }
- if len(m.MarketId) > 0 {
- i -= len(m.MarketId)
- copy(dAtA[i:], m.MarketId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
- i--
- dAtA[i] = 0x1a
- }
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
+ return n
}
-func (m *ProviderOracleParams) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgBatchCancelSpotOrdersResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *ProviderOracleParams) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *ProviderOracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
var l int
_ = l
- if m.OracleType != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
- i--
- dAtA[i] = 0x20
+ if len(m.Success) > 0 {
+ n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
}
- if m.OracleScaleFactor != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
- i--
- dAtA[i] = 0x18
+ return n
+}
+
+func (m *MsgBatchCancelBinaryOptionsOrders) Size() (n int) {
+ if m == nil {
+ return 0
}
- if len(m.Provider) > 0 {
- i -= len(m.Provider)
- copy(dAtA[i:], m.Provider)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Provider)))
- i--
- dAtA[i] = 0x12
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Symbol) > 0 {
- i -= len(m.Symbol)
- copy(dAtA[i:], m.Symbol)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Symbol)))
- i--
- dAtA[i] = 0xa
+ if len(m.Data) > 0 {
+ for _, e := range m.Data {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- return len(dAtA) - i, nil
+ return n
}
-func (m *OracleParams) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *OracleParams) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ var l int
+ _ = l
+ if len(m.Success) > 0 {
+ n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
+ }
+ return n
}
-func (m *OracleParams) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgBatchUpdateOrders) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if m.OracleType != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleType))
- i--
- dAtA[i] = 0x20
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.OracleScaleFactor != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.OracleScaleFactor))
- i--
- dAtA[i] = 0x18
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.OracleQuote) > 0 {
- i -= len(m.OracleQuote)
- copy(dAtA[i:], m.OracleQuote)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleQuote)))
- i--
- dAtA[i] = 0x12
+ if len(m.SpotMarketIdsToCancelAll) > 0 {
+ for _, s := range m.SpotMarketIdsToCancelAll {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- if len(m.OracleBase) > 0 {
- i -= len(m.OracleBase)
- copy(dAtA[i:], m.OracleBase)
- i = encodeVarintTx(dAtA, i, uint64(len(m.OracleBase)))
- i--
- dAtA[i] = 0xa
+ if len(m.DerivativeMarketIdsToCancelAll) > 0 {
+ for _, s := range m.DerivativeMarketIdsToCancelAll {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- return len(dAtA) - i, nil
-}
-
-func (m *TradingRewardCampaignLaunchProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+ if len(m.SpotOrdersToCancel) > 0 {
+ for _, e := range m.SpotOrdersToCancel {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- return dAtA[:n], nil
-}
-
-func (m *TradingRewardCampaignLaunchProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *TradingRewardCampaignLaunchProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.CampaignRewardPools) > 0 {
- for iNdEx := len(m.CampaignRewardPools) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.CampaignRewardPools[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
+ if len(m.DerivativeOrdersToCancel) > 0 {
+ for _, e := range m.DerivativeOrdersToCancel {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
}
}
- if m.CampaignInfo != nil {
- {
- size, err := m.CampaignInfo.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
+ if len(m.SpotOrdersToCreate) > 0 {
+ for _, e := range m.SpotOrdersToCreate {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x1a
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ if len(m.DerivativeOrdersToCreate) > 0 {
+ for _, e := range m.DerivativeOrdersToCreate {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ if len(m.BinaryOptionsOrdersToCancel) > 0 {
+ for _, e := range m.BinaryOptionsOrdersToCancel {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- return len(dAtA) - i, nil
-}
-
-func (m *TradingRewardCampaignUpdateProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+ if len(m.BinaryOptionsMarketIdsToCancelAll) > 0 {
+ for _, s := range m.BinaryOptionsMarketIdsToCancelAll {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- return dAtA[:n], nil
-}
-
-func (m *TradingRewardCampaignUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ if len(m.BinaryOptionsOrdersToCreate) > 0 {
+ for _, e := range m.BinaryOptionsOrdersToCreate {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
+ }
+ return n
}
-func (m *TradingRewardCampaignUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgBatchUpdateOrdersResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if len(m.CampaignRewardPoolsUpdates) > 0 {
- for iNdEx := len(m.CampaignRewardPoolsUpdates) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.CampaignRewardPoolsUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x2a
- }
+ if len(m.SpotCancelSuccess) > 0 {
+ n += 1 + sovTx(uint64(len(m.SpotCancelSuccess))) + len(m.SpotCancelSuccess)*1
}
- if len(m.CampaignRewardPoolsAdditions) > 0 {
- for iNdEx := len(m.CampaignRewardPoolsAdditions) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.CampaignRewardPoolsAdditions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
+ if len(m.DerivativeCancelSuccess) > 0 {
+ n += 1 + sovTx(uint64(len(m.DerivativeCancelSuccess))) + len(m.DerivativeCancelSuccess)*1
+ }
+ if len(m.SpotOrderHashes) > 0 {
+ for _, s := range m.SpotOrderHashes {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
}
}
- if m.CampaignInfo != nil {
- {
- size, err := m.CampaignInfo.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
+ if len(m.DerivativeOrderHashes) > 0 {
+ for _, s := range m.DerivativeOrderHashes {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x1a
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ if len(m.BinaryOptionsCancelSuccess) > 0 {
+ n += 1 + sovTx(uint64(len(m.BinaryOptionsCancelSuccess))) + len(m.BinaryOptionsCancelSuccess)*1
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ if len(m.BinaryOptionsOrderHashes) > 0 {
+ for _, s := range m.BinaryOptionsOrderHashes {
+ l = len(s)
+ n += 1 + l + sovTx(uint64(l))
+ }
}
- return len(dAtA) - i, nil
+ return n
}
-func (m *RewardPointUpdate) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgCreateDerivativeMarketOrder) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *RewardPointUpdate) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = m.Order.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *RewardPointUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgCreateDerivativeMarketOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- {
- size := m.NewPoints.Size()
- i -= size
- if _, err := m.NewPoints.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- i--
- dAtA[i] = 0x62
- if len(m.AccountAddress) > 0 {
- i -= len(m.AccountAddress)
- copy(dAtA[i:], m.AccountAddress)
- i = encodeVarintTx(dAtA, i, uint64(len(m.AccountAddress)))
- i--
- dAtA[i] = 0xa
+ if m.Results != nil {
+ l = m.Results.Size()
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
+ return n
}
-func (m *TradingRewardPendingPointsUpdateProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *DerivativeMarketOrderResults) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *TradingRewardPendingPointsUpdateProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ var l int
+ _ = l
+ l = m.Quantity.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.Price.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.Fee.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.PositionDelta.Size()
+ n += 1 + l + sovTx(uint64(l))
+ l = m.Payout.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *TradingRewardPendingPointsUpdateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgCreateBinaryOptionsMarketOrder) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if len(m.RewardPointUpdates) > 0 {
- for iNdEx := len(m.RewardPointUpdates) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.RewardPointUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
- }
- }
- if m.PendingPoolTimestamp != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.PendingPoolTimestamp))
- i--
- dAtA[i] = 0x18
- }
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
+ l = m.Order.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *FeeDiscountProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgCreateBinaryOptionsMarketOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *FeeDiscountProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ var l int
+ _ = l
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ if m.Results != nil {
+ l = m.Results.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *FeeDiscountProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgCancelDerivativeOrder) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if m.Schedule != nil {
- {
- size, err := m.Schedule.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
-}
-
-func (m *BatchCommunityPoolSpendProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return dAtA[:n], nil
+ if m.OrderMask != 0 {
+ n += 1 + sovTx(uint64(m.OrderMask))
+ }
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *BatchCommunityPoolSpendProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgCancelDerivativeOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (m *BatchCommunityPoolSpendProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgCancelBinaryOptionsOrder) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if len(m.Proposals) > 0 {
- for iNdEx := len(m.Proposals) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.Proposals[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- }
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
-}
-
-func (m *MsgRewardsOptOut) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return dAtA[:n], nil
+ if m.OrderMask != 0 {
+ n += 1 + sovTx(uint64(m.OrderMask))
+ }
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *MsgRewardsOptOut) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgCancelBinaryOptionsOrderResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (m *MsgRewardsOptOut) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *OrderData) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0xa
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
-}
-
-func (m *MsgRewardsOptOutResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return dAtA[:n], nil
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ if m.OrderMask != 0 {
+ n += 1 + sovTx(uint64(m.OrderMask))
+ }
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *MsgRewardsOptOutResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgBatchCancelDerivativeOrders) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ if len(m.Data) > 0 {
+ for _, e := range m.Data {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
+ }
+ return n
}
-func (m *MsgRewardsOptOutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgBatchCancelDerivativeOrdersResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- return len(dAtA) - i, nil
+ if len(m.Success) > 0 {
+ n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
+ }
+ return n
}
-func (m *MsgReclaimLockedFunds) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgSubaccountTransfer) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.SourceSubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.DestinationSubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = m.Amount.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *MsgReclaimLockedFunds) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgSubaccountTransferResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (m *MsgReclaimLockedFunds) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgExternalTransfer) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if len(m.Signature) > 0 {
- i -= len(m.Signature)
- copy(dAtA[i:], m.Signature)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Signature)))
- i--
- dAtA[i] = 0x1a
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.LockedAccountPubKey) > 0 {
- i -= len(m.LockedAccountPubKey)
- copy(dAtA[i:], m.LockedAccountPubKey)
- i = encodeVarintTx(dAtA, i, uint64(len(m.LockedAccountPubKey)))
- i--
- dAtA[i] = 0x12
+ l = len(m.SourceSubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0xa
+ l = len(m.DestinationSubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
+ l = m.Amount.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *MsgReclaimLockedFundsResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgExternalTransferResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
+ var l int
+ _ = l
+ return n
}
-func (m *MsgReclaimLockedFundsResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgLiquidatePosition) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ if m.Order != nil {
+ l = m.Order.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *MsgReclaimLockedFundsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgLiquidatePositionResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- return len(dAtA) - i, nil
+ return n
}
-func (m *MsgSignData) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgEmergencySettleMarket) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *MsgSignData) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgEmergencySettleMarketResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (m *MsgSignData) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgIncreasePositionMargin) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if len(m.Data) > 0 {
- i -= len(m.Data)
- copy(dAtA[i:], m.Data)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Data)))
- i--
- dAtA[i] = 0x12
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if len(m.Signer) > 0 {
- i -= len(m.Signer)
- copy(dAtA[i:], m.Signer)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Signer)))
- i--
- dAtA[i] = 0xa
+ l = len(m.SourceSubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- return len(dAtA) - i, nil
+ l = len(m.DestinationSubaccountId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = m.Amount.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *MsgSignDoc) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgIncreasePositionMarginResponse) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
+ var l int
+ _ = l
+ return n
}
-func (m *MsgSignDoc) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgPrivilegedExecuteContract) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.Funds)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.ContractAddress)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.Data)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *MsgSignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgPrivilegedExecuteContractResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- {
- size, err := m.Value.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
+ if len(m.FundsDiff) > 0 {
+ for _, e := range m.FundsDiff {
+ l = e.Size()
+ n += 1 + l + sovTx(uint64(l))
}
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x12
- if len(m.SignType) > 0 {
- i -= len(m.SignType)
- copy(dAtA[i:], m.SignType)
- i = encodeVarintTx(dAtA, i, uint64(len(m.SignType)))
- i--
- dAtA[i] = 0xa
}
- return len(dAtA) - i, nil
+ return n
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *MsgRewardsOptOut) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+func (m *MsgRewardsOptOutResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
}
-func (m *MsgAdminUpdateBinaryOptionsMarket) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *MsgReclaimLockedFunds) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if m.Status != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.Status))
- i--
- dAtA[i] = 0x30
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
- if m.SettlementTimestamp != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.SettlementTimestamp))
- i--
- dAtA[i] = 0x28
- }
- if m.ExpirationTimestamp != 0 {
- i = encodeVarintTx(dAtA, i, uint64(m.ExpirationTimestamp))
- i--
- dAtA[i] = 0x20
- }
- if m.SettlementPrice != nil {
- {
- size := m.SettlementPrice.Size()
- i -= size
- if _, err := m.SettlementPrice.MarshalTo(dAtA[i:]); err != nil {
- return 0, err
- }
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- }
- if len(m.MarketId) > 0 {
- i -= len(m.MarketId)
- copy(dAtA[i:], m.MarketId)
- i = encodeVarintTx(dAtA, i, uint64(len(m.MarketId)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Sender) > 0 {
- i -= len(m.Sender)
- copy(dAtA[i:], m.Sender)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Sender)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- return len(dAtA) - i, nil
-}
-
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- if len(m.MarketFeeMultipliers) > 0 {
- for iNdEx := len(m.MarketFeeMultipliers) - 1; iNdEx >= 0; iNdEx-- {
- {
- size, err := m.MarketFeeMultipliers[iNdEx].MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintTx(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- }
- }
- if len(m.Description) > 0 {
- i -= len(m.Description)
- copy(dAtA[i:], m.Description)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Description)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Title) > 0 {
- i -= len(m.Title)
- copy(dAtA[i:], m.Title)
- i = encodeVarintTx(dAtA, i, uint64(len(m.Title)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func encodeVarintTx(dAtA []byte, offset int, v uint64) int {
- offset -= sovTx(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *MsgUpdateParams) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Authority)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Params.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgUpdateParamsResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgDeposit) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Amount.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgDepositResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgWithdraw) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Amount.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgWithdrawResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgCreateSpotLimitOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Order.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateSpotLimitOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OrderHash)
+ l = len(m.LockedAccountPubKey)
if l > 0 {
n += 1 + l + sovTx(uint64(l))
}
- return n
-}
-
-func (m *MsgBatchCreateSpotLimitOrders) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
+ l = len(m.Signature)
if l > 0 {
n += 1 + l + sovTx(uint64(l))
}
- if len(m.Orders) > 0 {
- for _, e := range m.Orders {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
return n
}
-func (m *MsgBatchCreateSpotLimitOrdersResponse) Size() (n int) {
+func (m *MsgReclaimLockedFundsResponse) Size() (n int) {
if m == nil {
return 0
}
var l int
_ = l
- if len(m.OrderHashes) > 0 {
- for _, s := range m.OrderHashes {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
return n
}
-func (m *MsgInstantSpotMarketLaunch) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.BaseDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgInstantSpotMarketLaunchResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgInstantPerpetualMarketLaunch) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleBase)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleQuote)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.InitialMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MaintenanceMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgInstantPerpetualMarketLaunchResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgInstantBinaryOptionsMarketLaunch) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleSymbol)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleProvider)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- if m.ExpirationTimestamp != 0 {
- n += 1 + sovTx(uint64(m.ExpirationTimestamp))
- }
- if m.SettlementTimestamp != 0 {
- n += 1 + sovTx(uint64(m.SettlementTimestamp))
- }
- l = len(m.Admin)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgInstantExpiryFuturesMarketLaunch) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleBase)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleQuote)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- if m.Expiry != 0 {
- n += 1 + sovTx(uint64(m.Expiry))
- }
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.InitialMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MaintenanceMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgCreateSpotMarketOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Order.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateSpotMarketOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Results != nil {
- l = m.Results.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *SpotMarketOrderResults) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = m.Quantity.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.Price.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.Fee.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateDerivativeLimitOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Order.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateDerivativeLimitOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgCreateBinaryOptionsLimitOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Order.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateBinaryOptionsLimitOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgBatchCreateDerivativeLimitOrders) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.Orders) > 0 {
- for _, e := range m.Orders {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.OrderHashes) > 0 {
- for _, s := range m.OrderHashes {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgCancelSpotOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgCancelSpotOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgBatchCancelSpotOrders) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.Data) > 0 {
- for _, e := range m.Data {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgBatchCancelSpotOrdersResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Success) > 0 {
- n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
- }
- return n
-}
-
-func (m *MsgBatchCancelBinaryOptionsOrders) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.Data) > 0 {
- for _, e := range m.Data {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Success) > 0 {
- n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
- }
- return n
-}
-
-func (m *MsgBatchUpdateOrders) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.SpotMarketIdsToCancelAll) > 0 {
- for _, s := range m.SpotMarketIdsToCancelAll {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.DerivativeMarketIdsToCancelAll) > 0 {
- for _, s := range m.DerivativeMarketIdsToCancelAll {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.SpotOrdersToCancel) > 0 {
- for _, e := range m.SpotOrdersToCancel {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.DerivativeOrdersToCancel) > 0 {
- for _, e := range m.DerivativeOrdersToCancel {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.SpotOrdersToCreate) > 0 {
- for _, e := range m.SpotOrdersToCreate {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.DerivativeOrdersToCreate) > 0 {
- for _, e := range m.DerivativeOrdersToCreate {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.BinaryOptionsOrdersToCancel) > 0 {
- for _, e := range m.BinaryOptionsOrdersToCancel {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.BinaryOptionsMarketIdsToCancelAll) > 0 {
- for _, s := range m.BinaryOptionsMarketIdsToCancelAll {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.BinaryOptionsOrdersToCreate) > 0 {
- for _, e := range m.BinaryOptionsOrdersToCreate {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgBatchUpdateOrdersResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.SpotCancelSuccess) > 0 {
- n += 1 + sovTx(uint64(len(m.SpotCancelSuccess))) + len(m.SpotCancelSuccess)*1
- }
- if len(m.DerivativeCancelSuccess) > 0 {
- n += 1 + sovTx(uint64(len(m.DerivativeCancelSuccess))) + len(m.DerivativeCancelSuccess)*1
- }
- if len(m.SpotOrderHashes) > 0 {
- for _, s := range m.SpotOrderHashes {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.DerivativeOrderHashes) > 0 {
- for _, s := range m.DerivativeOrderHashes {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.BinaryOptionsCancelSuccess) > 0 {
- n += 1 + sovTx(uint64(len(m.BinaryOptionsCancelSuccess))) + len(m.BinaryOptionsCancelSuccess)*1
- }
- if len(m.BinaryOptionsOrderHashes) > 0 {
- for _, s := range m.BinaryOptionsOrderHashes {
- l = len(s)
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgCreateDerivativeMarketOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Order.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateDerivativeMarketOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Results != nil {
- l = m.Results.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *DerivativeMarketOrderResults) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = m.Quantity.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.Price.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.Fee.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.PositionDelta.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.Payout.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateBinaryOptionsMarketOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Order.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgCreateBinaryOptionsMarketOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Results != nil {
- l = m.Results.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgCancelDerivativeOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OrderMask != 0 {
- n += 1 + sovTx(uint64(m.OrderMask))
- }
- return n
-}
-
-func (m *MsgCancelDerivativeOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgCancelBinaryOptionsOrder) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OrderMask != 0 {
- n += 1 + sovTx(uint64(m.OrderMask))
- }
- return n
-}
-
-func (m *MsgCancelBinaryOptionsOrderResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *OrderData) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OrderHash)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OrderMask != 0 {
- n += 1 + sovTx(uint64(m.OrderMask))
- }
- return n
-}
-
-func (m *MsgBatchCancelDerivativeOrders) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.Data) > 0 {
- for _, e := range m.Data {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgBatchCancelDerivativeOrdersResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.Success) > 0 {
- n += 1 + sovTx(uint64(len(m.Success))) + len(m.Success)*1
- }
- return n
-}
-
-func (m *MsgSubaccountTransfer) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SourceSubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.DestinationSubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Amount.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgSubaccountTransferResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgExternalTransfer) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SourceSubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.DestinationSubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Amount.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgExternalTransferResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgLiquidatePosition) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Order != nil {
- l = m.Order.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgLiquidatePositionResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgIncreasePositionMargin) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.SourceSubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.DestinationSubaccountId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Amount.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgIncreasePositionMarginResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgPrivilegedExecuteContract) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Funds)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.ContractAddress)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Data)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgPrivilegedExecuteContractResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if len(m.FundsDiff) > 0 {
- for _, e := range m.FundsDiff {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *SpotMarketParamUpdateProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MakerFeeRate != nil {
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.TakerFeeRate != nil {
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.RelayerFeeShareRate != nil {
- l = m.RelayerFeeShareRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MinPriceTickSize != nil {
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MinQuantityTickSize != nil {
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Status != 0 {
- n += 1 + sovTx(uint64(m.Status))
- }
- return n
-}
-
-func (m *ExchangeEnableProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.ExchangeType != 0 {
- n += 1 + sovTx(uint64(m.ExchangeType))
- }
- return n
-}
-
-func (m *BatchExchangeModificationProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.SpotMarketParamUpdateProposals) > 0 {
- for _, e := range m.SpotMarketParamUpdateProposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.DerivativeMarketParamUpdateProposals) > 0 {
- for _, e := range m.DerivativeMarketParamUpdateProposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.SpotMarketLaunchProposals) > 0 {
- for _, e := range m.SpotMarketLaunchProposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.PerpetualMarketLaunchProposals) > 0 {
- for _, e := range m.PerpetualMarketLaunchProposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.ExpiryFuturesMarketLaunchProposals) > 0 {
- for _, e := range m.ExpiryFuturesMarketLaunchProposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if m.TradingRewardCampaignUpdateProposal != nil {
- l = m.TradingRewardCampaignUpdateProposal.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.BinaryOptionsMarketLaunchProposals) > 0 {
- for _, e := range m.BinaryOptionsMarketLaunchProposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.BinaryOptionsParamUpdateProposals) > 0 {
- for _, e := range m.BinaryOptionsParamUpdateProposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if m.DenomDecimalsUpdateProposal != nil {
- l = m.DenomDecimalsUpdateProposal.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *SpotMarketLaunchProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.BaseDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- if m.MakerFeeRate != nil {
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.TakerFeeRate != nil {
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *PerpetualMarketLaunchProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleBase)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleQuote)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- l = m.InitialMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MaintenanceMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *BinaryOptionsMarketLaunchProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleSymbol)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleProvider)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- if m.ExpirationTimestamp != 0 {
- n += 1 + sovTx(uint64(m.ExpirationTimestamp))
- }
- if m.SettlementTimestamp != 0 {
- n += 1 + sovTx(uint64(m.SettlementTimestamp))
- }
- l = len(m.Admin)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *ExpiryFuturesMarketLaunchProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Ticker)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.QuoteDenom)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleBase)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleQuote)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- if m.Expiry != 0 {
- n += 1 + sovTx(uint64(m.Expiry))
- }
- l = m.InitialMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MaintenanceMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *DerivativeMarketParamUpdateProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.InitialMarginRatio != nil {
- l = m.InitialMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MaintenanceMarginRatio != nil {
- l = m.MaintenanceMarginRatio.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MakerFeeRate != nil {
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.TakerFeeRate != nil {
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.RelayerFeeShareRate != nil {
- l = m.RelayerFeeShareRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MinPriceTickSize != nil {
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MinQuantityTickSize != nil {
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.HourlyInterestRate != nil {
- l = m.HourlyInterestRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.HourlyFundingRateCap != nil {
- l = m.HourlyFundingRateCap.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Status != 0 {
- n += 1 + sovTx(uint64(m.Status))
- }
- if m.OracleParams != nil {
- l = m.OracleParams.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MarketForcedSettlementProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.SettlementPrice != nil {
- l = m.SettlementPrice.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *UpdateDenomDecimalsProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.DenomDecimals) > 0 {
- for _, e := range m.DenomDecimals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *BinaryOptionsMarketParamUpdateProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MakerFeeRate != nil {
- l = m.MakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.TakerFeeRate != nil {
- l = m.TakerFeeRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.RelayerFeeShareRate != nil {
- l = m.RelayerFeeShareRate.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MinPriceTickSize != nil {
- l = m.MinPriceTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.MinQuantityTickSize != nil {
- l = m.MinQuantityTickSize.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.ExpirationTimestamp != 0 {
- n += 1 + sovTx(uint64(m.ExpirationTimestamp))
- }
- if m.SettlementTimestamp != 0 {
- n += 1 + sovTx(uint64(m.SettlementTimestamp))
- }
- if m.SettlementPrice != nil {
- l = m.SettlementPrice.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Admin)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Status != 0 {
- n += 1 + sovTx(uint64(m.Status))
- }
- if m.OracleParams != nil {
- l = m.OracleParams.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *ProviderOracleParams) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Symbol)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Provider)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- return n
-}
-
-func (m *OracleParams) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.OracleBase)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.OracleQuote)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.OracleScaleFactor != 0 {
- n += 1 + sovTx(uint64(m.OracleScaleFactor))
- }
- if m.OracleType != 0 {
- n += 1 + sovTx(uint64(m.OracleType))
- }
- return n
-}
-
-func (m *TradingRewardCampaignLaunchProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.CampaignInfo != nil {
- l = m.CampaignInfo.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.CampaignRewardPools) > 0 {
- for _, e := range m.CampaignRewardPools {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *TradingRewardCampaignUpdateProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.CampaignInfo != nil {
- l = m.CampaignInfo.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.CampaignRewardPoolsAdditions) > 0 {
- for _, e := range m.CampaignRewardPoolsAdditions {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- if len(m.CampaignRewardPoolsUpdates) > 0 {
- for _, e := range m.CampaignRewardPoolsUpdates {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *RewardPointUpdate) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.AccountAddress)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.NewPoints.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *TradingRewardPendingPointsUpdateProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.PendingPoolTimestamp != 0 {
- n += 1 + sovTx(uint64(m.PendingPoolTimestamp))
- }
- if len(m.RewardPointUpdates) > 0 {
- for _, e := range m.RewardPointUpdates {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *FeeDiscountProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.Schedule != nil {
- l = m.Schedule.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *BatchCommunityPoolSpendProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.Proposals) > 0 {
- for _, e := range m.Proposals {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func (m *MsgRewardsOptOut) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgRewardsOptOutResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgReclaimLockedFunds) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.LockedAccountPubKey)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Signature)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgReclaimLockedFundsResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *MsgSignData) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Signer)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Data)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- return n
-}
-
-func (m *MsgSignDoc) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.SignType)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = m.Value.Size()
- n += 1 + l + sovTx(uint64(l))
- return n
-}
-
-func (m *MsgAdminUpdateBinaryOptionsMarket) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Sender)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if m.SettlementPrice != nil {
- l = m.SettlementPrice.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- if m.ExpirationTimestamp != 0 {
- n += 1 + sovTx(uint64(m.ExpirationTimestamp))
- }
- if m.SettlementTimestamp != 0 {
- n += 1 + sovTx(uint64(m.SettlementTimestamp))
- }
- if m.Status != 0 {
- n += 1 + sovTx(uint64(m.Status))
- }
- return n
-}
-
-func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- return n
-}
-
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Title)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- l = len(m.Description)
- if l > 0 {
- n += 1 + l + sovTx(uint64(l))
- }
- if len(m.MarketFeeMultipliers) > 0 {
- for _, e := range m.MarketFeeMultipliers {
- l = e.Size()
- n += 1 + l + sovTx(uint64(l))
- }
- }
- return n
-}
-
-func sovTx(x uint64) (n int) {
- return (math_bits.Len64(x|1) + 6) / 7
-}
-func sozTx(x uint64) (n int) {
- return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
-}
-func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Authority = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgDeposit) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgDeposit: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgDeposit: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgDepositResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgDepositResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgWithdraw) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgWithdraw: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgWithdraw: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgWithdrawResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgWithdrawResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateSpotLimitOrder) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateSpotLimitOrder: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateSpotLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateSpotLimitOrderResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateSpotLimitOrderResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateSpotLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderHash = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCreateSpotLimitOrders) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrders: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrders: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Orders", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Orders = append(m.Orders, SpotOrder{})
- if err := m.Orders[len(m.Orders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCreateSpotLimitOrdersResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrdersResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHashes", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderHashes = append(m.OrderHashes, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantSpotMarketLaunch) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantSpotMarketLaunch: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantSpotMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Ticker = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BaseDenom", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BaseDenom = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantSpotMarketLaunchResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantSpotMarketLaunchResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantSpotMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantPerpetualMarketLaunch) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunch: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Ticker = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleBase = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleQuote = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
- }
- m.OracleScaleFactor = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
- }
- m.OracleType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 12:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 13:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantPerpetualMarketLaunchResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunchResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantBinaryOptionsMarketLaunch) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunch: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Ticker = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleSymbol", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleSymbol = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleProvider", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleProvider = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
- }
- m.OracleType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
- }
- m.OracleScaleFactor = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
- }
- m.ExpirationTimestamp = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ExpirationTimestamp |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
- }
- m.SettlementTimestamp = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SettlementTimestamp |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Admin = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 12:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 13:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunchResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantExpiryFuturesMarketLaunch) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunch: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Ticker = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleBase = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleQuote = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
- }
- m.OracleType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
- }
- m.OracleScaleFactor = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Expiry", wireType)
- }
- m.Expiry = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Expiry |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 12:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 13:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunchResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateSpotMarketOrder) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateSpotMarketOrder: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateSpotMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateSpotMarketOrderResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateSpotMarketOrderResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateSpotMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderHash = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Results == nil {
- m.Results = &SpotMarketOrderResults{}
- }
- if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *SpotMarketOrderResults) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: SpotMarketOrderResults: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: SpotMarketOrderResults: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateDerivativeLimitOrder) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateDerivativeLimitOrder: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateDerivativeLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateDerivativeLimitOrderResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateDerivativeLimitOrderResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateDerivativeLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderHash = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateBinaryOptionsLimitOrder) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrder: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCreateBinaryOptionsLimitOrderResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrderResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderHash = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCreateDerivativeLimitOrders) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrders: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrders: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Orders", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Orders = append(m.Orders, DerivativeOrder{})
- if err := m.Orders[len(m.Orders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrdersResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHashes", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderHashes = append(m.OrderHashes, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCancelSpotOrder) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelSpotOrder: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelSpotOrder: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MarketId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OrderHash = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgCancelSpotOrderResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelSpotOrderResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelSpotOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCancelSpotOrders) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCancelSpotOrders: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCancelSpotOrders: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Data = append(m.Data, OrderData{})
- if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCancelSpotOrdersResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCancelSpotOrdersResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCancelSpotOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType == 0 {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Success = append(m.Success, bool(v != 0))
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + packedLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- elementCount = packedLen
- if elementCount != 0 && len(m.Success) == 0 {
- m.Success = make([]bool, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Success = append(m.Success, bool(v != 0))
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
- }
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCancelBinaryOptionsOrders) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrders: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrders: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Data = append(m.Data, OrderData{})
- if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrdersResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType == 0 {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Success = append(m.Success, bool(v != 0))
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + packedLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- elementCount = packedLen
- if elementCount != 0 && len(m.Success) == 0 {
- m.Success = make([]bool, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Success = append(m.Success, bool(v != 0))
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
- }
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchUpdateOrders) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchUpdateOrders: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchUpdateOrders: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketIdsToCancelAll", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SpotMarketIdsToCancelAll = append(m.SpotMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DerivativeMarketIdsToCancelAll", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.DerivativeMarketIdsToCancelAll = append(m.DerivativeMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCancel", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SpotOrdersToCancel = append(m.SpotOrdersToCancel, &OrderData{})
- if err := m.SpotOrdersToCancel[len(m.SpotOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCancel", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.DerivativeOrdersToCancel = append(m.DerivativeOrdersToCancel, &OrderData{})
- if err := m.DerivativeOrdersToCancel[len(m.DerivativeOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCreate", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SpotOrdersToCreate = append(m.SpotOrdersToCreate, &SpotOrder{})
- if err := m.SpotOrdersToCreate[len(m.SpotOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCreate", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.DerivativeOrdersToCreate = append(m.DerivativeOrdersToCreate, &DerivativeOrder{})
- if err := m.DerivativeOrdersToCreate[len(m.DerivativeOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 9:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrdersToCancel", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BinaryOptionsOrdersToCancel = append(m.BinaryOptionsOrdersToCancel, &OrderData{})
- if err := m.BinaryOptionsOrdersToCancel[len(m.BinaryOptionsOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsMarketIdsToCancelAll", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BinaryOptionsMarketIdsToCancelAll = append(m.BinaryOptionsMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrdersToCreate", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.BinaryOptionsOrdersToCreate = append(m.BinaryOptionsOrdersToCreate, &DerivativeOrder{})
- if err := m.BinaryOptionsOrdersToCreate[len(m.BinaryOptionsOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
+func (m *MsgSignData) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Signer)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
}
+ l = len(m.Data)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ return n
+}
- if iNdEx > l {
- return io.ErrUnexpectedEOF
+func (m *MsgSignDoc) Size() (n int) {
+ if m == nil {
+ return 0
}
- return nil
+ var l int
+ _ = l
+ l = len(m.SignType)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = m.Value.Size()
+ n += 1 + l + sovTx(uint64(l))
+ return n
}
-func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error {
+
+func (m *MsgAdminUpdateBinaryOptionsMarket) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Sender)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovTx(uint64(l))
+ }
+ if m.SettlementPrice != nil {
+ l = m.SettlementPrice.Size()
+ n += 1 + l + sovTx(uint64(l))
+ }
+ if m.ExpirationTimestamp != 0 {
+ n += 1 + sovTx(uint64(m.ExpirationTimestamp))
+ }
+ if m.SettlementTimestamp != 0 {
+ n += 1 + sovTx(uint64(m.SettlementTimestamp))
+ }
+ if m.Status != 0 {
+ n += 1 + sovTx(uint64(m.Status))
+ }
+ return n
+}
+
+func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ return n
+}
+
+func sovTx(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozTx(x uint64) (n int) {
+ return sovTx(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *MsgUpdateParams) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -17171,187 +8964,15 @@ func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType == 0 {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0))
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + packedLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- elementCount = packedLen
- if elementCount != 0 && len(m.SpotCancelSuccess) == 0 {
- m.SpotCancelSuccess = make([]bool, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0))
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field SpotCancelSuccess", wireType)
- }
- case 2:
- if wireType == 0 {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0))
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + packedLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- elementCount = packedLen
- if elementCount != 0 && len(m.DerivativeCancelSuccess) == 0 {
- m.DerivativeCancelSuccess = make([]bool, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0))
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field DerivativeCancelSuccess", wireType)
- }
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SpotOrderHashes", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SpotOrderHashes = append(m.SpotOrderHashes, string(dAtA[iNdEx:postIndex]))
- iNdEx = postIndex
- case 4:
+ return fmt.Errorf("proto: MsgUpdateParams: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgUpdateParams: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrderHashes", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Authority", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -17379,83 +9000,13 @@ func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.DerivativeOrderHashes = append(m.DerivativeOrderHashes, string(dAtA[iNdEx:postIndex]))
+ m.Authority = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 5:
- if wireType == 0 {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.BinaryOptionsCancelSuccess = append(m.BinaryOptionsCancelSuccess, bool(v != 0))
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + packedLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var elementCount int
- elementCount = packedLen
- if elementCount != 0 && len(m.BinaryOptionsCancelSuccess) == 0 {
- m.BinaryOptionsCancelSuccess = make([]bool, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.BinaryOptionsCancelSuccess = append(m.BinaryOptionsCancelSuccess, bool(v != 0))
- }
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsCancelSuccess", wireType)
- }
- case 6:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrderHashes", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Params", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -17465,23 +9016,24 @@ func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.BinaryOptionsOrderHashes = append(m.BinaryOptionsOrderHashes, string(dAtA[iNdEx:postIndex]))
+ if err := m.Params.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -17504,7 +9056,7 @@ func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error {
+func (m *MsgUpdateParamsResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -17527,77 +9079,12 @@ func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateDerivativeMarketOrder: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgUpdateParamsResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateDerivativeMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgUpdateParamsResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -17619,7 +9106,7 @@ func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error {
+func (m *MsgDeposit) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -17642,15 +9129,15 @@ func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateDerivativeMarketOrderResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgDeposit: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateDerivativeMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgDeposit: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -17678,11 +9165,43 @@ func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OrderHash = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -17709,13 +9228,60 @@ func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Results == nil {
- m.Results = &DerivativeMarketOrderResults{}
+ if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
return err
}
- iNdEx = postIndex
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgDepositResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgDepositResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgDepositResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -17737,7 +9303,7 @@ func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
+func (m *MsgWithdraw) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -17760,15 +9326,15 @@ func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: DerivativeMarketOrderResults: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgWithdraw: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: DerivativeMarketOrderResults: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgWithdraw: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -17796,13 +9362,11 @@ func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -17830,47 +9394,11 @@ func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PositionDelta", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -17897,41 +9425,7 @@ func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.PositionDelta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Payout", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Payout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -17956,7 +9450,7 @@ func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgCreateBinaryOptionsMarketOrder) Unmarshal(dAtA []byte) error {
+func (m *MsgWithdrawResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -17979,77 +9473,12 @@ func (m *MsgCreateBinaryOptionsMarketOrder) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrder: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgWithdrawResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgWithdrawResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -18071,7 +9500,7 @@ func (m *MsgCreateBinaryOptionsMarketOrder) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal(dAtA []byte) error {
+func (m *MsgCreateSpotLimitOrder) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -18094,15 +9523,15 @@ func (m *MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal(dAtA []byte) error
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrderResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgCreateSpotLimitOrder: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgCreateSpotLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18130,11 +9559,11 @@ func (m *MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal(dAtA []byte) error
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OrderHash = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -18161,10 +9590,7 @@ func (m *MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal(dAtA []byte) error
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Results == nil {
- m.Results = &DerivativeMarketOrderResults{}
- }
- if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -18189,7 +9615,7 @@ func (m *MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal(dAtA []byte) error
}
return nil
}
-func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
+func (m *MsgCreateSpotLimitOrderResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -18212,15 +9638,15 @@ func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelDerivativeOrder: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgCreateSpotLimitOrderResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelDerivativeOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgCreateSpotLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18248,43 +9674,61 @@ func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Sender = string(dAtA[iNdEx:postIndex])
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- if postIndex > l {
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchCreateSpotLimitOrders) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.MarketId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrders: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrders: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18312,13 +9756,13 @@ func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 4:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Orders", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -18328,43 +9772,26 @@ func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OrderHash = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
- }
- m.OrderMask = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OrderMask |= int32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ m.Orders = append(m.Orders, SpotOrder{})
+ if err := m.Orders[len(m.Orders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -18386,7 +9813,7 @@ func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgCancelDerivativeOrderResponse) Unmarshal(dAtA []byte) error {
+func (m *MsgBatchCreateSpotLimitOrdersResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -18409,12 +9836,44 @@ func (m *MsgCancelDerivativeOrderResponse) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelDerivativeOrderResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrdersResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelDerivativeOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgBatchCreateSpotLimitOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHashes", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OrderHashes = append(m.OrderHashes, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -18436,7 +9895,7 @@ func (m *MsgCancelDerivativeOrderResponse) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
+func (m *MsgInstantSpotMarketLaunch) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -18459,10 +9918,10 @@ func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelBinaryOptionsOrder: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgInstantSpotMarketLaunch: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelBinaryOptionsOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgInstantSpotMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -18499,7 +9958,7 @@ func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18527,11 +9986,11 @@ func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.MarketId = string(dAtA[iNdEx:postIndex])
+ m.Ticker = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BaseDenom", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18559,11 +10018,11 @@ func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ m.BaseDenom = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18591,13 +10050,13 @@ func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OrderHash = string(dAtA[iNdEx:postIndex])
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
}
- m.OrderMask = 0
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -18607,11 +10066,60 @@ func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.OrderMask |= int32(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -18633,7 +10141,7 @@ func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgCancelBinaryOptionsOrderResponse) Unmarshal(dAtA []byte) error {
+func (m *MsgInstantSpotMarketLaunchResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -18656,10 +10164,10 @@ func (m *MsgCancelBinaryOptionsOrderResponse) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgCancelBinaryOptionsOrderResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgInstantSpotMarketLaunchResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgCancelBinaryOptionsOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgInstantSpotMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
default:
@@ -18683,7 +10191,7 @@ func (m *MsgCancelBinaryOptionsOrderResponse) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *OrderData) Unmarshal(dAtA []byte) error {
+func (m *MsgInstantPerpetualMarketLaunch) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -18706,15 +10214,15 @@ func (m *OrderData) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: OrderData: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunch: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: OrderData: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18742,11 +10250,11 @@ func (m *OrderData) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.MarketId = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18774,11 +10282,75 @@ func (m *OrderData) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ m.Ticker = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleBase = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -18806,13 +10378,13 @@ func (m *OrderData) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OrderHash = string(dAtA[iNdEx:postIndex])
+ m.OracleQuote = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 4:
+ case 6:
if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
}
- m.OrderMask = 0
+ m.OracleScaleFactor = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -18822,66 +10394,16 @@ func (m *OrderData) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.OrderMask |= int32(b&0x7F) << shift
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
if b < 0x80 {
break
}
}
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCancelDerivativeOrders) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCancelDerivativeOrders: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCancelDerivativeOrders: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
}
- var stringLen uint64
+ m.OracleType = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -18891,29 +10413,16 @@ func (m *MsgBatchCancelDerivativeOrders) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ m.OracleType |= types1.OracleType(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
+ case 8:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -18923,199 +10432,63 @@ func (m *MsgBatchCancelDerivativeOrders) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Data = append(m.Data, OrderData{})
- if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgBatchCancelDerivativeOrdersResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
}
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgBatchCancelDerivativeOrdersResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgBatchCancelDerivativeOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType == 0 {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Success = append(m.Success, bool(v != 0))
- } else if wireType == 2 {
- var packedLen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- packedLen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if packedLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + packedLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- if postIndex > l {
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- var elementCount int
- elementCount = packedLen
- if elementCount != 0 && len(m.Success) == 0 {
- m.Success = make([]bool, 0, elementCount)
- }
- for iNdEx < postIndex {
- var v int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- v |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- m.Success = append(m.Success, bool(v != 0))
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- } else {
- return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
- }
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
}
- if (skippy < 0) || (iNdEx+skippy) < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
}
- if iNdEx >= l {
+ if postIndex > l {
return io.ErrUnexpectedEOF
}
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgSubaccountTransfer: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgSubaccountTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ iNdEx = postIndex
+ case 10:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19143,11 +10516,13 @@ func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Sender = string(dAtA[iNdEx:postIndex])
+ if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 2:
+ case 11:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19175,11 +10550,13 @@ func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
+ if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 3:
+ case 12:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19207,13 +10584,15 @@ func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 4:
+ case 13:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -19223,22 +10602,23 @@ func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -19263,7 +10643,7 @@ func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgSubaccountTransferResponse) Unmarshal(dAtA []byte) error {
+func (m *MsgInstantPerpetualMarketLaunchResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -19286,10 +10666,10 @@ func (m *MsgSubaccountTransferResponse) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgSubaccountTransferResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunchResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgSubaccountTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgInstantPerpetualMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
default:
@@ -19313,7 +10693,7 @@ func (m *MsgSubaccountTransferResponse) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
+func (m *MsgInstantBinaryOptionsMarketLaunch) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -19336,10 +10716,10 @@ func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgExternalTransfer: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunch: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgExternalTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -19376,7 +10756,7 @@ func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19404,11 +10784,11 @@ func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
+ m.Ticker = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleSymbol", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19436,13 +10816,13 @@ func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
+ m.OracleSymbol = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleProvider", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -19452,130 +10832,29 @@ func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.OracleProvider = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgExternalTransferResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgExternalTransferResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgExternalTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgLiquidatePosition: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgLiquidatePosition: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
}
- var stringLen uint64
+ m.OracleType = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -19585,29 +10864,16 @@ func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ m.OracleType |= types1.OracleType(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ case 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
}
- var stringLen uint64
+ m.OracleScaleFactor = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -19617,27 +10883,14 @@ func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SubaccountId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
+ case 7:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19665,13 +10918,15 @@ func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.MarketId = string(dAtA[iNdEx:postIndex])
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 4:
+ case 8:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -19681,133 +10936,31 @@ func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Order == nil {
- m.Order = &DerivativeOrder{}
- }
- if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgLiquidatePositionResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgLiquidatePositionResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgLiquidatePositionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgIncreasePositionMargin: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgIncreasePositionMargin: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
}
- var stringLen uint64
+ m.ExpirationTimestamp = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -19817,27 +10970,33 @@ func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ m.ExpirationTimestamp |= int64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ case 10:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
}
- if postIndex > l {
- return io.ErrUnexpectedEOF
+ m.SettlementTimestamp = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.SettlementTimestamp |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- m.Sender = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
+ case 11:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19865,11 +11024,11 @@ func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
+ m.Admin = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 3:
+ case 12:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19897,11 +11056,11 @@ func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 4:
+ case 13:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19929,11 +11088,13 @@ func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.MarketId = string(dAtA[iNdEx:postIndex])
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 5:
+ case 14:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -19961,7 +11122,7 @@ func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -19986,7 +11147,7 @@ func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgIncreasePositionMarginResponse) Unmarshal(dAtA []byte) error {
+func (m *MsgInstantBinaryOptionsMarketLaunchResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -20009,10 +11170,10 @@ func (m *MsgIncreasePositionMarginResponse) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgIncreasePositionMarginResponse: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunchResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgIncreasePositionMarginResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgInstantBinaryOptionsMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
default:
@@ -20036,7 +11197,7 @@ func (m *MsgIncreasePositionMarginResponse) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
+func (m *MsgInstantExpiryFuturesMarketLaunch) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -20059,10 +11220,10 @@ func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MsgPrivilegedExecuteContract: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunch: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgPrivilegedExecuteContract: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunch: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
@@ -20099,7 +11260,7 @@ func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Funds", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20127,11 +11288,11 @@ func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Funds = string(dAtA[iNdEx:postIndex])
+ m.Ticker = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20159,11 +11320,11 @@ func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.ContractAddress = string(dAtA[iNdEx:postIndex])
+ m.QuoteDenom = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20187,67 +11348,17 @@ func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Data = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *MsgPrivilegedExecuteContractResponse) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: MsgPrivilegedExecuteContractResponse: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: MsgPrivilegedExecuteContractResponse: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OracleBase = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field FundsDiff", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -20257,79 +11368,84 @@ func (m *MsgPrivilegedExecuteContractResponse) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.FundsDiff = append(m.FundsDiff, types.Coin{})
- if err := m.FundsDiff[len(m.FundsDiff)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.OracleQuote = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
+ case 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
}
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
+ m.OracleType = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleType |= types1.OracleType(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
+ case 7:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
}
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
+ m.OracleScaleFactor = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
+ case 8:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Expiry", wireType)
}
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ m.Expiry = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Expiry |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: SpotMarketParamUpdateProposal: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: SpotMarketParamUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ case 9:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20357,11 +11473,13 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 2:
+ case 10:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20389,11 +11507,13 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 3:
+ case 11:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20421,11 +11541,13 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.MarketId = string(dAtA[iNdEx:postIndex])
+ if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 4:
+ case 12:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20453,15 +11575,13 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MakerFeeRate = &v
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 5:
+ case 13:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20489,15 +11609,13 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.TakerFeeRate = &v
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 6:
+ case 14:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RelayerFeeShareRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20525,15 +11643,113 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.RelayerFeeShareRate = &v
- if err := m.RelayerFeeShareRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 7:
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgInstantExpiryFuturesMarketLaunchResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunchResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgInstantExpiryFuturesMarketLaunchResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCreateSpotMarketOrder) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCreateSpotMarketOrder: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCreateSpotMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20561,17 +11777,13 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MinPriceTickSize = &v
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 8:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -20581,47 +11793,25 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MinQuantityTickSize = &v
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- m.Status = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Status |= MarketStatus(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -20643,7 +11833,7 @@ func (m *SpotMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgCreateSpotMarketOrderResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -20666,15 +11856,15 @@ func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: ExchangeEnableProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgCreateSpotMarketOrderResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: ExchangeEnableProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgCreateSpotMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20702,13 +11892,13 @@ func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -20718,43 +11908,28 @@ func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExchangeType", wireType)
+ if m.Results == nil {
+ m.Results = &SpotMarketOrderResults{}
}
- m.ExchangeType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ExchangeType |= ExchangeType(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -20776,7 +11951,7 @@ func (m *ExchangeEnableProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
+func (m *SpotMarketOrderResults) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -20799,15 +11974,15 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: BatchExchangeModificationProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: SpotMarketOrderResults: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: BatchExchangeModificationProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: SpotMarketOrderResults: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20835,11 +12010,13 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -20867,47 +12044,15 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketParamUpdateProposals", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SpotMarketParamUpdateProposals = append(m.SpotMarketParamUpdateProposals, &SpotMarketParamUpdateProposal{})
- if err := m.SpotMarketParamUpdateProposals[len(m.SpotMarketParamUpdateProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 4:
+ case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DerivativeMarketParamUpdateProposals", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -20917,133 +12062,81 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.DerivativeMarketParamUpdateProposals = append(m.DerivativeMarketParamUpdateProposals, &DerivativeMarketParamUpdateProposal{})
- if err := m.DerivativeMarketParamUpdateProposals[len(m.DerivativeMarketParamUpdateProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketLaunchProposals", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.SpotMarketLaunchProposals = append(m.SpotMarketLaunchProposals, &SpotMarketLaunchProposal{})
- if err := m.SpotMarketLaunchProposals[len(m.SpotMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
return err
}
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field PerpetualMarketLaunchProposals", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.PerpetualMarketLaunchProposals = append(m.PerpetualMarketLaunchProposals, &PerpetualMarketLaunchProposal{})
- if err := m.PerpetualMarketLaunchProposals[len(m.PerpetualMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpiryFuturesMarketLaunchProposals", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCreateDerivativeLimitOrder) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- if postIndex > l {
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.ExpiryFuturesMarketLaunchProposals = append(m.ExpiryFuturesMarketLaunchProposals, &ExpiryFuturesMarketLaunchProposal{})
- if err := m.ExpiryFuturesMarketLaunchProposals[len(m.ExpiryFuturesMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- iNdEx = postIndex
- case 8:
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCreateDerivativeLimitOrder: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCreateDerivativeLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TradingRewardCampaignUpdateProposal", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -21053,31 +12146,27 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.TradingRewardCampaignUpdateProposal == nil {
- m.TradingRewardCampaignUpdateProposal = &TradingRewardCampaignUpdateProposal{}
- }
- if err := m.TradingRewardCampaignUpdateProposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 9:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsMarketLaunchProposals", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -21104,50 +12193,65 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.BinaryOptionsMarketLaunchProposals = append(m.BinaryOptionsMarketLaunchProposals, &BinaryOptionsMarketLaunchProposal{})
- if err := m.BinaryOptionsMarketLaunchProposals[len(m.BinaryOptionsMarketLaunchProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 10:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsParamUpdateProposals", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- if msglen < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- if postIndex > l {
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCreateDerivativeLimitOrderResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.BinaryOptionsParamUpdateProposals = append(m.BinaryOptionsParamUpdateProposals, &BinaryOptionsMarketParamUpdateProposal{})
- if err := m.BinaryOptionsParamUpdateProposals[len(m.BinaryOptionsParamUpdateProposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- iNdEx = postIndex
- case 11:
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCreateDerivativeLimitOrderResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCreateDerivativeLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DenomDecimalsUpdateProposal", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -21157,27 +12261,23 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.DenomDecimalsUpdateProposal == nil {
- m.DenomDecimalsUpdateProposal = &UpdateDenomDecimalsProposal{}
- }
- if err := m.DenomDecimalsUpdateProposal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -21200,7 +12300,7 @@ func (m *BatchExchangeModificationProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgCreateBinaryOptionsLimitOrder) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -21223,15 +12323,15 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: SpotMarketLaunchProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrder: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: SpotMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrder: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21259,13 +12359,13 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -21275,59 +12375,78 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- if postIndex > l {
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCreateBinaryOptionsLimitOrderResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.Ticker = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrderResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsLimitOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field BaseDenom", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21355,43 +12474,61 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.BaseDenom = string(dAtA[iNdEx:postIndex])
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- if postIndex > l {
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchCreateDerivativeLimitOrders) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrders: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrders: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21419,15 +12556,13 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 7:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Orders", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -21437,65 +12572,79 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Orders = append(m.Orders, DerivativeOrder{})
+ if err := m.Orders[len(m.Orders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- if postIndex > l {
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchCreateDerivativeLimitOrdersResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MakerFeeRate = &v
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- iNdEx = postIndex
- case 9:
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrdersResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchCreateDerivativeLimitOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHashes", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21523,11 +12672,7 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.TakerFeeRate = &v
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.OrderHashes = append(m.OrderHashes, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -21550,7 +12695,7 @@ func (m *SpotMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgCancelSpotOrder) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -21573,15 +12718,15 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: PerpetualMarketLaunchProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgCancelSpotOrder: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: PerpetualMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgCancelSpotOrder: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21609,11 +12754,11 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21641,11 +12786,11 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.MarketId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21673,11 +12818,11 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Ticker = string(dAtA[iNdEx:postIndex])
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21705,11 +12850,11 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 5:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21737,81 +12882,111 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OracleBase = string(dAtA[iNdEx:postIndex])
+ m.Cid = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- if postIndex > l {
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCancelSpotOrderResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.OracleQuote = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- m.OracleScaleFactor = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCancelSpotOrderResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCancelSpotOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
}
- m.OracleType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchCancelSpotOrders) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- case 9:
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchCancelSpotOrders: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchCancelSpotOrders: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21839,15 +13014,13 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 10:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -21857,97 +13030,199 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Data = append(m.Data, OrderData{})
+ if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 11:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchCancelSpotOrdersResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- iNdEx = postIndex
- case 12:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
}
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchCancelSpotOrdersResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchCancelSpotOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType == 0 {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- if iNdEx >= l {
+ m.Success = append(m.Success, bool(v != 0))
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
return io.ErrUnexpectedEOF
}
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ var elementCount int
+ elementCount = packedLen
+ if elementCount != 0 && len(m.Success) == 0 {
+ m.Success = make([]bool, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Success = append(m.Success, bool(v != 0))
}
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchCancelBinaryOptionsOrders) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- iNdEx = postIndex
- case 13:
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrders: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrders: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -21972,18 +13247,16 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
}
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 14:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -21993,23 +13266,23 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Data = append(m.Data, OrderData{})
+ if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -22034,7 +13307,127 @@ func (m *PerpetualMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgBatchCancelBinaryOptionsOrdersResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrdersResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchCancelBinaryOptionsOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType == 0 {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Success = append(m.Success, bool(v != 0))
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ elementCount = packedLen
+ if elementCount != 0 && len(m.Success) == 0 {
+ m.Success = make([]bool, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Success = append(m.Success, bool(v != 0))
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchUpdateOrders) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -22057,15 +13450,15 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: BinaryOptionsMarketLaunchProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgBatchUpdateOrders: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: BinaryOptionsMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgBatchUpdateOrders: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22093,11 +13486,11 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22125,11 +13518,11 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotMarketIdsToCancelAll", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22157,11 +13550,11 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Ticker = string(dAtA[iNdEx:postIndex])
+ m.SpotMarketIdsToCancelAll = append(m.SpotMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleSymbol", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeMarketIdsToCancelAll", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22189,13 +13582,13 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OracleSymbol = string(dAtA[iNdEx:postIndex])
+ m.DerivativeMarketIdsToCancelAll = append(m.DerivativeMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
case 5:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleProvider", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCancel", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22205,29 +13598,31 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OracleProvider = string(dAtA[iNdEx:postIndex])
+ m.SpotOrdersToCancel = append(m.SpotOrdersToCancel, &OrderData{})
+ if err := m.SpotOrdersToCancel[len(m.SpotOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
case 6:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCancel", wireType)
}
- m.OracleType = 0
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22237,16 +13632,31 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ if msglen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DerivativeOrdersToCancel = append(m.DerivativeOrdersToCancel, &OrderData{})
+ if err := m.DerivativeOrdersToCancel[len(m.DerivativeOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersToCreate", wireType)
}
- m.OracleScaleFactor = 0
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22256,16 +13666,31 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ if msglen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SpotOrdersToCreate = append(m.SpotOrdersToCreate, &SpotOrder{})
+ if err := m.SpotOrdersToCreate[len(m.SpotOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersToCreate", wireType)
}
- m.ExpirationTimestamp = 0
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22275,16 +13700,31 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.ExpirationTimestamp |= int64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ if msglen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DerivativeOrdersToCreate = append(m.DerivativeOrdersToCreate, &DerivativeOrder{})
+ if err := m.DerivativeOrdersToCreate[len(m.DerivativeOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrdersToCancel", wireType)
}
- m.SettlementTimestamp = 0
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22294,14 +13734,29 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.SettlementTimestamp |= int64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ if msglen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.BinaryOptionsOrdersToCancel = append(m.BinaryOptionsOrdersToCancel, &OrderData{})
+ if err := m.BinaryOptionsOrdersToCancel[len(m.BinaryOptionsOrdersToCancel)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
case 10:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsMarketIdsToCancelAll", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22329,13 +13784,13 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Admin = string(dAtA[iNdEx:postIndex])
+ m.BinaryOptionsMarketIdsToCancelAll = append(m.BinaryOptionsMarketIdsToCancelAll, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
case 11:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrdersToCreate", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22345,27 +13800,219 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ m.BinaryOptionsOrdersToCreate = append(m.BinaryOptionsOrdersToCreate, &DerivativeOrder{})
+ if err := m.BinaryOptionsOrdersToCreate[len(m.BinaryOptionsOrdersToCreate)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
iNdEx = postIndex
- case 12:
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgBatchUpdateOrdersResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgBatchUpdateOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType == 0 {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0))
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ elementCount = packedLen
+ if elementCount != 0 && len(m.SpotCancelSuccess) == 0 {
+ m.SpotCancelSuccess = make([]bool, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.SpotCancelSuccess = append(m.SpotCancelSuccess, bool(v != 0))
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotCancelSuccess", wireType)
+ }
+ case 2:
+ if wireType == 0 {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0))
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ var elementCount int
+ elementCount = packedLen
+ if elementCount != 0 && len(m.DerivativeCancelSuccess) == 0 {
+ m.DerivativeCancelSuccess = make([]bool, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.DerivativeCancelSuccess = append(m.DerivativeCancelSuccess, bool(v != 0))
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeCancelSuccess", wireType)
+ }
+ case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotOrderHashes", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22393,13 +14040,11 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.SpotOrderHashes = append(m.SpotOrderHashes, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
- case 13:
+ case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrderHashes", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22427,47 +14072,81 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.DerivativeOrderHashes = append(m.DerivativeOrderHashes, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
+ case 5:
+ if wireType == 0 {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- if iNdEx >= l {
+ m.BinaryOptionsCancelSuccess = append(m.BinaryOptionsCancelSuccess, bool(v != 0))
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if packedLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
return io.ErrUnexpectedEOF
}
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ var elementCount int
+ elementCount = packedLen
+ if elementCount != 0 && len(m.BinaryOptionsCancelSuccess) == 0 {
+ m.BinaryOptionsCancelSuccess = make([]bool, 0, elementCount)
}
+ for iNdEx < postIndex {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.BinaryOptionsCancelSuccess = append(m.BinaryOptionsCancelSuccess, bool(v != 0))
+ }
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsCancelSuccess", wireType)
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 15:
+ case 6:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field BinaryOptionsOrderHashes", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22495,9 +14174,7 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.BinaryOptionsOrderHashes = append(m.BinaryOptionsOrderHashes, string(dAtA[iNdEx:postIndex]))
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -22520,7 +14197,7 @@ func (m *BinaryOptionsMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgCreateDerivativeMarketOrder) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -22543,15 +14220,15 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: ExpiryFuturesMarketLaunchProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgCreateDerivativeMarketOrder: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: ExpiryFuturesMarketLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgCreateDerivativeMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22579,13 +14256,13 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22595,59 +14272,78 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Ticker", wireType)
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- if postIndex > l {
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCreateDerivativeMarketOrderResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.Ticker = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCreateDerivativeMarketOrderResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCreateDerivativeMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field QuoteDenom", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22675,13 +14371,13 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.QuoteDenom = string(dAtA[iNdEx:postIndex])
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 5:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22691,61 +14387,83 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.OracleBase = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
+ if m.Results == nil {
+ m.Results = &DerivativeMarketOrderResults{}
}
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.OracleQuote = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 7:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *DerivativeMarketOrderResults) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DerivativeMarketOrderResults: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DerivativeMarketOrderResults: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
}
- m.OracleScaleFactor = 0
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22755,52 +14473,29 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- case 8:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
}
- m.OracleType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
}
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Expiry", wireType)
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
}
- m.Expiry = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Expiry |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
}
- case 10:
+ iNdEx = postIndex
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22828,13 +14523,13 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 11:
+ case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22862,15 +14557,15 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 12:
+ case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field PositionDelta", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22880,29 +14575,28 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.PositionDelta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 13:
+ case 5:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Payout", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22930,13 +14624,63 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Payout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 14:
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCreateBinaryOptionsMarketOrder) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrder: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -22964,15 +14708,13 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 15:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -22982,23 +14724,22 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -23023,7 +14764,7 @@ func (m *ExpiryFuturesMarketLaunchProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgCreateBinaryOptionsMarketOrderResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -23046,15 +14787,15 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: DerivativeMarketParamUpdateProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrderResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: DerivativeMarketParamUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgCreateBinaryOptionsMarketOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23082,11 +14823,97 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Results", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Results == nil {
+ m.Results = &DerivativeMarketOrderResults{}
+ }
+ if err := m.Results.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCancelDerivativeOrder) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCancelDerivativeOrder: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCancelDerivativeOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23114,9 +14941,9 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 3:
+ case 2:
if wireType != 2 {
return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
}
@@ -23148,9 +14975,9 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
m.MarketId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 4:
+ case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field InitialMarginRatio", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23178,15 +15005,11 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.InitialMarginRatio = &v
- if err := m.InitialMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 5:
+ case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MaintenanceMarginRatio", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23214,17 +15037,13 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MaintenanceMarginRatio = &v
- if err := m.MaintenanceMarginRatio.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 6:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
}
- var stringLen uint64
+ m.OrderMask = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -23234,31 +15053,14 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ m.OrderMask |= int32(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MakerFeeRate = &v
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 7:
+ case 6:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23286,51 +15088,111 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.TakerFeeRate = &v
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
return err
}
- iNdEx = postIndex
- case 8:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RelayerFeeShareRate", wireType)
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
}
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCancelDerivativeOrderResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCancelDerivativeOrderResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCancelDerivativeOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.RelayerFeeShareRate = &v
- if err := m.RelayerFeeShareRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCancelBinaryOptionsOrder) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- iNdEx = postIndex
- case 9:
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCancelBinaryOptionsOrder: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCancelBinaryOptionsOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23358,15 +15220,11 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MinPriceTickSize = &v
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 10:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23394,15 +15252,11 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MinQuantityTickSize = &v
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 11:
+ case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field HourlyInterestRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23430,15 +15284,11 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.HourlyInterestRate = &v
- if err := m.HourlyInterestRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 12:
+ case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field HourlyFundingRateCap", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23466,17 +15316,13 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.HourlyFundingRateCap = &v
- if err := m.HourlyFundingRateCap.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 13:
+ case 5:
if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
}
- m.Status = 0
+ m.OrderMask = 0
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -23486,16 +15332,16 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.Status |= MarketStatus(b&0x7F) << shift
+ m.OrderMask |= int32(b&0x7F) << shift
if b < 0x80 {
break
}
}
- case 14:
+ case 6:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleParams", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -23505,28 +15351,74 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.OracleParams == nil {
- m.OracleParams = &OracleParams{}
- }
- if err := m.OracleParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
return err
}
- iNdEx = postIndex
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgCancelBinaryOptionsOrderResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgCancelBinaryOptionsOrderResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgCancelBinaryOptionsOrderResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -23548,7 +15440,7 @@ func (m *DerivativeMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
+func (m *OrderData) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -23571,15 +15463,15 @@ func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: MarketForcedSettlementProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: OrderData: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: MarketForcedSettlementProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: OrderData: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23607,11 +15499,11 @@ func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.MarketId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23639,11 +15531,11 @@ func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23671,11 +15563,30 @@ func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.MarketId = string(dAtA[iNdEx:postIndex])
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderMask", wireType)
+ }
+ m.OrderMask = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.OrderMask |= int32(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 5:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SettlementPrice", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23703,11 +15614,7 @@ func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.SettlementPrice = &v
- if err := m.SettlementPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Cid = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -23730,7 +15637,7 @@ func (m *MarketForcedSettlementProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *UpdateDenomDecimalsProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgBatchCancelDerivativeOrders) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -23753,15 +15660,15 @@ func (m *UpdateDenomDecimalsProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: UpdateDenomDecimalsProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgBatchCancelDerivativeOrders: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: UpdateDenomDecimalsProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgBatchCancelDerivativeOrders: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -23789,43 +15696,11 @@ func (m *UpdateDenomDecimalsProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field DenomDecimals", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -23852,8 +15727,8 @@ func (m *UpdateDenomDecimalsProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.DenomDecimals = append(m.DenomDecimals, &DenomDecimals{})
- if err := m.DenomDecimals[len(m.DenomDecimals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.Data = append(m.Data, OrderData{})
+ if err := m.Data[len(m.Data)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -23878,7 +15753,7 @@ func (m *UpdateDenomDecimalsProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgBatchCancelDerivativeOrdersResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -23901,183 +15776,135 @@ func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: BinaryOptionsMarketParamUpdateProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgBatchCancelDerivativeOrdersResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: BinaryOptionsMarketParamUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgBatchCancelDerivativeOrdersResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Title = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MarketId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
+ if wireType == 0 {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ m.Success = append(m.Success, bool(v != 0))
+ } else if wireType == 2 {
+ var packedLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ packedLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
}
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MakerFeeRate = &v
- if err := m.MakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field TakerFeeRate", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
+ if packedLen < 0 {
+ return ErrInvalidLengthTx
}
- if iNdEx >= l {
+ postIndex := iNdEx + packedLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
return io.ErrUnexpectedEOF
}
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
+ var elementCount int
+ elementCount = packedLen
+ if elementCount != 0 && len(m.Success) == 0 {
+ m.Success = make([]bool, 0, elementCount)
+ }
+ for iNdEx < postIndex {
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.Success = append(m.Success, bool(v != 0))
}
+ } else {
+ return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.TakerFeeRate = &v
- if err := m.TakerFeeRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgSubaccountTransfer) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- iNdEx = postIndex
- case 6:
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgSubaccountTransfer: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgSubaccountTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RelayerFeeShareRate", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24105,15 +15932,11 @@ func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.RelayerFeeShareRate = &v
- if err := m.RelayerFeeShareRate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 7:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinPriceTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24141,15 +15964,11 @@ func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MinPriceTickSize = &v
- if err := m.MinPriceTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 8:
+ case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MinQuantityTickSize", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24177,55 +15996,13 @@ func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.MinQuantityTickSize = &v
- if err := m.MinQuantityTickSize.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 9:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ExpirationTimestamp", wireType)
- }
- m.ExpirationTimestamp = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ExpirationTimestamp |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 10:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field SettlementTimestamp", wireType)
- }
- m.SettlementTimestamp = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.SettlementTimestamp |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 11:
+ case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field SettlementPrice", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
- var stringLen uint64
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -24235,115 +16012,75 @@ func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- stringLen |= uint64(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
- intStringLen := int(stringLen)
- if intStringLen < 0 {
+ if msglen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + intStringLen
+ postIndex := iNdEx + msglen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- var v github_com_cosmos_cosmos_sdk_types.Dec
- m.SettlementPrice = &v
- if err := m.SettlementPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
- case 12:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Admin", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.Admin = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 13:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
- }
- m.Status = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.Status |= MarketStatus(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 14:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleParams", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgSubaccountTransferResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- if postIndex > l {
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- if m.OracleParams == nil {
- m.OracleParams = &ProviderOracleParams{}
- }
- if err := m.OracleParams.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- iNdEx = postIndex
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgSubaccountTransferResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgSubaccountTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -24365,7 +16102,7 @@ func (m *BinaryOptionsMarketParamUpdateProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
+func (m *MsgExternalTransfer) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -24388,15 +16125,15 @@ func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: ProviderOracleParams: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgExternalTransfer: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: ProviderOracleParams: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgExternalTransfer: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24424,11 +16161,11 @@ func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Symbol = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Provider", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24456,13 +16193,13 @@ func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Provider = string(dAtA[iNdEx:postIndex])
+ m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
}
- m.OracleScaleFactor = 0
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -24472,16 +16209,29 @@ func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
- m.OracleType = 0
+ var msglen int
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -24491,11 +16241,25 @@ func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
+ msglen |= int(b&0x7F) << shift
if b < 0x80 {
break
}
}
+ if msglen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -24517,7 +16281,7 @@ func (m *ProviderOracleParams) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *OracleParams) Unmarshal(dAtA []byte) error {
+func (m *MsgExternalTransferResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -24540,114 +16304,12 @@ func (m *OracleParams) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: OracleParams: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgExternalTransferResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: OracleParams: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgExternalTransferResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleBase", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleBase = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleQuote", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.OracleQuote = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleScaleFactor", wireType)
- }
- m.OracleScaleFactor = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleScaleFactor |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field OracleType", wireType)
- }
- m.OracleType = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.OracleType |= types1.OracleType(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -24669,7 +16331,7 @@ func (m *OracleParams) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgLiquidatePosition) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -24692,15 +16354,15 @@ func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: TradingRewardCampaignLaunchProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgLiquidatePosition: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: TradingRewardCampaignLaunchProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgLiquidatePosition: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24728,11 +16390,11 @@ func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24760,13 +16422,13 @@ func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CampaignInfo", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -24776,31 +16438,27 @@ func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.CampaignInfo == nil {
- m.CampaignInfo = &TradingRewardCampaignInfo{}
- }
- if err := m.CampaignInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CampaignRewardPools", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -24827,8 +16485,10 @@ func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.CampaignRewardPools = append(m.CampaignRewardPools, &CampaignRewardPool{})
- if err := m.CampaignRewardPools[len(m.CampaignRewardPools)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if m.Order == nil {
+ m.Order = &DerivativeOrder{}
+ }
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -24853,7 +16513,57 @@ func (m *TradingRewardCampaignLaunchProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgLiquidatePositionResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgLiquidatePositionResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgLiquidatePositionResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgEmergencySettleMarket) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -24876,15 +16586,15 @@ func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: TradingRewardCampaignUpdateProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgEmergencySettleMarket: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: TradingRewardCampaignUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgEmergencySettleMarket: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24912,11 +16622,11 @@ func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -24944,13 +16654,13 @@ func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CampaignInfo", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -24960,96 +16670,74 @@ func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.CampaignInfo == nil {
- m.CampaignInfo = &TradingRewardCampaignInfo{}
- }
- if err := m.CampaignInfo.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CampaignRewardPoolsAdditions", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
}
- postIndex := iNdEx + msglen
- if postIndex < 0 {
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
return ErrInvalidLengthTx
}
- if postIndex > l {
+ if (iNdEx + skippy) > l {
return io.ErrUnexpectedEOF
}
- m.CampaignRewardPoolsAdditions = append(m.CampaignRewardPoolsAdditions, &CampaignRewardPool{})
- if err := m.CampaignRewardPoolsAdditions[len(m.CampaignRewardPoolsAdditions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 5:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field CampaignRewardPoolsUpdates", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgEmergencySettleMarketResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
}
- if postIndex > l {
+ if iNdEx >= l {
return io.ErrUnexpectedEOF
}
- m.CampaignRewardPoolsUpdates = append(m.CampaignRewardPoolsUpdates, &CampaignRewardPool{})
- if err := m.CampaignRewardPoolsUpdates[len(m.CampaignRewardPoolsUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
}
- iNdEx = postIndex
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgEmergencySettleMarketResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgEmergencySettleMarketResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
default:
iNdEx = preIndex
skippy, err := skipTx(dAtA[iNdEx:])
@@ -25071,7 +16759,7 @@ func (m *TradingRewardCampaignUpdateProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error {
+func (m *MsgIncreasePositionMargin) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -25094,15 +16782,15 @@ func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: RewardPointUpdate: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgIncreasePositionMargin: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: RewardPointUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgIncreasePositionMargin: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field AccountAddress", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -25130,11 +16818,11 @@ func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.AccountAddress = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 12:
+ case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field NewPoints", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field SourceSubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -25162,63 +16850,11 @@ func (m *RewardPointUpdate) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if err := m.NewPoints.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
+ m.SourceSubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: TradingRewardPendingPointsUpdateProposal: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: TradingRewardPendingPointsUpdateProposal: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
+ case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field DestinationSubaccountId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -25246,11 +16882,11 @@ func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.DestinationSubaccountId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 2:
+ case 4:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -25278,32 +16914,13 @@ func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.MarketId = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field PendingPoolTimestamp", wireType)
- }
- m.PendingPoolTimestamp = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.PendingPoolTimestamp |= int64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- case 4:
+ case 5:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RewardPointUpdates", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Amount", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -25313,23 +16930,23 @@ func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.RewardPointUpdates = append(m.RewardPointUpdates, &RewardPointUpdate{})
- if err := m.RewardPointUpdates[len(m.RewardPointUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ if err := m.Amount.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -25354,7 +16971,57 @@ func (m *TradingRewardPendingPointsUpdateProposal) Unmarshal(dAtA []byte) error
}
return nil
}
-func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgIncreasePositionMarginResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: MsgIncreasePositionMarginResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: MsgIncreasePositionMarginResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ default:
+ iNdEx = preIndex
+ skippy, err := skipTx(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthTx
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *MsgPrivilegedExecuteContract) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -25377,15 +17044,15 @@ func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: FeeDiscountProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgPrivilegedExecuteContract: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: FeeDiscountProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgPrivilegedExecuteContract: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Sender", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -25413,11 +17080,11 @@ func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Title = string(dAtA[iNdEx:postIndex])
+ m.Sender = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 2:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field Funds", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -25445,13 +17112,13 @@ func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Description = string(dAtA[iNdEx:postIndex])
+ m.Funds = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType)
}
- var msglen int
+ var stringLen uint64
for shift := uint(0); ; shift += 7 {
if shift >= 64 {
return ErrIntOverflowTx
@@ -25461,27 +17128,55 @@ func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error {
}
b := dAtA[iNdEx]
iNdEx++
- msglen |= int(b&0x7F) << shift
+ stringLen |= uint64(b&0x7F) << shift
if b < 0x80 {
break
}
}
- if msglen < 0 {
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
return ErrInvalidLengthTx
}
- postIndex := iNdEx + msglen
+ postIndex := iNdEx + intStringLen
if postIndex < 0 {
return ErrInvalidLengthTx
}
if postIndex > l {
return io.ErrUnexpectedEOF
}
- if m.Schedule == nil {
- m.Schedule = &FeeDiscountSchedule{}
+ m.ContractAddress = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
}
- if err := m.Schedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowTx
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthTx
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthTx
}
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Data = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
@@ -25504,7 +17199,7 @@ func (m *FeeDiscountProposal) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *BatchCommunityPoolSpendProposal) Unmarshal(dAtA []byte) error {
+func (m *MsgPrivilegedExecuteContractResponse) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -25527,79 +17222,15 @@ func (m *BatchCommunityPoolSpendProposal) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: BatchCommunityPoolSpendProposal: wiretype end group for non-group")
+ return fmt.Errorf("proto: MsgPrivilegedExecuteContractResponse: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: BatchCommunityPoolSpendProposal: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: MsgPrivilegedExecuteContractResponse: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Title = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Proposals", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field FundsDiff", wireType)
}
var msglen int
for shift := uint(0); ; shift += 7 {
@@ -25626,8 +17257,8 @@ func (m *BatchCommunityPoolSpendProposal) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Proposals = append(m.Proposals, &types2.CommunityPoolSpendProposal{})
- if err := m.Proposals[len(m.Proposals)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ m.FundsDiff = append(m.FundsDiff, types.Coin{})
+ if err := m.FundsDiff[len(m.FundsDiff)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
return err
}
iNdEx = postIndex
@@ -26474,154 +18105,6 @@ func (m *MsgAdminUpdateBinaryOptionsMarketResponse) Unmarshal(dAtA []byte) error
}
return nil
}
-func (m *AtomicMarketOrderFeeMultiplierScheduleProposal) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: AtomicMarketOrderFeeMultiplierScheduleProposal: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: AtomicMarketOrderFeeMultiplierScheduleProposal: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Title = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Description = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketFeeMultipliers", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowTx
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthTx
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthTx
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MarketFeeMultipliers = append(m.MarketFeeMultipliers, &MarketFeeMultiplier{})
- if err := m.MarketFeeMultipliers[len(m.MarketFeeMultipliers)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipTx(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthTx
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
func skipTx(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
diff --git a/chain/exchange/types/wasm_maker_contract.go b/chain/exchange/types/wasm_maker_contract.go
index ca0a9227..8b75eb9f 100644
--- a/chain/exchange/types/wasm_maker_contract.go
+++ b/chain/exchange/types/wasm_maker_contract.go
@@ -1,7 +1,7 @@
package types
import (
- sdk "github.com/cosmos/cosmos-sdk/types"
+ "cosmossdk.io/math"
)
type MintToUser struct {
@@ -13,7 +13,7 @@ type MintToUserMsg struct {
MintToUser MintToUser `json:"mint_to_user"`
}
-func NewMintToUserMsg(subaccountIDSender string, amount sdk.Int) MintToUserMsg {
+func NewMintToUserMsg(subaccountIDSender string, amount math.Int) MintToUserMsg {
return MintToUserMsg{
MintToUser: MintToUser{
SubaccountIDSender: subaccountIDSender,
diff --git a/chain/insurance/types/events.pb.go b/chain/insurance/types/events.pb.go
new file mode 100644
index 00000000..b81ef035
--- /dev/null
+++ b/chain/insurance/types/events.pb.go
@@ -0,0 +1,1365 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: injective/insurance/v1beta1/events.proto
+
+package types
+
+import (
+ fmt "fmt"
+ types "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+type EventInsuranceFundUpdate struct {
+ Fund *InsuranceFund `protobuf:"bytes,1,opt,name=fund,proto3" json:"fund,omitempty"`
+}
+
+func (m *EventInsuranceFundUpdate) Reset() { *m = EventInsuranceFundUpdate{} }
+func (m *EventInsuranceFundUpdate) String() string { return proto.CompactTextString(m) }
+func (*EventInsuranceFundUpdate) ProtoMessage() {}
+func (*EventInsuranceFundUpdate) Descriptor() ([]byte, []int) {
+ return fileDescriptor_238c43c591e30770, []int{0}
+}
+func (m *EventInsuranceFundUpdate) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventInsuranceFundUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventInsuranceFundUpdate.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *EventInsuranceFundUpdate) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventInsuranceFundUpdate.Merge(m, src)
+}
+func (m *EventInsuranceFundUpdate) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventInsuranceFundUpdate) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventInsuranceFundUpdate.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventInsuranceFundUpdate proto.InternalMessageInfo
+
+func (m *EventInsuranceFundUpdate) GetFund() *InsuranceFund {
+ if m != nil {
+ return m.Fund
+ }
+ return nil
+}
+
+type EventRequestRedemption struct {
+ Schedule *RedemptionSchedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
+}
+
+func (m *EventRequestRedemption) Reset() { *m = EventRequestRedemption{} }
+func (m *EventRequestRedemption) String() string { return proto.CompactTextString(m) }
+func (*EventRequestRedemption) ProtoMessage() {}
+func (*EventRequestRedemption) Descriptor() ([]byte, []int) {
+ return fileDescriptor_238c43c591e30770, []int{1}
+}
+func (m *EventRequestRedemption) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventRequestRedemption.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *EventRequestRedemption) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventRequestRedemption.Merge(m, src)
+}
+func (m *EventRequestRedemption) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventRequestRedemption) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventRequestRedemption.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventRequestRedemption proto.InternalMessageInfo
+
+func (m *EventRequestRedemption) GetSchedule() *RedemptionSchedule {
+ if m != nil {
+ return m.Schedule
+ }
+ return nil
+}
+
+type EventWithdrawRedemption struct {
+ // redemption schedule triggered withdraw
+ Schedule *RedemptionSchedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
+ // redeem coin amount in base_currency
+ RedeemCoin types.Coin `protobuf:"bytes,2,opt,name=redeem_coin,json=redeemCoin,proto3" json:"redeem_coin"`
+}
+
+func (m *EventWithdrawRedemption) Reset() { *m = EventWithdrawRedemption{} }
+func (m *EventWithdrawRedemption) String() string { return proto.CompactTextString(m) }
+func (*EventWithdrawRedemption) ProtoMessage() {}
+func (*EventWithdrawRedemption) Descriptor() ([]byte, []int) {
+ return fileDescriptor_238c43c591e30770, []int{2}
+}
+func (m *EventWithdrawRedemption) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventWithdrawRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventWithdrawRedemption.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *EventWithdrawRedemption) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventWithdrawRedemption.Merge(m, src)
+}
+func (m *EventWithdrawRedemption) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventWithdrawRedemption) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventWithdrawRedemption.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventWithdrawRedemption proto.InternalMessageInfo
+
+func (m *EventWithdrawRedemption) GetSchedule() *RedemptionSchedule {
+ if m != nil {
+ return m.Schedule
+ }
+ return nil
+}
+
+func (m *EventWithdrawRedemption) GetRedeemCoin() types.Coin {
+ if m != nil {
+ return m.RedeemCoin
+ }
+ return types.Coin{}
+}
+
+type EventUnderwrite struct {
+ // address of the underwriter
+ Underwriter string `protobuf:"bytes,1,opt,name=underwriter,proto3" json:"underwriter,omitempty"`
+ // marketId of insurance fund for the redemption
+ MarketId string `protobuf:"bytes,2,opt,name=marketId,proto3" json:"marketId,omitempty"`
+ // deposit coin amount
+ Deposit types.Coin `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit"`
+ // share coin amount
+ Shares types.Coin `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares"`
+}
+
+func (m *EventUnderwrite) Reset() { *m = EventUnderwrite{} }
+func (m *EventUnderwrite) String() string { return proto.CompactTextString(m) }
+func (*EventUnderwrite) ProtoMessage() {}
+func (*EventUnderwrite) Descriptor() ([]byte, []int) {
+ return fileDescriptor_238c43c591e30770, []int{3}
+}
+func (m *EventUnderwrite) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventUnderwrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventUnderwrite.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *EventUnderwrite) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventUnderwrite.Merge(m, src)
+}
+func (m *EventUnderwrite) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventUnderwrite) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventUnderwrite.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventUnderwrite proto.InternalMessageInfo
+
+func (m *EventUnderwrite) GetUnderwriter() string {
+ if m != nil {
+ return m.Underwriter
+ }
+ return ""
+}
+
+func (m *EventUnderwrite) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *EventUnderwrite) GetDeposit() types.Coin {
+ if m != nil {
+ return m.Deposit
+ }
+ return types.Coin{}
+}
+
+func (m *EventUnderwrite) GetShares() types.Coin {
+ if m != nil {
+ return m.Shares
+ }
+ return types.Coin{}
+}
+
+type EventInsuranceWithdraw struct {
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ MarketTicker string `protobuf:"bytes,2,opt,name=market_ticker,json=marketTicker,proto3" json:"market_ticker,omitempty"`
+ Withdrawal types.Coin `protobuf:"bytes,3,opt,name=withdrawal,proto3" json:"withdrawal"`
+}
+
+func (m *EventInsuranceWithdraw) Reset() { *m = EventInsuranceWithdraw{} }
+func (m *EventInsuranceWithdraw) String() string { return proto.CompactTextString(m) }
+func (*EventInsuranceWithdraw) ProtoMessage() {}
+func (*EventInsuranceWithdraw) Descriptor() ([]byte, []int) {
+ return fileDescriptor_238c43c591e30770, []int{4}
+}
+func (m *EventInsuranceWithdraw) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventInsuranceWithdraw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventInsuranceWithdraw.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *EventInsuranceWithdraw) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventInsuranceWithdraw.Merge(m, src)
+}
+func (m *EventInsuranceWithdraw) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventInsuranceWithdraw) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventInsuranceWithdraw.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventInsuranceWithdraw proto.InternalMessageInfo
+
+func (m *EventInsuranceWithdraw) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *EventInsuranceWithdraw) GetMarketTicker() string {
+ if m != nil {
+ return m.MarketTicker
+ }
+ return ""
+}
+
+func (m *EventInsuranceWithdraw) GetWithdrawal() types.Coin {
+ if m != nil {
+ return m.Withdrawal
+ }
+ return types.Coin{}
+}
+
+func init() {
+ proto.RegisterType((*EventInsuranceFundUpdate)(nil), "injective.insurance.v1beta1.EventInsuranceFundUpdate")
+ proto.RegisterType((*EventRequestRedemption)(nil), "injective.insurance.v1beta1.EventRequestRedemption")
+ proto.RegisterType((*EventWithdrawRedemption)(nil), "injective.insurance.v1beta1.EventWithdrawRedemption")
+ proto.RegisterType((*EventUnderwrite)(nil), "injective.insurance.v1beta1.EventUnderwrite")
+ proto.RegisterType((*EventInsuranceWithdraw)(nil), "injective.insurance.v1beta1.EventInsuranceWithdraw")
+}
+
+func init() {
+ proto.RegisterFile("injective/insurance/v1beta1/events.proto", fileDescriptor_238c43c591e30770)
+}
+
+var fileDescriptor_238c43c591e30770 = []byte{
+ // 471 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x53, 0x41, 0x8b, 0xd4, 0x4c,
+ 0x10, 0x9d, 0x7c, 0xdf, 0xb0, 0xee, 0xd4, 0x28, 0x42, 0x23, 0x1a, 0x67, 0x21, 0x2e, 0xf1, 0xb2,
+ 0x28, 0xa6, 0x59, 0x3d, 0x88, 0x17, 0x95, 0x15, 0x85, 0x41, 0x41, 0x88, 0x2e, 0xc2, 0x5e, 0x96,
+ 0x4e, 0xba, 0x9c, 0xb4, 0xbb, 0xe9, 0x8e, 0xdd, 0x9d, 0x19, 0xfc, 0x17, 0xde, 0xfd, 0x03, 0xfe,
+ 0x0f, 0x2f, 0x7b, 0xdc, 0xa3, 0x27, 0x91, 0x99, 0x3f, 0x22, 0xe9, 0xf4, 0x64, 0xc6, 0xcb, 0x30,
+ 0x17, 0x6f, 0xa9, 0xca, 0x7b, 0xaf, 0x5e, 0xf5, 0xeb, 0x86, 0x03, 0x21, 0x3f, 0x61, 0x6e, 0xc5,
+ 0x14, 0xa9, 0x90, 0xa6, 0xd6, 0x4c, 0xe6, 0x48, 0xa7, 0x87, 0x19, 0x5a, 0x76, 0x48, 0x71, 0x8a,
+ 0xd2, 0x9a, 0xa4, 0xd2, 0xca, 0x2a, 0xb2, 0xd7, 0x21, 0x93, 0x0e, 0x99, 0x78, 0xe4, 0xe8, 0xc6,
+ 0x44, 0x4d, 0x94, 0xc3, 0xd1, 0xe6, 0xab, 0xa5, 0x8c, 0xa2, 0x5c, 0x99, 0x52, 0x19, 0x9a, 0x31,
+ 0xb3, 0x12, 0xcd, 0x95, 0x90, 0xfe, 0xff, 0xfd, 0x4d, 0xc3, 0x57, 0x43, 0x1c, 0x38, 0x3e, 0x81,
+ 0xf0, 0x65, 0xe3, 0x67, 0xbc, 0xec, 0xbf, 0xaa, 0x25, 0x3f, 0xae, 0x38, 0xb3, 0x48, 0x9e, 0x42,
+ 0xff, 0x63, 0x2d, 0x79, 0x18, 0xec, 0x07, 0x07, 0xc3, 0x87, 0xf7, 0x92, 0x0d, 0x56, 0x93, 0xbf,
+ 0xf8, 0xa9, 0xe3, 0xc5, 0x08, 0x37, 0x9d, 0x76, 0x8a, 0x9f, 0x6b, 0x34, 0x36, 0x45, 0x8e, 0x65,
+ 0x65, 0x85, 0x92, 0xe4, 0x35, 0xec, 0x9a, 0xbc, 0x40, 0x5e, 0x9f, 0xa3, 0x57, 0xa7, 0x1b, 0xd5,
+ 0x57, 0xd4, 0x77, 0x9e, 0x96, 0x76, 0x02, 0xf1, 0xf7, 0x00, 0x6e, 0xb9, 0x39, 0x1f, 0x84, 0x2d,
+ 0xb8, 0x66, 0xb3, 0x7f, 0x34, 0x88, 0x3c, 0x87, 0xa1, 0x46, 0x8e, 0x58, 0x9e, 0x36, 0xa7, 0x1d,
+ 0xfe, 0xe7, 0xf4, 0x6e, 0x27, 0x6d, 0x1c, 0x49, 0x13, 0x47, 0xa7, 0xf3, 0x42, 0x09, 0x79, 0xd4,
+ 0xbf, 0xf8, 0x75, 0xa7, 0x97, 0x42, 0xcb, 0x69, 0x3a, 0xf1, 0x8f, 0x00, 0xae, 0x3b, 0xab, 0xc7,
+ 0x92, 0xa3, 0x9e, 0x69, 0x61, 0x91, 0xec, 0xc3, 0xb0, 0xee, 0x2a, 0xed, 0x5c, 0x0e, 0xd2, 0xf5,
+ 0x16, 0x19, 0xc1, 0x6e, 0xc9, 0xf4, 0x19, 0xda, 0x31, 0x77, 0x43, 0x07, 0x69, 0x57, 0x93, 0x27,
+ 0x70, 0x85, 0x63, 0xa5, 0x8c, 0xb0, 0xe1, 0xff, 0xdb, 0xf9, 0x59, 0xe2, 0xc9, 0x63, 0xd8, 0x31,
+ 0x05, 0xd3, 0x68, 0xc2, 0xfe, 0x76, 0x4c, 0x0f, 0x8f, 0xbf, 0x05, 0x3e, 0xd8, 0x2e, 0xf4, 0xe5,
+ 0xc9, 0x93, 0x3d, 0x18, 0xb4, 0xd6, 0x4e, 0x05, 0xf7, 0xab, 0xac, 0xbc, 0xde, 0x85, 0x6b, 0xfe,
+ 0xa7, 0x15, 0xf9, 0x19, 0x6a, 0xbf, 0xcc, 0xd5, 0xb6, 0xf9, 0xde, 0xf5, 0xc8, 0x33, 0x80, 0x99,
+ 0x57, 0x63, 0xe7, 0xdb, 0xee, 0xb4, 0x46, 0x39, 0x12, 0x17, 0xf3, 0x28, 0xb8, 0x9c, 0x47, 0xc1,
+ 0xef, 0x79, 0x14, 0x7c, 0x5d, 0x44, 0xbd, 0xcb, 0x45, 0xd4, 0xfb, 0xb9, 0x88, 0x7a, 0x27, 0x6f,
+ 0x27, 0xc2, 0x16, 0x75, 0x96, 0xe4, 0xaa, 0xa4, 0xe3, 0xe5, 0x25, 0x78, 0xc3, 0x32, 0x43, 0xbb,
+ 0x2b, 0xf1, 0x20, 0x57, 0x1a, 0xd7, 0xcb, 0x82, 0x09, 0x49, 0x4b, 0xd5, 0xe4, 0x6f, 0xd6, 0x9e,
+ 0x93, 0xfd, 0x52, 0xa1, 0xc9, 0x76, 0xdc, 0x1b, 0x7a, 0xf4, 0x27, 0x00, 0x00, 0xff, 0xff, 0xdf,
+ 0x1c, 0x0d, 0x6e, 0xef, 0x03, 0x00, 0x00,
+}
+
+func (m *EventInsuranceFundUpdate) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *EventInsuranceFundUpdate) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventInsuranceFundUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Fund != nil {
+ {
+ size, err := m.Fund.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintEvents(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *EventRequestRedemption) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *EventRequestRedemption) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Schedule != nil {
+ {
+ size, err := m.Schedule.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintEvents(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *EventWithdrawRedemption) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *EventWithdrawRedemption) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventWithdrawRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.RedeemCoin.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintEvents(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if m.Schedule != nil {
+ {
+ size, err := m.Schedule.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintEvents(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *EventUnderwrite) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *EventUnderwrite) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventUnderwrite) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Shares.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintEvents(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ {
+ size, err := m.Deposit.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintEvents(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.Underwriter) > 0 {
+ i -= len(m.Underwriter)
+ copy(dAtA[i:], m.Underwriter)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.Underwriter)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *EventInsuranceWithdraw) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *EventInsuranceWithdraw) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventInsuranceWithdraw) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Withdrawal.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintEvents(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ if len(m.MarketTicker) > 0 {
+ i -= len(m.MarketTicker)
+ copy(dAtA[i:], m.MarketTicker)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.MarketTicker)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintEvents(dAtA []byte, offset int, v uint64) int {
+ offset -= sovEvents(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *EventInsuranceFundUpdate) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Fund != nil {
+ l = m.Fund.Size()
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ return n
+}
+
+func (m *EventRequestRedemption) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Schedule != nil {
+ l = m.Schedule.Size()
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ return n
+}
+
+func (m *EventWithdrawRedemption) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Schedule != nil {
+ l = m.Schedule.Size()
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ l = m.RedeemCoin.Size()
+ n += 1 + l + sovEvents(uint64(l))
+ return n
+}
+
+func (m *EventUnderwrite) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Underwriter)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ l = m.Deposit.Size()
+ n += 1 + l + sovEvents(uint64(l))
+ l = m.Shares.Size()
+ n += 1 + l + sovEvents(uint64(l))
+ return n
+}
+
+func (m *EventInsuranceWithdraw) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ l = len(m.MarketTicker)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ l = m.Withdrawal.Size()
+ n += 1 + l + sovEvents(uint64(l))
+ return n
+}
+
+func sovEvents(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozEvents(x uint64) (n int) {
+ return sovEvents(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *EventInsuranceFundUpdate) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: EventInsuranceFundUpdate: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventInsuranceFundUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Fund", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Fund == nil {
+ m.Fund = &InsuranceFund{}
+ }
+ if err := m.Fund.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEvents(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventRequestRedemption) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: EventRequestRedemption: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventRequestRedemption: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Schedule == nil {
+ m.Schedule = &RedemptionSchedule{}
+ }
+ if err := m.Schedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEvents(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventWithdrawRedemption) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: EventWithdrawRedemption: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventWithdrawRedemption: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Schedule == nil {
+ m.Schedule = &RedemptionSchedule{}
+ }
+ if err := m.Schedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field RedeemCoin", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.RedeemCoin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEvents(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventUnderwrite) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: EventUnderwrite: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventUnderwrite: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Underwriter", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Underwriter = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Deposit", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Deposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Shares", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Shares.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEvents(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventInsuranceWithdraw) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: EventInsuranceWithdraw: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventInsuranceWithdraw: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketTicker", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketTicker = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Withdrawal", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Withdrawal.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEvents(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipEvents(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthEvents
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupEvents
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthEvents
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/chain/insurance/types/genesis.pb.go b/chain/insurance/types/genesis.pb.go
index 2bd30a00..09aa4be5 100644
--- a/chain/insurance/types/genesis.pb.go
+++ b/chain/insurance/types/genesis.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/insurance/types/insurance.go b/chain/insurance/types/insurance.go
index 7a2cb8c4..de861276 100644
--- a/chain/insurance/types/insurance.go
+++ b/chain/insurance/types/insurance.go
@@ -10,7 +10,11 @@ import (
oracletypes "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
)
-var InsuranceFundInitialSupply = math.NewIntWithDecimal(1, 18)
+var (
+ InsuranceFundInitialSupply = math.NewIntWithDecimal(1, 18)
+ InsuranceFundProtocolOwnedLiquiditySupply = math.NewIntWithDecimal(1, 16)
+ InsuranceFundCreatorSupply = InsuranceFundInitialSupply.Sub(InsuranceFundProtocolOwnedLiquiditySupply)
+)
func NewInsuranceFund(
marketID common.Hash,
diff --git a/chain/insurance/types/insurance.pb.go b/chain/insurance/types/insurance.pb.go
index ba256531..d0321a94 100644
--- a/chain/insurance/types/insurance.pb.go
+++ b/chain/insurance/types/insurance.pb.go
@@ -5,6 +5,11 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+ time "time"
+
types "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types1 "github.com/cosmos/cosmos-sdk/types"
@@ -13,10 +18,6 @@ import (
github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types"
_ "google.golang.org/protobuf/types/known/durationpb"
_ "google.golang.org/protobuf/types/known/timestamppb"
- io "io"
- math "math"
- math_bits "math/bits"
- time "time"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -285,228 +286,10 @@ func (m *RedemptionSchedule) GetRedemptionAmount() types1.Coin {
return types1.Coin{}
}
-type EventInsuranceFundUpdate struct {
- Fund *InsuranceFund `protobuf:"bytes,1,opt,name=fund,proto3" json:"fund,omitempty"`
-}
-
-func (m *EventInsuranceFundUpdate) Reset() { *m = EventInsuranceFundUpdate{} }
-func (m *EventInsuranceFundUpdate) String() string { return proto.CompactTextString(m) }
-func (*EventInsuranceFundUpdate) ProtoMessage() {}
-func (*EventInsuranceFundUpdate) Descriptor() ([]byte, []int) {
- return fileDescriptor_dbc47a7b76393948, []int{3}
-}
-func (m *EventInsuranceFundUpdate) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *EventInsuranceFundUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_EventInsuranceFundUpdate.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *EventInsuranceFundUpdate) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventInsuranceFundUpdate.Merge(m, src)
-}
-func (m *EventInsuranceFundUpdate) XXX_Size() int {
- return m.Size()
-}
-func (m *EventInsuranceFundUpdate) XXX_DiscardUnknown() {
- xxx_messageInfo_EventInsuranceFundUpdate.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_EventInsuranceFundUpdate proto.InternalMessageInfo
-
-func (m *EventInsuranceFundUpdate) GetFund() *InsuranceFund {
- if m != nil {
- return m.Fund
- }
- return nil
-}
-
-type EventRequestRedemption struct {
- Schedule *RedemptionSchedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
-}
-
-func (m *EventRequestRedemption) Reset() { *m = EventRequestRedemption{} }
-func (m *EventRequestRedemption) String() string { return proto.CompactTextString(m) }
-func (*EventRequestRedemption) ProtoMessage() {}
-func (*EventRequestRedemption) Descriptor() ([]byte, []int) {
- return fileDescriptor_dbc47a7b76393948, []int{4}
-}
-func (m *EventRequestRedemption) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *EventRequestRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_EventRequestRedemption.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *EventRequestRedemption) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventRequestRedemption.Merge(m, src)
-}
-func (m *EventRequestRedemption) XXX_Size() int {
- return m.Size()
-}
-func (m *EventRequestRedemption) XXX_DiscardUnknown() {
- xxx_messageInfo_EventRequestRedemption.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_EventRequestRedemption proto.InternalMessageInfo
-
-func (m *EventRequestRedemption) GetSchedule() *RedemptionSchedule {
- if m != nil {
- return m.Schedule
- }
- return nil
-}
-
-type EventWithdrawRedemption struct {
- // redemption schedule triggered withdraw
- Schedule *RedemptionSchedule `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty"`
- // redeem coin amount in base_currency
- RedeemCoin types1.Coin `protobuf:"bytes,2,opt,name=redeem_coin,json=redeemCoin,proto3" json:"redeem_coin"`
-}
-
-func (m *EventWithdrawRedemption) Reset() { *m = EventWithdrawRedemption{} }
-func (m *EventWithdrawRedemption) String() string { return proto.CompactTextString(m) }
-func (*EventWithdrawRedemption) ProtoMessage() {}
-func (*EventWithdrawRedemption) Descriptor() ([]byte, []int) {
- return fileDescriptor_dbc47a7b76393948, []int{5}
-}
-func (m *EventWithdrawRedemption) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *EventWithdrawRedemption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_EventWithdrawRedemption.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *EventWithdrawRedemption) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventWithdrawRedemption.Merge(m, src)
-}
-func (m *EventWithdrawRedemption) XXX_Size() int {
- return m.Size()
-}
-func (m *EventWithdrawRedemption) XXX_DiscardUnknown() {
- xxx_messageInfo_EventWithdrawRedemption.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_EventWithdrawRedemption proto.InternalMessageInfo
-
-func (m *EventWithdrawRedemption) GetSchedule() *RedemptionSchedule {
- if m != nil {
- return m.Schedule
- }
- return nil
-}
-
-func (m *EventWithdrawRedemption) GetRedeemCoin() types1.Coin {
- if m != nil {
- return m.RedeemCoin
- }
- return types1.Coin{}
-}
-
-type EventUnderwrite struct {
- // address of the underwriter
- Underwriter string `protobuf:"bytes,1,opt,name=underwriter,proto3" json:"underwriter,omitempty"`
- // marketId of insurance fund for the redemption
- MarketId string `protobuf:"bytes,2,opt,name=marketId,proto3" json:"marketId,omitempty"`
- // deposit coin amount
- Deposit types1.Coin `protobuf:"bytes,3,opt,name=deposit,proto3" json:"deposit"`
- // share coin amount
- Shares types1.Coin `protobuf:"bytes,4,opt,name=shares,proto3" json:"shares"`
-}
-
-func (m *EventUnderwrite) Reset() { *m = EventUnderwrite{} }
-func (m *EventUnderwrite) String() string { return proto.CompactTextString(m) }
-func (*EventUnderwrite) ProtoMessage() {}
-func (*EventUnderwrite) Descriptor() ([]byte, []int) {
- return fileDescriptor_dbc47a7b76393948, []int{6}
-}
-func (m *EventUnderwrite) XXX_Unmarshal(b []byte) error {
- return m.Unmarshal(b)
-}
-func (m *EventUnderwrite) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- if deterministic {
- return xxx_messageInfo_EventUnderwrite.Marshal(b, m, deterministic)
- } else {
- b = b[:cap(b)]
- n, err := m.MarshalToSizedBuffer(b)
- if err != nil {
- return nil, err
- }
- return b[:n], nil
- }
-}
-func (m *EventUnderwrite) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventUnderwrite.Merge(m, src)
-}
-func (m *EventUnderwrite) XXX_Size() int {
- return m.Size()
-}
-func (m *EventUnderwrite) XXX_DiscardUnknown() {
- xxx_messageInfo_EventUnderwrite.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_EventUnderwrite proto.InternalMessageInfo
-
-func (m *EventUnderwrite) GetUnderwriter() string {
- if m != nil {
- return m.Underwriter
- }
- return ""
-}
-
-func (m *EventUnderwrite) GetMarketId() string {
- if m != nil {
- return m.MarketId
- }
- return ""
-}
-
-func (m *EventUnderwrite) GetDeposit() types1.Coin {
- if m != nil {
- return m.Deposit
- }
- return types1.Coin{}
-}
-
-func (m *EventUnderwrite) GetShares() types1.Coin {
- if m != nil {
- return m.Shares
- }
- return types1.Coin{}
-}
-
func init() {
proto.RegisterType((*Params)(nil), "injective.insurance.v1beta1.Params")
proto.RegisterType((*InsuranceFund)(nil), "injective.insurance.v1beta1.InsuranceFund")
proto.RegisterType((*RedemptionSchedule)(nil), "injective.insurance.v1beta1.RedemptionSchedule")
- proto.RegisterType((*EventInsuranceFundUpdate)(nil), "injective.insurance.v1beta1.EventInsuranceFundUpdate")
- proto.RegisterType((*EventRequestRedemption)(nil), "injective.insurance.v1beta1.EventRequestRedemption")
- proto.RegisterType((*EventWithdrawRedemption)(nil), "injective.insurance.v1beta1.EventWithdrawRedemption")
- proto.RegisterType((*EventUnderwrite)(nil), "injective.insurance.v1beta1.EventUnderwrite")
}
func init() {
@@ -514,63 +297,53 @@ func init() {
}
var fileDescriptor_dbc47a7b76393948 = []byte{
- // 894 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcf, 0x6f, 0xdc, 0x44,
- 0x14, 0x8e, 0xd3, 0xed, 0x26, 0x79, 0xdb, 0x16, 0x18, 0xa1, 0xc6, 0xdd, 0x4a, 0xbb, 0x5b, 0x43,
- 0x51, 0xf8, 0x51, 0x9b, 0x06, 0x24, 0x44, 0x41, 0x08, 0x96, 0x16, 0x11, 0x51, 0x91, 0xe0, 0xa6,
- 0x42, 0xea, 0xc5, 0x9a, 0xb5, 0x5f, 0x76, 0x87, 0xd8, 0x1e, 0x77, 0x3c, 0x4e, 0xc9, 0x9d, 0x33,
- 0xea, 0x11, 0x71, 0xe2, 0xc8, 0xb5, 0xff, 0x02, 0x5c, 0x7a, 0xec, 0x11, 0x71, 0x08, 0x28, 0xb9,
- 0x70, 0xe6, 0x2f, 0x40, 0xf3, 0xc3, 0xf6, 0x96, 0x8a, 0x24, 0x42, 0xea, 0x69, 0x3d, 0x6f, 0xbe,
- 0xf7, 0xcd, 0x9b, 0xef, 0x7d, 0xf3, 0x16, 0xde, 0x64, 0xf9, 0x37, 0x18, 0x4b, 0xb6, 0x87, 0x01,
- 0xcb, 0xcb, 0x4a, 0xd0, 0x3c, 0xc6, 0x60, 0xef, 0xfa, 0x04, 0x25, 0xbd, 0xde, 0x46, 0xfc, 0x42,
- 0x70, 0xc9, 0xc9, 0xe5, 0x06, 0xec, 0xb7, 0x5b, 0x16, 0xdc, 0x7f, 0x79, 0xca, 0xa7, 0x5c, 0xe3,
- 0x02, 0xf5, 0x65, 0x52, 0xfa, 0x83, 0x29, 0xe7, 0xd3, 0x14, 0x03, 0xbd, 0x9a, 0x54, 0x3b, 0x41,
- 0x52, 0x09, 0x2a, 0x19, 0xcf, 0xed, 0xfe, 0xf0, 0xdf, 0xfb, 0x92, 0x65, 0x58, 0x4a, 0x9a, 0x15,
- 0x35, 0x41, 0xcc, 0xcb, 0x8c, 0x97, 0xc1, 0x84, 0x96, 0x6d, 0x61, 0x31, 0x67, 0x35, 0xc1, 0xd5,
- 0xf6, 0x02, 0x5c, 0xd0, 0x38, 0x6d, 0x41, 0x66, 0x69, 0x60, 0xde, 0x2f, 0x0e, 0x74, 0xb7, 0xa8,
- 0xa0, 0x59, 0x49, 0x1e, 0x39, 0xf0, 0x7a, 0x82, 0x3b, 0xb4, 0x4a, 0x65, 0x24, 0x30, 0xc1, 0xac,
- 0x50, 0xf5, 0x44, 0x39, 0x97, 0x2c, 0xc6, 0xa8, 0x40, 0xc1, 0x78, 0x12, 0xd5, 0x65, 0xba, 0xce,
- 0xc8, 0x59, 0xeb, 0xad, 0x5f, 0xf2, 0x4d, 0x9d, 0x7e, 0x5d, 0xa7, 0x7f, 0xd3, 0x02, 0xc6, 0x1f,
- 0x3e, 0x3e, 0x18, 0x2e, 0xfc, 0x7d, 0x30, 0x7c, 0x7b, 0x9f, 0x66, 0xe9, 0x0d, 0xef, 0xd4, 0xcc,
- 0xde, 0x0f, 0x7f, 0x0c, 0x9d, 0xf0, 0xaa, 0xc5, 0x87, 0x0d, 0xfc, 0x4b, 0x8d, 0xde, 0xd2, 0xe0,
- 0xfa, 0x90, 0x1b, 0x9d, 0xbf, 0x7e, 0x1a, 0x3a, 0xde, 0xf7, 0x67, 0xe1, 0xfc, 0x46, 0x2d, 0xfc,
- 0x67, 0x55, 0x9e, 0x90, 0x57, 0xe0, 0x7c, 0x82, 0x05, 0x2f, 0x99, 0x8c, 0x12, 0xcc, 0x79, 0xa6,
- 0xcb, 0x5d, 0x09, 0xcf, 0xd9, 0xe0, 0x4d, 0x15, 0x23, 0x1f, 0x40, 0xbf, 0x69, 0x57, 0x54, 0x70,
- 0x9e, 0x46, 0x92, 0xef, 0x62, 0x6e, 0x33, 0x16, 0x75, 0xc6, 0x6a, 0x83, 0xd8, 0xe2, 0x3c, 0xdd,
- 0x56, 0xfb, 0x26, 0xf9, 0x47, 0x07, 0xae, 0x9c, 0xac, 0xd2, 0x99, 0x93, 0x54, 0x7a, 0xd7, 0xaa,
- 0xb4, 0x66, 0x54, 0x3a, 0xa5, 0x3a, 0x03, 0x71, 0xac, 0x2c, 0xe4, 0x73, 0x58, 0x9a, 0xd0, 0x54,
- 0x55, 0xed, 0x76, 0xd4, 0x35, 0xc6, 0xbe, 0x3a, 0xe6, 0xf7, 0x83, 0xe1, 0x6b, 0x53, 0x26, 0x67,
- 0xd5, 0xc4, 0x8f, 0x79, 0x16, 0x58, 0x03, 0x99, 0x9f, 0x6b, 0x65, 0xb2, 0x1b, 0xc8, 0xfd, 0x02,
- 0x4b, 0x7f, 0x23, 0x97, 0x61, 0x9d, 0x4e, 0x36, 0xa1, 0x27, 0xb9, 0xa4, 0x69, 0x54, 0xce, 0xa8,
- 0x40, 0xf7, 0xec, 0xff, 0x62, 0x03, 0x4d, 0x71, 0x47, 0x31, 0x90, 0xcb, 0xb0, 0x92, 0x51, 0xb1,
- 0x8b, 0x32, 0x62, 0x89, 0xdb, 0xd5, 0x1a, 0x2f, 0x9b, 0xc0, 0x86, 0x6e, 0x9b, 0xdd, 0x94, 0x2c,
- 0xde, 0x45, 0xe1, 0x2e, 0x99, 0xb6, 0x99, 0xe0, 0xb6, 0x8e, 0x91, 0x21, 0xf4, 0x8c, 0x85, 0x23,
- 0xe5, 0x7d, 0x77, 0x59, 0x43, 0xc0, 0x84, 0xc6, 0xb4, 0x44, 0x72, 0x05, 0xce, 0x59, 0xc0, 0xfd,
- 0x8a, 0x4b, 0x74, 0x57, 0x34, 0xc2, 0x26, 0x7d, 0xa5, 0x42, 0xe4, 0x56, 0xc3, 0xa1, 0xaa, 0x74,
- 0x61, 0xe4, 0xac, 0x5d, 0x58, 0x7f, 0xd5, 0x6f, 0xdf, 0xb1, 0x7d, 0x24, 0xf6, 0xcd, 0xf8, 0x9b,
- 0x7a, 0xb9, 0xbd, 0x5f, 0x60, 0x7d, 0x92, 0xfa, 0x26, 0x17, 0xa1, 0x8b, 0xdf, 0x16, 0x4c, 0xec,
- 0xbb, 0xbd, 0x91, 0xb3, 0x76, 0x26, 0xb4, 0x2b, 0xef, 0xd1, 0x22, 0x90, 0xd6, 0xb9, 0x77, 0xe2,
- 0x19, 0x26, 0x55, 0x8a, 0xe4, 0x02, 0x2c, 0xb2, 0x44, 0x5b, 0xb1, 0x13, 0x2e, 0xb2, 0x84, 0xf4,
- 0xa1, 0xb9, 0xba, 0xb5, 0x5b, 0x2b, 0x45, 0x1f, 0x96, 0x55, 0x93, 0x31, 0x43, 0xa1, 0x5d, 0xb4,
- 0x12, 0x36, 0x6b, 0xf2, 0x9d, 0x03, 0x97, 0xe2, 0x94, 0xb2, 0x8c, 0x4e, 0x52, 0x9c, 0x7f, 0x51,
- 0x6a, 0x48, 0xe8, 0x8e, 0xf7, 0xd6, 0xfb, 0xcf, 0x78, 0x6e, 0xbb, 0x9e, 0x20, 0xe3, 0xb7, 0xac,
- 0xe9, 0x46, 0xc6, 0x74, 0xff, 0x49, 0xe5, 0x3d, 0x54, 0x66, 0x5b, 0x6d, 0xf6, 0xdb, 0x2b, 0x29,
- 0x2e, 0x72, 0x1b, 0x5e, 0x9a, 0x4b, 0xa0, 0x19, 0xaf, 0x72, 0xa9, 0x1d, 0xa2, 0x1c, 0x6f, 0x8c,
- 0xe0, 0xab, 0x16, 0x35, 0x2a, 0x7e, 0xca, 0x59, 0x3e, 0xee, 0xa8, 0xc3, 0xc3, 0x17, 0xdb, 0xcc,
- 0x4f, 0x74, 0xa2, 0x77, 0x0f, 0xdc, 0x5b, 0x7b, 0x98, 0xcb, 0xa7, 0x1e, 0xf2, 0xdd, 0x22, 0xa1,
- 0x12, 0xc9, 0x47, 0xd0, 0xd9, 0xa9, 0xf2, 0xc4, 0x0e, 0x9d, 0x37, 0xfc, 0x63, 0xe6, 0xad, 0xff,
- 0x54, 0x7e, 0xa8, 0xf3, 0x3c, 0x84, 0x8b, 0x9a, 0x3b, 0xc4, 0xfb, 0x15, 0x96, 0x73, 0x43, 0x85,
- 0x7c, 0x01, 0xcb, 0xa5, 0x6d, 0x8f, 0x65, 0x0f, 0x8e, 0x65, 0x7f, 0xb6, 0xab, 0x61, 0x43, 0xe0,
- 0xfd, 0xec, 0xc0, 0xaa, 0x3e, 0xe7, 0x6b, 0x26, 0x67, 0x89, 0xa0, 0x0f, 0x9e, 0xd3, 0x41, 0xe4,
- 0x63, 0xe8, 0x19, 0x33, 0x44, 0x6a, 0xe2, 0x6b, 0xef, 0x9c, 0x42, 0x73, 0x30, 0x39, 0x2a, 0xe2,
- 0xfd, 0xea, 0xc0, 0x0b, 0xba, 0xd4, 0xbb, 0x79, 0x82, 0xe2, 0x81, 0x60, 0x12, 0xc9, 0x08, 0x7a,
- 0x55, 0xb3, 0x12, 0x76, 0x64, 0xce, 0x87, 0x8e, 0x35, 0xec, 0xfb, 0xb0, 0x64, 0xa7, 0x6b, 0x33,
- 0xf5, 0x4e, 0xa8, 0xa7, 0xc6, 0x93, 0xf7, 0xa0, 0xab, 0xc7, 0x4b, 0x69, 0xbd, 0x7b, 0x62, 0xa6,
- 0x85, 0x8f, 0xd9, 0xe3, 0xc3, 0x81, 0xf3, 0xe4, 0x70, 0xe0, 0xfc, 0x79, 0x38, 0x70, 0x1e, 0x1e,
- 0x0d, 0x16, 0x9e, 0x1c, 0x0d, 0x16, 0x7e, 0x3b, 0x1a, 0x2c, 0xdc, 0xdb, 0x9c, 0x1b, 0x4d, 0x1b,
- 0xb5, 0xcc, 0xb7, 0xe9, 0xa4, 0x0c, 0x1a, 0xd1, 0xaf, 0xc5, 0x5c, 0xe0, 0xfc, 0x72, 0x46, 0x59,
- 0x1e, 0x64, 0x5c, 0x29, 0x5c, 0xce, 0xfd, 0xeb, 0xeb, 0x39, 0x36, 0xe9, 0xea, 0x77, 0xf4, 0xce,
- 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x0e, 0x9d, 0x25, 0x93, 0x19, 0x08, 0x00, 0x00,
+ // 736 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x31, 0x6f, 0xd3, 0x40,
+ 0x14, 0x8e, 0xd3, 0x34, 0x6d, 0x2e, 0x6d, 0x05, 0x27, 0x44, 0xdd, 0x54, 0x72, 0xd2, 0x40, 0x51,
+ 0x10, 0xd4, 0xa6, 0x85, 0xa9, 0xb0, 0x10, 0x0a, 0x22, 0x52, 0x45, 0x8b, 0x9b, 0x89, 0xc5, 0x3a,
+ 0xdb, 0xd7, 0xe4, 0x88, 0xed, 0x33, 0xf6, 0xb9, 0x22, 0x3b, 0x33, 0xea, 0x88, 0x98, 0xf8, 0x0b,
+ 0xfd, 0x0b, 0x4c, 0x1d, 0x3b, 0x22, 0x86, 0x82, 0xda, 0x85, 0x99, 0x5f, 0x80, 0xee, 0x7c, 0xb6,
+ 0x23, 0x10, 0xb4, 0x62, 0xb2, 0xdf, 0x7b, 0xdf, 0x7b, 0xf7, 0xee, 0x7b, 0xdf, 0x3b, 0x70, 0x87,
+ 0x04, 0xaf, 0xb1, 0xc3, 0xc8, 0x01, 0x36, 0x48, 0x10, 0x27, 0x11, 0x0a, 0x1c, 0x6c, 0x1c, 0xac,
+ 0xdb, 0x98, 0xa1, 0xf5, 0xc2, 0xa3, 0x87, 0x11, 0x65, 0x14, 0x2e, 0xe7, 0x60, 0xbd, 0x08, 0x49,
+ 0x70, 0xe3, 0xda, 0x80, 0x0e, 0xa8, 0xc0, 0x19, 0xfc, 0x2f, 0x4d, 0x69, 0x68, 0x03, 0x4a, 0x07,
+ 0x1e, 0x36, 0x84, 0x65, 0x27, 0xfb, 0x86, 0x9b, 0x44, 0x88, 0x11, 0x1a, 0xc8, 0x78, 0xf3, 0xf7,
+ 0x38, 0x23, 0x3e, 0x8e, 0x19, 0xf2, 0xc3, 0xac, 0x80, 0x43, 0x63, 0x9f, 0xc6, 0x86, 0x8d, 0xe2,
+ 0xa2, 0x31, 0x87, 0x92, 0xac, 0xc0, 0x6a, 0x71, 0x01, 0x1a, 0x21, 0xc7, 0x2b, 0x40, 0xa9, 0x99,
+ 0xc2, 0xda, 0x9f, 0x15, 0x50, 0xdd, 0x45, 0x11, 0xf2, 0x63, 0x78, 0xa4, 0x80, 0xdb, 0x2e, 0xde,
+ 0x47, 0x89, 0xc7, 0xac, 0x08, 0xbb, 0xd8, 0x0f, 0x79, 0x3f, 0x56, 0x40, 0x19, 0x71, 0xb0, 0x15,
+ 0xe2, 0x88, 0x50, 0xd7, 0xca, 0xda, 0x54, 0x95, 0x96, 0xd2, 0xa9, 0x6f, 0x2c, 0xe9, 0x69, 0x9f,
+ 0x7a, 0xd6, 0xa7, 0xbe, 0x25, 0x01, 0xdd, 0x47, 0xc7, 0xa7, 0xcd, 0xd2, 0xcf, 0xd3, 0xe6, 0xbd,
+ 0x31, 0xf2, 0xbd, 0xcd, 0xf6, 0xa5, 0x2b, 0xb7, 0x3f, 0x7c, 0x6b, 0x2a, 0xe6, 0xaa, 0xc4, 0x9b,
+ 0x39, 0xfc, 0x85, 0x40, 0xef, 0x0a, 0x70, 0x76, 0xc8, 0x66, 0xe5, 0xc7, 0xa7, 0xa6, 0xd2, 0x7e,
+ 0x3f, 0x0d, 0xe6, 0x7b, 0x19, 0xf1, 0xcf, 0x92, 0xc0, 0x85, 0x37, 0xc0, 0xbc, 0x8b, 0x43, 0x1a,
+ 0x13, 0x66, 0xb9, 0x38, 0xa0, 0xbe, 0x68, 0xb7, 0x66, 0xce, 0x49, 0xe7, 0x16, 0xf7, 0xc1, 0x87,
+ 0xa0, 0x91, 0x8f, 0xcb, 0x0a, 0x29, 0xf5, 0x2c, 0x46, 0x47, 0x38, 0x90, 0x19, 0x65, 0x91, 0xb1,
+ 0x98, 0x23, 0x76, 0x29, 0xf5, 0xfa, 0x3c, 0x9e, 0x26, 0x7f, 0x54, 0xc0, 0xca, 0xc5, 0x2c, 0x4d,
+ 0x5d, 0xc4, 0xd2, 0x03, 0xc9, 0x52, 0x27, 0x65, 0xe9, 0x92, 0xec, 0x68, 0xd1, 0x3f, 0x69, 0x81,
+ 0xcf, 0xc1, 0x8c, 0x8d, 0x3c, 0xde, 0xb5, 0x5a, 0xe1, 0xd7, 0xe8, 0xea, 0xfc, 0x98, 0xaf, 0xa7,
+ 0xcd, 0x5b, 0x03, 0xc2, 0x86, 0x89, 0xad, 0x3b, 0xd4, 0x37, 0xa4, 0x80, 0xd2, 0xcf, 0x5a, 0xec,
+ 0x8e, 0x0c, 0x36, 0x0e, 0x71, 0xac, 0xf7, 0x02, 0x66, 0x66, 0xe9, 0x70, 0x07, 0xd4, 0x19, 0x65,
+ 0xc8, 0xb3, 0xe2, 0x21, 0x8a, 0xb0, 0x3a, 0xfd, 0x5f, 0xd5, 0x80, 0x28, 0xb1, 0xc7, 0x2b, 0xc0,
+ 0x65, 0x50, 0xf3, 0x51, 0x34, 0xc2, 0xcc, 0x22, 0xae, 0x5a, 0x15, 0x1c, 0xcf, 0xa6, 0x8e, 0x9e,
+ 0x18, 0x9b, 0x0c, 0x32, 0xe2, 0x8c, 0x70, 0xa4, 0xce, 0xa4, 0x63, 0x4b, 0x9d, 0x7d, 0xe1, 0x83,
+ 0x4d, 0x50, 0x4f, 0x25, 0x6c, 0x71, 0xed, 0xab, 0xb3, 0x02, 0x02, 0x52, 0x57, 0x17, 0xc5, 0x18,
+ 0xae, 0x80, 0x39, 0x09, 0x78, 0x93, 0x50, 0x86, 0xd5, 0x9a, 0x40, 0xc8, 0xa4, 0x97, 0xdc, 0x05,
+ 0x9f, 0xe6, 0x35, 0x78, 0x97, 0x2a, 0x68, 0x29, 0x9d, 0x85, 0x8d, 0x9b, 0x7a, 0xb1, 0xc7, 0x72,
+ 0x49, 0xe4, 0xce, 0xe8, 0x3b, 0xc2, 0xec, 0x8f, 0x43, 0x9c, 0x9d, 0xc4, 0xff, 0xe1, 0x75, 0x50,
+ 0xc5, 0x6f, 0x43, 0x12, 0x8d, 0xd5, 0x7a, 0x4b, 0xe9, 0x4c, 0x99, 0xd2, 0x6a, 0x1f, 0x95, 0x01,
+ 0x2c, 0x94, 0xbb, 0xe7, 0x0c, 0xb1, 0x9b, 0x78, 0x18, 0x2e, 0x80, 0x32, 0x71, 0x85, 0x14, 0x2b,
+ 0x66, 0x99, 0xb8, 0xb0, 0x01, 0xf2, 0xab, 0x4b, 0xb9, 0x15, 0x54, 0x34, 0xc0, 0x2c, 0x1f, 0x32,
+ 0xf6, 0x71, 0x24, 0x54, 0x54, 0x33, 0x73, 0x1b, 0xbe, 0x53, 0xc0, 0x92, 0xe3, 0x21, 0xe2, 0x23,
+ 0xdb, 0xc3, 0x93, 0x1b, 0xc5, 0x1f, 0x09, 0x31, 0xf1, 0xfa, 0x46, 0xe3, 0x0f, 0xcd, 0xf5, 0xb3,
+ 0x17, 0xa4, 0x7b, 0x57, 0x8a, 0xae, 0x95, 0x8a, 0xee, 0xaf, 0xa5, 0xda, 0x87, 0x5c, 0x6c, 0x8b,
+ 0x79, 0xbc, 0xb8, 0x12, 0xaf, 0x05, 0xb7, 0xc1, 0xd5, 0x89, 0x04, 0xe4, 0xd3, 0x24, 0x60, 0x42,
+ 0x21, 0x5c, 0xf1, 0xa9, 0x10, 0x74, 0x3e, 0xa2, 0x9c, 0xc5, 0x27, 0x94, 0x04, 0xdd, 0x0a, 0x3f,
+ 0xdc, 0xbc, 0x52, 0x64, 0x3e, 0x16, 0x89, 0x5d, 0x72, 0x7c, 0xa6, 0x29, 0x27, 0x67, 0x9a, 0xf2,
+ 0xfd, 0x4c, 0x53, 0x0e, 0xcf, 0xb5, 0xd2, 0xc9, 0xb9, 0x56, 0xfa, 0x72, 0xae, 0x95, 0x5e, 0xed,
+ 0x4c, 0xc8, 0xac, 0x97, 0x4d, 0x68, 0x1b, 0xd9, 0xb1, 0x91, 0xcf, 0x6b, 0xcd, 0xa1, 0x11, 0x9e,
+ 0x34, 0x87, 0x88, 0x04, 0x86, 0x4f, 0x39, 0xed, 0xf1, 0xc4, 0x0b, 0x2e, 0x34, 0x69, 0x57, 0x05,
+ 0x27, 0xf7, 0x7f, 0x05, 0x00, 0x00, 0xff, 0xff, 0x78, 0x7e, 0xa2, 0xae, 0xe5, 0x05, 0x00, 0x00,
}
func (this *Params) Equal(that interface{}) bool {
@@ -791,253 +564,81 @@ func (m *RedemptionSchedule) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *EventInsuranceFundUpdate) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func encodeVarintInsurance(dAtA []byte, offset int, v uint64) int {
+ offset -= sovInsurance(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
}
- return dAtA[:n], nil
-}
-
-func (m *EventInsuranceFundUpdate) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ dAtA[offset] = uint8(v)
+ return base
}
-
-func (m *EventInsuranceFundUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *Params) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- if m.Fund != nil {
- {
- size, err := m.Fund.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintInsurance(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
+ l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.DefaultRedemptionNoticePeriodDuration)
+ n += 1 + l + sovInsurance(uint64(l))
+ return n
}
-func (m *EventRequestRedemption) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+func (m *InsuranceFund) Size() (n int) {
+ if m == nil {
+ return 0
}
- return dAtA[:n], nil
-}
-
-func (m *EventRequestRedemption) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *EventRequestRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
var l int
_ = l
- if m.Schedule != nil {
- {
- size, err := m.Schedule.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintInsurance(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0xa
+ l = len(m.DepositDenom)
+ if l > 0 {
+ n += 1 + l + sovInsurance(uint64(l))
}
- return len(dAtA) - i, nil
-}
-
-func (m *EventWithdrawRedemption) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
+ l = len(m.InsurancePoolTokenDenom)
+ if l > 0 {
+ n += 1 + l + sovInsurance(uint64(l))
}
- return dAtA[:n], nil
-}
-
-func (m *EventWithdrawRedemption) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
+ l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.RedemptionNoticePeriodDuration)
+ n += 1 + l + sovInsurance(uint64(l))
+ l = m.Balance.Size()
+ n += 1 + l + sovInsurance(uint64(l))
+ l = m.TotalShare.Size()
+ n += 1 + l + sovInsurance(uint64(l))
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovInsurance(uint64(l))
+ }
+ l = len(m.MarketTicker)
+ if l > 0 {
+ n += 1 + l + sovInsurance(uint64(l))
+ }
+ l = len(m.OracleBase)
+ if l > 0 {
+ n += 1 + l + sovInsurance(uint64(l))
+ }
+ l = len(m.OracleQuote)
+ if l > 0 {
+ n += 1 + l + sovInsurance(uint64(l))
+ }
+ if m.OracleType != 0 {
+ n += 1 + sovInsurance(uint64(m.OracleType))
+ }
+ if m.Expiry != 0 {
+ n += 1 + sovInsurance(uint64(m.Expiry))
+ }
+ return n
}
-func (m *EventWithdrawRedemption) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
+func (m *RedemptionSchedule) Size() (n int) {
+ if m == nil {
+ return 0
+ }
var l int
_ = l
- {
- size, err := m.RedeemCoin.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintInsurance(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x12
- if m.Schedule != nil {
- {
- size, err := m.Schedule.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintInsurance(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func (m *EventUnderwrite) Marshal() (dAtA []byte, err error) {
- size := m.Size()
- dAtA = make([]byte, size)
- n, err := m.MarshalToSizedBuffer(dAtA[:size])
- if err != nil {
- return nil, err
- }
- return dAtA[:n], nil
-}
-
-func (m *EventUnderwrite) MarshalTo(dAtA []byte) (int, error) {
- size := m.Size()
- return m.MarshalToSizedBuffer(dAtA[:size])
-}
-
-func (m *EventUnderwrite) MarshalToSizedBuffer(dAtA []byte) (int, error) {
- i := len(dAtA)
- _ = i
- var l int
- _ = l
- {
- size, err := m.Shares.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintInsurance(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x22
- {
- size, err := m.Deposit.MarshalToSizedBuffer(dAtA[:i])
- if err != nil {
- return 0, err
- }
- i -= size
- i = encodeVarintInsurance(dAtA, i, uint64(size))
- }
- i--
- dAtA[i] = 0x1a
- if len(m.MarketId) > 0 {
- i -= len(m.MarketId)
- copy(dAtA[i:], m.MarketId)
- i = encodeVarintInsurance(dAtA, i, uint64(len(m.MarketId)))
- i--
- dAtA[i] = 0x12
- }
- if len(m.Underwriter) > 0 {
- i -= len(m.Underwriter)
- copy(dAtA[i:], m.Underwriter)
- i = encodeVarintInsurance(dAtA, i, uint64(len(m.Underwriter)))
- i--
- dAtA[i] = 0xa
- }
- return len(dAtA) - i, nil
-}
-
-func encodeVarintInsurance(dAtA []byte, offset int, v uint64) int {
- offset -= sovInsurance(v)
- base := offset
- for v >= 1<<7 {
- dAtA[offset] = uint8(v&0x7f | 0x80)
- v >>= 7
- offset++
- }
- dAtA[offset] = uint8(v)
- return base
-}
-func (m *Params) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.DefaultRedemptionNoticePeriodDuration)
- n += 1 + l + sovInsurance(uint64(l))
- return n
-}
-
-func (m *InsuranceFund) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.DepositDenom)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = len(m.InsurancePoolTokenDenom)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = github_com_cosmos_gogoproto_types.SizeOfStdDuration(m.RedemptionNoticePeriodDuration)
- n += 1 + l + sovInsurance(uint64(l))
- l = m.Balance.Size()
- n += 1 + l + sovInsurance(uint64(l))
- l = m.TotalShare.Size()
- n += 1 + l + sovInsurance(uint64(l))
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = len(m.MarketTicker)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = len(m.OracleBase)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = len(m.OracleQuote)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- if m.OracleType != 0 {
- n += 1 + sovInsurance(uint64(m.OracleType))
- }
- if m.Expiry != 0 {
- n += 1 + sovInsurance(uint64(m.Expiry))
- }
- return n
-}
-
-func (m *RedemptionSchedule) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Id != 0 {
- n += 1 + sovInsurance(uint64(m.Id))
+ if m.Id != 0 {
+ n += 1 + sovInsurance(uint64(m.Id))
}
l = len(m.MarketId)
if l > 0 {
@@ -1054,68 +655,6 @@ func (m *RedemptionSchedule) Size() (n int) {
return n
}
-func (m *EventInsuranceFundUpdate) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Fund != nil {
- l = m.Fund.Size()
- n += 1 + l + sovInsurance(uint64(l))
- }
- return n
-}
-
-func (m *EventRequestRedemption) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Schedule != nil {
- l = m.Schedule.Size()
- n += 1 + l + sovInsurance(uint64(l))
- }
- return n
-}
-
-func (m *EventWithdrawRedemption) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- if m.Schedule != nil {
- l = m.Schedule.Size()
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = m.RedeemCoin.Size()
- n += 1 + l + sovInsurance(uint64(l))
- return n
-}
-
-func (m *EventUnderwrite) Size() (n int) {
- if m == nil {
- return 0
- }
- var l int
- _ = l
- l = len(m.Underwriter)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = len(m.MarketId)
- if l > 0 {
- n += 1 + l + sovInsurance(uint64(l))
- }
- l = m.Deposit.Size()
- n += 1 + l + sovInsurance(uint64(l))
- l = m.Shares.Size()
- n += 1 + l + sovInsurance(uint64(l))
- return n
-}
-
func sovInsurance(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
@@ -1785,477 +1324,6 @@ func (m *RedemptionSchedule) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *EventInsuranceFundUpdate) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: EventInsuranceFundUpdate: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: EventInsuranceFundUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Fund", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Fund == nil {
- m.Fund = &InsuranceFund{}
- }
- if err := m.Fund.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipInsurance(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthInsurance
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *EventRequestRedemption) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: EventRequestRedemption: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: EventRequestRedemption: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Schedule == nil {
- m.Schedule = &RedemptionSchedule{}
- }
- if err := m.Schedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipInsurance(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthInsurance
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *EventWithdrawRedemption) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: EventWithdrawRedemption: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: EventWithdrawRedemption: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Schedule", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if m.Schedule == nil {
- m.Schedule = &RedemptionSchedule{}
- }
- if err := m.Schedule.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field RedeemCoin", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.RedeemCoin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipInsurance(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthInsurance
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
-func (m *EventUnderwrite) Unmarshal(dAtA []byte) error {
- l := len(dAtA)
- iNdEx := 0
- for iNdEx < l {
- preIndex := iNdEx
- var wire uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- wire |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- fieldNum := int32(wire >> 3)
- wireType := int(wire & 0x7)
- if wireType == 4 {
- return fmt.Errorf("proto: EventUnderwrite: wiretype end group for non-group")
- }
- if fieldNum <= 0 {
- return fmt.Errorf("proto: EventUnderwrite: illegal tag %d (wire type %d)", fieldNum, wire)
- }
- switch fieldNum {
- case 1:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Underwriter", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.Underwriter = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 2:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
- }
- var stringLen uint64
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- stringLen |= uint64(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- intStringLen := int(stringLen)
- if intStringLen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + intStringLen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- m.MarketId = string(dAtA[iNdEx:postIndex])
- iNdEx = postIndex
- case 3:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Deposit", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Deposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- case 4:
- if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Shares", wireType)
- }
- var msglen int
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowInsurance
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- msglen |= int(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
- if msglen < 0 {
- return ErrInvalidLengthInsurance
- }
- postIndex := iNdEx + msglen
- if postIndex < 0 {
- return ErrInvalidLengthInsurance
- }
- if postIndex > l {
- return io.ErrUnexpectedEOF
- }
- if err := m.Shares.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
- return err
- }
- iNdEx = postIndex
- default:
- iNdEx = preIndex
- skippy, err := skipInsurance(dAtA[iNdEx:])
- if err != nil {
- return err
- }
- if (skippy < 0) || (iNdEx+skippy) < 0 {
- return ErrInvalidLengthInsurance
- }
- if (iNdEx + skippy) > l {
- return io.ErrUnexpectedEOF
- }
- iNdEx += skippy
- }
- }
-
- if iNdEx > l {
- return io.ErrUnexpectedEOF
- }
- return nil
-}
func skipInsurance(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
diff --git a/chain/insurance/types/msgs.go b/chain/insurance/types/msgs.go
index b3485733..b1c7d01d 100644
--- a/chain/insurance/types/msgs.go
+++ b/chain/insurance/types/msgs.go
@@ -80,8 +80,8 @@ func (msg MsgCreateInsuranceFund) ValidateBasic() error {
return errors.Wrapf(ErrInvalidDepositDenom, "oracle quote denom %s does not match deposit denom %s", msg.QuoteDenom, msg.InitialDeposit.Denom)
}
- if msg.OracleType == oracletypes.OracleType_Provider && msg.Expiry != BinaryOptionsExpiryFlag {
- return errors.Wrap(ErrInvalidExpirationTime, "oracle expiration time should be -2 for binary options markets")
+ if msg.OracleType == oracletypes.OracleType_Provider && msg.Expiry != BinaryOptionsExpiryFlag && msg.Expiry != PerpetualExpiryFlag {
+ return errors.Wrap(ErrInvalidExpirationTime, "oracle expiration time should be -2 or -1 for OracleType_Provider")
}
if !msg.InitialDeposit.IsValid() {
diff --git a/chain/insurance/types/query.pb.go b/chain/insurance/types/query.pb.go
index 4b79acab..37fdf2bd 100644
--- a/chain/insurance/types/query.pb.go
+++ b/chain/insurance/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
@@ -14,9 +18,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/insurance/types/tx.pb.go b/chain/insurance/types/tx.pb.go
index 846919ee..1113a9f8 100644
--- a/chain/insurance/types/tx.pb.go
+++ b/chain/insurance/types/tx.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
_ "github.com/cosmos/cosmos-proto"
types1 "github.com/cosmos/cosmos-sdk/types"
@@ -16,9 +20,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/ocr/types/genesis.pb.go b/chain/ocr/types/genesis.pb.go
index 210d8023..68aee64a 100644
--- a/chain/ocr/types/genesis.pb.go
+++ b/chain/ocr/types/genesis.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- types "github.com/cosmos/cosmos-sdk/types"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ types "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/ocr/types/ocr.pb.go b/chain/ocr/types/ocr.pb.go
index d80ac284..4c0279d4 100644
--- a/chain/ocr/types/ocr.pb.go
+++ b/chain/ocr/types/ocr.pb.go
@@ -5,6 +5,11 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+ time "time"
+
_ "github.com/cosmos/cosmos-proto"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
@@ -12,10 +17,6 @@ import (
proto "github.com/cosmos/gogoproto/proto"
github_com_cosmos_gogoproto_types "github.com/cosmos/gogoproto/types"
_ "google.golang.org/protobuf/types/known/timestamppb"
- io "io"
- math "math"
- math_bits "math/bits"
- time "time"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/ocr/types/query.pb.go b/chain/ocr/types/query.pb.go
index 5320b68e..3000c85e 100644
--- a/chain/ocr/types/query.pb.go
+++ b/chain/ocr/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
@@ -14,9 +18,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/ocr/types/tx.pb.go b/chain/ocr/types/tx.pb.go
index 76af8a8c..b1574018 100644
--- a/chain/ocr/types/tx.pb.go
+++ b/chain/ocr/types/tx.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
@@ -16,9 +20,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/oracle/types/events.pb.go b/chain/oracle/types/events.pb.go
index d8b8118e..4f5e3139 100644
--- a/chain/oracle/types/events.pb.go
+++ b/chain/oracle/types/events.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-sdk/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/oracle/types/genesis.pb.go b/chain/oracle/types/genesis.pb.go
index 04cb607c..df592e98 100644
--- a/chain/oracle/types/genesis.pb.go
+++ b/chain/oracle/types/genesis.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/oracle/types/msgs.go b/chain/oracle/types/msgs.go
index d6d06c26..6cde9154 100644
--- a/chain/oracle/types/msgs.go
+++ b/chain/oracle/types/msgs.go
@@ -294,11 +294,7 @@ func (msg MsgRelayPythPrices) ValidateBasic() error {
return err
}
- if len(msg.PriceAttestations) == 0 {
- return ErrEmptyPriceAttestations
- }
-
- // the ValidateBasic method intentiontally does not check the validity of the price attestations since
+ // the ValidateBasic method intentionally does not check the validity of the price attestations since
// we don't want to prevent attesting valid prices just because other price attestations are invalid
return nil
}
diff --git a/chain/oracle/types/oracle.pb.go b/chain/oracle/types/oracle.pb.go
index c91a0dce..65482710 100644
--- a/chain/oracle/types/oracle.pb.go
+++ b/chain/oracle/types/oracle.pb.go
@@ -5,17 +5,20 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
+ golang_proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
+var _ = golang_proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
@@ -125,9 +128,8 @@ func (m *Params) GetPythContract() string {
}
type OracleInfo struct {
- Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
- OracleType OracleType `protobuf:"varint,2,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
- ScaleFactor uint32 `protobuf:"varint,3,opt,name=scale_factor,json=scaleFactor,proto3" json:"scale_factor,omitempty"`
+ Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
+ OracleType OracleType `protobuf:"varint,2,opt,name=oracle_type,json=oracleType,proto3,enum=injective.oracle.v1beta1.OracleType" json:"oracle_type,omitempty"`
}
func (m *OracleInfo) Reset() { *m = OracleInfo{} }
@@ -177,13 +179,6 @@ func (m *OracleInfo) GetOracleType() OracleType {
return OracleType_Unspecified
}
-func (m *OracleInfo) GetScaleFactor() uint32 {
- if m != nil {
- return m.ScaleFactor
- }
- return 0
-}
-
type ChainlinkPriceState struct {
FeedId string `protobuf:"bytes,1,opt,name=feed_id,json=feedId,proto3" json:"feed_id,omitempty"`
Answer github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=answer,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"answer"`
@@ -1431,138 +1426,162 @@ func (m *PriceAttestation) GetPublishTime() int64 {
func init() {
proto.RegisterEnum("injective.oracle.v1beta1.OracleType", OracleType_name, OracleType_value)
+ golang_proto.RegisterEnum("injective.oracle.v1beta1.OracleType", OracleType_name, OracleType_value)
proto.RegisterType((*Params)(nil), "injective.oracle.v1beta1.Params")
+ golang_proto.RegisterType((*Params)(nil), "injective.oracle.v1beta1.Params")
proto.RegisterType((*OracleInfo)(nil), "injective.oracle.v1beta1.OracleInfo")
+ golang_proto.RegisterType((*OracleInfo)(nil), "injective.oracle.v1beta1.OracleInfo")
proto.RegisterType((*ChainlinkPriceState)(nil), "injective.oracle.v1beta1.ChainlinkPriceState")
+ golang_proto.RegisterType((*ChainlinkPriceState)(nil), "injective.oracle.v1beta1.ChainlinkPriceState")
proto.RegisterType((*BandPriceState)(nil), "injective.oracle.v1beta1.BandPriceState")
+ golang_proto.RegisterType((*BandPriceState)(nil), "injective.oracle.v1beta1.BandPriceState")
proto.RegisterType((*PriceFeedState)(nil), "injective.oracle.v1beta1.PriceFeedState")
+ golang_proto.RegisterType((*PriceFeedState)(nil), "injective.oracle.v1beta1.PriceFeedState")
proto.RegisterType((*ProviderInfo)(nil), "injective.oracle.v1beta1.ProviderInfo")
+ golang_proto.RegisterType((*ProviderInfo)(nil), "injective.oracle.v1beta1.ProviderInfo")
proto.RegisterType((*ProviderState)(nil), "injective.oracle.v1beta1.ProviderState")
+ golang_proto.RegisterType((*ProviderState)(nil), "injective.oracle.v1beta1.ProviderState")
proto.RegisterType((*ProviderPriceState)(nil), "injective.oracle.v1beta1.ProviderPriceState")
+ golang_proto.RegisterType((*ProviderPriceState)(nil), "injective.oracle.v1beta1.ProviderPriceState")
proto.RegisterType((*PriceFeedInfo)(nil), "injective.oracle.v1beta1.PriceFeedInfo")
+ golang_proto.RegisterType((*PriceFeedInfo)(nil), "injective.oracle.v1beta1.PriceFeedInfo")
proto.RegisterType((*PriceFeedPrice)(nil), "injective.oracle.v1beta1.PriceFeedPrice")
+ golang_proto.RegisterType((*PriceFeedPrice)(nil), "injective.oracle.v1beta1.PriceFeedPrice")
proto.RegisterType((*CoinbasePriceState)(nil), "injective.oracle.v1beta1.CoinbasePriceState")
+ golang_proto.RegisterType((*CoinbasePriceState)(nil), "injective.oracle.v1beta1.CoinbasePriceState")
proto.RegisterType((*PriceState)(nil), "injective.oracle.v1beta1.PriceState")
+ golang_proto.RegisterType((*PriceState)(nil), "injective.oracle.v1beta1.PriceState")
proto.RegisterType((*PythPriceState)(nil), "injective.oracle.v1beta1.PythPriceState")
+ golang_proto.RegisterType((*PythPriceState)(nil), "injective.oracle.v1beta1.PythPriceState")
proto.RegisterType((*BandOracleRequest)(nil), "injective.oracle.v1beta1.BandOracleRequest")
+ golang_proto.RegisterType((*BandOracleRequest)(nil), "injective.oracle.v1beta1.BandOracleRequest")
proto.RegisterType((*BandIBCParams)(nil), "injective.oracle.v1beta1.BandIBCParams")
+ golang_proto.RegisterType((*BandIBCParams)(nil), "injective.oracle.v1beta1.BandIBCParams")
proto.RegisterType((*SymbolPriceTimestamp)(nil), "injective.oracle.v1beta1.SymbolPriceTimestamp")
+ golang_proto.RegisterType((*SymbolPriceTimestamp)(nil), "injective.oracle.v1beta1.SymbolPriceTimestamp")
proto.RegisterType((*LastPriceTimestamps)(nil), "injective.oracle.v1beta1.LastPriceTimestamps")
+ golang_proto.RegisterType((*LastPriceTimestamps)(nil), "injective.oracle.v1beta1.LastPriceTimestamps")
proto.RegisterType((*PriceRecords)(nil), "injective.oracle.v1beta1.PriceRecords")
+ golang_proto.RegisterType((*PriceRecords)(nil), "injective.oracle.v1beta1.PriceRecords")
proto.RegisterType((*PriceRecord)(nil), "injective.oracle.v1beta1.PriceRecord")
+ golang_proto.RegisterType((*PriceRecord)(nil), "injective.oracle.v1beta1.PriceRecord")
proto.RegisterType((*MetadataStatistics)(nil), "injective.oracle.v1beta1.MetadataStatistics")
+ golang_proto.RegisterType((*MetadataStatistics)(nil), "injective.oracle.v1beta1.MetadataStatistics")
proto.RegisterType((*PriceAttestation)(nil), "injective.oracle.v1beta1.PriceAttestation")
+ golang_proto.RegisterType((*PriceAttestation)(nil), "injective.oracle.v1beta1.PriceAttestation")
}
func init() {
proto.RegisterFile("injective/oracle/v1beta1/oracle.proto", fileDescriptor_1c8fbf1e7a765423)
}
+func init() {
+ golang_proto.RegisterFile("injective/oracle/v1beta1/oracle.proto", fileDescriptor_1c8fbf1e7a765423)
+}
var fileDescriptor_1c8fbf1e7a765423 = []byte{
- // 1636 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x72, 0x1b, 0x4b,
- 0x15, 0xf6, 0xe8, 0x7f, 0x8e, 0x2c, 0x79, 0xd2, 0xf6, 0x05, 0xc5, 0x80, 0x6c, 0x04, 0xb9, 0xa8,
- 0x6e, 0xdd, 0x2b, 0x25, 0xce, 0x8a, 0x14, 0x9b, 0xd8, 0x8e, 0x29, 0x55, 0x4c, 0x61, 0xc6, 0x4e,
- 0x28, 0xd8, 0x88, 0x9e, 0x99, 0x96, 0xd5, 0x78, 0xfe, 0x32, 0x3d, 0x72, 0xac, 0x3c, 0x40, 0x96,
- 0xc0, 0x0b, 0x50, 0xb0, 0xce, 0x2b, 0x50, 0xc5, 0x82, 0x55, 0xaa, 0xd8, 0x64, 0x49, 0xb1, 0x08,
- 0x90, 0x6c, 0x78, 0x03, 0x16, 0x6c, 0xa8, 0xd3, 0xdd, 0x1a, 0x8d, 0x6d, 0x9c, 0xf8, 0x27, 0x77,
- 0xa5, 0xe9, 0xd3, 0xa7, 0xbf, 0xf9, 0xce, 0x4f, 0x9f, 0x73, 0x46, 0x70, 0x87, 0x87, 0xbf, 0x66,
- 0x6e, 0xca, 0x8f, 0x59, 0x3f, 0x4a, 0xa8, 0xeb, 0xb3, 0xfe, 0xf1, 0x3d, 0x87, 0xa5, 0xf4, 0x9e,
- 0x5e, 0xf6, 0xe2, 0x24, 0x4a, 0x23, 0xd2, 0xca, 0xd4, 0x7a, 0x5a, 0xae, 0xd5, 0x56, 0x57, 0x0e,
- 0xa3, 0xc3, 0x48, 0x2a, 0xf5, 0xf1, 0x49, 0xe9, 0xaf, 0xb6, 0xdd, 0x48, 0x04, 0x91, 0xe8, 0x3b,
- 0x54, 0xcc, 0x11, 0xdd, 0x88, 0x87, 0x6a, 0xbf, 0x73, 0x1f, 0x2a, 0x7b, 0x34, 0xa1, 0x81, 0x20,
- 0xdf, 0x83, 0x46, 0x3c, 0x4d, 0xc7, 0x43, 0x37, 0x0a, 0xd3, 0x84, 0xba, 0x69, 0xcb, 0x58, 0x37,
- 0xba, 0xa6, 0xbd, 0x88, 0xc2, 0x2d, 0x2d, 0x7b, 0x50, 0xfa, 0xf7, 0x1f, 0xd7, 0x8c, 0xce, 0x6f,
- 0x0c, 0x80, 0x9f, 0xca, 0xb7, 0x0f, 0xc2, 0x51, 0x44, 0xbe, 0x01, 0x15, 0x31, 0x0d, 0x9c, 0xc8,
- 0xd7, 0x47, 0xf4, 0x8a, 0x3c, 0x82, 0xba, 0xe2, 0x38, 0x4c, 0xa7, 0x31, 0x6b, 0x15, 0xd6, 0x8d,
- 0x6e, 0x73, 0xe3, 0xfb, 0xbd, 0x8b, 0x2c, 0xe8, 0x29, 0xc8, 0x83, 0x69, 0xcc, 0x6c, 0x88, 0xb2,
- 0x67, 0xf2, 0x5d, 0x58, 0x14, 0x2e, 0xf5, 0xd9, 0x70, 0x44, 0xdd, 0x34, 0x4a, 0x5a, 0xc5, 0x75,
- 0xa3, 0xdb, 0xb0, 0xeb, 0x52, 0xb6, 0x23, 0x45, 0x9d, 0x7f, 0x19, 0xb0, 0xbc, 0x35, 0xa6, 0x3c,
- 0xf4, 0x79, 0x78, 0xb4, 0x97, 0x70, 0x97, 0xed, 0xa7, 0x34, 0x65, 0xe4, 0x9b, 0x50, 0x1d, 0x31,
- 0xe6, 0x0d, 0xb9, 0x37, 0xa3, 0x86, 0xcb, 0x81, 0x47, 0x76, 0xa0, 0x42, 0x43, 0xf1, 0x9c, 0x25,
- 0x92, 0x95, 0xb9, 0xd9, 0x7b, 0xfd, 0x76, 0x6d, 0xe1, 0xef, 0x6f, 0xd7, 0x3e, 0x3f, 0xe4, 0xe9,
- 0x78, 0xe2, 0xf4, 0xdc, 0x28, 0xe8, 0x6b, 0xcf, 0xa9, 0x9f, 0xaf, 0x84, 0x77, 0xd4, 0x47, 0x33,
- 0x44, 0x6f, 0x9b, 0xb9, 0xb6, 0x3e, 0x4d, 0xbe, 0x0d, 0x66, 0xca, 0x03, 0x26, 0x52, 0x1a, 0xc4,
- 0x92, 0x58, 0xc9, 0x9e, 0x0b, 0xc8, 0x63, 0xa8, 0xc7, 0x48, 0x66, 0x28, 0x90, 0x4d, 0xab, 0xb4,
- 0x6e, 0x74, 0xeb, 0x1f, 0x72, 0xc0, 0x9c, 0xf9, 0x66, 0x09, 0x09, 0xd9, 0x10, 0x67, 0x92, 0xce,
- 0x7f, 0x0d, 0x68, 0x6e, 0xd2, 0xd0, 0xcb, 0x99, 0x77, 0x91, 0xe3, 0x37, 0xa1, 0x94, 0xe0, 0x0b,
- 0xaf, 0x6e, 0xdb, 0x20, 0x4c, 0x6d, 0x79, 0x16, 0xbd, 0x9e, 0x30, 0x11, 0xf9, 0xc7, 0x6c, 0x88,
- 0x06, 0x69, 0xe3, 0xea, 0x5a, 0x76, 0xc0, 0x03, 0x46, 0xbe, 0x03, 0x90, 0xb0, 0x67, 0x13, 0x26,
- 0xd2, 0xe1, 0x60, 0x5b, 0x5a, 0x57, 0xb2, 0x4d, 0x2d, 0x19, 0x6c, 0x9f, 0xb5, 0xbe, 0x7c, 0x23,
- 0xeb, 0x7f, 0x6f, 0x40, 0x53, 0x2a, 0xec, 0x30, 0xe6, 0x29, 0xeb, 0x09, 0x94, 0x30, 0xab, 0xb5,
- 0xed, 0xf2, 0x99, 0xac, 0x40, 0xf9, 0xd9, 0x24, 0x9a, 0x99, 0x6e, 0xab, 0x05, 0x26, 0x62, 0x9e,
- 0x49, 0xf1, 0xf2, 0x4c, 0xf2, 0x1c, 0xc8, 0x2a, 0xd4, 0x12, 0xe6, 0xd3, 0x29, 0x4b, 0x44, 0xab,
- 0xb4, 0x5e, 0xec, 0x9a, 0x76, 0xb6, 0xee, 0xec, 0xc0, 0xe2, 0x5e, 0x12, 0x1d, 0x73, 0x8f, 0x25,
- 0xf2, 0x4e, 0xac, 0x42, 0x2d, 0xd6, 0x6b, 0x4d, 0x30, 0x5b, 0x9f, 0xc2, 0x29, 0x9c, 0xc1, 0xf9,
- 0xb3, 0x01, 0x8d, 0x19, 0x90, 0x7a, 0xeb, 0x63, 0x68, 0xcc, 0x4e, 0x0e, 0x79, 0x38, 0x8a, 0x24,
- 0x5c, 0x7d, 0xe3, 0xf3, 0x0f, 0xd1, 0x9f, 0x13, 0xb1, 0x17, 0xe3, 0x3c, 0xad, 0x5f, 0xc1, 0x67,
- 0x19, 0x58, 0xce, 0x25, 0x8a, 0x47, 0x7d, 0xe3, 0xcb, 0x8f, 0x83, 0xe6, 0x7c, 0xb3, 0x1c, 0x9f,
- 0x93, 0x89, 0xce, 0x18, 0xc8, 0x79, 0xd5, 0x0b, 0x33, 0xf5, 0x01, 0x94, 0x55, 0x4c, 0x0a, 0x57,
- 0x88, 0x89, 0x3a, 0xd2, 0xf9, 0x21, 0x7a, 0x4a, 0x67, 0x84, 0x34, 0xee, 0xd2, 0x09, 0xd1, 0x79,
- 0x9a, 0x4b, 0x26, 0xf9, 0x40, 0xb6, 0xa1, 0x2c, 0xfd, 0xa1, 0x0e, 0x5f, 0xb9, 0x1e, 0xa8, 0xc3,
- 0x9d, 0x3f, 0x19, 0x40, 0xb6, 0x22, 0x1e, 0xe2, 0xab, 0x73, 0xd6, 0x13, 0x28, 0x1d, 0xf1, 0x70,
- 0x56, 0x83, 0xe4, 0xf3, 0xe9, 0xca, 0x51, 0x38, 0x5b, 0x39, 0x2c, 0x28, 0x1e, 0xb1, 0xa9, 0xcc,
- 0x54, 0xd3, 0xc6, 0x47, 0x34, 0xe4, 0x98, 0xfa, 0x13, 0xa6, 0xef, 0x99, 0x5a, 0x7c, 0xda, 0x3b,
- 0xf6, 0x57, 0x03, 0x20, 0xc7, 0xfa, 0x93, 0xb8, 0x84, 0xfc, 0x02, 0x2c, 0x77, 0x12, 0x4c, 0x7c,
- 0x8a, 0x74, 0x54, 0xce, 0x5d, 0xb3, 0xe6, 0x2e, 0xcd, 0x71, 0x54, 0xcc, 0xce, 0x15, 0xdf, 0x62,
- 0xce, 0x85, 0x9d, 0xff, 0x14, 0xa0, 0xb9, 0x37, 0x4d, 0xc7, 0x39, 0x8b, 0x6e, 0xe3, 0xa5, 0x44,
- 0x6f, 0x65, 0xfd, 0xa0, 0x2a, 0xd7, 0x03, 0x8f, 0x3c, 0x06, 0x93, 0x05, 0xf4, 0x46, 0xfc, 0x6a,
- 0x2c, 0xa0, 0x8a, 0xd8, 0x00, 0xf0, 0x19, 0x3b, 0xe9, 0x48, 0x85, 0xf0, 0xca, 0x58, 0x55, 0x16,
- 0xd0, 0xad, 0x28, 0x1c, 0x61, 0x29, 0x97, 0x30, 0xa5, 0x6b, 0xc1, 0xc8, 0xb3, 0x58, 0xca, 0xe3,
- 0x89, 0xe3, 0x73, 0x31, 0x56, 0xa5, 0xbc, 0xac, 0x4a, 0xb9, 0x96, 0xc9, 0x52, 0x7e, 0x26, 0x8f,
- 0x2a, 0x37, 0xca, 0xa3, 0x97, 0x45, 0xb8, 0x85, 0x9d, 0x4a, 0xf5, 0x73, 0x5b, 0x35, 0x84, 0x7c,
- 0xb7, 0xd0, 0xee, 0xcf, 0x75, 0x0b, 0x8f, 0x74, 0xc1, 0xd2, 0xc3, 0x82, 0x70, 0x13, 0x1e, 0x4b,
- 0xa5, 0x82, 0x8c, 0x69, 0x53, 0xc9, 0xf7, 0xa5, 0x78, 0xe0, 0x91, 0x16, 0x54, 0x55, 0xf5, 0x10,
- 0xad, 0xa2, 0xac, 0x9e, 0xb3, 0x25, 0xf9, 0x16, 0x98, 0x54, 0x1c, 0x0d, 0xdd, 0x68, 0x12, 0xa6,
- 0xfa, 0x9e, 0xd4, 0xa8, 0x38, 0xda, 0xc2, 0x35, 0x6e, 0x06, 0x3c, 0xd4, 0x9b, 0xca, 0x05, 0xb5,
- 0x80, 0x87, 0x6a, 0x73, 0x0c, 0xe6, 0x88, 0xb1, 0xa1, 0xcf, 0x03, 0x9e, 0xb6, 0x2a, 0xb2, 0x16,
- 0xde, 0xee, 0x29, 0x97, 0xf6, 0xf0, 0x32, 0x67, 0x86, 0xe3, 0xed, 0xde, 0xbc, 0x8b, 0x26, 0xbf,
- 0xfa, 0xc7, 0x5a, 0xf7, 0x12, 0x61, 0xc0, 0x03, 0xc2, 0xae, 0x8d, 0x18, 0xdb, 0x45, 0x70, 0xb2,
- 0x86, 0x9e, 0x66, 0x31, 0x4d, 0xd8, 0xf0, 0x90, 0x8a, 0x56, 0x55, 0x12, 0x01, 0x2d, 0xfa, 0x31,
- 0x15, 0xa8, 0xc0, 0x4e, 0x98, 0x3b, 0x49, 0x95, 0x42, 0x4d, 0x29, 0x68, 0x11, 0x2a, 0x74, 0xc1,
- 0x42, 0x43, 0x44, 0x34, 0x49, 0x5c, 0xa6, 0xed, 0x31, 0xa5, 0x56, 0x33, 0xe0, 0xe1, 0xbe, 0x14,
- 0x4b, 0xab, 0x3a, 0x2f, 0x0b, 0xd0, 0xc0, 0x40, 0x0c, 0x36, 0xb7, 0xf4, 0x90, 0xd7, 0x05, 0xcb,
- 0xa1, 0xa1, 0x37, 0xe4, 0x8e, 0x3b, 0x64, 0x21, 0x75, 0x7c, 0xa6, 0x42, 0x51, 0xb3, 0x9b, 0x28,
- 0x1f, 0x38, 0xee, 0x23, 0x25, 0x25, 0x77, 0x61, 0x05, 0x95, 0xb2, 0x90, 0x85, 0x29, 0x4b, 0x8e,
- 0xa9, 0xaf, 0x63, 0x42, 0xb8, 0xe3, 0xea, 0xc0, 0x0e, 0xf4, 0x0e, 0xf9, 0x12, 0x50, 0x9a, 0xf1,
- 0x1a, 0xd3, 0x30, 0x64, 0xbe, 0x2e, 0x61, 0x16, 0x77, 0x5c, 0xcd, 0x4c, 0xc9, 0xd1, 0x4c, 0xd4,
- 0x3e, 0x66, 0x89, 0xe0, 0x51, 0xa8, 0xf2, 0xdb, 0x06, 0xee, 0xb8, 0x4f, 0x95, 0x84, 0xb4, 0x95,
- 0x42, 0x1c, 0x25, 0x32, 0x17, 0xca, 0x52, 0xc1, 0xe4, 0x8e, 0xbb, 0x17, 0x25, 0x98, 0x06, 0x5f,
- 0xc0, 0x2d, 0x9f, 0x1d, 0x52, 0x77, 0x3a, 0xd4, 0x79, 0xc3, 0x3d, 0x21, 0x43, 0x57, 0xb4, 0x97,
- 0xd4, 0x86, 0x1e, 0x51, 0x3d, 0xd1, 0xf9, 0xad, 0x01, 0x2b, 0xfb, 0x32, 0x49, 0x64, 0xe2, 0x1e,
- 0x64, 0x75, 0xf6, 0x47, 0x50, 0x51, 0xa7, 0xa5, 0x17, 0x2e, 0x3b, 0x9d, 0xea, 0x33, 0x98, 0x52,
- 0x2a, 0xf5, 0x66, 0xc9, 0x6a, 0xda, 0x35, 0x25, 0x18, 0x78, 0x1f, 0xa9, 0x4e, 0x53, 0x58, 0xde,
- 0xa5, 0x22, 0x3d, 0x4d, 0x47, 0x10, 0x07, 0x3e, 0xf3, 0xa9, 0x48, 0x75, 0x6f, 0xce, 0xd4, 0x45,
- 0xcb, 0x90, 0x39, 0xd9, 0xbb, 0x98, 0xde, 0xff, 0x33, 0xcf, 0x5e, 0xf6, 0xcf, 0xbf, 0xa3, 0xf3,
- 0x17, 0x03, 0x67, 0x15, 0xee, 0x32, 0x9b, 0xb9, 0x51, 0xe2, 0x89, 0xaf, 0xd3, 0x09, 0x3f, 0x87,
- 0x15, 0x1f, 0xc7, 0x82, 0x99, 0x45, 0x89, 0x7a, 0xa5, 0xbc, 0xb8, 0xf5, 0x8d, 0x3b, 0x1f, 0x29,
- 0x30, 0x8a, 0xa0, 0x4d, 0x14, 0x44, 0x9e, 0x73, 0xe7, 0x19, 0xd4, 0x73, 0xeb, 0xd3, 0xce, 0x36,
- 0xce, 0x38, 0x7b, 0xde, 0xc9, 0x0a, 0x37, 0x69, 0xee, 0xaf, 0x4a, 0x40, 0x7e, 0xc2, 0x52, 0xea,
- 0xd1, 0x94, 0x62, 0xa1, 0xe3, 0x22, 0xe5, 0xae, 0xbc, 0xaf, 0x87, 0x49, 0x34, 0x89, 0xf5, 0x4d,
- 0x34, 0xe4, 0xd7, 0x09, 0x48, 0x91, 0xaa, 0x2d, 0x3d, 0x58, 0xd6, 0x66, 0x0f, 0x05, 0x0d, 0x62,
- 0xac, 0x70, 0xfc, 0x85, 0xe2, 0xd2, 0xb0, 0x6f, 0xe9, 0xad, 0x7d, 0xb9, 0xb3, 0xcf, 0x5f, 0x30,
- 0x2c, 0xf9, 0x01, 0xa3, 0xe1, 0x35, 0x3b, 0x87, 0x3c, 0x8b, 0x18, 0xe9, 0x73, 0x1a, 0x5f, 0xb7,
- 0x6d, 0xe0, 0x59, 0xf2, 0x03, 0x58, 0x1a, 0xf1, 0x44, 0xa4, 0xf3, 0x34, 0x94, 0x97, 0xb0, 0x68,
- 0x37, 0xa5, 0x78, 0x7e, 0x89, 0xee, 0x40, 0x53, 0x26, 0xed, 0x5c, 0xaf, 0x22, 0xf5, 0x1a, 0x28,
- 0x3d, 0xc8, 0x7d, 0x0d, 0xc9, 0x02, 0xac, 0x22, 0x51, 0xbd, 0x5e, 0x8b, 0x0d, 0x78, 0xa8, 0x5a,
- 0x2c, 0x82, 0xd1, 0x13, 0x0d, 0x56, 0xbb, 0x26, 0x18, 0x3d, 0x51, 0x60, 0x3f, 0x83, 0xc5, 0x80,
- 0x79, 0x9c, 0xce, 0xc8, 0x99, 0xd7, 0xc2, 0xab, 0x2b, 0x0c, 0x09, 0x89, 0x5f, 0xa4, 0x96, 0x7c,
- 0x7a, 0x98, 0x62, 0xee, 0xd2, 0x14, 0x4b, 0xda, 0x07, 0xe6, 0x8f, 0x95, 0x7c, 0x8a, 0x16, 0x67,
- 0xc3, 0x13, 0xd1, 0xdd, 0x5f, 0x7d, 0x7c, 0xa9, 0x6e, 0x4e, 0xa0, 0xc4, 0x4e, 0xe2, 0x48, 0x86,
- 0xb6, 0x6c, 0xcb, 0x67, 0xbc, 0x83, 0xf3, 0xe9, 0x45, 0x05, 0x69, 0x3e, 0x8d, 0xdc, 0xce, 0x4d,
- 0x23, 0x15, 0x09, 0x94, 0x4d, 0x17, 0x7a, 0x4b, 0xe2, 0x55, 0x25, 0x1e, 0x6e, 0x3d, 0x42, 0xc8,
- 0xb3, 0x43, 0x43, 0x4d, 0xa2, 0xe6, 0x87, 0x86, 0x2f, 0xfe, 0x90, 0xfd, 0x0d, 0x20, 0xbf, 0xd3,
- 0x97, 0xa0, 0xfe, 0x24, 0x14, 0x31, 0x73, 0xf9, 0x88, 0x33, 0xcf, 0x5a, 0x20, 0x35, 0x28, 0x61,
- 0xf7, 0xb1, 0x0c, 0xd2, 0x00, 0x33, 0x9b, 0xb7, 0xad, 0x02, 0x59, 0x84, 0xda, 0x6c, 0x4a, 0xb6,
- 0x8a, 0xb8, 0x99, 0x7d, 0xbb, 0x5b, 0x25, 0x62, 0x42, 0xd9, 0xa6, 0x2f, 0xa2, 0xc4, 0x2a, 0x93,
- 0x2a, 0x14, 0xb7, 0x39, 0xb5, 0x2a, 0x88, 0xf4, 0x70, 0x6f, 0x70, 0xdf, 0xaa, 0xa2, 0xe8, 0x49,
- 0x40, 0xad, 0x1a, 0x8a, 0x70, 0xba, 0xb3, 0x4c, 0x52, 0x87, 0xaa, 0x6e, 0x72, 0x16, 0x20, 0xf4,
- 0xec, 0xf3, 0xc3, 0xaa, 0x6f, 0x8e, 0x5e, 0xbf, 0x6b, 0x1b, 0x6f, 0xde, 0xb5, 0x8d, 0x7f, 0xbe,
- 0x6b, 0x1b, 0xbf, 0x7b, 0xdf, 0x5e, 0x78, 0xf3, 0xbe, 0xbd, 0xf0, 0xb7, 0xf7, 0xed, 0x85, 0x5f,
- 0xee, 0xe6, 0x82, 0x3a, 0x98, 0x15, 0xa1, 0x5d, 0xea, 0x88, 0x7e, 0x56, 0x92, 0xbe, 0x72, 0xa3,
- 0x84, 0xe5, 0x97, 0x48, 0xb2, 0x1f, 0x44, 0xde, 0xc4, 0x67, 0x62, 0xf6, 0x27, 0x8d, 0x0c, 0xbf,
- 0x53, 0x91, 0x7f, 0xa6, 0xdc, 0xff, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x22, 0xa4, 0xe4,
- 0xc5, 0x11, 0x00, 0x00,
+ // 1620 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0x4f, 0x73, 0x1b, 0x4b,
+ 0x11, 0xf7, 0xea, 0xff, 0xb6, 0x2c, 0x79, 0x33, 0xf6, 0x03, 0xc5, 0x80, 0x6c, 0x04, 0x79, 0xa8,
+ 0x5e, 0xbd, 0x27, 0xbd, 0x38, 0x27, 0x52, 0x5c, 0x62, 0x3b, 0xa1, 0x54, 0x31, 0x85, 0x59, 0x3b,
+ 0xa1, 0xe0, 0x22, 0x66, 0x77, 0x47, 0xd6, 0xc4, 0xfb, 0x2f, 0x3b, 0x2b, 0xc7, 0xca, 0x07, 0xc8,
+ 0x15, 0xbe, 0x00, 0x05, 0xe7, 0x7c, 0x05, 0xaa, 0x28, 0x8a, 0x53, 0xaa, 0xb8, 0xe4, 0x48, 0x71,
+ 0x08, 0x10, 0x5f, 0xf8, 0x06, 0x1c, 0xb8, 0x50, 0x3d, 0x33, 0x5a, 0xad, 0x6d, 0x9c, 0xf8, 0x4f,
+ 0x38, 0x69, 0xa6, 0xa7, 0xfb, 0x37, 0xfd, 0x6f, 0xba, 0x7b, 0x05, 0x77, 0x78, 0xf8, 0x8c, 0xb9,
+ 0x29, 0x3f, 0x62, 0xfd, 0x28, 0xa1, 0xae, 0xcf, 0xfa, 0x47, 0x77, 0x1d, 0x96, 0xd2, 0xbb, 0x7a,
+ 0xdb, 0x8b, 0x93, 0x28, 0x8d, 0x48, 0x2b, 0x63, 0xeb, 0x69, 0xba, 0x66, 0x5b, 0x5d, 0x39, 0x88,
+ 0x0e, 0x22, 0xc9, 0xd4, 0xc7, 0x95, 0xe2, 0x5f, 0x6d, 0xbb, 0x91, 0x08, 0x22, 0xd1, 0x77, 0xa8,
+ 0x98, 0x23, 0xba, 0x11, 0x0f, 0xd5, 0x79, 0xe7, 0x1e, 0x54, 0x76, 0x69, 0x42, 0x03, 0x41, 0xbe,
+ 0x07, 0x8d, 0x78, 0x9a, 0x8e, 0x87, 0x6e, 0x14, 0xa6, 0x09, 0x75, 0xd3, 0x96, 0xb1, 0x6e, 0x74,
+ 0x4d, 0x7b, 0x11, 0x89, 0x5b, 0x9a, 0x76, 0xbf, 0xf4, 0xaf, 0xdf, 0xaf, 0x19, 0x9d, 0x43, 0x80,
+ 0x9f, 0xca, 0xcb, 0x07, 0xe1, 0x28, 0x22, 0xdf, 0x80, 0x8a, 0x98, 0x06, 0x4e, 0xe4, 0x6b, 0x09,
+ 0xbd, 0x23, 0x0f, 0xa1, 0xae, 0x54, 0x1c, 0xa6, 0xd3, 0x98, 0xb5, 0x0a, 0xeb, 0x46, 0xb7, 0xb9,
+ 0xf1, 0xfd, 0xde, 0x45, 0x06, 0xf4, 0x14, 0xe4, 0xfe, 0x34, 0x66, 0x36, 0x44, 0xd9, 0xba, 0xf3,
+ 0x4f, 0x03, 0x96, 0xb7, 0xc6, 0x94, 0x87, 0x3e, 0x0f, 0x0f, 0x77, 0x13, 0xee, 0xb2, 0xbd, 0x94,
+ 0xa6, 0x8c, 0x7c, 0x13, 0xaa, 0x23, 0xc6, 0xbc, 0x21, 0xf7, 0x66, 0xf7, 0xe2, 0x76, 0xe0, 0x91,
+ 0x47, 0x50, 0xa1, 0xa1, 0x78, 0xc1, 0x12, 0x79, 0xa5, 0xb9, 0xd9, 0x7b, 0xf3, 0x6e, 0x6d, 0xe1,
+ 0x6f, 0xef, 0xd6, 0x3e, 0x3f, 0xe0, 0xe9, 0x78, 0xe2, 0xf4, 0xdc, 0x28, 0xe8, 0x6b, 0xaf, 0xa8,
+ 0x9f, 0xaf, 0x84, 0x77, 0xd8, 0x47, 0x1d, 0x45, 0x6f, 0x9b, 0xb9, 0xb6, 0x96, 0x26, 0xdf, 0x06,
+ 0x33, 0xe5, 0x01, 0x13, 0x29, 0x0d, 0xe2, 0x56, 0x71, 0xdd, 0xe8, 0x96, 0xec, 0x39, 0x81, 0x3c,
+ 0x86, 0x7a, 0x8c, 0xca, 0x0c, 0x05, 0x6a, 0xd3, 0x2a, 0xad, 0x1b, 0xdd, 0xfa, 0x87, 0xac, 0x9b,
+ 0x6b, 0xbe, 0x59, 0x42, 0x85, 0x6c, 0x88, 0x33, 0x4a, 0xe7, 0x3f, 0x06, 0x34, 0x37, 0x69, 0xe8,
+ 0xe5, 0xcc, 0xbb, 0xc8, 0xab, 0x9b, 0x50, 0x4a, 0xf0, 0xc2, 0xab, 0xdb, 0x36, 0x08, 0x53, 0x5b,
+ 0xca, 0x92, 0xef, 0xc2, 0x62, 0xc2, 0x44, 0xe4, 0x1f, 0xb1, 0x21, 0x1a, 0xa4, 0x8d, 0xab, 0x6b,
+ 0xda, 0x3e, 0x0f, 0x18, 0xf9, 0x0e, 0x40, 0xc2, 0x9e, 0x4f, 0x98, 0x48, 0x87, 0x83, 0x6d, 0x69,
+ 0x5d, 0xc9, 0x36, 0x35, 0x65, 0xb0, 0x7d, 0xd6, 0xfa, 0xf2, 0x8d, 0xac, 0xff, 0xad, 0x01, 0x4d,
+ 0xc9, 0xf0, 0x88, 0x31, 0x4f, 0x59, 0x4f, 0xa0, 0x84, 0x19, 0xab, 0x6d, 0x97, 0x6b, 0xb2, 0x02,
+ 0xe5, 0xe7, 0x93, 0x68, 0x66, 0xba, 0xad, 0x36, 0x98, 0x65, 0x79, 0x4d, 0x8a, 0x97, 0xd7, 0x24,
+ 0xaf, 0x03, 0x59, 0x85, 0x5a, 0xc2, 0x7c, 0x3a, 0x65, 0x89, 0x68, 0x95, 0xd6, 0x8b, 0x5d, 0xd3,
+ 0xce, 0xf6, 0x9d, 0x47, 0xb0, 0xb8, 0x9b, 0x44, 0x47, 0xdc, 0x63, 0x89, 0x4c, 0xf8, 0x55, 0xa8,
+ 0xc5, 0x7a, 0xaf, 0x15, 0xcc, 0xf6, 0xa7, 0x70, 0x0a, 0x67, 0x70, 0xfe, 0x68, 0x40, 0x63, 0x06,
+ 0xa4, 0x6e, 0x7d, 0x0c, 0x8d, 0x99, 0xe4, 0x90, 0x87, 0xa3, 0x48, 0xc2, 0xd5, 0x37, 0x3e, 0xff,
+ 0x90, 0xfa, 0x73, 0x45, 0xec, 0xc5, 0x38, 0xaf, 0xd6, 0xaf, 0xe0, 0xb3, 0x0c, 0x2c, 0xe7, 0x12,
+ 0xa5, 0x47, 0x7d, 0xe3, 0xcb, 0x8f, 0x83, 0xe6, 0x7c, 0xb3, 0x1c, 0x9f, 0xa3, 0x89, 0xce, 0x18,
+ 0xc8, 0x79, 0xd6, 0x0b, 0x33, 0xf5, 0x3e, 0x94, 0x55, 0x4c, 0x0a, 0x57, 0x88, 0x89, 0x12, 0xe9,
+ 0xfc, 0x10, 0x3d, 0xa5, 0x33, 0x42, 0x1a, 0x77, 0xe9, 0x84, 0xe8, 0x3c, 0xcd, 0x25, 0x93, 0x5c,
+ 0x90, 0x6d, 0x28, 0x4b, 0x7f, 0x28, 0xe1, 0x2b, 0xd7, 0x03, 0x25, 0xdc, 0xf9, 0x83, 0x01, 0x64,
+ 0x2b, 0xe2, 0x21, 0x5e, 0x9d, 0xb3, 0x9e, 0x40, 0xe9, 0x90, 0x87, 0xb3, 0x1a, 0x24, 0xd7, 0xa7,
+ 0x2b, 0x47, 0xe1, 0x6c, 0xe5, 0xb0, 0xa0, 0x78, 0xc8, 0xa6, 0x32, 0x53, 0x4d, 0x1b, 0x97, 0x68,
+ 0xc8, 0x11, 0xf5, 0x27, 0x4c, 0xbf, 0x33, 0xb5, 0xf9, 0xb4, 0x6f, 0xec, 0x2f, 0x06, 0x40, 0x4e,
+ 0xeb, 0x4f, 0xe2, 0x12, 0xf2, 0x0b, 0xb0, 0xdc, 0x49, 0x30, 0xf1, 0x29, 0xaa, 0xa3, 0x72, 0xee,
+ 0x9a, 0x35, 0x77, 0x69, 0x8e, 0xa3, 0x62, 0x76, 0xae, 0xf8, 0x16, 0x73, 0x2e, 0xec, 0xfc, 0xbb,
+ 0x00, 0xcd, 0xdd, 0x69, 0x3a, 0xce, 0x59, 0x74, 0x1b, 0x1f, 0x25, 0x7a, 0x2b, 0xeb, 0x07, 0x55,
+ 0xb9, 0x1f, 0x78, 0xe4, 0x31, 0x98, 0x2c, 0xa0, 0x37, 0xd2, 0xaf, 0xc6, 0x02, 0xaa, 0x14, 0x1b,
+ 0x00, 0xae, 0xb1, 0x4b, 0x8e, 0x54, 0x08, 0xaf, 0x8c, 0x55, 0x65, 0x01, 0xdd, 0x8a, 0xc2, 0x11,
+ 0x96, 0x72, 0x09, 0x53, 0xba, 0x16, 0x8c, 0x94, 0xc5, 0x52, 0x1e, 0x4f, 0x1c, 0x9f, 0x8b, 0xb1,
+ 0x2a, 0xe5, 0x65, 0x55, 0xca, 0x35, 0x4d, 0x96, 0xf2, 0x33, 0x79, 0x54, 0xb9, 0x51, 0x1e, 0xbd,
+ 0x2a, 0xc2, 0x2d, 0xec, 0x54, 0xaa, 0x59, 0xdb, 0xaa, 0x21, 0xe4, 0xbb, 0x85, 0x76, 0x7f, 0xae,
+ 0x5b, 0x78, 0xa4, 0x0b, 0x96, 0x9e, 0x04, 0x84, 0x9b, 0xf0, 0x58, 0x32, 0x15, 0x64, 0x4c, 0x9b,
+ 0x8a, 0xbe, 0x27, 0xc9, 0x03, 0x8f, 0xb4, 0xa0, 0xaa, 0xaa, 0x87, 0x68, 0x15, 0x65, 0xf5, 0x9c,
+ 0x6d, 0xc9, 0xb7, 0xc0, 0xa4, 0xe2, 0x70, 0xe8, 0x46, 0x93, 0x30, 0xd5, 0xef, 0xa4, 0x46, 0xc5,
+ 0xe1, 0x16, 0xee, 0xf1, 0x30, 0xe0, 0xa1, 0x3e, 0x54, 0x2e, 0xa8, 0x05, 0x3c, 0x54, 0x87, 0x63,
+ 0x30, 0x47, 0x8c, 0x0d, 0x7d, 0x1e, 0xf0, 0xb4, 0x55, 0x91, 0xb5, 0xf0, 0x76, 0x4f, 0xb9, 0xb4,
+ 0x87, 0x8f, 0x39, 0x33, 0x1c, 0x5f, 0xf7, 0xe6, 0xd7, 0x68, 0xf2, 0xeb, 0xbf, 0xaf, 0x75, 0x2f,
+ 0x11, 0x06, 0x14, 0x10, 0x76, 0x6d, 0xc4, 0xd8, 0x0e, 0x82, 0x93, 0x35, 0xf4, 0x34, 0x8b, 0x69,
+ 0xc2, 0x86, 0x07, 0x54, 0xb4, 0xaa, 0x52, 0x11, 0xd0, 0xa4, 0x1f, 0x53, 0x81, 0x0c, 0xec, 0x98,
+ 0xb9, 0x93, 0x54, 0x31, 0xd4, 0x14, 0x83, 0x26, 0x21, 0x43, 0x17, 0x2c, 0x34, 0x44, 0x44, 0x93,
+ 0xc4, 0x65, 0xda, 0x1e, 0x53, 0x72, 0x35, 0x03, 0x1e, 0xee, 0x49, 0xb2, 0xb4, 0xaa, 0xf3, 0xaa,
+ 0x00, 0x0d, 0x0c, 0xc4, 0x60, 0x73, 0x4b, 0x0f, 0x70, 0x5d, 0xb0, 0x1c, 0x1a, 0x7a, 0x43, 0xee,
+ 0xb8, 0x43, 0x16, 0x52, 0xc7, 0x67, 0x2a, 0x14, 0x35, 0xbb, 0x89, 0xf4, 0x81, 0xe3, 0x3e, 0x54,
+ 0x54, 0xf2, 0x35, 0xac, 0x20, 0x53, 0x16, 0xb2, 0x30, 0x65, 0xc9, 0x11, 0xf5, 0x75, 0x4c, 0x08,
+ 0x77, 0x5c, 0x1d, 0xd8, 0x81, 0x3e, 0x21, 0x5f, 0x02, 0x52, 0x33, 0xbd, 0xc6, 0x34, 0x0c, 0x99,
+ 0xaf, 0x4b, 0x98, 0xc5, 0x1d, 0x57, 0x6b, 0xa6, 0xe8, 0x68, 0x26, 0x72, 0x1f, 0xb1, 0x44, 0xf0,
+ 0x28, 0x54, 0xf9, 0x6d, 0x03, 0x77, 0xdc, 0xa7, 0x8a, 0x42, 0xda, 0x8a, 0x21, 0x8e, 0x12, 0x99,
+ 0x0b, 0x65, 0xc9, 0x60, 0x72, 0xc7, 0xdd, 0x8d, 0x12, 0x4c, 0x83, 0x2f, 0xe0, 0x96, 0xcf, 0x0e,
+ 0xa8, 0x3b, 0x1d, 0xea, 0xbc, 0xe1, 0x9e, 0x90, 0xa1, 0x2b, 0xda, 0x4b, 0xea, 0x40, 0xcf, 0x9f,
+ 0x9e, 0xe8, 0xfc, 0xda, 0x80, 0x95, 0x3d, 0x99, 0x24, 0x32, 0x71, 0xf7, 0xb3, 0x3a, 0xfb, 0x23,
+ 0xa8, 0x28, 0x69, 0xe9, 0x85, 0xcb, 0x8e, 0x9e, 0x5a, 0x06, 0x53, 0x4a, 0xa5, 0xde, 0x2c, 0x59,
+ 0x4d, 0xbb, 0xa6, 0x08, 0x03, 0xef, 0x23, 0xd5, 0x69, 0x0a, 0xcb, 0x3b, 0x54, 0xa4, 0xa7, 0xd5,
+ 0x11, 0xc4, 0x81, 0xcf, 0x7c, 0x2a, 0x52, 0xdd, 0x9b, 0x33, 0x76, 0xd1, 0x32, 0x64, 0x4e, 0xf6,
+ 0x2e, 0x56, 0xef, 0x7f, 0x99, 0x67, 0x2f, 0xfb, 0xe7, 0xef, 0xe8, 0xfc, 0xd9, 0xc0, 0x59, 0x85,
+ 0xbb, 0xcc, 0x66, 0x6e, 0x94, 0x78, 0xe2, 0xff, 0xe9, 0x84, 0x9f, 0xc3, 0x8a, 0x8f, 0x63, 0xc1,
+ 0xcc, 0xa2, 0x44, 0x5d, 0x29, 0x1f, 0x6e, 0x7d, 0xe3, 0xce, 0x47, 0x0a, 0x8c, 0x52, 0xd0, 0x26,
+ 0x0a, 0x22, 0xaf, 0x73, 0xe7, 0x39, 0xd4, 0x73, 0xfb, 0xd3, 0xce, 0x36, 0xce, 0x38, 0x7b, 0xde,
+ 0xc9, 0x0a, 0x37, 0x69, 0xee, 0xaf, 0x4b, 0x40, 0x7e, 0xc2, 0x52, 0xea, 0xd1, 0x94, 0x62, 0xa1,
+ 0xe3, 0x22, 0xe5, 0xae, 0x7c, 0xaf, 0x07, 0x49, 0x34, 0x89, 0xf5, 0x4b, 0xc4, 0xcb, 0x1b, 0x36,
+ 0x48, 0x92, 0xaa, 0x2d, 0x3d, 0x58, 0xd6, 0x66, 0x0f, 0x05, 0x0d, 0x62, 0xac, 0x70, 0xfc, 0xa5,
+ 0xd2, 0xa5, 0x61, 0xdf, 0xd2, 0x47, 0x7b, 0xf2, 0x64, 0x8f, 0xbf, 0x64, 0x58, 0xf2, 0x03, 0x46,
+ 0xc3, 0x6b, 0x76, 0x0e, 0x29, 0x8b, 0x18, 0xe9, 0x0b, 0x1a, 0x5f, 0xb7, 0x6d, 0xa0, 0x2c, 0xf9,
+ 0x01, 0x2c, 0x8d, 0x78, 0x22, 0xd2, 0x79, 0x1a, 0xca, 0x47, 0x58, 0xb4, 0x9b, 0x92, 0x3c, 0x7f,
+ 0x44, 0x77, 0xa0, 0x29, 0x93, 0x76, 0xce, 0x57, 0x91, 0x7c, 0x0d, 0xa4, 0xee, 0xe7, 0xbe, 0x86,
+ 0x64, 0x01, 0x56, 0x91, 0xa8, 0x5e, 0xaf, 0xc5, 0x06, 0x3c, 0x54, 0x2d, 0x16, 0xc1, 0xe8, 0xb1,
+ 0x06, 0xab, 0x5d, 0x13, 0x8c, 0x1e, 0x2b, 0xb0, 0x9f, 0xc1, 0x62, 0xc0, 0x3c, 0x4e, 0x67, 0xca,
+ 0x99, 0xd7, 0xc2, 0xab, 0x2b, 0x0c, 0x09, 0x89, 0x5f, 0xa4, 0x96, 0x5c, 0x3d, 0x48, 0x31, 0x77,
+ 0x69, 0x8a, 0x25, 0xed, 0x03, 0xf3, 0xc7, 0x4a, 0x3e, 0x45, 0x8b, 0xb3, 0xe1, 0x89, 0xe8, 0xee,
+ 0xaf, 0x3e, 0xbe, 0x54, 0x37, 0x27, 0x50, 0x62, 0xc7, 0x71, 0x24, 0x43, 0x5b, 0xb6, 0xe5, 0x1a,
+ 0xdf, 0xe0, 0x7c, 0x7a, 0x51, 0x41, 0x9a, 0x4f, 0x23, 0xb7, 0x73, 0xd3, 0x48, 0x45, 0x02, 0x65,
+ 0xd3, 0x85, 0x3e, 0x92, 0x78, 0x55, 0x89, 0x87, 0x47, 0x0f, 0x11, 0xf2, 0xec, 0xd0, 0x50, 0x93,
+ 0xa8, 0xf9, 0xa1, 0xe1, 0x8b, 0xdf, 0x19, 0xb3, 0x6f, 0x7c, 0x2c, 0x08, 0x64, 0x09, 0xea, 0x4f,
+ 0x42, 0x11, 0x33, 0x97, 0x8f, 0x38, 0xf3, 0xac, 0x05, 0x52, 0x83, 0x12, 0x76, 0x1f, 0xcb, 0x20,
+ 0x0d, 0x30, 0xb3, 0x79, 0xdb, 0x2a, 0x90, 0x45, 0xa8, 0xcd, 0xa6, 0x64, 0xab, 0x88, 0x87, 0xd9,
+ 0xb7, 0xbb, 0x55, 0x22, 0x26, 0x94, 0x6d, 0xfa, 0x32, 0x4a, 0xac, 0x32, 0xa9, 0x42, 0x71, 0x9b,
+ 0x53, 0xab, 0x82, 0x48, 0x0f, 0x76, 0x07, 0xf7, 0xac, 0x2a, 0x92, 0x9e, 0x04, 0xd4, 0xaa, 0x21,
+ 0x09, 0xa7, 0x3b, 0xcb, 0x24, 0x75, 0xa8, 0xea, 0x26, 0x67, 0x01, 0x42, 0xcf, 0x3e, 0x3f, 0xac,
+ 0xfa, 0xe6, 0xb3, 0x37, 0xef, 0xdb, 0xc6, 0xdb, 0xf7, 0x6d, 0xe3, 0x1f, 0xef, 0xdb, 0xc6, 0x6f,
+ 0x4e, 0xda, 0x0b, 0x7f, 0x3a, 0x69, 0x1b, 0x6f, 0x4f, 0xda, 0x0b, 0x7f, 0x3d, 0x69, 0x2f, 0xfc,
+ 0x72, 0x27, 0x17, 0xd8, 0xc1, 0xac, 0x10, 0xed, 0x50, 0x47, 0xf4, 0xb3, 0xb2, 0xf4, 0x95, 0x1b,
+ 0x25, 0x2c, 0xbf, 0x45, 0x45, 0xfb, 0x41, 0xe4, 0x4d, 0x7c, 0x26, 0x66, 0x7f, 0xc2, 0xc8, 0x14,
+ 0x70, 0x2a, 0xf2, 0xcf, 0x92, 0x7b, 0xff, 0x0d, 0x00, 0x00, 0xff, 0xff, 0xa0, 0xa3, 0x69, 0xd5,
+ 0xa5, 0x11, 0x00, 0x00,
}
func (this *Params) Equal(that interface{}) bool {
@@ -1639,11 +1658,6 @@ func (m *OracleInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
- if m.ScaleFactor != 0 {
- i = encodeVarintOracle(dAtA, i, uint64(m.ScaleFactor))
- i--
- dAtA[i] = 0x18
- }
if m.OracleType != 0 {
i = encodeVarintOracle(dAtA, i, uint64(m.OracleType))
i--
@@ -2730,9 +2744,6 @@ func (m *OracleInfo) Size() (n int) {
if m.OracleType != 0 {
n += 1 + sovOracle(uint64(m.OracleType))
}
- if m.ScaleFactor != 0 {
- n += 1 + sovOracle(uint64(m.ScaleFactor))
- }
return n
}
@@ -3333,25 +3344,6 @@ func (m *OracleInfo) Unmarshal(dAtA []byte) error {
break
}
}
- case 3:
- if wireType != 0 {
- return fmt.Errorf("proto: wrong wireType = %d for field ScaleFactor", wireType)
- }
- m.ScaleFactor = 0
- for shift := uint(0); ; shift += 7 {
- if shift >= 64 {
- return ErrIntOverflowOracle
- }
- if iNdEx >= l {
- return io.ErrUnexpectedEOF
- }
- b := dAtA[iNdEx]
- iNdEx++
- m.ScaleFactor |= uint32(b&0x7F) << shift
- if b < 0x80 {
- break
- }
- }
default:
iNdEx = preIndex
skippy, err := skipOracle(dAtA[iNdEx:])
diff --git a/chain/oracle/types/proposal.pb.go b/chain/oracle/types/proposal.pb.go
index 2606c3f3..ae4c5169 100644
--- a/chain/oracle/types/proposal.pb.go
+++ b/chain/oracle/types/proposal.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
_ "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/oracle/types/query.pb.go b/chain/oracle/types/query.pb.go
index d82bee6f..4581b81c 100644
--- a/chain/oracle/types/query.pb.go
+++ b/chain/oracle/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
@@ -14,9 +18,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/oracle/types/tx.pb.go b/chain/oracle/types/tx.pb.go
index c993e9d9..165fcf35 100644
--- a/chain/oracle/types/tx.pb.go
+++ b/chain/oracle/types/tx.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
@@ -15,9 +19,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/attestation.pb.go b/chain/peggy/types/attestation.pb.go
index 0d591bd2..3ea675f8 100644
--- a/chain/peggy/types/attestation.pb.go
+++ b/chain/peggy/types/attestation.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types "github.com/cosmos/cosmos-sdk/codec/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/batch.pb.go b/chain/peggy/types/batch.pb.go
index 083ea8c7..65fac894 100644
--- a/chain/peggy/types/batch.pb.go
+++ b/chain/peggy/types/batch.pb.go
@@ -5,10 +5,11 @@ package types
import (
fmt "fmt"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/ethereum_signer.go b/chain/peggy/types/ethereum_signer.go
index 48d21b47..d656b8ee 100644
--- a/chain/peggy/types/ethereum_signer.go
+++ b/chain/peggy/types/ethereum_signer.go
@@ -2,6 +2,8 @@ package types
import (
"crypto/ecdsa"
+ "fmt"
+ "math/big"
"cosmossdk.io/errors"
"github.com/ethereum/go-ethereum/common"
@@ -21,12 +23,33 @@ func NewEthereumSignature(hash common.Hash, privateKey *ecdsa.PrivateKey) ([]byt
return crypto.Sign(protectedHash.Bytes(), privateKey)
}
+// decodeSignature was duplicated from go-ethereum with slight modifications
+func decodeSignature(sig []byte) (r, s *big.Int, v byte) {
+ if len(sig) != crypto.SignatureLength {
+ panic(fmt.Sprintf("wrong size for signature: got %d, want %d", len(sig), crypto.SignatureLength))
+ }
+ r = new(big.Int).SetBytes(sig[:32])
+ s = new(big.Int).SetBytes(sig[32:64])
+ if sig[64] == 27 || sig[64] == 28 {
+ v = sig[64] - 27
+ } else {
+ v = sig[64]
+ }
+ return r, s, v
+}
+
// ValidateEthereumSignature takes a message, an associated signature and public key and
// returns an error if the signature isn't valid
func EthAddressFromSignature(hash common.Hash, signature []byte) (common.Address, error) {
if len(signature) < 65 {
return common.Address{}, errors.Wrap(ErrInvalid, "signature too short")
}
+
+ r, s, v := decodeSignature(signature)
+ if !crypto.ValidateSignatureValues(v, r, s, true) {
+ return common.Address{}, errors.Wrap(ErrInvalid, "Signature values failed validation")
+ }
+
// To verify signature
// - use crypto.SigToPub to get the public key
// - use crypto.PubkeyToAddress to get the address
diff --git a/chain/peggy/types/ethereum_signer.pb.go b/chain/peggy/types/ethereum_signer.pb.go
index d52e1b45..08af7a8a 100644
--- a/chain/peggy/types/ethereum_signer.pb.go
+++ b/chain/peggy/types/ethereum_signer.pb.go
@@ -5,9 +5,10 @@ package types
import (
fmt "fmt"
+ math "math"
+
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/events.pb.go b/chain/peggy/types/events.pb.go
index 13168705..571bb00b 100644
--- a/chain/peggy/types/events.pb.go
+++ b/chain/peggy/types/events.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/genesis.pb.go b/chain/peggy/types/genesis.pb.go
index 197630ab..e4baffbc 100644
--- a/chain/peggy/types/genesis.pb.go
+++ b/chain/peggy/types/genesis.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/cosmos-sdk/types"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/msgs.pb.go b/chain/peggy/types/msgs.pb.go
index 6bf0619c..7797fcfe 100644
--- a/chain/peggy/types/msgs.pb.go
+++ b/chain/peggy/types/msgs.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
types1 "github.com/cosmos/cosmos-sdk/codec/types"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
@@ -18,9 +22,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/params.pb.go b/chain/peggy/types/params.pb.go
index f7932952..7afc74dd 100644
--- a/chain/peggy/types/params.pb.go
+++ b/chain/peggy/types/params.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/pool.pb.go b/chain/peggy/types/pool.pb.go
index a7eabb67..68e76b1a 100644
--- a/chain/peggy/types/pool.pb.go
+++ b/chain/peggy/types/pool.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/proposal.pb.go b/chain/peggy/types/proposal.pb.go
index dd9ece2a..242fd142 100644
--- a/chain/peggy/types/proposal.pb.go
+++ b/chain/peggy/types/proposal.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/cosmos-proto"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/cosmos-proto"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/peggy/types/query.pb.go b/chain/peggy/types/query.pb.go
index 45b6c3ce..daac4c68 100644
--- a/chain/peggy/types/query.pb.go
+++ b/chain/peggy/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
proto "github.com/cosmos/gogoproto/proto"
@@ -13,9 +17,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -1797,7 +1798,8 @@ func (m *QueryModuleStateRequest) XXX_DiscardUnknown() {
var xxx_messageInfo_QueryModuleStateRequest proto.InternalMessageInfo
-// QueryModuleStateResponse is the response type for the Query/PeggyModuleState RPC method.
+// QueryModuleStateResponse is the response type for the Query/PeggyModuleState
+// RPC method.
type QueryModuleStateResponse struct {
State *GenesisState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
}
diff --git a/chain/peggy/types/types.pb.go b/chain/peggy/types/types.pb.go
index 66673a3c..29281874 100644
--- a/chain/peggy/types/types.pb.go
+++ b/chain/peggy/types/types.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/stream/types/query.pb.go b/chain/stream/types/query.pb.go
new file mode 100644
index 00000000..fcbb41c6
--- /dev/null
+++ b/chain/stream/types/query.pb.go
@@ -0,0 +1,7666 @@
+// Code generated by protoc-gen-gogo. DO NOT EDIT.
+// source: injective/stream/v1beta1/query.proto
+
+package types
+
+import (
+ context "context"
+ fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
+ types "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
+ types1 "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ grpc1 "github.com/cosmos/gogoproto/grpc"
+ proto "github.com/cosmos/gogoproto/proto"
+ grpc "google.golang.org/grpc"
+ codes "google.golang.org/grpc/codes"
+ status "google.golang.org/grpc/status"
+)
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ = proto.Marshal
+var _ = fmt.Errorf
+var _ = math.Inf
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the proto package it is being compiled against.
+// A compilation error at this line likely means your copy of the
+// proto package needs to be updated.
+const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
+
+type OrderUpdateStatus int32
+
+const (
+ OrderUpdateStatus_Unspecified OrderUpdateStatus = 0
+ OrderUpdateStatus_Booked OrderUpdateStatus = 1
+ OrderUpdateStatus_Matched OrderUpdateStatus = 2
+ OrderUpdateStatus_Cancelled OrderUpdateStatus = 3
+)
+
+var OrderUpdateStatus_name = map[int32]string{
+ 0: "Unspecified",
+ 1: "Booked",
+ 2: "Matched",
+ 3: "Cancelled",
+}
+
+var OrderUpdateStatus_value = map[string]int32{
+ "Unspecified": 0,
+ "Booked": 1,
+ "Matched": 2,
+ "Cancelled": 3,
+}
+
+func (x OrderUpdateStatus) String() string {
+ return proto.EnumName(OrderUpdateStatus_name, int32(x))
+}
+
+func (OrderUpdateStatus) EnumDescriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{0}
+}
+
+type StreamRequest struct {
+ BankBalancesFilter *BankBalancesFilter `protobuf:"bytes,1,opt,name=bank_balances_filter,json=bankBalancesFilter,proto3" json:"bank_balances_filter,omitempty"`
+ SubaccountDepositsFilter *SubaccountDepositsFilter `protobuf:"bytes,2,opt,name=subaccount_deposits_filter,json=subaccountDepositsFilter,proto3" json:"subaccount_deposits_filter,omitempty"`
+ SpotTradesFilter *TradesFilter `protobuf:"bytes,3,opt,name=spot_trades_filter,json=spotTradesFilter,proto3" json:"spot_trades_filter,omitempty"`
+ DerivativeTradesFilter *TradesFilter `protobuf:"bytes,4,opt,name=derivative_trades_filter,json=derivativeTradesFilter,proto3" json:"derivative_trades_filter,omitempty"`
+ SpotOrdersFilter *OrdersFilter `protobuf:"bytes,5,opt,name=spot_orders_filter,json=spotOrdersFilter,proto3" json:"spot_orders_filter,omitempty"`
+ DerivativeOrdersFilter *OrdersFilter `protobuf:"bytes,6,opt,name=derivative_orders_filter,json=derivativeOrdersFilter,proto3" json:"derivative_orders_filter,omitempty"`
+ SpotOrderbooksFilter *OrderbookFilter `protobuf:"bytes,7,opt,name=spot_orderbooks_filter,json=spotOrderbooksFilter,proto3" json:"spot_orderbooks_filter,omitempty"`
+ DerivativeOrderbooksFilter *OrderbookFilter `protobuf:"bytes,8,opt,name=derivative_orderbooks_filter,json=derivativeOrderbooksFilter,proto3" json:"derivative_orderbooks_filter,omitempty"`
+ PositionsFilter *PositionsFilter `protobuf:"bytes,9,opt,name=positions_filter,json=positionsFilter,proto3" json:"positions_filter,omitempty"`
+ OraclePriceFilter *OraclePriceFilter `protobuf:"bytes,10,opt,name=oracle_price_filter,json=oraclePriceFilter,proto3" json:"oracle_price_filter,omitempty"`
+}
+
+func (m *StreamRequest) Reset() { *m = StreamRequest{} }
+func (m *StreamRequest) String() string { return proto.CompactTextString(m) }
+func (*StreamRequest) ProtoMessage() {}
+func (*StreamRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{0}
+}
+func (m *StreamRequest) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *StreamRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_StreamRequest.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *StreamRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_StreamRequest.Merge(m, src)
+}
+func (m *StreamRequest) XXX_Size() int {
+ return m.Size()
+}
+func (m *StreamRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_StreamRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_StreamRequest proto.InternalMessageInfo
+
+func (m *StreamRequest) GetBankBalancesFilter() *BankBalancesFilter {
+ if m != nil {
+ return m.BankBalancesFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetSubaccountDepositsFilter() *SubaccountDepositsFilter {
+ if m != nil {
+ return m.SubaccountDepositsFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetSpotTradesFilter() *TradesFilter {
+ if m != nil {
+ return m.SpotTradesFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetDerivativeTradesFilter() *TradesFilter {
+ if m != nil {
+ return m.DerivativeTradesFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetSpotOrdersFilter() *OrdersFilter {
+ if m != nil {
+ return m.SpotOrdersFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetDerivativeOrdersFilter() *OrdersFilter {
+ if m != nil {
+ return m.DerivativeOrdersFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetSpotOrderbooksFilter() *OrderbookFilter {
+ if m != nil {
+ return m.SpotOrderbooksFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetDerivativeOrderbooksFilter() *OrderbookFilter {
+ if m != nil {
+ return m.DerivativeOrderbooksFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetPositionsFilter() *PositionsFilter {
+ if m != nil {
+ return m.PositionsFilter
+ }
+ return nil
+}
+
+func (m *StreamRequest) GetOraclePriceFilter() *OraclePriceFilter {
+ if m != nil {
+ return m.OraclePriceFilter
+ }
+ return nil
+}
+
+type StreamResponse struct {
+ BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
+ BlockTime int64 `protobuf:"varint,2,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
+ BankBalances []*BankBalance `protobuf:"bytes,3,rep,name=bank_balances,json=bankBalances,proto3" json:"bank_balances,omitempty"`
+ SubaccountDeposits []*SubaccountDeposits `protobuf:"bytes,4,rep,name=subaccount_deposits,json=subaccountDeposits,proto3" json:"subaccount_deposits,omitempty"`
+ SpotTrades []*SpotTrade `protobuf:"bytes,5,rep,name=spot_trades,json=spotTrades,proto3" json:"spot_trades,omitempty"`
+ DerivativeTrades []*DerivativeTrade `protobuf:"bytes,6,rep,name=derivative_trades,json=derivativeTrades,proto3" json:"derivative_trades,omitempty"`
+ SpotOrders []*SpotOrderUpdate `protobuf:"bytes,7,rep,name=spot_orders,json=spotOrders,proto3" json:"spot_orders,omitempty"`
+ DerivativeOrders []*DerivativeOrderUpdate `protobuf:"bytes,8,rep,name=derivative_orders,json=derivativeOrders,proto3" json:"derivative_orders,omitempty"`
+ SpotOrderbookUpdates []*OrderbookUpdate `protobuf:"bytes,9,rep,name=spot_orderbook_updates,json=spotOrderbookUpdates,proto3" json:"spot_orderbook_updates,omitempty"`
+ DerivativeOrderbookUpdates []*OrderbookUpdate `protobuf:"bytes,10,rep,name=derivative_orderbook_updates,json=derivativeOrderbookUpdates,proto3" json:"derivative_orderbook_updates,omitempty"`
+ Positions []*Position `protobuf:"bytes,11,rep,name=positions,proto3" json:"positions,omitempty"`
+ OraclePrices []*OraclePrice `protobuf:"bytes,12,rep,name=oracle_prices,json=oraclePrices,proto3" json:"oracle_prices,omitempty"`
+}
+
+func (m *StreamResponse) Reset() { *m = StreamResponse{} }
+func (m *StreamResponse) String() string { return proto.CompactTextString(m) }
+func (*StreamResponse) ProtoMessage() {}
+func (*StreamResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{1}
+}
+func (m *StreamResponse) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *StreamResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_StreamResponse.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *StreamResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_StreamResponse.Merge(m, src)
+}
+func (m *StreamResponse) XXX_Size() int {
+ return m.Size()
+}
+func (m *StreamResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_StreamResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_StreamResponse proto.InternalMessageInfo
+
+func (m *StreamResponse) GetBlockHeight() uint64 {
+ if m != nil {
+ return m.BlockHeight
+ }
+ return 0
+}
+
+func (m *StreamResponse) GetBlockTime() int64 {
+ if m != nil {
+ return m.BlockTime
+ }
+ return 0
+}
+
+func (m *StreamResponse) GetBankBalances() []*BankBalance {
+ if m != nil {
+ return m.BankBalances
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetSubaccountDeposits() []*SubaccountDeposits {
+ if m != nil {
+ return m.SubaccountDeposits
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetSpotTrades() []*SpotTrade {
+ if m != nil {
+ return m.SpotTrades
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetDerivativeTrades() []*DerivativeTrade {
+ if m != nil {
+ return m.DerivativeTrades
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetSpotOrders() []*SpotOrderUpdate {
+ if m != nil {
+ return m.SpotOrders
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetDerivativeOrders() []*DerivativeOrderUpdate {
+ if m != nil {
+ return m.DerivativeOrders
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetSpotOrderbookUpdates() []*OrderbookUpdate {
+ if m != nil {
+ return m.SpotOrderbookUpdates
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetDerivativeOrderbookUpdates() []*OrderbookUpdate {
+ if m != nil {
+ return m.DerivativeOrderbookUpdates
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetPositions() []*Position {
+ if m != nil {
+ return m.Positions
+ }
+ return nil
+}
+
+func (m *StreamResponse) GetOraclePrices() []*OraclePrice {
+ if m != nil {
+ return m.OraclePrices
+ }
+ return nil
+}
+
+type OrderbookUpdate struct {
+ Seq uint64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
+ Orderbook *Orderbook `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+}
+
+func (m *OrderbookUpdate) Reset() { *m = OrderbookUpdate{} }
+func (m *OrderbookUpdate) String() string { return proto.CompactTextString(m) }
+func (*OrderbookUpdate) ProtoMessage() {}
+func (*OrderbookUpdate) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{2}
+}
+func (m *OrderbookUpdate) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *OrderbookUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_OrderbookUpdate.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *OrderbookUpdate) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_OrderbookUpdate.Merge(m, src)
+}
+func (m *OrderbookUpdate) XXX_Size() int {
+ return m.Size()
+}
+func (m *OrderbookUpdate) XXX_DiscardUnknown() {
+ xxx_messageInfo_OrderbookUpdate.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_OrderbookUpdate proto.InternalMessageInfo
+
+func (m *OrderbookUpdate) GetSeq() uint64 {
+ if m != nil {
+ return m.Seq
+ }
+ return 0
+}
+
+func (m *OrderbookUpdate) GetOrderbook() *Orderbook {
+ if m != nil {
+ return m.Orderbook
+ }
+ return nil
+}
+
+type Orderbook struct {
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ BuyLevels []*types.Level `protobuf:"bytes,2,rep,name=buy_levels,json=buyLevels,proto3" json:"buy_levels,omitempty"`
+ SellLevels []*types.Level `protobuf:"bytes,3,rep,name=sell_levels,json=sellLevels,proto3" json:"sell_levels,omitempty"`
+}
+
+func (m *Orderbook) Reset() { *m = Orderbook{} }
+func (m *Orderbook) String() string { return proto.CompactTextString(m) }
+func (*Orderbook) ProtoMessage() {}
+func (*Orderbook) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{3}
+}
+func (m *Orderbook) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Orderbook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Orderbook.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Orderbook) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Orderbook.Merge(m, src)
+}
+func (m *Orderbook) XXX_Size() int {
+ return m.Size()
+}
+func (m *Orderbook) XXX_DiscardUnknown() {
+ xxx_messageInfo_Orderbook.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Orderbook proto.InternalMessageInfo
+
+func (m *Orderbook) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *Orderbook) GetBuyLevels() []*types.Level {
+ if m != nil {
+ return m.BuyLevels
+ }
+ return nil
+}
+
+func (m *Orderbook) GetSellLevels() []*types.Level {
+ if m != nil {
+ return m.SellLevels
+ }
+ return nil
+}
+
+type BankBalance struct {
+ Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
+ Balances github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,2,rep,name=balances,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"balances"`
+}
+
+func (m *BankBalance) Reset() { *m = BankBalance{} }
+func (m *BankBalance) String() string { return proto.CompactTextString(m) }
+func (*BankBalance) ProtoMessage() {}
+func (*BankBalance) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{4}
+}
+func (m *BankBalance) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *BankBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_BankBalance.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *BankBalance) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_BankBalance.Merge(m, src)
+}
+func (m *BankBalance) XXX_Size() int {
+ return m.Size()
+}
+func (m *BankBalance) XXX_DiscardUnknown() {
+ xxx_messageInfo_BankBalance.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_BankBalance proto.InternalMessageInfo
+
+func (m *BankBalance) GetAccount() string {
+ if m != nil {
+ return m.Account
+ }
+ return ""
+}
+
+func (m *BankBalance) GetBalances() github_com_cosmos_cosmos_sdk_types.Coins {
+ if m != nil {
+ return m.Balances
+ }
+ return nil
+}
+
+type SubaccountDeposits struct {
+ SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ Deposits []SubaccountDeposit `protobuf:"bytes,2,rep,name=deposits,proto3" json:"deposits"`
+}
+
+func (m *SubaccountDeposits) Reset() { *m = SubaccountDeposits{} }
+func (m *SubaccountDeposits) String() string { return proto.CompactTextString(m) }
+func (*SubaccountDeposits) ProtoMessage() {}
+func (*SubaccountDeposits) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{5}
+}
+func (m *SubaccountDeposits) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SubaccountDeposits) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SubaccountDeposits.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SubaccountDeposits) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SubaccountDeposits.Merge(m, src)
+}
+func (m *SubaccountDeposits) XXX_Size() int {
+ return m.Size()
+}
+func (m *SubaccountDeposits) XXX_DiscardUnknown() {
+ xxx_messageInfo_SubaccountDeposits.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SubaccountDeposits proto.InternalMessageInfo
+
+func (m *SubaccountDeposits) GetSubaccountId() string {
+ if m != nil {
+ return m.SubaccountId
+ }
+ return ""
+}
+
+func (m *SubaccountDeposits) GetDeposits() []SubaccountDeposit {
+ if m != nil {
+ return m.Deposits
+ }
+ return nil
+}
+
+type SubaccountDeposit struct {
+ Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
+ Deposit types.Deposit `protobuf:"bytes,2,opt,name=deposit,proto3" json:"deposit"`
+}
+
+func (m *SubaccountDeposit) Reset() { *m = SubaccountDeposit{} }
+func (m *SubaccountDeposit) String() string { return proto.CompactTextString(m) }
+func (*SubaccountDeposit) ProtoMessage() {}
+func (*SubaccountDeposit) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{6}
+}
+func (m *SubaccountDeposit) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SubaccountDeposit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SubaccountDeposit.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SubaccountDeposit) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SubaccountDeposit.Merge(m, src)
+}
+func (m *SubaccountDeposit) XXX_Size() int {
+ return m.Size()
+}
+func (m *SubaccountDeposit) XXX_DiscardUnknown() {
+ xxx_messageInfo_SubaccountDeposit.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SubaccountDeposit proto.InternalMessageInfo
+
+func (m *SubaccountDeposit) GetDenom() string {
+ if m != nil {
+ return m.Denom
+ }
+ return ""
+}
+
+func (m *SubaccountDeposit) GetDeposit() types.Deposit {
+ if m != nil {
+ return m.Deposit
+ }
+ return types.Deposit{}
+}
+
+type SpotOrderUpdate struct {
+ Status OrderUpdateStatus `protobuf:"varint,1,opt,name=status,proto3,enum=injective.stream.v1beta1.OrderUpdateStatus" json:"status,omitempty"`
+ OrderHash []byte `protobuf:"bytes,2,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
+ Order *SpotOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"`
+}
+
+func (m *SpotOrderUpdate) Reset() { *m = SpotOrderUpdate{} }
+func (m *SpotOrderUpdate) String() string { return proto.CompactTextString(m) }
+func (*SpotOrderUpdate) ProtoMessage() {}
+func (*SpotOrderUpdate) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{7}
+}
+func (m *SpotOrderUpdate) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SpotOrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SpotOrderUpdate.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SpotOrderUpdate) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SpotOrderUpdate.Merge(m, src)
+}
+func (m *SpotOrderUpdate) XXX_Size() int {
+ return m.Size()
+}
+func (m *SpotOrderUpdate) XXX_DiscardUnknown() {
+ xxx_messageInfo_SpotOrderUpdate.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SpotOrderUpdate proto.InternalMessageInfo
+
+func (m *SpotOrderUpdate) GetStatus() OrderUpdateStatus {
+ if m != nil {
+ return m.Status
+ }
+ return OrderUpdateStatus_Unspecified
+}
+
+func (m *SpotOrderUpdate) GetOrderHash() []byte {
+ if m != nil {
+ return m.OrderHash
+ }
+ return nil
+}
+
+func (m *SpotOrderUpdate) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
+func (m *SpotOrderUpdate) GetOrder() *SpotOrder {
+ if m != nil {
+ return m.Order
+ }
+ return nil
+}
+
+type SpotOrder struct {
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ Order types.SpotLimitOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
+}
+
+func (m *SpotOrder) Reset() { *m = SpotOrder{} }
+func (m *SpotOrder) String() string { return proto.CompactTextString(m) }
+func (*SpotOrder) ProtoMessage() {}
+func (*SpotOrder) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{8}
+}
+func (m *SpotOrder) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SpotOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SpotOrder.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SpotOrder) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SpotOrder.Merge(m, src)
+}
+func (m *SpotOrder) XXX_Size() int {
+ return m.Size()
+}
+func (m *SpotOrder) XXX_DiscardUnknown() {
+ xxx_messageInfo_SpotOrder.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SpotOrder proto.InternalMessageInfo
+
+func (m *SpotOrder) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *SpotOrder) GetOrder() types.SpotLimitOrder {
+ if m != nil {
+ return m.Order
+ }
+ return types.SpotLimitOrder{}
+}
+
+type DerivativeOrderUpdate struct {
+ Status OrderUpdateStatus `protobuf:"varint,1,opt,name=status,proto3,enum=injective.stream.v1beta1.OrderUpdateStatus" json:"status,omitempty"`
+ OrderHash []byte `protobuf:"bytes,2,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ Cid string `protobuf:"bytes,3,opt,name=cid,proto3" json:"cid,omitempty"`
+ Order *DerivativeOrder `protobuf:"bytes,4,opt,name=order,proto3" json:"order,omitempty"`
+}
+
+func (m *DerivativeOrderUpdate) Reset() { *m = DerivativeOrderUpdate{} }
+func (m *DerivativeOrderUpdate) String() string { return proto.CompactTextString(m) }
+func (*DerivativeOrderUpdate) ProtoMessage() {}
+func (*DerivativeOrderUpdate) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{9}
+}
+func (m *DerivativeOrderUpdate) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *DerivativeOrderUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_DerivativeOrderUpdate.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *DerivativeOrderUpdate) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_DerivativeOrderUpdate.Merge(m, src)
+}
+func (m *DerivativeOrderUpdate) XXX_Size() int {
+ return m.Size()
+}
+func (m *DerivativeOrderUpdate) XXX_DiscardUnknown() {
+ xxx_messageInfo_DerivativeOrderUpdate.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DerivativeOrderUpdate proto.InternalMessageInfo
+
+func (m *DerivativeOrderUpdate) GetStatus() OrderUpdateStatus {
+ if m != nil {
+ return m.Status
+ }
+ return OrderUpdateStatus_Unspecified
+}
+
+func (m *DerivativeOrderUpdate) GetOrderHash() []byte {
+ if m != nil {
+ return m.OrderHash
+ }
+ return nil
+}
+
+func (m *DerivativeOrderUpdate) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
+func (m *DerivativeOrderUpdate) GetOrder() *DerivativeOrder {
+ if m != nil {
+ return m.Order
+ }
+ return nil
+}
+
+type DerivativeOrder struct {
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ Order types.DerivativeLimitOrder `protobuf:"bytes,2,opt,name=order,proto3" json:"order"`
+ IsMarket bool `protobuf:"varint,3,opt,name=is_market,json=isMarket,proto3" json:"is_market,omitempty"`
+}
+
+func (m *DerivativeOrder) Reset() { *m = DerivativeOrder{} }
+func (m *DerivativeOrder) String() string { return proto.CompactTextString(m) }
+func (*DerivativeOrder) ProtoMessage() {}
+func (*DerivativeOrder) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{10}
+}
+func (m *DerivativeOrder) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *DerivativeOrder) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_DerivativeOrder.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *DerivativeOrder) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_DerivativeOrder.Merge(m, src)
+}
+func (m *DerivativeOrder) XXX_Size() int {
+ return m.Size()
+}
+func (m *DerivativeOrder) XXX_DiscardUnknown() {
+ xxx_messageInfo_DerivativeOrder.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DerivativeOrder proto.InternalMessageInfo
+
+func (m *DerivativeOrder) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *DerivativeOrder) GetOrder() types.DerivativeLimitOrder {
+ if m != nil {
+ return m.Order
+ }
+ return types.DerivativeLimitOrder{}
+}
+
+func (m *DerivativeOrder) GetIsMarket() bool {
+ if m != nil {
+ return m.IsMarket
+ }
+ return false
+}
+
+type Position struct {
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ IsLong bool `protobuf:"varint,3,opt,name=isLong,proto3" json:"isLong,omitempty"`
+ Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
+ EntryPrice github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=entry_price,json=entryPrice,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"entry_price"`
+ Margin github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=margin,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"margin"`
+ CumulativeFundingEntry github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=cumulative_funding_entry,json=cumulativeFundingEntry,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"cumulative_funding_entry"`
+}
+
+func (m *Position) Reset() { *m = Position{} }
+func (m *Position) String() string { return proto.CompactTextString(m) }
+func (*Position) ProtoMessage() {}
+func (*Position) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{11}
+}
+func (m *Position) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *Position) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_Position.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *Position) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_Position.Merge(m, src)
+}
+func (m *Position) XXX_Size() int {
+ return m.Size()
+}
+func (m *Position) XXX_DiscardUnknown() {
+ xxx_messageInfo_Position.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_Position proto.InternalMessageInfo
+
+func (m *Position) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *Position) GetSubaccountId() string {
+ if m != nil {
+ return m.SubaccountId
+ }
+ return ""
+}
+
+func (m *Position) GetIsLong() bool {
+ if m != nil {
+ return m.IsLong
+ }
+ return false
+}
+
+type OraclePrice struct {
+ Symbol string `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
+ Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,2,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
+ Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
+}
+
+func (m *OraclePrice) Reset() { *m = OraclePrice{} }
+func (m *OraclePrice) String() string { return proto.CompactTextString(m) }
+func (*OraclePrice) ProtoMessage() {}
+func (*OraclePrice) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{12}
+}
+func (m *OraclePrice) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *OraclePrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_OraclePrice.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *OraclePrice) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_OraclePrice.Merge(m, src)
+}
+func (m *OraclePrice) XXX_Size() int {
+ return m.Size()
+}
+func (m *OraclePrice) XXX_DiscardUnknown() {
+ xxx_messageInfo_OraclePrice.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_OraclePrice proto.InternalMessageInfo
+
+func (m *OraclePrice) GetSymbol() string {
+ if m != nil {
+ return m.Symbol
+ }
+ return ""
+}
+
+func (m *OraclePrice) GetType() string {
+ if m != nil {
+ return m.Type
+ }
+ return ""
+}
+
+type SpotTrade struct {
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ IsBuy bool `protobuf:"varint,2,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"`
+ ExecutionType string `protobuf:"bytes,3,opt,name=executionType,proto3" json:"executionType,omitempty"`
+ Quantity github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,4,opt,name=quantity,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"quantity"`
+ Price github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,5,opt,name=price,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"price"`
+ // bytes32 subaccount ID that executed the trade
+ SubaccountId string `protobuf:"bytes,6,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
+ OrderHash []byte `protobuf:"bytes,8,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ FeeRecipientAddress string `protobuf:"bytes,9,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"`
+ Cid string `protobuf:"bytes,10,opt,name=cid,proto3" json:"cid,omitempty"`
+ TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+}
+
+func (m *SpotTrade) Reset() { *m = SpotTrade{} }
+func (m *SpotTrade) String() string { return proto.CompactTextString(m) }
+func (*SpotTrade) ProtoMessage() {}
+func (*SpotTrade) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{13}
+}
+func (m *SpotTrade) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SpotTrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SpotTrade.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SpotTrade) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SpotTrade.Merge(m, src)
+}
+func (m *SpotTrade) XXX_Size() int {
+ return m.Size()
+}
+func (m *SpotTrade) XXX_DiscardUnknown() {
+ xxx_messageInfo_SpotTrade.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SpotTrade proto.InternalMessageInfo
+
+func (m *SpotTrade) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *SpotTrade) GetIsBuy() bool {
+ if m != nil {
+ return m.IsBuy
+ }
+ return false
+}
+
+func (m *SpotTrade) GetExecutionType() string {
+ if m != nil {
+ return m.ExecutionType
+ }
+ return ""
+}
+
+func (m *SpotTrade) GetSubaccountId() string {
+ if m != nil {
+ return m.SubaccountId
+ }
+ return ""
+}
+
+func (m *SpotTrade) GetOrderHash() []byte {
+ if m != nil {
+ return m.OrderHash
+ }
+ return nil
+}
+
+func (m *SpotTrade) GetFeeRecipientAddress() string {
+ if m != nil {
+ return m.FeeRecipientAddress
+ }
+ return ""
+}
+
+func (m *SpotTrade) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
+func (m *SpotTrade) GetTradeId() string {
+ if m != nil {
+ return m.TradeId
+ }
+ return ""
+}
+
+type DerivativeTrade struct {
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ IsBuy bool `protobuf:"varint,2,opt,name=is_buy,json=isBuy,proto3" json:"is_buy,omitempty"`
+ ExecutionType string `protobuf:"bytes,3,opt,name=executionType,proto3" json:"executionType,omitempty"`
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ PositionDelta *types.PositionDelta `protobuf:"bytes,5,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"`
+ Payout github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,6,opt,name=payout,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"payout"`
+ Fee github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,7,opt,name=fee,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"fee"`
+ OrderHash string `protobuf:"bytes,8,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ FeeRecipientAddress string `protobuf:"bytes,9,opt,name=fee_recipient_address,json=feeRecipientAddress,proto3" json:"fee_recipient_address,omitempty"`
+ Cid string `protobuf:"bytes,10,opt,name=cid,proto3" json:"cid,omitempty"`
+ TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+}
+
+func (m *DerivativeTrade) Reset() { *m = DerivativeTrade{} }
+func (m *DerivativeTrade) String() string { return proto.CompactTextString(m) }
+func (*DerivativeTrade) ProtoMessage() {}
+func (*DerivativeTrade) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{14}
+}
+func (m *DerivativeTrade) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *DerivativeTrade) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_DerivativeTrade.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *DerivativeTrade) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_DerivativeTrade.Merge(m, src)
+}
+func (m *DerivativeTrade) XXX_Size() int {
+ return m.Size()
+}
+func (m *DerivativeTrade) XXX_DiscardUnknown() {
+ xxx_messageInfo_DerivativeTrade.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_DerivativeTrade proto.InternalMessageInfo
+
+func (m *DerivativeTrade) GetMarketId() string {
+ if m != nil {
+ return m.MarketId
+ }
+ return ""
+}
+
+func (m *DerivativeTrade) GetIsBuy() bool {
+ if m != nil {
+ return m.IsBuy
+ }
+ return false
+}
+
+func (m *DerivativeTrade) GetExecutionType() string {
+ if m != nil {
+ return m.ExecutionType
+ }
+ return ""
+}
+
+func (m *DerivativeTrade) GetSubaccountId() string {
+ if m != nil {
+ return m.SubaccountId
+ }
+ return ""
+}
+
+func (m *DerivativeTrade) GetPositionDelta() *types.PositionDelta {
+ if m != nil {
+ return m.PositionDelta
+ }
+ return nil
+}
+
+func (m *DerivativeTrade) GetOrderHash() string {
+ if m != nil {
+ return m.OrderHash
+ }
+ return ""
+}
+
+func (m *DerivativeTrade) GetFeeRecipientAddress() string {
+ if m != nil {
+ return m.FeeRecipientAddress
+ }
+ return ""
+}
+
+func (m *DerivativeTrade) GetCid() string {
+ if m != nil {
+ return m.Cid
+ }
+ return ""
+}
+
+func (m *DerivativeTrade) GetTradeId() string {
+ if m != nil {
+ return m.TradeId
+ }
+ return ""
+}
+
+type TradesFilter struct {
+ SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+}
+
+func (m *TradesFilter) Reset() { *m = TradesFilter{} }
+func (m *TradesFilter) String() string { return proto.CompactTextString(m) }
+func (*TradesFilter) ProtoMessage() {}
+func (*TradesFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{15}
+}
+func (m *TradesFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *TradesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_TradesFilter.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *TradesFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_TradesFilter.Merge(m, src)
+}
+func (m *TradesFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *TradesFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_TradesFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_TradesFilter proto.InternalMessageInfo
+
+func (m *TradesFilter) GetSubaccountIds() []string {
+ if m != nil {
+ return m.SubaccountIds
+ }
+ return nil
+}
+
+func (m *TradesFilter) GetMarketIds() []string {
+ if m != nil {
+ return m.MarketIds
+ }
+ return nil
+}
+
+type PositionsFilter struct {
+ SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+}
+
+func (m *PositionsFilter) Reset() { *m = PositionsFilter{} }
+func (m *PositionsFilter) String() string { return proto.CompactTextString(m) }
+func (*PositionsFilter) ProtoMessage() {}
+func (*PositionsFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{16}
+}
+func (m *PositionsFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *PositionsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_PositionsFilter.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *PositionsFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_PositionsFilter.Merge(m, src)
+}
+func (m *PositionsFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *PositionsFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_PositionsFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_PositionsFilter proto.InternalMessageInfo
+
+func (m *PositionsFilter) GetSubaccountIds() []string {
+ if m != nil {
+ return m.SubaccountIds
+ }
+ return nil
+}
+
+func (m *PositionsFilter) GetMarketIds() []string {
+ if m != nil {
+ return m.MarketIds
+ }
+ return nil
+}
+
+type OrdersFilter struct {
+ SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ MarketIds []string `protobuf:"bytes,2,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+}
+
+func (m *OrdersFilter) Reset() { *m = OrdersFilter{} }
+func (m *OrdersFilter) String() string { return proto.CompactTextString(m) }
+func (*OrdersFilter) ProtoMessage() {}
+func (*OrdersFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{17}
+}
+func (m *OrdersFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *OrdersFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_OrdersFilter.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *OrdersFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_OrdersFilter.Merge(m, src)
+}
+func (m *OrdersFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *OrdersFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_OrdersFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_OrdersFilter proto.InternalMessageInfo
+
+func (m *OrdersFilter) GetSubaccountIds() []string {
+ if m != nil {
+ return m.SubaccountIds
+ }
+ return nil
+}
+
+func (m *OrdersFilter) GetMarketIds() []string {
+ if m != nil {
+ return m.MarketIds
+ }
+ return nil
+}
+
+type OrderbookFilter struct {
+ MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+}
+
+func (m *OrderbookFilter) Reset() { *m = OrderbookFilter{} }
+func (m *OrderbookFilter) String() string { return proto.CompactTextString(m) }
+func (*OrderbookFilter) ProtoMessage() {}
+func (*OrderbookFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{18}
+}
+func (m *OrderbookFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *OrderbookFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_OrderbookFilter.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *OrderbookFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_OrderbookFilter.Merge(m, src)
+}
+func (m *OrderbookFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *OrderbookFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_OrderbookFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_OrderbookFilter proto.InternalMessageInfo
+
+func (m *OrderbookFilter) GetMarketIds() []string {
+ if m != nil {
+ return m.MarketIds
+ }
+ return nil
+}
+
+type BankBalancesFilter struct {
+ Accounts []string `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"`
+}
+
+func (m *BankBalancesFilter) Reset() { *m = BankBalancesFilter{} }
+func (m *BankBalancesFilter) String() string { return proto.CompactTextString(m) }
+func (*BankBalancesFilter) ProtoMessage() {}
+func (*BankBalancesFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{19}
+}
+func (m *BankBalancesFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *BankBalancesFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_BankBalancesFilter.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *BankBalancesFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_BankBalancesFilter.Merge(m, src)
+}
+func (m *BankBalancesFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *BankBalancesFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_BankBalancesFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_BankBalancesFilter proto.InternalMessageInfo
+
+func (m *BankBalancesFilter) GetAccounts() []string {
+ if m != nil {
+ return m.Accounts
+ }
+ return nil
+}
+
+type SubaccountDepositsFilter struct {
+ SubaccountIds []string `protobuf:"bytes,1,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+}
+
+func (m *SubaccountDepositsFilter) Reset() { *m = SubaccountDepositsFilter{} }
+func (m *SubaccountDepositsFilter) String() string { return proto.CompactTextString(m) }
+func (*SubaccountDepositsFilter) ProtoMessage() {}
+func (*SubaccountDepositsFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{20}
+}
+func (m *SubaccountDepositsFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *SubaccountDepositsFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_SubaccountDepositsFilter.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *SubaccountDepositsFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_SubaccountDepositsFilter.Merge(m, src)
+}
+func (m *SubaccountDepositsFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *SubaccountDepositsFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_SubaccountDepositsFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_SubaccountDepositsFilter proto.InternalMessageInfo
+
+func (m *SubaccountDepositsFilter) GetSubaccountIds() []string {
+ if m != nil {
+ return m.SubaccountIds
+ }
+ return nil
+}
+
+type OraclePriceFilter struct {
+ Symbol []string `protobuf:"bytes,1,rep,name=symbol,proto3" json:"symbol,omitempty"`
+}
+
+func (m *OraclePriceFilter) Reset() { *m = OraclePriceFilter{} }
+func (m *OraclePriceFilter) String() string { return proto.CompactTextString(m) }
+func (*OraclePriceFilter) ProtoMessage() {}
+func (*OraclePriceFilter) Descriptor() ([]byte, []int) {
+ return fileDescriptor_e23b7dcfb2fbc9c7, []int{21}
+}
+func (m *OraclePriceFilter) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *OraclePriceFilter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_OraclePriceFilter.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *OraclePriceFilter) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_OraclePriceFilter.Merge(m, src)
+}
+func (m *OraclePriceFilter) XXX_Size() int {
+ return m.Size()
+}
+func (m *OraclePriceFilter) XXX_DiscardUnknown() {
+ xxx_messageInfo_OraclePriceFilter.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_OraclePriceFilter proto.InternalMessageInfo
+
+func (m *OraclePriceFilter) GetSymbol() []string {
+ if m != nil {
+ return m.Symbol
+ }
+ return nil
+}
+
+func init() {
+ proto.RegisterEnum("injective.stream.v1beta1.OrderUpdateStatus", OrderUpdateStatus_name, OrderUpdateStatus_value)
+ proto.RegisterType((*StreamRequest)(nil), "injective.stream.v1beta1.StreamRequest")
+ proto.RegisterType((*StreamResponse)(nil), "injective.stream.v1beta1.StreamResponse")
+ proto.RegisterType((*OrderbookUpdate)(nil), "injective.stream.v1beta1.OrderbookUpdate")
+ proto.RegisterType((*Orderbook)(nil), "injective.stream.v1beta1.Orderbook")
+ proto.RegisterType((*BankBalance)(nil), "injective.stream.v1beta1.BankBalance")
+ proto.RegisterType((*SubaccountDeposits)(nil), "injective.stream.v1beta1.SubaccountDeposits")
+ proto.RegisterType((*SubaccountDeposit)(nil), "injective.stream.v1beta1.SubaccountDeposit")
+ proto.RegisterType((*SpotOrderUpdate)(nil), "injective.stream.v1beta1.SpotOrderUpdate")
+ proto.RegisterType((*SpotOrder)(nil), "injective.stream.v1beta1.SpotOrder")
+ proto.RegisterType((*DerivativeOrderUpdate)(nil), "injective.stream.v1beta1.DerivativeOrderUpdate")
+ proto.RegisterType((*DerivativeOrder)(nil), "injective.stream.v1beta1.DerivativeOrder")
+ proto.RegisterType((*Position)(nil), "injective.stream.v1beta1.Position")
+ proto.RegisterType((*OraclePrice)(nil), "injective.stream.v1beta1.OraclePrice")
+ proto.RegisterType((*SpotTrade)(nil), "injective.stream.v1beta1.SpotTrade")
+ proto.RegisterType((*DerivativeTrade)(nil), "injective.stream.v1beta1.DerivativeTrade")
+ proto.RegisterType((*TradesFilter)(nil), "injective.stream.v1beta1.TradesFilter")
+ proto.RegisterType((*PositionsFilter)(nil), "injective.stream.v1beta1.PositionsFilter")
+ proto.RegisterType((*OrdersFilter)(nil), "injective.stream.v1beta1.OrdersFilter")
+ proto.RegisterType((*OrderbookFilter)(nil), "injective.stream.v1beta1.OrderbookFilter")
+ proto.RegisterType((*BankBalancesFilter)(nil), "injective.stream.v1beta1.BankBalancesFilter")
+ proto.RegisterType((*SubaccountDepositsFilter)(nil), "injective.stream.v1beta1.SubaccountDepositsFilter")
+ proto.RegisterType((*OraclePriceFilter)(nil), "injective.stream.v1beta1.OraclePriceFilter")
+}
+
+func init() {
+ proto.RegisterFile("injective/stream/v1beta1/query.proto", fileDescriptor_e23b7dcfb2fbc9c7)
+}
+
+var fileDescriptor_e23b7dcfb2fbc9c7 = []byte{
+ // 1630 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x58, 0x4b, 0x73, 0xdb, 0x46,
+ 0x12, 0x16, 0x44, 0x89, 0x22, 0x9a, 0x94, 0x44, 0x8d, 0x65, 0x15, 0xac, 0xdd, 0x95, 0x6c, 0xc8,
+ 0x0f, 0xc9, 0x0f, 0x52, 0xd6, 0x5e, 0x76, 0x4f, 0x6b, 0x53, 0x5a, 0x95, 0xe5, 0x92, 0xcb, 0x2e,
+ 0x48, 0xde, 0xad, 0x72, 0xad, 0x17, 0x85, 0xc7, 0x90, 0xc4, 0x92, 0x04, 0x28, 0x0c, 0xa0, 0x32,
+ 0x4f, 0x7b, 0xcd, 0x29, 0xe5, 0x6b, 0x8e, 0xb9, 0xe6, 0x90, 0x4b, 0xfe, 0x41, 0x4e, 0x3e, 0xa5,
+ 0x7c, 0x4c, 0xe5, 0xe0, 0xa4, 0xec, 0xfc, 0x82, 0xfc, 0x82, 0xd4, 0x3c, 0x00, 0x02, 0x20, 0x45,
+ 0x52, 0x8a, 0x5d, 0x3e, 0x11, 0x18, 0x74, 0x7f, 0xdf, 0x74, 0xcf, 0xf4, 0x37, 0xcd, 0x81, 0xeb,
+ 0x8e, 0xfb, 0x3f, 0x6c, 0x05, 0xce, 0x29, 0xae, 0x92, 0xc0, 0xc7, 0x46, 0xa7, 0x7a, 0x7a, 0xdf,
+ 0xc4, 0x81, 0x71, 0xbf, 0x7a, 0x12, 0x62, 0xbf, 0x57, 0xe9, 0xfa, 0x5e, 0xe0, 0x21, 0x25, 0xb6,
+ 0xaa, 0x70, 0xab, 0x8a, 0xb0, 0x5a, 0x5d, 0xb3, 0x3c, 0xd2, 0xf1, 0x48, 0xd5, 0x34, 0x08, 0x8e,
+ 0x5d, 0x2d, 0xcf, 0x71, 0xb9, 0xe7, 0xea, 0x72, 0xc3, 0x6b, 0x78, 0xec, 0xb1, 0x4a, 0x9f, 0xc4,
+ 0xe8, 0xad, 0x3e, 0x2b, 0x7e, 0x65, 0x35, 0x0d, 0xb7, 0xd1, 0x77, 0xc6, 0xa7, 0xd8, 0x0d, 0x88,
+ 0x30, 0xdc, 0x1a, 0x65, 0x28, 0x06, 0xb8, 0xa9, 0xfa, 0x65, 0x01, 0xe6, 0x8f, 0xd8, 0xe4, 0x34,
+ 0x7c, 0x12, 0x62, 0x12, 0x20, 0x1b, 0x96, 0x4d, 0xc3, 0x6d, 0xe9, 0xa6, 0xd1, 0x36, 0x5c, 0x0b,
+ 0x13, 0xbd, 0xee, 0xb4, 0x03, 0xec, 0x2b, 0xd2, 0x55, 0x69, 0xb3, 0xb8, 0x73, 0xb7, 0x72, 0x56,
+ 0x50, 0x95, 0x9a, 0xe1, 0xb6, 0x6a, 0xc2, 0x69, 0x9f, 0xf9, 0xd4, 0x66, 0xde, 0xbc, 0x5b, 0x97,
+ 0x34, 0x64, 0x0e, 0x7c, 0x41, 0xa7, 0xb0, 0x4a, 0x42, 0xd3, 0xb0, 0x2c, 0x2f, 0x74, 0x03, 0xdd,
+ 0xc6, 0x5d, 0x8f, 0x38, 0x41, 0xcc, 0x35, 0xcd, 0xb8, 0x76, 0xce, 0xe6, 0x3a, 0x8a, 0x7d, 0xf7,
+ 0x84, 0x6b, 0x8a, 0x51, 0x21, 0x67, 0x7c, 0x47, 0x2f, 0x00, 0x91, 0xae, 0x17, 0xe8, 0x81, 0x6f,
+ 0xd8, 0xfd, 0xd8, 0x72, 0x8c, 0xef, 0xe6, 0xd9, 0x7c, 0xc7, 0xcc, 0x3c, 0xc5, 0x51, 0xa6, 0x38,
+ 0xc9, 0x71, 0x54, 0x07, 0xc5, 0xc6, 0xbe, 0x73, 0x6a, 0x50, 0x84, 0x0c, 0xc3, 0xcc, 0x05, 0x18,
+ 0x56, 0xfa, 0x68, 0x29, 0x9e, 0x28, 0x06, 0xcf, 0xb7, 0xb1, 0x1f, 0x33, 0xcc, 0x8e, 0x63, 0x78,
+ 0xca, 0xcc, 0x07, 0x63, 0x48, 0x8e, 0x67, 0x62, 0x48, 0x33, 0xe4, 0x2f, 0xc0, 0x90, 0x88, 0x21,
+ 0xc5, 0x83, 0x61, 0xa5, 0x1f, 0x83, 0xe9, 0x79, 0xad, 0x98, 0x65, 0x8e, 0xb1, 0x6c, 0x8d, 0x61,
+ 0xa1, 0x2e, 0x29, 0xa2, 0xe5, 0x38, 0x14, 0x86, 0x26, 0x68, 0x4e, 0xe0, 0xcf, 0xd9, 0x70, 0x52,
+ 0x64, 0x85, 0x8b, 0x91, 0xad, 0x66, 0xa2, 0x4a, 0x52, 0xbe, 0x80, 0x32, 0xdb, 0x71, 0x8e, 0xe7,
+ 0xc6, 0x34, 0xf2, 0x38, 0x9a, 0x67, 0x91, 0x47, 0x8a, 0x66, 0xb1, 0x9b, 0x1e, 0x46, 0x06, 0x5c,
+ 0xf2, 0x7c, 0xc3, 0x6a, 0x63, 0xbd, 0xeb, 0x3b, 0x16, 0x8e, 0xe0, 0x81, 0xc1, 0xdf, 0x19, 0x15,
+ 0x05, 0x75, 0x7a, 0x46, 0x7d, 0x52, 0x04, 0x4b, 0x5e, 0xf6, 0x83, 0xfa, 0xf5, 0x1c, 0x2c, 0x44,
+ 0x82, 0x40, 0xba, 0x9e, 0x4b, 0x30, 0xba, 0x06, 0x25, 0xb3, 0xed, 0x59, 0x2d, 0xbd, 0x89, 0x9d,
+ 0x46, 0x33, 0x60, 0x4a, 0x30, 0xa3, 0x15, 0xd9, 0xd8, 0x23, 0x36, 0x84, 0xfe, 0x02, 0xc0, 0x4d,
+ 0x02, 0xa7, 0x83, 0x59, 0xf9, 0xe6, 0x34, 0x99, 0x8d, 0x1c, 0x3b, 0x1d, 0x8c, 0x1e, 0xc3, 0x7c,
+ 0x4a, 0x53, 0x94, 0xdc, 0xd5, 0xdc, 0x66, 0x71, 0xe7, 0xc6, 0x44, 0x62, 0xa2, 0x95, 0x92, 0xfa,
+ 0x81, 0x5e, 0xc2, 0xa5, 0x21, 0xca, 0xa1, 0xcc, 0x30, 0xc4, 0xbb, 0xe7, 0x91, 0x0c, 0x0d, 0x0d,
+ 0xca, 0x04, 0xda, 0x83, 0x62, 0x42, 0x20, 0x94, 0x59, 0x06, 0xbb, 0x31, 0x02, 0x36, 0x52, 0x01,
+ 0x0d, 0xfa, 0x82, 0x80, 0xfe, 0x05, 0x4b, 0x03, 0x52, 0xa0, 0xe4, 0x19, 0xd6, 0x88, 0x5d, 0xb0,
+ 0x97, 0xae, 0x77, 0xad, 0x9c, 0x15, 0x00, 0xf4, 0x58, 0xcc, 0x8e, 0x17, 0xa6, 0x32, 0x37, 0x0e,
+ 0xf1, 0x28, 0x2a, 0x8a, 0xe7, 0x5d, 0xdb, 0x08, 0xc4, 0x1c, 0x79, 0x21, 0xa2, 0xff, 0xa4, 0xe6,
+ 0x28, 0x10, 0x0b, 0x0c, 0xb1, 0x3a, 0xc9, 0x1c, 0x93, 0xb8, 0xe5, 0x6c, 0x99, 0x23, 0x3d, 0x5b,
+ 0xe0, 0x7a, 0xc8, 0x4c, 0x89, 0x22, 0x8f, 0x9b, 0x74, 0x5c, 0x52, 0x02, 0x3c, 0x5d, 0xda, 0x7c,
+ 0x90, 0xa0, 0xd6, 0xf0, 0xd2, 0x8e, 0x69, 0xe0, 0xbc, 0x34, 0xc3, 0x8a, 0x3a, 0x22, 0x7b, 0x00,
+ 0x72, 0x5c, 0x8b, 0x4a, 0x91, 0x21, 0xab, 0xe3, 0xab, 0x59, 0xeb, 0x3b, 0xd1, 0x12, 0x48, 0x96,
+ 0x2e, 0x51, 0x4a, 0xe3, 0x4a, 0x20, 0x51, 0xb4, 0x5a, 0x29, 0x51, 0xa8, 0x44, 0xad, 0xc3, 0x62,
+ 0x66, 0x86, 0xa8, 0x0c, 0x39, 0x82, 0x4f, 0x44, 0x69, 0xd2, 0x47, 0xf4, 0x10, 0xe4, 0x38, 0x29,
+ 0xe2, 0x40, 0xdd, 0x98, 0x20, 0x19, 0x5a, 0xdf, 0x4b, 0xfd, 0x56, 0x02, 0x39, 0xfe, 0x80, 0xfe,
+ 0x04, 0x72, 0xc7, 0xf0, 0x5b, 0x38, 0xd0, 0x1d, 0x9b, 0x11, 0xc9, 0x5a, 0x81, 0x0f, 0x1c, 0xd8,
+ 0xe8, 0x01, 0x80, 0x19, 0xf6, 0xf4, 0x36, 0x3e, 0xc5, 0x6d, 0xa2, 0x4c, 0xb3, 0xd8, 0xae, 0x25,
+ 0xe8, 0xe2, 0xb6, 0x23, 0x22, 0x3c, 0xa4, 0x96, 0x9a, 0x6c, 0x86, 0x3d, 0xf6, 0x44, 0x50, 0x0d,
+ 0x8a, 0x04, 0xb7, 0xdb, 0x11, 0x44, 0x6e, 0x52, 0x08, 0xa0, 0x5e, 0x1c, 0x43, 0x7d, 0x2d, 0x41,
+ 0x31, 0xa1, 0x1c, 0x48, 0x81, 0x39, 0x51, 0xdf, 0x62, 0xc2, 0xd1, 0x2b, 0x6a, 0x40, 0x21, 0x16,
+ 0x23, 0x3e, 0xdb, 0x2b, 0x15, 0xde, 0x94, 0x55, 0x68, 0x53, 0x16, 0x73, 0xec, 0x7a, 0x8e, 0x5b,
+ 0xdb, 0x7e, 0xf3, 0x6e, 0x7d, 0xea, 0x9b, 0x9f, 0xd7, 0x37, 0x1b, 0x4e, 0xd0, 0x0c, 0xcd, 0x8a,
+ 0xe5, 0x75, 0xaa, 0xa2, 0x83, 0xe3, 0x3f, 0xf7, 0x88, 0xdd, 0xaa, 0x06, 0xbd, 0x2e, 0x26, 0xcc,
+ 0x81, 0x68, 0x31, 0xb8, 0xfa, 0x85, 0x04, 0x68, 0x50, 0x7a, 0xd0, 0x06, 0xcc, 0x27, 0x54, 0x2c,
+ 0x4e, 0x68, 0xa9, 0x3f, 0x78, 0x60, 0xa3, 0x27, 0x50, 0x88, 0xf5, 0x8d, 0x4f, 0xf2, 0xce, 0x39,
+ 0xf4, 0x8d, 0x69, 0xfc, 0x94, 0x16, 0x43, 0xa8, 0x2e, 0x2c, 0x0d, 0x18, 0xa1, 0x65, 0x98, 0xb5,
+ 0xb1, 0xeb, 0x75, 0xc4, 0x04, 0xf8, 0x0b, 0xda, 0x85, 0x39, 0xe1, 0x36, 0x64, 0xeb, 0x0c, 0x2c,
+ 0x44, 0x9a, 0x30, 0xf2, 0x54, 0xbf, 0x97, 0x60, 0x31, 0x23, 0x40, 0x68, 0x17, 0xf2, 0x24, 0x30,
+ 0x82, 0x90, 0x30, 0xbe, 0x85, 0xd1, 0x87, 0x56, 0xec, 0x76, 0xc4, 0x5c, 0x34, 0xe1, 0x4a, 0x4f,
+ 0x1b, 0xb6, 0x49, 0xf5, 0xa6, 0x41, 0x9a, 0x6c, 0x82, 0x25, 0xb1, 0x6d, 0x1f, 0x19, 0xa4, 0x49,
+ 0x6b, 0xc1, 0x72, 0x6c, 0xd6, 0xd4, 0xc9, 0x1a, 0x7d, 0x44, 0x7f, 0x87, 0x59, 0xf6, 0x59, 0xb4,
+ 0x61, 0x1b, 0x13, 0x08, 0xa6, 0xc6, 0x3d, 0xd4, 0x2e, 0xc8, 0xf1, 0xd8, 0xe8, 0x12, 0xd8, 0x8f,
+ 0x48, 0x78, 0xc6, 0x6e, 0x8f, 0xca, 0x18, 0x85, 0x3c, 0x74, 0x3a, 0x0e, 0xc7, 0x15, 0x89, 0x13,
+ 0x8c, 0x3f, 0x48, 0x70, 0x79, 0xa8, 0xca, 0x7e, 0xa6, 0xe4, 0xfd, 0x23, 0x9d, 0xbc, 0xad, 0x89,
+ 0xcf, 0x86, 0x28, 0xa0, 0xaf, 0x24, 0x58, 0xcc, 0x7c, 0x1a, 0x9d, 0xc9, 0xc3, 0x74, 0x26, 0xb7,
+ 0x47, 0xef, 0xbd, 0x08, 0xf8, 0x8c, 0x7c, 0x52, 0x2a, 0x87, 0xe8, 0x1c, 0x9c, 0xc5, 0x55, 0xd0,
+ 0x0a, 0x0e, 0x79, 0xc2, 0xde, 0xd5, 0xef, 0x72, 0x50, 0x88, 0xe4, 0x7a, 0xf4, 0xa4, 0x06, 0x2a,
+ 0x76, 0x7a, 0x48, 0xc5, 0xae, 0x40, 0xde, 0x21, 0x87, 0x9e, 0xdb, 0x10, 0x44, 0xe2, 0x0d, 0x3d,
+ 0x86, 0xc2, 0x49, 0x68, 0xb8, 0x81, 0x13, 0xf4, 0x58, 0x1a, 0xe5, 0x5a, 0x85, 0x4e, 0xf1, 0xa7,
+ 0x77, 0xeb, 0x37, 0x27, 0xd0, 0x94, 0x3d, 0x6c, 0x69, 0xb1, 0x3f, 0x7a, 0x0a, 0x45, 0xec, 0x06,
+ 0x7e, 0x8f, 0x1f, 0x24, 0xac, 0xef, 0x3f, 0x3f, 0x1c, 0x30, 0x08, 0x76, 0x9e, 0xa0, 0x7d, 0xc8,
+ 0x77, 0x0c, 0xbf, 0xe1, 0xb8, 0xac, 0xc3, 0x3f, 0x3f, 0x96, 0xf0, 0x46, 0x4d, 0x50, 0xac, 0xb0,
+ 0x13, 0xb6, 0xf9, 0x89, 0x5c, 0x0f, 0x5d, 0xdb, 0x71, 0x1b, 0x3a, 0x23, 0x62, 0x5d, 0xfd, 0xf9,
+ 0x91, 0x57, 0xfa, 0x78, 0xfb, 0x1c, 0xee, 0x9f, 0x14, 0x4d, 0xfd, 0x3f, 0x14, 0x13, 0xa7, 0x23,
+ 0xcd, 0x3a, 0xe9, 0x75, 0x4c, 0xaf, 0x2d, 0x16, 0x4d, 0xbc, 0xa1, 0x3d, 0x98, 0xe5, 0x39, 0x9a,
+ 0xbe, 0x10, 0x3b, 0x77, 0x46, 0x08, 0x66, 0xe8, 0x98, 0x28, 0x09, 0xf6, 0xac, 0xfe, 0x9a, 0xe3,
+ 0xb2, 0xc0, 0xda, 0xb2, 0xd1, 0xfb, 0xe6, 0x32, 0xdd, 0x12, 0xba, 0x19, 0xf6, 0xd8, 0x2c, 0x0a,
+ 0xda, 0xac, 0x43, 0x6a, 0x61, 0x0f, 0x5d, 0x87, 0x79, 0xfc, 0x0a, 0x5b, 0x21, 0xdd, 0x78, 0xc7,
+ 0x7d, 0xf8, 0xf4, 0xe0, 0x47, 0xdd, 0x37, 0x71, 0x36, 0x66, 0xff, 0x48, 0x36, 0x06, 0xca, 0x20,
+ 0x3f, 0xa4, 0x0c, 0x1e, 0x40, 0xae, 0x8e, 0xf1, 0x05, 0x17, 0x9d, 0xba, 0x66, 0x54, 0xaa, 0x90,
+ 0x55, 0xa9, 0xbf, 0xc1, 0xe5, 0x3a, 0xc6, 0xba, 0x8f, 0x2d, 0xa7, 0xeb, 0x60, 0x37, 0xd0, 0x0d,
+ 0xdb, 0xf6, 0x31, 0x21, 0xec, 0x9f, 0x96, 0x2c, 0xfe, 0xdd, 0x5c, 0xaa, 0x63, 0xac, 0x45, 0x16,
+ 0x0f, 0xb9, 0x41, 0xa4, 0x6f, 0xd0, 0xd7, 0xb7, 0x2b, 0x50, 0x60, 0x0d, 0x3a, 0x0d, 0xa6, 0xc8,
+ 0xbb, 0x04, 0xf6, 0x7e, 0x60, 0xab, 0xbf, 0xe5, 0x92, 0xca, 0xf5, 0xa9, 0x17, 0x7b, 0x20, 0xb5,
+ 0x33, 0x43, 0x52, 0xfb, 0x0c, 0x16, 0xa2, 0xa6, 0x52, 0xb7, 0x71, 0x3b, 0x30, 0xc4, 0x1f, 0xff,
+ 0xad, 0x51, 0x22, 0x19, 0x29, 0xdc, 0x1e, 0x75, 0xd0, 0xe6, 0xbb, 0xc9, 0x57, 0x5a, 0xfe, 0x5d,
+ 0xa3, 0xe7, 0x85, 0xc1, 0x45, 0xcb, 0x9f, 0x7b, 0x7f, 0x92, 0x45, 0x97, 0x3f, 0xc3, 0xa2, 0x1f,
+ 0x43, 0x29, 0x75, 0xdd, 0x72, 0x03, 0x16, 0x52, 0xcb, 0x42, 0x4f, 0xdf, 0x1c, 0x5d, 0xbd, 0xe4,
+ 0xba, 0xb0, 0x73, 0x35, 0xde, 0x17, 0xbc, 0x5d, 0x93, 0x35, 0x39, 0xda, 0x18, 0x44, 0xfd, 0x37,
+ 0x2c, 0x66, 0xfe, 0xe4, 0x7f, 0x24, 0xe0, 0x63, 0x28, 0xa5, 0x6e, 0x56, 0x3e, 0x0e, 0xea, 0x76,
+ 0xe2, 0x2f, 0x86, 0x00, 0x4e, 0x7b, 0x48, 0x83, 0x1e, 0x68, 0xf0, 0x06, 0x10, 0xad, 0x42, 0x41,
+ 0x90, 0x46, 0x2e, 0xf1, 0xbb, 0xfa, 0x10, 0x94, 0xb3, 0xee, 0xf1, 0x26, 0x8c, 0x42, 0xbd, 0x03,
+ 0x4b, 0x03, 0x77, 0x1b, 0xa9, 0xe3, 0x20, 0xd7, 0x3f, 0x0e, 0x6e, 0x1f, 0x52, 0xe3, 0x4c, 0x5b,
+ 0x84, 0x16, 0xa1, 0xf8, 0xdc, 0x25, 0x5d, 0x6c, 0x39, 0x75, 0x07, 0xdb, 0xe5, 0x29, 0x04, 0x90,
+ 0xaf, 0x79, 0x5e, 0x0b, 0xdb, 0x65, 0x09, 0x15, 0x61, 0xee, 0x89, 0x11, 0x58, 0x4d, 0x6c, 0x97,
+ 0xa7, 0xd1, 0x3c, 0xc8, 0xbb, 0x34, 0xb4, 0x76, 0x1b, 0xdb, 0xe5, 0xdc, 0x4e, 0x03, 0xf2, 0xfc,
+ 0x9e, 0x04, 0xbd, 0x8c, 0x9f, 0x6e, 0x8d, 0x68, 0x2c, 0x93, 0x97, 0xac, 0xab, 0x9b, 0xe3, 0x0d,
+ 0xf9, 0xe5, 0xcb, 0xb6, 0x54, 0xfb, 0xef, 0x9b, 0xf7, 0x6b, 0xd2, 0xdb, 0xf7, 0x6b, 0xd2, 0x2f,
+ 0xef, 0xd7, 0xa4, 0xd7, 0x1f, 0xd6, 0xa6, 0xde, 0x7e, 0x58, 0x9b, 0xfa, 0xf1, 0xc3, 0xda, 0xd4,
+ 0x8b, 0xbd, 0x44, 0x71, 0x1d, 0x44, 0x78, 0x87, 0x86, 0x49, 0xaa, 0x31, 0xfa, 0x3d, 0xcb, 0xf3,
+ 0x71, 0xf2, 0xb5, 0x69, 0x38, 0x6e, 0x74, 0x69, 0xcd, 0xca, 0xcf, 0xcc, 0xb3, 0x9b, 0xe0, 0xbf,
+ 0xfe, 0x1e, 0x00, 0x00, 0xff, 0xff, 0xd8, 0xec, 0xaf, 0x5b, 0xd5, 0x16, 0x00, 0x00,
+}
+
+// Reference imports to suppress errors if they are not otherwise used.
+var _ context.Context
+var _ grpc.ClientConn
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the grpc package it is being compiled against.
+const _ = grpc.SupportPackageIsVersion4
+
+// StreamClient is the client API for Stream service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
+type StreamClient interface {
+ Stream(ctx context.Context, in *StreamRequest, opts ...grpc.CallOption) (Stream_StreamClient, error)
+}
+
+type streamClient struct {
+ cc grpc1.ClientConn
+}
+
+func NewStreamClient(cc grpc1.ClientConn) StreamClient {
+ return &streamClient{cc}
+}
+
+func (c *streamClient) Stream(ctx context.Context, in *StreamRequest, opts ...grpc.CallOption) (Stream_StreamClient, error) {
+ stream, err := c.cc.NewStream(ctx, &_Stream_serviceDesc.Streams[0], "/injective.stream.v1beta1.Stream/Stream", opts...)
+ if err != nil {
+ return nil, err
+ }
+ x := &streamStreamClient{stream}
+ if err := x.ClientStream.SendMsg(in); err != nil {
+ return nil, err
+ }
+ if err := x.ClientStream.CloseSend(); err != nil {
+ return nil, err
+ }
+ return x, nil
+}
+
+type Stream_StreamClient interface {
+ Recv() (*StreamResponse, error)
+ grpc.ClientStream
+}
+
+type streamStreamClient struct {
+ grpc.ClientStream
+}
+
+func (x *streamStreamClient) Recv() (*StreamResponse, error) {
+ m := new(StreamResponse)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
+// StreamServer is the server API for Stream service.
+type StreamServer interface {
+ Stream(*StreamRequest, Stream_StreamServer) error
+}
+
+// UnimplementedStreamServer can be embedded to have forward compatible implementations.
+type UnimplementedStreamServer struct {
+}
+
+func (*UnimplementedStreamServer) Stream(req *StreamRequest, srv Stream_StreamServer) error {
+ return status.Errorf(codes.Unimplemented, "method Stream not implemented")
+}
+
+func RegisterStreamServer(s grpc1.Server, srv StreamServer) {
+ s.RegisterService(&_Stream_serviceDesc, srv)
+}
+
+func _Stream_Stream_Handler(srv interface{}, stream grpc.ServerStream) error {
+ m := new(StreamRequest)
+ if err := stream.RecvMsg(m); err != nil {
+ return err
+ }
+ return srv.(StreamServer).Stream(m, &streamStreamServer{stream})
+}
+
+type Stream_StreamServer interface {
+ Send(*StreamResponse) error
+ grpc.ServerStream
+}
+
+type streamStreamServer struct {
+ grpc.ServerStream
+}
+
+func (x *streamStreamServer) Send(m *StreamResponse) error {
+ return x.ServerStream.SendMsg(m)
+}
+
+var _Stream_serviceDesc = grpc.ServiceDesc{
+ ServiceName: "injective.stream.v1beta1.Stream",
+ HandlerType: (*StreamServer)(nil),
+ Methods: []grpc.MethodDesc{},
+ Streams: []grpc.StreamDesc{
+ {
+ StreamName: "Stream",
+ Handler: _Stream_Stream_Handler,
+ ServerStreams: true,
+ },
+ },
+ Metadata: "injective/stream/v1beta1/query.proto",
+}
+
+func (m *StreamRequest) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *StreamRequest) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *StreamRequest) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.OraclePriceFilter != nil {
+ {
+ size, err := m.OraclePriceFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x52
+ }
+ if m.PositionsFilter != nil {
+ {
+ size, err := m.PositionsFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ }
+ if m.DerivativeOrderbooksFilter != nil {
+ {
+ size, err := m.DerivativeOrderbooksFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ if m.SpotOrderbooksFilter != nil {
+ {
+ size, err := m.SpotOrderbooksFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ }
+ if m.DerivativeOrdersFilter != nil {
+ {
+ size, err := m.DerivativeOrdersFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ if m.SpotOrdersFilter != nil {
+ {
+ size, err := m.SpotOrdersFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ if m.DerivativeTradesFilter != nil {
+ {
+ size, err := m.DerivativeTradesFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if m.SpotTradesFilter != nil {
+ {
+ size, err := m.SpotTradesFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.SubaccountDepositsFilter != nil {
+ {
+ size, err := m.SubaccountDepositsFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.BankBalancesFilter != nil {
+ {
+ size, err := m.BankBalancesFilter.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *StreamResponse) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *StreamResponse) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *StreamResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.OraclePrices) > 0 {
+ for iNdEx := len(m.OraclePrices) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.OraclePrices[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x62
+ }
+ }
+ if len(m.Positions) > 0 {
+ for iNdEx := len(m.Positions) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Positions[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x5a
+ }
+ }
+ if len(m.DerivativeOrderbookUpdates) > 0 {
+ for iNdEx := len(m.DerivativeOrderbookUpdates) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.DerivativeOrderbookUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x52
+ }
+ }
+ if len(m.SpotOrderbookUpdates) > 0 {
+ for iNdEx := len(m.SpotOrderbookUpdates) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SpotOrderbookUpdates[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x4a
+ }
+ }
+ if len(m.DerivativeOrders) > 0 {
+ for iNdEx := len(m.DerivativeOrders) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.DerivativeOrders[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x42
+ }
+ }
+ if len(m.SpotOrders) > 0 {
+ for iNdEx := len(m.SpotOrders) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SpotOrders[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ }
+ }
+ if len(m.DerivativeTrades) > 0 {
+ for iNdEx := len(m.DerivativeTrades) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.DerivativeTrades[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ }
+ }
+ if len(m.SpotTrades) > 0 {
+ for iNdEx := len(m.SpotTrades) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SpotTrades[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ }
+ if len(m.SubaccountDeposits) > 0 {
+ for iNdEx := len(m.SubaccountDeposits) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SubaccountDeposits[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ }
+ if len(m.BankBalances) > 0 {
+ for iNdEx := len(m.BankBalances) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.BankBalances[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if m.BlockTime != 0 {
+ i = encodeVarintQuery(dAtA, i, uint64(m.BlockTime))
+ i--
+ dAtA[i] = 0x10
+ }
+ if m.BlockHeight != 0 {
+ i = encodeVarintQuery(dAtA, i, uint64(m.BlockHeight))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *OrderbookUpdate) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OrderbookUpdate) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *OrderbookUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Orderbook != nil {
+ {
+ size, err := m.Orderbook.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.Seq != 0 {
+ i = encodeVarintQuery(dAtA, i, uint64(m.Seq))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Orderbook) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Orderbook) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Orderbook) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.SellLevels) > 0 {
+ for iNdEx := len(m.SellLevels) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.SellLevels[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x1a
+ }
+ }
+ if len(m.BuyLevels) > 0 {
+ for iNdEx := len(m.BuyLevels) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.BuyLevels[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *BankBalance) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *BankBalance) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *BankBalance) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Balances) > 0 {
+ for iNdEx := len(m.Balances) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Balances[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.Account) > 0 {
+ i -= len(m.Account)
+ copy(dAtA[i:], m.Account)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Account)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SubaccountDeposits) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SubaccountDeposits) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SubaccountDeposits) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Deposits) > 0 {
+ for iNdEx := len(m.Deposits) - 1; iNdEx >= 0; iNdEx-- {
+ {
+ size, err := m.Deposits[iNdEx].MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.SubaccountId) > 0 {
+ i -= len(m.SubaccountId)
+ copy(dAtA[i:], m.SubaccountId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SubaccountDeposit) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SubaccountDeposit) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SubaccountDeposit) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Deposit.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if len(m.Denom) > 0 {
+ i -= len(m.Denom)
+ copy(dAtA[i:], m.Denom)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Denom)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SpotOrderUpdate) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SpotOrderUpdate) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SpotOrderUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Order != nil {
+ {
+ size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.OrderHash) > 0 {
+ i -= len(m.OrderHash)
+ copy(dAtA[i:], m.OrderHash)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.OrderHash)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.Status != 0 {
+ i = encodeVarintQuery(dAtA, i, uint64(m.Status))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SpotOrder) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SpotOrder) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SpotOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *DerivativeOrderUpdate) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *DerivativeOrderUpdate) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DerivativeOrderUpdate) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.Order != nil {
+ {
+ size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if len(m.OrderHash) > 0 {
+ i -= len(m.OrderHash)
+ copy(dAtA[i:], m.OrderHash)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.OrderHash)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if m.Status != 0 {
+ i = encodeVarintQuery(dAtA, i, uint64(m.Status))
+ i--
+ dAtA[i] = 0x8
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *DerivativeOrder) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *DerivativeOrder) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DerivativeOrder) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.IsMarket {
+ i--
+ if m.IsMarket {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x18
+ }
+ {
+ size, err := m.Order.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *Position) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *Position) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *Position) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ {
+ size := m.CumulativeFundingEntry.Size()
+ i -= size
+ if _, err := m.CumulativeFundingEntry.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ {
+ size := m.Margin.Size()
+ i -= size
+ if _, err := m.Margin.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ {
+ size := m.EntryPrice.Size()
+ i -= size
+ if _, err := m.EntryPrice.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ {
+ size := m.Quantity.Size()
+ i -= size
+ if _, err := m.Quantity.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ if m.IsLong {
+ i--
+ if m.IsLong {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.SubaccountId) > 0 {
+ i -= len(m.SubaccountId)
+ copy(dAtA[i:], m.SubaccountId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountId)))
+ i--
+ dAtA[i] = 0x12
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *OraclePrice) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OraclePrice) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *OraclePrice) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Type) > 0 {
+ i -= len(m.Type)
+ copy(dAtA[i:], m.Type)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Type)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ {
+ size := m.Price.Size()
+ i -= size
+ if _, err := m.Price.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x12
+ if len(m.Symbol) > 0 {
+ i -= len(m.Symbol)
+ copy(dAtA[i:], m.Symbol)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Symbol)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SpotTrade) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SpotTrade) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SpotTrade) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.TradeId) > 0 {
+ i -= len(m.TradeId)
+ copy(dAtA[i:], m.TradeId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.TradeId)))
+ i--
+ dAtA[i] = 0x5a
+ }
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x52
+ }
+ if len(m.FeeRecipientAddress) > 0 {
+ i -= len(m.FeeRecipientAddress)
+ copy(dAtA[i:], m.FeeRecipientAddress)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.FeeRecipientAddress)))
+ i--
+ dAtA[i] = 0x4a
+ }
+ if len(m.OrderHash) > 0 {
+ i -= len(m.OrderHash)
+ copy(dAtA[i:], m.OrderHash)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.OrderHash)))
+ i--
+ dAtA[i] = 0x42
+ }
+ {
+ size := m.Fee.Size()
+ i -= size
+ if _, err := m.Fee.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ if len(m.SubaccountId) > 0 {
+ i -= len(m.SubaccountId)
+ copy(dAtA[i:], m.SubaccountId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountId)))
+ i--
+ dAtA[i] = 0x32
+ }
+ {
+ size := m.Price.Size()
+ i -= size
+ if _, err := m.Price.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ {
+ size := m.Quantity.Size()
+ i -= size
+ if _, err := m.Quantity.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x22
+ if len(m.ExecutionType) > 0 {
+ i -= len(m.ExecutionType)
+ copy(dAtA[i:], m.ExecutionType)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.ExecutionType)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.IsBuy {
+ i--
+ if m.IsBuy {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x10
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *DerivativeTrade) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *DerivativeTrade) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *DerivativeTrade) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.TradeId) > 0 {
+ i -= len(m.TradeId)
+ copy(dAtA[i:], m.TradeId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.TradeId)))
+ i--
+ dAtA[i] = 0x5a
+ }
+ if len(m.Cid) > 0 {
+ i -= len(m.Cid)
+ copy(dAtA[i:], m.Cid)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Cid)))
+ i--
+ dAtA[i] = 0x52
+ }
+ if len(m.FeeRecipientAddress) > 0 {
+ i -= len(m.FeeRecipientAddress)
+ copy(dAtA[i:], m.FeeRecipientAddress)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.FeeRecipientAddress)))
+ i--
+ dAtA[i] = 0x4a
+ }
+ if len(m.OrderHash) > 0 {
+ i -= len(m.OrderHash)
+ copy(dAtA[i:], m.OrderHash)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.OrderHash)))
+ i--
+ dAtA[i] = 0x42
+ }
+ {
+ size := m.Fee.Size()
+ i -= size
+ if _, err := m.Fee.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x3a
+ {
+ size := m.Payout.Size()
+ i -= size
+ if _, err := m.Payout.MarshalTo(dAtA[i:]); err != nil {
+ return 0, err
+ }
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x32
+ if m.PositionDelta != nil {
+ {
+ size, err := m.PositionDelta.MarshalToSizedBuffer(dAtA[:i])
+ if err != nil {
+ return 0, err
+ }
+ i -= size
+ i = encodeVarintQuery(dAtA, i, uint64(size))
+ }
+ i--
+ dAtA[i] = 0x2a
+ }
+ if len(m.SubaccountId) > 0 {
+ i -= len(m.SubaccountId)
+ copy(dAtA[i:], m.SubaccountId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountId)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.ExecutionType) > 0 {
+ i -= len(m.ExecutionType)
+ copy(dAtA[i:], m.ExecutionType)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.ExecutionType)))
+ i--
+ dAtA[i] = 0x1a
+ }
+ if m.IsBuy {
+ i--
+ if m.IsBuy {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x10
+ }
+ if len(m.MarketId) > 0 {
+ i -= len(m.MarketId)
+ copy(dAtA[i:], m.MarketId)
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketId)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *TradesFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *TradesFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *TradesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.MarketIds) > 0 {
+ for iNdEx := len(m.MarketIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.MarketIds[iNdEx])
+ copy(dAtA[i:], m.MarketIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketIds[iNdEx])))
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.SubaccountIds) > 0 {
+ for iNdEx := len(m.SubaccountIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.SubaccountIds[iNdEx])
+ copy(dAtA[i:], m.SubaccountIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountIds[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *PositionsFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *PositionsFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *PositionsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.MarketIds) > 0 {
+ for iNdEx := len(m.MarketIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.MarketIds[iNdEx])
+ copy(dAtA[i:], m.MarketIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketIds[iNdEx])))
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.SubaccountIds) > 0 {
+ for iNdEx := len(m.SubaccountIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.SubaccountIds[iNdEx])
+ copy(dAtA[i:], m.SubaccountIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountIds[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *OrdersFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OrdersFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *OrdersFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.MarketIds) > 0 {
+ for iNdEx := len(m.MarketIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.MarketIds[iNdEx])
+ copy(dAtA[i:], m.MarketIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketIds[iNdEx])))
+ i--
+ dAtA[i] = 0x12
+ }
+ }
+ if len(m.SubaccountIds) > 0 {
+ for iNdEx := len(m.SubaccountIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.SubaccountIds[iNdEx])
+ copy(dAtA[i:], m.SubaccountIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountIds[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *OrderbookFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OrderbookFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *OrderbookFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.MarketIds) > 0 {
+ for iNdEx := len(m.MarketIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.MarketIds[iNdEx])
+ copy(dAtA[i:], m.MarketIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.MarketIds[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *BankBalancesFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *BankBalancesFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *BankBalancesFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Accounts) > 0 {
+ for iNdEx := len(m.Accounts) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Accounts[iNdEx])
+ copy(dAtA[i:], m.Accounts[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Accounts[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *SubaccountDepositsFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *SubaccountDepositsFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *SubaccountDepositsFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.SubaccountIds) > 0 {
+ for iNdEx := len(m.SubaccountIds) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.SubaccountIds[iNdEx])
+ copy(dAtA[i:], m.SubaccountIds[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.SubaccountIds[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *OraclePriceFilter) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *OraclePriceFilter) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *OraclePriceFilter) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.Symbol) > 0 {
+ for iNdEx := len(m.Symbol) - 1; iNdEx >= 0; iNdEx-- {
+ i -= len(m.Symbol[iNdEx])
+ copy(dAtA[i:], m.Symbol[iNdEx])
+ i = encodeVarintQuery(dAtA, i, uint64(len(m.Symbol[iNdEx])))
+ i--
+ dAtA[i] = 0xa
+ }
+ }
+ return len(dAtA) - i, nil
+}
+
+func encodeVarintQuery(dAtA []byte, offset int, v uint64) int {
+ offset -= sovQuery(v)
+ base := offset
+ for v >= 1<<7 {
+ dAtA[offset] = uint8(v&0x7f | 0x80)
+ v >>= 7
+ offset++
+ }
+ dAtA[offset] = uint8(v)
+ return base
+}
+func (m *StreamRequest) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BankBalancesFilter != nil {
+ l = m.BankBalancesFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.SubaccountDepositsFilter != nil {
+ l = m.SubaccountDepositsFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.SpotTradesFilter != nil {
+ l = m.SpotTradesFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.DerivativeTradesFilter != nil {
+ l = m.DerivativeTradesFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.SpotOrdersFilter != nil {
+ l = m.SpotOrdersFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.DerivativeOrdersFilter != nil {
+ l = m.DerivativeOrdersFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.SpotOrderbooksFilter != nil {
+ l = m.SpotOrderbooksFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.DerivativeOrderbooksFilter != nil {
+ l = m.DerivativeOrderbooksFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.PositionsFilter != nil {
+ l = m.PositionsFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.OraclePriceFilter != nil {
+ l = m.OraclePriceFilter.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ return n
+}
+
+func (m *StreamResponse) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.BlockHeight != 0 {
+ n += 1 + sovQuery(uint64(m.BlockHeight))
+ }
+ if m.BlockTime != 0 {
+ n += 1 + sovQuery(uint64(m.BlockTime))
+ }
+ if len(m.BankBalances) > 0 {
+ for _, e := range m.BankBalances {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.SubaccountDeposits) > 0 {
+ for _, e := range m.SubaccountDeposits {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.SpotTrades) > 0 {
+ for _, e := range m.SpotTrades {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.DerivativeTrades) > 0 {
+ for _, e := range m.DerivativeTrades {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.SpotOrders) > 0 {
+ for _, e := range m.SpotOrders {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.DerivativeOrders) > 0 {
+ for _, e := range m.DerivativeOrders {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.SpotOrderbookUpdates) > 0 {
+ for _, e := range m.SpotOrderbookUpdates {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.DerivativeOrderbookUpdates) > 0 {
+ for _, e := range m.DerivativeOrderbookUpdates {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.Positions) > 0 {
+ for _, e := range m.Positions {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.OraclePrices) > 0 {
+ for _, e := range m.OraclePrices {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *OrderbookUpdate) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Seq != 0 {
+ n += 1 + sovQuery(uint64(m.Seq))
+ }
+ if m.Orderbook != nil {
+ l = m.Orderbook.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ return n
+}
+
+func (m *Orderbook) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if len(m.BuyLevels) > 0 {
+ for _, e := range m.BuyLevels {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.SellLevels) > 0 {
+ for _, e := range m.SellLevels {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *BankBalance) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Account)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if len(m.Balances) > 0 {
+ for _, e := range m.Balances {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *SubaccountDeposits) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if len(m.Deposits) > 0 {
+ for _, e := range m.Deposits {
+ l = e.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *SubaccountDeposit) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Denom)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = m.Deposit.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ return n
+}
+
+func (m *SpotOrderUpdate) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Status != 0 {
+ n += 1 + sovQuery(uint64(m.Status))
+ }
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.Order != nil {
+ l = m.Order.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ return n
+}
+
+func (m *SpotOrder) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = m.Order.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ return n
+}
+
+func (m *DerivativeOrderUpdate) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if m.Status != 0 {
+ n += 1 + sovQuery(uint64(m.Status))
+ }
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.Order != nil {
+ l = m.Order.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ return n
+}
+
+func (m *DerivativeOrder) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = m.Order.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ if m.IsMarket {
+ n += 2
+ }
+ return n
+}
+
+func (m *Position) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.IsLong {
+ n += 2
+ }
+ l = m.Quantity.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = m.EntryPrice.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = m.Margin.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = m.CumulativeFundingEntry.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ return n
+}
+
+func (m *OraclePrice) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.Symbol)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = m.Price.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = len(m.Type)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ return n
+}
+
+func (m *SpotTrade) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.IsBuy {
+ n += 2
+ }
+ l = len(m.ExecutionType)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = m.Quantity.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = m.Price.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = m.Fee.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.FeeRecipientAddress)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.TradeId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ return n
+}
+
+func (m *DerivativeTrade) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.MarketId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.IsBuy {
+ n += 2
+ }
+ l = len(m.ExecutionType)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.SubaccountId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ if m.PositionDelta != nil {
+ l = m.PositionDelta.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = m.Payout.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = m.Fee.Size()
+ n += 1 + l + sovQuery(uint64(l))
+ l = len(m.OrderHash)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.FeeRecipientAddress)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.Cid)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ l = len(m.TradeId)
+ if l > 0 {
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ return n
+}
+
+func (m *TradesFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.SubaccountIds) > 0 {
+ for _, s := range m.SubaccountIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.MarketIds) > 0 {
+ for _, s := range m.MarketIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *PositionsFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.SubaccountIds) > 0 {
+ for _, s := range m.SubaccountIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.MarketIds) > 0 {
+ for _, s := range m.MarketIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *OrdersFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.SubaccountIds) > 0 {
+ for _, s := range m.SubaccountIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ if len(m.MarketIds) > 0 {
+ for _, s := range m.MarketIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *OrderbookFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.MarketIds) > 0 {
+ for _, s := range m.MarketIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *BankBalancesFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Accounts) > 0 {
+ for _, s := range m.Accounts {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *SubaccountDepositsFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.SubaccountIds) > 0 {
+ for _, s := range m.SubaccountIds {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func (m *OraclePriceFilter) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ if len(m.Symbol) > 0 {
+ for _, s := range m.Symbol {
+ l = len(s)
+ n += 1 + l + sovQuery(uint64(l))
+ }
+ }
+ return n
+}
+
+func sovQuery(x uint64) (n int) {
+ return (math_bits.Len64(x|1) + 6) / 7
+}
+func sozQuery(x uint64) (n int) {
+ return sovQuery(uint64((x << 1) ^ uint64((int64(x) >> 63))))
+}
+func (m *StreamRequest) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StreamRequest: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StreamRequest: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BankBalancesFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.BankBalancesFilter == nil {
+ m.BankBalancesFilter = &BankBalancesFilter{}
+ }
+ if err := m.BankBalancesFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountDepositsFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.SubaccountDepositsFilter == nil {
+ m.SubaccountDepositsFilter = &SubaccountDepositsFilter{}
+ }
+ if err := m.SubaccountDepositsFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotTradesFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.SpotTradesFilter == nil {
+ m.SpotTradesFilter = &TradesFilter{}
+ }
+ if err := m.SpotTradesFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeTradesFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.DerivativeTradesFilter == nil {
+ m.DerivativeTradesFilter = &TradesFilter{}
+ }
+ if err := m.DerivativeTradesFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotOrdersFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.SpotOrdersFilter == nil {
+ m.SpotOrdersFilter = &OrdersFilter{}
+ }
+ if err := m.SpotOrdersFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrdersFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.DerivativeOrdersFilter == nil {
+ m.DerivativeOrdersFilter = &OrdersFilter{}
+ }
+ if err := m.DerivativeOrdersFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotOrderbooksFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.SpotOrderbooksFilter == nil {
+ m.SpotOrderbooksFilter = &OrderbookFilter{}
+ }
+ if err := m.SpotOrderbooksFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrderbooksFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.DerivativeOrderbooksFilter == nil {
+ m.DerivativeOrderbooksFilter = &OrderbookFilter{}
+ }
+ if err := m.DerivativeOrderbooksFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PositionsFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PositionsFilter == nil {
+ m.PositionsFilter = &PositionsFilter{}
+ }
+ if err := m.PositionsFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OraclePriceFilter", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.OraclePriceFilter == nil {
+ m.OraclePriceFilter = &OraclePriceFilter{}
+ }
+ if err := m.OraclePriceFilter.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *StreamResponse) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: StreamResponse: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: StreamResponse: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BlockHeight", wireType)
+ }
+ m.BlockHeight = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.BlockHeight |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BlockTime", wireType)
+ }
+ m.BlockTime = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.BlockTime |= int64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BankBalances", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.BankBalances = append(m.BankBalances, &BankBalance{})
+ if err := m.BankBalances[len(m.BankBalances)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountDeposits", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountDeposits = append(m.SubaccountDeposits, &SubaccountDeposits{})
+ if err := m.SubaccountDeposits[len(m.SubaccountDeposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotTrades", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SpotTrades = append(m.SpotTrades, &SpotTrade{})
+ if err := m.SpotTrades[len(m.SpotTrades)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeTrades", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DerivativeTrades = append(m.DerivativeTrades, &DerivativeTrade{})
+ if err := m.DerivativeTrades[len(m.DerivativeTrades)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotOrders", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SpotOrders = append(m.SpotOrders, &SpotOrderUpdate{})
+ if err := m.SpotOrders[len(m.SpotOrders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrders", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DerivativeOrders = append(m.DerivativeOrders, &DerivativeOrderUpdate{})
+ if err := m.DerivativeOrders[len(m.DerivativeOrders)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SpotOrderbookUpdates", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SpotOrderbookUpdates = append(m.SpotOrderbookUpdates, &OrderbookUpdate{})
+ if err := m.SpotOrderbookUpdates[len(m.SpotOrderbookUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field DerivativeOrderbookUpdates", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.DerivativeOrderbookUpdates = append(m.DerivativeOrderbookUpdates, &OrderbookUpdate{})
+ if err := m.DerivativeOrderbookUpdates[len(m.DerivativeOrderbookUpdates)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Positions", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Positions = append(m.Positions, &Position{})
+ if err := m.Positions[len(m.Positions)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 12:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OraclePrices", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OraclePrices = append(m.OraclePrices, &OraclePrice{})
+ if err := m.OraclePrices[len(m.OraclePrices)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *OrderbookUpdate) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: OrderbookUpdate: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: OrderbookUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Seq", wireType)
+ }
+ m.Seq = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Seq |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Orderbook", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Orderbook == nil {
+ m.Orderbook = &Orderbook{}
+ }
+ if err := m.Orderbook.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Orderbook) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Orderbook: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Orderbook: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field BuyLevels", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.BuyLevels = append(m.BuyLevels, &types.Level{})
+ if err := m.BuyLevels[len(m.BuyLevels)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SellLevels", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SellLevels = append(m.SellLevels, &types.Level{})
+ if err := m.SellLevels[len(m.SellLevels)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *BankBalance) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: BankBalance: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: BankBalance: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Account", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Account = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Balances", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Balances = append(m.Balances, types1.Coin{})
+ if err := m.Balances[len(m.Balances)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SubaccountDeposits) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SubaccountDeposits: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SubaccountDeposits: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Deposits", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Deposits = append(m.Deposits, SubaccountDeposit{})
+ if err := m.Deposits[len(m.Deposits)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SubaccountDeposit) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SubaccountDeposit: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SubaccountDeposit: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Denom", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Denom = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Deposit", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Deposit.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SpotOrderUpdate) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SpotOrderUpdate: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SpotOrderUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ m.Status = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Status |= OrderUpdateStatus(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OrderHash = append(m.OrderHash[:0], dAtA[iNdEx:postIndex]...)
+ if m.OrderHash == nil {
+ m.OrderHash = []byte{}
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Order == nil {
+ m.Order = &SpotOrder{}
+ }
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SpotOrder) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SpotOrder: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SpotOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *DerivativeOrderUpdate) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DerivativeOrderUpdate: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DerivativeOrderUpdate: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Status", wireType)
+ }
+ m.Status = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.Status |= OrderUpdateStatus(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OrderHash = append(m.OrderHash[:0], dAtA[iNdEx:postIndex]...)
+ if m.OrderHash == nil {
+ m.OrderHash = []byte{}
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.Order == nil {
+ m.Order = &DerivativeOrder{}
+ }
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *DerivativeOrder) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DerivativeOrder: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DerivativeOrder: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Order", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Order.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsMarket", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.IsMarket = bool(v != 0)
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *Position) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: Position: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: Position: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsLong", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.IsLong = bool(v != 0)
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field EntryPrice", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.EntryPrice.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Margin", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Margin.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CumulativeFundingEntry", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.CumulativeFundingEntry.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *OraclePrice) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: OraclePrice: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: OraclePrice: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Symbol = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Type", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Type = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SpotTrade) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SpotTrade: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SpotTrade: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsBuy", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.IsBuy = bool(v != 0)
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExecutionType", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ExecutionType = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Quantity", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Quantity.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Price", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Price.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ }
+ var byteLen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ byteLen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if byteLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + byteLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OrderHash = append(m.OrderHash[:0], dAtA[iNdEx:postIndex]...)
+ if m.OrderHash == nil {
+ m.OrderHash = []byte{}
+ }
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FeeRecipientAddress", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.FeeRecipientAddress = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TradeId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.TradeId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *DerivativeTrade) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: DerivativeTrade: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: DerivativeTrade: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 2:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsBuy", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.IsBuy = bool(v != 0)
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExecutionType", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ExecutionType = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 5:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field PositionDelta", wireType)
+ }
+ var msglen int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ msglen |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if msglen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + msglen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if m.PositionDelta == nil {
+ m.PositionDelta = &types.PositionDelta{}
+ }
+ if err := m.PositionDelta.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 6:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Payout", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Payout.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Fee", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ if err := m.Fee.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
+ return err
+ }
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field OrderHash", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OrderHash = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 9:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FeeRecipientAddress", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.FeeRecipientAddress = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 10:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Cid", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Cid = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 11:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field TradeId", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.TradeId = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *TradesFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: TradesFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: TradesFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountIds = append(m.SubaccountIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketIds = append(m.MarketIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *PositionsFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: PositionsFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: PositionsFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountIds = append(m.SubaccountIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketIds = append(m.MarketIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *OrdersFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: OrdersFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: OrdersFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountIds = append(m.SubaccountIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ case 2:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketIds = append(m.MarketIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *OrderbookFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: OrderbookFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: OrderbookFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field MarketIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.MarketIds = append(m.MarketIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *BankBalancesFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: BankBalancesFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: BankBalancesFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Accounts", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Accounts = append(m.Accounts, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *SubaccountDepositsFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: SubaccountDepositsFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: SubaccountDepositsFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field SubaccountIds", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.SubaccountIds = append(m.SubaccountIds, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *OraclePriceFilter) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: OraclePriceFilter: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: OraclePriceFilter: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthQuery
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Symbol = append(m.Symbol, string(dAtA[iNdEx:postIndex]))
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipQuery(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthQuery
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func skipQuery(dAtA []byte) (n int, err error) {
+ l := len(dAtA)
+ iNdEx := 0
+ depth := 0
+ for iNdEx < l {
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= (uint64(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ wireType := int(wire & 0x7)
+ switch wireType {
+ case 0:
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ iNdEx++
+ if dAtA[iNdEx-1] < 0x80 {
+ break
+ }
+ }
+ case 1:
+ iNdEx += 8
+ case 2:
+ var length int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return 0, ErrIntOverflowQuery
+ }
+ if iNdEx >= l {
+ return 0, io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ length |= (int(b) & 0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ if length < 0 {
+ return 0, ErrInvalidLengthQuery
+ }
+ iNdEx += length
+ case 3:
+ depth++
+ case 4:
+ if depth == 0 {
+ return 0, ErrUnexpectedEndOfGroupQuery
+ }
+ depth--
+ case 5:
+ iNdEx += 4
+ default:
+ return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
+ }
+ if iNdEx < 0 {
+ return 0, ErrInvalidLengthQuery
+ }
+ if depth == 0 {
+ return iNdEx, nil
+ }
+ }
+ return 0, io.ErrUnexpectedEOF
+}
+
+var (
+ ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling")
+ ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow")
+ ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
+)
diff --git a/chain/stream/types/request.go b/chain/stream/types/request.go
new file mode 100644
index 00000000..d78d5031
--- /dev/null
+++ b/chain/stream/types/request.go
@@ -0,0 +1,41 @@
+package types
+
+func NewFullStreamRequest() *StreamRequest {
+ return &StreamRequest{
+ BankBalancesFilter: &BankBalancesFilter{
+ Accounts: []string{},
+ },
+ SpotOrdersFilter: &OrdersFilter{
+ MarketIds: []string{"*"},
+ SubaccountIds: []string{"*"},
+ },
+ DerivativeOrdersFilter: &OrdersFilter{
+ MarketIds: []string{"*"},
+ SubaccountIds: []string{"*"},
+ },
+ SpotTradesFilter: &TradesFilter{
+ MarketIds: []string{"*"},
+ SubaccountIds: []string{"*"},
+ },
+ SubaccountDepositsFilter: &SubaccountDepositsFilter{
+ SubaccountIds: []string{"*"},
+ },
+ DerivativeOrderbooksFilter: &OrderbookFilter{
+ MarketIds: []string{"*"},
+ },
+ SpotOrderbooksFilter: &OrderbookFilter{
+ MarketIds: []string{"*"},
+ },
+ PositionsFilter: &PositionsFilter{
+ SubaccountIds: []string{"*"},
+ MarketIds: []string{"*"},
+ },
+ DerivativeTradesFilter: &TradesFilter{
+ SubaccountIds: []string{"*"},
+ MarketIds: []string{"*"},
+ },
+ OraclePriceFilter: &OraclePriceFilter{
+ Symbol: []string{"*"},
+ },
+ }
+}
diff --git a/chain/stream/types/response.go b/chain/stream/types/response.go
new file mode 100644
index 00000000..3a215960
--- /dev/null
+++ b/chain/stream/types/response.go
@@ -0,0 +1,84 @@
+package types
+
+import (
+ "fmt"
+ "time"
+)
+
+type StreamResponseMap struct {
+ tradeEventsCounter uint64
+ BlockHeight uint64
+ BlockTime time.Time
+ BankBalancesByAccount map[string][]*BankBalance
+ SpotOrdersBySubaccount map[string][]*SpotOrderUpdate
+ SpotOrdersByMarketID map[string][]*SpotOrderUpdate
+ DerivativeOrdersBySubaccount map[string][]*DerivativeOrderUpdate
+ DerivativeOrdersByMarketID map[string][]*DerivativeOrderUpdate
+ SpotOrderbookUpdatesByMarketID map[string][]*OrderbookUpdate
+ DerivativeOrderbookUpdatesByMarketID map[string][]*OrderbookUpdate
+ SubaccountDepositsBySubaccountID map[string][]*SubaccountDeposits
+ SpotTradesBySubaccount map[string][]*SpotTrade
+ SpotTradesByMarketID map[string][]*SpotTrade
+ DerivativeTradesBySubaccount map[string][]*DerivativeTrade
+ DerivativeTradesByMarketID map[string][]*DerivativeTrade
+ PositionsBySubaccount map[string][]*Position
+ PositionsByMarketID map[string][]*Position
+ OraclePriceBySymbol map[string][]*OraclePrice
+}
+
+func NewStreamResponseMap() *StreamResponseMap {
+ return &StreamResponseMap{
+ BankBalancesByAccount: map[string][]*BankBalance{},
+ SpotOrdersBySubaccount: map[string][]*SpotOrderUpdate{},
+ SpotOrdersByMarketID: map[string][]*SpotOrderUpdate{},
+ DerivativeOrdersBySubaccount: map[string][]*DerivativeOrderUpdate{},
+ DerivativeOrdersByMarketID: map[string][]*DerivativeOrderUpdate{},
+ SpotOrderbookUpdatesByMarketID: map[string][]*OrderbookUpdate{},
+ DerivativeOrderbookUpdatesByMarketID: map[string][]*OrderbookUpdate{},
+ SubaccountDepositsBySubaccountID: map[string][]*SubaccountDeposits{},
+ SpotTradesBySubaccount: map[string][]*SpotTrade{},
+ SpotTradesByMarketID: map[string][]*SpotTrade{},
+ DerivativeTradesBySubaccount: map[string][]*DerivativeTrade{},
+ DerivativeTradesByMarketID: map[string][]*DerivativeTrade{},
+ PositionsBySubaccount: map[string][]*Position{},
+ PositionsByMarketID: map[string][]*Position{},
+ OraclePriceBySymbol: map[string][]*OraclePrice{},
+ }
+}
+
+func NewChainStreamResponse() *StreamResponse {
+ return &StreamResponse{
+ BankBalances: []*BankBalance{},
+ SubaccountDeposits: []*SubaccountDeposits{},
+ SpotTrades: []*SpotTrade{},
+ DerivativeTrades: []*DerivativeTrade{},
+ SpotOrders: []*SpotOrderUpdate{},
+ DerivativeOrders: []*DerivativeOrderUpdate{},
+ SpotOrderbookUpdates: []*OrderbookUpdate{},
+ DerivativeOrderbookUpdates: []*OrderbookUpdate{},
+ Positions: []*Position{},
+ OraclePrices: []*OraclePrice{},
+ }
+}
+
+func (m *StreamRequest) Validate() error {
+ if m.BankBalancesFilter == nil &&
+ m.SubaccountDepositsFilter == nil &&
+ m.SpotTradesFilter == nil &&
+ m.DerivativeTradesFilter == nil &&
+ m.SpotOrdersFilter == nil &&
+ m.DerivativeOrdersFilter == nil &&
+ m.SpotOrderbooksFilter == nil &&
+ m.DerivativeOrderbooksFilter == nil &&
+ m.PositionsFilter == nil &&
+ m.OraclePriceFilter == nil {
+ return fmt.Errorf("at least one filter must be set")
+ }
+ return nil
+}
+
+func (m *StreamResponseMap) NextTradeEventNumber() (tradeNumber uint64) {
+ currentTradesNumber := m.tradeEventsCounter
+ m.tradeEventsCounter++
+ return currentTradesNumber
+}
diff --git a/chain/tokenfactory/types/authorityMetadata.pb.go b/chain/tokenfactory/types/authorityMetadata.pb.go
index 51337590..8ee31dd6 100644
--- a/chain/tokenfactory/types/authorityMetadata.pb.go
+++ b/chain/tokenfactory/types/authorityMetadata.pb.go
@@ -5,12 +5,13 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/cosmos-sdk/types"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/cosmos-sdk/types"
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/tokenfactory/types/codec.go b/chain/tokenfactory/types/codec.go
index a1391f3f..174c4f91 100644
--- a/chain/tokenfactory/types/codec.go
+++ b/chain/tokenfactory/types/codec.go
@@ -4,7 +4,9 @@ import (
"github.com/cosmos/cosmos-sdk/codec"
cdctypes "github.com/cosmos/cosmos-sdk/codec/types"
sdk "github.com/cosmos/cosmos-sdk/types"
- authzcodec "github.com/cosmos/cosmos-sdk/x/authz/codec"
+ authzcdc "github.com/cosmos/cosmos-sdk/x/authz/codec"
+ govcdc "github.com/cosmos/cosmos-sdk/x/gov/codec"
+ groupcdc "github.com/cosmos/cosmos-sdk/x/group/codec"
// this line is used by starport scaffolding # 1
"github.com/cosmos/cosmos-sdk/types/msgservice"
@@ -45,6 +47,9 @@ func init() {
// Register all Amino interfaces and concrete types on the authz Amino codec so that this can later be
// used to properly serialize MsgGrant and MsgExec instances
sdk.RegisterLegacyAminoCodec(amino)
- RegisterCodec(authzcodec.Amino)
+ RegisterCodec(govcdc.Amino)
+ RegisterCodec(authzcdc.Amino)
+ RegisterCodec(groupcdc.Amino)
+
amino.Seal()
}
diff --git a/chain/tokenfactory/types/denoms.go b/chain/tokenfactory/types/denoms.go
index 1a3d83a9..7b975add 100644
--- a/chain/tokenfactory/types/denoms.go
+++ b/chain/tokenfactory/types/denoms.go
@@ -6,7 +6,7 @@ import (
"cosmossdk.io/errors"
sdk "github.com/cosmos/cosmos-sdk/types"
- bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
+ banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
)
const (
@@ -103,7 +103,7 @@ func DeconstructDenom(denom string) (creator, subdenom string, err error) {
// NewTokenFactoryDenomMintCoinsRestriction creates and returns a MintingRestrictionFn that only allows minting of
// valid tokenfactory denoms
-func NewTokenFactoryDenomMintCoinsRestriction() bankkeeper.MintingRestrictionFn {
+func NewTokenFactoryDenomMintCoinsRestriction() banktypes.MintingRestrictionFn {
return func(ctx sdk.Context, coinsToMint sdk.Coins) error {
for _, coin := range coinsToMint {
_, _, err := DeconstructDenom(coin.Denom)
diff --git a/chain/tokenfactory/types/events.pb.go b/chain/tokenfactory/types/events.pb.go
index 96598dc0..5fe53138 100644
--- a/chain/tokenfactory/types/events.pb.go
+++ b/chain/tokenfactory/types/events.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types "github.com/cosmos/cosmos-sdk/types"
types1 "github.com/cosmos/cosmos-sdk/x/bank/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -129,23 +130,23 @@ func (m *EventMintTFDenom) GetAmount() types.Coin {
return types.Coin{}
}
-type EventBurnTFDenom struct {
+type EventBurnDenom struct {
BurnerAddress string `protobuf:"bytes,1,opt,name=burner_address,json=burnerAddress,proto3" json:"burner_address,omitempty"`
Amount types.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}
-func (m *EventBurnTFDenom) Reset() { *m = EventBurnTFDenom{} }
-func (m *EventBurnTFDenom) String() string { return proto.CompactTextString(m) }
-func (*EventBurnTFDenom) ProtoMessage() {}
-func (*EventBurnTFDenom) Descriptor() ([]byte, []int) {
+func (m *EventBurnDenom) Reset() { *m = EventBurnDenom{} }
+func (m *EventBurnDenom) String() string { return proto.CompactTextString(m) }
+func (*EventBurnDenom) ProtoMessage() {}
+func (*EventBurnDenom) Descriptor() ([]byte, []int) {
return fileDescriptor_b9fd0c5434c2a5b7, []int{2}
}
-func (m *EventBurnTFDenom) XXX_Unmarshal(b []byte) error {
+func (m *EventBurnDenom) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
-func (m *EventBurnTFDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+func (m *EventBurnDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
- return xxx_messageInfo_EventBurnTFDenom.Marshal(b, m, deterministic)
+ return xxx_messageInfo_EventBurnDenom.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
@@ -155,26 +156,26 @@ func (m *EventBurnTFDenom) XXX_Marshal(b []byte, deterministic bool) ([]byte, er
return b[:n], nil
}
}
-func (m *EventBurnTFDenom) XXX_Merge(src proto.Message) {
- xxx_messageInfo_EventBurnTFDenom.Merge(m, src)
+func (m *EventBurnDenom) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventBurnDenom.Merge(m, src)
}
-func (m *EventBurnTFDenom) XXX_Size() int {
+func (m *EventBurnDenom) XXX_Size() int {
return m.Size()
}
-func (m *EventBurnTFDenom) XXX_DiscardUnknown() {
- xxx_messageInfo_EventBurnTFDenom.DiscardUnknown(m)
+func (m *EventBurnDenom) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventBurnDenom.DiscardUnknown(m)
}
-var xxx_messageInfo_EventBurnTFDenom proto.InternalMessageInfo
+var xxx_messageInfo_EventBurnDenom proto.InternalMessageInfo
-func (m *EventBurnTFDenom) GetBurnerAddress() string {
+func (m *EventBurnDenom) GetBurnerAddress() string {
if m != nil {
return m.BurnerAddress
}
return ""
}
-func (m *EventBurnTFDenom) GetAmount() types.Coin {
+func (m *EventBurnDenom) GetAmount() types.Coin {
if m != nil {
return m.Amount
}
@@ -288,7 +289,7 @@ func (m *EventSetTFDenomMetadata) GetMetadata() types1.Metadata {
func init() {
proto.RegisterType((*EventCreateTFDenom)(nil), "injective.tokenfactory.v1beta1.EventCreateTFDenom")
proto.RegisterType((*EventMintTFDenom)(nil), "injective.tokenfactory.v1beta1.EventMintTFDenom")
- proto.RegisterType((*EventBurnTFDenom)(nil), "injective.tokenfactory.v1beta1.EventBurnTFDenom")
+ proto.RegisterType((*EventBurnDenom)(nil), "injective.tokenfactory.v1beta1.EventBurnDenom")
proto.RegisterType((*EventChangeTFAdmin)(nil), "injective.tokenfactory.v1beta1.EventChangeTFAdmin")
proto.RegisterType((*EventSetTFDenomMetadata)(nil), "injective.tokenfactory.v1beta1.EventSetTFDenomMetadata")
}
@@ -298,35 +299,35 @@ func init() {
}
var fileDescriptor_b9fd0c5434c2a5b7 = []byte{
- // 440 bytes of a gzipped FileDescriptorProto
+ // 442 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x52, 0xc1, 0x6a, 0x14, 0x41,
- 0x10, 0xdd, 0x11, 0x8d, 0xda, 0xa2, 0x26, 0x43, 0xc0, 0x35, 0xe0, 0x28, 0x0b, 0x82, 0x18, 0x9c,
- 0x21, 0x0a, 0x7a, 0x94, 0x6c, 0x62, 0x40, 0x30, 0x97, 0x35, 0x78, 0xf0, 0x12, 0x7a, 0x7a, 0xca,
- 0xdd, 0x76, 0x33, 0x55, 0x43, 0x77, 0xcd, 0xc6, 0xfd, 0x0b, 0x3f, 0x2b, 0xc7, 0x1c, 0x3d, 0x89,
- 0xec, 0xfe, 0x88, 0xcc, 0x4c, 0x77, 0xef, 0xaa, 0x88, 0x07, 0x6f, 0x53, 0x5d, 0xaf, 0xde, 0xab,
- 0xf7, 0xa6, 0xc4, 0xae, 0xc6, 0xcf, 0xa0, 0x58, 0xcf, 0x20, 0x63, 0x9a, 0x02, 0x7e, 0x92, 0x8a,
- 0xc9, 0xcc, 0xb3, 0xd9, 0x5e, 0x0e, 0x2c, 0xf7, 0x32, 0x98, 0x01, 0xb2, 0x4d, 0x2b, 0x43, 0x4c,
- 0x71, 0x12, 0xc0, 0xe9, 0x3a, 0x38, 0x75, 0xe0, 0x9d, 0xed, 0x31, 0x8d, 0xa9, 0x85, 0x66, 0xcd,
- 0x57, 0x37, 0xb5, 0x93, 0x28, 0xb2, 0x25, 0xd9, 0x2c, 0x97, 0x16, 0x02, 0xaf, 0x22, 0x8d, 0x7f,
- 0xf4, 0x71, 0x1a, 0xfa, 0x4d, 0xe1, 0xfa, 0x2f, 0xff, 0xb1, 0xa2, 0xac, 0x79, 0x42, 0x46, 0xf3,
- 0xfc, 0x18, 0x58, 0x16, 0x92, 0x65, 0x37, 0x37, 0x38, 0x14, 0xf1, 0x9b, 0x66, 0xfb, 0x03, 0x03,
- 0x92, 0xe1, 0xe4, 0xe8, 0x10, 0x90, 0xca, 0xb8, 0x2f, 0xae, 0x4b, 0xa5, 0xa8, 0x46, 0xee, 0x47,
- 0x8f, 0xa2, 0x27, 0x37, 0x47, 0xbe, 0x8c, 0xb7, 0xc5, 0xb5, 0xa2, 0x81, 0xf4, 0xaf, 0xb4, 0xef,
- 0x5d, 0x31, 0xf8, 0x22, 0x36, 0x5b, 0x96, 0x63, 0x8d, 0xec, 0x39, 0x76, 0xc5, 0x96, 0x01, 0xa5,
- 0x2b, 0x0d, 0xc8, 0xa7, 0xb2, 0x28, 0x0c, 0x58, 0xeb, 0xd8, 0x36, 0x43, 0x63, 0xbf, 0x7b, 0x8f,
- 0x5f, 0x89, 0x0d, 0x59, 0xb6, 0x7a, 0x0d, 0xef, 0xad, 0xe7, 0xf7, 0xd3, 0xce, 0x6f, 0xda, 0xe4,
- 0xe1, 0xa3, 0x4b, 0x0f, 0x48, 0xe3, 0xf0, 0xea, 0xc5, 0xf7, 0x87, 0xbd, 0x91, 0x83, 0x0f, 0x8c,
- 0x53, 0x1e, 0xd6, 0x06, 0xbd, 0xf2, 0x63, 0x71, 0x27, 0xaf, 0x0d, 0x82, 0xf9, 0x4d, 0xf6, 0x76,
- 0xf7, 0xfa, 0xdf, 0x9a, 0x1f, 0x7c, 0x66, 0x13, 0x89, 0x63, 0x38, 0x39, 0xda, 0x2f, 0x4a, 0x8d,
- 0xab, 0x64, 0xa2, 0xb5, 0x64, 0xe2, 0xa7, 0x62, 0x0b, 0xe1, 0xfc, 0x54, 0x36, 0x90, 0xb0, 0x4e,
- 0x97, 0xdd, 0x5d, 0x84, 0xf3, 0x76, 0xd4, 0x2d, 0x34, 0xa8, 0xc4, 0xbd, 0x96, 0xf7, 0x3d, 0xf8,
- 0x10, 0xfd, 0xcf, 0xfa, 0x0b, 0xf9, 0x6b, 0x71, 0xa3, 0x74, 0x08, 0xe7, 0xe1, 0xc1, 0xca, 0x03,
- 0x4e, 0x83, 0x07, 0x4f, 0xe3, 0x7c, 0x84, 0xa1, 0xe1, 0xd9, 0xc5, 0x22, 0x89, 0x2e, 0x17, 0x49,
- 0xf4, 0x63, 0x91, 0x44, 0x5f, 0x97, 0x49, 0xef, 0x72, 0x99, 0xf4, 0xbe, 0x2d, 0x93, 0xde, 0xc7,
- 0xd1, 0x58, 0xf3, 0xa4, 0xce, 0x53, 0x45, 0x65, 0xf6, 0xd6, 0x9f, 0xd6, 0x3b, 0x99, 0xdb, 0x2c,
- 0x1c, 0xda, 0x33, 0x45, 0x06, 0xd6, 0xcb, 0x89, 0xd4, 0x98, 0x95, 0x54, 0xd4, 0x67, 0x60, 0x7f,
- 0xbd, 0x42, 0x9e, 0x57, 0x60, 0xf3, 0x8d, 0xf6, 0xe4, 0x5e, 0xfc, 0x0c, 0x00, 0x00, 0xff, 0xff,
- 0xf2, 0x1b, 0xa1, 0x5f, 0x4f, 0x03, 0x00, 0x00,
+ 0x10, 0xdd, 0x11, 0x8d, 0xda, 0x62, 0x4c, 0x86, 0x80, 0x6b, 0xc0, 0x51, 0x16, 0x04, 0x31, 0x38,
+ 0x43, 0x14, 0xf4, 0x28, 0xd9, 0xc4, 0x80, 0x60, 0x2e, 0x6b, 0xf0, 0xe0, 0x25, 0xf4, 0xf4, 0x94,
+ 0xbb, 0xed, 0x66, 0xaa, 0x86, 0xee, 0x9a, 0x8d, 0xfb, 0x17, 0x7e, 0x56, 0x8e, 0x39, 0x7a, 0x12,
+ 0xd9, 0xfd, 0x11, 0x99, 0x99, 0xee, 0xce, 0xaa, 0x88, 0x87, 0xdc, 0xa6, 0xba, 0x5e, 0xbd, 0x57,
+ 0xef, 0x4d, 0x89, 0x1d, 0x8d, 0x5f, 0x40, 0xb1, 0x9e, 0x41, 0xc6, 0x34, 0x05, 0xfc, 0x2c, 0x15,
+ 0x93, 0x99, 0x67, 0xb3, 0xdd, 0x1c, 0x58, 0xee, 0x66, 0x30, 0x03, 0x64, 0x9b, 0x56, 0x86, 0x98,
+ 0xe2, 0x24, 0x80, 0xd3, 0x55, 0x70, 0xea, 0xc0, 0xdb, 0x5b, 0x63, 0x1a, 0x53, 0x0b, 0xcd, 0x9a,
+ 0xaf, 0x6e, 0x6a, 0x3b, 0x51, 0x64, 0x4b, 0xb2, 0x59, 0x2e, 0x2d, 0x04, 0x5e, 0x45, 0x1a, 0xff,
+ 0xea, 0xe3, 0x34, 0xf4, 0x9b, 0xc2, 0xf5, 0x5f, 0xfd, 0x67, 0x45, 0x59, 0xf3, 0x84, 0x8c, 0xe6,
+ 0xf9, 0x11, 0xb0, 0x2c, 0x24, 0xcb, 0x6e, 0x6e, 0x70, 0x20, 0xe2, 0xb7, 0xcd, 0xf6, 0xfb, 0x06,
+ 0x24, 0xc3, 0xf1, 0xe1, 0x01, 0x20, 0x95, 0x71, 0x5f, 0xdc, 0x94, 0x4a, 0x51, 0x8d, 0xdc, 0x8f,
+ 0x1e, 0x47, 0x4f, 0x6f, 0x8f, 0x7c, 0x19, 0x6f, 0x89, 0x1b, 0x45, 0x03, 0xe9, 0x5f, 0x6b, 0xdf,
+ 0xbb, 0x62, 0xf0, 0x55, 0x6c, 0xb4, 0x2c, 0x47, 0x1a, 0xd9, 0x73, 0xec, 0x88, 0x4d, 0x03, 0x4a,
+ 0x57, 0x1a, 0x90, 0x4f, 0x64, 0x51, 0x18, 0xb0, 0xd6, 0xb1, 0x6d, 0x84, 0xc6, 0x5e, 0xf7, 0x1e,
+ 0xbf, 0x16, 0x6b, 0xb2, 0x6c, 0xf5, 0x1a, 0xde, 0x3b, 0x2f, 0x1e, 0xa4, 0x9d, 0xdf, 0xb4, 0xc9,
+ 0xc3, 0x47, 0x97, 0xee, 0x93, 0xc6, 0xe1, 0xf5, 0xf3, 0x1f, 0x8f, 0x7a, 0x23, 0x07, 0x1f, 0x54,
+ 0x62, 0xbd, 0x55, 0x1e, 0xd6, 0x06, 0x3b, 0xdd, 0x27, 0x62, 0x3d, 0xaf, 0x0d, 0x82, 0xf9, 0x43,
+ 0xf4, 0x6e, 0xf7, 0x7a, 0x65, 0xc5, 0x8f, 0x3e, 0xb1, 0x89, 0xc4, 0x31, 0x1c, 0x1f, 0xee, 0x15,
+ 0xa5, 0xc6, 0xcb, 0x5c, 0xa2, 0x95, 0x5c, 0xe2, 0x67, 0x62, 0x13, 0xe1, 0xec, 0x44, 0x36, 0x90,
+ 0xb0, 0x4e, 0x97, 0xdc, 0x3d, 0x84, 0xb3, 0x76, 0xd4, 0x2d, 0x34, 0xa8, 0xc4, 0xfd, 0x96, 0xf7,
+ 0x03, 0xf8, 0x08, 0xfd, 0xaf, 0xfa, 0x07, 0xf9, 0x1b, 0x71, 0xab, 0x74, 0x08, 0xe7, 0xe1, 0xe1,
+ 0xa5, 0x07, 0x9c, 0x06, 0x0f, 0x9e, 0xc6, 0xf9, 0x08, 0x43, 0xc3, 0xd3, 0xf3, 0x45, 0x12, 0x5d,
+ 0x2c, 0x92, 0xe8, 0xe7, 0x22, 0x89, 0xbe, 0x2d, 0x93, 0xde, 0xc5, 0x32, 0xe9, 0x7d, 0x5f, 0x26,
+ 0xbd, 0x4f, 0xa3, 0xb1, 0xe6, 0x49, 0x9d, 0xa7, 0x8a, 0xca, 0xec, 0x9d, 0x3f, 0xac, 0xf7, 0x32,
+ 0xb7, 0x59, 0x38, 0xb3, 0xe7, 0x8a, 0x0c, 0xac, 0x96, 0x13, 0xa9, 0x31, 0x2b, 0xa9, 0xa8, 0x4f,
+ 0xc1, 0xfe, 0x7e, 0x83, 0x3c, 0xaf, 0xc0, 0xe6, 0x6b, 0xed, 0xc1, 0xbd, 0xfc, 0x15, 0x00, 0x00,
+ 0xff, 0xff, 0x0f, 0x75, 0x34, 0xbb, 0x4d, 0x03, 0x00, 0x00,
}
func (m *EventCreateTFDenom) Marshal() (dAtA []byte, err error) {
@@ -406,7 +407,7 @@ func (m *EventMintTFDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) {
return len(dAtA) - i, nil
}
-func (m *EventBurnTFDenom) Marshal() (dAtA []byte, err error) {
+func (m *EventBurnDenom) Marshal() (dAtA []byte, err error) {
size := m.Size()
dAtA = make([]byte, size)
n, err := m.MarshalToSizedBuffer(dAtA[:size])
@@ -416,12 +417,12 @@ func (m *EventBurnTFDenom) Marshal() (dAtA []byte, err error) {
return dAtA[:n], nil
}
-func (m *EventBurnTFDenom) MarshalTo(dAtA []byte) (int, error) {
+func (m *EventBurnDenom) MarshalTo(dAtA []byte) (int, error) {
size := m.Size()
return m.MarshalToSizedBuffer(dAtA[:size])
}
-func (m *EventBurnTFDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+func (m *EventBurnDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) {
i := len(dAtA)
_ = i
var l int
@@ -566,7 +567,7 @@ func (m *EventMintTFDenom) Size() (n int) {
return n
}
-func (m *EventBurnTFDenom) Size() (n int) {
+func (m *EventBurnDenom) Size() (n int) {
if m == nil {
return 0
}
@@ -848,7 +849,7 @@ func (m *EventMintTFDenom) Unmarshal(dAtA []byte) error {
}
return nil
}
-func (m *EventBurnTFDenom) Unmarshal(dAtA []byte) error {
+func (m *EventBurnDenom) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
for iNdEx < l {
@@ -871,10 +872,10 @@ func (m *EventBurnTFDenom) Unmarshal(dAtA []byte) error {
fieldNum := int32(wire >> 3)
wireType := int(wire & 0x7)
if wireType == 4 {
- return fmt.Errorf("proto: EventBurnTFDenom: wiretype end group for non-group")
+ return fmt.Errorf("proto: EventBurnDenom: wiretype end group for non-group")
}
if fieldNum <= 0 {
- return fmt.Errorf("proto: EventBurnTFDenom: illegal tag %d (wire type %d)", fieldNum, wire)
+ return fmt.Errorf("proto: EventBurnDenom: illegal tag %d (wire type %d)", fieldNum, wire)
}
switch fieldNum {
case 1:
diff --git a/chain/tokenfactory/types/genesis.pb.go b/chain/tokenfactory/types/genesis.pb.go
index 32175e59..9f623873 100644
--- a/chain/tokenfactory/types/genesis.pb.go
+++ b/chain/tokenfactory/types/genesis.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -83,6 +84,8 @@ func (m *GenesisState) GetFactoryDenoms() []GenesisDenom {
type GenesisDenom struct {
Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty" yaml:"denom"`
AuthorityMetadata DenomAuthorityMetadata `protobuf:"bytes,2,opt,name=authority_metadata,json=authorityMetadata,proto3" json:"authority_metadata" yaml:"authority_metadata"`
+ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name"`
+ Symbol string `protobuf:"bytes,4,opt,name=symbol,proto3" json:"symbol,omitempty" yaml:"symbol"`
}
func (m *GenesisDenom) Reset() { *m = GenesisDenom{} }
@@ -132,6 +135,20 @@ func (m *GenesisDenom) GetAuthorityMetadata() DenomAuthorityMetadata {
return DenomAuthorityMetadata{}
}
+func (m *GenesisDenom) GetName() string {
+ if m != nil {
+ return m.Name
+ }
+ return ""
+}
+
+func (m *GenesisDenom) GetSymbol() string {
+ if m != nil {
+ return m.Symbol
+ }
+ return ""
+}
+
func init() {
proto.RegisterType((*GenesisState)(nil), "injective.tokenfactory.v1beta1.GenesisState")
proto.RegisterType((*GenesisDenom)(nil), "injective.tokenfactory.v1beta1.GenesisDenom")
@@ -142,31 +159,34 @@ func init() {
}
var fileDescriptor_a7bae9323951328f = []byte{
- // 382 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0xc9, 0xcc, 0xcb, 0x4a,
- 0x4d, 0x2e, 0xc9, 0x2c, 0x4b, 0xd5, 0x2f, 0xc9, 0xcf, 0x4e, 0xcd, 0x4b, 0x4b, 0x4c, 0x2e, 0xc9,
- 0x2f, 0xaa, 0xd4, 0x2f, 0x33, 0x4c, 0x4a, 0x2d, 0x49, 0x34, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d,
- 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x92, 0x83, 0xab, 0xd6, 0x43, 0x56, 0xad,
- 0x07, 0x55, 0x2d, 0x25, 0x92, 0x9e, 0x9f, 0x9e, 0x0f, 0x56, 0xaa, 0x0f, 0x62, 0x41, 0x74, 0x49,
- 0x99, 0x11, 0xb0, 0x23, 0xb1, 0xb4, 0x24, 0x23, 0xbf, 0x28, 0xb3, 0xa4, 0xd2, 0x37, 0xb5, 0x24,
- 0x31, 0x25, 0xb1, 0x24, 0x11, 0xaa, 0x4f, 0x9b, 0x80, 0xbe, 0x82, 0xc4, 0xa2, 0xc4, 0x5c, 0xa8,
- 0xd3, 0x94, 0x4e, 0x30, 0x72, 0xf1, 0xb8, 0x43, 0x1c, 0x1b, 0x5c, 0x92, 0x58, 0x92, 0x2a, 0xe4,
- 0xc2, 0xc5, 0x06, 0x51, 0x20, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x6d, 0xa4, 0xa6, 0x87, 0xdf, 0xf1,
- 0x7a, 0x01, 0x60, 0xd5, 0x4e, 0x2c, 0x27, 0xee, 0xc9, 0x33, 0x04, 0x41, 0xf5, 0x0a, 0x15, 0x71,
- 0xf1, 0x41, 0xd5, 0xc5, 0xa7, 0xa4, 0xe6, 0xe5, 0xe7, 0x16, 0x4b, 0x30, 0x29, 0x30, 0x6b, 0x70,
- 0x1b, 0xe9, 0x10, 0x32, 0x0d, 0xea, 0x16, 0x17, 0x90, 0x26, 0x27, 0x59, 0x90, 0x99, 0x9f, 0xee,
- 0xc9, 0x8b, 0x56, 0x26, 0xe6, 0xe6, 0x58, 0x29, 0xa1, 0x9a, 0xa8, 0x14, 0xc4, 0x0b, 0x15, 0x70,
- 0x81, 0xf0, 0x8f, 0x23, 0xbc, 0x02, 0x16, 0x11, 0x52, 0xe3, 0x62, 0x05, 0x2b, 0x05, 0xfb, 0x84,
- 0xd3, 0x49, 0xe0, 0xd3, 0x3d, 0x79, 0x1e, 0x88, 0x49, 0x60, 0x61, 0xa5, 0x20, 0x88, 0xb4, 0x50,
- 0x07, 0x23, 0x97, 0x10, 0x3c, 0x30, 0xe3, 0x73, 0xa1, 0xa1, 0x29, 0xc1, 0x04, 0xf6, 0xbf, 0x19,
- 0x21, 0x17, 0x83, 0xed, 0x72, 0x44, 0x8f, 0x0b, 0x27, 0x45, 0xa8, 0xdb, 0x25, 0x21, 0x36, 0x62,
- 0x9a, 0xaf, 0x14, 0x24, 0x88, 0x11, 0x83, 0x56, 0x2c, 0x2f, 0x16, 0xc8, 0x33, 0x3a, 0xe5, 0x9c,
- 0x78, 0x24, 0xc7, 0x78, 0xe1, 0x91, 0x1c, 0xe3, 0x83, 0x47, 0x72, 0x8c, 0x13, 0x1e, 0xcb, 0x31,
- 0x5c, 0x78, 0x2c, 0xc7, 0x70, 0xe3, 0xb1, 0x1c, 0x43, 0x54, 0x50, 0x7a, 0x66, 0x49, 0x46, 0x69,
- 0x92, 0x5e, 0x72, 0x7e, 0xae, 0xbe, 0x27, 0xcc, 0x5d, 0x3e, 0x89, 0x49, 0xc5, 0xfa, 0x70, 0x57,
- 0xea, 0x26, 0xe7, 0x17, 0xa5, 0x22, 0x73, 0x33, 0x12, 0x33, 0xf3, 0xf4, 0x73, 0xf3, 0x53, 0x4a,
- 0x73, 0x52, 0x8b, 0x51, 0x53, 0x44, 0x49, 0x65, 0x41, 0x6a, 0x71, 0x12, 0x1b, 0x38, 0x25, 0x18,
- 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0x73, 0xa7, 0x6a, 0x44, 0xd4, 0x02, 0x00, 0x00,
+ // 428 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0x41, 0x8b, 0xd3, 0x40,
+ 0x18, 0x86, 0x33, 0xdd, 0x58, 0x70, 0xba, 0xab, 0xee, 0xa0, 0x10, 0x17, 0x4c, 0xd6, 0x08, 0x4b,
+ 0xc5, 0x9a, 0xd0, 0x0a, 0x3d, 0xf4, 0x66, 0x28, 0x88, 0xa0, 0x20, 0xf1, 0xe6, 0xa5, 0x4c, 0xd2,
+ 0x31, 0x8d, 0x66, 0x32, 0x25, 0x99, 0x16, 0xf2, 0x0f, 0x3c, 0x7a, 0xf3, 0xea, 0xcf, 0xe9, 0xb1,
+ 0x47, 0x4f, 0x41, 0xda, 0x8b, 0xe7, 0xfc, 0x02, 0xc9, 0xcc, 0x18, 0x5a, 0x0b, 0x9b, 0xdb, 0xcc,
+ 0x37, 0xcf, 0xfb, 0x7d, 0xef, 0x3b, 0x33, 0x70, 0x10, 0xa7, 0x5f, 0x48, 0xc8, 0xe3, 0x35, 0x71,
+ 0x39, 0xfb, 0x4a, 0xd2, 0xcf, 0x38, 0xe4, 0x2c, 0x2b, 0xdc, 0xf5, 0x30, 0x20, 0x1c, 0x0f, 0xdd,
+ 0x88, 0xa4, 0x24, 0x8f, 0x73, 0x67, 0x99, 0x31, 0xce, 0x90, 0xd9, 0xd0, 0xce, 0x21, 0xed, 0x28,
+ 0xfa, 0xea, 0x61, 0xc4, 0x22, 0x26, 0x50, 0xb7, 0x5e, 0x49, 0xd5, 0xd5, 0xb8, 0x65, 0x06, 0x5e,
+ 0xf1, 0x05, 0xcb, 0x62, 0x5e, 0xbc, 0x27, 0x1c, 0xcf, 0x31, 0xc7, 0x4a, 0xf7, 0xa2, 0x45, 0xb7,
+ 0xc4, 0x19, 0xa6, 0xca, 0x9a, 0xbd, 0x01, 0xf0, 0xfc, 0x8d, 0x34, 0xfb, 0x91, 0x63, 0x4e, 0xd0,
+ 0x14, 0x76, 0x25, 0x60, 0x80, 0x6b, 0xd0, 0xef, 0x8d, 0x6e, 0x9c, 0xdb, 0xcd, 0x3b, 0x1f, 0x04,
+ 0xed, 0xe9, 0x9b, 0xd2, 0xd2, 0x7c, 0xa5, 0x45, 0x19, 0xbc, 0xa7, 0xb8, 0xd9, 0x9c, 0xa4, 0x8c,
+ 0xe6, 0x46, 0xe7, 0xfa, 0xac, 0xdf, 0x1b, 0x0d, 0xda, 0xba, 0x29, 0x2f, 0xd3, 0x5a, 0xe4, 0x3d,
+ 0xa9, 0x7b, 0x56, 0xa5, 0xf5, 0xa8, 0xc0, 0x34, 0x99, 0xd8, 0xc7, 0x1d, 0x6d, 0xff, 0x42, 0x15,
+ 0xa6, 0x72, 0xff, 0xa3, 0xd3, 0x44, 0x11, 0x15, 0x74, 0x03, 0xef, 0x08, 0x54, 0x24, 0xb9, 0xeb,
+ 0x3d, 0xa8, 0x4a, 0xeb, 0x5c, 0x76, 0x12, 0x65, 0xdb, 0x97, 0xc7, 0xe8, 0x1b, 0x80, 0xa8, 0xb9,
+ 0xcc, 0x19, 0x55, 0xb7, 0x69, 0x74, 0x44, 0xfe, 0x71, 0x9b, 0x63, 0x31, 0xeb, 0xf5, 0xff, 0x6f,
+ 0xe1, 0x3d, 0x55, 0xde, 0x1f, 0xcb, 0x89, 0xa7, 0xfd, 0x6d, 0xff, 0xf2, 0xe4, 0x05, 0xd1, 0x33,
+ 0xa8, 0xa7, 0x98, 0x12, 0xe3, 0x4c, 0x38, 0xbe, 0x5f, 0x95, 0x56, 0x4f, 0xea, 0xeb, 0xaa, 0xed,
+ 0x8b, 0x43, 0xf4, 0x1c, 0x76, 0xf3, 0x82, 0x06, 0x2c, 0x31, 0x74, 0x81, 0x5d, 0x56, 0xa5, 0x75,
+ 0x21, 0x31, 0x59, 0xb7, 0x7d, 0x05, 0x4c, 0xf4, 0x3f, 0x3f, 0x2d, 0xe0, 0x25, 0x9b, 0x9d, 0x09,
+ 0xb6, 0x3b, 0x13, 0xfc, 0xde, 0x99, 0xe0, 0xfb, 0xde, 0xd4, 0xb6, 0x7b, 0x53, 0xfb, 0xb5, 0x37,
+ 0xb5, 0x4f, 0x7e, 0x14, 0xf3, 0xc5, 0x2a, 0x70, 0x42, 0x46, 0xdd, 0xb7, 0xff, 0x72, 0xbe, 0xc3,
+ 0x41, 0xee, 0x36, 0xa9, 0x5f, 0x86, 0x2c, 0x23, 0x87, 0xdb, 0x05, 0x8e, 0x53, 0x97, 0xb2, 0xf9,
+ 0x2a, 0x21, 0xf9, 0xf1, 0x0f, 0xe3, 0xc5, 0x92, 0xe4, 0x41, 0x57, 0xfc, 0xac, 0x57, 0x7f, 0x03,
+ 0x00, 0x00, 0xff, 0xff, 0x0c, 0x9b, 0x79, 0xd8, 0x24, 0x03, 0x00, 0x00,
}
func (this *GenesisDenom) Equal(that interface{}) bool {
@@ -194,6 +214,12 @@ func (this *GenesisDenom) Equal(that interface{}) bool {
if !this.AuthorityMetadata.Equal(&that1.AuthorityMetadata) {
return false
}
+ if this.Name != that1.Name {
+ return false
+ }
+ if this.Symbol != that1.Symbol {
+ return false
+ }
return true
}
func (m *GenesisState) Marshal() (dAtA []byte, err error) {
@@ -263,6 +289,20 @@ func (m *GenesisDenom) MarshalToSizedBuffer(dAtA []byte) (int, error) {
_ = i
var l int
_ = l
+ if len(m.Symbol) > 0 {
+ i -= len(m.Symbol)
+ copy(dAtA[i:], m.Symbol)
+ i = encodeVarintGenesis(dAtA, i, uint64(len(m.Symbol)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.Name) > 0 {
+ i -= len(m.Name)
+ copy(dAtA[i:], m.Name)
+ i = encodeVarintGenesis(dAtA, i, uint64(len(m.Name)))
+ i--
+ dAtA[i] = 0x1a
+ }
{
size, err := m.AuthorityMetadata.MarshalToSizedBuffer(dAtA[:i])
if err != nil {
@@ -323,6 +363,14 @@ func (m *GenesisDenom) Size() (n int) {
}
l = m.AuthorityMetadata.Size()
n += 1 + l + sovGenesis(uint64(l))
+ l = len(m.Name)
+ if l > 0 {
+ n += 1 + l + sovGenesis(uint64(l))
+ }
+ l = len(m.Symbol)
+ if l > 0 {
+ n += 1 + l + sovGenesis(uint64(l))
+ }
return n
}
@@ -543,6 +591,70 @@ func (m *GenesisDenom) Unmarshal(dAtA []byte) error {
return err
}
iNdEx = postIndex
+ case 3:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenesis
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenesis
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenesis
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Name = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field Symbol", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowGenesis
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthGenesis
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthGenesis
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.Symbol = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
default:
iNdEx = preIndex
skippy, err := skipGenesis(dAtA[iNdEx:])
diff --git a/chain/tokenfactory/types/msgs.go b/chain/tokenfactory/types/msgs.go
index 71d1c67e..6e5d083d 100644
--- a/chain/tokenfactory/types/msgs.go
+++ b/chain/tokenfactory/types/msgs.go
@@ -51,10 +51,12 @@ func (m MsgUpdateParams) GetSigners() []sdk.AccAddress {
}
// NewMsgCreateDenom creates a msg to create a new denom
-func NewMsgCreateDenom(sender, subdenom string) *MsgCreateDenom {
+func NewMsgCreateDenom(sender, subdenom, name, symbol string) *MsgCreateDenom {
return &MsgCreateDenom{
Sender: sender,
Subdenom: subdenom,
+ Name: name,
+ Symbol: symbol,
}
}
diff --git a/chain/tokenfactory/types/params.pb.go b/chain/tokenfactory/types/params.pb.go
index 9d705d9c..089844bc 100644
--- a/chain/tokenfactory/types/params.pb.go
+++ b/chain/tokenfactory/types/params.pb.go
@@ -5,14 +5,15 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
github_com_cosmos_cosmos_sdk_types "github.com/cosmos/cosmos-sdk/types"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/tokenfactory/types/query.pb.go b/chain/tokenfactory/types/query.pb.go
index 9d7f5742..f8afd710 100644
--- a/chain/tokenfactory/types/query.pb.go
+++ b/chain/tokenfactory/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-sdk/types/query"
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
@@ -14,9 +18,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/tokenfactory/types/tx.pb.go b/chain/tokenfactory/types/tx.pb.go
index 214084f8..33e4eb33 100644
--- a/chain/tokenfactory/types/tx.pb.go
+++ b/chain/tokenfactory/types/tx.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
types "github.com/cosmos/cosmos-sdk/types"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
@@ -16,9 +20,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/types/account.pb.go b/chain/types/account.pb.go
index cb352b87..59afd490 100644
--- a/chain/types/account.pb.go
+++ b/chain/types/account.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
types "github.com/cosmos/cosmos-sdk/x/auth/types"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/types/codec.go b/chain/types/codec.go
index 4b8b7de4..321ee347 100644
--- a/chain/types/codec.go
+++ b/chain/types/codec.go
@@ -6,10 +6,6 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
)
-type (
- ExtensionOptionsWeb3TxI interface{}
-)
-
// RegisterInterfaces registers the tendermint concrete client-related
// implementations and interfaces.
func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
@@ -25,13 +21,7 @@ func RegisterInterfaces(registry codectypes.InterfaceRegistry) {
&EthAccount{},
)
- registry.RegisterInterface("injective.types.v1beta1.ExtensionOptionsWeb3Tx", (*ExtensionOptionsWeb3TxI)(nil))
- registry.RegisterImplementations(
- (*ExtensionOptionsWeb3TxI)(nil),
- &ExtensionOptionsWeb3Tx{},
- )
-
- registry.RegisterInterface("injective.types.v1beta1.ExtensionOptionI", (*tx.TxExtensionOptionI)(nil))
+ registry.RegisterInterface("injective.types.v1beta1.ExtensionOptionsWeb3Tx", (*tx.TxExtensionOptionI)(nil))
registry.RegisterImplementations(
(*tx.TxExtensionOptionI)(nil),
&ExtensionOptionsWeb3Tx{},
diff --git a/chain/types/tx_ext.pb.go b/chain/types/tx_ext.pb.go
index 3b5e02ae..5f48212a 100644
--- a/chain/types/tx_ext.pb.go
+++ b/chain/types/tx_ext.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/types/tx_response.pb.go b/chain/types/tx_response.pb.go
index e4d2327b..de584707 100644
--- a/chain/types/tx_response.pb.go
+++ b/chain/types/tx_response.pb.go
@@ -5,10 +5,11 @@ package types
import (
fmt "fmt"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/wasmx/types/events.pb.go b/chain/wasmx/types/events.pb.go
index 386f1e3a..a211e66a 100644
--- a/chain/wasmx/types/events.pb.go
+++ b/chain/wasmx/types/events.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -26,7 +27,8 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
type EventContractExecution struct {
ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
Response []byte `protobuf:"bytes,2,opt,name=response,proto3" json:"response,omitempty"`
- Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
+ OtherError string `protobuf:"bytes,3,opt,name=other_error,json=otherError,proto3" json:"other_error,omitempty"`
+ ExecutionError string `protobuf:"bytes,4,opt,name=execution_error,json=executionError,proto3" json:"execution_error,omitempty"`
}
func (m *EventContractExecution) Reset() { *m = EventContractExecution{} }
@@ -76,37 +78,204 @@ func (m *EventContractExecution) GetResponse() []byte {
return nil
}
-func (m *EventContractExecution) GetError() string {
+func (m *EventContractExecution) GetOtherError() string {
+ if m != nil {
+ return m.OtherError
+ }
+ return ""
+}
+
+func (m *EventContractExecution) GetExecutionError() string {
+ if m != nil {
+ return m.ExecutionError
+ }
+ return ""
+}
+
+type EventContractRegistered struct {
+ ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
+ GasPrice uint64 `protobuf:"varint,3,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
+ ShouldPinContract bool `protobuf:"varint,4,opt,name=should_pin_contract,json=shouldPinContract,proto3" json:"should_pin_contract,omitempty"`
+ IsMigrationAllowed bool `protobuf:"varint,5,opt,name=is_migration_allowed,json=isMigrationAllowed,proto3" json:"is_migration_allowed,omitempty"`
+ CodeId uint64 `protobuf:"varint,6,opt,name=code_id,json=codeId,proto3" json:"code_id,omitempty"`
+ AdminAddress string `protobuf:"bytes,7,opt,name=admin_address,json=adminAddress,proto3" json:"admin_address,omitempty"`
+ GranterAddress string `protobuf:"bytes,8,opt,name=granter_address,json=granterAddress,proto3" json:"granter_address,omitempty"`
+ FundingMode FundingMode `protobuf:"varint,9,opt,name=funding_mode,json=fundingMode,proto3,enum=injective.wasmx.v1.FundingMode" json:"funding_mode,omitempty"`
+}
+
+func (m *EventContractRegistered) Reset() { *m = EventContractRegistered{} }
+func (m *EventContractRegistered) String() string { return proto.CompactTextString(m) }
+func (*EventContractRegistered) ProtoMessage() {}
+func (*EventContractRegistered) Descriptor() ([]byte, []int) {
+ return fileDescriptor_f2ba06c5f04cb490, []int{1}
+}
+func (m *EventContractRegistered) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventContractRegistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventContractRegistered.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *EventContractRegistered) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventContractRegistered.Merge(m, src)
+}
+func (m *EventContractRegistered) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventContractRegistered) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventContractRegistered.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventContractRegistered proto.InternalMessageInfo
+
+func (m *EventContractRegistered) GetContractAddress() string {
+ if m != nil {
+ return m.ContractAddress
+ }
+ return ""
+}
+
+func (m *EventContractRegistered) GetGasPrice() uint64 {
+ if m != nil {
+ return m.GasPrice
+ }
+ return 0
+}
+
+func (m *EventContractRegistered) GetShouldPinContract() bool {
+ if m != nil {
+ return m.ShouldPinContract
+ }
+ return false
+}
+
+func (m *EventContractRegistered) GetIsMigrationAllowed() bool {
+ if m != nil {
+ return m.IsMigrationAllowed
+ }
+ return false
+}
+
+func (m *EventContractRegistered) GetCodeId() uint64 {
+ if m != nil {
+ return m.CodeId
+ }
+ return 0
+}
+
+func (m *EventContractRegistered) GetAdminAddress() string {
+ if m != nil {
+ return m.AdminAddress
+ }
+ return ""
+}
+
+func (m *EventContractRegistered) GetGranterAddress() string {
+ if m != nil {
+ return m.GranterAddress
+ }
+ return ""
+}
+
+func (m *EventContractRegistered) GetFundingMode() FundingMode {
+ if m != nil {
+ return m.FundingMode
+ }
+ return FundingMode_Unspecified
+}
+
+type EventContractDeregistered struct {
+ ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
+}
+
+func (m *EventContractDeregistered) Reset() { *m = EventContractDeregistered{} }
+func (m *EventContractDeregistered) String() string { return proto.CompactTextString(m) }
+func (*EventContractDeregistered) ProtoMessage() {}
+func (*EventContractDeregistered) Descriptor() ([]byte, []int) {
+ return fileDescriptor_f2ba06c5f04cb490, []int{2}
+}
+func (m *EventContractDeregistered) XXX_Unmarshal(b []byte) error {
+ return m.Unmarshal(b)
+}
+func (m *EventContractDeregistered) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ if deterministic {
+ return xxx_messageInfo_EventContractDeregistered.Marshal(b, m, deterministic)
+ } else {
+ b = b[:cap(b)]
+ n, err := m.MarshalToSizedBuffer(b)
+ if err != nil {
+ return nil, err
+ }
+ return b[:n], nil
+ }
+}
+func (m *EventContractDeregistered) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_EventContractDeregistered.Merge(m, src)
+}
+func (m *EventContractDeregistered) XXX_Size() int {
+ return m.Size()
+}
+func (m *EventContractDeregistered) XXX_DiscardUnknown() {
+ xxx_messageInfo_EventContractDeregistered.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_EventContractDeregistered proto.InternalMessageInfo
+
+func (m *EventContractDeregistered) GetContractAddress() string {
if m != nil {
- return m.Error
+ return m.ContractAddress
}
return ""
}
func init() {
proto.RegisterType((*EventContractExecution)(nil), "injective.wasmx.v1.EventContractExecution")
+ proto.RegisterType((*EventContractRegistered)(nil), "injective.wasmx.v1.EventContractRegistered")
+ proto.RegisterType((*EventContractDeregistered)(nil), "injective.wasmx.v1.EventContractDeregistered")
}
func init() { proto.RegisterFile("injective/wasmx/v1/events.proto", fileDescriptor_f2ba06c5f04cb490) }
var fileDescriptor_f2ba06c5f04cb490 = []byte{
- // 256 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x8f, 0x31, 0x4b, 0xc4, 0x30,
- 0x18, 0x86, 0x1b, 0x45, 0xd1, 0x20, 0x28, 0xe1, 0x90, 0xd2, 0x21, 0x1e, 0x4e, 0xe7, 0x60, 0xc3,
- 0xe1, 0x2f, 0x50, 0xb9, 0x41, 0x74, 0xba, 0xd1, 0x45, 0xd2, 0xf4, 0xa3, 0x17, 0xb1, 0xf9, 0x4a,
- 0x92, 0xd6, 0xf3, 0x5f, 0xf8, 0xb3, 0x1c, 0x6f, 0x74, 0x94, 0xf6, 0x8f, 0xc8, 0xa5, 0xd7, 0xe2,
- 0xe0, 0xf6, 0xbd, 0x4f, 0xde, 0x37, 0xf0, 0xd0, 0x0b, 0x6d, 0x5e, 0x41, 0x79, 0xdd, 0x80, 0x78,
- 0x97, 0xae, 0x5c, 0x8b, 0x66, 0x2e, 0xa0, 0x01, 0xe3, 0x5d, 0x5a, 0x59, 0xf4, 0xc8, 0xd8, 0x58,
- 0x48, 0x43, 0x21, 0x6d, 0xe6, 0x09, 0xff, 0x67, 0xd4, 0x3f, 0x86, 0x4d, 0x32, 0x29, 0xb0, 0xc0,
- 0x70, 0x8a, 0xed, 0xd5, 0xd3, 0xcb, 0x9a, 0x9e, 0x2f, 0xb6, 0x3f, 0xdf, 0xa3, 0xf1, 0x56, 0x2a,
- 0xbf, 0x58, 0x83, 0xaa, 0xbd, 0x46, 0xc3, 0xae, 0xe8, 0x99, 0xda, 0xc1, 0x17, 0x99, 0xe7, 0x16,
- 0x9c, 0x8b, 0xc9, 0x94, 0xcc, 0x8e, 0x97, 0xa7, 0x03, 0xbf, 0xed, 0x31, 0x4b, 0xe8, 0x91, 0x05,
- 0x57, 0xa1, 0x71, 0x10, 0xef, 0x4d, 0xc9, 0xec, 0x64, 0x39, 0x66, 0x36, 0xa1, 0x07, 0x60, 0x2d,
- 0xda, 0x78, 0x3f, 0x6c, 0xfb, 0x70, 0x07, 0x5f, 0x2d, 0x27, 0x9b, 0x96, 0x93, 0x9f, 0x96, 0x93,
- 0xcf, 0x8e, 0x47, 0x9b, 0x8e, 0x47, 0xdf, 0x1d, 0x8f, 0x9e, 0x1f, 0x0b, 0xed, 0x57, 0x75, 0x96,
- 0x2a, 0x2c, 0xc5, 0xc3, 0x60, 0xf4, 0x24, 0x33, 0x27, 0x46, 0xbf, 0x6b, 0x85, 0x16, 0xfe, 0xc6,
- 0x95, 0xd4, 0x46, 0x94, 0x98, 0xd7, 0x6f, 0xe0, 0x76, 0xf2, 0xfe, 0xa3, 0x02, 0x97, 0x1d, 0x06,
- 0xc9, 0x9b, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0xd0, 0xa3, 0x7b, 0x5f, 0x51, 0x01, 0x00, 0x00,
+ // 478 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x92, 0xcf, 0x6e, 0xd3, 0x4c,
+ 0x14, 0xc5, 0xe3, 0x7e, 0xfd, 0xd2, 0x64, 0x1a, 0x1a, 0x18, 0x2a, 0x6a, 0x82, 0xe4, 0x84, 0xb0,
+ 0x68, 0x58, 0x60, 0x53, 0x78, 0x82, 0x16, 0x52, 0xa9, 0x82, 0x4a, 0x95, 0x97, 0x6c, 0xac, 0x89,
+ 0xe7, 0xd6, 0x19, 0x64, 0xcf, 0xb5, 0x66, 0xc6, 0x69, 0x79, 0x0b, 0x5e, 0x83, 0x37, 0x61, 0xd9,
+ 0x25, 0x4b, 0x94, 0xec, 0x79, 0x06, 0xe4, 0xf1, 0x1f, 0xa8, 0xe8, 0x06, 0x76, 0x73, 0xcf, 0x39,
+ 0x77, 0xee, 0x4f, 0x57, 0x97, 0x8c, 0x85, 0xfc, 0x08, 0xb1, 0x11, 0x2b, 0x08, 0xae, 0x98, 0xce,
+ 0xae, 0x83, 0xd5, 0x51, 0x00, 0x2b, 0x90, 0x46, 0xfb, 0xb9, 0x42, 0x83, 0x94, 0xb6, 0x01, 0xdf,
+ 0x06, 0xfc, 0xd5, 0xd1, 0xc8, 0xbb, 0xa3, 0xa9, 0x32, 0x6d, 0xcf, 0xe8, 0xe9, 0x1d, 0x7e, 0xae,
+ 0x30, 0x47, 0xcd, 0xd2, 0x3a, 0xb2, 0x9f, 0x60, 0x82, 0xf6, 0x19, 0x94, 0xaf, 0x4a, 0x9d, 0x7e,
+ 0x71, 0xc8, 0xa3, 0x79, 0x39, 0xfd, 0x0d, 0x4a, 0xa3, 0x58, 0x6c, 0xe6, 0xd7, 0x10, 0x17, 0x46,
+ 0xa0, 0xa4, 0xcf, 0xc9, 0xfd, 0xb8, 0x16, 0x23, 0xc6, 0xb9, 0x02, 0xad, 0x5d, 0x67, 0xe2, 0xcc,
+ 0xfa, 0xe1, 0xb0, 0xd1, 0x8f, 0x2b, 0x99, 0x8e, 0x48, 0x4f, 0x81, 0xce, 0x51, 0x6a, 0x70, 0xb7,
+ 0x26, 0xce, 0x6c, 0x10, 0xb6, 0x35, 0x1d, 0x93, 0x5d, 0x34, 0x4b, 0x50, 0x11, 0x28, 0x85, 0xca,
+ 0xfd, 0xcf, 0xfe, 0x40, 0xac, 0x34, 0x2f, 0x15, 0x7a, 0x48, 0x86, 0xd0, 0x0c, 0xad, 0x43, 0xdb,
+ 0x36, 0xb4, 0xd7, 0xca, 0x36, 0x38, 0xfd, 0xb1, 0x45, 0x0e, 0x6e, 0xb1, 0x86, 0x90, 0x08, 0x6d,
+ 0x40, 0x01, 0xff, 0x1b, 0xd8, 0x27, 0xa4, 0x9f, 0x30, 0x1d, 0xe5, 0x4a, 0xc4, 0x60, 0x71, 0xb6,
+ 0xc3, 0x5e, 0xc2, 0xf4, 0x45, 0x59, 0x53, 0x9f, 0x3c, 0xd4, 0x4b, 0x2c, 0x52, 0x1e, 0xe5, 0x42,
+ 0x46, 0x4d, 0xab, 0x05, 0xea, 0x85, 0x0f, 0x2a, 0xeb, 0x42, 0xc8, 0x86, 0x80, 0xbe, 0x24, 0xfb,
+ 0x42, 0x47, 0x99, 0x48, 0x14, 0xb3, 0xfc, 0x2c, 0x4d, 0xf1, 0x0a, 0xb8, 0xfb, 0xbf, 0x6d, 0xa0,
+ 0x42, 0x9f, 0x37, 0xd6, 0x71, 0xe5, 0xd0, 0x03, 0xb2, 0x13, 0x23, 0x87, 0x48, 0x70, 0xb7, 0x6b,
+ 0x87, 0x77, 0xcb, 0xf2, 0x8c, 0xd3, 0x67, 0xe4, 0x1e, 0xe3, 0x99, 0x90, 0x2d, 0xff, 0x8e, 0xe5,
+ 0x1f, 0x58, 0xb1, 0x81, 0x3f, 0x24, 0xc3, 0x44, 0x31, 0x69, 0x40, 0xb5, 0xb1, 0x5e, 0xb5, 0xac,
+ 0x5a, 0x6e, 0x82, 0x27, 0x64, 0x70, 0x59, 0x48, 0x2e, 0x64, 0x12, 0x65, 0xc8, 0xc1, 0xed, 0x4f,
+ 0x9c, 0xd9, 0xde, 0xab, 0xb1, 0xff, 0xe7, 0x71, 0xf9, 0xa7, 0x55, 0xee, 0x1c, 0x39, 0x84, 0xbb,
+ 0x97, 0xbf, 0x8a, 0xe9, 0x29, 0x79, 0x7c, 0x6b, 0xdf, 0x6f, 0x41, 0xfd, 0xcb, 0xc6, 0x4f, 0xe0,
+ 0xeb, 0xda, 0x73, 0x6e, 0xd6, 0x9e, 0xf3, 0x7d, 0xed, 0x39, 0x9f, 0x37, 0x5e, 0xe7, 0x66, 0xe3,
+ 0x75, 0xbe, 0x6d, 0xbc, 0xce, 0x87, 0x77, 0x89, 0x30, 0xcb, 0x62, 0xe1, 0xc7, 0x98, 0x05, 0x67,
+ 0x0d, 0xd9, 0x7b, 0xb6, 0xd0, 0x41, 0xcb, 0xf9, 0x22, 0x46, 0x05, 0xbf, 0x97, 0x4b, 0x26, 0x64,
+ 0x90, 0x21, 0x2f, 0x52, 0xd0, 0xf5, 0xb5, 0x9b, 0x4f, 0x39, 0xe8, 0x45, 0xd7, 0x9e, 0xf4, 0xeb,
+ 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x69, 0x98, 0x56, 0x6d, 0x62, 0x03, 0x00, 0x00,
}
func (m *EventContractExecution) Marshal() (dAtA []byte, err error) {
@@ -129,10 +298,17 @@ func (m *EventContractExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
_ = i
var l int
_ = l
- if len(m.Error) > 0 {
- i -= len(m.Error)
- copy(dAtA[i:], m.Error)
- i = encodeVarintEvents(dAtA, i, uint64(len(m.Error)))
+ if len(m.ExecutionError) > 0 {
+ i -= len(m.ExecutionError)
+ copy(dAtA[i:], m.ExecutionError)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.ExecutionError)))
+ i--
+ dAtA[i] = 0x22
+ }
+ if len(m.OtherError) > 0 {
+ i -= len(m.OtherError)
+ copy(dAtA[i:], m.OtherError)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.OtherError)))
i--
dAtA[i] = 0x1a
}
@@ -153,6 +329,115 @@ func (m *EventContractExecution) MarshalToSizedBuffer(dAtA []byte) (int, error)
return len(dAtA) - i, nil
}
+func (m *EventContractRegistered) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *EventContractRegistered) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventContractRegistered) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if m.FundingMode != 0 {
+ i = encodeVarintEvents(dAtA, i, uint64(m.FundingMode))
+ i--
+ dAtA[i] = 0x48
+ }
+ if len(m.GranterAddress) > 0 {
+ i -= len(m.GranterAddress)
+ copy(dAtA[i:], m.GranterAddress)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.GranterAddress)))
+ i--
+ dAtA[i] = 0x42
+ }
+ if len(m.AdminAddress) > 0 {
+ i -= len(m.AdminAddress)
+ copy(dAtA[i:], m.AdminAddress)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.AdminAddress)))
+ i--
+ dAtA[i] = 0x3a
+ }
+ if m.CodeId != 0 {
+ i = encodeVarintEvents(dAtA, i, uint64(m.CodeId))
+ i--
+ dAtA[i] = 0x30
+ }
+ if m.IsMigrationAllowed {
+ i--
+ if m.IsMigrationAllowed {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x28
+ }
+ if m.ShouldPinContract {
+ i--
+ if m.ShouldPinContract {
+ dAtA[i] = 1
+ } else {
+ dAtA[i] = 0
+ }
+ i--
+ dAtA[i] = 0x20
+ }
+ if m.GasPrice != 0 {
+ i = encodeVarintEvents(dAtA, i, uint64(m.GasPrice))
+ i--
+ dAtA[i] = 0x18
+ }
+ if len(m.ContractAddress) > 0 {
+ i -= len(m.ContractAddress)
+ copy(dAtA[i:], m.ContractAddress)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.ContractAddress)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
+func (m *EventContractDeregistered) Marshal() (dAtA []byte, err error) {
+ size := m.Size()
+ dAtA = make([]byte, size)
+ n, err := m.MarshalToSizedBuffer(dAtA[:size])
+ if err != nil {
+ return nil, err
+ }
+ return dAtA[:n], nil
+}
+
+func (m *EventContractDeregistered) MarshalTo(dAtA []byte) (int, error) {
+ size := m.Size()
+ return m.MarshalToSizedBuffer(dAtA[:size])
+}
+
+func (m *EventContractDeregistered) MarshalToSizedBuffer(dAtA []byte) (int, error) {
+ i := len(dAtA)
+ _ = i
+ var l int
+ _ = l
+ if len(m.ContractAddress) > 0 {
+ i -= len(m.ContractAddress)
+ copy(dAtA[i:], m.ContractAddress)
+ i = encodeVarintEvents(dAtA, i, uint64(len(m.ContractAddress)))
+ i--
+ dAtA[i] = 0xa
+ }
+ return len(dAtA) - i, nil
+}
+
func encodeVarintEvents(dAtA []byte, offset int, v uint64) int {
offset -= sovEvents(v)
base := offset
@@ -178,7 +463,60 @@ func (m *EventContractExecution) Size() (n int) {
if l > 0 {
n += 1 + l + sovEvents(uint64(l))
}
- l = len(m.Error)
+ l = len(m.OtherError)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ l = len(m.ExecutionError)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ return n
+}
+
+func (m *EventContractRegistered) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.ContractAddress)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ if m.GasPrice != 0 {
+ n += 1 + sovEvents(uint64(m.GasPrice))
+ }
+ if m.ShouldPinContract {
+ n += 2
+ }
+ if m.IsMigrationAllowed {
+ n += 2
+ }
+ if m.CodeId != 0 {
+ n += 1 + sovEvents(uint64(m.CodeId))
+ }
+ l = len(m.AdminAddress)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ l = len(m.GranterAddress)
+ if l > 0 {
+ n += 1 + l + sovEvents(uint64(l))
+ }
+ if m.FundingMode != 0 {
+ n += 1 + sovEvents(uint64(m.FundingMode))
+ }
+ return n
+}
+
+func (m *EventContractDeregistered) Size() (n int) {
+ if m == nil {
+ return 0
+ }
+ var l int
+ _ = l
+ l = len(m.ContractAddress)
if l > 0 {
n += 1 + l + sovEvents(uint64(l))
}
@@ -288,7 +626,39 @@ func (m *EventContractExecution) Unmarshal(dAtA []byte) error {
iNdEx = postIndex
case 3:
if wireType != 2 {
- return fmt.Errorf("proto: wrong wireType = %d for field Error", wireType)
+ return fmt.Errorf("proto: wrong wireType = %d for field OtherError", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.OtherError = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 4:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ExecutionError", wireType)
}
var stringLen uint64
for shift := uint(0); ; shift += 7 {
@@ -316,7 +686,332 @@ func (m *EventContractExecution) Unmarshal(dAtA []byte) error {
if postIndex > l {
return io.ErrUnexpectedEOF
}
- m.Error = string(dAtA[iNdEx:postIndex])
+ m.ExecutionError = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEvents(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventContractRegistered) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: EventContractRegistered: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventContractRegistered: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ContractAddress = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 3:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GasPrice", wireType)
+ }
+ m.GasPrice = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.GasPrice |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 4:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ShouldPinContract", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.ShouldPinContract = bool(v != 0)
+ case 5:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field IsMigrationAllowed", wireType)
+ }
+ var v int
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ v |= int(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ m.IsMigrationAllowed = bool(v != 0)
+ case 6:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field CodeId", wireType)
+ }
+ m.CodeId = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.CodeId |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ case 7:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field AdminAddress", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.AdminAddress = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 8:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field GranterAddress", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.GranterAddress = string(dAtA[iNdEx:postIndex])
+ iNdEx = postIndex
+ case 9:
+ if wireType != 0 {
+ return fmt.Errorf("proto: wrong wireType = %d for field FundingMode", wireType)
+ }
+ m.FundingMode = 0
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ m.FundingMode |= FundingMode(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ default:
+ iNdEx = preIndex
+ skippy, err := skipEvents(dAtA[iNdEx:])
+ if err != nil {
+ return err
+ }
+ if (skippy < 0) || (iNdEx+skippy) < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if (iNdEx + skippy) > l {
+ return io.ErrUnexpectedEOF
+ }
+ iNdEx += skippy
+ }
+ }
+
+ if iNdEx > l {
+ return io.ErrUnexpectedEOF
+ }
+ return nil
+}
+func (m *EventContractDeregistered) Unmarshal(dAtA []byte) error {
+ l := len(dAtA)
+ iNdEx := 0
+ for iNdEx < l {
+ preIndex := iNdEx
+ var wire uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ wire |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ fieldNum := int32(wire >> 3)
+ wireType := int(wire & 0x7)
+ if wireType == 4 {
+ return fmt.Errorf("proto: EventContractDeregistered: wiretype end group for non-group")
+ }
+ if fieldNum <= 0 {
+ return fmt.Errorf("proto: EventContractDeregistered: illegal tag %d (wire type %d)", fieldNum, wire)
+ }
+ switch fieldNum {
+ case 1:
+ if wireType != 2 {
+ return fmt.Errorf("proto: wrong wireType = %d for field ContractAddress", wireType)
+ }
+ var stringLen uint64
+ for shift := uint(0); ; shift += 7 {
+ if shift >= 64 {
+ return ErrIntOverflowEvents
+ }
+ if iNdEx >= l {
+ return io.ErrUnexpectedEOF
+ }
+ b := dAtA[iNdEx]
+ iNdEx++
+ stringLen |= uint64(b&0x7F) << shift
+ if b < 0x80 {
+ break
+ }
+ }
+ intStringLen := int(stringLen)
+ if intStringLen < 0 {
+ return ErrInvalidLengthEvents
+ }
+ postIndex := iNdEx + intStringLen
+ if postIndex < 0 {
+ return ErrInvalidLengthEvents
+ }
+ if postIndex > l {
+ return io.ErrUnexpectedEOF
+ }
+ m.ContractAddress = string(dAtA[iNdEx:postIndex])
iNdEx = postIndex
default:
iNdEx = preIndex
diff --git a/chain/wasmx/types/genesis.pb.go b/chain/wasmx/types/genesis.pb.go
index fe9147ae..c9405de5 100644
--- a/chain/wasmx/types/genesis.pb.go
+++ b/chain/wasmx/types/genesis.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/wasmx/types/proposal.pb.go b/chain/wasmx/types/proposal.pb.go
index 128ae2cc..07cbe1c8 100644
--- a/chain/wasmx/types/proposal.pb.go
+++ b/chain/wasmx/types/proposal.pb.go
@@ -5,13 +5,14 @@ package types
import (
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
types "github.com/CosmWasm/wasmd/x/wasm/types"
_ "github.com/cosmos/cosmos-proto"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
@@ -346,51 +347,51 @@ func init() {
func init() { proto.RegisterFile("injective/wasmx/v1/proposal.proto", fileDescriptor_ba51f3e994cc61a5) }
var fileDescriptor_ba51f3e994cc61a5 = []byte{
- // 689 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x40,
- 0x10, 0xb6, 0x93, 0xb4, 0x8d, 0x37, 0xfd, 0x09, 0x4b, 0x05, 0x26, 0x2d, 0x4e, 0x68, 0x24, 0x08,
- 0x48, 0xb5, 0x69, 0xb9, 0xf5, 0xd6, 0xb4, 0xa2, 0xaa, 0x68, 0x45, 0xe5, 0x8a, 0x0b, 0x17, 0x6b,
- 0xe3, 0xdd, 0x38, 0x8b, 0x6c, 0xaf, 0xf1, 0x6e, 0x52, 0x2a, 0x2e, 0xdc, 0xe0, 0xc8, 0x23, 0x54,
- 0xe2, 0x01, 0xb8, 0xf0, 0x02, 0xdc, 0x2a, 0x4e, 0x3d, 0x72, 0x42, 0xa8, 0xbd, 0xf0, 0x18, 0xc8,
- 0x6b, 0x3b, 0x0d, 0x2a, 0x84, 0x8a, 0x8a, 0x5b, 0xbe, 0x99, 0x6f, 0x66, 0xbf, 0xf9, 0x76, 0xbc,
- 0x01, 0x77, 0x68, 0xf8, 0x82, 0xb8, 0x82, 0x0e, 0x88, 0x75, 0x80, 0x78, 0xf0, 0xca, 0x1a, 0xac,
- 0x58, 0x51, 0xcc, 0x22, 0xc6, 0x91, 0x6f, 0x46, 0x31, 0x13, 0x0c, 0xc2, 0x21, 0xc5, 0x94, 0x14,
- 0x73, 0xb0, 0x52, 0xbb, 0xe5, 0x32, 0x1e, 0x30, 0xee, 0x48, 0x86, 0x95, 0x82, 0x94, 0x5e, 0xab,
- 0x27, 0x28, 0x21, 0xca, 0x86, 0x17, 0xfb, 0xd5, 0xe6, 0x3d, 0xe6, 0xb1, 0xb4, 0x30, 0xf9, 0x95,
- 0x46, 0x97, 0xde, 0x14, 0x40, 0x73, 0x83, 0x85, 0x22, 0x46, 0xae, 0xb0, 0x89, 0x47, 0xb9, 0x88,
- 0x91, 0xa0, 0x2c, 0xb4, 0xc9, 0xcb, 0x3e, 0xe1, 0x62, 0x2f, 0xeb, 0x01, 0xe7, 0xc1, 0x84, 0xa0,
- 0xc2, 0x27, 0xba, 0xda, 0x50, 0x5b, 0x9a, 0x9d, 0x02, 0xd8, 0x00, 0x15, 0x4c, 0xb8, 0x1b, 0xd3,
- 0x28, 0xa9, 0xd1, 0x0b, 0x32, 0x37, 0x1a, 0x82, 0x87, 0xe0, 0xb6, 0x9b, 0xb5, 0x77, 0xe2, 0x91,
- 0xfe, 0x4e, 0x9c, 0x1e, 0xa0, 0x17, 0x1b, 0x6a, 0xab, 0xb2, 0x6a, 0x99, 0x17, 0xa7, 0x35, 0xc7,
- 0xe8, 0x6a, 0x97, 0x8e, 0xbf, 0xd5, 0x15, 0x7b, 0xc1, 0xfd, 0x33, 0x65, 0xed, 0xee, 0xbb, 0xa3,
- 0xba, 0xf2, 0xe3, 0xa8, 0xae, 0x7c, 0xf9, 0xb4, 0x5c, 0xcb, 0xbc, 0xf2, 0xd8, 0xc0, 0x1c, 0xac,
- 0x74, 0x88, 0x40, 0x69, 0x7b, 0x12, 0x8a, 0xa5, 0xb7, 0x05, 0xd0, 0x6a, 0x23, 0xe1, 0xf6, 0xfe,
- 0xa7, 0x0f, 0xaf, 0x81, 0x31, 0xd6, 0x07, 0xae, 0x17, 0x1b, 0xc5, 0x7f, 0x37, 0x62, 0x71, 0x8c,
- 0x11, 0xfc, 0xd2, 0x4e, 0x7c, 0x50, 0x41, 0xf3, 0x17, 0x27, 0x36, 0xc9, 0xa8, 0xd6, 0x2b, 0x9b,
- 0xb0, 0x08, 0xb4, 0x5c, 0x67, 0x3a, 0xaf, 0x66, 0x9f, 0x07, 0x2e, 0xad, 0xf2, 0x63, 0x11, 0x2c,
- 0x8c, 0x71, 0x04, 0xde, 0x07, 0xd5, 0xa1, 0xd5, 0x08, 0xe3, 0x98, 0x70, 0x9e, 0x09, 0x9d, 0xcb,
- 0xe3, 0xeb, 0x69, 0x18, 0x2e, 0x00, 0xcd, 0x43, 0xdc, 0xf1, 0x69, 0x40, 0x85, 0x14, 0x5c, 0xb2,
- 0xcb, 0x1e, 0xe2, 0x3b, 0x09, 0xce, 0x93, 0x51, 0x4c, 0x5d, 0x22, 0xd7, 0x34, 0x4d, 0xee, 0x25,
- 0x18, 0x9a, 0xe0, 0x3a, 0xef, 0xb1, 0xbe, 0x8f, 0x9d, 0x88, 0x86, 0x4e, 0xde, 0x57, 0x2f, 0x35,
- 0xd4, 0x56, 0xd9, 0xbe, 0x96, 0xa6, 0xf6, 0x68, 0x98, 0xeb, 0x84, 0x0f, 0xc1, 0x3c, 0xe5, 0x4e,
- 0x40, 0xbd, 0xec, 0xda, 0x91, 0xef, 0xb3, 0x03, 0x82, 0xf5, 0x09, 0x59, 0x00, 0x29, 0xdf, 0xcd,
- 0x53, 0xeb, 0x69, 0x06, 0xde, 0x04, 0x53, 0x2e, 0xc3, 0xc4, 0xa1, 0x58, 0x9f, 0x94, 0x87, 0x4f,
- 0x26, 0x70, 0x1b, 0xc3, 0x26, 0x98, 0x41, 0x38, 0xa0, 0xe1, 0x70, 0xb8, 0x29, 0x39, 0xdc, 0xb4,
- 0x0c, 0xe6, 0x93, 0xdd, 0x03, 0x73, 0x5e, 0x8c, 0x42, 0x41, 0xe2, 0x21, 0xad, 0x2c, 0x69, 0xb3,
- 0x59, 0x38, 0x27, 0xb6, 0xc1, 0x74, 0xb7, 0x1f, 0x62, 0x1a, 0x7a, 0x4e, 0xc0, 0x30, 0xd1, 0xb5,
- 0x86, 0xda, 0x9a, 0x5d, 0xad, 0xff, 0x6e, 0x0d, 0x1f, 0xa7, 0xbc, 0x5d, 0x86, 0x89, 0x5d, 0xe9,
- 0x9e, 0x83, 0x35, 0xe3, 0x2f, 0x37, 0xf6, 0x59, 0x05, 0x37, 0xe4, 0x5e, 0xed, 0x0b, 0x16, 0x93,
- 0x0d, 0x86, 0xc9, 0x95, 0x57, 0x69, 0x0b, 0x68, 0xf9, 0xfb, 0x96, 0x7f, 0x3a, 0x4d, 0x33, 0x7f,
- 0x02, 0xa5, 0xe4, 0x44, 0xf1, 0x85, 0xf3, 0xb2, 0xcf, 0xe5, 0xbc, 0xf6, 0xb2, 0x5b, 0xf7, 0x60,
- 0x0b, 0x54, 0x46, 0xe6, 0x87, 0x73, 0xa0, 0xf2, 0x2c, 0xe4, 0x11, 0x71, 0x69, 0x97, 0x12, 0x5c,
- 0x55, 0xe0, 0x2c, 0x00, 0xfb, 0xc4, 0xef, 0x26, 0x1c, 0x82, 0xab, 0x2a, 0x9c, 0x01, 0xda, 0x56,
- 0xe2, 0xf4, 0xd3, 0xd0, 0x3f, 0xac, 0x16, 0x60, 0x19, 0x94, 0x36, 0xfb, 0xc8, 0xaf, 0x16, 0xdb,
- 0xe4, 0xf8, 0xd4, 0x50, 0x4f, 0x4e, 0x0d, 0xf5, 0xfb, 0xa9, 0xa1, 0xbe, 0x3f, 0x33, 0x94, 0x93,
- 0x33, 0x43, 0xf9, 0x7a, 0x66, 0x28, 0xcf, 0x9f, 0x78, 0x54, 0xf4, 0xfa, 0x1d, 0xd3, 0x65, 0x81,
- 0xb5, 0x9d, 0xdb, 0xbf, 0x83, 0x3a, 0xdc, 0x1a, 0x5e, 0xc6, 0xb2, 0xcb, 0x62, 0x32, 0x0a, 0x7b,
- 0x88, 0x86, 0x56, 0xc0, 0x70, 0xdf, 0x27, 0x3c, 0xfb, 0x2b, 0x11, 0x87, 0x11, 0xe1, 0x9d, 0x49,
- 0xf9, 0xbe, 0x3f, 0xfa, 0x19, 0x00, 0x00, 0xff, 0xff, 0x78, 0xce, 0x77, 0x78, 0x6a, 0x06, 0x00,
- 0x00,
+ // 696 bytes of a gzipped FileDescriptorProto
+ 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x4c,
+ 0x14, 0x8d, 0x93, 0xb4, 0x4d, 0x26, 0xfd, 0xc9, 0x37, 0x5f, 0x05, 0xa6, 0x2d, 0x4e, 0x68, 0xa4,
+ 0x12, 0x90, 0x6a, 0xd3, 0xb2, 0xeb, 0xae, 0x69, 0x45, 0x55, 0xd1, 0x8a, 0xca, 0x15, 0x1b, 0x36,
+ 0xd6, 0xc4, 0x73, 0xe3, 0x0c, 0xb2, 0x3d, 0xc6, 0x33, 0x49, 0x89, 0xd8, 0xb0, 0x83, 0x25, 0x8f,
+ 0x50, 0x89, 0x07, 0x60, 0xc3, 0x0b, 0xb0, 0xab, 0x58, 0x75, 0xc9, 0x0a, 0xa1, 0x76, 0xc3, 0x63,
+ 0x20, 0xff, 0xa5, 0x41, 0x85, 0x50, 0x51, 0xb1, 0xcb, 0xb9, 0xf7, 0xdc, 0x3b, 0xe7, 0x9e, 0xb9,
+ 0x9e, 0xa0, 0x3b, 0xcc, 0x7f, 0x0e, 0xb6, 0x64, 0x7d, 0x30, 0x8e, 0x88, 0xf0, 0x5e, 0x1a, 0xfd,
+ 0x35, 0x23, 0x08, 0x79, 0xc0, 0x05, 0x71, 0xf5, 0x20, 0xe4, 0x92, 0x63, 0x3c, 0xa4, 0xe8, 0x31,
+ 0x45, 0xef, 0xaf, 0x2d, 0xdc, 0xb2, 0xb9, 0xf0, 0xb8, 0xb0, 0x62, 0x86, 0x91, 0x80, 0x84, 0xbe,
+ 0xb0, 0x12, 0xa1, 0x88, 0x18, 0x37, 0x1c, 0xed, 0x67, 0xb9, 0xe0, 0x10, 0x7b, 0x90, 0xf2, 0xe6,
+ 0x1d, 0xee, 0xf0, 0xa4, 0x3e, 0xfa, 0x95, 0x44, 0x97, 0x5f, 0xe7, 0x51, 0x63, 0x8b, 0xfb, 0x32,
+ 0x24, 0xb6, 0x34, 0xc1, 0x61, 0x42, 0x86, 0x44, 0x32, 0xee, 0x9b, 0xf0, 0xa2, 0x07, 0x42, 0x1e,
+ 0xa4, 0xad, 0xf0, 0x3c, 0x9a, 0x90, 0x4c, 0xba, 0xa0, 0x2a, 0x75, 0xa5, 0x59, 0x36, 0x13, 0x80,
+ 0xeb, 0xa8, 0x42, 0x41, 0xd8, 0x21, 0x0b, 0xa2, 0x1a, 0x35, 0x1f, 0xe7, 0x46, 0x43, 0x78, 0x80,
+ 0x6e, 0xdb, 0x69, 0x7b, 0x2b, 0x1c, 0xe9, 0x6f, 0x85, 0xc9, 0x01, 0x6a, 0xa1, 0xae, 0x34, 0x2b,
+ 0xeb, 0x86, 0x7e, 0x79, 0x68, 0x7d, 0x8c, 0xae, 0x56, 0xf1, 0xe4, 0x6b, 0x2d, 0x67, 0x2e, 0xda,
+ 0xbf, 0xa7, 0x6c, 0xac, 0xbc, 0x3d, 0xae, 0xe5, 0xbe, 0x1f, 0xd7, 0x72, 0x9f, 0x3f, 0xae, 0x2e,
+ 0xa4, 0x96, 0x39, 0xbc, 0xaf, 0xf7, 0xd7, 0xda, 0x20, 0x49, 0xd2, 0x1e, 0x7c, 0xb9, 0xfc, 0x26,
+ 0x8f, 0x9a, 0x2d, 0x22, 0xed, 0xee, 0xbf, 0xf4, 0xe1, 0x15, 0xd2, 0xc6, 0xfa, 0x20, 0xd4, 0x42,
+ 0xbd, 0xf0, 0xf7, 0x46, 0x2c, 0x8d, 0x31, 0x42, 0x5c, 0xd9, 0x89, 0xf7, 0x0a, 0x6a, 0xfc, 0xe4,
+ 0xc4, 0x36, 0x8c, 0x6a, 0xbd, 0xb6, 0x09, 0x4b, 0xa8, 0x9c, 0xe9, 0x4c, 0xe6, 0x2d, 0x9b, 0x17,
+ 0x81, 0x2b, 0xab, 0xfc, 0x50, 0x40, 0x8b, 0x63, 0x1c, 0xc1, 0xf7, 0x50, 0x75, 0x68, 0x35, 0xa1,
+ 0x34, 0x04, 0x21, 0x52, 0xa1, 0x73, 0x59, 0x7c, 0x33, 0x09, 0xe3, 0x45, 0x54, 0x76, 0x88, 0xb0,
+ 0x5c, 0xe6, 0x31, 0x19, 0x0b, 0x2e, 0x9a, 0x25, 0x87, 0x88, 0xbd, 0x08, 0x67, 0xc9, 0x20, 0x64,
+ 0x36, 0xc4, 0x6b, 0x9a, 0x24, 0x0f, 0x22, 0x8c, 0x75, 0xf4, 0xbf, 0xe8, 0xf2, 0x9e, 0x4b, 0xad,
+ 0x80, 0xf9, 0x56, 0xd6, 0x57, 0x2d, 0xd6, 0x95, 0x66, 0xc9, 0xfc, 0x2f, 0x49, 0x1d, 0x30, 0x3f,
+ 0xd3, 0x89, 0x1f, 0xa0, 0x79, 0x26, 0x2c, 0x8f, 0x39, 0xe9, 0xb5, 0x13, 0xd7, 0xe5, 0x47, 0x40,
+ 0xd5, 0x89, 0xb8, 0x00, 0x33, 0xb1, 0x9f, 0xa5, 0x36, 0x93, 0x0c, 0xbe, 0x89, 0xa6, 0x6c, 0x4e,
+ 0xc1, 0x62, 0x54, 0x9d, 0x8c, 0x0f, 0x9f, 0x8c, 0xe0, 0x2e, 0xc5, 0x0d, 0x34, 0x43, 0xa8, 0xc7,
+ 0xfc, 0xe1, 0x70, 0x53, 0xf1, 0x70, 0xd3, 0x71, 0x30, 0x9b, 0xec, 0x2e, 0x9a, 0x73, 0x42, 0xe2,
+ 0x4b, 0x08, 0x87, 0xb4, 0x52, 0x4c, 0x9b, 0x4d, 0xc3, 0x19, 0xb1, 0x85, 0xa6, 0x3b, 0x3d, 0x9f,
+ 0x32, 0xdf, 0xb1, 0x3c, 0x4e, 0x41, 0x2d, 0xd7, 0x95, 0xe6, 0xec, 0x7a, 0xed, 0x57, 0x6b, 0xf8,
+ 0x28, 0xe1, 0xed, 0x73, 0x0a, 0x66, 0xa5, 0x73, 0x01, 0x36, 0xb4, 0x3f, 0xdc, 0xd8, 0x27, 0x05,
+ 0xdd, 0x88, 0xf7, 0xea, 0x50, 0xf2, 0x10, 0xb6, 0x38, 0x85, 0x6b, 0xaf, 0xd2, 0x0e, 0x2a, 0x67,
+ 0xcf, 0x5c, 0xf6, 0xe9, 0x34, 0xf4, 0xec, 0x25, 0x8c, 0x25, 0x47, 0x8a, 0x2f, 0x9d, 0x97, 0x7e,
+ 0x2e, 0x17, 0xb5, 0x57, 0xdd, 0xba, 0xfb, 0x3b, 0xa8, 0x32, 0x32, 0x3f, 0x9e, 0x43, 0x95, 0xa7,
+ 0xbe, 0x08, 0xc0, 0x66, 0x1d, 0x06, 0xb4, 0x9a, 0xc3, 0xb3, 0x08, 0x1d, 0x82, 0xdb, 0x89, 0x38,
+ 0x40, 0xab, 0x0a, 0x9e, 0x41, 0xe5, 0x9d, 0xc8, 0xe9, 0x27, 0xbe, 0x3b, 0xa8, 0xe6, 0x71, 0x09,
+ 0x15, 0xb7, 0x7b, 0xc4, 0xad, 0x16, 0x5a, 0x70, 0x72, 0xa6, 0x29, 0xa7, 0x67, 0x9a, 0xf2, 0xed,
+ 0x4c, 0x53, 0xde, 0x9d, 0x6b, 0xb9, 0xd3, 0x73, 0x2d, 0xf7, 0xe5, 0x5c, 0xcb, 0x3d, 0x7b, 0xec,
+ 0x30, 0xd9, 0xed, 0xb5, 0x75, 0x9b, 0x7b, 0xc6, 0x6e, 0x66, 0xff, 0x1e, 0x69, 0x0b, 0x63, 0x78,
+ 0x19, 0xab, 0x36, 0x0f, 0x61, 0x14, 0x76, 0x09, 0xf3, 0x0d, 0x8f, 0xd3, 0x9e, 0x0b, 0x22, 0xfd,
+ 0x47, 0x91, 0x83, 0x00, 0x44, 0x7b, 0x32, 0x7e, 0xdf, 0x1f, 0xfe, 0x08, 0x00, 0x00, 0xff, 0xff,
+ 0x04, 0xe3, 0xe0, 0x18, 0x71, 0x06, 0x00, 0x00,
}
func (m *ContractRegistrationRequestProposal) Marshal() (dAtA []byte, err error) {
diff --git a/chain/wasmx/types/query.pb.go b/chain/wasmx/types/query.pb.go
index a94efce7..1b1f4cdb 100644
--- a/chain/wasmx/types/query.pb.go
+++ b/chain/wasmx/types/query.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/gogoproto/gogoproto"
grpc1 "github.com/cosmos/gogoproto/grpc"
proto "github.com/cosmos/gogoproto/proto"
@@ -13,9 +17,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/wasmx/types/tx.pb.go b/chain/wasmx/types/tx.pb.go
index 02545b39..908d6219 100644
--- a/chain/wasmx/types/tx.pb.go
+++ b/chain/wasmx/types/tx.pb.go
@@ -6,6 +6,10 @@ package types
import (
context "context"
fmt "fmt"
+ io "io"
+ math "math"
+ math_bits "math/bits"
+
_ "github.com/cosmos/cosmos-proto"
_ "github.com/cosmos/cosmos-sdk/codec/types"
_ "github.com/cosmos/cosmos-sdk/types/msgservice"
@@ -15,9 +19,6 @@ import (
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
- io "io"
- math "math"
- math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/chain/wasmx/types/util.go b/chain/wasmx/types/util.go
new file mode 100644
index 00000000..c7eb5ae2
--- /dev/null
+++ b/chain/wasmx/types/util.go
@@ -0,0 +1,19 @@
+package types
+
+import (
+ "github.com/CosmWasm/wasmd/x/wasm/types"
+ types2 "github.com/cosmos/cosmos-sdk/types"
+)
+
+func IsAllowed(accessConfig types.AccessConfig, actor types2.AccAddress) bool {
+ switch accessConfig.Permission {
+ case types.AccessTypeAnyOfAddresses:
+ for _, v := range accessConfig.Addresses {
+ if v == actor.String() {
+ return true
+ }
+ }
+ return false
+ }
+ return false
+}
diff --git a/chain/wasmx/types/wasmx.pb.go b/chain/wasmx/types/wasmx.pb.go
index 053a0a76..e3e8dee8 100644
--- a/chain/wasmx/types/wasmx.pb.go
+++ b/chain/wasmx/types/wasmx.pb.go
@@ -5,11 +5,12 @@ package types
import (
fmt "fmt"
- _ "github.com/cosmos/gogoproto/gogoproto"
- proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
+
+ _ "github.com/cosmos/gogoproto/gogoproto"
+ proto "github.com/cosmos/gogoproto/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
diff --git a/client/chain/chain.go b/client/chain/chain.go
index d21b8842..c85dde75 100644
--- a/client/chain/chain.go
+++ b/client/chain/chain.go
@@ -7,7 +7,6 @@ import (
"encoding/json"
"fmt"
"math"
- "math/big"
"os"
"strconv"
"strings"
@@ -15,7 +14,10 @@ import (
"sync/atomic"
"time"
- sdkmath "cosmossdk.io/math"
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "google.golang.org/grpc/credentials/insecure"
+
wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
log "github.com/InjectiveLabs/suplog"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
@@ -36,6 +38,8 @@ import (
"google.golang.org/grpc/metadata"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ chainstreamtypes "github.com/InjectiveLabs/sdk-go/chain/stream/types"
+ tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
"github.com/InjectiveLabs/sdk-go/client/common"
ethcommon "github.com/ethereum/go-ethereum/common"
@@ -86,8 +90,18 @@ type ChainClient interface {
AsyncBroadcastSignedTx(txBytes []byte) (*txtypes.BroadcastTxResponse, error)
QueueBroadcastMsg(msgs ...sdk.Msg) error
+ // Bank Module
GetBankBalances(ctx context.Context, address string) (*banktypes.QueryAllBalancesResponse, error)
GetBankBalance(ctx context.Context, address string, denom string) (*banktypes.QueryBalanceResponse, error)
+ GetBankSpendableBalances(ctx context.Context, address string, pagination *query.PageRequest) (*banktypes.QuerySpendableBalancesResponse, error)
+ GetBankSpendableBalancesByDenom(ctx context.Context, address string, denom string) (*banktypes.QuerySpendableBalanceByDenomResponse, error)
+ GetBankTotalSupply(ctx context.Context, pagination *query.PageRequest) (*banktypes.QueryTotalSupplyResponse, error)
+ GetBankSupplyOf(ctx context.Context, denom string) (*banktypes.QuerySupplyOfResponse, error)
+ GetDenomMetadata(ctx context.Context, denom string) (*banktypes.QueryDenomMetadataResponse, error)
+ GetDenomsMetadata(ctx context.Context, pagination *query.PageRequest) (*banktypes.QueryDenomsMetadataResponse, error)
+ GetDenomOwners(ctx context.Context, denom string, pagination *query.PageRequest) (*banktypes.QueryDenomOwnersResponse, error)
+ GetBankSendEnabled(ctx context.Context, denoms []string, pagination *query.PageRequest) (*banktypes.QuerySendEnabledResponse, error)
+
GetAuthzGrants(ctx context.Context, req authztypes.QueryGrantsRequest) (*authztypes.QueryGrantsResponse, error)
GetAccount(ctx context.Context, address string) (*authtypes.QueryAccountResponse, error)
@@ -113,20 +127,11 @@ type ChainClient interface {
ComputeOrderHashes(spotOrders []exchangetypes.SpotOrder, derivativeOrders []exchangetypes.DerivativeOrder, subaccountId eth.Hash) (OrderHashes, error)
SpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData) *exchangetypes.SpotOrder
+ CreateSpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData, marketsAssistant MarketsAssistant) *exchangetypes.SpotOrder
DerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData) *exchangetypes.DerivativeOrder
+ CreateDerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData, marketAssistant MarketsAssistant) *exchangetypes.DerivativeOrder
OrderCancel(defaultSubaccountID eth.Hash, d *OrderCancelData) *exchangetypes.OrderData
- SmartContractState(
- ctx context.Context,
- contractAddress string,
- queryData []byte,
- ) (*wasmtypes.QuerySmartContractStateResponse, error)
- RawContractState(
- ctx context.Context,
- contractAddress string,
- queryData []byte,
- ) (*wasmtypes.QueryRawContractStateResponse, error)
-
GetGasFee() (string, error)
StreamEventOrderFail(sender string, failEventCh chan map[string]uint)
@@ -134,23 +139,51 @@ type ChainClient interface {
StreamOrderbookUpdateEvents(orderbookType OrderbookType, marketIds []string, orderbookCh chan exchangetypes.Orderbook)
StreamOrderbookUpdateEventsWithWebsocket(orderbookType OrderbookType, marketIds []string, websocket *rpchttp.HTTP, orderbookCh chan exchangetypes.Orderbook)
+ ChainStream(ctx context.Context, req chainstreamtypes.StreamRequest) (chainstreamtypes.Stream_StreamClient, error)
+
// get tx from chain node
GetTx(ctx context.Context, txHash string) (*txtypes.GetTxResponse, error)
+
+ // wasm module
+ FetchContractInfo(ctx context.Context, address string) (*wasmtypes.QueryContractInfoResponse, error)
+ FetchContractHistory(ctx context.Context, address string, pagination *query.PageRequest) (*wasmtypes.QueryContractHistoryResponse, error)
+ FetchContractsByCode(ctx context.Context, codeId uint64, pagination *query.PageRequest) (*wasmtypes.QueryContractsByCodeResponse, error)
+ FetchAllContractsState(ctx context.Context, address string, pagination *query.PageRequest) (*wasmtypes.QueryAllContractStateResponse, error)
+ RawContractState(
+ ctx context.Context,
+ contractAddress string,
+ queryData []byte,
+ ) (*wasmtypes.QueryRawContractStateResponse, error)
+ SmartContractState(
+ ctx context.Context,
+ contractAddress string,
+ queryData []byte,
+ ) (*wasmtypes.QuerySmartContractStateResponse, error)
+ FetchCode(ctx context.Context, codeId uint64) (*wasmtypes.QueryCodeResponse, error)
+ FetchCodes(ctx context.Context, pagination *query.PageRequest) (*wasmtypes.QueryCodesResponse, error)
+ FetchPinnedCodes(ctx context.Context, pagination *query.PageRequest) (*wasmtypes.QueryPinnedCodesResponse, error)
+ FetchContractsByCreator(ctx context.Context, creator string, pagination *query.PageRequest) (*wasmtypes.QueryContractsByCreatorResponse, error)
+
+ // tokenfactory module
+ FetchDenomAuthorityMetadata(ctx context.Context, creator string, subDenom string) (*tokenfactorytypes.QueryDenomAuthorityMetadataResponse, error)
+ FetchDenomsFromCreator(ctx context.Context, creator string) (*tokenfactorytypes.QueryDenomsFromCreatorResponse, error)
+ FetchTokenfactoryModuleState(ctx context.Context) (*tokenfactorytypes.QueryModuleStateResponse, error)
+
Close()
}
type chainClient struct {
- ctx client.Context
- network common.Network
- opts *common.ClientOptions
- logger log.Logger
- conn *grpc.ClientConn
- txFactory tx.Factory
-
- fromAddress sdk.AccAddress
- doneC chan bool
- msgC chan sdk.Msg
- syncMux *sync.Mutex
+ ctx client.Context
+ network common.Network
+ opts *common.ClientOptions
+ logger log.Logger
+ conn *grpc.ClientConn
+ chainStreamConn *grpc.ClientConn
+ txFactory tx.Factory
+
+ doneC chan bool
+ msgC chan sdk.Msg
+ syncMux *sync.Mutex
cancelCtx context.Context
cancelFn func()
@@ -163,25 +196,26 @@ type chainClient struct {
sessionCookie string
sessionEnabled bool
- txClient txtypes.ServiceClient
- authQueryClient authtypes.QueryClient
- exchangeQueryClient exchangetypes.QueryClient
- bankQueryClient banktypes.QueryClient
- authzQueryClient authztypes.QueryClient
- wasmQueryClient wasmtypes.QueryClient
- subaccountToNonce map[ethcommon.Hash]uint32
+ txClient txtypes.ServiceClient
+ authQueryClient authtypes.QueryClient
+ exchangeQueryClient exchangetypes.QueryClient
+ bankQueryClient banktypes.QueryClient
+ authzQueryClient authztypes.QueryClient
+ wasmQueryClient wasmtypes.QueryClient
+ chainStreamClient chainstreamtypes.StreamClient
+ tokenfactoryQueryClient tokenfactorytypes.QueryClient
+ subaccountToNonce map[ethcommon.Hash]uint32
closed int64
canSign bool
}
-// NewChainClient creates a new gRPC client that communicates with gRPC server at protoAddr.
-// protoAddr must be in form "tcp://127.0.0.1:8080" or "unix:///tmp/test.sock", protocol is required.
func NewChainClient(
ctx client.Context,
network common.Network,
options ...common.ClientOption,
) (ChainClient, error) {
+
// process options
opts := common.DefaultClientOptions()
@@ -213,7 +247,7 @@ func NewChainClient(
if opts.TLSCert != nil {
conn, err = grpc.Dial(network.ChainGrpcEndpoint, grpc.WithTransportCredentials(opts.TLSCert), grpc.WithContextDialer(common.DialerFunc))
} else {
- conn, err = grpc.Dial(network.ChainGrpcEndpoint, grpc.WithInsecure(), grpc.WithContextDialer(common.DialerFunc))
+ conn, err = grpc.Dial(network.ChainGrpcEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(common.DialerFunc))
stickySessionEnabled = false
}
if err != nil {
@@ -221,6 +255,17 @@ func NewChainClient(
return nil, err
}
+ var chainStreamConn *grpc.ClientConn
+ if opts.TLSCert != nil {
+ chainStreamConn, err = grpc.Dial(network.ChainStreamGrpcEndpoint, grpc.WithTransportCredentials(opts.TLSCert), grpc.WithContextDialer(common.DialerFunc))
+ } else {
+ chainStreamConn, err = grpc.Dial(network.ChainStreamGrpcEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(common.DialerFunc))
+ }
+ if err != nil {
+ err = errors.Wrapf(err, "failed to connect to the chain stream gRPC: %s", network.ChainStreamGrpcEndpoint)
+ return nil, err
+ }
+
cancelCtx, cancelFn := context.WithCancel(context.Background())
// build client
cc := &chainClient{
@@ -233,24 +278,27 @@ func NewChainClient(
"svc": "chainClient",
}),
- conn: conn,
- txFactory: txFactory,
- canSign: ctx.Keyring != nil,
- syncMux: new(sync.Mutex),
- msgC: make(chan sdk.Msg, msgCommitBatchSizeLimit),
- doneC: make(chan bool, 1),
- cancelCtx: cancelCtx,
- cancelFn: cancelFn,
+ conn: conn,
+ chainStreamConn: chainStreamConn,
+ txFactory: txFactory,
+ canSign: ctx.Keyring != nil,
+ syncMux: new(sync.Mutex),
+ msgC: make(chan sdk.Msg, msgCommitBatchSizeLimit),
+ doneC: make(chan bool, 1),
+ cancelCtx: cancelCtx,
+ cancelFn: cancelFn,
sessionEnabled: stickySessionEnabled,
- txClient: txtypes.NewServiceClient(conn),
- authQueryClient: authtypes.NewQueryClient(conn),
- exchangeQueryClient: exchangetypes.NewQueryClient(conn),
- bankQueryClient: banktypes.NewQueryClient(conn),
- authzQueryClient: authztypes.NewQueryClient(conn),
- wasmQueryClient: wasmtypes.NewQueryClient(conn),
- subaccountToNonce: make(map[ethcommon.Hash]uint32),
+ txClient: txtypes.NewServiceClient(conn),
+ authQueryClient: authtypes.NewQueryClient(conn),
+ exchangeQueryClient: exchangetypes.NewQueryClient(conn),
+ bankQueryClient: banktypes.NewQueryClient(conn),
+ authzQueryClient: authztypes.NewQueryClient(conn),
+ wasmQueryClient: wasmtypes.NewQueryClient(conn),
+ chainStreamClient: chainstreamtypes.NewStreamClient(chainStreamConn),
+ tokenfactoryQueryClient: tokenfactorytypes.NewQueryClient(conn),
+ subaccountToNonce: make(map[ethcommon.Hash]uint32),
}
if cc.canSign {
@@ -361,7 +409,10 @@ func (c *chainClient) getAccSeq() uint64 {
func (c *chainClient) requestCookie() metadata.MD {
var header metadata.MD
- c.txClient.GetTx(context.Background(), &txtypes.GetTxRequest{}, grpc.Header(&header))
+ _, err := c.bankQueryClient.Params(context.Background(), &banktypes.QueryParamsRequest{}, grpc.Header(&header))
+ if err != nil {
+ panic(err)
+ }
return header
}
@@ -411,8 +462,13 @@ func (c *chainClient) Close() {
if c.conn != nil {
c.conn.Close()
}
+ if c.chainStreamConn != nil {
+ c.chainStreamConn.Close()
+ }
}
+//Bank Module
+
func (c *chainClient) GetBankBalances(ctx context.Context, address string) (*banktypes.QueryAllBalancesResponse, error) {
req := &banktypes.QueryAllBalancesRequest{
Address: address,
@@ -420,19 +476,73 @@ func (c *chainClient) GetBankBalances(ctx context.Context, address string) (*ban
return c.bankQueryClient.AllBalances(ctx, req)
}
-func (c *chainClient) GetAccount(ctx context.Context, address string) (*authtypes.QueryAccountResponse, error) {
- req := &authtypes.QueryAccountRequest{
+func (c *chainClient) GetBankBalance(ctx context.Context, address string, denom string) (*banktypes.QueryBalanceResponse, error) {
+ req := &banktypes.QueryBalanceRequest{
Address: address,
+ Denom: denom,
}
- return c.authQueryClient.Account(ctx, req)
+ return c.bankQueryClient.Balance(ctx, req)
}
-func (c *chainClient) GetBankBalance(ctx context.Context, address string, denom string) (*banktypes.QueryBalanceResponse, error) {
- req := &banktypes.QueryBalanceRequest{
+func (c *chainClient) GetBankSpendableBalances(ctx context.Context, address string, pagination *query.PageRequest) (*banktypes.QuerySpendableBalancesResponse, error) {
+ req := &banktypes.QuerySpendableBalancesRequest{
+ Address: address,
+ Pagination: pagination,
+ }
+ return c.bankQueryClient.SpendableBalances(ctx, req)
+}
+
+func (c *chainClient) GetBankSpendableBalancesByDenom(ctx context.Context, address string, denom string) (*banktypes.QuerySpendableBalanceByDenomResponse, error) {
+ req := &banktypes.QuerySpendableBalanceByDenomRequest{
Address: address,
Denom: denom,
}
- return c.bankQueryClient.Balance(ctx, req)
+ return c.bankQueryClient.SpendableBalanceByDenom(ctx, req)
+}
+
+func (c *chainClient) GetBankTotalSupply(ctx context.Context, pagination *query.PageRequest) (*banktypes.QueryTotalSupplyResponse, error) {
+ req := &banktypes.QueryTotalSupplyRequest{Pagination: pagination}
+ return c.bankQueryClient.TotalSupply(ctx, req)
+}
+
+func (c *chainClient) GetBankSupplyOf(ctx context.Context, denom string) (*banktypes.QuerySupplyOfResponse, error) {
+ req := &banktypes.QuerySupplyOfRequest{Denom: denom}
+ return c.bankQueryClient.SupplyOf(ctx, req)
+}
+
+func (c *chainClient) GetDenomMetadata(ctx context.Context, denom string) (*banktypes.QueryDenomMetadataResponse, error) {
+ req := &banktypes.QueryDenomMetadataRequest{Denom: denom}
+ return c.bankQueryClient.DenomMetadata(ctx, req)
+}
+
+func (c *chainClient) GetDenomsMetadata(ctx context.Context, pagination *query.PageRequest) (*banktypes.QueryDenomsMetadataResponse, error) {
+ req := &banktypes.QueryDenomsMetadataRequest{Pagination: pagination}
+ return c.bankQueryClient.DenomsMetadata(ctx, req)
+}
+
+func (c *chainClient) GetDenomOwners(ctx context.Context, denom string, pagination *query.PageRequest) (*banktypes.QueryDenomOwnersResponse, error) {
+ req := &banktypes.QueryDenomOwnersRequest{
+ Denom: denom,
+ Pagination: pagination,
+ }
+ return c.bankQueryClient.DenomOwners(ctx, req)
+}
+
+func (c *chainClient) GetBankSendEnabled(ctx context.Context, denoms []string, pagination *query.PageRequest) (*banktypes.QuerySendEnabledResponse, error) {
+ req := &banktypes.QuerySendEnabledRequest{
+ Denoms: denoms,
+ Pagination: pagination,
+ }
+ return c.bankQueryClient.SendEnabled(ctx, req)
+}
+
+// Auth Module
+
+func (c *chainClient) GetAccount(ctx context.Context, address string) (*authtypes.QueryAccountResponse, error) {
+ req := &authtypes.QueryAccountRequest{
+ Address: address,
+ }
+ return c.authQueryClient.Account(ctx, req)
}
// SyncBroadcastMsg sends Tx to chain and waits until Tx is included in block.
@@ -440,16 +550,18 @@ func (c *chainClient) SyncBroadcastMsg(msgs ...sdk.Msg) (*txtypes.BroadcastTxRes
c.syncMux.Lock()
defer c.syncMux.Unlock()
- c.txFactory = c.txFactory.WithSequence(c.accSeq)
+ sequence := c.getAccSeq()
+ c.txFactory = c.txFactory.WithSequence(sequence)
c.txFactory = c.txFactory.WithAccountNumber(c.accNum)
res, err := c.broadcastTx(c.ctx, c.txFactory, true, msgs...)
if err != nil {
if strings.Contains(err.Error(), "account sequence mismatch") {
c.syncNonce()
- c.txFactory = c.txFactory.WithSequence(c.accSeq)
+ sequence := c.getAccSeq()
+ c.txFactory = c.txFactory.WithSequence(sequence)
c.txFactory = c.txFactory.WithAccountNumber(c.accNum)
- log.Debugln("retrying broadcastTx with nonce", c.accSeq)
+ log.Debugln("retrying broadcastTx with nonce", sequence)
res, err = c.broadcastTx(c.ctx, c.txFactory, true, msgs...)
}
if err != nil {
@@ -459,8 +571,6 @@ func (c *chainClient) SyncBroadcastMsg(msgs ...sdk.Msg) (*txtypes.BroadcastTxRes
}
}
- c.accSeq++
-
return res, nil
}
@@ -504,15 +614,17 @@ func (c *chainClient) AsyncBroadcastMsg(msgs ...sdk.Msg) (*txtypes.BroadcastTxRe
c.syncMux.Lock()
defer c.syncMux.Unlock()
- c.txFactory = c.txFactory.WithSequence(c.accSeq)
+ sequence := c.getAccSeq()
+ c.txFactory = c.txFactory.WithSequence(sequence)
c.txFactory = c.txFactory.WithAccountNumber(c.accNum)
res, err := c.broadcastTx(c.ctx, c.txFactory, false, msgs...)
if err != nil {
if strings.Contains(err.Error(), "account sequence mismatch") {
c.syncNonce()
- c.txFactory = c.txFactory.WithSequence(c.accSeq)
+ sequence := c.getAccSeq()
+ c.txFactory = c.txFactory.WithSequence(sequence)
c.txFactory = c.txFactory.WithAccountNumber(c.accNum)
- log.Debugln("retrying broadcastTx with nonce", c.accSeq)
+ log.Debugln("retrying broadcastTx with nonce", sequence)
res, err = c.broadcastTx(c.ctx, c.txFactory, false, msgs...)
}
if err != nil {
@@ -522,8 +634,6 @@ func (c *chainClient) AsyncBroadcastMsg(msgs ...sdk.Msg) (*txtypes.BroadcastTxRe
}
}
- c.accSeq++
-
return res, nil
}
@@ -760,16 +870,18 @@ func (c *chainClient) runBatchBroadcast() {
submitBatch := func(toSubmit []sdk.Msg) {
c.syncMux.Lock()
defer c.syncMux.Unlock()
- c.txFactory = c.txFactory.WithSequence(c.accSeq)
+ sequence := c.getAccSeq()
+ c.txFactory = c.txFactory.WithSequence(sequence)
c.txFactory = c.txFactory.WithAccountNumber(c.accNum)
- log.Debugln("broadcastTx with nonce", c.accSeq)
+ log.Debugln("broadcastTx with nonce", sequence)
res, err := c.broadcastTx(c.ctx, c.txFactory, true, toSubmit...)
if err != nil {
if strings.Contains(err.Error(), "account sequence mismatch") {
c.syncNonce()
- c.txFactory = c.txFactory.WithSequence(c.accSeq)
+ sequence := c.getAccSeq()
+ c.txFactory = c.txFactory.WithSequence(sequence)
c.txFactory = c.txFactory.WithAccountNumber(c.accNum)
- log.Debugln("retrying broadcastTx with nonce", c.accSeq)
+ log.Debugln("retrying broadcastTx with nonce", sequence)
res, err = c.broadcastTx(c.ctx, c.txFactory, true, toSubmit...)
}
if err != nil {
@@ -786,8 +898,6 @@ func (c *chainClient) runBatchBroadcast() {
log.WithField("txHash", res.TxResponse.TxHash).Debugln("msg batch broadcasted successfully at height", res.TxResponse.Height)
}
- c.accSeq++
- log.Debugln("nonce incremented to", c.accSeq)
log.Debugln("gas wanted: ", c.gasWanted)
}
@@ -859,63 +969,25 @@ func (c *chainClient) GetSubAccountNonce(ctx context.Context, subaccountId eth.H
return c.exchangeQueryClient.SubaccountTradeNonce(ctx, req)
}
-func formatPriceToTickSize(value, tickSize cosmtypes.Dec) sdkmath.LegacyDec {
- residue := new(big.Int).Mod(value.BigInt(), tickSize.BigInt())
- formattedValue := new(big.Int).Sub(value.BigInt(), residue)
- p := decimal.NewFromBigInt(formattedValue, -18).StringFixed(18)
- realValue, _ := cosmtypes.NewDecFromStr(p)
- return realValue
-}
-
-func GetSpotQuantity(value decimal.Decimal, minTickSize cosmtypes.Dec, baseDecimals int) (qty cosmtypes.Dec) {
- mid, _ := cosmtypes.NewDecFromStr(value.String())
- bStr := decimal.New(1, int32(baseDecimals)).String()
- baseDec, _ := cosmtypes.NewDecFromStr(bStr)
- scale := baseDec.Quo(minTickSize)
- midScaledInt := mid.Mul(scale).TruncateDec()
- qty = minTickSize.Mul(midScaledInt)
- return qty
-}
-
-func GetSpotPrice(price decimal.Decimal, baseDecimals int, quoteDecimals int, minPriceTickSize cosmtypes.Dec) cosmtypes.Dec {
- scale := decimal.New(1, int32(quoteDecimals-baseDecimals))
- priceStr := scale.Mul(price).StringFixed(18)
- decPrice, err := cosmtypes.NewDecFromStr(priceStr)
+// Deprecated: Use CreateSpotOrder instead
+func (c *chainClient) SpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData) *exchangetypes.SpotOrder {
+ assistant, err := NewMarketsAssistant(network.Name)
if err != nil {
- fmt.Println(err.Error())
- fmt.Println(priceStr, scale.String(), price.String())
- fmt.Println(decPrice.String())
+ panic(err)
}
- realPrice := formatPriceToTickSize(decPrice, minPriceTickSize)
- return realPrice
-}
-func GetDerivativeQuantity(value decimal.Decimal, minTickSize cosmtypes.Dec) (qty cosmtypes.Dec) {
- mid := cosmtypes.MustNewDecFromStr(value.StringFixed(18))
- baseDec := cosmtypes.OneDec()
- scale := baseDec.Quo(minTickSize)
- midScaledInt := mid.Mul(scale).TruncateDec()
- qty = minTickSize.Mul(midScaledInt)
- return qty
+ return c.CreateSpotOrder(defaultSubaccountID, network, d, assistant)
}
-func GetDerivativePrice(value, tickSize cosmtypes.Dec) cosmtypes.Dec {
- residue := new(big.Int).Mod(value.BigInt(), tickSize.BigInt())
- formattedValue := new(big.Int).Sub(value.BigInt(), residue)
- p := decimal.NewFromBigInt(formattedValue, -18).String()
- realValue, _ := cosmtypes.NewDecFromStr(p)
- return realValue
-}
-
-func (c *chainClient) SpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData) *exchangetypes.SpotOrder {
+func (c *chainClient) CreateSpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData, marketsAssistant MarketsAssistant) *exchangetypes.SpotOrder {
- baseDecimals := common.LoadMetadata(network, d.MarketId).Base
- quoteDecimals := common.LoadMetadata(network, d.MarketId).Quote
- minPriceTickSize := common.LoadMetadata(network, d.MarketId).MinPriceTickSize
- minQuantityTickSize := common.LoadMetadata(network, d.MarketId).MinQuantityTickSize
+ market, isPresent := marketsAssistant.AllSpotMarkets()[d.MarketId]
+ if !isPresent {
+ panic(errors.Errorf("Invalid spot market id for %s network (%s)", c.network.Name, d.MarketId))
+ }
- orderSize := GetSpotQuantity(d.Quantity, cosmtypes.MustNewDecFromStr(strconv.FormatFloat(minQuantityTickSize, 'f', -1, 64)), baseDecimals)
- orderPrice := GetSpotPrice(d.Price, baseDecimals, quoteDecimals, cosmtypes.MustNewDecFromStr(strconv.FormatFloat(minPriceTickSize, 'f', -1, 64)))
+ orderSize := market.QuantityToChainFormat(d.Quantity)
+ orderPrice := market.PriceToChainFormat(d.Price)
return &exchangetypes.SpotOrder{
MarketId: d.MarketId,
@@ -925,24 +997,35 @@ func (c *chainClient) SpotOrder(defaultSubaccountID eth.Hash, network common.Net
FeeRecipient: d.FeeRecipient,
Price: orderPrice,
Quantity: orderSize,
+ Cid: d.Cid,
},
}
}
+// Deprecated: Use CreateDerivativeOrder instead
func (c *chainClient) DerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData) *exchangetypes.DerivativeOrder {
- margin := cosmtypes.MustNewDecFromStr(fmt.Sprint(d.Quantity)).Mul(d.Price).Quo(d.Leverage)
+ assistant, err := NewMarketsAssistant(network.Name)
+ if err != nil {
+ panic(err)
+ }
+
+ return c.CreateDerivativeOrder(defaultSubaccountID, network, d, assistant)
+}
- if d.IsReduceOnly == true {
- margin = cosmtypes.MustNewDecFromStr("0")
+func (c *chainClient) CreateDerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData, marketAssistant MarketsAssistant) *exchangetypes.DerivativeOrder {
+ market, isPresent := marketAssistant.AllDerivativeMarkets()[d.MarketId]
+ if !isPresent {
+ panic(errors.Errorf("Invalid derivative market id for %s network (%s)", c.network.Name, d.MarketId))
}
- minPriceTickSize := common.LoadMetadata(network, d.MarketId).MinPriceTickSize
- minQuantityTickSize := common.LoadMetadata(network, d.MarketId).MinQuantityTickSize
+ orderSize := market.QuantityToChainFormat(d.Quantity)
+ orderPrice := market.PriceToChainFormat(d.Price)
+ orderMargin := cosmtypes.MustNewDecFromStr("0")
- orderSize := GetDerivativeQuantity(d.Quantity, cosmtypes.MustNewDecFromStr(strconv.FormatFloat(minQuantityTickSize, 'f', -1, 64)))
- orderPrice := GetDerivativePrice(d.Price, cosmtypes.MustNewDecFromStr(strconv.FormatFloat(minPriceTickSize, 'f', -1, 64)))
- orderMargin := GetDerivativePrice(margin, cosmtypes.MustNewDecFromStr(strconv.FormatFloat(minPriceTickSize, 'f', -1, 64)))
+ if !d.IsReduceOnly {
+ orderMargin = market.CalculateMarginInChainFormat(d.Quantity, d.Price, d.Leverage)
+ }
return &exchangetypes.DerivativeOrder{
MarketId: d.MarketId,
@@ -953,6 +1036,7 @@ func (c *chainClient) DerivativeOrder(defaultSubaccountID eth.Hash, network comm
FeeRecipient: d.FeeRecipient,
Price: orderPrice,
Quantity: orderSize,
+ Cid: d.Cid,
},
}
}
@@ -962,6 +1046,7 @@ func (c *chainClient) OrderCancel(defaultSubaccountID eth.Hash, d *OrderCancelDa
MarketId: d.MarketId,
OrderHash: d.OrderHash,
SubaccountId: defaultSubaccountID.Hex(),
+ Cid: d.Cid,
}
}
@@ -1088,34 +1173,6 @@ func (c *chainClient) BuildExchangeAuthz(granter string, grantee string, authzTy
}
}
-func (c *chainClient) SmartContractState(
- ctx context.Context,
- contractAddress string,
- queryData []byte,
-) (*wasmtypes.QuerySmartContractStateResponse, error) {
- return c.wasmQueryClient.SmartContractState(
- ctx,
- &wasmtypes.QuerySmartContractStateRequest{
- Address: contractAddress,
- QueryData: queryData,
- },
- )
-}
-
-func (c *chainClient) RawContractState(
- ctx context.Context,
- contractAddress string,
- queryData []byte,
-) (*wasmtypes.QueryRawContractStateResponse, error) {
- return c.wasmQueryClient.RawContractState(
- ctx,
- &wasmtypes.QueryRawContractStateRequest{
- Address: contractAddress,
- QueryData: queryData,
- },
- )
-}
-
func (c *chainClient) BuildExchangeBatchUpdateOrdersAuthz(
granter string,
grantee string,
@@ -1159,7 +1216,12 @@ func (c *chainClient) StreamEventOrderFail(sender string, failEventCh chan map[s
panic(err)
}
}
- defer cometbftClient.Stop()
+ defer func() {
+ err := cometbftClient.Stop()
+ if err != nil {
+ panic(err)
+ }
+ }()
c.StreamEventOrderFailWithWebsocket(sender, cometbftClient, failEventCh)
}
@@ -1213,7 +1275,12 @@ func (c *chainClient) StreamOrderbookUpdateEvents(orderbookType OrderbookType, m
panic(err)
}
}
- defer cometbftClient.Stop()
+ defer func() {
+ err := cometbftClient.Stop()
+ if err != nil {
+ panic(err)
+ }
+ }()
c.StreamOrderbookUpdateEventsWithWebsocket(orderbookType, marketIds, cometbftClient, orderbookCh)
@@ -1275,14 +1342,144 @@ func (c *chainClient) GetTx(ctx context.Context, txHash string) (*txtypes.GetTxR
})
}
+func (c *chainClient) ChainStream(ctx context.Context, req chainstreamtypes.StreamRequest) (chainstreamtypes.Stream_StreamClient, error) {
+ ctx = c.getCookie(ctx)
+ stream, err := c.chainStreamClient.Stream(ctx, &req)
+ if err != nil {
+ fmt.Println(err)
+ return nil, err
+ }
+
+ return stream, nil
+}
+
+// wasm module
+
+func (c *chainClient) FetchContractInfo(ctx context.Context, address string) (*wasmtypes.QueryContractInfoResponse, error) {
+ req := &wasmtypes.QueryContractInfoRequest{
+ Address: address,
+ }
+ return c.wasmQueryClient.ContractInfo(ctx, req)
+}
+
+func (c *chainClient) FetchContractHistory(ctx context.Context, address string, pagination *query.PageRequest) (*wasmtypes.QueryContractHistoryResponse, error) {
+ req := &wasmtypes.QueryContractHistoryRequest{
+ Address: address,
+ Pagination: pagination,
+ }
+ return c.wasmQueryClient.ContractHistory(ctx, req)
+}
+
+func (c *chainClient) FetchContractsByCode(ctx context.Context, codeId uint64, pagination *query.PageRequest) (*wasmtypes.QueryContractsByCodeResponse, error) {
+ req := &wasmtypes.QueryContractsByCodeRequest{
+ CodeId: codeId,
+ Pagination: pagination,
+ }
+ return c.wasmQueryClient.ContractsByCode(ctx, req)
+}
+
+func (c *chainClient) FetchAllContractsState(ctx context.Context, address string, pagination *query.PageRequest) (*wasmtypes.QueryAllContractStateResponse, error) {
+ req := &wasmtypes.QueryAllContractStateRequest{
+ Address: address,
+ Pagination: pagination,
+ }
+ return c.wasmQueryClient.AllContractState(ctx, req)
+}
+
+func (c *chainClient) RawContractState(
+ ctx context.Context,
+ contractAddress string,
+ queryData []byte,
+) (*wasmtypes.QueryRawContractStateResponse, error) {
+ return c.wasmQueryClient.RawContractState(
+ ctx,
+ &wasmtypes.QueryRawContractStateRequest{
+ Address: contractAddress,
+ QueryData: queryData,
+ },
+ )
+}
+
+func (c *chainClient) SmartContractState(
+ ctx context.Context,
+ contractAddress string,
+ queryData []byte,
+) (*wasmtypes.QuerySmartContractStateResponse, error) {
+ return c.wasmQueryClient.SmartContractState(
+ ctx,
+ &wasmtypes.QuerySmartContractStateRequest{
+ Address: contractAddress,
+ QueryData: queryData,
+ },
+ )
+}
+
+func (c *chainClient) FetchCode(ctx context.Context, codeId uint64) (*wasmtypes.QueryCodeResponse, error) {
+ req := &wasmtypes.QueryCodeRequest{
+ CodeId: codeId,
+ }
+ return c.wasmQueryClient.Code(ctx, req)
+}
+
+func (c *chainClient) FetchCodes(ctx context.Context, pagination *query.PageRequest) (*wasmtypes.QueryCodesResponse, error) {
+ req := &wasmtypes.QueryCodesRequest{
+ Pagination: pagination,
+ }
+ return c.wasmQueryClient.Codes(ctx, req)
+}
+
+func (c *chainClient) FetchPinnedCodes(ctx context.Context, pagination *query.PageRequest) (*wasmtypes.QueryPinnedCodesResponse, error) {
+ req := &wasmtypes.QueryPinnedCodesRequest{
+ Pagination: pagination,
+ }
+ return c.wasmQueryClient.PinnedCodes(ctx, req)
+}
+
+func (c *chainClient) FetchContractsByCreator(ctx context.Context, creator string, pagination *query.PageRequest) (*wasmtypes.QueryContractsByCreatorResponse, error) {
+ req := &wasmtypes.QueryContractsByCreatorRequest{
+ CreatorAddress: creator,
+ Pagination: pagination,
+ }
+ return c.wasmQueryClient.ContractsByCreator(ctx, req)
+}
+
+// Tokenfactory module
+
+func (c *chainClient) FetchDenomAuthorityMetadata(ctx context.Context, creator string, subDenom string) (*tokenfactorytypes.QueryDenomAuthorityMetadataResponse, error) {
+ req := &tokenfactorytypes.QueryDenomAuthorityMetadataRequest{
+ Creator: creator,
+ }
+
+ if subDenom != "" {
+ req.SubDenom = subDenom
+ }
+
+ return c.tokenfactoryQueryClient.DenomAuthorityMetadata(ctx, req)
+}
+
+func (c *chainClient) FetchDenomsFromCreator(ctx context.Context, creator string) (*tokenfactorytypes.QueryDenomsFromCreatorResponse, error) {
+ req := &tokenfactorytypes.QueryDenomsFromCreatorRequest{
+ Creator: creator,
+ }
+
+ return c.tokenfactoryQueryClient.DenomsFromCreator(ctx, req)
+}
+
+func (c *chainClient) FetchTokenfactoryModuleState(ctx context.Context) (*tokenfactorytypes.QueryModuleStateResponse, error) {
+ req := &tokenfactorytypes.QueryModuleStateRequest{}
+
+ return c.tokenfactoryQueryClient.TokenfactoryModuleState(ctx, req)
+}
+
type DerivativeOrderData struct {
OrderType exchangetypes.OrderType
- Price cosmtypes.Dec
+ Price decimal.Decimal
Quantity decimal.Decimal
- Leverage cosmtypes.Dec
+ Leverage decimal.Decimal
FeeRecipient string
MarketId string
IsReduceOnly bool
+ Cid string
}
type SpotOrderData struct {
@@ -1291,9 +1488,11 @@ type SpotOrderData struct {
Quantity decimal.Decimal
FeeRecipient string
MarketId string
+ Cid string
}
type OrderCancelData struct {
MarketId string
OrderHash string
+ Cid string
}
diff --git a/client/chain/chain_test.go b/client/chain/chain_test.go
index 622fbda9..ed55ed2a 100644
--- a/client/chain/chain_test.go
+++ b/client/chain/chain_test.go
@@ -1,13 +1,15 @@
package chain
import (
+ "os"
+ "testing"
+
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
cosmtypes "github.com/cosmos/cosmos-sdk/types"
eth "github.com/ethereum/go-ethereum/common"
- "os"
- "testing"
)
func accountForTests() (cosmtypes.AccAddress, keyring.Keyring, error) {
@@ -41,7 +43,7 @@ func createClient(senderAddress cosmtypes.AccAddress, cosmosKeyring keyring.Keyr
chainClient, err := NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
return chainClient, err
diff --git a/client/chain/chain_test_support.go b/client/chain/chain_test_support.go
new file mode 100644
index 00000000..0b9debcc
--- /dev/null
+++ b/client/chain/chain_test_support.go
@@ -0,0 +1,288 @@
+package chain
+
+import (
+ "context"
+ "errors"
+ "time"
+
+ tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
+
+ wasmtypes "github.com/CosmWasm/wasmd/x/wasm/types"
+
+ exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ chainstreamtypes "github.com/InjectiveLabs/sdk-go/chain/stream/types"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/cosmos/cosmos-sdk/client"
+ sdk "github.com/cosmos/cosmos-sdk/types"
+ "github.com/cosmos/cosmos-sdk/types/query"
+ txtypes "github.com/cosmos/cosmos-sdk/types/tx"
+ authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
+ authztypes "github.com/cosmos/cosmos-sdk/x/authz"
+ banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ eth "github.com/ethereum/go-ethereum/common"
+ "google.golang.org/grpc"
+)
+
+type MockChainClient struct {
+ DenomsMetadataResponses []*banktypes.QueryDenomsMetadataResponse
+}
+
+func (c *MockChainClient) CanSignTransactions() bool {
+ return true
+}
+
+func (c *MockChainClient) FromAddress() sdk.AccAddress {
+ return sdk.AccAddress{}
+}
+
+func (c *MockChainClient) QueryClient() *grpc.ClientConn {
+ return &grpc.ClientConn{}
+}
+
+func (c *MockChainClient) ClientContext() client.Context {
+ return client.Context{}
+}
+
+func (c *MockChainClient) GetAccNonce() (accNum uint64, accSeq uint64) {
+ return 1, 2
+}
+
+func (c *MockChainClient) SimulateMsg(clientCtx client.Context, msgs ...sdk.Msg) (*txtypes.SimulateResponse, error) {
+ return &txtypes.SimulateResponse{}, nil
+}
+
+func (c *MockChainClient) AsyncBroadcastMsg(msgs ...sdk.Msg) (*txtypes.BroadcastTxResponse, error) {
+ return &txtypes.BroadcastTxResponse{}, nil
+}
+
+func (c *MockChainClient) SyncBroadcastMsg(msgs ...sdk.Msg) (*txtypes.BroadcastTxResponse, error) {
+ return &txtypes.BroadcastTxResponse{}, nil
+}
+
+func (c *MockChainClient) BuildSignedTx(clientCtx client.Context, accNum, accSeq, initialGas uint64, msg ...sdk.Msg) ([]byte, error) {
+ return *new([]byte), nil
+}
+
+func (c *MockChainClient) SyncBroadcastSignedTx(tyBytes []byte) (*txtypes.BroadcastTxResponse, error) {
+ return &txtypes.BroadcastTxResponse{}, nil
+}
+
+func (c *MockChainClient) AsyncBroadcastSignedTx(txBytes []byte) (*txtypes.BroadcastTxResponse, error) {
+ return &txtypes.BroadcastTxResponse{}, nil
+}
+
+func (c *MockChainClient) QueueBroadcastMsg(msgs ...sdk.Msg) error {
+ return nil
+}
+
+func (c *MockChainClient) GetBankBalances(ctx context.Context, address string) (*banktypes.QueryAllBalancesResponse, error) {
+ return &banktypes.QueryAllBalancesResponse{}, nil
+}
+
+func (c *MockChainClient) GetBankBalance(ctx context.Context, address string, denom string) (*banktypes.QueryBalanceResponse, error) {
+ return &banktypes.QueryBalanceResponse{}, nil
+}
+
+func (c *MockChainClient) GetBankSpendableBalances(ctx context.Context, address string, pagination *query.PageRequest) (*banktypes.QuerySpendableBalancesResponse, error) {
+ return &banktypes.QuerySpendableBalancesResponse{}, nil
+}
+
+func (c *MockChainClient) GetBankSpendableBalancesByDenom(ctx context.Context, address string, denom string) (*banktypes.QuerySpendableBalanceByDenomResponse, error) {
+ return &banktypes.QuerySpendableBalanceByDenomResponse{}, nil
+}
+
+func (c *MockChainClient) GetBankTotalSupply(ctx context.Context, pagination *query.PageRequest) (*banktypes.QueryTotalSupplyResponse, error) {
+ return &banktypes.QueryTotalSupplyResponse{}, nil
+}
+
+func (c *MockChainClient) GetBankSupplyOf(ctx context.Context, denom string) (*banktypes.QuerySupplyOfResponse, error) {
+ return &banktypes.QuerySupplyOfResponse{}, nil
+}
+
+func (c *MockChainClient) GetDenomMetadata(ctx context.Context, denom string) (*banktypes.QueryDenomMetadataResponse, error) {
+ return &banktypes.QueryDenomMetadataResponse{}, nil
+}
+
+func (c *MockChainClient) GetDenomsMetadata(ctx context.Context, pagination *query.PageRequest) (*banktypes.QueryDenomsMetadataResponse, error) {
+ var response *banktypes.QueryDenomsMetadataResponse
+ var localError error
+ if len(c.DenomsMetadataResponses) > 0 {
+ response = c.DenomsMetadataResponses[0]
+ c.DenomsMetadataResponses = c.DenomsMetadataResponses[1:]
+ localError = nil
+ } else {
+ response = &banktypes.QueryDenomsMetadataResponse{}
+ localError = errors.New("there are no responses configured")
+ }
+
+ return response, localError
+}
+
+func (c *MockChainClient) GetDenomOwners(ctx context.Context, denom string, pagination *query.PageRequest) (*banktypes.QueryDenomOwnersResponse, error) {
+ return &banktypes.QueryDenomOwnersResponse{}, nil
+}
+
+func (c *MockChainClient) GetBankSendEnabled(ctx context.Context, denoms []string, pagination *query.PageRequest) (*banktypes.QuerySendEnabledResponse, error) {
+ return &banktypes.QuerySendEnabledResponse{}, nil
+}
+
+func (c *MockChainClient) GetAuthzGrants(ctx context.Context, req authztypes.QueryGrantsRequest) (*authztypes.QueryGrantsResponse, error) {
+ return &authztypes.QueryGrantsResponse{}, nil
+}
+
+func (c *MockChainClient) GetAccount(ctx context.Context, address string) (*authtypes.QueryAccountResponse, error) {
+ return &authtypes.QueryAccountResponse{}, nil
+}
+
+func (c *MockChainClient) BuildGenericAuthz(granter string, grantee string, msgtype string, expireIn time.Time) *authztypes.MsgGrant {
+ return &authztypes.MsgGrant{}
+}
+
+func (c *MockChainClient) BuildExchangeAuthz(granter string, grantee string, authzType ExchangeAuthz, subaccountId string, markets []string, expireIn time.Time) *authztypes.MsgGrant {
+ return &authztypes.MsgGrant{}
+}
+
+func (c *MockChainClient) BuildExchangeBatchUpdateOrdersAuthz(
+ granter string,
+ grantee string,
+ subaccountId string,
+ spotMarkets []string,
+ derivativeMarkets []string,
+ expireIn time.Time,
+) *authztypes.MsgGrant {
+ return &authztypes.MsgGrant{}
+}
+
+func (c *MockChainClient) DefaultSubaccount(acc sdk.AccAddress) eth.Hash {
+ return eth.HexToHash("")
+}
+
+func (c *MockChainClient) Subaccount(account sdk.AccAddress, index int) eth.Hash {
+ return eth.HexToHash("")
+}
+
+func (c *MockChainClient) GetSubAccountNonce(ctx context.Context, subaccountId eth.Hash) (*exchangetypes.QuerySubaccountTradeNonceResponse, error) {
+ return &exchangetypes.QuerySubaccountTradeNonceResponse{}, nil
+}
+
+func (c *MockChainClient) GetFeeDiscountInfo(ctx context.Context, account string) (*exchangetypes.QueryFeeDiscountAccountInfoResponse, error) {
+ return &exchangetypes.QueryFeeDiscountAccountInfoResponse{}, nil
+}
+
+func (c *MockChainClient) UpdateSubaccountNonceFromChain() error {
+ return nil
+}
+
+func (c *MockChainClient) SynchronizeSubaccountNonce(subaccountId eth.Hash) error {
+ return nil
+}
+
+func (c *MockChainClient) ComputeOrderHashes(spotOrders []exchangetypes.SpotOrder, derivativeOrders []exchangetypes.DerivativeOrder, subaccountId eth.Hash) (OrderHashes, error) {
+ return OrderHashes{}, nil
+}
+
+func (c *MockChainClient) SpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData) *exchangetypes.SpotOrder {
+ return c.CreateSpotOrder(defaultSubaccountID, network, d, MarketsAssistant{})
+}
+
+func (c *MockChainClient) CreateSpotOrder(defaultSubaccountID eth.Hash, network common.Network, d *SpotOrderData, marketsAssistant MarketsAssistant) *exchangetypes.SpotOrder {
+ return &exchangetypes.SpotOrder{}
+}
+
+func (c *MockChainClient) DerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData) *exchangetypes.DerivativeOrder {
+ return c.CreateDerivativeOrder(defaultSubaccountID, network, d, MarketsAssistant{})
+}
+
+func (c *MockChainClient) CreateDerivativeOrder(defaultSubaccountID eth.Hash, network common.Network, d *DerivativeOrderData, marketAssistant MarketsAssistant) *exchangetypes.DerivativeOrder {
+ return &exchangetypes.DerivativeOrder{}
+}
+
+func (c *MockChainClient) OrderCancel(defaultSubaccountID eth.Hash, d *OrderCancelData) *exchangetypes.OrderData {
+ return &exchangetypes.OrderData{}
+}
+
+func (c *MockChainClient) StreamEventOrderFail(sender string, failEventCh chan map[string]uint) {}
+
+func (c *MockChainClient) StreamEventOrderFailWithWebsocket(sender string, websocket *rpchttp.HTTP, failEventCh chan map[string]uint) {
+}
+
+func (c *MockChainClient) StreamOrderbookUpdateEvents(orderbookType OrderbookType, marketIds []string, orderbookCh chan exchangetypes.Orderbook) {
+}
+
+func (c *MockChainClient) StreamOrderbookUpdateEventsWithWebsocket(orderbookType OrderbookType, marketIds []string, websocket *rpchttp.HTTP, orderbookCh chan exchangetypes.Orderbook) {
+}
+
+func (c *MockChainClient) ChainStream(ctx context.Context, req chainstreamtypes.StreamRequest) (chainstreamtypes.Stream_StreamClient, error) {
+ return nil, nil
+}
+
+func (c *MockChainClient) GetTx(ctx context.Context, txHash string) (*txtypes.GetTxResponse, error) {
+ return &txtypes.GetTxResponse{}, nil
+}
+
+func (c *MockChainClient) Close() {}
+
+func (c *MockChainClient) GetGasFee() (string, error) {
+ return "", nil
+}
+
+func (c *MockChainClient) FetchContractInfo(ctx context.Context, address string) (*wasmtypes.QueryContractInfoResponse, error) {
+ return &wasmtypes.QueryContractInfoResponse{}, nil
+}
+
+func (c *MockChainClient) FetchContractHistory(ctx context.Context, address string, pagination *query.PageRequest) (*wasmtypes.QueryContractHistoryResponse, error) {
+ return &wasmtypes.QueryContractHistoryResponse{}, nil
+}
+
+func (c *MockChainClient) FetchContractsByCode(ctx context.Context, codeId uint64, pagination *query.PageRequest) (*wasmtypes.QueryContractsByCodeResponse, error) {
+ return &wasmtypes.QueryContractsByCodeResponse{}, nil
+}
+
+func (c *MockChainClient) FetchAllContractsState(ctx context.Context, address string, pagination *query.PageRequest) (*wasmtypes.QueryAllContractStateResponse, error) {
+ return &wasmtypes.QueryAllContractStateResponse{}, nil
+}
+
+func (c *MockChainClient) SmartContractState(
+ ctx context.Context,
+ contractAddress string,
+ queryData []byte,
+) (*wasmtypes.QuerySmartContractStateResponse, error) {
+ return &wasmtypes.QuerySmartContractStateResponse{}, nil
+}
+
+func (c *MockChainClient) RawContractState(
+ ctx context.Context,
+ contractAddress string,
+ queryData []byte,
+) (*wasmtypes.QueryRawContractStateResponse, error) {
+ return &wasmtypes.QueryRawContractStateResponse{}, nil
+}
+
+func (c *MockChainClient) FetchCode(ctx context.Context, codeId uint64) (*wasmtypes.QueryCodeResponse, error) {
+ return &wasmtypes.QueryCodeResponse{}, nil
+}
+
+func (c *MockChainClient) FetchCodes(ctx context.Context, pagination *query.PageRequest) (*wasmtypes.QueryCodesResponse, error) {
+ return &wasmtypes.QueryCodesResponse{}, nil
+}
+
+func (c *MockChainClient) FetchPinnedCodes(ctx context.Context, pagination *query.PageRequest) (*wasmtypes.QueryPinnedCodesResponse, error) {
+ return &wasmtypes.QueryPinnedCodesResponse{}, nil
+}
+
+func (c *MockChainClient) FetchContractsByCreator(ctx context.Context, creator string, pagination *query.PageRequest) (*wasmtypes.QueryContractsByCreatorResponse, error) {
+ return &wasmtypes.QueryContractsByCreatorResponse{}, nil
+}
+
+func (c *MockChainClient) FetchDenomAuthorityMetadata(ctx context.Context, creator string, subDenom string) (*tokenfactorytypes.QueryDenomAuthorityMetadataResponse, error) {
+ return &tokenfactorytypes.QueryDenomAuthorityMetadataResponse{}, nil
+}
+
+func (c *MockChainClient) FetchDenomsFromCreator(ctx context.Context, creator string) (*tokenfactorytypes.QueryDenomsFromCreatorResponse, error) {
+ return &tokenfactorytypes.QueryDenomsFromCreatorResponse{}, nil
+}
+
+func (c *MockChainClient) FetchTokenfactoryModuleState(ctx context.Context) (*tokenfactorytypes.QueryModuleStateResponse, error) {
+ return &tokenfactorytypes.QueryModuleStateResponse{}, nil
+}
diff --git a/client/chain/markets_assistant.go b/client/chain/markets_assistant.go
new file mode 100644
index 00000000..10b2b188
--- /dev/null
+++ b/client/chain/markets_assistant.go
@@ -0,0 +1,382 @@
+package chain
+
+import (
+ "context"
+ "fmt"
+ "path"
+ "runtime"
+ "strings"
+ "sync"
+
+ "github.com/InjectiveLabs/sdk-go/client/core"
+ "github.com/InjectiveLabs/sdk-go/client/exchange"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+ "github.com/cosmos/cosmos-sdk/types/query"
+ banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ "github.com/shopspring/decimal"
+ "gopkg.in/ini.v1"
+)
+
+var legacyMarketAssistantLazyInitialization sync.Once
+var legacyMarketAssistant MarketsAssistant
+
+type MarketsAssistant struct {
+ tokensBySymbol map[string]core.Token
+ tokensByDenom map[string]core.Token
+ spotMarkets map[string]core.SpotMarket
+ derivativeMarkets map[string]core.DerivativeMarket
+}
+
+func newMarketsAssistant() MarketsAssistant {
+ return MarketsAssistant{
+ tokensBySymbol: make(map[string]core.Token),
+ tokensByDenom: make(map[string]core.Token),
+ spotMarkets: make(map[string]core.SpotMarket),
+ derivativeMarkets: make(map[string]core.DerivativeMarket),
+ }
+}
+
+// Deprecated: use NewMarketsAssistantInitializedFromChain instead
+func NewMarketsAssistant(networkName string) (MarketsAssistant, error) {
+
+ legacyMarketAssistantLazyInitialization.Do(func() {
+ assistant := newMarketsAssistant()
+ fileName := getFileAbsPath(fmt.Sprintf("../metadata/assets/%s.ini", networkName))
+ metadataFile, err := ini.Load(fileName)
+
+ if err == nil {
+ for _, section := range metadataFile.Sections() {
+ sectionName := section.Name()
+ if strings.HasPrefix(sectionName, "0x") {
+ description := section.Key("description").Value()
+
+ decimals, _ := section.Key("quote").Int()
+ quoteToken := core.Token{
+ Name: "",
+ Symbol: "",
+ Denom: "",
+ Address: "",
+ Decimals: int32(decimals),
+ Logo: "",
+ Updated: -1,
+ }
+
+ minPriceTickSize := decimal.RequireFromString(section.Key("min_price_tick_size").String())
+ minQuantityTickSize := decimal.RequireFromString(section.Key("min_quantity_tick_size").String())
+
+ if strings.Contains(description, "Spot") {
+ baseDecimals, _ := section.Key("quote").Int()
+ baseToken := core.Token{
+ Name: "",
+ Symbol: "",
+ Denom: "",
+ Address: "",
+ Decimals: int32(baseDecimals),
+ Logo: "",
+ Updated: -1,
+ }
+
+ market := core.SpotMarket{
+ Id: sectionName,
+ Status: "",
+ Ticker: description,
+ BaseToken: baseToken,
+ QuoteToken: quoteToken,
+ MakerFeeRate: decimal.NewFromInt32(0),
+ TakerFeeRate: decimal.NewFromInt32(0),
+ ServiceProviderFee: decimal.NewFromInt32(0),
+ MinPriceTickSize: minPriceTickSize,
+ MinQuantityTickSize: minQuantityTickSize,
+ }
+
+ assistant.spotMarkets[market.Id] = market
+ } else {
+ market := core.DerivativeMarket{
+ Id: sectionName,
+ Status: "",
+ Ticker: description,
+ OracleBase: "",
+ OracleQuote: "",
+ OracleType: "",
+ OracleScaleFactor: 1,
+ InitialMarginRatio: decimal.NewFromInt32(0),
+ MaintenanceMarginRatio: decimal.NewFromInt32(0),
+ QuoteToken: quoteToken,
+ MakerFeeRate: decimal.NewFromInt32(0),
+ TakerFeeRate: decimal.NewFromInt32(0),
+ ServiceProviderFee: decimal.NewFromInt32(0),
+ MinPriceTickSize: minPriceTickSize,
+ MinQuantityTickSize: minQuantityTickSize,
+ }
+
+ assistant.derivativeMarkets[market.Id] = market
+ }
+ } else {
+ if sectionName != "DEFAULT" {
+ tokenDecimals, _ := section.Key("decimals").Int()
+ newToken := core.Token{
+ Name: sectionName,
+ Symbol: sectionName,
+ Denom: section.Key("peggy_denom").String(),
+ Address: "",
+ Decimals: int32(tokenDecimals),
+ Logo: "",
+ Updated: -1,
+ }
+
+ assistant.tokensByDenom[newToken.Denom] = newToken
+ assistant.tokensBySymbol[newToken.Symbol] = newToken
+ }
+ }
+ }
+ }
+
+ legacyMarketAssistant = assistant
+ })
+
+ return legacyMarketAssistant, nil
+}
+
+func NewMarketsAssistantInitializedFromChain(ctx context.Context, exchangeClient exchange.ExchangeClient) (MarketsAssistant, error) {
+ assistant := newMarketsAssistant()
+ spotMarketsRequest := spotExchangePB.MarketsRequest{
+ MarketStatus: "active",
+ }
+ spotMarkets, err := exchangeClient.GetSpotMarkets(ctx, &spotMarketsRequest)
+
+ if err != nil {
+ return assistant, err
+ }
+
+ for _, marketInfo := range spotMarkets.GetMarkets() {
+ if len(marketInfo.GetBaseTokenMeta().GetSymbol()) > 0 && len(marketInfo.GetQuoteTokenMeta().GetSymbol()) > 0 {
+ var baseTokenSymbol, quoteTokenSymbol string
+ if strings.Contains(marketInfo.GetTicker(), "/") {
+ baseAndQuote := strings.Split(marketInfo.GetTicker(), "/")
+ baseTokenSymbol, quoteTokenSymbol = baseAndQuote[0], baseAndQuote[1]
+ } else {
+ baseTokenSymbol = marketInfo.GetBaseTokenMeta().GetSymbol()
+ quoteTokenSymbol = marketInfo.GetQuoteTokenMeta().GetSymbol()
+ }
+
+ baseToken := spotTokenRepresentation(baseTokenSymbol, marketInfo.GetBaseTokenMeta(), marketInfo.GetBaseDenom(), &assistant)
+ quoteToken := spotTokenRepresentation(quoteTokenSymbol, marketInfo.GetQuoteTokenMeta(), marketInfo.GetQuoteDenom(), &assistant)
+
+ makerFeeRate := decimal.RequireFromString(marketInfo.GetMakerFeeRate())
+ takerFeeRate := decimal.RequireFromString(marketInfo.GetTakerFeeRate())
+ serviceProviderFee := decimal.RequireFromString(marketInfo.GetServiceProviderFee())
+ minPriceTickSize := decimal.RequireFromString(marketInfo.GetMinPriceTickSize())
+ minQuantityTickSize := decimal.RequireFromString(marketInfo.GetMinQuantityTickSize())
+
+ market := core.SpotMarket{
+ Id: marketInfo.GetMarketId(),
+ Status: marketInfo.GetMarketStatus(),
+ Ticker: marketInfo.GetTicker(),
+ BaseToken: baseToken,
+ QuoteToken: quoteToken,
+ MakerFeeRate: makerFeeRate,
+ TakerFeeRate: takerFeeRate,
+ ServiceProviderFee: serviceProviderFee,
+ MinPriceTickSize: minPriceTickSize,
+ MinQuantityTickSize: minQuantityTickSize,
+ }
+
+ assistant.spotMarkets[market.Id] = market
+ }
+ }
+
+ derivativeMarketsRequest := derivativeExchangePB.MarketsRequest{
+ MarketStatus: "active",
+ }
+ derivativeMarkets, err := exchangeClient.GetDerivativeMarkets(ctx, &derivativeMarketsRequest)
+
+ if err != nil {
+ return assistant, err
+ }
+
+ for _, marketInfo := range derivativeMarkets.GetMarkets() {
+ if len(marketInfo.GetQuoteTokenMeta().GetSymbol()) > 0 {
+ quoteTokenSymbol := marketInfo.GetQuoteTokenMeta().GetSymbol()
+
+ quoteToken := derivativeTokenRepresentation(quoteTokenSymbol, marketInfo.GetQuoteTokenMeta(), marketInfo.GetQuoteDenom(), &assistant)
+
+ initialMarginRatio := decimal.RequireFromString(marketInfo.GetInitialMarginRatio())
+ maintenanceMarginRatio := decimal.RequireFromString(marketInfo.GetMaintenanceMarginRatio())
+ makerFeeRate := decimal.RequireFromString(marketInfo.GetMakerFeeRate())
+ takerFeeRate := decimal.RequireFromString(marketInfo.GetTakerFeeRate())
+ serviceProviderFee := decimal.RequireFromString(marketInfo.GetServiceProviderFee())
+ minPriceTickSize := decimal.RequireFromString(marketInfo.GetMinPriceTickSize())
+ minQuantityTickSize := decimal.RequireFromString(marketInfo.GetMinQuantityTickSize())
+
+ market := core.DerivativeMarket{
+ Id: marketInfo.GetMarketId(),
+ Status: marketInfo.GetMarketStatus(),
+ Ticker: marketInfo.GetTicker(),
+ OracleBase: marketInfo.GetOracleBase(),
+ OracleQuote: marketInfo.GetOracleQuote(),
+ OracleType: marketInfo.GetOracleType(),
+ OracleScaleFactor: marketInfo.GetOracleScaleFactor(),
+ InitialMarginRatio: initialMarginRatio,
+ MaintenanceMarginRatio: maintenanceMarginRatio,
+ QuoteToken: quoteToken,
+ MakerFeeRate: makerFeeRate,
+ TakerFeeRate: takerFeeRate,
+ ServiceProviderFee: serviceProviderFee,
+ MinPriceTickSize: minPriceTickSize,
+ MinQuantityTickSize: minQuantityTickSize,
+ }
+
+ assistant.derivativeMarkets[market.Id] = market
+ }
+ }
+
+ return assistant, nil
+}
+
+func NewMarketsAssistantWithAllTokens(ctx context.Context, exchangeClient exchange.ExchangeClient, chainClient ChainClient) (MarketsAssistant, error) {
+ assistant, err := NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ return assistant, err
+ }
+
+ assistant.initializeTokensFromChainDenoms(ctx, chainClient)
+
+ return assistant, nil
+}
+
+func uniqueSymbol(symbol string, denom string, tokenMetaSymbol string, tokenMetaName string, assistant MarketsAssistant) string {
+ uniqueSymbol := denom
+ _, isSymbolPresent := assistant.tokensBySymbol[symbol]
+ if isSymbolPresent {
+ _, isSymbolPresent = assistant.tokensBySymbol[tokenMetaSymbol]
+ if isSymbolPresent {
+ _, isSymbolPresent = assistant.tokensBySymbol[tokenMetaName]
+ if !isSymbolPresent {
+ uniqueSymbol = tokenMetaName
+ }
+ } else {
+ uniqueSymbol = tokenMetaSymbol
+ }
+ } else {
+ uniqueSymbol = symbol
+ }
+
+ return uniqueSymbol
+}
+
+func spotTokenRepresentation(symbol string, tokenMeta *spotExchangePB.TokenMeta, denom string, assistant *MarketsAssistant) core.Token {
+ _, isPresent := assistant.tokensByDenom[denom]
+
+ if !isPresent {
+ uniqueSymbol := uniqueSymbol(symbol, denom, tokenMeta.GetSymbol(), tokenMeta.GetName(), *assistant)
+
+ newToken := core.Token{
+ Name: tokenMeta.GetName(),
+ Symbol: symbol,
+ Denom: denom,
+ Address: tokenMeta.GetAddress(),
+ Decimals: tokenMeta.GetDecimals(),
+ Logo: tokenMeta.GetLogo(),
+ Updated: tokenMeta.GetUpdatedAt(),
+ }
+
+ assistant.tokensByDenom[denom] = newToken
+ assistant.tokensBySymbol[uniqueSymbol] = newToken
+ }
+
+ return assistant.tokensByDenom[denom]
+}
+
+func derivativeTokenRepresentation(symbol string, tokenMeta *derivativeExchangePB.TokenMeta, denom string, assistant *MarketsAssistant) core.Token {
+ _, isPresent := assistant.tokensByDenom[denom]
+
+ if !isPresent {
+ uniqueSymbol := uniqueSymbol(symbol, denom, tokenMeta.GetSymbol(), tokenMeta.GetName(), *assistant)
+
+ newToken := core.Token{
+ Name: tokenMeta.GetName(),
+ Symbol: symbol,
+ Denom: denom,
+ Address: tokenMeta.GetAddress(),
+ Decimals: tokenMeta.GetDecimals(),
+ Logo: tokenMeta.GetLogo(),
+ Updated: tokenMeta.GetUpdatedAt(),
+ }
+
+ assistant.tokensByDenom[denom] = newToken
+ assistant.tokensBySymbol[uniqueSymbol] = newToken
+ }
+
+ return assistant.tokensByDenom[denom]
+}
+
+func getFileAbsPath(relativePath string) string {
+ _, filename, _, _ := runtime.Caller(0)
+ return path.Join(path.Dir(filename), relativePath)
+}
+
+func (assistant MarketsAssistant) AllTokens() map[string]core.Token {
+ return assistant.tokensBySymbol
+}
+
+func (assistant MarketsAssistant) AllSpotMarkets() map[string]core.SpotMarket {
+ return assistant.spotMarkets
+}
+
+func (assistant MarketsAssistant) AllDerivativeMarkets() map[string]core.DerivativeMarket {
+ return assistant.derivativeMarkets
+}
+
+func (assistant MarketsAssistant) initializeTokensFromChainDenoms(ctx context.Context, chainClient ChainClient) {
+ var denomsMetadata []banktypes.Metadata
+ var nextKey []byte
+
+ for readNextPage := true; readNextPage; readNextPage = len(nextKey) > 0 {
+ pagination := query.PageRequest{Key: nextKey}
+ result, err := chainClient.GetDenomsMetadata(ctx, &pagination)
+
+ if err != nil {
+ panic(err)
+ }
+
+ denomsMetadata = append(denomsMetadata, result.GetMetadatas()...)
+ }
+
+ for _, denomMetadata := range denomsMetadata {
+ symbol := denomMetadata.GetSymbol()
+ denom := denomMetadata.GetBase()
+
+ _, isDenomPresent := assistant.tokensByDenom[denom]
+
+ if symbol != "" && denom != "" && !isDenomPresent {
+ name := denomMetadata.GetName()
+ if name == "" {
+ name = symbol
+ }
+
+ var decimals int32 = -1
+ for _, denomUnit := range denomMetadata.GetDenomUnits() {
+ exponent := int32(denomUnit.GetExponent())
+ if exponent > decimals {
+ decimals = exponent
+ }
+ }
+
+ uniqueSymbol := uniqueSymbol(symbol, denom, symbol, name, assistant)
+
+ newToken := core.Token{
+ Name: name,
+ Symbol: symbol,
+ Denom: denom,
+ Address: "",
+ Decimals: decimals,
+ Logo: denomMetadata.GetURI(),
+ Updated: -1,
+ }
+
+ assistant.tokensByDenom[denom] = newToken
+ assistant.tokensBySymbol[uniqueSymbol] = newToken
+ }
+ }
+}
diff --git a/client/chain/markets_assistant_test.go b/client/chain/markets_assistant_test.go
new file mode 100644
index 00000000..12ffb0bd
--- /dev/null
+++ b/client/chain/markets_assistant_test.go
@@ -0,0 +1,99 @@
+package chain
+
+import (
+ "context"
+ "strings"
+ "testing"
+
+ "github.com/InjectiveLabs/sdk-go/client/exchange"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+ banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+ "github.com/stretchr/testify/assert"
+)
+
+func TestMarketAssistantCreationUsingMarketsFromExchange(t *testing.T) {
+ mockExchange := exchange.MockExchangeClient{}
+ var spotMarketInfos []*spotExchangePB.SpotMarketInfo
+ var derivativeMarketInfos []*derivativeExchangePB.DerivativeMarketInfo
+ injUsdtSpotMarketInfo := createINJUSDTSpotMarketInfo()
+ apeUsdtSpotMarketInfo := createAPEUSDTSpotMarketInfo()
+ btcUsdtDerivativeMarketInfo := createBTCUSDTDerivativeMarketInfo()
+
+ spotMarketInfos = append(spotMarketInfos, injUsdtSpotMarketInfo)
+ spotMarketInfos = append(spotMarketInfos, apeUsdtSpotMarketInfo)
+ derivativeMarketInfos = append(derivativeMarketInfos, btcUsdtDerivativeMarketInfo)
+
+ mockExchange.SpotMarketsResponses = append(mockExchange.SpotMarketsResponses, &spotExchangePB.MarketsResponse{
+ Markets: spotMarketInfos,
+ })
+ mockExchange.DerivativeMarketsResponses = append(mockExchange.DerivativeMarketsResponses, &derivativeExchangePB.MarketsResponse{
+ Markets: derivativeMarketInfos,
+ })
+
+ ctx := context.Background()
+ assistant, err := NewMarketsAssistantInitializedFromChain(ctx, &mockExchange)
+
+ assert.NoError(t, err)
+
+ tokens := assistant.AllTokens()
+
+ assert.Len(t, tokens, 5)
+
+ symbols := strings.Split(injUsdtSpotMarketInfo.Ticker, "/")
+ injSymbol, usdtSymbol := symbols[0], symbols[1]
+ symbols = strings.Split(apeUsdtSpotMarketInfo.Ticker, "/")
+ apeSymbol := symbols[0]
+ alternativeUSDTName := apeUsdtSpotMarketInfo.QuoteTokenMeta.Name
+ usdtPerpSymbol := btcUsdtDerivativeMarketInfo.QuoteTokenMeta.Symbol
+
+ _, isPresent := tokens[injSymbol]
+ assert.True(t, isPresent)
+ _, isPresent = tokens[usdtSymbol]
+ assert.True(t, isPresent)
+ _, isPresent = tokens[alternativeUSDTName]
+ assert.True(t, isPresent)
+ _, isPresent = tokens[apeSymbol]
+ assert.True(t, isPresent)
+ _, isPresent = tokens[usdtPerpSymbol]
+ assert.True(t, isPresent)
+
+ spotMarkets := assistant.AllSpotMarkets()
+ assert.Len(t, spotMarkets, 2)
+
+ _, isPresent = spotMarkets[injUsdtSpotMarketInfo.MarketId]
+ assert.True(t, isPresent)
+ _, isPresent = spotMarkets[apeUsdtSpotMarketInfo.MarketId]
+ assert.True(t, isPresent)
+
+ derivativeMarkets := assistant.AllDerivativeMarkets()
+ assert.Len(t, derivativeMarkets, 1)
+
+ _, isPresent = derivativeMarkets[btcUsdtDerivativeMarketInfo.MarketId]
+ assert.True(t, isPresent)
+}
+
+func TestMarketAssistantCreationWithAllTokens(t *testing.T) {
+ mockExchange := exchange.MockExchangeClient{}
+ mockChain := MockChainClient{}
+ smartDenomMetadata := createSmartDenomMetadata()
+
+ mockExchange.SpotMarketsResponses = append(mockExchange.SpotMarketsResponses, &spotExchangePB.MarketsResponse{})
+ mockExchange.DerivativeMarketsResponses = append(mockExchange.DerivativeMarketsResponses, &derivativeExchangePB.MarketsResponse{})
+
+ mockChain.DenomsMetadataResponses = append(mockChain.DenomsMetadataResponses, &banktypes.QueryDenomsMetadataResponse{
+ Metadatas: []banktypes.Metadata{smartDenomMetadata},
+ })
+
+ ctx := context.Background()
+ assistant, err := NewMarketsAssistantWithAllTokens(ctx, &mockExchange, &mockChain)
+
+ assert.NoError(t, err)
+
+ tokens := assistant.AllTokens()
+
+ assert.Len(t, tokens, 1)
+
+ _, isPresent := tokens[smartDenomMetadata.Symbol]
+ assert.True(t, isPresent)
+}
diff --git a/client/chain/markets_assistant_test_support.go b/client/chain/markets_assistant_test_support.go
new file mode 100644
index 00000000..d926f585
--- /dev/null
+++ b/client/chain/markets_assistant_test_support.go
@@ -0,0 +1,159 @@
+package chain
+
+import (
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+ "github.com/cosmos/cosmos-sdk/x/bank/types"
+)
+
+func createINJTokenMeta() spotExchangePB.TokenMeta {
+ return spotExchangePB.TokenMeta{
+ Name: "Injective Protocol",
+ Address: "0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30",
+ Symbol: "INJ",
+ Logo: "https://static.alchemyapi.io/images/assets/7226.png",
+ Decimals: 18,
+ UpdatedAt: 1681739137644,
+ }
+}
+
+func createAPETokenMeta() spotExchangePB.TokenMeta {
+ return spotExchangePB.TokenMeta{
+ Name: "APE",
+ Address: "0x0000000000000000000000000000000000000000",
+ Symbol: "APE",
+ Logo: "https://assets.coingecko.com/coins/images/24383/small/apecoin.jpg?1647476455",
+ Decimals: 18,
+ UpdatedAt: 1681739137646,
+ }
+}
+
+func createUSDTTokenMeta() spotExchangePB.TokenMeta {
+ return spotExchangePB.TokenMeta{
+ Name: "USDT",
+ Address: "0x0000000000000000000000000000000000000000",
+ Symbol: "USDT",
+ Logo: "https://static.alchemyapi.io/images/assets/825.png",
+ Decimals: 6,
+ UpdatedAt: 1681739137645,
+ }
+}
+
+func createUSDTPerpTokenMeta() derivativeExchangePB.TokenMeta {
+ return derivativeExchangePB.TokenMeta{
+ Name: "Tether",
+ Address: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
+ Symbol: "USDTPerp",
+ Logo: "https://static.alchemyapi.io/images/assets/825.png",
+ Decimals: 6,
+ UpdatedAt: 1683929869866,
+ }
+}
+
+func createINJUSDTSpotMarketInfo() *spotExchangePB.SpotMarketInfo {
+ injTokenMeta := createINJTokenMeta()
+ usdtTokenMeta := createUSDTTokenMeta()
+ marketInfo := spotExchangePB.SpotMarketInfo{
+ MarketId: "0x7a57e705bb4e09c88aecfc295569481dbf2fe1d5efe364651fbe72385938e9b0",
+ MarketStatus: "active",
+ Ticker: "INJ/USDT",
+ BaseDenom: "inj",
+ BaseTokenMeta: &injTokenMeta,
+ QuoteDenom: "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5",
+ QuoteTokenMeta: &usdtTokenMeta,
+ MakerFeeRate: "-0.0001",
+ TakerFeeRate: "0.001",
+ ServiceProviderFee: "0.4",
+ MinPriceTickSize: "0.000000000000001",
+ MinQuantityTickSize: "1000000000000000",
+ }
+
+ return &marketInfo
+}
+
+func createAPEUSDTSpotMarketInfo() *spotExchangePB.SpotMarketInfo {
+ apeTokenMeta := createAPETokenMeta()
+ usdtTokenMeta := createUSDTTokenMeta()
+ marketInfo := spotExchangePB.SpotMarketInfo{
+ MarketId: "0x8b67e705bb4e09c88aecfc295569481dbf2fe1d5efe364651fbe72385938e000",
+ MarketStatus: "active",
+ Ticker: "APE/USDT",
+ BaseDenom: "peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7",
+ BaseTokenMeta: &apeTokenMeta,
+ QuoteDenom: "factory/peggy0x87aB3B4C8661e07D6372361211B96ed4Dc300000",
+ QuoteTokenMeta: &usdtTokenMeta,
+ MakerFeeRate: "-0.0001",
+ TakerFeeRate: "0.001",
+ ServiceProviderFee: "0.4",
+ MinPriceTickSize: "0.000000000000001",
+ MinQuantityTickSize: "1000000000000000",
+ }
+
+ return &marketInfo
+}
+
+func createBTCUSDTDerivativeMarketInfo() *derivativeExchangePB.DerivativeMarketInfo {
+ usdtPerpTokenMeta := createUSDTPerpTokenMeta()
+
+ perpetualMarketInfo := derivativeExchangePB.PerpetualMarketInfo{
+ HourlyFundingRateCap: "0.0000625",
+ HourlyInterestRate: "0.00000416666",
+ NextFundingTimestamp: 1684764000,
+ FundingInterval: 3600,
+ }
+
+ perpetualmarketFunding := derivativeExchangePB.PerpetualMarketFunding{
+ CumulativeFunding: "6880500093.266083891331674194",
+ CumulativePrice: "-0.952642601240470199",
+ LastTimestamp: 1684763442,
+ }
+
+ marketInfo := derivativeExchangePB.DerivativeMarketInfo{
+ MarketId: "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce",
+ MarketStatus: "active",
+ Ticker: "BTC/USDT PERP",
+ OracleBase: "BTC",
+ OracleQuote: "USDT",
+ OracleType: "bandibc",
+ OracleScaleFactor: 6,
+ InitialMarginRatio: "0.095",
+ MaintenanceMarginRatio: "0.025",
+ QuoteDenom: "peggy0xdAC17F958D2ee523a2206206994597C13D831ec7",
+ QuoteTokenMeta: &usdtPerpTokenMeta,
+ MakerFeeRate: "-0.0001",
+ TakerFeeRate: "0.001",
+ ServiceProviderFee: "0.4",
+ IsPerpetual: true,
+ MinPriceTickSize: "1000000",
+ MinQuantityTickSize: "0.0001",
+ PerpetualMarketInfo: &perpetualMarketInfo,
+ PerpetualMarketFunding: &perpetualmarketFunding,
+ }
+
+ return &marketInfo
+}
+
+func createSmartDenomMetadata() types.Metadata {
+ firstDenomUnit := types.DenomUnit{
+ Denom: "factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART",
+ Exponent: 0,
+ Aliases: []string{"microSMART"},
+ }
+ secondDenomUnit := types.DenomUnit{
+ Denom: "SMART",
+ Exponent: 6,
+ Aliases: []string{"SMART"},
+ }
+ metadata := types.Metadata{
+ Description: "SMART",
+ DenomUnits: []*types.DenomUnit{&firstDenomUnit, &secondDenomUnit},
+ Base: "factory/inj105ujajd95znwjvcy3hwcz80pgy8tc6v77spur0/SMART",
+ Display: "SMART",
+ Name: "SMART",
+ Symbol: "SMART",
+ URI: "https://upload.wikimedia.org/wikipedia/commons/thumb/f/fa/Flag_of_the_People%27s_Republic_of_China.svg/2560px-Flag_of_the_People%27s_Republic_of_China.svg.png",
+ URIHash: "",
+ }
+
+ return metadata
+}
diff --git a/client/common/denom.go b/client/common/denom.go
deleted file mode 100644
index ef98285a..00000000
--- a/client/common/denom.go
+++ /dev/null
@@ -1,30 +0,0 @@
-package common
-
-import (
- "fmt"
-
- "gopkg.in/ini.v1"
-)
-
-type Denom struct {
- Description string
- Base int
- Quote int
- MinPriceTickSize float64
- MinQuantityTickSize float64
-}
-
-func LoadMetadata(network Network, marketId string) Denom {
- fileName := getFileAbsPath(fmt.Sprintf("../metadata/assets/%s.ini", network.Name))
- cfg, err := ini.Load(fileName)
- if err != nil {
- panic(err)
- }
- return Denom{
- Description: cfg.Section(marketId).Key("description").String(),
- Base: cfg.Section(marketId).Key("base").MustInt(),
- Quote: cfg.Section(marketId).Key("quote").MustInt(),
- MinPriceTickSize: cfg.Section(marketId).Key("min_price_tick_size").MustFloat64(),
- MinQuantityTickSize: cfg.Section(marketId).Key("min_quantity_tick_size").MustFloat64(),
- }
-}
diff --git a/client/common/embeded.go b/client/common/embeded.go
index b22554cf..d1c7d7e6 100644
--- a/client/common/embeded.go
+++ b/client/common/embeded.go
@@ -1,4 +1,6 @@
package common
-import _ "github.com/InjectiveLabs/sdk-go/client/cert"
-import _ "github.com/InjectiveLabs/sdk-go/client/metadata/assets"
+import (
+ _ "github.com/InjectiveLabs/sdk-go/client/cert"
+ _ "github.com/InjectiveLabs/sdk-go/client/metadata/assets"
+)
diff --git a/client/common/network.go b/client/common/network.go
index 04cbf91a..ec50a01b 100644
--- a/client/common/network.go
+++ b/client/common/network.go
@@ -4,14 +4,13 @@ import (
"context"
"crypto/tls"
"fmt"
- "google.golang.org/grpc/metadata"
"net"
"net/http"
- "path"
- "runtime"
"strings"
"time"
+ "google.golang.org/grpc/metadata"
+
"google.golang.org/grpc/credentials"
)
@@ -74,7 +73,7 @@ func (assistant *ExpiringCookieAssistant) checkCookieExpiration() {
expirationTime, err := time.Parse(assistant.timeLayout, cookie.Value)
if err == nil {
- timestampDiff := expirationTime.Sub(time.Now())
+ timestampDiff := time.Until(expirationTime)
if timestampDiff < SessionRenewalOffset {
assistant.cookie = ""
}
@@ -149,6 +148,7 @@ type Network struct {
LcdEndpoint string
TmEndpoint string
ChainGrpcEndpoint string
+ ChainStreamGrpcEndpoint string
ChainTlsCert credentials.TransportCredentials
ExchangeGrpcEndpoint string
ExplorerGrpcEndpoint string
@@ -174,11 +174,6 @@ func (network *Network) ExplorerMetadata(provider MetadataProvider) (string, err
return network.explorerCookieAssistant.Metadata(provider)
}
-func getFileAbsPath(relativePath string) string {
- _, filename, _, _ := runtime.Caller(0)
- return path.Join(path.Dir(filename), relativePath)
-}
-
func LoadNetwork(name string, node string) Network {
switch name {
@@ -187,6 +182,7 @@ func LoadNetwork(name string, node string) Network {
LcdEndpoint: "https://devnet-1.lcd.injective.dev",
TmEndpoint: "https://devnet-1.tm.injective.dev:443",
ChainGrpcEndpoint: "tcp://devnet-1.grpc.injective.dev:9900",
+ ChainStreamGrpcEndpoint: "tcp://devnet-1.grpc.injective.dev:9999",
ExchangeGrpcEndpoint: "tcp://devnet-1.api.injective.dev:9910",
ExplorerGrpcEndpoint: "tcp://devnet-1.api.injective.dev:9911",
ChainId: "injective-777",
@@ -201,6 +197,7 @@ func LoadNetwork(name string, node string) Network {
LcdEndpoint: "https://devnet.lcd.injective.dev",
TmEndpoint: "https://devnet.tm.injective.dev:443",
ChainGrpcEndpoint: "tcp://devnet.injective.dev:9900",
+ ChainStreamGrpcEndpoint: "tcp://devnet.injective.dev:9999",
ExchangeGrpcEndpoint: "tcp://devnet.injective.dev:9910",
ExplorerGrpcEndpoint: "tcp://devnet.api.injective.dev:9911",
ChainId: "injective-777",
@@ -211,18 +208,19 @@ func LoadNetwork(name string, node string) Network {
explorerCookieAssistant: &DisabledCookieAssistant{},
}
case "testnet":
- validNodes := []string{"lb", "lb_k8s", "sentry", "sentry0", "sentry1"}
+ validNodes := []string{"lb", "sentry"}
if !contains(validNodes, node) {
panic(fmt.Sprintf("invalid node %s for %s", node, name))
}
- var lcdEndpoint, tmEndpoint, chainGrpcEndpoint, exchangeGrpcEndpoint, explorerGrpcEndpoint string
+ var lcdEndpoint, tmEndpoint, chainGrpcEndpoint, chainStreamGrpcEndpoint, exchangeGrpcEndpoint, explorerGrpcEndpoint string
var chainTlsCert, exchangeTlsCert, explorerTlsCert credentials.TransportCredentials
var chainCookieAssistant, exchangeCookieAssistant, explorerCookieAssistant CookieAssistant
if node == "lb" {
lcdEndpoint = "https://testnet.sentry.lcd.injective.network:443"
tmEndpoint = "https://testnet.sentry.tm.injective.network:443"
chainGrpcEndpoint = "testnet.sentry.chain.grpc.injective.network:443"
+ chainStreamGrpcEndpoint = "testnet.sentry.chain.stream.injective.network:443"
exchangeGrpcEndpoint = "testnet.sentry.exchange.grpc.injective.network:443"
explorerGrpcEndpoint = "testnet.sentry.explorer.grpc.injective.network:443"
chainTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
@@ -231,26 +229,11 @@ func LoadNetwork(name string, node string) Network {
chainCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
exchangeCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
explorerCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
- } else if node == "lb_k8s" {
- certPath := getFileAbsPath("../cert/testnet.crt")
- lcdEndpoint = "https://k8s.testnet.lcd.injective.network:443"
- tmEndpoint = "https://k8s.testnet.tm.injective.network:443"
- chainGrpcEndpoint = "tcp://k8s.testnet.chain.grpc.injective.network:443"
- exchangeGrpcEndpoint = "tcp://k8s.testnet.exchange.grpc.injective.network:443"
- explorerGrpcEndpoint = "tcp://k8s.testnet.explorer.grpc.injective.network:443"
- chainTlsCert = LoadTlsCert(certPath, chainGrpcEndpoint)
- exchangeTlsCert = LoadTlsCert(certPath, exchangeGrpcEndpoint)
- explorerTlsCert = LoadTlsCert(certPath, explorerGrpcEndpoint)
- chainAssistant := TestnetKubernetesCookieAssistant()
- chainCookieAssistant = &chainAssistant
- exchangeAssistant := TestnetKubernetesCookieAssistant()
- exchangeCookieAssistant = &exchangeAssistant
- explorerAssistant := TestnetKubernetesCookieAssistant()
- explorerCookieAssistant = &explorerAssistant
} else if node == "sentry" {
lcdEndpoint = "https://testnet.lcd.injective.network:443"
tmEndpoint = "https://testnet.tm.injective.network:443"
chainGrpcEndpoint = "testnet.chain.grpc.injective.network:443"
+ chainStreamGrpcEndpoint = "testnet.chain.stream.injective.network:443"
exchangeGrpcEndpoint = "testnet.exchange.grpc.injective.network:443"
explorerGrpcEndpoint = "testnet.explorer.grpc.injective.network:443"
chainTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
@@ -259,21 +242,13 @@ func LoadNetwork(name string, node string) Network {
chainCookieAssistant = &DisabledCookieAssistant{}
exchangeCookieAssistant = &DisabledCookieAssistant{}
explorerCookieAssistant = &DisabledCookieAssistant{}
- } else {
- lcdEndpoint = fmt.Sprintf("http://%s.injective.dev:10337", node)
- tmEndpoint = fmt.Sprintf("http://%s.injective.dev:26657", node)
- chainGrpcEndpoint = fmt.Sprintf("tcp://%s.injective.dev:9900", node)
- exchangeGrpcEndpoint = fmt.Sprintf("tcp://%s.injective.dev:9910", node)
- explorerGrpcEndpoint = "tcp://testnet.api.injective.dev:9911"
- chainCookieAssistant = &DisabledCookieAssistant{}
- exchangeCookieAssistant = &DisabledCookieAssistant{}
- explorerCookieAssistant = &DisabledCookieAssistant{}
}
return Network{
LcdEndpoint: lcdEndpoint,
TmEndpoint: tmEndpoint,
ChainGrpcEndpoint: chainGrpcEndpoint,
+ ChainStreamGrpcEndpoint: chainStreamGrpcEndpoint,
ChainTlsCert: chainTlsCert,
ExchangeGrpcEndpoint: exchangeGrpcEndpoint,
ExchangeTlsCert: exchangeTlsCert,
@@ -287,62 +262,32 @@ func LoadNetwork(name string, node string) Network {
explorerCookieAssistant: explorerCookieAssistant,
}
case "mainnet":
- validNodes := []string{"lb", "lb_k8s", "sentry", "sentry0", "sentry1", "sentry2", "sentry3"}
+ validNodes := []string{"lb"}
if !contains(validNodes, node) {
panic(fmt.Sprintf("invalid node %s for %s", node, name))
}
- var lcdEndpoint, tmEndpoint, chainGrpcEndpoint, exchangeGrpcEndpoint, explorerGrpcEndpoint string
+ var lcdEndpoint, tmEndpoint, chainGrpcEndpoint, chainStreamGrpcEndpoint, exchangeGrpcEndpoint, explorerGrpcEndpoint string
var chainTlsCert, exchangeTlsCert, explorerTlsCert credentials.TransportCredentials
var chainCookieAssistant, exchangeCookieAssistant, explorerCookieAssistant CookieAssistant
- if node == "lb" || node == "sentry" {
- lcdEndpoint = "https://sentry.lcd.injective.network"
- tmEndpoint = "https://sentry.tm.injective.network:443"
- chainGrpcEndpoint = "sentry.chain.grpc.injective.network:443"
- exchangeGrpcEndpoint = "sentry.exchange.grpc.injective.network:443"
- explorerGrpcEndpoint = "sentry.explorer.grpc.injective.network:443"
- chainTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
- exchangeTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
- explorerTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
- chainCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
- exchangeCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
- explorerCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
- } else if node == "lb_k8s" {
- //certPath := getFileAbsPath("../cert/mainnet.crt")
- lcdEndpoint = "https://k8s.global.mainnet.lcd.injective.network"
- tmEndpoint = "https://k8s.global.mainnet.tm.injective.network:443"
- chainGrpcEndpoint = "k8s.global.mainnet.chain.grpc.injective.network:443"
- exchangeGrpcEndpoint = "k8s.global.mainnet.exchange.grpc.injective.network:443"
- explorerGrpcEndpoint = "k8s.global.mainnet.explorer.grpc.injective.network:443"
- chainTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
- exchangeTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
- explorerTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
- chainAssistant := MainnetKubernetesCookieAssistant()
- chainCookieAssistant = &chainAssistant
- exchangeAssistant := MainnetKubernetesCookieAssistant()
- exchangeCookieAssistant = &exchangeAssistant
- explorerAssistant := MainnetKubernetesCookieAssistant()
- explorerCookieAssistant = &explorerAssistant
- } else {
- lcdEndpoint = fmt.Sprintf("http://%s.injective.network:10337", node)
- tmEndpoint = fmt.Sprintf("http://%s.injective.network:26657", node)
- chainGrpcEndpoint = fmt.Sprintf("tcp://%s.injective.network:9900", node)
- exchangeGrpcEndpoint = fmt.Sprintf("tcp://%s.injective.network:9910", node)
- // only sentry2 and equinix-0 have explorer
- if node == "sentry2" {
- explorerGrpcEndpoint = "tcp://sentry2.injective.network:9911"
- } else {
- explorerGrpcEndpoint = "k8s.global.mainnet.explorer.grpc.injective.network:443"
- explorerTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
- }
- chainCookieAssistant = &DisabledCookieAssistant{}
- exchangeCookieAssistant = &DisabledCookieAssistant{}
- explorerCookieAssistant = &DisabledCookieAssistant{}
- }
+
+ lcdEndpoint = "https://sentry.lcd.injective.network"
+ tmEndpoint = "https://sentry.tm.injective.network:443"
+ chainGrpcEndpoint = "sentry.chain.grpc.injective.network:443"
+ chainStreamGrpcEndpoint = "sentry.chain.stream.injective.network:443"
+ exchangeGrpcEndpoint = "sentry.exchange.grpc.injective.network:443"
+ explorerGrpcEndpoint = "sentry.explorer.grpc.injective.network:443"
+ chainTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
+ exchangeTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
+ explorerTlsCert = credentials.NewServerTLSFromCert(&tls.Certificate{})
+ chainCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
+ exchangeCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
+ explorerCookieAssistant = &BareMetalLoadBalancedCookieAssistant{}
return Network{
LcdEndpoint: lcdEndpoint,
TmEndpoint: tmEndpoint,
ChainGrpcEndpoint: chainGrpcEndpoint,
+ ChainStreamGrpcEndpoint: chainStreamGrpcEndpoint,
ChainTlsCert: chainTlsCert,
ExchangeGrpcEndpoint: exchangeGrpcEndpoint,
ExchangeTlsCert: exchangeTlsCert,
@@ -360,6 +305,16 @@ func LoadNetwork(name string, node string) Network {
return Network{}
}
+// NewNetwork returns a new Network instance with all cookie assistants disabled.
+// It can be used to setup a custom environment from scratch.
+func NewNetwork() Network {
+ return Network{
+ chainCookieAssistant: &DisabledCookieAssistant{},
+ exchangeCookieAssistant: &DisabledCookieAssistant{},
+ explorerCookieAssistant: &DisabledCookieAssistant{},
+ }
+}
+
func contains(s []string, e string) bool {
for _, a := range s {
if a == e {
diff --git a/client/common/network_test.go b/client/common/network_test.go
index cf63efcd..235c580e 100644
--- a/client/common/network_test.go
+++ b/client/common/network_test.go
@@ -2,9 +2,10 @@ package common
import (
"fmt"
- "google.golang.org/grpc/metadata"
"testing"
"time"
+
+ "google.golang.org/grpc/metadata"
)
func TestMainnetKubernetesLoadBalancedCookieAssistant(t *testing.T) {
diff --git a/client/common/util.go b/client/common/util.go
index 6f6af8ee..f7e0c9bc 100644
--- a/client/common/util.go
+++ b/client/common/util.go
@@ -5,7 +5,7 @@ import (
"crypto/x509"
"encoding/hex"
"fmt"
- "io/ioutil"
+ "os"
"strings"
chaintypes "github.com/InjectiveLabs/sdk-go/chain/types"
@@ -13,9 +13,7 @@ import (
)
func HexToBytes(str string) ([]byte, error) {
- if strings.HasPrefix(str, "0x") {
- str = str[2:]
- }
+ str = strings.TrimPrefix(str, "0x")
data, err := hex.DecodeString(str)
if err != nil {
@@ -31,7 +29,7 @@ func LoadTlsCert(path string, serverName string) credentials.TransportCredential
}
// build cert obj
- rootCert, err := ioutil.ReadFile(path)
+ rootCert, err := os.ReadFile(path)
if err != nil {
fmt.Println(err, "cannot load tls cert from path")
return nil
diff --git a/client/constants.go b/client/constants.go
new file mode 100644
index 00000000..6a004fb7
--- /dev/null
+++ b/client/constants.go
@@ -0,0 +1,7 @@
+package client
+
+const (
+ DefaultGasPrice = 160000000
+ InjDenom = "inj"
+ DefaultGasPriceWithDenom = "160000000inj"
+)
diff --git a/client/core/market.go b/client/core/market.go
new file mode 100644
index 00000000..7bd1a4ca
--- /dev/null
+++ b/client/core/market.go
@@ -0,0 +1,118 @@
+package core
+
+import (
+ cosmtypes "github.com/cosmos/cosmos-sdk/types"
+ "github.com/shopspring/decimal"
+)
+
+const AdditionalChainFormatDecimals = 18
+
+type SpotMarket struct {
+ Id string
+ Status string
+ Ticker string
+ BaseToken Token
+ QuoteToken Token
+ MakerFeeRate decimal.Decimal
+ TakerFeeRate decimal.Decimal
+ ServiceProviderFee decimal.Decimal
+ MinPriceTickSize decimal.Decimal
+ MinQuantityTickSize decimal.Decimal
+}
+
+func (spotMarket SpotMarket) QuantityToChainFormat(humanReadableValue decimal.Decimal) cosmtypes.Dec {
+ chainFormattedValue := humanReadableValue.Mul(decimal.New(1, spotMarket.BaseToken.Decimals))
+ quantizedValue := chainFormattedValue.DivRound(spotMarket.MinQuantityTickSize, 0).Mul(spotMarket.MinQuantityTickSize)
+ valueInChainFormat, _ := cosmtypes.NewDecFromStr(quantizedValue.String())
+
+ return valueInChainFormat
+}
+
+func (spotMarket SpotMarket) PriceToChainFormat(humanReadableValue decimal.Decimal) cosmtypes.Dec {
+ decimals := spotMarket.QuoteToken.Decimals - spotMarket.BaseToken.Decimals
+ chainFormattedValue := humanReadableValue.Mul(decimal.New(1, decimals))
+ quantizedValue := chainFormattedValue.DivRound(spotMarket.MinPriceTickSize, 0).Mul(spotMarket.MinPriceTickSize)
+ valueInChainFormat, _ := cosmtypes.NewDecFromStr(quantizedValue.String())
+
+ return valueInChainFormat
+}
+
+func (spotMarket SpotMarket) QuantityFromChainFormat(chainValue cosmtypes.Dec) decimal.Decimal {
+ return decimal.RequireFromString(chainValue.String()).Div(decimal.New(1, spotMarket.BaseToken.Decimals))
+}
+
+func (spotMarket SpotMarket) PriceFromChainFormat(chainValue cosmtypes.Dec) decimal.Decimal {
+ decimals := spotMarket.BaseToken.Decimals - spotMarket.QuoteToken.Decimals
+ return decimal.RequireFromString(chainValue.String()).Mul(decimal.New(1, decimals))
+}
+
+type DerivativeMarket struct {
+ Id string
+ Status string
+ Ticker string
+ OracleBase string
+ OracleQuote string
+ OracleType string
+ OracleScaleFactor uint32
+ InitialMarginRatio decimal.Decimal
+ MaintenanceMarginRatio decimal.Decimal
+ QuoteToken Token
+ MakerFeeRate decimal.Decimal
+ TakerFeeRate decimal.Decimal
+ ServiceProviderFee decimal.Decimal
+ MinPriceTickSize decimal.Decimal
+ MinQuantityTickSize decimal.Decimal
+}
+
+func (derivativeMarket DerivativeMarket) QuantityToChainFormat(humanReadableValue decimal.Decimal) cosmtypes.Dec {
+ chainFormattedValue := humanReadableValue
+ quantizedValue := chainFormattedValue.DivRound(derivativeMarket.MinQuantityTickSize, 0).Mul(derivativeMarket.MinQuantityTickSize)
+ valueInChainFormat, _ := cosmtypes.NewDecFromStr(quantizedValue.String())
+
+ return valueInChainFormat
+}
+
+func (derivativeMarket DerivativeMarket) PriceToChainFormat(humanReadableValue decimal.Decimal) cosmtypes.Dec {
+ decimals := derivativeMarket.QuoteToken.Decimals
+ chainFormattedValue := humanReadableValue.Mul(decimal.New(1, decimals))
+ quantizedValue := chainFormattedValue.DivRound(derivativeMarket.MinPriceTickSize, 0).Mul(derivativeMarket.MinPriceTickSize)
+ valueInChainFormat, _ := cosmtypes.NewDecFromStr(quantizedValue.String())
+
+ return valueInChainFormat
+}
+
+func (derivativeMarket DerivativeMarket) MarginToChainFormat(humanReadableValue decimal.Decimal) cosmtypes.Dec {
+ decimals := derivativeMarket.QuoteToken.Decimals
+ chainFormattedValue := humanReadableValue.Mul(decimal.New(1, decimals))
+ quantizedValue := chainFormattedValue.DivRound(derivativeMarket.MinQuantityTickSize, 0).Mul(derivativeMarket.MinQuantityTickSize)
+ valueInChainFormat, _ := cosmtypes.NewDecFromStr(quantizedValue.String())
+
+ return valueInChainFormat
+}
+
+func (derivativeMarket DerivativeMarket) CalculateMarginInChainFormat(humanReadableQuantity decimal.Decimal, humanReadablePrice decimal.Decimal, leverage decimal.Decimal) cosmtypes.Dec {
+ chainFormattedQuantity := humanReadableQuantity
+ chainFormattedPrice := humanReadablePrice.Mul(decimal.New(1, derivativeMarket.QuoteToken.Decimals))
+
+ margin := chainFormattedQuantity.Mul(chainFormattedPrice).Div(leverage)
+ // We are using the min_quantity_tick_size to quantize the margin because that is the way margin is validated
+ // in the chain (it might be changed to a min_notional in the future)
+ quantizedMargin := margin.DivRound(derivativeMarket.MinQuantityTickSize, 0).Mul(derivativeMarket.MinQuantityTickSize)
+ valueInChainFormat, _ := cosmtypes.NewDecFromStr(quantizedMargin.String())
+
+ return valueInChainFormat
+}
+
+func (derivativeMarket DerivativeMarket) QuantityFromChainFormat(chainValue cosmtypes.Dec) decimal.Decimal {
+ return decimal.RequireFromString(chainValue.String())
+}
+
+func (derivativeMarket DerivativeMarket) PriceFromChainFormat(chainValue cosmtypes.Dec) decimal.Decimal {
+ decimals := -derivativeMarket.QuoteToken.Decimals
+ return decimal.RequireFromString(chainValue.String()).Mul(decimal.New(1, decimals))
+}
+
+func (derivativeMarket DerivativeMarket) MarginFromChainFormat(chainValue cosmtypes.Dec) decimal.Decimal {
+ decimals := -derivativeMarket.QuoteToken.Decimals
+ return decimal.RequireFromString(chainValue.String()).Mul(decimal.New(1, decimals))
+}
diff --git a/client/core/market_test.go b/client/core/market_test.go
new file mode 100644
index 00000000..3ee77ea8
--- /dev/null
+++ b/client/core/market_test.go
@@ -0,0 +1,199 @@
+package core
+
+import (
+ "testing"
+
+ "github.com/cosmos/cosmos-sdk/types"
+ "github.com/huandu/go-assert"
+ "github.com/shopspring/decimal"
+)
+
+func createINJUSDTSpotMarket() SpotMarket {
+ injToken := createINJToken()
+ usdtToken := createUSDTToken()
+
+ makerFeeRate := decimal.RequireFromString("-0.0001")
+ takerFeeRate := decimal.RequireFromString("0.001")
+ serviceProviderFee := decimal.RequireFromString("0.4")
+ minPriceTickSize := decimal.RequireFromString("0.000000000000001")
+ minQuantityTickSize := decimal.RequireFromString("1000000000000000")
+
+ market := SpotMarket{
+ Id: "0x7a57e705bb4e09c88aecfc295569481dbf2fe1d5efe364651fbe72385938e9b0",
+ Status: "active",
+ Ticker: "INJ/USDT",
+ BaseToken: injToken,
+ QuoteToken: usdtToken,
+ MakerFeeRate: makerFeeRate,
+ TakerFeeRate: takerFeeRate,
+ ServiceProviderFee: serviceProviderFee,
+ MinPriceTickSize: minPriceTickSize,
+ MinQuantityTickSize: minQuantityTickSize,
+ }
+ return market
+}
+
+func createBTCUSDTPerpMarket() DerivativeMarket {
+ usdtToken := createUSDTToken()
+
+ initialMarginRatio := decimal.RequireFromString("0.095")
+ maintenanceMarginRatio := decimal.RequireFromString("0.025")
+ makerFeeRate := decimal.RequireFromString("-0.0001")
+ takerFeeRate := decimal.RequireFromString("0.001")
+ serviceProviderFee := decimal.RequireFromString("0.4")
+ minPriceTickSize := decimal.RequireFromString("1000000")
+ minQuantityTickSize := decimal.RequireFromString("0.0001")
+
+ market := DerivativeMarket{
+ Id: "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce",
+ Status: "active",
+ Ticker: "BTC/USDT PERP",
+ OracleBase: "BTC",
+ OracleQuote: usdtToken.Symbol,
+ OracleType: "bandibc",
+ OracleScaleFactor: 6,
+ InitialMarginRatio: initialMarginRatio,
+ MaintenanceMarginRatio: maintenanceMarginRatio,
+ QuoteToken: usdtToken,
+ MakerFeeRate: makerFeeRate,
+ TakerFeeRate: takerFeeRate,
+ ServiceProviderFee: serviceProviderFee,
+ MinPriceTickSize: minPriceTickSize,
+ MinQuantityTickSize: minQuantityTickSize,
+ }
+ return market
+}
+
+// Spot market tests
+
+func TestConvertQuantityToChainFormatForSpotMarket(t *testing.T) {
+ spotMarket := createINJUSDTSpotMarket()
+ originalQuantity := decimal.RequireFromString("123.456789")
+
+ chainValue := spotMarket.QuantityToChainFormat(originalQuantity)
+ expectedValue := originalQuantity.Mul(decimal.New(1, spotMarket.BaseToken.Decimals))
+ quantizedValue := expectedValue.DivRound(spotMarket.MinQuantityTickSize, 0).Mul(spotMarket.MinQuantityTickSize)
+ quantizedChainFormatValue := types.MustNewDecFromStr(quantizedValue.String())
+
+ assert.Assert(t, quantizedChainFormatValue.Equal(chainValue))
+}
+
+func TestConvertPriceToChainFormatForSpotMarket(t *testing.T) {
+ spotMarket := createINJUSDTSpotMarket()
+ originalPrice := decimal.RequireFromString("123.456789")
+
+ chainValue := spotMarket.PriceToChainFormat(originalPrice)
+ priceDecimals := spotMarket.QuoteToken.Decimals - spotMarket.BaseToken.Decimals
+ expectedValue := originalPrice.Mul(decimal.New(1, priceDecimals))
+ quantizedValue := expectedValue.DivRound(spotMarket.MinPriceTickSize, 0).Mul(spotMarket.MinPriceTickSize)
+ quantizedChainFormatValue := types.MustNewDecFromStr(quantizedValue.String())
+
+ assert.Assert(t, quantizedChainFormatValue.Equal(chainValue))
+}
+
+func TestConvertQuantityFromChainFormatForSpotMarket(t *testing.T) {
+ spotMarket := createINJUSDTSpotMarket()
+ expectedQuantity := decimal.RequireFromString("123.456")
+
+ chainFormatQuantity := expectedQuantity.Mul(decimal.New(1, spotMarket.BaseToken.Decimals))
+ humanReadableQuantity := spotMarket.QuantityFromChainFormat(types.MustNewDecFromStr(chainFormatQuantity.String()))
+
+ assert.Assert(t, expectedQuantity.Equal(humanReadableQuantity))
+}
+
+func TestConvertPriceFromChainFormatForSpotMarket(t *testing.T) {
+ spotMarket := createINJUSDTSpotMarket()
+ expectedPrice := decimal.RequireFromString("123.456")
+
+ priceDecimals := spotMarket.QuoteToken.Decimals - spotMarket.BaseToken.Decimals
+ chainFormatPrice := expectedPrice.Mul(decimal.New(1, priceDecimals))
+ humanReadablePrice := spotMarket.PriceFromChainFormat(types.MustNewDecFromStr(chainFormatPrice.String()))
+
+ assert.Assert(t, expectedPrice.Equal(humanReadablePrice))
+}
+
+//Derivative markets tests
+
+func TestConvertQuantityToChainFormatForDerivativeMarket(t *testing.T) {
+ derivativeMarket := createBTCUSDTPerpMarket()
+ originalQuantity := decimal.RequireFromString("123.456789")
+
+ chainValue := derivativeMarket.QuantityToChainFormat(originalQuantity)
+ quantizedValue := originalQuantity.DivRound(derivativeMarket.MinQuantityTickSize, 0).Mul(derivativeMarket.MinQuantityTickSize)
+ quantizedChainFormatValue := types.MustNewDecFromStr(quantizedValue.String())
+
+ assert.Assert(t, quantizedChainFormatValue.Equal(chainValue))
+}
+
+func TestConvertPriceToChainFormatForDerivativeMarket(t *testing.T) {
+ derivativeMarket := createBTCUSDTPerpMarket()
+ originalPrice := decimal.RequireFromString("123.456789")
+
+ chainValue := derivativeMarket.PriceToChainFormat(originalPrice)
+ priceDecimals := derivativeMarket.QuoteToken.Decimals
+ expectedValue := originalPrice.Mul(decimal.New(1, priceDecimals))
+ quantizedValue := expectedValue.DivRound(derivativeMarket.MinPriceTickSize, 0).Mul(derivativeMarket.MinPriceTickSize)
+ quantizedChainFormatValue := types.MustNewDecFromStr(quantizedValue.String())
+
+ assert.Assert(t, quantizedChainFormatValue.Equal(chainValue))
+}
+
+func TestConvertMarginToChainFormatForDerivativeMarket(t *testing.T) {
+ derivativeMarket := createBTCUSDTPerpMarket()
+ originalPrice := decimal.RequireFromString("123.456789")
+
+ chainValue := derivativeMarket.MarginToChainFormat(originalPrice)
+ marginDecimals := derivativeMarket.QuoteToken.Decimals
+ expectedValue := originalPrice.Mul(decimal.New(1, marginDecimals))
+ quantizedValue := expectedValue.DivRound(derivativeMarket.MinQuantityTickSize, 0).Mul(derivativeMarket.MinQuantityTickSize)
+ quantizedChainFormatValue := types.MustNewDecFromStr(quantizedValue.String())
+
+ assert.Assert(t, quantizedChainFormatValue.Equal(chainValue))
+}
+
+func TestCalculateMarginInChainFormatForDerivativeMarket(t *testing.T) {
+ derivativeMarket := createBTCUSDTPerpMarket()
+ originalQuantity := decimal.RequireFromString("10")
+ originalPrice := decimal.RequireFromString("123.456789")
+ originalLeverage := decimal.RequireFromString("2.5")
+
+ chainValue := derivativeMarket.CalculateMarginInChainFormat(originalQuantity, originalPrice, originalLeverage)
+ decimals := derivativeMarket.QuoteToken.Decimals
+ expectedValue := originalQuantity.Mul(originalPrice).Div(originalLeverage).Mul(decimal.New(1, decimals))
+ quantizedValue := expectedValue.DivRound(derivativeMarket.MinQuantityTickSize, 0).Mul(derivativeMarket.MinQuantityTickSize)
+ legacyDecimalQuantizedValue := types.MustNewDecFromStr(quantizedValue.String())
+
+ assert.Assert(t, chainValue.Equal(legacyDecimalQuantizedValue))
+}
+
+func TestConvertQuantityFromChainFormatForDerivativeMarket(t *testing.T) {
+ derivativeMarket := createBTCUSDTPerpMarket()
+ expectedQuantity := decimal.RequireFromString("123.456")
+
+ chainFormatQuantity := expectedQuantity
+ humanReadableQuantity := derivativeMarket.QuantityFromChainFormat(types.MustNewDecFromStr(chainFormatQuantity.String()))
+
+ assert.Assert(t, expectedQuantity.Equal(humanReadableQuantity))
+}
+
+func TestConvertPriceFromChainFormatForDerivativeMarket(t *testing.T) {
+ derivativeMarket := createBTCUSDTPerpMarket()
+ expectedPrice := decimal.RequireFromString("123.456")
+
+ priceDecimals := derivativeMarket.QuoteToken.Decimals
+ chainFormatPrice := expectedPrice.Mul(decimal.New(1, priceDecimals))
+ humanReadablePrice := derivativeMarket.PriceFromChainFormat(types.MustNewDecFromStr(chainFormatPrice.String()))
+
+ assert.Assert(t, expectedPrice.Equal(humanReadablePrice))
+}
+
+func TestConvertMarginFromChainFormatForDerivativeMarket(t *testing.T) {
+ derivativeMarket := createBTCUSDTPerpMarket()
+ expectedMargin := decimal.RequireFromString("123.456")
+
+ marginDecimals := derivativeMarket.QuoteToken.Decimals
+ chainFormatMargin := expectedMargin.Mul(decimal.New(1, marginDecimals))
+ humanReadablePrice := derivativeMarket.MarginFromChainFormat(types.MustNewDecFromStr(chainFormatMargin.String()))
+
+ assert.Assert(t, expectedMargin.Equal(humanReadablePrice))
+}
diff --git a/client/core/token.go b/client/core/token.go
new file mode 100644
index 00000000..dee68e22
--- /dev/null
+++ b/client/core/token.go
@@ -0,0 +1,18 @@
+package core
+
+import "github.com/shopspring/decimal"
+
+type Token struct {
+ Name string
+ Symbol string
+ Denom string
+ Address string
+ Decimals int32
+ Logo string
+ Updated int64
+}
+
+func (t Token) ChainFormattedValue(humanReadableValue decimal.Decimal) decimal.Decimal {
+ multiplier := decimal.New(1, t.Decimals)
+ return humanReadableValue.Mul(multiplier)
+}
diff --git a/client/core/token_test.go b/client/core/token_test.go
new file mode 100644
index 00000000..ceb72366
--- /dev/null
+++ b/client/core/token_test.go
@@ -0,0 +1,47 @@
+package core
+
+import (
+ "testing"
+
+ "github.com/huandu/go-assert"
+ "github.com/shopspring/decimal"
+)
+
+func createINJToken() Token {
+ token := Token{
+ Name: "Injective Protocol",
+ Symbol: "INJ",
+ Denom: "inj",
+ Address: "0xe28b3B32B6c345A34Ff64674606124Dd5Aceca30",
+ Decimals: 18,
+ Logo: "https://static.alchemyapi.io/images/assets/7226.png",
+ Updated: 1681739137644,
+ }
+
+ return token
+}
+
+func createUSDTToken() Token {
+ token := Token{
+ Name: "USDT",
+ Symbol: "USDT",
+ Denom: "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5",
+ Address: "0x0000000000000000000000000000000000000000",
+ Decimals: 6,
+ Logo: "https://static.alchemyapi.io/images/assets/825.png",
+ Updated: 1681739137645,
+ }
+
+ return token
+}
+
+func TestChainFormattedValue(t *testing.T) {
+ value := decimal.RequireFromString("1.3456")
+ token := createINJToken()
+
+ chainFormattedValue := token.ChainFormattedValue(value)
+ multiplier := decimal.New(1, int32(token.Decimals))
+ expectedValue := value.Mul(multiplier)
+
+ assert.Equal(t, chainFormattedValue, expectedValue)
+}
diff --git a/client/exchange/exchange.go b/client/exchange/exchange.go
index 3a6cb679..17577000 100644
--- a/client/exchange/exchange.go
+++ b/client/exchange/exchange.go
@@ -3,6 +3,10 @@ package exchange
import (
"context"
"fmt"
+ "time"
+
+ "google.golang.org/grpc/credentials/insecure"
+
"github.com/InjectiveLabs/sdk-go/client/common"
accountPB "github.com/InjectiveLabs/sdk-go/exchange/accounts_rpc/pb"
auctionPB "github.com/InjectiveLabs/sdk-go/exchange/auction_rpc/pb"
@@ -22,69 +26,74 @@ import (
type ExchangeClient interface {
QueryClient() *grpc.ClientConn
- GetDerivativeMarket(ctx context.Context, marketId string) (derivativeExchangePB.MarketResponse, error)
- GetDerivativeOrderbook(ctx context.Context, marketId string) (derivativeExchangePB.OrderbookResponse, error)
- GetDerivativeOrderbooks(ctx context.Context, marketIds []string) (derivativeExchangePB.OrderbooksResponse, error)
- GetDerivativeOrderbookV2(ctx context.Context, marketId string) (derivativeExchangePB.OrderbookV2Response, error)
- GetDerivativeOrderbooksV2(ctx context.Context, marketIds []string) (derivativeExchangePB.OrderbooksV2Response, error)
+ GetDerivativeMarket(ctx context.Context, marketId string) (*derivativeExchangePB.MarketResponse, error)
+ GetDerivativeOrderbookV2(ctx context.Context, marketId string) (*derivativeExchangePB.OrderbookV2Response, error)
+ GetDerivativeOrderbooksV2(ctx context.Context, marketIds []string) (*derivativeExchangePB.OrderbooksV2Response, error)
// StreamDerivativeOrderbook deprecated API
- StreamDerivativeOrderbook(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookClient, error)
StreamDerivativeOrderbookV2(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client, error)
StreamDerivativeOrderbookUpdate(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient, error)
StreamDerivativeMarket(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamMarketClient, error)
- GetDerivativeOrders(ctx context.Context, req derivativeExchangePB.OrdersRequest) (derivativeExchangePB.OrdersResponse, error)
- GetDerivativeMarkets(ctx context.Context, req derivativeExchangePB.MarketsRequest) (derivativeExchangePB.MarketsResponse, error)
- GetDerivativePositions(ctx context.Context, req derivativeExchangePB.PositionsRequest) (derivativeExchangePB.PositionsResponse, error)
- StreamDerivativePositions(ctx context.Context, req derivativeExchangePB.StreamPositionsRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamPositionsClient, error)
- StreamDerivativeOrders(ctx context.Context, req derivativeExchangePB.StreamOrdersRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersClient, error)
- GetDerivativeTrades(ctx context.Context, req derivativeExchangePB.TradesRequest) (derivativeExchangePB.TradesResponse, error)
- StreamDerivativeTrades(ctx context.Context, req derivativeExchangePB.StreamTradesRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesClient, error)
- GetSubaccountDerivativeOrdersList(ctx context.Context, req derivativeExchangePB.SubaccountOrdersListRequest) (derivativeExchangePB.SubaccountOrdersListResponse, error)
- GetSubaccountDerivativeTradesList(ctx context.Context, req derivativeExchangePB.SubaccountTradesListRequest) (derivativeExchangePB.SubaccountTradesListResponse, error)
- GetDerivativeFundingPayments(ctx context.Context, req derivativeExchangePB.FundingPaymentsRequest) (derivativeExchangePB.FundingPaymentsResponse, error)
- GetDerivativeFundingRates(ctx context.Context, req derivativeExchangePB.FundingRatesRequest) (derivativeExchangePB.FundingRatesResponse, error)
- GetPrice(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string, oracleScaleFactor uint32) (oraclePB.PriceResponse, error)
- GetOracleList(ctx context.Context) (oraclePB.OracleListResponse, error)
+ GetDerivativeOrders(ctx context.Context, req *derivativeExchangePB.OrdersRequest) (*derivativeExchangePB.OrdersResponse, error)
+ GetDerivativeMarkets(ctx context.Context, req *derivativeExchangePB.MarketsRequest) (*derivativeExchangePB.MarketsResponse, error)
+ GetDerivativePositions(ctx context.Context, req *derivativeExchangePB.PositionsRequest) (*derivativeExchangePB.PositionsResponse, error)
+ GetDerivativePositionsV2(ctx context.Context, req *derivativeExchangePB.PositionsV2Request) (*derivativeExchangePB.PositionsV2Response, error)
+ GetDerivativeLiquidablePositions(ctx context.Context, req *derivativeExchangePB.LiquidablePositionsRequest) (*derivativeExchangePB.LiquidablePositionsResponse, error)
+ StreamDerivativePositions(ctx context.Context, req *derivativeExchangePB.StreamPositionsRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamPositionsClient, error)
+ StreamDerivativeOrders(ctx context.Context, req *derivativeExchangePB.StreamOrdersRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersClient, error)
+ GetDerivativeTrades(ctx context.Context, req *derivativeExchangePB.TradesRequest) (*derivativeExchangePB.TradesResponse, error)
+ GetDerivativeTradesV2(ctx context.Context, req *derivativeExchangePB.TradesV2Request) (*derivativeExchangePB.TradesV2Response, error)
+ StreamDerivativeTrades(ctx context.Context, req *derivativeExchangePB.StreamTradesRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesClient, error)
+ StreamDerivativeV2Trades(ctx context.Context, req *derivativeExchangePB.StreamTradesV2Request) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesV2Client, error)
+ GetSubaccountDerivativeOrdersList(ctx context.Context, req *derivativeExchangePB.SubaccountOrdersListRequest) (*derivativeExchangePB.SubaccountOrdersListResponse, error)
+ GetSubaccountDerivativeTradesList(ctx context.Context, req *derivativeExchangePB.SubaccountTradesListRequest) (*derivativeExchangePB.SubaccountTradesListResponse, error)
+ GetHistoricalDerivativeOrders(ctx context.Context, req *derivativeExchangePB.OrdersHistoryRequest) (*derivativeExchangePB.OrdersHistoryResponse, error)
+ StreamHistoricalDerivativeOrders(ctx context.Context, req *derivativeExchangePB.StreamOrdersHistoryRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersHistoryClient, error)
+ GetDerivativeFundingPayments(ctx context.Context, req *derivativeExchangePB.FundingPaymentsRequest) (*derivativeExchangePB.FundingPaymentsResponse, error)
+ GetDerivativeFundingRates(ctx context.Context, req *derivativeExchangePB.FundingRatesRequest) (*derivativeExchangePB.FundingRatesResponse, error)
+ GetPrice(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string, oracleScaleFactor uint32) (*oraclePB.PriceResponse, error)
+ GetOracleList(ctx context.Context) (*oraclePB.OracleListResponse, error)
StreamPrices(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string) (oraclePB.InjectiveOracleRPC_StreamPricesClient, error)
- GetAuction(ctx context.Context, round int64) (auctionPB.AuctionEndpointResponse, error)
- GetAuctions(ctx context.Context) (auctionPB.AuctionsResponse, error)
+ GetAuction(ctx context.Context, round int64) (*auctionPB.AuctionEndpointResponse, error)
+ GetAuctions(ctx context.Context) (*auctionPB.AuctionsResponse, error)
StreamBids(ctx context.Context) (auctionPB.InjectiveAuctionRPC_StreamBidsClient, error)
- GetSubaccountsList(ctx context.Context, accountAddress string) (accountPB.SubaccountsListResponse, error)
- GetSubaccountBalance(ctx context.Context, subaccountId string, denom string) (accountPB.SubaccountBalanceEndpointResponse, error)
+ GetSubaccountsList(ctx context.Context, accountAddress string) (*accountPB.SubaccountsListResponse, error)
+ GetSubaccountBalance(ctx context.Context, subaccountId string, denom string) (*accountPB.SubaccountBalanceEndpointResponse, error)
StreamSubaccountBalance(ctx context.Context, subaccountId string) (accountPB.InjectiveAccountsRPC_StreamSubaccountBalanceClient, error)
- GetSubaccountBalancesList(ctx context.Context, subaccountId string) (accountPB.SubaccountBalancesListResponse, error)
- GetSubaccountHistory(ctx context.Context, req accountPB.SubaccountHistoryRequest) (accountPB.SubaccountHistoryResponse, error)
- GetSubaccountOrderSummary(ctx context.Context, req accountPB.SubaccountOrderSummaryRequest) (accountPB.SubaccountOrderSummaryResponse, error)
- GetOrderStates(ctx context.Context, req accountPB.OrderStatesRequest) (accountPB.OrderStatesResponse, error)
- GetPortfolio(ctx context.Context, accountAddress string) (accountPB.PortfolioResponse, error)
- GetRewards(ctx context.Context, req accountPB.RewardsRequest) (accountPB.RewardsResponse, error)
- GetSpotOrders(ctx context.Context, req spotExchangePB.OrdersRequest) (spotExchangePB.OrdersResponse, error)
- GetSpotOrderbook(ctx context.Context, marketId string) (spotExchangePB.OrderbookResponse, error)
- GetSpotOrderbooks(ctx context.Context, marketIds []string) (spotExchangePB.OrderbooksResponse, error)
- GetSpotOrderbookV2(ctx context.Context, marketId string) (spotExchangePB.OrderbookV2Response, error)
- GetSpotOrderbooksV2(ctx context.Context, marketIds []string) (spotExchangePB.OrderbooksV2Response, error)
+ GetSubaccountBalancesList(ctx context.Context, subaccountId string) (*accountPB.SubaccountBalancesListResponse, error)
+ GetSubaccountHistory(ctx context.Context, req *accountPB.SubaccountHistoryRequest) (*accountPB.SubaccountHistoryResponse, error)
+ GetSubaccountOrderSummary(ctx context.Context, req *accountPB.SubaccountOrderSummaryRequest) (*accountPB.SubaccountOrderSummaryResponse, error)
+ GetOrderStates(ctx context.Context, req *accountPB.OrderStatesRequest) (*accountPB.OrderStatesResponse, error)
+ GetPortfolio(ctx context.Context, accountAddress string) (*accountPB.PortfolioResponse, error)
+ GetRewards(ctx context.Context, req *accountPB.RewardsRequest) (*accountPB.RewardsResponse, error)
+ GetSpotOrders(ctx context.Context, req *spotExchangePB.OrdersRequest) (*spotExchangePB.OrdersResponse, error)
+ GetSpotOrderbookV2(ctx context.Context, marketId string) (*spotExchangePB.OrderbookV2Response, error)
+ GetSpotOrderbooksV2(ctx context.Context, marketIds []string) (*spotExchangePB.OrderbooksV2Response, error)
// StreamSpotOrderbook deprecated API
- StreamSpotOrderbook(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookClient, error)
StreamSpotOrderbookV2(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookV2Client, error)
StreamSpotOrderbookUpdate(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient, error)
- GetSpotMarkets(ctx context.Context, req spotExchangePB.MarketsRequest) (spotExchangePB.MarketsResponse, error)
- GetSpotMarket(ctx context.Context, marketId string) (spotExchangePB.MarketResponse, error)
+ GetSpotMarkets(ctx context.Context, req *spotExchangePB.MarketsRequest) (*spotExchangePB.MarketsResponse, error)
+ GetSpotMarket(ctx context.Context, marketId string) (*spotExchangePB.MarketResponse, error)
StreamSpotMarket(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamMarketsClient, error)
- StreamSpotOrders(ctx context.Context, req spotExchangePB.StreamOrdersRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersClient, error)
- GetSpotTrades(ctx context.Context, req spotExchangePB.TradesRequest) (spotExchangePB.TradesResponse, error)
- StreamSpotTrades(ctx context.Context, req spotExchangePB.StreamTradesRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesClient, error)
- GetSubaccountSpotOrdersList(ctx context.Context, req spotExchangePB.SubaccountOrdersListRequest) (spotExchangePB.SubaccountOrdersListResponse, error)
- GetSubaccountSpotTradesList(ctx context.Context, req spotExchangePB.SubaccountTradesListRequest) (spotExchangePB.SubaccountTradesListResponse, error)
- GetInsuranceFunds(ctx context.Context, req insurancePB.FundsRequest) (insurancePB.FundsResponse, error)
- GetRedemptions(ctx context.Context, req insurancePB.RedemptionsRequest) (insurancePB.RedemptionsResponse, error)
-
- GetAccountPortfolio(ctx context.Context, accountAddress string) (portfolioExchangePB.AccountPortfolioResponse, error)
+ StreamSpotOrders(ctx context.Context, req *spotExchangePB.StreamOrdersRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersClient, error)
+ GetSpotTrades(ctx context.Context, req *spotExchangePB.TradesRequest) (*spotExchangePB.TradesResponse, error)
+ GetSpotTradesV2(ctx context.Context, req *spotExchangePB.TradesV2Request) (*spotExchangePB.TradesV2Response, error)
+ StreamSpotTrades(ctx context.Context, req *spotExchangePB.StreamTradesRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesClient, error)
+ StreamSpotTradesV2(ctx context.Context, req *spotExchangePB.StreamTradesV2Request) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesV2Client, error)
+ GetSubaccountSpotOrdersList(ctx context.Context, req *spotExchangePB.SubaccountOrdersListRequest) (*spotExchangePB.SubaccountOrdersListResponse, error)
+ GetSubaccountSpotTradesList(ctx context.Context, req *spotExchangePB.SubaccountTradesListRequest) (*spotExchangePB.SubaccountTradesListResponse, error)
+ GetHistoricalSpotOrders(ctx context.Context, req *spotExchangePB.OrdersHistoryRequest) (*spotExchangePB.OrdersHistoryResponse, error)
+ StreamHistoricalSpotOrders(ctx context.Context, req *spotExchangePB.StreamOrdersHistoryRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersHistoryClient, error)
+ GetInsuranceFunds(ctx context.Context, req *insurancePB.FundsRequest) (*insurancePB.FundsResponse, error)
+ GetRedemptions(ctx context.Context, req *insurancePB.RedemptionsRequest) (*insurancePB.RedemptionsResponse, error)
+
+ GetAccountPortfolio(ctx context.Context, accountAddress string) (*portfolioExchangePB.AccountPortfolioResponse, error)
+ GetAccountPortfolioBalances(ctx context.Context, accountAddress string) (*portfolioExchangePB.AccountPortfolioBalancesResponse, error)
StreamAccountPortfolio(ctx context.Context, accountAddress string, subaccountId, balanceType string) (portfolioExchangePB.InjectivePortfolioRPC_StreamAccountPortfolioClient, error)
StreamKeepalive(ctx context.Context) (metaPB.InjectiveMetaRPC_StreamKeepaliveClient, error)
- GetInfo(ctx context.Context, req metaPB.InfoRequest) (metaPB.InfoResponse, error)
- GetVersion(ctx context.Context, req metaPB.VersionRequest) (metaPB.VersionResponse, error)
- Ping(ctx context.Context, req metaPB.PingRequest) (metaPB.PingResponse, error)
+ GetInfo(ctx context.Context, req *metaPB.InfoRequest) (*metaPB.InfoResponse, error)
+ GetVersion(ctx context.Context, req *metaPB.VersionRequest) (*metaPB.VersionResponse, error)
+ Ping(ctx context.Context, req *metaPB.PingRequest) (*metaPB.PingResponse, error)
Close()
}
@@ -108,7 +117,7 @@ func NewExchangeClient(network common.Network, options ...common.ClientOption) (
conn, err = grpc.Dial(network.ExchangeGrpcEndpoint, grpc.WithTransportCredentials(opts.TLSCert), grpc.WithContextDialer(common.DialerFunc))
} else {
- conn, err = grpc.Dial(network.ExchangeGrpcEndpoint, grpc.WithInsecure(), grpc.WithContextDialer(common.DialerFunc))
+ conn, err = grpc.Dial(network.ExchangeGrpcEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(common.DialerFunc))
}
if err != nil {
err := errors.Wrapf(err, "failed to connect to the gRPC: %s", network.ExchangeGrpcEndpoint)
@@ -145,9 +154,6 @@ type exchangeClient struct {
network common.Network
conn *grpc.ClientConn
logger log.Logger
- client *grpc.ClientConn
-
- sessionCookie string
metaClient metaPB.InjectiveMetaRPCClient
explorerClient explorerPB.InjectiveExplorerRPCClient
@@ -158,14 +164,15 @@ type exchangeClient struct {
spotExchangeClient spotExchangePB.InjectiveSpotExchangeRPCClient
derivativeExchangeClient derivativeExchangePB.InjectiveDerivativeExchangeRPCClient
portfolioExchangeClient portfolioExchangePB.InjectivePortfolioRPCClient
-
- closed int64
}
func (c *exchangeClient) requestCookie() metadata.MD {
var header metadata.MD
- req := metaPB.InfoRequest{}
- c.metaClient.Info(context.Background(), &req, grpc.Header(&header))
+ req := metaPB.InfoRequest{Timestamp: time.Now().UnixMilli()}
+ _, err := c.metaClient.Info(context.Background(), &req, grpc.Header(&header))
+ if err != nil {
+ panic(err)
+ }
return header
}
@@ -181,59 +188,52 @@ func (c *exchangeClient) QueryClient() *grpc.ClientConn {
// Derivatives RPC
-func (c *exchangeClient) GetDerivativeOrders(ctx context.Context, req derivativeExchangePB.OrdersRequest) (derivativeExchangePB.OrdersResponse, error) {
+func (c *exchangeClient) GetDerivativeOrders(ctx context.Context, req *derivativeExchangePB.OrdersRequest) (*derivativeExchangePB.OrdersResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.Orders(ctx, &req)
+ res, err := c.derivativeExchangeClient.Orders(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.OrdersResponse{}, err
+ return &derivativeExchangePB.OrdersResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetDerivativePositions(ctx context.Context, req derivativeExchangePB.PositionsRequest) (derivativeExchangePB.PositionsResponse, error) {
+// Deprecated: Use GetDerivativePositionsV2 instead.
+func (c *exchangeClient) GetDerivativePositions(ctx context.Context, req *derivativeExchangePB.PositionsRequest) (*derivativeExchangePB.PositionsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.Positions(ctx, &req)
+ res, err := c.derivativeExchangeClient.Positions(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.PositionsResponse{}, err
+ return &derivativeExchangePB.PositionsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetDerivativeOrderbook(ctx context.Context, marketId string) (derivativeExchangePB.OrderbookResponse, error) {
- req := derivativeExchangePB.OrderbookRequest{
- MarketId: marketId,
- }
-
+func (c *exchangeClient) GetDerivativePositionsV2(ctx context.Context, req *derivativeExchangePB.PositionsV2Request) (*derivativeExchangePB.PositionsV2Response, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.Orderbook(ctx, &req)
+ res, err := c.derivativeExchangeClient.PositionsV2(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.OrderbookResponse{}, err
+ return &derivativeExchangePB.PositionsV2Response{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetDerivativeOrderbooks(ctx context.Context, marketIds []string) (derivativeExchangePB.OrderbooksResponse, error) {
- req := derivativeExchangePB.OrderbooksRequest{
- MarketIds: marketIds,
- }
-
+func (c *exchangeClient) GetDerivativeLiquidablePositions(ctx context.Context, req *derivativeExchangePB.LiquidablePositionsRequest) (*derivativeExchangePB.LiquidablePositionsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.Orderbooks(ctx, &req)
+ res, err := c.derivativeExchangeClient.LiquidablePositions(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.OrderbooksResponse{}, err
+ return &derivativeExchangePB.LiquidablePositionsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetDerivativeOrderbookV2(ctx context.Context, marketId string) (derivativeExchangePB.OrderbookV2Response, error) {
+func (c *exchangeClient) GetDerivativeOrderbookV2(ctx context.Context, marketId string) (*derivativeExchangePB.OrderbookV2Response, error) {
req := derivativeExchangePB.OrderbookV2Request{
MarketId: marketId,
}
@@ -242,13 +242,13 @@ func (c *exchangeClient) GetDerivativeOrderbookV2(ctx context.Context, marketId
res, err := c.derivativeExchangeClient.OrderbookV2(ctx, &req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.OrderbookV2Response{}, err
+ return &derivativeExchangePB.OrderbookV2Response{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetDerivativeOrderbooksV2(ctx context.Context, marketIds []string) (derivativeExchangePB.OrderbooksV2Response, error) {
+func (c *exchangeClient) GetDerivativeOrderbooksV2(ctx context.Context, marketIds []string) (*derivativeExchangePB.OrderbooksV2Response, error) {
req := derivativeExchangePB.OrderbooksV2Request{
MarketIds: marketIds,
}
@@ -257,25 +257,10 @@ func (c *exchangeClient) GetDerivativeOrderbooksV2(ctx context.Context, marketId
res, err := c.derivativeExchangeClient.OrderbooksV2(ctx, &req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.OrderbooksV2Response{}, err
- }
-
- return *res, nil
-}
-
-func (c *exchangeClient) StreamDerivativeOrderbook(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookClient, error) {
- req := derivativeExchangePB.StreamOrderbookRequest{
- MarketIds: marketIds,
- }
-
- ctx = c.getCookie(ctx)
- stream, err := c.derivativeExchangeClient.StreamOrderbook(ctx, &req)
- if err != nil {
- fmt.Println(err)
- return nil, err
+ return &derivativeExchangePB.OrderbooksV2Response{}, err
}
- return stream, nil
+ return res, nil
}
func (c *exchangeClient) StreamDerivativeOrderbookV2(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client, error) {
@@ -308,18 +293,18 @@ func (c *exchangeClient) StreamDerivativeOrderbookUpdate(ctx context.Context, ma
return stream, nil
}
-func (c *exchangeClient) GetDerivativeMarkets(ctx context.Context, req derivativeExchangePB.MarketsRequest) (derivativeExchangePB.MarketsResponse, error) {
+func (c *exchangeClient) GetDerivativeMarkets(ctx context.Context, req *derivativeExchangePB.MarketsRequest) (*derivativeExchangePB.MarketsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.Markets(ctx, &req)
+ res, err := c.derivativeExchangeClient.Markets(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.MarketsResponse{}, err
+ return &derivativeExchangePB.MarketsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetDerivativeMarket(ctx context.Context, marketId string) (derivativeExchangePB.MarketResponse, error) {
+func (c *exchangeClient) GetDerivativeMarket(ctx context.Context, marketId string) (*derivativeExchangePB.MarketResponse, error) {
req := derivativeExchangePB.MarketRequest{
MarketId: marketId,
}
@@ -328,10 +313,10 @@ func (c *exchangeClient) GetDerivativeMarket(ctx context.Context, marketId strin
res, err := c.derivativeExchangeClient.Market(ctx, &req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.MarketResponse{}, err
+ return &derivativeExchangePB.MarketResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *exchangeClient) StreamDerivativeMarket(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamMarketClient, error) {
@@ -349,9 +334,9 @@ func (c *exchangeClient) StreamDerivativeMarket(ctx context.Context, marketIds [
return stream, nil
}
-func (c *exchangeClient) StreamDerivativePositions(ctx context.Context, req derivativeExchangePB.StreamPositionsRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamPositionsClient, error) {
+func (c *exchangeClient) StreamDerivativePositions(ctx context.Context, req *derivativeExchangePB.StreamPositionsRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamPositionsClient, error) {
ctx = c.getCookie(ctx)
- stream, err := c.derivativeExchangeClient.StreamPositions(ctx, &req)
+ stream, err := c.derivativeExchangeClient.StreamPositions(ctx, req)
if err != nil {
fmt.Println(err)
return nil, err
@@ -360,9 +345,9 @@ func (c *exchangeClient) StreamDerivativePositions(ctx context.Context, req deri
return stream, nil
}
-func (c *exchangeClient) StreamDerivativeOrders(ctx context.Context, req derivativeExchangePB.StreamOrdersRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersClient, error) {
+func (c *exchangeClient) StreamDerivativeOrders(ctx context.Context, req *derivativeExchangePB.StreamOrdersRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersClient, error) {
ctx = c.getCookie(ctx)
- stream, err := c.derivativeExchangeClient.StreamOrders(ctx, &req)
+ stream, err := c.derivativeExchangeClient.StreamOrders(ctx, req)
if err != nil {
fmt.Println(err)
return nil, err
@@ -371,20 +356,31 @@ func (c *exchangeClient) StreamDerivativeOrders(ctx context.Context, req derivat
return stream, nil
}
-func (c *exchangeClient) GetDerivativeTrades(ctx context.Context, req derivativeExchangePB.TradesRequest) (derivativeExchangePB.TradesResponse, error) {
+func (c *exchangeClient) GetDerivativeTrades(ctx context.Context, req *derivativeExchangePB.TradesRequest) (*derivativeExchangePB.TradesResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.Trades(ctx, &req)
+ res, err := c.derivativeExchangeClient.Trades(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.TradesResponse{}, err
+ return &derivativeExchangePB.TradesResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) StreamDerivativeTrades(ctx context.Context, req derivativeExchangePB.StreamTradesRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesClient, error) {
+func (c *exchangeClient) GetDerivativeTradesV2(ctx context.Context, req *derivativeExchangePB.TradesV2Request) (*derivativeExchangePB.TradesV2Response, error) {
ctx = c.getCookie(ctx)
- stream, err := c.derivativeExchangeClient.StreamTrades(ctx, &req)
+ res, err := c.derivativeExchangeClient.TradesV2(ctx, req)
+ if err != nil {
+ fmt.Println(err)
+ return &derivativeExchangePB.TradesV2Response{}, err
+ }
+
+ return res, nil
+}
+
+func (c *exchangeClient) StreamDerivativeTrades(ctx context.Context, req *derivativeExchangePB.StreamTradesRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesClient, error) {
+ ctx = c.getCookie(ctx)
+ stream, err := c.derivativeExchangeClient.StreamTrades(ctx, req)
if err != nil {
fmt.Println(err)
return nil, err
@@ -393,53 +389,85 @@ func (c *exchangeClient) StreamDerivativeTrades(ctx context.Context, req derivat
return stream, nil
}
-func (c *exchangeClient) GetSubaccountDerivativeOrdersList(ctx context.Context, req derivativeExchangePB.SubaccountOrdersListRequest) (derivativeExchangePB.SubaccountOrdersListResponse, error) {
+func (c *exchangeClient) StreamDerivativeV2Trades(ctx context.Context, req *derivativeExchangePB.StreamTradesV2Request) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesV2Client, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.SubaccountOrdersList(ctx, &req)
+ stream, err := c.derivativeExchangeClient.StreamTradesV2(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.SubaccountOrdersListResponse{}, err
+ return nil, err
}
- return *res, nil
+ return stream, nil
+}
+
+func (c *exchangeClient) GetSubaccountDerivativeOrdersList(ctx context.Context, req *derivativeExchangePB.SubaccountOrdersListRequest) (*derivativeExchangePB.SubaccountOrdersListResponse, error) {
+ ctx = c.getCookie(ctx)
+ res, err := c.derivativeExchangeClient.SubaccountOrdersList(ctx, req)
+ if err != nil {
+ fmt.Println(err)
+ return &derivativeExchangePB.SubaccountOrdersListResponse{}, err
+ }
+
+ return res, nil
}
-func (c *exchangeClient) GetSubaccountDerivativeTradesList(ctx context.Context, req derivativeExchangePB.SubaccountTradesListRequest) (derivativeExchangePB.SubaccountTradesListResponse, error) {
+func (c *exchangeClient) GetSubaccountDerivativeTradesList(ctx context.Context, req *derivativeExchangePB.SubaccountTradesListRequest) (*derivativeExchangePB.SubaccountTradesListResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.SubaccountTradesList(ctx, &req)
+ res, err := c.derivativeExchangeClient.SubaccountTradesList(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.SubaccountTradesListResponse{}, err
+ return &derivativeExchangePB.SubaccountTradesListResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetDerivativeFundingPayments(ctx context.Context, req derivativeExchangePB.FundingPaymentsRequest) (derivativeExchangePB.FundingPaymentsResponse, error) {
+func (c *exchangeClient) GetHistoricalDerivativeOrders(ctx context.Context, req *derivativeExchangePB.OrdersHistoryRequest) (*derivativeExchangePB.OrdersHistoryResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.FundingPayments(ctx, &req)
+ res, err := c.derivativeExchangeClient.OrdersHistory(ctx, req)
+ if err != nil {
+ return &derivativeExchangePB.OrdersHistoryResponse{}, err
+ }
+
+ return res, nil
+}
+
+func (c *exchangeClient) StreamHistoricalDerivativeOrders(ctx context.Context, req *derivativeExchangePB.StreamOrdersHistoryRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersHistoryClient, error) {
+ ctx = c.getCookie(ctx)
+ stream, err := c.derivativeExchangeClient.StreamOrdersHistory(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.FundingPaymentsResponse{}, err
+ return nil, err
}
- return *res, nil
+ return stream, nil
}
-func (c *exchangeClient) GetDerivativeFundingRates(ctx context.Context, req derivativeExchangePB.FundingRatesRequest) (derivativeExchangePB.FundingRatesResponse, error) {
+func (c *exchangeClient) GetDerivativeFundingPayments(ctx context.Context, req *derivativeExchangePB.FundingPaymentsRequest) (*derivativeExchangePB.FundingPaymentsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.derivativeExchangeClient.FundingRates(ctx, &req)
+ res, err := c.derivativeExchangeClient.FundingPayments(ctx, req)
if err != nil {
fmt.Println(err)
- return derivativeExchangePB.FundingRatesResponse{}, err
+ return &derivativeExchangePB.FundingPaymentsResponse{}, err
}
- return *res, nil
+ return res, nil
+}
+
+func (c *exchangeClient) GetDerivativeFundingRates(ctx context.Context, req *derivativeExchangePB.FundingRatesRequest) (*derivativeExchangePB.FundingRatesResponse, error) {
+ ctx = c.getCookie(ctx)
+ res, err := c.derivativeExchangeClient.FundingRates(ctx, req)
+ if err != nil {
+ fmt.Println(err)
+ return &derivativeExchangePB.FundingRatesResponse{}, err
+ }
+
+ return res, nil
}
// Oracle RPC
-func (c *exchangeClient) GetPrice(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string, oracleScaleFactor uint32) (oraclePB.PriceResponse, error) {
+func (c *exchangeClient) GetPrice(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string, oracleScaleFactor uint32) (*oraclePB.PriceResponse, error) {
req := oraclePB.PriceRequest{
BaseSymbol: baseSymbol,
QuoteSymbol: quoteSymbol,
@@ -451,23 +479,23 @@ func (c *exchangeClient) GetPrice(ctx context.Context, baseSymbol string, quoteS
res, err := c.oracleClient.Price(ctx, &req)
if err != nil {
fmt.Println(err)
- return oraclePB.PriceResponse{}, err
+ return &oraclePB.PriceResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetOracleList(ctx context.Context) (oraclePB.OracleListResponse, error) {
+func (c *exchangeClient) GetOracleList(ctx context.Context) (*oraclePB.OracleListResponse, error) {
req := oraclePB.OracleListRequest{}
ctx = c.getCookie(ctx)
res, err := c.oracleClient.OracleList(ctx, &req)
if err != nil {
fmt.Println(err)
- return oraclePB.OracleListResponse{}, err
+ return &oraclePB.OracleListResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *exchangeClient) StreamPrices(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string) (oraclePB.InjectiveOracleRPC_StreamPricesClient, error) {
@@ -489,7 +517,7 @@ func (c *exchangeClient) StreamPrices(ctx context.Context, baseSymbol string, qu
// Auction RPC
-func (c *exchangeClient) GetAuction(ctx context.Context, round int64) (auctionPB.AuctionEndpointResponse, error) {
+func (c *exchangeClient) GetAuction(ctx context.Context, round int64) (*auctionPB.AuctionEndpointResponse, error) {
req := auctionPB.AuctionEndpointRequest{
Round: round,
}
@@ -498,23 +526,23 @@ func (c *exchangeClient) GetAuction(ctx context.Context, round int64) (auctionPB
res, err := c.auctionClient.AuctionEndpoint(ctx, &req)
if err != nil {
fmt.Println(err)
- return auctionPB.AuctionEndpointResponse{}, err
+ return &auctionPB.AuctionEndpointResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetAuctions(ctx context.Context) (auctionPB.AuctionsResponse, error) {
+func (c *exchangeClient) GetAuctions(ctx context.Context) (*auctionPB.AuctionsResponse, error) {
req := auctionPB.AuctionsRequest{}
ctx = c.getCookie(ctx)
res, err := c.auctionClient.Auctions(ctx, &req)
if err != nil {
fmt.Println(err)
- return auctionPB.AuctionsResponse{}, err
+ return &auctionPB.AuctionsResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *exchangeClient) StreamBids(ctx context.Context) (auctionPB.InjectiveAuctionRPC_StreamBidsClient, error) {
@@ -532,7 +560,7 @@ func (c *exchangeClient) StreamBids(ctx context.Context) (auctionPB.InjectiveAuc
// Accounts RPC
-func (c *exchangeClient) GetSubaccountsList(ctx context.Context, accountAddress string) (accountPB.SubaccountsListResponse, error) {
+func (c *exchangeClient) GetSubaccountsList(ctx context.Context, accountAddress string) (*accountPB.SubaccountsListResponse, error) {
req := accountPB.SubaccountsListRequest{
AccountAddress: accountAddress,
}
@@ -541,13 +569,13 @@ func (c *exchangeClient) GetSubaccountsList(ctx context.Context, accountAddress
res, err := c.accountClient.SubaccountsList(ctx, &req)
if err != nil {
fmt.Println(err)
- return accountPB.SubaccountsListResponse{}, err
+ return &accountPB.SubaccountsListResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetSubaccountBalance(ctx context.Context, subaccountId string, denom string) (accountPB.SubaccountBalanceEndpointResponse, error) {
+func (c *exchangeClient) GetSubaccountBalance(ctx context.Context, subaccountId string, denom string) (*accountPB.SubaccountBalanceEndpointResponse, error) {
req := accountPB.SubaccountBalanceEndpointRequest{
SubaccountId: subaccountId,
Denom: denom,
@@ -557,10 +585,10 @@ func (c *exchangeClient) GetSubaccountBalance(ctx context.Context, subaccountId
res, err := c.accountClient.SubaccountBalanceEndpoint(ctx, &req)
if err != nil {
fmt.Println(err)
- return accountPB.SubaccountBalanceEndpointResponse{}, err
+ return &accountPB.SubaccountBalanceEndpointResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *exchangeClient) StreamSubaccountBalance(ctx context.Context, subaccountId string) (accountPB.InjectiveAccountsRPC_StreamSubaccountBalanceClient, error) {
@@ -578,7 +606,7 @@ func (c *exchangeClient) StreamSubaccountBalance(ctx context.Context, subaccount
return stream, nil
}
-func (c *exchangeClient) GetSubaccountBalancesList(ctx context.Context, subaccountId string) (accountPB.SubaccountBalancesListResponse, error) {
+func (c *exchangeClient) GetSubaccountBalancesList(ctx context.Context, subaccountId string) (*accountPB.SubaccountBalancesListResponse, error) {
req := accountPB.SubaccountBalancesListRequest{
SubaccountId: subaccountId,
}
@@ -587,46 +615,46 @@ func (c *exchangeClient) GetSubaccountBalancesList(ctx context.Context, subaccou
res, err := c.accountClient.SubaccountBalancesList(ctx, &req)
if err != nil {
fmt.Println(err)
- return accountPB.SubaccountBalancesListResponse{}, err
+ return &accountPB.SubaccountBalancesListResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetSubaccountHistory(ctx context.Context, req accountPB.SubaccountHistoryRequest) (accountPB.SubaccountHistoryResponse, error) {
+func (c *exchangeClient) GetSubaccountHistory(ctx context.Context, req *accountPB.SubaccountHistoryRequest) (*accountPB.SubaccountHistoryResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.accountClient.SubaccountHistory(ctx, &req)
+ res, err := c.accountClient.SubaccountHistory(ctx, req)
if err != nil {
fmt.Println(err)
- return accountPB.SubaccountHistoryResponse{}, err
+ return &accountPB.SubaccountHistoryResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetSubaccountOrderSummary(ctx context.Context, req accountPB.SubaccountOrderSummaryRequest) (accountPB.SubaccountOrderSummaryResponse, error) {
+func (c *exchangeClient) GetSubaccountOrderSummary(ctx context.Context, req *accountPB.SubaccountOrderSummaryRequest) (*accountPB.SubaccountOrderSummaryResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.accountClient.SubaccountOrderSummary(ctx, &req)
+ res, err := c.accountClient.SubaccountOrderSummary(ctx, req)
if err != nil {
fmt.Println(err)
- return accountPB.SubaccountOrderSummaryResponse{}, err
+ return &accountPB.SubaccountOrderSummaryResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetOrderStates(ctx context.Context, req accountPB.OrderStatesRequest) (accountPB.OrderStatesResponse, error) {
+func (c *exchangeClient) GetOrderStates(ctx context.Context, req *accountPB.OrderStatesRequest) (*accountPB.OrderStatesResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.accountClient.OrderStates(ctx, &req)
+ res, err := c.accountClient.OrderStates(ctx, req)
if err != nil {
fmt.Println(err)
- return accountPB.OrderStatesResponse{}, err
+ return &accountPB.OrderStatesResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetPortfolio(ctx context.Context, accountAddress string) (accountPB.PortfolioResponse, error) {
+func (c *exchangeClient) GetPortfolio(ctx context.Context, accountAddress string) (*accountPB.PortfolioResponse, error) {
req := accountPB.PortfolioRequest{
AccountAddress: accountAddress,
}
@@ -635,133 +663,129 @@ func (c *exchangeClient) GetPortfolio(ctx context.Context, accountAddress string
res, err := c.accountClient.Portfolio(ctx, &req)
if err != nil {
fmt.Println(err)
- return accountPB.PortfolioResponse{}, err
+ return &accountPB.PortfolioResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetRewards(ctx context.Context, req accountPB.RewardsRequest) (accountPB.RewardsResponse, error) {
+func (c *exchangeClient) GetRewards(ctx context.Context, req *accountPB.RewardsRequest) (*accountPB.RewardsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.accountClient.Rewards(ctx, &req)
+ res, err := c.accountClient.Rewards(ctx, req)
if err != nil {
fmt.Println(err)
- return accountPB.RewardsResponse{}, err
+ return &accountPB.RewardsResponse{}, err
}
- return *res, nil
+ return res, nil
}
// Spot RPC
-func (c *exchangeClient) GetSpotOrders(ctx context.Context, req spotExchangePB.OrdersRequest) (spotExchangePB.OrdersResponse, error) {
+func (c *exchangeClient) GetSpotOrders(ctx context.Context, req *spotExchangePB.OrdersRequest) (*spotExchangePB.OrdersResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.Orders(ctx, &req)
+ res, err := c.spotExchangeClient.Orders(ctx, req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.OrdersResponse{}, err
+ return &spotExchangePB.OrdersResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetSpotOrderbook(ctx context.Context, marketId string) (spotExchangePB.OrderbookResponse, error) {
- req := spotExchangePB.OrderbookRequest{
+func (c *exchangeClient) GetSpotOrderbookV2(ctx context.Context, marketId string) (*spotExchangePB.OrderbookV2Response, error) {
+ req := spotExchangePB.OrderbookV2Request{
MarketId: marketId,
}
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.Orderbook(ctx, &req)
+ res, err := c.spotExchangeClient.OrderbookV2(ctx, &req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.OrderbookResponse{}, err
+ return &spotExchangePB.OrderbookV2Response{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetSpotOrderbookV2(ctx context.Context, marketId string) (spotExchangePB.OrderbookV2Response, error) {
- req := spotExchangePB.OrderbookV2Request{
- MarketId: marketId,
+func (c *exchangeClient) GetSpotOrderbooksV2(ctx context.Context, marketIds []string) (*spotExchangePB.OrderbooksV2Response, error) {
+ req := spotExchangePB.OrderbooksV2Request{
+ MarketIds: marketIds,
}
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.OrderbookV2(ctx, &req)
+ res, err := c.spotExchangeClient.OrderbooksV2(ctx, &req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.OrderbookV2Response{}, err
+ return &spotExchangePB.OrderbooksV2Response{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetSpotOrderbooks(ctx context.Context, marketIds []string) (spotExchangePB.OrderbooksResponse, error) {
- req := spotExchangePB.OrderbooksRequest{
+func (c *exchangeClient) StreamSpotOrderbookUpdate(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient, error) {
+ req := spotExchangePB.StreamOrderbookUpdateRequest{
MarketIds: marketIds,
}
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.Orderbooks(ctx, &req)
+ stream, err := c.spotExchangeClient.StreamOrderbookUpdate(ctx, &req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.OrderbooksResponse{}, err
+ return nil, err
}
- return *res, nil
+ return stream, nil
}
-func (c *exchangeClient) GetSpotOrderbooksV2(ctx context.Context, marketIds []string) (spotExchangePB.OrderbooksV2Response, error) {
- req := spotExchangePB.OrderbooksV2Request{
+func (c *exchangeClient) StreamSpotOrderbookV2(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookV2Client, error) {
+ req := spotExchangePB.StreamOrderbookV2Request{
MarketIds: marketIds,
}
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.OrderbooksV2(ctx, &req)
+ stream, err := c.spotExchangeClient.StreamOrderbookV2(ctx, &req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.OrderbooksV2Response{}, err
+ return nil, err
}
- return *res, nil
+ return stream, nil
}
-func (c *exchangeClient) StreamSpotOrderbookUpdate(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient, error) {
- req := spotExchangePB.StreamOrderbookUpdateRequest{
- MarketIds: marketIds,
- }
-
+func (c *exchangeClient) GetSpotMarkets(ctx context.Context, req *spotExchangePB.MarketsRequest) (*spotExchangePB.MarketsResponse, error) {
ctx = c.getCookie(ctx)
- stream, err := c.spotExchangeClient.StreamOrderbookUpdate(ctx, &req)
+ res, err := c.spotExchangeClient.Markets(ctx, req)
if err != nil {
fmt.Println(err)
- return nil, err
+ return &spotExchangePB.MarketsResponse{}, err
}
- return stream, nil
+ return res, nil
}
-func (c *exchangeClient) StreamSpotOrderbook(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookClient, error) {
- req := spotExchangePB.StreamOrderbookRequest{
- MarketIds: marketIds,
+func (c *exchangeClient) GetSpotMarket(ctx context.Context, marketId string) (*spotExchangePB.MarketResponse, error) {
+ req := spotExchangePB.MarketRequest{
+ MarketId: marketId,
}
ctx = c.getCookie(ctx)
- stream, err := c.spotExchangeClient.StreamOrderbook(ctx, &req)
+ res, err := c.spotExchangeClient.Market(ctx, &req)
if err != nil {
fmt.Println(err)
- return nil, err
+ return &spotExchangePB.MarketResponse{}, err
}
- return stream, nil
+ return res, nil
}
-func (c *exchangeClient) StreamSpotOrderbookV2(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookV2Client, error) {
- req := spotExchangePB.StreamOrderbookV2Request{
+func (c *exchangeClient) StreamSpotMarket(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamMarketsClient, error) {
+ req := spotExchangePB.StreamMarketsRequest{
MarketIds: marketIds,
}
ctx = c.getCookie(ctx)
- stream, err := c.spotExchangeClient.StreamOrderbookV2(ctx, &req)
+ stream, err := c.spotExchangeClient.StreamMarkets(ctx, &req)
if err != nil {
fmt.Println(err)
return nil, err
@@ -770,39 +794,42 @@ func (c *exchangeClient) StreamSpotOrderbookV2(ctx context.Context, marketIds []
return stream, nil
}
-func (c *exchangeClient) GetSpotMarkets(ctx context.Context, req spotExchangePB.MarketsRequest) (spotExchangePB.MarketsResponse, error) {
+func (c *exchangeClient) StreamSpotOrders(ctx context.Context, req *spotExchangePB.StreamOrdersRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersClient, error) {
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.Markets(ctx, &req)
+ stream, err := c.spotExchangeClient.StreamOrders(ctx, req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.MarketsResponse{}, err
+ return nil, err
}
- return *res, nil
+ return stream, nil
}
-func (c *exchangeClient) GetSpotMarket(ctx context.Context, marketId string) (spotExchangePB.MarketResponse, error) {
- req := spotExchangePB.MarketRequest{
- MarketId: marketId,
- }
-
+func (c *exchangeClient) GetSpotTrades(ctx context.Context, req *spotExchangePB.TradesRequest) (*spotExchangePB.TradesResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.Market(ctx, &req)
+ res, err := c.spotExchangeClient.Trades(ctx, req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.MarketResponse{}, err
+ return &spotExchangePB.TradesResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) StreamSpotMarket(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamMarketsClient, error) {
- req := spotExchangePB.StreamMarketsRequest{
- MarketIds: marketIds,
+func (c *exchangeClient) GetSpotTradesV2(ctx context.Context, req *spotExchangePB.TradesV2Request) (*spotExchangePB.TradesV2Response, error) {
+ ctx = c.getCookie(ctx)
+ res, err := c.spotExchangeClient.TradesV2(ctx, req)
+ if err != nil {
+ fmt.Println(err)
+ return &spotExchangePB.TradesV2Response{}, err
}
+ return res, nil
+}
+
+func (c *exchangeClient) StreamSpotTrades(ctx context.Context, req *spotExchangePB.StreamTradesRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesClient, error) {
ctx = c.getCookie(ctx)
- stream, err := c.spotExchangeClient.StreamMarkets(ctx, &req)
+ stream, err := c.spotExchangeClient.StreamTrades(ctx, req)
if err != nil {
fmt.Println(err)
return nil, err
@@ -811,9 +838,9 @@ func (c *exchangeClient) StreamSpotMarket(ctx context.Context, marketIds []strin
return stream, nil
}
-func (c *exchangeClient) StreamSpotOrders(ctx context.Context, req spotExchangePB.StreamOrdersRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersClient, error) {
+func (c *exchangeClient) StreamSpotTradesV2(ctx context.Context, req *spotExchangePB.StreamTradesV2Request) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesV2Client, error) {
ctx = c.getCookie(ctx)
- stream, err := c.spotExchangeClient.StreamOrders(ctx, &req)
+ stream, err := c.spotExchangeClient.StreamTradesV2(ctx, req)
if err != nil {
fmt.Println(err)
return nil, err
@@ -822,103 +849,102 @@ func (c *exchangeClient) StreamSpotOrders(ctx context.Context, req spotExchangeP
return stream, nil
}
-func (c *exchangeClient) GetSpotTrades(ctx context.Context, req spotExchangePB.TradesRequest) (spotExchangePB.TradesResponse, error) {
+func (c *exchangeClient) GetSubaccountSpotOrdersList(ctx context.Context, req *spotExchangePB.SubaccountOrdersListRequest) (*spotExchangePB.SubaccountOrdersListResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.Trades(ctx, &req)
+ res, err := c.spotExchangeClient.SubaccountOrdersList(ctx, req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.TradesResponse{}, err
+ return &spotExchangePB.SubaccountOrdersListResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) StreamSpotTrades(ctx context.Context, req spotExchangePB.StreamTradesRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesClient, error) {
+func (c *exchangeClient) GetSubaccountSpotTradesList(ctx context.Context, req *spotExchangePB.SubaccountTradesListRequest) (*spotExchangePB.SubaccountTradesListResponse, error) {
ctx = c.getCookie(ctx)
- stream, err := c.spotExchangeClient.StreamTrades(ctx, &req)
+ res, err := c.spotExchangeClient.SubaccountTradesList(ctx, req)
if err != nil {
fmt.Println(err)
- return nil, err
+ return &spotExchangePB.SubaccountTradesListResponse{}, err
}
- return stream, nil
+ return res, nil
}
-func (c *exchangeClient) GetSubaccountSpotOrdersList(ctx context.Context, req spotExchangePB.SubaccountOrdersListRequest) (spotExchangePB.SubaccountOrdersListResponse, error) {
+func (c *exchangeClient) GetHistoricalSpotOrders(ctx context.Context, req *spotExchangePB.OrdersHistoryRequest) (*spotExchangePB.OrdersHistoryResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.SubaccountOrdersList(ctx, &req)
+ res, err := c.spotExchangeClient.OrdersHistory(ctx, req)
if err != nil {
- fmt.Println(err)
- return spotExchangePB.SubaccountOrdersListResponse{}, err
+ return &spotExchangePB.OrdersHistoryResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetSubaccountSpotTradesList(ctx context.Context, req spotExchangePB.SubaccountTradesListRequest) (spotExchangePB.SubaccountTradesListResponse, error) {
+func (c *exchangeClient) StreamHistoricalSpotOrders(ctx context.Context, req *spotExchangePB.StreamOrdersHistoryRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersHistoryClient, error) {
ctx = c.getCookie(ctx)
- res, err := c.spotExchangeClient.SubaccountTradesList(ctx, &req)
+ stream, err := c.spotExchangeClient.StreamOrdersHistory(ctx, req)
if err != nil {
fmt.Println(err)
- return spotExchangePB.SubaccountTradesListResponse{}, err
+ return nil, err
}
- return *res, nil
+ return stream, nil
}
-func (c *exchangeClient) GetInsuranceFunds(ctx context.Context, req insurancePB.FundsRequest) (insurancePB.FundsResponse, error) {
+func (c *exchangeClient) GetInsuranceFunds(ctx context.Context, req *insurancePB.FundsRequest) (*insurancePB.FundsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.insuranceClient.Funds(ctx, &req)
+ res, err := c.insuranceClient.Funds(ctx, req)
if err != nil {
fmt.Println(err)
- return insurancePB.FundsResponse{}, err
+ return &insurancePB.FundsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetRedemptions(ctx context.Context, req insurancePB.RedemptionsRequest) (insurancePB.RedemptionsResponse, error) {
+func (c *exchangeClient) GetRedemptions(ctx context.Context, req *insurancePB.RedemptionsRequest) (*insurancePB.RedemptionsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.insuranceClient.Redemptions(ctx, &req)
+ res, err := c.insuranceClient.Redemptions(ctx, req)
if err != nil {
fmt.Println(err)
- return insurancePB.RedemptionsResponse{}, err
+ return &insurancePB.RedemptionsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) Ping(ctx context.Context, req metaPB.PingRequest) (metaPB.PingResponse, error) {
+func (c *exchangeClient) Ping(ctx context.Context, req *metaPB.PingRequest) (*metaPB.PingResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.metaClient.Ping(ctx, &req)
+ res, err := c.metaClient.Ping(ctx, req)
if err != nil {
fmt.Println(err)
- return metaPB.PingResponse{}, err
+ return &metaPB.PingResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetVersion(ctx context.Context, req metaPB.VersionRequest) (metaPB.VersionResponse, error) {
+func (c *exchangeClient) GetVersion(ctx context.Context, req *metaPB.VersionRequest) (*metaPB.VersionResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.metaClient.Version(ctx, &req)
+ res, err := c.metaClient.Version(ctx, req)
if err != nil {
fmt.Println(err)
- return metaPB.VersionResponse{}, err
+ return &metaPB.VersionResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *exchangeClient) GetInfo(ctx context.Context, req metaPB.InfoRequest) (metaPB.InfoResponse, error) {
+func (c *exchangeClient) GetInfo(ctx context.Context, req *metaPB.InfoRequest) (*metaPB.InfoResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.metaClient.Info(ctx, &req)
+ res, err := c.metaClient.Info(ctx, req)
if err != nil {
fmt.Println(err)
- return metaPB.InfoResponse{}, err
+ return &metaPB.InfoResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *exchangeClient) StreamKeepalive(ctx context.Context) (metaPB.InjectiveMetaRPC_StreamKeepaliveClient, error) {
@@ -934,17 +960,31 @@ func (c *exchangeClient) StreamKeepalive(ctx context.Context) (metaPB.InjectiveM
return stream, nil
}
-func (c *exchangeClient) GetAccountPortfolio(ctx context.Context, accountAddress string) (portfolioExchangePB.AccountPortfolioResponse, error) {
+// Deprecated: Use GetAccountPortfolioBalances instead.
+func (c *exchangeClient) GetAccountPortfolio(ctx context.Context, accountAddress string) (*portfolioExchangePB.AccountPortfolioResponse, error) {
ctx = c.getCookie(ctx)
res, err := c.portfolioExchangeClient.AccountPortfolio(ctx, &portfolioExchangePB.AccountPortfolioRequest{
AccountAddress: accountAddress,
})
if err != nil {
fmt.Println(err)
- return portfolioExchangePB.AccountPortfolioResponse{}, err
+ return &portfolioExchangePB.AccountPortfolioResponse{}, err
+ }
+
+ return res, nil
+}
+
+func (c *exchangeClient) GetAccountPortfolioBalances(ctx context.Context, accountAddress string) (*portfolioExchangePB.AccountPortfolioBalancesResponse, error) {
+ ctx = c.getCookie(ctx)
+ res, err := c.portfolioExchangeClient.AccountPortfolioBalances(ctx, &portfolioExchangePB.AccountPortfolioBalancesRequest{
+ AccountAddress: accountAddress,
+ })
+ if err != nil {
+ fmt.Println(err)
+ return &portfolioExchangePB.AccountPortfolioBalancesResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *exchangeClient) StreamAccountPortfolio(ctx context.Context, accountAddress string, subaccountId, balanceType string) (portfolioExchangePB.InjectivePortfolioRPC_StreamAccountPortfolioClient, error) {
diff --git a/client/exchange/exchange_test_support.go b/client/exchange/exchange_test_support.go
new file mode 100644
index 00000000..2b37623a
--- /dev/null
+++ b/client/exchange/exchange_test_support.go
@@ -0,0 +1,308 @@
+package exchange
+
+import (
+ "context"
+ "errors"
+
+ accountPB "github.com/InjectiveLabs/sdk-go/exchange/accounts_rpc/pb"
+ auctionPB "github.com/InjectiveLabs/sdk-go/exchange/auction_rpc/pb"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+ insurancePB "github.com/InjectiveLabs/sdk-go/exchange/insurance_rpc/pb"
+ metaPB "github.com/InjectiveLabs/sdk-go/exchange/meta_rpc/pb"
+ oraclePB "github.com/InjectiveLabs/sdk-go/exchange/oracle_rpc/pb"
+ portfolioExchangePB "github.com/InjectiveLabs/sdk-go/exchange/portfolio_rpc/pb"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+ "google.golang.org/grpc"
+)
+
+type MockExchangeClient struct {
+ SpotMarketsResponses []*spotExchangePB.MarketsResponse
+ DerivativeMarketsResponses []*derivativeExchangePB.MarketsResponse
+}
+
+func (e *MockExchangeClient) QueryClient() *grpc.ClientConn {
+ dummyConnection := grpc.ClientConn{}
+ return &dummyConnection
+}
+
+func (e *MockExchangeClient) GetDerivativeMarket(ctx context.Context, marketId string) (*derivativeExchangePB.MarketResponse, error) {
+ return &derivativeExchangePB.MarketResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeOrderbookV2(ctx context.Context, marketId string) (*derivativeExchangePB.OrderbookV2Response, error) {
+ return &derivativeExchangePB.OrderbookV2Response{}, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeOrderbooksV2(ctx context.Context, marketIds []string) (*derivativeExchangePB.OrderbooksV2Response, error) {
+ return &derivativeExchangePB.OrderbooksV2Response{}, nil
+}
+
+func (e *MockExchangeClient) StreamDerivativeOrderbookV2(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamDerivativeOrderbookUpdate(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamDerivativeMarket(ctx context.Context, marketIds []string) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamMarketClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeOrders(ctx context.Context, req *derivativeExchangePB.OrdersRequest) (*derivativeExchangePB.OrdersResponse, error) {
+ return &derivativeExchangePB.OrdersResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeMarkets(ctx context.Context, req *derivativeExchangePB.MarketsRequest) (*derivativeExchangePB.MarketsResponse, error) {
+ var response *derivativeExchangePB.MarketsResponse
+ var localError error
+ if len(e.DerivativeMarketsResponses) > 0 {
+ response = e.DerivativeMarketsResponses[0]
+ e.DerivativeMarketsResponses = e.DerivativeMarketsResponses[1:]
+ localError = nil
+ } else {
+ response = &derivativeExchangePB.MarketsResponse{}
+ localError = errors.New("There are no responses configured")
+ }
+
+ return response, localError
+}
+
+func (e *MockExchangeClient) GetDerivativePositions(ctx context.Context, req *derivativeExchangePB.PositionsRequest) (*derivativeExchangePB.PositionsResponse, error) {
+ return &derivativeExchangePB.PositionsResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetDerivativePositionsV2(ctx context.Context, req *derivativeExchangePB.PositionsV2Request) (*derivativeExchangePB.PositionsV2Response, error) {
+ return &derivativeExchangePB.PositionsV2Response{}, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeLiquidablePositions(ctx context.Context, req *derivativeExchangePB.LiquidablePositionsRequest) (*derivativeExchangePB.LiquidablePositionsResponse, error) {
+ return &derivativeExchangePB.LiquidablePositionsResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamDerivativePositions(ctx context.Context, req *derivativeExchangePB.StreamPositionsRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamPositionsClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamDerivativeOrders(ctx context.Context, req *derivativeExchangePB.StreamOrdersRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeTrades(ctx context.Context, req *derivativeExchangePB.TradesRequest) (*derivativeExchangePB.TradesResponse, error) {
+ return &derivativeExchangePB.TradesResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeTradesV2(ctx context.Context, req *derivativeExchangePB.TradesV2Request) (*derivativeExchangePB.TradesV2Response, error) {
+ return &derivativeExchangePB.TradesV2Response{}, nil
+}
+
+func (e *MockExchangeClient) StreamDerivativeTrades(ctx context.Context, req *derivativeExchangePB.StreamTradesRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamDerivativeV2Trades(ctx context.Context, req *derivativeExchangePB.StreamTradesV2Request) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamTradesV2Client, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountDerivativeOrdersList(ctx context.Context, req *derivativeExchangePB.SubaccountOrdersListRequest) (*derivativeExchangePB.SubaccountOrdersListResponse, error) {
+ return &derivativeExchangePB.SubaccountOrdersListResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountDerivativeTradesList(ctx context.Context, req *derivativeExchangePB.SubaccountTradesListRequest) (*derivativeExchangePB.SubaccountTradesListResponse, error) {
+ return &derivativeExchangePB.SubaccountTradesListResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetHistoricalDerivativeOrders(ctx context.Context, req *derivativeExchangePB.OrdersHistoryRequest) (*derivativeExchangePB.OrdersHistoryResponse, error) {
+ return &derivativeExchangePB.OrdersHistoryResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamHistoricalDerivativeOrders(ctx context.Context, req *derivativeExchangePB.StreamOrdersHistoryRequest) (derivativeExchangePB.InjectiveDerivativeExchangeRPC_StreamOrdersHistoryClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeFundingPayments(ctx context.Context, req *derivativeExchangePB.FundingPaymentsRequest) (*derivativeExchangePB.FundingPaymentsResponse, error) {
+ return &derivativeExchangePB.FundingPaymentsResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetDerivativeFundingRates(ctx context.Context, req *derivativeExchangePB.FundingRatesRequest) (*derivativeExchangePB.FundingRatesResponse, error) {
+ return &derivativeExchangePB.FundingRatesResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetPrice(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string, oracleScaleFactor uint32) (*oraclePB.PriceResponse, error) {
+ return &oraclePB.PriceResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetOracleList(ctx context.Context) (*oraclePB.OracleListResponse, error) {
+ return &oraclePB.OracleListResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamPrices(ctx context.Context, baseSymbol string, quoteSymbol string, oracleType string) (oraclePB.InjectiveOracleRPC_StreamPricesClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetAuction(ctx context.Context, round int64) (*auctionPB.AuctionEndpointResponse, error) {
+ return &auctionPB.AuctionEndpointResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetAuctions(ctx context.Context) (*auctionPB.AuctionsResponse, error) {
+ return &auctionPB.AuctionsResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamBids(ctx context.Context) (auctionPB.InjectiveAuctionRPC_StreamBidsClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountsList(ctx context.Context, accountAddress string) (*accountPB.SubaccountsListResponse, error) {
+ return &accountPB.SubaccountsListResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountBalance(ctx context.Context, subaccountId string, denom string) (*accountPB.SubaccountBalanceEndpointResponse, error) {
+ return &accountPB.SubaccountBalanceEndpointResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamSubaccountBalance(ctx context.Context, subaccountId string) (accountPB.InjectiveAccountsRPC_StreamSubaccountBalanceClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountBalancesList(ctx context.Context, subaccountId string) (*accountPB.SubaccountBalancesListResponse, error) {
+ return &accountPB.SubaccountBalancesListResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountHistory(ctx context.Context, req *accountPB.SubaccountHistoryRequest) (*accountPB.SubaccountHistoryResponse, error) {
+ return &accountPB.SubaccountHistoryResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountOrderSummary(ctx context.Context, req *accountPB.SubaccountOrderSummaryRequest) (*accountPB.SubaccountOrderSummaryResponse, error) {
+ return &accountPB.SubaccountOrderSummaryResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetOrderStates(ctx context.Context, req *accountPB.OrderStatesRequest) (*accountPB.OrderStatesResponse, error) {
+ return &accountPB.OrderStatesResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetPortfolio(ctx context.Context, accountAddress string) (*accountPB.PortfolioResponse, error) {
+ return &accountPB.PortfolioResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetRewards(ctx context.Context, req *accountPB.RewardsRequest) (*accountPB.RewardsResponse, error) {
+ return &accountPB.RewardsResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSpotOrders(ctx context.Context, req *spotExchangePB.OrdersRequest) (*spotExchangePB.OrdersResponse, error) {
+ return &spotExchangePB.OrdersResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSpotOrderbookV2(ctx context.Context, marketId string) (*spotExchangePB.OrderbookV2Response, error) {
+ return &spotExchangePB.OrderbookV2Response{}, nil
+}
+
+func (e *MockExchangeClient) GetSpotOrderbooksV2(ctx context.Context, marketIds []string) (*spotExchangePB.OrderbooksV2Response, error) {
+ return &spotExchangePB.OrderbooksV2Response{}, nil
+}
+
+func (e *MockExchangeClient) StreamSpotOrderbookV2(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookV2Client, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamSpotOrderbookUpdate(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetSpotMarkets(ctx context.Context, req *spotExchangePB.MarketsRequest) (*spotExchangePB.MarketsResponse, error) {
+ var response *spotExchangePB.MarketsResponse
+ var localError error
+ if len(e.SpotMarketsResponses) > 0 {
+ response = e.SpotMarketsResponses[0]
+ e.SpotMarketsResponses = e.SpotMarketsResponses[1:]
+ localError = nil
+ } else {
+ response = &spotExchangePB.MarketsResponse{}
+ localError = errors.New("There are no responses configured")
+ }
+
+ return response, localError
+}
+
+func (e *MockExchangeClient) GetSpotMarket(ctx context.Context, marketId string) (*spotExchangePB.MarketResponse, error) {
+ return &spotExchangePB.MarketResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamSpotMarket(ctx context.Context, marketIds []string) (spotExchangePB.InjectiveSpotExchangeRPC_StreamMarketsClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamSpotOrders(ctx context.Context, req *spotExchangePB.StreamOrdersRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetSpotTrades(ctx context.Context, req *spotExchangePB.TradesRequest) (*spotExchangePB.TradesResponse, error) {
+ return &spotExchangePB.TradesResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSpotTradesV2(ctx context.Context, req *spotExchangePB.TradesV2Request) (*spotExchangePB.TradesV2Response, error) {
+ return &spotExchangePB.TradesV2Response{}, nil
+}
+
+func (e *MockExchangeClient) StreamSpotTrades(ctx context.Context, req *spotExchangePB.StreamTradesRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamSpotTradesV2(ctx context.Context, req *spotExchangePB.StreamTradesV2Request) (spotExchangePB.InjectiveSpotExchangeRPC_StreamTradesV2Client, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountSpotOrdersList(ctx context.Context, req *spotExchangePB.SubaccountOrdersListRequest) (*spotExchangePB.SubaccountOrdersListResponse, error) {
+ return &spotExchangePB.SubaccountOrdersListResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetSubaccountSpotTradesList(ctx context.Context, req *spotExchangePB.SubaccountTradesListRequest) (*spotExchangePB.SubaccountTradesListResponse, error) {
+ return &spotExchangePB.SubaccountTradesListResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetHistoricalSpotOrders(ctx context.Context, req *spotExchangePB.OrdersHistoryRequest) (*spotExchangePB.OrdersHistoryResponse, error) {
+ return &spotExchangePB.OrdersHistoryResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamHistoricalSpotOrders(ctx context.Context, req *spotExchangePB.StreamOrdersHistoryRequest) (spotExchangePB.InjectiveSpotExchangeRPC_StreamOrdersHistoryClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetInsuranceFunds(ctx context.Context, req *insurancePB.FundsRequest) (*insurancePB.FundsResponse, error) {
+ return &insurancePB.FundsResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetRedemptions(ctx context.Context, req *insurancePB.RedemptionsRequest) (*insurancePB.RedemptionsResponse, error) {
+ return &insurancePB.RedemptionsResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetAccountPortfolio(ctx context.Context, accountAddress string) (*portfolioExchangePB.AccountPortfolioResponse, error) {
+ return &portfolioExchangePB.AccountPortfolioResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetAccountPortfolioBalances(ctx context.Context, accountAddress string) (*portfolioExchangePB.AccountPortfolioBalancesResponse, error) {
+ return &portfolioExchangePB.AccountPortfolioBalancesResponse{}, nil
+}
+
+func (e *MockExchangeClient) StreamAccountPortfolio(ctx context.Context, accountAddress string, subaccountId, balanceType string) (portfolioExchangePB.InjectivePortfolioRPC_StreamAccountPortfolioClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) StreamKeepalive(ctx context.Context) (metaPB.InjectiveMetaRPC_StreamKeepaliveClient, error) {
+ return nil, nil
+}
+
+func (e *MockExchangeClient) GetInfo(ctx context.Context, req *metaPB.InfoRequest) (*metaPB.InfoResponse, error) {
+ return &metaPB.InfoResponse{}, nil
+}
+
+func (e *MockExchangeClient) GetVersion(ctx context.Context, req *metaPB.VersionRequest) (*metaPB.VersionResponse, error) {
+ return &metaPB.VersionResponse{}, nil
+}
+
+func (e *MockExchangeClient) Ping(ctx context.Context, req *metaPB.PingRequest) (*metaPB.PingResponse, error) {
+ return &metaPB.PingResponse{}, nil
+}
+
+func (e *MockExchangeClient) Close() {
+
+}
diff --git a/client/explorer/explorer.go b/client/explorer/explorer.go
index e5fcef53..00c76fc6 100644
--- a/client/explorer/explorer.go
+++ b/client/explorer/explorer.go
@@ -3,6 +3,9 @@ package exchange
import (
"context"
"fmt"
+
+ "google.golang.org/grpc/credentials/insecure"
+
"github.com/InjectiveLabs/sdk-go/client/common"
explorerPB "github.com/InjectiveLabs/sdk-go/exchange/explorer_rpc/pb"
"google.golang.org/grpc/metadata"
@@ -14,21 +17,21 @@ import (
type ExplorerClient interface {
QueryClient() *grpc.ClientConn
- GetTxByTxHash(ctx context.Context, hash string) (explorerPB.GetTxByTxHashResponse, error)
- GetTxs(ctx context.Context, req explorerPB.GetTxsRequest) (explorerPB.GetTxsResponse, error)
- GetBlock(ctx context.Context, blockHeight string) (explorerPB.GetBlockResponse, error)
- GetBlocks(ctx context.Context) (explorerPB.GetBlocksResponse, error)
- GetAccountTxs(ctx context.Context, req explorerPB.GetAccountTxsRequest) (explorerPB.GetAccountTxsResponse, error)
- GetPeggyDeposits(ctx context.Context, req explorerPB.GetPeggyDepositTxsRequest) (explorerPB.GetPeggyDepositTxsResponse, error)
- GetPeggyWithdrawals(ctx context.Context, req explorerPB.GetPeggyWithdrawalTxsRequest) (explorerPB.GetPeggyWithdrawalTxsResponse, error)
- GetIBCTransfers(ctx context.Context, req explorerPB.GetIBCTransferTxsRequest) (explorerPB.GetIBCTransferTxsResponse, error)
+ GetTxByTxHash(ctx context.Context, hash string) (*explorerPB.GetTxByTxHashResponse, error)
+ GetTxs(ctx context.Context, req *explorerPB.GetTxsRequest) (*explorerPB.GetTxsResponse, error)
+ GetBlock(ctx context.Context, blockHeight string) (*explorerPB.GetBlockResponse, error)
+ GetBlocks(ctx context.Context) (*explorerPB.GetBlocksResponse, error)
+ GetAccountTxs(ctx context.Context, req *explorerPB.GetAccountTxsRequest) (*explorerPB.GetAccountTxsResponse, error)
+ GetPeggyDeposits(ctx context.Context, req *explorerPB.GetPeggyDepositTxsRequest) (*explorerPB.GetPeggyDepositTxsResponse, error)
+ GetPeggyWithdrawals(ctx context.Context, req *explorerPB.GetPeggyWithdrawalTxsRequest) (*explorerPB.GetPeggyWithdrawalTxsResponse, error)
+ GetIBCTransfers(ctx context.Context, req *explorerPB.GetIBCTransferTxsRequest) (*explorerPB.GetIBCTransferTxsResponse, error)
StreamTxs(ctx context.Context) (explorerPB.InjectiveExplorerRPC_StreamTxsClient, error)
StreamBlocks(ctx context.Context) (explorerPB.InjectiveExplorerRPC_StreamBlocksClient, error)
- GetWasmCodes(ctx context.Context, req explorerPB.GetWasmCodesRequest) (explorerPB.GetWasmCodesResponse, error)
- GetWasmCodeByID(ctx context.Context, req explorerPB.GetWasmCodeByIDRequest) (explorerPB.GetWasmCodeByIDResponse, error)
- GetWasmContracts(ctx context.Context, req explorerPB.GetWasmContractsRequest) (explorerPB.GetWasmContractsResponse, error)
- GetWasmContractByAddress(ctx context.Context, req explorerPB.GetWasmContractByAddressRequest) (explorerPB.GetWasmContractByAddressResponse, error)
- GetCW20Balance(ctx context.Context, req explorerPB.GetCw20BalanceRequest) (explorerPB.GetCw20BalanceResponse, error)
+ GetWasmCodes(ctx context.Context, req *explorerPB.GetWasmCodesRequest) (*explorerPB.GetWasmCodesResponse, error)
+ GetWasmCodeByID(ctx context.Context, req *explorerPB.GetWasmCodeByIDRequest) (*explorerPB.GetWasmCodeByIDResponse, error)
+ GetWasmContracts(ctx context.Context, req *explorerPB.GetWasmContractsRequest) (*explorerPB.GetWasmContractsResponse, error)
+ GetWasmContractByAddress(ctx context.Context, req *explorerPB.GetWasmContractByAddressRequest) (*explorerPB.GetWasmContractByAddressResponse, error)
+ GetCW20Balance(ctx context.Context, req *explorerPB.GetCw20BalanceRequest) (*explorerPB.GetCw20BalanceResponse, error)
Close()
}
@@ -51,7 +54,7 @@ func NewExplorerClient(network common.Network, options ...common.ClientOption) (
if opts.TLSCert != nil {
conn, err = grpc.Dial(network.ExplorerGrpcEndpoint, grpc.WithTransportCredentials(opts.TLSCert), grpc.WithContextDialer(common.DialerFunc))
} else {
- conn, err = grpc.Dial(network.ExplorerGrpcEndpoint, grpc.WithInsecure(), grpc.WithContextDialer(common.DialerFunc))
+ conn, err = grpc.Dial(network.ExplorerGrpcEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(common.DialerFunc))
}
if err != nil {
err := errors.Wrapf(err, "failed to connect to the gRPC: %s", network.ExplorerGrpcEndpoint)
@@ -80,14 +83,16 @@ type explorerClient struct {
conn *grpc.ClientConn
logger log.Logger
- sessionCookie string
explorerClient explorerPB.InjectiveExplorerRPCClient
}
func (c *explorerClient) requestCookie() metadata.MD {
var header metadata.MD
req := explorerPB.GetTxsRequest{}
- c.explorerClient.GetTxs(context.Background(), &req, grpc.Header(&header))
+ _, err := c.explorerClient.GetTxs(context.Background(), &req, grpc.Header(&header))
+ if err != nil {
+ panic(err)
+ }
return header
}
@@ -97,18 +102,11 @@ func (c *explorerClient) getCookie(ctx context.Context) context.Context {
return metadata.AppendToOutgoingContext(ctx, "cookie", cookie)
}
-func (c *explorerClient) setCookie(metadata metadata.MD) {
- md := metadata.Get("set-cookie")
- if len(md) > 0 {
- c.sessionCookie = md[0]
- }
-}
-
func (c *explorerClient) QueryClient() *grpc.ClientConn {
return c.conn
}
-func (c *explorerClient) GetTxByTxHash(ctx context.Context, hash string) (explorerPB.GetTxByTxHashResponse, error) {
+func (c *explorerClient) GetTxByTxHash(ctx context.Context, hash string) (*explorerPB.GetTxByTxHashResponse, error) {
req := explorerPB.GetTxByTxHashRequest{
Hash: hash,
}
@@ -117,37 +115,37 @@ func (c *explorerClient) GetTxByTxHash(ctx context.Context, hash string) (explor
res, err := c.explorerClient.GetTxByTxHash(ctx, &req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetTxByTxHashResponse{}, err
+ return &explorerPB.GetTxByTxHashResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetAccountTxs(ctx context.Context, req explorerPB.GetAccountTxsRequest) (explorerPB.GetAccountTxsResponse, error) {
+func (c *explorerClient) GetAccountTxs(ctx context.Context, req *explorerPB.GetAccountTxsRequest) (*explorerPB.GetAccountTxsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetAccountTxs(ctx, &req)
+ res, err := c.explorerClient.GetAccountTxs(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetAccountTxsResponse{}, err
+ return &explorerPB.GetAccountTxsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetBlocks(ctx context.Context) (explorerPB.GetBlocksResponse, error) {
+func (c *explorerClient) GetBlocks(ctx context.Context) (*explorerPB.GetBlocksResponse, error) {
req := explorerPB.GetBlocksRequest{}
ctx = c.getCookie(ctx)
res, err := c.explorerClient.GetBlocks(ctx, &req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetBlocksResponse{}, err
+ return &explorerPB.GetBlocksResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetBlock(ctx context.Context, blockHeight string) (explorerPB.GetBlockResponse, error) {
+func (c *explorerClient) GetBlock(ctx context.Context, blockHeight string) (*explorerPB.GetBlockResponse, error) {
req := explorerPB.GetBlockRequest{
Id: blockHeight,
}
@@ -156,54 +154,54 @@ func (c *explorerClient) GetBlock(ctx context.Context, blockHeight string) (expl
res, err := c.explorerClient.GetBlock(ctx, &req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetBlockResponse{}, err
+ return &explorerPB.GetBlockResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetTxs(ctx context.Context, req explorerPB.GetTxsRequest) (explorerPB.GetTxsResponse, error) {
+func (c *explorerClient) GetTxs(ctx context.Context, req *explorerPB.GetTxsRequest) (*explorerPB.GetTxsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetTxs(ctx, &req)
+ res, err := c.explorerClient.GetTxs(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetTxsResponse{}, err
+ return &explorerPB.GetTxsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetPeggyDeposits(ctx context.Context, req explorerPB.GetPeggyDepositTxsRequest) (explorerPB.GetPeggyDepositTxsResponse, error) {
+func (c *explorerClient) GetPeggyDeposits(ctx context.Context, req *explorerPB.GetPeggyDepositTxsRequest) (*explorerPB.GetPeggyDepositTxsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetPeggyDepositTxs(ctx, &req)
+ res, err := c.explorerClient.GetPeggyDepositTxs(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetPeggyDepositTxsResponse{}, err
+ return &explorerPB.GetPeggyDepositTxsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetPeggyWithdrawals(ctx context.Context, req explorerPB.GetPeggyWithdrawalTxsRequest) (explorerPB.GetPeggyWithdrawalTxsResponse, error) {
+func (c *explorerClient) GetPeggyWithdrawals(ctx context.Context, req *explorerPB.GetPeggyWithdrawalTxsRequest) (*explorerPB.GetPeggyWithdrawalTxsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetPeggyWithdrawalTxs(ctx, &req)
+ res, err := c.explorerClient.GetPeggyWithdrawalTxs(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetPeggyWithdrawalTxsResponse{}, err
+ return &explorerPB.GetPeggyWithdrawalTxsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetIBCTransfers(ctx context.Context, req explorerPB.GetIBCTransferTxsRequest) (explorerPB.GetIBCTransferTxsResponse, error) {
+func (c *explorerClient) GetIBCTransfers(ctx context.Context, req *explorerPB.GetIBCTransferTxsRequest) (*explorerPB.GetIBCTransferTxsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetIBCTransferTxs(ctx, &req)
+ res, err := c.explorerClient.GetIBCTransferTxs(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetIBCTransferTxsResponse{}, err
+ return &explorerPB.GetIBCTransferTxsResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *explorerClient) StreamTxs(ctx context.Context) (explorerPB.InjectiveExplorerRPC_StreamTxsClient, error) {
@@ -232,59 +230,59 @@ func (c *explorerClient) StreamBlocks(ctx context.Context) (explorerPB.Injective
return stream, nil
}
-func (c *explorerClient) GetWasmCodes(ctx context.Context, req explorerPB.GetWasmCodesRequest) (explorerPB.GetWasmCodesResponse, error) {
+func (c *explorerClient) GetWasmCodes(ctx context.Context, req *explorerPB.GetWasmCodesRequest) (*explorerPB.GetWasmCodesResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetWasmCodes(ctx, &req)
+ res, err := c.explorerClient.GetWasmCodes(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetWasmCodesResponse{}, err
+ return &explorerPB.GetWasmCodesResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetWasmCodeByID(ctx context.Context, req explorerPB.GetWasmCodeByIDRequest) (explorerPB.GetWasmCodeByIDResponse, error) {
+func (c *explorerClient) GetWasmCodeByID(ctx context.Context, req *explorerPB.GetWasmCodeByIDRequest) (*explorerPB.GetWasmCodeByIDResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetWasmCodeByID(ctx, &req)
+ res, err := c.explorerClient.GetWasmCodeByID(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetWasmCodeByIDResponse{}, err
+ return &explorerPB.GetWasmCodeByIDResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetWasmContracts(ctx context.Context, req explorerPB.GetWasmContractsRequest) (explorerPB.GetWasmContractsResponse, error) {
+func (c *explorerClient) GetWasmContracts(ctx context.Context, req *explorerPB.GetWasmContractsRequest) (*explorerPB.GetWasmContractsResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetWasmContracts(ctx, &req)
+ res, err := c.explorerClient.GetWasmContracts(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetWasmContractsResponse{}, err
+ return &explorerPB.GetWasmContractsResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetWasmContractByAddress(ctx context.Context, req explorerPB.GetWasmContractByAddressRequest) (explorerPB.GetWasmContractByAddressResponse, error) {
+func (c *explorerClient) GetWasmContractByAddress(ctx context.Context, req *explorerPB.GetWasmContractByAddressRequest) (*explorerPB.GetWasmContractByAddressResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetWasmContractByAddress(ctx, &req)
+ res, err := c.explorerClient.GetWasmContractByAddress(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetWasmContractByAddressResponse{}, err
+ return &explorerPB.GetWasmContractByAddressResponse{}, err
}
- return *res, nil
+ return res, nil
}
-func (c *explorerClient) GetCW20Balance(ctx context.Context, req explorerPB.GetCw20BalanceRequest) (explorerPB.GetCw20BalanceResponse, error) {
+func (c *explorerClient) GetCW20Balance(ctx context.Context, req *explorerPB.GetCw20BalanceRequest) (*explorerPB.GetCw20BalanceResponse, error) {
ctx = c.getCookie(ctx)
- res, err := c.explorerClient.GetCw20Balance(ctx, &req)
+ res, err := c.explorerClient.GetCw20Balance(ctx, req)
if err != nil {
fmt.Println(err)
- return explorerPB.GetCw20BalanceResponse{}, err
+ return &explorerPB.GetCw20BalanceResponse{}, err
}
- return *res, nil
+ return res, nil
}
func (c *explorerClient) Close() {
diff --git a/client/metadata/assets/devnet-1.ini b/client/metadata/assets/devnet-1.ini
index ea7462f8..5d4c12cb 100644
--- a/client/metadata/assets/devnet-1.ini
+++ b/client/metadata/assets/devnet-1.ini
@@ -255,4 +255,3 @@ decimals = 18
[USDC]
peggy_denom = peggy0xdAC17F958D2ee523a2206206994597C13D831ec7
decimals = 6
-
diff --git a/client/metadata/fetch_metadata.go b/client/metadata/fetch_metadata.go
index 4e9d02bb..cb4f08b0 100644
--- a/client/metadata/fetch_metadata.go
+++ b/client/metadata/fetch_metadata.go
@@ -3,25 +3,18 @@ package main
import (
"context"
"fmt"
+ "os"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
- "os"
//derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
- spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
"math"
"strconv"
-)
-func find(slice []string, val string) bool {
- for _, item := range slice {
- if item == val {
- return true
- }
- }
- return false
-}
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+)
var metadataTemplate = `[%s]
description = '%s %s %s'
@@ -50,7 +43,7 @@ func FetchDenom(network common.Network) {
// fetch spot markets
spotMarketsReq := spotExchangePB.MarketsRequest{MarketStatus: "active"}
ctx := context.Background()
- spotRes, err := exchangeClient.GetSpotMarkets(ctx, spotMarketsReq)
+ spotRes, err := exchangeClient.GetSpotMarkets(ctx, &spotMarketsReq)
if err != nil {
panic(err)
}
@@ -90,7 +83,7 @@ func FetchDenom(network common.Network) {
//fetch derivative markets
derivativeMarketsReq := derivativeExchangePB.MarketsRequest{MarketStatus: "active"}
- derivativeRes, err := exchangeClient.GetDerivativeMarkets(ctx, derivativeMarketsReq)
+ derivativeRes, err := exchangeClient.GetDerivativeMarkets(ctx, &derivativeMarketsReq)
if err != nil {
panic(err)
}
diff --git a/ethereum/util/amounts.go b/ethereum/util/amounts.go
index b195b404..1435beaa 100644
--- a/ethereum/util/amounts.go
+++ b/ethereum/util/amounts.go
@@ -27,11 +27,11 @@ func (w *Wei) Scan(v interface{}) error {
return nil
}
var source string
- switch v.(type) {
+ switch value := v.(type) {
case string:
- source = v.(string)
+ source = value
case []byte:
- source = string(v.([]byte))
+ source = string(value)
default:
return fmt.Errorf("incompatible type for decimal.Decimal: %T", v)
}
diff --git a/examples/chain/0_LocalOrderHash/example.go b/examples/chain/0_LocalOrderHash/example.go
index a8d3dc0b..4e36982f 100644
--- a/examples/chain/0_LocalOrderHash/example.go
+++ b/examples/chain/0_LocalOrderHash/example.go
@@ -1,15 +1,19 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ "github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
- cosmtypes "github.com/cosmos/cosmos-sdk/types"
"github.com/shopspring/decimal"
)
@@ -41,40 +45,63 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
// prepare tx msg
defaultSubaccountID := chainClient.Subaccount(senderAddress, 1)
- spotOrder := chainClient.SpotOrder(defaultSubaccountID, network, &chainclient.SpotOrderData{
- OrderType: exchangetypes.OrderType_BUY,
- Quantity: decimal.NewFromFloat(2),
- Price: decimal.NewFromFloat(22.55),
- FeeRecipient: senderAddress.String(),
- MarketId: "0x0511ddc4e6586f3bfe1acb2dd905f8b8a82c97e1edaef654b12ca7e6031ca0fa",
- })
-
- derivativeOrder := chainClient.DerivativeOrder(defaultSubaccountID, network, &chainclient.DerivativeOrderData{
- OrderType: exchangetypes.OrderType_BUY,
- Quantity: decimal.NewFromFloat(2),
- Price: cosmtypes.MustNewDecFromStr("31000000000"),
- Leverage: cosmtypes.MustNewDecFromStr("2.5"),
- FeeRecipient: senderAddress.String(),
- MarketId: "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce",
- })
+ spotOrder := chainClient.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_BUY,
+ Quantity: decimal.NewFromFloat(2),
+ Price: decimal.NewFromFloat(22.55),
+ FeeRecipient: senderAddress.String(),
+ MarketId: "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe",
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
+
+ derivativeOrder := chainClient.CreateDerivativeOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.DerivativeOrderData{
+ OrderType: exchangetypes.OrderType_BUY,
+ Quantity: decimal.NewFromFloat(2),
+ Price: decimal.RequireFromString("31"),
+ Leverage: decimal.RequireFromString("2.5"),
+ FeeRecipient: senderAddress.String(),
+ MarketId: "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6",
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgBatchCreateSpotLimitOrders)
msg.Sender = senderAddress.String()
diff --git a/examples/chain/10_MsgBatchCancelDerivativeOrders/example.go b/examples/chain/10_MsgBatchCancelDerivativeOrders/example.go
index 04cde873..d59a188e 100644
--- a/examples/chain/10_MsgBatchCancelDerivativeOrders/example.go
+++ b/examples/chain/10_MsgBatchCancelDerivativeOrders/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -41,7 +43,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -49,26 +51,32 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
orderHash := "0x7b35e8d3c6e5d1210a83615a935a74349c2c8c5e73a591015729adad3c70af2d"
+ cid := "666C5452-B563-445F-977B-539D79C482EE"
- order := chainClient.OrderCancel(defaultSubaccountID, &chainclient.OrderCancelData{
+ orderWithHash := chainClient.OrderCancel(defaultSubaccountID, &chainclient.OrderCancelData{
MarketId: marketId,
OrderHash: orderHash,
})
+ orderWithCid := chainClient.OrderCancel(defaultSubaccountID, &chainclient.OrderCancelData{
+ MarketId: marketId,
+ Cid: cid,
+ })
+
msg := new(exchangetypes.MsgBatchCancelDerivativeOrders)
msg.Sender = senderAddress.String()
- msg.Data = []exchangetypes.OrderData{*order}
+ msg.Data = []exchangetypes.OrderData{*orderWithHash, *orderWithCid}
CosMsgs := []cosmtypes.Msg{msg}
// AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/chain/11_MsgBatchCreateSpotLimitOrders/example.go b/examples/chain/11_MsgBatchCreateSpotLimitOrders/example.go
index fd540f0b..8cb5e33a 100644
--- a/examples/chain/11_MsgBatchCreateSpotLimitOrders/example.go
+++ b/examples/chain/11_MsgBatchCreateSpotLimitOrders/example.go
@@ -1,14 +1,19 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ "github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
)
@@ -47,10 +52,21 @@ func main() {
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
@@ -60,17 +76,22 @@ func main() {
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
- marketId := "0x0511ddc4e6586f3bfe1acb2dd905f8b8a82c97e1edaef654b12ca7e6031ca0fa"
+ marketId := "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"
amount := decimal.NewFromFloat(2)
price := decimal.NewFromFloat(22.5)
- order := chainClient.SpotOrder(defaultSubaccountID, network, &chainclient.SpotOrderData{
- OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
- Quantity: amount,
- Price: price,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- })
+ order := chainClient.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: amount,
+ Price: price,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant)
msg := new(exchangetypes.MsgBatchCreateSpotLimitOrders)
msg.Sender = senderAddress.String()
msg.Orders = []exchangetypes.SpotOrder{*order}
diff --git a/examples/chain/12_MsgBatchCreateDerivativeLimitOrders/example.go b/examples/chain/12_MsgBatchCreateDerivativeLimitOrders/example.go
index 9dcdc05a..cd6ce01e 100644
--- a/examples/chain/12_MsgBatchCreateDerivativeLimitOrders/example.go
+++ b/examples/chain/12_MsgBatchCreateDerivativeLimitOrders/example.go
@@ -1,17 +1,21 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ "github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
- cosmtypes "github.com/cosmos/cosmos-sdk/types"
)
func main() {
@@ -48,10 +52,21 @@ func main() {
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
@@ -61,20 +76,26 @@ func main() {
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
- marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
+ marketId := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
amount := decimal.NewFromFloat(2)
- price := cosmtypes.MustNewDecFromStr("31000000000") //31,000
- leverage := cosmtypes.MustNewDecFromStr("2.5")
-
- order := chainClient.DerivativeOrder(defaultSubaccountID, network, &chainclient.DerivativeOrderData{
- OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
- Quantity: amount,
- Price: price,
- Leverage: leverage,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- IsReduceOnly: true,
- })
+ price := decimal.NewFromFloat(5)
+ leverage := decimal.NewFromFloat(1)
+
+ order := chainClient.CreateDerivativeOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.DerivativeOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: amount,
+ Price: price,
+ Leverage: leverage,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ IsReduceOnly: false,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgBatchCreateDerivativeLimitOrders)
msg.Sender = senderAddress.String()
diff --git a/examples/chain/13_MsgIncreasePositionMargin/example.go b/examples/chain/13_MsgIncreasePositionMargin/example.go
index 32de098e..578d9243 100644
--- a/examples/chain/13_MsgIncreasePositionMargin/example.go
+++ b/examples/chain/13_MsgIncreasePositionMargin/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -41,27 +43,27 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
- msg := &exchangetypes.MsgIncreasePositionMargin{
- Sender: senderAddress.String(),
- MarketId: "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce",
- SourceSubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
- DestinationSubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
- Amount: cosmtypes.MustNewDecFromStr("100000000"), //100 USDT
- }
-
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
+ }
+
+ msg := &exchangetypes.MsgIncreasePositionMargin{
+ Sender: senderAddress.String(),
+ MarketId: "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce",
+ SourceSubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
+ DestinationSubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
+ Amount: cosmtypes.MustNewDecFromStr("100000000"), //100 USDT
}
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/chain/15_MsgWithdraw/example.go b/examples/chain/15_MsgWithdraw/example.go
index 338b191e..8c49c6e5 100644
--- a/examples/chain/15_MsgWithdraw/example.go
+++ b/examples/chain/15_MsgWithdraw/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -41,27 +42,27 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
- msg := &exchangetypes.MsgWithdraw{
- Sender: senderAddress.String(),
- SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
- Amount: sdktypes.Coin{
- Denom: "inj", Amount: sdktypes.NewInt(1000000000000000000), // 1 INJ
- },
- }
-
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
+ }
+
+ msg := &exchangetypes.MsgWithdraw{
+ Sender: senderAddress.String(),
+ SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
+ Amount: sdktypes.Coin{
+ Denom: "inj", Amount: sdktypes.NewInt(1000000000000000000), // 1 INJ
+ },
}
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/chain/16_MsgSubaccountTransfer/example.go b/examples/chain/16_MsgSubaccountTransfer/example.go
index 0c57296f..d7580995 100644
--- a/examples/chain/16_MsgSubaccountTransfer/example.go
+++ b/examples/chain/16_MsgSubaccountTransfer/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -41,11 +42,21 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
msg := &exchangetypes.MsgSubaccountTransfer{
Sender: senderAddress.String(),
SourceSubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
@@ -55,16 +66,6 @@ func main() {
},
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/17_MsgBatchUpdateOrders/example.go b/examples/chain/17_MsgBatchUpdateOrders/example.go
index a984c439..4f10490c 100644
--- a/examples/chain/17_MsgBatchUpdateOrders/example.go
+++ b/examples/chain/17_MsgBatchUpdateOrders/example.go
@@ -1,17 +1,21 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
- cosmtypes "github.com/cosmos/cosmos-sdk/types"
)
func main() {
@@ -48,10 +52,21 @@ func main() {
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
@@ -66,29 +81,41 @@ func main() {
sprice := decimal.NewFromFloat(22.5)
smarketIds := []string{"0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"}
- spot_order := chainClient.SpotOrder(defaultSubaccountID, network, &chainclient.SpotOrderData{
- OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
- Quantity: samount,
- Price: sprice,
- FeeRecipient: senderAddress.String(),
- MarketId: smarketId,
- })
+ spot_order := chainClient.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: samount,
+ Price: sprice,
+ FeeRecipient: senderAddress.String(),
+ MarketId: smarketId,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
dmarketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
damount := decimal.NewFromFloat(0.01)
- dprice := cosmtypes.MustNewDecFromStr("31000000000") //31,000
- dleverage := cosmtypes.MustNewDecFromStr("2")
+ dprice := decimal.RequireFromString("31000") //31,000
+ dleverage := decimal.RequireFromString("2")
dmarketIds := []string{"0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"}
- derivative_order := chainClient.DerivativeOrder(defaultSubaccountID, network, &chainclient.DerivativeOrderData{
- OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
- Quantity: damount,
- Price: dprice,
- Leverage: dleverage,
- FeeRecipient: senderAddress.String(),
- MarketId: dmarketId,
- IsReduceOnly: false,
- })
+ derivative_order := chainClient.CreateDerivativeOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.DerivativeOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: damount,
+ Price: dprice,
+ Leverage: dleverage,
+ FeeRecipient: senderAddress.String(),
+ MarketId: dmarketId,
+ IsReduceOnly: false,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgBatchUpdateOrders)
msg.Sender = senderAddress.String()
diff --git a/examples/chain/18_MsgBid/example.go b/examples/chain/18_MsgBid/example.go
index 27d4a25f..0012157c 100644
--- a/examples/chain/18_MsgBid/example.go
+++ b/examples/chain/18_MsgBid/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
auctiontypes "github.com/InjectiveLabs/sdk-go/chain/auction/types"
@@ -41,11 +42,21 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
round := uint64(9355)
bidAmount := sdktypes.Coin{
Denom: "inj", Amount: sdktypes.NewInt(1000000000000000000), // 1 INJ
@@ -57,16 +68,6 @@ func main() {
BidAmount: bidAmount,
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/19_MsgGrant/example.go b/examples/chain/19_MsgGrant/example.go
index 1990298f..02f5116e 100644
--- a/examples/chain/19_MsgGrant/example.go
+++ b/examples/chain/19_MsgGrant/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -39,7 +41,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -47,11 +49,11 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
granter := senderAddress.String()
diff --git a/examples/chain/1_MsgSend/example.go b/examples/chain/1_MsgSend/example.go
index d14e4058..d49591a3 100644
--- a/examples/chain/1_MsgSend/example.go
+++ b/examples/chain/1_MsgSend/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -41,10 +43,20 @@ func main() {
cosmosKeyring,
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
// prepare tx msg
msg := &banktypes.MsgSend{
FromAddress: senderAddress.String(),
@@ -54,16 +66,6 @@ func main() {
},
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/20_MsgExec/example.go b/examples/chain/20_MsgExec/example.go
index ea6da61f..ccb0e8f5 100644
--- a/examples/chain/20_MsgExec/example.go
+++ b/examples/chain/20_MsgExec/example.go
@@ -1,10 +1,14 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
@@ -58,13 +62,24 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
txFactory := chainclient.NewTxFactory(clientCtx)
- txFactory = txFactory.WithGasPrices("500000000inj")
+ txFactory = txFactory.WithGasPrices(client.DefaultGasPriceWithDenom)
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
@@ -72,7 +87,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
// note that we use grantee keyring to send the msg on behalf of granter here
@@ -85,13 +100,18 @@ func main() {
amount := decimal.NewFromFloat(2)
price := decimal.NewFromFloat(22.55)
- order := chainClient.SpotOrder(defaultSubaccountID, network, &chainclient.SpotOrderData{
- OrderType: exchangetypes.OrderType_BUY,
- Quantity: amount,
- Price: price,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- })
+ order := chainClient.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_BUY,
+ Quantity: amount,
+ Price: price,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ },
+ marketsAssistant,
+ )
// manually pack msg into Any type
msg0 := exchangetypes.MsgCreateSpotLimitOrder{
diff --git a/examples/chain/21_MsgRevoke/example.go b/examples/chain/21_MsgRevoke/example.go
index 2b921aa8..46bb2f3a 100644
--- a/examples/chain/21_MsgRevoke/example.go
+++ b/examples/chain/21_MsgRevoke/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -40,11 +41,21 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
grantee := "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r"
msgType := "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder"
@@ -54,16 +65,6 @@ func main() {
MsgTypeUrl: msgType,
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/22_MsgSendToEth/example.go b/examples/chain/22_MsgSendToEth/example.go
index 6027068e..89623c6b 100644
--- a/examples/chain/22_MsgSendToEth/example.go
+++ b/examples/chain/22_MsgSendToEth/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
peggytypes "github.com/InjectiveLabs/sdk-go/chain/peggy/types"
@@ -41,11 +42,21 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
ethDest := "0xaf79152ac5df276d9a8e1e2e22822f9713474902"
amount := sdktypes.Coin{
@@ -62,16 +73,6 @@ func main() {
BridgeFee: bridgeFee,
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/23_MsgRelayPriceFeedPrice/example.go b/examples/chain/23_MsgRelayPriceFeedPrice/example.go
index 047d5749..9718d252 100644
--- a/examples/chain/23_MsgRelayPriceFeedPrice/example.go
+++ b/examples/chain/23_MsgRelayPriceFeedPrice/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
oracletypes "github.com/InjectiveLabs/sdk-go/chain/oracle/types"
@@ -41,11 +42,21 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
price := []cosmtypes.Dec{cosmtypes.MustNewDecFromStr("100")}
base := []string{"BAYC"}
quote := []string{"WETH"}
@@ -57,16 +68,6 @@ func main() {
Quote: quote,
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/24_MsgRegisterAsDMM/example.go b/examples/chain/24_MsgRegisterAsDMM/example.go
index 0d25c85c..ca877e9e 100644
--- a/examples/chain/24_MsgRegisterAsDMM/example.go
+++ b/examples/chain/24_MsgRegisterAsDMM/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -40,23 +41,23 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
- msg := &exchangetypes.MsgRewardsOptOut{
- Sender: senderAddress.String(),
- }
-
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
+ }
+
+ msg := &exchangetypes.MsgRewardsOptOut{
+ Sender: senderAddress.String(),
}
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/chain/25_MsgDelegate/example.go b/examples/chain/25_MsgDelegate/example.go
index e583784e..756a26dd 100644
--- a/examples/chain/25_MsgDelegate/example.go
+++ b/examples/chain/25_MsgDelegate/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -41,7 +42,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -49,11 +50,11 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
msg := new(stakingtypes.MsgDelegate)
diff --git a/examples/chain/26_MsgWithdrawDelegatorReward/example.go b/examples/chain/26_MsgWithdrawDelegatorReward/example.go
index 14ddb855..46eed8cb 100644
--- a/examples/chain/26_MsgWithdrawDelegatorReward/example.go
+++ b/examples/chain/26_MsgWithdrawDelegatorReward/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -40,7 +41,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -48,11 +49,11 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
msg := new(distributiontypes.MsgWithdrawDelegatorReward)
diff --git a/examples/chain/27_QueryAuthzGrants/example.go b/examples/chain/27_QueryAuthzGrants/example.go
index 365e0fcf..a50706a2 100644
--- a/examples/chain/27_QueryAuthzGrants/example.go
+++ b/examples/chain/27_QueryAuthzGrants/example.go
@@ -5,6 +5,8 @@ import (
"encoding/json"
"fmt"
+ "github.com/InjectiveLabs/sdk-go/client"
+
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
@@ -41,7 +43,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -49,15 +51,13 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
- ctx := context.Background()
-
granter := "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku"
grantee := "inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r"
msg_type_url := "/injective.exchange.v1beta1.MsgCreateSpotLimitOrder"
@@ -68,6 +68,8 @@ func main() {
MsgTypeUrl: msg_type_url,
}
+ ctx := context.Background()
+
res, err := chainClient.GetAuthzGrants(ctx, req)
if err != nil {
fmt.Println(err)
diff --git a/examples/chain/28_BankBalances/example.go b/examples/chain/28_BankBalances/example.go
index edc982d4..a183fcc7 100644
--- a/examples/chain/28_BankBalances/example.go
+++ b/examples/chain/28_BankBalances/example.go
@@ -5,6 +5,7 @@ import (
"encoding/json"
"fmt"
+ "github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
@@ -40,7 +41,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -48,16 +49,15 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
- ctx := context.Background()
-
address := "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku"
+ ctx := context.Background()
res, err := chainClient.GetBankBalances(ctx, address)
if err != nil {
diff --git a/examples/chain/29_BankBalance/example.go b/examples/chain/29_BankBalance/example.go
index b9406b5f..98c48cca 100644
--- a/examples/chain/29_BankBalance/example.go
+++ b/examples/chain/29_BankBalance/example.go
@@ -5,6 +5,8 @@ import (
"encoding/json"
"fmt"
+ "github.com/InjectiveLabs/sdk-go/client"
+
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
@@ -40,7 +42,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -48,17 +50,16 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
- ctx := context.Background()
-
address := "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku"
denom := "inj"
+ ctx := context.Background()
res, err := chainClient.GetBankBalance(ctx, address, denom)
if err != nil {
diff --git a/examples/chain/2_MsgDeposit/example.go b/examples/chain/2_MsgDeposit/example.go
index 113178bd..abf339a4 100644
--- a/examples/chain/2_MsgDeposit/example.go
+++ b/examples/chain/2_MsgDeposit/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
sdktypes "github.com/cosmos/cosmos-sdk/types"
@@ -41,26 +43,26 @@ func main() {
cosmosKeyring,
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
- msg := &exchangetypes.MsgDeposit{
- Sender: senderAddress.String(),
- SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
- Amount: sdktypes.Coin{
- Denom: "inj", Amount: sdktypes.NewInt(1000000000000000000), // 1 INJ
- },
- }
-
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
+ }
+
+ msg := &exchangetypes.MsgDeposit{
+ Sender: senderAddress.String(),
+ SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
+ Amount: sdktypes.Coin{
+ Denom: "inj", Amount: sdktypes.NewInt(1000000000000000000), // 1 INJ
+ },
}
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/chain/30_MsgExternalTransfer/example.go b/examples/chain/30_MsgExternalTransfer/example.go
index 8f61b5b1..4a25192f 100644
--- a/examples/chain/30_MsgExternalTransfer/example.go
+++ b/examples/chain/30_MsgExternalTransfer/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -41,11 +42,21 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
msg := &exchangetypes.MsgExternalTransfer{
Sender: senderAddress.String(),
SourceSubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
@@ -55,16 +66,6 @@ func main() {
},
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/31_MsgMultiSend/example.go b/examples/chain/31_MsgMultiSend/example.go
index 10df54e4..5bf49241 100644
--- a/examples/chain/31_MsgMultiSend/example.go
+++ b/examples/chain/31_MsgMultiSend/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
@@ -43,11 +44,21 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
// prepare tx msg
msg := &banktypes.MsgMultiSend{
@@ -81,16 +92,6 @@ func main() {
},
}
- chainClient, err := chainclient.NewChainClient(
- clientCtx,
- network,
- common.OptionGasPrices("500000000inj"),
- )
-
- if err != nil {
- fmt.Println(err)
- }
-
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
err = chainClient.QueueBroadcastMsg(msg)
diff --git a/examples/chain/32_Account/example.go b/examples/chain/32_Account/example.go
index 3a120408..9e421362 100644
--- a/examples/chain/32_Account/example.go
+++ b/examples/chain/32_Account/example.go
@@ -42,7 +42,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
diff --git a/examples/chain/33_GetBlock/example.go b/examples/chain/33_GetBlock/example.go
index 74fde4c5..35e195dd 100644
--- a/examples/chain/33_GetBlock/example.go
+++ b/examples/chain/33_GetBlock/example.go
@@ -3,6 +3,7 @@ package main
import (
"context"
"fmt"
+
"github.com/InjectiveLabs/sdk-go/client/common"
tmclient "github.com/InjectiveLabs/sdk-go/client/tm"
)
@@ -13,7 +14,7 @@ func main() {
clientCtx, cancelFn := context.WithCancel(context.Background())
defer cancelFn()
- res, err := tmClient.GetBlock(clientCtx, 50000)
+ res, err := tmClient.GetBlock(clientCtx, 15478013)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/chain/34_OfflineSigning/example.go b/examples/chain/34_OfflineSigning/example.go
index 3415f38b..8b6d50a4 100644
--- a/examples/chain/34_OfflineSigning/example.go
+++ b/examples/chain/34_OfflineSigning/example.go
@@ -2,10 +2,14 @@
package main
import (
+ "context"
"fmt"
"io/ioutil"
"os"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
@@ -60,10 +64,21 @@ func main() {
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
@@ -75,13 +90,18 @@ func main() {
amount := decimal.NewFromFloat(2)
price := decimal.NewFromFloat(1.02)
- order := chainClient.SpotOrder(defaultSubaccountID, network, &chainclient.SpotOrderData{
- OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
- Quantity: amount,
- Price: price,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- })
+ order := chainClient.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: amount,
+ Price: price,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgCreateSpotLimitOrder)
msg.Sender = senderAddress.String()
diff --git a/examples/chain/35_StreamEventOrderFail/example.go b/examples/chain/35_StreamEventOrderFail/example.go
index e7ad5c49..91be988a 100644
--- a/examples/chain/35_StreamEventOrderFail/example.go
+++ b/examples/chain/35_StreamEventOrderFail/example.go
@@ -3,6 +3,8 @@ package main
import (
"fmt"
+ "github.com/InjectiveLabs/sdk-go/client"
+
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
)
@@ -22,8 +24,9 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
+
if err != nil {
panic(err)
}
diff --git a/examples/chain/36_StreamEventOrderbookUpdate/example.go b/examples/chain/36_StreamEventOrderbookUpdate/example.go
index a82b1493..21a669fe 100644
--- a/examples/chain/36_StreamEventOrderbookUpdate/example.go
+++ b/examples/chain/36_StreamEventOrderbookUpdate/example.go
@@ -3,6 +3,8 @@ package main
import (
"fmt"
+ "github.com/InjectiveLabs/sdk-go/client"
+
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
"github.com/InjectiveLabs/sdk-go/client/common"
@@ -23,8 +25,9 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
+
if err != nil {
panic(err)
}
diff --git a/examples/chain/37_DecodeTx/37_decode_tx.go b/examples/chain/37_DecodeTx/37_decode_tx.go
index b444eb18..f72f564c 100644
--- a/examples/chain/37_DecodeTx/37_decode_tx.go
+++ b/examples/chain/37_DecodeTx/37_decode_tx.go
@@ -3,6 +3,7 @@ package main
import (
"encoding/base64"
"fmt"
+
cosmostxpb "github.com/cosmos/cosmos-sdk/types/tx"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
)
diff --git a/examples/chain/38_MsgLiquidate/example.go b/examples/chain/38_MsgLiquidate/example.go
index 4f94bacc..c43327b7 100644
--- a/examples/chain/38_MsgLiquidate/example.go
+++ b/examples/chain/38_MsgLiquidate/example.go
@@ -5,6 +5,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
@@ -53,12 +54,11 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
- return
+ panic(err)
}
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
diff --git a/examples/chain/39_GetTx/example.go b/examples/chain/39_GetTx/example.go
index 8b462a07..c41869e8 100644
--- a/examples/chain/39_GetTx/example.go
+++ b/examples/chain/39_GetTx/example.go
@@ -6,6 +6,7 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
@@ -19,7 +20,7 @@ func main() {
tmRPC, err := rpchttp.New(network.TmEndpoint, "/websocket")
if err != nil {
- fmt.Println(err)
+ panic(err)
}
senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
@@ -43,7 +44,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmRPC)
@@ -51,14 +52,16 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
- timeOutCtx, cancelFn := context.WithTimeout(context.Background(), 30*time.Second)
+ ctx := context.Background()
+
+ timeOutCtx, cancelFn := context.WithTimeout(ctx, 30*time.Second)
defer cancelFn()
resp, err := chainClient.GetTx(timeOutCtx, "A2B2B971C690AE7977451D24D6F450AECE6BCCB271E91E32C2563342DDA5254B")
diff --git a/examples/chain/3_MsgCreateSpotLimitOrder/example.go b/examples/chain/3_MsgCreateSpotLimitOrder/example.go
index dc9d8577..0f228f36 100644
--- a/examples/chain/3_MsgCreateSpotLimitOrder/example.go
+++ b/examples/chain/3_MsgCreateSpotLimitOrder/example.go
@@ -1,10 +1,15 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
@@ -45,15 +50,25 @@ func main() {
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
- return
+ panic(err)
}
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
@@ -63,13 +78,19 @@ func main() {
amount := decimal.NewFromFloat(2)
price := decimal.NewFromFloat(22.55)
- order := chainClient.SpotOrder(defaultSubaccountID, network, &chainclient.SpotOrderData{
- OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
- Quantity: amount,
- Price: price,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- })
+ order := chainClient.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: amount,
+ Price: price,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgCreateSpotLimitOrder)
msg.Sender = senderAddress.String()
diff --git a/examples/chain/40_ChainStream/example.go b/examples/chain/40_ChainStream/example.go
new file mode 100644
index 00000000..7279f0e2
--- /dev/null
+++ b/examples/chain/40_ChainStream/example.go
@@ -0,0 +1,101 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ chainStreamModule "github.com/InjectiveLabs/sdk-go/chain/stream/types"
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ "",
+ nil,
+ )
+ if err != nil {
+ panic(err)
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ subaccountId := "0xbdaedec95d563fb05240d6e01821008454c24c36000000000000000000000000"
+
+ injUsdtMarket := "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"
+ injUsdtPerpMarket := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
+
+ req := chainStreamModule.StreamRequest{
+ BankBalancesFilter: &chainStreamModule.BankBalancesFilter{
+ Accounts: []string{"*"},
+ },
+ SpotOrdersFilter: &chainStreamModule.OrdersFilter{
+ MarketIds: []string{injUsdtMarket},
+ SubaccountIds: []string{subaccountId},
+ },
+ DerivativeOrdersFilter: &chainStreamModule.OrdersFilter{
+ MarketIds: []string{injUsdtPerpMarket},
+ SubaccountIds: []string{subaccountId},
+ },
+ SpotTradesFilter: &chainStreamModule.TradesFilter{
+ MarketIds: []string{injUsdtMarket},
+ SubaccountIds: []string{"*"},
+ },
+ SubaccountDepositsFilter: &chainStreamModule.SubaccountDepositsFilter{
+ SubaccountIds: []string{subaccountId},
+ },
+ DerivativeOrderbooksFilter: &chainStreamModule.OrderbookFilter{
+ MarketIds: []string{injUsdtPerpMarket},
+ },
+ SpotOrderbooksFilter: &chainStreamModule.OrderbookFilter{
+ MarketIds: []string{injUsdtMarket},
+ },
+ PositionsFilter: &chainStreamModule.PositionsFilter{
+ SubaccountIds: []string{subaccountId},
+ MarketIds: []string{injUsdtPerpMarket},
+ },
+ DerivativeTradesFilter: &chainStreamModule.TradesFilter{
+ SubaccountIds: []string{"*"},
+ MarketIds: []string{injUsdtPerpMarket},
+ },
+ OraclePriceFilter: &chainStreamModule.OraclePriceFilter{
+ Symbol: []string{"INJ", "USDT"},
+ },
+ }
+
+ ctx := context.Background()
+
+ stream, err := chainClient.ChainStream(ctx, req)
+ if err != nil {
+ panic(err)
+ }
+
+ for {
+ select {
+ case <-ctx.Done():
+ return
+ default:
+ res, err := stream.Recv()
+ if err != nil {
+ panic(err)
+ return
+ }
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+ }
+ }
+}
diff --git a/examples/chain/41_BroadcastMsgWithoutSimulation/example.go b/examples/chain/41_BroadcastMsgWithoutSimulation/example.go
new file mode 100644
index 00000000..044e2e4f
--- /dev/null
+++ b/examples/chain/41_BroadcastMsgWithoutSimulation/example.go
@@ -0,0 +1,109 @@
+package main
+
+import (
+ "context"
+ "fmt"
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+ "github.com/shopspring/decimal"
+
+ exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient).WithSimulation(false)
+
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
+ txFactory := chainclient.NewTxFactory(clientCtx)
+ txFactory = txFactory.WithGasPrices(client.DefaultGasPriceWithDenom)
+ txFactory = txFactory.WithGas(uint64(txFactory.GasAdjustment() * 140000))
+
+ clientInstance, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionTxFactory(&txFactory),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ defaultSubaccountID := clientInstance.DefaultSubaccount(senderAddress)
+
+ marketId := "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"
+
+ amount := decimal.NewFromFloat(1)
+ price := decimal.NewFromFloat(4.55)
+
+ order := clientInstance.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: amount,
+ Price: price,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
+
+ msg := new(exchangetypes.MsgCreateSpotLimitOrder)
+ msg.Sender = senderAddress.String()
+ msg.Order = exchangetypes.SpotOrder(*order)
+
+ result, err := clientInstance.SyncBroadcastMsg(msg)
+
+ if err != nil {
+ panic(err)
+ }
+
+ fmt.Printf("Broadcast result: %s\n", result)
+
+}
diff --git a/examples/chain/42_BankSpendableBalances/example.go b/examples/chain/42_BankSpendableBalances/example.go
new file mode 100644
index 00000000..46dfb55e
--- /dev/null
+++ b/examples/chain/42_BankSpendableBalances/example.go
@@ -0,0 +1,73 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ address := "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku"
+ pagination := query.PageRequest{Limit: 10}
+ ctx := context.Background()
+
+ res, err := chainClient.GetBankSpendableBalances(ctx, address, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/43_BankSpendableBalancesByDenom/example.go b/examples/chain/43_BankSpendableBalancesByDenom/example.go
new file mode 100644
index 00000000..e087f283
--- /dev/null
+++ b/examples/chain/43_BankSpendableBalancesByDenom/example.go
@@ -0,0 +1,71 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ address := "inj14au322k9munkmx5wrchz9q30juf5wjgz2cfqku"
+ denom := "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"
+ ctx := context.Background()
+
+ res, err := chainClient.GetBankSpendableBalancesByDenom(ctx, address, denom)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/44_BankTotalSupply/example.go b/examples/chain/44_BankTotalSupply/example.go
new file mode 100644
index 00000000..092bf82f
--- /dev/null
+++ b/examples/chain/44_BankTotalSupply/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ pagination := query.PageRequest{Limit: 10}
+ ctx := context.Background()
+
+ res, err := chainClient.GetBankTotalSupply(ctx, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/45_BankSupplyOf/example.go b/examples/chain/45_BankSupplyOf/example.go
new file mode 100644
index 00000000..869c791d
--- /dev/null
+++ b/examples/chain/45_BankSupplyOf/example.go
@@ -0,0 +1,70 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ denom := "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"
+ ctx := context.Background()
+
+ res, err := chainClient.GetBankSupplyOf(ctx, denom)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/46_DenomMetadata/example.go b/examples/chain/46_DenomMetadata/example.go
new file mode 100644
index 00000000..15a37935
--- /dev/null
+++ b/examples/chain/46_DenomMetadata/example.go
@@ -0,0 +1,70 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ denom := "factory/inj107aqkjc3t5r3l9j4n9lgrma5tm3jav8qgppz6m/position"
+ ctx := context.Background()
+
+ res, err := chainClient.GetDenomMetadata(ctx, denom)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/47_DenomsMetadata/example.go b/examples/chain/47_DenomsMetadata/example.go
new file mode 100644
index 00000000..f456f333
--- /dev/null
+++ b/examples/chain/47_DenomsMetadata/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ pagination := query.PageRequest{Limit: 10}
+ ctx := context.Background()
+
+ res, err := chainClient.GetDenomsMetadata(ctx, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/48_DenomOwners/example.go b/examples/chain/48_DenomOwners/example.go
new file mode 100644
index 00000000..e40b1d82
--- /dev/null
+++ b/examples/chain/48_DenomOwners/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ denom := "factory/inj107aqkjc3t5r3l9j4n9lgrma5tm3jav8qgppz6m/position"
+ pagination := query.PageRequest{Limit: 10}
+ ctx := context.Background()
+
+ res, err := chainClient.GetDenomOwners(ctx, denom, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/49_BankSendEnabled/example.go b/examples/chain/49_BankSendEnabled/example.go
new file mode 100644
index 00000000..69ae56fd
--- /dev/null
+++ b/examples/chain/49_BankSendEnabled/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ denoms := []string{"factory/inj107aqkjc3t5r3l9j4n9lgrma5tm3jav8qgppz6m/position"}
+ pagination := query.PageRequest{Limit: 10}
+ ctx := context.Background()
+
+ res, err := chainClient.GetBankSendEnabled(ctx, denoms, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/4_MsgCreateSpotMarketOrder/example.go b/examples/chain/4_MsgCreateSpotMarketOrder/example.go
index e5fb0a5a..8c9f30e6 100644
--- a/examples/chain/4_MsgCreateSpotMarketOrder/example.go
+++ b/examples/chain/4_MsgCreateSpotMarketOrder/example.go
@@ -1,10 +1,15 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
+ "github.com/InjectiveLabs/sdk-go/client"
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
@@ -41,20 +46,30 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
- return
+ panic(err)
}
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
@@ -63,13 +78,19 @@ func main() {
amount := decimal.NewFromFloat(0.1)
price := decimal.NewFromFloat(22)
- order := chainClient.SpotOrder(defaultSubaccountID, network, &chainclient.SpotOrderData{
- OrderType: exchangetypes.OrderType_SELL, //BUY SELL
- Quantity: amount,
- Price: price,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- })
+ order := chainClient.CreateSpotOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.SpotOrderData{
+ OrderType: exchangetypes.OrderType_SELL, //BUY SELL
+ Quantity: amount,
+ Price: price,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgCreateSpotMarketOrder)
msg.Sender = senderAddress.String()
diff --git a/examples/chain/50_ContractInfo/example.go b/examples/chain/50_ContractInfo/example.go
new file mode 100644
index 00000000..22f30995
--- /dev/null
+++ b/examples/chain/50_ContractInfo/example.go
@@ -0,0 +1,70 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ address := "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"
+ ctx := context.Background()
+
+ res, err := chainClient.FetchContractInfo(ctx, address)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/51_ContractHistory/example.go b/examples/chain/51_ContractHistory/example.go
new file mode 100644
index 00000000..1961d612
--- /dev/null
+++ b/examples/chain/51_ContractHistory/example.go
@@ -0,0 +1,73 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ address := "inj18pp4vjwucpgg4nw3rr4wh4zyjg9ct5t8v9wqgj"
+ pagination := query.PageRequest{Limit: 2}
+ ctx := context.Background()
+
+ res, err := chainClient.FetchContractHistory(ctx, address, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/52_ContractsByCode/example.go b/examples/chain/52_ContractsByCode/example.go
new file mode 100644
index 00000000..64aad253
--- /dev/null
+++ b/examples/chain/52_ContractsByCode/example.go
@@ -0,0 +1,73 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ codeId := uint64(3770)
+ pagination := query.PageRequest{Limit: 2}
+ ctx := context.Background()
+
+ res, err := chainClient.FetchContractsByCode(ctx, codeId, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/53_AllContractsState/example.go b/examples/chain/53_AllContractsState/example.go
new file mode 100644
index 00000000..4f4f89a9
--- /dev/null
+++ b/examples/chain/53_AllContractsState/example.go
@@ -0,0 +1,73 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ address := "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"
+ pagination := query.PageRequest{Limit: 2}
+ ctx := context.Background()
+
+ res, err := chainClient.FetchAllContractsState(ctx, address, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/54_RawContractState/example.go b/examples/chain/54_RawContractState/example.go
new file mode 100644
index 00000000..a2056ab8
--- /dev/null
+++ b/examples/chain/54_RawContractState/example.go
@@ -0,0 +1,70 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ address := "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"
+ queryData := []byte("{\"get_count\": {}}")
+ ctx := context.Background()
+
+ res, err := chainClient.RawContractState(ctx, address, queryData)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/55_SmartContractState/example.go b/examples/chain/55_SmartContractState/example.go
new file mode 100644
index 00000000..e98b3b14
--- /dev/null
+++ b/examples/chain/55_SmartContractState/example.go
@@ -0,0 +1,70 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ address := "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7"
+ queryData := []byte("{\"get_count\": {}}")
+ ctx := context.Background()
+
+ res, err := chainClient.SmartContractState(ctx, address, queryData)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/56_SmartContractCode/example.go b/examples/chain/56_SmartContractCode/example.go
new file mode 100644
index 00000000..31dae7b2
--- /dev/null
+++ b/examples/chain/56_SmartContractCode/example.go
@@ -0,0 +1,69 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ codeId := uint64(290)
+ ctx := context.Background()
+
+ res, err := chainClient.FetchCode(ctx, codeId)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/57_SmartContractCodes/example.go b/examples/chain/57_SmartContractCodes/example.go
new file mode 100644
index 00000000..301879c8
--- /dev/null
+++ b/examples/chain/57_SmartContractCodes/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ pagination := query.PageRequest{Limit: 2}
+ ctx := context.Background()
+
+ res, err := chainClient.FetchCodes(ctx, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/58_SmartContractPinnedCodes/example.go b/examples/chain/58_SmartContractPinnedCodes/example.go
new file mode 100644
index 00000000..6b2a8882
--- /dev/null
+++ b/examples/chain/58_SmartContractPinnedCodes/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ pagination := query.PageRequest{Limit: 2}
+ ctx := context.Background()
+
+ res, err := chainClient.FetchPinnedCodes(ctx, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/59_ContractsByCreator/example.go b/examples/chain/59_ContractsByCreator/example.go
new file mode 100644
index 00000000..cc0aa236
--- /dev/null
+++ b/examples/chain/59_ContractsByCreator/example.go
@@ -0,0 +1,73 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/cosmos/cosmos-sdk/types/query"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ creator := "inj1h3gepa4tszh66ee67he53jzmprsqc2l9npq3ty"
+ pagination := query.PageRequest{Limit: 2}
+ ctx := context.Background()
+
+ res, err := chainClient.FetchContractsByCreator(ctx, creator, &pagination)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/5_MsgCancelSpotOrder/example.go b/examples/chain/5_MsgCancelSpotOrder/example.go
index 8c5cc2c7..f42ec5cc 100644
--- a/examples/chain/5_MsgCancelSpotOrder/example.go
+++ b/examples/chain/5_MsgCancelSpotOrder/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -40,26 +42,26 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
- msg := &exchangetypes.MsgCancelSpotOrder{
- Sender: senderAddress.String(),
- MarketId: "0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0",
- SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
- OrderHash: "0xc1dd07efb7cf3a90c3d09da958fa22d96a5787eba3dbec56b63902c482accbd4",
- }
-
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
+ }
+
+ msg := &exchangetypes.MsgCancelSpotOrder{
+ Sender: senderAddress.String(),
+ MarketId: "0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0",
+ SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
+ OrderHash: "0xc1dd07efb7cf3a90c3d09da958fa22d96a5787eba3dbec56b63902c482accbd4",
}
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/chain/60_DenomAuthorityMetadata/example.go b/examples/chain/60_DenomAuthorityMetadata/example.go
new file mode 100644
index 00000000..848d7974
--- /dev/null
+++ b/examples/chain/60_DenomAuthorityMetadata/example.go
@@ -0,0 +1,71 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ creator := "inj1uv6psuupldve0c9n3uezqlecadszqexv5vxx04"
+ subDenom := "position"
+ ctx := context.Background()
+
+ res, err := chainClient.FetchDenomAuthorityMetadata(ctx, creator, subDenom)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/61_DenomsFromCreator/example.go b/examples/chain/61_DenomsFromCreator/example.go
new file mode 100644
index 00000000..5d2b4b8a
--- /dev/null
+++ b/examples/chain/61_DenomsFromCreator/example.go
@@ -0,0 +1,70 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ creator := "inj1maeyvxfamtn8lfyxpjca8kuvauuf2qeu6gtxm3"
+ ctx := context.Background()
+
+ res, err := chainClient.FetchDenomsFromCreator(ctx, creator)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/62_TokenfactoryModuleState/example.go b/examples/chain/62_TokenfactoryModuleState/example.go
new file mode 100644
index 00000000..18ceaa1e
--- /dev/null
+++ b/examples/chain/62_TokenfactoryModuleState/example.go
@@ -0,0 +1,69 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "os"
+
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "5d386fbdbf11f1141010f81a46b40f94887367562bd33b452bbaa6ce1cd1381e", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+
+ res, err := chainClient.FetchTokenfactoryModuleState(ctx)
+ if err != nil {
+ fmt.Println(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+
+}
diff --git a/examples/chain/64_CreateDenom/example.go b/examples/chain/64_CreateDenom/example.go
new file mode 100644
index 00000000..0ced42bf
--- /dev/null
+++ b/examples/chain/64_CreateDenom/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "encoding/json"
+ "fmt"
+ "os"
+
+ tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ message := new(tokenfactorytypes.MsgCreateDenom)
+ message.Sender = senderAddress.String()
+ message.Subdenom = "inj_test"
+ message.Name = "Injective Test Token"
+ message.Symbol = "INJTEST"
+
+ //AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
+ response, err := chainClient.AsyncBroadcastMsg(message)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/chain/65_MsgMint/example.go b/examples/chain/65_MsgMint/example.go
new file mode 100644
index 00000000..26a43830
--- /dev/null
+++ b/examples/chain/65_MsgMint/example.go
@@ -0,0 +1,74 @@
+package main
+
+import (
+ "encoding/json"
+ "fmt"
+ "os"
+
+ tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ sdktypes "github.com/cosmos/cosmos-sdk/types"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ message := new(tokenfactorytypes.MsgMint)
+ message.Sender = senderAddress.String()
+ message.Amount = sdktypes.Coin{
+ Denom: "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test",
+ Amount: sdktypes.NewInt(1000000000),
+ }
+
+ //AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
+ response, err := chainClient.AsyncBroadcastMsg(message)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/chain/66_MsgBurn/example.go b/examples/chain/66_MsgBurn/example.go
new file mode 100644
index 00000000..35c6cc64
--- /dev/null
+++ b/examples/chain/66_MsgBurn/example.go
@@ -0,0 +1,74 @@
+package main
+
+import (
+ "encoding/json"
+ "fmt"
+ "os"
+
+ tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ sdktypes "github.com/cosmos/cosmos-sdk/types"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ message := new(tokenfactorytypes.MsgBurn)
+ message.Sender = senderAddress.String()
+ message.Amount = sdktypes.Coin{
+ Denom: "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test",
+ Amount: sdktypes.NewInt(100),
+ }
+
+ //AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
+ response, err := chainClient.AsyncBroadcastMsg(message)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/chain/67_MsgSetDenomMetadata/example.go b/examples/chain/67_MsgSetDenomMetadata/example.go
new file mode 100644
index 00000000..d5787500
--- /dev/null
+++ b/examples/chain/67_MsgSetDenomMetadata/example.go
@@ -0,0 +1,97 @@
+package main
+
+import (
+ "encoding/json"
+ "fmt"
+ "os"
+
+ tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+ banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ denom := "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+ subdenom := "inj_test"
+ tokenDecimals := uint32(6)
+
+ microDenomUnit := banktypes.DenomUnit{
+ Denom: denom,
+ Exponent: 0,
+ Aliases: []string{fmt.Sprintf("micro%s", subdenom)},
+ }
+ denomUnit := banktypes.DenomUnit{
+ Denom: subdenom,
+ Exponent: tokenDecimals,
+ Aliases: []string{subdenom},
+ }
+
+ metadata := banktypes.Metadata{
+ Description: "Injective Test Token",
+ DenomUnits: []*banktypes.DenomUnit{µDenomUnit, &denomUnit},
+ Base: denom,
+ Display: subdenom,
+ Name: "Injective Test",
+ Symbol: "INJTEST",
+ URI: "http://injective-test.com/icon.jpg",
+ URIHash: "",
+ }
+
+ message := new(tokenfactorytypes.MsgSetDenomMetadata)
+ message.Sender = senderAddress.String()
+ message.Metadata = metadata
+
+ //AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
+ response, err := chainClient.AsyncBroadcastMsg(message)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/chain/68_MsgChangeAdmin/example.go b/examples/chain/68_MsgChangeAdmin/example.go
new file mode 100644
index 00000000..a9371ebb
--- /dev/null
+++ b/examples/chain/68_MsgChangeAdmin/example.go
@@ -0,0 +1,72 @@
+package main
+
+import (
+ "encoding/json"
+ "fmt"
+ "os"
+
+ tokenfactorytypes "github.com/InjectiveLabs/sdk-go/chain/tokenfactory/types"
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ message := new(tokenfactorytypes.MsgChangeAdmin)
+ message.Sender = senderAddress.String()
+ message.Denom = "factory/inj1hkhdaj2a2clmq5jq6mspsggqs32vynpk228q3r/inj_test"
+ // This is the zero address to remove admin permissions
+ message.NewAdmin = "inj1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqe2hm49"
+
+ //AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
+ response, err := chainClient.AsyncBroadcastMsg(message)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/chain/69_MsgExecuteContractCompat/example.go b/examples/chain/69_MsgExecuteContractCompat/example.go
new file mode 100644
index 00000000..dc405028
--- /dev/null
+++ b/examples/chain/69_MsgExecuteContractCompat/example.go
@@ -0,0 +1,89 @@
+package main
+
+import (
+ "encoding/json"
+ "fmt"
+ "os"
+
+ wasmxtypes "github.com/InjectiveLabs/sdk-go/chain/wasmx/types"
+ "github.com/InjectiveLabs/sdk-go/client"
+ chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ rpchttp "github.com/cometbft/cometbft/rpc/client/http"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ tmClient, err := rpchttp.New(network.TmEndpoint, "/websocket")
+ if err != nil {
+ panic(err)
+ }
+
+ senderAddress, cosmosKeyring, err := chainclient.InitCosmosKeyring(
+ os.Getenv("HOME")+"/.injectived",
+ "injectived",
+ "file",
+ "inj-user",
+ "12345678",
+ "f9db9bf330e23cb7839039e944adef6e9df447b90b503d5b4464c90bea9022f3", // keyring will be used if pk not provided
+ false,
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ clientCtx, err := chainclient.NewClientContext(
+ network.ChainId,
+ senderAddress.String(),
+ cosmosKeyring,
+ )
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+
+ chainClient, err := chainclient.NewChainClient(
+ clientCtx,
+ network,
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
+ )
+
+ if err != nil {
+ panic(err)
+ }
+
+ firstAmount := 69
+ firstToken := "factory/inj1hdvy6tl89llqy3ze8lv6mz5qh66sx9enn0jxg6/inj12ngevx045zpvacus9s6anr258gkwpmthnz80e9"
+ secondAmount := 420
+ secondToken := "peggy0x44C21afAaF20c270EBbF5914Cfc3b5022173FEB7"
+ thirdAmount := 1
+ thirdToken := "peggy0x87aB3B4C8661e07D6372361211B96ed4Dc36B1B5"
+ funds := fmt.Sprintf(
+ "%v%s,%v%s,%v%s",
+ firstAmount,
+ firstToken,
+ secondAmount,
+ secondToken,
+ thirdAmount,
+ thirdToken,
+ )
+
+ message := wasmxtypes.MsgExecuteContractCompat{
+ Sender: senderAddress.String(),
+ Contract: "inj1ady3s7whq30l4fx8sj3x6muv5mx4dfdlcpv8n7",
+ Msg: "{\"increment\": {}}",
+ Funds: funds,
+ }
+
+ //AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
+ response, err := chainClient.AsyncBroadcastMsg(&message)
+
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(response, "", " ")
+ fmt.Println(string(str))
+}
diff --git a/examples/chain/6_MsgCreateDerivativeLimitOrder/example.go b/examples/chain/6_MsgCreateDerivativeLimitOrder/example.go
index 44b31b50..57f615e9 100644
--- a/examples/chain/6_MsgCreateDerivativeLimitOrder/example.go
+++ b/examples/chain/6_MsgCreateDerivativeLimitOrder/example.go
@@ -1,17 +1,21 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ "github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
- cosmtypes "github.com/cosmos/cosmos-sdk/types"
)
func main() {
@@ -42,37 +46,54 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
amount := decimal.NewFromFloat(0.001)
- price := cosmtypes.MustNewDecFromStr("31000000000") //31,000
- leverage := cosmtypes.MustNewDecFromStr("2.5")
-
- order := chainClient.DerivativeOrder(defaultSubaccountID, network, &chainclient.DerivativeOrderData{
- OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
- Quantity: amount,
- Price: price,
- Leverage: leverage,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- IsReduceOnly: true,
- })
+ price := decimal.RequireFromString("31000") //31,000
+ leverage := decimal.RequireFromString("2.5")
+
+ order := chainClient.CreateDerivativeOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.DerivativeOrderData{
+ OrderType: exchangetypes.OrderType_BUY, //BUY SELL BUY_PO SELL_PO
+ Quantity: amount,
+ Price: price,
+ Leverage: leverage,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ IsReduceOnly: true,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgCreateDerivativeLimitOrder)
msg.Sender = senderAddress.String()
@@ -81,14 +102,14 @@ func main() {
simRes, err := chainClient.SimulateMsg(clientCtx, msg)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
msgCreateDerivativeLimitOrderResponse := exchangetypes.MsgCreateDerivativeLimitOrderResponse{}
err = msgCreateDerivativeLimitOrderResponse.Unmarshal(simRes.Result.MsgResponses[0].Value)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
fmt.Println("simulated order hash", msgCreateDerivativeLimitOrderResponse.OrderHash)
diff --git a/examples/chain/7_MsgCreateDerivativeMarketOrder/example.go b/examples/chain/7_MsgCreateDerivativeMarketOrder/example.go
index e1f7e484..5eae8eee 100644
--- a/examples/chain/7_MsgCreateDerivativeMarketOrder/example.go
+++ b/examples/chain/7_MsgCreateDerivativeMarketOrder/example.go
@@ -1,17 +1,21 @@
package main
import (
+ "context"
"fmt"
"os"
"time"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ "github.com/google/uuid"
+
"github.com/InjectiveLabs/sdk-go/client/common"
"github.com/shopspring/decimal"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
+ "github.com/InjectiveLabs/sdk-go/client"
chainclient "github.com/InjectiveLabs/sdk-go/client/chain"
rpchttp "github.com/cometbft/cometbft/rpc/client/http"
- cosmtypes "github.com/cosmos/cosmos-sdk/types"
)
func main() {
@@ -48,33 +52,49 @@ func main() {
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketsAssistant, err := chainclient.NewMarketsAssistantInitializedFromChain(ctx, exchangeClient)
+ if err != nil {
+ panic(err)
+ }
+
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
- return
+ panic(err)
}
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
amount := decimal.NewFromFloat(0.01)
- price := cosmtypes.MustNewDecFromStr("33000000000") //33,000
- leverage := cosmtypes.MustNewDecFromStr("2.5")
-
- order := chainClient.DerivativeOrder(defaultSubaccountID, network, &chainclient.DerivativeOrderData{
- OrderType: exchangetypes.OrderType_SELL, //BUY SELL
- Quantity: amount,
- Price: price,
- Leverage: leverage,
- FeeRecipient: senderAddress.String(),
- MarketId: marketId,
- IsReduceOnly: true,
- })
+ price := decimal.RequireFromString("33000") //33,000
+ leverage := decimal.RequireFromString("2.5")
+
+ order := chainClient.CreateDerivativeOrder(
+ defaultSubaccountID,
+ network,
+ &chainclient.DerivativeOrderData{
+ OrderType: exchangetypes.OrderType_SELL, //BUY SELL
+ Quantity: amount,
+ Price: price,
+ Leverage: leverage,
+ FeeRecipient: senderAddress.String(),
+ MarketId: marketId,
+ IsReduceOnly: true,
+ Cid: uuid.NewString(),
+ },
+ marketsAssistant,
+ )
msg := new(exchangetypes.MsgCreateDerivativeMarketOrder)
msg.Sender = senderAddress.String()
@@ -83,16 +103,14 @@ func main() {
simRes, err := chainClient.SimulateMsg(clientCtx, msg)
if err != nil {
- fmt.Println(err)
- return
+ panic(err)
}
msgCreateDerivativeMarketOrderResponse := exchangetypes.MsgCreateDerivativeMarketOrderResponse{}
err = msgCreateDerivativeMarketOrderResponse.Unmarshal(simRes.Result.MsgResponses[0].Value)
if err != nil {
- fmt.Println(err)
- return
+ panic(err)
}
fmt.Println("simulated order hash", msgCreateDerivativeMarketOrderResponse.OrderHash)
diff --git a/examples/chain/8_MsgCancelDerivativeOrder/example.go b/examples/chain/8_MsgCancelDerivativeOrder/example.go
index 170eb6da..dd5972d2 100644
--- a/examples/chain/8_MsgCancelDerivativeOrder/example.go
+++ b/examples/chain/8_MsgCancelDerivativeOrder/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -40,26 +42,26 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
- msg := &exchangetypes.MsgCancelDerivativeOrder{
- Sender: senderAddress.String(),
- MarketId: "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce",
- SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
- OrderHash: "0x8cf97e586c0d84cd7864ccc8916b886557120d84fc97a21ae193b67882835ec5",
- }
-
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
+ }
+
+ msg := &exchangetypes.MsgCancelDerivativeOrder{
+ Sender: senderAddress.String(),
+ MarketId: "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce",
+ SubaccountId: "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000",
+ OrderHash: "0x8cf97e586c0d84cd7864ccc8916b886557120d84fc97a21ae193b67882835ec5",
}
//AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/chain/9_MsgBatchCancelSpotOrders/example.go b/examples/chain/9_MsgBatchCancelSpotOrders/example.go
index 9a2ab2b7..2734d9f8 100644
--- a/examples/chain/9_MsgBatchCancelSpotOrders/example.go
+++ b/examples/chain/9_MsgBatchCancelSpotOrders/example.go
@@ -5,6 +5,8 @@ import (
"os"
"time"
+ "github.com/InjectiveLabs/sdk-go/client"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangetypes "github.com/InjectiveLabs/sdk-go/chain/exchange/types"
@@ -41,7 +43,7 @@ func main() {
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
clientCtx = clientCtx.WithNodeURI(network.TmEndpoint).WithClient(tmClient)
@@ -49,26 +51,32 @@ func main() {
chainClient, err := chainclient.NewChainClient(
clientCtx,
network,
- common.OptionGasPrices("500000000inj"),
+ common.OptionGasPrices(client.DefaultGasPriceWithDenom),
)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
defaultSubaccountID := chainClient.DefaultSubaccount(senderAddress)
marketId := "0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"
orderHash := "0x17196096ffc32ad088ef959ad95b4cc247a87c7c9d45a2500b81ab8f5a71da5a"
+ cid := "666C5452-B563-445F-977B-539D79C482EE"
- order := chainClient.OrderCancel(defaultSubaccountID, &chainclient.OrderCancelData{
+ orderWithHash := chainClient.OrderCancel(defaultSubaccountID, &chainclient.OrderCancelData{
MarketId: marketId,
OrderHash: orderHash,
})
+ orderWithCid := chainClient.OrderCancel(defaultSubaccountID, &chainclient.OrderCancelData{
+ MarketId: marketId,
+ Cid: cid,
+ })
+
msg := new(exchangetypes.MsgBatchCancelSpotOrders)
msg.Sender = senderAddress.String()
- msg.Data = []exchangetypes.OrderData{*order}
+ msg.Data = []exchangetypes.OrderData{*orderWithHash, *orderWithCid}
CosMsgs := []cosmtypes.Msg{msg}
// AsyncBroadcastMsg, SyncBroadcastMsg, QueueBroadcastMsg
diff --git a/examples/exchange/accounts/5_SubaccountHistory/example.go b/examples/exchange/accounts/5_SubaccountHistory/example.go
index b8b54798..8dc67c4a 100644
--- a/examples/exchange/accounts/5_SubaccountHistory/example.go
+++ b/examples/exchange/accounts/5_SubaccountHistory/example.go
@@ -32,7 +32,7 @@ func main() {
Limit: limit,
}
- res, err := exchangeClient.GetSubaccountHistory(ctx, req)
+ res, err := exchangeClient.GetSubaccountHistory(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/accounts/6_SubaccountOrderSummary/example.go b/examples/exchange/accounts/6_SubaccountOrderSummary/example.go
index 01176ee3..bc8da227 100644
--- a/examples/exchange/accounts/6_SubaccountOrderSummary/example.go
+++ b/examples/exchange/accounts/6_SubaccountOrderSummary/example.go
@@ -27,7 +27,7 @@ func main() {
OrderDirection: orderDirection,
}
- res, err := exchangeClient.GetSubaccountOrderSummary(ctx, req)
+ res, err := exchangeClient.GetSubaccountOrderSummary(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/accounts/7_OrderStates/example.go b/examples/exchange/accounts/7_OrderStates/example.go
index 1db56f65..f6b849da 100644
--- a/examples/exchange/accounts/7_OrderStates/example.go
+++ b/examples/exchange/accounts/7_OrderStates/example.go
@@ -26,7 +26,7 @@ func main() {
DerivativeOrderHashes: derivativeOrderHashes,
}
- res, err := exchangeClient.GetOrderStates(ctx, req)
+ res, err := exchangeClient.GetOrderStates(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/accounts/9_Rewards/example.go b/examples/exchange/accounts/9_Rewards/example.go
index af024703..3cdc0330 100644
--- a/examples/exchange/accounts/9_Rewards/example.go
+++ b/examples/exchange/accounts/9_Rewards/example.go
@@ -26,7 +26,7 @@ func main() {
AccountAddress: accountAddress,
}
- res, err := exchangeClient.GetRewards(ctx, req)
+ res, err := exchangeClient.GetRewards(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/auction/1_Auction/example.go b/examples/exchange/auction/1_Auction/example.go
index 2a806326..e5d63775 100644
--- a/examples/exchange/auction/1_Auction/example.go
+++ b/examples/exchange/auction/1_Auction/example.go
@@ -13,7 +13,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
diff --git a/examples/exchange/auction/2_Auctions/example.go b/examples/exchange/auction/2_Auctions/example.go
index e2234b27..52310655 100644
--- a/examples/exchange/auction/2_Auctions/example.go
+++ b/examples/exchange/auction/2_Auctions/example.go
@@ -13,7 +13,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
diff --git a/examples/exchange/auction/3_StreamBids/example.go b/examples/exchange/auction/3_StreamBids/example.go
index 5fd20e0d..e30a2405 100644
--- a/examples/exchange/auction/3_StreamBids/example.go
+++ b/examples/exchange/auction/3_StreamBids/example.go
@@ -13,14 +13,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
stream, err := exchangeClient.StreamBids(ctx)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/derivatives/10_StreamPositions/example.go b/examples/exchange/derivatives/10_StreamPositions/example.go
index 23f38139..af23ee70 100644
--- a/examples/exchange/derivatives/10_StreamPositions/example.go
+++ b/examples/exchange/derivatives/10_StreamPositions/example.go
@@ -25,7 +25,7 @@ func main() {
MarketId: marketId,
SubaccountId: subaccountId,
}
- stream, err := exchangeClient.StreamDerivativePositions(ctx, req)
+ stream, err := exchangeClient.StreamDerivativePositions(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/11_StreamOrders/example.go b/examples/exchange/derivatives/11_StreamOrders/example.go
index 393bc86b..245d6f69 100644
--- a/examples/exchange/derivatives/11_StreamOrders/example.go
+++ b/examples/exchange/derivatives/11_StreamOrders/example.go
@@ -27,7 +27,7 @@ func main() {
SubaccountId: subaccountId,
OrderSide: orderSide,
}
- stream, err := exchangeClient.StreamDerivativeOrders(ctx, req)
+ stream, err := exchangeClient.StreamDerivativeOrders(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/12_Trades/example.go b/examples/exchange/derivatives/12_Trades/example.go
index fe2947aa..2a5712c8 100644
--- a/examples/exchange/derivatives/12_Trades/example.go
+++ b/examples/exchange/derivatives/12_Trades/example.go
@@ -14,7 +14,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -26,9 +26,9 @@ func main() {
SubaccountId: subaccountId,
}
- res, err := exchangeClient.GetDerivativeTrades(ctx, req)
+ res, err := exchangeClient.GetDerivativeTrades(ctx, &req)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
str, _ := json.MarshalIndent(res, "", " ")
diff --git a/examples/exchange/derivatives/13_StreamTrades/example.go b/examples/exchange/derivatives/13_StreamTrades/example.go
index a94c49f7..02239ad5 100644
--- a/examples/exchange/derivatives/13_StreamTrades/example.go
+++ b/examples/exchange/derivatives/13_StreamTrades/example.go
@@ -26,7 +26,7 @@ func main() {
MarketId: marketId,
SubaccountId: subaccountId,
}
- stream, err := exchangeClient.StreamDerivativeTrades(ctx, req)
+ stream, err := exchangeClient.StreamDerivativeTrades(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/14_SubaccountOrdersList/example.go b/examples/exchange/derivatives/14_SubaccountOrdersList/example.go
index c8cd6db6..0177193e 100644
--- a/examples/exchange/derivatives/14_SubaccountOrdersList/example.go
+++ b/examples/exchange/derivatives/14_SubaccountOrdersList/example.go
@@ -31,7 +31,7 @@ func main() {
Limit: limit,
}
- res, err := exchangeClient.GetSubaccountDerivativeOrdersList(ctx, req)
+ res, err := exchangeClient.GetSubaccountDerivativeOrdersList(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/15_SubaccountTradesList/example.go b/examples/exchange/derivatives/15_SubaccountTradesList/example.go
index 2b8a1d04..2bf30a1e 100644
--- a/examples/exchange/derivatives/15_SubaccountTradesList/example.go
+++ b/examples/exchange/derivatives/15_SubaccountTradesList/example.go
@@ -31,7 +31,7 @@ func main() {
Limit: limit,
}
- res, err := exchangeClient.GetSubaccountDerivativeTradesList(ctx, req)
+ res, err := exchangeClient.GetSubaccountDerivativeTradesList(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/16_FundingPayments/example.go b/examples/exchange/derivatives/16_FundingPayments/example.go
index d1d960e0..8aa286c9 100644
--- a/examples/exchange/derivatives/16_FundingPayments/example.go
+++ b/examples/exchange/derivatives/16_FundingPayments/example.go
@@ -27,7 +27,7 @@ func main() {
SubaccountId: subaccountId,
}
- res, err := exchangeClient.GetDerivativeFundingPayments(ctx, req)
+ res, err := exchangeClient.GetDerivativeFundingPayments(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/17_FundingRates/example.go b/examples/exchange/derivatives/17_FundingRates/example.go
index 53c799af..0512f91a 100644
--- a/examples/exchange/derivatives/17_FundingRates/example.go
+++ b/examples/exchange/derivatives/17_FundingRates/example.go
@@ -25,7 +25,7 @@ func main() {
MarketId: marketId,
}
- res, err := exchangeClient.GetDerivativeFundingRates(ctx, req)
+ res, err := exchangeClient.GetDerivativeFundingRates(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/18_HistoricalOrders/example.go b/examples/exchange/derivatives/18_HistoricalOrders/example.go
new file mode 100644
index 00000000..718b6c00
--- /dev/null
+++ b/examples/exchange/derivatives/18_HistoricalOrders/example.go
@@ -0,0 +1,42 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
+ subaccountId := "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000"
+ skip := uint64(0)
+ limit := int32(10)
+ isConditional := "false"
+
+ req := derivativeExchangePB.OrdersHistoryRequest{
+ SubaccountId: subaccountId,
+ MarketId: marketId,
+ Skip: skip,
+ Limit: limit,
+ IsConditional: isConditional,
+ }
+
+ res, err := exchangeClient.GetHistoricalDerivativeOrders(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/exchange/derivatives/19_StreamHistoricalOrders/example.go b/examples/exchange/derivatives/19_StreamHistoricalOrders/example.go
new file mode 100644
index 00000000..3c49b01d
--- /dev/null
+++ b/examples/exchange/derivatives/19_StreamHistoricalOrders/example.go
@@ -0,0 +1,49 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
+ subaccountId := "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"
+ direction := "buy"
+
+ req := derivativeExchangePB.StreamOrdersHistoryRequest{
+ MarketId: marketId,
+ SubaccountId: subaccountId,
+ Direction: direction,
+ }
+ stream, err := exchangeClient.StreamHistoricalDerivativeOrders(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ for {
+ select {
+ case <-ctx.Done():
+ return
+ default:
+ res, err := stream.Recv()
+ if err != nil {
+ panic(err)
+ return
+ }
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+ }
+ }
+}
diff --git a/examples/exchange/derivatives/20_LiquidablePositions/example.go b/examples/exchange/derivatives/20_LiquidablePositions/example.go
new file mode 100644
index 00000000..3b28112d
--- /dev/null
+++ b/examples/exchange/derivatives/20_LiquidablePositions/example.go
@@ -0,0 +1,38 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ //marketId := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
+ skip := uint64(0)
+ limit := int32(10)
+
+ req := derivativeExchangePB.LiquidablePositionsRequest{
+ //MarketId: marketId,
+ Skip: skip,
+ Limit: limit,
+ }
+
+ res, err := exchangeClient.GetDerivativeLiquidablePositions(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/exchange/derivatives/21_TradesV2/example.go b/examples/exchange/derivatives/21_TradesV2/example.go
new file mode 100644
index 00000000..1edf4d98
--- /dev/null
+++ b/examples/exchange/derivatives/21_TradesV2/example.go
@@ -0,0 +1,36 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
+ subaccountId := "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"
+
+ req := derivativeExchangePB.TradesV2Request{
+ MarketId: marketId,
+ SubaccountId: subaccountId,
+ }
+
+ res, err := exchangeClient.GetDerivativeTradesV2(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/exchange/derivatives/22_StreamTradesV2/example.go b/examples/exchange/derivatives/22_StreamTradesV2/example.go
new file mode 100644
index 00000000..3d78df5d
--- /dev/null
+++ b/examples/exchange/derivatives/22_StreamTradesV2/example.go
@@ -0,0 +1,47 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ derivativeExchangePB "github.com/InjectiveLabs/sdk-go/exchange/derivative_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
+ subaccountId := "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"
+
+ req := derivativeExchangePB.StreamTradesV2Request{
+ MarketId: marketId,
+ SubaccountId: subaccountId,
+ }
+ stream, err := exchangeClient.StreamDerivativeV2Trades(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ for {
+ select {
+ case <-ctx.Done():
+ return
+ default:
+ res, err := stream.Recv()
+ if err != nil {
+ panic(err)
+ return
+ }
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+ }
+ }
+}
diff --git a/examples/exchange/derivatives/2_Markets/example.go b/examples/exchange/derivatives/2_Markets/example.go
index c4654980..97618d7a 100644
--- a/examples/exchange/derivatives/2_Markets/example.go
+++ b/examples/exchange/derivatives/2_Markets/example.go
@@ -27,7 +27,7 @@ func main() {
QuoteDenom: quoteDenom,
}
- res, err := exchangeClient.GetDerivativeMarkets(ctx, req)
+ res, err := exchangeClient.GetDerivativeMarkets(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/4_Orderbook/example.go b/examples/exchange/derivatives/4_Orderbook/example.go
index de4b2821..87ffff36 100644
--- a/examples/exchange/derivatives/4_Orderbook/example.go
+++ b/examples/exchange/derivatives/4_Orderbook/example.go
@@ -18,8 +18,8 @@ func main() {
}
ctx := context.Background()
- marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
- res, err := exchangeClient.GetDerivativeOrderbook(ctx, marketId)
+ marketId := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
+ res, err := exchangeClient.GetDerivativeOrderbookV2(ctx, marketId)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/5_Orderbooks/example.go b/examples/exchange/derivatives/5_Orderbooks/example.go
index 80c923c6..29681c50 100644
--- a/examples/exchange/derivatives/5_Orderbooks/example.go
+++ b/examples/exchange/derivatives/5_Orderbooks/example.go
@@ -19,7 +19,7 @@ func main() {
ctx := context.Background()
marketIds := []string{"0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"}
- res, err := exchangeClient.GetDerivativeOrderbooks(ctx, marketIds)
+ res, err := exchangeClient.GetDerivativeOrderbooksV2(ctx, marketIds)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/6_StreamOrderbook/example.go b/examples/exchange/derivatives/6_StreamOrderbook/example.go
index d6d90774..2979487e 100644
--- a/examples/exchange/derivatives/6_StreamOrderbook/example.go
+++ b/examples/exchange/derivatives/6_StreamOrderbook/example.go
@@ -12,14 +12,14 @@ func main() {
network := common.LoadNetwork("devnet-1", "")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
marketIds := []string{"0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"}
- stream, err := exchangeClient.StreamDerivativeOrderbook(ctx, marketIds)
+ stream, err := exchangeClient.StreamDerivativeOrderbookV2(ctx, marketIds)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/derivatives/8_Positions/example.go b/examples/exchange/derivatives/8_Positions/example.go
index 3597e475..3b11e289 100644
--- a/examples/exchange/derivatives/8_Positions/example.go
+++ b/examples/exchange/derivatives/8_Positions/example.go
@@ -19,19 +19,19 @@ func main() {
}
ctx := context.Background()
- marketId := "0x4ca0f92fc28be0c9761326016b5a1a2177dd6375558365116b5bdda9abc229ce"
+ marketId := "0x17ef48032cb24375ba7c2e39f384e56433bcab20cbee9a7357e4cba2eb00abe6"
subaccountId := "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"
skip := uint64(0)
limit := int32(10)
- req := derivativeExchangePB.PositionsRequest{
+ req := derivativeExchangePB.PositionsV2Request{
MarketId: marketId,
SubaccountId: subaccountId,
Skip: skip,
Limit: limit,
}
- res, err := exchangeClient.GetDerivativePositions(ctx, req)
+ res, err := exchangeClient.GetDerivativePositionsV2(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/derivatives/9_Orders/example.go b/examples/exchange/derivatives/9_Orders/example.go
index 30d07946..824ebd28 100644
--- a/examples/exchange/derivatives/9_Orders/example.go
+++ b/examples/exchange/derivatives/9_Orders/example.go
@@ -29,7 +29,7 @@ func main() {
Limit: limit,
}
- res, err := exchangeClient.GetDerivativeOrders(ctx, req)
+ res, err := exchangeClient.GetDerivativeOrders(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/insurance/1_InsuranceFunds/example.go b/examples/exchange/insurance/1_InsuranceFunds/example.go
index 83fde460..63abd806 100644
--- a/examples/exchange/insurance/1_InsuranceFunds/example.go
+++ b/examples/exchange/insurance/1_InsuranceFunds/example.go
@@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
insurancePB "github.com/InjectiveLabs/sdk-go/exchange/insurance_rpc/pb"
@@ -14,14 +15,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
req := insurancePB.FundsRequest{}
- res, err := exchangeClient.GetInsuranceFunds(ctx, req)
+ res, err := exchangeClient.GetInsuranceFunds(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/insurance/2_Redemptions/example.go b/examples/exchange/insurance/2_Redemptions/example.go
index 4f36e7d3..e109cc7d 100644
--- a/examples/exchange/insurance/2_Redemptions/example.go
+++ b/examples/exchange/insurance/2_Redemptions/example.go
@@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
insurancePB "github.com/InjectiveLabs/sdk-go/exchange/insurance_rpc/pb"
@@ -14,14 +15,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
req := insurancePB.RedemptionsRequest{}
- res, err := exchangeClient.GetRedemptions(ctx, req)
+ res, err := exchangeClient.GetRedemptions(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/meta/1_Ping/example.go b/examples/exchange/meta/1_Ping/example.go
index cc0ff1ab..15172af0 100644
--- a/examples/exchange/meta/1_Ping/example.go
+++ b/examples/exchange/meta/1_Ping/example.go
@@ -15,14 +15,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
req := metaPB.PingRequest{}
- res, err := exchangeClient.Ping(ctx, req)
+ res, err := exchangeClient.Ping(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/meta/2_Version/example.go b/examples/exchange/meta/2_Version/example.go
index 7f83badf..f9f9ef15 100644
--- a/examples/exchange/meta/2_Version/example.go
+++ b/examples/exchange/meta/2_Version/example.go
@@ -15,14 +15,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
req := metaPB.VersionRequest{}
- res, err := exchangeClient.GetVersion(ctx, req)
+ res, err := exchangeClient.GetVersion(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/meta/3_Info/example.go b/examples/exchange/meta/3_Info/example.go
index edda9480..571c3b6c 100644
--- a/examples/exchange/meta/3_Info/example.go
+++ b/examples/exchange/meta/3_Info/example.go
@@ -15,14 +15,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
req := metaPB.InfoRequest{}
- res, err := exchangeClient.GetInfo(ctx, req)
+ res, err := exchangeClient.GetInfo(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/meta/4_StreamKeepAlive/example.go b/examples/exchange/meta/4_StreamKeepAlive/example.go
index 6731ed39..c76a8605 100644
--- a/examples/exchange/meta/4_StreamKeepAlive/example.go
+++ b/examples/exchange/meta/4_StreamKeepAlive/example.go
@@ -14,14 +14,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
stream, err := exchangeClient.StreamKeepalive(ctx)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
@@ -29,7 +29,7 @@ func main() {
case <-ctx.Done():
return
default:
- res, err := stream.Recv()
+ res, err := (*stream).Recv()
if err != nil {
fmt.Println(err)
return
diff --git a/examples/exchange/oracle/1_StreamPrices/example.go b/examples/exchange/oracle/1_StreamPrices/example.go
index e3adcfc8..a93e9fd5 100644
--- a/examples/exchange/oracle/1_StreamPrices/example.go
+++ b/examples/exchange/oracle/1_StreamPrices/example.go
@@ -13,7 +13,7 @@ func main() {
network := common.LoadNetwork("mainnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -22,7 +22,7 @@ func main() {
oracleType := "bandibc"
stream, err := exchangeClient.StreamPrices(ctx, baseSymbol, quoteSymbol, oracleType)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/oracle/2_Price/example.go b/examples/exchange/oracle/2_Price/example.go
index 80acbf9e..fe8840b1 100644
--- a/examples/exchange/oracle/2_Price/example.go
+++ b/examples/exchange/oracle/2_Price/example.go
@@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
)
@@ -12,7 +13,7 @@ func main() {
network := common.LoadNetwork("mainnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
diff --git a/examples/exchange/oracle/3_OracleList/example.go b/examples/exchange/oracle/3_OracleList/example.go
index 99709a1e..f2183b69 100644
--- a/examples/exchange/oracle/3_OracleList/example.go
+++ b/examples/exchange/oracle/3_OracleList/example.go
@@ -13,7 +13,7 @@ func main() {
network := common.LoadNetwork("mainnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
diff --git a/examples/exchange/portfolio/1_AccountPortfolio/example.go b/examples/exchange/portfolio/1_AccountPortfolio/example.go
index a072f9c8..898c02cf 100644
--- a/examples/exchange/portfolio/1_AccountPortfolio/example.go
+++ b/examples/exchange/portfolio/1_AccountPortfolio/example.go
@@ -19,7 +19,7 @@ func main() {
ctx := context.Background()
accountAddress := "inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt"
- res, err := exchangeClient.GetAccountPortfolio(ctx, accountAddress)
+ res, err := exchangeClient.GetAccountPortfolioBalances(ctx, accountAddress)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/portfolio/2_StreamAccountPortfolioBankBalances/example.go b/examples/exchange/portfolio/2_StreamAccountPortfolioBankBalances/example.go
index 66763a29..4880fa69 100644
--- a/examples/exchange/portfolio/2_StreamAccountPortfolioBankBalances/example.go
+++ b/examples/exchange/portfolio/2_StreamAccountPortfolioBankBalances/example.go
@@ -4,6 +4,7 @@ import (
"context"
"encoding/json"
"fmt"
+
"github.com/InjectiveLabs/sdk-go/client/common"
exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
@@ -14,14 +15,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
stream, err := exchangeClient.StreamAccountPortfolio(ctx, "inj1rgxjfea3y2e7n0frz5syly8n5zulagy3fc56jy", "", "")
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/portfolio/3_StreamAccountPortfolioSubaccountBalances/example.go b/examples/exchange/portfolio/3_StreamAccountPortfolioSubaccountBalances/example.go
index 6ebe14a6..a7a41324 100644
--- a/examples/exchange/portfolio/3_StreamAccountPortfolioSubaccountBalances/example.go
+++ b/examples/exchange/portfolio/3_StreamAccountPortfolioSubaccountBalances/example.go
@@ -14,14 +14,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
stream, err := exchangeClient.StreamAccountPortfolio(ctx, "inj1clw20s2uxeyxtam6f7m84vgae92s9eh7vygagt", "0xc7dca7c15c364865f77a4fb67ab11dc95502e6fe000000000000000000000001", "total_balances")
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/spot/10_StreamTrades/example.go b/examples/exchange/spot/10_StreamTrades/example.go
index c61e0cf5..48d160c1 100644
--- a/examples/exchange/spot/10_StreamTrades/example.go
+++ b/examples/exchange/spot/10_StreamTrades/example.go
@@ -15,7 +15,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -26,9 +26,9 @@ func main() {
MarketId: marketId,
SubaccountId: subaccountId,
}
- stream, err := exchangeClient.StreamSpotTrades(ctx, req)
+ stream, err := exchangeClient.StreamSpotTrades(ctx, &req)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/spot/11_SubaccountOrdersList/example.go b/examples/exchange/spot/11_SubaccountOrdersList/example.go
index 33c924ce..6bb6d48b 100644
--- a/examples/exchange/spot/11_SubaccountOrdersList/example.go
+++ b/examples/exchange/spot/11_SubaccountOrdersList/example.go
@@ -15,7 +15,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -31,7 +31,7 @@ func main() {
Limit: limit,
}
- res, err := exchangeClient.GetSubaccountSpotOrdersList(ctx, req)
+ res, err := exchangeClient.GetSubaccountSpotOrdersList(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/spot/12_SubaccountTradesList/example.go b/examples/exchange/spot/12_SubaccountTradesList/example.go
index 5ce30b0e..401e981d 100644
--- a/examples/exchange/spot/12_SubaccountTradesList/example.go
+++ b/examples/exchange/spot/12_SubaccountTradesList/example.go
@@ -15,7 +15,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -31,7 +31,7 @@ func main() {
Limit: limit,
}
- res, err := exchangeClient.GetSubaccountSpotTradesList(ctx, req)
+ res, err := exchangeClient.GetSubaccountSpotTradesList(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/spot/13_Orderbooks/example.go b/examples/exchange/spot/13_Orderbooks/example.go
index 096c98ef..ebab285a 100644
--- a/examples/exchange/spot/13_Orderbooks/example.go
+++ b/examples/exchange/spot/13_Orderbooks/example.go
@@ -14,12 +14,12 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
marketIds := []string{"0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"}
- res, err := exchangeClient.GetSpotOrderbooks(ctx, marketIds)
+ res, err := exchangeClient.GetSpotOrderbooksV2(ctx, marketIds)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/spot/14_HistoricalOrders/example.go b/examples/exchange/spot/14_HistoricalOrders/example.go
new file mode 100644
index 00000000..288781b3
--- /dev/null
+++ b/examples/exchange/spot/14_HistoricalOrders/example.go
@@ -0,0 +1,42 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"
+ subaccountId := "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000"
+ skip := uint64(0)
+ limit := int32(10)
+ orderTypes := []string{"buy_po"}
+
+ req := spotExchangePB.OrdersHistoryRequest{
+ SubaccountId: subaccountId,
+ MarketId: marketId,
+ Skip: skip,
+ Limit: limit,
+ OrderTypes: orderTypes,
+ }
+
+ res, err := exchangeClient.GetHistoricalSpotOrders(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/exchange/spot/15_StreamHistoricalOrders/example.go b/examples/exchange/spot/15_StreamHistoricalOrders/example.go
new file mode 100644
index 00000000..45c59723
--- /dev/null
+++ b/examples/exchange/spot/15_StreamHistoricalOrders/example.go
@@ -0,0 +1,49 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0x0611780ba69656949525013d947713300f56c37b6175e02f26bffa495c3208fe"
+ subaccountId := "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"
+ direction := "buy"
+
+ req := spotExchangePB.StreamOrdersHistoryRequest{
+ MarketId: marketId,
+ SubaccountId: subaccountId,
+ Direction: direction,
+ }
+ stream, err := exchangeClient.StreamHistoricalSpotOrders(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ for {
+ select {
+ case <-ctx.Done():
+ return
+ default:
+ res, err := stream.Recv()
+ if err != nil {
+ panic(err)
+ return
+ }
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+ }
+ }
+}
diff --git a/examples/exchange/spot/16_TradesV2/example.go b/examples/exchange/spot/16_TradesV2/example.go
new file mode 100644
index 00000000..851dee00
--- /dev/null
+++ b/examples/exchange/spot/16_TradesV2/example.go
@@ -0,0 +1,36 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"
+ subaccountId := "0xaf79152ac5df276d9a8e1e2e22822f9713474902000000000000000000000000"
+
+ req := spotExchangePB.TradesV2Request{
+ MarketId: marketId,
+ SubaccountId: subaccountId,
+ }
+
+ res, err := exchangeClient.GetSpotTradesV2(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+}
diff --git a/examples/exchange/spot/17_StreamTradesV2/example.go b/examples/exchange/spot/17_StreamTradesV2/example.go
new file mode 100644
index 00000000..c5a5af87
--- /dev/null
+++ b/examples/exchange/spot/17_StreamTradesV2/example.go
@@ -0,0 +1,47 @@
+package main
+
+import (
+ "context"
+ "encoding/json"
+ "fmt"
+
+ "github.com/InjectiveLabs/sdk-go/client/common"
+ exchangeclient "github.com/InjectiveLabs/sdk-go/client/exchange"
+ spotExchangePB "github.com/InjectiveLabs/sdk-go/exchange/spot_exchange_rpc/pb"
+)
+
+func main() {
+ network := common.LoadNetwork("testnet", "lb")
+ exchangeClient, err := exchangeclient.NewExchangeClient(network)
+ if err != nil {
+ panic(err)
+ }
+
+ ctx := context.Background()
+ marketId := "0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"
+ subaccountId := "0xc6fe5d33615a1c52c08018c47e8bc53646a0e101000000000000000000000000"
+
+ req := spotExchangePB.StreamTradesV2Request{
+ MarketId: marketId,
+ SubaccountId: subaccountId,
+ }
+ stream, err := exchangeClient.StreamSpotTradesV2(ctx, &req)
+ if err != nil {
+ panic(err)
+ }
+
+ for {
+ select {
+ case <-ctx.Done():
+ return
+ default:
+ res, err := stream.Recv()
+ if err != nil {
+ fmt.Println(err)
+ return
+ }
+ str, _ := json.MarshalIndent(res, "", " ")
+ fmt.Print(string(str))
+ }
+ }
+}
diff --git a/examples/exchange/spot/1_Market/example.go b/examples/exchange/spot/1_Market/example.go
index 7afff0a7..813c75c8 100644
--- a/examples/exchange/spot/1_Market/example.go
+++ b/examples/exchange/spot/1_Market/example.go
@@ -14,7 +14,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
diff --git a/examples/exchange/spot/2_Markets/example.go b/examples/exchange/spot/2_Markets/example.go
index dbfb3e45..e11b3b6d 100644
--- a/examples/exchange/spot/2_Markets/example.go
+++ b/examples/exchange/spot/2_Markets/example.go
@@ -15,7 +15,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -27,7 +27,7 @@ func main() {
QuoteDenom: quoteDenom,
}
- res, err := exchangeClient.GetSpotMarkets(ctx, req)
+ res, err := exchangeClient.GetSpotMarkets(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/spot/3_StreamMarket/example.go b/examples/exchange/spot/3_StreamMarket/example.go
index 776d27d0..e7af4810 100644
--- a/examples/exchange/spot/3_StreamMarket/example.go
+++ b/examples/exchange/spot/3_StreamMarket/example.go
@@ -14,14 +14,14 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
marketIds := []string{"0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"}
stream, err := exchangeClient.StreamSpotMarket(ctx, marketIds)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/spot/4_Orderbook/example.go b/examples/exchange/spot/4_Orderbook/example.go
index 7aa61c3d..2c158cbc 100644
--- a/examples/exchange/spot/4_Orderbook/example.go
+++ b/examples/exchange/spot/4_Orderbook/example.go
@@ -14,12 +14,12 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
marketId := "0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"
- res, err := exchangeClient.GetSpotOrderbook(ctx, marketId)
+ res, err := exchangeClient.GetSpotOrderbookV2(ctx, marketId)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/spot/5_Orders/example.go b/examples/exchange/spot/5_Orders/example.go
index 4aca678d..4fe513c8 100644
--- a/examples/exchange/spot/5_Orders/example.go
+++ b/examples/exchange/spot/5_Orders/example.go
@@ -12,10 +12,10 @@ import (
func main() {
//network := common.LoadNetwork("mainnet", "k8s")
- network := common.LoadNetwork("testnet", "lb")
+ network := common.LoadNetwork("mainnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -29,7 +29,7 @@ func main() {
Limit: limit,
}
- res, err := exchangeClient.GetSpotOrders(ctx, req)
+ res, err := exchangeClient.GetSpotOrders(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/exchange/spot/6_Trades/example.go b/examples/exchange/spot/6_Trades/example.go
index 655146d2..9fce3efc 100644
--- a/examples/exchange/spot/6_Trades/example.go
+++ b/examples/exchange/spot/6_Trades/example.go
@@ -26,7 +26,7 @@ func main() {
SubaccountId: subaccountId,
}
- res, err := exchangeClient.GetSpotTrades(ctx, req)
+ res, err := exchangeClient.GetSpotTrades(ctx, &req)
if err != nil {
panic(err)
}
diff --git a/examples/exchange/spot/7_StreamOrderbook/example.go b/examples/exchange/spot/7_StreamOrderbook/example.go
index 9bf0f88f..e4528f7d 100644
--- a/examples/exchange/spot/7_StreamOrderbook/example.go
+++ b/examples/exchange/spot/7_StreamOrderbook/example.go
@@ -12,14 +12,14 @@ func main() {
network := common.LoadNetwork("devnet-1", "")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
marketIds := []string{"0xa508cb32923323679f29a032c70342c147c17d0145625922b0ef22e955c844c0"}
- stream, err := exchangeClient.StreamSpotOrderbook(ctx, marketIds)
+ stream, err := exchangeClient.StreamSpotOrderbookV2(ctx, marketIds)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/exchange/spot/9_StreamOrders/example.go b/examples/exchange/spot/9_StreamOrders/example.go
index 1f83acf8..cb4cfffb 100644
--- a/examples/exchange/spot/9_StreamOrders/example.go
+++ b/examples/exchange/spot/9_StreamOrders/example.go
@@ -15,7 +15,7 @@ func main() {
network := common.LoadNetwork("testnet", "lb")
exchangeClient, err := exchangeclient.NewExchangeClient(network)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
ctx := context.Background()
@@ -28,9 +28,9 @@ func main() {
SubaccountId: subaccountId,
OrderSide: orderSide,
}
- stream, err := exchangeClient.StreamSpotOrders(ctx, req)
+ stream, err := exchangeClient.StreamSpotOrders(ctx, &req)
if err != nil {
- fmt.Println(err)
+ panic(err)
}
for {
diff --git a/examples/explorer/10_IBCTransfers/example.go b/examples/explorer/10_IBCTransfers/example.go
index d17ad7ff..ad3a08dc 100644
--- a/examples/explorer/10_IBCTransfers/example.go
+++ b/examples/explorer/10_IBCTransfers/example.go
@@ -25,7 +25,7 @@ func main() {
Receiver: receiver,
}
- res, err := explorerClient.GetIBCTransfers(ctx, req)
+ res, err := explorerClient.GetIBCTransfers(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/11_GetWasmCodes/example.go b/examples/explorer/11_GetWasmCodes/example.go
index b2e47810..ea298b34 100644
--- a/examples/explorer/11_GetWasmCodes/example.go
+++ b/examples/explorer/11_GetWasmCodes/example.go
@@ -24,7 +24,7 @@ func main() {
Limit: 10,
}
- res, err := explorerClient.GetWasmCodes(ctx, req)
+ res, err := explorerClient.GetWasmCodes(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/12_GetWasmCodeById/example.go b/examples/explorer/12_GetWasmCodeById/example.go
index 26a92ba3..b8b932fa 100644
--- a/examples/explorer/12_GetWasmCodeById/example.go
+++ b/examples/explorer/12_GetWasmCodeById/example.go
@@ -24,7 +24,7 @@ func main() {
CodeId: 10,
}
- res, err := explorerClient.GetWasmCodeByID(ctx, req)
+ res, err := explorerClient.GetWasmCodeByID(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/13_GetWasmContracts/example.go b/examples/explorer/13_GetWasmContracts/example.go
index d4153e2f..33f7df07 100644
--- a/examples/explorer/13_GetWasmContracts/example.go
+++ b/examples/explorer/13_GetWasmContracts/example.go
@@ -22,7 +22,7 @@ func main() {
req := explorerPB.GetWasmContractsRequest{}
- res, err := explorerClient.GetWasmContracts(ctx, req)
+ res, err := explorerClient.GetWasmContracts(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/14_GetWasmContractByAddress/example.go b/examples/explorer/14_GetWasmContractByAddress/example.go
index 5c142671..d3a880c2 100644
--- a/examples/explorer/14_GetWasmContractByAddress/example.go
+++ b/examples/explorer/14_GetWasmContractByAddress/example.go
@@ -23,7 +23,7 @@ func main() {
req := explorerPB.GetWasmContractByAddressRequest{
ContractAddress: "inj1ru9nhdjtjtz8u8wrwxmcl9zsns4fh2838yr5ga",
}
- res, err := explorerClient.GetWasmContractByAddress(ctx, req)
+ res, err := explorerClient.GetWasmContractByAddress(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/15_GetCW20Balance/example.go b/examples/explorer/15_GetCW20Balance/example.go
index 6a82495e..da38564d 100644
--- a/examples/explorer/15_GetCW20Balance/example.go
+++ b/examples/explorer/15_GetCW20Balance/example.go
@@ -23,7 +23,7 @@ func main() {
req := explorerPB.GetCw20BalanceRequest{
Address: "inj1dc6rrxhfjaxexzdcrec5w3ryl4jn6x5t7t9j3z",
}
- res, err := explorerClient.GetCW20Balance(ctx, req)
+ res, err := explorerClient.GetCW20Balance(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/2_AccountTxs/example.go b/examples/explorer/2_AccountTxs/example.go
index 8bce4684..3bbb56dc 100644
--- a/examples/explorer/2_AccountTxs/example.go
+++ b/examples/explorer/2_AccountTxs/example.go
@@ -27,7 +27,7 @@ func main() {
}
ctx := context.Background()
- res, err := explorerClient.GetAccountTxs(ctx, req)
+ res, err := explorerClient.GetAccountTxs(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/5_TxsRequest/example.go b/examples/explorer/5_TxsRequest/example.go
index 8ebbe1a2..dd57bfe8 100644
--- a/examples/explorer/5_TxsRequest/example.go
+++ b/examples/explorer/5_TxsRequest/example.go
@@ -26,7 +26,7 @@ func main() {
Before: before,
}
- res, err := explorerClient.GetTxs(ctx, req)
+ res, err := explorerClient.GetTxs(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/8_PeggyDeposits/example.go b/examples/explorer/8_PeggyDeposits/example.go
index 9cd17c67..bd00e9e1 100644
--- a/examples/explorer/8_PeggyDeposits/example.go
+++ b/examples/explorer/8_PeggyDeposits/example.go
@@ -26,7 +26,7 @@ func main() {
Receiver: receiver,
}
- res, err := explorerClient.GetPeggyDeposits(ctx, req)
+ res, err := explorerClient.GetPeggyDeposits(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/examples/explorer/9_PeggyWithdrawals/example.go b/examples/explorer/9_PeggyWithdrawals/example.go
index f7d221d4..d6284f5a 100644
--- a/examples/explorer/9_PeggyWithdrawals/example.go
+++ b/examples/explorer/9_PeggyWithdrawals/example.go
@@ -25,7 +25,7 @@ func main() {
Sender: sender,
}
- res, err := explorerClient.GetPeggyWithdrawals(ctx, req)
+ res, err := explorerClient.GetPeggyWithdrawals(ctx, &req)
if err != nil {
fmt.Println(err)
}
diff --git a/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.go b/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.go
index 4e519222..3a123405 100644
--- a/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.go
+++ b/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_accounts_rpc.proto
package injective_accounts_rpcpb
@@ -419,6 +419,10 @@ type OrderStateRecord struct {
CreatedAt int64 `protobuf:"zigzag64,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Order updated timestamp in UNIX millis.
UpdatedAt int64 `protobuf:"zigzag64,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Order prices
+ Price string `protobuf:"bytes,11,opt,name=price,proto3" json:"price,omitempty"`
+ // Margin for derivative order
+ Margin string `protobuf:"bytes,12,opt,name=margin,proto3" json:"margin,omitempty"`
}
func (x *OrderStateRecord) Reset() {
@@ -523,6 +527,20 @@ func (x *OrderStateRecord) GetUpdatedAt() int64 {
return 0
}
+func (x *OrderStateRecord) GetPrice() string {
+ if x != nil {
+ return x.Price
+ }
+ return ""
+}
+
+func (x *OrderStateRecord) GetMargin() string {
+ if x != nil {
+ return x.Margin
+ }
+ return ""
+}
+
type SubaccountsListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1395,6 +1413,8 @@ type Paging struct {
To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
// count entries by subaccount, serving some places on helix
CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"`
+ // array of tokens to navigate to the next pages
+ Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"`
}
func (x *Paging) Reset() {
@@ -1457,6 +1477,13 @@ func (x *Paging) GetCountBySubaccount() int64 {
return 0
}
+func (x *Paging) GetNext() []string {
+ if x != nil {
+ return x.Next
+ }
+ return nil
+}
+
type SubaccountOrderSummaryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1871,7 +1898,7 @@ var file_injective_accounts_rpc_proto_rawDesc = []byte{
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72,
0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x52, 0x15, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f,
- 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0xdd, 0x02, 0x0a, 0x10, 0x4f,
+ 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x22, 0x8b, 0x03, 0x0a, 0x10, 0x4f,
0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12,
0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23,
@@ -1893,240 +1920,244 @@ var file_injective_accounts_rpc_proto_rawDesc = []byte{
0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x12,
0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12, 0x52,
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x41, 0x0a, 0x16, 0x53, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
- 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3b, 0x0a,
- 0x17, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x5c, 0x0a, 0x1d, 0x53, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73,
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x22, 0x67, 0x0a, 0x1e, 0x53, 0x75, 0x62, 0x61,
+ 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72,
+ 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
+ 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x22, 0x41, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64,
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3b, 0x0a, 0x17, 0x53,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x5c, 0x0a, 0x1d, 0x53, 0x75, 0x62, 0x61,
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69,
- 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x62, 0x61,
- 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
- 0x73, 0x22, 0xbc, 0x01, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x07, 0x64,
- 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x07, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
- 0x22, 0x65, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65,
- 0x70, 0x6f, 0x73, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62,
- 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f,
- 0x74, 0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x76,
- 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65,
- 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x5d, 0x0a, 0x20, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70,
- 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x68, 0x0a, 0x21, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f,
- 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x62,
- 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
- 0x22, 0x5d, 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d,
- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x22,
- 0x84, 0x01, 0x0a, 0x1f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52,
- 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc1, 0x01, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f,
- 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x25,
- 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
- 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d,
- 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12,
- 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x19, 0x53,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e,
- 0x73, 0x66, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42,
- 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x09,
- 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67,
- 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e,
- 0x67, 0x22, 0xd5, 0x02, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12,
- 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x72, 0x63, 0x5f, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0f, 0x73, 0x72, 0x63, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x2e, 0x0a, 0x13, 0x73, 0x72, 0x63, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
- 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73,
- 0x72, 0x63, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
- 0x12, 0x2a, 0x0a, 0x11, 0x64, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x73, 0x74,
- 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13,
- 0x64, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72,
- 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x73, 0x74, 0x41, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x06,
- 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e,
- 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x63,
- 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x65,
- 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x3a, 0x0a, 0x0a, 0x43, 0x6f, 0x73,
- 0x6d, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a,
- 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61,
- 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x72, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12,
- 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05,
- 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8a, 0x01, 0x0a, 0x1d, 0x53, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d,
- 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a,
- 0x0f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x44, 0x69, 0x72,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x1e, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72,
- 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x70, 0x6f,
- 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x12, 0x52, 0x0f, 0x73, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73,
- 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x15, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
- 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x22, 0x4f, 0x0a,
- 0x0e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05,
- 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4b,
- 0x0a, 0x0f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x77, 0x61,
- 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x22, 0x90, 0x01, 0x0a, 0x06,
- 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
- 0x36, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x1c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x07,
- 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69, 0x73, 0x74, 0x72,
- 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52,
- 0x0d, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x34,
- 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06,
- 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d,
- 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xe0, 0x08, 0x0a, 0x14, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x50, 0x43, 0x12, 0x60, 0x0a,
- 0x09, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x28, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16,
+ 0x0a, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06,
+ 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x22, 0x67, 0x0a, 0x1e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x08, 0x62, 0x61, 0x6c, 0x61,
+ 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a,
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f,
- 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x66, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2a,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61,
- 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22,
+ 0xbc, 0x01, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72,
+ 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x43, 0x0a, 0x07, 0x64, 0x65, 0x70,
+ 0x6f, 0x73, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a,
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65,
+ 0x70, 0x6f, 0x73, 0x69, 0x74, 0x52, 0x07, 0x64, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x22, 0x65,
+ 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x44, 0x65, 0x70, 0x6f,
+ 0x73, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x6c,
+ 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61,
+ 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x76, 0x61, 0x69,
+ 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x5d, 0x0a, 0x20, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69,
+ 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14,
+ 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64,
+ 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x68, 0x0a, 0x21, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e,
+ 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x07, 0x62, 0x61, 0x6c,
+ 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a,
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c,
- 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x5d,
+ 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x18,
+ 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x22, 0x84, 0x01,
+ 0x0a, 0x1f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x12, 0x43, 0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x07, 0x62,
+ 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
+ 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
+ 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc1, 0x01, 0x0a, 0x18, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x25, 0x0a, 0x0e,
+ 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03,
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x79,
+ 0x70, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a,
+ 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa4, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66,
+ 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c,
+ 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x52, 0x09, 0x74, 0x72,
+ 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e,
+ 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22,
+ 0xd5, 0x02, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x23, 0x0a,
+ 0x0d, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x73, 0x72, 0x63, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73,
+ 0x72, 0x63, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2e,
+ 0x0a, 0x13, 0x73, 0x72, 0x63, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64,
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x72, 0x63,
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2a,
+ 0x0a, 0x11, 0x64, 0x73, 0x74, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x73, 0x74, 0x53, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x73,
+ 0x74, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
+ 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x64, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x3a, 0x0a, 0x06, 0x61, 0x6d,
+ 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x6a,
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c,
- 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x16,
- 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
- 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
- 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e,
+ 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x06,
+ 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
+ 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x3a, 0x0a, 0x0a, 0x43, 0x6f, 0x73, 0x6d, 0x6f,
+ 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x61,
+ 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f,
+ 0x75, 0x6e, 0x74, 0x22, 0x86, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x14,
+ 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 0x74,
+ 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74,
+ 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x22, 0x8a, 0x01, 0x0a,
+ 0x1d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23,
+ 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
+ 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x64, 0x65, 0x72,
+ 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x0a, 0x1e, 0x53, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d,
+ 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x11,
+ 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f, 0x74, 0x61,
+ 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0f, 0x73, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64,
+ 0x65, 0x72, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x5f, 0x74, 0x6f,
+ 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x15, 0x64, 0x65, 0x72, 0x69, 0x76,
+ 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x54, 0x6f, 0x74, 0x61, 0x6c,
+ 0x22, 0x4f, 0x0a, 0x0e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x05, 0x65, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
+ 0x73, 0x22, 0x4b, 0x0a, 0x0f, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52,
+ 0x65, 0x77, 0x61, 0x72, 0x64, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x22, 0x90,
+ 0x01, 0x0a, 0x06, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65,
+ 0x73, 0x73, 0x12, 0x36, 0x0a, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x18, 0x02, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69,
+ 0x6e, 0x52, 0x07, 0x72, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x64, 0x69,
+ 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x12, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x64, 0x41,
+ 0x74, 0x22, 0x34, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e,
+ 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12,
+ 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0xe0, 0x08, 0x0a, 0x14, 0x49, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x50, 0x43,
+ 0x12, 0x60, 0x0a, 0x09, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x28, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x12, 0x66, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65,
+ 0x73, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x53, 0x74, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
+ 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x53, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x2e,
0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f,
- 0x69, 0x6e, 0x74, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e,
- 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e,
+ 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e,
0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c,
- 0x61, 0x6e, 0x63, 0x65, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
- 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61,
- 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x78, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x30, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x87, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x35, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d,
- 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a, 0x0a, 0x07, 0x52,
- 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x74, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87,
+ 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c,
+ 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c,
+ 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x19, 0x53, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e,
+ 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1b, 0x5a, 0x19, 0x2f, 0x69, 0x6e, 0x6a, 0x65,
+ 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
+ 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x64, 0x70, 0x6f,
+ 0x69, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8c, 0x01, 0x0a, 0x17,
+ 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x53,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x78, 0x0a, 0x11, 0x53, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12,
+ 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12,
+ 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x53,
+ 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5a,
+ 0x0a, 0x07, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x12, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72,
- 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x70, 0x63, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x77, 0x61, 0x72,
+ 0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x1b, 0x5a, 0x19, 0x2f, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x73, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.gw.go b/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.gw.go
index 9f07d8f7..4163b692 100644
--- a/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.gw.go
+++ b/exchange/accounts_rpc/pb/injective_accounts_rpc.pb.gw.go
@@ -340,20 +340,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_Portfolio_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_Portfolio_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_Portfolio_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_Portfolio_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -363,20 +365,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_OrderStates_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_OrderStates_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_OrderStates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_OrderStates_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -386,20 +390,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_SubaccountsList_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_SubaccountsList_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountsList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountsList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -409,20 +415,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_SubaccountBalancesList_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_SubaccountBalancesList_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountBalancesList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountBalancesList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -432,20 +440,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -462,20 +472,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_SubaccountHistory_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_SubaccountHistory_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountHistory_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -485,20 +497,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_SubaccountOrderSummary_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_SubaccountOrderSummary_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountOrderSummary_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountOrderSummary_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -508,20 +522,22 @@ func RegisterInjectiveAccountsRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Rewards", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Rewards"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Rewards", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Rewards"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAccountsRPC_Rewards_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAccountsRPC_Rewards_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_Rewards_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_Rewards_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -570,19 +586,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Portfolio"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_Portfolio_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_Portfolio_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_Portfolio_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_Portfolio_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -590,19 +608,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/OrderStates"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_OrderStates_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_OrderStates_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_OrderStates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_OrderStates_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -610,19 +630,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountsList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_SubaccountsList_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_SubaccountsList_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountsList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountsList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -630,19 +652,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalancesList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_SubaccountBalancesList_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_SubaccountBalancesList_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountBalancesList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountBalancesList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -650,19 +674,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountBalanceEndpoint"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountBalanceEndpoint_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -670,19 +696,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/StreamSubaccountBalance"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_StreamSubaccountBalance_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_StreamSubaccountBalance_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_StreamSubaccountBalance_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_StreamSubaccountBalance_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -690,19 +718,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_SubaccountHistory_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_SubaccountHistory_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountHistory_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -710,19 +740,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/SubaccountOrderSummary"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_SubaccountOrderSummary_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_SubaccountOrderSummary_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_SubaccountOrderSummary_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_SubaccountOrderSummary_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -730,19 +762,21 @@ func RegisterInjectiveAccountsRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Rewards", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Rewards"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_accounts_rpc.InjectiveAccountsRPC/Rewards", runtime.WithHTTPPathPattern("/injective_accounts_rpc.InjectiveAccountsRPC/Rewards"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAccountsRPC_Rewards_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAccountsRPC_Rewards_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAccountsRPC_Rewards_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAccountsRPC_Rewards_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
diff --git a/exchange/accounts_rpc/pb/injective_accounts_rpc.proto b/exchange/accounts_rpc/pb/injective_accounts_rpc.proto
index b6d348df..b5c3eba7 100644
--- a/exchange/accounts_rpc/pb/injective_accounts_rpc.proto
+++ b/exchange/accounts_rpc/pb/injective_accounts_rpc.proto
@@ -102,6 +102,10 @@ message OrderStateRecord {
sint64 created_at = 9;
// Order updated timestamp in UNIX millis.
sint64 updated_at = 10;
+ // Order prices
+ string price = 11;
+ // Margin for derivative order
+ string margin = 12;
}
message SubaccountsListRequest {
@@ -222,6 +226,8 @@ message Paging {
sint32 to = 3;
// count entries by subaccount, serving some places on helix
sint64 count_by_subaccount = 4;
+ // array of tokens to navigate to the next pages
+ repeated string next = 5;
}
message SubaccountOrderSummaryRequest {
diff --git a/exchange/accounts_rpc/pb/injective_accounts_rpc_grpc.pb.go b/exchange/accounts_rpc/pb/injective_accounts_rpc_grpc.pb.go
index 14ccbcfc..5fd3ea84 100644
--- a/exchange/accounts_rpc/pb/injective_accounts_rpc_grpc.pb.go
+++ b/exchange/accounts_rpc/pb/injective_accounts_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_accounts_rpc.proto
package injective_accounts_rpcpb
diff --git a/exchange/auction_rpc/pb/injective_auction_rpc.pb.go b/exchange/auction_rpc/pb/injective_auction_rpc.pb.go
index 3720cb97..4a8ce79b 100644
--- a/exchange/auction_rpc/pb/injective_auction_rpc.pb.go
+++ b/exchange/auction_rpc/pb/injective_auction_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_auction_rpc.proto
package injective_auction_rpcpb
diff --git a/exchange/auction_rpc/pb/injective_auction_rpc.pb.gw.go b/exchange/auction_rpc/pb/injective_auction_rpc.pb.gw.go
index beff7a3e..5d95026e 100644
--- a/exchange/auction_rpc/pb/injective_auction_rpc.pb.gw.go
+++ b/exchange/auction_rpc/pb/injective_auction_rpc.pb.gw.go
@@ -136,20 +136,22 @@ func RegisterInjectiveAuctionRPCHandlerServer(ctx context.Context, mux *runtime.
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAuctionRPC_AuctionEndpoint_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAuctionRPC_AuctionEndpoint_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAuctionRPC_AuctionEndpoint_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAuctionRPC_AuctionEndpoint_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -159,20 +161,22 @@ func RegisterInjectiveAuctionRPCHandlerServer(ctx context.Context, mux *runtime.
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/Auctions", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/Auctions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/Auctions", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/Auctions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveAuctionRPC_Auctions_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveAuctionRPC_Auctions_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAuctionRPC_Auctions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAuctionRPC_Auctions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -228,19 +232,21 @@ func RegisterInjectiveAuctionRPCHandlerClient(ctx context.Context, mux *runtime.
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/AuctionEndpoint"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAuctionRPC_AuctionEndpoint_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAuctionRPC_AuctionEndpoint_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAuctionRPC_AuctionEndpoint_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAuctionRPC_AuctionEndpoint_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -248,19 +254,21 @@ func RegisterInjectiveAuctionRPCHandlerClient(ctx context.Context, mux *runtime.
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/Auctions", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/Auctions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/Auctions", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/Auctions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAuctionRPC_Auctions_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAuctionRPC_Auctions_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAuctionRPC_Auctions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAuctionRPC_Auctions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -268,19 +276,21 @@ func RegisterInjectiveAuctionRPCHandlerClient(ctx context.Context, mux *runtime.
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/StreamBids", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/StreamBids"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_auction_rpc.InjectiveAuctionRPC/StreamBids", runtime.WithHTTPPathPattern("/injective_auction_rpc.InjectiveAuctionRPC/StreamBids"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveAuctionRPC_StreamBids_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveAuctionRPC_StreamBids_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveAuctionRPC_StreamBids_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveAuctionRPC_StreamBids_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
diff --git a/exchange/auction_rpc/pb/injective_auction_rpc_grpc.pb.go b/exchange/auction_rpc/pb/injective_auction_rpc_grpc.pb.go
index 1d843816..a30e9b3f 100644
--- a/exchange/auction_rpc/pb/injective_auction_rpc_grpc.pb.go
+++ b/exchange/auction_rpc/pb/injective_auction_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_auction_rpc.proto
package injective_auction_rpcpb
diff --git a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.go b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.go
index b0b3c643..53d9769d 100644
--- a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.go
+++ b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_derivative_exchange_rpc.proto
package injective_derivative_exchange_rpcpb
@@ -35,7 +35,8 @@ type MarketsRequest struct {
// Filter by market status
MarketStatus string `protobuf:"bytes,1,opt,name=market_status,json=marketStatus,proto3" json:"market_status,omitempty"`
// Filter by the Coin denomination of the quote currency
- QuoteDenom string `protobuf:"bytes,2,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ QuoteDenom string `protobuf:"bytes,2,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ MarketStatuses []string `protobuf:"bytes,3,rep,name=market_statuses,json=marketStatuses,proto3" json:"market_statuses,omitempty"`
}
func (x *MarketsRequest) Reset() {
@@ -84,6 +85,13 @@ func (x *MarketsRequest) GetQuoteDenom() string {
return ""
}
+func (x *MarketsRequest) GetMarketStatuses() []string {
+ if x != nil {
+ return x.MarketStatuses
+ }
+ return nil
+}
+
type MarketsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1197,6 +1205,8 @@ type Paging struct {
To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
// count entries by subaccount, serving some places on helix
CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"`
+ // array of tokens to navigate to the next pages
+ Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"`
}
func (x *Paging) Reset() {
@@ -1259,6 +1269,13 @@ func (x *Paging) GetCountBySubaccount() int64 {
return 0
}
+func (x *Paging) GetNext() []string {
+ if x != nil {
+ return x.Next
+ }
+ return nil
+}
+
type BinaryOptionsMarketRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1355,7 +1372,7 @@ func (x *BinaryOptionsMarketResponse) GetMarket() *BinaryOptionsMarketInfo {
return nil
}
-type OrderbookRequest struct {
+type OrderbookV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -1364,8 +1381,8 @@ type OrderbookRequest struct {
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}
-func (x *OrderbookRequest) Reset() {
- *x = OrderbookRequest{}
+func (x *OrderbookV2Request) Reset() {
+ *x = OrderbookV2Request{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1373,13 +1390,13 @@ func (x *OrderbookRequest) Reset() {
}
}
-func (x *OrderbookRequest) String() string {
+func (x *OrderbookV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookRequest) ProtoMessage() {}
+func (*OrderbookV2Request) ProtoMessage() {}
-func (x *OrderbookRequest) ProtoReflect() protoreflect.Message {
+func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1391,29 +1408,29 @@ func (x *OrderbookRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookRequest.ProtoReflect.Descriptor instead.
-func (*OrderbookRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbookV2Request.ProtoReflect.Descriptor instead.
+func (*OrderbookV2Request) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{17}
}
-func (x *OrderbookRequest) GetMarketId() string {
+func (x *OrderbookV2Request) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-type OrderbookResponse struct {
+type OrderbookV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Orderbook of a particular derivative market
- Orderbook *DerivativeLimitOrderbook `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
}
-func (x *OrderbookResponse) Reset() {
- *x = OrderbookResponse{}
+func (x *OrderbookV2Response) Reset() {
+ *x = OrderbookV2Response{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1421,13 +1438,13 @@ func (x *OrderbookResponse) Reset() {
}
}
-func (x *OrderbookResponse) String() string {
+func (x *OrderbookV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookResponse) ProtoMessage() {}
+func (*OrderbookV2Response) ProtoMessage() {}
-func (x *OrderbookResponse) ProtoReflect() protoreflect.Message {
+func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1439,19 +1456,19 @@ func (x *OrderbookResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookResponse.ProtoReflect.Descriptor instead.
-func (*OrderbookResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbookV2Response.ProtoReflect.Descriptor instead.
+func (*OrderbookV2Response) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{18}
}
-func (x *OrderbookResponse) GetOrderbook() *DerivativeLimitOrderbook {
+func (x *OrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2 {
if x != nil {
return x.Orderbook
}
return nil
}
-type DerivativeLimitOrderbook struct {
+type DerivativeLimitOrderbookV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -1460,12 +1477,14 @@ type DerivativeLimitOrderbook struct {
Buys []*PriceLevel `protobuf:"bytes,1,rep,name=buys,proto3" json:"buys,omitempty"`
// Array of price levels for sells
Sells []*PriceLevel `protobuf:"bytes,2,rep,name=sells,proto3" json:"sells,omitempty"`
+ // market orderbook sequence
+ Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
// Last update timestamp in UNIX millis.
Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *DerivativeLimitOrderbook) Reset() {
- *x = DerivativeLimitOrderbook{}
+func (x *DerivativeLimitOrderbookV2) Reset() {
+ *x = DerivativeLimitOrderbookV2{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1473,13 +1492,13 @@ func (x *DerivativeLimitOrderbook) Reset() {
}
}
-func (x *DerivativeLimitOrderbook) String() string {
+func (x *DerivativeLimitOrderbookV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*DerivativeLimitOrderbook) ProtoMessage() {}
+func (*DerivativeLimitOrderbookV2) ProtoMessage() {}
-func (x *DerivativeLimitOrderbook) ProtoReflect() protoreflect.Message {
+func (x *DerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1491,26 +1510,33 @@ func (x *DerivativeLimitOrderbook) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use DerivativeLimitOrderbook.ProtoReflect.Descriptor instead.
-func (*DerivativeLimitOrderbook) Descriptor() ([]byte, []int) {
+// Deprecated: Use DerivativeLimitOrderbookV2.ProtoReflect.Descriptor instead.
+func (*DerivativeLimitOrderbookV2) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{19}
}
-func (x *DerivativeLimitOrderbook) GetBuys() []*PriceLevel {
+func (x *DerivativeLimitOrderbookV2) GetBuys() []*PriceLevel {
if x != nil {
return x.Buys
}
return nil
}
-func (x *DerivativeLimitOrderbook) GetSells() []*PriceLevel {
+func (x *DerivativeLimitOrderbookV2) GetSells() []*PriceLevel {
if x != nil {
return x.Sells
}
return nil
}
-func (x *DerivativeLimitOrderbook) GetTimestamp() int64 {
+func (x *DerivativeLimitOrderbookV2) GetSequence() uint64 {
+ if x != nil {
+ return x.Sequence
+ }
+ return 0
+}
+
+func (x *DerivativeLimitOrderbookV2) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
@@ -1583,17 +1609,17 @@ func (x *PriceLevel) GetTimestamp() int64 {
return 0
}
-type OrderbookV2Request struct {
+type OrderbooksV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketId of the market's orderbook we want to fetch
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // MarketIds of the markets
+ MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
-func (x *OrderbookV2Request) Reset() {
- *x = OrderbookV2Request{}
+func (x *OrderbooksV2Request) Reset() {
+ *x = OrderbooksV2Request{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1601,13 +1627,13 @@ func (x *OrderbookV2Request) Reset() {
}
}
-func (x *OrderbookV2Request) String() string {
+func (x *OrderbooksV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookV2Request) ProtoMessage() {}
+func (*OrderbooksV2Request) ProtoMessage() {}
-func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message {
+func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1619,29 +1645,28 @@ func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookV2Request.ProtoReflect.Descriptor instead.
-func (*OrderbookV2Request) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbooksV2Request.ProtoReflect.Descriptor instead.
+func (*OrderbooksV2Request) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{21}
}
-func (x *OrderbookV2Request) GetMarketId() string {
+func (x *OrderbooksV2Request) GetMarketIds() []string {
if x != nil {
- return x.MarketId
+ return x.MarketIds
}
- return ""
+ return nil
}
-type OrderbookV2Response struct {
+type OrderbooksV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Orderbook of a particular derivative market
- Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ Orderbooks []*SingleDerivativeLimitOrderbookV2 `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
}
-func (x *OrderbookV2Response) Reset() {
- *x = OrderbookV2Response{}
+func (x *OrderbooksV2Response) Reset() {
+ *x = OrderbooksV2Response{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1649,13 +1674,13 @@ func (x *OrderbookV2Response) Reset() {
}
}
-func (x *OrderbookV2Response) String() string {
+func (x *OrderbooksV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookV2Response) ProtoMessage() {}
+func (*OrderbooksV2Response) ProtoMessage() {}
-func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message {
+func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[22]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1667,35 +1692,31 @@ func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookV2Response.ProtoReflect.Descriptor instead.
-func (*OrderbookV2Response) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbooksV2Response.ProtoReflect.Descriptor instead.
+func (*OrderbooksV2Response) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{22}
}
-func (x *OrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2 {
+func (x *OrderbooksV2Response) GetOrderbooks() []*SingleDerivativeLimitOrderbookV2 {
if x != nil {
- return x.Orderbook
+ return x.Orderbooks
}
return nil
}
-type DerivativeLimitOrderbookV2 struct {
+type SingleDerivativeLimitOrderbookV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Array of price levels for buys
- Buys []*PriceLevel `protobuf:"bytes,1,rep,name=buys,proto3" json:"buys,omitempty"`
- // Array of price levels for sells
- Sells []*PriceLevel `protobuf:"bytes,2,rep,name=sells,proto3" json:"sells,omitempty"`
- // market orderbook sequence
- Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
- // Last update timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // market's ID
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Orderbook of the market
+ Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
}
-func (x *DerivativeLimitOrderbookV2) Reset() {
- *x = DerivativeLimitOrderbookV2{}
+func (x *SingleDerivativeLimitOrderbookV2) Reset() {
+ *x = SingleDerivativeLimitOrderbookV2{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1703,13 +1724,13 @@ func (x *DerivativeLimitOrderbookV2) Reset() {
}
}
-func (x *DerivativeLimitOrderbookV2) String() string {
+func (x *SingleDerivativeLimitOrderbookV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*DerivativeLimitOrderbookV2) ProtoMessage() {}
+func (*SingleDerivativeLimitOrderbookV2) ProtoMessage() {}
-func (x *DerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message {
+func (x *SingleDerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1721,50 +1742,37 @@ func (x *DerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use DerivativeLimitOrderbookV2.ProtoReflect.Descriptor instead.
-func (*DerivativeLimitOrderbookV2) Descriptor() ([]byte, []int) {
+// Deprecated: Use SingleDerivativeLimitOrderbookV2.ProtoReflect.Descriptor instead.
+func (*SingleDerivativeLimitOrderbookV2) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{23}
}
-func (x *DerivativeLimitOrderbookV2) GetBuys() []*PriceLevel {
+func (x *SingleDerivativeLimitOrderbookV2) GetMarketId() string {
if x != nil {
- return x.Buys
+ return x.MarketId
}
- return nil
+ return ""
}
-func (x *DerivativeLimitOrderbookV2) GetSells() []*PriceLevel {
+func (x *SingleDerivativeLimitOrderbookV2) GetOrderbook() *DerivativeLimitOrderbookV2 {
if x != nil {
- return x.Sells
+ return x.Orderbook
}
return nil
}
-func (x *DerivativeLimitOrderbookV2) GetSequence() uint64 {
- if x != nil {
- return x.Sequence
- }
- return 0
-}
-
-func (x *DerivativeLimitOrderbookV2) GetTimestamp() int64 {
- if x != nil {
- return x.Timestamp
- }
- return 0
-}
-
-type OrderbooksRequest struct {
+type StreamOrderbookV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketIds of the markets
+ // List of market IDs for orderbook streaming, empty means 'ALL' derivative
+ // markets
MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
-func (x *OrderbooksRequest) Reset() {
- *x = OrderbooksRequest{}
+func (x *StreamOrderbookV2Request) Reset() {
+ *x = StreamOrderbookV2Request{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1772,13 +1780,13 @@ func (x *OrderbooksRequest) Reset() {
}
}
-func (x *OrderbooksRequest) String() string {
+func (x *StreamOrderbookV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksRequest) ProtoMessage() {}
+func (*StreamOrderbookV2Request) ProtoMessage() {}
-func (x *OrderbooksRequest) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1790,28 +1798,35 @@ func (x *OrderbooksRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksRequest.ProtoReflect.Descriptor instead.
-func (*OrderbooksRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookV2Request.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookV2Request) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{24}
}
-func (x *OrderbooksRequest) GetMarketIds() []string {
+func (x *StreamOrderbookV2Request) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-type OrderbooksResponse struct {
+type StreamOrderbookV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Orderbooks []*SingleDerivativeLimitOrderbook `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
+ // Orderbook of a Derivative Market
+ Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ // Order update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // MarketId of the market's orderbook
+ MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}
-func (x *OrderbooksResponse) Reset() {
- *x = OrderbooksResponse{}
+func (x *StreamOrderbookV2Response) Reset() {
+ *x = StreamOrderbookV2Response{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1819,13 +1834,13 @@ func (x *OrderbooksResponse) Reset() {
}
}
-func (x *OrderbooksResponse) String() string {
+func (x *StreamOrderbookV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksResponse) ProtoMessage() {}
+func (*StreamOrderbookV2Response) ProtoMessage() {}
-func (x *OrderbooksResponse) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1837,31 +1852,51 @@ func (x *OrderbooksResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksResponse.ProtoReflect.Descriptor instead.
-func (*OrderbooksResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookV2Response.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookV2Response) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{25}
}
-func (x *OrderbooksResponse) GetOrderbooks() []*SingleDerivativeLimitOrderbook {
+func (x *StreamOrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2 {
if x != nil {
- return x.Orderbooks
+ return x.Orderbook
}
return nil
}
-type SingleDerivativeLimitOrderbook struct {
+func (x *StreamOrderbookV2Response) GetOperationType() string {
+ if x != nil {
+ return x.OperationType
+ }
+ return ""
+}
+
+func (x *StreamOrderbookV2Response) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+func (x *StreamOrderbookV2Response) GetMarketId() string {
+ if x != nil {
+ return x.MarketId
+ }
+ return ""
+}
+
+type StreamOrderbookUpdateRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // market's ID
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Orderbook of the market
- Orderbook *DerivativeLimitOrderbook `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ // List of market IDs for orderbook streaming, empty means 'ALL' derivative
+ // markets
+ MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
-func (x *SingleDerivativeLimitOrderbook) Reset() {
- *x = SingleDerivativeLimitOrderbook{}
+func (x *StreamOrderbookUpdateRequest) Reset() {
+ *x = StreamOrderbookUpdateRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1869,13 +1904,13 @@ func (x *SingleDerivativeLimitOrderbook) Reset() {
}
}
-func (x *SingleDerivativeLimitOrderbook) String() string {
+func (x *StreamOrderbookUpdateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SingleDerivativeLimitOrderbook) ProtoMessage() {}
+func (*StreamOrderbookUpdateRequest) ProtoMessage() {}
-func (x *SingleDerivativeLimitOrderbook) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1887,36 +1922,35 @@ func (x *SingleDerivativeLimitOrderbook) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SingleDerivativeLimitOrderbook.ProtoReflect.Descriptor instead.
-func (*SingleDerivativeLimitOrderbook) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookUpdateRequest.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookUpdateRequest) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{26}
}
-func (x *SingleDerivativeLimitOrderbook) GetMarketId() string {
- if x != nil {
- return x.MarketId
- }
- return ""
-}
-
-func (x *SingleDerivativeLimitOrderbook) GetOrderbook() *DerivativeLimitOrderbook {
+func (x *StreamOrderbookUpdateRequest) GetMarketIds() []string {
if x != nil {
- return x.Orderbook
+ return x.MarketIds
}
return nil
}
-type OrderbooksV2Request struct {
+type StreamOrderbookUpdateResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketIds of the markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Orderbook level updates of a Derivative Market
+ OrderbookLevelUpdates *OrderbookLevelUpdates `protobuf:"bytes,1,opt,name=orderbook_level_updates,json=orderbookLevelUpdates,proto3" json:"orderbook_level_updates,omitempty"`
+ // Order update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // MarketId of the market's orderbook
+ MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}
-func (x *OrderbooksV2Request) Reset() {
- *x = OrderbooksV2Request{}
+func (x *StreamOrderbookUpdateResponse) Reset() {
+ *x = StreamOrderbookUpdateResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1924,13 +1958,13 @@ func (x *OrderbooksV2Request) Reset() {
}
}
-func (x *OrderbooksV2Request) String() string {
+func (x *StreamOrderbookUpdateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksV2Request) ProtoMessage() {}
+func (*StreamOrderbookUpdateResponse) ProtoMessage() {}
-func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1942,28 +1976,58 @@ func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksV2Request.ProtoReflect.Descriptor instead.
-func (*OrderbooksV2Request) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookUpdateResponse.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookUpdateResponse) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{27}
}
-func (x *OrderbooksV2Request) GetMarketIds() []string {
+func (x *StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates() *OrderbookLevelUpdates {
if x != nil {
- return x.MarketIds
+ return x.OrderbookLevelUpdates
}
return nil
}
-type OrderbooksV2Response struct {
+func (x *StreamOrderbookUpdateResponse) GetOperationType() string {
+ if x != nil {
+ return x.OperationType
+ }
+ return ""
+}
+
+func (x *StreamOrderbookUpdateResponse) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+func (x *StreamOrderbookUpdateResponse) GetMarketId() string {
+ if x != nil {
+ return x.MarketId
+ }
+ return ""
+}
+
+type OrderbookLevelUpdates struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Orderbooks []*SingleDerivativeLimitOrderbookV2 `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
+ // market's ID
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // orderbook update sequence
+ Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
+ // buy levels
+ Buys []*PriceLevelUpdate `protobuf:"bytes,3,rep,name=buys,proto3" json:"buys,omitempty"`
+ // sell levels
+ Sells []*PriceLevelUpdate `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"`
+ // updates timestamp
+ UpdatedAt int64 `protobuf:"zigzag64,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
}
-func (x *OrderbooksV2Response) Reset() {
- *x = OrderbooksV2Response{}
+func (x *OrderbookLevelUpdates) Reset() {
+ *x = OrderbookLevelUpdates{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1971,13 +2035,13 @@ func (x *OrderbooksV2Response) Reset() {
}
}
-func (x *OrderbooksV2Response) String() string {
+func (x *OrderbookLevelUpdates) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksV2Response) ProtoMessage() {}
+func (*OrderbookLevelUpdates) ProtoMessage() {}
-func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message {
+func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1989,31 +2053,63 @@ func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksV2Response.ProtoReflect.Descriptor instead.
-func (*OrderbooksV2Response) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbookLevelUpdates.ProtoReflect.Descriptor instead.
+func (*OrderbookLevelUpdates) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{28}
}
-func (x *OrderbooksV2Response) GetOrderbooks() []*SingleDerivativeLimitOrderbookV2 {
+func (x *OrderbookLevelUpdates) GetMarketId() string {
if x != nil {
- return x.Orderbooks
+ return x.MarketId
+ }
+ return ""
+}
+
+func (x *OrderbookLevelUpdates) GetSequence() uint64 {
+ if x != nil {
+ return x.Sequence
+ }
+ return 0
+}
+
+func (x *OrderbookLevelUpdates) GetBuys() []*PriceLevelUpdate {
+ if x != nil {
+ return x.Buys
}
return nil
}
-type SingleDerivativeLimitOrderbookV2 struct {
+func (x *OrderbookLevelUpdates) GetSells() []*PriceLevelUpdate {
+ if x != nil {
+ return x.Sells
+ }
+ return nil
+}
+
+func (x *OrderbookLevelUpdates) GetUpdatedAt() int64 {
+ if x != nil {
+ return x.UpdatedAt
+ }
+ return 0
+}
+
+type PriceLevelUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // market's ID
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Orderbook of the market
- Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ // Price number of the price level.
+ Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
+ // Quantity of the price level.
+ Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
+ // Price level status.
+ IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
+ // Price level last updated timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *SingleDerivativeLimitOrderbookV2) Reset() {
- *x = SingleDerivativeLimitOrderbookV2{}
+func (x *PriceLevelUpdate) Reset() {
+ *x = PriceLevelUpdate{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2021,13 +2117,13 @@ func (x *SingleDerivativeLimitOrderbookV2) Reset() {
}
}
-func (x *SingleDerivativeLimitOrderbookV2) String() string {
+func (x *PriceLevelUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SingleDerivativeLimitOrderbookV2) ProtoMessage() {}
+func (*PriceLevelUpdate) ProtoMessage() {}
-func (x *SingleDerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message {
+func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2039,37 +2135,80 @@ func (x *SingleDerivativeLimitOrderbookV2) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SingleDerivativeLimitOrderbookV2.ProtoReflect.Descriptor instead.
-func (*SingleDerivativeLimitOrderbookV2) Descriptor() ([]byte, []int) {
+// Deprecated: Use PriceLevelUpdate.ProtoReflect.Descriptor instead.
+func (*PriceLevelUpdate) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{29}
}
-func (x *SingleDerivativeLimitOrderbookV2) GetMarketId() string {
+func (x *PriceLevelUpdate) GetPrice() string {
if x != nil {
- return x.MarketId
+ return x.Price
}
return ""
}
-func (x *SingleDerivativeLimitOrderbookV2) GetOrderbook() *DerivativeLimitOrderbookV2 {
+func (x *PriceLevelUpdate) GetQuantity() string {
if x != nil {
- return x.Orderbook
+ return x.Quantity
}
- return nil
+ return ""
+}
+
+func (x *PriceLevelUpdate) GetIsActive() bool {
+ if x != nil {
+ return x.IsActive
+ }
+ return false
+}
+
+func (x *PriceLevelUpdate) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
}
-type StreamOrderbookRequest struct {
+type OrdersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of market IDs for orderbook streaming, empty means 'ALL' derivative
- // markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // MarketId of market we want to fetch orders from. Using this field for one
+ // single marketId
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Look for specific order side
+ OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
+ // Look for specific subaccountId of an order
+ SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned
+ Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get order from, use this field
+ // for fetching orders from multiple markets
+ MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Only search for conditional/non-conditional orders
+ IsConditional string `protobuf:"bytes,9,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"`
+ // Search for specific order type
+ OrderType string `protobuf:"bytes,10,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
+ // Should include inactive orders
+ IncludeInactive bool `protobuf:"varint,11,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
+ // Choose to return subaccount total orders
+ SubaccountTotalOrders bool `protobuf:"varint,12,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ // TradeId of the order we want to fetch
+ TradeId string `protobuf:"bytes,13,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *StreamOrderbookRequest) Reset() {
- *x = StreamOrderbookRequest{}
+func (x *OrdersRequest) Reset() {
+ *x = OrdersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2077,13 +2216,13 @@ func (x *StreamOrderbookRequest) Reset() {
}
}
-func (x *StreamOrderbookRequest) String() string {
+func (x *OrdersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookRequest) ProtoMessage() {}
+func (*OrdersRequest) ProtoMessage() {}
-func (x *StreamOrderbookRequest) ProtoReflect() protoreflect.Message {
+func (x *OrdersRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2095,120 +2234,135 @@ func (x *StreamOrderbookRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookRequest.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrdersRequest.ProtoReflect.Descriptor instead.
+func (*OrdersRequest) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{30}
}
-func (x *StreamOrderbookRequest) GetMarketIds() []string {
+func (x *OrdersRequest) GetMarketId() string {
if x != nil {
- return x.MarketIds
+ return x.MarketId
}
- return nil
+ return ""
}
-type StreamOrderbookResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Orderbook of a Derivative Market
- Orderbook *DerivativeLimitOrderbook `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- // MarketId of the market's orderbook
- MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+func (x *OrdersRequest) GetOrderSide() string {
+ if x != nil {
+ return x.OrderSide
+ }
+ return ""
}
-func (x *StreamOrderbookResponse) Reset() {
- *x = StreamOrderbookResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[31]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *OrdersRequest) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
}
+ return ""
}
-func (x *StreamOrderbookResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *OrdersRequest) GetSkip() uint64 {
+ if x != nil {
+ return x.Skip
+ }
+ return 0
}
-func (*StreamOrderbookResponse) ProtoMessage() {}
+func (x *OrdersRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
+ }
+ return 0
+}
-func (x *StreamOrderbookResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[31]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *OrdersRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
}
- return mi.MessageOf(x)
+ return 0
}
-// Deprecated: Use StreamOrderbookResponse.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{31}
+func (x *OrdersRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
}
-func (x *StreamOrderbookResponse) GetOrderbook() *DerivativeLimitOrderbook {
+func (x *OrdersRequest) GetMarketIds() []string {
if x != nil {
- return x.Orderbook
+ return x.MarketIds
}
return nil
}
-func (x *StreamOrderbookResponse) GetOperationType() string {
+func (x *OrdersRequest) GetIsConditional() string {
if x != nil {
- return x.OperationType
+ return x.IsConditional
}
return ""
}
-func (x *StreamOrderbookResponse) GetTimestamp() int64 {
+func (x *OrdersRequest) GetOrderType() string {
if x != nil {
- return x.Timestamp
+ return x.OrderType
}
- return 0
+ return ""
}
-func (x *StreamOrderbookResponse) GetMarketId() string {
+func (x *OrdersRequest) GetIncludeInactive() bool {
if x != nil {
- return x.MarketId
+ return x.IncludeInactive
}
- return ""
+ return false
}
-type StreamOrderbookV2Request struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
+func (x *OrdersRequest) GetSubaccountTotalOrders() bool {
+ if x != nil {
+ return x.SubaccountTotalOrders
+ }
+ return false
+}
- // List of market IDs for orderbook streaming, empty means 'ALL' derivative
- // markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+func (x *OrdersRequest) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
+ }
+ return ""
}
-func (x *StreamOrderbookV2Request) Reset() {
- *x = StreamOrderbookV2Request{}
+func (x *OrdersRequest) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type OrdersResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Orders []*DerivativeLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+}
+
+func (x *OrdersResponse) Reset() {
+ *x = OrdersResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[32]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrderbookV2Request) String() string {
+func (x *OrdersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookV2Request) ProtoMessage() {}
+func (*OrdersResponse) ProtoMessage() {}
-func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[32]
+func (x *OrdersResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2219,50 +2373,93 @@ func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookV2Request.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookV2Request) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{32}
+// Deprecated: Use OrdersResponse.ProtoReflect.Descriptor instead.
+func (*OrdersResponse) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{31}
}
-func (x *StreamOrderbookV2Request) GetMarketIds() []string {
+func (x *OrdersResponse) GetOrders() []*DerivativeLimitOrder {
if x != nil {
- return x.MarketIds
+ return x.Orders
}
return nil
}
-type StreamOrderbookV2Response struct {
+func (x *OrdersResponse) GetPaging() *Paging {
+ if x != nil {
+ return x.Paging
+ }
+ return nil
+}
+
+type DerivativeLimitOrder struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Orderbook of a Derivative Market
- Orderbook *DerivativeLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- // MarketId of the market's orderbook
- MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Hash of the order
+ OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ // The side of the order
+ OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
+ // Derivative Market ID
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // The subaccountId that this order belongs to
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // True if the order is a reduce-only order
+ IsReduceOnly bool `protobuf:"varint,5,opt,name=is_reduce_only,json=isReduceOnly,proto3" json:"is_reduce_only,omitempty"`
+ // Margin of the order
+ Margin string `protobuf:"bytes,6,opt,name=margin,proto3" json:"margin,omitempty"`
+ // Price of the order
+ Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"`
+ // Quantity of the order
+ Quantity string `protobuf:"bytes,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
+ // The amount of the quantity remaining unfilled
+ UnfilledQuantity string `protobuf:"bytes,9,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"`
+ // Trigger price is the trigger price used by stop/take orders
+ TriggerPrice string `protobuf:"bytes,10,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
+ // Fee recipient address
+ FeeRecipient string `protobuf:"bytes,11,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
+ // Order state
+ State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"`
+ // Order committed timestamp in UNIX millis.
+ CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
+ // Order updated timestamp in UNIX millis.
+ UpdatedAt int64 `protobuf:"zigzag64,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Order number of subaccount
+ OrderNumber int64 `protobuf:"zigzag64,15,opt,name=order_number,json=orderNumber,proto3" json:"order_number,omitempty"`
+ // Order type
+ OrderType string `protobuf:"bytes,16,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
+ // Order type
+ IsConditional bool `protobuf:"varint,17,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"`
+ // Trigger timestamp, only exists for conditional orders
+ TriggerAt uint64 `protobuf:"varint,18,opt,name=trigger_at,json=triggerAt,proto3" json:"trigger_at,omitempty"`
+ // OrderHash of order that is triggered by this conditional order
+ PlacedOrderHash string `protobuf:"bytes,19,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"`
+ // Execution type of conditional order
+ ExecutionType string `protobuf:"bytes,20,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
+ // Transaction Hash where order is created. Not all orders have this field
+ TxHash string `protobuf:"bytes,21,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
+ // Custom client order ID
+ Cid string `protobuf:"bytes,22,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *StreamOrderbookV2Response) Reset() {
- *x = StreamOrderbookV2Response{}
+func (x *DerivativeLimitOrder) Reset() {
+ *x = DerivativeLimitOrder{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[33]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrderbookV2Response) String() string {
+func (x *DerivativeLimitOrder) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookV2Response) ProtoMessage() {}
+func (*DerivativeLimitOrder) ProtoMessage() {}
-func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[33]
+func (x *DerivativeLimitOrder) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2273,66 +2470,213 @@ func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookV2Response.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookV2Response) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{33}
+// Deprecated: Use DerivativeLimitOrder.ProtoReflect.Descriptor instead.
+func (*DerivativeLimitOrder) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{32}
}
-func (x *StreamOrderbookV2Response) GetOrderbook() *DerivativeLimitOrderbookV2 {
+func (x *DerivativeLimitOrder) GetOrderHash() string {
if x != nil {
- return x.Orderbook
+ return x.OrderHash
}
- return nil
+ return ""
}
-func (x *StreamOrderbookV2Response) GetOperationType() string {
+func (x *DerivativeLimitOrder) GetOrderSide() string {
if x != nil {
- return x.OperationType
+ return x.OrderSide
}
return ""
}
-func (x *StreamOrderbookV2Response) GetTimestamp() int64 {
+func (x *DerivativeLimitOrder) GetMarketId() string {
if x != nil {
- return x.Timestamp
+ return x.MarketId
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetIsReduceOnly() bool {
+ if x != nil {
+ return x.IsReduceOnly
+ }
+ return false
+}
+
+func (x *DerivativeLimitOrder) GetMargin() string {
+ if x != nil {
+ return x.Margin
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetPrice() string {
+ if x != nil {
+ return x.Price
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetQuantity() string {
+ if x != nil {
+ return x.Quantity
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetUnfilledQuantity() string {
+ if x != nil {
+ return x.UnfilledQuantity
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetTriggerPrice() string {
+ if x != nil {
+ return x.TriggerPrice
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetFeeRecipient() string {
+ if x != nil {
+ return x.FeeRecipient
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetState() string {
+ if x != nil {
+ return x.State
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetCreatedAt() int64 {
+ if x != nil {
+ return x.CreatedAt
}
return 0
}
-func (x *StreamOrderbookV2Response) GetMarketId() string {
+func (x *DerivativeLimitOrder) GetUpdatedAt() int64 {
if x != nil {
- return x.MarketId
+ return x.UpdatedAt
+ }
+ return 0
+}
+
+func (x *DerivativeLimitOrder) GetOrderNumber() int64 {
+ if x != nil {
+ return x.OrderNumber
+ }
+ return 0
+}
+
+func (x *DerivativeLimitOrder) GetOrderType() string {
+ if x != nil {
+ return x.OrderType
}
return ""
}
-type StreamOrderbookUpdateRequest struct {
+func (x *DerivativeLimitOrder) GetIsConditional() bool {
+ if x != nil {
+ return x.IsConditional
+ }
+ return false
+}
+
+func (x *DerivativeLimitOrder) GetTriggerAt() uint64 {
+ if x != nil {
+ return x.TriggerAt
+ }
+ return 0
+}
+
+func (x *DerivativeLimitOrder) GetPlacedOrderHash() string {
+ if x != nil {
+ return x.PlacedOrderHash
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetExecutionType() string {
+ if x != nil {
+ return x.ExecutionType
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetTxHash() string {
+ if x != nil {
+ return x.TxHash
+ }
+ return ""
+}
+
+func (x *DerivativeLimitOrder) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type PositionsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of market IDs for orderbook streaming, empty means 'ALL' derivative
- // markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // SubaccountId of the trader we want to get the positions from
+ SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // MarketId of the position we want to fetch. Use this field for fetching from
+ // single market
+ MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned
+ Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets we want to filter. Use this field for fetching from
+ // multiple markets
+ MarketIds []string `protobuf:"bytes,7,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // filter by direction of the position
+ Direction string `protobuf:"bytes,8,opt,name=direction,proto3" json:"direction,omitempty"`
+ // set to True to return subaccount total positions
+ SubaccountTotalPositions bool `protobuf:"varint,9,opt,name=subaccount_total_positions,json=subaccountTotalPositions,proto3" json:"subaccount_total_positions,omitempty"`
+ // filter by account address
+ AccountAddress string `protobuf:"bytes,10,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
}
-func (x *StreamOrderbookUpdateRequest) Reset() {
- *x = StreamOrderbookUpdateRequest{}
+func (x *PositionsRequest) Reset() {
+ *x = PositionsRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[34]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrderbookUpdateRequest) String() string {
+func (x *PositionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookUpdateRequest) ProtoMessage() {}
+func (*PositionsRequest) ProtoMessage() {}
-func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[34]
+func (x *PositionsRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2343,50 +2687,107 @@ func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookUpdateRequest.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookUpdateRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{34}
+// Deprecated: Use PositionsRequest.ProtoReflect.Descriptor instead.
+func (*PositionsRequest) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{33}
}
-func (x *StreamOrderbookUpdateRequest) GetMarketIds() []string {
+func (x *PositionsRequest) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
+ }
+ return ""
+}
+
+func (x *PositionsRequest) GetMarketId() string {
+ if x != nil {
+ return x.MarketId
+ }
+ return ""
+}
+
+func (x *PositionsRequest) GetSkip() uint64 {
+ if x != nil {
+ return x.Skip
+ }
+ return 0
+}
+
+func (x *PositionsRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
+ }
+ return 0
+}
+
+func (x *PositionsRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
+}
+
+func (x *PositionsRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
+
+func (x *PositionsRequest) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-type StreamOrderbookUpdateResponse struct {
+func (x *PositionsRequest) GetDirection() string {
+ if x != nil {
+ return x.Direction
+ }
+ return ""
+}
+
+func (x *PositionsRequest) GetSubaccountTotalPositions() bool {
+ if x != nil {
+ return x.SubaccountTotalPositions
+ }
+ return false
+}
+
+func (x *PositionsRequest) GetAccountAddress() string {
+ if x != nil {
+ return x.AccountAddress
+ }
+ return ""
+}
+
+type PositionsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Orderbook level updates of a Derivative Market
- OrderbookLevelUpdates *OrderbookLevelUpdates `protobuf:"bytes,1,opt,name=orderbook_level_updates,json=orderbookLevelUpdates,proto3" json:"orderbook_level_updates,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- // MarketId of the market's orderbook
- MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ Positions []*DerivativePosition `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *StreamOrderbookUpdateResponse) Reset() {
- *x = StreamOrderbookUpdateResponse{}
+func (x *PositionsResponse) Reset() {
+ *x = PositionsResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[35]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrderbookUpdateResponse) String() string {
+func (x *PositionsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookUpdateResponse) ProtoMessage() {}
+func (*PositionsResponse) ProtoMessage() {}
-func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[35]
+func (x *PositionsResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2397,73 +2798,73 @@ func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookUpdateResponse.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookUpdateResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{35}
-}
-
-func (x *StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates() *OrderbookLevelUpdates {
- if x != nil {
- return x.OrderbookLevelUpdates
- }
- return nil
-}
-
-func (x *StreamOrderbookUpdateResponse) GetOperationType() string {
- if x != nil {
- return x.OperationType
- }
- return ""
+// Deprecated: Use PositionsResponse.ProtoReflect.Descriptor instead.
+func (*PositionsResponse) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{34}
}
-func (x *StreamOrderbookUpdateResponse) GetTimestamp() int64 {
+func (x *PositionsResponse) GetPositions() []*DerivativePosition {
if x != nil {
- return x.Timestamp
+ return x.Positions
}
- return 0
+ return nil
}
-func (x *StreamOrderbookUpdateResponse) GetMarketId() string {
+func (x *PositionsResponse) GetPaging() *Paging {
if x != nil {
- return x.MarketId
+ return x.Paging
}
- return ""
+ return nil
}
-type OrderbookLevelUpdates struct {
+type DerivativePosition struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // market's ID
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // orderbook update sequence
- Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
- // buy levels
- Buys []*PriceLevelUpdate `protobuf:"bytes,3,rep,name=buys,proto3" json:"buys,omitempty"`
- // sell levels
- Sells []*PriceLevelUpdate `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"`
- // updates timestamp
- UpdatedAt int64 `protobuf:"zigzag64,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Ticker of the derivative market
+ Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"`
+ // Derivative Market ID
+ MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // The subaccountId that the position belongs to
+ SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Direction of the position
+ Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
+ // Quantity of the position
+ Quantity string `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
+ // Price of the position
+ EntryPrice string `protobuf:"bytes,6,opt,name=entry_price,json=entryPrice,proto3" json:"entry_price,omitempty"`
+ // Margin of the position
+ Margin string `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"`
+ // LiquidationPrice of the position
+ LiquidationPrice string `protobuf:"bytes,8,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"`
+ // MarkPrice of the position
+ MarkPrice string `protobuf:"bytes,9,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"`
+ // Aggregate Quantity of the Reduce Only orders associated with the position
+ AggregateReduceOnlyQuantity string `protobuf:"bytes,11,opt,name=aggregate_reduce_only_quantity,json=aggregateReduceOnlyQuantity,proto3" json:"aggregate_reduce_only_quantity,omitempty"`
+ // Position updated timestamp in UNIX millis.
+ UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Position created timestamp in UNIX millis.
+ CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
}
-func (x *OrderbookLevelUpdates) Reset() {
- *x = OrderbookLevelUpdates{}
+func (x *DerivativePosition) Reset() {
+ *x = DerivativePosition{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[36]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OrderbookLevelUpdates) String() string {
+func (x *DerivativePosition) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookLevelUpdates) ProtoMessage() {}
+func (*DerivativePosition) ProtoMessage() {}
-func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[36]
+func (x *DerivativePosition) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2474,173 +2875,143 @@ func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookLevelUpdates.ProtoReflect.Descriptor instead.
-func (*OrderbookLevelUpdates) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{36}
+// Deprecated: Use DerivativePosition.ProtoReflect.Descriptor instead.
+func (*DerivativePosition) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{35}
}
-func (x *OrderbookLevelUpdates) GetMarketId() string {
+func (x *DerivativePosition) GetTicker() string {
if x != nil {
- return x.MarketId
+ return x.Ticker
}
return ""
}
-func (x *OrderbookLevelUpdates) GetSequence() uint64 {
+func (x *DerivativePosition) GetMarketId() string {
if x != nil {
- return x.Sequence
+ return x.MarketId
}
- return 0
+ return ""
}
-func (x *OrderbookLevelUpdates) GetBuys() []*PriceLevelUpdate {
+func (x *DerivativePosition) GetSubaccountId() string {
if x != nil {
- return x.Buys
+ return x.SubaccountId
}
- return nil
+ return ""
}
-func (x *OrderbookLevelUpdates) GetSells() []*PriceLevelUpdate {
+func (x *DerivativePosition) GetDirection() string {
if x != nil {
- return x.Sells
+ return x.Direction
}
- return nil
+ return ""
}
-func (x *OrderbookLevelUpdates) GetUpdatedAt() int64 {
+func (x *DerivativePosition) GetQuantity() string {
if x != nil {
- return x.UpdatedAt
+ return x.Quantity
}
- return 0
-}
-
-type PriceLevelUpdate struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Price number of the price level.
- Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
- // Quantity of the price level.
- Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
- // Price level status.
- IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
- // Price level last updated timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ return ""
}
-func (x *PriceLevelUpdate) Reset() {
- *x = PriceLevelUpdate{}
- if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[37]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *DerivativePosition) GetEntryPrice() string {
+ if x != nil {
+ return x.EntryPrice
}
+ return ""
}
-func (x *PriceLevelUpdate) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*PriceLevelUpdate) ProtoMessage() {}
-
-func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[37]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *DerivativePosition) GetMargin() string {
+ if x != nil {
+ return x.Margin
}
- return mi.MessageOf(x)
+ return ""
}
-// Deprecated: Use PriceLevelUpdate.ProtoReflect.Descriptor instead.
-func (*PriceLevelUpdate) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{37}
+func (x *DerivativePosition) GetLiquidationPrice() string {
+ if x != nil {
+ return x.LiquidationPrice
+ }
+ return ""
}
-func (x *PriceLevelUpdate) GetPrice() string {
+func (x *DerivativePosition) GetMarkPrice() string {
if x != nil {
- return x.Price
+ return x.MarkPrice
}
return ""
}
-func (x *PriceLevelUpdate) GetQuantity() string {
+func (x *DerivativePosition) GetAggregateReduceOnlyQuantity() string {
if x != nil {
- return x.Quantity
+ return x.AggregateReduceOnlyQuantity
}
return ""
}
-func (x *PriceLevelUpdate) GetIsActive() bool {
+func (x *DerivativePosition) GetUpdatedAt() int64 {
if x != nil {
- return x.IsActive
+ return x.UpdatedAt
}
- return false
+ return 0
}
-func (x *PriceLevelUpdate) GetTimestamp() int64 {
+func (x *DerivativePosition) GetCreatedAt() int64 {
if x != nil {
- return x.Timestamp
+ return x.CreatedAt
}
return 0
}
-type OrdersRequest struct {
+type PositionsV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketId of market we want to fetch orders from. Using this field for one
- // single marketId
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Look for specific order side
- OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
- // Look for specific subaccountId of an order
- SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // SubaccountId of the trader we want to get the positions from
+ SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // MarketId of the position we want to fetch. Use this field for fetching from
+ // single market
+ MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
// Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
+ Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
// Limit is used to specify the maximum number of items to be returned
- Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
+ Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
// The starting timestamp in UNIX milliseconds that the trades must be equal or
// older than
- StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ StartTime int64 `protobuf:"zigzag64,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The ending timestamp in UNIX milliseconds that the trades must be equal or
// younger than
- EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // MarketIds of the markets of which we want to get order from, use this field
- // for fetching orders from multiple markets
- MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
- // Only search for conditional/non-conditional orders
- IsConditional string `protobuf:"bytes,9,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"`
- // Search for specific order type
- OrderType string `protobuf:"bytes,10,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
- // Should include inactive orders
- IncludeInactive bool `protobuf:"varint,11,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
- // Choose to return subaccount total orders
- SubaccountTotalOrders bool `protobuf:"varint,12,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ EndTime int64 `protobuf:"zigzag64,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets we want to filter. Use this field for fetching from
+ // multiple markets
+ MarketIds []string `protobuf:"bytes,7,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // filter by direction of the position
+ Direction string `protobuf:"bytes,8,opt,name=direction,proto3" json:"direction,omitempty"`
+ // set to True to return subaccount total positions
+ SubaccountTotalPositions bool `protobuf:"varint,9,opt,name=subaccount_total_positions,json=subaccountTotalPositions,proto3" json:"subaccount_total_positions,omitempty"`
+ // filter by account address
+ AccountAddress string `protobuf:"bytes,10,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
}
-func (x *OrdersRequest) Reset() {
- *x = OrdersRequest{}
+func (x *PositionsV2Request) Reset() {
+ *x = PositionsV2Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[38]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OrdersRequest) String() string {
+func (x *PositionsV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrdersRequest) ProtoMessage() {}
+func (*PositionsV2Request) ProtoMessage() {}
-func (x *OrdersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[38]
+func (x *PositionsV2Request) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2651,121 +3022,107 @@ func (x *OrdersRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrdersRequest.ProtoReflect.Descriptor instead.
-func (*OrdersRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{38}
-}
-
-func (x *OrdersRequest) GetMarketId() string {
- if x != nil {
- return x.MarketId
- }
- return ""
+// Deprecated: Use PositionsV2Request.ProtoReflect.Descriptor instead.
+func (*PositionsV2Request) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{36}
}
-func (x *OrdersRequest) GetOrderSide() string {
+func (x *PositionsV2Request) GetSubaccountId() string {
if x != nil {
- return x.OrderSide
+ return x.SubaccountId
}
return ""
}
-func (x *OrdersRequest) GetSubaccountId() string {
+func (x *PositionsV2Request) GetMarketId() string {
if x != nil {
- return x.SubaccountId
+ return x.MarketId
}
return ""
}
-func (x *OrdersRequest) GetSkip() uint64 {
+func (x *PositionsV2Request) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *OrdersRequest) GetLimit() int32 {
+func (x *PositionsV2Request) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-func (x *OrdersRequest) GetStartTime() int64 {
+func (x *PositionsV2Request) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
-func (x *OrdersRequest) GetEndTime() int64 {
+func (x *PositionsV2Request) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
-func (x *OrdersRequest) GetMarketIds() []string {
+func (x *PositionsV2Request) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-func (x *OrdersRequest) GetIsConditional() string {
- if x != nil {
- return x.IsConditional
- }
- return ""
-}
-
-func (x *OrdersRequest) GetOrderType() string {
+func (x *PositionsV2Request) GetDirection() string {
if x != nil {
- return x.OrderType
+ return x.Direction
}
return ""
}
-func (x *OrdersRequest) GetIncludeInactive() bool {
+func (x *PositionsV2Request) GetSubaccountTotalPositions() bool {
if x != nil {
- return x.IncludeInactive
+ return x.SubaccountTotalPositions
}
return false
}
-func (x *OrdersRequest) GetSubaccountTotalOrders() bool {
+func (x *PositionsV2Request) GetAccountAddress() string {
if x != nil {
- return x.SubaccountTotalOrders
+ return x.AccountAddress
}
- return false
+ return ""
}
-type OrdersResponse struct {
+type PositionsV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Orders []*DerivativeLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+ Positions []*DerivativePositionV2 `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *OrdersResponse) Reset() {
- *x = OrdersResponse{}
+func (x *PositionsV2Response) Reset() {
+ *x = PositionsV2Response{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[39]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OrdersResponse) String() string {
+func (x *PositionsV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrdersResponse) ProtoMessage() {}
+func (*PositionsV2Response) ProtoMessage() {}
-func (x *OrdersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[39]
+func (x *PositionsV2Response) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[37]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2776,89 +3133,71 @@ func (x *OrdersResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrdersResponse.ProtoReflect.Descriptor instead.
-func (*OrdersResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{39}
+// Deprecated: Use PositionsV2Response.ProtoReflect.Descriptor instead.
+func (*PositionsV2Response) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{37}
}
-func (x *OrdersResponse) GetOrders() []*DerivativeLimitOrder {
+func (x *PositionsV2Response) GetPositions() []*DerivativePositionV2 {
if x != nil {
- return x.Orders
+ return x.Positions
}
return nil
}
-func (x *OrdersResponse) GetPaging() *Paging {
+func (x *PositionsV2Response) GetPaging() *Paging {
if x != nil {
return x.Paging
}
return nil
}
-type DerivativeLimitOrder struct {
+type DerivativePositionV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Hash of the order
- OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
- // The side of the order
- OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
+ // Ticker of the derivative market
+ Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"`
// Derivative Market ID
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // The subaccountId that this order belongs to
- SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // True if the order is a reduce-only order
- IsReduceOnly bool `protobuf:"varint,5,opt,name=is_reduce_only,json=isReduceOnly,proto3" json:"is_reduce_only,omitempty"`
- // Margin of the order
- Margin string `protobuf:"bytes,6,opt,name=margin,proto3" json:"margin,omitempty"`
- // Price of the order
- Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"`
- // Quantity of the order
- Quantity string `protobuf:"bytes,8,opt,name=quantity,proto3" json:"quantity,omitempty"`
- // The amount of the quantity remaining unfilled
- UnfilledQuantity string `protobuf:"bytes,9,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"`
- // Trigger price is the trigger price used by stop/take orders
- TriggerPrice string `protobuf:"bytes,10,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
- // Fee recipient address
- FeeRecipient string `protobuf:"bytes,11,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
- // Order state
- State string `protobuf:"bytes,12,opt,name=state,proto3" json:"state,omitempty"`
- // Order committed timestamp in UNIX millis.
- CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- // Order updated timestamp in UNIX millis.
- UpdatedAt int64 `protobuf:"zigzag64,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- // Order number of subaccount
- OrderNumber int64 `protobuf:"zigzag64,15,opt,name=order_number,json=orderNumber,proto3" json:"order_number,omitempty"`
- // Order type
- OrderType string `protobuf:"bytes,16,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
- // Order type
- IsConditional bool `protobuf:"varint,17,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"`
- // Trigger timestamp, only exists for conditional orders
- TriggerAt uint64 `protobuf:"varint,18,opt,name=trigger_at,json=triggerAt,proto3" json:"trigger_at,omitempty"`
- // OrderHash of order that is triggered by this conditional order
- PlacedOrderHash string `protobuf:"bytes,19,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"`
- // Execution type of conditional order
- ExecutionType string `protobuf:"bytes,20,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
+ MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // The subaccountId that the position belongs to
+ SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Direction of the position
+ Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
+ // Quantity of the position
+ Quantity string `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
+ // Price of the position
+ EntryPrice string `protobuf:"bytes,6,opt,name=entry_price,json=entryPrice,proto3" json:"entry_price,omitempty"`
+ // Margin of the position
+ Margin string `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"`
+ // LiquidationPrice of the position
+ LiquidationPrice string `protobuf:"bytes,8,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"`
+ // MarkPrice of the position
+ MarkPrice string `protobuf:"bytes,9,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"`
+ // Position updated timestamp in UNIX millis.
+ UpdatedAt int64 `protobuf:"zigzag64,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Market quote denom
+ Denom string `protobuf:"bytes,12,opt,name=denom,proto3" json:"denom,omitempty"`
}
-func (x *DerivativeLimitOrder) Reset() {
- *x = DerivativeLimitOrder{}
+func (x *DerivativePositionV2) Reset() {
+ *x = DerivativePositionV2{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[40]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *DerivativeLimitOrder) String() string {
+func (x *DerivativePositionV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*DerivativeLimitOrder) ProtoMessage() {}
+func (*DerivativePositionV2) ProtoMessage() {}
-func (x *DerivativeLimitOrder) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[40]
+func (x *DerivativePositionV2) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2869,182 +3208,225 @@ func (x *DerivativeLimitOrder) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use DerivativeLimitOrder.ProtoReflect.Descriptor instead.
-func (*DerivativeLimitOrder) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{40}
-}
-
-func (x *DerivativeLimitOrder) GetOrderHash() string {
- if x != nil {
- return x.OrderHash
- }
- return ""
+// Deprecated: Use DerivativePositionV2.ProtoReflect.Descriptor instead.
+func (*DerivativePositionV2) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{38}
}
-func (x *DerivativeLimitOrder) GetOrderSide() string {
+func (x *DerivativePositionV2) GetTicker() string {
if x != nil {
- return x.OrderSide
+ return x.Ticker
}
return ""
}
-func (x *DerivativeLimitOrder) GetMarketId() string {
+func (x *DerivativePositionV2) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *DerivativeLimitOrder) GetSubaccountId() string {
+func (x *DerivativePositionV2) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *DerivativeLimitOrder) GetIsReduceOnly() bool {
+func (x *DerivativePositionV2) GetDirection() string {
if x != nil {
- return x.IsReduceOnly
+ return x.Direction
}
- return false
+ return ""
}
-func (x *DerivativeLimitOrder) GetMargin() string {
+func (x *DerivativePositionV2) GetQuantity() string {
if x != nil {
- return x.Margin
+ return x.Quantity
}
return ""
}
-func (x *DerivativeLimitOrder) GetPrice() string {
+func (x *DerivativePositionV2) GetEntryPrice() string {
if x != nil {
- return x.Price
+ return x.EntryPrice
}
return ""
}
-func (x *DerivativeLimitOrder) GetQuantity() string {
+func (x *DerivativePositionV2) GetMargin() string {
if x != nil {
- return x.Quantity
+ return x.Margin
}
return ""
}
-func (x *DerivativeLimitOrder) GetUnfilledQuantity() string {
+func (x *DerivativePositionV2) GetLiquidationPrice() string {
if x != nil {
- return x.UnfilledQuantity
+ return x.LiquidationPrice
}
return ""
}
-func (x *DerivativeLimitOrder) GetTriggerPrice() string {
+func (x *DerivativePositionV2) GetMarkPrice() string {
if x != nil {
- return x.TriggerPrice
+ return x.MarkPrice
}
return ""
}
-func (x *DerivativeLimitOrder) GetFeeRecipient() string {
+func (x *DerivativePositionV2) GetUpdatedAt() int64 {
if x != nil {
- return x.FeeRecipient
+ return x.UpdatedAt
}
- return ""
+ return 0
}
-func (x *DerivativeLimitOrder) GetState() string {
+func (x *DerivativePositionV2) GetDenom() string {
if x != nil {
- return x.State
+ return x.Denom
}
return ""
}
-func (x *DerivativeLimitOrder) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
+type LiquidablePositionsRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Market ID to filter orders for specific market
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
}
-func (x *DerivativeLimitOrder) GetUpdatedAt() int64 {
- if x != nil {
- return x.UpdatedAt
+func (x *LiquidablePositionsRequest) Reset() {
+ *x = LiquidablePositionsRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[39]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return 0
}
-func (x *DerivativeLimitOrder) GetOrderNumber() int64 {
- if x != nil {
- return x.OrderNumber
+func (x *LiquidablePositionsRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*LiquidablePositionsRequest) ProtoMessage() {}
+
+func (x *LiquidablePositionsRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[39]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return 0
+ return mi.MessageOf(x)
}
-func (x *DerivativeLimitOrder) GetOrderType() string {
+// Deprecated: Use LiquidablePositionsRequest.ProtoReflect.Descriptor instead.
+func (*LiquidablePositionsRequest) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{39}
+}
+
+func (x *LiquidablePositionsRequest) GetMarketId() string {
if x != nil {
- return x.OrderType
+ return x.MarketId
}
return ""
}
-func (x *DerivativeLimitOrder) GetIsConditional() bool {
+func (x *LiquidablePositionsRequest) GetSkip() uint64 {
if x != nil {
- return x.IsConditional
+ return x.Skip
}
- return false
+ return 0
}
-func (x *DerivativeLimitOrder) GetTriggerAt() uint64 {
+func (x *LiquidablePositionsRequest) GetLimit() int32 {
if x != nil {
- return x.TriggerAt
+ return x.Limit
}
return 0
}
-func (x *DerivativeLimitOrder) GetPlacedOrderHash() string {
- if x != nil {
- return x.PlacedOrderHash
+type LiquidablePositionsResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // List of derivative positions
+ Positions []*DerivativePosition `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
+}
+
+func (x *LiquidablePositionsResponse) Reset() {
+ *x = LiquidablePositionsResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[40]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (x *DerivativeLimitOrder) GetExecutionType() string {
+func (x *LiquidablePositionsResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*LiquidablePositionsResponse) ProtoMessage() {}
+
+func (x *LiquidablePositionsResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[40]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use LiquidablePositionsResponse.ProtoReflect.Descriptor instead.
+func (*LiquidablePositionsResponse) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{40}
+}
+
+func (x *LiquidablePositionsResponse) GetPositions() []*DerivativePosition {
if x != nil {
- return x.ExecutionType
+ return x.Positions
}
- return ""
+ return nil
}
-type PositionsRequest struct {
+type FundingPaymentsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// SubaccountId of the trader we want to get the positions from
SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // MarketId of the position we want to fetch. Use this field for fetching from
- // single market
+ // MarketIds of the funding payment we want to fetch. Using this for only one
+ // market id. This field is prioritized
MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
// Skip will skip the first n item from the result
Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned
- Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
- // The starting timestamp in UNIX milliseconds that the trades must be equal or
- // older than
- StartTime int64 `protobuf:"zigzag64,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // The ending timestamp in UNIX milliseconds that the trades must be equal or
- // younger than
- EndTime int64 `protobuf:"zigzag64,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // MarketIds of the markets we want to filter. Use this field for fetching from
- // multiple markets
- MarketIds []string `protobuf:"bytes,7,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
- // filter by direction of the position
- Direction string `protobuf:"bytes,8,opt,name=direction,proto3" json:"direction,omitempty"`
- // set to True to return subaccount total positions
- SubaccountTotalPositions bool `protobuf:"varint,9,opt,name=subaccount_total_positions,json=subaccountTotalPositions,proto3" json:"subaccount_total_positions,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
+ // Upper bound of funding payment updatedAt
+ EndTime int64 `protobuf:"zigzag64,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // Filter by market ids. Using this field for fetching funding payments from
+ // multiple market ids
+ MarketIds []string `protobuf:"bytes,6,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
-func (x *PositionsRequest) Reset() {
- *x = PositionsRequest{}
+func (x *FundingPaymentsRequest) Reset() {
+ *x = FundingPaymentsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3052,13 +3434,13 @@ func (x *PositionsRequest) Reset() {
}
}
-func (x *PositionsRequest) String() string {
+func (x *FundingPaymentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PositionsRequest) ProtoMessage() {}
+func (*FundingPaymentsRequest) ProtoMessage() {}
-func (x *PositionsRequest) ProtoReflect() protoreflect.Message {
+func (x *FundingPaymentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3070,85 +3452,65 @@ func (x *PositionsRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PositionsRequest.ProtoReflect.Descriptor instead.
-func (*PositionsRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use FundingPaymentsRequest.ProtoReflect.Descriptor instead.
+func (*FundingPaymentsRequest) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{41}
}
-func (x *PositionsRequest) GetSubaccountId() string {
+func (x *FundingPaymentsRequest) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *PositionsRequest) GetMarketId() string {
+func (x *FundingPaymentsRequest) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *PositionsRequest) GetSkip() uint64 {
+func (x *FundingPaymentsRequest) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *PositionsRequest) GetLimit() int32 {
+func (x *FundingPaymentsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-func (x *PositionsRequest) GetStartTime() int64 {
- if x != nil {
- return x.StartTime
- }
- return 0
-}
-
-func (x *PositionsRequest) GetEndTime() int64 {
+func (x *FundingPaymentsRequest) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
-func (x *PositionsRequest) GetMarketIds() []string {
+func (x *FundingPaymentsRequest) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-func (x *PositionsRequest) GetDirection() string {
- if x != nil {
- return x.Direction
- }
- return ""
-}
-
-func (x *PositionsRequest) GetSubaccountTotalPositions() bool {
- if x != nil {
- return x.SubaccountTotalPositions
- }
- return false
-}
-
-type PositionsResponse struct {
+type FundingPaymentsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Positions []*DerivativePosition `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+ // List of funding payments
+ Payments []*FundingPayment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *PositionsResponse) Reset() {
- *x = PositionsResponse{}
+func (x *FundingPaymentsResponse) Reset() {
+ *x = FundingPaymentsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3156,13 +3518,13 @@ func (x *PositionsResponse) Reset() {
}
}
-func (x *PositionsResponse) String() string {
+func (x *FundingPaymentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PositionsResponse) ProtoMessage() {}
+func (*FundingPaymentsResponse) ProtoMessage() {}
-func (x *PositionsResponse) ProtoReflect() protoreflect.Message {
+func (x *FundingPaymentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3174,58 +3536,42 @@ func (x *PositionsResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PositionsResponse.ProtoReflect.Descriptor instead.
-func (*PositionsResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use FundingPaymentsResponse.ProtoReflect.Descriptor instead.
+func (*FundingPaymentsResponse) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{42}
}
-func (x *PositionsResponse) GetPositions() []*DerivativePosition {
+func (x *FundingPaymentsResponse) GetPayments() []*FundingPayment {
if x != nil {
- return x.Positions
+ return x.Payments
}
return nil
}
-func (x *PositionsResponse) GetPaging() *Paging {
+func (x *FundingPaymentsResponse) GetPaging() *Paging {
if x != nil {
return x.Paging
}
return nil
}
-type DerivativePosition struct {
+type FundingPayment struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Ticker of the derivative market
- Ticker string `protobuf:"bytes,1,opt,name=ticker,proto3" json:"ticker,omitempty"`
// Derivative Market ID
- MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
// The subaccountId that the position belongs to
- SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Direction of the position
- Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
- // Quantity of the position
- Quantity string `protobuf:"bytes,5,opt,name=quantity,proto3" json:"quantity,omitempty"`
- // Price of the position
- EntryPrice string `protobuf:"bytes,6,opt,name=entry_price,json=entryPrice,proto3" json:"entry_price,omitempty"`
- // Margin of the position
- Margin string `protobuf:"bytes,7,opt,name=margin,proto3" json:"margin,omitempty"`
- // LiquidationPrice of the position
- LiquidationPrice string `protobuf:"bytes,8,opt,name=liquidation_price,json=liquidationPrice,proto3" json:"liquidation_price,omitempty"`
- // MarkPrice of the position
- MarkPrice string `protobuf:"bytes,9,opt,name=mark_price,json=markPrice,proto3" json:"mark_price,omitempty"`
- // Aggregate Quantity of the Reduce Only orders associated with the position
- AggregateReduceOnlyQuantity string `protobuf:"bytes,11,opt,name=aggregate_reduce_only_quantity,json=aggregateReduceOnlyQuantity,proto3" json:"aggregate_reduce_only_quantity,omitempty"`
- // Position updated timestamp in UNIX millis.
- UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- // Position created timestamp in UNIX millis.
- CreatedAt int64 `protobuf:"zigzag64,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
+ SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Amount of the funding payment
+ Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
+ // Timestamp of funding payment in UNIX millis
+ Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *DerivativePosition) Reset() {
- *x = DerivativePosition{}
+func (x *FundingPayment) Reset() {
+ *x = FundingPayment{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3233,13 +3579,13 @@ func (x *DerivativePosition) Reset() {
}
}
-func (x *DerivativePosition) String() string {
+func (x *FundingPayment) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*DerivativePosition) ProtoMessage() {}
+func (*FundingPayment) ProtoMessage() {}
-func (x *DerivativePosition) ProtoReflect() protoreflect.Message {
+func (x *FundingPayment) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3251,125 +3597,141 @@ func (x *DerivativePosition) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use DerivativePosition.ProtoReflect.Descriptor instead.
-func (*DerivativePosition) Descriptor() ([]byte, []int) {
+// Deprecated: Use FundingPayment.ProtoReflect.Descriptor instead.
+func (*FundingPayment) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{43}
}
-func (x *DerivativePosition) GetTicker() string {
- if x != nil {
- return x.Ticker
- }
- return ""
-}
-
-func (x *DerivativePosition) GetMarketId() string {
+func (x *FundingPayment) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *DerivativePosition) GetSubaccountId() string {
+func (x *FundingPayment) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *DerivativePosition) GetDirection() string {
+func (x *FundingPayment) GetAmount() string {
if x != nil {
- return x.Direction
+ return x.Amount
}
return ""
}
-func (x *DerivativePosition) GetQuantity() string {
+func (x *FundingPayment) GetTimestamp() int64 {
if x != nil {
- return x.Quantity
+ return x.Timestamp
}
- return ""
+ return 0
}
-func (x *DerivativePosition) GetEntryPrice() string {
- if x != nil {
- return x.EntryPrice
- }
- return ""
+type FundingRatesRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // MarketId of the position we want to fetch
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
+ // Upper bound of funding timestamp
+ EndTime int64 `protobuf:"zigzag64,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
}
-func (x *DerivativePosition) GetMargin() string {
- if x != nil {
- return x.Margin
+func (x *FundingRatesRequest) Reset() {
+ *x = FundingRatesRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[44]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (x *DerivativePosition) GetLiquidationPrice() string {
- if x != nil {
- return x.LiquidationPrice
+func (x *FundingRatesRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*FundingRatesRequest) ProtoMessage() {}
+
+func (x *FundingRatesRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[44]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
}
-func (x *DerivativePosition) GetMarkPrice() string {
+// Deprecated: Use FundingRatesRequest.ProtoReflect.Descriptor instead.
+func (*FundingRatesRequest) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{44}
+}
+
+func (x *FundingRatesRequest) GetMarketId() string {
if x != nil {
- return x.MarkPrice
+ return x.MarketId
}
return ""
}
-func (x *DerivativePosition) GetAggregateReduceOnlyQuantity() string {
+func (x *FundingRatesRequest) GetSkip() uint64 {
if x != nil {
- return x.AggregateReduceOnlyQuantity
+ return x.Skip
}
- return ""
+ return 0
}
-func (x *DerivativePosition) GetUpdatedAt() int64 {
+func (x *FundingRatesRequest) GetLimit() int32 {
if x != nil {
- return x.UpdatedAt
+ return x.Limit
}
return 0
}
-func (x *DerivativePosition) GetCreatedAt() int64 {
+func (x *FundingRatesRequest) GetEndTime() int64 {
if x != nil {
- return x.CreatedAt
+ return x.EndTime
}
return 0
}
-type LiquidablePositionsRequest struct {
+type FundingRatesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Market ID to filter orders for specific market
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned.
- Limit int32 `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
+ // List of funding rates
+ FundingRates []*FundingRate `protobuf:"bytes,1,rep,name=funding_rates,json=fundingRates,proto3" json:"funding_rates,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *LiquidablePositionsRequest) Reset() {
- *x = LiquidablePositionsRequest{}
+func (x *FundingRatesResponse) Reset() {
+ *x = FundingRatesResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[44]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LiquidablePositionsRequest) String() string {
+func (x *FundingRatesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LiquidablePositionsRequest) ProtoMessage() {}
+func (*FundingRatesResponse) ProtoMessage() {}
-func (x *LiquidablePositionsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[44]
+func (x *FundingRatesResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3380,58 +3742,55 @@ func (x *LiquidablePositionsRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LiquidablePositionsRequest.ProtoReflect.Descriptor instead.
-func (*LiquidablePositionsRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{44}
-}
-
-func (x *LiquidablePositionsRequest) GetMarketId() string {
- if x != nil {
- return x.MarketId
- }
- return ""
+// Deprecated: Use FundingRatesResponse.ProtoReflect.Descriptor instead.
+func (*FundingRatesResponse) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{45}
}
-func (x *LiquidablePositionsRequest) GetSkip() uint64 {
+func (x *FundingRatesResponse) GetFundingRates() []*FundingRate {
if x != nil {
- return x.Skip
+ return x.FundingRates
}
- return 0
+ return nil
}
-func (x *LiquidablePositionsRequest) GetLimit() int32 {
+func (x *FundingRatesResponse) GetPaging() *Paging {
if x != nil {
- return x.Limit
+ return x.Paging
}
- return 0
+ return nil
}
-type LiquidablePositionsResponse struct {
+type FundingRate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of derivative positions
- Positions []*DerivativePosition `protobuf:"bytes,1,rep,name=positions,proto3" json:"positions,omitempty"`
+ // Derivative Market ID
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Value of the funding rate
+ Rate string `protobuf:"bytes,2,opt,name=rate,proto3" json:"rate,omitempty"`
+ // Timestamp of funding rate in UNIX millis
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *LiquidablePositionsResponse) Reset() {
- *x = LiquidablePositionsResponse{}
+func (x *FundingRate) Reset() {
+ *x = FundingRate{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[45]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *LiquidablePositionsResponse) String() string {
+func (x *FundingRate) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*LiquidablePositionsResponse) ProtoMessage() {}
+func (*FundingRate) ProtoMessage() {}
-func (x *LiquidablePositionsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[45]
+func (x *FundingRate) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[46]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3442,56 +3801,66 @@ func (x *LiquidablePositionsResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use LiquidablePositionsResponse.ProtoReflect.Descriptor instead.
-func (*LiquidablePositionsResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{45}
+// Deprecated: Use FundingRate.ProtoReflect.Descriptor instead.
+func (*FundingRate) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{46}
}
-func (x *LiquidablePositionsResponse) GetPositions() []*DerivativePosition {
+func (x *FundingRate) GetMarketId() string {
if x != nil {
- return x.Positions
+ return x.MarketId
}
- return nil
+ return ""
}
-type FundingPaymentsRequest struct {
+func (x *FundingRate) GetRate() string {
+ if x != nil {
+ return x.Rate
+ }
+ return ""
+}
+
+func (x *FundingRate) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+type StreamPositionsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// SubaccountId of the trader we want to get the positions from
SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // MarketIds of the funding payment we want to fetch. Using this for only one
- // market id. This field is prioritized
+ // Backward compat single market ID of position we want to stream
MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned.
- Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
- // Upper bound of funding payment updatedAt
- EndTime int64 `protobuf:"zigzag64,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // Filter by market ids. Using this field for fetching funding payments from
- // multiple market ids
- MarketIds []string `protobuf:"bytes,6,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // List of market IDs of the positions we want to stream
+ MarketIds []string `protobuf:"bytes,3,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Subaccount ids of traders we want to get positions
+ SubaccountIds []string `protobuf:"bytes,4,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ // filter by account address
+ AccountAddress string `protobuf:"bytes,5,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
}
-func (x *FundingPaymentsRequest) Reset() {
- *x = FundingPaymentsRequest{}
+func (x *StreamPositionsRequest) Reset() {
+ *x = StreamPositionsRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[46]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *FundingPaymentsRequest) String() string {
+func (x *StreamPositionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*FundingPaymentsRequest) ProtoMessage() {}
+func (*StreamPositionsRequest) ProtoMessage() {}
-func (x *FundingPaymentsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[46]
+func (x *StreamPositionsRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[47]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3502,80 +3871,74 @@ func (x *FundingPaymentsRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use FundingPaymentsRequest.ProtoReflect.Descriptor instead.
-func (*FundingPaymentsRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{46}
+// Deprecated: Use StreamPositionsRequest.ProtoReflect.Descriptor instead.
+func (*StreamPositionsRequest) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{47}
}
-func (x *FundingPaymentsRequest) GetSubaccountId() string {
+func (x *StreamPositionsRequest) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *FundingPaymentsRequest) GetMarketId() string {
+func (x *StreamPositionsRequest) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *FundingPaymentsRequest) GetSkip() uint64 {
- if x != nil {
- return x.Skip
- }
- return 0
-}
-
-func (x *FundingPaymentsRequest) GetLimit() int32 {
+func (x *StreamPositionsRequest) GetMarketIds() []string {
if x != nil {
- return x.Limit
+ return x.MarketIds
}
- return 0
+ return nil
}
-func (x *FundingPaymentsRequest) GetEndTime() int64 {
+func (x *StreamPositionsRequest) GetSubaccountIds() []string {
if x != nil {
- return x.EndTime
+ return x.SubaccountIds
}
- return 0
+ return nil
}
-func (x *FundingPaymentsRequest) GetMarketIds() []string {
+func (x *StreamPositionsRequest) GetAccountAddress() string {
if x != nil {
- return x.MarketIds
+ return x.AccountAddress
}
- return nil
+ return ""
}
-type FundingPaymentsResponse struct {
+type StreamPositionsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of funding payments
- Payments []*FundingPayment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+ // Updated Derivative Position
+ Position *DerivativePosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *FundingPaymentsResponse) Reset() {
- *x = FundingPaymentsResponse{}
+func (x *StreamPositionsResponse) Reset() {
+ *x = StreamPositionsResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[47]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *FundingPaymentsResponse) String() string {
+func (x *StreamPositionsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*FundingPaymentsResponse) ProtoMessage() {}
+func (*StreamPositionsResponse) ProtoMessage() {}
-func (x *FundingPaymentsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[47]
+func (x *StreamPositionsResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[48]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3586,57 +3949,81 @@ func (x *FundingPaymentsResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use FundingPaymentsResponse.ProtoReflect.Descriptor instead.
-func (*FundingPaymentsResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{47}
+// Deprecated: Use StreamPositionsResponse.ProtoReflect.Descriptor instead.
+func (*StreamPositionsResponse) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{48}
}
-func (x *FundingPaymentsResponse) GetPayments() []*FundingPayment {
+func (x *StreamPositionsResponse) GetPosition() *DerivativePosition {
if x != nil {
- return x.Payments
+ return x.Position
}
return nil
}
-func (x *FundingPaymentsResponse) GetPaging() *Paging {
+func (x *StreamPositionsResponse) GetTimestamp() int64 {
if x != nil {
- return x.Paging
+ return x.Timestamp
}
- return nil
+ return 0
}
-type FundingPayment struct {
+type StreamOrdersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Derivative Market ID
+ // MarketId of market we want to fetch orders from. Using this field for one
+ // single marketId
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // The subaccountId that the position belongs to
- SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Amount of the funding payment
- Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"`
- // Timestamp of funding payment in UNIX millis
- Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // Look for specific order side
+ OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
+ // Look for specific subaccountId of an order
+ SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned
+ Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get order from, use this field
+ // for fetching orders from multiple markets
+ MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Only search for conditional/non-conditional orders
+ IsConditional string `protobuf:"bytes,9,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"`
+ // Search for specific order type
+ OrderType string `protobuf:"bytes,10,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
+ // Should include inactive orders
+ IncludeInactive bool `protobuf:"varint,11,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
+ // Choose to return subaccount total orders
+ SubaccountTotalOrders bool `protobuf:"varint,12,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ // TradeId of the order we want to fetch
+ TradeId string `protobuf:"bytes,13,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *FundingPayment) Reset() {
- *x = FundingPayment{}
+func (x *StreamOrdersRequest) Reset() {
+ *x = StreamOrdersRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[48]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *FundingPayment) String() string {
+func (x *StreamOrdersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*FundingPayment) ProtoMessage() {}
+func (*StreamOrdersRequest) ProtoMessage() {}
-func (x *FundingPayment) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[48]
+func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[49]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3647,126 +4034,124 @@ func (x *FundingPayment) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use FundingPayment.ProtoReflect.Descriptor instead.
-func (*FundingPayment) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{48}
+// Deprecated: Use StreamOrdersRequest.ProtoReflect.Descriptor instead.
+func (*StreamOrdersRequest) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{49}
}
-func (x *FundingPayment) GetMarketId() string {
+func (x *StreamOrdersRequest) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *FundingPayment) GetSubaccountId() string {
+func (x *StreamOrdersRequest) GetOrderSide() string {
if x != nil {
- return x.SubaccountId
+ return x.OrderSide
}
return ""
}
-func (x *FundingPayment) GetAmount() string {
+func (x *StreamOrdersRequest) GetSubaccountId() string {
if x != nil {
- return x.Amount
+ return x.SubaccountId
}
return ""
}
-func (x *FundingPayment) GetTimestamp() int64 {
+func (x *StreamOrdersRequest) GetSkip() uint64 {
if x != nil {
- return x.Timestamp
+ return x.Skip
}
return 0
}
-type FundingRatesRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // MarketId of the position we want to fetch
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,2,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned.
- Limit int32 `protobuf:"zigzag32,3,opt,name=limit,proto3" json:"limit,omitempty"`
- // Upper bound of funding timestamp
- EndTime int64 `protobuf:"zigzag64,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
-}
-
-func (x *FundingRatesRequest) Reset() {
- *x = FundingRatesRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[49]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *StreamOrdersRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
}
+ return 0
}
-func (x *FundingRatesRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *StreamOrdersRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
}
-func (*FundingRatesRequest) ProtoMessage() {}
+func (x *StreamOrdersRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
-func (x *FundingRatesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[49]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *StreamOrdersRequest) GetMarketIds() []string {
+ if x != nil {
+ return x.MarketIds
}
- return mi.MessageOf(x)
+ return nil
}
-// Deprecated: Use FundingRatesRequest.ProtoReflect.Descriptor instead.
-func (*FundingRatesRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{49}
+func (x *StreamOrdersRequest) GetIsConditional() string {
+ if x != nil {
+ return x.IsConditional
+ }
+ return ""
}
-func (x *FundingRatesRequest) GetMarketId() string {
+func (x *StreamOrdersRequest) GetOrderType() string {
if x != nil {
- return x.MarketId
+ return x.OrderType
}
return ""
}
-func (x *FundingRatesRequest) GetSkip() uint64 {
+func (x *StreamOrdersRequest) GetIncludeInactive() bool {
if x != nil {
- return x.Skip
+ return x.IncludeInactive
}
- return 0
+ return false
}
-func (x *FundingRatesRequest) GetLimit() int32 {
+func (x *StreamOrdersRequest) GetSubaccountTotalOrders() bool {
if x != nil {
- return x.Limit
+ return x.SubaccountTotalOrders
}
- return 0
+ return false
}
-func (x *FundingRatesRequest) GetEndTime() int64 {
+func (x *StreamOrdersRequest) GetTradeId() string {
if x != nil {
- return x.EndTime
+ return x.TradeId
}
- return 0
+ return ""
}
-type FundingRatesResponse struct {
+func (x *StreamOrdersRequest) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type StreamOrdersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of funding rates
- FundingRates []*FundingRate `protobuf:"bytes,1,rep,name=funding_rates,json=fundingRates,proto3" json:"funding_rates,omitempty"`
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+ // Updated market order
+ Order *DerivativeLimitOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
+ // Order update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *FundingRatesResponse) Reset() {
- *x = FundingRatesResponse{}
+func (x *StreamOrdersResponse) Reset() {
+ *x = StreamOrdersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3774,13 +4159,13 @@ func (x *FundingRatesResponse) Reset() {
}
}
-func (x *FundingRatesResponse) String() string {
+func (x *StreamOrdersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*FundingRatesResponse) ProtoMessage() {}
+func (*StreamOrdersResponse) ProtoMessage() {}
-func (x *FundingRatesResponse) ProtoReflect() protoreflect.Message {
+func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[50]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3792,40 +4177,71 @@ func (x *FundingRatesResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use FundingRatesResponse.ProtoReflect.Descriptor instead.
-func (*FundingRatesResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrdersResponse.ProtoReflect.Descriptor instead.
+func (*StreamOrdersResponse) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{50}
}
-func (x *FundingRatesResponse) GetFundingRates() []*FundingRate {
+func (x *StreamOrdersResponse) GetOrder() *DerivativeLimitOrder {
if x != nil {
- return x.FundingRates
+ return x.Order
}
return nil
}
-func (x *FundingRatesResponse) GetPaging() *Paging {
+func (x *StreamOrdersResponse) GetOperationType() string {
if x != nil {
- return x.Paging
+ return x.OperationType
}
- return nil
+ return ""
}
-type FundingRate struct {
+func (x *StreamOrdersResponse) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+type TradesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Derivative Market ID
+ // MarketId of the market's orderbook we want to fetch
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Value of the funding rate
- Rate string `protobuf:"bytes,2,opt,name=rate,proto3" json:"rate,omitempty"`
- // Timestamp of funding rate in UNIX millis
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // Filter by execution side of the trade
+ ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // Filter by direction the trade
+ Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
+ // SubaccountId of the trader we want to get the trades from
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get trades
+ MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Subaccount ids of traders we want to get trades. Use this field for fetching
+ // trades from multiple subaccounts
+ SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *FundingRate) Reset() {
- *x = FundingRate{}
+func (x *TradesRequest) Reset() {
+ *x = TradesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3833,13 +4249,13 @@ func (x *FundingRate) Reset() {
}
}
-func (x *FundingRate) String() string {
+func (x *TradesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*FundingRate) ProtoMessage() {}
+func (*TradesRequest) ProtoMessage() {}
-func (x *FundingRate) ProtoReflect() protoreflect.Message {
+func (x *TradesRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[51]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3851,135 +4267,136 @@ func (x *FundingRate) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use FundingRate.ProtoReflect.Descriptor instead.
-func (*FundingRate) Descriptor() ([]byte, []int) {
+// Deprecated: Use TradesRequest.ProtoReflect.Descriptor instead.
+func (*TradesRequest) Descriptor() ([]byte, []int) {
return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{51}
}
-func (x *FundingRate) GetMarketId() string {
+func (x *TradesRequest) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *FundingRate) GetRate() string {
+func (x *TradesRequest) GetExecutionSide() string {
if x != nil {
- return x.Rate
+ return x.ExecutionSide
}
return ""
}
-func (x *FundingRate) GetTimestamp() int64 {
+func (x *TradesRequest) GetDirection() string {
if x != nil {
- return x.Timestamp
+ return x.Direction
}
- return 0
+ return ""
}
-type StreamPositionsRequest struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
+func (x *TradesRequest) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
+ }
+ return ""
+}
- // SubaccountId of the trader we want to get the positions from
- SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Backward compat single market ID of position we want to stream
- MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // List of market IDs of the positions we want to stream
- MarketIds []string `protobuf:"bytes,3,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
- // Subaccount ids of traders we want to get positions
- SubaccountIds []string `protobuf:"bytes,4,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+func (x *TradesRequest) GetSkip() uint64 {
+ if x != nil {
+ return x.Skip
+ }
+ return 0
}
-func (x *StreamPositionsRequest) Reset() {
- *x = StreamPositionsRequest{}
- if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[52]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *TradesRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
}
+ return 0
}
-func (x *StreamPositionsRequest) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *TradesRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
}
-func (*StreamPositionsRequest) ProtoMessage() {}
+func (x *TradesRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
-func (x *StreamPositionsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[52]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *TradesRequest) GetMarketIds() []string {
+ if x != nil {
+ return x.MarketIds
}
- return mi.MessageOf(x)
+ return nil
}
-// Deprecated: Use StreamPositionsRequest.ProtoReflect.Descriptor instead.
-func (*StreamPositionsRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{52}
+func (x *TradesRequest) GetSubaccountIds() []string {
+ if x != nil {
+ return x.SubaccountIds
+ }
+ return nil
}
-func (x *StreamPositionsRequest) GetSubaccountId() string {
+func (x *TradesRequest) GetExecutionTypes() []string {
if x != nil {
- return x.SubaccountId
+ return x.ExecutionTypes
}
- return ""
+ return nil
}
-func (x *StreamPositionsRequest) GetMarketId() string {
+func (x *TradesRequest) GetTradeId() string {
if x != nil {
- return x.MarketId
+ return x.TradeId
}
return ""
}
-func (x *StreamPositionsRequest) GetMarketIds() []string {
+func (x *TradesRequest) GetAccountAddress() string {
if x != nil {
- return x.MarketIds
+ return x.AccountAddress
}
- return nil
+ return ""
}
-func (x *StreamPositionsRequest) GetSubaccountIds() []string {
+func (x *TradesRequest) GetCid() string {
if x != nil {
- return x.SubaccountIds
+ return x.Cid
}
- return nil
+ return ""
}
-type StreamPositionsResponse struct {
+type TradesResponse struct {
state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Updated Derivative Position
- Position *DerivativePosition `protobuf:"bytes,1,opt,name=position,proto3" json:"position,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Trades of a Derivative Market
+ Trades []*DerivativeTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *StreamPositionsResponse) Reset() {
- *x = StreamPositionsResponse{}
+func (x *TradesResponse) Reset() {
+ *x = TradesResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[53]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamPositionsResponse) String() string {
+func (x *TradesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamPositionsResponse) ProtoMessage() {}
+func (*TradesResponse) ProtoMessage() {}
-func (x *StreamPositionsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[53]
+func (x *TradesResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[52]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3990,77 +4407,75 @@ func (x *StreamPositionsResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamPositionsResponse.ProtoReflect.Descriptor instead.
-func (*StreamPositionsResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{53}
+// Deprecated: Use TradesResponse.ProtoReflect.Descriptor instead.
+func (*TradesResponse) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{52}
}
-func (x *StreamPositionsResponse) GetPosition() *DerivativePosition {
+func (x *TradesResponse) GetTrades() []*DerivativeTrade {
if x != nil {
- return x.Position
+ return x.Trades
}
return nil
}
-func (x *StreamPositionsResponse) GetTimestamp() int64 {
+func (x *TradesResponse) GetPaging() *Paging {
if x != nil {
- return x.Timestamp
+ return x.Paging
}
- return 0
+ return nil
}
-type StreamOrdersRequest struct {
+type DerivativeTrade struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketId of market we want to fetch orders from. Using this field for one
- // single marketId
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Look for specific order side
- OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
- // Look for specific subaccountId of an order
- SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned
- Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
- // The starting timestamp in UNIX milliseconds that the trades must be equal or
- // older than
- StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // The ending timestamp in UNIX milliseconds that the trades must be equal or
- // younger than
- EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // MarketIds of the markets of which we want to get order from, use this field
- // for fetching orders from multiple markets
- MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
- // Only search for conditional/non-conditional orders
- IsConditional string `protobuf:"bytes,9,opt,name=is_conditional,json=isConditional,proto3" json:"is_conditional,omitempty"`
- // Search for specific order type
- OrderType string `protobuf:"bytes,10,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
- // Should include inactive orders
- IncludeInactive bool `protobuf:"varint,11,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
- // Choose to return subaccount total orders
- SubaccountTotalOrders bool `protobuf:"varint,12,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ // Order hash.
+ OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ // The subaccountId that executed the trade
+ SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // The ID of the market that this trade is in
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // The execution type of the trade
+ TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"`
+ // True if the trade is a liquidation
+ IsLiquidation bool `protobuf:"varint,5,opt,name=is_liquidation,json=isLiquidation,proto3" json:"is_liquidation,omitempty"`
+ // Position Delta from the trade
+ PositionDelta *PositionDelta `protobuf:"bytes,6,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"`
+ // The payout associated with the trade
+ Payout string `protobuf:"bytes,7,opt,name=payout,proto3" json:"payout,omitempty"`
+ // The fee associated with the trade
+ Fee string `protobuf:"bytes,8,opt,name=fee,proto3" json:"fee,omitempty"`
+ // Timestamp of trade execution in UNIX millis
+ ExecutedAt int64 `protobuf:"zigzag64,9,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
+ // Fee recipient address
+ FeeRecipient string `protobuf:"bytes,10,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
+ // A unique string that helps differentiate between trades
+ TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Trade's execution side, marker/taker
+ ExecutionSide string `protobuf:"bytes,12,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // Custom client order ID
+ Cid string `protobuf:"bytes,13,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *StreamOrdersRequest) Reset() {
- *x = StreamOrdersRequest{}
+func (x *DerivativeTrade) Reset() {
+ *x = DerivativeTrade{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[54]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrdersRequest) String() string {
+func (x *DerivativeTrade) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrdersRequest) ProtoMessage() {}
+func (*DerivativeTrade) ProtoMessage() {}
-func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[54]
+func (x *DerivativeTrade) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[53]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4071,125 +4486,134 @@ func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrdersRequest.ProtoReflect.Descriptor instead.
-func (*StreamOrdersRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{54}
+// Deprecated: Use DerivativeTrade.ProtoReflect.Descriptor instead.
+func (*DerivativeTrade) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{53}
}
-func (x *StreamOrdersRequest) GetMarketId() string {
+func (x *DerivativeTrade) GetOrderHash() string {
if x != nil {
- return x.MarketId
+ return x.OrderHash
}
return ""
}
-func (x *StreamOrdersRequest) GetOrderSide() string {
+func (x *DerivativeTrade) GetSubaccountId() string {
if x != nil {
- return x.OrderSide
+ return x.SubaccountId
}
return ""
}
-func (x *StreamOrdersRequest) GetSubaccountId() string {
+func (x *DerivativeTrade) GetMarketId() string {
if x != nil {
- return x.SubaccountId
+ return x.MarketId
}
return ""
}
-func (x *StreamOrdersRequest) GetSkip() uint64 {
+func (x *DerivativeTrade) GetTradeExecutionType() string {
if x != nil {
- return x.Skip
+ return x.TradeExecutionType
}
- return 0
+ return ""
}
-func (x *StreamOrdersRequest) GetLimit() int32 {
+func (x *DerivativeTrade) GetIsLiquidation() bool {
if x != nil {
- return x.Limit
+ return x.IsLiquidation
}
- return 0
+ return false
}
-func (x *StreamOrdersRequest) GetStartTime() int64 {
+func (x *DerivativeTrade) GetPositionDelta() *PositionDelta {
if x != nil {
- return x.StartTime
+ return x.PositionDelta
}
- return 0
+ return nil
}
-func (x *StreamOrdersRequest) GetEndTime() int64 {
+func (x *DerivativeTrade) GetPayout() string {
if x != nil {
- return x.EndTime
+ return x.Payout
}
- return 0
+ return ""
}
-func (x *StreamOrdersRequest) GetMarketIds() []string {
+func (x *DerivativeTrade) GetFee() string {
if x != nil {
- return x.MarketIds
+ return x.Fee
}
- return nil
+ return ""
}
-func (x *StreamOrdersRequest) GetIsConditional() string {
+func (x *DerivativeTrade) GetExecutedAt() int64 {
if x != nil {
- return x.IsConditional
+ return x.ExecutedAt
+ }
+ return 0
+}
+
+func (x *DerivativeTrade) GetFeeRecipient() string {
+ if x != nil {
+ return x.FeeRecipient
}
return ""
}
-func (x *StreamOrdersRequest) GetOrderType() string {
+func (x *DerivativeTrade) GetTradeId() string {
if x != nil {
- return x.OrderType
+ return x.TradeId
}
return ""
}
-func (x *StreamOrdersRequest) GetIncludeInactive() bool {
+func (x *DerivativeTrade) GetExecutionSide() string {
if x != nil {
- return x.IncludeInactive
+ return x.ExecutionSide
}
- return false
+ return ""
}
-func (x *StreamOrdersRequest) GetSubaccountTotalOrders() bool {
+func (x *DerivativeTrade) GetCid() string {
if x != nil {
- return x.SubaccountTotalOrders
+ return x.Cid
}
- return false
+ return ""
}
-type StreamOrdersResponse struct {
+type PositionDelta struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Updated market order
- Order *DerivativeLimitOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // The direction the trade
+ TradeDirection string `protobuf:"bytes,1,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"`
+ // Execution Price of the trade.
+ ExecutionPrice string `protobuf:"bytes,2,opt,name=execution_price,json=executionPrice,proto3" json:"execution_price,omitempty"`
+ // Execution Quantity of the trade.
+ ExecutionQuantity string `protobuf:"bytes,3,opt,name=execution_quantity,json=executionQuantity,proto3" json:"execution_quantity,omitempty"`
+ // Execution Margin of the trade.
+ ExecutionMargin string `protobuf:"bytes,4,opt,name=execution_margin,json=executionMargin,proto3" json:"execution_margin,omitempty"`
}
-func (x *StreamOrdersResponse) Reset() {
- *x = StreamOrdersResponse{}
+func (x *PositionDelta) Reset() {
+ *x = PositionDelta{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[55]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrdersResponse) String() string {
+func (x *PositionDelta) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrdersResponse) ProtoMessage() {}
+func (*PositionDelta) ProtoMessage() {}
-func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[55]
+func (x *PositionDelta) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[54]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4200,33 +4624,40 @@ func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrdersResponse.ProtoReflect.Descriptor instead.
-func (*StreamOrdersResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{55}
+// Deprecated: Use PositionDelta.ProtoReflect.Descriptor instead.
+func (*PositionDelta) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{54}
}
-func (x *StreamOrdersResponse) GetOrder() *DerivativeLimitOrder {
+func (x *PositionDelta) GetTradeDirection() string {
if x != nil {
- return x.Order
+ return x.TradeDirection
}
- return nil
+ return ""
}
-func (x *StreamOrdersResponse) GetOperationType() string {
+func (x *PositionDelta) GetExecutionPrice() string {
if x != nil {
- return x.OperationType
+ return x.ExecutionPrice
}
return ""
}
-func (x *StreamOrdersResponse) GetTimestamp() int64 {
+func (x *PositionDelta) GetExecutionQuantity() string {
if x != nil {
- return x.Timestamp
+ return x.ExecutionQuantity
}
- return 0
+ return ""
}
-type TradesRequest struct {
+func (x *PositionDelta) GetExecutionMargin() string {
+ if x != nil {
+ return x.ExecutionMargin
+ }
+ return ""
+}
+
+type TradesV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -4255,25 +4686,31 @@ type TradesRequest struct {
// trades from multiple subaccounts
SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *TradesRequest) Reset() {
- *x = TradesRequest{}
+func (x *TradesV2Request) Reset() {
+ *x = TradesV2Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[56]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *TradesRequest) String() string {
+func (x *TradesV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*TradesRequest) ProtoMessage() {}
+func (*TradesV2Request) ProtoMessage() {}
-func (x *TradesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[56]
+func (x *TradesV2Request) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[55]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4284,89 +4721,110 @@ func (x *TradesRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use TradesRequest.ProtoReflect.Descriptor instead.
-func (*TradesRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{56}
+// Deprecated: Use TradesV2Request.ProtoReflect.Descriptor instead.
+func (*TradesV2Request) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{55}
}
-func (x *TradesRequest) GetMarketId() string {
+func (x *TradesV2Request) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *TradesRequest) GetExecutionSide() string {
+func (x *TradesV2Request) GetExecutionSide() string {
if x != nil {
return x.ExecutionSide
}
return ""
}
-func (x *TradesRequest) GetDirection() string {
+func (x *TradesV2Request) GetDirection() string {
if x != nil {
return x.Direction
}
return ""
}
-func (x *TradesRequest) GetSubaccountId() string {
+func (x *TradesV2Request) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *TradesRequest) GetSkip() uint64 {
+func (x *TradesV2Request) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *TradesRequest) GetLimit() int32 {
+func (x *TradesV2Request) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-func (x *TradesRequest) GetStartTime() int64 {
+func (x *TradesV2Request) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
-func (x *TradesRequest) GetEndTime() int64 {
+func (x *TradesV2Request) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
-func (x *TradesRequest) GetMarketIds() []string {
+func (x *TradesV2Request) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-func (x *TradesRequest) GetSubaccountIds() []string {
+func (x *TradesV2Request) GetSubaccountIds() []string {
if x != nil {
return x.SubaccountIds
}
return nil
}
-func (x *TradesRequest) GetExecutionTypes() []string {
+func (x *TradesV2Request) GetExecutionTypes() []string {
if x != nil {
return x.ExecutionTypes
}
return nil
}
-type TradesResponse struct {
+func (x *TradesV2Request) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
+ }
+ return ""
+}
+
+func (x *TradesV2Request) GetAccountAddress() string {
+ if x != nil {
+ return x.AccountAddress
+ }
+ return ""
+}
+
+func (x *TradesV2Request) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type TradesV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -4376,23 +4834,23 @@ type TradesResponse struct {
Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *TradesResponse) Reset() {
- *x = TradesResponse{}
+func (x *TradesV2Response) Reset() {
+ *x = TradesV2Response{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[57]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *TradesResponse) String() string {
+func (x *TradesV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*TradesResponse) ProtoMessage() {}
+func (*TradesV2Response) ProtoMessage() {}
-func (x *TradesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[57]
+func (x *TradesV2Response) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[56]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4403,73 +4861,79 @@ func (x *TradesResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use TradesResponse.ProtoReflect.Descriptor instead.
-func (*TradesResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{57}
+// Deprecated: Use TradesV2Response.ProtoReflect.Descriptor instead.
+func (*TradesV2Response) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{56}
}
-func (x *TradesResponse) GetTrades() []*DerivativeTrade {
+func (x *TradesV2Response) GetTrades() []*DerivativeTrade {
if x != nil {
return x.Trades
}
return nil
}
-func (x *TradesResponse) GetPaging() *Paging {
+func (x *TradesV2Response) GetPaging() *Paging {
if x != nil {
return x.Paging
}
return nil
}
-type DerivativeTrade struct {
+type StreamTradesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Order hash.
- OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
- // The subaccountId that executed the trade
- SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // The ID of the market that this trade is in
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // The execution type of the trade
- TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"`
- // True if the trade is a liquidation
- IsLiquidation bool `protobuf:"varint,5,opt,name=is_liquidation,json=isLiquidation,proto3" json:"is_liquidation,omitempty"`
- // Position Delta from the trade
- PositionDelta *PositionDelta `protobuf:"bytes,6,opt,name=position_delta,json=positionDelta,proto3" json:"position_delta,omitempty"`
- // The payout associated with the trade
- Payout string `protobuf:"bytes,7,opt,name=payout,proto3" json:"payout,omitempty"`
- // The fee associated with the trade
- Fee string `protobuf:"bytes,8,opt,name=fee,proto3" json:"fee,omitempty"`
- // Timestamp of trade execution in UNIX millis
- ExecutedAt int64 `protobuf:"zigzag64,9,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
- // Fee recipient address
- FeeRecipient string `protobuf:"bytes,10,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
- // A unique string that helps differentiate between trades
- TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
- // Trade's execution side, marker/taker
- ExecutionSide string `protobuf:"bytes,12,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // MarketId of the market's orderbook we want to fetch
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Filter by execution side of the trade
+ ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // Filter by direction the trade
+ Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
+ // SubaccountId of the trader we want to get the trades from
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get trades
+ MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Subaccount ids of traders we want to get trades. Use this field for fetching
+ // trades from multiple subaccounts
+ SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *DerivativeTrade) Reset() {
- *x = DerivativeTrade{}
+func (x *StreamTradesRequest) Reset() {
+ *x = StreamTradesRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[58]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *DerivativeTrade) String() string {
+func (x *StreamTradesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*DerivativeTrade) ProtoMessage() {}
+func (*StreamTradesRequest) ProtoMessage() {}
-func (x *DerivativeTrade) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[58]
+func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[57]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4480,127 +4944,139 @@ func (x *DerivativeTrade) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use DerivativeTrade.ProtoReflect.Descriptor instead.
-func (*DerivativeTrade) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{58}
+// Deprecated: Use StreamTradesRequest.ProtoReflect.Descriptor instead.
+func (*StreamTradesRequest) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{57}
}
-func (x *DerivativeTrade) GetOrderHash() string {
+func (x *StreamTradesRequest) GetMarketId() string {
if x != nil {
- return x.OrderHash
+ return x.MarketId
}
return ""
}
-func (x *DerivativeTrade) GetSubaccountId() string {
+func (x *StreamTradesRequest) GetExecutionSide() string {
if x != nil {
- return x.SubaccountId
+ return x.ExecutionSide
}
return ""
}
-func (x *DerivativeTrade) GetMarketId() string {
+func (x *StreamTradesRequest) GetDirection() string {
if x != nil {
- return x.MarketId
+ return x.Direction
}
return ""
}
-func (x *DerivativeTrade) GetTradeExecutionType() string {
+func (x *StreamTradesRequest) GetSubaccountId() string {
if x != nil {
- return x.TradeExecutionType
+ return x.SubaccountId
}
return ""
}
-func (x *DerivativeTrade) GetIsLiquidation() bool {
+func (x *StreamTradesRequest) GetSkip() uint64 {
if x != nil {
- return x.IsLiquidation
+ return x.Skip
}
- return false
+ return 0
}
-func (x *DerivativeTrade) GetPositionDelta() *PositionDelta {
+func (x *StreamTradesRequest) GetLimit() int32 {
if x != nil {
- return x.PositionDelta
+ return x.Limit
}
- return nil
+ return 0
}
-func (x *DerivativeTrade) GetPayout() string {
+func (x *StreamTradesRequest) GetStartTime() int64 {
if x != nil {
- return x.Payout
+ return x.StartTime
}
- return ""
+ return 0
}
-func (x *DerivativeTrade) GetFee() string {
+func (x *StreamTradesRequest) GetEndTime() int64 {
if x != nil {
- return x.Fee
+ return x.EndTime
}
- return ""
+ return 0
}
-func (x *DerivativeTrade) GetExecutedAt() int64 {
+func (x *StreamTradesRequest) GetMarketIds() []string {
if x != nil {
- return x.ExecutedAt
+ return x.MarketIds
}
- return 0
+ return nil
}
-func (x *DerivativeTrade) GetFeeRecipient() string {
+func (x *StreamTradesRequest) GetSubaccountIds() []string {
if x != nil {
- return x.FeeRecipient
+ return x.SubaccountIds
}
- return ""
+ return nil
}
-func (x *DerivativeTrade) GetTradeId() string {
+func (x *StreamTradesRequest) GetExecutionTypes() []string {
+ if x != nil {
+ return x.ExecutionTypes
+ }
+ return nil
+}
+
+func (x *StreamTradesRequest) GetTradeId() string {
if x != nil {
return x.TradeId
}
return ""
}
-func (x *DerivativeTrade) GetExecutionSide() string {
+func (x *StreamTradesRequest) GetAccountAddress() string {
if x != nil {
- return x.ExecutionSide
+ return x.AccountAddress
}
return ""
}
-type PositionDelta struct {
+func (x *StreamTradesRequest) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type StreamTradesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // The direction the trade
- TradeDirection string `protobuf:"bytes,1,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"`
- // Execution Price of the trade.
- ExecutionPrice string `protobuf:"bytes,2,opt,name=execution_price,json=executionPrice,proto3" json:"execution_price,omitempty"`
- // Execution Quantity of the trade.
- ExecutionQuantity string `protobuf:"bytes,3,opt,name=execution_quantity,json=executionQuantity,proto3" json:"execution_quantity,omitempty"`
- // Execution Margin of the trade.
- ExecutionMargin string `protobuf:"bytes,4,opt,name=execution_margin,json=executionMargin,proto3" json:"execution_margin,omitempty"`
+ // New derivative market trade
+ Trade *DerivativeTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"`
+ // Executed trades update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *PositionDelta) Reset() {
- *x = PositionDelta{}
+func (x *StreamTradesResponse) Reset() {
+ *x = StreamTradesResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[59]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *PositionDelta) String() string {
+func (x *StreamTradesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PositionDelta) ProtoMessage() {}
+func (*StreamTradesResponse) ProtoMessage() {}
-func (x *PositionDelta) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[59]
+func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[58]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4611,40 +5087,33 @@ func (x *PositionDelta) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PositionDelta.ProtoReflect.Descriptor instead.
-func (*PositionDelta) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{59}
-}
-
-func (x *PositionDelta) GetTradeDirection() string {
- if x != nil {
- return x.TradeDirection
- }
- return ""
+// Deprecated: Use StreamTradesResponse.ProtoReflect.Descriptor instead.
+func (*StreamTradesResponse) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{58}
}
-func (x *PositionDelta) GetExecutionPrice() string {
+func (x *StreamTradesResponse) GetTrade() *DerivativeTrade {
if x != nil {
- return x.ExecutionPrice
+ return x.Trade
}
- return ""
+ return nil
}
-func (x *PositionDelta) GetExecutionQuantity() string {
+func (x *StreamTradesResponse) GetOperationType() string {
if x != nil {
- return x.ExecutionQuantity
+ return x.OperationType
}
return ""
}
-func (x *PositionDelta) GetExecutionMargin() string {
+func (x *StreamTradesResponse) GetTimestamp() int64 {
if x != nil {
- return x.ExecutionMargin
+ return x.Timestamp
}
- return ""
+ return 0
}
-type StreamTradesRequest struct {
+type StreamTradesV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -4673,25 +5142,31 @@ type StreamTradesRequest struct {
// trades from multiple subaccounts
SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *StreamTradesRequest) Reset() {
- *x = StreamTradesRequest{}
+func (x *StreamTradesV2Request) Reset() {
+ *x = StreamTradesV2Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[60]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamTradesRequest) String() string {
+func (x *StreamTradesV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamTradesRequest) ProtoMessage() {}
+func (*StreamTradesV2Request) ProtoMessage() {}
-func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[60]
+func (x *StreamTradesV2Request) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[59]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4702,89 +5177,110 @@ func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamTradesRequest.ProtoReflect.Descriptor instead.
-func (*StreamTradesRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{60}
+// Deprecated: Use StreamTradesV2Request.ProtoReflect.Descriptor instead.
+func (*StreamTradesV2Request) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{59}
}
-func (x *StreamTradesRequest) GetMarketId() string {
+func (x *StreamTradesV2Request) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *StreamTradesRequest) GetExecutionSide() string {
+func (x *StreamTradesV2Request) GetExecutionSide() string {
if x != nil {
return x.ExecutionSide
}
return ""
}
-func (x *StreamTradesRequest) GetDirection() string {
+func (x *StreamTradesV2Request) GetDirection() string {
if x != nil {
return x.Direction
}
return ""
}
-func (x *StreamTradesRequest) GetSubaccountId() string {
+func (x *StreamTradesV2Request) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *StreamTradesRequest) GetSkip() uint64 {
+func (x *StreamTradesV2Request) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *StreamTradesRequest) GetLimit() int32 {
+func (x *StreamTradesV2Request) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-func (x *StreamTradesRequest) GetStartTime() int64 {
+func (x *StreamTradesV2Request) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
-func (x *StreamTradesRequest) GetEndTime() int64 {
+func (x *StreamTradesV2Request) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
-func (x *StreamTradesRequest) GetMarketIds() []string {
+func (x *StreamTradesV2Request) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-func (x *StreamTradesRequest) GetSubaccountIds() []string {
+func (x *StreamTradesV2Request) GetSubaccountIds() []string {
if x != nil {
return x.SubaccountIds
}
return nil
}
-func (x *StreamTradesRequest) GetExecutionTypes() []string {
+func (x *StreamTradesV2Request) GetExecutionTypes() []string {
if x != nil {
return x.ExecutionTypes
}
return nil
}
-type StreamTradesResponse struct {
+func (x *StreamTradesV2Request) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
+ }
+ return ""
+}
+
+func (x *StreamTradesV2Request) GetAccountAddress() string {
+ if x != nil {
+ return x.AccountAddress
+ }
+ return ""
+}
+
+func (x *StreamTradesV2Request) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type StreamTradesV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -4797,23 +5293,23 @@ type StreamTradesResponse struct {
Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *StreamTradesResponse) Reset() {
- *x = StreamTradesResponse{}
+func (x *StreamTradesV2Response) Reset() {
+ *x = StreamTradesV2Response{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[61]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamTradesResponse) String() string {
+func (x *StreamTradesV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamTradesResponse) ProtoMessage() {}
+func (*StreamTradesV2Response) ProtoMessage() {}
-func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[61]
+func (x *StreamTradesV2Response) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[60]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4824,26 +5320,26 @@ func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamTradesResponse.ProtoReflect.Descriptor instead.
-func (*StreamTradesResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{61}
+// Deprecated: Use StreamTradesV2Response.ProtoReflect.Descriptor instead.
+func (*StreamTradesV2Response) Descriptor() ([]byte, []int) {
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{60}
}
-func (x *StreamTradesResponse) GetTrade() *DerivativeTrade {
+func (x *StreamTradesV2Response) GetTrade() *DerivativeTrade {
if x != nil {
return x.Trade
}
return nil
}
-func (x *StreamTradesResponse) GetOperationType() string {
+func (x *StreamTradesV2Response) GetOperationType() string {
if x != nil {
return x.OperationType
}
return ""
}
-func (x *StreamTradesResponse) GetTimestamp() int64 {
+func (x *StreamTradesV2Response) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
@@ -4868,7 +5364,7 @@ type SubaccountOrdersListRequest struct {
func (x *SubaccountOrdersListRequest) Reset() {
*x = SubaccountOrdersListRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[62]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4881,7 +5377,7 @@ func (x *SubaccountOrdersListRequest) String() string {
func (*SubaccountOrdersListRequest) ProtoMessage() {}
func (x *SubaccountOrdersListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[62]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[61]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4894,7 +5390,7 @@ func (x *SubaccountOrdersListRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SubaccountOrdersListRequest.ProtoReflect.Descriptor instead.
func (*SubaccountOrdersListRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{62}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{61}
}
func (x *SubaccountOrdersListRequest) GetSubaccountId() string {
@@ -4938,7 +5434,7 @@ type SubaccountOrdersListResponse struct {
func (x *SubaccountOrdersListResponse) Reset() {
*x = SubaccountOrdersListResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[63]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -4951,7 +5447,7 @@ func (x *SubaccountOrdersListResponse) String() string {
func (*SubaccountOrdersListResponse) ProtoMessage() {}
func (x *SubaccountOrdersListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[63]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[62]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -4964,7 +5460,7 @@ func (x *SubaccountOrdersListResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use SubaccountOrdersListResponse.ProtoReflect.Descriptor instead.
func (*SubaccountOrdersListResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{63}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{62}
}
func (x *SubaccountOrdersListResponse) GetOrders() []*DerivativeLimitOrder {
@@ -5003,7 +5499,7 @@ type SubaccountTradesListRequest struct {
func (x *SubaccountTradesListRequest) Reset() {
*x = SubaccountTradesListRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[64]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5016,7 +5512,7 @@ func (x *SubaccountTradesListRequest) String() string {
func (*SubaccountTradesListRequest) ProtoMessage() {}
func (x *SubaccountTradesListRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[64]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[63]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5029,7 +5525,7 @@ func (x *SubaccountTradesListRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use SubaccountTradesListRequest.ProtoReflect.Descriptor instead.
func (*SubaccountTradesListRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{64}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{63}
}
func (x *SubaccountTradesListRequest) GetSubaccountId() string {
@@ -5086,7 +5582,7 @@ type SubaccountTradesListResponse struct {
func (x *SubaccountTradesListResponse) Reset() {
*x = SubaccountTradesListResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[65]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5099,7 +5595,7 @@ func (x *SubaccountTradesListResponse) String() string {
func (*SubaccountTradesListResponse) ProtoMessage() {}
func (x *SubaccountTradesListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[65]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[64]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5112,7 +5608,7 @@ func (x *SubaccountTradesListResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use SubaccountTradesListResponse.ProtoReflect.Descriptor instead.
func (*SubaccountTradesListResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{65}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{64}
}
func (x *SubaccountTradesListResponse) GetTrades() []*DerivativeTrade {
@@ -5151,12 +5647,18 @@ type OrdersHistoryRequest struct {
State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"`
ExecutionTypes []string `protobuf:"bytes,12,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
MarketIds []string `protobuf:"bytes,13,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // TradeId of the order we want to fetch
+ TradeId string `protobuf:"bytes,14,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Return only orders for active markets
+ ActiveMarketsOnly bool `protobuf:"varint,15,opt,name=active_markets_only,json=activeMarketsOnly,proto3" json:"active_markets_only,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,16,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (x *OrdersHistoryRequest) Reset() {
*x = OrdersHistoryRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[66]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5169,7 +5671,7 @@ func (x *OrdersHistoryRequest) String() string {
func (*OrdersHistoryRequest) ProtoMessage() {}
func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[66]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[65]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5182,7 +5684,7 @@ func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use OrdersHistoryRequest.ProtoReflect.Descriptor instead.
func (*OrdersHistoryRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{66}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{65}
}
func (x *OrdersHistoryRequest) GetSubaccountId() string {
@@ -5276,6 +5778,27 @@ func (x *OrdersHistoryRequest) GetMarketIds() []string {
return nil
}
+func (x *OrdersHistoryRequest) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
+ }
+ return ""
+}
+
+func (x *OrdersHistoryRequest) GetActiveMarketsOnly() bool {
+ if x != nil {
+ return x.ActiveMarketsOnly
+ }
+ return false
+}
+
+func (x *OrdersHistoryRequest) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
type OrdersHistoryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -5289,7 +5812,7 @@ type OrdersHistoryResponse struct {
func (x *OrdersHistoryResponse) Reset() {
*x = OrdersHistoryResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[67]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5302,7 +5825,7 @@ func (x *OrdersHistoryResponse) String() string {
func (*OrdersHistoryResponse) ProtoMessage() {}
func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[67]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[66]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5315,7 +5838,7 @@ func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use OrdersHistoryResponse.ProtoReflect.Descriptor instead.
func (*OrdersHistoryResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{67}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{66}
}
func (x *OrdersHistoryResponse) GetOrders() []*DerivativeOrderHistory {
@@ -5375,12 +5898,16 @@ type DerivativeOrderHistory struct {
PlacedOrderHash string `protobuf:"bytes,18,opt,name=placed_order_hash,json=placedOrderHash,proto3" json:"placed_order_hash,omitempty"`
// Order's margin
Margin string `protobuf:"bytes,19,opt,name=margin,proto3" json:"margin,omitempty"`
+ // Transaction Hash where order is created. Not all orders have this field
+ TxHash string `protobuf:"bytes,20,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
+ // Custom client order ID
+ Cid string `protobuf:"bytes,21,opt,name=cid,proto3" json:"cid,omitempty"`
}
func (x *DerivativeOrderHistory) Reset() {
*x = DerivativeOrderHistory{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[68]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5393,7 +5920,7 @@ func (x *DerivativeOrderHistory) String() string {
func (*DerivativeOrderHistory) ProtoMessage() {}
func (x *DerivativeOrderHistory) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[68]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[67]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5406,7 +5933,7 @@ func (x *DerivativeOrderHistory) ProtoReflect() protoreflect.Message {
// Deprecated: Use DerivativeOrderHistory.ProtoReflect.Descriptor instead.
func (*DerivativeOrderHistory) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{68}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{67}
}
func (x *DerivativeOrderHistory) GetOrderHash() string {
@@ -5542,6 +6069,20 @@ func (x *DerivativeOrderHistory) GetMargin() string {
return ""
}
+func (x *DerivativeOrderHistory) GetTxHash() string {
+ if x != nil {
+ return x.TxHash
+ }
+ return ""
+}
+
+func (x *DerivativeOrderHistory) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
type StreamOrdersHistoryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -5563,7 +6104,7 @@ type StreamOrdersHistoryRequest struct {
func (x *StreamOrdersHistoryRequest) Reset() {
*x = StreamOrdersHistoryRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[69]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5576,7 +6117,7 @@ func (x *StreamOrdersHistoryRequest) String() string {
func (*StreamOrdersHistoryRequest) ProtoMessage() {}
func (x *StreamOrdersHistoryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[69]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[68]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5589,7 +6130,7 @@ func (x *StreamOrdersHistoryRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamOrdersHistoryRequest.ProtoReflect.Descriptor instead.
func (*StreamOrdersHistoryRequest) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{69}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{68}
}
func (x *StreamOrdersHistoryRequest) GetSubaccountId() string {
@@ -5650,7 +6191,7 @@ type StreamOrdersHistoryResponse struct {
func (x *StreamOrdersHistoryResponse) Reset() {
*x = StreamOrdersHistoryResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[70]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5663,7 +6204,7 @@ func (x *StreamOrdersHistoryResponse) String() string {
func (*StreamOrdersHistoryResponse) ProtoMessage() {}
func (x *StreamOrdersHistoryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[70]
+ mi := &file_injective_derivative_exchange_rpc_proto_msgTypes[69]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5676,7 +6217,7 @@ func (x *StreamOrdersHistoryResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamOrdersHistoryResponse.ProtoReflect.Descriptor instead.
func (*StreamOrdersHistoryResponse) Descriptor() ([]byte, []int) {
- return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{70}
+ return file_injective_derivative_exchange_rpc_proto_rawDescGZIP(), []int{69}
}
func (x *StreamOrdersHistoryResponse) GetOrder() *DerivativeOrderHistory {
@@ -5707,351 +6248,295 @@ var file_injective_derivative_exchange_rpc_proto_rawDesc = []byte{
0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x69, 0x6e, 0x6a, 0x65, 0x63,
0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x22, 0x56, 0x0a, 0x0e,
+ 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x22, 0x7f, 0x0a, 0x0e,
0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23,
0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6e,
0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x44,
- 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x64, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72,
- 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66,
- 0x6f, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x22, 0xc9, 0x08, 0x0a, 0x14, 0x44,
- 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
- 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
- 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75,
- 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1f, 0x0a,
- 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x21,
- 0x0a, 0x0c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x51, 0x75, 0x6f, 0x74,
- 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x54, 0x79,
- 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x61,
- 0x6c, 0x65, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52,
- 0x11, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x46, 0x61, 0x63, 0x74,
- 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61,
- 0x72, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x12, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x52,
- 0x61, 0x74, 0x69, 0x6f, 0x12, 0x38, 0x0a, 0x18, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61,
- 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x16, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61,
- 0x6e, 0x63, 0x65, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x1f,
- 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x0a, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12,
- 0x56, 0x0a, 0x10, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d,
- 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f,
- 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0e, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x54, 0x6f,
- 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x6b, 0x65, 0x72,
- 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a,
- 0x0e, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18,
- 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52,
- 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70,
- 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64,
- 0x65, 0x72, 0x46, 0x65, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x70,
- 0x65, 0x74, 0x75, 0x61, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x50,
- 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x12, 0x2d, 0x0a, 0x13, 0x6d, 0x69, 0x6e, 0x5f,
- 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
- 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54,
- 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x69, 0x6e, 0x5f, 0x71,
- 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a,
- 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d, 0x69, 0x6e, 0x51, 0x75, 0x61, 0x6e,
- 0x74, 0x69, 0x74, 0x79, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x6a, 0x0a, 0x15,
- 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
- 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x73, 0x0a, 0x18, 0x70, 0x65, 0x72, 0x70,
- 0x65, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x66, 0x75, 0x6e,
- 0x64, 0x69, 0x6e, 0x67, 0x18, 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
- 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x75,
- 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x16, 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c,
- 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x77, 0x0a,
- 0x1a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x73, 0x5f,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x14, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
+ 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73,
+ 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x22, 0x64, 0x0a,
+ 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x51, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x46, 0x75, 0x74, 0x75,
- 0x72, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x17, 0x65,
- 0x78, 0x70, 0x69, 0x72, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0xa0, 0x01, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
- 0x4d, 0x65, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
- 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f,
- 0x67, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x12, 0x1a,
- 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11,
- 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xdf, 0x01, 0x0a, 0x13, 0x50, 0x65,
- 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66,
- 0x6f, 0x12, 0x35, 0x0a, 0x17, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x5f, 0x66, 0x75, 0x6e, 0x64,
- 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x61, 0x70, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x14, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e,
- 0x67, 0x52, 0x61, 0x74, 0x65, 0x43, 0x61, 0x70, 0x12, 0x30, 0x0a, 0x14, 0x68, 0x6f, 0x75, 0x72,
- 0x6c, 0x79, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x49, 0x6e,
- 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x52, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6e, 0x65,
- 0x78, 0x74, 0x5f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x14, 0x6e, 0x65, 0x78, 0x74,
- 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
- 0x12, 0x29, 0x0a, 0x10, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65,
- 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0f, 0x66, 0x75, 0x6e, 0x64,
- 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x99, 0x01, 0x0a, 0x16,
- 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46,
- 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x11, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x46, 0x75,
- 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0f, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65,
- 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x77, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x69, 0x72,
- 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e,
- 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x14, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12,
- 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d,
- 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65,
- 0x22, 0x2c, 0x0a, 0x0d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x61,
- 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x4f, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
- 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x22, 0x34, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0xac, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x4f, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
- 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x8d, 0x01, 0x0a, 0x1b, 0x42, 0x69, 0x6e, 0x61, 0x72,
- 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x71,
- 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04,
- 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70,
- 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52,
- 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xb7, 0x01, 0x0a, 0x1c, 0x42, 0x69, 0x6e, 0x61, 0x72,
- 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x54, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e,
- 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x41, 0x0a,
- 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
- 0x22, 0xfe, 0x05, 0x0a, 0x17, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x73, 0x22, 0xc9, 0x08, 0x0a, 0x14, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
+ 0x76, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09,
0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72,
0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16,
0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65,
- 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f,
- 0x72, 0x61, 0x63, 0x6c, 0x65, 0x53, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x6f,
- 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x76,
- 0x69, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c,
- 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f,
- 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x66, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x46,
- 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x31, 0x0a, 0x14, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x12, 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x31, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x74,
- 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x12, 0x52, 0x13, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65,
- 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x71,
- 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x56, 0x0a, 0x10,
- 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61,
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65,
+ 0x5f, 0x62, 0x61, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61,
+ 0x63, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x61, 0x63, 0x6c,
+ 0x65, 0x5f, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f,
+ 0x72, 0x61, 0x63, 0x6c, 0x65, 0x51, 0x75, 0x6f, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72,
+ 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x6f,
+ 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x66, 0x61, 0x63, 0x74,
+ 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65,
+ 0x53, 0x63, 0x61, 0x6c, 0x65, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x14, 0x69,
+ 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x69, 0x6e, 0x69, 0x74, 0x69,
+ 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x38, 0x0a,
+ 0x18, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x72,
+ 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x16, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x65, 0x6e, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x61, 0x72, 0x67,
+ 0x69, 0x6e, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65,
+ 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75,
+ 0x6f, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x56, 0x0a, 0x10, 0x71, 0x75, 0x6f, 0x74,
+ 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
+ 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61,
+ 0x52, 0x0e, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61,
+ 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61,
+ 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x46,
+ 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f,
+ 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
+ 0x74, 0x61, 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14,
+ 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
+ 0x5f, 0x66, 0x65, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x65, 0x65, 0x12, 0x21,
+ 0x0a, 0x0c, 0x69, 0x73, 0x5f, 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x18, 0x0f,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61,
+ 0x6c, 0x12, 0x2d, 0x0a, 0x13, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74,
+ 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
+ 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65,
+ 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x69, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
+ 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x13, 0x6d, 0x69, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x69, 0x63,
+ 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x6a, 0x0a, 0x15, 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75,
+ 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x12,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75,
+ 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x13, 0x70, 0x65,
+ 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66,
+ 0x6f, 0x12, 0x73, 0x0a, 0x18, 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x6d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x13, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61,
+ 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x16,
+ 0x70, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46,
+ 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x77, 0x0a, 0x1a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79,
+ 0x5f, 0x66, 0x75, 0x74, 0x75, 0x72, 0x65, 0x73, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
+ 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x45,
+ 0x78, 0x70, 0x69, 0x72, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x17, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x46, 0x75,
+ 0x74, 0x75, 0x72, 0x65, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x22,
+ 0xa0, 0x01, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x12, 0x0a,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73,
+ 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d,
+ 0x62, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d,
+ 0x61, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d,
+ 0x61, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61,
+ 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
+ 0x41, 0x74, 0x22, 0xdf, 0x01, 0x0a, 0x13, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75, 0x61, 0x6c,
+ 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x35, 0x0a, 0x17, 0x68, 0x6f,
+ 0x75, 0x72, 0x6c, 0x79, 0x5f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74,
+ 0x65, 0x5f, 0x63, 0x61, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x68, 0x6f, 0x75,
+ 0x72, 0x6c, 0x79, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x43, 0x61,
+ 0x70, 0x12, 0x30, 0x0a, 0x14, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x5f, 0x69, 0x6e, 0x74, 0x65,
+ 0x72, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x12, 0x68, 0x6f, 0x75, 0x72, 0x6c, 0x79, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x65, 0x73, 0x74, 0x52,
+ 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x75, 0x6e, 0x64,
+ 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x14, 0x6e, 0x65, 0x78, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67,
+ 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x75, 0x6e,
+ 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x0f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x74, 0x65,
+ 0x72, 0x76, 0x61, 0x6c, 0x22, 0x99, 0x01, 0x0a, 0x16, 0x50, 0x65, 0x72, 0x70, 0x65, 0x74, 0x75,
+ 0x61, 0x6c, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12,
+ 0x2d, 0x0a, 0x12, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x66, 0x75,
+ 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x75, 0x6d,
+ 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x29,
+ 0x0a, 0x10, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x72, 0x69,
+ 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x75, 0x6d, 0x75, 0x6c, 0x61,
+ 0x74, 0x69, 0x76, 0x65, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x61, 0x73,
+ 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
+ 0x22, 0x77, 0x0a, 0x17, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x46, 0x75, 0x74, 0x75, 0x72, 0x65,
+ 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x31, 0x0a, 0x14, 0x65,
+ 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
+ 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x13, 0x65, 0x78, 0x70, 0x69, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x29,
+ 0x0a, 0x10, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x69,
+ 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65,
+ 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x2c, 0x0a, 0x0d, 0x4d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x61, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65,
+ 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e,
+ 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x34, 0x0a, 0x13, 0x53, 0x74,
+ 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73,
+ 0x22, 0xac, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65,
+ 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e,
+ 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70,
+ 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
+ 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22,
+ 0x8d, 0x01, 0x0a, 0x1b, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65,
+ 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65,
+ 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d,
+ 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22,
+ 0xb7, 0x01, 0x0a, 0x1c, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x54, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
+ 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
- 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0e, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
- 0x4d, 0x65, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65,
- 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61,
- 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61,
- 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65,
- 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76,
- 0x69, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46,
- 0x65, 0x65, 0x12, 0x2d, 0x0a, 0x13, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f,
- 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x10, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a,
- 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x69, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
- 0x79, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x13, 0x6d, 0x69, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x69,
- 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65,
- 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0f, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x63,
- 0x65, 0x22, 0x72, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74,
- 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61,
- 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52,
- 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62,
- 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x39, 0x0a, 0x1a, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
- 0x22, 0x71, 0x0a, 0x1b, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x52, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e,
+ 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xfe, 0x05, 0x0a, 0x17, 0x42, 0x69,
+ 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61,
+ 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65,
+ 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12,
+ 0x23, 0x0a, 0x0d, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x53, 0x79,
+ 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x27, 0x0a, 0x0f, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x70,
+ 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f,
+ 0x72, 0x61, 0x63, 0x6c, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a,
+ 0x0b, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x2e,
+ 0x0a, 0x13, 0x6f, 0x72, 0x61, 0x63, 0x6c, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x5f, 0x66,
+ 0x61, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6f, 0x72, 0x61,
+ 0x63, 0x6c, 0x65, 0x53, 0x63, 0x61, 0x6c, 0x65, 0x46, 0x61, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x31,
+ 0x0a, 0x14, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x13, 0x65, 0x78,
+ 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
+ 0x70, 0x12, 0x31, 0x0a, 0x14, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x13, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73,
+ 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65,
+ 0x6e, 0x6f, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65,
+ 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x56, 0x0a, 0x10, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x74,
+ 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72,
- 0x6b, 0x65, 0x74, 0x22, 0x2f, 0x0a, 0x10, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
+ 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0e, 0x71,
+ 0x75, 0x6f, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x24, 0x0a,
+ 0x0e, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18,
+ 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52,
+ 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65,
+ 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x6b,
+ 0x65, 0x72, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x72,
+ 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x65,
+ 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
+ 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x65, 0x65, 0x12, 0x2d, 0x0a, 0x13, 0x6d,
+ 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69,
+ 0x7a, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x69,
+ 0x63, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x69,
+ 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f,
+ 0x73, 0x69, 0x7a, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d, 0x69, 0x6e, 0x51,
+ 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12,
+ 0x29, 0x0a, 0x10, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72,
+ 0x69, 0x63, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x74, 0x74, 0x6c,
+ 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x69, 0x63, 0x65, 0x22, 0x86, 0x01, 0x0a, 0x06, 0x50,
+ 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66,
+ 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12,
+ 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12,
+ 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12,
+ 0x12, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e,
+ 0x65, 0x78, 0x74, 0x22, 0x39, 0x0a, 0x1a, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x71,
+ 0x0a, 0x1b, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a,
+ 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x22, 0x31, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x49, 0x64, 0x22, 0x6e, 0x0a, 0x11, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x09, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0xc0, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x12, 0x41, 0x0a, 0x04, 0x62, 0x75, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
- 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x04,
- 0x62, 0x75, 0x79, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76,
- 0x65, 0x6c, 0x52, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x5c, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x63, 0x65,
- 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71,
- 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71,
- 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x31, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
- 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65,
- 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x5b, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
- 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56,
- 0x32, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0xde, 0x01, 0x0a,
- 0x1a, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x41, 0x0a, 0x04, 0x62,
- 0x75, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x65, 0x74, 0x49, 0x64, 0x22, 0x72, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
+ 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x09, 0x6f,
+ 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
+ 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d,
+ 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x09, 0x6f,
+ 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0xde, 0x01, 0x0a, 0x1a, 0x44, 0x65, 0x72,
+ 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x41, 0x0a, 0x04, 0x62, 0x75, 0x79, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c,
+ 0x65, 0x76, 0x65, 0x6c, 0x52, 0x04, 0x62, 0x75, 0x79, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x65,
+ 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72,
- 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x04, 0x62, 0x75, 0x79, 0x73, 0x12, 0x43,
- 0x0a, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x73, 0x65,
- 0x6c, 0x6c, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12,
- 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x32, 0x0a,
- 0x11, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
- 0x73, 0x22, 0x77, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
- 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x0a,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x98, 0x01, 0x0a, 0x1e, 0x53,
+ 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x12,
+ 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x5c, 0x0a, 0x0a, 0x50, 0x72, 0x69,
+ 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a,
+ 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x34, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,
+ 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0x7b, 0x0a,
+ 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
+ 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69,
+ 0x6e, 0x67, 0x6c, 0x65, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69,
+ 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x0a,
+ 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x20, 0x53,
0x69, 0x6e, 0x67, 0x6c, 0x65, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c,
- 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x1b, 0x0a,
- 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x59, 0x0a, 0x09, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69,
- 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65,
- 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0x34, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
- 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0x7b, 0x0a, 0x14, 0x4f,
- 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x63, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
- 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x6e, 0x67,
- 0x6c, 0x65, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69,
- 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x0a, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x20, 0x53, 0x69, 0x6e,
- 0x67, 0x6c, 0x65, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d,
- 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x1b, 0x0a,
- 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x09, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69,
- 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x09, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0x37, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73,
- 0x22, 0xd6, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, 0x0a, 0x09,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x3b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12,
+ 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x09,
+ 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x3d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69,
- 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x09, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
- 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x18, 0x53, 0x74, 0x72,
+ 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x09,
+ 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0x39, 0x0a, 0x18, 0x53, 0x74, 0x72,
0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
@@ -6112,7 +6597,7 @@ var file_injective_derivative_exchange_rpc_proto_rawDesc = []byte{
0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18,
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12,
0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x9c, 0x03,
+ 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc9, 0x03,
0x0a, 0x0d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
@@ -6138,245 +6623,395 @@ var file_injective_derivative_exchange_rpc_proto_rawDesc = []byte{
0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18,
0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, 0xa4, 0x01, 0x0a,
- 0x0e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x4f, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
- 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69,
- 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73,
- 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
- 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67,
- 0x69, 0x6e, 0x67, 0x22, 0xac, 0x05, 0x0a, 0x14, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
- 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e,
- 0x69, 0x73, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f, 0x6e,
- 0x6c, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72,
- 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2b, 0x0a, 0x11,
- 0x75, 0x6e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
- 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x66, 0x69, 0x6c, 0x6c, 0x65,
- 0x64, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69,
- 0x67, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23,
- 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18,
- 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69,
- 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65,
- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63,
- 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70,
- 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0b, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f,
- 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c,
- 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x18, 0x12,
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x74, 0x12,
- 0x2a, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f,
- 0x68, 0x61, 0x73, 0x68, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x63,
- 0x65, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x65,
- 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x14, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
- 0x70, 0x65, 0x22, 0xb3, 0x02, 0x0a, 0x10, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69,
- 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a,
- 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69,
- 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
- 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,
- 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
- 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28,
- 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09,
- 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x1a, 0x73, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70,
- 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18,
- 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50,
- 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x11, 0x50, 0x6f, 0x73,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53,
- 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
- 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06,
- 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xb0, 0x03, 0x0a, 0x12, 0x44, 0x65, 0x72, 0x69, 0x76,
- 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a,
- 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74,
- 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
- 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
- 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x69,
- 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6c, 0x69,
- 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x5f,
- 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72,
- 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x1e, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67,
- 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x5f,
- 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x1b,
- 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f,
- 0x6e, 0x6c, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52,
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x63, 0x0a, 0x1a, 0x4c, 0x69, 0x71,
+ 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08,
+ 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
+ 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xa4, 0x01, 0x0a, 0x0e, 0x4f, 0x72,
+ 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06,
+ 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74,
+ 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x41, 0x0a,
+ 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
+ 0x22, 0xd7, 0x05, 0x0a, 0x14, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c,
+ 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
+ 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65,
+ 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72,
+ 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f,
+ 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x08, 0x52, 0x0c, 0x69, 0x73, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12,
+ 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a,
+ 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x66,
+ 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x09,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75,
+ 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65,
+ 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74,
+ 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66,
+ 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
+ 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
+ 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
+ 0x5f, 0x61, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x64, 0x41, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6e, 0x75,
+ 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0b, 0x6f, 0x72, 0x64, 0x65,
+ 0x72, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72,
+ 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e,
+ 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
+ 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11,
+ 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73,
+ 0x68, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x4f,
+ 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63,
+ 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18,
+ 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xdc, 0x02, 0x0a, 0x10, 0x50,
+ 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
+ 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
+ 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
+ 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e,
+ 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e,
+ 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
+ 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x1a, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72,
+ 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x11, 0x50, 0x6f,
+ 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x53, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
+ 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
+ 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52,
+ 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xb0, 0x03, 0x0a, 0x12, 0x44, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16,
+ 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
+ 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69,
+ 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69,
+ 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x63,
+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72,
+ 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6c,
+ 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65,
+ 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74,
+ 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b,
+ 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61,
+ 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x1e, 0x61, 0x67, 0x67, 0x72, 0x65,
+ 0x67, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79,
+ 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x1b, 0x61, 0x67, 0x67, 0x72, 0x65, 0x67, 0x61, 0x74, 0x65, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65,
+ 0x4f, 0x6e, 0x6c, 0x79, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1d, 0x0a, 0x0a,
+ 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12,
+ 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63,
+ 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xde, 0x02, 0x0a, 0x12, 0x50,
+ 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08,
+ 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07,
+ 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x1a, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64,
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x13,
+ 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76,
+ 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x52,
+ 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
+ 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xe4, 0x02,
+ 0x0a, 0x14, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x56, 0x32, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1b,
+ 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
+ 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a,
+ 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e,
+ 0x74, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0a, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d,
+ 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72,
+ 0x67, 0x69, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10,
+ 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65,
+ 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x09,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12,
+ 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x14,
+ 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64,
+ 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x63, 0x0a, 0x1a, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x62,
+ 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12,
+ 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73,
+ 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x72, 0x0a, 0x1b, 0x4c, 0x69, 0x71,
0x75, 0x69, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69,
- 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x72,
- 0x0a, 0x1b, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a,
- 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
- 0x32, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xbe, 0x01,
+ 0x0a, 0x16, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a,
+ 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b,
+ 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14,
+ 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c,
+ 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
+ 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x06, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0xab,
+ 0x01, 0x0a, 0x17, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e,
+ 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x08, 0x70, 0x61,
+ 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52,
+ 0x08, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67,
+ 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0x88, 0x01, 0x0a,
+ 0x0e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12,
+ 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d,
+ 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
+ 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x77, 0x0a, 0x13, 0x46, 0x75, 0x6e, 0x64, 0x69,
+ 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b,
+ 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73,
+ 0x6b, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12,
+ 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05,
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d,
+ 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
+ 0x22, 0xae, 0x01, 0x0a, 0x14, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x0d, 0x66, 0x75, 0x6e,
+ 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50,
- 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x16, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61,
- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a,
- 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12,
- 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73,
- 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64,
- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
- 0x64, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x64, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x17, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
- 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x4d, 0x0a, 0x08, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79,
- 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x41,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65,
+ 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x12, 0x41,
0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e,
- 0x67, 0x22, 0x88, 0x01, 0x0a, 0x0e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79,
- 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
- 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1c,
- 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x77, 0x0a, 0x13,
- 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
- 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04,
- 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e,
- 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e,
- 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xae, 0x01, 0x0a, 0x14, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e,
- 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53,
- 0x0a, 0x0d, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e,
- 0x67, 0x52, 0x61, 0x74, 0x65, 0x52, 0x0c, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61,
- 0x74, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06,
- 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0x5c, 0x0a, 0x0b, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e,
- 0x67, 0x52, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x04, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x22, 0xa0, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50,
- 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
- 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
- 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
- 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73,
- 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
- 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x17, 0x53, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x70, 0x6f,
- 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x22, 0xa2, 0x03, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f,
- 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
- 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69,
- 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11,
- 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61,
- 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
- 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73,
- 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64,
- 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
- 0x65, 0x5f, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
- 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x15, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f,
- 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x53, 0x74,
- 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
+ 0x67, 0x22, 0x5c, 0x0a, 0x0b, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65,
+ 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
+ 0x04, 0x72, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x74,
+ 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22,
+ 0xc9, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12,
+ 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
+ 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
+ 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
+ 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64,
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x17,
+ 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65,
+ 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
+ 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xcf, 0x03, 0x0a, 0x13, 0x53, 0x74, 0x72,
+ 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d,
+ 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
+ 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
+ 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e,
+ 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e,
+ 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
+ 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x73,
+ 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6f,
+ 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e,
+ 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x0b,
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e, 0x61,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73,
+ 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a,
+ 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18,
+ 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xaa, 0x01, 0x0a, 0x14, 0x53,
+ 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
+ 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
+ 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
+ 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xbf, 0x03, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x64,
+ 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
+ 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a,
+ 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
+ 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04,
+ 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74,
+ 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64,
+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64,
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
+ 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78,
+ 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
+ 0x70, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18,
+ 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x27,
+ 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
+ 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x9f, 0x01, 0x0a, 0x0e, 0x54, 0x72,
+ 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x06,
+ 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65,
+ 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69,
+ 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67,
+ 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xe8, 0x03, 0x0a, 0x0f,
+ 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12,
+ 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23,
+ 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
+ 0x12, 0x30, 0x0a, 0x14, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12,
+ 0x74, 0x72, 0x61, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x4c, 0x69,
+ 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x0e, 0x70, 0x6f, 0x73,
+ 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
- 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65,
- 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xe9, 0x02, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x64, 0x65,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65,
+ 0x6c, 0x74, 0x61, 0x52, 0x0d, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c,
+ 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65,
+ 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
+ 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a,
+ 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x0a,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65,
+ 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a,
+ 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18,
+ 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
+ 0x53, 0x69, 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xbb, 0x01, 0x0a, 0x0d, 0x50, 0x6f, 0x73, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x64,
+ 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x64, 0x65, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70,
+ 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63,
+ 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x78,
+ 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
+ 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61,
+ 0x72, 0x67, 0x69, 0x6e, 0x22, 0xc1, 0x03, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56,
+ 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b,
0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72,
0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65,
@@ -6398,300 +7033,302 @@ var file_injective_derivative_exchange_rpc_proto_rawDesc = []byte{
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65,
0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03,
0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
- 0x65, 0x73, 0x22, 0x9f, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65,
- 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61,
- 0x67, 0x69, 0x6e, 0x67, 0x22, 0xd6, 0x03, 0x0a, 0x0f, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65,
- 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x72, 0x61,
- 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70,
- 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74, 0x72, 0x61, 0x64, 0x65, 0x45, 0x78,
- 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69,
- 0x73, 0x5f, 0x6c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x57, 0x0a, 0x0e, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64,
- 0x65, 0x6c, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
- 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x0d, 0x70, 0x6f,
- 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x70,
- 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x79,
- 0x6f, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65,
- 0x64, 0x5f, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63,
- 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65,
- 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66,
- 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74,
- 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74,
- 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
- 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
- 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x22, 0xbb, 0x01,
- 0x0a, 0x0d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12,
- 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x64, 0x65, 0x44,
- 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63,
- 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x69, 0x63,
- 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x71,
- 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65,
- 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
- 0x12, 0x29, 0x0a, 0x10, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61,
- 0x72, 0x67, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x78, 0x65, 0x63,
- 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x22, 0xef, 0x02, 0x0a, 0x13,
- 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
- 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69,
- 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
- 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b,
- 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14,
- 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c,
- 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54,
- 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d,
- 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a,
- 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
- 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
- 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65,
- 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xa5, 0x01,
- 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65,
- 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x89, 0x01, 0x0a, 0x1b, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c,
- 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
- 0x74, 0x22, 0xb2, 0x01, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
- 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06,
- 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xce, 0x01, 0x0a, 0x1b, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63,
- 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a,
+ 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a,
+ 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
+ 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41,
+ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xa1, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x61,
+ 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a,
+ 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64,
+ 0x65, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67,
+ 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xc5, 0x03, 0x0a,
+ 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
+ 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73,
+ 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75,
+ 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65,
+ 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72,
+ 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73,
+ 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12,
+ 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05,
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74,
+ 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74,
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65,
+ 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12,
+ 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x25,
+ 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73,
+ 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e,
+ 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x19,
+ 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65,
+ 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x03, 0x63, 0x69, 0x64, 0x22, 0xa5, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54,
+ 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a,
+ 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65,
+ 0x52, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
+ 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc7, 0x03, 0x0a,
+ 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
+ 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69,
0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11,
- 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x6a, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x61, 0x63,
- 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
- 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69,
- 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x06, 0x74, 0x72, 0x61,
- 0x64, 0x65, 0x73, 0x22, 0x9f, 0x03, 0x0a, 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69,
- 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d,
- 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
- 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12,
- 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b,
- 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x64, 0x65,
- 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69,
- 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
+ 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61,
0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69,
0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e,
- 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65,
- 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a,
- 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
- 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
- 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0xad, 0x01, 0x0a, 0x15, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73,
- 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x51, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
- 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65,
- 0x72, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
+ 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
+ 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73,
+ 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
+ 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75,
+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09,
+ 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73,
+ 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xa7, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x12, 0x48, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
+ 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54,
+ 0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f,
+ 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
+ 0x22, 0x89, 0x01, 0x0a, 0x1b, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f,
+ 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
+ 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xb2, 0x01, 0x0a,
+ 0x1c, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a,
+ 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4c, 0x69, 0x6d, 0x69,
+ 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x41,
+ 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
+ 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e,
+ 0x67, 0x22, 0xce, 0x01, 0x0a, 0x1b, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
+ 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05,
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d,
+ 0x69, 0x74, 0x22, 0x6a, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70,
- 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xfe, 0x04, 0x0a, 0x16, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61,
- 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
- 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12,
- 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
- 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25,
- 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
- 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72,
- 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12,
- 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x66,
- 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0a,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 0x61, 0x6e,
- 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72,
- 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64,
- 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x72,
- 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x0c, 0x69, 0x73, 0x52, 0x65, 0x64, 0x75, 0x63, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1c,
- 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e,
- 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x10,
- 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x61,
- 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
- 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70,
- 0x6c, 0x61, 0x63, 0x65, 0x64, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16,
- 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x22, 0xdc, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72,
- 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72,
- 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f,
- 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
- 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52,
- 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
- 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a,
- 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12,
- 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xc7, 0x1a, 0x0a, 0x1e,
- 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x50, 0x43, 0x12, 0x70,
- 0x0a, 0x07, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x6d, 0x0a, 0x06, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
+ 0x65, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x22, 0xfc,
+ 0x03, 0x0a, 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
+ 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09,
+ 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69,
+ 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a,
+ 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69,
+ 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70,
+ 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54,
+ 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
+ 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x25, 0x0a, 0x0e,
+ 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x09,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70,
+ 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63,
+ 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
+ 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
+ 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73,
+ 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x61,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x5f, 0x6f, 0x6e,
+ 0x6c, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x63,
+ 0x69, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xad, 0x01,
+ 0x0a, 0x15, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72,
+ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f,
+ 0x72, 0x79, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a,
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x81, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
- 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x30, 0x01, 0x12, 0x97, 0x01, 0x0a, 0x14, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x3e, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3f, 0x2e, 0x69,
+ 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
+ 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xa9, 0x05,
+ 0x0a, 0x16, 0x44, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65,
+ 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72,
+ 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
+ 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
+ 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05,
+ 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69,
+ 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72,
+ 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67,
+ 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74,
+ 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74,
+ 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75,
+ 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69,
+ 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05,
+ 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
+ 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
+ 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
+ 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
+ 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x64, 0x75, 0x63, 0x65, 0x5f, 0x6f, 0x6e,
+ 0x6c, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x52, 0x65, 0x64, 0x75,
+ 0x63, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63,
+ 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x69, 0x73,
+ 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x74,
+ 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x61, 0x74, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x09, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x41, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x6c,
+ 0x61, 0x63, 0x65, 0x64, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18,
+ 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x64, 0x4f, 0x72, 0x64,
+ 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e,
+ 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x12, 0x17,
+ 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x15,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0xdc, 0x01, 0x0a, 0x1a, 0x53, 0x74,
+ 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
+ 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a,
+ 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72,
+ 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
+ 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
+ 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
+ 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
+ 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70,
+ 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
+ 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0xb3, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x72,
+ 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65,
+ 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f,
+ 0x72, 0x79, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xc4,
+ 0x1a, 0x0a, 0x1e, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x44, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x50,
+ 0x43, 0x12, 0x70, 0x0a, 0x07, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x31, 0x2e, 0x69,
0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x94, 0x01,
- 0x0a, 0x13, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x3d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79,
- 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f,
- 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x09, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x12, 0x33, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0b,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x35, 0x2e, 0x69, 0x6e,
+ 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x06, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x30, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e,
0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
- 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x79, 0x0a, 0x0a, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x97, 0x01, 0x0a, 0x14, 0x42, 0x69, 0x6e, 0x61, 0x72,
+ 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12,
+ 0x3e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x3f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
+ 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x94, 0x01, 0x0a, 0x13, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x3d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
- 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73,
+ 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e,
+ 0x61, 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x6e, 0x61,
+ 0x72, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7c, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7f, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
0x6f, 0x6b, 0x73, 0x56, 0x32, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
@@ -6700,107 +7337,122 @@ var file_injective_derivative_exchange_rpc_proto_rawDesc = []byte{
0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x39, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53,
- 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x30, 0x01, 0x12, 0x90, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x3b, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x90, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x3b, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
+ 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x9c, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x12, 0x3f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
- 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x40, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65,
- 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x6d, 0x0a, 0x06, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12,
- 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
- 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x09, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
- 0x73, 0x12, 0x33, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65,
- 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x94, 0x01, 0x0a,
- 0x13, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74,
- 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x9c, 0x01, 0x0a, 0x15, 0x53, 0x74,
+ 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x12, 0x3f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72,
+ 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x40, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f,
+ 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x6d, 0x0a, 0x06, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
+ 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x09, 0x50, 0x6f, 0x73, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x33, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
+ 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f,
+ 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x7c, 0x0a, 0x0b, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x12, 0x35,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
+ 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x94, 0x01,
+ 0x0a, 0x13, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69,
+ 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64,
+ 0x61, 0x62, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61,
- 0x62, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x62, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x0f, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67,
+ 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e,
+ 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x71, 0x75, 0x69, 0x64, 0x61, 0x62,
- 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x88, 0x01, 0x0a, 0x0f, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
- 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
+ 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x7f, 0x0a, 0x0c, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x12,
+ 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64,
- 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64,
- 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61,
- 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7f,
- 0x0a, 0x0c, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x12, 0x36,
+ 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x8a, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74,
+ 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50,
+ 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
+ 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69,
+ 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
+ 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x81, 0x01,
+ 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x36,
0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52,
+ 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69,
- 0x6e, 0x67, 0x52, 0x61, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x8a, 0x01, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
- 0x6f, 0x6e, 0x73, 0x12, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f,
- 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
- 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
- 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x81, 0x01, 0x0a,
- 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x36, 0x2e,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30,
+ 0x01, 0x12, 0x6d, 0x0a, 0x06, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e,
0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61,
0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01,
- 0x12, 0x6d, 0x0a, 0x06, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54,
- 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69,
+ 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x73, 0x0a, 0x08, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x12, 0x32, 0x2e, 0x69,
0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x81, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73,
- 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
+ 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x33, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72,
0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x81, 0x01, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76,
+ 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x87, 0x01, 0x0a, 0x0e, 0x53, 0x74,
+ 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x12, 0x38, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x30, 0x01, 0x12, 0x97, 0x01, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3e, 0x2e, 0x69,
0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74,
@@ -6856,7 +7508,7 @@ func file_injective_derivative_exchange_rpc_proto_rawDescGZIP() []byte {
return file_injective_derivative_exchange_rpc_proto_rawDescData
}
-var file_injective_derivative_exchange_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 71)
+var file_injective_derivative_exchange_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 70)
var file_injective_derivative_exchange_rpc_proto_goTypes = []interface{}{
(*MarketsRequest)(nil), // 0: injective_derivative_exchange_rpc.MarketsRequest
(*MarketsResponse)(nil), // 1: injective_derivative_exchange_rpc.MarketsResponse
@@ -6875,60 +7527,59 @@ var file_injective_derivative_exchange_rpc_proto_goTypes = []interface{}{
(*Paging)(nil), // 14: injective_derivative_exchange_rpc.Paging
(*BinaryOptionsMarketRequest)(nil), // 15: injective_derivative_exchange_rpc.BinaryOptionsMarketRequest
(*BinaryOptionsMarketResponse)(nil), // 16: injective_derivative_exchange_rpc.BinaryOptionsMarketResponse
- (*OrderbookRequest)(nil), // 17: injective_derivative_exchange_rpc.OrderbookRequest
- (*OrderbookResponse)(nil), // 18: injective_derivative_exchange_rpc.OrderbookResponse
- (*DerivativeLimitOrderbook)(nil), // 19: injective_derivative_exchange_rpc.DerivativeLimitOrderbook
+ (*OrderbookV2Request)(nil), // 17: injective_derivative_exchange_rpc.OrderbookV2Request
+ (*OrderbookV2Response)(nil), // 18: injective_derivative_exchange_rpc.OrderbookV2Response
+ (*DerivativeLimitOrderbookV2)(nil), // 19: injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
(*PriceLevel)(nil), // 20: injective_derivative_exchange_rpc.PriceLevel
- (*OrderbookV2Request)(nil), // 21: injective_derivative_exchange_rpc.OrderbookV2Request
- (*OrderbookV2Response)(nil), // 22: injective_derivative_exchange_rpc.OrderbookV2Response
- (*DerivativeLimitOrderbookV2)(nil), // 23: injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
- (*OrderbooksRequest)(nil), // 24: injective_derivative_exchange_rpc.OrderbooksRequest
- (*OrderbooksResponse)(nil), // 25: injective_derivative_exchange_rpc.OrderbooksResponse
- (*SingleDerivativeLimitOrderbook)(nil), // 26: injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbook
- (*OrderbooksV2Request)(nil), // 27: injective_derivative_exchange_rpc.OrderbooksV2Request
- (*OrderbooksV2Response)(nil), // 28: injective_derivative_exchange_rpc.OrderbooksV2Response
- (*SingleDerivativeLimitOrderbookV2)(nil), // 29: injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2
- (*StreamOrderbookRequest)(nil), // 30: injective_derivative_exchange_rpc.StreamOrderbookRequest
- (*StreamOrderbookResponse)(nil), // 31: injective_derivative_exchange_rpc.StreamOrderbookResponse
- (*StreamOrderbookV2Request)(nil), // 32: injective_derivative_exchange_rpc.StreamOrderbookV2Request
- (*StreamOrderbookV2Response)(nil), // 33: injective_derivative_exchange_rpc.StreamOrderbookV2Response
- (*StreamOrderbookUpdateRequest)(nil), // 34: injective_derivative_exchange_rpc.StreamOrderbookUpdateRequest
- (*StreamOrderbookUpdateResponse)(nil), // 35: injective_derivative_exchange_rpc.StreamOrderbookUpdateResponse
- (*OrderbookLevelUpdates)(nil), // 36: injective_derivative_exchange_rpc.OrderbookLevelUpdates
- (*PriceLevelUpdate)(nil), // 37: injective_derivative_exchange_rpc.PriceLevelUpdate
- (*OrdersRequest)(nil), // 38: injective_derivative_exchange_rpc.OrdersRequest
- (*OrdersResponse)(nil), // 39: injective_derivative_exchange_rpc.OrdersResponse
- (*DerivativeLimitOrder)(nil), // 40: injective_derivative_exchange_rpc.DerivativeLimitOrder
- (*PositionsRequest)(nil), // 41: injective_derivative_exchange_rpc.PositionsRequest
- (*PositionsResponse)(nil), // 42: injective_derivative_exchange_rpc.PositionsResponse
- (*DerivativePosition)(nil), // 43: injective_derivative_exchange_rpc.DerivativePosition
- (*LiquidablePositionsRequest)(nil), // 44: injective_derivative_exchange_rpc.LiquidablePositionsRequest
- (*LiquidablePositionsResponse)(nil), // 45: injective_derivative_exchange_rpc.LiquidablePositionsResponse
- (*FundingPaymentsRequest)(nil), // 46: injective_derivative_exchange_rpc.FundingPaymentsRequest
- (*FundingPaymentsResponse)(nil), // 47: injective_derivative_exchange_rpc.FundingPaymentsResponse
- (*FundingPayment)(nil), // 48: injective_derivative_exchange_rpc.FundingPayment
- (*FundingRatesRequest)(nil), // 49: injective_derivative_exchange_rpc.FundingRatesRequest
- (*FundingRatesResponse)(nil), // 50: injective_derivative_exchange_rpc.FundingRatesResponse
- (*FundingRate)(nil), // 51: injective_derivative_exchange_rpc.FundingRate
- (*StreamPositionsRequest)(nil), // 52: injective_derivative_exchange_rpc.StreamPositionsRequest
- (*StreamPositionsResponse)(nil), // 53: injective_derivative_exchange_rpc.StreamPositionsResponse
- (*StreamOrdersRequest)(nil), // 54: injective_derivative_exchange_rpc.StreamOrdersRequest
- (*StreamOrdersResponse)(nil), // 55: injective_derivative_exchange_rpc.StreamOrdersResponse
- (*TradesRequest)(nil), // 56: injective_derivative_exchange_rpc.TradesRequest
- (*TradesResponse)(nil), // 57: injective_derivative_exchange_rpc.TradesResponse
- (*DerivativeTrade)(nil), // 58: injective_derivative_exchange_rpc.DerivativeTrade
- (*PositionDelta)(nil), // 59: injective_derivative_exchange_rpc.PositionDelta
- (*StreamTradesRequest)(nil), // 60: injective_derivative_exchange_rpc.StreamTradesRequest
- (*StreamTradesResponse)(nil), // 61: injective_derivative_exchange_rpc.StreamTradesResponse
- (*SubaccountOrdersListRequest)(nil), // 62: injective_derivative_exchange_rpc.SubaccountOrdersListRequest
- (*SubaccountOrdersListResponse)(nil), // 63: injective_derivative_exchange_rpc.SubaccountOrdersListResponse
- (*SubaccountTradesListRequest)(nil), // 64: injective_derivative_exchange_rpc.SubaccountTradesListRequest
- (*SubaccountTradesListResponse)(nil), // 65: injective_derivative_exchange_rpc.SubaccountTradesListResponse
- (*OrdersHistoryRequest)(nil), // 66: injective_derivative_exchange_rpc.OrdersHistoryRequest
- (*OrdersHistoryResponse)(nil), // 67: injective_derivative_exchange_rpc.OrdersHistoryResponse
- (*DerivativeOrderHistory)(nil), // 68: injective_derivative_exchange_rpc.DerivativeOrderHistory
- (*StreamOrdersHistoryRequest)(nil), // 69: injective_derivative_exchange_rpc.StreamOrdersHistoryRequest
- (*StreamOrdersHistoryResponse)(nil), // 70: injective_derivative_exchange_rpc.StreamOrdersHistoryResponse
+ (*OrderbooksV2Request)(nil), // 21: injective_derivative_exchange_rpc.OrderbooksV2Request
+ (*OrderbooksV2Response)(nil), // 22: injective_derivative_exchange_rpc.OrderbooksV2Response
+ (*SingleDerivativeLimitOrderbookV2)(nil), // 23: injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2
+ (*StreamOrderbookV2Request)(nil), // 24: injective_derivative_exchange_rpc.StreamOrderbookV2Request
+ (*StreamOrderbookV2Response)(nil), // 25: injective_derivative_exchange_rpc.StreamOrderbookV2Response
+ (*StreamOrderbookUpdateRequest)(nil), // 26: injective_derivative_exchange_rpc.StreamOrderbookUpdateRequest
+ (*StreamOrderbookUpdateResponse)(nil), // 27: injective_derivative_exchange_rpc.StreamOrderbookUpdateResponse
+ (*OrderbookLevelUpdates)(nil), // 28: injective_derivative_exchange_rpc.OrderbookLevelUpdates
+ (*PriceLevelUpdate)(nil), // 29: injective_derivative_exchange_rpc.PriceLevelUpdate
+ (*OrdersRequest)(nil), // 30: injective_derivative_exchange_rpc.OrdersRequest
+ (*OrdersResponse)(nil), // 31: injective_derivative_exchange_rpc.OrdersResponse
+ (*DerivativeLimitOrder)(nil), // 32: injective_derivative_exchange_rpc.DerivativeLimitOrder
+ (*PositionsRequest)(nil), // 33: injective_derivative_exchange_rpc.PositionsRequest
+ (*PositionsResponse)(nil), // 34: injective_derivative_exchange_rpc.PositionsResponse
+ (*DerivativePosition)(nil), // 35: injective_derivative_exchange_rpc.DerivativePosition
+ (*PositionsV2Request)(nil), // 36: injective_derivative_exchange_rpc.PositionsV2Request
+ (*PositionsV2Response)(nil), // 37: injective_derivative_exchange_rpc.PositionsV2Response
+ (*DerivativePositionV2)(nil), // 38: injective_derivative_exchange_rpc.DerivativePositionV2
+ (*LiquidablePositionsRequest)(nil), // 39: injective_derivative_exchange_rpc.LiquidablePositionsRequest
+ (*LiquidablePositionsResponse)(nil), // 40: injective_derivative_exchange_rpc.LiquidablePositionsResponse
+ (*FundingPaymentsRequest)(nil), // 41: injective_derivative_exchange_rpc.FundingPaymentsRequest
+ (*FundingPaymentsResponse)(nil), // 42: injective_derivative_exchange_rpc.FundingPaymentsResponse
+ (*FundingPayment)(nil), // 43: injective_derivative_exchange_rpc.FundingPayment
+ (*FundingRatesRequest)(nil), // 44: injective_derivative_exchange_rpc.FundingRatesRequest
+ (*FundingRatesResponse)(nil), // 45: injective_derivative_exchange_rpc.FundingRatesResponse
+ (*FundingRate)(nil), // 46: injective_derivative_exchange_rpc.FundingRate
+ (*StreamPositionsRequest)(nil), // 47: injective_derivative_exchange_rpc.StreamPositionsRequest
+ (*StreamPositionsResponse)(nil), // 48: injective_derivative_exchange_rpc.StreamPositionsResponse
+ (*StreamOrdersRequest)(nil), // 49: injective_derivative_exchange_rpc.StreamOrdersRequest
+ (*StreamOrdersResponse)(nil), // 50: injective_derivative_exchange_rpc.StreamOrdersResponse
+ (*TradesRequest)(nil), // 51: injective_derivative_exchange_rpc.TradesRequest
+ (*TradesResponse)(nil), // 52: injective_derivative_exchange_rpc.TradesResponse
+ (*DerivativeTrade)(nil), // 53: injective_derivative_exchange_rpc.DerivativeTrade
+ (*PositionDelta)(nil), // 54: injective_derivative_exchange_rpc.PositionDelta
+ (*TradesV2Request)(nil), // 55: injective_derivative_exchange_rpc.TradesV2Request
+ (*TradesV2Response)(nil), // 56: injective_derivative_exchange_rpc.TradesV2Response
+ (*StreamTradesRequest)(nil), // 57: injective_derivative_exchange_rpc.StreamTradesRequest
+ (*StreamTradesResponse)(nil), // 58: injective_derivative_exchange_rpc.StreamTradesResponse
+ (*StreamTradesV2Request)(nil), // 59: injective_derivative_exchange_rpc.StreamTradesV2Request
+ (*StreamTradesV2Response)(nil), // 60: injective_derivative_exchange_rpc.StreamTradesV2Response
+ (*SubaccountOrdersListRequest)(nil), // 61: injective_derivative_exchange_rpc.SubaccountOrdersListRequest
+ (*SubaccountOrdersListResponse)(nil), // 62: injective_derivative_exchange_rpc.SubaccountOrdersListResponse
+ (*SubaccountTradesListRequest)(nil), // 63: injective_derivative_exchange_rpc.SubaccountTradesListRequest
+ (*SubaccountTradesListResponse)(nil), // 64: injective_derivative_exchange_rpc.SubaccountTradesListResponse
+ (*OrdersHistoryRequest)(nil), // 65: injective_derivative_exchange_rpc.OrdersHistoryRequest
+ (*OrdersHistoryResponse)(nil), // 66: injective_derivative_exchange_rpc.OrdersHistoryResponse
+ (*DerivativeOrderHistory)(nil), // 67: injective_derivative_exchange_rpc.DerivativeOrderHistory
+ (*StreamOrdersHistoryRequest)(nil), // 68: injective_derivative_exchange_rpc.StreamOrdersHistoryRequest
+ (*StreamOrdersHistoryResponse)(nil), // 69: injective_derivative_exchange_rpc.StreamOrdersHistoryResponse
}
var file_injective_derivative_exchange_rpc_proto_depIdxs = []int32{
2, // 0: injective_derivative_exchange_rpc.MarketsResponse.markets:type_name -> injective_derivative_exchange_rpc.DerivativeMarketInfo
@@ -6942,97 +7593,96 @@ var file_injective_derivative_exchange_rpc_proto_depIdxs = []int32{
14, // 8: injective_derivative_exchange_rpc.BinaryOptionsMarketsResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
3, // 9: injective_derivative_exchange_rpc.BinaryOptionsMarketInfo.quote_token_meta:type_name -> injective_derivative_exchange_rpc.TokenMeta
13, // 10: injective_derivative_exchange_rpc.BinaryOptionsMarketResponse.market:type_name -> injective_derivative_exchange_rpc.BinaryOptionsMarketInfo
- 19, // 11: injective_derivative_exchange_rpc.OrderbookResponse.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbook
- 20, // 12: injective_derivative_exchange_rpc.DerivativeLimitOrderbook.buys:type_name -> injective_derivative_exchange_rpc.PriceLevel
- 20, // 13: injective_derivative_exchange_rpc.DerivativeLimitOrderbook.sells:type_name -> injective_derivative_exchange_rpc.PriceLevel
- 23, // 14: injective_derivative_exchange_rpc.OrderbookV2Response.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
- 20, // 15: injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2.buys:type_name -> injective_derivative_exchange_rpc.PriceLevel
- 20, // 16: injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2.sells:type_name -> injective_derivative_exchange_rpc.PriceLevel
- 26, // 17: injective_derivative_exchange_rpc.OrderbooksResponse.orderbooks:type_name -> injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbook
- 19, // 18: injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbook.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbook
- 29, // 19: injective_derivative_exchange_rpc.OrderbooksV2Response.orderbooks:type_name -> injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2
- 23, // 20: injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
- 19, // 21: injective_derivative_exchange_rpc.StreamOrderbookResponse.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbook
- 23, // 22: injective_derivative_exchange_rpc.StreamOrderbookV2Response.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
- 36, // 23: injective_derivative_exchange_rpc.StreamOrderbookUpdateResponse.orderbook_level_updates:type_name -> injective_derivative_exchange_rpc.OrderbookLevelUpdates
- 37, // 24: injective_derivative_exchange_rpc.OrderbookLevelUpdates.buys:type_name -> injective_derivative_exchange_rpc.PriceLevelUpdate
- 37, // 25: injective_derivative_exchange_rpc.OrderbookLevelUpdates.sells:type_name -> injective_derivative_exchange_rpc.PriceLevelUpdate
- 40, // 26: injective_derivative_exchange_rpc.OrdersResponse.orders:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrder
- 14, // 27: injective_derivative_exchange_rpc.OrdersResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
- 43, // 28: injective_derivative_exchange_rpc.PositionsResponse.positions:type_name -> injective_derivative_exchange_rpc.DerivativePosition
- 14, // 29: injective_derivative_exchange_rpc.PositionsResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
- 43, // 30: injective_derivative_exchange_rpc.LiquidablePositionsResponse.positions:type_name -> injective_derivative_exchange_rpc.DerivativePosition
- 48, // 31: injective_derivative_exchange_rpc.FundingPaymentsResponse.payments:type_name -> injective_derivative_exchange_rpc.FundingPayment
- 14, // 32: injective_derivative_exchange_rpc.FundingPaymentsResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
- 51, // 33: injective_derivative_exchange_rpc.FundingRatesResponse.funding_rates:type_name -> injective_derivative_exchange_rpc.FundingRate
- 14, // 34: injective_derivative_exchange_rpc.FundingRatesResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
- 43, // 35: injective_derivative_exchange_rpc.StreamPositionsResponse.position:type_name -> injective_derivative_exchange_rpc.DerivativePosition
- 40, // 36: injective_derivative_exchange_rpc.StreamOrdersResponse.order:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrder
- 58, // 37: injective_derivative_exchange_rpc.TradesResponse.trades:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
- 14, // 38: injective_derivative_exchange_rpc.TradesResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
- 59, // 39: injective_derivative_exchange_rpc.DerivativeTrade.position_delta:type_name -> injective_derivative_exchange_rpc.PositionDelta
- 58, // 40: injective_derivative_exchange_rpc.StreamTradesResponse.trade:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
- 40, // 41: injective_derivative_exchange_rpc.SubaccountOrdersListResponse.orders:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrder
- 14, // 42: injective_derivative_exchange_rpc.SubaccountOrdersListResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
- 58, // 43: injective_derivative_exchange_rpc.SubaccountTradesListResponse.trades:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
- 68, // 44: injective_derivative_exchange_rpc.OrdersHistoryResponse.orders:type_name -> injective_derivative_exchange_rpc.DerivativeOrderHistory
- 14, // 45: injective_derivative_exchange_rpc.OrdersHistoryResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
- 68, // 46: injective_derivative_exchange_rpc.StreamOrdersHistoryResponse.order:type_name -> injective_derivative_exchange_rpc.DerivativeOrderHistory
- 0, // 47: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Markets:input_type -> injective_derivative_exchange_rpc.MarketsRequest
- 7, // 48: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Market:input_type -> injective_derivative_exchange_rpc.MarketRequest
- 9, // 49: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamMarket:input_type -> injective_derivative_exchange_rpc.StreamMarketRequest
- 11, // 50: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarkets:input_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketsRequest
- 15, // 51: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarket:input_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketRequest
- 17, // 52: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orderbook:input_type -> injective_derivative_exchange_rpc.OrderbookRequest
- 21, // 53: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbookV2:input_type -> injective_derivative_exchange_rpc.OrderbookV2Request
- 24, // 54: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orderbooks:input_type -> injective_derivative_exchange_rpc.OrderbooksRequest
- 27, // 55: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbooksV2:input_type -> injective_derivative_exchange_rpc.OrderbooksV2Request
- 30, // 56: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbook:input_type -> injective_derivative_exchange_rpc.StreamOrderbookRequest
- 32, // 57: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookV2:input_type -> injective_derivative_exchange_rpc.StreamOrderbookV2Request
- 34, // 58: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookUpdate:input_type -> injective_derivative_exchange_rpc.StreamOrderbookUpdateRequest
- 38, // 59: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orders:input_type -> injective_derivative_exchange_rpc.OrdersRequest
- 41, // 60: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Positions:input_type -> injective_derivative_exchange_rpc.PositionsRequest
- 44, // 61: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.LiquidablePositions:input_type -> injective_derivative_exchange_rpc.LiquidablePositionsRequest
- 46, // 62: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingPayments:input_type -> injective_derivative_exchange_rpc.FundingPaymentsRequest
- 49, // 63: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingRates:input_type -> injective_derivative_exchange_rpc.FundingRatesRequest
- 52, // 64: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamPositions:input_type -> injective_derivative_exchange_rpc.StreamPositionsRequest
- 54, // 65: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrders:input_type -> injective_derivative_exchange_rpc.StreamOrdersRequest
- 56, // 66: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Trades:input_type -> injective_derivative_exchange_rpc.TradesRequest
- 60, // 67: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamTrades:input_type -> injective_derivative_exchange_rpc.StreamTradesRequest
- 62, // 68: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountOrdersList:input_type -> injective_derivative_exchange_rpc.SubaccountOrdersListRequest
- 64, // 69: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountTradesList:input_type -> injective_derivative_exchange_rpc.SubaccountTradesListRequest
- 66, // 70: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrdersHistory:input_type -> injective_derivative_exchange_rpc.OrdersHistoryRequest
- 69, // 71: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrdersHistory:input_type -> injective_derivative_exchange_rpc.StreamOrdersHistoryRequest
- 1, // 72: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Markets:output_type -> injective_derivative_exchange_rpc.MarketsResponse
- 8, // 73: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Market:output_type -> injective_derivative_exchange_rpc.MarketResponse
- 10, // 74: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamMarket:output_type -> injective_derivative_exchange_rpc.StreamMarketResponse
- 12, // 75: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarkets:output_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketsResponse
- 16, // 76: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarket:output_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketResponse
- 18, // 77: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orderbook:output_type -> injective_derivative_exchange_rpc.OrderbookResponse
- 22, // 78: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbookV2:output_type -> injective_derivative_exchange_rpc.OrderbookV2Response
- 25, // 79: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orderbooks:output_type -> injective_derivative_exchange_rpc.OrderbooksResponse
- 28, // 80: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbooksV2:output_type -> injective_derivative_exchange_rpc.OrderbooksV2Response
- 31, // 81: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbook:output_type -> injective_derivative_exchange_rpc.StreamOrderbookResponse
- 33, // 82: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookV2:output_type -> injective_derivative_exchange_rpc.StreamOrderbookV2Response
- 35, // 83: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookUpdate:output_type -> injective_derivative_exchange_rpc.StreamOrderbookUpdateResponse
- 39, // 84: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orders:output_type -> injective_derivative_exchange_rpc.OrdersResponse
- 42, // 85: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Positions:output_type -> injective_derivative_exchange_rpc.PositionsResponse
- 45, // 86: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.LiquidablePositions:output_type -> injective_derivative_exchange_rpc.LiquidablePositionsResponse
- 47, // 87: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingPayments:output_type -> injective_derivative_exchange_rpc.FundingPaymentsResponse
- 50, // 88: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingRates:output_type -> injective_derivative_exchange_rpc.FundingRatesResponse
- 53, // 89: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamPositions:output_type -> injective_derivative_exchange_rpc.StreamPositionsResponse
- 55, // 90: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrders:output_type -> injective_derivative_exchange_rpc.StreamOrdersResponse
- 57, // 91: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Trades:output_type -> injective_derivative_exchange_rpc.TradesResponse
- 61, // 92: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamTrades:output_type -> injective_derivative_exchange_rpc.StreamTradesResponse
- 63, // 93: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountOrdersList:output_type -> injective_derivative_exchange_rpc.SubaccountOrdersListResponse
- 65, // 94: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountTradesList:output_type -> injective_derivative_exchange_rpc.SubaccountTradesListResponse
- 67, // 95: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrdersHistory:output_type -> injective_derivative_exchange_rpc.OrdersHistoryResponse
- 70, // 96: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrdersHistory:output_type -> injective_derivative_exchange_rpc.StreamOrdersHistoryResponse
- 72, // [72:97] is the sub-list for method output_type
- 47, // [47:72] is the sub-list for method input_type
- 47, // [47:47] is the sub-list for extension type_name
- 47, // [47:47] is the sub-list for extension extendee
- 0, // [0:47] is the sub-list for field type_name
+ 19, // 11: injective_derivative_exchange_rpc.OrderbookV2Response.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
+ 20, // 12: injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2.buys:type_name -> injective_derivative_exchange_rpc.PriceLevel
+ 20, // 13: injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2.sells:type_name -> injective_derivative_exchange_rpc.PriceLevel
+ 23, // 14: injective_derivative_exchange_rpc.OrderbooksV2Response.orderbooks:type_name -> injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2
+ 19, // 15: injective_derivative_exchange_rpc.SingleDerivativeLimitOrderbookV2.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
+ 19, // 16: injective_derivative_exchange_rpc.StreamOrderbookV2Response.orderbook:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrderbookV2
+ 28, // 17: injective_derivative_exchange_rpc.StreamOrderbookUpdateResponse.orderbook_level_updates:type_name -> injective_derivative_exchange_rpc.OrderbookLevelUpdates
+ 29, // 18: injective_derivative_exchange_rpc.OrderbookLevelUpdates.buys:type_name -> injective_derivative_exchange_rpc.PriceLevelUpdate
+ 29, // 19: injective_derivative_exchange_rpc.OrderbookLevelUpdates.sells:type_name -> injective_derivative_exchange_rpc.PriceLevelUpdate
+ 32, // 20: injective_derivative_exchange_rpc.OrdersResponse.orders:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrder
+ 14, // 21: injective_derivative_exchange_rpc.OrdersResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 35, // 22: injective_derivative_exchange_rpc.PositionsResponse.positions:type_name -> injective_derivative_exchange_rpc.DerivativePosition
+ 14, // 23: injective_derivative_exchange_rpc.PositionsResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 38, // 24: injective_derivative_exchange_rpc.PositionsV2Response.positions:type_name -> injective_derivative_exchange_rpc.DerivativePositionV2
+ 14, // 25: injective_derivative_exchange_rpc.PositionsV2Response.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 35, // 26: injective_derivative_exchange_rpc.LiquidablePositionsResponse.positions:type_name -> injective_derivative_exchange_rpc.DerivativePosition
+ 43, // 27: injective_derivative_exchange_rpc.FundingPaymentsResponse.payments:type_name -> injective_derivative_exchange_rpc.FundingPayment
+ 14, // 28: injective_derivative_exchange_rpc.FundingPaymentsResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 46, // 29: injective_derivative_exchange_rpc.FundingRatesResponse.funding_rates:type_name -> injective_derivative_exchange_rpc.FundingRate
+ 14, // 30: injective_derivative_exchange_rpc.FundingRatesResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 35, // 31: injective_derivative_exchange_rpc.StreamPositionsResponse.position:type_name -> injective_derivative_exchange_rpc.DerivativePosition
+ 32, // 32: injective_derivative_exchange_rpc.StreamOrdersResponse.order:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrder
+ 53, // 33: injective_derivative_exchange_rpc.TradesResponse.trades:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
+ 14, // 34: injective_derivative_exchange_rpc.TradesResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 54, // 35: injective_derivative_exchange_rpc.DerivativeTrade.position_delta:type_name -> injective_derivative_exchange_rpc.PositionDelta
+ 53, // 36: injective_derivative_exchange_rpc.TradesV2Response.trades:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
+ 14, // 37: injective_derivative_exchange_rpc.TradesV2Response.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 53, // 38: injective_derivative_exchange_rpc.StreamTradesResponse.trade:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
+ 53, // 39: injective_derivative_exchange_rpc.StreamTradesV2Response.trade:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
+ 32, // 40: injective_derivative_exchange_rpc.SubaccountOrdersListResponse.orders:type_name -> injective_derivative_exchange_rpc.DerivativeLimitOrder
+ 14, // 41: injective_derivative_exchange_rpc.SubaccountOrdersListResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 53, // 42: injective_derivative_exchange_rpc.SubaccountTradesListResponse.trades:type_name -> injective_derivative_exchange_rpc.DerivativeTrade
+ 67, // 43: injective_derivative_exchange_rpc.OrdersHistoryResponse.orders:type_name -> injective_derivative_exchange_rpc.DerivativeOrderHistory
+ 14, // 44: injective_derivative_exchange_rpc.OrdersHistoryResponse.paging:type_name -> injective_derivative_exchange_rpc.Paging
+ 67, // 45: injective_derivative_exchange_rpc.StreamOrdersHistoryResponse.order:type_name -> injective_derivative_exchange_rpc.DerivativeOrderHistory
+ 0, // 46: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Markets:input_type -> injective_derivative_exchange_rpc.MarketsRequest
+ 7, // 47: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Market:input_type -> injective_derivative_exchange_rpc.MarketRequest
+ 9, // 48: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamMarket:input_type -> injective_derivative_exchange_rpc.StreamMarketRequest
+ 11, // 49: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarkets:input_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketsRequest
+ 15, // 50: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarket:input_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketRequest
+ 17, // 51: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbookV2:input_type -> injective_derivative_exchange_rpc.OrderbookV2Request
+ 21, // 52: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbooksV2:input_type -> injective_derivative_exchange_rpc.OrderbooksV2Request
+ 24, // 53: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookV2:input_type -> injective_derivative_exchange_rpc.StreamOrderbookV2Request
+ 26, // 54: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookUpdate:input_type -> injective_derivative_exchange_rpc.StreamOrderbookUpdateRequest
+ 30, // 55: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orders:input_type -> injective_derivative_exchange_rpc.OrdersRequest
+ 33, // 56: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Positions:input_type -> injective_derivative_exchange_rpc.PositionsRequest
+ 36, // 57: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.PositionsV2:input_type -> injective_derivative_exchange_rpc.PositionsV2Request
+ 39, // 58: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.LiquidablePositions:input_type -> injective_derivative_exchange_rpc.LiquidablePositionsRequest
+ 41, // 59: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingPayments:input_type -> injective_derivative_exchange_rpc.FundingPaymentsRequest
+ 44, // 60: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingRates:input_type -> injective_derivative_exchange_rpc.FundingRatesRequest
+ 47, // 61: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamPositions:input_type -> injective_derivative_exchange_rpc.StreamPositionsRequest
+ 49, // 62: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrders:input_type -> injective_derivative_exchange_rpc.StreamOrdersRequest
+ 51, // 63: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Trades:input_type -> injective_derivative_exchange_rpc.TradesRequest
+ 55, // 64: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.TradesV2:input_type -> injective_derivative_exchange_rpc.TradesV2Request
+ 57, // 65: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamTrades:input_type -> injective_derivative_exchange_rpc.StreamTradesRequest
+ 59, // 66: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamTradesV2:input_type -> injective_derivative_exchange_rpc.StreamTradesV2Request
+ 61, // 67: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountOrdersList:input_type -> injective_derivative_exchange_rpc.SubaccountOrdersListRequest
+ 63, // 68: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountTradesList:input_type -> injective_derivative_exchange_rpc.SubaccountTradesListRequest
+ 65, // 69: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrdersHistory:input_type -> injective_derivative_exchange_rpc.OrdersHistoryRequest
+ 68, // 70: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrdersHistory:input_type -> injective_derivative_exchange_rpc.StreamOrdersHistoryRequest
+ 1, // 71: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Markets:output_type -> injective_derivative_exchange_rpc.MarketsResponse
+ 8, // 72: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Market:output_type -> injective_derivative_exchange_rpc.MarketResponse
+ 10, // 73: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamMarket:output_type -> injective_derivative_exchange_rpc.StreamMarketResponse
+ 12, // 74: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarkets:output_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketsResponse
+ 16, // 75: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.BinaryOptionsMarket:output_type -> injective_derivative_exchange_rpc.BinaryOptionsMarketResponse
+ 18, // 76: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbookV2:output_type -> injective_derivative_exchange_rpc.OrderbookV2Response
+ 22, // 77: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrderbooksV2:output_type -> injective_derivative_exchange_rpc.OrderbooksV2Response
+ 25, // 78: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookV2:output_type -> injective_derivative_exchange_rpc.StreamOrderbookV2Response
+ 27, // 79: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrderbookUpdate:output_type -> injective_derivative_exchange_rpc.StreamOrderbookUpdateResponse
+ 31, // 80: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Orders:output_type -> injective_derivative_exchange_rpc.OrdersResponse
+ 34, // 81: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Positions:output_type -> injective_derivative_exchange_rpc.PositionsResponse
+ 37, // 82: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.PositionsV2:output_type -> injective_derivative_exchange_rpc.PositionsV2Response
+ 40, // 83: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.LiquidablePositions:output_type -> injective_derivative_exchange_rpc.LiquidablePositionsResponse
+ 42, // 84: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingPayments:output_type -> injective_derivative_exchange_rpc.FundingPaymentsResponse
+ 45, // 85: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.FundingRates:output_type -> injective_derivative_exchange_rpc.FundingRatesResponse
+ 48, // 86: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamPositions:output_type -> injective_derivative_exchange_rpc.StreamPositionsResponse
+ 50, // 87: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrders:output_type -> injective_derivative_exchange_rpc.StreamOrdersResponse
+ 52, // 88: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.Trades:output_type -> injective_derivative_exchange_rpc.TradesResponse
+ 56, // 89: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.TradesV2:output_type -> injective_derivative_exchange_rpc.TradesV2Response
+ 58, // 90: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamTrades:output_type -> injective_derivative_exchange_rpc.StreamTradesResponse
+ 60, // 91: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamTradesV2:output_type -> injective_derivative_exchange_rpc.StreamTradesV2Response
+ 62, // 92: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountOrdersList:output_type -> injective_derivative_exchange_rpc.SubaccountOrdersListResponse
+ 64, // 93: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.SubaccountTradesList:output_type -> injective_derivative_exchange_rpc.SubaccountTradesListResponse
+ 66, // 94: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.OrdersHistory:output_type -> injective_derivative_exchange_rpc.OrdersHistoryResponse
+ 69, // 95: injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC.StreamOrdersHistory:output_type -> injective_derivative_exchange_rpc.StreamOrdersHistoryResponse
+ 71, // [71:96] is the sub-list for method output_type
+ 46, // [46:71] is the sub-list for method input_type
+ 46, // [46:46] is the sub-list for extension type_name
+ 46, // [46:46] is the sub-list for extension extendee
+ 0, // [0:46] is the sub-list for field type_name
}
func init() { file_injective_derivative_exchange_rpc_proto_init() }
@@ -7246,7 +7896,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookRequest); i {
+ switch v := v.(*OrderbookV2Request); i {
case 0:
return &v.state
case 1:
@@ -7258,7 +7908,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookResponse); i {
+ switch v := v.(*OrderbookV2Response); i {
case 0:
return &v.state
case 1:
@@ -7270,7 +7920,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DerivativeLimitOrderbook); i {
+ switch v := v.(*DerivativeLimitOrderbookV2); i {
case 0:
return &v.state
case 1:
@@ -7294,7 +7944,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookV2Request); i {
+ switch v := v.(*OrderbooksV2Request); i {
case 0:
return &v.state
case 1:
@@ -7306,7 +7956,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookV2Response); i {
+ switch v := v.(*OrderbooksV2Response); i {
case 0:
return &v.state
case 1:
@@ -7318,7 +7968,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DerivativeLimitOrderbookV2); i {
+ switch v := v.(*SingleDerivativeLimitOrderbookV2); i {
case 0:
return &v.state
case 1:
@@ -7330,7 +7980,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksRequest); i {
+ switch v := v.(*StreamOrderbookV2Request); i {
case 0:
return &v.state
case 1:
@@ -7342,7 +7992,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksResponse); i {
+ switch v := v.(*StreamOrderbookV2Response); i {
case 0:
return &v.state
case 1:
@@ -7354,7 +8004,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SingleDerivativeLimitOrderbook); i {
+ switch v := v.(*StreamOrderbookUpdateRequest); i {
case 0:
return &v.state
case 1:
@@ -7366,7 +8016,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksV2Request); i {
+ switch v := v.(*StreamOrderbookUpdateResponse); i {
case 0:
return &v.state
case 1:
@@ -7378,7 +8028,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksV2Response); i {
+ switch v := v.(*OrderbookLevelUpdates); i {
case 0:
return &v.state
case 1:
@@ -7390,7 +8040,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SingleDerivativeLimitOrderbookV2); i {
+ switch v := v.(*PriceLevelUpdate); i {
case 0:
return &v.state
case 1:
@@ -7402,7 +8052,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookRequest); i {
+ switch v := v.(*OrdersRequest); i {
case 0:
return &v.state
case 1:
@@ -7414,7 +8064,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookResponse); i {
+ switch v := v.(*OrdersResponse); i {
case 0:
return &v.state
case 1:
@@ -7426,7 +8076,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookV2Request); i {
+ switch v := v.(*DerivativeLimitOrder); i {
case 0:
return &v.state
case 1:
@@ -7438,7 +8088,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookV2Response); i {
+ switch v := v.(*PositionsRequest); i {
case 0:
return &v.state
case 1:
@@ -7450,7 +8100,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookUpdateRequest); i {
+ switch v := v.(*PositionsResponse); i {
case 0:
return &v.state
case 1:
@@ -7462,7 +8112,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookUpdateResponse); i {
+ switch v := v.(*DerivativePosition); i {
case 0:
return &v.state
case 1:
@@ -7474,7 +8124,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookLevelUpdates); i {
+ switch v := v.(*PositionsV2Request); i {
case 0:
return &v.state
case 1:
@@ -7486,7 +8136,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PriceLevelUpdate); i {
+ switch v := v.(*PositionsV2Response); i {
case 0:
return &v.state
case 1:
@@ -7498,7 +8148,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrdersRequest); i {
+ switch v := v.(*DerivativePositionV2); i {
case 0:
return &v.state
case 1:
@@ -7510,7 +8160,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrdersResponse); i {
+ switch v := v.(*LiquidablePositionsRequest); i {
case 0:
return &v.state
case 1:
@@ -7522,7 +8172,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DerivativeLimitOrder); i {
+ switch v := v.(*LiquidablePositionsResponse); i {
case 0:
return &v.state
case 1:
@@ -7534,7 +8184,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PositionsRequest); i {
+ switch v := v.(*FundingPaymentsRequest); i {
case 0:
return &v.state
case 1:
@@ -7546,7 +8196,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PositionsResponse); i {
+ switch v := v.(*FundingPaymentsResponse); i {
case 0:
return &v.state
case 1:
@@ -7558,7 +8208,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DerivativePosition); i {
+ switch v := v.(*FundingPayment); i {
case 0:
return &v.state
case 1:
@@ -7570,7 +8220,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LiquidablePositionsRequest); i {
+ switch v := v.(*FundingRatesRequest); i {
case 0:
return &v.state
case 1:
@@ -7582,7 +8232,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*LiquidablePositionsResponse); i {
+ switch v := v.(*FundingRatesResponse); i {
case 0:
return &v.state
case 1:
@@ -7594,7 +8244,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FundingPaymentsRequest); i {
+ switch v := v.(*FundingRate); i {
case 0:
return &v.state
case 1:
@@ -7606,7 +8256,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FundingPaymentsResponse); i {
+ switch v := v.(*StreamPositionsRequest); i {
case 0:
return &v.state
case 1:
@@ -7618,7 +8268,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FundingPayment); i {
+ switch v := v.(*StreamPositionsResponse); i {
case 0:
return &v.state
case 1:
@@ -7630,7 +8280,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FundingRatesRequest); i {
+ switch v := v.(*StreamOrdersRequest); i {
case 0:
return &v.state
case 1:
@@ -7642,7 +8292,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FundingRatesResponse); i {
+ switch v := v.(*StreamOrdersResponse); i {
case 0:
return &v.state
case 1:
@@ -7654,7 +8304,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FundingRate); i {
+ switch v := v.(*TradesRequest); i {
case 0:
return &v.state
case 1:
@@ -7666,7 +8316,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamPositionsRequest); i {
+ switch v := v.(*TradesResponse); i {
case 0:
return &v.state
case 1:
@@ -7678,7 +8328,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamPositionsResponse); i {
+ switch v := v.(*DerivativeTrade); i {
case 0:
return &v.state
case 1:
@@ -7690,7 +8340,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrdersRequest); i {
+ switch v := v.(*PositionDelta); i {
case 0:
return &v.state
case 1:
@@ -7702,7 +8352,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrdersResponse); i {
+ switch v := v.(*TradesV2Request); i {
case 0:
return &v.state
case 1:
@@ -7714,7 +8364,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TradesRequest); i {
+ switch v := v.(*TradesV2Response); i {
case 0:
return &v.state
case 1:
@@ -7726,7 +8376,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TradesResponse); i {
+ switch v := v.(*StreamTradesRequest); i {
case 0:
return &v.state
case 1:
@@ -7738,7 +8388,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DerivativeTrade); i {
+ switch v := v.(*StreamTradesResponse); i {
case 0:
return &v.state
case 1:
@@ -7750,7 +8400,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PositionDelta); i {
+ switch v := v.(*StreamTradesV2Request); i {
case 0:
return &v.state
case 1:
@@ -7762,7 +8412,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamTradesRequest); i {
+ switch v := v.(*StreamTradesV2Response); i {
case 0:
return &v.state
case 1:
@@ -7774,18 +8424,6 @@ func file_injective_derivative_exchange_rpc_proto_init() {
}
}
file_injective_derivative_exchange_rpc_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamTradesResponse); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_injective_derivative_exchange_rpc_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubaccountOrdersListRequest); i {
case 0:
return &v.state
@@ -7797,7 +8435,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubaccountOrdersListResponse); i {
case 0:
return &v.state
@@ -7809,7 +8447,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubaccountTradesListRequest); i {
case 0:
return &v.state
@@ -7821,7 +8459,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubaccountTradesListResponse); i {
case 0:
return &v.state
@@ -7833,7 +8471,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrdersHistoryRequest); i {
case 0:
return &v.state
@@ -7845,7 +8483,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*OrdersHistoryResponse); i {
case 0:
return &v.state
@@ -7857,7 +8495,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DerivativeOrderHistory); i {
case 0:
return &v.state
@@ -7869,7 +8507,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StreamOrdersHistoryRequest); i {
case 0:
return &v.state
@@ -7881,7 +8519,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
return nil
}
}
- file_injective_derivative_exchange_rpc_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
+ file_injective_derivative_exchange_rpc_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StreamOrdersHistoryResponse); i {
case 0:
return &v.state
@@ -7900,7 +8538,7 @@ func file_injective_derivative_exchange_rpc_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_injective_derivative_exchange_rpc_proto_rawDesc,
NumEnums: 0,
- NumMessages: 71,
+ NumMessages: 70,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.gw.go b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.gw.go
index 955cdf95..952d119a 100644
--- a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.gw.go
+++ b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.pb.gw.go
@@ -192,40 +192,6 @@ func local_request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(ctx cont
}
-func request_InjectiveDerivativeExchangeRPC_Orderbook_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbookRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := client.Orderbook(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_InjectiveDerivativeExchangeRPC_Orderbook_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveDerivativeExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbookRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := server.Orderbook(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
func request_InjectiveDerivativeExchangeRPC_OrderbookV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq OrderbookV2Request
var metadata runtime.ServerMetadata
@@ -260,40 +226,6 @@ func local_request_InjectiveDerivativeExchangeRPC_OrderbookV2_0(ctx context.Cont
}
-func request_InjectiveDerivativeExchangeRPC_Orderbooks_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbooksRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := client.Orderbooks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_InjectiveDerivativeExchangeRPC_Orderbooks_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveDerivativeExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbooksRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := server.Orderbooks(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
func request_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq OrderbooksV2Request
var metadata runtime.ServerMetadata
@@ -328,31 +260,6 @@ func local_request_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(ctx context.Con
}
-func request_InjectiveDerivativeExchangeRPC_StreamOrderbook_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (InjectiveDerivativeExchangeRPC_StreamOrderbookClient, runtime.ServerMetadata, error) {
- var protoReq StreamOrderbookRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- stream, err := client.StreamOrderbook(ctx, &protoReq)
- if err != nil {
- return nil, metadata, err
- }
- header, err := stream.Header()
- if err != nil {
- return nil, metadata, err
- }
- metadata.HeaderMD = header
- return stream, metadata, nil
-
-}
-
func request_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client, runtime.ServerMetadata, error) {
var protoReq StreamOrderbookV2Request
var metadata runtime.ServerMetadata
@@ -471,6 +378,40 @@ func local_request_InjectiveDerivativeExchangeRPC_Positions_0(ctx context.Contex
}
+func request_InjectiveDerivativeExchangeRPC_PositionsV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq PositionsV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := client.PositionsV2(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_InjectiveDerivativeExchangeRPC_PositionsV2_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveDerivativeExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq PositionsV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := server.PositionsV2(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
func request_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq LiquidablePositionsRequest
var metadata runtime.ServerMetadata
@@ -657,6 +598,40 @@ func local_request_InjectiveDerivativeExchangeRPC_Trades_0(ctx context.Context,
}
+func request_InjectiveDerivativeExchangeRPC_TradesV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq TradesV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := client.TradesV2(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_InjectiveDerivativeExchangeRPC_TradesV2_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveDerivativeExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq TradesV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := server.TradesV2(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
func request_InjectiveDerivativeExchangeRPC_StreamTrades_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (InjectiveDerivativeExchangeRPC_StreamTradesClient, runtime.ServerMetadata, error) {
var protoReq StreamTradesRequest
var metadata runtime.ServerMetadata
@@ -682,6 +657,31 @@ func request_InjectiveDerivativeExchangeRPC_StreamTrades_0(ctx context.Context,
}
+func request_InjectiveDerivativeExchangeRPC_StreamTradesV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (InjectiveDerivativeExchangeRPC_StreamTradesV2Client, runtime.ServerMetadata, error) {
+ var protoReq StreamTradesV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ stream, err := client.StreamTradesV2(ctx, &protoReq)
+ if err != nil {
+ return nil, metadata, err
+ }
+ header, err := stream.Header()
+ if err != nil {
+ return nil, metadata, err
+ }
+ metadata.HeaderMD = header
+ return stream, metadata, nil
+
+}
+
func request_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveDerivativeExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq SubaccountOrdersListRequest
var metadata runtime.ServerMetadata
@@ -821,20 +821,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Markets_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Markets_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Markets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Markets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -844,20 +846,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Market_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Market_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Market_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Market_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -874,20 +878,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -897,179 +903,161 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Orderbook_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_OrderbookV2_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Orderbook_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_OrderbookV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_OrderbookV2_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_OrderbookV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orderbooks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- ctx, cancel := context.WithCancel(req.Context())
- defer cancel()
- var stream runtime.ServerTransportStream
- ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Orderbooks_0(rctx, inboundMarshaler, server, req, pathParams)
- md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
-
- forward_InjectiveDerivativeExchangeRPC_Orderbooks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
+ _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ })
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
+ _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Orders_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Orders_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
- _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- })
-
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
- _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- })
-
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
- _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- })
-
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Positions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Orders_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Positions_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Orders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Positions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Positions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_PositionsV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Positions_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_PositionsV2_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Positions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_PositionsV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1079,20 +1067,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1102,20 +1092,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_FundingPayments_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_FundingPayments_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_FundingPayments_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_FundingPayments_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1125,20 +1117,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_FundingRates_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_FundingRates_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_FundingRates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_FundingRates_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1162,20 +1156,47 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Trades_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_Trades_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectiveDerivativeExchangeRPC_Trades_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_TradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ var stream runtime.ServerTransportStream
+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_TradesV2_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
- forward_InjectiveDerivativeExchangeRPC_Trades_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_TradesV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1186,26 +1207,35 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
return
})
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamTradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
+ _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ })
+
mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1215,20 +1245,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1238,20 +1270,22 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerServer(ctx context.Context, mu
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveDerivativeExchangeRPC_OrdersHistory_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveDerivativeExchangeRPC_OrdersHistory_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_OrdersHistory_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_OrdersHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1307,19 +1341,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Markets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_Markets_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_Markets_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Markets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Markets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1327,19 +1363,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Market"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_Market_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_Market_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Market_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Market_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1347,19 +1385,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamMarket", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamMarket"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamMarket", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamMarket"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamMarket_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamMarket_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamMarket_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamMarket_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -1367,19 +1407,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarkets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarkets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1387,339 +1429,373 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/BinaryOptionsMarket"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_Orderbook_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_OrderbookV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Orderbook_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_OrderbookV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_OrderbookV2_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_OrderbookV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orderbooks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_Orderbooks_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Orderbooks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_OrderbooksV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbook", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbook"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrderbook_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_Orders_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamOrderbook_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Orders_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Positions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_Positions_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Positions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_PositionsV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_PositionsV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_PositionsV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_LiquidablePositions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orders"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_Orders_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Orders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Positions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_FundingPayments_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Positions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_Positions_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_FundingPayments_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Positions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_FundingPayments_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_LiquidablePositions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_FundingRates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_FundingRates_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_LiquidablePositions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_FundingRates_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_FundingPayments_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamPositions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingPayments"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_FundingPayments_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamPositions_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_FundingPayments_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamPositions_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_FundingRates_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/FundingRates"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_FundingRates_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrders_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_FundingRates_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamOrders_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamPositions_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Trades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamPositions_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_Trades_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamPositions_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_Trades_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamOrders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_TradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrders_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_TradesV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamOrders_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_TradesV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_Trades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamTrades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Trades"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_Trades_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamTrades_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_Trades_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamTrades_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamTrades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveDerivativeExchangeRPC_StreamTradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTradesV2", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTradesV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamTrades_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamTradesV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamTrades_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamTradesV2_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -1727,19 +1803,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1747,19 +1825,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountTradesList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1767,19 +1847,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrdersHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_OrdersHistory_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_OrdersHistory_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_OrdersHistory_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_OrdersHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1787,19 +1869,21 @@ func RegisterInjectiveDerivativeExchangeRPCHandlerClient(ctx context.Context, mu
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrdersHistory", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrdersHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrdersHistory", runtime.WithHTTPPathPattern("/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrdersHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrdersHistory_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveDerivativeExchangeRPC_StreamOrdersHistory_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveDerivativeExchangeRPC_StreamOrdersHistory_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveDerivativeExchangeRPC_StreamOrdersHistory_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -1817,16 +1901,10 @@ var (
pattern_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "BinaryOptionsMarket"}, ""))
- pattern_InjectiveDerivativeExchangeRPC_Orderbook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "Orderbook"}, ""))
-
pattern_InjectiveDerivativeExchangeRPC_OrderbookV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "OrderbookV2"}, ""))
- pattern_InjectiveDerivativeExchangeRPC_Orderbooks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "Orderbooks"}, ""))
-
pattern_InjectiveDerivativeExchangeRPC_OrderbooksV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "OrderbooksV2"}, ""))
- pattern_InjectiveDerivativeExchangeRPC_StreamOrderbook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "StreamOrderbook"}, ""))
-
pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "StreamOrderbookV2"}, ""))
pattern_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "StreamOrderbookUpdate"}, ""))
@@ -1835,6 +1913,8 @@ var (
pattern_InjectiveDerivativeExchangeRPC_Positions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "Positions"}, ""))
+ pattern_InjectiveDerivativeExchangeRPC_PositionsV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "PositionsV2"}, ""))
+
pattern_InjectiveDerivativeExchangeRPC_LiquidablePositions_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "LiquidablePositions"}, ""))
pattern_InjectiveDerivativeExchangeRPC_FundingPayments_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "FundingPayments"}, ""))
@@ -1847,8 +1927,12 @@ var (
pattern_InjectiveDerivativeExchangeRPC_Trades_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "Trades"}, ""))
+ pattern_InjectiveDerivativeExchangeRPC_TradesV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "TradesV2"}, ""))
+
pattern_InjectiveDerivativeExchangeRPC_StreamTrades_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "StreamTrades"}, ""))
+ pattern_InjectiveDerivativeExchangeRPC_StreamTradesV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "StreamTradesV2"}, ""))
+
pattern_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "SubaccountOrdersList"}, ""))
pattern_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC", "SubaccountTradesList"}, ""))
@@ -1869,16 +1953,10 @@ var (
forward_InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_0 = runtime.ForwardResponseMessage
- forward_InjectiveDerivativeExchangeRPC_Orderbook_0 = runtime.ForwardResponseMessage
-
forward_InjectiveDerivativeExchangeRPC_OrderbookV2_0 = runtime.ForwardResponseMessage
- forward_InjectiveDerivativeExchangeRPC_Orderbooks_0 = runtime.ForwardResponseMessage
-
forward_InjectiveDerivativeExchangeRPC_OrderbooksV2_0 = runtime.ForwardResponseMessage
- forward_InjectiveDerivativeExchangeRPC_StreamOrderbook_0 = runtime.ForwardResponseStream
-
forward_InjectiveDerivativeExchangeRPC_StreamOrderbookV2_0 = runtime.ForwardResponseStream
forward_InjectiveDerivativeExchangeRPC_StreamOrderbookUpdate_0 = runtime.ForwardResponseStream
@@ -1887,6 +1965,8 @@ var (
forward_InjectiveDerivativeExchangeRPC_Positions_0 = runtime.ForwardResponseMessage
+ forward_InjectiveDerivativeExchangeRPC_PositionsV2_0 = runtime.ForwardResponseMessage
+
forward_InjectiveDerivativeExchangeRPC_LiquidablePositions_0 = runtime.ForwardResponseMessage
forward_InjectiveDerivativeExchangeRPC_FundingPayments_0 = runtime.ForwardResponseMessage
@@ -1899,8 +1979,12 @@ var (
forward_InjectiveDerivativeExchangeRPC_Trades_0 = runtime.ForwardResponseMessage
+ forward_InjectiveDerivativeExchangeRPC_TradesV2_0 = runtime.ForwardResponseMessage
+
forward_InjectiveDerivativeExchangeRPC_StreamTrades_0 = runtime.ForwardResponseStream
+ forward_InjectiveDerivativeExchangeRPC_StreamTradesV2_0 = runtime.ForwardResponseStream
+
forward_InjectiveDerivativeExchangeRPC_SubaccountOrdersList_0 = runtime.ForwardResponseMessage
forward_InjectiveDerivativeExchangeRPC_SubaccountTradesList_0 = runtime.ForwardResponseMessage
diff --git a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.proto b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.proto
index 11cad6ca..6ebed93d 100644
--- a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.proto
+++ b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc.proto
@@ -25,16 +25,10 @@ service InjectiveDerivativeExchangeRPC {
// BinaryOptionMarket gets details of a single binary options market
rpc BinaryOptionsMarket (BinaryOptionsMarketRequest) returns (BinaryOptionsMarketResponse);
// Orderbook gets the Orderbook of a Derivative Market
- rpc Orderbook (OrderbookRequest) returns (OrderbookResponse);
- // Orderbook gets the Orderbook of a Derivative Market
rpc OrderbookV2 (OrderbookV2Request) returns (OrderbookV2Response);
// Orderbooks gets the Orderbooks of requested derivative markets
- rpc Orderbooks (OrderbooksRequest) returns (OrderbooksResponse);
- // Orderbooks gets the Orderbooks of requested derivative markets
rpc OrderbooksV2 (OrderbooksV2Request) returns (OrderbooksV2Response);
// Stream live snapshot updates of selected derivative market orderbook
- rpc StreamOrderbook (StreamOrderbookRequest) returns (stream StreamOrderbookResponse);
- // Stream live snapshot updates of selected derivative market orderbook
rpc StreamOrderbookV2 (StreamOrderbookV2Request) returns (stream StreamOrderbookV2Response);
// Stream live level updates of selected derivative market orderbook
rpc StreamOrderbookUpdate (StreamOrderbookUpdateRequest) returns (stream StreamOrderbookUpdateResponse);
@@ -42,6 +36,9 @@ service InjectiveDerivativeExchangeRPC {
rpc Orders (OrdersRequest) returns (OrdersResponse);
// Positions gets the positions for a trader.
rpc Positions (PositionsRequest) returns (PositionsResponse);
+ // Positions gets the positions for a trader. V2 removed some redundant fields
+// and had performance improvements
+ rpc PositionsV2 (PositionsV2Request) returns (PositionsV2Response);
// LiquidablePositions gets all the liquidable positions.
rpc LiquidablePositions (LiquidablePositionsRequest) returns (LiquidablePositionsResponse);
// FundingPayments gets the funding payments for a trader.
@@ -54,8 +51,12 @@ service InjectiveDerivativeExchangeRPC {
rpc StreamOrders (StreamOrdersRequest) returns (stream StreamOrdersResponse);
// Trades gets the trades of a Derivative Market.
rpc Trades (TradesRequest) returns (TradesResponse);
+ // Trades gets the trades of a Derivative Market.
+ rpc TradesV2 (TradesV2Request) returns (TradesV2Response);
// StreamTrades streams newly executed trades from Derivative Market.
rpc StreamTrades (StreamTradesRequest) returns (stream StreamTradesResponse);
+ // StreamTrades streams newly executed trades from Derivative Market.
+ rpc StreamTradesV2 (StreamTradesV2Request) returns (stream StreamTradesV2Response);
// SubaccountOrdersList lists orders posted from this subaccount.
rpc SubaccountOrdersList (SubaccountOrdersListRequest) returns (SubaccountOrdersListResponse);
// SubaccountTradesList gets a list of derivatives trades executed by this
@@ -72,6 +73,7 @@ message MarketsRequest {
string market_status = 1;
// Filter by the Coin denomination of the quote currency
string quote_denom = 2;
+ repeated string market_statuses = 3;
}
message MarketsResponse {
@@ -259,6 +261,8 @@ message Paging {
sint32 to = 3;
// count entries by subaccount, serving some places on helix
sint64 count_by_subaccount = 4;
+ // array of tokens to navigate to the next pages
+ repeated string next = 5;
}
message BinaryOptionsMarketRequest {
@@ -271,21 +275,23 @@ message BinaryOptionsMarketResponse {
BinaryOptionsMarketInfo market = 1;
}
-message OrderbookRequest {
+message OrderbookV2Request {
// MarketId of the market's orderbook we want to fetch
string market_id = 1;
}
-message OrderbookResponse {
+message OrderbookV2Response {
// Orderbook of a particular derivative market
- DerivativeLimitOrderbook orderbook = 1;
+ DerivativeLimitOrderbookV2 orderbook = 1;
}
-message DerivativeLimitOrderbook {
+message DerivativeLimitOrderbookV2 {
// Array of price levels for buys
repeated PriceLevel buys = 1;
// Array of price levels for sells
repeated PriceLevel sells = 2;
+ // market orderbook sequence
+ uint64 sequence = 3;
// Last update timestamp in UNIX millis.
sint64 timestamp = 4;
}
@@ -299,43 +305,6 @@ message PriceLevel {
sint64 timestamp = 3;
}
-message OrderbookV2Request {
- // MarketId of the market's orderbook we want to fetch
- string market_id = 1;
-}
-
-message OrderbookV2Response {
- // Orderbook of a particular derivative market
- DerivativeLimitOrderbookV2 orderbook = 1;
-}
-
-message DerivativeLimitOrderbookV2 {
- // Array of price levels for buys
- repeated PriceLevel buys = 1;
- // Array of price levels for sells
- repeated PriceLevel sells = 2;
- // market orderbook sequence
- uint64 sequence = 3;
- // Last update timestamp in UNIX millis.
- sint64 timestamp = 4;
-}
-
-message OrderbooksRequest {
- // MarketIds of the markets
- repeated string market_ids = 1;
-}
-
-message OrderbooksResponse {
- repeated SingleDerivativeLimitOrderbook orderbooks = 1;
-}
-
-message SingleDerivativeLimitOrderbook {
- // market's ID
- string market_id = 1;
- // Orderbook of the market
- DerivativeLimitOrderbook orderbook = 2;
-}
-
message OrderbooksV2Request {
// MarketIds of the markets
repeated string market_ids = 1;
@@ -352,23 +321,6 @@ message SingleDerivativeLimitOrderbookV2 {
DerivativeLimitOrderbookV2 orderbook = 2;
}
-message StreamOrderbookRequest {
- // List of market IDs for orderbook streaming, empty means 'ALL' derivative
-// markets
- repeated string market_ids = 1;
-}
-
-message StreamOrderbookResponse {
- // Orderbook of a Derivative Market
- DerivativeLimitOrderbook orderbook = 1;
- // Order update type
- string operation_type = 2;
- // Operation timestamp in UNIX millis.
- sint64 timestamp = 3;
- // MarketId of the market's orderbook
- string market_id = 4;
-}
-
message StreamOrderbookV2Request {
// List of market IDs for orderbook streaming, empty means 'ALL' derivative
// markets
@@ -456,6 +408,10 @@ message OrdersRequest {
bool include_inactive = 11;
// Choose to return subaccount total orders
bool subaccount_total_orders = 12;
+ // TradeId of the order we want to fetch
+ string trade_id = 13;
+ // Client order ID
+ string cid = 14;
}
message OrdersResponse {
@@ -504,6 +460,10 @@ message DerivativeLimitOrder {
string placed_order_hash = 19;
// Execution type of conditional order
string execution_type = 20;
+ // Transaction Hash where order is created. Not all orders have this field
+ string tx_hash = 21;
+ // Custom client order ID
+ string cid = 22;
}
message PositionsRequest {
@@ -529,6 +489,8 @@ message PositionsRequest {
string direction = 8;
// set to True to return subaccount total positions
bool subaccount_total_positions = 9;
+ // filter by account address
+ string account_address = 10;
}
message PositionsResponse {
@@ -563,6 +525,63 @@ message DerivativePosition {
sint64 created_at = 13;
}
+message PositionsV2Request {
+ // SubaccountId of the trader we want to get the positions from
+ string subaccount_id = 1;
+ // MarketId of the position we want to fetch. Use this field for fetching from
+// single market
+ string market_id = 2;
+ // Skip will skip the first n item from the result
+ uint64 skip = 3;
+ // Limit is used to specify the maximum number of items to be returned
+ sint32 limit = 4;
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+// older than
+ sint64 start_time = 5;
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+// younger than
+ sint64 end_time = 6;
+ // MarketIds of the markets we want to filter. Use this field for fetching from
+// multiple markets
+ repeated string market_ids = 7;
+ // filter by direction of the position
+ string direction = 8;
+ // set to True to return subaccount total positions
+ bool subaccount_total_positions = 9;
+ // filter by account address
+ string account_address = 10;
+}
+
+message PositionsV2Response {
+ repeated DerivativePositionV2 positions = 1;
+ Paging paging = 2;
+}
+
+message DerivativePositionV2 {
+ // Ticker of the derivative market
+ string ticker = 1;
+ // Derivative Market ID
+ string market_id = 2;
+ // The subaccountId that the position belongs to
+ string subaccount_id = 3;
+ // Direction of the position
+ string direction = 4;
+ // Quantity of the position
+ string quantity = 5;
+ // Price of the position
+ string entry_price = 6;
+ // Margin of the position
+ string margin = 7;
+ // LiquidationPrice of the position
+ string liquidation_price = 8;
+ // MarkPrice of the position
+ string mark_price = 9;
+ // Position updated timestamp in UNIX millis.
+ sint64 updated_at = 11;
+ // Market quote denom
+ string denom = 12;
+}
+
message LiquidablePositionsRequest {
// Market ID to filter orders for specific market
string market_id = 1;
@@ -646,6 +665,8 @@ message StreamPositionsRequest {
repeated string market_ids = 3;
// Subaccount ids of traders we want to get positions
repeated string subaccount_ids = 4;
+ // filter by account address
+ string account_address = 5;
}
message StreamPositionsResponse {
@@ -684,6 +705,10 @@ message StreamOrdersRequest {
bool include_inactive = 11;
// Choose to return subaccount total orders
bool subaccount_total_orders = 12;
+ // TradeId of the order we want to fetch
+ string trade_id = 13;
+ // Client order ID
+ string cid = 14;
}
message StreamOrdersResponse {
@@ -720,6 +745,12 @@ message TradesRequest {
// trades from multiple subaccounts
repeated string subaccount_ids = 10;
repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
}
message TradesResponse {
@@ -753,6 +784,8 @@ message DerivativeTrade {
string trade_id = 11;
// Trade's execution side, marker/taker
string execution_side = 12;
+ // Custom client order ID
+ string cid = 13;
}
message PositionDelta {
@@ -766,6 +799,45 @@ message PositionDelta {
string execution_margin = 4;
}
+message TradesV2Request {
+ // MarketId of the market's orderbook we want to fetch
+ string market_id = 1;
+ // Filter by execution side of the trade
+ string execution_side = 2;
+ // Filter by direction the trade
+ string direction = 3;
+ // SubaccountId of the trader we want to get the trades from
+ string subaccount_id = 4;
+ // Skip will skip the first n item from the result
+ uint64 skip = 5;
+ // Limit is used to specify the maximum number of items to be returned.
+ sint32 limit = 6;
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+// older than
+ sint64 start_time = 7;
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+// younger than
+ sint64 end_time = 8;
+ // MarketIds of the markets of which we want to get trades
+ repeated string market_ids = 9;
+ // Subaccount ids of traders we want to get trades. Use this field for fetching
+// trades from multiple subaccounts
+ repeated string subaccount_ids = 10;
+ repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
+}
+
+message TradesV2Response {
+ // Trades of a Derivative Market
+ repeated DerivativeTrade trades = 1;
+ Paging paging = 2;
+}
+
message StreamTradesRequest {
// MarketId of the market's orderbook we want to fetch
string market_id = 1;
@@ -791,6 +863,12 @@ message StreamTradesRequest {
// trades from multiple subaccounts
repeated string subaccount_ids = 10;
repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
}
message StreamTradesResponse {
@@ -802,6 +880,48 @@ message StreamTradesResponse {
sint64 timestamp = 3;
}
+message StreamTradesV2Request {
+ // MarketId of the market's orderbook we want to fetch
+ string market_id = 1;
+ // Filter by execution side of the trade
+ string execution_side = 2;
+ // Filter by direction the trade
+ string direction = 3;
+ // SubaccountId of the trader we want to get the trades from
+ string subaccount_id = 4;
+ // Skip will skip the first n item from the result
+ uint64 skip = 5;
+ // Limit is used to specify the maximum number of items to be returned.
+ sint32 limit = 6;
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+// older than
+ sint64 start_time = 7;
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+// younger than
+ sint64 end_time = 8;
+ // MarketIds of the markets of which we want to get trades
+ repeated string market_ids = 9;
+ // Subaccount ids of traders we want to get trades. Use this field for fetching
+// trades from multiple subaccounts
+ repeated string subaccount_ids = 10;
+ repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
+}
+
+message StreamTradesV2Response {
+ // New derivative market trade
+ DerivativeTrade trade = 1;
+ // Executed trades update type
+ string operation_type = 2;
+ // Operation timestamp in UNIX millis.
+ sint64 timestamp = 3;
+}
+
message SubaccountOrdersListRequest {
// subaccount ID to filter orders for specific subaccount
string subaccount_id = 1;
@@ -864,6 +984,12 @@ message OrdersHistoryRequest {
string state = 11;
repeated string execution_types = 12;
repeated string market_ids = 13;
+ // TradeId of the order we want to fetch
+ string trade_id = 14;
+ // Return only orders for active markets
+ bool active_markets_only = 15;
+ // Client order ID
+ string cid = 16;
}
message OrdersHistoryResponse {
@@ -911,6 +1037,10 @@ message DerivativeOrderHistory {
string placed_order_hash = 18;
// Order's margin
string margin = 19;
+ // Transaction Hash where order is created. Not all orders have this field
+ string tx_hash = 20;
+ // Custom client order ID
+ string cid = 21;
}
message StreamOrdersHistoryRequest {
diff --git a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc_grpc.pb.go b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc_grpc.pb.go
index bbfb7a7a..e8fe09b2 100644
--- a/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc_grpc.pb.go
+++ b/exchange/derivative_exchange_rpc/pb/injective_derivative_exchange_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_derivative_exchange_rpc.proto
package injective_derivative_exchange_rpcpb
@@ -29,16 +33,10 @@ type InjectiveDerivativeExchangeRPCClient interface {
// BinaryOptionMarket gets details of a single binary options market
BinaryOptionsMarket(ctx context.Context, in *BinaryOptionsMarketRequest, opts ...grpc.CallOption) (*BinaryOptionsMarketResponse, error)
// Orderbook gets the Orderbook of a Derivative Market
- Orderbook(ctx context.Context, in *OrderbookRequest, opts ...grpc.CallOption) (*OrderbookResponse, error)
- // Orderbook gets the Orderbook of a Derivative Market
OrderbookV2(ctx context.Context, in *OrderbookV2Request, opts ...grpc.CallOption) (*OrderbookV2Response, error)
// Orderbooks gets the Orderbooks of requested derivative markets
- Orderbooks(ctx context.Context, in *OrderbooksRequest, opts ...grpc.CallOption) (*OrderbooksResponse, error)
- // Orderbooks gets the Orderbooks of requested derivative markets
OrderbooksV2(ctx context.Context, in *OrderbooksV2Request, opts ...grpc.CallOption) (*OrderbooksV2Response, error)
// Stream live snapshot updates of selected derivative market orderbook
- StreamOrderbook(ctx context.Context, in *StreamOrderbookRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookClient, error)
- // Stream live snapshot updates of selected derivative market orderbook
StreamOrderbookV2(ctx context.Context, in *StreamOrderbookV2Request, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client, error)
// Stream live level updates of selected derivative market orderbook
StreamOrderbookUpdate(ctx context.Context, in *StreamOrderbookUpdateRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient, error)
@@ -46,6 +44,9 @@ type InjectiveDerivativeExchangeRPCClient interface {
Orders(ctx context.Context, in *OrdersRequest, opts ...grpc.CallOption) (*OrdersResponse, error)
// Positions gets the positions for a trader.
Positions(ctx context.Context, in *PositionsRequest, opts ...grpc.CallOption) (*PositionsResponse, error)
+ // Positions gets the positions for a trader. V2 removed some redundant fields
+ // and had performance improvements
+ PositionsV2(ctx context.Context, in *PositionsV2Request, opts ...grpc.CallOption) (*PositionsV2Response, error)
// LiquidablePositions gets all the liquidable positions.
LiquidablePositions(ctx context.Context, in *LiquidablePositionsRequest, opts ...grpc.CallOption) (*LiquidablePositionsResponse, error)
// FundingPayments gets the funding payments for a trader.
@@ -58,8 +59,12 @@ type InjectiveDerivativeExchangeRPCClient interface {
StreamOrders(ctx context.Context, in *StreamOrdersRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrdersClient, error)
// Trades gets the trades of a Derivative Market.
Trades(ctx context.Context, in *TradesRequest, opts ...grpc.CallOption) (*TradesResponse, error)
+ // Trades gets the trades of a Derivative Market.
+ TradesV2(ctx context.Context, in *TradesV2Request, opts ...grpc.CallOption) (*TradesV2Response, error)
// StreamTrades streams newly executed trades from Derivative Market.
StreamTrades(ctx context.Context, in *StreamTradesRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamTradesClient, error)
+ // StreamTrades streams newly executed trades from Derivative Market.
+ StreamTradesV2(ctx context.Context, in *StreamTradesV2Request, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamTradesV2Client, error)
// SubaccountOrdersList lists orders posted from this subaccount.
SubaccountOrdersList(ctx context.Context, in *SubaccountOrdersListRequest, opts ...grpc.CallOption) (*SubaccountOrdersListResponse, error)
// SubaccountTradesList gets a list of derivatives trades executed by this
@@ -147,15 +152,6 @@ func (c *injectiveDerivativeExchangeRPCClient) BinaryOptionsMarket(ctx context.C
return out, nil
}
-func (c *injectiveDerivativeExchangeRPCClient) Orderbook(ctx context.Context, in *OrderbookRequest, opts ...grpc.CallOption) (*OrderbookResponse, error) {
- out := new(OrderbookResponse)
- err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *injectiveDerivativeExchangeRPCClient) OrderbookV2(ctx context.Context, in *OrderbookV2Request, opts ...grpc.CallOption) (*OrderbookV2Response, error) {
out := new(OrderbookV2Response)
err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbookV2", in, out, opts...)
@@ -165,15 +161,6 @@ func (c *injectiveDerivativeExchangeRPCClient) OrderbookV2(ctx context.Context,
return out, nil
}
-func (c *injectiveDerivativeExchangeRPCClient) Orderbooks(ctx context.Context, in *OrderbooksRequest, opts ...grpc.CallOption) (*OrderbooksResponse, error) {
- out := new(OrderbooksResponse)
- err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *injectiveDerivativeExchangeRPCClient) OrderbooksV2(ctx context.Context, in *OrderbooksV2Request, opts ...grpc.CallOption) (*OrderbooksV2Response, error) {
out := new(OrderbooksV2Response)
err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/OrderbooksV2", in, out, opts...)
@@ -183,40 +170,8 @@ func (c *injectiveDerivativeExchangeRPCClient) OrderbooksV2(ctx context.Context,
return out, nil
}
-func (c *injectiveDerivativeExchangeRPCClient) StreamOrderbook(ctx context.Context, in *StreamOrderbookRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[1], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbook", opts...)
- if err != nil {
- return nil, err
- }
- x := &injectiveDerivativeExchangeRPCStreamOrderbookClient{stream}
- if err := x.ClientStream.SendMsg(in); err != nil {
- return nil, err
- }
- if err := x.ClientStream.CloseSend(); err != nil {
- return nil, err
- }
- return x, nil
-}
-
-type InjectiveDerivativeExchangeRPC_StreamOrderbookClient interface {
- Recv() (*StreamOrderbookResponse, error)
- grpc.ClientStream
-}
-
-type injectiveDerivativeExchangeRPCStreamOrderbookClient struct {
- grpc.ClientStream
-}
-
-func (x *injectiveDerivativeExchangeRPCStreamOrderbookClient) Recv() (*StreamOrderbookResponse, error) {
- m := new(StreamOrderbookResponse)
- if err := x.ClientStream.RecvMsg(m); err != nil {
- return nil, err
- }
- return m, nil
-}
-
func (c *injectiveDerivativeExchangeRPCClient) StreamOrderbookV2(ctx context.Context, in *StreamOrderbookV2Request, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookV2Client, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[2], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[1], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookV2", opts...)
if err != nil {
return nil, err
}
@@ -248,7 +203,7 @@ func (x *injectiveDerivativeExchangeRPCStreamOrderbookV2Client) Recv() (*StreamO
}
func (c *injectiveDerivativeExchangeRPCClient) StreamOrderbookUpdate(ctx context.Context, in *StreamOrderbookUpdateRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[3], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[2], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrderbookUpdate", opts...)
if err != nil {
return nil, err
}
@@ -297,6 +252,15 @@ func (c *injectiveDerivativeExchangeRPCClient) Positions(ctx context.Context, in
return out, nil
}
+func (c *injectiveDerivativeExchangeRPCClient) PositionsV2(ctx context.Context, in *PositionsV2Request, opts ...grpc.CallOption) (*PositionsV2Response, error) {
+ out := new(PositionsV2Response)
+ err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *injectiveDerivativeExchangeRPCClient) LiquidablePositions(ctx context.Context, in *LiquidablePositionsRequest, opts ...grpc.CallOption) (*LiquidablePositionsResponse, error) {
out := new(LiquidablePositionsResponse)
err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/LiquidablePositions", in, out, opts...)
@@ -325,7 +289,7 @@ func (c *injectiveDerivativeExchangeRPCClient) FundingRates(ctx context.Context,
}
func (c *injectiveDerivativeExchangeRPCClient) StreamPositions(ctx context.Context, in *StreamPositionsRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamPositionsClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[4], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[3], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamPositions", opts...)
if err != nil {
return nil, err
}
@@ -357,7 +321,7 @@ func (x *injectiveDerivativeExchangeRPCStreamPositionsClient) Recv() (*StreamPos
}
func (c *injectiveDerivativeExchangeRPCClient) StreamOrders(ctx context.Context, in *StreamOrdersRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamOrdersClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[5], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[4], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamOrders", opts...)
if err != nil {
return nil, err
}
@@ -397,8 +361,17 @@ func (c *injectiveDerivativeExchangeRPCClient) Trades(ctx context.Context, in *T
return out, nil
}
+func (c *injectiveDerivativeExchangeRPCClient) TradesV2(ctx context.Context, in *TradesV2Request, opts ...grpc.CallOption) (*TradesV2Response, error) {
+ out := new(TradesV2Response)
+ err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *injectiveDerivativeExchangeRPCClient) StreamTrades(ctx context.Context, in *StreamTradesRequest, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamTradesClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[6], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[5], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTrades", opts...)
if err != nil {
return nil, err
}
@@ -429,6 +402,38 @@ func (x *injectiveDerivativeExchangeRPCStreamTradesClient) Recv() (*StreamTrades
return m, nil
}
+func (c *injectiveDerivativeExchangeRPCClient) StreamTradesV2(ctx context.Context, in *StreamTradesV2Request, opts ...grpc.CallOption) (InjectiveDerivativeExchangeRPC_StreamTradesV2Client, error) {
+ stream, err := c.cc.NewStream(ctx, &InjectiveDerivativeExchangeRPC_ServiceDesc.Streams[6], "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/StreamTradesV2", opts...)
+ if err != nil {
+ return nil, err
+ }
+ x := &injectiveDerivativeExchangeRPCStreamTradesV2Client{stream}
+ if err := x.ClientStream.SendMsg(in); err != nil {
+ return nil, err
+ }
+ if err := x.ClientStream.CloseSend(); err != nil {
+ return nil, err
+ }
+ return x, nil
+}
+
+type InjectiveDerivativeExchangeRPC_StreamTradesV2Client interface {
+ Recv() (*StreamTradesV2Response, error)
+ grpc.ClientStream
+}
+
+type injectiveDerivativeExchangeRPCStreamTradesV2Client struct {
+ grpc.ClientStream
+}
+
+func (x *injectiveDerivativeExchangeRPCStreamTradesV2Client) Recv() (*StreamTradesV2Response, error) {
+ m := new(StreamTradesV2Response)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
func (c *injectiveDerivativeExchangeRPCClient) SubaccountOrdersList(ctx context.Context, in *SubaccountOrdersListRequest, opts ...grpc.CallOption) (*SubaccountOrdersListResponse, error) {
out := new(SubaccountOrdersListResponse)
err := c.cc.Invoke(ctx, "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/SubaccountOrdersList", in, out, opts...)
@@ -503,16 +508,10 @@ type InjectiveDerivativeExchangeRPCServer interface {
// BinaryOptionMarket gets details of a single binary options market
BinaryOptionsMarket(context.Context, *BinaryOptionsMarketRequest) (*BinaryOptionsMarketResponse, error)
// Orderbook gets the Orderbook of a Derivative Market
- Orderbook(context.Context, *OrderbookRequest) (*OrderbookResponse, error)
- // Orderbook gets the Orderbook of a Derivative Market
OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error)
// Orderbooks gets the Orderbooks of requested derivative markets
- Orderbooks(context.Context, *OrderbooksRequest) (*OrderbooksResponse, error)
- // Orderbooks gets the Orderbooks of requested derivative markets
OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error)
// Stream live snapshot updates of selected derivative market orderbook
- StreamOrderbook(*StreamOrderbookRequest, InjectiveDerivativeExchangeRPC_StreamOrderbookServer) error
- // Stream live snapshot updates of selected derivative market orderbook
StreamOrderbookV2(*StreamOrderbookV2Request, InjectiveDerivativeExchangeRPC_StreamOrderbookV2Server) error
// Stream live level updates of selected derivative market orderbook
StreamOrderbookUpdate(*StreamOrderbookUpdateRequest, InjectiveDerivativeExchangeRPC_StreamOrderbookUpdateServer) error
@@ -520,6 +519,9 @@ type InjectiveDerivativeExchangeRPCServer interface {
Orders(context.Context, *OrdersRequest) (*OrdersResponse, error)
// Positions gets the positions for a trader.
Positions(context.Context, *PositionsRequest) (*PositionsResponse, error)
+ // Positions gets the positions for a trader. V2 removed some redundant fields
+ // and had performance improvements
+ PositionsV2(context.Context, *PositionsV2Request) (*PositionsV2Response, error)
// LiquidablePositions gets all the liquidable positions.
LiquidablePositions(context.Context, *LiquidablePositionsRequest) (*LiquidablePositionsResponse, error)
// FundingPayments gets the funding payments for a trader.
@@ -532,8 +534,12 @@ type InjectiveDerivativeExchangeRPCServer interface {
StreamOrders(*StreamOrdersRequest, InjectiveDerivativeExchangeRPC_StreamOrdersServer) error
// Trades gets the trades of a Derivative Market.
Trades(context.Context, *TradesRequest) (*TradesResponse, error)
+ // Trades gets the trades of a Derivative Market.
+ TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error)
// StreamTrades streams newly executed trades from Derivative Market.
StreamTrades(*StreamTradesRequest, InjectiveDerivativeExchangeRPC_StreamTradesServer) error
+ // StreamTrades streams newly executed trades from Derivative Market.
+ StreamTradesV2(*StreamTradesV2Request, InjectiveDerivativeExchangeRPC_StreamTradesV2Server) error
// SubaccountOrdersList lists orders posted from this subaccount.
SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error)
// SubaccountTradesList gets a list of derivatives trades executed by this
@@ -565,21 +571,12 @@ func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarkets(co
func (UnimplementedInjectiveDerivativeExchangeRPCServer) BinaryOptionsMarket(context.Context, *BinaryOptionsMarketRequest) (*BinaryOptionsMarketResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BinaryOptionsMarket not implemented")
}
-func (UnimplementedInjectiveDerivativeExchangeRPCServer) Orderbook(context.Context, *OrderbookRequest) (*OrderbookResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Orderbook not implemented")
-}
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method OrderbookV2 not implemented")
}
-func (UnimplementedInjectiveDerivativeExchangeRPCServer) Orderbooks(context.Context, *OrderbooksRequest) (*OrderbooksResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Orderbooks not implemented")
-}
func (UnimplementedInjectiveDerivativeExchangeRPCServer) OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method OrderbooksV2 not implemented")
}
-func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrderbook(*StreamOrderbookRequest, InjectiveDerivativeExchangeRPC_StreamOrderbookServer) error {
- return status.Errorf(codes.Unimplemented, "method StreamOrderbook not implemented")
-}
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrderbookV2(*StreamOrderbookV2Request, InjectiveDerivativeExchangeRPC_StreamOrderbookV2Server) error {
return status.Errorf(codes.Unimplemented, "method StreamOrderbookV2 not implemented")
}
@@ -592,6 +589,9 @@ func (UnimplementedInjectiveDerivativeExchangeRPCServer) Orders(context.Context,
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Positions(context.Context, *PositionsRequest) (*PositionsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Positions not implemented")
}
+func (UnimplementedInjectiveDerivativeExchangeRPCServer) PositionsV2(context.Context, *PositionsV2Request) (*PositionsV2Response, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method PositionsV2 not implemented")
+}
func (UnimplementedInjectiveDerivativeExchangeRPCServer) LiquidablePositions(context.Context, *LiquidablePositionsRequest) (*LiquidablePositionsResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method LiquidablePositions not implemented")
}
@@ -610,9 +610,15 @@ func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamOrders(*StreamOrd
func (UnimplementedInjectiveDerivativeExchangeRPCServer) Trades(context.Context, *TradesRequest) (*TradesResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Trades not implemented")
}
+func (UnimplementedInjectiveDerivativeExchangeRPCServer) TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method TradesV2 not implemented")
+}
func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamTrades(*StreamTradesRequest, InjectiveDerivativeExchangeRPC_StreamTradesServer) error {
return status.Errorf(codes.Unimplemented, "method StreamTrades not implemented")
}
+func (UnimplementedInjectiveDerivativeExchangeRPCServer) StreamTradesV2(*StreamTradesV2Request, InjectiveDerivativeExchangeRPC_StreamTradesV2Server) error {
+ return status.Errorf(codes.Unimplemented, "method StreamTradesV2 not implemented")
+}
func (UnimplementedInjectiveDerivativeExchangeRPCServer) SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SubaccountOrdersList not implemented")
}
@@ -732,24 +738,6 @@ func _InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_Handler(srv interface{}
return interceptor(ctx, in, info, handler)
}
-func _InjectiveDerivativeExchangeRPC_Orderbook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OrderbookRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(InjectiveDerivativeExchangeRPCServer).Orderbook(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbook",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(InjectiveDerivativeExchangeRPCServer).Orderbook(ctx, req.(*OrderbookRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
func _InjectiveDerivativeExchangeRPC_OrderbookV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(OrderbookV2Request)
if err := dec(in); err != nil {
@@ -768,24 +756,6 @@ func _InjectiveDerivativeExchangeRPC_OrderbookV2_Handler(srv interface{}, ctx co
return interceptor(ctx, in, info, handler)
}
-func _InjectiveDerivativeExchangeRPC_Orderbooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OrderbooksRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(InjectiveDerivativeExchangeRPCServer).Orderbooks(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/Orderbooks",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(InjectiveDerivativeExchangeRPCServer).Orderbooks(ctx, req.(*OrderbooksRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
func _InjectiveDerivativeExchangeRPC_OrderbooksV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(OrderbooksV2Request)
if err := dec(in); err != nil {
@@ -804,27 +774,6 @@ func _InjectiveDerivativeExchangeRPC_OrderbooksV2_Handler(srv interface{}, ctx c
return interceptor(ctx, in, info, handler)
}
-func _InjectiveDerivativeExchangeRPC_StreamOrderbook_Handler(srv interface{}, stream grpc.ServerStream) error {
- m := new(StreamOrderbookRequest)
- if err := stream.RecvMsg(m); err != nil {
- return err
- }
- return srv.(InjectiveDerivativeExchangeRPCServer).StreamOrderbook(m, &injectiveDerivativeExchangeRPCStreamOrderbookServer{stream})
-}
-
-type InjectiveDerivativeExchangeRPC_StreamOrderbookServer interface {
- Send(*StreamOrderbookResponse) error
- grpc.ServerStream
-}
-
-type injectiveDerivativeExchangeRPCStreamOrderbookServer struct {
- grpc.ServerStream
-}
-
-func (x *injectiveDerivativeExchangeRPCStreamOrderbookServer) Send(m *StreamOrderbookResponse) error {
- return x.ServerStream.SendMsg(m)
-}
-
func _InjectiveDerivativeExchangeRPC_StreamOrderbookV2_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamOrderbookV2Request)
if err := stream.RecvMsg(m); err != nil {
@@ -903,6 +852,24 @@ func _InjectiveDerivativeExchangeRPC_Positions_Handler(srv interface{}, ctx cont
return interceptor(ctx, in, info, handler)
}
+func _InjectiveDerivativeExchangeRPC_PositionsV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(PositionsV2Request)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(InjectiveDerivativeExchangeRPCServer).PositionsV2(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/PositionsV2",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(InjectiveDerivativeExchangeRPCServer).PositionsV2(ctx, req.(*PositionsV2Request))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _InjectiveDerivativeExchangeRPC_LiquidablePositions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(LiquidablePositionsRequest)
if err := dec(in); err != nil {
@@ -1017,6 +984,24 @@ func _InjectiveDerivativeExchangeRPC_Trades_Handler(srv interface{}, ctx context
return interceptor(ctx, in, info, handler)
}
+func _InjectiveDerivativeExchangeRPC_TradesV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(TradesV2Request)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(InjectiveDerivativeExchangeRPCServer).TradesV2(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective_derivative_exchange_rpc.InjectiveDerivativeExchangeRPC/TradesV2",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(InjectiveDerivativeExchangeRPCServer).TradesV2(ctx, req.(*TradesV2Request))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _InjectiveDerivativeExchangeRPC_StreamTrades_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamTradesRequest)
if err := stream.RecvMsg(m); err != nil {
@@ -1038,6 +1023,27 @@ func (x *injectiveDerivativeExchangeRPCStreamTradesServer) Send(m *StreamTradesR
return x.ServerStream.SendMsg(m)
}
+func _InjectiveDerivativeExchangeRPC_StreamTradesV2_Handler(srv interface{}, stream grpc.ServerStream) error {
+ m := new(StreamTradesV2Request)
+ if err := stream.RecvMsg(m); err != nil {
+ return err
+ }
+ return srv.(InjectiveDerivativeExchangeRPCServer).StreamTradesV2(m, &injectiveDerivativeExchangeRPCStreamTradesV2Server{stream})
+}
+
+type InjectiveDerivativeExchangeRPC_StreamTradesV2Server interface {
+ Send(*StreamTradesV2Response) error
+ grpc.ServerStream
+}
+
+type injectiveDerivativeExchangeRPCStreamTradesV2Server struct {
+ grpc.ServerStream
+}
+
+func (x *injectiveDerivativeExchangeRPCStreamTradesV2Server) Send(m *StreamTradesV2Response) error {
+ return x.ServerStream.SendMsg(m)
+}
+
func _InjectiveDerivativeExchangeRPC_SubaccountOrdersList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SubaccountOrdersListRequest)
if err := dec(in); err != nil {
@@ -1136,18 +1142,10 @@ var InjectiveDerivativeExchangeRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "BinaryOptionsMarket",
Handler: _InjectiveDerivativeExchangeRPC_BinaryOptionsMarket_Handler,
},
- {
- MethodName: "Orderbook",
- Handler: _InjectiveDerivativeExchangeRPC_Orderbook_Handler,
- },
{
MethodName: "OrderbookV2",
Handler: _InjectiveDerivativeExchangeRPC_OrderbookV2_Handler,
},
- {
- MethodName: "Orderbooks",
- Handler: _InjectiveDerivativeExchangeRPC_Orderbooks_Handler,
- },
{
MethodName: "OrderbooksV2",
Handler: _InjectiveDerivativeExchangeRPC_OrderbooksV2_Handler,
@@ -1160,6 +1158,10 @@ var InjectiveDerivativeExchangeRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "Positions",
Handler: _InjectiveDerivativeExchangeRPC_Positions_Handler,
},
+ {
+ MethodName: "PositionsV2",
+ Handler: _InjectiveDerivativeExchangeRPC_PositionsV2_Handler,
+ },
{
MethodName: "LiquidablePositions",
Handler: _InjectiveDerivativeExchangeRPC_LiquidablePositions_Handler,
@@ -1176,6 +1178,10 @@ var InjectiveDerivativeExchangeRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "Trades",
Handler: _InjectiveDerivativeExchangeRPC_Trades_Handler,
},
+ {
+ MethodName: "TradesV2",
+ Handler: _InjectiveDerivativeExchangeRPC_TradesV2_Handler,
+ },
{
MethodName: "SubaccountOrdersList",
Handler: _InjectiveDerivativeExchangeRPC_SubaccountOrdersList_Handler,
@@ -1195,11 +1201,6 @@ var InjectiveDerivativeExchangeRPC_ServiceDesc = grpc.ServiceDesc{
Handler: _InjectiveDerivativeExchangeRPC_StreamMarket_Handler,
ServerStreams: true,
},
- {
- StreamName: "StreamOrderbook",
- Handler: _InjectiveDerivativeExchangeRPC_StreamOrderbook_Handler,
- ServerStreams: true,
- },
{
StreamName: "StreamOrderbookV2",
Handler: _InjectiveDerivativeExchangeRPC_StreamOrderbookV2_Handler,
@@ -1225,6 +1226,11 @@ var InjectiveDerivativeExchangeRPC_ServiceDesc = grpc.ServiceDesc{
Handler: _InjectiveDerivativeExchangeRPC_StreamTrades_Handler,
ServerStreams: true,
},
+ {
+ StreamName: "StreamTradesV2",
+ Handler: _InjectiveDerivativeExchangeRPC_StreamTradesV2_Handler,
+ ServerStreams: true,
+ },
{
StreamName: "StreamOrdersHistory",
Handler: _InjectiveDerivativeExchangeRPC_StreamOrdersHistory_Handler,
diff --git a/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.go b/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.go
index b7d9632c..1b044b97 100644
--- a/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.go
+++ b/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_exchange_rpc.proto
package injective_exchange_rpcpb
diff --git a/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.gw.go b/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.gw.go
index 8428a313..d5d28a2a 100644
--- a/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.gw.go
+++ b/exchange/exchange_rpc/pb/injective_exchange_rpc.pb.gw.go
@@ -247,20 +247,22 @@ func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExchangeRPC_GetTx_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExchangeRPC_GetTx_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_GetTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_GetTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -270,20 +272,22 @@ func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExchangeRPC_PrepareTx_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExchangeRPC_PrepareTx_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_PrepareTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_PrepareTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -293,20 +297,22 @@ func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExchangeRPC_BroadcastTx_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExchangeRPC_BroadcastTx_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_BroadcastTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_BroadcastTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -316,20 +322,22 @@ func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExchangeRPC_PrepareCosmosTx_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExchangeRPC_PrepareCosmosTx_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_PrepareCosmosTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_PrepareCosmosTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -339,20 +347,22 @@ func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExchangeRPC_BroadcastCosmosTx_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExchangeRPC_BroadcastCosmosTx_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_BroadcastCosmosTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_BroadcastCosmosTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -362,20 +372,22 @@ func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExchangeRPC_GetFeePayer_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExchangeRPC_GetFeePayer_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_GetFeePayer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_GetFeePayer_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -424,19 +436,21 @@ func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExchangeRPC_GetTx_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExchangeRPC_GetTx_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_GetTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_GetTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -444,19 +458,21 @@ func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExchangeRPC_PrepareTx_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExchangeRPC_PrepareTx_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_PrepareTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_PrepareTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -464,19 +480,21 @@ func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExchangeRPC_BroadcastTx_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExchangeRPC_BroadcastTx_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_BroadcastTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_BroadcastTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -484,19 +502,21 @@ func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/PrepareCosmosTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExchangeRPC_PrepareCosmosTx_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExchangeRPC_PrepareCosmosTx_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_PrepareCosmosTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_PrepareCosmosTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -504,19 +524,21 @@ func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/BroadcastCosmosTx"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExchangeRPC_BroadcastCosmosTx_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExchangeRPC_BroadcastCosmosTx_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_BroadcastCosmosTx_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_BroadcastCosmosTx_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -524,19 +546,21 @@ func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer", runtime.WithHTTPPathPattern("/injective_exchange_rpc.InjectiveExchangeRPC/GetFeePayer"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExchangeRPC_GetFeePayer_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExchangeRPC_GetFeePayer_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExchangeRPC_GetFeePayer_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExchangeRPC_GetFeePayer_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
diff --git a/exchange/exchange_rpc/pb/injective_exchange_rpc_grpc.pb.go b/exchange/exchange_rpc/pb/injective_exchange_rpc_grpc.pb.go
index dc5460ab..7b634ee7 100644
--- a/exchange/exchange_rpc/pb/injective_exchange_rpc_grpc.pb.go
+++ b/exchange/exchange_rpc/pb/injective_exchange_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_exchange_rpc.proto
package injective_exchange_rpcpb
diff --git a/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.go b/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.go
index a3d3820b..7cbfd422 100644
--- a/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.go
+++ b/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_explorer_rpc.proto
package injective_explorer_rpcpb
@@ -33,8 +33,10 @@ type GetAccountTxsRequest struct {
unknownFields protoimpl.UnknownFields
// Address of account
- Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
- Before uint64 `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"`
+ Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
+ // Return transactions before this block number
+ Before uint64 `protobuf:"varint,2,opt,name=before,proto3" json:"before,omitempty"`
+ // Return transactions after this block number
After uint64 `protobuf:"varint,3,opt,name=after,proto3" json:"after,omitempty"`
Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
@@ -42,6 +44,14 @@ type GetAccountTxsRequest struct {
Module string `protobuf:"bytes,7,opt,name=module,proto3" json:"module,omitempty"`
FromNumber int64 `protobuf:"zigzag64,8,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"`
ToNumber int64 `protobuf:"zigzag64,9,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the txs must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,10,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the txs must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,11,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // The status of the txs to be returned
+ Status string `protobuf:"bytes,12,opt,name=status,proto3" json:"status,omitempty"`
}
func (x *GetAccountTxsRequest) Reset() {
@@ -139,6 +149,27 @@ func (x *GetAccountTxsRequest) GetToNumber() int64 {
return 0
}
+func (x *GetAccountTxsRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
+}
+
+func (x *GetAccountTxsRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
+
+func (x *GetAccountTxsRequest) GetStatus() string {
+ if x != nil {
+ return x.Status
+ }
+ return ""
+}
+
type GetAccountTxsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -208,6 +239,8 @@ type Paging struct {
To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
// count entries by subaccount, serving some places on helix
CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"`
+ // array of tokens to navigate to the next pages
+ Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"`
}
func (x *Paging) Reset() {
@@ -270,6 +303,13 @@ func (x *Paging) GetCountBySubaccount() int64 {
return 0
}
+func (x *Paging) GetNext() []string {
+ if x != nil {
+ return x.Next
+ }
+ return nil
+}
+
// TxDetailData wraps tx data includes details information
type TxDetailData struct {
state protoimpl.MessageState
@@ -299,6 +339,8 @@ type TxDetailData struct {
ErrorLog string `protobuf:"bytes,20,opt,name=error_log,json=errorLog,proto3" json:"error_log,omitempty"`
// transaction event logs
Logs []byte `protobuf:"bytes,21,opt,name=logs,proto3" json:"logs,omitempty"`
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ ClaimIds []int64 `protobuf:"zigzag64,22,rep,packed,name=claim_ids,json=claimIds,proto3" json:"claim_ids,omitempty"`
}
func (x *TxDetailData) Reset() {
@@ -473,6 +515,13 @@ func (x *TxDetailData) GetLogs() []byte {
return nil
}
+func (x *TxDetailData) GetClaimIds() []int64 {
+ if x != nil {
+ return x.ClaimIds
+ }
+ return nil
+}
+
type GasFee struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1108,6 +1157,8 @@ type TxDataRPC struct {
// Transaction log indicating errors
ErrorLog string `protobuf:"bytes,8,opt,name=error_log,json=errorLog,proto3" json:"error_log,omitempty"`
Code uint32 `protobuf:"varint,9,opt,name=code,proto3" json:"code,omitempty"`
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ ClaimIds []int64 `protobuf:"zigzag64,10,rep,packed,name=claim_ids,json=claimIds,proto3" json:"claim_ids,omitempty"`
}
func (x *TxDataRPC) Reset() {
@@ -1205,6 +1256,13 @@ func (x *TxDataRPC) GetCode() uint32 {
return 0
}
+func (x *TxDataRPC) GetClaimIds() []int64 {
+ if x != nil {
+ return x.ClaimIds
+ }
+ return nil
+}
+
type GetBlockRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1455,6 +1513,8 @@ type TxData struct {
TxMsgTypes []byte `protobuf:"bytes,10,opt,name=tx_msg_types,json=txMsgTypes,proto3" json:"tx_msg_types,omitempty"`
// transaction event logs
Logs []byte `protobuf:"bytes,11,opt,name=logs,proto3" json:"logs,omitempty"`
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ ClaimIds []int64 `protobuf:"zigzag64,12,rep,packed,name=claim_ids,json=claimIds,proto3" json:"claim_ids,omitempty"`
}
func (x *TxData) Reset() {
@@ -1566,6 +1626,13 @@ func (x *TxData) GetLogs() []byte {
return nil
}
+func (x *TxData) GetClaimIds() []int64 {
+ if x != nil {
+ return x.ClaimIds
+ }
+ return nil
+}
+
type GetValidatorsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1698,6 +1765,8 @@ type Validator struct {
SlashingEvents []*SlashingEvent `protobuf:"bytes,21,rep,name=slashing_events,json=slashingEvents,proto3" json:"slashing_events,omitempty"`
// uptime percentage base on latest 10k block
UptimePercentage float64 `protobuf:"fixed64,22,opt,name=uptime_percentage,json=uptimePercentage,proto3" json:"uptime_percentage,omitempty"`
+ // URL of the validator logo
+ ImageUrl string `protobuf:"bytes,23,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
}
func (x *Validator) Reset() {
@@ -1886,6 +1955,13 @@ func (x *Validator) GetUptimePercentage() float64 {
return 0
}
+func (x *Validator) GetImageUrl() string {
+ if x != nil {
+ return x.ImageUrl
+ }
+ return ""
+}
+
type ValidatorDescription struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -1896,6 +1972,7 @@ type ValidatorDescription struct {
Website string `protobuf:"bytes,3,opt,name=website,proto3" json:"website,omitempty"`
SecurityContact string `protobuf:"bytes,4,opt,name=security_contact,json=securityContact,proto3" json:"security_contact,omitempty"`
Details string `protobuf:"bytes,5,opt,name=details,proto3" json:"details,omitempty"`
+ ImageUrl string `protobuf:"bytes,6,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"`
}
func (x *ValidatorDescription) Reset() {
@@ -1965,6 +2042,13 @@ func (x *ValidatorDescription) GetDetails() string {
return ""
}
+func (x *ValidatorDescription) GetImageUrl() string {
+ if x != nil {
+ return x.ImageUrl
+ }
+ return ""
+}
+
type ValidatorUptime struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -2352,6 +2436,14 @@ type GetTxsRequest struct {
Module string `protobuf:"bytes,6,opt,name=module,proto3" json:"module,omitempty"`
FromNumber int64 `protobuf:"zigzag64,7,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"`
ToNumber int64 `protobuf:"zigzag64,8,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the txs must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,9,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the txs must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,10,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // The status of the txs to be returned
+ Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
}
func (x *GetTxsRequest) Reset() {
@@ -2442,6 +2534,27 @@ func (x *GetTxsRequest) GetToNumber() int64 {
return 0
}
+func (x *GetTxsRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
+}
+
+func (x *GetTxsRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
+
+func (x *GetTxsRequest) GetStatus() string {
+ if x != nil {
+ return x.Status
+ }
+ return ""
+}
+
type GetTxsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -4116,6 +4229,8 @@ type GetWasmContractsRequest struct {
ToNumber int64 `protobuf:"zigzag64,4,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"`
AssetsOnly bool `protobuf:"varint,5,opt,name=assets_only,json=assetsOnly,proto3" json:"assets_only,omitempty"`
Skip int64 `protobuf:"zigzag64,6,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Label of the contract
+ Label string `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"`
}
func (x *GetWasmContractsRequest) Reset() {
@@ -4192,6 +4307,13 @@ func (x *GetWasmContractsRequest) GetSkip() int64 {
return 0
}
+func (x *GetWasmContractsRequest) GetLabel() string {
+ if x != nil {
+ return x.Label
+ }
+ return ""
+}
+
type GetWasmContractsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -5338,6 +5460,326 @@ func (x *Relayer) GetCta() string {
return ""
}
+type GetBankTransfersRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Transfer sender address
+ Senders []string `protobuf:"bytes,1,rep,name=senders,proto3" json:"senders,omitempty"`
+ // Transfer recipient address
+ Recipients []string `protobuf:"bytes,2,rep,name=recipients,proto3" json:"recipients,omitempty"`
+ // Returns transfers with the community pool address as either sender or
+ // recipient
+ IsCommunityPoolRelated bool `protobuf:"varint,3,opt,name=is_community_pool_related,json=isCommunityPoolRelated,proto3" json:"is_community_pool_related,omitempty"`
+ Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
+ Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the transfers must be equal
+ // or older than
+ StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the transfers must be equal
+ // or younger than
+ EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // Transfers where either the sender or the recipient is one of the addresses
+ Address []string `protobuf:"bytes,8,rep,name=address,proto3" json:"address,omitempty"`
+ PerPage int32 `protobuf:"zigzag32,9,opt,name=per_page,json=perPage,proto3" json:"per_page,omitempty"`
+ Token string `protobuf:"bytes,10,opt,name=token,proto3" json:"token,omitempty"`
+}
+
+func (x *GetBankTransfersRequest) Reset() {
+ *x = GetBankTransfersRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[64]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBankTransfersRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetBankTransfersRequest) ProtoMessage() {}
+
+func (x *GetBankTransfersRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[64]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBankTransfersRequest.ProtoReflect.Descriptor instead.
+func (*GetBankTransfersRequest) Descriptor() ([]byte, []int) {
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{64}
+}
+
+func (x *GetBankTransfersRequest) GetSenders() []string {
+ if x != nil {
+ return x.Senders
+ }
+ return nil
+}
+
+func (x *GetBankTransfersRequest) GetRecipients() []string {
+ if x != nil {
+ return x.Recipients
+ }
+ return nil
+}
+
+func (x *GetBankTransfersRequest) GetIsCommunityPoolRelated() bool {
+ if x != nil {
+ return x.IsCommunityPoolRelated
+ }
+ return false
+}
+
+func (x *GetBankTransfersRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
+ }
+ return 0
+}
+
+func (x *GetBankTransfersRequest) GetSkip() uint64 {
+ if x != nil {
+ return x.Skip
+ }
+ return 0
+}
+
+func (x *GetBankTransfersRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
+}
+
+func (x *GetBankTransfersRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
+
+func (x *GetBankTransfersRequest) GetAddress() []string {
+ if x != nil {
+ return x.Address
+ }
+ return nil
+}
+
+func (x *GetBankTransfersRequest) GetPerPage() int32 {
+ if x != nil {
+ return x.PerPage
+ }
+ return 0
+}
+
+func (x *GetBankTransfersRequest) GetToken() string {
+ if x != nil {
+ return x.Token
+ }
+ return ""
+}
+
+type GetBankTransfersResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Paging *Paging `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"`
+ Data []*BankTransfer `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
+}
+
+func (x *GetBankTransfersResponse) Reset() {
+ *x = GetBankTransfersResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[65]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *GetBankTransfersResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*GetBankTransfersResponse) ProtoMessage() {}
+
+func (x *GetBankTransfersResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[65]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use GetBankTransfersResponse.ProtoReflect.Descriptor instead.
+func (*GetBankTransfersResponse) Descriptor() ([]byte, []int) {
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{65}
+}
+
+func (x *GetBankTransfersResponse) GetPaging() *Paging {
+ if x != nil {
+ return x.Paging
+ }
+ return nil
+}
+
+func (x *GetBankTransfersResponse) GetData() []*BankTransfer {
+ if x != nil {
+ return x.Data
+ }
+ return nil
+}
+
+// Bank transfer represents a transfer
+type BankTransfer struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
+ Recipient string `protobuf:"bytes,2,opt,name=recipient,proto3" json:"recipient,omitempty"`
+ // Amounts transferred
+ Amounts []*Coin `protobuf:"bytes,3,rep,name=amounts,proto3" json:"amounts,omitempty"`
+ BlockNumber uint64 `protobuf:"varint,4,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
+ BlockTimestamp string `protobuf:"bytes,5,opt,name=block_timestamp,json=blockTimestamp,proto3" json:"block_timestamp,omitempty"`
+}
+
+func (x *BankTransfer) Reset() {
+ *x = BankTransfer{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[66]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *BankTransfer) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*BankTransfer) ProtoMessage() {}
+
+func (x *BankTransfer) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[66]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use BankTransfer.ProtoReflect.Descriptor instead.
+func (*BankTransfer) Descriptor() ([]byte, []int) {
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{66}
+}
+
+func (x *BankTransfer) GetSender() string {
+ if x != nil {
+ return x.Sender
+ }
+ return ""
+}
+
+func (x *BankTransfer) GetRecipient() string {
+ if x != nil {
+ return x.Recipient
+ }
+ return ""
+}
+
+func (x *BankTransfer) GetAmounts() []*Coin {
+ if x != nil {
+ return x.Amounts
+ }
+ return nil
+}
+
+func (x *BankTransfer) GetBlockNumber() uint64 {
+ if x != nil {
+ return x.BlockNumber
+ }
+ return 0
+}
+
+func (x *BankTransfer) GetBlockTimestamp() string {
+ if x != nil {
+ return x.BlockTimestamp
+ }
+ return ""
+}
+
+type Coin struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Denom of the coin
+ Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
+ Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
+}
+
+func (x *Coin) Reset() {
+ *x = Coin{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[67]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *Coin) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Coin) ProtoMessage() {}
+
+func (x *Coin) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_explorer_rpc_proto_msgTypes[67]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use Coin.ProtoReflect.Descriptor instead.
+func (*Coin) Descriptor() ([]byte, []int) {
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{67}
+}
+
+func (x *Coin) GetDenom() string {
+ if x != nil {
+ return x.Denom
+ }
+ return ""
+}
+
+func (x *Coin) GetAmount() string {
+ if x != nil {
+ return x.Amount
+ }
+ return ""
+}
+
type StreamTxsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -5347,7 +5789,7 @@ type StreamTxsRequest struct {
func (x *StreamTxsRequest) Reset() {
*x = StreamTxsRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_explorer_rpc_proto_msgTypes[64]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5360,7 +5802,7 @@ func (x *StreamTxsRequest) String() string {
func (*StreamTxsRequest) ProtoMessage() {}
func (x *StreamTxsRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_explorer_rpc_proto_msgTypes[64]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[68]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5373,7 +5815,7 @@ func (x *StreamTxsRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamTxsRequest.ProtoReflect.Descriptor instead.
func (*StreamTxsRequest) Descriptor() ([]byte, []int) {
- return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{64}
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{68}
}
type StreamTxsResponse struct {
@@ -5391,12 +5833,14 @@ type StreamTxsResponse struct {
// Transaction log indicating errors
ErrorLog string `protobuf:"bytes,8,opt,name=error_log,json=errorLog,proto3" json:"error_log,omitempty"`
Code uint32 `protobuf:"varint,9,opt,name=code,proto3" json:"code,omitempty"`
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ ClaimIds []int64 `protobuf:"zigzag64,10,rep,packed,name=claim_ids,json=claimIds,proto3" json:"claim_ids,omitempty"`
}
func (x *StreamTxsResponse) Reset() {
*x = StreamTxsResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_explorer_rpc_proto_msgTypes[65]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5409,7 +5853,7 @@ func (x *StreamTxsResponse) String() string {
func (*StreamTxsResponse) ProtoMessage() {}
func (x *StreamTxsResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_explorer_rpc_proto_msgTypes[65]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[69]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5422,7 +5866,7 @@ func (x *StreamTxsResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamTxsResponse.ProtoReflect.Descriptor instead.
func (*StreamTxsResponse) Descriptor() ([]byte, []int) {
- return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{65}
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{69}
}
func (x *StreamTxsResponse) GetId() string {
@@ -5488,6 +5932,13 @@ func (x *StreamTxsResponse) GetCode() uint32 {
return 0
}
+func (x *StreamTxsResponse) GetClaimIds() []int64 {
+ if x != nil {
+ return x.ClaimIds
+ }
+ return nil
+}
+
type StreamBlocksRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -5497,7 +5948,7 @@ type StreamBlocksRequest struct {
func (x *StreamBlocksRequest) Reset() {
*x = StreamBlocksRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_explorer_rpc_proto_msgTypes[66]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5510,7 +5961,7 @@ func (x *StreamBlocksRequest) String() string {
func (*StreamBlocksRequest) ProtoMessage() {}
func (x *StreamBlocksRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_explorer_rpc_proto_msgTypes[66]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[70]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5523,7 +5974,7 @@ func (x *StreamBlocksRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamBlocksRequest.ProtoReflect.Descriptor instead.
func (*StreamBlocksRequest) Descriptor() ([]byte, []int) {
- return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{66}
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{70}
}
type StreamBlocksResponse struct {
@@ -5545,7 +5996,7 @@ type StreamBlocksResponse struct {
func (x *StreamBlocksResponse) Reset() {
*x = StreamBlocksResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_explorer_rpc_proto_msgTypes[67]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -5558,7 +6009,7 @@ func (x *StreamBlocksResponse) String() string {
func (*StreamBlocksResponse) ProtoMessage() {}
func (x *StreamBlocksResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_explorer_rpc_proto_msgTypes[67]
+ mi := &file_injective_explorer_rpc_proto_msgTypes[71]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -5571,7 +6022,7 @@ func (x *StreamBlocksResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamBlocksResponse.ProtoReflect.Descriptor instead.
func (*StreamBlocksResponse) Descriptor() ([]byte, []int) {
- return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{67}
+ return file_injective_explorer_rpc_proto_rawDescGZIP(), []int{71}
}
func (x *StreamBlocksResponse) GetHeight() uint64 {
@@ -5643,7 +6094,7 @@ var file_injective_explorer_rpc_proto_rawDesc = []byte{
0x0a, 0x1c, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c,
0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16,
0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
- 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x22, 0xf2, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x63,
+ 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x22, 0xc4, 0x02, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x63,
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x65, 0x66,
@@ -5658,518 +6109,582 @@ var file_injective_explorer_rpc_proto_rawDesc = []byte{
0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01,
0x28, 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b,
0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x89, 0x01, 0x0a, 0x15,
- 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
- 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a,
- 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74,
- 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x72, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x69, 0x6e,
- 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12,
- 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74,
- 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x13, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42,
- 0x79, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x8e, 0x05, 0x0a, 0x0c,
- 0x54, 0x78, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c,
- 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
- 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04,
- 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65,
- 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
- 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f,
- 0x77, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x67, 0x61,
- 0x73, 0x57, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75,
- 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73,
- 0x65, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x67, 0x61, 0x73, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x0b, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x61, 0x73,
- 0x46, 0x65, 0x65, 0x52, 0x06, 0x67, 0x61, 0x73, 0x46, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63,
- 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65,
- 0x6e, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73,
- 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x74, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x73,
- 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75,
- 0x72, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69,
- 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f,
- 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x1b, 0x0a, 0x09,
- 0x74, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x08, 0x74, 0x78, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x30, 0x0a, 0x14, 0x62, 0x6c, 0x6f,
- 0x63, 0x6b, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x6e,
- 0x69, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65,
- 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73,
- 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x22, 0x91, 0x01, 0x0a,
- 0x06, 0x47, 0x61, 0x73, 0x46, 0x65, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e,
- 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73,
+ 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e,
+ 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e,
+ 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
+ 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x89, 0x01,
+ 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e,
+ 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x06, 0x61, 0x6d, 0x6f,
- 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x67, 0x61, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74,
- 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x70, 0x61, 0x79, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65,
- 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x72,
- 0x22, 0x3a, 0x0a, 0x0a, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14,
- 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64,
- 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xa9, 0x01, 0x0a,
- 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x61, 0x74,
- 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
- 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x74,
- 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61,
- 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74,
- 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
- 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
- 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76,
- 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x77, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e,
- 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x18, 0x0a,
- 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65,
- 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65,
- 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72,
- 0x65, 0x22, 0x99, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
- 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73,
- 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12,
- 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
- 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x8a, 0x01,
- 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69,
- 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
- 0x12, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
- 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
- 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x56, 0x0a, 0x10, 0x47, 0x65,
- 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
- 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06,
- 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d,
- 0x69, 0x74, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69,
- 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
- 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
- 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66,
- 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xad, 0x02, 0x0a, 0x09, 0x42, 0x6c, 0x6f, 0x63,
- 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a,
- 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x6e,
- 0x69, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x6e, 0x69,
- 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73,
- 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61,
- 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73,
- 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48,
- 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x63,
- 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0d, 0x6e, 0x75,
- 0x6d, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e,
- 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x6e, 0x75,
- 0x6d, 0x54, 0x78, 0x73, 0x12, 0x33, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x61, 0x74,
- 0x61, 0x52, 0x50, 0x43, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x83, 0x02, 0x0a, 0x09, 0x54, 0x78, 0x44, 0x61,
- 0x74, 0x61, 0x52, 0x50, 0x43, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e,
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f,
- 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63,
- 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
- 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61,
- 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70,
- 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12,
- 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x08, 0x74, 0x78, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09,
- 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64,
- 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x21, 0x0a,
- 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
- 0x22, 0x75, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x01, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x64, 0x61,
- 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66,
- 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xcd, 0x02, 0x0a, 0x0f, 0x42, 0x6c, 0x6f, 0x63,
- 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x68,
- 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69,
- 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x12,
- 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f,
- 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62,
- 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65,
- 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70,
- 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x75, 0x6d,
- 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x12, 0x52, 0x0d, 0x6e, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
- 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x12, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x54, 0x78, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f,
- 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x08, 0x74,
- 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x09,
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78,
- 0x44, 0x61, 0x74, 0x61, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xb6, 0x02, 0x0a, 0x06, 0x54, 0x78, 0x44, 0x61,
- 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
- 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
- 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e,
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e,
- 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x12,
- 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61,
- 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
- 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09,
- 0x74, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x08, 0x74, 0x78, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72,
- 0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72,
- 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09,
- 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x78,
- 0x5f, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c,
- 0x52, 0x0a, 0x74, 0x78, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04,
- 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x73,
- 0x22, 0x16, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x74, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x56,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x73, 0x12,
- 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
- 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x98,
- 0x07, 0x0a, 0x09, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07,
- 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d,
- 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
- 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5f, 0x61,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f,
- 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16,
- 0x0a, 0x06, 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06,
- 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16,
- 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61,
- 0x74, 0x6f, 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65,
- 0x73, 0x12, 0x4e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x68,
- 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0f, 0x75, 0x6e, 0x62,
- 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x25, 0x0a, 0x0e,
- 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54,
- 0x69, 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
- 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f,
- 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x13,
- 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x72,
- 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69,
- 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x1a,
- 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x17, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x43,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x6f, 0x6d,
- 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
- 0x69, 0x6d, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x69,
- 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
- 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28,
- 0x04, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73,
- 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x73, 0x69, 0x67,
- 0x6e, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x12, 0x20,
- 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
- 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x41, 0x0a, 0x07, 0x75, 0x70, 0x74,
- 0x69, 0x6d, 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12,
+ 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
+ 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x44,
+ 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x86, 0x01, 0x0a, 0x06, 0x50, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72,
+ 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e,
+ 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e,
+ 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x42, 0x79, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12,
+ 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x65,
+ 0x78, 0x74, 0x22, 0xab, 0x05, 0x0a, 0x0c, 0x54, 0x78, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x44,
+ 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d,
+ 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12,
+ 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68,
+ 0x61, 0x73, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
+ 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x69,
+ 0x6e, 0x66, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x12,
+ 0x1d, 0x0a, 0x0a, 0x67, 0x61, 0x73, 0x5f, 0x77, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x09, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x09, 0x67, 0x61, 0x73, 0x57, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x19,
+ 0x0a, 0x08, 0x67, 0x61, 0x73, 0x5f, 0x75, 0x73, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12,
+ 0x52, 0x07, 0x67, 0x61, 0x73, 0x55, 0x73, 0x65, 0x64, 0x12, 0x37, 0x0a, 0x07, 0x67, 0x61, 0x73,
+ 0x5f, 0x66, 0x65, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a,
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74,
- 0x69, 0x6d, 0x65, 0x52, 0x07, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f,
- 0x73, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18,
- 0x15, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53,
- 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x6c,
- 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11,
- 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67,
- 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x50,
- 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x22, 0xab, 0x01, 0x0a, 0x14, 0x56, 0x61,
- 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08,
- 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
- 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x73,
- 0x69, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69,
- 0x74, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63,
- 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65,
- 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x18, 0x0a,
- 0x07, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x22, 0x4c, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64,
- 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c,
- 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a,
- 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73,
- 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x0d, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69,
- 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
- 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62,
- 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c,
- 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a,
- 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x70, 0x6f,
- 0x77, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6a,
- 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x61, 0x69,
- 0x6c, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x62, 0x6c,
- 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x73, 0x73,
- 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x22, 0x2f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x72, 0x70, 0x63, 0x2e, 0x47, 0x61, 0x73, 0x46, 0x65, 0x65, 0x52, 0x06, 0x67, 0x61, 0x73, 0x46,
+ 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18,
+ 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
+ 0x12, 0x35, 0x0a, 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x1d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52,
+ 0x06, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x74, 0x79,
+ 0x70, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x01,
+ 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x41, 0x0a, 0x0a,
+ 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74,
+ 0x75, 0x72, 0x65, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12,
+ 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d,
+ 0x65, 0x6d, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
+ 0x18, 0x12, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x74, 0x78, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
+ 0x12, 0x30, 0x0a, 0x14, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x55, 0x6e, 0x69, 0x78, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
+ 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x18,
+ 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x12,
+ 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6c,
+ 0x6f, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x69, 0x64, 0x73,
+ 0x18, 0x16, 0x20, 0x03, 0x28, 0x12, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x49, 0x64, 0x73,
+ 0x22, 0x91, 0x01, 0x0a, 0x06, 0x47, 0x61, 0x73, 0x46, 0x65, 0x65, 0x12, 0x3a, 0x0a, 0x06, 0x61,
+ 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x43, 0x6f, 0x69, 0x6e, 0x52,
+ 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x61, 0x73, 0x5f, 0x6c,
+ 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x67, 0x61, 0x73, 0x4c,
+ 0x69, 0x6d, 0x69, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x79, 0x65, 0x72, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x61, 0x79, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72,
+ 0x61, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x61,
+ 0x6e, 0x74, 0x65, 0x72, 0x22, 0x3a, 0x0a, 0x0a, 0x43, 0x6f, 0x73, 0x6d, 0x6f, 0x73, 0x43, 0x6f,
+ 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75,
+ 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
+ 0x22, 0xa9, 0x01, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79,
+ 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x4d,
+ 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x76, 0x65, 0x6e,
+ 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72,
+ 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x1a, 0x3d, 0x0a,
+ 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
+ 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b,
+ 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x77, 0x0a, 0x09,
+ 0x53, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62,
+ 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65,
+ 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73,
+ 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73,
+ 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
+ 0x74, 0x75, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e,
+ 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e,
+ 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x73, 0x0a, 0x14, 0x47, 0x65, 0x74,
- 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x73, 0x12,
- 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56,
- 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x35,
- 0x0a, 0x19, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70,
- 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7f, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01,
- 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x64, 0x61, 0x74,
- 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65,
- 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xd1, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x78,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f,
- 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04,
- 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70,
- 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
- 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a,
- 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12,
- 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x7c, 0x0a, 0x0e, 0x47, 0x65,
+ 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d,
+ 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12,
+ 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73,
+ 0x6b, 0x69, 0x70, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75,
+ 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
+ 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65,
+ 0x72, 0x22, 0x8a, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06,
0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69,
0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65,
0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61,
- 0x67, 0x69, 0x6e, 0x67, 0x12, 0x32, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
- 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x61,
- 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x2a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54,
- 0x78, 0x42, 0x79, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x68, 0x61, 0x73, 0x68, 0x22, 0x77, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x78, 0x42, 0x79, 0x54,
- 0x78, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a,
- 0x01, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65,
- 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72,
- 0x6d, 0x73, 0x67, 0x12, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x65, 0x74,
- 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x79, 0x0a,
- 0x19, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
+ 0x67, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x65,
+ 0x74, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x56,
+ 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x04, 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66,
+ 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72,
+ 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52,
+ 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x82, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06,
+ 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65,
+ 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xad, 0x02, 0x0a, 0x09,
+ 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69,
+ 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
+ 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a,
+ 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
+ 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
+ 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x70,
+ 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12,
+ 0x52, 0x0d, 0x6e, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12,
+ 0x17, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12,
+ 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x54, 0x78, 0x73, 0x12, 0x33, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18,
+ 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54,
+ 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x50, 0x43, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x1c, 0x0a,
+ 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xa0, 0x02, 0x0a, 0x09,
+ 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x50, 0x43, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
+ 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65,
+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64,
+ 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f,
+ 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61,
+ 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61,
+ 0x67, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72,
+ 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x74, 0x78, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72,
+ 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x08, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a,
+ 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64,
+ 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a,
+ 0x20, 0x03, 0x28, 0x12, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x49, 0x64, 0x73, 0x22, 0x21,
+ 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
+ 0x64, 0x22, 0x75, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x01, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x64,
+ 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e,
+ 0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xcd, 0x02, 0x0a, 0x0f, 0x42, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x0a, 0x06,
+ 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65,
+ 0x69, 0x67, 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72,
+ 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
+ 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72,
+ 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
+ 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x75,
+ 0x6d, 0x5f, 0x70, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x0d, 0x6e, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69,
+ 0x74, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x54, 0x78, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74,
+ 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x08,
+ 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x12, 0x30, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18,
+ 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54,
+ 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xd3, 0x02, 0x0a, 0x06, 0x54, 0x78, 0x44,
+ 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x02, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d,
+ 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12,
+ 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68,
+ 0x61, 0x73, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63, 0x65,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x70, 0x61, 0x63,
+ 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x1b, 0x0a,
+ 0x09, 0x74, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04,
+ 0x52, 0x08, 0x74, 0x78, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72,
+ 0x72, 0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
+ 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18,
+ 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x74,
+ 0x78, 0x5f, 0x6d, 0x73, 0x67, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28,
+ 0x0c, 0x52, 0x0a, 0x74, 0x78, 0x4d, 0x73, 0x67, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x12, 0x0a,
+ 0x04, 0x6c, 0x6f, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x6c, 0x6f, 0x67,
+ 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0c,
+ 0x20, 0x03, 0x28, 0x12, 0x52, 0x08, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x49, 0x64, 0x73, 0x22, 0x16,
+ 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x74, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c,
+ 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x73, 0x12, 0x16, 0x0a,
+ 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65,
+ 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c,
+ 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xb5, 0x07, 0x0a,
+ 0x09, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f,
+ 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x6e,
+ 0x69, 0x6b, 0x65, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
+ 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
+ 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
+ 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x73, 0x75, 0x73, 0x5f, 0x61, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x73,
+ 0x65, 0x6e, 0x73, 0x75, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06,
+ 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6a, 0x61,
+ 0x69, 0x6c, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06,
+ 0x20, 0x01, 0x28, 0x11, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06,
+ 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x6f,
+ 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f,
+ 0x72, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f,
+ 0x64, 0x65, 0x6c, 0x65, 0x67, 0x61, 0x74, 0x6f, 0x72, 0x53, 0x68, 0x61, 0x72, 0x65, 0x73, 0x12,
+ 0x4e, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61,
+ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
+ 0x6f, 0x6e, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
+ 0x29, 0x0a, 0x10, 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x65, 0x69,
+ 0x67, 0x68, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0f, 0x75, 0x6e, 0x62, 0x6f, 0x6e,
+ 0x64, 0x69, 0x6e, 0x67, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x6e,
+ 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0d, 0x75, 0x6e, 0x62, 0x6f, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d,
+ 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f,
+ 0x72, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d,
+ 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x6f,
+ 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x61, 0x74,
+ 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73,
+ 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x52, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x1a, 0x63, 0x6f,
+ 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17,
+ 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x61, 0x78, 0x43, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x69,
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
+ 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x73, 0x73,
+ 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a,
+ 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x67,
+ 0x6e, 0x65, 0x64, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x73, 0x69, 0x67, 0x6e, 0x65,
+ 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x06, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x41, 0x0a, 0x07, 0x75, 0x70, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x18, 0x14, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d,
+ 0x65, 0x52, 0x07, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0f, 0x73, 0x6c,
+ 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x15, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x6c, 0x61,
+ 0x73, 0x68, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x0e, 0x73, 0x6c, 0x61, 0x73,
+ 0x68, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x70,
+ 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18,
+ 0x16, 0x20, 0x01, 0x28, 0x01, 0x52, 0x10, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x50, 0x65, 0x72,
+ 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65,
+ 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67,
+ 0x65, 0x55, 0x72, 0x6c, 0x22, 0xc8, 0x01, 0x0a, 0x14, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
+ 0x6f, 0x72, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a,
+ 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
+ 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74,
+ 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x64, 0x65, 0x6e, 0x74,
+ 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x12, 0x29, 0x0a,
+ 0x10, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63,
+ 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74,
+ 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61,
+ 0x69, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x74, 0x61, 0x69,
+ 0x6c, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18,
+ 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x6c, 0x22,
+ 0x4c, 0x0a, 0x0f, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69,
+ 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e,
+ 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xe0, 0x01,
+ 0x0a, 0x0d, 0x53, 0x6c, 0x61, 0x73, 0x68, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12,
+ 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65,
+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x61,
+ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64,
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72,
+ 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x61,
+ 0x73, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x6a, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d,
+ 0x69, 0x73, 0x73, 0x65, 0x64, 0x5f, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x07, 0x20, 0x01,
+ 0x28, 0x04, 0x52, 0x0c, 0x6d, 0x69, 0x73, 0x73, 0x65, 0x64, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73,
+ 0x22, 0x2f, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
+ 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
+ 0x73, 0x22, 0x73, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f,
+ 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73,
+ 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12,
+ 0x35, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
+ 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
+ 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x35, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c,
+ 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x7f, 0x0a,
+ 0x1a, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74,
+ 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x01, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72,
+ 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73,
+ 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c,
+ 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
+ 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa3,
+ 0x02, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x16, 0x0a, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
+ 0x52, 0x06, 0x62, 0x65, 0x66, 0x6f, 0x72, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x66, 0x74, 0x65,
+ 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x61, 0x66, 0x74, 0x65, 0x72, 0x12, 0x14,
+ 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c,
+ 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06,
+ 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x6f,
+ 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d,
+ 0x62, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e,
+ 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
+ 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0a, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06,
+ 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x22, 0x7c, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x32,
+ 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65,
+ 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x64, 0x61,
+ 0x74, 0x61, 0x22, 0x2a, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x54, 0x78, 0x42, 0x79, 0x54, 0x78, 0x48,
+ 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61,
+ 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x77,
+ 0x0a, 0x15, 0x47, 0x65, 0x74, 0x54, 0x78, 0x42, 0x79, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0c, 0x0a, 0x01, 0x73, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x01, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6d, 0x73, 0x67, 0x12, 0x38, 0x0a,
+ 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x44, 0x61, 0x74,
+ 0x61, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x79, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x50, 0x65,
+ 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08,
+ 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
+ 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69,
+ 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12,
+ 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b,
+ 0x69, 0x70, 0x22, 0x5a, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65,
+ 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x3c, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c,
+ 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65,
+ 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0xf9,
+ 0x02, 0x0a, 0x0e, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54,
+ 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63,
+ 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x63,
+ 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e,
+ 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e,
+ 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f,
+ 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x65, 0x76,
+ 0x65, 0x6e, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f,
+ 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e,
+ 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x31, 0x0a, 0x14, 0x6f, 0x72, 0x63, 0x68, 0x65,
+ 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61,
+ 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
+ 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
+ 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09,
+ 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x08, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x7c, 0x0a, 0x1c, 0x47, 0x65,
+ 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c,
0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65,
0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64,
0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x14,
0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c,
0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x22, 0x5a, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x50,
- 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18,
- 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
- 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x52, 0x05, 0x66,
- 0x69, 0x65, 0x6c, 0x64, 0x22, 0xf9, 0x02, 0x0a, 0x0e, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65,
- 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65,
- 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12,
- 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x65,
- 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c,
- 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
- 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x31, 0x0a,
- 0x14, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6f, 0x72, 0x63,
- 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
- 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x69,
- 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68,
- 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68,
- 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74,
- 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41,
- 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
- 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
- 0x22, 0x7c, 0x0a, 0x1c, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68,
- 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x22, 0x60, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x50,
+ 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x66, 0x69, 0x65,
+ 0x6c, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61,
+ 0x6c, 0x54, 0x78, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x87, 0x04, 0x0a, 0x11, 0x50,
+ 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78,
0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65,
0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65,
- 0x69, 0x76, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b,
- 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x22, 0x60,
- 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72,
- 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x3f, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
- 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74,
- 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x22, 0x87, 0x04, 0x0a, 0x11, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72,
- 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a,
- 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d,
- 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75,
- 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x72, 0x69, 0x64,
- 0x67, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x72,
- 0x69, 0x64, 0x67, 0x65, 0x46, 0x65, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x67, 0x6f,
- 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x0c, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x54, 0x78, 0x49, 0x64, 0x12, 0x23, 0x0a,
- 0x0d, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x62, 0x61, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x6f,
- 0x75, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6e, 0x6f, 0x6e, 0x63,
- 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f,
- 0x6e, 0x63, 0x65, 0x12, 0x31, 0x0a, 0x14, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61,
- 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x13, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f,
- 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x76, 0x65,
- 0x6e, 0x74, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74,
- 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x65,
- 0x76, 0x65, 0x6e, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
- 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d,
- 0x20, 0x01, 0x28, 0x11, 0x52, 0x09, 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03,
- 0x28, 0x09, 0x52, 0x08, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
- 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0xf4, 0x01, 0x0a, 0x18, 0x47,
+ 0x69, 0x76, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05,
+ 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e,
+ 0x6f, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x5f, 0x66, 0x65, 0x65,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x72, 0x69, 0x64, 0x67, 0x65, 0x46, 0x65,
+ 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78,
+ 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x6f, 0x75, 0x74, 0x67, 0x6f,
+ 0x69, 0x6e, 0x67, 0x54, 0x78, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x62, 0x61, 0x74, 0x63, 0x68,
+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c,
+ 0x62, 0x61, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
+ 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x0a, 0x62, 0x61, 0x74, 0x63, 0x68, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x31, 0x0a,
+ 0x14, 0x6f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x61, 0x64,
+ 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6f, 0x72, 0x63,
+ 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
+ 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18,
+ 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x4e, 0x6f, 0x6e, 0x63,
+ 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68,
+ 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x65,
+ 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c,
+ 0x61, 0x69, 0x6d, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x11, 0x52, 0x09,
+ 0x63, 0x6c, 0x61, 0x69, 0x6d, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f,
+ 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x78,
+ 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
+ 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64,
+ 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x64, 0x41, 0x74, 0x22, 0xf4, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43, 0x54,
+ 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63,
+ 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x63,
+ 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x72, 0x63, 0x5f, 0x63, 0x68, 0x61,
+ 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x72, 0x63, 0x43,
+ 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x72, 0x63, 0x5f, 0x70, 0x6f,
+ 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x72, 0x63, 0x50, 0x6f, 0x72,
+ 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
+ 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x43, 0x68, 0x61,
+ 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x72,
+ 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x65, 0x73, 0x74, 0x50, 0x6f, 0x72,
+ 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x11,
+ 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18,
+ 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x22, 0x58, 0x0a, 0x19, 0x47,
0x65, 0x74, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c,
+ 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x52, 0x05,
+ 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x9e, 0x04, 0x0a, 0x0d, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61,
+ 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65,
0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12,
0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73,
- 0x72, 0x63, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x73, 0x72, 0x63, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x19, 0x0a, 0x08,
- 0x73, 0x72, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x73, 0x72, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x5f,
- 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
- 0x65, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x65,
- 0x73, 0x74, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64,
- 0x65, 0x73, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a,
- 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69,
- 0x70, 0x22, 0x58, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x66, 0x65, 0x72, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b,
- 0x0a, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
- 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
- 0x65, 0x72, 0x54, 0x78, 0x52, 0x05, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x9e, 0x04, 0x0a, 0x0d,
- 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x12, 0x16, 0x0a,
- 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73,
- 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
- 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65,
- 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f,
- 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61,
- 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72,
- 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73,
- 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
- 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x12, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68,
- 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
- 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a,
- 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65,
- 0x6e, 0x6f, 0x6d, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x68,
- 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x69, 0x6d,
- 0x65, 0x6f, 0x75, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x69,
- 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
- 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x65,
- 0x74, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65,
- 0x12, 0x19, 0x0a, 0x08, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01,
- 0x28, 0x0c, 0x52, 0x07, 0x64, 0x61, 0x74, 0x61, 0x48, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x73,
- 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74,
- 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x0e,
- 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x1d,
- 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x69, 0x0a, 0x13,
- 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f,
- 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a,
- 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f,
- 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x08, 0x74,
- 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x84, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57,
- 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
- 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67,
- 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe2,
- 0x03, 0x0a, 0x08, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e,
+ 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x68, 0x61, 0x6e,
+ 0x6e, 0x65, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x64,
+ 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x2f,
+ 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68,
+ 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x73,
+ 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12,
+ 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d,
+ 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x25, 0x0a,
+ 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
+ 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x48, 0x65,
+ 0x69, 0x67, 0x68, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x10, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
+ 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x65, 0x71, 0x75,
+ 0x65, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x70, 0x61, 0x63, 0x6b,
+ 0x65, 0x74, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x64, 0x61,
+ 0x74, 0x61, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x64, 0x61,
+ 0x74, 0x61, 0x48, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0d,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74,
+ 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08,
+ 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61,
+ 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72,
+ 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74,
+ 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x69, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73,
+ 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a,
+ 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69,
+ 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
+ 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75,
+ 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65,
+ 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65,
+ 0x72, 0x22, 0x84, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64,
+ 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69,
+ 0x6e, 0x67, 0x12, 0x34, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f,
+ 0x64, 0x65, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe2, 0x03, 0x0a, 0x08, 0x57, 0x61, 0x73,
+ 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x17,
+ 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3c, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b,
+ 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x08, 0x63, 0x68, 0x65,
+ 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
+ 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
+ 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74,
+ 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e,
+ 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,
+ 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
+ 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
+ 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12,
+ 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x08,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x09, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x22, 0x0a,
+ 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x69, 0x61, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20,
+ 0x01, 0x28, 0x04, 0x52, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x69, 0x61, 0x74, 0x65,
+ 0x73, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
+ 0x6f, 0x64, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12,
+ 0x52, 0x0a, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b,
+ 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x22, 0x3c, 0x0a,
+ 0x08, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x67,
+ 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x6c,
+ 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18,
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0x4f, 0x0a, 0x12, 0x43,
+ 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
+ 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x79,
+ 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x31, 0x0a, 0x16,
+ 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69,
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22,
+ 0xf1, 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x42,
+ 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63,
0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x6f,
0x64, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3c, 0x0a,
@@ -6199,62 +6714,20 @@ var file_injective_explorer_rpc_proto_rawDesc = []byte{
0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x63, 0x6f, 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62,
0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69,
0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61,
- 0x6c, 0x49, 0x64, 0x22, 0x3c, 0x0a, 0x08, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12,
- 0x1c, 0x0a, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x61, 0x6c, 0x67, 0x6f, 0x72, 0x69, 0x74, 0x68, 0x6d, 0x12, 0x12, 0x0a,
- 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73,
- 0x68, 0x22, 0x4f, 0x0a, 0x12, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x65, 0x72,
- 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73,
- 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a, 0x61, 0x63,
- 0x63, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72,
- 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65,
- 0x73, 0x73, 0x22, 0x31, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64,
- 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07,
- 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x63,
- 0x6f, 0x64, 0x65, 0x49, 0x64, 0x22, 0xf1, 0x03, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73,
- 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78,
- 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48,
- 0x61, 0x73, 0x68, 0x12, 0x3c, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43,
- 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75,
- 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
- 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70,
- 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63,
- 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
- 0x4a, 0x0a, 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e,
- 0x74, 0x72, 0x61, 0x63, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52,
- 0x0a, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
- 0x6f, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0a, 0x63, 0x6f, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1b, 0x0a, 0x09,
- 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x63, 0x6f, 0x64, 0x65, 0x56, 0x69, 0x65, 0x77, 0x12, 0x22, 0x0a, 0x0c, 0x69, 0x6e, 0x73,
- 0x74, 0x61, 0x6e, 0x74, 0x69, 0x61, 0x74, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x69, 0x61, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a,
- 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x64, 0x65, 0x5f,
- 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x63, 0x6f,
- 0x64, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x70,
- 0x6f, 0x73, 0x61, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x70,
- 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x61, 0x6c, 0x49, 0x64, 0x22, 0xbb, 0x01, 0x0a, 0x17, 0x47, 0x65,
- 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63,
- 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x63, 0x6f,
- 0x64, 0x65, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d,
- 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e,
- 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
- 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62,
- 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x5f, 0x6f, 0x6e, 0x6c,
- 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x4f,
- 0x6e, 0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57,
+ 0x6c, 0x49, 0x64, 0x22, 0xd1, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43,
+ 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05,
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06, 0x63, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x12, 0x1f,
+ 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x12, 0x52, 0x0a, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
+ 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x12, 0x52, 0x08, 0x74, 0x6f, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b,
+ 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x08, 0x52, 0x0a, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x12, 0x0a,
+ 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x04, 0x73, 0x6b, 0x69,
+ 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57,
0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
@@ -6419,8 +6892,53 @@ var file_injective_explorer_rpc_proto_rawDesc = []byte{
0x65, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x22, 0x2f, 0x0a, 0x07, 0x52, 0x65, 0x6c, 0x61, 0x79,
0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x74, 0x61, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x74, 0x61, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x8b, 0x02, 0x0a,
+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x74, 0x61, 0x22, 0xbd, 0x02, 0x0a, 0x17, 0x47, 0x65, 0x74,
+ 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x73, 0x12, 0x1e,
+ 0x0a, 0x0a, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x39,
+ 0x0a, 0x19, 0x69, 0x73, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x5f, 0x70,
+ 0x6f, 0x6f, 0x6c, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x08, 0x52, 0x16, 0x69, 0x73, 0x43, 0x6f, 0x6d, 0x6d, 0x75, 0x6e, 0x69, 0x74, 0x79, 0x50, 0x6f,
+ 0x6f, 0x6c, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d,
+ 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12,
+ 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73,
+ 0x6b, 0x69, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,
+ 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
+ 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a,
+ 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
+ 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x65, 0x72, 0x5f, 0x70,
+ 0x61, 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x70, 0x65, 0x72, 0x50, 0x61,
+ 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74,
+ 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18,
+ 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
+ 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x38, 0x0a,
+ 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65,
+ 0x72, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xc8, 0x01, 0x0a, 0x0c, 0x42, 0x61, 0x6e, 0x6b,
+ 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x65, 0x6e, 0x64,
+ 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72,
+ 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x36,
+ 0x0a, 0x07, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x1c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c,
+ 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x07, 0x61,
+ 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f,
+ 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x62, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x62, 0x6c, 0x6f,
+ 0x63, 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
+ 0x6d, 0x70, 0x22, 0x34, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65,
+ 0x6e, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d,
+ 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x65,
+ 0x61, 0x6d, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa8, 0x02, 0x0a,
0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x75, 0x6d, 0x62,
@@ -6437,172 +6955,181 @@ var file_injective_explorer_rpc_proto_rawDesc = []byte{
0x08, 0x74, 0x78, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72,
0x6f, 0x72, 0x5f, 0x6c, 0x6f, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72,
0x72, 0x6f, 0x72, 0x4c, 0x6f, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x09,
- 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74,
- 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x22, 0xb8, 0x02, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63,
- 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65,
- 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67,
- 0x68, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x12, 0x18,
- 0x0a, 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x07, 0x6d, 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63,
- 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c,
- 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e,
- 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61,
- 0x72, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f,
- 0x70, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x0d, 0x6e, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73,
- 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x54, 0x78, 0x73, 0x12, 0x33, 0x0a, 0x03, 0x74, 0x78, 0x73,
- 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x54, 0x78, 0x44, 0x61, 0x74, 0x61, 0x52, 0x50, 0x43, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x1c,
- 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xd8, 0x11, 0x0a,
- 0x14, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72,
- 0x65, 0x72, 0x52, 0x50, 0x43, 0x12, 0x6c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65,
- 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
- 0x63, 0x74, 0x54, 0x78, 0x73, 0x12, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47,
- 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65,
- 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x60, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
- 0x73, 0x12, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
- 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c,
- 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f,
- 0x63, 0x6b, 0x12, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
- 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42,
- 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69,
- 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65,
- 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x6f, 0x72, 0x12, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c,
+ 0x61, 0x69, 0x6d, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x12, 0x52, 0x08, 0x63,
+ 0x6c, 0x61, 0x69, 0x6d, 0x49, 0x64, 0x73, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xb8,
+ 0x02, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52,
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68,
+ 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12,
+ 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x73, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d,
+ 0x6f, 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f,
+ 0x6e, 0x69, 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68,
+ 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x68,
+ 0x61, 0x73, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e,
+ 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x72, 0x65,
+ 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0d,
+ 0x6e, 0x75, 0x6d, 0x50, 0x72, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x73, 0x12, 0x17, 0x0a,
+ 0x07, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x78, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x06,
+ 0x6e, 0x75, 0x6d, 0x54, 0x78, 0x73, 0x12, 0x33, 0x0a, 0x03, 0x74, 0x78, 0x73, 0x18, 0x08, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x44,
+ 0x61, 0x74, 0x61, 0x52, 0x50, 0x43, 0x52, 0x03, 0x74, 0x78, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xcf, 0x12, 0x0a, 0x14, 0x49, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x45, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x52,
+ 0x50, 0x43, 0x12, 0x6c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x54, 0x78, 0x73, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74,
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x6f, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54,
+ 0x78, 0x73, 0x12, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43,
+ 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f,
+ 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x12, 0x60, 0x0a, 0x09, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x28,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
+ 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12,
+ 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c,
+ 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63,
+ 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
+ 0x6f, 0x72, 0x73, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74,
- 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x1a, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61,
+ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x69, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72,
+ 0x12, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b,
- 0x0a, 0x12, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70,
- 0x74, 0x69, 0x6d, 0x65, 0x12, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
+ 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61,
+ 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x12, 0x47,
+ 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d,
+ 0x65, 0x12, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61,
+ 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65,
0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74, 0x69, 0x6d, 0x65,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x55, 0x70, 0x74,
- 0x69, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x06, 0x47,
- 0x65, 0x74, 0x54, 0x78, 0x73, 0x12, 0x25, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47,
- 0x65, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65,
- 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x78, 0x42, 0x79, 0x54,
- 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x54,
+ 0x78, 0x73, 0x12, 0x25, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x54,
+ 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x12, 0x6c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x54, 0x78, 0x42, 0x79, 0x54, 0x78, 0x48, 0x61,
+ 0x73, 0x68, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65,
+ 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x54,
+ 0x78, 0x42, 0x79, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x78, 0x42,
+ 0x79, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x7b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73,
+ 0x69, 0x74, 0x54, 0x78, 0x73, 0x12, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47,
- 0x65, 0x74, 0x54, 0x78, 0x42, 0x79, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74,
- 0x54, 0x78, 0x42, 0x79, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65,
- 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x73, 0x12, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
0x63, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70, 0x6f, 0x73, 0x69,
- 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e,
+ 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a,
+ 0x15, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61,
+ 0x77, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x12, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77,
+ 0x61, 0x6c, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65,
+ 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69,
+ 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61,
+ 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72,
+ 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66,
+ 0x65, 0x72, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a,
+ 0x0c, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x2b, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
+ 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f,
+ 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x57,
+ 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x79, 0x49, 0x44, 0x12, 0x2e, 0x2e, 0x69, 0x6e,
0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x44, 0x65, 0x70,
- 0x6f, 0x73, 0x69, 0x74, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x84, 0x01, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68,
- 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x12, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67, 0x79, 0x57, 0x69, 0x74, 0x68, 0x64,
- 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c,
- 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x65, 0x67, 0x67,
- 0x79, 0x57, 0x69, 0x74, 0x68, 0x64, 0x72, 0x61, 0x77, 0x61, 0x6c, 0x54, 0x78, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43,
- 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65,
+ 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x69, 0x6e,
0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61, 0x6e, 0x73,
- 0x66, 0x65, 0x72, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
- 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x42, 0x43, 0x54, 0x72, 0x61,
- 0x6e, 0x73, 0x66, 0x65, 0x72, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x69, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73,
- 0x12, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65,
+ 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x10,
+ 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73,
+ 0x12, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73,
- 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
- 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f,
- 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x47,
- 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x79, 0x49, 0x44, 0x12, 0x2e,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
- 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43,
- 0x6f, 0x64, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
- 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43,
- 0x6f, 0x64, 0x65, 0x42, 0x79, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x75, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
- 0x63, 0x74, 0x73, 0x12, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74,
- 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61,
+ 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43,
+ 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x42, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
+ 0x12, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73,
+ 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x42, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65,
+ 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
+ 0x63, 0x74, 0x42, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x77, 0x32, 0x30, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47,
+ 0x65, 0x74, 0x43, 0x77, 0x32, 0x30, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71,
+ 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65,
- 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8d, 0x01, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x57, 0x61,
- 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x42, 0x79, 0x41, 0x64, 0x64, 0x72,
- 0x65, 0x73, 0x73, 0x12, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74,
- 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x42, 0x79, 0x41, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65,
- 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x61, 0x73, 0x6d, 0x43, 0x6f, 0x6e,
- 0x74, 0x72, 0x61, 0x63, 0x74, 0x42, 0x79, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43, 0x77, 0x32,
- 0x30, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x43, 0x77, 0x32, 0x30, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x08, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73,
+ 0x12, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70,
+ 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x65,
+ 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x72,
+ 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x73, 0x12, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x77, 0x32, 0x30, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x63, 0x2e, 0x47, 0x65, 0x74, 0x42, 0x61, 0x6e, 0x6b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65,
+ 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x09, 0x53, 0x74,
+ 0x72, 0x65, 0x61, 0x6d, 0x54, 0x78, 0x73, 0x12, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x47, 0x65, 0x74, 0x43, 0x77, 0x32, 0x30, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5d, 0x0a, 0x08, 0x52, 0x65, 0x6c, 0x61, 0x79,
- 0x65, 0x72, 0x73, 0x12, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6c,
- 0x61, 0x79, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65,
- 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x09, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
- 0x54, 0x78, 0x73, 0x12, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e,
+ 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x78, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78,
+ 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x54, 0x78, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x6b,
+ 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x2b,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f,
+ 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c,
+ 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x1b, 0x5a, 0x19, 0x2f,
0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72,
- 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x78, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x0c, 0x53, 0x74,
- 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x2b, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x1b, 0x5a, 0x19, 0x2f, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x6c, 0x6f, 0x72, 0x65, 0x72, 0x5f, 0x72,
- 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x65, 0x72, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -6617,7 +7144,7 @@ func file_injective_explorer_rpc_proto_rawDescGZIP() []byte {
return file_injective_explorer_rpc_proto_rawDescData
}
-var file_injective_explorer_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 69)
+var file_injective_explorer_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 73)
var file_injective_explorer_rpc_proto_goTypes = []interface{}{
(*GetAccountTxsRequest)(nil), // 0: injective_explorer_rpc.GetAccountTxsRequest
(*GetAccountTxsResponse)(nil), // 1: injective_explorer_rpc.GetAccountTxsResponse
@@ -6683,11 +7210,15 @@ var file_injective_explorer_rpc_proto_goTypes = []interface{}{
(*RelayersResponse)(nil), // 61: injective_explorer_rpc.RelayersResponse
(*RelayerMarkets)(nil), // 62: injective_explorer_rpc.RelayerMarkets
(*Relayer)(nil), // 63: injective_explorer_rpc.Relayer
- (*StreamTxsRequest)(nil), // 64: injective_explorer_rpc.StreamTxsRequest
- (*StreamTxsResponse)(nil), // 65: injective_explorer_rpc.StreamTxsResponse
- (*StreamBlocksRequest)(nil), // 66: injective_explorer_rpc.StreamBlocksRequest
- (*StreamBlocksResponse)(nil), // 67: injective_explorer_rpc.StreamBlocksResponse
- nil, // 68: injective_explorer_rpc.Event.AttributesEntry
+ (*GetBankTransfersRequest)(nil), // 64: injective_explorer_rpc.GetBankTransfersRequest
+ (*GetBankTransfersResponse)(nil), // 65: injective_explorer_rpc.GetBankTransfersResponse
+ (*BankTransfer)(nil), // 66: injective_explorer_rpc.BankTransfer
+ (*Coin)(nil), // 67: injective_explorer_rpc.Coin
+ (*StreamTxsRequest)(nil), // 68: injective_explorer_rpc.StreamTxsRequest
+ (*StreamTxsResponse)(nil), // 69: injective_explorer_rpc.StreamTxsResponse
+ (*StreamBlocksRequest)(nil), // 70: injective_explorer_rpc.StreamBlocksRequest
+ (*StreamBlocksResponse)(nil), // 71: injective_explorer_rpc.StreamBlocksResponse
+ nil, // 72: injective_explorer_rpc.Event.AttributesEntry
}
var file_injective_explorer_rpc_proto_depIdxs = []int32{
2, // 0: injective_explorer_rpc.GetAccountTxsResponse.paging:type_name -> injective_explorer_rpc.Paging
@@ -6696,7 +7227,7 @@ var file_injective_explorer_rpc_proto_depIdxs = []int32{
6, // 3: injective_explorer_rpc.TxDetailData.events:type_name -> injective_explorer_rpc.Event
7, // 4: injective_explorer_rpc.TxDetailData.signatures:type_name -> injective_explorer_rpc.Signature
5, // 5: injective_explorer_rpc.GasFee.amount:type_name -> injective_explorer_rpc.CosmosCoin
- 68, // 6: injective_explorer_rpc.Event.attributes:type_name -> injective_explorer_rpc.Event.AttributesEntry
+ 72, // 6: injective_explorer_rpc.Event.attributes:type_name -> injective_explorer_rpc.Event.AttributesEntry
2, // 7: injective_explorer_rpc.GetContractTxsResponse.paging:type_name -> injective_explorer_rpc.Paging
3, // 8: injective_explorer_rpc.GetContractTxsResponse.data:type_name -> injective_explorer_rpc.TxDetailData
2, // 9: injective_explorer_rpc.GetBlocksResponse.paging:type_name -> injective_explorer_rpc.Paging
@@ -6734,52 +7265,57 @@ var file_injective_explorer_rpc_proto_depIdxs = []int32{
52, // 41: injective_explorer_rpc.WasmCw20Balance.cw20_metadata:type_name -> injective_explorer_rpc.Cw20Metadata
62, // 42: injective_explorer_rpc.RelayersResponse.field:type_name -> injective_explorer_rpc.RelayerMarkets
63, // 43: injective_explorer_rpc.RelayerMarkets.relayers:type_name -> injective_explorer_rpc.Relayer
- 13, // 44: injective_explorer_rpc.StreamBlocksResponse.txs:type_name -> injective_explorer_rpc.TxDataRPC
- 0, // 45: injective_explorer_rpc.InjectiveExplorerRPC.GetAccountTxs:input_type -> injective_explorer_rpc.GetAccountTxsRequest
- 8, // 46: injective_explorer_rpc.InjectiveExplorerRPC.GetContractTxs:input_type -> injective_explorer_rpc.GetContractTxsRequest
- 10, // 47: injective_explorer_rpc.InjectiveExplorerRPC.GetBlocks:input_type -> injective_explorer_rpc.GetBlocksRequest
- 14, // 48: injective_explorer_rpc.InjectiveExplorerRPC.GetBlock:input_type -> injective_explorer_rpc.GetBlockRequest
- 18, // 49: injective_explorer_rpc.InjectiveExplorerRPC.GetValidators:input_type -> injective_explorer_rpc.GetValidatorsRequest
- 24, // 50: injective_explorer_rpc.InjectiveExplorerRPC.GetValidator:input_type -> injective_explorer_rpc.GetValidatorRequest
- 26, // 51: injective_explorer_rpc.InjectiveExplorerRPC.GetValidatorUptime:input_type -> injective_explorer_rpc.GetValidatorUptimeRequest
- 28, // 52: injective_explorer_rpc.InjectiveExplorerRPC.GetTxs:input_type -> injective_explorer_rpc.GetTxsRequest
- 30, // 53: injective_explorer_rpc.InjectiveExplorerRPC.GetTxByTxHash:input_type -> injective_explorer_rpc.GetTxByTxHashRequest
- 32, // 54: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyDepositTxs:input_type -> injective_explorer_rpc.GetPeggyDepositTxsRequest
- 35, // 55: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyWithdrawalTxs:input_type -> injective_explorer_rpc.GetPeggyWithdrawalTxsRequest
- 38, // 56: injective_explorer_rpc.InjectiveExplorerRPC.GetIBCTransferTxs:input_type -> injective_explorer_rpc.GetIBCTransferTxsRequest
- 41, // 57: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodes:input_type -> injective_explorer_rpc.GetWasmCodesRequest
- 46, // 58: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodeByID:input_type -> injective_explorer_rpc.GetWasmCodeByIDRequest
- 48, // 59: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContracts:input_type -> injective_explorer_rpc.GetWasmContractsRequest
- 55, // 60: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContractByAddress:input_type -> injective_explorer_rpc.GetWasmContractByAddressRequest
- 57, // 61: injective_explorer_rpc.InjectiveExplorerRPC.GetCw20Balance:input_type -> injective_explorer_rpc.GetCw20BalanceRequest
- 60, // 62: injective_explorer_rpc.InjectiveExplorerRPC.Relayers:input_type -> injective_explorer_rpc.RelayersRequest
- 64, // 63: injective_explorer_rpc.InjectiveExplorerRPC.StreamTxs:input_type -> injective_explorer_rpc.StreamTxsRequest
- 66, // 64: injective_explorer_rpc.InjectiveExplorerRPC.StreamBlocks:input_type -> injective_explorer_rpc.StreamBlocksRequest
- 1, // 65: injective_explorer_rpc.InjectiveExplorerRPC.GetAccountTxs:output_type -> injective_explorer_rpc.GetAccountTxsResponse
- 9, // 66: injective_explorer_rpc.InjectiveExplorerRPC.GetContractTxs:output_type -> injective_explorer_rpc.GetContractTxsResponse
- 11, // 67: injective_explorer_rpc.InjectiveExplorerRPC.GetBlocks:output_type -> injective_explorer_rpc.GetBlocksResponse
- 15, // 68: injective_explorer_rpc.InjectiveExplorerRPC.GetBlock:output_type -> injective_explorer_rpc.GetBlockResponse
- 19, // 69: injective_explorer_rpc.InjectiveExplorerRPC.GetValidators:output_type -> injective_explorer_rpc.GetValidatorsResponse
- 25, // 70: injective_explorer_rpc.InjectiveExplorerRPC.GetValidator:output_type -> injective_explorer_rpc.GetValidatorResponse
- 27, // 71: injective_explorer_rpc.InjectiveExplorerRPC.GetValidatorUptime:output_type -> injective_explorer_rpc.GetValidatorUptimeResponse
- 29, // 72: injective_explorer_rpc.InjectiveExplorerRPC.GetTxs:output_type -> injective_explorer_rpc.GetTxsResponse
- 31, // 73: injective_explorer_rpc.InjectiveExplorerRPC.GetTxByTxHash:output_type -> injective_explorer_rpc.GetTxByTxHashResponse
- 33, // 74: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyDepositTxs:output_type -> injective_explorer_rpc.GetPeggyDepositTxsResponse
- 36, // 75: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyWithdrawalTxs:output_type -> injective_explorer_rpc.GetPeggyWithdrawalTxsResponse
- 39, // 76: injective_explorer_rpc.InjectiveExplorerRPC.GetIBCTransferTxs:output_type -> injective_explorer_rpc.GetIBCTransferTxsResponse
- 42, // 77: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodes:output_type -> injective_explorer_rpc.GetWasmCodesResponse
- 47, // 78: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodeByID:output_type -> injective_explorer_rpc.GetWasmCodeByIDResponse
- 49, // 79: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContracts:output_type -> injective_explorer_rpc.GetWasmContractsResponse
- 56, // 80: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContractByAddress:output_type -> injective_explorer_rpc.GetWasmContractByAddressResponse
- 58, // 81: injective_explorer_rpc.InjectiveExplorerRPC.GetCw20Balance:output_type -> injective_explorer_rpc.GetCw20BalanceResponse
- 61, // 82: injective_explorer_rpc.InjectiveExplorerRPC.Relayers:output_type -> injective_explorer_rpc.RelayersResponse
- 65, // 83: injective_explorer_rpc.InjectiveExplorerRPC.StreamTxs:output_type -> injective_explorer_rpc.StreamTxsResponse
- 67, // 84: injective_explorer_rpc.InjectiveExplorerRPC.StreamBlocks:output_type -> injective_explorer_rpc.StreamBlocksResponse
- 65, // [65:85] is the sub-list for method output_type
- 45, // [45:65] is the sub-list for method input_type
- 45, // [45:45] is the sub-list for extension type_name
- 45, // [45:45] is the sub-list for extension extendee
- 0, // [0:45] is the sub-list for field type_name
+ 2, // 44: injective_explorer_rpc.GetBankTransfersResponse.paging:type_name -> injective_explorer_rpc.Paging
+ 66, // 45: injective_explorer_rpc.GetBankTransfersResponse.data:type_name -> injective_explorer_rpc.BankTransfer
+ 67, // 46: injective_explorer_rpc.BankTransfer.amounts:type_name -> injective_explorer_rpc.Coin
+ 13, // 47: injective_explorer_rpc.StreamBlocksResponse.txs:type_name -> injective_explorer_rpc.TxDataRPC
+ 0, // 48: injective_explorer_rpc.InjectiveExplorerRPC.GetAccountTxs:input_type -> injective_explorer_rpc.GetAccountTxsRequest
+ 8, // 49: injective_explorer_rpc.InjectiveExplorerRPC.GetContractTxs:input_type -> injective_explorer_rpc.GetContractTxsRequest
+ 10, // 50: injective_explorer_rpc.InjectiveExplorerRPC.GetBlocks:input_type -> injective_explorer_rpc.GetBlocksRequest
+ 14, // 51: injective_explorer_rpc.InjectiveExplorerRPC.GetBlock:input_type -> injective_explorer_rpc.GetBlockRequest
+ 18, // 52: injective_explorer_rpc.InjectiveExplorerRPC.GetValidators:input_type -> injective_explorer_rpc.GetValidatorsRequest
+ 24, // 53: injective_explorer_rpc.InjectiveExplorerRPC.GetValidator:input_type -> injective_explorer_rpc.GetValidatorRequest
+ 26, // 54: injective_explorer_rpc.InjectiveExplorerRPC.GetValidatorUptime:input_type -> injective_explorer_rpc.GetValidatorUptimeRequest
+ 28, // 55: injective_explorer_rpc.InjectiveExplorerRPC.GetTxs:input_type -> injective_explorer_rpc.GetTxsRequest
+ 30, // 56: injective_explorer_rpc.InjectiveExplorerRPC.GetTxByTxHash:input_type -> injective_explorer_rpc.GetTxByTxHashRequest
+ 32, // 57: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyDepositTxs:input_type -> injective_explorer_rpc.GetPeggyDepositTxsRequest
+ 35, // 58: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyWithdrawalTxs:input_type -> injective_explorer_rpc.GetPeggyWithdrawalTxsRequest
+ 38, // 59: injective_explorer_rpc.InjectiveExplorerRPC.GetIBCTransferTxs:input_type -> injective_explorer_rpc.GetIBCTransferTxsRequest
+ 41, // 60: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodes:input_type -> injective_explorer_rpc.GetWasmCodesRequest
+ 46, // 61: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodeByID:input_type -> injective_explorer_rpc.GetWasmCodeByIDRequest
+ 48, // 62: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContracts:input_type -> injective_explorer_rpc.GetWasmContractsRequest
+ 55, // 63: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContractByAddress:input_type -> injective_explorer_rpc.GetWasmContractByAddressRequest
+ 57, // 64: injective_explorer_rpc.InjectiveExplorerRPC.GetCw20Balance:input_type -> injective_explorer_rpc.GetCw20BalanceRequest
+ 60, // 65: injective_explorer_rpc.InjectiveExplorerRPC.Relayers:input_type -> injective_explorer_rpc.RelayersRequest
+ 64, // 66: injective_explorer_rpc.InjectiveExplorerRPC.GetBankTransfers:input_type -> injective_explorer_rpc.GetBankTransfersRequest
+ 68, // 67: injective_explorer_rpc.InjectiveExplorerRPC.StreamTxs:input_type -> injective_explorer_rpc.StreamTxsRequest
+ 70, // 68: injective_explorer_rpc.InjectiveExplorerRPC.StreamBlocks:input_type -> injective_explorer_rpc.StreamBlocksRequest
+ 1, // 69: injective_explorer_rpc.InjectiveExplorerRPC.GetAccountTxs:output_type -> injective_explorer_rpc.GetAccountTxsResponse
+ 9, // 70: injective_explorer_rpc.InjectiveExplorerRPC.GetContractTxs:output_type -> injective_explorer_rpc.GetContractTxsResponse
+ 11, // 71: injective_explorer_rpc.InjectiveExplorerRPC.GetBlocks:output_type -> injective_explorer_rpc.GetBlocksResponse
+ 15, // 72: injective_explorer_rpc.InjectiveExplorerRPC.GetBlock:output_type -> injective_explorer_rpc.GetBlockResponse
+ 19, // 73: injective_explorer_rpc.InjectiveExplorerRPC.GetValidators:output_type -> injective_explorer_rpc.GetValidatorsResponse
+ 25, // 74: injective_explorer_rpc.InjectiveExplorerRPC.GetValidator:output_type -> injective_explorer_rpc.GetValidatorResponse
+ 27, // 75: injective_explorer_rpc.InjectiveExplorerRPC.GetValidatorUptime:output_type -> injective_explorer_rpc.GetValidatorUptimeResponse
+ 29, // 76: injective_explorer_rpc.InjectiveExplorerRPC.GetTxs:output_type -> injective_explorer_rpc.GetTxsResponse
+ 31, // 77: injective_explorer_rpc.InjectiveExplorerRPC.GetTxByTxHash:output_type -> injective_explorer_rpc.GetTxByTxHashResponse
+ 33, // 78: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyDepositTxs:output_type -> injective_explorer_rpc.GetPeggyDepositTxsResponse
+ 36, // 79: injective_explorer_rpc.InjectiveExplorerRPC.GetPeggyWithdrawalTxs:output_type -> injective_explorer_rpc.GetPeggyWithdrawalTxsResponse
+ 39, // 80: injective_explorer_rpc.InjectiveExplorerRPC.GetIBCTransferTxs:output_type -> injective_explorer_rpc.GetIBCTransferTxsResponse
+ 42, // 81: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodes:output_type -> injective_explorer_rpc.GetWasmCodesResponse
+ 47, // 82: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmCodeByID:output_type -> injective_explorer_rpc.GetWasmCodeByIDResponse
+ 49, // 83: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContracts:output_type -> injective_explorer_rpc.GetWasmContractsResponse
+ 56, // 84: injective_explorer_rpc.InjectiveExplorerRPC.GetWasmContractByAddress:output_type -> injective_explorer_rpc.GetWasmContractByAddressResponse
+ 58, // 85: injective_explorer_rpc.InjectiveExplorerRPC.GetCw20Balance:output_type -> injective_explorer_rpc.GetCw20BalanceResponse
+ 61, // 86: injective_explorer_rpc.InjectiveExplorerRPC.Relayers:output_type -> injective_explorer_rpc.RelayersResponse
+ 65, // 87: injective_explorer_rpc.InjectiveExplorerRPC.GetBankTransfers:output_type -> injective_explorer_rpc.GetBankTransfersResponse
+ 69, // 88: injective_explorer_rpc.InjectiveExplorerRPC.StreamTxs:output_type -> injective_explorer_rpc.StreamTxsResponse
+ 71, // 89: injective_explorer_rpc.InjectiveExplorerRPC.StreamBlocks:output_type -> injective_explorer_rpc.StreamBlocksResponse
+ 69, // [69:90] is the sub-list for method output_type
+ 48, // [48:69] is the sub-list for method input_type
+ 48, // [48:48] is the sub-list for extension type_name
+ 48, // [48:48] is the sub-list for extension extendee
+ 0, // [0:48] is the sub-list for field type_name
}
func init() { file_injective_explorer_rpc_proto_init() }
@@ -7557,7 +8093,7 @@ func file_injective_explorer_rpc_proto_init() {
}
}
file_injective_explorer_rpc_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamTxsRequest); i {
+ switch v := v.(*GetBankTransfersRequest); i {
case 0:
return &v.state
case 1:
@@ -7569,7 +8105,7 @@ func file_injective_explorer_rpc_proto_init() {
}
}
file_injective_explorer_rpc_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamTxsResponse); i {
+ switch v := v.(*GetBankTransfersResponse); i {
case 0:
return &v.state
case 1:
@@ -7581,7 +8117,7 @@ func file_injective_explorer_rpc_proto_init() {
}
}
file_injective_explorer_rpc_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamBlocksRequest); i {
+ switch v := v.(*BankTransfer); i {
case 0:
return &v.state
case 1:
@@ -7593,6 +8129,54 @@ func file_injective_explorer_rpc_proto_init() {
}
}
file_injective_explorer_rpc_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*Coin); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_explorer_rpc_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StreamTxsRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_explorer_rpc_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StreamTxsResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_explorer_rpc_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StreamBlocksRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_explorer_rpc_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StreamBlocksResponse); i {
case 0:
return &v.state
@@ -7611,7 +8195,7 @@ func file_injective_explorer_rpc_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_injective_explorer_rpc_proto_rawDesc,
NumEnums: 0,
- NumMessages: 69,
+ NumMessages: 73,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.gw.go b/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.gw.go
index 5a1404a4..80a8bf8a 100644
--- a/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.gw.go
+++ b/exchange/explorer_rpc/pb/injective_explorer_rpc.pb.gw.go
@@ -643,6 +643,40 @@ func local_request_InjectiveExplorerRPC_Relayers_0(ctx context.Context, marshale
}
+func request_InjectiveExplorerRPC_GetBankTransfers_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveExplorerRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq GetBankTransfersRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := client.GetBankTransfers(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_InjectiveExplorerRPC_GetBankTransfers_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveExplorerRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq GetBankTransfersRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := server.GetBankTransfers(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
func request_InjectiveExplorerRPC_StreamTxs_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveExplorerRPCClient, req *http.Request, pathParams map[string]string) (InjectiveExplorerRPC_StreamTxsClient, runtime.ServerMetadata, error) {
var protoReq StreamTxsRequest
var metadata runtime.ServerMetadata
@@ -705,20 +739,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetAccountTxs_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetAccountTxs_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetAccountTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetAccountTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -728,20 +764,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetContractTxs_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetContractTxs_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetContractTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetContractTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -751,20 +789,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetBlocks_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetBlocks_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetBlocks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetBlocks_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -774,20 +814,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetBlock_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetBlock_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetBlock_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -797,20 +839,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetValidators_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetValidators_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetValidators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetValidators_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -820,20 +864,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetValidator_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetValidator_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetValidator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetValidator_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -843,20 +889,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetValidatorUptime_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetValidatorUptime_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetValidatorUptime_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetValidatorUptime_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -866,20 +914,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetTxs_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetTxs_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -889,20 +939,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetTxByTxHash_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetTxByTxHash_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetTxByTxHash_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetTxByTxHash_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -912,20 +964,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetPeggyDepositTxs_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetPeggyDepositTxs_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetPeggyDepositTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetPeggyDepositTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -935,20 +989,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -958,20 +1014,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetIBCTransferTxs_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetIBCTransferTxs_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetIBCTransferTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetIBCTransferTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -981,20 +1039,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetWasmCodes_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetWasmCodes_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmCodes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmCodes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1004,20 +1064,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetWasmCodeByID_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetWasmCodeByID_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmCodeByID_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmCodeByID_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1027,20 +1089,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetWasmContracts_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetWasmContracts_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmContracts_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1050,20 +1114,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetWasmContractByAddress_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetWasmContractByAddress_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmContractByAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmContractByAddress_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1073,20 +1139,22 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_GetCw20Balance_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_GetCw20Balance_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetCw20Balance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetCw20Balance_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1096,20 +1164,47 @@ func RegisterInjectiveExplorerRPCHandlerServer(ctx context.Context, mux *runtime
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/Relayers", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/Relayers"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/Relayers", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/Relayers"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveExplorerRPC_Relayers_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveExplorerRPC_Relayers_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectiveExplorerRPC_Relayers_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
+ mux.Handle("POST", pattern_InjectiveExplorerRPC_GetBankTransfers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ var stream runtime.ServerTransportStream
+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
+ resp, md, err := local_request_InjectiveExplorerRPC_GetBankTransfers_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
- forward_InjectiveExplorerRPC_Relayers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetBankTransfers_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1172,19 +1267,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetAccountTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetAccountTxs_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetAccountTxs_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetAccountTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetAccountTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1192,19 +1289,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetContractTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetContractTxs_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetContractTxs_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetContractTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetContractTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1212,19 +1311,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlocks"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetBlocks_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetBlocks_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetBlocks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetBlocks_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1232,19 +1333,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBlock"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetBlock_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetBlock_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetBlock_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetBlock_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1252,19 +1355,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidators"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetValidators_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetValidators_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetValidators_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetValidators_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1272,19 +1377,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidator"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetValidator_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetValidator_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetValidator_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetValidator_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1292,19 +1399,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetValidatorUptime"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetValidatorUptime_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetValidatorUptime_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetValidatorUptime_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetValidatorUptime_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1312,19 +1421,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetTxs_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetTxs_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1332,19 +1443,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetTxByTxHash"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetTxByTxHash_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetTxByTxHash_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetTxByTxHash_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetTxByTxHash_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1352,19 +1465,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyDepositTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetPeggyDepositTxs_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetPeggyDepositTxs_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetPeggyDepositTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetPeggyDepositTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1372,19 +1487,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetPeggyWithdrawalTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetPeggyWithdrawalTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1392,19 +1509,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetIBCTransferTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetIBCTransferTxs_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetIBCTransferTxs_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetIBCTransferTxs_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetIBCTransferTxs_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1412,19 +1531,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodes"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetWasmCodes_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetWasmCodes_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmCodes_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmCodes_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1432,19 +1553,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmCodeByID"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetWasmCodeByID_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetWasmCodeByID_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmCodeByID_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmCodeByID_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1452,19 +1575,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContracts"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetWasmContracts_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetWasmContracts_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmContracts_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmContracts_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1472,19 +1597,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetWasmContractByAddress"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetWasmContractByAddress_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetWasmContractByAddress_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetWasmContractByAddress_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetWasmContractByAddress_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1492,19 +1619,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetCw20Balance"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_GetCw20Balance_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_GetCw20Balance_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_GetCw20Balance_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetCw20Balance_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1512,19 +1641,43 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/Relayers", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/Relayers"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/Relayers", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/Relayers"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_Relayers_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_Relayers_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectiveExplorerRPC_Relayers_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
+ mux.Handle("POST", pattern_InjectiveExplorerRPC_GetBankTransfers_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
+ resp, md, err := request_InjectiveExplorerRPC_GetBankTransfers_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
- forward_InjectiveExplorerRPC_Relayers_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_GetBankTransfers_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1532,19 +1685,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_StreamTxs_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_StreamTxs_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_StreamTxs_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_StreamTxs_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -1552,19 +1707,21 @@ func RegisterInjectiveExplorerRPCHandlerClient(ctx context.Context, mux *runtime
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/StreamBlocks", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/StreamBlocks"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_explorer_rpc.InjectiveExplorerRPC/StreamBlocks", runtime.WithHTTPPathPattern("/injective_explorer_rpc.InjectiveExplorerRPC/StreamBlocks"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveExplorerRPC_StreamBlocks_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveExplorerRPC_StreamBlocks_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveExplorerRPC_StreamBlocks_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveExplorerRPC_StreamBlocks_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -1608,6 +1765,8 @@ var (
pattern_InjectiveExplorerRPC_Relayers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_explorer_rpc.InjectiveExplorerRPC", "Relayers"}, ""))
+ pattern_InjectiveExplorerRPC_GetBankTransfers_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_explorer_rpc.InjectiveExplorerRPC", "GetBankTransfers"}, ""))
+
pattern_InjectiveExplorerRPC_StreamTxs_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_explorer_rpc.InjectiveExplorerRPC", "StreamTxs"}, ""))
pattern_InjectiveExplorerRPC_StreamBlocks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_explorer_rpc.InjectiveExplorerRPC", "StreamBlocks"}, ""))
@@ -1650,6 +1809,8 @@ var (
forward_InjectiveExplorerRPC_Relayers_0 = runtime.ForwardResponseMessage
+ forward_InjectiveExplorerRPC_GetBankTransfers_0 = runtime.ForwardResponseMessage
+
forward_InjectiveExplorerRPC_StreamTxs_0 = runtime.ForwardResponseStream
forward_InjectiveExplorerRPC_StreamBlocks_0 = runtime.ForwardResponseStream
diff --git a/exchange/explorer_rpc/pb/injective_explorer_rpc.proto b/exchange/explorer_rpc/pb/injective_explorer_rpc.proto
index 4bf4ebdb..a834b35e 100644
--- a/exchange/explorer_rpc/pb/injective_explorer_rpc.proto
+++ b/exchange/explorer_rpc/pb/injective_explorer_rpc.proto
@@ -53,6 +53,8 @@ service InjectiveExplorerRPC {
// Request relayers infos by marketIDs. If no ids are provided, all market with
// associated relayers are returned
rpc Relayers (RelayersRequest) returns (RelayersResponse);
+ // GetBankTransfers returns bank transfers.
+ rpc GetBankTransfers (GetBankTransfersRequest) returns (GetBankTransfersResponse);
// StreamTxs returns transactions based upon the request params
rpc StreamTxs (StreamTxsRequest) returns (stream StreamTxsResponse);
// StreamBlocks returns the latest blocks
@@ -62,7 +64,9 @@ service InjectiveExplorerRPC {
message GetAccountTxsRequest {
// Address of account
string address = 1;
+ // Return transactions before this block number
uint64 before = 2;
+ // Return transactions after this block number
uint64 after = 3;
sint32 limit = 4;
uint64 skip = 5;
@@ -70,6 +74,14 @@ message GetAccountTxsRequest {
string module = 7;
sint64 from_number = 8;
sint64 to_number = 9;
+ // The starting timestamp in UNIX milliseconds that the txs must be equal or
+// older than
+ sint64 start_time = 10;
+ // The ending timestamp in UNIX milliseconds that the txs must be equal or
+// younger than
+ sint64 end_time = 11;
+ // The status of the txs to be returned
+ string status = 12;
}
message GetAccountTxsResponse {
@@ -86,6 +98,8 @@ message Paging {
sint32 to = 3;
// count entries by subaccount, serving some places on helix
sint64 count_by_subaccount = 4;
+ // array of tokens to navigate to the next pages
+ repeated string next = 5;
}
// TxDetailData wraps tx data includes details information
message TxDetailData {
@@ -112,6 +126,8 @@ message TxDetailData {
string error_log = 20;
// transaction event logs
bytes logs = 21;
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ repeated sint64 claim_ids = 22;
}
message GasFee {
@@ -188,6 +204,8 @@ message TxDataRPC {
// Transaction log indicating errors
string error_log = 8;
uint32 code = 9;
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ repeated sint64 claim_ids = 10;
}
message GetBlockRequest {
@@ -229,6 +247,8 @@ message TxData {
bytes tx_msg_types = 10;
// transaction event logs
bytes logs = 11;
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ repeated sint64 claim_ids = 12;
}
message GetValidatorsRequest {
@@ -266,6 +286,8 @@ message Validator {
repeated SlashingEvent slashing_events = 21;
// uptime percentage base on latest 10k block
double uptime_percentage = 22;
+ // URL of the validator logo
+ string image_url = 23;
}
message ValidatorDescription {
@@ -274,6 +296,7 @@ message ValidatorDescription {
string website = 3;
string security_contact = 4;
string details = 5;
+ string image_url = 6;
}
message ValidatorUptime {
@@ -324,6 +347,14 @@ message GetTxsRequest {
string module = 6;
sint64 from_number = 7;
sint64 to_number = 8;
+ // The starting timestamp in UNIX milliseconds that the txs must be equal or
+// older than
+ sint64 start_time = 9;
+ // The ending timestamp in UNIX milliseconds that the txs must be equal or
+// younger than
+ sint64 end_time = 10;
+ // The status of the txs to be returned
+ string status = 11;
}
message GetTxsResponse {
@@ -573,6 +604,8 @@ message GetWasmContractsRequest {
sint64 to_number = 4;
bool assets_only = 5;
sint64 skip = 6;
+ // Label of the contract
+ string label = 7;
}
message GetWasmContractsResponse {
@@ -736,6 +769,48 @@ message Relayer {
string cta = 2;
}
+message GetBankTransfersRequest {
+ // Transfer sender address
+ repeated string senders = 1;
+ // Transfer recipient address
+ repeated string recipients = 2;
+ // Returns transfers with the community pool address as either sender or
+// recipient
+ bool is_community_pool_related = 3;
+ sint32 limit = 4;
+ uint64 skip = 5;
+ // The starting timestamp in UNIX milliseconds that the transfers must be equal
+// or older than
+ sint64 start_time = 6;
+ // The ending timestamp in UNIX milliseconds that the transfers must be equal
+// or younger than
+ sint64 end_time = 7;
+ // Transfers where either the sender or the recipient is one of the addresses
+ repeated string address = 8;
+ sint32 per_page = 9;
+ string token = 10;
+}
+
+message GetBankTransfersResponse {
+ Paging paging = 1;
+ repeated BankTransfer data = 2;
+}
+// Bank transfer represents a transfer
+message BankTransfer {
+ string sender = 1;
+ string recipient = 2;
+ // Amounts transferred
+ repeated Coin amounts = 3;
+ uint64 block_number = 4;
+ string block_timestamp = 5;
+}
+
+message Coin {
+ // Denom of the coin
+ string denom = 1;
+ string amount = 2;
+}
+
message StreamTxsRequest {
}
@@ -750,6 +825,8 @@ message StreamTxsResponse {
// Transaction log indicating errors
string error_log = 8;
uint32 code = 9;
+ // peggy bridge claim id, non-zero if tx contains MsgDepositClaim
+ repeated sint64 claim_ids = 10;
}
message StreamBlocksRequest {
diff --git a/exchange/explorer_rpc/pb/injective_explorer_rpc_grpc.pb.go b/exchange/explorer_rpc/pb/injective_explorer_rpc_grpc.pb.go
index aa7b54f6..01147736 100644
--- a/exchange/explorer_rpc/pb/injective_explorer_rpc_grpc.pb.go
+++ b/exchange/explorer_rpc/pb/injective_explorer_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_explorer_rpc.proto
package injective_explorer_rpcpb
@@ -58,6 +62,8 @@ type InjectiveExplorerRPCClient interface {
// Request relayers infos by marketIDs. If no ids are provided, all market with
// associated relayers are returned
Relayers(ctx context.Context, in *RelayersRequest, opts ...grpc.CallOption) (*RelayersResponse, error)
+ // GetBankTransfers returns bank transfers.
+ GetBankTransfers(ctx context.Context, in *GetBankTransfersRequest, opts ...grpc.CallOption) (*GetBankTransfersResponse, error)
// StreamTxs returns transactions based upon the request params
StreamTxs(ctx context.Context, in *StreamTxsRequest, opts ...grpc.CallOption) (InjectiveExplorerRPC_StreamTxsClient, error)
// StreamBlocks returns the latest blocks
@@ -234,6 +240,15 @@ func (c *injectiveExplorerRPCClient) Relayers(ctx context.Context, in *RelayersR
return out, nil
}
+func (c *injectiveExplorerRPCClient) GetBankTransfers(ctx context.Context, in *GetBankTransfersRequest, opts ...grpc.CallOption) (*GetBankTransfersResponse, error) {
+ out := new(GetBankTransfersResponse)
+ err := c.cc.Invoke(ctx, "/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *injectiveExplorerRPCClient) StreamTxs(ctx context.Context, in *StreamTxsRequest, opts ...grpc.CallOption) (InjectiveExplorerRPC_StreamTxsClient, error) {
stream, err := c.cc.NewStream(ctx, &InjectiveExplorerRPC_ServiceDesc.Streams[0], "/injective_explorer_rpc.InjectiveExplorerRPC/StreamTxs", opts...)
if err != nil {
@@ -342,6 +357,8 @@ type InjectiveExplorerRPCServer interface {
// Request relayers infos by marketIDs. If no ids are provided, all market with
// associated relayers are returned
Relayers(context.Context, *RelayersRequest) (*RelayersResponse, error)
+ // GetBankTransfers returns bank transfers.
+ GetBankTransfers(context.Context, *GetBankTransfersRequest) (*GetBankTransfersResponse, error)
// StreamTxs returns transactions based upon the request params
StreamTxs(*StreamTxsRequest, InjectiveExplorerRPC_StreamTxsServer) error
// StreamBlocks returns the latest blocks
@@ -407,6 +424,9 @@ func (UnimplementedInjectiveExplorerRPCServer) GetCw20Balance(context.Context, *
func (UnimplementedInjectiveExplorerRPCServer) Relayers(context.Context, *RelayersRequest) (*RelayersResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Relayers not implemented")
}
+func (UnimplementedInjectiveExplorerRPCServer) GetBankTransfers(context.Context, *GetBankTransfersRequest) (*GetBankTransfersResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method GetBankTransfers not implemented")
+}
func (UnimplementedInjectiveExplorerRPCServer) StreamTxs(*StreamTxsRequest, InjectiveExplorerRPC_StreamTxsServer) error {
return status.Errorf(codes.Unimplemented, "method StreamTxs not implemented")
}
@@ -750,6 +770,24 @@ func _InjectiveExplorerRPC_Relayers_Handler(srv interface{}, ctx context.Context
return interceptor(ctx, in, info, handler)
}
+func _InjectiveExplorerRPC_GetBankTransfers_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(GetBankTransfersRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(InjectiveExplorerRPCServer).GetBankTransfers(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective_explorer_rpc.InjectiveExplorerRPC/GetBankTransfers",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(InjectiveExplorerRPCServer).GetBankTransfers(ctx, req.(*GetBankTransfersRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _InjectiveExplorerRPC_StreamTxs_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamTxsRequest)
if err := stream.RecvMsg(m); err != nil {
@@ -871,6 +909,10 @@ var InjectiveExplorerRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "Relayers",
Handler: _InjectiveExplorerRPC_Relayers_Handler,
},
+ {
+ MethodName: "GetBankTransfers",
+ Handler: _InjectiveExplorerRPC_GetBankTransfers_Handler,
+ },
},
Streams: []grpc.StreamDesc{
{
diff --git a/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.go b/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.go
index d733f1aa..44e04132 100644
--- a/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.go
+++ b/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_insurance_rpc.proto
package injective_insurance_rpcpb
diff --git a/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.gw.go b/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.gw.go
index 54821ee5..fc3221f7 100644
--- a/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.gw.go
+++ b/exchange/insurance_rpc/pb/injective_insurance_rpc.pb.gw.go
@@ -111,20 +111,22 @@ func RegisterInjectiveInsuranceRPCHandlerServer(ctx context.Context, mux *runtim
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Funds", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Funds"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Funds", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Funds"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveInsuranceRPC_Funds_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveInsuranceRPC_Funds_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveInsuranceRPC_Funds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveInsuranceRPC_Funds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -134,20 +136,22 @@ func RegisterInjectiveInsuranceRPCHandlerServer(ctx context.Context, mux *runtim
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveInsuranceRPC_Redemptions_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveInsuranceRPC_Redemptions_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveInsuranceRPC_Redemptions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveInsuranceRPC_Redemptions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -196,19 +200,21 @@ func RegisterInjectiveInsuranceRPCHandlerClient(ctx context.Context, mux *runtim
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Funds", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Funds"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Funds", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Funds"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveInsuranceRPC_Funds_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveInsuranceRPC_Funds_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveInsuranceRPC_Funds_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveInsuranceRPC_Funds_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -216,19 +222,21 @@ func RegisterInjectiveInsuranceRPCHandlerClient(ctx context.Context, mux *runtim
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions", runtime.WithHTTPPathPattern("/injective_insurance_rpc.InjectiveInsuranceRPC/Redemptions"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveInsuranceRPC_Redemptions_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveInsuranceRPC_Redemptions_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveInsuranceRPC_Redemptions_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveInsuranceRPC_Redemptions_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
diff --git a/exchange/insurance_rpc/pb/injective_insurance_rpc_grpc.pb.go b/exchange/insurance_rpc/pb/injective_insurance_rpc_grpc.pb.go
index c2da7f7a..80b617f7 100644
--- a/exchange/insurance_rpc/pb/injective_insurance_rpc_grpc.pb.go
+++ b/exchange/insurance_rpc/pb/injective_insurance_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_insurance_rpc.proto
package injective_insurance_rpcpb
diff --git a/exchange/meta_rpc/pb/injective_meta_rpc.pb.go b/exchange/meta_rpc/pb/injective_meta_rpc.pb.go
index 93a572b2..13e4b89d 100644
--- a/exchange/meta_rpc/pb/injective_meta_rpc.pb.go
+++ b/exchange/meta_rpc/pb/injective_meta_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_meta_rpc.proto
package injective_meta_rpcpb
@@ -434,6 +434,203 @@ func (x *StreamKeepaliveResponse) GetTimestamp() int64 {
return 0
}
+type TokenMetadataRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Denoms []string `protobuf:"bytes,1,rep,name=denoms,proto3" json:"denoms,omitempty"`
+}
+
+func (x *TokenMetadataRequest) Reset() {
+ *x = TokenMetadataRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_meta_rpc_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TokenMetadataRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TokenMetadataRequest) ProtoMessage() {}
+
+func (x *TokenMetadataRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_meta_rpc_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TokenMetadataRequest.ProtoReflect.Descriptor instead.
+func (*TokenMetadataRequest) Descriptor() ([]byte, []int) {
+ return file_injective_meta_rpc_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *TokenMetadataRequest) GetDenoms() []string {
+ if x != nil {
+ return x.Denoms
+ }
+ return nil
+}
+
+type TokenMetadataResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // tokens and their metadata list
+ Tokens []*TokenMetadataElement `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
+}
+
+func (x *TokenMetadataResponse) Reset() {
+ *x = TokenMetadataResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_meta_rpc_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TokenMetadataResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TokenMetadataResponse) ProtoMessage() {}
+
+func (x *TokenMetadataResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_meta_rpc_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TokenMetadataResponse.ProtoReflect.Descriptor instead.
+func (*TokenMetadataResponse) Descriptor() ([]byte, []int) {
+ return file_injective_meta_rpc_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *TokenMetadataResponse) GetTokens() []*TokenMetadataElement {
+ if x != nil {
+ return x.Tokens
+ }
+ return nil
+}
+
+type TokenMetadataElement struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Token's Ethereum address, not all token have this information
+ EthereumAddress string `protobuf:"bytes,1,opt,name=ethereum_address,json=ethereumAddress,proto3" json:"ethereum_address,omitempty"`
+ // Token's CoinGecko id for price references
+ CoingeckoId string `protobuf:"bytes,2,opt,name=coingecko_id,json=coingeckoId,proto3" json:"coingecko_id,omitempty"`
+ // Token's denom on injective chain
+ Denom string `protobuf:"bytes,3,opt,name=denom,proto3" json:"denom,omitempty"`
+ // Token name
+ Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
+ // Token symbol
+ Symbol string `protobuf:"bytes,5,opt,name=symbol,proto3" json:"symbol,omitempty"`
+ // Number of decimal places used to represent the token's smallest unit
+ Decimals int32 `protobuf:"zigzag32,6,opt,name=decimals,proto3" json:"decimals,omitempty"`
+ // Token logo URL
+ Logo string `protobuf:"bytes,7,opt,name=logo,proto3" json:"logo,omitempty"`
+}
+
+func (x *TokenMetadataElement) Reset() {
+ *x = TokenMetadataElement{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_meta_rpc_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *TokenMetadataElement) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*TokenMetadataElement) ProtoMessage() {}
+
+func (x *TokenMetadataElement) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_meta_rpc_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use TokenMetadataElement.ProtoReflect.Descriptor instead.
+func (*TokenMetadataElement) Descriptor() ([]byte, []int) {
+ return file_injective_meta_rpc_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *TokenMetadataElement) GetEthereumAddress() string {
+ if x != nil {
+ return x.EthereumAddress
+ }
+ return ""
+}
+
+func (x *TokenMetadataElement) GetCoingeckoId() string {
+ if x != nil {
+ return x.CoingeckoId
+ }
+ return ""
+}
+
+func (x *TokenMetadataElement) GetDenom() string {
+ if x != nil {
+ return x.Denom
+ }
+ return ""
+}
+
+func (x *TokenMetadataElement) GetName() string {
+ if x != nil {
+ return x.Name
+ }
+ return ""
+}
+
+func (x *TokenMetadataElement) GetSymbol() string {
+ if x != nil {
+ return x.Symbol
+ }
+ return ""
+}
+
+func (x *TokenMetadataElement) GetDecimals() int32 {
+ if x != nil {
+ return x.Decimals
+ }
+ return 0
+}
+
+func (x *TokenMetadataElement) GetLogo() string {
+ if x != nil {
+ return x.Logo
+ }
+ return ""
+}
+
var File_injective_meta_rpc_proto protoreflect.FileDescriptor
var file_injective_meta_rpc_proto_rawDesc = []byte{
@@ -481,32 +678,60 @@ var file_injective_meta_rpc_proto_rawDesc = []byte{
0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x45,
0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xea, 0x02, 0x0a, 0x10, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x50, 0x43, 0x12, 0x49, 0x0a, 0x04, 0x50, 0x69,
- 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d,
- 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73,
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
- 0x12, 0x22, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74,
- 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x2e, 0x0a, 0x14, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a,
+ 0x06, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64,
+ 0x65, 0x6e, 0x6f, 0x6d, 0x73, 0x22, 0x59, 0x0a, 0x15, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65,
+ 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40,
+ 0x0a, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
+ 0x61, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73,
+ 0x22, 0xd6, 0x01, 0x0a, 0x14, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
+ 0x74, 0x61, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x65, 0x74, 0x68,
+ 0x65, 0x72, 0x65, 0x75, 0x6d, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x74, 0x68, 0x65, 0x72, 0x65, 0x75, 0x6d, 0x41, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x69, 0x6e, 0x67, 0x65, 0x63, 0x6b,
+ 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x69, 0x6e,
+ 0x67, 0x65, 0x63, 0x6b, 0x6f, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x12, 0x0a,
+ 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
+ 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63,
+ 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x64, 0x65, 0x63,
+ 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x07, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x32, 0xd0, 0x03, 0x0a, 0x10, 0x49, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x50, 0x43, 0x12, 0x49,
+ 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e,
+ 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x07, 0x56, 0x65, 0x72,
+ 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f,
- 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x04, 0x49, 0x6e, 0x66,
- 0x6f, 0x12, 0x1f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65,
- 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d,
- 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65,
- 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65,
+ 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a,
+ 0x04, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x66, 0x6f,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x0f, 0x53, 0x74, 0x72, 0x65,
+ 0x61, 0x6d, 0x4b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x12, 0x2a, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4b,
- 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x30, 0x01, 0x42, 0x17, 0x5a, 0x15, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
- 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x33,
+ 0x65, 0x61, 0x6d, 0x4b, 0x65, 0x65, 0x70, 0x61, 0x6c, 0x69, 0x76, 0x65, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x64, 0x0a, 0x0d, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d,
+ 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x28, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b,
+ 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x29, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65,
+ 0x74, 0x61, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61,
+ 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x17, 0x5a, 0x15,
+ 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x5f,
+ 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
@@ -521,7 +746,7 @@ func file_injective_meta_rpc_proto_rawDescGZIP() []byte {
return file_injective_meta_rpc_proto_rawDescData
}
-var file_injective_meta_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
+var file_injective_meta_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_injective_meta_rpc_proto_goTypes = []interface{}{
(*PingRequest)(nil), // 0: injective_meta_rpc.PingRequest
(*PingResponse)(nil), // 1: injective_meta_rpc.PingResponse
@@ -531,25 +756,31 @@ var file_injective_meta_rpc_proto_goTypes = []interface{}{
(*InfoResponse)(nil), // 5: injective_meta_rpc.InfoResponse
(*StreamKeepaliveRequest)(nil), // 6: injective_meta_rpc.StreamKeepaliveRequest
(*StreamKeepaliveResponse)(nil), // 7: injective_meta_rpc.StreamKeepaliveResponse
- nil, // 8: injective_meta_rpc.VersionResponse.BuildEntry
- nil, // 9: injective_meta_rpc.InfoResponse.BuildEntry
+ (*TokenMetadataRequest)(nil), // 8: injective_meta_rpc.TokenMetadataRequest
+ (*TokenMetadataResponse)(nil), // 9: injective_meta_rpc.TokenMetadataResponse
+ (*TokenMetadataElement)(nil), // 10: injective_meta_rpc.TokenMetadataElement
+ nil, // 11: injective_meta_rpc.VersionResponse.BuildEntry
+ nil, // 12: injective_meta_rpc.InfoResponse.BuildEntry
}
var file_injective_meta_rpc_proto_depIdxs = []int32{
- 8, // 0: injective_meta_rpc.VersionResponse.build:type_name -> injective_meta_rpc.VersionResponse.BuildEntry
- 9, // 1: injective_meta_rpc.InfoResponse.build:type_name -> injective_meta_rpc.InfoResponse.BuildEntry
- 0, // 2: injective_meta_rpc.InjectiveMetaRPC.Ping:input_type -> injective_meta_rpc.PingRequest
- 2, // 3: injective_meta_rpc.InjectiveMetaRPC.Version:input_type -> injective_meta_rpc.VersionRequest
- 4, // 4: injective_meta_rpc.InjectiveMetaRPC.Info:input_type -> injective_meta_rpc.InfoRequest
- 6, // 5: injective_meta_rpc.InjectiveMetaRPC.StreamKeepalive:input_type -> injective_meta_rpc.StreamKeepaliveRequest
- 1, // 6: injective_meta_rpc.InjectiveMetaRPC.Ping:output_type -> injective_meta_rpc.PingResponse
- 3, // 7: injective_meta_rpc.InjectiveMetaRPC.Version:output_type -> injective_meta_rpc.VersionResponse
- 5, // 8: injective_meta_rpc.InjectiveMetaRPC.Info:output_type -> injective_meta_rpc.InfoResponse
- 7, // 9: injective_meta_rpc.InjectiveMetaRPC.StreamKeepalive:output_type -> injective_meta_rpc.StreamKeepaliveResponse
- 6, // [6:10] is the sub-list for method output_type
- 2, // [2:6] is the sub-list for method input_type
- 2, // [2:2] is the sub-list for extension type_name
- 2, // [2:2] is the sub-list for extension extendee
- 0, // [0:2] is the sub-list for field type_name
+ 11, // 0: injective_meta_rpc.VersionResponse.build:type_name -> injective_meta_rpc.VersionResponse.BuildEntry
+ 12, // 1: injective_meta_rpc.InfoResponse.build:type_name -> injective_meta_rpc.InfoResponse.BuildEntry
+ 10, // 2: injective_meta_rpc.TokenMetadataResponse.tokens:type_name -> injective_meta_rpc.TokenMetadataElement
+ 0, // 3: injective_meta_rpc.InjectiveMetaRPC.Ping:input_type -> injective_meta_rpc.PingRequest
+ 2, // 4: injective_meta_rpc.InjectiveMetaRPC.Version:input_type -> injective_meta_rpc.VersionRequest
+ 4, // 5: injective_meta_rpc.InjectiveMetaRPC.Info:input_type -> injective_meta_rpc.InfoRequest
+ 6, // 6: injective_meta_rpc.InjectiveMetaRPC.StreamKeepalive:input_type -> injective_meta_rpc.StreamKeepaliveRequest
+ 8, // 7: injective_meta_rpc.InjectiveMetaRPC.TokenMetadata:input_type -> injective_meta_rpc.TokenMetadataRequest
+ 1, // 8: injective_meta_rpc.InjectiveMetaRPC.Ping:output_type -> injective_meta_rpc.PingResponse
+ 3, // 9: injective_meta_rpc.InjectiveMetaRPC.Version:output_type -> injective_meta_rpc.VersionResponse
+ 5, // 10: injective_meta_rpc.InjectiveMetaRPC.Info:output_type -> injective_meta_rpc.InfoResponse
+ 7, // 11: injective_meta_rpc.InjectiveMetaRPC.StreamKeepalive:output_type -> injective_meta_rpc.StreamKeepaliveResponse
+ 9, // 12: injective_meta_rpc.InjectiveMetaRPC.TokenMetadata:output_type -> injective_meta_rpc.TokenMetadataResponse
+ 8, // [8:13] is the sub-list for method output_type
+ 3, // [3:8] is the sub-list for method input_type
+ 3, // [3:3] is the sub-list for extension type_name
+ 3, // [3:3] is the sub-list for extension extendee
+ 0, // [0:3] is the sub-list for field type_name
}
func init() { file_injective_meta_rpc_proto_init() }
@@ -654,6 +885,42 @@ func file_injective_meta_rpc_proto_init() {
return nil
}
}
+ file_injective_meta_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TokenMetadataRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_meta_rpc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TokenMetadataResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_meta_rpc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*TokenMetadataElement); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
}
type x struct{}
out := protoimpl.TypeBuilder{
@@ -661,7 +928,7 @@ func file_injective_meta_rpc_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_injective_meta_rpc_proto_rawDesc,
NumEnums: 0,
- NumMessages: 10,
+ NumMessages: 13,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/exchange/meta_rpc/pb/injective_meta_rpc.pb.gw.go b/exchange/meta_rpc/pb/injective_meta_rpc.pb.gw.go
index 1c95b50e..00df0503 100644
--- a/exchange/meta_rpc/pb/injective_meta_rpc.pb.gw.go
+++ b/exchange/meta_rpc/pb/injective_meta_rpc.pb.gw.go
@@ -158,6 +158,40 @@ func request_InjectiveMetaRPC_StreamKeepalive_0(ctx context.Context, marshaler r
}
+func request_InjectiveMetaRPC_TokenMetadata_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveMetaRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq TokenMetadataRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := client.TokenMetadata(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_InjectiveMetaRPC_TokenMetadata_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveMetaRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq TokenMetadataRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := server.TokenMetadata(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
// RegisterInjectiveMetaRPCHandlerServer registers the http handlers for service InjectiveMetaRPC to "mux".
// UnaryRPC :call InjectiveMetaRPCServer directly.
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
@@ -170,20 +204,22 @@ func RegisterInjectiveMetaRPCHandlerServer(ctx context.Context, mux *runtime.Ser
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Ping", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Ping"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Ping", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Ping"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveMetaRPC_Ping_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveMetaRPC_Ping_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveMetaRPC_Ping_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveMetaRPC_Ping_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -193,20 +229,22 @@ func RegisterInjectiveMetaRPCHandlerServer(ctx context.Context, mux *runtime.Ser
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Version", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Version"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Version", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Version"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveMetaRPC_Version_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveMetaRPC_Version_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveMetaRPC_Version_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveMetaRPC_Version_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -216,20 +254,22 @@ func RegisterInjectiveMetaRPCHandlerServer(ctx context.Context, mux *runtime.Ser
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Info", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Info"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Info", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Info"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveMetaRPC_Info_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveMetaRPC_Info_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveMetaRPC_Info_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveMetaRPC_Info_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -240,6 +280,31 @@ func RegisterInjectiveMetaRPCHandlerServer(ctx context.Context, mux *runtime.Ser
return
})
+ mux.Handle("POST", pattern_InjectiveMetaRPC_TokenMetadata_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ var stream runtime.ServerTransportStream
+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata"))
+ if err != nil {
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ }
+ resp, md, err := local_request_InjectiveMetaRPC_TokenMetadata_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectiveMetaRPC_TokenMetadata_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
return nil
}
@@ -285,19 +350,21 @@ func RegisterInjectiveMetaRPCHandlerClient(ctx context.Context, mux *runtime.Ser
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Ping", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Ping"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Ping", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Ping"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveMetaRPC_Ping_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveMetaRPC_Ping_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveMetaRPC_Ping_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveMetaRPC_Ping_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -305,19 +372,21 @@ func RegisterInjectiveMetaRPCHandlerClient(ctx context.Context, mux *runtime.Ser
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Version", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Version"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Version", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Version"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveMetaRPC_Version_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveMetaRPC_Version_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveMetaRPC_Version_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveMetaRPC_Version_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -325,19 +394,21 @@ func RegisterInjectiveMetaRPCHandlerClient(ctx context.Context, mux *runtime.Ser
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Info", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Info"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/Info", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/Info"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveMetaRPC_Info_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveMetaRPC_Info_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveMetaRPC_Info_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveMetaRPC_Info_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -345,19 +416,43 @@ func RegisterInjectiveMetaRPCHandlerClient(ctx context.Context, mux *runtime.Ser
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/StreamKeepalive", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/StreamKeepalive"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/StreamKeepalive", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/StreamKeepalive"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveMetaRPC_StreamKeepalive_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveMetaRPC_StreamKeepalive_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectiveMetaRPC_StreamKeepalive_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+
+ })
+
+ mux.Handle("POST", pattern_InjectiveMetaRPC_TokenMetadata_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata", runtime.WithHTTPPathPattern("/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
+ resp, md, err := request_InjectiveMetaRPC_TokenMetadata_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
- forward_InjectiveMetaRPC_StreamKeepalive_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveMetaRPC_TokenMetadata_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -372,6 +467,8 @@ var (
pattern_InjectiveMetaRPC_Info_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_meta_rpc.InjectiveMetaRPC", "Info"}, ""))
pattern_InjectiveMetaRPC_StreamKeepalive_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_meta_rpc.InjectiveMetaRPC", "StreamKeepalive"}, ""))
+
+ pattern_InjectiveMetaRPC_TokenMetadata_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_meta_rpc.InjectiveMetaRPC", "TokenMetadata"}, ""))
)
var (
@@ -382,4 +479,6 @@ var (
forward_InjectiveMetaRPC_Info_0 = runtime.ForwardResponseMessage
forward_InjectiveMetaRPC_StreamKeepalive_0 = runtime.ForwardResponseStream
+
+ forward_InjectiveMetaRPC_TokenMetadata_0 = runtime.ForwardResponseMessage
)
diff --git a/exchange/meta_rpc/pb/injective_meta_rpc.proto b/exchange/meta_rpc/pb/injective_meta_rpc.proto
index 4cfc6fd4..ed6001d3 100644
--- a/exchange/meta_rpc/pb/injective_meta_rpc.proto
+++ b/exchange/meta_rpc/pb/injective_meta_rpc.proto
@@ -22,6 +22,8 @@ service InjectiveMetaRPC {
// Stream keepalive, if server exits, a shutdown event will be sent over this
// channel.
rpc StreamKeepalive (StreamKeepaliveRequest) returns (stream StreamKeepaliveResponse);
+ // Get tokens metadata. Can be filtered by denom
+ rpc TokenMetadata (TokenMetadataRequest) returns (TokenMetadataResponse);
}
message PingRequest {
@@ -69,3 +71,29 @@ message StreamKeepaliveResponse {
// Operation timestamp in UNIX millis.
sint64 timestamp = 3;
}
+
+message TokenMetadataRequest {
+ repeated string denoms = 1;
+}
+
+message TokenMetadataResponse {
+ // tokens and their metadata list
+ repeated TokenMetadataElement tokens = 1;
+}
+
+message TokenMetadataElement {
+ // Token's Ethereum address, not all token have this information
+ string ethereum_address = 1;
+ // Token's CoinGecko id for price references
+ string coingecko_id = 2;
+ // Token's denom on injective chain
+ string denom = 3;
+ // Token name
+ string name = 4;
+ // Token symbol
+ string symbol = 5;
+ // Number of decimal places used to represent the token's smallest unit
+ sint32 decimals = 6;
+ // Token logo URL
+ string logo = 7;
+}
diff --git a/exchange/meta_rpc/pb/injective_meta_rpc_grpc.pb.go b/exchange/meta_rpc/pb/injective_meta_rpc_grpc.pb.go
index e807dd66..eaf948ad 100644
--- a/exchange/meta_rpc/pb/injective_meta_rpc_grpc.pb.go
+++ b/exchange/meta_rpc/pb/injective_meta_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_meta_rpc.proto
package injective_meta_rpcpb
@@ -27,6 +31,8 @@ type InjectiveMetaRPCClient interface {
// Stream keepalive, if server exits, a shutdown event will be sent over this
// channel.
StreamKeepalive(ctx context.Context, in *StreamKeepaliveRequest, opts ...grpc.CallOption) (InjectiveMetaRPC_StreamKeepaliveClient, error)
+ // Get tokens metadata. Can be filtered by denom
+ TokenMetadata(ctx context.Context, in *TokenMetadataRequest, opts ...grpc.CallOption) (*TokenMetadataResponse, error)
}
type injectiveMetaRPCClient struct {
@@ -96,6 +102,15 @@ func (x *injectiveMetaRPCStreamKeepaliveClient) Recv() (*StreamKeepaliveResponse
return m, nil
}
+func (c *injectiveMetaRPCClient) TokenMetadata(ctx context.Context, in *TokenMetadataRequest, opts ...grpc.CallOption) (*TokenMetadataResponse, error) {
+ out := new(TokenMetadataResponse)
+ err := c.cc.Invoke(ctx, "/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
// InjectiveMetaRPCServer is the server API for InjectiveMetaRPC service.
// All implementations must embed UnimplementedInjectiveMetaRPCServer
// for forward compatibility
@@ -109,6 +124,8 @@ type InjectiveMetaRPCServer interface {
// Stream keepalive, if server exits, a shutdown event will be sent over this
// channel.
StreamKeepalive(*StreamKeepaliveRequest, InjectiveMetaRPC_StreamKeepaliveServer) error
+ // Get tokens metadata. Can be filtered by denom
+ TokenMetadata(context.Context, *TokenMetadataRequest) (*TokenMetadataResponse, error)
mustEmbedUnimplementedInjectiveMetaRPCServer()
}
@@ -128,6 +145,9 @@ func (UnimplementedInjectiveMetaRPCServer) Info(context.Context, *InfoRequest) (
func (UnimplementedInjectiveMetaRPCServer) StreamKeepalive(*StreamKeepaliveRequest, InjectiveMetaRPC_StreamKeepaliveServer) error {
return status.Errorf(codes.Unimplemented, "method StreamKeepalive not implemented")
}
+func (UnimplementedInjectiveMetaRPCServer) TokenMetadata(context.Context, *TokenMetadataRequest) (*TokenMetadataResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method TokenMetadata not implemented")
+}
func (UnimplementedInjectiveMetaRPCServer) mustEmbedUnimplementedInjectiveMetaRPCServer() {}
// UnsafeInjectiveMetaRPCServer may be embedded to opt out of forward compatibility for this service.
@@ -216,6 +236,24 @@ func (x *injectiveMetaRPCStreamKeepaliveServer) Send(m *StreamKeepaliveResponse)
return x.ServerStream.SendMsg(m)
}
+func _InjectiveMetaRPC_TokenMetadata_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(TokenMetadataRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(InjectiveMetaRPCServer).TokenMetadata(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective_meta_rpc.InjectiveMetaRPC/TokenMetadata",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(InjectiveMetaRPCServer).TokenMetadata(ctx, req.(*TokenMetadataRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
// InjectiveMetaRPC_ServiceDesc is the grpc.ServiceDesc for InjectiveMetaRPC service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
@@ -235,6 +273,10 @@ var InjectiveMetaRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "Info",
Handler: _InjectiveMetaRPC_Info_Handler,
},
+ {
+ MethodName: "TokenMetadata",
+ Handler: _InjectiveMetaRPC_TokenMetadata_Handler,
+ },
},
Streams: []grpc.StreamDesc{
{
diff --git a/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.go b/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.go
index 48641c3e..624536d1 100644
--- a/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.go
+++ b/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_oracle_rpc.proto
package injective_oracle_rpcpb
diff --git a/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.gw.go b/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.gw.go
index 10332f0e..6880d0ca 100644
--- a/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.gw.go
+++ b/exchange/oracle_rpc/pb/injective_oracle_rpc.pb.gw.go
@@ -161,20 +161,22 @@ func RegisterInjectiveOracleRPCHandlerServer(ctx context.Context, mux *runtime.S
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/OracleList", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/OracleList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/OracleList", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/OracleList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveOracleRPC_OracleList_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveOracleRPC_OracleList_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveOracleRPC_OracleList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveOracleRPC_OracleList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -184,20 +186,22 @@ func RegisterInjectiveOracleRPCHandlerServer(ctx context.Context, mux *runtime.S
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/Price", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/Price"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/Price", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/Price"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveOracleRPC_Price_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveOracleRPC_Price_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveOracleRPC_Price_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveOracleRPC_Price_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -260,19 +264,21 @@ func RegisterInjectiveOracleRPCHandlerClient(ctx context.Context, mux *runtime.S
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/OracleList", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/OracleList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/OracleList", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/OracleList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveOracleRPC_OracleList_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveOracleRPC_OracleList_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveOracleRPC_OracleList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveOracleRPC_OracleList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -280,19 +286,21 @@ func RegisterInjectiveOracleRPCHandlerClient(ctx context.Context, mux *runtime.S
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/Price", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/Price"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/Price", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/Price"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveOracleRPC_Price_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveOracleRPC_Price_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveOracleRPC_Price_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveOracleRPC_Price_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -300,19 +308,21 @@ func RegisterInjectiveOracleRPCHandlerClient(ctx context.Context, mux *runtime.S
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/StreamPrices", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/StreamPrices"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/StreamPrices", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/StreamPrices"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveOracleRPC_StreamPrices_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveOracleRPC_StreamPrices_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveOracleRPC_StreamPrices_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveOracleRPC_StreamPrices_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -320,19 +330,21 @@ func RegisterInjectiveOracleRPCHandlerClient(ctx context.Context, mux *runtime.S
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/StreamPricesByMarkets", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/StreamPricesByMarkets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_oracle_rpc.InjectiveOracleRPC/StreamPricesByMarkets", runtime.WithHTTPPathPattern("/injective_oracle_rpc.InjectiveOracleRPC/StreamPricesByMarkets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveOracleRPC_StreamPricesByMarkets_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveOracleRPC_StreamPricesByMarkets_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveOracleRPC_StreamPricesByMarkets_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveOracleRPC_StreamPricesByMarkets_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
diff --git a/exchange/oracle_rpc/pb/injective_oracle_rpc_grpc.pb.go b/exchange/oracle_rpc/pb/injective_oracle_rpc_grpc.pb.go
index 169bec13..5faafb8b 100644
--- a/exchange/oracle_rpc/pb/injective_oracle_rpc_grpc.pb.go
+++ b/exchange/oracle_rpc/pb/injective_oracle_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_oracle_rpc.proto
package injective_oracle_rpcpb
diff --git a/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.go b/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.go
index 5f5d138a..2b598ab5 100644
--- a/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.go
+++ b/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_portfolio_rpc.proto
package injective_portfolio_rpcpb
@@ -577,6 +577,168 @@ func (x *DerivativePosition) GetCreatedAt() int64 {
return 0
}
+type AccountPortfolioBalancesRequest struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Account address
+ AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+}
+
+func (x *AccountPortfolioBalancesRequest) Reset() {
+ *x = AccountPortfolioBalancesRequest{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[8]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AccountPortfolioBalancesRequest) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AccountPortfolioBalancesRequest) ProtoMessage() {}
+
+func (x *AccountPortfolioBalancesRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[8]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AccountPortfolioBalancesRequest.ProtoReflect.Descriptor instead.
+func (*AccountPortfolioBalancesRequest) Descriptor() ([]byte, []int) {
+ return file_injective_portfolio_rpc_proto_rawDescGZIP(), []int{8}
+}
+
+func (x *AccountPortfolioBalancesRequest) GetAccountAddress() string {
+ if x != nil {
+ return x.AccountAddress
+ }
+ return ""
+}
+
+type AccountPortfolioBalancesResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The portfolio balances of this account
+ Portfolio *PortfolioBalances `protobuf:"bytes,1,opt,name=portfolio,proto3" json:"portfolio,omitempty"`
+}
+
+func (x *AccountPortfolioBalancesResponse) Reset() {
+ *x = AccountPortfolioBalancesResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[9]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *AccountPortfolioBalancesResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*AccountPortfolioBalancesResponse) ProtoMessage() {}
+
+func (x *AccountPortfolioBalancesResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[9]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use AccountPortfolioBalancesResponse.ProtoReflect.Descriptor instead.
+func (*AccountPortfolioBalancesResponse) Descriptor() ([]byte, []int) {
+ return file_injective_portfolio_rpc_proto_rawDescGZIP(), []int{9}
+}
+
+func (x *AccountPortfolioBalancesResponse) GetPortfolio() *PortfolioBalances {
+ if x != nil {
+ return x.Portfolio
+ }
+ return nil
+}
+
+type PortfolioBalances struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // The account's portfolio address
+ AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Account available bank balances
+ BankBalances []*Coin `protobuf:"bytes,2,rep,name=bank_balances,json=bankBalances,proto3" json:"bank_balances,omitempty"`
+ // Subaccounts list
+ Subaccounts []*SubaccountBalanceV2 `protobuf:"bytes,3,rep,name=subaccounts,proto3" json:"subaccounts,omitempty"`
+}
+
+func (x *PortfolioBalances) Reset() {
+ *x = PortfolioBalances{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[10]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *PortfolioBalances) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PortfolioBalances) ProtoMessage() {}
+
+func (x *PortfolioBalances) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[10]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use PortfolioBalances.ProtoReflect.Descriptor instead.
+func (*PortfolioBalances) Descriptor() ([]byte, []int) {
+ return file_injective_portfolio_rpc_proto_rawDescGZIP(), []int{10}
+}
+
+func (x *PortfolioBalances) GetAccountAddress() string {
+ if x != nil {
+ return x.AccountAddress
+ }
+ return ""
+}
+
+func (x *PortfolioBalances) GetBankBalances() []*Coin {
+ if x != nil {
+ return x.BankBalances
+ }
+ return nil
+}
+
+func (x *PortfolioBalances) GetSubaccounts() []*SubaccountBalanceV2 {
+ if x != nil {
+ return x.Subaccounts
+ }
+ return nil
+}
+
type StreamAccountPortfolioRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -592,7 +754,7 @@ type StreamAccountPortfolioRequest struct {
func (x *StreamAccountPortfolioRequest) Reset() {
*x = StreamAccountPortfolioRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_portfolio_rpc_proto_msgTypes[8]
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -605,7 +767,7 @@ func (x *StreamAccountPortfolioRequest) String() string {
func (*StreamAccountPortfolioRequest) ProtoMessage() {}
func (x *StreamAccountPortfolioRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_portfolio_rpc_proto_msgTypes[8]
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[11]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -618,7 +780,7 @@ func (x *StreamAccountPortfolioRequest) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamAccountPortfolioRequest.ProtoReflect.Descriptor instead.
func (*StreamAccountPortfolioRequest) Descriptor() ([]byte, []int) {
- return file_injective_portfolio_rpc_proto_rawDescGZIP(), []int{8}
+ return file_injective_portfolio_rpc_proto_rawDescGZIP(), []int{11}
}
func (x *StreamAccountPortfolioRequest) GetAccountAddress() string {
@@ -662,7 +824,7 @@ type StreamAccountPortfolioResponse struct {
func (x *StreamAccountPortfolioResponse) Reset() {
*x = StreamAccountPortfolioResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_portfolio_rpc_proto_msgTypes[9]
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
@@ -675,7 +837,7 @@ func (x *StreamAccountPortfolioResponse) String() string {
func (*StreamAccountPortfolioResponse) ProtoMessage() {}
func (x *StreamAccountPortfolioResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_portfolio_rpc_proto_msgTypes[9]
+ mi := &file_injective_portfolio_rpc_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -688,7 +850,7 @@ func (x *StreamAccountPortfolioResponse) ProtoReflect() protoreflect.Message {
// Deprecated: Use StreamAccountPortfolioResponse.ProtoReflect.Descriptor instead.
func (*StreamAccountPortfolioResponse) Descriptor() ([]byte, []int) {
- return file_injective_portfolio_rpc_proto_rawDescGZIP(), []int{9}
+ return file_injective_portfolio_rpc_proto_rawDescGZIP(), []int{12}
}
func (x *StreamAccountPortfolioResponse) GetType() string {
@@ -816,46 +978,80 @@ var file_injective_portfolio_rpc_proto_rawDesc = []byte{
0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41,
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
- 0x22, 0x81, 0x01, 0x0a, 0x1d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64,
- 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x74, 0x79, 0x70, 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64,
- 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f,
- 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1c,
- 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x9e, 0x02, 0x0a,
- 0x15, 0x49, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f,
- 0x6c, 0x69, 0x6f, 0x52, 0x50, 0x43, 0x12, 0x77, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74,
- 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c,
- 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f,
- 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
- 0x8b, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70,
- 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f,
- 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x1c, 0x5a,
- 0x1a, 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74,
- 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
- 0x74, 0x6f, 0x33,
+ 0x22, 0x4a, 0x0a, 0x1f, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66,
+ 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61,
+ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0x6c, 0x0a, 0x20,
+ 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f,
+ 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x48, 0x0a, 0x09, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f,
+ 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52,
+ 0x09, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x22, 0xd0, 0x01, 0x0a, 0x11, 0x50,
+ 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73,
+ 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72,
+ 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x42, 0x0a, 0x0d, 0x62, 0x61, 0x6e,
+ 0x6b, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
+ 0x32, 0x1d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72,
+ 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52,
+ 0x0c, 0x62, 0x61, 0x6e, 0x6b, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x4e, 0x0a,
+ 0x0b, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70,
+ 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x56, 0x32,
+ 0x52, 0x0b, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0x81, 0x01,
+ 0x0a, 0x1d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50,
+ 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65,
+ 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
+ 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70,
+ 0x65, 0x22, 0xa5, 0x01, 0x0a, 0x1e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e, 0x6f,
+ 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x16,
+ 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
+ 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0xb0, 0x03, 0x0a, 0x15, 0x49, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f,
+ 0x52, 0x50, 0x43, 0x12, 0x77, 0x0a, 0x10, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f,
+ 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c,
+ 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66,
+ 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8f, 0x01, 0x0a,
+ 0x18, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69,
+ 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66,
+ 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x42, 0x61,
+ 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b,
+ 0x01, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x12, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f,
+ 0x72, 0x74, 0x66, 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65,
+ 0x61, 0x6d, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x66, 0x6f, 0x6c,
+ 0x69, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x1c, 0x5a, 0x1a,
+ 0x2f, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x66,
+ 0x6f, 0x6c, 0x69, 0x6f, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x33,
}
var (
@@ -870,35 +1066,43 @@ func file_injective_portfolio_rpc_proto_rawDescGZIP() []byte {
return file_injective_portfolio_rpc_proto_rawDescData
}
-var file_injective_portfolio_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
+var file_injective_portfolio_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_injective_portfolio_rpc_proto_goTypes = []interface{}{
- (*AccountPortfolioRequest)(nil), // 0: injective_portfolio_rpc.AccountPortfolioRequest
- (*AccountPortfolioResponse)(nil), // 1: injective_portfolio_rpc.AccountPortfolioResponse
- (*Portfolio)(nil), // 2: injective_portfolio_rpc.Portfolio
- (*Coin)(nil), // 3: injective_portfolio_rpc.Coin
- (*SubaccountBalanceV2)(nil), // 4: injective_portfolio_rpc.SubaccountBalanceV2
- (*SubaccountDeposit)(nil), // 5: injective_portfolio_rpc.SubaccountDeposit
- (*PositionsWithUPNL)(nil), // 6: injective_portfolio_rpc.PositionsWithUPNL
- (*DerivativePosition)(nil), // 7: injective_portfolio_rpc.DerivativePosition
- (*StreamAccountPortfolioRequest)(nil), // 8: injective_portfolio_rpc.StreamAccountPortfolioRequest
- (*StreamAccountPortfolioResponse)(nil), // 9: injective_portfolio_rpc.StreamAccountPortfolioResponse
+ (*AccountPortfolioRequest)(nil), // 0: injective_portfolio_rpc.AccountPortfolioRequest
+ (*AccountPortfolioResponse)(nil), // 1: injective_portfolio_rpc.AccountPortfolioResponse
+ (*Portfolio)(nil), // 2: injective_portfolio_rpc.Portfolio
+ (*Coin)(nil), // 3: injective_portfolio_rpc.Coin
+ (*SubaccountBalanceV2)(nil), // 4: injective_portfolio_rpc.SubaccountBalanceV2
+ (*SubaccountDeposit)(nil), // 5: injective_portfolio_rpc.SubaccountDeposit
+ (*PositionsWithUPNL)(nil), // 6: injective_portfolio_rpc.PositionsWithUPNL
+ (*DerivativePosition)(nil), // 7: injective_portfolio_rpc.DerivativePosition
+ (*AccountPortfolioBalancesRequest)(nil), // 8: injective_portfolio_rpc.AccountPortfolioBalancesRequest
+ (*AccountPortfolioBalancesResponse)(nil), // 9: injective_portfolio_rpc.AccountPortfolioBalancesResponse
+ (*PortfolioBalances)(nil), // 10: injective_portfolio_rpc.PortfolioBalances
+ (*StreamAccountPortfolioRequest)(nil), // 11: injective_portfolio_rpc.StreamAccountPortfolioRequest
+ (*StreamAccountPortfolioResponse)(nil), // 12: injective_portfolio_rpc.StreamAccountPortfolioResponse
}
var file_injective_portfolio_rpc_proto_depIdxs = []int32{
- 2, // 0: injective_portfolio_rpc.AccountPortfolioResponse.portfolio:type_name -> injective_portfolio_rpc.Portfolio
- 3, // 1: injective_portfolio_rpc.Portfolio.bank_balances:type_name -> injective_portfolio_rpc.Coin
- 4, // 2: injective_portfolio_rpc.Portfolio.subaccounts:type_name -> injective_portfolio_rpc.SubaccountBalanceV2
- 6, // 3: injective_portfolio_rpc.Portfolio.positions_with_upnl:type_name -> injective_portfolio_rpc.PositionsWithUPNL
- 5, // 4: injective_portfolio_rpc.SubaccountBalanceV2.deposit:type_name -> injective_portfolio_rpc.SubaccountDeposit
- 7, // 5: injective_portfolio_rpc.PositionsWithUPNL.position:type_name -> injective_portfolio_rpc.DerivativePosition
- 0, // 6: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolio:input_type -> injective_portfolio_rpc.AccountPortfolioRequest
- 8, // 7: injective_portfolio_rpc.InjectivePortfolioRPC.StreamAccountPortfolio:input_type -> injective_portfolio_rpc.StreamAccountPortfolioRequest
- 1, // 8: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolio:output_type -> injective_portfolio_rpc.AccountPortfolioResponse
- 9, // 9: injective_portfolio_rpc.InjectivePortfolioRPC.StreamAccountPortfolio:output_type -> injective_portfolio_rpc.StreamAccountPortfolioResponse
- 8, // [8:10] is the sub-list for method output_type
- 6, // [6:8] is the sub-list for method input_type
- 6, // [6:6] is the sub-list for extension type_name
- 6, // [6:6] is the sub-list for extension extendee
- 0, // [0:6] is the sub-list for field type_name
+ 2, // 0: injective_portfolio_rpc.AccountPortfolioResponse.portfolio:type_name -> injective_portfolio_rpc.Portfolio
+ 3, // 1: injective_portfolio_rpc.Portfolio.bank_balances:type_name -> injective_portfolio_rpc.Coin
+ 4, // 2: injective_portfolio_rpc.Portfolio.subaccounts:type_name -> injective_portfolio_rpc.SubaccountBalanceV2
+ 6, // 3: injective_portfolio_rpc.Portfolio.positions_with_upnl:type_name -> injective_portfolio_rpc.PositionsWithUPNL
+ 5, // 4: injective_portfolio_rpc.SubaccountBalanceV2.deposit:type_name -> injective_portfolio_rpc.SubaccountDeposit
+ 7, // 5: injective_portfolio_rpc.PositionsWithUPNL.position:type_name -> injective_portfolio_rpc.DerivativePosition
+ 10, // 6: injective_portfolio_rpc.AccountPortfolioBalancesResponse.portfolio:type_name -> injective_portfolio_rpc.PortfolioBalances
+ 3, // 7: injective_portfolio_rpc.PortfolioBalances.bank_balances:type_name -> injective_portfolio_rpc.Coin
+ 4, // 8: injective_portfolio_rpc.PortfolioBalances.subaccounts:type_name -> injective_portfolio_rpc.SubaccountBalanceV2
+ 0, // 9: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolio:input_type -> injective_portfolio_rpc.AccountPortfolioRequest
+ 8, // 10: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolioBalances:input_type -> injective_portfolio_rpc.AccountPortfolioBalancesRequest
+ 11, // 11: injective_portfolio_rpc.InjectivePortfolioRPC.StreamAccountPortfolio:input_type -> injective_portfolio_rpc.StreamAccountPortfolioRequest
+ 1, // 12: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolio:output_type -> injective_portfolio_rpc.AccountPortfolioResponse
+ 9, // 13: injective_portfolio_rpc.InjectivePortfolioRPC.AccountPortfolioBalances:output_type -> injective_portfolio_rpc.AccountPortfolioBalancesResponse
+ 12, // 14: injective_portfolio_rpc.InjectivePortfolioRPC.StreamAccountPortfolio:output_type -> injective_portfolio_rpc.StreamAccountPortfolioResponse
+ 12, // [12:15] is the sub-list for method output_type
+ 9, // [9:12] is the sub-list for method input_type
+ 9, // [9:9] is the sub-list for extension type_name
+ 9, // [9:9] is the sub-list for extension extendee
+ 0, // [0:9] is the sub-list for field type_name
}
func init() { file_injective_portfolio_rpc_proto_init() }
@@ -1004,7 +1208,7 @@ func file_injective_portfolio_rpc_proto_init() {
}
}
file_injective_portfolio_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamAccountPortfolioRequest); i {
+ switch v := v.(*AccountPortfolioBalancesRequest); i {
case 0:
return &v.state
case 1:
@@ -1016,6 +1220,42 @@ func file_injective_portfolio_rpc_proto_init() {
}
}
file_injective_portfolio_rpc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*AccountPortfolioBalancesResponse); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_portfolio_rpc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*PortfolioBalances); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_portfolio_rpc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
+ switch v := v.(*StreamAccountPortfolioRequest); i {
+ case 0:
+ return &v.state
+ case 1:
+ return &v.sizeCache
+ case 2:
+ return &v.unknownFields
+ default:
+ return nil
+ }
+ }
+ file_injective_portfolio_rpc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*StreamAccountPortfolioResponse); i {
case 0:
return &v.state
@@ -1034,7 +1274,7 @@ func file_injective_portfolio_rpc_proto_init() {
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_injective_portfolio_rpc_proto_rawDesc,
NumEnums: 0,
- NumMessages: 10,
+ NumMessages: 13,
NumExtensions: 0,
NumServices: 1,
},
diff --git a/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.gw.go b/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.gw.go
index f57213af..a36a0345 100644
--- a/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.gw.go
+++ b/exchange/portfolio_rpc/pb/injective_portfolio_rpc.pb.gw.go
@@ -65,6 +65,40 @@ func local_request_InjectivePortfolioRPC_AccountPortfolio_0(ctx context.Context,
}
+func request_InjectivePortfolioRPC_AccountPortfolioBalances_0(ctx context.Context, marshaler runtime.Marshaler, client InjectivePortfolioRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq AccountPortfolioBalancesRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := client.AccountPortfolioBalances(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_InjectivePortfolioRPC_AccountPortfolioBalances_0(ctx context.Context, marshaler runtime.Marshaler, server InjectivePortfolioRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq AccountPortfolioBalancesRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := server.AccountPortfolioBalances(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
func request_InjectivePortfolioRPC_StreamAccountPortfolio_0(ctx context.Context, marshaler runtime.Marshaler, client InjectivePortfolioRPCClient, req *http.Request, pathParams map[string]string) (InjectivePortfolioRPC_StreamAccountPortfolioClient, runtime.ServerMetadata, error) {
var protoReq StreamAccountPortfolioRequest
var metadata runtime.ServerMetadata
@@ -102,20 +136,47 @@ func RegisterInjectivePortfolioRPCHandlerServer(ctx context.Context, mux *runtim
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectivePortfolioRPC_AccountPortfolio_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectivePortfolioRPC_AccountPortfolio_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectivePortfolioRPC_AccountPortfolio_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
+ mux.Handle("POST", pattern_InjectivePortfolioRPC_AccountPortfolioBalances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ var stream runtime.ServerTransportStream
+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
+ resp, md, err := local_request_InjectivePortfolioRPC_AccountPortfolioBalances_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
- forward_InjectivePortfolioRPC_AccountPortfolio_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectivePortfolioRPC_AccountPortfolioBalances_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -171,19 +232,43 @@ func RegisterInjectivePortfolioRPCHandlerClient(ctx context.Context, mux *runtim
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolio"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectivePortfolioRPC_AccountPortfolio_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectivePortfolioRPC_AccountPortfolio_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectivePortfolioRPC_AccountPortfolio_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
+ mux.Handle("POST", pattern_InjectivePortfolioRPC_AccountPortfolioBalances_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
+ resp, md, err := request_InjectivePortfolioRPC_AccountPortfolioBalances_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
- forward_InjectivePortfolioRPC_AccountPortfolio_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectivePortfolioRPC_AccountPortfolioBalances_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -191,19 +276,21 @@ func RegisterInjectivePortfolioRPCHandlerClient(ctx context.Context, mux *runtim
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio", runtime.WithHTTPPathPattern("/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectivePortfolioRPC_StreamAccountPortfolio_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectivePortfolioRPC_StreamAccountPortfolio_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectivePortfolioRPC_StreamAccountPortfolio_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectivePortfolioRPC_StreamAccountPortfolio_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
@@ -213,11 +300,15 @@ func RegisterInjectivePortfolioRPCHandlerClient(ctx context.Context, mux *runtim
var (
pattern_InjectivePortfolioRPC_AccountPortfolio_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_portfolio_rpc.InjectivePortfolioRPC", "AccountPortfolio"}, ""))
+ pattern_InjectivePortfolioRPC_AccountPortfolioBalances_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_portfolio_rpc.InjectivePortfolioRPC", "AccountPortfolioBalances"}, ""))
+
pattern_InjectivePortfolioRPC_StreamAccountPortfolio_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_portfolio_rpc.InjectivePortfolioRPC", "StreamAccountPortfolio"}, ""))
)
var (
forward_InjectivePortfolioRPC_AccountPortfolio_0 = runtime.ForwardResponseMessage
+ forward_InjectivePortfolioRPC_AccountPortfolioBalances_0 = runtime.ForwardResponseMessage
+
forward_InjectivePortfolioRPC_StreamAccountPortfolio_0 = runtime.ForwardResponseStream
)
diff --git a/exchange/portfolio_rpc/pb/injective_portfolio_rpc.proto b/exchange/portfolio_rpc/pb/injective_portfolio_rpc.proto
index 1af20ed7..9c56cbdc 100644
--- a/exchange/portfolio_rpc/pb/injective_portfolio_rpc.proto
+++ b/exchange/portfolio_rpc/pb/injective_portfolio_rpc.proto
@@ -15,6 +15,8 @@ option go_package = "/injective_portfolio_rpcpb";
service InjectivePortfolioRPC {
// Provide the account's portfolio
rpc AccountPortfolio (AccountPortfolioRequest) returns (AccountPortfolioResponse);
+ // Provide the account's portfolio balances
+ rpc AccountPortfolioBalances (AccountPortfolioBalancesRequest) returns (AccountPortfolioBalancesResponse);
// Stream the account's portfolio
rpc StreamAccountPortfolio (StreamAccountPortfolioRequest) returns (stream StreamAccountPortfolioResponse);
}
@@ -92,6 +94,25 @@ message DerivativePosition {
sint64 created_at = 13;
}
+message AccountPortfolioBalancesRequest {
+ // Account address
+ string account_address = 1;
+}
+
+message AccountPortfolioBalancesResponse {
+ // The portfolio balances of this account
+ PortfolioBalances portfolio = 1;
+}
+
+message PortfolioBalances {
+ // The account's portfolio address
+ string account_address = 1;
+ // Account available bank balances
+ repeated Coin bank_balances = 2;
+ // Subaccounts list
+ repeated SubaccountBalanceV2 subaccounts = 3;
+}
+
message StreamAccountPortfolioRequest {
// The account's portfolio address
string account_address = 1;
diff --git a/exchange/portfolio_rpc/pb/injective_portfolio_rpc_grpc.pb.go b/exchange/portfolio_rpc/pb/injective_portfolio_rpc_grpc.pb.go
index 9bcf6310..c9fd622b 100644
--- a/exchange/portfolio_rpc/pb/injective_portfolio_rpc_grpc.pb.go
+++ b/exchange/portfolio_rpc/pb/injective_portfolio_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_portfolio_rpc.proto
package injective_portfolio_rpcpb
@@ -20,6 +24,8 @@ const _ = grpc.SupportPackageIsVersion7
type InjectivePortfolioRPCClient interface {
// Provide the account's portfolio
AccountPortfolio(ctx context.Context, in *AccountPortfolioRequest, opts ...grpc.CallOption) (*AccountPortfolioResponse, error)
+ // Provide the account's portfolio balances
+ AccountPortfolioBalances(ctx context.Context, in *AccountPortfolioBalancesRequest, opts ...grpc.CallOption) (*AccountPortfolioBalancesResponse, error)
// Stream the account's portfolio
StreamAccountPortfolio(ctx context.Context, in *StreamAccountPortfolioRequest, opts ...grpc.CallOption) (InjectivePortfolioRPC_StreamAccountPortfolioClient, error)
}
@@ -41,6 +47,15 @@ func (c *injectivePortfolioRPCClient) AccountPortfolio(ctx context.Context, in *
return out, nil
}
+func (c *injectivePortfolioRPCClient) AccountPortfolioBalances(ctx context.Context, in *AccountPortfolioBalancesRequest, opts ...grpc.CallOption) (*AccountPortfolioBalancesResponse, error) {
+ out := new(AccountPortfolioBalancesResponse)
+ err := c.cc.Invoke(ctx, "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *injectivePortfolioRPCClient) StreamAccountPortfolio(ctx context.Context, in *StreamAccountPortfolioRequest, opts ...grpc.CallOption) (InjectivePortfolioRPC_StreamAccountPortfolioClient, error) {
stream, err := c.cc.NewStream(ctx, &InjectivePortfolioRPC_ServiceDesc.Streams[0], "/injective_portfolio_rpc.InjectivePortfolioRPC/StreamAccountPortfolio", opts...)
if err != nil {
@@ -79,6 +94,8 @@ func (x *injectivePortfolioRPCStreamAccountPortfolioClient) Recv() (*StreamAccou
type InjectivePortfolioRPCServer interface {
// Provide the account's portfolio
AccountPortfolio(context.Context, *AccountPortfolioRequest) (*AccountPortfolioResponse, error)
+ // Provide the account's portfolio balances
+ AccountPortfolioBalances(context.Context, *AccountPortfolioBalancesRequest) (*AccountPortfolioBalancesResponse, error)
// Stream the account's portfolio
StreamAccountPortfolio(*StreamAccountPortfolioRequest, InjectivePortfolioRPC_StreamAccountPortfolioServer) error
mustEmbedUnimplementedInjectivePortfolioRPCServer()
@@ -91,6 +108,9 @@ type UnimplementedInjectivePortfolioRPCServer struct {
func (UnimplementedInjectivePortfolioRPCServer) AccountPortfolio(context.Context, *AccountPortfolioRequest) (*AccountPortfolioResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AccountPortfolio not implemented")
}
+func (UnimplementedInjectivePortfolioRPCServer) AccountPortfolioBalances(context.Context, *AccountPortfolioBalancesRequest) (*AccountPortfolioBalancesResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method AccountPortfolioBalances not implemented")
+}
func (UnimplementedInjectivePortfolioRPCServer) StreamAccountPortfolio(*StreamAccountPortfolioRequest, InjectivePortfolioRPC_StreamAccountPortfolioServer) error {
return status.Errorf(codes.Unimplemented, "method StreamAccountPortfolio not implemented")
}
@@ -125,6 +145,24 @@ func _InjectivePortfolioRPC_AccountPortfolio_Handler(srv interface{}, ctx contex
return interceptor(ctx, in, info, handler)
}
+func _InjectivePortfolioRPC_AccountPortfolioBalances_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(AccountPortfolioBalancesRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(InjectivePortfolioRPCServer).AccountPortfolioBalances(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective_portfolio_rpc.InjectivePortfolioRPC/AccountPortfolioBalances",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(InjectivePortfolioRPCServer).AccountPortfolioBalances(ctx, req.(*AccountPortfolioBalancesRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _InjectivePortfolioRPC_StreamAccountPortfolio_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamAccountPortfolioRequest)
if err := stream.RecvMsg(m); err != nil {
@@ -157,6 +195,10 @@ var InjectivePortfolioRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "AccountPortfolio",
Handler: _InjectivePortfolioRPC_AccountPortfolio_Handler,
},
+ {
+ MethodName: "AccountPortfolioBalances",
+ Handler: _InjectivePortfolioRPC_AccountPortfolioBalances_Handler,
+ },
},
Streams: []grpc.StreamDesc{
{
diff --git a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.go b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.go
index b1c2e2b0..01310348 100644
--- a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.go
+++ b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.go
@@ -7,8 +7,8 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
-// protoc-gen-go v1.28.1-devel
-// protoc v3.19.4
+// protoc-gen-go v1.28.1
+// protoc v4.23.4
// source: injective_spot_exchange_rpc.proto
package injective_spot_exchange_rpcpb
@@ -37,7 +37,8 @@ type MarketsRequest struct {
// Filter by the Coin denomination of the base currency
BaseDenom string `protobuf:"bytes,2,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"`
// Filter by the Coin denomination of the quote currency
- QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ QuoteDenom string `protobuf:"bytes,3,opt,name=quote_denom,json=quoteDenom,proto3" json:"quote_denom,omitempty"`
+ MarketStatuses []string `protobuf:"bytes,4,rep,name=market_statuses,json=marketStatuses,proto3" json:"market_statuses,omitempty"`
}
func (x *MarketsRequest) Reset() {
@@ -93,6 +94,13 @@ func (x *MarketsRequest) GetQuoteDenom() string {
return ""
}
+func (x *MarketsRequest) GetMarketStatuses() []string {
+ if x != nil {
+ return x.MarketStatuses
+ }
+ return nil
+}
+
type MarketsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@@ -592,7 +600,7 @@ func (x *StreamMarketsResponse) GetTimestamp() int64 {
return 0
}
-type OrderbookRequest struct {
+type OrderbookV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -601,8 +609,8 @@ type OrderbookRequest struct {
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}
-func (x *OrderbookRequest) Reset() {
- *x = OrderbookRequest{}
+func (x *OrderbookV2Request) Reset() {
+ *x = OrderbookV2Request{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -610,13 +618,13 @@ func (x *OrderbookRequest) Reset() {
}
}
-func (x *OrderbookRequest) String() string {
+func (x *OrderbookV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookRequest) ProtoMessage() {}
+func (*OrderbookV2Request) ProtoMessage() {}
-func (x *OrderbookRequest) ProtoReflect() protoreflect.Message {
+func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[8]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -628,29 +636,29 @@ func (x *OrderbookRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookRequest.ProtoReflect.Descriptor instead.
-func (*OrderbookRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbookV2Request.ProtoReflect.Descriptor instead.
+func (*OrderbookV2Request) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{8}
}
-func (x *OrderbookRequest) GetMarketId() string {
+func (x *OrderbookV2Request) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-type OrderbookResponse struct {
+type OrderbookV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Orderbook of a particular spot market
- Orderbook *SpotLimitOrderbook `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
}
-func (x *OrderbookResponse) Reset() {
- *x = OrderbookResponse{}
+func (x *OrderbookV2Response) Reset() {
+ *x = OrderbookV2Response{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -658,13 +666,13 @@ func (x *OrderbookResponse) Reset() {
}
}
-func (x *OrderbookResponse) String() string {
+func (x *OrderbookV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookResponse) ProtoMessage() {}
+func (*OrderbookV2Response) ProtoMessage() {}
-func (x *OrderbookResponse) ProtoReflect() protoreflect.Message {
+func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[9]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -676,19 +684,19 @@ func (x *OrderbookResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookResponse.ProtoReflect.Descriptor instead.
-func (*OrderbookResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbookV2Response.ProtoReflect.Descriptor instead.
+func (*OrderbookV2Response) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{9}
}
-func (x *OrderbookResponse) GetOrderbook() *SpotLimitOrderbook {
+func (x *OrderbookV2Response) GetOrderbook() *SpotLimitOrderbookV2 {
if x != nil {
return x.Orderbook
}
return nil
}
-type SpotLimitOrderbook struct {
+type SpotLimitOrderbookV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -697,12 +705,14 @@ type SpotLimitOrderbook struct {
Buys []*PriceLevel `protobuf:"bytes,1,rep,name=buys,proto3" json:"buys,omitempty"`
// Array of price levels for sells
Sells []*PriceLevel `protobuf:"bytes,2,rep,name=sells,proto3" json:"sells,omitempty"`
+ // market orderbook sequence
+ Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
// Last update timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *SpotLimitOrderbook) Reset() {
- *x = SpotLimitOrderbook{}
+func (x *SpotLimitOrderbookV2) Reset() {
+ *x = SpotLimitOrderbookV2{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -710,13 +720,13 @@ func (x *SpotLimitOrderbook) Reset() {
}
}
-func (x *SpotLimitOrderbook) String() string {
+func (x *SpotLimitOrderbookV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SpotLimitOrderbook) ProtoMessage() {}
+func (*SpotLimitOrderbookV2) ProtoMessage() {}
-func (x *SpotLimitOrderbook) ProtoReflect() protoreflect.Message {
+func (x *SpotLimitOrderbookV2) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[10]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -728,26 +738,33 @@ func (x *SpotLimitOrderbook) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SpotLimitOrderbook.ProtoReflect.Descriptor instead.
-func (*SpotLimitOrderbook) Descriptor() ([]byte, []int) {
+// Deprecated: Use SpotLimitOrderbookV2.ProtoReflect.Descriptor instead.
+func (*SpotLimitOrderbookV2) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{10}
}
-func (x *SpotLimitOrderbook) GetBuys() []*PriceLevel {
+func (x *SpotLimitOrderbookV2) GetBuys() []*PriceLevel {
if x != nil {
return x.Buys
}
return nil
}
-func (x *SpotLimitOrderbook) GetSells() []*PriceLevel {
+func (x *SpotLimitOrderbookV2) GetSells() []*PriceLevel {
if x != nil {
return x.Sells
}
return nil
}
-func (x *SpotLimitOrderbook) GetTimestamp() int64 {
+func (x *SpotLimitOrderbookV2) GetSequence() uint64 {
+ if x != nil {
+ return x.Sequence
+ }
+ return 0
+}
+
+func (x *SpotLimitOrderbookV2) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
@@ -820,17 +837,17 @@ func (x *PriceLevel) GetTimestamp() int64 {
return 0
}
-type OrderbookV2Request struct {
+type OrderbooksV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketId of the market's orderbook we want to fetch
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // MarketIds of the markets
+ MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
-func (x *OrderbookV2Request) Reset() {
- *x = OrderbookV2Request{}
+func (x *OrderbooksV2Request) Reset() {
+ *x = OrderbooksV2Request{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -838,13 +855,13 @@ func (x *OrderbookV2Request) Reset() {
}
}
-func (x *OrderbookV2Request) String() string {
+func (x *OrderbooksV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookV2Request) ProtoMessage() {}
+func (*OrderbooksV2Request) ProtoMessage() {}
-func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message {
+func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[12]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -856,29 +873,28 @@ func (x *OrderbookV2Request) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookV2Request.ProtoReflect.Descriptor instead.
-func (*OrderbookV2Request) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbooksV2Request.ProtoReflect.Descriptor instead.
+func (*OrderbooksV2Request) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{12}
}
-func (x *OrderbookV2Request) GetMarketId() string {
+func (x *OrderbooksV2Request) GetMarketIds() []string {
if x != nil {
- return x.MarketId
+ return x.MarketIds
}
- return ""
+ return nil
}
-type OrderbookV2Response struct {
+type OrderbooksV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Orderbook of a particular spot market
- Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ Orderbooks []*SingleSpotLimitOrderbookV2 `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
}
-func (x *OrderbookV2Response) Reset() {
- *x = OrderbookV2Response{}
+func (x *OrderbooksV2Response) Reset() {
+ *x = OrderbooksV2Response{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -886,13 +902,13 @@ func (x *OrderbookV2Response) Reset() {
}
}
-func (x *OrderbookV2Response) String() string {
+func (x *OrderbooksV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookV2Response) ProtoMessage() {}
+func (*OrderbooksV2Response) ProtoMessage() {}
-func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message {
+func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[13]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -904,35 +920,31 @@ func (x *OrderbookV2Response) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookV2Response.ProtoReflect.Descriptor instead.
-func (*OrderbookV2Response) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbooksV2Response.ProtoReflect.Descriptor instead.
+func (*OrderbooksV2Response) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{13}
}
-func (x *OrderbookV2Response) GetOrderbook() *SpotLimitOrderbookV2 {
+func (x *OrderbooksV2Response) GetOrderbooks() []*SingleSpotLimitOrderbookV2 {
if x != nil {
- return x.Orderbook
+ return x.Orderbooks
}
return nil
}
-type SpotLimitOrderbookV2 struct {
+type SingleSpotLimitOrderbookV2 struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Array of price levels for buys
- Buys []*PriceLevel `protobuf:"bytes,1,rep,name=buys,proto3" json:"buys,omitempty"`
- // Array of price levels for sells
- Sells []*PriceLevel `protobuf:"bytes,2,rep,name=sells,proto3" json:"sells,omitempty"`
- // market orderbook sequence
- Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
- // Last update timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // market's ID
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Orderbook of the market
+ Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
}
-func (x *SpotLimitOrderbookV2) Reset() {
- *x = SpotLimitOrderbookV2{}
+func (x *SingleSpotLimitOrderbookV2) Reset() {
+ *x = SingleSpotLimitOrderbookV2{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -940,13 +952,13 @@ func (x *SpotLimitOrderbookV2) Reset() {
}
}
-func (x *SpotLimitOrderbookV2) String() string {
+func (x *SingleSpotLimitOrderbookV2) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SpotLimitOrderbookV2) ProtoMessage() {}
+func (*SingleSpotLimitOrderbookV2) ProtoMessage() {}
-func (x *SpotLimitOrderbookV2) ProtoReflect() protoreflect.Message {
+func (x *SingleSpotLimitOrderbookV2) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[14]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -958,50 +970,36 @@ func (x *SpotLimitOrderbookV2) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SpotLimitOrderbookV2.ProtoReflect.Descriptor instead.
-func (*SpotLimitOrderbookV2) Descriptor() ([]byte, []int) {
+// Deprecated: Use SingleSpotLimitOrderbookV2.ProtoReflect.Descriptor instead.
+func (*SingleSpotLimitOrderbookV2) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{14}
}
-func (x *SpotLimitOrderbookV2) GetBuys() []*PriceLevel {
+func (x *SingleSpotLimitOrderbookV2) GetMarketId() string {
if x != nil {
- return x.Buys
+ return x.MarketId
}
- return nil
+ return ""
}
-func (x *SpotLimitOrderbookV2) GetSells() []*PriceLevel {
+func (x *SingleSpotLimitOrderbookV2) GetOrderbook() *SpotLimitOrderbookV2 {
if x != nil {
- return x.Sells
+ return x.Orderbook
}
return nil
}
-func (x *SpotLimitOrderbookV2) GetSequence() uint64 {
- if x != nil {
- return x.Sequence
- }
- return 0
-}
-
-func (x *SpotLimitOrderbookV2) GetTimestamp() int64 {
- if x != nil {
- return x.Timestamp
- }
- return 0
-}
-
-type OrderbooksRequest struct {
+type StreamOrderbookV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketIds of the markets
+ // List of market IDs for orderbook streaming, empty means 'ALL' spot markets
MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
-func (x *OrderbooksRequest) Reset() {
- *x = OrderbooksRequest{}
+func (x *StreamOrderbookV2Request) Reset() {
+ *x = StreamOrderbookV2Request{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1009,13 +1007,13 @@ func (x *OrderbooksRequest) Reset() {
}
}
-func (x *OrderbooksRequest) String() string {
+func (x *StreamOrderbookV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksRequest) ProtoMessage() {}
+func (*StreamOrderbookV2Request) ProtoMessage() {}
-func (x *OrderbooksRequest) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[15]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1027,28 +1025,35 @@ func (x *OrderbooksRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksRequest.ProtoReflect.Descriptor instead.
-func (*OrderbooksRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookV2Request.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookV2Request) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{15}
}
-func (x *OrderbooksRequest) GetMarketIds() []string {
+func (x *StreamOrderbookV2Request) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-type OrderbooksResponse struct {
+type StreamOrderbookV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Orderbooks []*SingleSpotLimitOrderbook `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
+ // Orderbook of a Spot Market
+ Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ // Order update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // MarketId of the market's orderbook
+ MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}
-func (x *OrderbooksResponse) Reset() {
- *x = OrderbooksResponse{}
+func (x *StreamOrderbookV2Response) Reset() {
+ *x = StreamOrderbookV2Response{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1056,13 +1061,13 @@ func (x *OrderbooksResponse) Reset() {
}
}
-func (x *OrderbooksResponse) String() string {
+func (x *StreamOrderbookV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksResponse) ProtoMessage() {}
+func (*StreamOrderbookV2Response) ProtoMessage() {}
-func (x *OrderbooksResponse) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[16]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1074,31 +1079,50 @@ func (x *OrderbooksResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksResponse.ProtoReflect.Descriptor instead.
-func (*OrderbooksResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookV2Response.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookV2Response) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{16}
}
-func (x *OrderbooksResponse) GetOrderbooks() []*SingleSpotLimitOrderbook {
+func (x *StreamOrderbookV2Response) GetOrderbook() *SpotLimitOrderbookV2 {
if x != nil {
- return x.Orderbooks
+ return x.Orderbook
}
return nil
}
-type SingleSpotLimitOrderbook struct {
+func (x *StreamOrderbookV2Response) GetOperationType() string {
+ if x != nil {
+ return x.OperationType
+ }
+ return ""
+}
+
+func (x *StreamOrderbookV2Response) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+func (x *StreamOrderbookV2Response) GetMarketId() string {
+ if x != nil {
+ return x.MarketId
+ }
+ return ""
+}
+
+type StreamOrderbookUpdateRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // market's ID
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Orderbook of the market
- Orderbook *SpotLimitOrderbook `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ // List of market IDs for orderbook streaming, empty means 'ALL' spot markets
+ MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
}
-func (x *SingleSpotLimitOrderbook) Reset() {
- *x = SingleSpotLimitOrderbook{}
+func (x *StreamOrderbookUpdateRequest) Reset() {
+ *x = StreamOrderbookUpdateRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1106,13 +1130,13 @@ func (x *SingleSpotLimitOrderbook) Reset() {
}
}
-func (x *SingleSpotLimitOrderbook) String() string {
+func (x *StreamOrderbookUpdateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SingleSpotLimitOrderbook) ProtoMessage() {}
+func (*StreamOrderbookUpdateRequest) ProtoMessage() {}
-func (x *SingleSpotLimitOrderbook) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[17]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1124,36 +1148,35 @@ func (x *SingleSpotLimitOrderbook) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SingleSpotLimitOrderbook.ProtoReflect.Descriptor instead.
-func (*SingleSpotLimitOrderbook) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookUpdateRequest.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookUpdateRequest) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{17}
}
-func (x *SingleSpotLimitOrderbook) GetMarketId() string {
- if x != nil {
- return x.MarketId
- }
- return ""
-}
-
-func (x *SingleSpotLimitOrderbook) GetOrderbook() *SpotLimitOrderbook {
+func (x *StreamOrderbookUpdateRequest) GetMarketIds() []string {
if x != nil {
- return x.Orderbook
+ return x.MarketIds
}
return nil
}
-type OrderbooksV2Request struct {
+type StreamOrderbookUpdateResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketIds of the markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Orderbook level updates of a Spot Market
+ OrderbookLevelUpdates *OrderbookLevelUpdates `protobuf:"bytes,1,opt,name=orderbook_level_updates,json=orderbookLevelUpdates,proto3" json:"orderbook_level_updates,omitempty"`
+ // Order update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // MarketId of the market's orderbook
+ MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}
-func (x *OrderbooksV2Request) Reset() {
- *x = OrderbooksV2Request{}
+func (x *StreamOrderbookUpdateResponse) Reset() {
+ *x = StreamOrderbookUpdateResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1161,13 +1184,13 @@ func (x *OrderbooksV2Request) Reset() {
}
}
-func (x *OrderbooksV2Request) String() string {
+func (x *StreamOrderbookUpdateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksV2Request) ProtoMessage() {}
+func (*StreamOrderbookUpdateResponse) ProtoMessage() {}
-func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message {
+func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[18]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1179,28 +1202,58 @@ func (x *OrderbooksV2Request) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksV2Request.ProtoReflect.Descriptor instead.
-func (*OrderbooksV2Request) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrderbookUpdateResponse.ProtoReflect.Descriptor instead.
+func (*StreamOrderbookUpdateResponse) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{18}
}
-func (x *OrderbooksV2Request) GetMarketIds() []string {
+func (x *StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates() *OrderbookLevelUpdates {
if x != nil {
- return x.MarketIds
+ return x.OrderbookLevelUpdates
}
return nil
}
-type OrderbooksV2Response struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Orderbooks []*SingleSpotLimitOrderbookV2 `protobuf:"bytes,1,rep,name=orderbooks,proto3" json:"orderbooks,omitempty"`
+func (x *StreamOrderbookUpdateResponse) GetOperationType() string {
+ if x != nil {
+ return x.OperationType
+ }
+ return ""
}
-func (x *OrderbooksV2Response) Reset() {
- *x = OrderbooksV2Response{}
+func (x *StreamOrderbookUpdateResponse) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+func (x *StreamOrderbookUpdateResponse) GetMarketId() string {
+ if x != nil {
+ return x.MarketId
+ }
+ return ""
+}
+
+type OrderbookLevelUpdates struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // market's ID
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // orderbook update sequence
+ Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
+ // buy levels
+ Buys []*PriceLevelUpdate `protobuf:"bytes,3,rep,name=buys,proto3" json:"buys,omitempty"`
+ // sell levels
+ Sells []*PriceLevelUpdate `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"`
+ // updates timestamp
+ UpdatedAt int64 `protobuf:"zigzag64,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+}
+
+func (x *OrderbookLevelUpdates) Reset() {
+ *x = OrderbookLevelUpdates{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1208,13 +1261,13 @@ func (x *OrderbooksV2Response) Reset() {
}
}
-func (x *OrderbooksV2Response) String() string {
+func (x *OrderbookLevelUpdates) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbooksV2Response) ProtoMessage() {}
+func (*OrderbookLevelUpdates) ProtoMessage() {}
-func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message {
+func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[19]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1226,31 +1279,63 @@ func (x *OrderbooksV2Response) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbooksV2Response.ProtoReflect.Descriptor instead.
-func (*OrderbooksV2Response) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrderbookLevelUpdates.ProtoReflect.Descriptor instead.
+func (*OrderbookLevelUpdates) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{19}
}
-func (x *OrderbooksV2Response) GetOrderbooks() []*SingleSpotLimitOrderbookV2 {
+func (x *OrderbookLevelUpdates) GetMarketId() string {
if x != nil {
- return x.Orderbooks
+ return x.MarketId
+ }
+ return ""
+}
+
+func (x *OrderbookLevelUpdates) GetSequence() uint64 {
+ if x != nil {
+ return x.Sequence
+ }
+ return 0
+}
+
+func (x *OrderbookLevelUpdates) GetBuys() []*PriceLevelUpdate {
+ if x != nil {
+ return x.Buys
}
return nil
}
-type SingleSpotLimitOrderbookV2 struct {
+func (x *OrderbookLevelUpdates) GetSells() []*PriceLevelUpdate {
+ if x != nil {
+ return x.Sells
+ }
+ return nil
+}
+
+func (x *OrderbookLevelUpdates) GetUpdatedAt() int64 {
+ if x != nil {
+ return x.UpdatedAt
+ }
+ return 0
+}
+
+type PriceLevelUpdate struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // market's ID
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Orderbook of the market
- Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,2,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
+ // Price number of the price level.
+ Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
+ // Quantity of the price level.
+ Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
+ // Price level status.
+ IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
+ // Price level last updated timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *SingleSpotLimitOrderbookV2) Reset() {
- *x = SingleSpotLimitOrderbookV2{}
+func (x *PriceLevelUpdate) Reset() {
+ *x = PriceLevelUpdate{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1258,13 +1343,13 @@ func (x *SingleSpotLimitOrderbookV2) Reset() {
}
}
-func (x *SingleSpotLimitOrderbookV2) String() string {
+func (x *PriceLevelUpdate) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SingleSpotLimitOrderbookV2) ProtoMessage() {}
+func (*PriceLevelUpdate) ProtoMessage() {}
-func (x *SingleSpotLimitOrderbookV2) ProtoReflect() protoreflect.Message {
+func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[20]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1276,36 +1361,74 @@ func (x *SingleSpotLimitOrderbookV2) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SingleSpotLimitOrderbookV2.ProtoReflect.Descriptor instead.
-func (*SingleSpotLimitOrderbookV2) Descriptor() ([]byte, []int) {
+// Deprecated: Use PriceLevelUpdate.ProtoReflect.Descriptor instead.
+func (*PriceLevelUpdate) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{20}
}
-func (x *SingleSpotLimitOrderbookV2) GetMarketId() string {
+func (x *PriceLevelUpdate) GetPrice() string {
if x != nil {
- return x.MarketId
+ return x.Price
}
return ""
}
-func (x *SingleSpotLimitOrderbookV2) GetOrderbook() *SpotLimitOrderbookV2 {
+func (x *PriceLevelUpdate) GetQuantity() string {
if x != nil {
- return x.Orderbook
+ return x.Quantity
}
- return nil
+ return ""
+}
+
+func (x *PriceLevelUpdate) GetIsActive() bool {
+ if x != nil {
+ return x.IsActive
+ }
+ return false
+}
+
+func (x *PriceLevelUpdate) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
}
-type StreamOrderbookRequest struct {
+type OrdersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of market IDs for orderbook streaming, empty means 'ALL' spot markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // MarketId of the market's orderbook we want to fetch
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Look for specific order side
+ OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
+ // Look for specific subaccountId of an order
+ SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get trades
+ MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Should include inactive orders
+ IncludeInactive bool `protobuf:"varint,9,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
+ // Choose to return subaccount total orders
+ SubaccountTotalOrders bool `protobuf:"varint,10,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ // TradeId of the order we want to fetch
+ TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,12,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *StreamOrderbookRequest) Reset() {
- *x = StreamOrderbookRequest{}
+func (x *OrdersRequest) Reset() {
+ *x = OrdersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1313,13 +1436,13 @@ func (x *StreamOrderbookRequest) Reset() {
}
}
-func (x *StreamOrderbookRequest) String() string {
+func (x *OrdersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookRequest) ProtoMessage() {}
+func (*OrdersRequest) ProtoMessage() {}
-func (x *StreamOrderbookRequest) ProtoReflect() protoreflect.Message {
+func (x *OrdersRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[21]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1331,118 +1454,202 @@ func (x *StreamOrderbookRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookRequest.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrdersRequest.ProtoReflect.Descriptor instead.
+func (*OrdersRequest) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{21}
}
-func (x *StreamOrderbookRequest) GetMarketIds() []string {
+func (x *OrdersRequest) GetMarketId() string {
if x != nil {
- return x.MarketIds
+ return x.MarketId
}
- return nil
+ return ""
}
-type StreamOrderbookResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- // Orderbook of a Spot Market
- Orderbook *SpotLimitOrderbook `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- // MarketId of the market's orderbook
- MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+func (x *OrdersRequest) GetOrderSide() string {
+ if x != nil {
+ return x.OrderSide
+ }
+ return ""
}
-func (x *StreamOrderbookResponse) Reset() {
- *x = StreamOrderbookResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *OrdersRequest) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
}
+ return ""
}
-func (x *StreamOrderbookResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *OrdersRequest) GetSkip() uint64 {
+ if x != nil {
+ return x.Skip
+ }
+ return 0
}
-func (*StreamOrderbookResponse) ProtoMessage() {}
+func (x *OrdersRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
+ }
+ return 0
+}
-func (x *StreamOrderbookResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[22]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *OrdersRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
}
- return mi.MessageOf(x)
+ return 0
}
-// Deprecated: Use StreamOrderbookResponse.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookResponse) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{22}
+func (x *OrdersRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
}
-func (x *StreamOrderbookResponse) GetOrderbook() *SpotLimitOrderbook {
+func (x *OrdersRequest) GetMarketIds() []string {
if x != nil {
- return x.Orderbook
+ return x.MarketIds
}
return nil
}
-func (x *StreamOrderbookResponse) GetOperationType() string {
+func (x *OrdersRequest) GetIncludeInactive() bool {
if x != nil {
- return x.OperationType
+ return x.IncludeInactive
}
- return ""
+ return false
}
-func (x *StreamOrderbookResponse) GetTimestamp() int64 {
+func (x *OrdersRequest) GetSubaccountTotalOrders() bool {
if x != nil {
- return x.Timestamp
+ return x.SubaccountTotalOrders
}
- return 0
+ return false
}
-func (x *StreamOrderbookResponse) GetMarketId() string {
+func (x *OrdersRequest) GetTradeId() string {
if x != nil {
- return x.MarketId
+ return x.TradeId
}
return ""
}
-type StreamOrderbookV2Request struct {
+func (x *OrdersRequest) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type OrdersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of market IDs for orderbook streaming, empty means 'ALL' spot markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ Orders []*SpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *StreamOrderbookV2Request) Reset() {
- *x = StreamOrderbookV2Request{}
+func (x *OrdersResponse) Reset() {
+ *x = OrdersResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[23]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrderbookV2Request) String() string {
+func (x *OrdersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookV2Request) ProtoMessage() {}
+func (*OrdersResponse) ProtoMessage() {}
-func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message {
+func (x *OrdersResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[22]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
+ }
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use OrdersResponse.ProtoReflect.Descriptor instead.
+func (*OrdersResponse) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{22}
+}
+
+func (x *OrdersResponse) GetOrders() []*SpotLimitOrder {
+ if x != nil {
+ return x.Orders
+ }
+ return nil
+}
+
+func (x *OrdersResponse) GetPaging() *Paging {
+ if x != nil {
+ return x.Paging
+ }
+ return nil
+}
+
+type SpotLimitOrder struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ // Hash of the order
+ OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ // The side of the order
+ OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
+ // Spot Market ID is keccak265(baseDenom + quoteDenom)
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // The subaccountId that this order belongs to
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Price of the order
+ Price string `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"`
+ // Quantity of the order
+ Quantity string `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
+ // The amount of the quantity remaining unfilled
+ UnfilledQuantity string `protobuf:"bytes,7,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"`
+ // Trigger price is the trigger price used by stop/take orders. 0 if the
+ // trigger price is not set.
+ TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
+ // Fee recipient address
+ FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
+ // Order state
+ State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"`
+ // Order committed timestamp in UNIX millis.
+ CreatedAt int64 `protobuf:"zigzag64,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
+ // Order updated timestamp in UNIX millis.
+ UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Transaction Hash where order is created. Not all orders have this field
+ TxHash string `protobuf:"bytes,13,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
+ // Custom client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
+}
+
+func (x *SpotLimitOrder) Reset() {
+ *x = SpotLimitOrder{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[23]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
+ }
+}
+
+func (x *SpotLimitOrder) String() string {
+ return protoimpl.X.MessageStringOf(x)
+}
+
+func (*SpotLimitOrder) ProtoMessage() {}
+
+func (x *SpotLimitOrder) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[23]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1454,35 +1661,129 @@ func (x *StreamOrderbookV2Request) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookV2Request.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookV2Request) Descriptor() ([]byte, []int) {
+// Deprecated: Use SpotLimitOrder.ProtoReflect.Descriptor instead.
+func (*SpotLimitOrder) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{23}
}
-func (x *StreamOrderbookV2Request) GetMarketIds() []string {
+func (x *SpotLimitOrder) GetOrderHash() string {
if x != nil {
- return x.MarketIds
+ return x.OrderHash
}
- return nil
+ return ""
}
-type StreamOrderbookV2Response struct {
+func (x *SpotLimitOrder) GetOrderSide() string {
+ if x != nil {
+ return x.OrderSide
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetMarketId() string {
+ if x != nil {
+ return x.MarketId
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetPrice() string {
+ if x != nil {
+ return x.Price
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetQuantity() string {
+ if x != nil {
+ return x.Quantity
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetUnfilledQuantity() string {
+ if x != nil {
+ return x.UnfilledQuantity
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetTriggerPrice() string {
+ if x != nil {
+ return x.TriggerPrice
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetFeeRecipient() string {
+ if x != nil {
+ return x.FeeRecipient
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetState() string {
+ if x != nil {
+ return x.State
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetCreatedAt() int64 {
+ if x != nil {
+ return x.CreatedAt
+ }
+ return 0
+}
+
+func (x *SpotLimitOrder) GetUpdatedAt() int64 {
+ if x != nil {
+ return x.UpdatedAt
+ }
+ return 0
+}
+
+func (x *SpotLimitOrder) GetTxHash() string {
+ if x != nil {
+ return x.TxHash
+ }
+ return ""
+}
+
+func (x *SpotLimitOrder) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+// Paging defines the structure for required params for handling pagination
+type Paging struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Orderbook of a Spot Market
- Orderbook *SpotLimitOrderbookV2 `protobuf:"bytes,1,opt,name=orderbook,proto3" json:"orderbook,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- // MarketId of the market's orderbook
- MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // total number of txs saved in database
+ Total int64 `protobuf:"zigzag64,1,opt,name=total,proto3" json:"total,omitempty"`
+ // can be either block height or index num
+ From int32 `protobuf:"zigzag32,2,opt,name=from,proto3" json:"from,omitempty"`
+ // can be either block height or index num
+ To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
+ // count entries by subaccount, serving some places on helix
+ CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"`
+ // array of tokens to navigate to the next pages
+ Next []string `protobuf:"bytes,5,rep,name=next,proto3" json:"next,omitempty"`
}
-func (x *StreamOrderbookV2Response) Reset() {
- *x = StreamOrderbookV2Response{}
+func (x *Paging) Reset() {
+ *x = Paging{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1490,13 +1791,13 @@ func (x *StreamOrderbookV2Response) Reset() {
}
}
-func (x *StreamOrderbookV2Response) String() string {
+func (x *Paging) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookV2Response) ProtoMessage() {}
+func (*Paging) ProtoMessage() {}
-func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message {
+func (x *Paging) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[24]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1508,50 +1809,81 @@ func (x *StreamOrderbookV2Response) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookV2Response.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookV2Response) Descriptor() ([]byte, []int) {
+// Deprecated: Use Paging.ProtoReflect.Descriptor instead.
+func (*Paging) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{24}
}
-func (x *StreamOrderbookV2Response) GetOrderbook() *SpotLimitOrderbookV2 {
+func (x *Paging) GetTotal() int64 {
if x != nil {
- return x.Orderbook
+ return x.Total
}
- return nil
+ return 0
}
-func (x *StreamOrderbookV2Response) GetOperationType() string {
+func (x *Paging) GetFrom() int32 {
if x != nil {
- return x.OperationType
+ return x.From
}
- return ""
+ return 0
}
-func (x *StreamOrderbookV2Response) GetTimestamp() int64 {
+func (x *Paging) GetTo() int32 {
if x != nil {
- return x.Timestamp
+ return x.To
}
return 0
}
-func (x *StreamOrderbookV2Response) GetMarketId() string {
+func (x *Paging) GetCountBySubaccount() int64 {
if x != nil {
- return x.MarketId
+ return x.CountBySubaccount
}
- return ""
+ return 0
}
-type StreamOrderbookUpdateRequest struct {
+func (x *Paging) GetNext() []string {
+ if x != nil {
+ return x.Next
+ }
+ return nil
+}
+
+type StreamOrdersRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of market IDs for orderbook streaming, empty means 'ALL' spot markets
- MarketIds []string `protobuf:"bytes,1,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // MarketId of the market's orderbook we want to fetch
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Look for specific order side
+ OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
+ // Look for specific subaccountId of an order
+ SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get trades
+ MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Should include inactive orders
+ IncludeInactive bool `protobuf:"varint,9,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
+ // Choose to return subaccount total orders
+ SubaccountTotalOrders bool `protobuf:"varint,10,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ // TradeId of the order we want to fetch
+ TradeId string `protobuf:"bytes,11,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,12,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *StreamOrderbookUpdateRequest) Reset() {
- *x = StreamOrderbookUpdateRequest{}
+func (x *StreamOrdersRequest) Reset() {
+ *x = StreamOrdersRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1559,13 +1891,13 @@ func (x *StreamOrderbookUpdateRequest) Reset() {
}
}
-func (x *StreamOrderbookUpdateRequest) String() string {
+func (x *StreamOrdersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookUpdateRequest) ProtoMessage() {}
+func (*StreamOrdersRequest) ProtoMessage() {}
-func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message {
+func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[25]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1577,35 +1909,110 @@ func (x *StreamOrderbookUpdateRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookUpdateRequest.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookUpdateRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrdersRequest.ProtoReflect.Descriptor instead.
+func (*StreamOrdersRequest) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{25}
}
-func (x *StreamOrderbookUpdateRequest) GetMarketIds() []string {
+func (x *StreamOrdersRequest) GetMarketId() string {
+ if x != nil {
+ return x.MarketId
+ }
+ return ""
+}
+
+func (x *StreamOrdersRequest) GetOrderSide() string {
+ if x != nil {
+ return x.OrderSide
+ }
+ return ""
+}
+
+func (x *StreamOrdersRequest) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
+ }
+ return ""
+}
+
+func (x *StreamOrdersRequest) GetSkip() uint64 {
+ if x != nil {
+ return x.Skip
+ }
+ return 0
+}
+
+func (x *StreamOrdersRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
+ }
+ return 0
+}
+
+func (x *StreamOrdersRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
+}
+
+func (x *StreamOrdersRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
+
+func (x *StreamOrdersRequest) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-type StreamOrderbookUpdateResponse struct {
+func (x *StreamOrdersRequest) GetIncludeInactive() bool {
+ if x != nil {
+ return x.IncludeInactive
+ }
+ return false
+}
+
+func (x *StreamOrdersRequest) GetSubaccountTotalOrders() bool {
+ if x != nil {
+ return x.SubaccountTotalOrders
+ }
+ return false
+}
+
+func (x *StreamOrdersRequest) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
+ }
+ return ""
+}
+
+func (x *StreamOrdersRequest) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type StreamOrdersResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Orderbook level updates of a Spot Market
- OrderbookLevelUpdates *OrderbookLevelUpdates `protobuf:"bytes,1,opt,name=orderbook_level_updates,json=orderbookLevelUpdates,proto3" json:"orderbook_level_updates,omitempty"`
+ // Updated market order
+ Order *SpotLimitOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
// Order update type
OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
// Operation timestamp in UNIX millis.
Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
- // MarketId of the market's orderbook
- MarketId string `protobuf:"bytes,4,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
}
-func (x *StreamOrderbookUpdateResponse) Reset() {
- *x = StreamOrderbookUpdateResponse{}
+func (x *StreamOrdersResponse) Reset() {
+ *x = StreamOrdersResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1613,13 +2020,13 @@ func (x *StreamOrderbookUpdateResponse) Reset() {
}
}
-func (x *StreamOrderbookUpdateResponse) String() string {
+func (x *StreamOrdersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrderbookUpdateResponse) ProtoMessage() {}
+func (*StreamOrdersResponse) ProtoMessage() {}
-func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message {
+func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[26]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1631,58 +2038,70 @@ func (x *StreamOrderbookUpdateResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrderbookUpdateResponse.ProtoReflect.Descriptor instead.
-func (*StreamOrderbookUpdateResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use StreamOrdersResponse.ProtoReflect.Descriptor instead.
+func (*StreamOrdersResponse) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{26}
}
-func (x *StreamOrderbookUpdateResponse) GetOrderbookLevelUpdates() *OrderbookLevelUpdates {
+func (x *StreamOrdersResponse) GetOrder() *SpotLimitOrder {
if x != nil {
- return x.OrderbookLevelUpdates
+ return x.Order
}
return nil
}
-func (x *StreamOrderbookUpdateResponse) GetOperationType() string {
+func (x *StreamOrdersResponse) GetOperationType() string {
if x != nil {
return x.OperationType
}
return ""
}
-func (x *StreamOrderbookUpdateResponse) GetTimestamp() int64 {
+func (x *StreamOrdersResponse) GetTimestamp() int64 {
if x != nil {
return x.Timestamp
}
return 0
}
-func (x *StreamOrderbookUpdateResponse) GetMarketId() string {
- if x != nil {
- return x.MarketId
- }
- return ""
-}
-
-type OrderbookLevelUpdates struct {
+type TradesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // market's ID
+ // MarketId of the market's orderbook we want to fetch
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // orderbook update sequence
- Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
- // buy levels
- Buys []*PriceLevelUpdate `protobuf:"bytes,3,rep,name=buys,proto3" json:"buys,omitempty"`
- // sell levels
- Sells []*PriceLevelUpdate `protobuf:"bytes,4,rep,name=sells,proto3" json:"sells,omitempty"`
- // updates timestamp
- UpdatedAt int64 `protobuf:"zigzag64,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Filter by execution side of the trade
+ ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // Filter by direction the trade
+ Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
+ // SubaccountId of the trader we want to get the trades from
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the item result
+ Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get trades
+ MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Subaccount ids of traders we want to get trades
+ SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *OrderbookLevelUpdates) Reset() {
- *x = OrderbookLevelUpdates{}
+func (x *TradesRequest) Reset() {
+ *x = TradesRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1690,13 +2109,13 @@ func (x *OrderbookLevelUpdates) Reset() {
}
}
-func (x *OrderbookLevelUpdates) String() string {
+func (x *TradesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrderbookLevelUpdates) ProtoMessage() {}
+func (*TradesRequest) ProtoMessage() {}
-func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message {
+func (x *TradesRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[27]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1708,63 +2127,122 @@ func (x *OrderbookLevelUpdates) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrderbookLevelUpdates.ProtoReflect.Descriptor instead.
-func (*OrderbookLevelUpdates) Descriptor() ([]byte, []int) {
+// Deprecated: Use TradesRequest.ProtoReflect.Descriptor instead.
+func (*TradesRequest) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{27}
}
-func (x *OrderbookLevelUpdates) GetMarketId() string {
+func (x *TradesRequest) GetMarketId() string {
if x != nil {
return x.MarketId
}
- return ""
+ return ""
+}
+
+func (x *TradesRequest) GetExecutionSide() string {
+ if x != nil {
+ return x.ExecutionSide
+ }
+ return ""
+}
+
+func (x *TradesRequest) GetDirection() string {
+ if x != nil {
+ return x.Direction
+ }
+ return ""
+}
+
+func (x *TradesRequest) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
+ }
+ return ""
+}
+
+func (x *TradesRequest) GetSkip() uint64 {
+ if x != nil {
+ return x.Skip
+ }
+ return 0
+}
+
+func (x *TradesRequest) GetLimit() int32 {
+ if x != nil {
+ return x.Limit
+ }
+ return 0
+}
+
+func (x *TradesRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
+}
+
+func (x *TradesRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
+
+func (x *TradesRequest) GetMarketIds() []string {
+ if x != nil {
+ return x.MarketIds
+ }
+ return nil
+}
+
+func (x *TradesRequest) GetSubaccountIds() []string {
+ if x != nil {
+ return x.SubaccountIds
+ }
+ return nil
}
-func (x *OrderbookLevelUpdates) GetSequence() uint64 {
+func (x *TradesRequest) GetExecutionTypes() []string {
if x != nil {
- return x.Sequence
+ return x.ExecutionTypes
}
- return 0
+ return nil
}
-func (x *OrderbookLevelUpdates) GetBuys() []*PriceLevelUpdate {
+func (x *TradesRequest) GetTradeId() string {
if x != nil {
- return x.Buys
+ return x.TradeId
}
- return nil
+ return ""
}
-func (x *OrderbookLevelUpdates) GetSells() []*PriceLevelUpdate {
+func (x *TradesRequest) GetAccountAddress() string {
if x != nil {
- return x.Sells
+ return x.AccountAddress
}
- return nil
+ return ""
}
-func (x *OrderbookLevelUpdates) GetUpdatedAt() int64 {
+func (x *TradesRequest) GetCid() string {
if x != nil {
- return x.UpdatedAt
+ return x.Cid
}
- return 0
+ return ""
}
-type PriceLevelUpdate struct {
+type TradesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Price number of the price level.
- Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"`
- // Quantity of the price level.
- Quantity string `protobuf:"bytes,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
- // Price level status.
- IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
- // Price level last updated timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // Trades of a Spot Market
+ Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
+ // Paging indicates pages response is on
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *PriceLevelUpdate) Reset() {
- *x = PriceLevelUpdate{}
+func (x *TradesResponse) Reset() {
+ *x = TradesResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1772,13 +2250,13 @@ func (x *PriceLevelUpdate) Reset() {
}
}
-func (x *PriceLevelUpdate) String() string {
+func (x *TradesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*PriceLevelUpdate) ProtoMessage() {}
+func (*TradesResponse) ProtoMessage() {}
-func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message {
+func (x *TradesResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[28]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1790,70 +2268,58 @@ func (x *PriceLevelUpdate) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use PriceLevelUpdate.ProtoReflect.Descriptor instead.
-func (*PriceLevelUpdate) Descriptor() ([]byte, []int) {
+// Deprecated: Use TradesResponse.ProtoReflect.Descriptor instead.
+func (*TradesResponse) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{28}
}
-func (x *PriceLevelUpdate) GetPrice() string {
- if x != nil {
- return x.Price
- }
- return ""
-}
-
-func (x *PriceLevelUpdate) GetQuantity() string {
- if x != nil {
- return x.Quantity
- }
- return ""
-}
-
-func (x *PriceLevelUpdate) GetIsActive() bool {
+func (x *TradesResponse) GetTrades() []*SpotTrade {
if x != nil {
- return x.IsActive
+ return x.Trades
}
- return false
+ return nil
}
-func (x *PriceLevelUpdate) GetTimestamp() int64 {
+func (x *TradesResponse) GetPaging() *Paging {
if x != nil {
- return x.Timestamp
+ return x.Paging
}
- return 0
+ return nil
}
-type OrdersRequest struct {
+type SpotTrade struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketId of the market's orderbook we want to fetch
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Look for specific order side
- OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
- // Look for specific subaccountId of an order
- SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned.
- Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
- // The starting timestamp in UNIX milliseconds that the trades must be equal or
- // older than
- StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // The ending timestamp in UNIX milliseconds that the trades must be equal or
- // younger than
- EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // MarketIds of the markets of which we want to get trades
- MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
- // Should include inactive orders
- IncludeInactive bool `protobuf:"varint,9,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
- // Choose to return subaccount total orders
- SubaccountTotalOrders bool `protobuf:"varint,10,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ // Maker order hash.
+ OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ // The subaccountId that executed the trade
+ SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // The ID of the market that this trade is in
+ MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // The execution type of the trade
+ TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"`
+ // The direction the trade
+ TradeDirection string `protobuf:"bytes,5,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"`
+ // Price level at which trade has been executed
+ Price *PriceLevel `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
+ // The fee associated with the trade (quote asset denom)
+ Fee string `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"`
+ // Timestamp of trade execution in UNIX millis
+ ExecutedAt int64 `protobuf:"zigzag64,8,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
+ // Fee recipient address
+ FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
+ // A unique string that helps differentiate between trades
+ TradeId string `protobuf:"bytes,10,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Trade's execution side, marker/taker
+ ExecutionSide string `protobuf:"bytes,11,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // Custom client order ID
+ Cid string `protobuf:"bytes,12,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *OrdersRequest) Reset() {
- *x = OrdersRequest{}
+func (x *SpotTrade) Reset() {
+ *x = SpotTrade{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1861,13 +2327,13 @@ func (x *OrdersRequest) Reset() {
}
}
-func (x *OrdersRequest) String() string {
+func (x *SpotTrade) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrdersRequest) ProtoMessage() {}
+func (*SpotTrade) ProtoMessage() {}
-func (x *OrdersRequest) ProtoReflect() protoreflect.Message {
+func (x *SpotTrade) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[29]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -1879,185 +2345,148 @@ func (x *OrdersRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrdersRequest.ProtoReflect.Descriptor instead.
-func (*OrdersRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use SpotTrade.ProtoReflect.Descriptor instead.
+func (*SpotTrade) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{29}
}
-func (x *OrdersRequest) GetMarketId() string {
+func (x *SpotTrade) GetOrderHash() string {
if x != nil {
- return x.MarketId
+ return x.OrderHash
}
return ""
}
-func (x *OrdersRequest) GetOrderSide() string {
+func (x *SpotTrade) GetSubaccountId() string {
if x != nil {
- return x.OrderSide
+ return x.SubaccountId
}
return ""
}
-func (x *OrdersRequest) GetSubaccountId() string {
+func (x *SpotTrade) GetMarketId() string {
if x != nil {
- return x.SubaccountId
+ return x.MarketId
}
return ""
}
-func (x *OrdersRequest) GetSkip() uint64 {
+func (x *SpotTrade) GetTradeExecutionType() string {
if x != nil {
- return x.Skip
+ return x.TradeExecutionType
}
- return 0
+ return ""
}
-func (x *OrdersRequest) GetLimit() int32 {
+func (x *SpotTrade) GetTradeDirection() string {
if x != nil {
- return x.Limit
+ return x.TradeDirection
}
- return 0
+ return ""
}
-func (x *OrdersRequest) GetStartTime() int64 {
+func (x *SpotTrade) GetPrice() *PriceLevel {
if x != nil {
- return x.StartTime
+ return x.Price
}
- return 0
+ return nil
}
-func (x *OrdersRequest) GetEndTime() int64 {
+func (x *SpotTrade) GetFee() string {
if x != nil {
- return x.EndTime
+ return x.Fee
}
- return 0
+ return ""
}
-func (x *OrdersRequest) GetMarketIds() []string {
+func (x *SpotTrade) GetExecutedAt() int64 {
if x != nil {
- return x.MarketIds
+ return x.ExecutedAt
}
- return nil
+ return 0
}
-func (x *OrdersRequest) GetIncludeInactive() bool {
+func (x *SpotTrade) GetFeeRecipient() string {
if x != nil {
- return x.IncludeInactive
+ return x.FeeRecipient
}
- return false
+ return ""
}
-func (x *OrdersRequest) GetSubaccountTotalOrders() bool {
+func (x *SpotTrade) GetTradeId() string {
if x != nil {
- return x.SubaccountTotalOrders
- }
- return false
-}
-
-type OrdersResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
-
- Orders []*SpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
-}
-
-func (x *OrdersResponse) Reset() {
- *x = OrdersResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[30]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
-}
-
-func (x *OrdersResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
-}
-
-func (*OrdersResponse) ProtoMessage() {}
-
-func (x *OrdersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[30]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+ return x.TradeId
}
- return mi.MessageOf(x)
-}
-
-// Deprecated: Use OrdersResponse.ProtoReflect.Descriptor instead.
-func (*OrdersResponse) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{30}
+ return ""
}
-func (x *OrdersResponse) GetOrders() []*SpotLimitOrder {
+func (x *SpotTrade) GetExecutionSide() string {
if x != nil {
- return x.Orders
+ return x.ExecutionSide
}
- return nil
+ return ""
}
-func (x *OrdersResponse) GetPaging() *Paging {
+func (x *SpotTrade) GetCid() string {
if x != nil {
- return x.Paging
+ return x.Cid
}
- return nil
+ return ""
}
-type SpotLimitOrder struct {
+type StreamTradesRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Hash of the order
- OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
- // The side of the order
- OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
- // Spot Market ID is keccak265(baseDenom + quoteDenom)
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // The subaccountId that this order belongs to
+ // MarketId of the market's orderbook we want to fetch
+ MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Filter by execution side of the trade
+ ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // Filter by direction the trade
+ Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
+ // SubaccountId of the trader we want to get the trades from
SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Price of the order
- Price string `protobuf:"bytes,5,opt,name=price,proto3" json:"price,omitempty"`
- // Quantity of the order
- Quantity string `protobuf:"bytes,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
- // The amount of the quantity remaining unfilled
- UnfilledQuantity string `protobuf:"bytes,7,opt,name=unfilled_quantity,json=unfilledQuantity,proto3" json:"unfilled_quantity,omitempty"`
- // Trigger price is the trigger price used by stop/take orders. 0 if the
- // trigger price is not set.
- TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
- // Fee recipient address
- FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
- // Order state
- State string `protobuf:"bytes,10,opt,name=state,proto3" json:"state,omitempty"`
- // Order committed timestamp in UNIX millis.
- CreatedAt int64 `protobuf:"zigzag64,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- // Order updated timestamp in UNIX millis.
- UpdatedAt int64 `protobuf:"zigzag64,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Skip will skip the first n item from the item result
+ Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned.
+ Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+ // older than
+ StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+ // younger than
+ EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // MarketIds of the markets of which we want to get trades
+ MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Subaccount ids of traders we want to get trades
+ SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *SpotLimitOrder) Reset() {
- *x = SpotLimitOrder{}
+func (x *StreamTradesRequest) Reset() {
+ *x = StreamTradesRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[31]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *SpotLimitOrder) String() string {
+func (x *StreamTradesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SpotLimitOrder) ProtoMessage() {}
+func (*StreamTradesRequest) ProtoMessage() {}
-func (x *SpotLimitOrder) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[31]
+func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[30]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2068,128 +2497,139 @@ func (x *SpotLimitOrder) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SpotLimitOrder.ProtoReflect.Descriptor instead.
-func (*SpotLimitOrder) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{31}
+// Deprecated: Use StreamTradesRequest.ProtoReflect.Descriptor instead.
+func (*StreamTradesRequest) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{30}
}
-func (x *SpotLimitOrder) GetOrderHash() string {
+func (x *StreamTradesRequest) GetMarketId() string {
if x != nil {
- return x.OrderHash
+ return x.MarketId
}
return ""
}
-func (x *SpotLimitOrder) GetOrderSide() string {
+func (x *StreamTradesRequest) GetExecutionSide() string {
if x != nil {
- return x.OrderSide
+ return x.ExecutionSide
}
return ""
}
-func (x *SpotLimitOrder) GetMarketId() string {
+func (x *StreamTradesRequest) GetDirection() string {
if x != nil {
- return x.MarketId
+ return x.Direction
}
return ""
}
-func (x *SpotLimitOrder) GetSubaccountId() string {
+func (x *StreamTradesRequest) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *SpotLimitOrder) GetPrice() string {
+func (x *StreamTradesRequest) GetSkip() uint64 {
if x != nil {
- return x.Price
+ return x.Skip
}
- return ""
+ return 0
}
-func (x *SpotLimitOrder) GetQuantity() string {
+func (x *StreamTradesRequest) GetLimit() int32 {
if x != nil {
- return x.Quantity
+ return x.Limit
}
- return ""
+ return 0
}
-func (x *SpotLimitOrder) GetUnfilledQuantity() string {
+func (x *StreamTradesRequest) GetStartTime() int64 {
if x != nil {
- return x.UnfilledQuantity
+ return x.StartTime
}
- return ""
+ return 0
}
-func (x *SpotLimitOrder) GetTriggerPrice() string {
+func (x *StreamTradesRequest) GetEndTime() int64 {
if x != nil {
- return x.TriggerPrice
+ return x.EndTime
}
- return ""
+ return 0
}
-func (x *SpotLimitOrder) GetFeeRecipient() string {
+func (x *StreamTradesRequest) GetMarketIds() []string {
if x != nil {
- return x.FeeRecipient
+ return x.MarketIds
}
- return ""
+ return nil
}
-func (x *SpotLimitOrder) GetState() string {
+func (x *StreamTradesRequest) GetSubaccountIds() []string {
if x != nil {
- return x.State
+ return x.SubaccountIds
+ }
+ return nil
+}
+
+func (x *StreamTradesRequest) GetExecutionTypes() []string {
+ if x != nil {
+ return x.ExecutionTypes
+ }
+ return nil
+}
+
+func (x *StreamTradesRequest) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
}
return ""
}
-func (x *SpotLimitOrder) GetCreatedAt() int64 {
+func (x *StreamTradesRequest) GetAccountAddress() string {
if x != nil {
- return x.CreatedAt
+ return x.AccountAddress
}
- return 0
+ return ""
}
-func (x *SpotLimitOrder) GetUpdatedAt() int64 {
+func (x *StreamTradesRequest) GetCid() string {
if x != nil {
- return x.UpdatedAt
+ return x.Cid
}
- return 0
+ return ""
}
-// Paging defines the structure for required params for handling pagination
-type Paging struct {
+type StreamTradesResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // total number of txs saved in database
- Total int64 `protobuf:"zigzag64,1,opt,name=total,proto3" json:"total,omitempty"`
- // can be either block height or index num
- From int32 `protobuf:"zigzag32,2,opt,name=from,proto3" json:"from,omitempty"`
- // can be either block height or index num
- To int32 `protobuf:"zigzag32,3,opt,name=to,proto3" json:"to,omitempty"`
- // count entries by subaccount, serving some places on helix
- CountBySubaccount int64 `protobuf:"zigzag64,4,opt,name=count_by_subaccount,json=countBySubaccount,proto3" json:"count_by_subaccount,omitempty"`
+ // New spot market trade
+ Trade *SpotTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"`
+ // Executed trades update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *Paging) Reset() {
- *x = Paging{}
+func (x *StreamTradesResponse) Reset() {
+ *x = StreamTradesResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[32]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *Paging) String() string {
+func (x *StreamTradesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*Paging) ProtoMessage() {}
+func (*StreamTradesResponse) ProtoMessage() {}
-func (x *Paging) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[32]
+func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[31]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2200,85 +2640,85 @@ func (x *Paging) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use Paging.ProtoReflect.Descriptor instead.
-func (*Paging) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{32}
-}
-
-func (x *Paging) GetTotal() int64 {
- if x != nil {
- return x.Total
- }
- return 0
+// Deprecated: Use StreamTradesResponse.ProtoReflect.Descriptor instead.
+func (*StreamTradesResponse) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{31}
}
-func (x *Paging) GetFrom() int32 {
+func (x *StreamTradesResponse) GetTrade() *SpotTrade {
if x != nil {
- return x.From
+ return x.Trade
}
- return 0
+ return nil
}
-func (x *Paging) GetTo() int32 {
+func (x *StreamTradesResponse) GetOperationType() string {
if x != nil {
- return x.To
+ return x.OperationType
}
- return 0
+ return ""
}
-func (x *Paging) GetCountBySubaccount() int64 {
+func (x *StreamTradesResponse) GetTimestamp() int64 {
if x != nil {
- return x.CountBySubaccount
+ return x.Timestamp
}
return 0
}
-type StreamOrdersRequest struct {
+type TradesV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// MarketId of the market's orderbook we want to fetch
MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Look for specific order side
- OrderSide string `protobuf:"bytes,2,opt,name=order_side,json=orderSide,proto3" json:"order_side,omitempty"`
- // Look for specific subaccountId of an order
- SubaccountId string `protobuf:"bytes,3,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Filter by execution side of the trade
+ ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // Filter by direction the trade
+ Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
+ // SubaccountId of the trader we want to get the trades from
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Skip will skip the first n item from the item result
+ Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
// Limit is used to specify the maximum number of items to be returned.
- Limit int32 `protobuf:"zigzag32,5,opt,name=limit,proto3" json:"limit,omitempty"`
+ Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
// The starting timestamp in UNIX milliseconds that the trades must be equal or
// older than
- StartTime int64 `protobuf:"zigzag64,6,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// The ending timestamp in UNIX milliseconds that the trades must be equal or
// younger than
- EndTime int64 `protobuf:"zigzag64,7,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// MarketIds of the markets of which we want to get trades
- MarketIds []string `protobuf:"bytes,8,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
- // Should include inactive orders
- IncludeInactive bool `protobuf:"varint,9,opt,name=include_inactive,json=includeInactive,proto3" json:"include_inactive,omitempty"`
- // Choose to return subaccount total orders
- SubaccountTotalOrders bool `protobuf:"varint,10,opt,name=subaccount_total_orders,json=subaccountTotalOrders,proto3" json:"subaccount_total_orders,omitempty"`
+ MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // Subaccount ids of traders we want to get trades
+ SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
+ ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *StreamOrdersRequest) Reset() {
- *x = StreamOrdersRequest{}
+func (x *TradesV2Request) Reset() {
+ *x = TradesV2Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[33]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrdersRequest) String() string {
+func (x *TradesV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrdersRequest) ProtoMessage() {}
+func (*TradesV2Request) ProtoMessage() {}
-func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[33]
+func (x *TradesV2Request) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[32]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2289,111 +2729,137 @@ func (x *StreamOrdersRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrdersRequest.ProtoReflect.Descriptor instead.
-func (*StreamOrdersRequest) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{33}
+// Deprecated: Use TradesV2Request.ProtoReflect.Descriptor instead.
+func (*TradesV2Request) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{32}
}
-func (x *StreamOrdersRequest) GetMarketId() string {
+func (x *TradesV2Request) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *StreamOrdersRequest) GetOrderSide() string {
+func (x *TradesV2Request) GetExecutionSide() string {
if x != nil {
- return x.OrderSide
+ return x.ExecutionSide
}
return ""
}
-func (x *StreamOrdersRequest) GetSubaccountId() string {
+func (x *TradesV2Request) GetDirection() string {
+ if x != nil {
+ return x.Direction
+ }
+ return ""
+}
+
+func (x *TradesV2Request) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *StreamOrdersRequest) GetSkip() uint64 {
+func (x *TradesV2Request) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *StreamOrdersRequest) GetLimit() int32 {
+func (x *TradesV2Request) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-func (x *StreamOrdersRequest) GetStartTime() int64 {
+func (x *TradesV2Request) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
-func (x *StreamOrdersRequest) GetEndTime() int64 {
+func (x *TradesV2Request) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
-func (x *StreamOrdersRequest) GetMarketIds() []string {
+func (x *TradesV2Request) GetMarketIds() []string {
+ if x != nil {
+ return x.MarketIds
+ }
+ return nil
+}
+
+func (x *TradesV2Request) GetSubaccountIds() []string {
+ if x != nil {
+ return x.SubaccountIds
+ }
+ return nil
+}
+
+func (x *TradesV2Request) GetExecutionTypes() []string {
+ if x != nil {
+ return x.ExecutionTypes
+ }
+ return nil
+}
+
+func (x *TradesV2Request) GetTradeId() string {
if x != nil {
- return x.MarketIds
+ return x.TradeId
}
- return nil
+ return ""
}
-func (x *StreamOrdersRequest) GetIncludeInactive() bool {
+func (x *TradesV2Request) GetAccountAddress() string {
if x != nil {
- return x.IncludeInactive
+ return x.AccountAddress
}
- return false
+ return ""
}
-func (x *StreamOrdersRequest) GetSubaccountTotalOrders() bool {
+func (x *TradesV2Request) GetCid() string {
if x != nil {
- return x.SubaccountTotalOrders
+ return x.Cid
}
- return false
+ return ""
}
-type StreamOrdersResponse struct {
+type TradesV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Updated market order
- Order *SpotLimitOrder `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // Trades of a Spot Market
+ Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
+ // Paging indicates pages response is on
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *StreamOrdersResponse) Reset() {
- *x = StreamOrdersResponse{}
+func (x *TradesV2Response) Reset() {
+ *x = TradesV2Response{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[34]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *StreamOrdersResponse) String() string {
+func (x *TradesV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrdersResponse) ProtoMessage() {}
+func (*TradesV2Response) ProtoMessage() {}
-func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[34]
+func (x *TradesV2Response) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[33]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2404,33 +2870,26 @@ func (x *StreamOrdersResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrdersResponse.ProtoReflect.Descriptor instead.
-func (*StreamOrdersResponse) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{34}
+// Deprecated: Use TradesV2Response.ProtoReflect.Descriptor instead.
+func (*TradesV2Response) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{33}
}
-func (x *StreamOrdersResponse) GetOrder() *SpotLimitOrder {
+func (x *TradesV2Response) GetTrades() []*SpotTrade {
if x != nil {
- return x.Order
+ return x.Trades
}
return nil
}
-func (x *StreamOrdersResponse) GetOperationType() string {
- if x != nil {
- return x.OperationType
- }
- return ""
-}
-
-func (x *StreamOrdersResponse) GetTimestamp() int64 {
+func (x *TradesV2Response) GetPaging() *Paging {
if x != nil {
- return x.Timestamp
+ return x.Paging
}
- return 0
+ return nil
}
-type TradesRequest struct {
+type StreamTradesV2Request struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -2458,25 +2917,31 @@ type TradesRequest struct {
// Subaccount ids of traders we want to get trades
SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ // Filter by the tradeId of the trade
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Account address
+ AccountAddress string `protobuf:"bytes,13,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *TradesRequest) Reset() {
- *x = TradesRequest{}
+func (x *StreamTradesV2Request) Reset() {
+ *x = StreamTradesV2Request{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[35]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *TradesRequest) String() string {
+func (x *StreamTradesV2Request) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*TradesRequest) ProtoMessage() {}
+func (*StreamTradesV2Request) ProtoMessage() {}
-func (x *TradesRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[35]
+func (x *StreamTradesV2Request) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[34]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2487,116 +2952,139 @@ func (x *TradesRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use TradesRequest.ProtoReflect.Descriptor instead.
-func (*TradesRequest) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{35}
+// Deprecated: Use StreamTradesV2Request.ProtoReflect.Descriptor instead.
+func (*StreamTradesV2Request) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{34}
}
-func (x *TradesRequest) GetMarketId() string {
+func (x *StreamTradesV2Request) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *TradesRequest) GetExecutionSide() string {
+func (x *StreamTradesV2Request) GetExecutionSide() string {
if x != nil {
return x.ExecutionSide
}
return ""
}
-func (x *TradesRequest) GetDirection() string {
+func (x *StreamTradesV2Request) GetDirection() string {
if x != nil {
return x.Direction
}
return ""
}
-func (x *TradesRequest) GetSubaccountId() string {
+func (x *StreamTradesV2Request) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *TradesRequest) GetSkip() uint64 {
+func (x *StreamTradesV2Request) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *TradesRequest) GetLimit() int32 {
+func (x *StreamTradesV2Request) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-func (x *TradesRequest) GetStartTime() int64 {
+func (x *StreamTradesV2Request) GetStartTime() int64 {
if x != nil {
return x.StartTime
}
return 0
}
-func (x *TradesRequest) GetEndTime() int64 {
+func (x *StreamTradesV2Request) GetEndTime() int64 {
if x != nil {
return x.EndTime
}
return 0
}
-func (x *TradesRequest) GetMarketIds() []string {
+func (x *StreamTradesV2Request) GetMarketIds() []string {
if x != nil {
return x.MarketIds
}
return nil
}
-func (x *TradesRequest) GetSubaccountIds() []string {
+func (x *StreamTradesV2Request) GetSubaccountIds() []string {
if x != nil {
return x.SubaccountIds
}
return nil
}
-func (x *TradesRequest) GetExecutionTypes() []string {
+func (x *StreamTradesV2Request) GetExecutionTypes() []string {
if x != nil {
return x.ExecutionTypes
}
return nil
}
-type TradesResponse struct {
+func (x *StreamTradesV2Request) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
+ }
+ return ""
+}
+
+func (x *StreamTradesV2Request) GetAccountAddress() string {
+ if x != nil {
+ return x.AccountAddress
+ }
+ return ""
+}
+
+func (x *StreamTradesV2Request) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type StreamTradesV2Response struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Trades of a Spot Market
- Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
- // Paging indicates pages response is on
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+ // New spot market trade
+ Trade *SpotTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"`
+ // Executed trades update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *TradesResponse) Reset() {
- *x = TradesResponse{}
+func (x *StreamTradesV2Response) Reset() {
+ *x = StreamTradesV2Response{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[36]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *TradesResponse) String() string {
+func (x *StreamTradesV2Response) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*TradesResponse) ProtoMessage() {}
+func (*StreamTradesV2Response) ProtoMessage() {}
-func (x *TradesResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[36]
+func (x *StreamTradesV2Response) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[35]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2607,71 +3095,64 @@ func (x *TradesResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use TradesResponse.ProtoReflect.Descriptor instead.
-func (*TradesResponse) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{36}
+// Deprecated: Use StreamTradesV2Response.ProtoReflect.Descriptor instead.
+func (*StreamTradesV2Response) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{35}
}
-func (x *TradesResponse) GetTrades() []*SpotTrade {
+func (x *StreamTradesV2Response) GetTrade() *SpotTrade {
if x != nil {
- return x.Trades
+ return x.Trade
}
return nil
}
-func (x *TradesResponse) GetPaging() *Paging {
+func (x *StreamTradesV2Response) GetOperationType() string {
if x != nil {
- return x.Paging
+ return x.OperationType
}
- return nil
+ return ""
}
-type SpotTrade struct {
+func (x *StreamTradesV2Response) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+type SubaccountOrdersListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Maker order hash.
- OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
- // The subaccountId that executed the trade
- SubaccountId string `protobuf:"bytes,2,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // The ID of the market that this trade is in
- MarketId string `protobuf:"bytes,3,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // The execution type of the trade
- TradeExecutionType string `protobuf:"bytes,4,opt,name=trade_execution_type,json=tradeExecutionType,proto3" json:"trade_execution_type,omitempty"`
- // The direction the trade
- TradeDirection string `protobuf:"bytes,5,opt,name=trade_direction,json=tradeDirection,proto3" json:"trade_direction,omitempty"`
- // Price level at which trade has been executed
- Price *PriceLevel `protobuf:"bytes,6,opt,name=price,proto3" json:"price,omitempty"`
- // The fee associated with the trade (quote asset denom)
- Fee string `protobuf:"bytes,7,opt,name=fee,proto3" json:"fee,omitempty"`
- // Timestamp of trade execution in UNIX millis
- ExecutedAt int64 `protobuf:"zigzag64,8,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
- // Fee recipient address
- FeeRecipient string `protobuf:"bytes,9,opt,name=fee_recipient,json=feeRecipient,proto3" json:"fee_recipient,omitempty"`
- // A unique string that helps differentiate between trades
- TradeId string `protobuf:"bytes,10,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
- // Trade's execution side, marker/taker
- ExecutionSide string `protobuf:"bytes,11,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
+ // subaccount ID to filter orders for specific subaccount
+ SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Market ID to filter orders for specific market
+ MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Skip will skip the first n item from the result
+ Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
+ // Limit is used to specify the maximum number of items to be returned
+ Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
}
-func (x *SpotTrade) Reset() {
- *x = SpotTrade{}
+func (x *SubaccountOrdersListRequest) Reset() {
+ *x = SubaccountOrdersListRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[37]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *SpotTrade) String() string {
+func (x *SubaccountOrdersListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SpotTrade) ProtoMessage() {}
+func (*SubaccountOrdersListRequest) ProtoMessage() {}
-func (x *SpotTrade) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[37]
+func (x *SubaccountOrdersListRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[36]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -2682,120 +3163,115 @@ func (x *SpotTrade) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SpotTrade.ProtoReflect.Descriptor instead.
-func (*SpotTrade) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{37}
-}
-
-func (x *SpotTrade) GetOrderHash() string {
- if x != nil {
- return x.OrderHash
- }
- return ""
+// Deprecated: Use SubaccountOrdersListRequest.ProtoReflect.Descriptor instead.
+func (*SubaccountOrdersListRequest) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{36}
}
-func (x *SpotTrade) GetSubaccountId() string {
+func (x *SubaccountOrdersListRequest) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *SpotTrade) GetMarketId() string {
+func (x *SubaccountOrdersListRequest) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *SpotTrade) GetTradeExecutionType() string {
+func (x *SubaccountOrdersListRequest) GetSkip() uint64 {
if x != nil {
- return x.TradeExecutionType
+ return x.Skip
}
- return ""
+ return 0
}
-func (x *SpotTrade) GetTradeDirection() string {
+func (x *SubaccountOrdersListRequest) GetLimit() int32 {
if x != nil {
- return x.TradeDirection
+ return x.Limit
}
- return ""
+ return 0
}
-func (x *SpotTrade) GetPrice() *PriceLevel {
- if x != nil {
- return x.Price
- }
- return nil
+type SubaccountOrdersListResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
+
+ Orders []*SpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *SpotTrade) GetFee() string {
- if x != nil {
- return x.Fee
+func (x *SubaccountOrdersListResponse) Reset() {
+ *x = SubaccountOrdersListResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[37]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (x *SpotTrade) GetExecutedAt() int64 {
- if x != nil {
- return x.ExecutedAt
- }
- return 0
+func (x *SubaccountOrdersListResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *SpotTrade) GetFeeRecipient() string {
- if x != nil {
- return x.FeeRecipient
+func (*SubaccountOrdersListResponse) ProtoMessage() {}
+
+func (x *SubaccountOrdersListResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[37]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
+}
+
+// Deprecated: Use SubaccountOrdersListResponse.ProtoReflect.Descriptor instead.
+func (*SubaccountOrdersListResponse) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{37}
}
-func (x *SpotTrade) GetTradeId() string {
+func (x *SubaccountOrdersListResponse) GetOrders() []*SpotLimitOrder {
if x != nil {
- return x.TradeId
+ return x.Orders
}
- return ""
+ return nil
}
-func (x *SpotTrade) GetExecutionSide() string {
+func (x *SubaccountOrdersListResponse) GetPaging() *Paging {
if x != nil {
- return x.ExecutionSide
+ return x.Paging
}
- return ""
+ return nil
}
-type StreamTradesRequest struct {
+type SubaccountTradesListRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // MarketId of the market's orderbook we want to fetch
- MarketId string `protobuf:"bytes,1,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Filter by execution side of the trade
- ExecutionSide string `protobuf:"bytes,2,opt,name=execution_side,json=executionSide,proto3" json:"execution_side,omitempty"`
- // Filter by direction the trade
- Direction string `protobuf:"bytes,3,opt,name=direction,proto3" json:"direction,omitempty"`
// SubaccountId of the trader we want to get the trades from
- SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Skip will skip the first n item from the item result
+ SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // Filter trades by market ID
+ MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
+ // Filter by execution type of trades
+ ExecutionType string `protobuf:"bytes,3,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
+ // Filter by direction trades
+ Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
+ // Skip will skip the first n item from the result
Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned.
+ // Limit is used to specify the maximum number of items to be returned
Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
- // The starting timestamp in UNIX milliseconds that the trades must be equal or
- // older than
- StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // The ending timestamp in UNIX milliseconds that the trades must be equal or
- // younger than
- EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
- // MarketIds of the markets of which we want to get trades
- MarketIds []string `protobuf:"bytes,9,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
- // Subaccount ids of traders we want to get trades
- SubaccountIds []string `protobuf:"bytes,10,rep,name=subaccount_ids,json=subaccountIds,proto3" json:"subaccount_ids,omitempty"`
- ExecutionTypes []string `protobuf:"bytes,11,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
}
-func (x *StreamTradesRequest) Reset() {
- *x = StreamTradesRequest{}
+func (x *SubaccountTradesListRequest) Reset() {
+ *x = SubaccountTradesListRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2803,13 +3279,13 @@ func (x *StreamTradesRequest) Reset() {
}
}
-func (x *StreamTradesRequest) String() string {
+func (x *SubaccountTradesListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamTradesRequest) ProtoMessage() {}
+func (*SubaccountTradesListRequest) ProtoMessage() {}
-func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message {
+func (x *SubaccountTradesListRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[38]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2821,103 +3297,64 @@ func (x *StreamTradesRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamTradesRequest.ProtoReflect.Descriptor instead.
-func (*StreamTradesRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use SubaccountTradesListRequest.ProtoReflect.Descriptor instead.
+func (*SubaccountTradesListRequest) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{38}
}
-func (x *StreamTradesRequest) GetMarketId() string {
+func (x *SubaccountTradesListRequest) GetSubaccountId() string {
if x != nil {
- return x.MarketId
+ return x.SubaccountId
}
return ""
}
-func (x *StreamTradesRequest) GetExecutionSide() string {
+func (x *SubaccountTradesListRequest) GetMarketId() string {
if x != nil {
- return x.ExecutionSide
+ return x.MarketId
}
return ""
}
-func (x *StreamTradesRequest) GetDirection() string {
+func (x *SubaccountTradesListRequest) GetExecutionType() string {
if x != nil {
- return x.Direction
+ return x.ExecutionType
}
return ""
}
-func (x *StreamTradesRequest) GetSubaccountId() string {
+func (x *SubaccountTradesListRequest) GetDirection() string {
if x != nil {
- return x.SubaccountId
+ return x.Direction
}
return ""
}
-func (x *StreamTradesRequest) GetSkip() uint64 {
+func (x *SubaccountTradesListRequest) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *StreamTradesRequest) GetLimit() int32 {
+func (x *SubaccountTradesListRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-func (x *StreamTradesRequest) GetStartTime() int64 {
- if x != nil {
- return x.StartTime
- }
- return 0
-}
-
-func (x *StreamTradesRequest) GetEndTime() int64 {
- if x != nil {
- return x.EndTime
- }
- return 0
-}
-
-func (x *StreamTradesRequest) GetMarketIds() []string {
- if x != nil {
- return x.MarketIds
- }
- return nil
-}
-
-func (x *StreamTradesRequest) GetSubaccountIds() []string {
- if x != nil {
- return x.SubaccountIds
- }
- return nil
-}
-
-func (x *StreamTradesRequest) GetExecutionTypes() []string {
- if x != nil {
- return x.ExecutionTypes
- }
- return nil
-}
-
-type StreamTradesResponse struct {
+type SubaccountTradesListResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // New spot market trade
- Trade *SpotTrade `protobuf:"bytes,1,opt,name=trade,proto3" json:"trade,omitempty"`
- // Executed trades update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // List of spot market trades
+ Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
}
-func (x *StreamTradesResponse) Reset() {
- *x = StreamTradesResponse{}
+func (x *SubaccountTradesListResponse) Reset() {
+ *x = SubaccountTradesListResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2925,13 +3362,13 @@ func (x *StreamTradesResponse) Reset() {
}
}
-func (x *StreamTradesResponse) String() string {
+func (x *SubaccountTradesListResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamTradesResponse) ProtoMessage() {}
+func (*SubaccountTradesListResponse) ProtoMessage() {}
-func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message {
+func (x *SubaccountTradesListResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[39]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2943,33 +3380,19 @@ func (x *StreamTradesResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamTradesResponse.ProtoReflect.Descriptor instead.
-func (*StreamTradesResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use SubaccountTradesListResponse.ProtoReflect.Descriptor instead.
+func (*SubaccountTradesListResponse) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{39}
}
-func (x *StreamTradesResponse) GetTrade() *SpotTrade {
+func (x *SubaccountTradesListResponse) GetTrades() []*SpotTrade {
if x != nil {
- return x.Trade
+ return x.Trades
}
return nil
}
-func (x *StreamTradesResponse) GetOperationType() string {
- if x != nil {
- return x.OperationType
- }
- return ""
-}
-
-func (x *StreamTradesResponse) GetTimestamp() int64 {
- if x != nil {
- return x.Timestamp
- }
- return 0
-}
-
-type SubaccountOrdersListRequest struct {
+type OrdersHistoryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -2982,10 +3405,28 @@ type SubaccountOrdersListRequest struct {
Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
// Limit is used to specify the maximum number of items to be returned
Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
+ // filter by order types
+ OrderTypes []string `protobuf:"bytes,5,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"`
+ // order side filter
+ Direction string `protobuf:"bytes,6,opt,name=direction,proto3" json:"direction,omitempty"`
+ // Search for orders which createdAt >= startTime, time in millisecond
+ StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
+ // Search for orders which createdAt <= endTime, time in millisecond
+ EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ // Filter by order state
+ State string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"`
+ ExecutionTypes []string `protobuf:"bytes,10,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
+ MarketIds []string `protobuf:"bytes,11,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ // TradeId of the order we want to fetch
+ TradeId string `protobuf:"bytes,12,opt,name=trade_id,json=tradeId,proto3" json:"trade_id,omitempty"`
+ // Return only orders for active markets
+ ActiveMarketsOnly bool `protobuf:"varint,13,opt,name=active_markets_only,json=activeMarketsOnly,proto3" json:"active_markets_only,omitempty"`
+ // Client order ID
+ Cid string `protobuf:"bytes,14,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *SubaccountOrdersListRequest) Reset() {
- *x = SubaccountOrdersListRequest{}
+func (x *OrdersHistoryRequest) Reset() {
+ *x = OrdersHistoryRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -2993,13 +3434,13 @@ func (x *SubaccountOrdersListRequest) Reset() {
}
}
-func (x *SubaccountOrdersListRequest) String() string {
+func (x *OrdersHistoryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SubaccountOrdersListRequest) ProtoMessage() {}
+func (*OrdersHistoryRequest) ProtoMessage() {}
-func (x *SubaccountOrdersListRequest) ProtoReflect() protoreflect.Message {
+func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[40]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3011,50 +3452,121 @@ func (x *SubaccountOrdersListRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SubaccountOrdersListRequest.ProtoReflect.Descriptor instead.
-func (*SubaccountOrdersListRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrdersHistoryRequest.ProtoReflect.Descriptor instead.
+func (*OrdersHistoryRequest) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{40}
}
-func (x *SubaccountOrdersListRequest) GetSubaccountId() string {
+func (x *OrdersHistoryRequest) GetSubaccountId() string {
if x != nil {
return x.SubaccountId
}
return ""
}
-func (x *SubaccountOrdersListRequest) GetMarketId() string {
+func (x *OrdersHistoryRequest) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *SubaccountOrdersListRequest) GetSkip() uint64 {
+func (x *OrdersHistoryRequest) GetSkip() uint64 {
if x != nil {
return x.Skip
}
return 0
}
-func (x *SubaccountOrdersListRequest) GetLimit() int32 {
+func (x *OrdersHistoryRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
-type SubaccountOrdersListResponse struct {
+func (x *OrdersHistoryRequest) GetOrderTypes() []string {
+ if x != nil {
+ return x.OrderTypes
+ }
+ return nil
+}
+
+func (x *OrdersHistoryRequest) GetDirection() string {
+ if x != nil {
+ return x.Direction
+ }
+ return ""
+}
+
+func (x *OrdersHistoryRequest) GetStartTime() int64 {
+ if x != nil {
+ return x.StartTime
+ }
+ return 0
+}
+
+func (x *OrdersHistoryRequest) GetEndTime() int64 {
+ if x != nil {
+ return x.EndTime
+ }
+ return 0
+}
+
+func (x *OrdersHistoryRequest) GetState() string {
+ if x != nil {
+ return x.State
+ }
+ return ""
+}
+
+func (x *OrdersHistoryRequest) GetExecutionTypes() []string {
+ if x != nil {
+ return x.ExecutionTypes
+ }
+ return nil
+}
+
+func (x *OrdersHistoryRequest) GetMarketIds() []string {
+ if x != nil {
+ return x.MarketIds
+ }
+ return nil
+}
+
+func (x *OrdersHistoryRequest) GetTradeId() string {
+ if x != nil {
+ return x.TradeId
+ }
+ return ""
+}
+
+func (x *OrdersHistoryRequest) GetActiveMarketsOnly() bool {
+ if x != nil {
+ return x.ActiveMarketsOnly
+ }
+ return false
+}
+
+func (x *OrdersHistoryRequest) GetCid() string {
+ if x != nil {
+ return x.Cid
+ }
+ return ""
+}
+
+type OrdersHistoryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Orders []*SpotLimitOrder `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+ // List of history spot orders
+ Orders []*SpotOrderHistory `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
+ Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
}
-func (x *SubaccountOrdersListResponse) Reset() {
- *x = SubaccountOrdersListResponse{}
+func (x *OrdersHistoryResponse) Reset() {
+ *x = OrdersHistoryResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3062,13 +3574,13 @@ func (x *SubaccountOrdersListResponse) Reset() {
}
}
-func (x *SubaccountOrdersListResponse) String() string {
+func (x *OrdersHistoryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SubaccountOrdersListResponse) ProtoMessage() {}
+func (*OrdersHistoryResponse) ProtoMessage() {}
-func (x *SubaccountOrdersListResponse) ProtoReflect() protoreflect.Message {
+func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[41]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3080,46 +3592,66 @@ func (x *SubaccountOrdersListResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SubaccountOrdersListResponse.ProtoReflect.Descriptor instead.
-func (*SubaccountOrdersListResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use OrdersHistoryResponse.ProtoReflect.Descriptor instead.
+func (*OrdersHistoryResponse) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{41}
}
-func (x *SubaccountOrdersListResponse) GetOrders() []*SpotLimitOrder {
+func (x *OrdersHistoryResponse) GetOrders() []*SpotOrderHistory {
if x != nil {
return x.Orders
}
return nil
}
-func (x *SubaccountOrdersListResponse) GetPaging() *Paging {
+func (x *OrdersHistoryResponse) GetPaging() *Paging {
if x != nil {
return x.Paging
}
return nil
}
-type SubaccountTradesListRequest struct {
+type SpotOrderHistory struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // SubaccountId of the trader we want to get the trades from
- SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Filter trades by market ID
+ // Hash of the order
+ OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
+ // Spot Market ID is keccak265(baseDenom + quoteDenom)
MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Filter by execution type of trades
- ExecutionType string `protobuf:"bytes,3,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
- // Filter by direction trades
- Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,5,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned
- Limit int32 `protobuf:"zigzag32,6,opt,name=limit,proto3" json:"limit,omitempty"`
+ // active state of the order
+ IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
+ // The subaccountId that this order belongs to
+ SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
+ // The execution type
+ ExecutionType string `protobuf:"bytes,5,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
+ // The side of the order
+ OrderType string `protobuf:"bytes,6,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
+ // Price of the order
+ Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"`
+ // Trigger price
+ TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
+ // Quantity of the order
+ Quantity string `protobuf:"bytes,9,opt,name=quantity,proto3" json:"quantity,omitempty"`
+ // Filled amount
+ FilledQuantity string `protobuf:"bytes,10,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"`
+ // Order state
+ State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"`
+ // Order committed timestamp in UNIX millis.
+ CreatedAt int64 `protobuf:"zigzag64,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
+ // Order updated timestamp in UNIX millis.
+ UpdatedAt int64 `protobuf:"zigzag64,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
+ // Order direction (order side)
+ Direction string `protobuf:"bytes,14,opt,name=direction,proto3" json:"direction,omitempty"`
+ // Transaction Hash where order is created. Not all orders have this field
+ TxHash string `protobuf:"bytes,15,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
+ // Custom client order ID
+ Cid string `protobuf:"bytes,16,opt,name=cid,proto3" json:"cid,omitempty"`
}
-func (x *SubaccountTradesListRequest) Reset() {
- *x = SubaccountTradesListRequest{}
+func (x *SpotOrderHistory) Reset() {
+ *x = SpotOrderHistory{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3127,13 +3659,13 @@ func (x *SubaccountTradesListRequest) Reset() {
}
}
-func (x *SubaccountTradesListRequest) String() string {
+func (x *SpotOrderHistory) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SubaccountTradesListRequest) ProtoMessage() {}
+func (*SpotOrderHistory) ProtoMessage() {}
-func (x *SubaccountTradesListRequest) ProtoReflect() protoreflect.Message {
+func (x *SpotOrderHistory) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[42]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3145,102 +3677,124 @@ func (x *SubaccountTradesListRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SubaccountTradesListRequest.ProtoReflect.Descriptor instead.
-func (*SubaccountTradesListRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use SpotOrderHistory.ProtoReflect.Descriptor instead.
+func (*SpotOrderHistory) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{42}
}
-func (x *SubaccountTradesListRequest) GetSubaccountId() string {
+func (x *SpotOrderHistory) GetOrderHash() string {
if x != nil {
- return x.SubaccountId
+ return x.OrderHash
}
return ""
}
-func (x *SubaccountTradesListRequest) GetMarketId() string {
+func (x *SpotOrderHistory) GetMarketId() string {
if x != nil {
return x.MarketId
}
return ""
}
-func (x *SubaccountTradesListRequest) GetExecutionType() string {
+func (x *SpotOrderHistory) GetIsActive() bool {
+ if x != nil {
+ return x.IsActive
+ }
+ return false
+}
+
+func (x *SpotOrderHistory) GetSubaccountId() string {
+ if x != nil {
+ return x.SubaccountId
+ }
+ return ""
+}
+
+func (x *SpotOrderHistory) GetExecutionType() string {
if x != nil {
return x.ExecutionType
}
return ""
}
-func (x *SubaccountTradesListRequest) GetDirection() string {
+func (x *SpotOrderHistory) GetOrderType() string {
if x != nil {
- return x.Direction
+ return x.OrderType
}
return ""
}
-func (x *SubaccountTradesListRequest) GetSkip() uint64 {
+func (x *SpotOrderHistory) GetPrice() string {
if x != nil {
- return x.Skip
+ return x.Price
}
- return 0
+ return ""
}
-func (x *SubaccountTradesListRequest) GetLimit() int32 {
+func (x *SpotOrderHistory) GetTriggerPrice() string {
if x != nil {
- return x.Limit
+ return x.TriggerPrice
}
- return 0
+ return ""
}
-type SubaccountTradesListResponse struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
+func (x *SpotOrderHistory) GetQuantity() string {
+ if x != nil {
+ return x.Quantity
+ }
+ return ""
+}
- // List of spot market trades
- Trades []*SpotTrade `protobuf:"bytes,1,rep,name=trades,proto3" json:"trades,omitempty"`
+func (x *SpotOrderHistory) GetFilledQuantity() string {
+ if x != nil {
+ return x.FilledQuantity
+ }
+ return ""
}
-func (x *SubaccountTradesListResponse) Reset() {
- *x = SubaccountTradesListResponse{}
- if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[43]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
+func (x *SpotOrderHistory) GetState() string {
+ if x != nil {
+ return x.State
}
+ return ""
}
-func (x *SubaccountTradesListResponse) String() string {
- return protoimpl.X.MessageStringOf(x)
+func (x *SpotOrderHistory) GetCreatedAt() int64 {
+ if x != nil {
+ return x.CreatedAt
+ }
+ return 0
}
-func (*SubaccountTradesListResponse) ProtoMessage() {}
+func (x *SpotOrderHistory) GetUpdatedAt() int64 {
+ if x != nil {
+ return x.UpdatedAt
+ }
+ return 0
+}
-func (x *SubaccountTradesListResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[43]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
+func (x *SpotOrderHistory) GetDirection() string {
+ if x != nil {
+ return x.Direction
}
- return mi.MessageOf(x)
+ return ""
}
-// Deprecated: Use SubaccountTradesListResponse.ProtoReflect.Descriptor instead.
-func (*SubaccountTradesListResponse) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{43}
+func (x *SpotOrderHistory) GetTxHash() string {
+ if x != nil {
+ return x.TxHash
+ }
+ return ""
}
-func (x *SubaccountTradesListResponse) GetTrades() []*SpotTrade {
+func (x *SpotOrderHistory) GetCid() string {
if x != nil {
- return x.Trades
+ return x.Cid
}
- return nil
+ return ""
}
-type OrdersHistoryRequest struct {
+type StreamOrdersHistoryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
@@ -3249,41 +3803,32 @@ type OrdersHistoryRequest struct {
SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
// Market ID to filter orders for specific market
MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // Skip will skip the first n item from the result
- Skip uint64 `protobuf:"varint,3,opt,name=skip,proto3" json:"skip,omitempty"`
- // Limit is used to specify the maximum number of items to be returned
- Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
// filter by order types
- OrderTypes []string `protobuf:"bytes,5,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"`
+ OrderTypes []string `protobuf:"bytes,3,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"`
// order side filter
- Direction string `protobuf:"bytes,6,opt,name=direction,proto3" json:"direction,omitempty"`
- // Search for orders which createdAt >= startTime, time in millisecond
- StartTime int64 `protobuf:"zigzag64,7,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
- // Search for orders which createdAt <= endTime, time in millisecond
- EndTime int64 `protobuf:"zigzag64,8,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
+ Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
// Filter by order state
- State string `protobuf:"bytes,9,opt,name=state,proto3" json:"state,omitempty"`
- ExecutionTypes []string `protobuf:"bytes,10,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
- MarketIds []string `protobuf:"bytes,11,rep,name=market_ids,json=marketIds,proto3" json:"market_ids,omitempty"`
+ State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
+ ExecutionTypes []string `protobuf:"bytes,6,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
}
-func (x *OrdersHistoryRequest) Reset() {
- *x = OrdersHistoryRequest{}
+func (x *StreamOrdersHistoryRequest) Reset() {
+ *x = StreamOrdersHistoryRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[44]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OrdersHistoryRequest) String() string {
+func (x *StreamOrdersHistoryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrdersHistoryRequest) ProtoMessage() {}
+func (*StreamOrdersHistoryRequest) ProtoMessage() {}
-func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[44]
+func (x *StreamOrdersHistoryRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[43]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3294,115 +3839,83 @@ func (x *OrdersHistoryRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrdersHistoryRequest.ProtoReflect.Descriptor instead.
-func (*OrdersHistoryRequest) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{44}
-}
-
-func (x *OrdersHistoryRequest) GetSubaccountId() string {
- if x != nil {
- return x.SubaccountId
- }
- return ""
-}
-
-func (x *OrdersHistoryRequest) GetMarketId() string {
- if x != nil {
- return x.MarketId
- }
- return ""
-}
-
-func (x *OrdersHistoryRequest) GetSkip() uint64 {
- if x != nil {
- return x.Skip
- }
- return 0
-}
-
-func (x *OrdersHistoryRequest) GetLimit() int32 {
- if x != nil {
- return x.Limit
- }
- return 0
-}
-
-func (x *OrdersHistoryRequest) GetOrderTypes() []string {
- if x != nil {
- return x.OrderTypes
- }
- return nil
+// Deprecated: Use StreamOrdersHistoryRequest.ProtoReflect.Descriptor instead.
+func (*StreamOrdersHistoryRequest) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{43}
}
-func (x *OrdersHistoryRequest) GetDirection() string {
+func (x *StreamOrdersHistoryRequest) GetSubaccountId() string {
if x != nil {
- return x.Direction
+ return x.SubaccountId
}
return ""
}
-func (x *OrdersHistoryRequest) GetStartTime() int64 {
+func (x *StreamOrdersHistoryRequest) GetMarketId() string {
if x != nil {
- return x.StartTime
+ return x.MarketId
}
- return 0
+ return ""
}
-func (x *OrdersHistoryRequest) GetEndTime() int64 {
+func (x *StreamOrdersHistoryRequest) GetOrderTypes() []string {
if x != nil {
- return x.EndTime
+ return x.OrderTypes
}
- return 0
+ return nil
}
-func (x *OrdersHistoryRequest) GetState() string {
+func (x *StreamOrdersHistoryRequest) GetDirection() string {
if x != nil {
- return x.State
+ return x.Direction
}
return ""
}
-func (x *OrdersHistoryRequest) GetExecutionTypes() []string {
+func (x *StreamOrdersHistoryRequest) GetState() string {
if x != nil {
- return x.ExecutionTypes
+ return x.State
}
- return nil
+ return ""
}
-func (x *OrdersHistoryRequest) GetMarketIds() []string {
+func (x *StreamOrdersHistoryRequest) GetExecutionTypes() []string {
if x != nil {
- return x.MarketIds
+ return x.ExecutionTypes
}
return nil
}
-type OrdersHistoryResponse struct {
+type StreamOrdersHistoryResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // List of history spot orders
- Orders []*SpotOrderHistory `protobuf:"bytes,1,rep,name=orders,proto3" json:"orders,omitempty"`
- Paging *Paging `protobuf:"bytes,2,opt,name=paging,proto3" json:"paging,omitempty"`
+ // Updated order
+ Order *SpotOrderHistory `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
+ // Order update type
+ OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
+ // Operation timestamp in UNIX millis.
+ Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
}
-func (x *OrdersHistoryResponse) Reset() {
- *x = OrdersHistoryResponse{}
+func (x *StreamOrdersHistoryResponse) Reset() {
+ *x = StreamOrdersHistoryResponse{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[45]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *OrdersHistoryResponse) String() string {
+func (x *StreamOrdersHistoryResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*OrdersHistoryResponse) ProtoMessage() {}
+func (*StreamOrdersHistoryResponse) ProtoMessage() {}
-func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[45]
+func (x *StreamOrdersHistoryResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[44]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3413,77 +3926,68 @@ func (x *OrdersHistoryResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use OrdersHistoryResponse.ProtoReflect.Descriptor instead.
-func (*OrdersHistoryResponse) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{45}
+// Deprecated: Use StreamOrdersHistoryResponse.ProtoReflect.Descriptor instead.
+func (*StreamOrdersHistoryResponse) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{44}
}
-func (x *OrdersHistoryResponse) GetOrders() []*SpotOrderHistory {
+func (x *StreamOrdersHistoryResponse) GetOrder() *SpotOrderHistory {
if x != nil {
- return x.Orders
+ return x.Order
}
return nil
}
-func (x *OrdersHistoryResponse) GetPaging() *Paging {
+func (x *StreamOrdersHistoryResponse) GetOperationType() string {
if x != nil {
- return x.Paging
+ return x.OperationType
}
- return nil
+ return ""
}
-type SpotOrderHistory struct {
+func (x *StreamOrdersHistoryResponse) GetTimestamp() int64 {
+ if x != nil {
+ return x.Timestamp
+ }
+ return 0
+}
+
+type AtomicSwapHistoryRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Hash of the order
- OrderHash string `protobuf:"bytes,1,opt,name=order_hash,json=orderHash,proto3" json:"order_hash,omitempty"`
- // Spot Market ID is keccak265(baseDenom + quoteDenom)
- MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // active state of the order
- IsActive bool `protobuf:"varint,3,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
- // The subaccountId that this order belongs to
- SubaccountId string `protobuf:"bytes,4,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // The execution type
- ExecutionType string `protobuf:"bytes,5,opt,name=execution_type,json=executionType,proto3" json:"execution_type,omitempty"`
- // The side of the order
- OrderType string `protobuf:"bytes,6,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
- // Price of the order
- Price string `protobuf:"bytes,7,opt,name=price,proto3" json:"price,omitempty"`
- // Trigger price
- TriggerPrice string `protobuf:"bytes,8,opt,name=trigger_price,json=triggerPrice,proto3" json:"trigger_price,omitempty"`
- // Quantity of the order
- Quantity string `protobuf:"bytes,9,opt,name=quantity,proto3" json:"quantity,omitempty"`
- // Filled amount
- FilledQuantity string `protobuf:"bytes,10,opt,name=filled_quantity,json=filledQuantity,proto3" json:"filled_quantity,omitempty"`
- // Order state
- State string `protobuf:"bytes,11,opt,name=state,proto3" json:"state,omitempty"`
- // Order committed timestamp in UNIX millis.
- CreatedAt int64 `protobuf:"zigzag64,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
- // Order updated timestamp in UNIX millis.
- UpdatedAt int64 `protobuf:"zigzag64,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
- // Order direction (order side)
- Direction string `protobuf:"bytes,14,opt,name=direction,proto3" json:"direction,omitempty"`
+ // sender of the atomic swap
+ Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
+ // atomic swap contract address to filter
+ ContractAddress string `protobuf:"bytes,2,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
+ // skip some swaps
+ Skip int32 `protobuf:"zigzag32,3,opt,name=skip,proto3" json:"skip,omitempty"`
+ // limit number of swaps returned by this API
+ Limit int32 `protobuf:"zigzag32,4,opt,name=limit,proto3" json:"limit,omitempty"`
+ // lowerbound of atomic swap index
+ FromNumber int32 `protobuf:"zigzag32,5,opt,name=from_number,json=fromNumber,proto3" json:"from_number,omitempty"`
+ // upperbound of atomic swap index
+ ToNumber int32 `protobuf:"zigzag32,6,opt,name=to_number,json=toNumber,proto3" json:"to_number,omitempty"`
}
-func (x *SpotOrderHistory) Reset() {
- *x = SpotOrderHistory{}
+func (x *AtomicSwapHistoryRequest) Reset() {
+ *x = AtomicSwapHistoryRequest{}
if protoimpl.UnsafeEnabled {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[46]
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
-func (x *SpotOrderHistory) String() string {
+func (x *AtomicSwapHistoryRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*SpotOrderHistory) ProtoMessage() {}
+func (*AtomicSwapHistoryRequest) ProtoMessage() {}
-func (x *SpotOrderHistory) ProtoReflect() protoreflect.Message {
- mi := &file_injective_spot_exchange_rpc_proto_msgTypes[46]
+func (x *AtomicSwapHistoryRequest) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[45]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
@@ -3494,129 +3998,142 @@ func (x *SpotOrderHistory) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use SpotOrderHistory.ProtoReflect.Descriptor instead.
-func (*SpotOrderHistory) Descriptor() ([]byte, []int) {
- return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{46}
+// Deprecated: Use AtomicSwapHistoryRequest.ProtoReflect.Descriptor instead.
+func (*AtomicSwapHistoryRequest) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{45}
}
-func (x *SpotOrderHistory) GetOrderHash() string {
+func (x *AtomicSwapHistoryRequest) GetAddress() string {
if x != nil {
- return x.OrderHash
+ return x.Address
}
return ""
}
-func (x *SpotOrderHistory) GetMarketId() string {
+func (x *AtomicSwapHistoryRequest) GetContractAddress() string {
if x != nil {
- return x.MarketId
+ return x.ContractAddress
}
return ""
}
-func (x *SpotOrderHistory) GetIsActive() bool {
+func (x *AtomicSwapHistoryRequest) GetSkip() int32 {
if x != nil {
- return x.IsActive
+ return x.Skip
}
- return false
+ return 0
}
-func (x *SpotOrderHistory) GetSubaccountId() string {
+func (x *AtomicSwapHistoryRequest) GetLimit() int32 {
if x != nil {
- return x.SubaccountId
+ return x.Limit
}
- return ""
+ return 0
}
-func (x *SpotOrderHistory) GetExecutionType() string {
+func (x *AtomicSwapHistoryRequest) GetFromNumber() int32 {
if x != nil {
- return x.ExecutionType
+ return x.FromNumber
}
- return ""
+ return 0
}
-func (x *SpotOrderHistory) GetOrderType() string {
+func (x *AtomicSwapHistoryRequest) GetToNumber() int32 {
if x != nil {
- return x.OrderType
+ return x.ToNumber
}
- return ""
+ return 0
}
-func (x *SpotOrderHistory) GetPrice() string {
- if x != nil {
- return x.Price
- }
- return ""
-}
+type AtomicSwapHistoryResponse struct {
+ state protoimpl.MessageState
+ sizeCache protoimpl.SizeCache
+ unknownFields protoimpl.UnknownFields
-func (x *SpotOrderHistory) GetTriggerPrice() string {
- if x != nil {
- return x.TriggerPrice
- }
- return ""
+ // Paging indicates total number of records with this filter
+ Paging *Paging `protobuf:"bytes,1,opt,name=paging,proto3" json:"paging,omitempty"`
+ // swap data
+ Data []*AtomicSwap `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
}
-func (x *SpotOrderHistory) GetQuantity() string {
- if x != nil {
- return x.Quantity
+func (x *AtomicSwapHistoryResponse) Reset() {
+ *x = AtomicSwapHistoryResponse{}
+ if protoimpl.UnsafeEnabled {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[46]
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ ms.StoreMessageInfo(mi)
}
- return ""
}
-func (x *SpotOrderHistory) GetFilledQuantity() string {
- if x != nil {
- return x.FilledQuantity
- }
- return ""
+func (x *AtomicSwapHistoryResponse) String() string {
+ return protoimpl.X.MessageStringOf(x)
}
-func (x *SpotOrderHistory) GetState() string {
- if x != nil {
- return x.State
+func (*AtomicSwapHistoryResponse) ProtoMessage() {}
+
+func (x *AtomicSwapHistoryResponse) ProtoReflect() protoreflect.Message {
+ mi := &file_injective_spot_exchange_rpc_proto_msgTypes[46]
+ if protoimpl.UnsafeEnabled && x != nil {
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+ if ms.LoadMessageInfo() == nil {
+ ms.StoreMessageInfo(mi)
+ }
+ return ms
}
- return ""
+ return mi.MessageOf(x)
}
-func (x *SpotOrderHistory) GetCreatedAt() int64 {
- if x != nil {
- return x.CreatedAt
- }
- return 0
+// Deprecated: Use AtomicSwapHistoryResponse.ProtoReflect.Descriptor instead.
+func (*AtomicSwapHistoryResponse) Descriptor() ([]byte, []int) {
+ return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{46}
}
-func (x *SpotOrderHistory) GetUpdatedAt() int64 {
+func (x *AtomicSwapHistoryResponse) GetPaging() *Paging {
if x != nil {
- return x.UpdatedAt
+ return x.Paging
}
- return 0
+ return nil
}
-func (x *SpotOrderHistory) GetDirection() string {
+func (x *AtomicSwapHistoryResponse) GetData() []*AtomicSwap {
if x != nil {
- return x.Direction
+ return x.Data
}
- return ""
+ return nil
}
-type StreamOrdersHistoryRequest struct {
+type AtomicSwap struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // subaccount ID to filter orders for specific subaccount
- SubaccountId string `protobuf:"bytes,1,opt,name=subaccount_id,json=subaccountId,proto3" json:"subaccount_id,omitempty"`
- // Market ID to filter orders for specific market
- MarketId string `protobuf:"bytes,2,opt,name=market_id,json=marketId,proto3" json:"market_id,omitempty"`
- // filter by order types
- OrderTypes []string `protobuf:"bytes,3,rep,name=order_types,json=orderTypes,proto3" json:"order_types,omitempty"`
- // order side filter
- Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
- // Filter by order state
- State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
- ExecutionTypes []string `protobuf:"bytes,6,rep,name=execution_types,json=executionTypes,proto3" json:"execution_types,omitempty"`
-}
-
-func (x *StreamOrdersHistoryRequest) Reset() {
- *x = StreamOrdersHistoryRequest{}
+ // executor of the swap
+ Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
+ // swap route
+ Route string `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
+ // source coin
+ SourceCoin *Coin `protobuf:"bytes,3,opt,name=source_coin,json=sourceCoin,proto3" json:"source_coin,omitempty"`
+ // destination received coin
+ DestCoin *Coin `protobuf:"bytes,4,opt,name=dest_coin,json=destCoin,proto3" json:"dest_coin,omitempty"`
+ // fees of each steps in route
+ Fees []*Coin `protobuf:"bytes,5,rep,name=fees,proto3" json:"fees,omitempty"`
+ // contract address that executes to make this swap
+ ContractAddress string `protobuf:"bytes,6,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"`
+ // Numerical index by sender to use in pagination from_number and to_number
+ IndexBySender int32 `protobuf:"zigzag32,7,opt,name=index_by_sender,json=indexBySender,proto3" json:"index_by_sender,omitempty"`
+ // Numerical index by sender + acontract to use in pagination from_number and
+ // to_number, that support contract filter
+ IndexBySenderContract int32 `protobuf:"zigzag32,8,opt,name=index_by_sender_contract,json=indexBySenderContract,proto3" json:"index_by_sender_contract,omitempty"`
+ // transaction hash of the swap
+ TxHash string `protobuf:"bytes,9,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
+ // transaction timestamp of the swap
+ ExecutedAt int64 `protobuf:"zigzag64,10,opt,name=executed_at,json=executedAt,proto3" json:"executed_at,omitempty"`
+ // Refunded amount of the swap
+ RefundAmount string `protobuf:"bytes,11,opt,name=refund_amount,json=refundAmount,proto3" json:"refund_amount,omitempty"`
+}
+
+func (x *AtomicSwap) Reset() {
+ *x = AtomicSwap{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3624,13 +4141,13 @@ func (x *StreamOrdersHistoryRequest) Reset() {
}
}
-func (x *StreamOrdersHistoryRequest) String() string {
+func (x *AtomicSwap) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrdersHistoryRequest) ProtoMessage() {}
+func (*AtomicSwap) ProtoMessage() {}
-func (x *StreamOrdersHistoryRequest) ProtoReflect() protoreflect.Message {
+func (x *AtomicSwap) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[47]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3642,68 +4159,100 @@ func (x *StreamOrdersHistoryRequest) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrdersHistoryRequest.ProtoReflect.Descriptor instead.
-func (*StreamOrdersHistoryRequest) Descriptor() ([]byte, []int) {
+// Deprecated: Use AtomicSwap.ProtoReflect.Descriptor instead.
+func (*AtomicSwap) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{47}
}
-func (x *StreamOrdersHistoryRequest) GetSubaccountId() string {
+func (x *AtomicSwap) GetSender() string {
if x != nil {
- return x.SubaccountId
+ return x.Sender
}
return ""
}
-func (x *StreamOrdersHistoryRequest) GetMarketId() string {
+func (x *AtomicSwap) GetRoute() string {
if x != nil {
- return x.MarketId
+ return x.Route
}
return ""
}
-func (x *StreamOrdersHistoryRequest) GetOrderTypes() []string {
+func (x *AtomicSwap) GetSourceCoin() *Coin {
if x != nil {
- return x.OrderTypes
+ return x.SourceCoin
}
return nil
}
-func (x *StreamOrdersHistoryRequest) GetDirection() string {
+func (x *AtomicSwap) GetDestCoin() *Coin {
if x != nil {
- return x.Direction
+ return x.DestCoin
+ }
+ return nil
+}
+
+func (x *AtomicSwap) GetFees() []*Coin {
+ if x != nil {
+ return x.Fees
+ }
+ return nil
+}
+
+func (x *AtomicSwap) GetContractAddress() string {
+ if x != nil {
+ return x.ContractAddress
}
return ""
}
-func (x *StreamOrdersHistoryRequest) GetState() string {
+func (x *AtomicSwap) GetIndexBySender() int32 {
if x != nil {
- return x.State
+ return x.IndexBySender
+ }
+ return 0
+}
+
+func (x *AtomicSwap) GetIndexBySenderContract() int32 {
+ if x != nil {
+ return x.IndexBySenderContract
+ }
+ return 0
+}
+
+func (x *AtomicSwap) GetTxHash() string {
+ if x != nil {
+ return x.TxHash
}
return ""
}
-func (x *StreamOrdersHistoryRequest) GetExecutionTypes() []string {
+func (x *AtomicSwap) GetExecutedAt() int64 {
+ if x != nil {
+ return x.ExecutedAt
+ }
+ return 0
+}
+
+func (x *AtomicSwap) GetRefundAmount() string {
if x != nil {
- return x.ExecutionTypes
+ return x.RefundAmount
}
- return nil
+ return ""
}
-type StreamOrdersHistoryResponse struct {
+type Coin struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- // Updated order
- Order *SpotOrderHistory `protobuf:"bytes,1,opt,name=order,proto3" json:"order,omitempty"`
- // Order update type
- OperationType string `protobuf:"bytes,2,opt,name=operation_type,json=operationType,proto3" json:"operation_type,omitempty"`
- // Operation timestamp in UNIX millis.
- Timestamp int64 `protobuf:"zigzag64,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
+ // Denom of the coin
+ Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"`
+ Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
}
-func (x *StreamOrdersHistoryResponse) Reset() {
- *x = StreamOrdersHistoryResponse{}
+func (x *Coin) Reset() {
+ *x = Coin{}
if protoimpl.UnsafeEnabled {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3711,13 +4260,13 @@ func (x *StreamOrdersHistoryResponse) Reset() {
}
}
-func (x *StreamOrdersHistoryResponse) String() string {
+func (x *Coin) String() string {
return protoimpl.X.MessageStringOf(x)
}
-func (*StreamOrdersHistoryResponse) ProtoMessage() {}
+func (*Coin) ProtoMessage() {}
-func (x *StreamOrdersHistoryResponse) ProtoReflect() protoreflect.Message {
+func (x *Coin) ProtoReflect() protoreflect.Message {
mi := &file_injective_spot_exchange_rpc_proto_msgTypes[48]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
@@ -3729,30 +4278,23 @@ func (x *StreamOrdersHistoryResponse) ProtoReflect() protoreflect.Message {
return mi.MessageOf(x)
}
-// Deprecated: Use StreamOrdersHistoryResponse.ProtoReflect.Descriptor instead.
-func (*StreamOrdersHistoryResponse) Descriptor() ([]byte, []int) {
+// Deprecated: Use Coin.ProtoReflect.Descriptor instead.
+func (*Coin) Descriptor() ([]byte, []int) {
return file_injective_spot_exchange_rpc_proto_rawDescGZIP(), []int{48}
}
-func (x *StreamOrdersHistoryResponse) GetOrder() *SpotOrderHistory {
- if x != nil {
- return x.Order
- }
- return nil
-}
-
-func (x *StreamOrdersHistoryResponse) GetOperationType() string {
+func (x *Coin) GetDenom() string {
if x != nil {
- return x.OperationType
+ return x.Denom
}
return ""
}
-func (x *StreamOrdersHistoryResponse) GetTimestamp() int64 {
+func (x *Coin) GetAmount() string {
if x != nil {
- return x.Timestamp
+ return x.Amount
}
- return 0
+ return ""
}
var File_injective_spot_exchange_rpc_proto protoreflect.FileDescriptor
@@ -3762,698 +4304,808 @@ var file_injective_spot_exchange_rpc_proto_rawDesc = []byte{
0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x22, 0x75, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61,
- 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f,
- 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x73,
- 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f,
- 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f,
- 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x22, 0x58, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x07, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x73, 0x22, 0xae, 0x04, 0x0a, 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
- 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74,
- 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72,
- 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1d,
- 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x62, 0x61, 0x73, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x4e, 0x0a,
- 0x0f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0d,
- 0x62, 0x61, 0x73, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1f, 0x0a,
- 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x06, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x50,
- 0x0a, 0x10, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65,
- 0x74, 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x52, 0x0e, 0x71, 0x75, 0x6f, 0x74, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61,
- 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x46,
- 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f,
- 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x74, 0x61, 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14,
- 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
- 0x5f, 0x66, 0x65, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76,
- 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x65, 0x65, 0x12, 0x2d,
- 0x0a, 0x13, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x63, 0x6b,
- 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x6e,
- 0x50, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x33, 0x0a,
- 0x16, 0x6d, 0x69, 0x6e, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69,
- 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d,
- 0x69, 0x6e, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69,
- 0x7a, 0x65, 0x22, 0xa0, 0x01, 0x0a, 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61,
- 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
- 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16,
- 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
- 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65,
- 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x64, 0x65,
- 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x2c, 0x0a, 0x0d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73,
+ 0x22, 0x9e, 0x01, 0x0a, 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74,
+ 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65,
+ 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61,
+ 0x73, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65,
+ 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75,
+ 0x6f, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x0e, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x65,
+ 0x73, 0x22, 0x58, 0x0a, 0x0f, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x18,
+ 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e,
+ 0x66, 0x6f, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x22, 0xae, 0x04, 0x0a, 0x0e,
+ 0x53, 0x70, 0x6f, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b,
+ 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
+ 0x12, 0x16, 0x0a, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65,
+ 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x61,
+ 0x73, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x4e, 0x0a, 0x0f, 0x62, 0x61, 0x73, 0x65, 0x5f,
+ 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f,
+ 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54,
+ 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x54, 0x6f,
+ 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1f, 0x0a, 0x0b, 0x71, 0x75, 0x6f, 0x74, 0x65,
+ 0x5f, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x71, 0x75,
+ 0x6f, 0x74, 0x65, 0x44, 0x65, 0x6e, 0x6f, 0x6d, 0x12, 0x50, 0x0a, 0x10, 0x71, 0x75, 0x6f, 0x74,
+ 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x07, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
+ 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x0e, 0x71, 0x75, 0x6f, 0x74,
+ 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61,
+ 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0c, 0x6d, 0x61, 0x6b, 0x65, 0x72, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65,
+ 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61,
+ 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x61, 0x6b, 0x65, 0x72, 0x46,
+ 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a, 0x14, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
+ 0x65, 0x5f, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x0a,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f,
+ 0x76, 0x69, 0x64, 0x65, 0x72, 0x46, 0x65, 0x65, 0x12, 0x2d, 0x0a, 0x13, 0x6d, 0x69, 0x6e, 0x5f,
+ 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
+ 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x54,
+ 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x69, 0x6e, 0x5f, 0x71,
+ 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x74, 0x69, 0x63, 0x6b, 0x5f, 0x73, 0x69, 0x7a,
+ 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6d, 0x69, 0x6e, 0x51, 0x75, 0x61, 0x6e,
+ 0x74, 0x69, 0x74, 0x79, 0x54, 0x69, 0x63, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xa0, 0x01, 0x0a,
+ 0x09, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
+ 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18,
+ 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x6d, 0x62,
+ 0x6f, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c,
+ 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x67, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
+ 0x6c, 0x6f, 0x67, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73,
+ 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x64, 0x65, 0x63, 0x69, 0x6d, 0x61, 0x6c, 0x73,
+ 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x06,
+ 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22,
+ 0x2c, 0x0a, 0x0d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x55, 0x0a,
+ 0x0e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
+ 0x43, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70,
+ 0x6f, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x22, 0x35, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
+ 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09,
+ 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x15,
+ 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e,
- 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x22, 0x35, 0x0a, 0x14, 0x53, 0x74,
- 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
- 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73,
- 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
- 0x73, 0x22, 0xa1, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x2f, 0x0a, 0x10, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
- 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72,
- 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x62, 0x0a, 0x11, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62,
- 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f,
- 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52,
- 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0xae, 0x01, 0x0a, 0x12, 0x53,
+ 0x66, 0x6f, 0x52, 0x06, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70,
+ 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
+ 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22,
+ 0x31, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
+ 0x49, 0x64, 0x22, 0x66, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56,
+ 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c,
+ 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52,
+ 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0xcc, 0x01, 0x0a, 0x14, 0x53,
0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x12, 0x3b, 0x0a, 0x04, 0x62, 0x75, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x6b, 0x56, 0x32, 0x12, 0x3b, 0x0a, 0x04, 0x62, 0x75, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
+ 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x04, 0x62, 0x75, 0x79, 0x73,
+ 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72,
- 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x04, 0x62, 0x75, 0x79, 0x73, 0x12, 0x3d,
- 0x0a, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65,
- 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63,
- 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x1c, 0x0a,
- 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12,
- 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x5c, 0x0a, 0x0a, 0x50,
- 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69,
- 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12,
- 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74,
- 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
- 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x31, 0x0a, 0x12, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x66, 0x0a, 0x13,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0xcc, 0x01, 0x0a, 0x14, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d,
- 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x3b, 0x0a,
- 0x04, 0x62, 0x75, 0x79, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c,
- 0x65, 0x76, 0x65, 0x6c, 0x52, 0x04, 0x62, 0x75, 0x79, 0x73, 0x12, 0x3d, 0x0a, 0x05, 0x73, 0x65,
- 0x6c, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76,
- 0x65, 0x6c, 0x52, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71,
- 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71,
- 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
- 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x22, 0x32, 0x0a, 0x11, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0x6b, 0x0a, 0x12, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a,
- 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
- 0x0b, 0x32, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
- 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f,
- 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62,
- 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x86, 0x01, 0x0a, 0x18, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53,
- 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x4d,
- 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
- 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
- 0x6f, 0x6b, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0x34, 0x0a,
- 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
- 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x64, 0x73, 0x22, 0x6f, 0x0a, 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
- 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
- 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69,
- 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62,
- 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x8a, 0x01, 0x0a, 0x1a, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53,
- 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x56, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
- 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x22, 0x37, 0x0a, 0x16, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
- 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0xca, 0x01, 0x0a, 0x17, 0x53,
- 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62,
- 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x12,
+ 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x5c, 0x0a, 0x0a, 0x50, 0x72, 0x69,
+ 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a,
+ 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x34, 0x0a, 0x13, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,
+ 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0x6f, 0x0a,
+ 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
+ 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69,
- 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x70,
+ 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
+ 0x56, 0x32, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x8a,
+ 0x01, 0x0a, 0x1a, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d,
+ 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x1b, 0x0a,
+ 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x72,
+ 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65,
+ 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74,
+ 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32,
+ 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x22, 0x39, 0x0a, 0x18, 0x53,
+ 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
+ 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f,
+ 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65,
0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f,
0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09,
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52,
0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x39, 0x0a, 0x18, 0x53, 0x74, 0x72, 0x65, 0x61,
- 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
- 0x64, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x19, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x4f, 0x0a, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
- 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
- 0x64, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x1d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x17, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x65, 0x76,
- 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x52, 0x15, 0x6f, 0x72, 0x64, 0x65, 0x72,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0x3d, 0x0a, 0x1c, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0xed, 0x01, 0x0a, 0x1d, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x17, 0x6f, 0x72, 0x64, 0x65,
+ 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
+ 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x52, 0x15, 0x6f,
+ 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f,
+ 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70,
+ 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
+ 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x22, 0xf7, 0x01, 0x0a, 0x15, 0x4f, 0x72, 0x64, 0x65, 0x72,
0x62, 0x6f, 0x6f, 0x6b, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73,
- 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
- 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
- 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x64, 0x22, 0xf7, 0x01, 0x0a, 0x15, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x71,
- 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x73, 0x65, 0x71,
- 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x62, 0x75, 0x79, 0x73, 0x18, 0x03, 0x20,
- 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61,
- 0x74, 0x65, 0x52, 0x04, 0x62, 0x75, 0x79, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x73, 0x65, 0x6c, 0x6c,
- 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a,
+ 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x08, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x04, 0x62, 0x75, 0x79,
+ 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c,
- 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x12, 0x1d, 0x0a,
- 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x7f, 0x0a, 0x10,
- 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69,
- 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69,
- 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12,
- 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xd6, 0x02,
- 0x0a, 0x0d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
- 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04,
- 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74,
- 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
- 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64,
- 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
- 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69,
- 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69,
- 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x36,
- 0x0a, 0x17, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74,
- 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x15, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69,
- 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x3b,
- 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67,
- 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0x8d, 0x03, 0x0a, 0x0e,
- 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x1d,
- 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d, 0x0a,
- 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x09,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x14,
- 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70,
- 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
- 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61,
- 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e, 0x66,
- 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a,
- 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69,
- 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69,
- 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65,
- 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
- 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a,
- 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a,
- 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12,
- 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x22, 0x72, 0x0a, 0x06, 0x50,
- 0x61, 0x67, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66,
- 0x72, 0x6f, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12,
- 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12,
- 0x2e, 0x0a, 0x13, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x42, 0x79, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22,
- 0xdc, 0x02, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73,
- 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b,
- 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69,
- 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53,
- 0x69, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d,
- 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69,
- 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18,
- 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e,
- 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x22, 0x9e,
- 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70,
- 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
- 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03,
- 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22,
- 0xe9, 0x02, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
- 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25,
- 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
- 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
- 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
- 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d,
- 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
- 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20,
- 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
- 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20,
- 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
- 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
- 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65,
- 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x8d, 0x01, 0x0a, 0x0e,
- 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e,
- 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f,
- 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x3b,
- 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67,
- 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xa0, 0x03, 0x0a, 0x09,
- 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x04, 0x62, 0x75, 0x79, 0x73, 0x12, 0x43, 0x0a, 0x05,
+ 0x73, 0x65, 0x6c, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c,
+ 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x65, 0x6c, 0x6c,
+ 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18,
+ 0x05, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74,
+ 0x22, 0x7f, 0x0a, 0x10, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x55, 0x70,
+ 0x64, 0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75,
+ 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75,
+ 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
+ 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
+ 0x70, 0x22, 0x83, 0x03, 0x0a, 0x0d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64,
+ 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12,
+ 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69,
+ 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d,
+ 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a,
+ 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75,
+ 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
+ 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e, 0x61, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20,
+ 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54,
+ 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72,
+ 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72,
+ 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x92, 0x01, 0x0a, 0x0e, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6f, 0x72,
+ 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d,
+ 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12,
+ 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
+ 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61,
+ 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xb8, 0x03, 0x0a,
+ 0x0e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x12,
+ 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1d,
+ 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1b, 0x0a,
0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x74, 0x72,
- 0x61, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74, 0x72, 0x61, 0x64, 0x65, 0x45,
- 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f,
- 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x64, 0x65, 0x44, 0x69, 0x72, 0x65,
- 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12,
+ 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
+ 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
+ 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74,
+ 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75,
+ 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x75, 0x6e,
+ 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x23,
+ 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18,
+ 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72,
+ 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70,
+ 0x69, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52,
+ 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
+ 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d,
+ 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01,
+ 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x17, 0x0a, 0x07,
+ 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74,
+ 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x86, 0x01, 0x0a, 0x06, 0x50, 0x61, 0x67, 0x69,
+ 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d,
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02,
+ 0x74, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x74, 0x6f, 0x12, 0x2e, 0x0a, 0x13,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x11, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x42, 0x79, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04,
+ 0x6e, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74,
+ 0x22, 0x89, 0x03, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x73,
+ 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72,
+ 0x53, 0x69, 0x64, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69,
+ 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a,
+ 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69,
+ 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d,
+ 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69,
+ 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
+ 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x29, 0x0a, 0x10,
+ 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49,
+ 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x73, 0x75, 0x62, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6f, 0x72, 0x64, 0x65,
+ 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12,
+ 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69,
+ 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x9e, 0x01, 0x0a,
+ 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x70,
- 0x72, 0x69, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
- 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x0a, 0x65, 0x78, 0x65,
- 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x72,
- 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
- 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08,
- 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
- 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x22, 0xef,
- 0x02, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
- 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65,
- 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
- 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
- 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a,
- 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69,
- 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11,
- 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
- 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61,
- 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69,
- 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d,
- 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18,
- 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73,
- 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
- 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73,
- 0x22, 0x99, 0x01, 0x0a, 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x74, 0x72, 0x61,
- 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65,
- 0x52, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
- 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x89, 0x01, 0x0a,
- 0x1b, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d,
- 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
- 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12,
- 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b,
- 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0xa0, 0x01, 0x0a, 0x1c, 0x53, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73,
- 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6f, 0x72, 0x64,
- 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69,
- 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x3b,
- 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23,
- 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
- 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67,
- 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xce, 0x01, 0x0a, 0x1b,
- 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73,
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
- 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
- 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a,
- 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e,
- 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
- 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x5e, 0x0a, 0x1c,
- 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73,
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06,
- 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78,
- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x54,
- 0x72, 0x61, 0x64, 0x65, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x22, 0xd9, 0x02, 0x0a,
- 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75,
- 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c,
- 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69,
- 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
- 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70,
- 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72,
+ 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
+ 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01,
+ 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xbf, 0x03,
+ 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e,
+ 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53,
+ 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
+ 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
+ 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05,
+ 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69,
+ 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07,
0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12,
0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74,
- 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65,
+ 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09,
+ 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62,
+ 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28,
+ 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73,
0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
- 0x70, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75,
- 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72,
- 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x15, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
- 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03,
- 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
+ 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75,
+ 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61,
+ 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61,
+ 0x64, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f,
+ 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a,
+ 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22,
+ 0x8d, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
+ 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
- 0x79, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x67,
- 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06,
- 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xc8, 0x03, 0x0a, 0x10, 0x53, 0x70, 0x6f, 0x74, 0x4f,
- 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6f,
- 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
- 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
- 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65,
- 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
- 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12,
- 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
- 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72,
- 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72,
- 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75,
- 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75,
- 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64,
- 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52,
- 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12,
- 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
- 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64,
- 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74,
- 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f,
- 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
- 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x22, 0xdc, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65,
- 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
- 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69,
- 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
- 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f,
- 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65,
- 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79,
- 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
- 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
- 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75,
- 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09,
- 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73,
- 0x22, 0xa7, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x43, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
- 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
- 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70,
- 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x05,
- 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
- 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f,
- 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09,
- 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52,
- 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x32, 0x8e, 0x11, 0x0a, 0x18, 0x49,
- 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x63, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x52, 0x50, 0x43, 0x12, 0x64, 0x0a, 0x07, 0x4d, 0x61, 0x72, 0x6b, 0x65,
- 0x74, 0x73, 0x12, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
+ 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64,
+ 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
- 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61,
- 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a,
- 0x06, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75,
- 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22,
+ 0xb2, 0x03, 0x0a, 0x09, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d,
+ 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
+ 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x30,
+ 0x0a, 0x14, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
+ 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x74, 0x72,
+ 0x61, 0x64, 0x65, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
+ 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x64, 0x65,
+ 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3d, 0x0a, 0x05, 0x70, 0x72, 0x69,
+ 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65,
+ 0x6c, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78,
+ 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x66,
+ 0x65, 0x65, 0x5f, 0x72, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x52, 0x65, 0x63, 0x69, 0x70, 0x69, 0x65, 0x6e, 0x74,
+ 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0a, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65,
+ 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x0b, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69,
+ 0x64, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x03, 0x63, 0x69, 0x64, 0x22, 0xc5, 0x03, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54,
+ 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09,
+ 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65,
+ 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23,
+ 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08,
+ 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07,
+ 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d,
+ 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a,
+ 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
+ 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
+ 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f,
+ 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49,
+ 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69,
+ 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x99, 0x01, 0x0a,
+ 0x14, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x74, 0x72,
+ 0x61, 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
+ 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65,
+ 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69,
+ 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74,
+ 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc1, 0x03, 0x0a, 0x0f, 0x54, 0x72, 0x61,
+ 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09,
+ 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65,
+ 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23,
+ 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
+ 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28,
+ 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74,
+ 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a,
+ 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08,
+ 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07,
+ 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x49, 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d,
+ 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a,
+ 0x0f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73,
+ 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f,
+ 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f,
+ 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49,
+ 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69,
+ 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x8f, 0x01, 0x0a,
+ 0x10, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
+ 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
+ 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65,
+ 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
+ 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xc7,
+ 0x03, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56,
+ 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72,
+ 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69,
+ 0x6f, 0x6e, 0x5f, 0x73, 0x69, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65,
+ 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x69, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09,
+ 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12,
+ 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73,
+ 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01,
+ 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61,
+ 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x73,
+ 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f,
+ 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54,
+ 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
+ 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
+ 0x64, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x5f, 0x69, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x61,
+ 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
+ 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x27, 0x0a,
+ 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
+ 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x41,
+ 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22, 0x9b, 0x01, 0x0a, 0x16, 0x53, 0x74, 0x72,
+ 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x05, 0x74, 0x72, 0x61, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
+ 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x05, 0x74, 0x72, 0x61, 0x64,
+ 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74,
+ 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
+ 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d,
+ 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x89, 0x01, 0x0a, 0x1b, 0x53, 0x75, 0x62, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
+ 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70,
+ 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05,
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d,
+ 0x69, 0x74, 0x22, 0xa0, 0x01, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20,
+ 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
- 0x12, 0x78, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74,
- 0x73, 0x12, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
+ 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69,
+ 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70,
+ 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xce, 0x01, 0x0a, 0x1b, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f,
+ 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75,
+ 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75,
+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
+ 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
+ 0x73, 0x6b, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x6b, 0x69, 0x70,
+ 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52,
+ 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x5e, 0x0a, 0x1c, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
+ 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x06, 0x74, 0x72, 0x61, 0x64, 0x65, 0x73,
+ 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x52, 0x06,
+ 0x74, 0x72, 0x61, 0x64, 0x65, 0x73, 0x22, 0xb6, 0x03, 0x0a, 0x14, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
+ 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69,
+ 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
+ 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
+ 0x04, 0x73, 0x6b, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04,
+ 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6f,
+ 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09,
+ 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09,
+ 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74,
+ 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x09,
+ 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64,
+ 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x65, 0x6e, 0x64,
+ 0x54, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78,
+ 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x0a, 0x20,
+ 0x03, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
+ 0x70, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64,
+ 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49,
+ 0x64, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x72, 0x61, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x0c,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x64, 0x65, 0x49, 0x64, 0x12, 0x2e, 0x0a,
+ 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x5f,
+ 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x10, 0x0a,
+ 0x03, 0x63, 0x69, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x63, 0x69, 0x64, 0x22,
+ 0x9b, 0x01, 0x0a, 0x15, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
+ 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73,
+ 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f,
+ 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x50,
+ 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x22, 0xf3, 0x03,
+ 0x0a, 0x10, 0x53, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f,
+ 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68,
+ 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x61, 0x73,
+ 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1b,
+ 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x08, 0x52, 0x08, 0x69, 0x73, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73,
+ 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
+ 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
+ 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
+ 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72,
+ 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x72, 0x64,
+ 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18,
+ 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d,
+ 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x08, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x50, 0x72, 0x69, 0x63,
+ 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x09, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x27, 0x0a,
+ 0x0f, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79,
+ 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c, 0x6c, 0x65, 0x64, 0x51, 0x75,
+ 0x61, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18,
+ 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
+ 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x12,
+ 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75,
+ 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x12, 0x52,
+ 0x09, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69,
+ 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64,
+ 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68,
+ 0x61, 0x73, 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73,
+ 0x68, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
+ 0x63, 0x69, 0x64, 0x22, 0xdc, 0x01, 0x0a, 0x1a, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72,
+ 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
+ 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x75, 0x62, 0x61, 0x63,
+ 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x61, 0x72, 0x6b,
+ 0x65, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x79,
+ 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x72, 0x64, 0x65, 0x72,
+ 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
+ 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74,
+ 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01,
+ 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x65, 0x78, 0x65,
+ 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,
+ 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70,
+ 0x65, 0x73, 0x22, 0xa7, 0x01, 0x0a, 0x1b, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64,
+ 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
+ 0x73, 0x65, 0x12, 0x43, 0x0a, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
+ 0x0b, 0x32, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x53, 0x70, 0x6f, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
+ 0x52, 0x05, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6f, 0x70, 0x65, 0x72, 0x61,
+ 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x0d, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c,
+ 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28,
+ 0x12, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0xc7, 0x01, 0x0a,
+ 0x18, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x53, 0x77, 0x61, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f,
+ 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,
+ 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
+ 0x65, 0x73, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x5f,
+ 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63,
+ 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x12,
+ 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x04, 0x73, 0x6b,
+ 0x69, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
+ 0x11, 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x72, 0x6f, 0x6d,
+ 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0a, 0x66,
+ 0x72, 0x6f, 0x6d, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x5f,
+ 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x08, 0x74, 0x6f,
+ 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x22, 0x95, 0x01, 0x0a, 0x19, 0x41, 0x74, 0x6f, 0x6d, 0x69,
+ 0x63, 0x53, 0x77, 0x61, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
+ 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x18, 0x01,
+ 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
- 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x6a, 0x0a, 0x09, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x12, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
- 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62,
- 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
- 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
- 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x70, 0x63, 0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x67, 0x52, 0x06, 0x70, 0x61, 0x67, 0x69, 0x6e,
+ 0x67, 0x12, 0x3b, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
+ 0x27, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x74,
+ 0x6f, 0x6d, 0x69, 0x63, 0x53, 0x77, 0x61, 0x70, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xe0,
+ 0x03, 0x0a, 0x0a, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x53, 0x77, 0x61, 0x70, 0x12, 0x16, 0x0a,
+ 0x06, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73,
+ 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x02,
+ 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x73,
+ 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
+ 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f,
+ 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43,
+ 0x6f, 0x69, 0x6e, 0x52, 0x0a, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x69, 0x6e, 0x12,
+ 0x3e, 0x0a, 0x09, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x63, 0x6f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01,
+ 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
+ 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x52, 0x08, 0x64, 0x65, 0x73, 0x74, 0x43, 0x6f, 0x69, 0x6e, 0x12,
+ 0x35, 0x0a, 0x04, 0x66, 0x65, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
+ 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65,
+ 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e,
+ 0x52, 0x04, 0x66, 0x65, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61,
+ 0x63, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
+ 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x63, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
+ 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x65,
+ 0x6e, 0x64, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x11, 0x52, 0x0d, 0x69, 0x6e, 0x64, 0x65,
+ 0x78, 0x42, 0x79, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x64,
+ 0x65, 0x78, 0x5f, 0x62, 0x79, 0x5f, 0x73, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e,
+ 0x74, 0x72, 0x61, 0x63, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x11, 0x52, 0x15, 0x69, 0x6e, 0x64,
+ 0x65, 0x78, 0x42, 0x79, 0x53, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x61,
+ 0x63, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x09, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x65,
+ 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x12,
+ 0x52, 0x0a, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x23, 0x0a, 0x0d,
+ 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0b, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x66, 0x75, 0x6e, 0x64, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
+ 0x74, 0x22, 0x34, 0x0a, 0x04, 0x43, 0x6f, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6e,
+ 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x64, 0x65, 0x6e, 0x6f, 0x6d, 0x12,
+ 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
+ 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x32, 0x9e, 0x11, 0x0a, 0x18, 0x49, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x70, 0x6f, 0x74, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x52, 0x50, 0x43, 0x12, 0x64, 0x0a, 0x07, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12,
+ 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x69,
+ 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65,
+ 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x06, 0x4d, 0x61,
+ 0x72, 0x6b, 0x65, 0x74, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
+ 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f,
+ 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4d,
+ 0x61, 0x72, 0x6b, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x78, 0x0a,
+ 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x12, 0x31,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
+ 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72,
+ 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
+ 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
+ 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
+ 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4d, 0x61, 0x72, 0x6b, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x70, 0x0a, 0x0b, 0x4f, 0x72, 0x64, 0x65, 0x72,
+ 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6d, 0x0a, 0x0a, 0x4f, 0x72, 0x64, 0x65,
- 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x2e, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x52,
- 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x0c, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73,
- 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56,
+ 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x73, 0x0a, 0x0c, 0x4f, 0x72, 0x64,
+ 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f,
- 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7e, 0x0a, 0x0f,
- 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x12,
- 0x33, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
- 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
- 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71,
- 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
+ 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62,
+ 0x6f, 0x6f, 0x6b, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84,
+ 0x01, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
+ 0x6f, 0x6b, 0x56, 0x32, 0x12, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65,
0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72,
0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f,
- 0x6f, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x84, 0x01, 0x0a,
- 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x56, 0x32, 0x12, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
+ 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
+ 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f,
+ 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x90, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
+ 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,
+ 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
+ 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64,
+ 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f,
+ 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x06, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x73, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
- 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b,
- 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
- 0x65, 0x30, 0x01, 0x12, 0x90, 0x01, 0x0a, 0x15, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x39, 0x2e,
+ 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
+ 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64,
+ 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x53,
+ 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
+ 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e,
0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65,
0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65,
- 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74,
- 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
- 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64,
- 0x65, 0x72, 0x62, 0x6f, 0x6f, 0x6b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70,
- 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x61, 0x0a, 0x06, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73,
- 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f,
- 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f,
- 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x69,
+ 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x30, 0x01, 0x12, 0x61, 0x0a, 0x06, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x69,
0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78,
- 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x53, 0x74, 0x72,
- 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
- 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
- 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72,
- 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e,
- 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
- 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
- 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01,
- 0x12, 0x61, 0x0a, 0x06, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x6a,
- 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
- 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61,
- 0x64, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65,
- 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65,
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x75, 0x0a, 0x0c, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54,
+ 0x72, 0x61, 0x64, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x8b, 0x01, 0x0a, 0x14, 0x53,
- 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c,
- 0x69, 0x73, 0x74, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
- 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
- 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65,
- 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65,
- 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61,
- 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74,
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8b, 0x01, 0x0a, 0x14, 0x53, 0x75, 0x62,
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73,
- 0x74, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70,
- 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e,
- 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73,
- 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x69, 0x6e,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64,
+ 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x12, 0x67, 0x0a, 0x08,
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x12, 0x2c, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63,
+ 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e,
+ 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
+ 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
+ 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73,
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x7b, 0x0a, 0x0e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54,
+ 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x12, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x54, 0x72, 0x61, 0x64,
+ 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x69, 0x6e,
+ 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
+ 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d,
+ 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x56, 0x32, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x30, 0x01, 0x12, 0x8b, 0x01, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
+ 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x2e, 0x69, 0x6e,
0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63,
0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63,
- 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76, 0x0a, 0x0d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73,
- 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
+ 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65,
+ 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76,
+ 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f,
+ 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4f, 0x72,
+ 0x64, 0x65, 0x72, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
+ 0x12, 0x8b, 0x01, 0x0a, 0x14, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54,
+ 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75,
+ 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64, 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
+ 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f,
+ 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70,
+ 0x63, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x72, 0x61, 0x64,
+ 0x65, 0x73, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x76,
+ 0x0a, 0x0d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12,
+ 0x31, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
+ 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72,
+ 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
+ 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73,
+ 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63,
+ 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65,
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a, 0x01, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61,
+ 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x37,
+ 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f,
+ 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72,
+ 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74,
0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67,
- 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74,
- 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x69, 0x6e, 0x6a,
+ 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65,
+ 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
+ 0x65, 0x30, 0x01, 0x12, 0x82, 0x01, 0x0a, 0x11, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x53, 0x77,
+ 0x61, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x35, 0x2e, 0x69, 0x6e, 0x6a, 0x65,
+ 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61,
+ 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x53, 0x77,
+ 0x61, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x36, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f,
+ 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x41,
+ 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x53, 0x77, 0x61, 0x70, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79,
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x20, 0x5a, 0x1e, 0x2f, 0x69, 0x6e, 0x6a,
0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68,
- 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48,
- 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x8a,
- 0x01, 0x0a, 0x13, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48,
- 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x37, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69,
- 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65,
- 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72,
- 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
- 0x38, 0x2e, 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74,
- 0x5f, 0x65, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74,
- 0x72, 0x65, 0x61, 0x6d, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
- 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 0x42, 0x20, 0x5a, 0x1e, 0x2f,
- 0x69, 0x6e, 0x6a, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x70, 0x6f, 0x74, 0x5f, 0x65,
- 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70,
- 0x72, 0x6f, 0x74, 0x6f, 0x33,
+ 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x72, 0x70, 0x63, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
+ 0x6f, 0x33,
}
var (
@@ -4478,47 +5130,47 @@ var file_injective_spot_exchange_rpc_proto_goTypes = []interface{}{
(*MarketResponse)(nil), // 5: injective_spot_exchange_rpc.MarketResponse
(*StreamMarketsRequest)(nil), // 6: injective_spot_exchange_rpc.StreamMarketsRequest
(*StreamMarketsResponse)(nil), // 7: injective_spot_exchange_rpc.StreamMarketsResponse
- (*OrderbookRequest)(nil), // 8: injective_spot_exchange_rpc.OrderbookRequest
- (*OrderbookResponse)(nil), // 9: injective_spot_exchange_rpc.OrderbookResponse
- (*SpotLimitOrderbook)(nil), // 10: injective_spot_exchange_rpc.SpotLimitOrderbook
+ (*OrderbookV2Request)(nil), // 8: injective_spot_exchange_rpc.OrderbookV2Request
+ (*OrderbookV2Response)(nil), // 9: injective_spot_exchange_rpc.OrderbookV2Response
+ (*SpotLimitOrderbookV2)(nil), // 10: injective_spot_exchange_rpc.SpotLimitOrderbookV2
(*PriceLevel)(nil), // 11: injective_spot_exchange_rpc.PriceLevel
- (*OrderbookV2Request)(nil), // 12: injective_spot_exchange_rpc.OrderbookV2Request
- (*OrderbookV2Response)(nil), // 13: injective_spot_exchange_rpc.OrderbookV2Response
- (*SpotLimitOrderbookV2)(nil), // 14: injective_spot_exchange_rpc.SpotLimitOrderbookV2
- (*OrderbooksRequest)(nil), // 15: injective_spot_exchange_rpc.OrderbooksRequest
- (*OrderbooksResponse)(nil), // 16: injective_spot_exchange_rpc.OrderbooksResponse
- (*SingleSpotLimitOrderbook)(nil), // 17: injective_spot_exchange_rpc.SingleSpotLimitOrderbook
- (*OrderbooksV2Request)(nil), // 18: injective_spot_exchange_rpc.OrderbooksV2Request
- (*OrderbooksV2Response)(nil), // 19: injective_spot_exchange_rpc.OrderbooksV2Response
- (*SingleSpotLimitOrderbookV2)(nil), // 20: injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2
- (*StreamOrderbookRequest)(nil), // 21: injective_spot_exchange_rpc.StreamOrderbookRequest
- (*StreamOrderbookResponse)(nil), // 22: injective_spot_exchange_rpc.StreamOrderbookResponse
- (*StreamOrderbookV2Request)(nil), // 23: injective_spot_exchange_rpc.StreamOrderbookV2Request
- (*StreamOrderbookV2Response)(nil), // 24: injective_spot_exchange_rpc.StreamOrderbookV2Response
- (*StreamOrderbookUpdateRequest)(nil), // 25: injective_spot_exchange_rpc.StreamOrderbookUpdateRequest
- (*StreamOrderbookUpdateResponse)(nil), // 26: injective_spot_exchange_rpc.StreamOrderbookUpdateResponse
- (*OrderbookLevelUpdates)(nil), // 27: injective_spot_exchange_rpc.OrderbookLevelUpdates
- (*PriceLevelUpdate)(nil), // 28: injective_spot_exchange_rpc.PriceLevelUpdate
- (*OrdersRequest)(nil), // 29: injective_spot_exchange_rpc.OrdersRequest
- (*OrdersResponse)(nil), // 30: injective_spot_exchange_rpc.OrdersResponse
- (*SpotLimitOrder)(nil), // 31: injective_spot_exchange_rpc.SpotLimitOrder
- (*Paging)(nil), // 32: injective_spot_exchange_rpc.Paging
- (*StreamOrdersRequest)(nil), // 33: injective_spot_exchange_rpc.StreamOrdersRequest
- (*StreamOrdersResponse)(nil), // 34: injective_spot_exchange_rpc.StreamOrdersResponse
- (*TradesRequest)(nil), // 35: injective_spot_exchange_rpc.TradesRequest
- (*TradesResponse)(nil), // 36: injective_spot_exchange_rpc.TradesResponse
- (*SpotTrade)(nil), // 37: injective_spot_exchange_rpc.SpotTrade
- (*StreamTradesRequest)(nil), // 38: injective_spot_exchange_rpc.StreamTradesRequest
- (*StreamTradesResponse)(nil), // 39: injective_spot_exchange_rpc.StreamTradesResponse
- (*SubaccountOrdersListRequest)(nil), // 40: injective_spot_exchange_rpc.SubaccountOrdersListRequest
- (*SubaccountOrdersListResponse)(nil), // 41: injective_spot_exchange_rpc.SubaccountOrdersListResponse
- (*SubaccountTradesListRequest)(nil), // 42: injective_spot_exchange_rpc.SubaccountTradesListRequest
- (*SubaccountTradesListResponse)(nil), // 43: injective_spot_exchange_rpc.SubaccountTradesListResponse
- (*OrdersHistoryRequest)(nil), // 44: injective_spot_exchange_rpc.OrdersHistoryRequest
- (*OrdersHistoryResponse)(nil), // 45: injective_spot_exchange_rpc.OrdersHistoryResponse
- (*SpotOrderHistory)(nil), // 46: injective_spot_exchange_rpc.SpotOrderHistory
- (*StreamOrdersHistoryRequest)(nil), // 47: injective_spot_exchange_rpc.StreamOrdersHistoryRequest
- (*StreamOrdersHistoryResponse)(nil), // 48: injective_spot_exchange_rpc.StreamOrdersHistoryResponse
+ (*OrderbooksV2Request)(nil), // 12: injective_spot_exchange_rpc.OrderbooksV2Request
+ (*OrderbooksV2Response)(nil), // 13: injective_spot_exchange_rpc.OrderbooksV2Response
+ (*SingleSpotLimitOrderbookV2)(nil), // 14: injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2
+ (*StreamOrderbookV2Request)(nil), // 15: injective_spot_exchange_rpc.StreamOrderbookV2Request
+ (*StreamOrderbookV2Response)(nil), // 16: injective_spot_exchange_rpc.StreamOrderbookV2Response
+ (*StreamOrderbookUpdateRequest)(nil), // 17: injective_spot_exchange_rpc.StreamOrderbookUpdateRequest
+ (*StreamOrderbookUpdateResponse)(nil), // 18: injective_spot_exchange_rpc.StreamOrderbookUpdateResponse
+ (*OrderbookLevelUpdates)(nil), // 19: injective_spot_exchange_rpc.OrderbookLevelUpdates
+ (*PriceLevelUpdate)(nil), // 20: injective_spot_exchange_rpc.PriceLevelUpdate
+ (*OrdersRequest)(nil), // 21: injective_spot_exchange_rpc.OrdersRequest
+ (*OrdersResponse)(nil), // 22: injective_spot_exchange_rpc.OrdersResponse
+ (*SpotLimitOrder)(nil), // 23: injective_spot_exchange_rpc.SpotLimitOrder
+ (*Paging)(nil), // 24: injective_spot_exchange_rpc.Paging
+ (*StreamOrdersRequest)(nil), // 25: injective_spot_exchange_rpc.StreamOrdersRequest
+ (*StreamOrdersResponse)(nil), // 26: injective_spot_exchange_rpc.StreamOrdersResponse
+ (*TradesRequest)(nil), // 27: injective_spot_exchange_rpc.TradesRequest
+ (*TradesResponse)(nil), // 28: injective_spot_exchange_rpc.TradesResponse
+ (*SpotTrade)(nil), // 29: injective_spot_exchange_rpc.SpotTrade
+ (*StreamTradesRequest)(nil), // 30: injective_spot_exchange_rpc.StreamTradesRequest
+ (*StreamTradesResponse)(nil), // 31: injective_spot_exchange_rpc.StreamTradesResponse
+ (*TradesV2Request)(nil), // 32: injective_spot_exchange_rpc.TradesV2Request
+ (*TradesV2Response)(nil), // 33: injective_spot_exchange_rpc.TradesV2Response
+ (*StreamTradesV2Request)(nil), // 34: injective_spot_exchange_rpc.StreamTradesV2Request
+ (*StreamTradesV2Response)(nil), // 35: injective_spot_exchange_rpc.StreamTradesV2Response
+ (*SubaccountOrdersListRequest)(nil), // 36: injective_spot_exchange_rpc.SubaccountOrdersListRequest
+ (*SubaccountOrdersListResponse)(nil), // 37: injective_spot_exchange_rpc.SubaccountOrdersListResponse
+ (*SubaccountTradesListRequest)(nil), // 38: injective_spot_exchange_rpc.SubaccountTradesListRequest
+ (*SubaccountTradesListResponse)(nil), // 39: injective_spot_exchange_rpc.SubaccountTradesListResponse
+ (*OrdersHistoryRequest)(nil), // 40: injective_spot_exchange_rpc.OrdersHistoryRequest
+ (*OrdersHistoryResponse)(nil), // 41: injective_spot_exchange_rpc.OrdersHistoryResponse
+ (*SpotOrderHistory)(nil), // 42: injective_spot_exchange_rpc.SpotOrderHistory
+ (*StreamOrdersHistoryRequest)(nil), // 43: injective_spot_exchange_rpc.StreamOrdersHistoryRequest
+ (*StreamOrdersHistoryResponse)(nil), // 44: injective_spot_exchange_rpc.StreamOrdersHistoryResponse
+ (*AtomicSwapHistoryRequest)(nil), // 45: injective_spot_exchange_rpc.AtomicSwapHistoryRequest
+ (*AtomicSwapHistoryResponse)(nil), // 46: injective_spot_exchange_rpc.AtomicSwapHistoryResponse
+ (*AtomicSwap)(nil), // 47: injective_spot_exchange_rpc.AtomicSwap
+ (*Coin)(nil), // 48: injective_spot_exchange_rpc.Coin
}
var file_injective_spot_exchange_rpc_proto_depIdxs = []int32{
2, // 0: injective_spot_exchange_rpc.MarketsResponse.markets:type_name -> injective_spot_exchange_rpc.SpotMarketInfo
@@ -4526,75 +5178,77 @@ var file_injective_spot_exchange_rpc_proto_depIdxs = []int32{
3, // 2: injective_spot_exchange_rpc.SpotMarketInfo.quote_token_meta:type_name -> injective_spot_exchange_rpc.TokenMeta
2, // 3: injective_spot_exchange_rpc.MarketResponse.market:type_name -> injective_spot_exchange_rpc.SpotMarketInfo
2, // 4: injective_spot_exchange_rpc.StreamMarketsResponse.market:type_name -> injective_spot_exchange_rpc.SpotMarketInfo
- 10, // 5: injective_spot_exchange_rpc.OrderbookResponse.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbook
- 11, // 6: injective_spot_exchange_rpc.SpotLimitOrderbook.buys:type_name -> injective_spot_exchange_rpc.PriceLevel
- 11, // 7: injective_spot_exchange_rpc.SpotLimitOrderbook.sells:type_name -> injective_spot_exchange_rpc.PriceLevel
- 14, // 8: injective_spot_exchange_rpc.OrderbookV2Response.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbookV2
- 11, // 9: injective_spot_exchange_rpc.SpotLimitOrderbookV2.buys:type_name -> injective_spot_exchange_rpc.PriceLevel
- 11, // 10: injective_spot_exchange_rpc.SpotLimitOrderbookV2.sells:type_name -> injective_spot_exchange_rpc.PriceLevel
- 17, // 11: injective_spot_exchange_rpc.OrderbooksResponse.orderbooks:type_name -> injective_spot_exchange_rpc.SingleSpotLimitOrderbook
- 10, // 12: injective_spot_exchange_rpc.SingleSpotLimitOrderbook.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbook
- 20, // 13: injective_spot_exchange_rpc.OrderbooksV2Response.orderbooks:type_name -> injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2
- 14, // 14: injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbookV2
- 10, // 15: injective_spot_exchange_rpc.StreamOrderbookResponse.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbook
- 14, // 16: injective_spot_exchange_rpc.StreamOrderbookV2Response.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbookV2
- 27, // 17: injective_spot_exchange_rpc.StreamOrderbookUpdateResponse.orderbook_level_updates:type_name -> injective_spot_exchange_rpc.OrderbookLevelUpdates
- 28, // 18: injective_spot_exchange_rpc.OrderbookLevelUpdates.buys:type_name -> injective_spot_exchange_rpc.PriceLevelUpdate
- 28, // 19: injective_spot_exchange_rpc.OrderbookLevelUpdates.sells:type_name -> injective_spot_exchange_rpc.PriceLevelUpdate
- 31, // 20: injective_spot_exchange_rpc.OrdersResponse.orders:type_name -> injective_spot_exchange_rpc.SpotLimitOrder
- 32, // 21: injective_spot_exchange_rpc.OrdersResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
- 31, // 22: injective_spot_exchange_rpc.StreamOrdersResponse.order:type_name -> injective_spot_exchange_rpc.SpotLimitOrder
- 37, // 23: injective_spot_exchange_rpc.TradesResponse.trades:type_name -> injective_spot_exchange_rpc.SpotTrade
- 32, // 24: injective_spot_exchange_rpc.TradesResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
- 11, // 25: injective_spot_exchange_rpc.SpotTrade.price:type_name -> injective_spot_exchange_rpc.PriceLevel
- 37, // 26: injective_spot_exchange_rpc.StreamTradesResponse.trade:type_name -> injective_spot_exchange_rpc.SpotTrade
- 31, // 27: injective_spot_exchange_rpc.SubaccountOrdersListResponse.orders:type_name -> injective_spot_exchange_rpc.SpotLimitOrder
- 32, // 28: injective_spot_exchange_rpc.SubaccountOrdersListResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
- 37, // 29: injective_spot_exchange_rpc.SubaccountTradesListResponse.trades:type_name -> injective_spot_exchange_rpc.SpotTrade
- 46, // 30: injective_spot_exchange_rpc.OrdersHistoryResponse.orders:type_name -> injective_spot_exchange_rpc.SpotOrderHistory
- 32, // 31: injective_spot_exchange_rpc.OrdersHistoryResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
- 46, // 32: injective_spot_exchange_rpc.StreamOrdersHistoryResponse.order:type_name -> injective_spot_exchange_rpc.SpotOrderHistory
- 0, // 33: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Markets:input_type -> injective_spot_exchange_rpc.MarketsRequest
- 4, // 34: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Market:input_type -> injective_spot_exchange_rpc.MarketRequest
- 6, // 35: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamMarkets:input_type -> injective_spot_exchange_rpc.StreamMarketsRequest
- 8, // 36: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orderbook:input_type -> injective_spot_exchange_rpc.OrderbookRequest
- 12, // 37: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbookV2:input_type -> injective_spot_exchange_rpc.OrderbookV2Request
- 15, // 38: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orderbooks:input_type -> injective_spot_exchange_rpc.OrderbooksRequest
- 18, // 39: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbooksV2:input_type -> injective_spot_exchange_rpc.OrderbooksV2Request
- 21, // 40: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbook:input_type -> injective_spot_exchange_rpc.StreamOrderbookRequest
- 23, // 41: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookV2:input_type -> injective_spot_exchange_rpc.StreamOrderbookV2Request
- 25, // 42: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookUpdate:input_type -> injective_spot_exchange_rpc.StreamOrderbookUpdateRequest
- 29, // 43: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orders:input_type -> injective_spot_exchange_rpc.OrdersRequest
- 33, // 44: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrders:input_type -> injective_spot_exchange_rpc.StreamOrdersRequest
- 35, // 45: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Trades:input_type -> injective_spot_exchange_rpc.TradesRequest
- 38, // 46: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamTrades:input_type -> injective_spot_exchange_rpc.StreamTradesRequest
- 40, // 47: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountOrdersList:input_type -> injective_spot_exchange_rpc.SubaccountOrdersListRequest
- 42, // 48: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountTradesList:input_type -> injective_spot_exchange_rpc.SubaccountTradesListRequest
- 44, // 49: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrdersHistory:input_type -> injective_spot_exchange_rpc.OrdersHistoryRequest
- 47, // 50: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrdersHistory:input_type -> injective_spot_exchange_rpc.StreamOrdersHistoryRequest
- 1, // 51: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Markets:output_type -> injective_spot_exchange_rpc.MarketsResponse
- 5, // 52: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Market:output_type -> injective_spot_exchange_rpc.MarketResponse
- 7, // 53: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamMarkets:output_type -> injective_spot_exchange_rpc.StreamMarketsResponse
- 9, // 54: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orderbook:output_type -> injective_spot_exchange_rpc.OrderbookResponse
- 13, // 55: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbookV2:output_type -> injective_spot_exchange_rpc.OrderbookV2Response
- 16, // 56: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orderbooks:output_type -> injective_spot_exchange_rpc.OrderbooksResponse
- 19, // 57: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbooksV2:output_type -> injective_spot_exchange_rpc.OrderbooksV2Response
- 22, // 58: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbook:output_type -> injective_spot_exchange_rpc.StreamOrderbookResponse
- 24, // 59: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookV2:output_type -> injective_spot_exchange_rpc.StreamOrderbookV2Response
- 26, // 60: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookUpdate:output_type -> injective_spot_exchange_rpc.StreamOrderbookUpdateResponse
- 30, // 61: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orders:output_type -> injective_spot_exchange_rpc.OrdersResponse
- 34, // 62: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrders:output_type -> injective_spot_exchange_rpc.StreamOrdersResponse
- 36, // 63: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Trades:output_type -> injective_spot_exchange_rpc.TradesResponse
- 39, // 64: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamTrades:output_type -> injective_spot_exchange_rpc.StreamTradesResponse
- 41, // 65: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountOrdersList:output_type -> injective_spot_exchange_rpc.SubaccountOrdersListResponse
- 43, // 66: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountTradesList:output_type -> injective_spot_exchange_rpc.SubaccountTradesListResponse
- 45, // 67: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrdersHistory:output_type -> injective_spot_exchange_rpc.OrdersHistoryResponse
- 48, // 68: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrdersHistory:output_type -> injective_spot_exchange_rpc.StreamOrdersHistoryResponse
- 51, // [51:69] is the sub-list for method output_type
- 33, // [33:51] is the sub-list for method input_type
- 33, // [33:33] is the sub-list for extension type_name
- 33, // [33:33] is the sub-list for extension extendee
- 0, // [0:33] is the sub-list for field type_name
+ 10, // 5: injective_spot_exchange_rpc.OrderbookV2Response.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbookV2
+ 11, // 6: injective_spot_exchange_rpc.SpotLimitOrderbookV2.buys:type_name -> injective_spot_exchange_rpc.PriceLevel
+ 11, // 7: injective_spot_exchange_rpc.SpotLimitOrderbookV2.sells:type_name -> injective_spot_exchange_rpc.PriceLevel
+ 14, // 8: injective_spot_exchange_rpc.OrderbooksV2Response.orderbooks:type_name -> injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2
+ 10, // 9: injective_spot_exchange_rpc.SingleSpotLimitOrderbookV2.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbookV2
+ 10, // 10: injective_spot_exchange_rpc.StreamOrderbookV2Response.orderbook:type_name -> injective_spot_exchange_rpc.SpotLimitOrderbookV2
+ 19, // 11: injective_spot_exchange_rpc.StreamOrderbookUpdateResponse.orderbook_level_updates:type_name -> injective_spot_exchange_rpc.OrderbookLevelUpdates
+ 20, // 12: injective_spot_exchange_rpc.OrderbookLevelUpdates.buys:type_name -> injective_spot_exchange_rpc.PriceLevelUpdate
+ 20, // 13: injective_spot_exchange_rpc.OrderbookLevelUpdates.sells:type_name -> injective_spot_exchange_rpc.PriceLevelUpdate
+ 23, // 14: injective_spot_exchange_rpc.OrdersResponse.orders:type_name -> injective_spot_exchange_rpc.SpotLimitOrder
+ 24, // 15: injective_spot_exchange_rpc.OrdersResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
+ 23, // 16: injective_spot_exchange_rpc.StreamOrdersResponse.order:type_name -> injective_spot_exchange_rpc.SpotLimitOrder
+ 29, // 17: injective_spot_exchange_rpc.TradesResponse.trades:type_name -> injective_spot_exchange_rpc.SpotTrade
+ 24, // 18: injective_spot_exchange_rpc.TradesResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
+ 11, // 19: injective_spot_exchange_rpc.SpotTrade.price:type_name -> injective_spot_exchange_rpc.PriceLevel
+ 29, // 20: injective_spot_exchange_rpc.StreamTradesResponse.trade:type_name -> injective_spot_exchange_rpc.SpotTrade
+ 29, // 21: injective_spot_exchange_rpc.TradesV2Response.trades:type_name -> injective_spot_exchange_rpc.SpotTrade
+ 24, // 22: injective_spot_exchange_rpc.TradesV2Response.paging:type_name -> injective_spot_exchange_rpc.Paging
+ 29, // 23: injective_spot_exchange_rpc.StreamTradesV2Response.trade:type_name -> injective_spot_exchange_rpc.SpotTrade
+ 23, // 24: injective_spot_exchange_rpc.SubaccountOrdersListResponse.orders:type_name -> injective_spot_exchange_rpc.SpotLimitOrder
+ 24, // 25: injective_spot_exchange_rpc.SubaccountOrdersListResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
+ 29, // 26: injective_spot_exchange_rpc.SubaccountTradesListResponse.trades:type_name -> injective_spot_exchange_rpc.SpotTrade
+ 42, // 27: injective_spot_exchange_rpc.OrdersHistoryResponse.orders:type_name -> injective_spot_exchange_rpc.SpotOrderHistory
+ 24, // 28: injective_spot_exchange_rpc.OrdersHistoryResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
+ 42, // 29: injective_spot_exchange_rpc.StreamOrdersHistoryResponse.order:type_name -> injective_spot_exchange_rpc.SpotOrderHistory
+ 24, // 30: injective_spot_exchange_rpc.AtomicSwapHistoryResponse.paging:type_name -> injective_spot_exchange_rpc.Paging
+ 47, // 31: injective_spot_exchange_rpc.AtomicSwapHistoryResponse.data:type_name -> injective_spot_exchange_rpc.AtomicSwap
+ 48, // 32: injective_spot_exchange_rpc.AtomicSwap.source_coin:type_name -> injective_spot_exchange_rpc.Coin
+ 48, // 33: injective_spot_exchange_rpc.AtomicSwap.dest_coin:type_name -> injective_spot_exchange_rpc.Coin
+ 48, // 34: injective_spot_exchange_rpc.AtomicSwap.fees:type_name -> injective_spot_exchange_rpc.Coin
+ 0, // 35: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Markets:input_type -> injective_spot_exchange_rpc.MarketsRequest
+ 4, // 36: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Market:input_type -> injective_spot_exchange_rpc.MarketRequest
+ 6, // 37: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamMarkets:input_type -> injective_spot_exchange_rpc.StreamMarketsRequest
+ 8, // 38: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbookV2:input_type -> injective_spot_exchange_rpc.OrderbookV2Request
+ 12, // 39: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbooksV2:input_type -> injective_spot_exchange_rpc.OrderbooksV2Request
+ 15, // 40: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookV2:input_type -> injective_spot_exchange_rpc.StreamOrderbookV2Request
+ 17, // 41: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookUpdate:input_type -> injective_spot_exchange_rpc.StreamOrderbookUpdateRequest
+ 21, // 42: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orders:input_type -> injective_spot_exchange_rpc.OrdersRequest
+ 25, // 43: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrders:input_type -> injective_spot_exchange_rpc.StreamOrdersRequest
+ 27, // 44: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Trades:input_type -> injective_spot_exchange_rpc.TradesRequest
+ 30, // 45: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamTrades:input_type -> injective_spot_exchange_rpc.StreamTradesRequest
+ 32, // 46: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.TradesV2:input_type -> injective_spot_exchange_rpc.TradesV2Request
+ 34, // 47: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamTradesV2:input_type -> injective_spot_exchange_rpc.StreamTradesV2Request
+ 36, // 48: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountOrdersList:input_type -> injective_spot_exchange_rpc.SubaccountOrdersListRequest
+ 38, // 49: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountTradesList:input_type -> injective_spot_exchange_rpc.SubaccountTradesListRequest
+ 40, // 50: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrdersHistory:input_type -> injective_spot_exchange_rpc.OrdersHistoryRequest
+ 43, // 51: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrdersHistory:input_type -> injective_spot_exchange_rpc.StreamOrdersHistoryRequest
+ 45, // 52: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.AtomicSwapHistory:input_type -> injective_spot_exchange_rpc.AtomicSwapHistoryRequest
+ 1, // 53: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Markets:output_type -> injective_spot_exchange_rpc.MarketsResponse
+ 5, // 54: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Market:output_type -> injective_spot_exchange_rpc.MarketResponse
+ 7, // 55: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamMarkets:output_type -> injective_spot_exchange_rpc.StreamMarketsResponse
+ 9, // 56: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbookV2:output_type -> injective_spot_exchange_rpc.OrderbookV2Response
+ 13, // 57: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrderbooksV2:output_type -> injective_spot_exchange_rpc.OrderbooksV2Response
+ 16, // 58: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookV2:output_type -> injective_spot_exchange_rpc.StreamOrderbookV2Response
+ 18, // 59: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrderbookUpdate:output_type -> injective_spot_exchange_rpc.StreamOrderbookUpdateResponse
+ 22, // 60: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Orders:output_type -> injective_spot_exchange_rpc.OrdersResponse
+ 26, // 61: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrders:output_type -> injective_spot_exchange_rpc.StreamOrdersResponse
+ 28, // 62: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.Trades:output_type -> injective_spot_exchange_rpc.TradesResponse
+ 31, // 63: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamTrades:output_type -> injective_spot_exchange_rpc.StreamTradesResponse
+ 33, // 64: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.TradesV2:output_type -> injective_spot_exchange_rpc.TradesV2Response
+ 35, // 65: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamTradesV2:output_type -> injective_spot_exchange_rpc.StreamTradesV2Response
+ 37, // 66: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountOrdersList:output_type -> injective_spot_exchange_rpc.SubaccountOrdersListResponse
+ 39, // 67: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.SubaccountTradesList:output_type -> injective_spot_exchange_rpc.SubaccountTradesListResponse
+ 41, // 68: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.OrdersHistory:output_type -> injective_spot_exchange_rpc.OrdersHistoryResponse
+ 44, // 69: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.StreamOrdersHistory:output_type -> injective_spot_exchange_rpc.StreamOrdersHistoryResponse
+ 46, // 70: injective_spot_exchange_rpc.InjectiveSpotExchangeRPC.AtomicSwapHistory:output_type -> injective_spot_exchange_rpc.AtomicSwapHistoryResponse
+ 53, // [53:71] is the sub-list for method output_type
+ 35, // [35:53] is the sub-list for method input_type
+ 35, // [35:35] is the sub-list for extension type_name
+ 35, // [35:35] is the sub-list for extension extendee
+ 0, // [0:35] is the sub-list for field type_name
}
func init() { file_injective_spot_exchange_rpc_proto_init() }
@@ -4700,7 +5354,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookRequest); i {
+ switch v := v.(*OrderbookV2Request); i {
case 0:
return &v.state
case 1:
@@ -4712,7 +5366,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookResponse); i {
+ switch v := v.(*OrderbookV2Response); i {
case 0:
return &v.state
case 1:
@@ -4724,7 +5378,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SpotLimitOrderbook); i {
+ switch v := v.(*SpotLimitOrderbookV2); i {
case 0:
return &v.state
case 1:
@@ -4748,7 +5402,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookV2Request); i {
+ switch v := v.(*OrderbooksV2Request); i {
case 0:
return &v.state
case 1:
@@ -4760,7 +5414,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookV2Response); i {
+ switch v := v.(*OrderbooksV2Response); i {
case 0:
return &v.state
case 1:
@@ -4772,7 +5426,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SpotLimitOrderbookV2); i {
+ switch v := v.(*SingleSpotLimitOrderbookV2); i {
case 0:
return &v.state
case 1:
@@ -4784,7 +5438,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksRequest); i {
+ switch v := v.(*StreamOrderbookV2Request); i {
case 0:
return &v.state
case 1:
@@ -4796,7 +5450,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksResponse); i {
+ switch v := v.(*StreamOrderbookV2Response); i {
case 0:
return &v.state
case 1:
@@ -4808,7 +5462,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SingleSpotLimitOrderbook); i {
+ switch v := v.(*StreamOrderbookUpdateRequest); i {
case 0:
return &v.state
case 1:
@@ -4820,7 +5474,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksV2Request); i {
+ switch v := v.(*StreamOrderbookUpdateResponse); i {
case 0:
return &v.state
case 1:
@@ -4832,7 +5486,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbooksV2Response); i {
+ switch v := v.(*OrderbookLevelUpdates); i {
case 0:
return &v.state
case 1:
@@ -4844,7 +5498,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SingleSpotLimitOrderbookV2); i {
+ switch v := v.(*PriceLevelUpdate); i {
case 0:
return &v.state
case 1:
@@ -4856,7 +5510,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookRequest); i {
+ switch v := v.(*OrdersRequest); i {
case 0:
return &v.state
case 1:
@@ -4868,7 +5522,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookResponse); i {
+ switch v := v.(*OrdersResponse); i {
case 0:
return &v.state
case 1:
@@ -4880,7 +5534,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookV2Request); i {
+ switch v := v.(*SpotLimitOrder); i {
case 0:
return &v.state
case 1:
@@ -4892,7 +5546,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookV2Response); i {
+ switch v := v.(*Paging); i {
case 0:
return &v.state
case 1:
@@ -4904,7 +5558,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookUpdateRequest); i {
+ switch v := v.(*StreamOrdersRequest); i {
case 0:
return &v.state
case 1:
@@ -4916,7 +5570,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrderbookUpdateResponse); i {
+ switch v := v.(*StreamOrdersResponse); i {
case 0:
return &v.state
case 1:
@@ -4928,7 +5582,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrderbookLevelUpdates); i {
+ switch v := v.(*TradesRequest); i {
case 0:
return &v.state
case 1:
@@ -4940,7 +5594,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*PriceLevelUpdate); i {
+ switch v := v.(*TradesResponse); i {
case 0:
return &v.state
case 1:
@@ -4952,7 +5606,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrdersRequest); i {
+ switch v := v.(*SpotTrade); i {
case 0:
return &v.state
case 1:
@@ -4964,7 +5618,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrdersResponse); i {
+ switch v := v.(*StreamTradesRequest); i {
case 0:
return &v.state
case 1:
@@ -4976,7 +5630,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SpotLimitOrder); i {
+ switch v := v.(*StreamTradesResponse); i {
case 0:
return &v.state
case 1:
@@ -4988,7 +5642,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Paging); i {
+ switch v := v.(*TradesV2Request); i {
case 0:
return &v.state
case 1:
@@ -5000,7 +5654,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrdersRequest); i {
+ switch v := v.(*TradesV2Response); i {
case 0:
return &v.state
case 1:
@@ -5012,7 +5666,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrdersResponse); i {
+ switch v := v.(*StreamTradesV2Request); i {
case 0:
return &v.state
case 1:
@@ -5024,7 +5678,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TradesRequest); i {
+ switch v := v.(*StreamTradesV2Response); i {
case 0:
return &v.state
case 1:
@@ -5036,7 +5690,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TradesResponse); i {
+ switch v := v.(*SubaccountOrdersListRequest); i {
case 0:
return &v.state
case 1:
@@ -5048,7 +5702,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SpotTrade); i {
+ switch v := v.(*SubaccountOrdersListResponse); i {
case 0:
return &v.state
case 1:
@@ -5060,7 +5714,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamTradesRequest); i {
+ switch v := v.(*SubaccountTradesListRequest); i {
case 0:
return &v.state
case 1:
@@ -5072,7 +5726,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamTradesResponse); i {
+ switch v := v.(*SubaccountTradesListResponse); i {
case 0:
return &v.state
case 1:
@@ -5084,7 +5738,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SubaccountOrdersListRequest); i {
+ switch v := v.(*OrdersHistoryRequest); i {
case 0:
return &v.state
case 1:
@@ -5096,7 +5750,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SubaccountOrdersListResponse); i {
+ switch v := v.(*OrdersHistoryResponse); i {
case 0:
return &v.state
case 1:
@@ -5108,7 +5762,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SubaccountTradesListRequest); i {
+ switch v := v.(*SpotOrderHistory); i {
case 0:
return &v.state
case 1:
@@ -5120,7 +5774,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SubaccountTradesListResponse); i {
+ switch v := v.(*StreamOrdersHistoryRequest); i {
case 0:
return &v.state
case 1:
@@ -5132,7 +5786,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrdersHistoryRequest); i {
+ switch v := v.(*StreamOrdersHistoryResponse); i {
case 0:
return &v.state
case 1:
@@ -5144,7 +5798,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*OrdersHistoryResponse); i {
+ switch v := v.(*AtomicSwapHistoryRequest); i {
case 0:
return &v.state
case 1:
@@ -5156,7 +5810,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SpotOrderHistory); i {
+ switch v := v.(*AtomicSwapHistoryResponse); i {
case 0:
return &v.state
case 1:
@@ -5168,7 +5822,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrdersHistoryRequest); i {
+ switch v := v.(*AtomicSwap); i {
case 0:
return &v.state
case 1:
@@ -5180,7 +5834,7 @@ func file_injective_spot_exchange_rpc_proto_init() {
}
}
file_injective_spot_exchange_rpc_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StreamOrdersHistoryResponse); i {
+ switch v := v.(*Coin); i {
case 0:
return &v.state
case 1:
diff --git a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.gw.go b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.gw.go
index 69c1023f..4abea1de 100644
--- a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.gw.go
+++ b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.pb.gw.go
@@ -124,40 +124,6 @@ func request_InjectiveSpotExchangeRPC_StreamMarkets_0(ctx context.Context, marsh
}
-func request_InjectiveSpotExchangeRPC_Orderbook_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbookRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := client.Orderbook(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_InjectiveSpotExchangeRPC_Orderbook_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveSpotExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbookRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := server.Orderbook(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
func request_InjectiveSpotExchangeRPC_OrderbookV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq OrderbookV2Request
var metadata runtime.ServerMetadata
@@ -192,40 +158,6 @@ func local_request_InjectiveSpotExchangeRPC_OrderbookV2_0(ctx context.Context, m
}
-func request_InjectiveSpotExchangeRPC_Orderbooks_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbooksRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := client.Orderbooks(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
- return msg, metadata, err
-
-}
-
-func local_request_InjectiveSpotExchangeRPC_Orderbooks_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveSpotExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
- var protoReq OrderbooksRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- msg, err := server.Orderbooks(ctx, &protoReq)
- return msg, metadata, err
-
-}
-
func request_InjectiveSpotExchangeRPC_OrderbooksV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq OrderbooksV2Request
var metadata runtime.ServerMetadata
@@ -260,31 +192,6 @@ func local_request_InjectiveSpotExchangeRPC_OrderbooksV2_0(ctx context.Context,
}
-func request_InjectiveSpotExchangeRPC_StreamOrderbook_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (InjectiveSpotExchangeRPC_StreamOrderbookClient, runtime.ServerMetadata, error) {
- var protoReq StreamOrderbookRequest
- var metadata runtime.ServerMetadata
-
- newReader, berr := utilities.IOReaderFactory(req.Body)
- if berr != nil {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
- }
- if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
- return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
- }
-
- stream, err := client.StreamOrderbook(ctx, &protoReq)
- if err != nil {
- return nil, metadata, err
- }
- header, err := stream.Header()
- if err != nil {
- return nil, metadata, err
- }
- metadata.HeaderMD = header
- return stream, metadata, nil
-
-}
-
func request_InjectiveSpotExchangeRPC_StreamOrderbookV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (InjectiveSpotExchangeRPC_StreamOrderbookV2Client, runtime.ServerMetadata, error) {
var protoReq StreamOrderbookV2Request
var metadata runtime.ServerMetadata
@@ -453,6 +360,65 @@ func request_InjectiveSpotExchangeRPC_StreamTrades_0(ctx context.Context, marsha
}
+func request_InjectiveSpotExchangeRPC_TradesV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq TradesV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := client.TradesV2(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_InjectiveSpotExchangeRPC_TradesV2_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveSpotExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq TradesV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := server.TradesV2(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
+func request_InjectiveSpotExchangeRPC_StreamTradesV2_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (InjectiveSpotExchangeRPC_StreamTradesV2Client, runtime.ServerMetadata, error) {
+ var protoReq StreamTradesV2Request
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ stream, err := client.StreamTradesV2(ctx, &protoReq)
+ if err != nil {
+ return nil, metadata, err
+ }
+ header, err := stream.Header()
+ if err != nil {
+ return nil, metadata, err
+ }
+ metadata.HeaderMD = header
+ return stream, metadata, nil
+
+}
+
func request_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
var protoReq SubaccountOrdersListRequest
var metadata runtime.ServerMetadata
@@ -580,6 +546,40 @@ func request_InjectiveSpotExchangeRPC_StreamOrdersHistory_0(ctx context.Context,
}
+func request_InjectiveSpotExchangeRPC_AtomicSwapHistory_0(ctx context.Context, marshaler runtime.Marshaler, client InjectiveSpotExchangeRPCClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq AtomicSwapHistoryRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := client.AtomicSwapHistory(ctx, &protoReq, grpc.Header(&metadata.HeaderMD), grpc.Trailer(&metadata.TrailerMD))
+ return msg, metadata, err
+
+}
+
+func local_request_InjectiveSpotExchangeRPC_AtomicSwapHistory_0(ctx context.Context, marshaler runtime.Marshaler, server InjectiveSpotExchangeRPCServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
+ var protoReq AtomicSwapHistoryRequest
+ var metadata runtime.ServerMetadata
+
+ newReader, berr := utilities.IOReaderFactory(req.Body)
+ if berr != nil {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", berr)
+ }
+ if err := marshaler.NewDecoder(newReader()).Decode(&protoReq); err != nil && err != io.EOF {
+ return nil, metadata, status.Errorf(codes.InvalidArgument, "%v", err)
+ }
+
+ msg, err := server.AtomicSwapHistory(ctx, &protoReq)
+ return msg, metadata, err
+
+}
+
// RegisterInjectiveSpotExchangeRPCHandlerServer registers the http handlers for service InjectiveSpotExchangeRPC to "mux".
// UnaryRPC :call InjectiveSpotExchangeRPCServer directly.
// StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906.
@@ -592,20 +592,22 @@ func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *run
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_Markets_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_Markets_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Markets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_Markets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -615,20 +617,22 @@ func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *run
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_Market_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_Market_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Market_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_Market_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -639,173 +643,160 @@ func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *run
return
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_Orderbook_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_OrderbookV2_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Orderbook_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_OrderbookV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_OrderbookV2_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_OrderbooksV2_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_OrderbookV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_OrderbooksV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orderbooks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- ctx, cancel := context.WithCancel(req.Context())
- defer cancel()
- var stream runtime.ServerTransportStream
- ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
- inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks"))
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
- resp, md, err := local_request_InjectiveSpotExchangeRPC_Orderbooks_0(rctx, inboundMarshaler, server, req, pathParams)
- md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
- if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- }
-
- forward_InjectiveSpotExchangeRPC_Orderbooks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
+ _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ })
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
+ _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_OrderbooksV2_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_Orders_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_OrderbooksV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
-
- })
-
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
- _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
- })
+ forward_InjectiveSpotExchangeRPC_Orders_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
- err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
- _, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
- return
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
_, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Trades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_Orders_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_Trades_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Orders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_Trades_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamTrades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
_, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Trades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_TradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_Trades_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_TradesV2_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Trades_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_TradesV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamTrades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamTradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
err := status.Error(codes.Unimplemented, "streaming calls are not yet supported in the in-process transport")
_, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
@@ -818,20 +809,22 @@ func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *run
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -841,20 +834,22 @@ func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *run
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_SubaccountTradesList_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_SubaccountTradesList_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_SubaccountTradesList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_SubaccountTradesList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -864,20 +859,22 @@ func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *run
var stream runtime.ServerTransportStream
ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := local_request_InjectiveSpotExchangeRPC_OrdersHistory_0(rctx, inboundMarshaler, server, req, pathParams)
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_OrdersHistory_0(annotatedContext, inboundMarshaler, server, req, pathParams)
md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_OrdersHistory_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_OrdersHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -888,6 +885,31 @@ func RegisterInjectiveSpotExchangeRPCHandlerServer(ctx context.Context, mux *run
return
})
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_AtomicSwapHistory_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ ctx, cancel := context.WithCancel(req.Context())
+ defer cancel()
+ var stream runtime.ServerTransportStream
+ ctx = grpc.NewContextWithServerTransportStream(ctx, &stream)
+ inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateIncomingContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory"))
+ if err != nil {
+ runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ return
+ }
+ resp, md, err := local_request_InjectiveSpotExchangeRPC_AtomicSwapHistory_0(annotatedContext, inboundMarshaler, server, req, pathParams)
+ md.HeaderMD, md.TrailerMD = metadata.Join(md.HeaderMD, stream.Header()), metadata.Join(md.TrailerMD, stream.Trailer())
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
+ if err != nil {
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
+ return
+ }
+
+ forward_InjectiveSpotExchangeRPC_AtomicSwapHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+
+ })
+
return nil
}
@@ -933,19 +955,21 @@ func RegisterInjectiveSpotExchangeRPCHandlerClient(ctx context.Context, mux *run
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Markets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_Markets_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_Markets_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Markets_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_Markets_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -953,19 +977,21 @@ func RegisterInjectiveSpotExchangeRPCHandlerClient(ctx context.Context, mux *run
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Market"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_Market_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_Market_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Market_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_Market_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -973,319 +999,351 @@ func RegisterInjectiveSpotExchangeRPCHandlerClient(ctx context.Context, mux *run
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamMarkets", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamMarkets"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamMarkets", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamMarkets"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_StreamMarkets_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_StreamMarkets_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_StreamMarkets_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_StreamMarkets_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_Orderbook_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_OrderbookV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Orderbook_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_OrderbookV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_OrderbookV2_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_OrderbooksV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_OrderbookV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_OrderbooksV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orderbooks_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_Orderbooks_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrderbookV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Orderbooks_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_StreamOrderbookV2_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrderbooksV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_OrderbooksV2_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_OrderbooksV2_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbook_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbook", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbook"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrderbook_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_Orders_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_StreamOrderbook_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_Orders_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrderbookV2_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrders_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_StreamOrderbookV2_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_StreamOrders_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Trades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_Trades_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_Trades_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Orders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamTrades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orders"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_Orders_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_StreamTrades_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Orders_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_StreamTrades_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrders_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_TradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrders_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_TradesV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_StreamOrders_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_TradesV2_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_Trades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamTradesV2_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Trades"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTradesV2", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTradesV2"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_Trades_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_StreamTradesV2_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_Trades_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_StreamTradesV2_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamTrades_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_SubaccountOrdersList_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_StreamTrades_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_StreamTrades_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_SubaccountOrdersList_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_SubaccountTradesList_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_SubaccountTradesList_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_SubaccountOrdersList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_SubaccountTradesList_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_SubaccountTradesList_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrdersHistory_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountTradesList"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_SubaccountTradesList_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_OrdersHistory_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_SubaccountTradesList_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_OrdersHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_OrdersHistory_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrdersHistory_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrdersHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrdersHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrdersHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_OrdersHistory_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrdersHistory_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_OrdersHistory_0(ctx, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_StreamOrdersHistory_0(annotatedContext, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
})
- mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_StreamOrdersHistory_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
+ mux.Handle("POST", pattern_InjectiveSpotExchangeRPC_AtomicSwapHistory_0, func(w http.ResponseWriter, req *http.Request, pathParams map[string]string) {
ctx, cancel := context.WithCancel(req.Context())
defer cancel()
inboundMarshaler, outboundMarshaler := runtime.MarshalerForRequest(mux, req)
- rctx, err := runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrdersHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrdersHistory"))
+ var err error
+ var annotatedContext context.Context
+ annotatedContext, err = runtime.AnnotateContext(ctx, mux, req, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory", runtime.WithHTTPPathPattern("/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory"))
if err != nil {
runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
return
}
- resp, md, err := request_InjectiveSpotExchangeRPC_StreamOrdersHistory_0(rctx, inboundMarshaler, client, req, pathParams)
- ctx = runtime.NewServerMetadataContext(ctx, md)
+ resp, md, err := request_InjectiveSpotExchangeRPC_AtomicSwapHistory_0(annotatedContext, inboundMarshaler, client, req, pathParams)
+ annotatedContext = runtime.NewServerMetadataContext(annotatedContext, md)
if err != nil {
- runtime.HTTPError(ctx, mux, outboundMarshaler, w, req, err)
+ runtime.HTTPError(annotatedContext, mux, outboundMarshaler, w, req, err)
return
}
- forward_InjectiveSpotExchangeRPC_StreamOrdersHistory_0(ctx, mux, outboundMarshaler, w, req, func() (proto.Message, error) { return resp.Recv() }, mux.GetForwardResponseOptions()...)
+ forward_InjectiveSpotExchangeRPC_AtomicSwapHistory_0(annotatedContext, mux, outboundMarshaler, w, req, resp, mux.GetForwardResponseOptions()...)
})
@@ -1299,16 +1357,10 @@ var (
pattern_InjectiveSpotExchangeRPC_StreamMarkets_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "StreamMarkets"}, ""))
- pattern_InjectiveSpotExchangeRPC_Orderbook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "Orderbook"}, ""))
-
pattern_InjectiveSpotExchangeRPC_OrderbookV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "OrderbookV2"}, ""))
- pattern_InjectiveSpotExchangeRPC_Orderbooks_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "Orderbooks"}, ""))
-
pattern_InjectiveSpotExchangeRPC_OrderbooksV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "OrderbooksV2"}, ""))
- pattern_InjectiveSpotExchangeRPC_StreamOrderbook_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "StreamOrderbook"}, ""))
-
pattern_InjectiveSpotExchangeRPC_StreamOrderbookV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "StreamOrderbookV2"}, ""))
pattern_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "StreamOrderbookUpdate"}, ""))
@@ -1321,6 +1373,10 @@ var (
pattern_InjectiveSpotExchangeRPC_StreamTrades_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "StreamTrades"}, ""))
+ pattern_InjectiveSpotExchangeRPC_TradesV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "TradesV2"}, ""))
+
+ pattern_InjectiveSpotExchangeRPC_StreamTradesV2_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "StreamTradesV2"}, ""))
+
pattern_InjectiveSpotExchangeRPC_SubaccountOrdersList_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "SubaccountOrdersList"}, ""))
pattern_InjectiveSpotExchangeRPC_SubaccountTradesList_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "SubaccountTradesList"}, ""))
@@ -1328,6 +1384,8 @@ var (
pattern_InjectiveSpotExchangeRPC_OrdersHistory_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "OrdersHistory"}, ""))
pattern_InjectiveSpotExchangeRPC_StreamOrdersHistory_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "StreamOrdersHistory"}, ""))
+
+ pattern_InjectiveSpotExchangeRPC_AtomicSwapHistory_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1}, []string{"injective_spot_exchange_rpc.InjectiveSpotExchangeRPC", "AtomicSwapHistory"}, ""))
)
var (
@@ -1337,16 +1395,10 @@ var (
forward_InjectiveSpotExchangeRPC_StreamMarkets_0 = runtime.ForwardResponseStream
- forward_InjectiveSpotExchangeRPC_Orderbook_0 = runtime.ForwardResponseMessage
-
forward_InjectiveSpotExchangeRPC_OrderbookV2_0 = runtime.ForwardResponseMessage
- forward_InjectiveSpotExchangeRPC_Orderbooks_0 = runtime.ForwardResponseMessage
-
forward_InjectiveSpotExchangeRPC_OrderbooksV2_0 = runtime.ForwardResponseMessage
- forward_InjectiveSpotExchangeRPC_StreamOrderbook_0 = runtime.ForwardResponseStream
-
forward_InjectiveSpotExchangeRPC_StreamOrderbookV2_0 = runtime.ForwardResponseStream
forward_InjectiveSpotExchangeRPC_StreamOrderbookUpdate_0 = runtime.ForwardResponseStream
@@ -1359,6 +1411,10 @@ var (
forward_InjectiveSpotExchangeRPC_StreamTrades_0 = runtime.ForwardResponseStream
+ forward_InjectiveSpotExchangeRPC_TradesV2_0 = runtime.ForwardResponseMessage
+
+ forward_InjectiveSpotExchangeRPC_StreamTradesV2_0 = runtime.ForwardResponseStream
+
forward_InjectiveSpotExchangeRPC_SubaccountOrdersList_0 = runtime.ForwardResponseMessage
forward_InjectiveSpotExchangeRPC_SubaccountTradesList_0 = runtime.ForwardResponseMessage
@@ -1366,4 +1422,6 @@ var (
forward_InjectiveSpotExchangeRPC_OrdersHistory_0 = runtime.ForwardResponseMessage
forward_InjectiveSpotExchangeRPC_StreamOrdersHistory_0 = runtime.ForwardResponseStream
+
+ forward_InjectiveSpotExchangeRPC_AtomicSwapHistory_0 = runtime.ForwardResponseMessage
)
diff --git a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.proto b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.proto
index 16a8d33e..ea74b297 100644
--- a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.proto
+++ b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc.proto
@@ -20,16 +20,10 @@ service InjectiveSpotExchangeRPC {
// Stream live updates of selected spot markets
rpc StreamMarkets (StreamMarketsRequest) returns (stream StreamMarketsResponse);
// Orderbook of a Spot Market
- rpc Orderbook (OrderbookRequest) returns (OrderbookResponse);
- // Orderbook of a Spot Market
rpc OrderbookV2 (OrderbookV2Request) returns (OrderbookV2Response);
// Orderbook of Spot Markets
- rpc Orderbooks (OrderbooksRequest) returns (OrderbooksResponse);
- // Orderbook of Spot Markets
rpc OrderbooksV2 (OrderbooksV2Request) returns (OrderbooksV2Response);
// Stream live snapshot updates of selected spot market orderbook
- rpc StreamOrderbook (StreamOrderbookRequest) returns (stream StreamOrderbookResponse);
- // Stream live snapshot updates of selected spot market orderbook
rpc StreamOrderbookV2 (StreamOrderbookV2Request) returns (stream StreamOrderbookV2Response);
// Stream live level updates of selected spot market orderbook
rpc StreamOrderbookUpdate (StreamOrderbookUpdateRequest) returns (stream StreamOrderbookUpdateResponse);
@@ -41,6 +35,10 @@ service InjectiveSpotExchangeRPC {
rpc Trades (TradesRequest) returns (TradesResponse);
// Stream newly executed trades from Spot Market
rpc StreamTrades (StreamTradesRequest) returns (stream StreamTradesResponse);
+ // Trades of a Spot Market
+ rpc TradesV2 (TradesV2Request) returns (TradesV2Response);
+ // Stream newly executed trades from Spot Market
+ rpc StreamTradesV2 (StreamTradesV2Request) returns (stream StreamTradesV2Response);
// List orders posted from this subaccount
rpc SubaccountOrdersList (SubaccountOrdersListRequest) returns (SubaccountOrdersListResponse);
// List trades executed by this subaccount
@@ -49,6 +47,8 @@ service InjectiveSpotExchangeRPC {
rpc OrdersHistory (OrdersHistoryRequest) returns (OrdersHistoryResponse);
// Stream updates to historical orders of a spot Market
rpc StreamOrdersHistory (StreamOrdersHistoryRequest) returns (stream StreamOrdersHistoryResponse);
+ // Get historical atomic swaps
+ rpc AtomicSwapHistory (AtomicSwapHistoryRequest) returns (AtomicSwapHistoryResponse);
}
message MarketsRequest {
@@ -58,6 +58,7 @@ message MarketsRequest {
string base_denom = 2;
// Filter by the Coin denomination of the quote currency
string quote_denom = 3;
+ repeated string market_statuses = 4;
}
message MarketsResponse {
@@ -132,34 +133,6 @@ message StreamMarketsResponse {
sint64 timestamp = 3;
}
-message OrderbookRequest {
- // MarketId of the market's orderbook we want to fetch
- string market_id = 1;
-}
-
-message OrderbookResponse {
- // Orderbook of a particular spot market
- SpotLimitOrderbook orderbook = 1;
-}
-
-message SpotLimitOrderbook {
- // Array of price levels for buys
- repeated PriceLevel buys = 1;
- // Array of price levels for sells
- repeated PriceLevel sells = 2;
- // Last update timestamp in UNIX millis.
- sint64 timestamp = 3;
-}
-
-message PriceLevel {
- // Price number of the price level.
- string price = 1;
- // Quantity of the price level.
- string quantity = 2;
- // Price level last updated timestamp in UNIX millis.
- sint64 timestamp = 3;
-}
-
message OrderbookV2Request {
// MarketId of the market's orderbook we want to fetch
string market_id = 1;
@@ -181,20 +154,13 @@ message SpotLimitOrderbookV2 {
sint64 timestamp = 4;
}
-message OrderbooksRequest {
- // MarketIds of the markets
- repeated string market_ids = 1;
-}
-
-message OrderbooksResponse {
- repeated SingleSpotLimitOrderbook orderbooks = 1;
-}
-
-message SingleSpotLimitOrderbook {
- // market's ID
- string market_id = 1;
- // Orderbook of the market
- SpotLimitOrderbook orderbook = 2;
+message PriceLevel {
+ // Price number of the price level.
+ string price = 1;
+ // Quantity of the price level.
+ string quantity = 2;
+ // Price level last updated timestamp in UNIX millis.
+ sint64 timestamp = 3;
}
message OrderbooksV2Request {
@@ -213,22 +179,6 @@ message SingleSpotLimitOrderbookV2 {
SpotLimitOrderbookV2 orderbook = 2;
}
-message StreamOrderbookRequest {
- // List of market IDs for orderbook streaming, empty means 'ALL' spot markets
- repeated string market_ids = 1;
-}
-
-message StreamOrderbookResponse {
- // Orderbook of a Spot Market
- SpotLimitOrderbook orderbook = 1;
- // Order update type
- string operation_type = 2;
- // Operation timestamp in UNIX millis.
- sint64 timestamp = 3;
- // MarketId of the market's orderbook
- string market_id = 4;
-}
-
message StreamOrderbookV2Request {
// List of market IDs for orderbook streaming, empty means 'ALL' spot markets
repeated string market_ids = 1;
@@ -308,6 +258,10 @@ message OrdersRequest {
bool include_inactive = 9;
// Choose to return subaccount total orders
bool subaccount_total_orders = 10;
+ // TradeId of the order we want to fetch
+ string trade_id = 11;
+ // Client order ID
+ string cid = 12;
}
message OrdersResponse {
@@ -341,6 +295,10 @@ message SpotLimitOrder {
sint64 created_at = 11;
// Order updated timestamp in UNIX millis.
sint64 updated_at = 12;
+ // Transaction Hash where order is created. Not all orders have this field
+ string tx_hash = 13;
+ // Custom client order ID
+ string cid = 14;
}
// Paging defines the structure for required params for handling pagination
message Paging {
@@ -352,6 +310,8 @@ message Paging {
sint32 to = 3;
// count entries by subaccount, serving some places on helix
sint64 count_by_subaccount = 4;
+ // array of tokens to navigate to the next pages
+ repeated string next = 5;
}
message StreamOrdersRequest {
@@ -377,6 +337,10 @@ message StreamOrdersRequest {
bool include_inactive = 9;
// Choose to return subaccount total orders
bool subaccount_total_orders = 10;
+ // TradeId of the order we want to fetch
+ string trade_id = 11;
+ // Client order ID
+ string cid = 12;
}
message StreamOrdersResponse {
@@ -412,6 +376,12 @@ message TradesRequest {
// Subaccount ids of traders we want to get trades
repeated string subaccount_ids = 10;
repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
}
message TradesResponse {
@@ -444,6 +414,8 @@ message SpotTrade {
string trade_id = 10;
// Trade's execution side, marker/taker
string execution_side = 11;
+ // Custom client order ID
+ string cid = 12;
}
message StreamTradesRequest {
@@ -470,6 +442,12 @@ message StreamTradesRequest {
// Subaccount ids of traders we want to get trades
repeated string subaccount_ids = 10;
repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
}
message StreamTradesResponse {
@@ -481,6 +459,86 @@ message StreamTradesResponse {
sint64 timestamp = 3;
}
+message TradesV2Request {
+ // MarketId of the market's orderbook we want to fetch
+ string market_id = 1;
+ // Filter by execution side of the trade
+ string execution_side = 2;
+ // Filter by direction the trade
+ string direction = 3;
+ // SubaccountId of the trader we want to get the trades from
+ string subaccount_id = 4;
+ // Skip will skip the first n item from the item result
+ uint64 skip = 5;
+ // Limit is used to specify the maximum number of items to be returned.
+ sint32 limit = 6;
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+// older than
+ sint64 start_time = 7;
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+// younger than
+ sint64 end_time = 8;
+ // MarketIds of the markets of which we want to get trades
+ repeated string market_ids = 9;
+ // Subaccount ids of traders we want to get trades
+ repeated string subaccount_ids = 10;
+ repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
+}
+
+message TradesV2Response {
+ // Trades of a Spot Market
+ repeated SpotTrade trades = 1;
+ // Paging indicates pages response is on
+ Paging paging = 2;
+}
+
+message StreamTradesV2Request {
+ // MarketId of the market's orderbook we want to fetch
+ string market_id = 1;
+ // Filter by execution side of the trade
+ string execution_side = 2;
+ // Filter by direction the trade
+ string direction = 3;
+ // SubaccountId of the trader we want to get the trades from
+ string subaccount_id = 4;
+ // Skip will skip the first n item from the item result
+ uint64 skip = 5;
+ // Limit is used to specify the maximum number of items to be returned.
+ sint32 limit = 6;
+ // The starting timestamp in UNIX milliseconds that the trades must be equal or
+// older than
+ sint64 start_time = 7;
+ // The ending timestamp in UNIX milliseconds that the trades must be equal or
+// younger than
+ sint64 end_time = 8;
+ // MarketIds of the markets of which we want to get trades
+ repeated string market_ids = 9;
+ // Subaccount ids of traders we want to get trades
+ repeated string subaccount_ids = 10;
+ repeated string execution_types = 11;
+ // Filter by the tradeId of the trade
+ string trade_id = 12;
+ // Account address
+ string account_address = 13;
+ // Client order ID
+ string cid = 14;
+}
+
+message StreamTradesV2Response {
+ // New spot market trade
+ SpotTrade trade = 1;
+ // Executed trades update type
+ string operation_type = 2;
+ // Operation timestamp in UNIX millis.
+ sint64 timestamp = 3;
+}
+
message SubaccountOrdersListRequest {
// subaccount ID to filter orders for specific subaccount
string subaccount_id = 1;
@@ -538,6 +596,12 @@ message OrdersHistoryRequest {
string state = 9;
repeated string execution_types = 10;
repeated string market_ids = 11;
+ // TradeId of the order we want to fetch
+ string trade_id = 12;
+ // Return only orders for active markets
+ bool active_markets_only = 13;
+ // Client order ID
+ string cid = 14;
}
message OrdersHistoryResponse {
@@ -575,6 +639,10 @@ message SpotOrderHistory {
sint64 updated_at = 13;
// Order direction (order side)
string direction = 14;
+ // Transaction Hash where order is created. Not all orders have this field
+ string tx_hash = 15;
+ // Custom client order ID
+ string cid = 16;
}
message StreamOrdersHistoryRequest {
@@ -599,3 +667,57 @@ message StreamOrdersHistoryResponse {
// Operation timestamp in UNIX millis.
sint64 timestamp = 3;
}
+
+message AtomicSwapHistoryRequest {
+ // sender of the atomic swap
+ string address = 1;
+ // atomic swap contract address to filter
+ string contract_address = 2;
+ // skip some swaps
+ sint32 skip = 3;
+ // limit number of swaps returned by this API
+ sint32 limit = 4;
+ // lowerbound of atomic swap index
+ sint32 from_number = 5;
+ // upperbound of atomic swap index
+ sint32 to_number = 6;
+}
+
+message AtomicSwapHistoryResponse {
+ // Paging indicates total number of records with this filter
+ Paging paging = 1;
+ // swap data
+ repeated AtomicSwap data = 2;
+}
+
+message AtomicSwap {
+ // executor of the swap
+ string sender = 1;
+ // swap route
+ string route = 2;
+ // source coin
+ Coin source_coin = 3;
+ // destination received coin
+ Coin dest_coin = 4;
+ // fees of each steps in route
+ repeated Coin fees = 5;
+ // contract address that executes to make this swap
+ string contract_address = 6;
+ // Numerical index by sender to use in pagination from_number and to_number
+ sint32 index_by_sender = 7;
+ // Numerical index by sender + acontract to use in pagination from_number and
+// to_number, that support contract filter
+ sint32 index_by_sender_contract = 8;
+ // transaction hash of the swap
+ string tx_hash = 9;
+ // transaction timestamp of the swap
+ sint64 executed_at = 10;
+ // Refunded amount of the swap
+ string refund_amount = 11;
+}
+
+message Coin {
+ // Denom of the coin
+ string denom = 1;
+ string amount = 2;
+}
diff --git a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc_grpc.pb.go b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc_grpc.pb.go
index 520df0ca..bd319d2a 100644
--- a/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc_grpc.pb.go
+++ b/exchange/spot_exchange_rpc/pb/injective_spot_exchange_rpc_grpc.pb.go
@@ -1,4 +1,8 @@
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.2.0
+// - protoc v4.23.4
+// source: injective_spot_exchange_rpc.proto
package injective_spot_exchange_rpcpb
@@ -25,16 +29,10 @@ type InjectiveSpotExchangeRPCClient interface {
// Stream live updates of selected spot markets
StreamMarkets(ctx context.Context, in *StreamMarketsRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamMarketsClient, error)
// Orderbook of a Spot Market
- Orderbook(ctx context.Context, in *OrderbookRequest, opts ...grpc.CallOption) (*OrderbookResponse, error)
- // Orderbook of a Spot Market
OrderbookV2(ctx context.Context, in *OrderbookV2Request, opts ...grpc.CallOption) (*OrderbookV2Response, error)
// Orderbook of Spot Markets
- Orderbooks(ctx context.Context, in *OrderbooksRequest, opts ...grpc.CallOption) (*OrderbooksResponse, error)
- // Orderbook of Spot Markets
OrderbooksV2(ctx context.Context, in *OrderbooksV2Request, opts ...grpc.CallOption) (*OrderbooksV2Response, error)
// Stream live snapshot updates of selected spot market orderbook
- StreamOrderbook(ctx context.Context, in *StreamOrderbookRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookClient, error)
- // Stream live snapshot updates of selected spot market orderbook
StreamOrderbookV2(ctx context.Context, in *StreamOrderbookV2Request, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookV2Client, error)
// Stream live level updates of selected spot market orderbook
StreamOrderbookUpdate(ctx context.Context, in *StreamOrderbookUpdateRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient, error)
@@ -46,6 +44,10 @@ type InjectiveSpotExchangeRPCClient interface {
Trades(ctx context.Context, in *TradesRequest, opts ...grpc.CallOption) (*TradesResponse, error)
// Stream newly executed trades from Spot Market
StreamTrades(ctx context.Context, in *StreamTradesRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamTradesClient, error)
+ // Trades of a Spot Market
+ TradesV2(ctx context.Context, in *TradesV2Request, opts ...grpc.CallOption) (*TradesV2Response, error)
+ // Stream newly executed trades from Spot Market
+ StreamTradesV2(ctx context.Context, in *StreamTradesV2Request, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamTradesV2Client, error)
// List orders posted from this subaccount
SubaccountOrdersList(ctx context.Context, in *SubaccountOrdersListRequest, opts ...grpc.CallOption) (*SubaccountOrdersListResponse, error)
// List trades executed by this subaccount
@@ -54,6 +56,8 @@ type InjectiveSpotExchangeRPCClient interface {
OrdersHistory(ctx context.Context, in *OrdersHistoryRequest, opts ...grpc.CallOption) (*OrdersHistoryResponse, error)
// Stream updates to historical orders of a spot Market
StreamOrdersHistory(ctx context.Context, in *StreamOrdersHistoryRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrdersHistoryClient, error)
+ // Get historical atomic swaps
+ AtomicSwapHistory(ctx context.Context, in *AtomicSwapHistoryRequest, opts ...grpc.CallOption) (*AtomicSwapHistoryResponse, error)
}
type injectiveSpotExchangeRPCClient struct {
@@ -114,15 +118,6 @@ func (x *injectiveSpotExchangeRPCStreamMarketsClient) Recv() (*StreamMarketsResp
return m, nil
}
-func (c *injectiveSpotExchangeRPCClient) Orderbook(ctx context.Context, in *OrderbookRequest, opts ...grpc.CallOption) (*OrderbookResponse, error) {
- out := new(OrderbookResponse)
- err := c.cc.Invoke(ctx, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *injectiveSpotExchangeRPCClient) OrderbookV2(ctx context.Context, in *OrderbookV2Request, opts ...grpc.CallOption) (*OrderbookV2Response, error) {
out := new(OrderbookV2Response)
err := c.cc.Invoke(ctx, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbookV2", in, out, opts...)
@@ -132,15 +127,6 @@ func (c *injectiveSpotExchangeRPCClient) OrderbookV2(ctx context.Context, in *Or
return out, nil
}
-func (c *injectiveSpotExchangeRPCClient) Orderbooks(ctx context.Context, in *OrderbooksRequest, opts ...grpc.CallOption) (*OrderbooksResponse, error) {
- out := new(OrderbooksResponse)
- err := c.cc.Invoke(ctx, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks", in, out, opts...)
- if err != nil {
- return nil, err
- }
- return out, nil
-}
-
func (c *injectiveSpotExchangeRPCClient) OrderbooksV2(ctx context.Context, in *OrderbooksV2Request, opts ...grpc.CallOption) (*OrderbooksV2Response, error) {
out := new(OrderbooksV2Response)
err := c.cc.Invoke(ctx, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/OrderbooksV2", in, out, opts...)
@@ -150,40 +136,8 @@ func (c *injectiveSpotExchangeRPCClient) OrderbooksV2(ctx context.Context, in *O
return out, nil
}
-func (c *injectiveSpotExchangeRPCClient) StreamOrderbook(ctx context.Context, in *StreamOrderbookRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[1], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbook", opts...)
- if err != nil {
- return nil, err
- }
- x := &injectiveSpotExchangeRPCStreamOrderbookClient{stream}
- if err := x.ClientStream.SendMsg(in); err != nil {
- return nil, err
- }
- if err := x.ClientStream.CloseSend(); err != nil {
- return nil, err
- }
- return x, nil
-}
-
-type InjectiveSpotExchangeRPC_StreamOrderbookClient interface {
- Recv() (*StreamOrderbookResponse, error)
- grpc.ClientStream
-}
-
-type injectiveSpotExchangeRPCStreamOrderbookClient struct {
- grpc.ClientStream
-}
-
-func (x *injectiveSpotExchangeRPCStreamOrderbookClient) Recv() (*StreamOrderbookResponse, error) {
- m := new(StreamOrderbookResponse)
- if err := x.ClientStream.RecvMsg(m); err != nil {
- return nil, err
- }
- return m, nil
-}
-
func (c *injectiveSpotExchangeRPCClient) StreamOrderbookV2(ctx context.Context, in *StreamOrderbookV2Request, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookV2Client, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[2], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[1], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookV2", opts...)
if err != nil {
return nil, err
}
@@ -215,7 +169,7 @@ func (x *injectiveSpotExchangeRPCStreamOrderbookV2Client) Recv() (*StreamOrderbo
}
func (c *injectiveSpotExchangeRPCClient) StreamOrderbookUpdate(ctx context.Context, in *StreamOrderbookUpdateRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrderbookUpdateClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[3], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[2], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrderbookUpdate", opts...)
if err != nil {
return nil, err
}
@@ -256,7 +210,7 @@ func (c *injectiveSpotExchangeRPCClient) Orders(ctx context.Context, in *OrdersR
}
func (c *injectiveSpotExchangeRPCClient) StreamOrders(ctx context.Context, in *StreamOrdersRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamOrdersClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[4], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[3], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamOrders", opts...)
if err != nil {
return nil, err
}
@@ -297,7 +251,7 @@ func (c *injectiveSpotExchangeRPCClient) Trades(ctx context.Context, in *TradesR
}
func (c *injectiveSpotExchangeRPCClient) StreamTrades(ctx context.Context, in *StreamTradesRequest, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamTradesClient, error) {
- stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[5], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades", opts...)
+ stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[4], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTrades", opts...)
if err != nil {
return nil, err
}
@@ -328,6 +282,47 @@ func (x *injectiveSpotExchangeRPCStreamTradesClient) Recv() (*StreamTradesRespon
return m, nil
}
+func (c *injectiveSpotExchangeRPCClient) TradesV2(ctx context.Context, in *TradesV2Request, opts ...grpc.CallOption) (*TradesV2Response, error) {
+ out := new(TradesV2Response)
+ err := c.cc.Invoke(ctx, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
+func (c *injectiveSpotExchangeRPCClient) StreamTradesV2(ctx context.Context, in *StreamTradesV2Request, opts ...grpc.CallOption) (InjectiveSpotExchangeRPC_StreamTradesV2Client, error) {
+ stream, err := c.cc.NewStream(ctx, &InjectiveSpotExchangeRPC_ServiceDesc.Streams[5], "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/StreamTradesV2", opts...)
+ if err != nil {
+ return nil, err
+ }
+ x := &injectiveSpotExchangeRPCStreamTradesV2Client{stream}
+ if err := x.ClientStream.SendMsg(in); err != nil {
+ return nil, err
+ }
+ if err := x.ClientStream.CloseSend(); err != nil {
+ return nil, err
+ }
+ return x, nil
+}
+
+type InjectiveSpotExchangeRPC_StreamTradesV2Client interface {
+ Recv() (*StreamTradesV2Response, error)
+ grpc.ClientStream
+}
+
+type injectiveSpotExchangeRPCStreamTradesV2Client struct {
+ grpc.ClientStream
+}
+
+func (x *injectiveSpotExchangeRPCStreamTradesV2Client) Recv() (*StreamTradesV2Response, error) {
+ m := new(StreamTradesV2Response)
+ if err := x.ClientStream.RecvMsg(m); err != nil {
+ return nil, err
+ }
+ return m, nil
+}
+
func (c *injectiveSpotExchangeRPCClient) SubaccountOrdersList(ctx context.Context, in *SubaccountOrdersListRequest, opts ...grpc.CallOption) (*SubaccountOrdersListResponse, error) {
out := new(SubaccountOrdersListResponse)
err := c.cc.Invoke(ctx, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/SubaccountOrdersList", in, out, opts...)
@@ -387,6 +382,15 @@ func (x *injectiveSpotExchangeRPCStreamOrdersHistoryClient) Recv() (*StreamOrder
return m, nil
}
+func (c *injectiveSpotExchangeRPCClient) AtomicSwapHistory(ctx context.Context, in *AtomicSwapHistoryRequest, opts ...grpc.CallOption) (*AtomicSwapHistoryResponse, error) {
+ out := new(AtomicSwapHistoryResponse)
+ err := c.cc.Invoke(ctx, "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
// InjectiveSpotExchangeRPCServer is the server API for InjectiveSpotExchangeRPC service.
// All implementations must embed UnimplementedInjectiveSpotExchangeRPCServer
// for forward compatibility
@@ -398,16 +402,10 @@ type InjectiveSpotExchangeRPCServer interface {
// Stream live updates of selected spot markets
StreamMarkets(*StreamMarketsRequest, InjectiveSpotExchangeRPC_StreamMarketsServer) error
// Orderbook of a Spot Market
- Orderbook(context.Context, *OrderbookRequest) (*OrderbookResponse, error)
- // Orderbook of a Spot Market
OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error)
// Orderbook of Spot Markets
- Orderbooks(context.Context, *OrderbooksRequest) (*OrderbooksResponse, error)
- // Orderbook of Spot Markets
OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error)
// Stream live snapshot updates of selected spot market orderbook
- StreamOrderbook(*StreamOrderbookRequest, InjectiveSpotExchangeRPC_StreamOrderbookServer) error
- // Stream live snapshot updates of selected spot market orderbook
StreamOrderbookV2(*StreamOrderbookV2Request, InjectiveSpotExchangeRPC_StreamOrderbookV2Server) error
// Stream live level updates of selected spot market orderbook
StreamOrderbookUpdate(*StreamOrderbookUpdateRequest, InjectiveSpotExchangeRPC_StreamOrderbookUpdateServer) error
@@ -419,6 +417,10 @@ type InjectiveSpotExchangeRPCServer interface {
Trades(context.Context, *TradesRequest) (*TradesResponse, error)
// Stream newly executed trades from Spot Market
StreamTrades(*StreamTradesRequest, InjectiveSpotExchangeRPC_StreamTradesServer) error
+ // Trades of a Spot Market
+ TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error)
+ // Stream newly executed trades from Spot Market
+ StreamTradesV2(*StreamTradesV2Request, InjectiveSpotExchangeRPC_StreamTradesV2Server) error
// List orders posted from this subaccount
SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error)
// List trades executed by this subaccount
@@ -427,6 +429,8 @@ type InjectiveSpotExchangeRPCServer interface {
OrdersHistory(context.Context, *OrdersHistoryRequest) (*OrdersHistoryResponse, error)
// Stream updates to historical orders of a spot Market
StreamOrdersHistory(*StreamOrdersHistoryRequest, InjectiveSpotExchangeRPC_StreamOrdersHistoryServer) error
+ // Get historical atomic swaps
+ AtomicSwapHistory(context.Context, *AtomicSwapHistoryRequest) (*AtomicSwapHistoryResponse, error)
mustEmbedUnimplementedInjectiveSpotExchangeRPCServer()
}
@@ -443,21 +447,12 @@ func (UnimplementedInjectiveSpotExchangeRPCServer) Market(context.Context, *Mark
func (UnimplementedInjectiveSpotExchangeRPCServer) StreamMarkets(*StreamMarketsRequest, InjectiveSpotExchangeRPC_StreamMarketsServer) error {
return status.Errorf(codes.Unimplemented, "method StreamMarkets not implemented")
}
-func (UnimplementedInjectiveSpotExchangeRPCServer) Orderbook(context.Context, *OrderbookRequest) (*OrderbookResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Orderbook not implemented")
-}
func (UnimplementedInjectiveSpotExchangeRPCServer) OrderbookV2(context.Context, *OrderbookV2Request) (*OrderbookV2Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method OrderbookV2 not implemented")
}
-func (UnimplementedInjectiveSpotExchangeRPCServer) Orderbooks(context.Context, *OrderbooksRequest) (*OrderbooksResponse, error) {
- return nil, status.Errorf(codes.Unimplemented, "method Orderbooks not implemented")
-}
func (UnimplementedInjectiveSpotExchangeRPCServer) OrderbooksV2(context.Context, *OrderbooksV2Request) (*OrderbooksV2Response, error) {
return nil, status.Errorf(codes.Unimplemented, "method OrderbooksV2 not implemented")
}
-func (UnimplementedInjectiveSpotExchangeRPCServer) StreamOrderbook(*StreamOrderbookRequest, InjectiveSpotExchangeRPC_StreamOrderbookServer) error {
- return status.Errorf(codes.Unimplemented, "method StreamOrderbook not implemented")
-}
func (UnimplementedInjectiveSpotExchangeRPCServer) StreamOrderbookV2(*StreamOrderbookV2Request, InjectiveSpotExchangeRPC_StreamOrderbookV2Server) error {
return status.Errorf(codes.Unimplemented, "method StreamOrderbookV2 not implemented")
}
@@ -476,6 +471,12 @@ func (UnimplementedInjectiveSpotExchangeRPCServer) Trades(context.Context, *Trad
func (UnimplementedInjectiveSpotExchangeRPCServer) StreamTrades(*StreamTradesRequest, InjectiveSpotExchangeRPC_StreamTradesServer) error {
return status.Errorf(codes.Unimplemented, "method StreamTrades not implemented")
}
+func (UnimplementedInjectiveSpotExchangeRPCServer) TradesV2(context.Context, *TradesV2Request) (*TradesV2Response, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method TradesV2 not implemented")
+}
+func (UnimplementedInjectiveSpotExchangeRPCServer) StreamTradesV2(*StreamTradesV2Request, InjectiveSpotExchangeRPC_StreamTradesV2Server) error {
+ return status.Errorf(codes.Unimplemented, "method StreamTradesV2 not implemented")
+}
func (UnimplementedInjectiveSpotExchangeRPCServer) SubaccountOrdersList(context.Context, *SubaccountOrdersListRequest) (*SubaccountOrdersListResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SubaccountOrdersList not implemented")
}
@@ -488,6 +489,9 @@ func (UnimplementedInjectiveSpotExchangeRPCServer) OrdersHistory(context.Context
func (UnimplementedInjectiveSpotExchangeRPCServer) StreamOrdersHistory(*StreamOrdersHistoryRequest, InjectiveSpotExchangeRPC_StreamOrdersHistoryServer) error {
return status.Errorf(codes.Unimplemented, "method StreamOrdersHistory not implemented")
}
+func (UnimplementedInjectiveSpotExchangeRPCServer) AtomicSwapHistory(context.Context, *AtomicSwapHistoryRequest) (*AtomicSwapHistoryResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method AtomicSwapHistory not implemented")
+}
func (UnimplementedInjectiveSpotExchangeRPCServer) mustEmbedUnimplementedInjectiveSpotExchangeRPCServer() {
}
@@ -559,24 +563,6 @@ func (x *injectiveSpotExchangeRPCStreamMarketsServer) Send(m *StreamMarketsRespo
return x.ServerStream.SendMsg(m)
}
-func _InjectiveSpotExchangeRPC_Orderbook_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OrderbookRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(InjectiveSpotExchangeRPCServer).Orderbook(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbook",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(InjectiveSpotExchangeRPCServer).Orderbook(ctx, req.(*OrderbookRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
func _InjectiveSpotExchangeRPC_OrderbookV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(OrderbookV2Request)
if err := dec(in); err != nil {
@@ -595,24 +581,6 @@ func _InjectiveSpotExchangeRPC_OrderbookV2_Handler(srv interface{}, ctx context.
return interceptor(ctx, in, info, handler)
}
-func _InjectiveSpotExchangeRPC_Orderbooks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
- in := new(OrderbooksRequest)
- if err := dec(in); err != nil {
- return nil, err
- }
- if interceptor == nil {
- return srv.(InjectiveSpotExchangeRPCServer).Orderbooks(ctx, in)
- }
- info := &grpc.UnaryServerInfo{
- Server: srv,
- FullMethod: "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/Orderbooks",
- }
- handler := func(ctx context.Context, req interface{}) (interface{}, error) {
- return srv.(InjectiveSpotExchangeRPCServer).Orderbooks(ctx, req.(*OrderbooksRequest))
- }
- return interceptor(ctx, in, info, handler)
-}
-
func _InjectiveSpotExchangeRPC_OrderbooksV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(OrderbooksV2Request)
if err := dec(in); err != nil {
@@ -631,27 +599,6 @@ func _InjectiveSpotExchangeRPC_OrderbooksV2_Handler(srv interface{}, ctx context
return interceptor(ctx, in, info, handler)
}
-func _InjectiveSpotExchangeRPC_StreamOrderbook_Handler(srv interface{}, stream grpc.ServerStream) error {
- m := new(StreamOrderbookRequest)
- if err := stream.RecvMsg(m); err != nil {
- return err
- }
- return srv.(InjectiveSpotExchangeRPCServer).StreamOrderbook(m, &injectiveSpotExchangeRPCStreamOrderbookServer{stream})
-}
-
-type InjectiveSpotExchangeRPC_StreamOrderbookServer interface {
- Send(*StreamOrderbookResponse) error
- grpc.ServerStream
-}
-
-type injectiveSpotExchangeRPCStreamOrderbookServer struct {
- grpc.ServerStream
-}
-
-func (x *injectiveSpotExchangeRPCStreamOrderbookServer) Send(m *StreamOrderbookResponse) error {
- return x.ServerStream.SendMsg(m)
-}
-
func _InjectiveSpotExchangeRPC_StreamOrderbookV2_Handler(srv interface{}, stream grpc.ServerStream) error {
m := new(StreamOrderbookV2Request)
if err := stream.RecvMsg(m); err != nil {
@@ -772,6 +719,45 @@ func (x *injectiveSpotExchangeRPCStreamTradesServer) Send(m *StreamTradesRespons
return x.ServerStream.SendMsg(m)
}
+func _InjectiveSpotExchangeRPC_TradesV2_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(TradesV2Request)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(InjectiveSpotExchangeRPCServer).TradesV2(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/TradesV2",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(InjectiveSpotExchangeRPCServer).TradesV2(ctx, req.(*TradesV2Request))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
+func _InjectiveSpotExchangeRPC_StreamTradesV2_Handler(srv interface{}, stream grpc.ServerStream) error {
+ m := new(StreamTradesV2Request)
+ if err := stream.RecvMsg(m); err != nil {
+ return err
+ }
+ return srv.(InjectiveSpotExchangeRPCServer).StreamTradesV2(m, &injectiveSpotExchangeRPCStreamTradesV2Server{stream})
+}
+
+type InjectiveSpotExchangeRPC_StreamTradesV2Server interface {
+ Send(*StreamTradesV2Response) error
+ grpc.ServerStream
+}
+
+type injectiveSpotExchangeRPCStreamTradesV2Server struct {
+ grpc.ServerStream
+}
+
+func (x *injectiveSpotExchangeRPCStreamTradesV2Server) Send(m *StreamTradesV2Response) error {
+ return x.ServerStream.SendMsg(m)
+}
+
func _InjectiveSpotExchangeRPC_SubaccountOrdersList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SubaccountOrdersListRequest)
if err := dec(in); err != nil {
@@ -847,6 +833,24 @@ func (x *injectiveSpotExchangeRPCStreamOrdersHistoryServer) Send(m *StreamOrders
return x.ServerStream.SendMsg(m)
}
+func _InjectiveSpotExchangeRPC_AtomicSwapHistory_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(AtomicSwapHistoryRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(InjectiveSpotExchangeRPCServer).AtomicSwapHistory(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/injective_spot_exchange_rpc.InjectiveSpotExchangeRPC/AtomicSwapHistory",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(InjectiveSpotExchangeRPCServer).AtomicSwapHistory(ctx, req.(*AtomicSwapHistoryRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
// InjectiveSpotExchangeRPC_ServiceDesc is the grpc.ServiceDesc for InjectiveSpotExchangeRPC service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
@@ -862,18 +866,10 @@ var InjectiveSpotExchangeRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "Market",
Handler: _InjectiveSpotExchangeRPC_Market_Handler,
},
- {
- MethodName: "Orderbook",
- Handler: _InjectiveSpotExchangeRPC_Orderbook_Handler,
- },
{
MethodName: "OrderbookV2",
Handler: _InjectiveSpotExchangeRPC_OrderbookV2_Handler,
},
- {
- MethodName: "Orderbooks",
- Handler: _InjectiveSpotExchangeRPC_Orderbooks_Handler,
- },
{
MethodName: "OrderbooksV2",
Handler: _InjectiveSpotExchangeRPC_OrderbooksV2_Handler,
@@ -886,6 +882,10 @@ var InjectiveSpotExchangeRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "Trades",
Handler: _InjectiveSpotExchangeRPC_Trades_Handler,
},
+ {
+ MethodName: "TradesV2",
+ Handler: _InjectiveSpotExchangeRPC_TradesV2_Handler,
+ },
{
MethodName: "SubaccountOrdersList",
Handler: _InjectiveSpotExchangeRPC_SubaccountOrdersList_Handler,
@@ -898,6 +898,10 @@ var InjectiveSpotExchangeRPC_ServiceDesc = grpc.ServiceDesc{
MethodName: "OrdersHistory",
Handler: _InjectiveSpotExchangeRPC_OrdersHistory_Handler,
},
+ {
+ MethodName: "AtomicSwapHistory",
+ Handler: _InjectiveSpotExchangeRPC_AtomicSwapHistory_Handler,
+ },
},
Streams: []grpc.StreamDesc{
{
@@ -905,11 +909,6 @@ var InjectiveSpotExchangeRPC_ServiceDesc = grpc.ServiceDesc{
Handler: _InjectiveSpotExchangeRPC_StreamMarkets_Handler,
ServerStreams: true,
},
- {
- StreamName: "StreamOrderbook",
- Handler: _InjectiveSpotExchangeRPC_StreamOrderbook_Handler,
- ServerStreams: true,
- },
{
StreamName: "StreamOrderbookV2",
Handler: _InjectiveSpotExchangeRPC_StreamOrderbookV2_Handler,
@@ -930,6 +929,11 @@ var InjectiveSpotExchangeRPC_ServiceDesc = grpc.ServiceDesc{
Handler: _InjectiveSpotExchangeRPC_StreamTrades_Handler,
ServerStreams: true,
},
+ {
+ StreamName: "StreamTradesV2",
+ Handler: _InjectiveSpotExchangeRPC_StreamTradesV2_Handler,
+ ServerStreams: true,
+ },
{
StreamName: "StreamOrdersHistory",
Handler: _InjectiveSpotExchangeRPC_StreamOrdersHistory_Handler,
diff --git a/go.mod b/go.mod
index 92c06fdc..d91b7925 100644
--- a/go.mod
+++ b/go.mod
@@ -3,49 +3,52 @@ module github.com/InjectiveLabs/sdk-go
go 1.19
require (
- cosmossdk.io/errors v1.0.0-beta.7
- cosmossdk.io/math v1.0.1
- github.com/CosmWasm/wasmd v0.40.0
+ cosmossdk.io/errors v1.0.0
+ cosmossdk.io/math v1.1.2
+ github.com/CosmWasm/wasmd v0.40.2
github.com/InjectiveLabs/suplog v1.3.3
- github.com/bandprotocol/bandchain-packet v0.0.2
+ github.com/bandprotocol/bandchain-packet v0.0.4
github.com/btcsuite/btcd v0.23.4
github.com/btcsuite/btcd/btcutil v1.1.3
github.com/cometbft/cometbft v0.37.2
- github.com/cosmos/cosmos-proto v1.0.0-beta.2
- github.com/cosmos/cosmos-sdk v0.47.3
+ github.com/cosmos/cosmos-proto v1.0.0-beta.3
+ github.com/cosmos/cosmos-sdk v0.47.5
github.com/cosmos/gogoproto v1.4.10
- github.com/cosmos/ibc-go/v7 v7.0.1
+ github.com/cosmos/ibc-go/v7 v7.3.0
github.com/ethereum/go-ethereum v1.11.5
+ github.com/golang/protobuf v1.5.3
+ github.com/google/uuid v1.4.0
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3
+ github.com/huandu/go-assert v1.1.5
github.com/olekukonko/tablewriter v0.0.5
github.com/pkg/errors v0.9.1
github.com/shopspring/decimal v1.2.0
+ github.com/stretchr/testify v1.8.4
github.com/tyler-smith/go-bip39 v1.1.0
- golang.org/x/crypto v0.9.0
- google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1
- google.golang.org/grpc v1.55.0
- google.golang.org/protobuf v1.30.0
+ golang.org/x/crypto v0.11.0
+ golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb
+ google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529
+ google.golang.org/grpc v1.56.2
+ google.golang.org/protobuf v1.31.0
gopkg.in/ini.v1 v1.67.0
gopkg.in/yaml.v2 v2.4.0
)
require (
cosmossdk.io/api v0.3.1 // indirect
- cosmossdk.io/core v0.5.1 // indirect
- cosmossdk.io/depinject v1.0.0-alpha.3 // indirect
+ cosmossdk.io/core v0.6.1 // indirect
+ cosmossdk.io/depinject v1.0.0-alpha.4 // indirect
filippo.io/edwards25519 v1.0.0 // indirect
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
- github.com/99designs/keyring v1.2.1 // indirect
+ github.com/99designs/keyring v1.2.2 // indirect
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d // indirect
- github.com/CosmWasm/wasmvm v1.2.4 // indirect
- github.com/DataDog/zstd v1.5.2 // indirect
+ github.com/CosmWasm/wasmvm v1.5.0 // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
- github.com/VictoriaMetrics/fastcache v1.6.0 // indirect
- github.com/allegro/bigcache v1.2.1 // indirect
github.com/armon/go-metrics v0.4.1 // indirect
github.com/aws/aws-sdk-go v1.44.203 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 // indirect
+ github.com/bitly/go-simplejson v0.5.1 // indirect
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.2 // indirect
github.com/bugsnag/bugsnag-go v2.1.2+incompatible // indirect
@@ -54,17 +57,16 @@ require (
github.com/cespare/xxhash v1.1.0 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/chzyer/readline v1.5.1 // indirect
- github.com/cockroachdb/errors v1.9.1 // indirect
+ github.com/cockroachdb/errors v1.10.0 // indirect
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
- github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 // indirect
- github.com/cockroachdb/redact v1.1.3 // indirect
+ github.com/cockroachdb/redact v1.1.5 // indirect
github.com/cometbft/cometbft-db v0.8.0 // indirect
github.com/confio/ics23/go v0.9.0 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/go-bip39 v1.0.0 // indirect
- github.com/cosmos/iavl v0.20.0 // indirect
+ github.com/cosmos/iavl v0.20.1 // indirect
github.com/cosmos/ics23/go v0.10.0 // indirect
- github.com/cosmos/ledger-cosmos-go v0.12.1 // indirect
+ github.com/cosmos/ledger-cosmos-go v0.12.2 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/deckarep/golang-set/v2 v2.1.0 // indirect
@@ -77,22 +79,19 @@ require (
github.com/dvsekhvalnov/jose2go v1.5.0 // indirect
github.com/fsnotify/fsnotify v1.6.0 // indirect
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 // indirect
- github.com/getsentry/sentry-go v0.18.0 // indirect
+ github.com/getsentry/sentry-go v0.23.0 // indirect
github.com/go-kit/kit v0.12.0 // indirect
github.com/go-kit/log v0.2.1 // indirect
github.com/go-logfmt/logfmt v0.6.0 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-stack/stack v1.8.1 // indirect
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
- github.com/gofrs/flock v0.8.1 // indirect
github.com/gofrs/uuid v4.3.0+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/glog v1.1.0 // indirect
- github.com/golang/protobuf v1.5.3 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.1.2 // indirect
github.com/google/go-cmp v0.5.9 // indirect
- github.com/google/uuid v1.3.0 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
@@ -103,7 +102,6 @@ require (
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d // indirect
github.com/hashicorp/hcl v1.0.0 // indirect
github.com/hdevalence/ed25519consensus v0.1.0 // indirect
- github.com/holiman/bloomfilter/v2 v2.0.3 // indirect
github.com/holiman/uint256 v1.2.2 // indirect
github.com/huandu/skiplist v1.2.0 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
@@ -117,7 +115,7 @@ require (
github.com/linxGnu/grocksdb v1.7.16 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/manifoldco/promptui v0.9.0 // indirect
- github.com/mattn/go-isatty v0.0.18 // indirect
+ github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-runewidth v0.0.9 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 // indirect
@@ -128,12 +126,12 @@ require (
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
- github.com/prometheus/client_golang v1.15.0 // indirect
+ github.com/prometheus/client_golang v1.16.0 // indirect
github.com/prometheus/client_model v0.3.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
- github.com/prometheus/procfs v0.9.0 // indirect
+ github.com/prometheus/procfs v0.10.1 // indirect
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
- github.com/rogpeppe/go-internal v1.9.0 // indirect
+ github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/sasha-s/go-deadlock v0.3.1 // indirect
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
@@ -143,7 +141,6 @@ require (
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.16.0 // indirect
- github.com/stretchr/testify v1.8.4 // indirect
github.com/subosito/gotenv v1.4.2 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
@@ -153,11 +150,12 @@ require (
github.com/zondax/hid v0.9.1 // indirect
github.com/zondax/ledger-go v0.14.1 // indirect
go.etcd.io/bbolt v1.3.7 // indirect
- golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc // indirect
- golang.org/x/net v0.10.0 // indirect
- golang.org/x/sys v0.8.0 // indirect
- golang.org/x/term v0.8.0 // indirect
- golang.org/x/text v0.9.0 // indirect
+ golang.org/x/net v0.12.0 // indirect
+ golang.org/x/sys v0.11.0 // indirect
+ golang.org/x/term v0.10.0 // indirect
+ golang.org/x/text v0.12.0 // indirect
+ google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 // indirect
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
pgregory.net/rapid v0.5.5 // indirect
@@ -165,12 +163,11 @@ require (
)
replace (
- cosmossdk.io/math => github.com/InjectiveLabs/cosmos-sdk/math v0.47.2-inj
- github.com/CosmWasm/wasmd => github.com/InjectiveLabs/wasmd v0.40.2-inj
- github.com/bandprotocol/bandchain-packet => github.com/InjectiveLabs/bandchain-packet v0.0.4-0.20230327115226-35199d4659d5
- github.com/cometbft/cometbft => github.com/InjectiveLabs/cometbft v0.37.1-inj
- github.com/cosmos/cosmos-sdk => github.com/InjectiveLabs/cosmos-sdk v0.47.3-inj-5
- github.com/cosmos/ibc-go/v7 => github.com/InjectiveLabs/ibc-go/v7 v7.0.1-inj
- github.com/miguelmota/go-ethereum-hdwallet => github.com/InjectiveLabs/go-ethereum-hdwallet v0.1.2
+ cosmossdk.io/math => github.com/InjectiveLabs/cosmos-sdk/math v0.47.3-inj-1
+ github.com/CosmWasm/wasmd => github.com/InjectiveLabs/wasmd v0.45.0-inj
+ github.com/bandprotocol/bandchain-packet => github.com/InjectiveLabs/bandchain-packet v0.0.4-inj-1
+ github.com/cometbft/cometbft => github.com/InjectiveLabs/cometbft v0.37.2-inj
+ github.com/cosmos/cosmos-sdk => github.com/InjectiveLabs/cosmos-sdk v0.47.3-inj-9
+ github.com/cosmos/ibc-go/v7 => github.com/InjectiveLabs/ibc-go/v7 v7.2.0-inj
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
)
diff --git a/go.sum b/go.sum
index 9d52fc47..f14d9487 100644
--- a/go.sum
+++ b/go.sum
@@ -1,865 +1,111 @@
-4d63.com/gochecknoglobals v0.1.0/go.mod h1:wfdC5ZjKSPr7CybKEcgJhUOgeAQW1+7WcyK8OvUilfo=
-bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8=
-bazil.org/fuse v0.0.0-20180421153158-65cc252bf669/go.mod h1:Xbm+BRKSBEpa4q4hTSxohYNQpsxXPbPry4JJWOB3LB8=
-bazil.org/fuse v0.0.0-20200407214033-5883e5a4b512/go.mod h1:FbcW6z/2VytnFDhZfumh8Ss8zxHE6qpMP5sHTRe0EaM=
-bitbucket.org/creachadair/shell v0.0.6/go.mod h1:8Qqi/cYk7vPnsOePHroKXDJYmb5x7ENhtiFtfZq8K+M=
-cloud.google.com/go v0.25.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.31.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.37.2/go.mod h1:H8IAquKe2L30IxoupDgqTaQvKSwF/c8prYHynGIWQbA=
cloud.google.com/go v0.38.0/go.mod h1:990N+gfupTy94rShfmMCWGDn0LpTmnzTp2qbd1dvSRU=
-cloud.google.com/go v0.39.0/go.mod h1:rVLT6fkc8chs9sfPtFc1SBH6em7n+ZoXaG+87tDISts=
cloud.google.com/go v0.44.1/go.mod h1:iSa0KzasP4Uvy3f1mN/7PiObzGgflwredwwASm/v6AU=
cloud.google.com/go v0.44.2/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
cloud.google.com/go v0.44.3/go.mod h1:60680Gw3Yr4ikxnPRS/oxxkBccT6SA1yMk63TGekxKY=
cloud.google.com/go v0.45.1/go.mod h1:RpBamKRgapWJb87xiFSdk4g1CME7QZg3uwTez+TSTjc=
cloud.google.com/go v0.46.3/go.mod h1:a6bKKbmY7er1mI7TEI4lsAkts/mkhTSZK8w33B4RAg0=
cloud.google.com/go v0.50.0/go.mod h1:r9sluTvynVuxRIOHXQEHMFffphuXHOMZMycpNR5e6To=
-cloud.google.com/go v0.51.0/go.mod h1:hWtGJ6gnXH+KgDv+V0zFGDvpi07n3z8ZNj3T1RW0Gcw=
cloud.google.com/go v0.52.0/go.mod h1:pXajvRH/6o3+F9jDHZWQ5PbGhn+o8w9qiu/CffaVdO4=
cloud.google.com/go v0.53.0/go.mod h1:fp/UouUEsRkN6ryDKNW/Upv/JBKnv6WDthjR6+vze6M=
cloud.google.com/go v0.54.0/go.mod h1:1rq2OEkV3YMf6n/9ZvGWI3GWw0VoqH/1x2nd8Is/bPc=
cloud.google.com/go v0.56.0/go.mod h1:jr7tqZxxKOVYizybht9+26Z/gUq7tiRzu+ACVAMbKVk=
cloud.google.com/go v0.57.0/go.mod h1:oXiQ6Rzq3RAkkY7N6t3TcE6jE+CIBBbA36lwQ1JyzZs=
-cloud.google.com/go v0.60.0/go.mod h1:yw2G51M9IfRboUH61Us8GqCeF1PzPblB823Mn2q2eAU=
cloud.google.com/go v0.62.0/go.mod h1:jmCYTdRCQuc1PHIIJ/maLInMho30T/Y0M4hTdTShOYc=
cloud.google.com/go v0.65.0/go.mod h1:O5N8zS7uWy9vkA9vayVHs65eM1ubvY4h553ofrNHObY=
cloud.google.com/go v0.72.0/go.mod h1:M+5Vjvlc2wnp6tjzE102Dw08nGShTscUx2nZMufOKPI=
cloud.google.com/go v0.74.0/go.mod h1:VV1xSbzvo+9QJOxLDaJfTjx5e+MePCpCWwvftOeQmWk=
cloud.google.com/go v0.75.0/go.mod h1:VGuuCn7PG0dwsd5XPVm2Mm3wlh3EL55/79EKB6hlPTY=
-cloud.google.com/go v0.78.0/go.mod h1:QjdrLG0uq+YwhjoVOLsS1t7TW8fs36kLs4XO5R5ECHg=
-cloud.google.com/go v0.79.0/go.mod h1:3bzgcEeQlzbuEAYu4mrWhKqWjmpprinYgKJLgKHnbb8=
-cloud.google.com/go v0.81.0/go.mod h1:mk/AM35KwGk/Nm2YSeZbxXdrNK3KZOYHmLkOqC2V6E0=
-cloud.google.com/go v0.83.0/go.mod h1:Z7MJUsANfY0pYPdw0lbnivPx4/vhy/e2FEkSkF7vAVY=
-cloud.google.com/go v0.84.0/go.mod h1:RazrYuxIK6Kb7YrzzhPoLmCVzl7Sup4NrbKPg8KHSUM=
-cloud.google.com/go v0.87.0/go.mod h1:TpDYlFy7vuLzZMMZ+B6iRiELaY7z/gJPaqbMx6mlWcY=
-cloud.google.com/go v0.90.0/go.mod h1:kRX0mNRHe0e2rC6oNakvwQqzyDmg57xJ+SZU1eT2aDQ=
-cloud.google.com/go v0.93.3/go.mod h1:8utlLll2EF5XMAV15woO4lSbWQlk8rer9aLOfLh7+YI=
-cloud.google.com/go v0.94.1/go.mod h1:qAlAugsXlC+JWO+Bke5vCtc9ONxjQT3drlTTnAplMW4=
-cloud.google.com/go v0.97.0/go.mod h1:GF7l59pYBVlXQIBLx3a761cZ41F9bBH3JUlihCt2Udc=
-cloud.google.com/go v0.98.0/go.mod h1:ua6Ush4NALrHk5QXDWnjvZHN93OuF0HfuEPq9I1X0cM=
-cloud.google.com/go v0.99.0/go.mod h1:w0Xx2nLzqWJPuozYQX+hFfCSI8WioryfRDzkoI/Y2ZA=
-cloud.google.com/go v0.100.1/go.mod h1:fs4QogzfH5n2pBXBP9vRiU+eCny7lD2vmFZy79Iuw1U=
-cloud.google.com/go v0.100.2/go.mod h1:4Xra9TjzAeYHrl5+oeLlzbM2k3mjVhZh4UqTZ//w99A=
-cloud.google.com/go v0.102.0/go.mod h1:oWcCzKlqJ5zgHQt9YsaeTY9KzIvjyy0ArmiBUgpQ+nc=
-cloud.google.com/go v0.102.1/go.mod h1:XZ77E9qnTEnrgEOvr4xzfdX5TRo7fB4T2F4O6+34hIU=
-cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRYtA=
-cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM=
-cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I=
-cloud.google.com/go v0.110.0 h1:Zc8gqp3+a9/Eyph2KDmcGaPtbKRIoqq4YTlL4NMD0Ys=
-cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY=
-cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4=
-cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw=
-cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E=
-cloud.google.com/go/accesscontextmanager v1.3.0/go.mod h1:TgCBehyr5gNMz7ZaH9xubp+CE8dkrszb4oK9CWyvD4o=
-cloud.google.com/go/accesscontextmanager v1.4.0/go.mod h1:/Kjh7BBu/Gh83sv+K60vN9QE5NJcd80sU33vIe2IFPE=
-cloud.google.com/go/accesscontextmanager v1.6.0/go.mod h1:8XCvZWfYw3K/ji0iVnp+6pu7huxoQTLmxAbVjbloTtM=
-cloud.google.com/go/aiplatform v1.22.0/go.mod h1:ig5Nct50bZlzV6NvKaTwmplLLddFx0YReh9WfTO5jKw=
-cloud.google.com/go/aiplatform v1.24.0/go.mod h1:67UUvRBKG6GTayHKV8DBv2RtR1t93YRu5B1P3x99mYY=
-cloud.google.com/go/aiplatform v1.27.0/go.mod h1:Bvxqtl40l0WImSb04d0hXFU7gDOiq9jQmorivIiWcKg=
-cloud.google.com/go/aiplatform v1.35.0/go.mod h1:7MFT/vCaOyZT/4IIFfxH4ErVg/4ku6lKv3w0+tFTgXQ=
-cloud.google.com/go/analytics v0.11.0/go.mod h1:DjEWCu41bVbYcKyvlws9Er60YE4a//bK6mnhWvQeFNI=
-cloud.google.com/go/analytics v0.12.0/go.mod h1:gkfj9h6XRf9+TS4bmuhPEShsh3hH8PAZzm/41OOhQd4=
-cloud.google.com/go/analytics v0.18.0/go.mod h1:ZkeHGQlcIPkw0R/GW+boWHhCOR43xz9RN/jn7WcqfIE=
-cloud.google.com/go/apigateway v1.3.0/go.mod h1:89Z8Bhpmxu6AmUxuVRg/ECRGReEdiP3vQtk4Z1J9rJk=
-cloud.google.com/go/apigateway v1.4.0/go.mod h1:pHVY9MKGaH9PQ3pJ4YLzoj6U5FUDeDFBllIz7WmzJoc=
-cloud.google.com/go/apigateway v1.5.0/go.mod h1:GpnZR3Q4rR7LVu5951qfXPJCHquZt02jf7xQx7kpqN8=
-cloud.google.com/go/apigeeconnect v1.3.0/go.mod h1:G/AwXFAKo0gIXkPTVfZDd2qA1TxBXJ3MgMRBQkIi9jc=
-cloud.google.com/go/apigeeconnect v1.4.0/go.mod h1:kV4NwOKqjvt2JYR0AoIWo2QGfoRtn/pkS3QlHp0Ni04=
-cloud.google.com/go/apigeeconnect v1.5.0/go.mod h1:KFaCqvBRU6idyhSNyn3vlHXc8VMDJdRmwDF6JyFRqZ8=
-cloud.google.com/go/apigeeregistry v0.4.0/go.mod h1:EUG4PGcsZvxOXAdyEghIdXwAEi/4MEaoqLMLDMIwKXY=
-cloud.google.com/go/apigeeregistry v0.5.0/go.mod h1:YR5+s0BVNZfVOUkMa5pAR2xGd0A473vA5M7j247o1wM=
-cloud.google.com/go/apikeys v0.4.0/go.mod h1:XATS/yqZbaBK0HOssf+ALHp8jAlNHUgyfprvNcBIszU=
-cloud.google.com/go/apikeys v0.5.0/go.mod h1:5aQfwY4D+ewMMWScd3hm2en3hCj+BROlyrt3ytS7KLI=
-cloud.google.com/go/appengine v1.4.0/go.mod h1:CS2NhuBuDXM9f+qscZ6V86m1MIIqPj3WC/UoEuR1Sno=
-cloud.google.com/go/appengine v1.5.0/go.mod h1:TfasSozdkFI0zeoxW3PTBLiNqRmzraodCWatWI9Dmak=
-cloud.google.com/go/appengine v1.6.0/go.mod h1:hg6i0J/BD2cKmDJbaFSYHFyZkgBEfQrDg/X0V5fJn84=
-cloud.google.com/go/area120 v0.5.0/go.mod h1:DE/n4mp+iqVyvxHN41Vf1CR602GiHQjFPusMFW6bGR4=
-cloud.google.com/go/area120 v0.6.0/go.mod h1:39yFJqWVgm0UZqWTOdqkLhjoC7uFfgXRC8g/ZegeAh0=
-cloud.google.com/go/area120 v0.7.1/go.mod h1:j84i4E1RboTWjKtZVWXPqvK5VHQFJRF2c1Nm69pWm9k=
-cloud.google.com/go/artifactregistry v1.6.0/go.mod h1:IYt0oBPSAGYj/kprzsBjZ/4LnG/zOcHyFHjWPCi6SAQ=
-cloud.google.com/go/artifactregistry v1.7.0/go.mod h1:mqTOFOnGZx8EtSqK/ZWcsm/4U8B77rbcLP6ruDU2Ixk=
-cloud.google.com/go/artifactregistry v1.8.0/go.mod h1:w3GQXkJX8hiKN0v+at4b0qotwijQbYUqF2GWkZzAhC0=
-cloud.google.com/go/artifactregistry v1.9.0/go.mod h1:2K2RqvA2CYvAeARHRkLDhMDJ3OXy26h3XW+3/Jh2uYc=
-cloud.google.com/go/artifactregistry v1.11.2/go.mod h1:nLZns771ZGAwVLzTX/7Al6R9ehma4WUEhZGWV6CeQNQ=
-cloud.google.com/go/asset v1.5.0/go.mod h1:5mfs8UvcM5wHhqtSv8J1CtxxaQq3AdBxxQi2jGW/K4o=
-cloud.google.com/go/asset v1.7.0/go.mod h1:YbENsRK4+xTiL+Ofoj5Ckf+O17kJtgp3Y3nn4uzZz5s=
-cloud.google.com/go/asset v1.8.0/go.mod h1:mUNGKhiqIdbr8X7KNayoYvyc4HbbFO9URsjbytpUaW0=
-cloud.google.com/go/asset v1.9.0/go.mod h1:83MOE6jEJBMqFKadM9NLRcs80Gdw76qGuHn8m3h8oHQ=
-cloud.google.com/go/asset v1.10.0/go.mod h1:pLz7uokL80qKhzKr4xXGvBQXnzHn5evJAEAtZiIb0wY=
-cloud.google.com/go/asset v1.11.1/go.mod h1:fSwLhbRvC9p9CXQHJ3BgFeQNM4c9x10lqlrdEUYXlJo=
-cloud.google.com/go/assuredworkloads v1.5.0/go.mod h1:n8HOZ6pff6re5KYfBXcFvSViQjDwxFkAkmUFffJRbbY=
-cloud.google.com/go/assuredworkloads v1.6.0/go.mod h1:yo2YOk37Yc89Rsd5QMVECvjaMKymF9OP+QXWlKXUkXw=
-cloud.google.com/go/assuredworkloads v1.7.0/go.mod h1:z/736/oNmtGAyU47reJgGN+KVoYoxeLBoj4XkKYscNI=
-cloud.google.com/go/assuredworkloads v1.8.0/go.mod h1:AsX2cqyNCOvEQC8RMPnoc0yEarXQk6WEKkxYfL6kGIo=
-cloud.google.com/go/assuredworkloads v1.9.0/go.mod h1:kFuI1P78bplYtT77Tb1hi0FMxM0vVpRC7VVoJC3ZoT0=
-cloud.google.com/go/assuredworkloads v1.10.0/go.mod h1:kwdUQuXcedVdsIaKgKTp9t0UJkE5+PAVNhdQm4ZVq2E=
-cloud.google.com/go/automl v1.5.0/go.mod h1:34EjfoFGMZ5sgJ9EoLsRtdPSNZLcfflJR39VbVNS2M0=
-cloud.google.com/go/automl v1.6.0/go.mod h1:ugf8a6Fx+zP0D59WLhqgTDsQI9w07o64uf/Is3Nh5p8=
-cloud.google.com/go/automl v1.7.0/go.mod h1:RL9MYCCsJEOmt0Wf3z9uzG0a7adTT1fe+aObgSpkCt8=
-cloud.google.com/go/automl v1.8.0/go.mod h1:xWx7G/aPEe/NP+qzYXktoBSDfjO+vnKMGgsApGJJquM=
-cloud.google.com/go/automl v1.12.0/go.mod h1:tWDcHDp86aMIuHmyvjuKeeHEGq76lD7ZqfGLN6B0NuU=
-cloud.google.com/go/baremetalsolution v0.3.0/go.mod h1:XOrocE+pvK1xFfleEnShBlNAXf+j5blPPxrhjKgnIFc=
-cloud.google.com/go/baremetalsolution v0.4.0/go.mod h1:BymplhAadOO/eBa7KewQ0Ppg4A4Wplbn+PsFKRLo0uI=
-cloud.google.com/go/baremetalsolution v0.5.0/go.mod h1:dXGxEkmR9BMwxhzBhV0AioD0ULBmuLZI8CdwalUxuss=
-cloud.google.com/go/batch v0.3.0/go.mod h1:TR18ZoAekj1GuirsUsR1ZTKN3FC/4UDnScjT8NXImFE=
-cloud.google.com/go/batch v0.4.0/go.mod h1:WZkHnP43R/QCGQsZ+0JyG4i79ranE2u8xvjq/9+STPE=
-cloud.google.com/go/batch v0.7.0/go.mod h1:vLZN95s6teRUqRQ4s3RLDsH8PvboqBK+rn1oevL159g=
-cloud.google.com/go/beyondcorp v0.2.0/go.mod h1:TB7Bd+EEtcw9PCPQhCJtJGjk/7TC6ckmnSFS+xwTfm4=
-cloud.google.com/go/beyondcorp v0.3.0/go.mod h1:E5U5lcrcXMsCuoDNyGrpyTm/hn7ne941Jz2vmksAxW8=
-cloud.google.com/go/beyondcorp v0.4.0/go.mod h1:3ApA0mbhHx6YImmuubf5pyW8srKnCEPON32/5hj+RmM=
+cloud.google.com/go v0.110.4 h1:1JYyxKMN9hd5dR2MYTPWkGUgcoxVVhg0LKNKEo0qvmk=
cloud.google.com/go/bigquery v1.0.1/go.mod h1:i/xbL2UlR5RvWAURpBYZTtm/cXjCha9lbfbpx4poX+o=
cloud.google.com/go/bigquery v1.3.0/go.mod h1:PjpwJnslEMmckchkHFfq+HTD2DmtT67aNFKH1/VBDHE=
cloud.google.com/go/bigquery v1.4.0/go.mod h1:S8dzgnTigyfTmLBfrtrhyYhwRxG72rYxvftPBK2Dvzc=
cloud.google.com/go/bigquery v1.5.0/go.mod h1:snEHRnqQbz117VIFhE8bmtwIDY80NLUZUMb4Nv6dBIg=
cloud.google.com/go/bigquery v1.7.0/go.mod h1://okPTzCYNXSlb24MZs83e2Do+h+VXtc4gLoIoXIAPc=
cloud.google.com/go/bigquery v1.8.0/go.mod h1:J5hqkt3O0uAFnINi6JXValWIb1v0goeZM77hZzJN/fQ=
-cloud.google.com/go/bigquery v1.42.0/go.mod h1:8dRTJxhtG+vwBKzE5OseQn/hiydoQN3EedCaOdYmxRA=
-cloud.google.com/go/bigquery v1.43.0/go.mod h1:ZMQcXHsl+xmU1z36G2jNGZmKp9zNY5BUua5wDgmNCfw=
-cloud.google.com/go/bigquery v1.44.0/go.mod h1:0Y33VqXTEsbamHJvJHdFmtqHvMIY28aK1+dFsvaChGc=
-cloud.google.com/go/bigquery v1.48.0/go.mod h1:QAwSz+ipNgfL5jxiaK7weyOhzdoAy1zFm0Nf1fysJac=
-cloud.google.com/go/billing v1.4.0/go.mod h1:g9IdKBEFlItS8bTtlrZdVLWSSdSyFUZKXNS02zKMOZY=
-cloud.google.com/go/billing v1.5.0/go.mod h1:mztb1tBc3QekhjSgmpf/CV4LzWXLzCArwpLmP2Gm88s=
-cloud.google.com/go/billing v1.6.0/go.mod h1:WoXzguj+BeHXPbKfNWkqVtDdzORazmCjraY+vrxcyvI=
-cloud.google.com/go/billing v1.7.0/go.mod h1:q457N3Hbj9lYwwRbnlD7vUpyjq6u5U1RAOArInEiD5Y=
-cloud.google.com/go/billing v1.12.0/go.mod h1:yKrZio/eu+okO/2McZEbch17O5CB5NpZhhXG6Z766ss=
-cloud.google.com/go/binaryauthorization v1.1.0/go.mod h1:xwnoWu3Y84jbuHa0zd526MJYmtnVXn0syOjaJgy4+dM=
-cloud.google.com/go/binaryauthorization v1.2.0/go.mod h1:86WKkJHtRcv5ViNABtYMhhNWRrD1Vpi//uKEy7aYEfI=
-cloud.google.com/go/binaryauthorization v1.3.0/go.mod h1:lRZbKgjDIIQvzYQS1p99A7/U1JqvqeZg0wiI5tp6tg0=
-cloud.google.com/go/binaryauthorization v1.4.0/go.mod h1:tsSPQrBd77VLplV70GUhBf/Zm3FsKmgSqgm4UmiDItk=
-cloud.google.com/go/binaryauthorization v1.5.0/go.mod h1:OSe4OU1nN/VswXKRBmciKpo9LulY41gch5c68htf3/Q=
-cloud.google.com/go/certificatemanager v1.3.0/go.mod h1:n6twGDvcUBFu9uBgt4eYvvf3sQ6My8jADcOVwHmzadg=
-cloud.google.com/go/certificatemanager v1.4.0/go.mod h1:vowpercVFyqs8ABSmrdV+GiFf2H/ch3KyudYQEMM590=
-cloud.google.com/go/certificatemanager v1.6.0/go.mod h1:3Hh64rCKjRAX8dXgRAyOcY5vQ/fE1sh8o+Mdd6KPgY8=
-cloud.google.com/go/channel v1.8.0/go.mod h1:W5SwCXDJsq/rg3tn3oG0LOxpAo6IMxNa09ngphpSlnk=
-cloud.google.com/go/channel v1.9.0/go.mod h1:jcu05W0my9Vx4mt3/rEHpfxc9eKi9XwsdDL8yBMbKUk=
-cloud.google.com/go/channel v1.11.0/go.mod h1:IdtI0uWGqhEeatSB62VOoJ8FSUhJ9/+iGkJVqp74CGE=
-cloud.google.com/go/cloudbuild v1.3.0/go.mod h1:WequR4ULxlqvMsjDEEEFnOG5ZSRSgWOywXYDb1vPE6U=
-cloud.google.com/go/cloudbuild v1.4.0/go.mod h1:5Qwa40LHiOXmz3386FrjrYM93rM/hdRr7b53sySrTqA=
-cloud.google.com/go/cloudbuild v1.7.0/go.mod h1:zb5tWh2XI6lR9zQmsm1VRA+7OCuve5d8S+zJUul8KTg=
-cloud.google.com/go/clouddms v1.3.0/go.mod h1:oK6XsCDdW4Ib3jCCBugx+gVjevp2TMXFtgxvPSee3OM=
-cloud.google.com/go/clouddms v1.4.0/go.mod h1:Eh7sUGCC+aKry14O1NRljhjyrr0NFC0G2cjwX0cByRk=
-cloud.google.com/go/clouddms v1.5.0/go.mod h1:QSxQnhikCLUw13iAbffF2CZxAER3xDGNHjsTAkQJcQA=
-cloud.google.com/go/cloudtasks v1.5.0/go.mod h1:fD92REy1x5woxkKEkLdvavGnPJGEn8Uic9nWuLzqCpY=
-cloud.google.com/go/cloudtasks v1.6.0/go.mod h1:C6Io+sxuke9/KNRkbQpihnW93SWDU3uXt92nu85HkYI=
-cloud.google.com/go/cloudtasks v1.7.0/go.mod h1:ImsfdYWwlWNJbdgPIIGJWC+gemEGTBK/SunNQQNCAb4=
-cloud.google.com/go/cloudtasks v1.8.0/go.mod h1:gQXUIwCSOI4yPVK7DgTVFiiP0ZW/eQkydWzwVMdHxrI=
-cloud.google.com/go/cloudtasks v1.9.0/go.mod h1:w+EyLsVkLWHcOaqNEyvcKAsWp9p29dL6uL9Nst1cI7Y=
-cloud.google.com/go/compute v0.1.0/go.mod h1:GAesmwr110a34z04OlxYkATPBEfVhkymfTBXtfbBFow=
-cloud.google.com/go/compute v1.3.0/go.mod h1:cCZiE1NHEtai4wiufUhW8I8S1JKkAnhnQJWM7YD99wM=
-cloud.google.com/go/compute v1.5.0/go.mod h1:9SMHyhJlzhlkJqrPAc839t2BZFTSk6Jdj6mkzQJeu0M=
-cloud.google.com/go/compute v1.6.0/go.mod h1:T29tfhtVbq1wvAPo0E3+7vhgmkOYeXjhFvz/FMzPu0s=
-cloud.google.com/go/compute v1.6.1/go.mod h1:g85FgpzFvNULZ+S8AYq87axRKuf2Kh7deLqV/jJ3thU=
-cloud.google.com/go/compute v1.7.0/go.mod h1:435lt8av5oL9P3fv1OEzSbSUe+ybHXGMPQHHZWZxy9U=
-cloud.google.com/go/compute v1.10.0/go.mod h1:ER5CLbMxl90o2jtNbGSbtfOpQKR0t15FOtRsugnLrlU=
-cloud.google.com/go/compute v1.12.0/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU=
-cloud.google.com/go/compute v1.12.1/go.mod h1:e8yNOBcBONZU1vJKCvCoDw/4JQsA0dpM4x/6PIIOocU=
-cloud.google.com/go/compute v1.13.0/go.mod h1:5aPTS0cUNMIc1CE546K+Th6weJUNQErARyZtRXDJ8GE=
-cloud.google.com/go/compute v1.14.0/go.mod h1:YfLtxrj9sU4Yxv+sXzZkyPjEyPBZfXHUvjxega5vAdo=
-cloud.google.com/go/compute v1.15.1/go.mod h1:bjjoF/NtFUrkD/urWfdHaKuOPDR5nWIs63rR+SXhcpA=
-cloud.google.com/go/compute v1.18.0/go.mod h1:1X7yHxec2Ga+Ss6jPyjxRxpu2uu7PLgsOVXvgU0yacs=
-cloud.google.com/go/compute v1.19.0 h1:+9zda3WGgW1ZSTlVppLCYFIr48Pa35q1uG2N1itbCEQ=
-cloud.google.com/go/compute/metadata v0.1.0/go.mod h1:Z1VN+bulIf6bt4P/C37K4DyZYZEXYonfTBHHFPO/4UU=
-cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k=
-cloud.google.com/go/compute/metadata v0.2.1/go.mod h1:jgHgmJd2RKBGzXqF5LR2EZMGxBkeanZ9wwa75XHJgOM=
+cloud.google.com/go/compute v1.20.1 h1:6aKEtlUiwEpJzM001l0yFkpXmUVXaN8W+fbkb2AZNbg=
cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY=
-cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA=
-cloud.google.com/go/contactcenterinsights v1.3.0/go.mod h1:Eu2oemoePuEFc/xKFPjbTuPSj0fYJcPls9TFlPNnHHY=
-cloud.google.com/go/contactcenterinsights v1.4.0/go.mod h1:L2YzkGbPsv+vMQMCADxJoT9YiTTnSEd6fEvCeHTYVck=
-cloud.google.com/go/contactcenterinsights v1.6.0/go.mod h1:IIDlT6CLcDoyv79kDv8iWxMSTZhLxSCofVV5W6YFM/w=
-cloud.google.com/go/container v1.6.0/go.mod h1:Xazp7GjJSeUYo688S+6J5V+n/t+G5sKBTFkKNudGRxg=
-cloud.google.com/go/container v1.7.0/go.mod h1:Dp5AHtmothHGX3DwwIHPgq45Y8KmNsgN3amoYfxVkLo=
-cloud.google.com/go/container v1.13.1/go.mod h1:6wgbMPeQRw9rSnKBCAJXnds3Pzj03C4JHamr8asWKy4=
-cloud.google.com/go/containeranalysis v0.5.1/go.mod h1:1D92jd8gRR/c0fGMlymRgxWD3Qw9C1ff6/T7mLgVL8I=
-cloud.google.com/go/containeranalysis v0.6.0/go.mod h1:HEJoiEIu+lEXM+k7+qLCci0h33lX3ZqoYFdmPcoO7s4=
-cloud.google.com/go/containeranalysis v0.7.0/go.mod h1:9aUL+/vZ55P2CXfuZjS4UjQ9AgXoSw8Ts6lemfmxBxI=
-cloud.google.com/go/datacatalog v1.3.0/go.mod h1:g9svFY6tuR+j+hrTw3J2dNcmI0dzmSiyOzm8kpLq0a0=
-cloud.google.com/go/datacatalog v1.5.0/go.mod h1:M7GPLNQeLfWqeIm3iuiruhPzkt65+Bx8dAKvScX8jvs=
-cloud.google.com/go/datacatalog v1.6.0/go.mod h1:+aEyF8JKg+uXcIdAmmaMUmZ3q1b/lKLtXCmXdnc0lbc=
-cloud.google.com/go/datacatalog v1.7.0/go.mod h1:9mEl4AuDYWw81UGc41HonIHH7/sn52H0/tc8f8ZbZIE=
-cloud.google.com/go/datacatalog v1.8.0/go.mod h1:KYuoVOv9BM8EYz/4eMFxrr4DUKhGIOXxZoKYF5wdISM=
-cloud.google.com/go/datacatalog v1.8.1/go.mod h1:RJ58z4rMp3gvETA465Vg+ag8BGgBdnRPEMMSTr5Uv+M=
-cloud.google.com/go/datacatalog v1.12.0/go.mod h1:CWae8rFkfp6LzLumKOnmVh4+Zle4A3NXLzVJ1d1mRm0=
-cloud.google.com/go/dataflow v0.6.0/go.mod h1:9QwV89cGoxjjSR9/r7eFDqqjtvbKxAK2BaYU6PVk9UM=
-cloud.google.com/go/dataflow v0.7.0/go.mod h1:PX526vb4ijFMesO1o202EaUmouZKBpjHsTlCtB4parQ=
-cloud.google.com/go/dataflow v0.8.0/go.mod h1:Rcf5YgTKPtQyYz8bLYhFoIV/vP39eL7fWNcSOyFfLJE=
-cloud.google.com/go/dataform v0.3.0/go.mod h1:cj8uNliRlHpa6L3yVhDOBrUXH+BPAO1+KFMQQNSThKo=
-cloud.google.com/go/dataform v0.4.0/go.mod h1:fwV6Y4Ty2yIFL89huYlEkwUPtS7YZinZbzzj5S9FzCE=
-cloud.google.com/go/dataform v0.5.0/go.mod h1:GFUYRe8IBa2hcomWplodVmUx/iTL0FrsauObOM3Ipr0=
-cloud.google.com/go/dataform v0.6.0/go.mod h1:QPflImQy33e29VuapFdf19oPbE4aYTJxr31OAPV+ulA=
-cloud.google.com/go/datafusion v1.4.0/go.mod h1:1Zb6VN+W6ALo85cXnM1IKiPw+yQMKMhB9TsTSRDo/38=
-cloud.google.com/go/datafusion v1.5.0/go.mod h1:Kz+l1FGHB0J+4XF2fud96WMmRiq/wj8N9u007vyXZ2w=
-cloud.google.com/go/datafusion v1.6.0/go.mod h1:WBsMF8F1RhSXvVM8rCV3AeyWVxcC2xY6vith3iw3S+8=
-cloud.google.com/go/datalabeling v0.5.0/go.mod h1:TGcJ0G2NzcsXSE/97yWjIZO0bXj0KbVlINXMG9ud42I=
-cloud.google.com/go/datalabeling v0.6.0/go.mod h1:WqdISuk/+WIGeMkpw/1q7bK/tFEZxsrFJOJdY2bXvTQ=
-cloud.google.com/go/datalabeling v0.7.0/go.mod h1:WPQb1y08RJbmpM3ww0CSUAGweL0SxByuW2E+FU+wXcM=
-cloud.google.com/go/dataplex v1.3.0/go.mod h1:hQuRtDg+fCiFgC8j0zV222HvzFQdRd+SVX8gdmFcZzA=
-cloud.google.com/go/dataplex v1.4.0/go.mod h1:X51GfLXEMVJ6UN47ESVqvlsRplbLhcsAt0kZCCKsU0A=
-cloud.google.com/go/dataplex v1.5.2/go.mod h1:cVMgQHsmfRoI5KFYq4JtIBEUbYwc3c7tXmIDhRmNNVQ=
-cloud.google.com/go/dataproc v1.7.0/go.mod h1:CKAlMjII9H90RXaMpSxQ8EU6dQx6iAYNPcYPOkSbi8s=
-cloud.google.com/go/dataproc v1.8.0/go.mod h1:5OW+zNAH0pMpw14JVrPONsxMQYMBqJuzORhIBfBn9uI=
-cloud.google.com/go/dataproc v1.12.0/go.mod h1:zrF3aX0uV3ikkMz6z4uBbIKyhRITnxvr4i3IjKsKrw4=
-cloud.google.com/go/dataqna v0.5.0/go.mod h1:90Hyk596ft3zUQ8NkFfvICSIfHFh1Bc7C4cK3vbhkeo=
-cloud.google.com/go/dataqna v0.6.0/go.mod h1:1lqNpM7rqNLVgWBJyk5NF6Uen2PHym0jtVJonplVsDA=
-cloud.google.com/go/dataqna v0.7.0/go.mod h1:Lx9OcIIeqCrw1a6KdO3/5KMP1wAmTc0slZWwP12Qq3c=
cloud.google.com/go/datastore v1.0.0/go.mod h1:LXYbyblFSglQ5pkeyhO+Qmw7ukd3C+pD7TKLgZqpHYE=
cloud.google.com/go/datastore v1.1.0/go.mod h1:umbIZjpQpHh4hmRpGhH4tLFup+FVzqBi1b3c64qFpCk=
-cloud.google.com/go/datastore v1.10.0/go.mod h1:PC5UzAmDEkAmkfaknstTYbNpgE49HAgW2J1gcgUfmdM=
-cloud.google.com/go/datastream v1.2.0/go.mod h1:i/uTP8/fZwgATHS/XFu0TcNUhuA0twZxxQ3EyCUQMwo=
-cloud.google.com/go/datastream v1.3.0/go.mod h1:cqlOX8xlyYF/uxhiKn6Hbv6WjwPPuI9W2M9SAXwaLLQ=
-cloud.google.com/go/datastream v1.4.0/go.mod h1:h9dpzScPhDTs5noEMQVWP8Wx8AFBRyS0s8KWPx/9r0g=
-cloud.google.com/go/datastream v1.5.0/go.mod h1:6TZMMNPwjUqZHBKPQ1wwXpb0d5VDVPl2/XoS5yi88q4=
-cloud.google.com/go/datastream v1.6.0/go.mod h1:6LQSuswqLa7S4rPAOZFVjHIG3wJIjZcZrw8JDEDJuIs=
-cloud.google.com/go/deploy v1.4.0/go.mod h1:5Xghikd4VrmMLNaF6FiRFDlHb59VM59YoDQnOUdsH/c=
-cloud.google.com/go/deploy v1.5.0/go.mod h1:ffgdD0B89tToyW/U/D2eL0jN2+IEV/3EMuXHA0l4r+s=
-cloud.google.com/go/deploy v1.6.0/go.mod h1:f9PTHehG/DjCom3QH0cntOVRm93uGBDt2vKzAPwpXQI=
-cloud.google.com/go/dialogflow v1.15.0/go.mod h1:HbHDWs33WOGJgn6rfzBW1Kv807BE3O1+xGbn59zZWI4=
-cloud.google.com/go/dialogflow v1.16.1/go.mod h1:po6LlzGfK+smoSmTBnbkIZY2w8ffjz/RcGSS+sh1el0=
-cloud.google.com/go/dialogflow v1.17.0/go.mod h1:YNP09C/kXA1aZdBgC/VtXX74G/TKn7XVCcVumTflA+8=
-cloud.google.com/go/dialogflow v1.18.0/go.mod h1:trO7Zu5YdyEuR+BhSNOqJezyFQ3aUzz0njv7sMx/iek=
-cloud.google.com/go/dialogflow v1.19.0/go.mod h1:JVmlG1TwykZDtxtTXujec4tQ+D8SBFMoosgy+6Gn0s0=
-cloud.google.com/go/dialogflow v1.29.0/go.mod h1:b+2bzMe+k1s9V+F2jbJwpHPzrnIyHihAdRFMtn2WXuM=
-cloud.google.com/go/dialogflow v1.31.0/go.mod h1:cuoUccuL1Z+HADhyIA7dci3N5zUssgpBJmCzI6fNRB4=
-cloud.google.com/go/dlp v1.6.0/go.mod h1:9eyB2xIhpU0sVwUixfBubDoRwP+GjeUoxxeueZmqvmM=
-cloud.google.com/go/dlp v1.7.0/go.mod h1:68ak9vCiMBjbasxeVD17hVPxDEck+ExiHavX8kiHG+Q=
-cloud.google.com/go/dlp v1.9.0/go.mod h1:qdgmqgTyReTz5/YNSSuueR8pl7hO0o9bQ39ZhtgkWp4=
-cloud.google.com/go/documentai v1.7.0/go.mod h1:lJvftZB5NRiFSX4moiye1SMxHx0Bc3x1+p9e/RfXYiU=
-cloud.google.com/go/documentai v1.8.0/go.mod h1:xGHNEB7CtsnySCNrCFdCyyMz44RhFEEX2Q7UD0c5IhU=
-cloud.google.com/go/documentai v1.9.0/go.mod h1:FS5485S8R00U10GhgBC0aNGrJxBP8ZVpEeJ7PQDZd6k=
-cloud.google.com/go/documentai v1.10.0/go.mod h1:vod47hKQIPeCfN2QS/jULIvQTugbmdc0ZvxxfQY1bg4=
-cloud.google.com/go/documentai v1.16.0/go.mod h1:o0o0DLTEZ+YnJZ+J4wNfTxmDVyrkzFvttBXXtYRMHkM=
-cloud.google.com/go/domains v0.6.0/go.mod h1:T9Rz3GasrpYk6mEGHh4rymIhjlnIuB4ofT1wTxDeT4Y=
-cloud.google.com/go/domains v0.7.0/go.mod h1:PtZeqS1xjnXuRPKE/88Iru/LdfoRyEHYA9nFQf4UKpg=
-cloud.google.com/go/domains v0.8.0/go.mod h1:M9i3MMDzGFXsydri9/vW+EWz9sWb4I6WyHqdlAk0idE=
-cloud.google.com/go/edgecontainer v0.1.0/go.mod h1:WgkZ9tp10bFxqO8BLPqv2LlfmQF1X8lZqwW4r1BTajk=
-cloud.google.com/go/edgecontainer v0.2.0/go.mod h1:RTmLijy+lGpQ7BXuTDa4C4ssxyXT34NIuHIgKuP4s5w=
-cloud.google.com/go/edgecontainer v0.3.0/go.mod h1:FLDpP4nykgwwIfcLt6zInhprzw0lEi2P1fjO6Ie0qbc=
-cloud.google.com/go/errorreporting v0.3.0/go.mod h1:xsP2yaAp+OAW4OIm60An2bbLpqIhKXdWR/tawvl7QzU=
-cloud.google.com/go/essentialcontacts v1.3.0/go.mod h1:r+OnHa5jfj90qIfZDO/VztSFqbQan7HV75p8sA+mdGI=
-cloud.google.com/go/essentialcontacts v1.4.0/go.mod h1:8tRldvHYsmnBCHdFpvU+GL75oWiBKl80BiqlFh9tp+8=
-cloud.google.com/go/essentialcontacts v1.5.0/go.mod h1:ay29Z4zODTuwliK7SnX8E86aUF2CTzdNtvv42niCX0M=
-cloud.google.com/go/eventarc v1.7.0/go.mod h1:6ctpF3zTnaQCxUjHUdcfgcA1A2T309+omHZth7gDfmc=
-cloud.google.com/go/eventarc v1.8.0/go.mod h1:imbzxkyAU4ubfsaKYdQg04WS1NvncblHEup4kvF+4gw=
-cloud.google.com/go/eventarc v1.10.0/go.mod h1:u3R35tmZ9HvswGRBnF48IlYgYeBcPUCjkr4BTdem2Kw=
-cloud.google.com/go/filestore v1.3.0/go.mod h1:+qbvHGvXU1HaKX2nD0WEPo92TP/8AQuCVEBXNY9z0+w=
-cloud.google.com/go/filestore v1.4.0/go.mod h1:PaG5oDfo9r224f8OYXURtAsY+Fbyq/bLYoINEK8XQAI=
-cloud.google.com/go/filestore v1.5.0/go.mod h1:FqBXDWBp4YLHqRnVGveOkHDf8svj9r5+mUDLupOWEDs=
-cloud.google.com/go/firestore v1.1.0/go.mod h1:ulACoGHTpvq5r8rxGJ4ddJZBZqakUQqClKRT5SZwBmk=
-cloud.google.com/go/firestore v1.6.1/go.mod h1:asNXNOzBdyVQmEU+ggO8UPodTkEVFW5Qx+rwHnAz+EY=
-cloud.google.com/go/firestore v1.8.0/go.mod h1:r3KB8cAdRIe8znzoPWLw8S6gpDVd9treohhn8b09424=
-cloud.google.com/go/firestore v1.9.0/go.mod h1:HMkjKHNTtRyZNiMzu7YAsLr9K3X2udY2AMwDaMEQiiE=
-cloud.google.com/go/functions v1.6.0/go.mod h1:3H1UA3qiIPRWD7PeZKLvHZ9SaQhR26XIJcC0A5GbvAk=
-cloud.google.com/go/functions v1.7.0/go.mod h1:+d+QBcWM+RsrgZfV9xo6KfA1GlzJfxcfZcRPEhDDfzg=
-cloud.google.com/go/functions v1.8.0/go.mod h1:RTZ4/HsQjIqIYP9a9YPbU+QFoQsAlYgrwOXJWHn1POY=
-cloud.google.com/go/functions v1.9.0/go.mod h1:Y+Dz8yGguzO3PpIjhLTbnqV1CWmgQ5UwtlpzoyquQ08=
-cloud.google.com/go/functions v1.10.0/go.mod h1:0D3hEOe3DbEvCXtYOZHQZmD+SzYsi1YbI7dGvHfldXw=
-cloud.google.com/go/gaming v1.5.0/go.mod h1:ol7rGcxP/qHTRQE/RO4bxkXq+Fix0j6D4LFPzYTIrDM=
-cloud.google.com/go/gaming v1.6.0/go.mod h1:YMU1GEvA39Qt3zWGyAVA9bpYz/yAhTvaQ1t2sK4KPUA=
-cloud.google.com/go/gaming v1.7.0/go.mod h1:LrB8U7MHdGgFG851iHAfqUdLcKBdQ55hzXy9xBJz0+w=
-cloud.google.com/go/gaming v1.8.0/go.mod h1:xAqjS8b7jAVW0KFYeRUxngo9My3f33kFmua++Pi+ggM=
-cloud.google.com/go/gaming v1.9.0/go.mod h1:Fc7kEmCObylSWLO334NcO+O9QMDyz+TKC4v1D7X+Bc0=
-cloud.google.com/go/gkebackup v0.2.0/go.mod h1:XKvv/4LfG829/B8B7xRkk8zRrOEbKtEam6yNfuQNH60=
-cloud.google.com/go/gkebackup v0.3.0/go.mod h1:n/E671i1aOQvUxT541aTkCwExO/bTer2HDlj4TsBRAo=
-cloud.google.com/go/gkebackup v0.4.0/go.mod h1:byAyBGUwYGEEww7xsbnUTBHIYcOPy/PgUWUtOeRm9Vg=
-cloud.google.com/go/gkeconnect v0.5.0/go.mod h1:c5lsNAg5EwAy7fkqX/+goqFsU1Da/jQFqArp+wGNr/o=
-cloud.google.com/go/gkeconnect v0.6.0/go.mod h1:Mln67KyU/sHJEBY8kFZ0xTeyPtzbq9StAVvEULYK16A=
-cloud.google.com/go/gkeconnect v0.7.0/go.mod h1:SNfmVqPkaEi3bF/B3CNZOAYPYdg7sU+obZ+QTky2Myw=
-cloud.google.com/go/gkehub v0.9.0/go.mod h1:WYHN6WG8w9bXU0hqNxt8rm5uxnk8IH+lPY9J2TV7BK0=
-cloud.google.com/go/gkehub v0.10.0/go.mod h1:UIPwxI0DsrpsVoWpLB0stwKCP+WFVG9+y977wO+hBH0=
-cloud.google.com/go/gkehub v0.11.0/go.mod h1:JOWHlmN+GHyIbuWQPl47/C2RFhnFKH38jH9Ascu3n0E=
-cloud.google.com/go/gkemulticloud v0.3.0/go.mod h1:7orzy7O0S+5kq95e4Hpn7RysVA7dPs8W/GgfUtsPbrA=
-cloud.google.com/go/gkemulticloud v0.4.0/go.mod h1:E9gxVBnseLWCk24ch+P9+B2CoDFJZTyIgLKSalC7tuI=
-cloud.google.com/go/gkemulticloud v0.5.0/go.mod h1:W0JDkiyi3Tqh0TJr//y19wyb1yf8llHVto2Htf2Ja3Y=
-cloud.google.com/go/grafeas v0.2.0/go.mod h1:KhxgtF2hb0P191HlY5besjYm6MqTSTj3LSI+M+ByZHc=
-cloud.google.com/go/gsuiteaddons v1.3.0/go.mod h1:EUNK/J1lZEZO8yPtykKxLXI6JSVN2rg9bN8SXOa0bgM=
-cloud.google.com/go/gsuiteaddons v1.4.0/go.mod h1:rZK5I8hht7u7HxFQcFei0+AtfS9uSushomRlg+3ua1o=
-cloud.google.com/go/gsuiteaddons v1.5.0/go.mod h1:TFCClYLd64Eaa12sFVmUyG62tk4mdIsI7pAnSXRkcFo=
-cloud.google.com/go/iam v0.1.0/go.mod h1:vcUNEa0pEm0qRVpmWepWaFMIAI8/hjB9mO8rNCJtF6c=
-cloud.google.com/go/iam v0.3.0/go.mod h1:XzJPvDayI+9zsASAFO68Hk07u3z+f+JrT2xXNdp4bnY=
-cloud.google.com/go/iam v0.5.0/go.mod h1:wPU9Vt0P4UmCux7mqtRu6jcpPAb74cP1fh50J3QpkUc=
-cloud.google.com/go/iam v0.6.0/go.mod h1:+1AH33ueBne5MzYccyMHtEKqLE4/kJOibtffMHDMFMc=
-cloud.google.com/go/iam v0.7.0/go.mod h1:H5Br8wRaDGNc8XP3keLc4unfUUZeyH3Sfl9XpQEYOeg=
-cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGESjkE=
-cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY=
-cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY=
-cloud.google.com/go/iam v0.13.0 h1:+CmB+K0J/33d0zSQ9SlFWUeCCEn5XJA0ZMZ3pHE9u8k=
-cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc=
-cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A=
-cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk=
-cloud.google.com/go/ids v1.1.0/go.mod h1:WIuwCaYVOzHIj2OhN9HAwvW+DBdmUAdcWlFxRl+KubM=
-cloud.google.com/go/ids v1.2.0/go.mod h1:5WXvp4n25S0rA/mQWAg1YEEBBq6/s+7ml1RDCW1IrcY=
-cloud.google.com/go/ids v1.3.0/go.mod h1:JBdTYwANikFKaDP6LtW5JAi4gubs57SVNQjemdt6xV4=
-cloud.google.com/go/iot v1.3.0/go.mod h1:r7RGh2B61+B8oz0AGE+J72AhA0G7tdXItODWsaA2oLs=
-cloud.google.com/go/iot v1.4.0/go.mod h1:dIDxPOn0UvNDUMD8Ger7FIaTuvMkj+aGk94RPP0iV+g=
-cloud.google.com/go/iot v1.5.0/go.mod h1:mpz5259PDl3XJthEmh9+ap0affn/MqNSP4My77Qql9o=
-cloud.google.com/go/kms v1.4.0/go.mod h1:fajBHndQ+6ubNw6Ss2sSd+SWvjL26RNo/dr7uxsnnOA=
-cloud.google.com/go/kms v1.5.0/go.mod h1:QJS2YY0eJGBg3mnDfuaCyLauWwBJiHRboYxJ++1xJNg=
-cloud.google.com/go/kms v1.6.0/go.mod h1:Jjy850yySiasBUDi6KFUwUv2n1+o7QZFyuUJg6OgjA0=
-cloud.google.com/go/kms v1.9.0/go.mod h1:qb1tPTgfF9RQP8e1wq4cLFErVuTJv7UsSC915J8dh3w=
-cloud.google.com/go/language v1.4.0/go.mod h1:F9dRpNFQmJbkaop6g0JhSBXCNlO90e1KWx5iDdxbWic=
-cloud.google.com/go/language v1.6.0/go.mod h1:6dJ8t3B+lUYfStgls25GusK04NLh3eDLQnWM3mdEbhI=
-cloud.google.com/go/language v1.7.0/go.mod h1:DJ6dYN/W+SQOjF8e1hLQXMF21AkH2w9wiPzPCJa2MIE=
-cloud.google.com/go/language v1.8.0/go.mod h1:qYPVHf7SPoNNiCL2Dr0FfEFNil1qi3pQEyygwpgVKB8=
-cloud.google.com/go/language v1.9.0/go.mod h1:Ns15WooPM5Ad/5no/0n81yUetis74g3zrbeJBE+ptUY=
-cloud.google.com/go/lifesciences v0.5.0/go.mod h1:3oIKy8ycWGPUyZDR/8RNnTOYevhaMLqh5vLUXs9zvT8=
-cloud.google.com/go/lifesciences v0.6.0/go.mod h1:ddj6tSX/7BOnhxCSd3ZcETvtNr8NZ6t/iPhY2Tyfu08=
-cloud.google.com/go/lifesciences v0.8.0/go.mod h1:lFxiEOMqII6XggGbOnKiyZ7IBwoIqA84ClvoezaA/bo=
-cloud.google.com/go/logging v1.6.1/go.mod h1:5ZO0mHHbvm8gEmeEUHrmDlTDSu5imF6MUP9OfilNXBw=
-cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeNqVNkzY8M=
-cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE=
-cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc=
-cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo=
-cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE=
-cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM=
-cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA=
-cloud.google.com/go/maps v0.1.0/go.mod h1:BQM97WGyfw9FWEmQMpZ5T6cpovXXSd1cGmFma94eubI=
-cloud.google.com/go/maps v0.6.0/go.mod h1:o6DAMMfb+aINHz/p/jbcY+mYeXBoZoxTfdSQ8VAJaCw=
-cloud.google.com/go/mediatranslation v0.5.0/go.mod h1:jGPUhGTybqsPQn91pNXw0xVHfuJ3leR1wj37oU3y1f4=
-cloud.google.com/go/mediatranslation v0.6.0/go.mod h1:hHdBCTYNigsBxshbznuIMFNe5QXEowAuNmmC7h8pu5w=
-cloud.google.com/go/mediatranslation v0.7.0/go.mod h1:LCnB/gZr90ONOIQLgSXagp8XUW1ODs2UmUMvcgMfI2I=
-cloud.google.com/go/memcache v1.4.0/go.mod h1:rTOfiGZtJX1AaFUrOgsMHX5kAzaTQ8azHiuDoTPzNsE=
-cloud.google.com/go/memcache v1.5.0/go.mod h1:dk3fCK7dVo0cUU2c36jKb4VqKPS22BTkf81Xq617aWM=
-cloud.google.com/go/memcache v1.6.0/go.mod h1:XS5xB0eQZdHtTuTF9Hf8eJkKtR3pVRCcvJwtm68T3rA=
-cloud.google.com/go/memcache v1.7.0/go.mod h1:ywMKfjWhNtkQTxrWxCkCFkoPjLHPW6A7WOTVI8xy3LY=
-cloud.google.com/go/memcache v1.9.0/go.mod h1:8oEyzXCu+zo9RzlEaEjHl4KkgjlNDaXbCQeQWlzNFJM=
-cloud.google.com/go/metastore v1.5.0/go.mod h1:2ZNrDcQwghfdtCwJ33nM0+GrBGlVuh8rakL3vdPY3XY=
-cloud.google.com/go/metastore v1.6.0/go.mod h1:6cyQTls8CWXzk45G55x57DVQ9gWg7RiH65+YgPsNh9s=
-cloud.google.com/go/metastore v1.7.0/go.mod h1:s45D0B4IlsINu87/AsWiEVYbLaIMeUSoxlKKDqBGFS8=
-cloud.google.com/go/metastore v1.8.0/go.mod h1:zHiMc4ZUpBiM7twCIFQmJ9JMEkDSyZS9U12uf7wHqSI=
-cloud.google.com/go/metastore v1.10.0/go.mod h1:fPEnH3g4JJAk+gMRnrAnoqyv2lpUCqJPWOodSaf45Eo=
-cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhIsnmlA53dvEk=
-cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4=
-cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w=
-cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA=
-cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o=
-cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM=
-cloud.google.com/go/networkconnectivity v1.7.0/go.mod h1:RMuSbkdbPwNMQjB5HBWD5MpTBnNm39iAVpC3TmsExt8=
-cloud.google.com/go/networkconnectivity v1.10.0/go.mod h1:UP4O4sWXJG13AqrTdQCD9TnLGEbtNRqjuaaA7bNjF5E=
-cloud.google.com/go/networkmanagement v1.4.0/go.mod h1:Q9mdLLRn60AsOrPc8rs8iNV6OHXaGcDdsIQe1ohekq8=
-cloud.google.com/go/networkmanagement v1.5.0/go.mod h1:ZnOeZ/evzUdUsnvRt792H0uYEnHQEMaz+REhhzJRcf4=
-cloud.google.com/go/networkmanagement v1.6.0/go.mod h1:5pKPqyXjB/sgtvB5xqOemumoQNB7y95Q7S+4rjSOPYY=
-cloud.google.com/go/networksecurity v0.5.0/go.mod h1:xS6fOCoqpVC5zx15Z/MqkfDwH4+m/61A3ODiDV1xmiQ=
-cloud.google.com/go/networksecurity v0.6.0/go.mod h1:Q5fjhTr9WMI5mbpRYEbiexTzROf7ZbDzvzCrNl14nyU=
-cloud.google.com/go/networksecurity v0.7.0/go.mod h1:mAnzoxx/8TBSyXEeESMy9OOYwo1v+gZ5eMRnsT5bC8k=
-cloud.google.com/go/notebooks v1.2.0/go.mod h1:9+wtppMfVPUeJ8fIWPOq1UnATHISkGXGqTkxeieQ6UY=
-cloud.google.com/go/notebooks v1.3.0/go.mod h1:bFR5lj07DtCPC7YAAJ//vHskFBxA5JzYlH68kXVdk34=
-cloud.google.com/go/notebooks v1.4.0/go.mod h1:4QPMngcwmgb6uw7Po99B2xv5ufVoIQ7nOGDyL4P8AgA=
-cloud.google.com/go/notebooks v1.5.0/go.mod h1:q8mwhnP9aR8Hpfnrc5iN5IBhrXUy8S2vuYs+kBJ/gu0=
-cloud.google.com/go/notebooks v1.7.0/go.mod h1:PVlaDGfJgj1fl1S3dUwhFMXFgfYGhYQt2164xOMONmE=
-cloud.google.com/go/optimization v1.1.0/go.mod h1:5po+wfvX5AQlPznyVEZjGJTMr4+CAkJf2XSTQOOl9l4=
-cloud.google.com/go/optimization v1.2.0/go.mod h1:Lr7SOHdRDENsh+WXVmQhQTrzdu9ybg0NecjHidBq6xs=
-cloud.google.com/go/optimization v1.3.1/go.mod h1:IvUSefKiwd1a5p0RgHDbWCIbDFgKuEdB+fPPuP0IDLI=
-cloud.google.com/go/orchestration v1.3.0/go.mod h1:Sj5tq/JpWiB//X/q3Ngwdl5K7B7Y0KZ7bfv0wL6fqVA=
-cloud.google.com/go/orchestration v1.4.0/go.mod h1:6W5NLFWs2TlniBphAViZEVhrXRSMgUGDfW7vrWKvsBk=
-cloud.google.com/go/orchestration v1.6.0/go.mod h1:M62Bevp7pkxStDfFfTuCOaXgaaqRAga1yKyoMtEoWPQ=
-cloud.google.com/go/orgpolicy v1.4.0/go.mod h1:xrSLIV4RePWmP9P3tBl8S93lTmlAxjm06NSm2UTmKvE=
-cloud.google.com/go/orgpolicy v1.5.0/go.mod h1:hZEc5q3wzwXJaKrsx5+Ewg0u1LxJ51nNFlext7Tanwc=
-cloud.google.com/go/orgpolicy v1.10.0/go.mod h1:w1fo8b7rRqlXlIJbVhOMPrwVljyuW5mqssvBtU18ONc=
-cloud.google.com/go/osconfig v1.7.0/go.mod h1:oVHeCeZELfJP7XLxcBGTMBvRO+1nQ5tFG9VQTmYS2Fs=
-cloud.google.com/go/osconfig v1.8.0/go.mod h1:EQqZLu5w5XA7eKizepumcvWx+m8mJUhEwiPqWiZeEdg=
-cloud.google.com/go/osconfig v1.9.0/go.mod h1:Yx+IeIZJ3bdWmzbQU4fxNl8xsZ4amB+dygAwFPlvnNo=
-cloud.google.com/go/osconfig v1.10.0/go.mod h1:uMhCzqC5I8zfD9zDEAfvgVhDS8oIjySWh+l4WK6GnWw=
-cloud.google.com/go/osconfig v1.11.0/go.mod h1:aDICxrur2ogRd9zY5ytBLV89KEgT2MKB2L/n6x1ooPw=
-cloud.google.com/go/oslogin v1.4.0/go.mod h1:YdgMXWRaElXz/lDk1Na6Fh5orF7gvmJ0FGLIs9LId4E=
-cloud.google.com/go/oslogin v1.5.0/go.mod h1:D260Qj11W2qx/HVF29zBg+0fd6YCSjSqLUkY/qEenQU=
-cloud.google.com/go/oslogin v1.6.0/go.mod h1:zOJ1O3+dTU8WPlGEkFSh7qeHPPSoxrcMbbK1Nm2iX70=
-cloud.google.com/go/oslogin v1.7.0/go.mod h1:e04SN0xO1UNJ1M5GP0vzVBFicIe4O53FOfcixIqTyXo=
-cloud.google.com/go/oslogin v1.9.0/go.mod h1:HNavntnH8nzrn8JCTT5fj18FuJLFJc4NaZJtBnQtKFs=
-cloud.google.com/go/phishingprotection v0.5.0/go.mod h1:Y3HZknsK9bc9dMi+oE8Bim0lczMU6hrX0UpADuMefr0=
-cloud.google.com/go/phishingprotection v0.6.0/go.mod h1:9Y3LBLgy0kDTcYET8ZH3bq/7qni15yVUoAxiFxnlSUA=
-cloud.google.com/go/phishingprotection v0.7.0/go.mod h1:8qJI4QKHoda/sb/7/YmMQ2omRLSLYSu9bU0EKCNI+Lk=
-cloud.google.com/go/policytroubleshooter v1.3.0/go.mod h1:qy0+VwANja+kKrjlQuOzmlvscn4RNsAc0e15GGqfMxg=
-cloud.google.com/go/policytroubleshooter v1.4.0/go.mod h1:DZT4BcRw3QoO8ota9xw/LKtPa8lKeCByYeKTIf/vxdE=
-cloud.google.com/go/policytroubleshooter v1.5.0/go.mod h1:Rz1WfV+1oIpPdN2VvvuboLVRsB1Hclg3CKQ53j9l8vw=
-cloud.google.com/go/privatecatalog v0.5.0/go.mod h1:XgosMUvvPyxDjAVNDYxJ7wBW8//hLDDYmnsNcMGq1K0=
-cloud.google.com/go/privatecatalog v0.6.0/go.mod h1:i/fbkZR0hLN29eEWiiwue8Pb+GforiEIBnV9yrRUOKI=
-cloud.google.com/go/privatecatalog v0.7.0/go.mod h1:2s5ssIFO69F5csTXcwBP7NPFTZvps26xGzvQ2PQaBYg=
+cloud.google.com/go/iam v1.1.0 h1:67gSqaPukx7O8WLLHMa0PNs3EBGd2eE4d+psbO/CO94=
cloud.google.com/go/pubsub v1.0.1/go.mod h1:R0Gpsv3s54REJCy4fxDixWD93lHJMoZTyQ2kNxGRt3I=
cloud.google.com/go/pubsub v1.1.0/go.mod h1:EwwdRX2sKPjnvnqCa270oGRyludottCI76h+R3AArQw=
cloud.google.com/go/pubsub v1.2.0/go.mod h1:jhfEVHT8odbXTkndysNHCcx0awwzvfOlguIAii9o8iA=
cloud.google.com/go/pubsub v1.3.1/go.mod h1:i+ucay31+CNRpDW4Lu78I4xXG+O1r/MAHgjpRVR+TSU=
-cloud.google.com/go/pubsub v1.5.0/go.mod h1:ZEwJccE3z93Z2HWvstpri00jOg7oO4UZDtKhwDwqF0w=
-cloud.google.com/go/pubsub v1.26.0/go.mod h1:QgBH3U/jdJy/ftjPhTkyXNj543Tin1pRYcdcPRnFIRI=
-cloud.google.com/go/pubsub v1.27.1/go.mod h1:hQN39ymbV9geqBnfQq6Xf63yNhUAhv9CZhzp5O6qsW0=
-cloud.google.com/go/pubsub v1.28.0/go.mod h1:vuXFpwaVoIPQMGXqRyUQigu/AX1S3IWugR9xznmcXX8=
-cloud.google.com/go/pubsublite v1.5.0/go.mod h1:xapqNQ1CuLfGi23Yda/9l4bBCKz/wC3KIJ5gKcxveZg=
-cloud.google.com/go/pubsublite v1.6.0/go.mod h1:1eFCS0U11xlOuMFV/0iBqw3zP12kddMeCbj/F3FSj9k=
-cloud.google.com/go/recaptchaenterprise v1.3.1/go.mod h1:OdD+q+y4XGeAlxRaMn1Y7/GveP6zmq76byL6tjPE7d4=
-cloud.google.com/go/recaptchaenterprise/v2 v2.1.0/go.mod h1:w9yVqajwroDNTfGuhmOjPDN//rZGySaf6PtFVcSCa7o=
-cloud.google.com/go/recaptchaenterprise/v2 v2.2.0/go.mod h1:/Zu5jisWGeERrd5HnlS3EUGb/D335f9k51B/FVil0jk=
-cloud.google.com/go/recaptchaenterprise/v2 v2.3.0/go.mod h1:O9LwGCjrhGHBQET5CA7dd5NwwNQUErSgEDit1DLNTdo=
-cloud.google.com/go/recaptchaenterprise/v2 v2.4.0/go.mod h1:Am3LHfOuBstrLrNCBrlI5sbwx9LBg3te2N6hGvHn2mE=
-cloud.google.com/go/recaptchaenterprise/v2 v2.5.0/go.mod h1:O8LzcHXN3rz0j+LBC91jrwI3R+1ZSZEWrfL7XHgNo9U=
-cloud.google.com/go/recaptchaenterprise/v2 v2.6.0/go.mod h1:RPauz9jeLtB3JVzg6nCbe12qNoaa8pXc4d/YukAmcnA=
-cloud.google.com/go/recommendationengine v0.5.0/go.mod h1:E5756pJcVFeVgaQv3WNpImkFP8a+RptV6dDLGPILjvg=
-cloud.google.com/go/recommendationengine v0.6.0/go.mod h1:08mq2umu9oIqc7tDy8sx+MNJdLG0fUi3vaSVbztHgJ4=
-cloud.google.com/go/recommendationengine v0.7.0/go.mod h1:1reUcE3GIu6MeBz/h5xZJqNLuuVjNg1lmWMPyjatzac=
-cloud.google.com/go/recommender v1.5.0/go.mod h1:jdoeiBIVrJe9gQjwd759ecLJbxCDED4A6p+mqoqDvTg=
-cloud.google.com/go/recommender v1.6.0/go.mod h1:+yETpm25mcoiECKh9DEScGzIRyDKpZ0cEhWGo+8bo+c=
-cloud.google.com/go/recommender v1.7.0/go.mod h1:XLHs/W+T8olwlGOgfQenXBTbIseGclClff6lhFVe9Bs=
-cloud.google.com/go/recommender v1.8.0/go.mod h1:PkjXrTT05BFKwxaUxQmtIlrtj0kph108r02ZZQ5FE70=
-cloud.google.com/go/recommender v1.9.0/go.mod h1:PnSsnZY7q+VL1uax2JWkt/UegHssxjUVVCrX52CuEmQ=
-cloud.google.com/go/redis v1.7.0/go.mod h1:V3x5Jq1jzUcg+UNsRvdmsfuFnit1cfe3Z/PGyq/lm4Y=
-cloud.google.com/go/redis v1.8.0/go.mod h1:Fm2szCDavWzBk2cDKxrkmWBqoCiL1+Ctwq7EyqBCA/A=
-cloud.google.com/go/redis v1.9.0/go.mod h1:HMYQuajvb2D0LvMgZmLDZW8V5aOC/WxstZHiy4g8OiA=
-cloud.google.com/go/redis v1.10.0/go.mod h1:ThJf3mMBQtW18JzGgh41/Wld6vnDDc/F/F35UolRZPM=
-cloud.google.com/go/redis v1.11.0/go.mod h1:/X6eicana+BWcUda5PpwZC48o37SiFVTFSs0fWAJ7uQ=
-cloud.google.com/go/resourcemanager v1.3.0/go.mod h1:bAtrTjZQFJkiWTPDb1WBjzvc6/kifjj4QBYuKCCoqKA=
-cloud.google.com/go/resourcemanager v1.4.0/go.mod h1:MwxuzkumyTX7/a3n37gmsT3py7LIXwrShilPh3P1tR0=
-cloud.google.com/go/resourcemanager v1.5.0/go.mod h1:eQoXNAiAvCf5PXxWxXjhKQoTMaUSNrEfg+6qdf/wots=
-cloud.google.com/go/resourcesettings v1.3.0/go.mod h1:lzew8VfESA5DQ8gdlHwMrqZs1S9V87v3oCnKCWoOuQU=
-cloud.google.com/go/resourcesettings v1.4.0/go.mod h1:ldiH9IJpcrlC3VSuCGvjR5of/ezRrOxFtpJoJo5SmXg=
-cloud.google.com/go/resourcesettings v1.5.0/go.mod h1:+xJF7QSG6undsQDfsCJyqWXyBwUoJLhetkRMDRnIoXA=
-cloud.google.com/go/retail v1.8.0/go.mod h1:QblKS8waDmNUhghY2TI9O3JLlFk8jybHeV4BF19FrE4=
-cloud.google.com/go/retail v1.9.0/go.mod h1:g6jb6mKuCS1QKnH/dpu7isX253absFl6iE92nHwlBUY=
-cloud.google.com/go/retail v1.10.0/go.mod h1:2gDk9HsL4HMS4oZwz6daui2/jmKvqShXKQuB2RZ+cCc=
-cloud.google.com/go/retail v1.11.0/go.mod h1:MBLk1NaWPmh6iVFSz9MeKG/Psyd7TAgm6y/9L2B4x9Y=
-cloud.google.com/go/retail v1.12.0/go.mod h1:UMkelN/0Z8XvKymXFbD4EhFJlYKRx1FGhQkVPU5kF14=
-cloud.google.com/go/run v0.2.0/go.mod h1:CNtKsTA1sDcnqqIFR3Pb5Tq0usWxJJvsWOCPldRU3Do=
-cloud.google.com/go/run v0.3.0/go.mod h1:TuyY1+taHxTjrD0ZFk2iAR+xyOXEA0ztb7U3UNA0zBo=
-cloud.google.com/go/run v0.8.0/go.mod h1:VniEnuBwqjigv0A7ONfQUaEItaiCRVujlMqerPPiktM=
-cloud.google.com/go/scheduler v1.4.0/go.mod h1:drcJBmxF3aqZJRhmkHQ9b3uSSpQoltBPGPxGAWROx6s=
-cloud.google.com/go/scheduler v1.5.0/go.mod h1:ri073ym49NW3AfT6DZi21vLZrG07GXr5p3H1KxN5QlI=
-cloud.google.com/go/scheduler v1.6.0/go.mod h1:SgeKVM7MIwPn3BqtcBntpLyrIJftQISRrYB5ZtT+KOk=
-cloud.google.com/go/scheduler v1.7.0/go.mod h1:jyCiBqWW956uBjjPMMuX09n3x37mtyPJegEWKxRsn44=
-cloud.google.com/go/scheduler v1.8.0/go.mod h1:TCET+Y5Gp1YgHT8py4nlg2Sew8nUHMqcpousDgXJVQc=
-cloud.google.com/go/secretmanager v1.6.0/go.mod h1:awVa/OXF6IiyaU1wQ34inzQNc4ISIDIrId8qE5QGgKA=
-cloud.google.com/go/secretmanager v1.8.0/go.mod h1:hnVgi/bN5MYHd3Gt0SPuTPPp5ENina1/LxM+2W9U9J4=
-cloud.google.com/go/secretmanager v1.9.0/go.mod h1:b71qH2l1yHmWQHt9LC80akm86mX8AL6X1MA01dW8ht4=
-cloud.google.com/go/secretmanager v1.10.0/go.mod h1:MfnrdvKMPNra9aZtQFvBcvRU54hbPD8/HayQdlUgJpU=
-cloud.google.com/go/security v1.5.0/go.mod h1:lgxGdyOKKjHL4YG3/YwIL2zLqMFCKs0UbQwgyZmfJl4=
-cloud.google.com/go/security v1.7.0/go.mod h1:mZklORHl6Bg7CNnnjLH//0UlAlaXqiG7Lb9PsPXLfD0=
-cloud.google.com/go/security v1.8.0/go.mod h1:hAQOwgmaHhztFhiQ41CjDODdWP0+AE1B3sX4OFlq+GU=
-cloud.google.com/go/security v1.9.0/go.mod h1:6Ta1bO8LXI89nZnmnsZGp9lVoVWXqsVbIq/t9dzI+2Q=
-cloud.google.com/go/security v1.10.0/go.mod h1:QtOMZByJVlibUT2h9afNDWRZ1G96gVywH8T5GUSb9IA=
-cloud.google.com/go/security v1.12.0/go.mod h1:rV6EhrpbNHrrxqlvW0BWAIawFWq3X90SduMJdFwtLB8=
-cloud.google.com/go/securitycenter v1.13.0/go.mod h1:cv5qNAqjY84FCN6Y9z28WlkKXyWsgLO832YiWwkCWcU=
-cloud.google.com/go/securitycenter v1.14.0/go.mod h1:gZLAhtyKv85n52XYWt6RmeBdydyxfPeTrpToDPw4Auc=
-cloud.google.com/go/securitycenter v1.15.0/go.mod h1:PeKJ0t8MoFmmXLXWm41JidyzI3PJjd8sXWaVqg43WWk=
-cloud.google.com/go/securitycenter v1.16.0/go.mod h1:Q9GMaLQFUD+5ZTabrbujNWLtSLZIZF7SAR0wWECrjdk=
-cloud.google.com/go/securitycenter v1.18.1/go.mod h1:0/25gAzCM/9OL9vVx4ChPeM/+DlfGQJDwBy/UC8AKK0=
-cloud.google.com/go/servicecontrol v1.4.0/go.mod h1:o0hUSJ1TXJAmi/7fLJAedOovnujSEvjKCAFNXPQ1RaU=
-cloud.google.com/go/servicecontrol v1.5.0/go.mod h1:qM0CnXHhyqKVuiZnGKrIurvVImCs8gmqWsDoqe9sU1s=
-cloud.google.com/go/servicecontrol v1.11.0/go.mod h1:kFmTzYzTUIuZs0ycVqRHNaNhgR+UMUpw9n02l/pY+mc=
-cloud.google.com/go/servicedirectory v1.4.0/go.mod h1:gH1MUaZCgtP7qQiI+F+A+OpeKF/HQWgtAddhTbhL2bs=
-cloud.google.com/go/servicedirectory v1.5.0/go.mod h1:QMKFL0NUySbpZJ1UZs3oFAmdvVxhhxB6eJ/Vlp73dfg=
-cloud.google.com/go/servicedirectory v1.6.0/go.mod h1:pUlbnWsLH9c13yGkxCmfumWEPjsRs1RlmJ4pqiNjVL4=
-cloud.google.com/go/servicedirectory v1.7.0/go.mod h1:5p/U5oyvgYGYejufvxhgwjL8UVXjkuw7q5XcG10wx1U=
-cloud.google.com/go/servicedirectory v1.8.0/go.mod h1:srXodfhY1GFIPvltunswqXpVxFPpZjf8nkKQT7XcXaY=
-cloud.google.com/go/servicemanagement v1.4.0/go.mod h1:d8t8MDbezI7Z2R1O/wu8oTggo3BI2GKYbdG4y/SJTco=
-cloud.google.com/go/servicemanagement v1.5.0/go.mod h1:XGaCRe57kfqu4+lRxaFEAuqmjzF0r+gWHjWqKqBvKFo=
-cloud.google.com/go/servicemanagement v1.6.0/go.mod h1:aWns7EeeCOtGEX4OvZUWCCJONRZeFKiptqKf1D0l/Jc=
-cloud.google.com/go/serviceusage v1.3.0/go.mod h1:Hya1cozXM4SeSKTAgGXgj97GlqUvF5JaoXacR1JTP/E=
-cloud.google.com/go/serviceusage v1.4.0/go.mod h1:SB4yxXSaYVuUBYUml6qklyONXNLt83U0Rb+CXyhjEeU=
-cloud.google.com/go/serviceusage v1.5.0/go.mod h1:w8U1JvqUqwJNPEOTQjrMHkw3IaIFLoLsPLvsE3xueec=
-cloud.google.com/go/shell v1.3.0/go.mod h1:VZ9HmRjZBsjLGXusm7K5Q5lzzByZmJHf1d0IWHEN5X4=
-cloud.google.com/go/shell v1.4.0/go.mod h1:HDxPzZf3GkDdhExzD/gs8Grqk+dmYcEjGShZgYa9URw=
-cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+qE2f9A=
-cloud.google.com/go/spanner v1.7.0/go.mod h1:sd3K2gZ9Fd0vMPLXzeCrF6fq4i63Q7aTLW/lBIfBkIk=
-cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos=
-cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk=
-cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM=
-cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ=
-cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0=
-cloud.google.com/go/speech v1.9.0/go.mod h1:xQ0jTcmnRFFM2RfX/U+rk6FQNUF6DQlydUSyoooSpco=
-cloud.google.com/go/speech v1.14.1/go.mod h1:gEosVRPJ9waG7zqqnsHpYTOoAS4KouMRLDFMekpJ0J0=
cloud.google.com/go/storage v1.0.0/go.mod h1:IhtSnM/ZTZV8YYJWCY8RULGVqBDmpoyjwiyrjsg+URw=
cloud.google.com/go/storage v1.5.0/go.mod h1:tpKbwo567HUNpVclU5sGELwQWBDZ8gh0ZeosJ0Rtdos=
cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohlUTyfDhBk=
cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
cloud.google.com/go/storage v1.14.0/go.mod h1:GrKmX003DSIwi9o29oFT7YDnHYwZoctc3fOKtUw0Xmo=
-cloud.google.com/go/storage v1.22.1/go.mod h1:S8N1cAStu7BOeFfE8KAQzmyyLkK8p/vmRq6kuBTW58Y=
-cloud.google.com/go/storage v1.23.0/go.mod h1:vOEEDNFnciUMhBeT6hsJIn3ieU5cFRmzeLgDvXzfIXc=
-cloud.google.com/go/storage v1.27.0/go.mod h1:x9DOL8TK/ygDUMieqwfhdpQryTeEkhGKMi80i/iqR2s=
-cloud.google.com/go/storage v1.28.1/go.mod h1:Qnisd4CqDdo6BGs2AD5LLnEsmSQ80wQ5ogcBBKhU86Y=
-cloud.google.com/go/storage v1.29.0 h1:6weCgzRvMg7lzuUurI4697AqIRPU1SvzHhynwpW31jI=
-cloud.google.com/go/storage v1.29.0/go.mod h1:4puEjyTKnku6gfKoTfNOU/W+a9JyuVNxjpS5GBrB8h4=
-cloud.google.com/go/storagetransfer v1.5.0/go.mod h1:dxNzUopWy7RQevYFHewchb29POFv3/AaBgnhqzqiK0w=
-cloud.google.com/go/storagetransfer v1.6.0/go.mod h1:y77xm4CQV/ZhFZH75PLEXY0ROiS7Gh6pSKrM8dJyg6I=
-cloud.google.com/go/storagetransfer v1.7.0/go.mod h1:8Giuj1QNb1kfLAiWM1bN6dHzfdlDAVC9rv9abHot2W4=
-cloud.google.com/go/talent v1.1.0/go.mod h1:Vl4pt9jiHKvOgF9KoZo6Kob9oV4lwd/ZD5Cto54zDRw=
-cloud.google.com/go/talent v1.2.0/go.mod h1:MoNF9bhFQbiJ6eFD3uSsg0uBALw4n4gaCaEjBw9zo8g=
-cloud.google.com/go/talent v1.3.0/go.mod h1:CmcxwJ/PKfRgd1pBjQgU6W3YBwiewmUzQYH5HHmSCmM=
-cloud.google.com/go/talent v1.4.0/go.mod h1:ezFtAgVuRf8jRsvyE6EwmbTK5LKciD4KVnHuDEFmOOA=
-cloud.google.com/go/talent v1.5.0/go.mod h1:G+ODMj9bsasAEJkQSzO2uHQWXHHXUomArjWQQYkqK6c=
-cloud.google.com/go/texttospeech v1.4.0/go.mod h1:FX8HQHA6sEpJ7rCMSfXuzBcysDAuWusNNNvN9FELDd8=
-cloud.google.com/go/texttospeech v1.5.0/go.mod h1:oKPLhR4n4ZdQqWKURdwxMy0uiTS1xU161C8W57Wkea4=
-cloud.google.com/go/texttospeech v1.6.0/go.mod h1:YmwmFT8pj1aBblQOI3TfKmwibnsfvhIBzPXcW4EBovc=
-cloud.google.com/go/tpu v1.3.0/go.mod h1:aJIManG0o20tfDQlRIej44FcwGGl/cD0oiRyMKG19IQ=
-cloud.google.com/go/tpu v1.4.0/go.mod h1:mjZaX8p0VBgllCzF6wcU2ovUXN9TONFLd7iz227X2Xg=
-cloud.google.com/go/tpu v1.5.0/go.mod h1:8zVo1rYDFuW2l4yZVY0R0fb/v44xLh3llq7RuV61fPM=
-cloud.google.com/go/trace v1.3.0/go.mod h1:FFUE83d9Ca57C+K8rDl/Ih8LwOzWIV1krKgxg6N0G28=
-cloud.google.com/go/trace v1.4.0/go.mod h1:UG0v8UBqzusp+z63o7FK74SdFE+AXpCLdFb1rshXG+Y=
-cloud.google.com/go/trace v1.8.0/go.mod h1:zH7vcsbAhklH8hWFig58HvxcxyQbaIqMarMg9hn5ECA=
-cloud.google.com/go/translate v1.3.0/go.mod h1:gzMUwRjvOqj5i69y/LYLd8RrNQk+hOmIXTi9+nb3Djs=
-cloud.google.com/go/translate v1.4.0/go.mod h1:06Dn/ppvLD6WvA5Rhdp029IX2Mi3Mn7fpMRLPvXT5Wg=
-cloud.google.com/go/translate v1.6.0/go.mod h1:lMGRudH1pu7I3n3PETiOB2507gf3HnfLV8qlkHZEyos=
-cloud.google.com/go/video v1.8.0/go.mod h1:sTzKFc0bUSByE8Yoh8X0mn8bMymItVGPfTuUBUyRgxk=
-cloud.google.com/go/video v1.9.0/go.mod h1:0RhNKFRF5v92f8dQt0yhaHrEuH95m068JYOvLZYnJSw=
-cloud.google.com/go/video v1.13.0/go.mod h1:ulzkYlYgCp15N2AokzKjy7MQ9ejuynOJdf1tR5lGthk=
-cloud.google.com/go/videointelligence v1.6.0/go.mod h1:w0DIDlVRKtwPCn/C4iwZIJdvC69yInhW0cfi+p546uU=
-cloud.google.com/go/videointelligence v1.7.0/go.mod h1:k8pI/1wAhjznARtVT9U1llUaFNPh7muw8QyOUpavru4=
-cloud.google.com/go/videointelligence v1.8.0/go.mod h1:dIcCn4gVDdS7yte/w+koiXn5dWVplOZkE+xwG9FgK+M=
-cloud.google.com/go/videointelligence v1.9.0/go.mod h1:29lVRMPDYHikk3v8EdPSaL8Ku+eMzDljjuvRs105XoU=
-cloud.google.com/go/videointelligence v1.10.0/go.mod h1:LHZngX1liVtUhZvi2uNS0VQuOzNi2TkY1OakiuoUOjU=
-cloud.google.com/go/vision v1.2.0/go.mod h1:SmNwgObm5DpFBme2xpyOyasvBc1aPdjvMk2bBk0tKD0=
-cloud.google.com/go/vision/v2 v2.2.0/go.mod h1:uCdV4PpN1S0jyCyq8sIM42v2Y6zOLkZs+4R9LrGYwFo=
-cloud.google.com/go/vision/v2 v2.3.0/go.mod h1:UO61abBx9QRMFkNBbf1D8B1LXdS2cGiiCRx0vSpZoUo=
-cloud.google.com/go/vision/v2 v2.4.0/go.mod h1:VtI579ll9RpVTrdKdkMzckdnwMyX2JILb+MhPqRbPsY=
-cloud.google.com/go/vision/v2 v2.5.0/go.mod h1:MmaezXOOE+IWa+cS7OhRRLK2cNv1ZL98zhqFFZaaH2E=
-cloud.google.com/go/vision/v2 v2.6.0/go.mod h1:158Hes0MvOS9Z/bDMSFpjwsUrZ5fPrdwuyyvKSGAGMY=
-cloud.google.com/go/vmmigration v1.2.0/go.mod h1:IRf0o7myyWFSmVR1ItrBSFLFD/rJkfDCUTO4vLlJvsE=
-cloud.google.com/go/vmmigration v1.3.0/go.mod h1:oGJ6ZgGPQOFdjHuocGcLqX4lc98YQ7Ygq8YQwHh9A7g=
-cloud.google.com/go/vmmigration v1.5.0/go.mod h1:E4YQ8q7/4W9gobHjQg4JJSgXXSgY21nA5r8swQV+Xxc=
-cloud.google.com/go/vmwareengine v0.1.0/go.mod h1:RsdNEf/8UDvKllXhMz5J40XxDrNJNN4sagiox+OI208=
-cloud.google.com/go/vmwareengine v0.2.2/go.mod h1:sKdctNJxb3KLZkE/6Oui94iw/xs9PRNC2wnNLXsHvH8=
-cloud.google.com/go/vpcaccess v1.4.0/go.mod h1:aQHVbTWDYUR1EbTApSVvMq1EnT57ppDmQzZ3imqIk4w=
-cloud.google.com/go/vpcaccess v1.5.0/go.mod h1:drmg4HLk9NkZpGfCmZ3Tz0Bwnm2+DKqViEpeEpOq0m8=
-cloud.google.com/go/vpcaccess v1.6.0/go.mod h1:wX2ILaNhe7TlVa4vC5xce1bCnqE3AeH27RV31lnmZes=
-cloud.google.com/go/webrisk v1.4.0/go.mod h1:Hn8X6Zr+ziE2aNd8SliSDWpEnSS1u4R9+xXZmFiHmGE=
-cloud.google.com/go/webrisk v1.5.0/go.mod h1:iPG6fr52Tv7sGk0H6qUFzmL3HHZev1htXuWDEEsqMTg=
-cloud.google.com/go/webrisk v1.6.0/go.mod h1:65sW9V9rOosnc9ZY7A7jsy1zoHS5W9IAXv6dGqhMQMc=
-cloud.google.com/go/webrisk v1.7.0/go.mod h1:mVMHgEYH0r337nmt1JyLthzMr6YxwN1aAIEc2fTcq7A=
-cloud.google.com/go/webrisk v1.8.0/go.mod h1:oJPDuamzHXgUc+b8SiHRcVInZQuybnvEW72PqTc7sSg=
-cloud.google.com/go/websecurityscanner v1.3.0/go.mod h1:uImdKm2wyeXQevQJXeh8Uun/Ym1VqworNDlBXQevGMo=
-cloud.google.com/go/websecurityscanner v1.4.0/go.mod h1:ebit/Fp0a+FWu5j4JOmJEV8S8CzdTkAS77oDsiSqYWQ=
-cloud.google.com/go/websecurityscanner v1.5.0/go.mod h1:Y6xdCPy81yi0SQnDY1xdNTNpfY1oAgXUlcfN3B3eSng=
-cloud.google.com/go/workflows v1.6.0/go.mod h1:6t9F5h/unJz41YqfBmqSASJSXccBLtD1Vwf+KmJENM0=
-cloud.google.com/go/workflows v1.7.0/go.mod h1:JhSrZuVZWuiDfKEFxU0/F1PQjmpnpcoISEXH2bcHC3M=
-cloud.google.com/go/workflows v1.8.0/go.mod h1:ysGhmEajwZxGn1OhGOGKsTXc5PyxOc0vfKf5Af+to4M=
-cloud.google.com/go/workflows v1.9.0/go.mod h1:ZGkj1aFIOd9c8Gerkjjq7OW7I5+l6cSvT3ujaO/WwSA=
-cloud.google.com/go/workflows v1.10.0/go.mod h1:fZ8LmRmZQWacon9UCX1r/g/DfAXx5VcPALq2CxzdePw=
-code.gitea.io/sdk/gitea v0.12.0/go.mod h1:z3uwDV/b9Ls47NGukYM9XhnHtqPh/J+t40lsUrR6JDY=
-contrib.go.opencensus.io/exporter/aws v0.0.0-20181029163544-2befc13012d0/go.mod h1:uu1P0UCM/6RbsMrgPa98ll8ZcHM858i/AD06a9aLRCA=
-contrib.go.opencensus.io/exporter/ocagent v0.5.0/go.mod h1:ImxhfLRpxoYiSq891pBrLVhN+qmP8BTVvdH2YLs7Gl0=
-contrib.go.opencensus.io/exporter/stackdriver v0.12.1/go.mod h1:iwB6wGarfphGGe/e5CWqyUk/cLzKnWsOKPVW3no6OTw=
-contrib.go.opencensus.io/exporter/stackdriver v0.13.4/go.mod h1:aXENhDJ1Y4lIg4EUaVTwzvYETVNZk10Pu26tevFKLUc=
-contrib.go.opencensus.io/integrations/ocsql v0.1.4/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE=
-contrib.go.opencensus.io/resource v0.1.1/go.mod h1:F361eGI91LCmW1I/Saf+rX0+OFcigGlFvXwEGEnkRLA=
-cosmossdk.io/api v0.2.1/go.mod h1:kNpfY0UY7Cz4ZuLJ4hm9auUGfmj23UFpOQ/Bo8IKCFw=
-cosmossdk.io/api v0.2.6/go.mod h1:u/d+GAxil0nWpl1XnQL8nkziQDIWuBDhv8VnDm/s6dI=
-cosmossdk.io/api v0.3.0/go.mod h1:2HDRQHwVIyklENrrXko0E/waZrRFZWHhPyhcBO4qHq4=
+cloud.google.com/go/storage v1.30.1 h1:uOdMxAs8HExqBlnLtnQyP0YkvbiDpdGShGKtx6U/oNM=
cosmossdk.io/api v0.3.1 h1:NNiOclKRR0AOlO4KIqeaG6PS6kswOMhHD0ir0SscNXE=
cosmossdk.io/api v0.3.1/go.mod h1:DfHfMkiNA2Uhy8fj0JJlOCYOBp4eWUUJ1te5zBGNyIw=
-cosmossdk.io/core v0.3.2/go.mod h1:CO7vbe+evrBvHc0setFHL/u7nlY7HJGzdRSBkT/sirc=
-cosmossdk.io/core v0.5.1 h1:vQVtFrIYOQJDV3f7rw4pjjVqc1id4+mE0L9hHP66pyI=
-cosmossdk.io/core v0.5.1/go.mod h1:KZtwHCLjcFuo0nmDc24Xy6CRNEL9Vl/MeimQ2aC7NLE=
-cosmossdk.io/depinject v1.0.0-alpha.3 h1:6evFIgj//Y3w09bqOUOzEpFj5tsxBqdc5CfkO7z+zfw=
-cosmossdk.io/depinject v1.0.0-alpha.3/go.mod h1:eRbcdQ7MRpIPEM5YUJh8k97nxHpYbc3sMUnEtt8HPWU=
-cosmossdk.io/errors v1.0.0-beta.7 h1:gypHW76pTQGVnHKo6QBkb4yFOJjC+sUGRc5Al3Odj1w=
-cosmossdk.io/errors v1.0.0-beta.7/go.mod h1:mz6FQMJRku4bY7aqS/Gwfcmr/ue91roMEKAmDUDpBfE=
-cosmossdk.io/log v1.1.0 h1:v0ogPHYeTzPcBTcPR1A3j1hkei4pZama8kz8LKlCMv0=
-cosmossdk.io/log v1.1.0/go.mod h1:6zjroETlcDs+mm62gd8Ig7mZ+N+fVOZS91V17H+M4N4=
+cosmossdk.io/core v0.6.1 h1:OBy7TI2W+/gyn2z40vVvruK3di+cAluinA6cybFbE7s=
+cosmossdk.io/core v0.6.1/go.mod h1:g3MMBCBXtxbDWBURDVnJE7XML4BG5qENhs0gzkcpuFA=
+cosmossdk.io/depinject v1.0.0-alpha.4 h1:PLNp8ZYAMPTUKyG9IK2hsbciDWqna2z1Wsl98okJopc=
+cosmossdk.io/depinject v1.0.0-alpha.4/go.mod h1:HeDk7IkR5ckZ3lMGs/o91AVUc7E596vMaOmslGFM3yU=
+cosmossdk.io/errors v1.0.0 h1:nxF07lmlBbB8NKQhtJ+sJm6ef5uV1XkvPXG2bUntb04=
+cosmossdk.io/errors v1.0.0/go.mod h1:+hJZLuhdDE0pYN8HkOrVNwrIOYvUGnn6+4fjnJs/oV0=
+cosmossdk.io/log v1.2.1 h1:Xc1GgTCicniwmMiKwDxUjO4eLhPxoVdI9vtMW8Ti/uk=
cosmossdk.io/tools/rosetta v0.2.1 h1:ddOMatOH+pbxWbrGJKRAawdBkPYLfKXutK9IETnjYxw=
-cosmossdk.io/tools/rosetta v0.2.1/go.mod h1:Pqdc1FdvkNV3LcNIkYWt2RQY6IP1ge6YWZk8MhhO9Hw=
dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-filippo.io/edwards25519 v1.0.0-rc.1/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns=
filippo.io/edwards25519 v1.0.0 h1:0wAIcmJUqRdI8IJ/3eGi5/HwXZWPujYXXlkrQogz0Ek=
filippo.io/edwards25519 v1.0.0/go.mod h1:N1IkdkCkiLB6tki+MYJoSx2JTY9NUlxZE7eHn5EwJns=
-gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8=
-git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
-git.apache.org/thrift.git v0.12.0/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
-git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 h1:/vQbFIOMbk2FiG/kXiLl8BRyzTWDw7gX/Hz7Dd5eDMs=
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4/go.mod h1:hN7oaIRCjzsZ2dE+yG5k+rsdt3qcwykqK6HVGcKwsw4=
-github.com/99designs/keyring v1.2.1 h1:tYLp1ULvO7i3fI5vE21ReQuj99QFSs7lGm0xWyJo87o=
-github.com/99designs/keyring v1.2.1/go.mod h1:fc+wB5KTk9wQ9sDx0kFXB3A0MaeGHM9AwRStKOQ5vOA=
-github.com/Abirdcfly/dupword v0.0.7/go.mod h1:K/4M1kj+Zh39d2aotRwypvasonOyAMH1c/IZJzE0dmk=
-github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg=
-github.com/AkihiroSuda/containerd-fuse-overlayfs v1.0.0/go.mod h1:0mMDvQFeLbbn1Wy8P2j3hwFhqBq+FKn8OZPno8WLmp8=
-github.com/AndreasBriese/bbloom v0.0.0-20190306092124-e2d15f34fcf9/go.mod h1:bOvUY6CB00SOBii9/FifXqc0awNKxLFCL/+pkDPuyl8=
-github.com/Antonboom/errname v0.1.7/go.mod h1:g0ONh16msHIPgJSGsecu1G/dcF2hlYR/0SddnIAGavU=
-github.com/Antonboom/nilnil v0.1.1/go.mod h1:L1jBqoWM7AOeTD+tSquifKSesRHs4ZdaxvZR+xdJEaI=
-github.com/Azure/azure-amqp-common-go/v2 v2.1.0/go.mod h1:R8rea+gJRuJR6QxTir/XuEd+YuKoUiazDC/N96FiDEU=
-github.com/Azure/azure-pipeline-go v0.2.1/go.mod h1:UGSo8XybXnIGZ3epmeBw7Jdz+HiUVpqIlpz/HKHylF4=
-github.com/Azure/azure-pipeline-go v0.2.2/go.mod h1:4rQ/NZncSvGqNkkOsNpOU1tgoNuIlp9AfUH5G1tvCHc=
-github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v19.1.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v29.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v30.1.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v35.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v38.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go v42.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc=
-github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw=
-github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.11.0/go.mod h1:HcM1YX14R7CJcghJGOYCgdezslRSVzqwLf/q+4Y2r/0=
-github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0/go.mod h1:yqy467j36fJxcRV2TzfVZ1pCb5vxm4BtZPUdYWe/Xo8=
-github.com/Azure/azure-service-bus-go v0.9.1/go.mod h1:yzBx6/BUGfjfeqbRZny9AQIbIe3AcV9WZbAdpkoXOa0=
-github.com/Azure/azure-storage-blob-go v0.8.0/go.mod h1:lPI3aLPpuLTeUwh1sViKXFxwl2B6teiRqI0deQUvsw0=
-github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
-github.com/Azure/go-ansiterm v0.0.0-20210608223527-2377c96fe795/go.mod h1:LmzpDX56iTiv29bbRTIsUNlaFfuhWRQBWjQdVyAevI8=
-github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1/go.mod h1:xomTg63KZ2rFqZQzSB4Vz2SUXa1BpHTVz9L5PTmPC4E=
-github.com/Azure/go-autorest v10.8.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
-github.com/Azure/go-autorest v10.15.5+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
-github.com/Azure/go-autorest v12.0.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
-github.com/Azure/go-autorest v14.1.1+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
-github.com/Azure/go-autorest v14.2.0+incompatible/go.mod h1:r+4oMnoxhatjLLJ6zxSWATqVooLgysK6ZNox3g/xq24=
-github.com/Azure/go-autorest/autorest v0.9.0/go.mod h1:xyHB1BMZT0cuDHU7I0+g046+BFDTQ8rEZB0s4Yfa6bI=
-github.com/Azure/go-autorest/autorest v0.9.3/go.mod h1:GsRuLYvwzLjjjRoWEIyMUaYq8GNUx2nRB378IPt/1p0=
-github.com/Azure/go-autorest/autorest v0.9.6/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630=
-github.com/Azure/go-autorest/autorest v0.10.2/go.mod h1:/FALq9T/kS7b5J5qsQ+RSTUdAmGFqi0vUdVNNx8q630=
-github.com/Azure/go-autorest/autorest v0.11.1/go.mod h1:JFgpikqFJ/MleTTxwepExTKnFUKKszPS8UavbQYUMuw=
-github.com/Azure/go-autorest/autorest v0.11.18/go.mod h1:dSiJPy22c3u0OtOKDNttNgqpNFY/GeWa7GH/Pz56QRA=
-github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod h1:8Z9fGy2MpX0PvDjB1pEgQTmVqjGhiHBW7RJJEciWzS0=
-github.com/Azure/go-autorest/autorest/adal v0.8.0/go.mod h1:Z6vX6WXXuyieHAXwMj0S6HY6e6wcHn37qQMBQlvY3lc=
-github.com/Azure/go-autorest/autorest/adal v0.8.1/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q=
-github.com/Azure/go-autorest/autorest/adal v0.8.2/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q=
-github.com/Azure/go-autorest/autorest/adal v0.8.3/go.mod h1:ZjhuQClTqx435SRJ2iMlOxPYt3d2C/T/7TiQCVZSn3Q=
-github.com/Azure/go-autorest/autorest/adal v0.9.0/go.mod h1:/c022QCutn2P7uY+/oQWWNcK9YU+MH96NgK+jErpbcg=
-github.com/Azure/go-autorest/autorest/adal v0.9.5/go.mod h1:B7KF7jKIeC9Mct5spmyCB/A8CG/sEz1vwIRGv/bbw7A=
-github.com/Azure/go-autorest/autorest/adal v0.9.13/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M=
-github.com/Azure/go-autorest/autorest/azure/auth v0.4.2/go.mod h1:90gmfKdlmKgfjUpnCEpOJzsUEjrWDSLwHIG73tSXddM=
-github.com/Azure/go-autorest/autorest/azure/cli v0.3.1/go.mod h1:ZG5p860J94/0kI9mNJVoIoLgXcirM2gF5i2kWloofxw=
-github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod h1:plvfp3oPSKwf2DNjlBjWF/7vwR+cUD/ELuzDCXwHUVA=
-github.com/Azure/go-autorest/autorest/date v0.2.0/go.mod h1:vcORJHLJEh643/Ioh9+vPmf1Ij9AEBM5FuBIXLmIy0g=
-github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74=
-github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
-github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod h1:OTyCOPRA2IgIlWxVYxBee2F5Gr4kF2zd2J5cFRaIDN0=
-github.com/Azure/go-autorest/autorest/mocks v0.3.0/go.mod h1:a8FDP3DYzQ4RYfVAxAN3SVSiiO77gL2j2ronKKP0syM=
-github.com/Azure/go-autorest/autorest/mocks v0.4.0/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k=
-github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k=
-github.com/Azure/go-autorest/autorest/to v0.2.0/go.mod h1:GunWKJp1AEqgMaGLV+iocmRAJWqST1wQYhyyjXJ3SJc=
-github.com/Azure/go-autorest/autorest/to v0.3.0/go.mod h1:MgwOyqaIuKdG4TL/2ywSsIWKAfJfgHDo8ObuUk3t5sA=
-github.com/Azure/go-autorest/autorest/validation v0.1.0/go.mod h1:Ha3z/SqBeaalWQvokg3NZAlQTalVMtOIAs1aGK7G6u8=
-github.com/Azure/go-autorest/autorest/validation v0.2.0/go.mod h1:3EEqHnBxQGHXRYq3HT1WyXAvT7LLY3tl70hw6tQIbjI=
-github.com/Azure/go-autorest/logger v0.1.0/go.mod h1:oExouG+K6PryycPJfVSxi/koC6LSNgds39diKLz7Vrc=
-github.com/Azure/go-autorest/logger v0.2.0/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8=
-github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8=
-github.com/Azure/go-autorest/tracing v0.5.0/go.mod h1:r/s2XiOKccPW3HrqB+W0TQzfbtp2fGCgRFtBroKn4Dk=
-github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU=
+github.com/99designs/keyring v1.2.2 h1:pZd3neh/EmUzWONb35LxQfvuY7kiSXAq3HQd97+XBn0=
+github.com/99designs/keyring v1.2.2/go.mod h1:wes/FrByc8j7lFOAGLGSNEg8f/PaI3cgTBqhFkHUrPk=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
-github.com/BurntSushi/toml v0.4.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
-github.com/BurntSushi/toml v1.2.0/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
-github.com/BurntSushi/toml v1.2.1/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d h1:nalkkPQcITbvhmL4+C4cKA87NW0tfm3Kl9VXRoPywFg=
github.com/ChainSafe/go-schnorrkel v0.0.0-20200405005733-88cbf1b4c40d/go.mod h1:URdX5+vg25ts3aCh8H5IFZybJYKWhJHYMTnf+ULtoC4=
-github.com/CloudyKit/fastprinter v0.0.0-20170127035650-74b38d55f37a/go.mod h1:EFZQ978U7x8IRnstaskI3IysnWY5Ao3QgZUKOXlsAdw=
-github.com/CloudyKit/fastprinter v0.0.0-20200109182630-33d98a066a53/go.mod h1:+3IMCy2vIlbG1XG/0ggNQv0SvxCAIpPM5b1nCz56Xno=
-github.com/CloudyKit/jet v2.1.3-0.20180809161101-62edd43e4f88+incompatible/go.mod h1:HPYO+50pSWkPoj9Q/eq0aRGByCL6ScRlUmiEX5Zgm+w=
-github.com/CloudyKit/jet/v3 v3.0.0/go.mod h1:HKQPgSJmdK8hdoAbKUUWajkHyHo4RaU5rMdUywE7VMo=
-github.com/CloudyKit/jet/v6 v6.1.0/go.mod h1:d3ypHeIRNo2+XyqnGA8s+aphtcVpjP5hPwP/Lzo7Ro4=
-github.com/CosmWasm/wasmvm v1.2.4 h1:6OfeZuEcEH/9iqwrg2pkeVtDCkMoj9U6PpKtcrCyVrQ=
-github.com/CosmWasm/wasmvm v1.2.4/go.mod h1:vW/E3h8j9xBQs9bCoijDuawKo9kCtxOaS8N8J7KFtkc=
-github.com/DATA-DOG/go-sqlmock v1.5.0/go.mod h1:f/Ixk793poVmq4qj/V1dPUg2JEAKC73Q5eFN3EC/SaM=
+github.com/CosmWasm/wasmvm v1.5.0 h1:3hKeT9SfwfLhxTGKH3vXaKFzBz1yuvP8SlfwfQXbQfw=
+github.com/CosmWasm/wasmvm v1.5.0/go.mod h1:fXB+m2gyh4v9839zlIXdMZGeLAxqUdYdFQqYsTha2hc=
github.com/DataDog/datadog-go v3.2.0+incompatible/go.mod h1:LButxg5PwREeZtORoXG3tL4fMGNddJ+vMq1mwgfaqoQ=
-github.com/DataDog/zstd v1.4.5/go.mod h1:1jcaCB/ufaK+sKp1NBhlGmpz41jOoPQ35bpF36t7BBo=
github.com/DataDog/zstd v1.5.2 h1:vUG4lAyuPCXO0TLbXvPv7EB7cNK1QV/luu55UHLrrn8=
-github.com/DataDog/zstd v1.5.2/go.mod h1:g4AWEaM3yOg3HYfnJ3YIawPnVdXJh9QME85blwSAmyw=
-github.com/Djarvur/go-err113 v0.0.0-20200410182137-af658d038157/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
-github.com/Djarvur/go-err113 v0.0.0-20210108212216-aea10b59be24/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
-github.com/Djarvur/go-err113 v0.1.0/go.mod h1:4UJr5HIiMZrwgkSPdsjy2uOQExX/WEILpIrO9UPGuXs=
-github.com/GaijinEntertainment/go-exhaustruct/v2 v2.3.0/go.mod h1:b3g59n2Y+T5xmcxJL+UEG2f8cQploZm1mR/v6BW0mU0=
-github.com/GoogleCloudPlatform/cloudsql-proxy v0.0.0-20191009163259-e802c2cb94ae/go.mod h1:mjwGPas4yKduTyubHvD1Atl9r1rUq8DfVy+gkVvZ+oo=
-github.com/GoogleCloudPlatform/k8s-cloud-provider v0.0.0-20190822182118-27a4ced34534/go.mod h1:iroGtC8B3tQiqtds1l+mgk/BBOrxbqjH+eUfFQYRc14=
-github.com/HdrHistogram/hdrhistogram-go v1.1.0/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
-github.com/HdrHistogram/hdrhistogram-go v1.1.2/go.mod h1:yDgFjdqOqDEKOvasDdhWNXYg9BVp4O+o5f6V/ehm6Oo=
-github.com/InjectiveLabs/bandchain-packet v0.0.4-0.20230327115226-35199d4659d5 h1:RN7PycNsQ1z59I3Fjms4blM++qS8eMMX03zZbC2DwmU=
-github.com/InjectiveLabs/bandchain-packet v0.0.4-0.20230327115226-35199d4659d5/go.mod h1:VoNDHSybdPQ35/3zxNwjewaGpzWHhYyTgV7cJzFglEE=
-github.com/InjectiveLabs/cometbft v0.37.1-inj h1:mNSorEwP72ovlb2HrYsH3L+uIgNgrUj5rI4DDXhatxk=
-github.com/InjectiveLabs/cometbft v0.37.1-inj/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs=
-github.com/InjectiveLabs/cosmos-sdk v0.47.3-inj-5 h1:WbNT7o2AbXBqOvmPptAd1nVmx67l1LtXIs4GjR0gvXo=
-github.com/InjectiveLabs/cosmos-sdk v0.47.3-inj-5/go.mod h1:c4OfLdAykA9zsj1CqrxBRqXzVz48I++JSvIMPSPcEmk=
-github.com/InjectiveLabs/cosmos-sdk/math v0.47.2-inj h1:6KmIhzArX8fy14+u7iGPxlyxIOl6RJMQXTY7KjarrsI=
-github.com/InjectiveLabs/cosmos-sdk/math v0.47.2-inj/go.mod h1:An0MllWJY6PxibUpnwGk8jOm+a/qIxlKmL5Zyp9NnaM=
-github.com/InjectiveLabs/ibc-go/v7 v7.0.1-inj h1:cDf/KfRFt/o9Q1dqkzlFNwypAiXA2u/TyEf6AdWW2RQ=
-github.com/InjectiveLabs/ibc-go/v7 v7.0.1-inj/go.mod h1:Ptq4SfvPxRu+SlI9etQ4x4I9Wm5nCw1r6GzVClBKZ5E=
+github.com/InjectiveLabs/bandchain-packet v0.0.4-inj-1 h1:ZnvCV/lzjWmBwuGbkAz+okucfJEyEzkU9GYK3tKU9cU=
+github.com/InjectiveLabs/bandchain-packet v0.0.4-inj-1/go.mod h1:QELTDYiwnbAqIgTF9zeKr+hVlK6eVyt6Nxmh6/1mmzQ=
+github.com/InjectiveLabs/cometbft v0.37.2-inj h1:vKLatEKl3qzhvFAgyvywApTuq44K0XooJpDWWP0bSt0=
+github.com/InjectiveLabs/cometbft v0.37.2-inj/go.mod h1:Y2MMMN//O5K4YKd8ze4r9jmk4Y7h0ajqILXbH5JQFVs=
+github.com/InjectiveLabs/cosmos-sdk v0.47.3-inj-9 h1:/x20L4ZfYIhGu/wsmXb2nV6DF6t5QVNq7ecAFqAcrMU=
+github.com/InjectiveLabs/cosmos-sdk v0.47.3-inj-9/go.mod h1:c4OfLdAykA9zsj1CqrxBRqXzVz48I++JSvIMPSPcEmk=
+github.com/InjectiveLabs/cosmos-sdk/math v0.47.3-inj-1 h1:BHZQuZJXJctENiTfIBSH21HyR3a+Zx3Wd7RPz21spFI=
+github.com/InjectiveLabs/cosmos-sdk/math v0.47.3-inj-1/go.mod h1:An0MllWJY6PxibUpnwGk8jOm+a/qIxlKmL5Zyp9NnaM=
+github.com/InjectiveLabs/ibc-go/v7 v7.2.0-inj h1:CtzShjiD+mGQktWYS0kTzUu8hQaDOmtvSTMekvOm9Rw=
+github.com/InjectiveLabs/ibc-go/v7 v7.2.0-inj/go.mod h1:aEQF2stK9Bi/J56kW93MHlcKIF1uSt204mTngJYdNcY=
github.com/InjectiveLabs/suplog v1.3.3 h1:ARIR3lWD9BxcrmqTwgcGBt8t7e10gwOqllUAXa/MfxI=
github.com/InjectiveLabs/suplog v1.3.3/go.mod h1:+I9WRgUhzmo1V/n7IkW24kFBFB9ZTPAiXXXCogWxmTM=
-github.com/InjectiveLabs/wasmd v0.40.2-inj h1:xC6D4UG17gUenuRCIesVMTYclBUyAq0s1oDxjlSo0LE=
-github.com/InjectiveLabs/wasmd v0.40.2-inj/go.mod h1:pQClCO1jkKmBbF9YLwTdJF8DYmFS+80VrPnTb2lZMSI=
-github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c/go.mod h1:X0CRv0ky0k6m906ixxpzmDRLvX58TFUKS2eePweuyxk=
-github.com/Joker/hpp v1.0.0/go.mod h1:8x5n+M1Hp5hC0g8okX3sR3vFQwynaX/UgSOM9MeBKzY=
-github.com/Joker/jade v1.0.1-0.20190614124447-d475f43051e7/go.mod h1:6E6s8o2AE4KhCrqr6GRJjdC/gNfTdxkIXvuGZZda2VM=
-github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible/go.mod h1:r7JcOSlj0wfOMncg0iLm8Leh48TZaKVeNIfJntJ2wa0=
-github.com/Masterminds/goutils v1.1.0/go.mod h1:8cTjp+g8YejhMuvIA5y2vz3BpJxksy863GQaJW2MFNU=
-github.com/Masterminds/semver v1.4.2/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
-github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
-github.com/Masterminds/semver/v3 v3.0.3/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
-github.com/Masterminds/semver/v3 v3.1.0/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs=
-github.com/Masterminds/semver/v3 v3.2.0/go.mod h1:qvl/7zhW3nngYb5+80sSMF+FG2BjYrf8m9wsX0PNOMQ=
-github.com/Masterminds/sprig v2.15.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
-github.com/Masterminds/sprig v2.22.0+incompatible/go.mod h1:y6hNFY5UBTIWBxnzTeuNhlNS5hqE0NB0E6fgfo2Br3o=
-github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA=
-github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
-github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
-github.com/Microsoft/go-winio v0.4.15-0.20200908182639-5b44b70ab3ab/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
-github.com/Microsoft/go-winio v0.4.15/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=
-github.com/Microsoft/go-winio v0.4.16-0.20201130162521-d1ffc52c7331/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
-github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
-github.com/Microsoft/go-winio v0.4.17-0.20210211115548-6eac466e5fa3/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
-github.com/Microsoft/go-winio v0.4.17-0.20210324224401-5516f17a5958/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
-github.com/Microsoft/go-winio v0.4.17/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
-github.com/Microsoft/go-winio v0.5.1/go.mod h1:JPGBdM1cNvN/6ISo+n8V5iA4v8pBzdOpzfwIujj1a84=
-github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
-github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE=
-github.com/Microsoft/hcsshim v0.8.6/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg=
-github.com/Microsoft/hcsshim v0.8.7-0.20190325164909-8abdbb8205e4/go.mod h1:Op3hHsoHPAvb6lceZHDtd9OkTew38wNoXnJs8iY7rUg=
-github.com/Microsoft/hcsshim v0.8.7/go.mod h1:OHd7sQqRFrYd3RmSgbgji+ctCwkbq2wbEYNSzOYtcBQ=
-github.com/Microsoft/hcsshim v0.8.9/go.mod h1:5692vkUqntj1idxauYlpoINNKeqCiG6Sg38RRsjT5y8=
-github.com/Microsoft/hcsshim v0.8.10/go.mod h1:g5uw8EV2mAlzqe94tfNBNdr89fnbD/n3HV0OhsddkmM=
-github.com/Microsoft/hcsshim v0.8.14/go.mod h1:NtVKoYxQuTLx6gEq0L96c9Ju4JbRJ4nY2ow3VK6a9Lg=
-github.com/Microsoft/hcsshim v0.8.15/go.mod h1:x38A4YbHbdxJtc0sF6oIz+RG0npwSCAvn69iY6URG00=
-github.com/Microsoft/hcsshim v0.8.16/go.mod h1:o5/SZqmR7x9JNKsW3pu+nqHm0MF8vbA+VxGOoXdC600=
-github.com/Microsoft/hcsshim v0.8.20/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4=
-github.com/Microsoft/hcsshim v0.8.21/go.mod h1:+w2gRZ5ReXQhFOrvSQeNfhrYB/dg3oDwTOcER2fw4I4=
-github.com/Microsoft/hcsshim v0.8.23/go.mod h1:4zegtUJth7lAvFyc6cH2gGQ5B3OFQim01nnU2M8jKDg=
-github.com/Microsoft/hcsshim v0.9.2/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc=
-github.com/Microsoft/hcsshim v0.9.3/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc=
-github.com/Microsoft/hcsshim v0.9.4/go.mod h1:7pLA8lDk46WKDWlVsENo92gC0XFa8rbKfyFRBqxEbCc=
-github.com/Microsoft/hcsshim/test v0.0.0-20200826032352-301c83a30e7c/go.mod h1:30A5igQ91GEmhYJF8TaRP79pMBOYynRsyOByfVV0dU4=
-github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5hlzMzRKMLyo42nCZ9oml8AdTlq/0cvIaBv6tK1RehU=
-github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY=
-github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ=
-github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c=
-github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5/go.mod h1:lmUJ/7eu/Q8D7ML55dXQrVaamCz2vxCfdQBasLZfHKk=
+github.com/InjectiveLabs/wasmd v0.45.0-inj h1:hYRzxEiBNJqJA7EoE9kMTFpWayjT2ICo/FsmtAf8A+o=
+github.com/InjectiveLabs/wasmd v0.45.0-inj/go.mod h1:M8hxvHoOzZkzdrFNqDYcPPcQw7EmJwYNZkslhHbCj0I=
github.com/OneOfOne/xxhash v1.2.2 h1:KMrpdQIwFcEqXDklaen+P1axHaj9BSKzvpUUfnHldSE=
github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU=
-github.com/OpenPeeDeeP/depguard v1.0.1/go.mod h1:xsIw86fROiiwelg+jB2uM9PiKihMMmUx/1V+TNhjQvM=
-github.com/OpenPeeDeeP/depguard v1.1.1/go.mod h1:JtAMzWkmFEzDPyAd+W0NHl1lvpQKTvT9jnRVsohBKpc=
-github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8=
-github.com/PuerkitoBio/purell v1.0.0/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
-github.com/PuerkitoBio/purell v1.1.1/go.mod h1:c11w/QuzBsJSee3cPx9rAFu61PvFxuPbtSwDGJws/X0=
-github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
-github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod h1:uGdkoq3SwY9Y+13GIhn11/XLaGBb4BfwItxLd5jeuXE=
-github.com/Shopify/goreferrer v0.0.0-20181106222321-ec9c9a553398/go.mod h1:a1uqRtAwp2Xwc6WNPJEufxJ7fx3npB4UV/JOLmbu5I0=
-github.com/Shopify/goreferrer v0.0.0-20220729165902-8cddb4f5de06/go.mod h1:7erjKLwalezA0k99cWs5L11HWOAPNjdUZ6RxH1BXbbM=
-github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod h1:HI8ITrYtUY+O+ZhtlqUnD8+KwNPOyugEhfP9fdUIaEQ=
-github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
-github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=
-github.com/StackExchange/wmi v0.0.0-20180116203802-5d049714c4a6/go.mod h1:3eOhrUMpNV+6aFIbp5/iudMxNCF27Vw2OZgy4xEx0Fg=
github.com/StackExchange/wmi v1.2.1 h1:VIkavFPXSjcnS+O8yTq7NI32k0R5Aj+v39y29VYDOSA=
github.com/StackExchange/wmi v1.2.1/go.mod h1:rcmrprowKIVzvc+NUiLncP2uuArMWLCbu9SBzvHz7e8=
github.com/VictoriaMetrics/fastcache v1.6.0 h1:C/3Oi3EiBCqufydp1neRZkqcwmEiuRT9c3fqvvgKm5o=
-github.com/VictoriaMetrics/fastcache v1.6.0/go.mod h1:0qHz5QP0GMX4pfmMA/zt5RgfNuXJrTP0zS7DqpHGGTw=
github.com/VividCortex/gohistogram v1.0.0 h1:6+hBz+qvs0JOrrNhhmR7lFxo5sINxBCGXrdtl/UvroE=
-github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=
-github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
-github.com/adlio/schema v1.3.3/go.mod h1:1EsRssiv9/Ce2CMzq5DoL7RiMshhuigQxrR4DMV9fHg=
github.com/aead/siphash v1.0.1/go.mod h1:Nywa3cDsYNNK3gaciGTWPwHt0wlpNV15vwmswBAUSII=
-github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
-github.com/agext/levenshtein v1.2.3/go.mod h1:JEDfjyjHDjOF/1e4FlBE/PkbqA9OfWu2ki2W0IB5558=
-github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=
-github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY=
-github.com/ajstarks/deck/generate v0.0.0-20210309230005-c3f852c02e19/go.mod h1:T13YZdzov6OU0A1+RfKZiZN9ca6VeKdBdyDV+BY97Tk=
-github.com/ajstarks/svgo v0.0.0-20180226025133-644b8db467af/go.mod h1:K08gAheRH3/J6wwsYMMT4xOr94bZjxIelGM0+d/wbFw=
-github.com/ajstarks/svgo v0.0.0-20211024235047-1546f124cd8b/go.mod h1:1KcenG0jGWcpt8ov532z81sp/kMMUG485J2InIOyADM=
-github.com/alecthomas/kingpin v2.2.6+incompatible/go.mod h1:59OFYbFVLKQKq+mqrL6Rw5bR0c3ACQaawgXx0QYndlE=
-github.com/alecthomas/kingpin/v2 v2.3.1/go.mod h1:oYL5vtsvEHZGHxU7DMp32Dvx+qL+ptGn6lWaot2vCNE=
-github.com/alecthomas/participle/v2 v2.0.0-alpha7 h1:cK4vjj0VSgb3lN1nuKA5F7dw+1s1pWBe5bx7nNCnN+c=
-github.com/alecthomas/participle/v2 v2.0.0-alpha7/go.mod h1:NumScqsC42o9x+dGj8/YqsIfhrIQjFEOFovxotbBirA=
-github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1/go.mod h1:xTS7Pm1pD1mvyM075QCDSRqH6qRLXylzS24ZTpRiSzQ=
github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
-github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod h1:rBZYJk541a8SKzHPHnH3zbiI+7dagKZ0cgpgrD7Fyho=
-github.com/alecthomas/units v0.0.0-20211218093645-b94a6e3cc137/go.mod h1:OMCwj8VM1Kc9e19TLln2VL61YJF0x1XFtfdL4JdbSyE=
-github.com/alexflint/go-filemutex v0.0.0-20171022225611-72bdc8eae2ae/go.mod h1:CgnQgUtFrFz9mxFNtED3jI5tLDjKlOM+oUF/sTk6ps0=
-github.com/alexflint/go-filemutex v1.1.0/go.mod h1:7P4iRhttt/nUvUOrYIhcpMzv2G6CY9UnI16Z+UJqRyk=
-github.com/alexkohler/prealloc v1.0.0/go.mod h1:VetnK3dIgFBBKmg0YnD9F9x6Icjd+9cvfHR56wJVlKE=
-github.com/alingse/asasalint v0.0.11/go.mod h1:nCaoMhw7a9kSJObvQyVzNTPBDbNpdocqrSP7t/cW5+I=
-github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
-github.com/allegro/bigcache v1.2.1 h1:hg1sY1raCwic3Vnsvje6TT7/pnZba83LeFck5NrFKSc=
-github.com/allegro/bigcache v1.2.1/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM=
-github.com/andybalholm/brotli v1.0.2/go.mod h1:loMXtMfwqflxFJPmdbJO0a3KNoPuLBgiu3qAvBg8x/Y=
-github.com/andybalholm/brotli v1.0.3/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
-github.com/andybalholm/brotli v1.0.4/go.mod h1:fO7iG3H7G2nSZ7m0zPUDn85XEX2GTukHGRSepvi9Eig=
-github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYUyUczH0OGQWaF5ceTx0UBShxjsH6f8oGKYe2c=
-github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
-github.com/antihax/optional v0.0.0-20180407024304-ca021399b1a6/go.mod h1:V8iCPQYkqmusNa815XgQio277wI47sdRh1dUOLdyC6Q=
github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
-github.com/aokoli/goutils v1.0.1/go.mod h1:SijmP0QR8LtwsmDs8Yii5Z/S4trXFGFC2oO5g9DP+DQ=
-github.com/apache/arrow/go/v10 v10.0.1/go.mod h1:YvhnlEePVnBS4+0z3fhPfUy7W1Ikj0Ih0vcRo/gZ1M0=
-github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
-github.com/apache/thrift v0.13.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
-github.com/apache/thrift v0.16.0/go.mod h1:PHK3hniurgQaNMZYaCLEqXKsYK8upmhPbmdP2FXSqgU=
-github.com/apex/log v1.1.4/go.mod h1:AlpoD9aScyQfJDVHmLMEcx4oU6LqzkWp4Mg9GdAcEvQ=
-github.com/apex/log v1.3.0/go.mod h1:jd8Vpsr46WAe3EZSQ/IUMs2qQD/GOycT5rPWCO1yGcs=
-github.com/apex/logs v0.0.4/go.mod h1:XzxuLZ5myVHDy9SAmYpamKKRNApGj54PfYLcFrXqDwo=
-github.com/aphistic/golf v0.0.0-20180712155816-02c07f170c5a/go.mod h1:3NqKYiepwy8kCu4PNA+aP7WUV72eXWJeP9/r3/K9aLE=
-github.com/aphistic/sweet v0.2.0/go.mod h1:fWDlIh/isSE9n6EPsRmC0det+whmX6dJid3stzu0Xys=
-github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
-github.com/armon/circbuf v0.0.0-20190214190532-5111143e8da2/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
-github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
-github.com/armon/go-metrics v0.3.9/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc=
-github.com/armon/go-metrics v0.3.10/go.mod h1:4O98XIr/9W0sxpJ8UaYkvjk10Iff7SnFrb4QAOwNTFc=
-github.com/armon/go-metrics v0.4.0/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4=
github.com/armon/go-metrics v0.4.1 h1:hR91U9KYmb6bLBYLQjyM+3j+rcd/UhE+G78SFnF8gJA=
github.com/armon/go-metrics v0.4.1/go.mod h1:E6amYzXo6aW1tqzoZGT755KkbgrJsSdpwZ+3JqfkOG4=
-github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
-github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8=
-github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
-github.com/aryann/difflib v0.0.0-20170710044230-e206f873d14a/go.mod h1:DAHtR1m6lCRdSC2Tm3DSWRPvIPr6xNKyeHdqDQSQT+A=
-github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY=
-github.com/ashanbrown/forbidigo v1.3.0/go.mod h1:vVW7PEdqEFqapJe95xHkTfB1+XvZXBFg8t0sG2FIxmI=
-github.com/ashanbrown/makezero v1.1.1/go.mod h1:i1bJLCRSCHOcOa9Y6MyF2FTfMZMFdHvxKHxgO5Z1axI=
-github.com/aws/aws-lambda-go v1.13.3/go.mod h1:4UKl9IzQMoD+QF79YdCuzCwp8VbmG4VAQwij/eHl5CU=
-github.com/aws/aws-sdk-go v1.15.11/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0=
-github.com/aws/aws-sdk-go v1.15.27/go.mod h1:mFuSZ37Z9YOHbQEwBWztmVzqXrEkub65tZoCYDt7FT0=
-github.com/aws/aws-sdk-go v1.15.90/go.mod h1:es1KtYUFs7le0xQ3rOihkuoVD90z7D0fR2Qm4S00/gU=
-github.com/aws/aws-sdk-go v1.16.26/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.19.18/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.19.45/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.20.6/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.23.20/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.25.11/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.25.16/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.25.37/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.27.0/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.27.1/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
-github.com/aws/aws-sdk-go v1.31.6/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0=
-github.com/aws/aws-sdk-go v1.36.30/go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro=
-github.com/aws/aws-sdk-go v1.40.45/go.mod h1:585smgzpB/KqRA+K3y/NL/oYRqQvpNJYvLm+LY1U59Q=
-github.com/aws/aws-sdk-go v1.44.122/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo=
github.com/aws/aws-sdk-go v1.44.203 h1:pcsP805b9acL3wUqa4JR2vg1k2wnItkDYNvfmcy6F+U=
github.com/aws/aws-sdk-go v1.44.203/go.mod h1:aVsgQcEevwlmQ7qHE9I3h+dtQgpqhFB+i8Phjh7fkwI=
-github.com/aws/aws-sdk-go-v2 v0.18.0/go.mod h1:JWVYvqSMppoMJC0x5wdwiImzgXTI9FuZwxzkQq9wy+g=
-github.com/aws/aws-sdk-go-v2 v1.9.1/go.mod h1:cK/D0BBs0b/oWPIcX/Z/obahJK1TT7IPVjy53i/mX/4=
-github.com/aws/aws-sdk-go-v2/service/cloudwatch v1.8.1/go.mod h1:CM+19rL1+4dFWnOQKwDc7H1KwXTz+h61oUSHyhV0b3o=
-github.com/aws/smithy-go v1.8.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E=
-github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59/go.mod h1:q/89r3U2H7sSsE2t6Kca0lfwTK8JdoNGS/yzM/4iH5I=
-github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4=
-github.com/aymerick/raymond v2.0.3-0.20180322193309-b565731e1464+incompatible/go.mod h1:osfaiScAUVup+UC9Nfq76eWqDhXlp+4UYaA8uhTBO6g=
-github.com/benbjohnson/clock v1.0.3/go.mod h1:bGMdMPoPVvcYyt1gHDf4J2KE153Yf9BuiUKYMaxlTDM=
-github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
-github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
-github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d h1:xDfNPAt8lFiC1UJrqV3uuy861HCTo708pDMbjHHdCas=
-github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d/go.mod h1:6QX/PXZ00z/TKoufEY6K/a0k6AhaJrQKdFe6OfVXsa4=
-github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816 h1:41iFGWnSlI2gVpmOtVTJZNodLdLQLn/KsJqFvXwnd/s=
github.com/bgentry/speakeasy v0.1.1-0.20220910012023-760eaf8b6816/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs=
-github.com/bitly/go-simplejson v0.5.0 h1:6IH+V8/tVMab511d5bn4M7EwGXZf9Hj6i2xSwkNEM+Y=
-github.com/bitly/go-simplejson v0.5.0/go.mod h1:cXHtHw4XUPsvGaxgjIAn8PhEWG9NfngEKAMDJEczWVA=
-github.com/bits-and-blooms/bitset v1.2.0/go.mod h1:gIdJ4wp64HaoK2YrL1Q5/N7Y16edYb8uY+O0FJTyyDA=
-github.com/bketelsen/crypt v0.0.3-0.20200106085610-5cbc8cc4026c/go.mod h1:MKsuJmJgSg28kpZDP6UIiPt0e0Oz0kqKNGyRaWEPv84=
-github.com/bketelsen/crypt v0.0.4/go.mod h1:aI6NrJ0pMGgvZKL1iVgXLnfIFJtfV+bKCoqOes/6LfM=
-github.com/bkielbasa/cyclop v1.2.0/go.mod h1:qOI0yy6A7dYC4Zgsa72Ppm9kONl0RoIlPbzot9mhmeI=
-github.com/blakesmith/ar v0.0.0-20190502131153-809d4375e1fb/go.mod h1:PkYb9DJNAwrSvRx5DYA+gUcOIgTGVMNkfSCbZM8cWpI=
-github.com/blang/semver v3.1.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
-github.com/blang/semver v3.5.0+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
-github.com/blang/semver v3.5.1+incompatible/go.mod h1:kRBLl5iJ+tD4TcOOxsy/0fnwebNt5EWlYSAyrTnjyyk=
-github.com/blang/semver/v4 v4.0.0/go.mod h1:IbckMUScFkM3pff0VJDNKRiT6TG/YpiHIM2yvyW5YoQ=
-github.com/blizzy78/varnamelen v0.8.0/go.mod h1:V9TzQZ4fLJ1DSrjVDfl89H7aMnTvKkApdHeyESmyR7k=
-github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
-github.com/bombsimon/wsl/v2 v2.0.0/go.mod h1:mf25kr/SqFEPhhcxW1+7pxzGlW+hIl/hYTKY95VwV8U=
-github.com/bombsimon/wsl/v2 v2.2.0/go.mod h1:Azh8c3XGEJl9LyX0/sFC+CKMc7Ssgua0g+6abzXN4Pg=
-github.com/bombsimon/wsl/v3 v3.0.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc=
-github.com/bombsimon/wsl/v3 v3.1.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc=
-github.com/bombsimon/wsl/v3 v3.3.0/go.mod h1:st10JtZYLE4D5sC7b8xV4zTKZwAQjCH/Hy2Pm1FNZIc=
-github.com/boombuler/barcode v1.0.0/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
-github.com/boombuler/barcode v1.0.1/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8=
-github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625/go.mod h1:HYsPBTaaSFSlLx/70C2HPIMNZpVV8+vt/A+FMnYP11g=
-github.com/breml/bidichk v0.2.3/go.mod h1:8u2C6DnAy0g2cEq+k/A2+tr9O1s+vHGxWn0LTc70T2A=
-github.com/breml/errchkjson v0.3.0/go.mod h1:9Cogkyv9gcT8HREpzi3TiqBxCqDzo8awa92zSDFcofU=
-github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod h1:zsTqEiSzDgAa/8GZR7E1qaXrhYNDKBYy5/dWPTIflbk=
+github.com/bitly/go-simplejson v0.5.1 h1:xgwPbetQScXt1gh9BmoJ6j9JMr3TElvuIyjR8pgdoow=
+github.com/bitly/go-simplejson v0.5.1/go.mod h1:YOPVLzCfwK14b4Sff3oP1AmGhI9T9Vsg84etUnlyp+Q=
github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ=
github.com/btcsuite/btcd v0.22.0-beta.0.20220111032746-97732e52810c/go.mod h1:tjmYdS6MLJ5/s0Fj4DbLgSbDHbEqLJrtnHecBFkdz5M=
github.com/btcsuite/btcd v0.23.0/go.mod h1:0QJIIN1wwIXF/3G/m87gIwGniDMDQqjVn4SZgnFpsYY=
@@ -867,12 +113,10 @@ github.com/btcsuite/btcd v0.23.4 h1:IzV6qqkfwbItOS/sg/aDfPDsjPP8twrCOE2R93hxMlQ=
github.com/btcsuite/btcd v0.23.4/go.mod h1:0QJIIN1wwIXF/3G/m87gIwGniDMDQqjVn4SZgnFpsYY=
github.com/btcsuite/btcd/btcec/v2 v2.1.0/go.mod h1:2VzYrv4Gm4apmbVVsSq5bqf1Ec8v56E48Vt0Y/umPgA=
github.com/btcsuite/btcd/btcec/v2 v2.1.3/go.mod h1:ctjw4H1kknNJmRN4iP1R7bTQ+v3GJkZBd6mui8ZsAZE=
-github.com/btcsuite/btcd/btcec/v2 v2.2.1/go.mod h1:9/CSmJxmuvqzX9Wh2fXMWToLOHhPd11lSPuIupwTkI8=
github.com/btcsuite/btcd/btcec/v2 v2.3.2 h1:5n0X6hX0Zk+6omWcihdYvdAlGf2DfasC0GMf7DClJ3U=
github.com/btcsuite/btcd/btcec/v2 v2.3.2/go.mod h1:zYzJ8etWJQIv1Ogk7OzpWjowwOdXY1W/17j2MW85J04=
github.com/btcsuite/btcd/btcutil v1.0.0/go.mod h1:Uoxwv0pqYWhD//tfTiipkxNfdhG9UrLwaeswfjfdF0A=
github.com/btcsuite/btcd/btcutil v1.1.0/go.mod h1:5OapHB7A2hBBWLm48mmw4MOHNJCcUBTwmWH/0Jn8VHE=
-github.com/btcsuite/btcd/btcutil v1.1.2/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0=
github.com/btcsuite/btcd/btcutil v1.1.3 h1:xfbtw8lwpp0G6NwSHb+UE67ryTFHJAiNuipusjXSohQ=
github.com/btcsuite/btcd/btcutil v1.1.3/go.mod h1:UR7dsSJzJUfMmFiiLlIrMq1lS9jh9EdCV7FStZSnpi0=
github.com/btcsuite/btcd/chaincfg/chainhash v1.0.0/go.mod h1:7SFka0XMvUgj3hfZtydOrQY2mwhPclbT2snogU7SQQc=
@@ -888,54 +132,21 @@ github.com/btcsuite/snappy-go v0.0.0-20151229074030-0bdef8d06723/go.mod h1:8woku
github.com/btcsuite/snappy-go v1.0.0/go.mod h1:8woku9dyThutzjeg+3xrA5iCpBRH8XEEg3lh6TiUghc=
github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY=
github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs=
-github.com/bufbuild/buf v1.7.0/go.mod h1:Go40fMAF46PnPLC7jJgTQhAI95pmC0+VtxFKVC0qLq0=
-github.com/bufbuild/connect-go v0.2.0/go.mod h1:4efZ2eXFENwd4p7tuLaL9m0qtTsCOzuBvrohvRGevDM=
-github.com/bufbuild/connect-go v1.0.0/go.mod h1:9iNvh/NOsfhNBUH5CtvXeVUskQO1xsrEviH7ZArwZ3I=
-github.com/bufbuild/protocompile v0.4.0/go.mod h1:3v93+mbWn/v3xzN+31nwkJfrEpAUwp+BagBSZWx+TP8=
-github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s=
-github.com/buger/jsonparser v1.1.1/go.mod h1:6RYKKt7H4d4+iWqouImQ9R2FZql3VbhNgx27UK13J/0=
-github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8=
github.com/bugsnag/bugsnag-go v1.5.3/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8=
github.com/bugsnag/bugsnag-go v2.1.2+incompatible h1:E7dor84qzwUO8KdCM68CZwq9QOSR7HXlLx3Wj5vui2s=
github.com/bugsnag/bugsnag-go v2.1.2+incompatible/go.mod h1:2oa8nejYd4cQ/b0hMIopN0lCRxU0bueqREvZLWFrtK8=
-github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod h1:obH5gd0BsqsP2LwDJ9aOkm/6J86V6lyAXCoQWGw3K50=
-github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE=
github.com/bugsnag/panicwrap v1.3.4 h1:A6sXFtDGsgU/4BLf5JT0o5uYg3EeKgGx3Sfs+/uk3pU=
github.com/bugsnag/panicwrap v1.3.4/go.mod h1:D/8v3kj0zr8ZAKg1AQ6crr+5VwKN5eIywRkfhyM/+dE=
-github.com/butuzov/ireturn v0.1.1/go.mod h1:Wh6Zl3IMtTpaIKbmwzqi6olnM9ptYQxxVacMsOEFPoc=
-github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0=
-github.com/caarlos0/ctrlc v1.0.0/go.mod h1:CdXpj4rmq0q/1Eb44M9zi2nKB0QraNKuRGYGrrHhcQw=
-github.com/campoy/unique v0.0.0-20180121183637-88950e537e7e/go.mod h1:9IOqJGCPMSc6E5ydlp5NIonxObaeu/Iub/X03EKPVYo=
-github.com/casbin/casbin/v2 v2.1.2/go.mod h1:YcPU1XXisHhLzuxH9coDNf2FbKpjGlbCg3n9yuLkIJQ=
-github.com/casbin/casbin/v2 v2.37.0/go.mod h1:vByNa/Fchek0KZUgG5wEsl7iFsiviAYKRtgrQfcJqHg=
-github.com/cavaliercoder/go-cpio v0.0.0-20180626203310-925f9528c45e/go.mod h1:oDpT4efm8tSYHXV5tHSdRvBet/b/QzxZ+XyyPehvm3A=
github.com/cenkalti/backoff v2.2.1+incompatible h1:tNowT99t7UNflLxfYYSlKYsBpXdEet03Pg2g16Swow4=
-github.com/cenkalti/backoff v2.2.1+incompatible/go.mod h1:90ReRw6GdpyfrHakVjL/QHaoyV4aDUVVkXQJJJ3NXXM=
-github.com/cenkalti/backoff/v4 v4.1.1/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
-github.com/cenkalti/backoff/v4 v4.1.2/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
github.com/cenkalti/backoff/v4 v4.1.3 h1:cFAlzYUlVYDysBEH2T5hyJZMh3+5+WCBvSnK6Q8UtC4=
-github.com/cenkalti/backoff/v4 v4.1.3/go.mod h1:scbssz8iZGpm3xbr14ovlUdkxfGXNInqkPWOWmG2CLw=
-github.com/census-instrumentation/opencensus-proto v0.2.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
-github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
-github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw=
-github.com/certifi/gocertifi v0.0.0-20191021191039-0944d244cd40/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA=
-github.com/certifi/gocertifi v0.0.0-20200922220541-2c3bb06c6054/go.mod h1:sGbDF6GwGcLpkNXPUTkMRoywsNa/ol15pxFe6ERfguA=
github.com/cespare/cp v1.1.1 h1:nCb6ZLdB7NRaqsm91JtQTAme2SKJzXVsdPIPkyJr1MU=
github.com/cespare/cp v1.1.1/go.mod h1:SOGHArjBr4JWaSDEVpWpo/hNg6RoKrls6Oh40hiwW+s=
github.com/cespare/xxhash v1.1.0 h1:a6HrQnmkObjyL+Gs60czilIUGqrzKutQD6XZog3p+ko=
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
-github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
-github.com/charithe/durationcheck v0.0.9/go.mod h1:SSbRIBVfMjCi/kEB6K65XEA83D6prSM8ap1UCpNKtgg=
-github.com/chavacava/garif v0.0.0-20220630083739-93517212f375/go.mod h1:4m1Rv7xfuwWPNKXlThldNuJvutYM6J95wNuuVmn55To=
-github.com/checkpoint-restore/go-criu/v4 v4.1.0/go.mod h1:xUQBLp4RLc5zJtWY++yjOoMoB5lihDt7fai+75m+rGw=
-github.com/checkpoint-restore/go-criu/v5 v5.0.0/go.mod h1:cfwC0EG7HMUenopBsUf9d89JlCLQIfgVcNsNN0t6T2M=
-github.com/checkpoint-restore/go-criu/v5 v5.3.0/go.mod h1:E/eQpaFtUKGOOSEBZgmKAcn+zUUwWxqcaKZlF54wK8E=
-github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927/go.mod h1:h/aW8ynjgkuj+NQRlZcDbAbM1ORAbXjXX77sX7T289U=
-github.com/cheggaaa/pb v1.0.27/go.mod h1:pQciLPpbU0oxA0h+VJYYLxO+XeDQb5pZijXscXHm81s=
github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI=
github.com/chzyer/logex v1.2.1 h1:XHDu3E6q+gdHgsdTPH6ImJMIp436vR6MPtH8gP05QzM=
github.com/chzyer/logex v1.2.1/go.mod h1:JLbx6lG2kDbNRFnfkgvh4eRJRPX1QCoOIWomwysCBrQ=
@@ -945,265 +156,53 @@ github.com/chzyer/readline v1.5.1/go.mod h1:Eh+b79XXUwfKfcPLepksvw2tcLE/Ct21YObk
github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU=
github.com/chzyer/test v1.0.0 h1:p3BQDXSxOhOG0P9z6/hGnII4LGiEPOYBhs8asl/fC04=
github.com/chzyer/test v1.0.0/go.mod h1:2JlltgoNkt4TW/z9V/IzDdFaMTM2JPIi26O1pF38GC8=
-github.com/cilium/ebpf v0.0.0-20200110133405-4032b1d8aae3/go.mod h1:MA5e5Lr8slmEg9bt0VpxxWqJlO4iwu3FBdHUzV7wQVg=
-github.com/cilium/ebpf v0.0.0-20200702112145-1c8d4c9ef775/go.mod h1:7cR51M8ViRLIdUjrmSXlK9pkrsDlLHbO8jiB8X8JnOc=
-github.com/cilium/ebpf v0.2.0/go.mod h1:To2CFviqOWL/M0gIMsvSMlqe7em/l1ALkX1PyjrX2Qs=
-github.com/cilium/ebpf v0.4.0/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs=
-github.com/cilium/ebpf v0.6.2/go.mod h1:4tRaxcgiL706VnOzHOdBlY8IEAIdxINsQBcU4xJJXRs=
-github.com/cilium/ebpf v0.7.0/go.mod h1:/oI2+1shJiTGAMgl6/RgJr36Eo1jzrRcAWbcXO2usCA=
github.com/circonus-labs/circonus-gometrics v2.3.1+incompatible/go.mod h1:nmEj6Dob7S7YxXgwXpfOuvO54S+tGdZdw9fuRZt25Ag=
github.com/circonus-labs/circonusllhist v0.1.3/go.mod h1:kMXHVDlOchFAehlya5ePtbp5jckzBHf4XRpQvBOLI+I=
-github.com/clbanning/mxj v1.8.4/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng=
-github.com/clbanning/x2j v0.0.0-20191024224557-825249438eec/go.mod h1:jMjuTZXRI4dUb/I5gc9Hdhagfvm9+RyrPryS/auMzxE=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk=
-github.com/cncf/udpa/go v0.0.0-20210930031921-04548b0d99d4/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
-github.com/cncf/udpa/go v0.0.0-20220112060539-c52dc94e7fbe/go.mod h1:6pvJx4me5XPnfI9Z40ddWsdw2W/uZgQLFXToKeRcDiI=
-github.com/cncf/xds/go v0.0.0-20210312221358-fbca930ec8ed/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20210805033703-aa0b78936158/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20210922020428-25de7278fc84/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20211001041855-01bcc9b48dfe/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20211011173535-cb28da3451f1/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20211130200136-a8f946100490/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20220314180256-7f1daf1720fc/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20230105202645-06c439db220b/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
-github.com/cncf/xds/go v0.0.0-20230310173818-32f1caf87195/go.mod h1:eXthEFrGJvWHgFFCl3hGmgk+/aYT6PnTQLykKQRLhEs=
github.com/cockroachdb/apd/v2 v2.0.2 h1:weh8u7Cneje73dDh+2tEVLUvyBc89iwepWCD8b8034E=
-github.com/cockroachdb/apd/v2 v2.0.2/go.mod h1:DDxRlzC2lo3/vSlmSoS7JkqbbrARPuFOGr0B9pvN3Gw=
-github.com/cockroachdb/apd/v3 v3.1.0 h1:MK3Ow7LH0W8zkd5GMKA1PvS9qG3bWFI95WaVNfyZJ/w=
-github.com/cockroachdb/apd/v3 v3.1.0/go.mod h1:6qgPBMXjATAdD/VefbRP9NoSLKjbB4LCoA7gN4LpHs4=
-github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8=
-github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h6jFvWxBdQXxjopDMZyH2UVceIRfR84bdzbkoKrsWNo=
-github.com/cockroachdb/datadriven v1.0.0/go.mod h1:5Ib8Meh+jk1RlHIXej6Pzevx/NLlNvQB9pmSBZErGA4=
-github.com/cockroachdb/datadriven v1.0.2 h1:H9MtNqVoVhvd9nCBwOyDjUEdZCREqbIdCJD93PBm/jA=
-github.com/cockroachdb/datadriven v1.0.2/go.mod h1:a9RdTaap04u637JoCzcUoIcDmvwSUtcUFtT/C3kJlTU=
-github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA=
-github.com/cockroachdb/errors v1.6.1/go.mod h1:tm6FTP5G81vwJ5lC0SizQo374JNCOPrHyXGitRJoDqM=
-github.com/cockroachdb/errors v1.8.1/go.mod h1:qGwQn6JmZ+oMjuLwjWzUNqblqk0xl4CVV3SQbGwK7Ac=
-github.com/cockroachdb/errors v1.9.1 h1:yFVvsI0VxmRShfawbt/laCIDy/mtTqqnvoNgiy5bEV8=
-github.com/cockroachdb/errors v1.9.1/go.mod h1:2sxOtL2WIc096WSZqZ5h8fa17rdDq9HZOZLBCor4mBk=
-github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI=
-github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs=
+github.com/cockroachdb/errors v1.10.0 h1:lfxS8zZz1+OjtV4MtNWgboi/W5tyLEB6VQZBXN+0VUU=
+github.com/cockroachdb/errors v1.10.0/go.mod h1:lknhIsEVQ9Ss/qKDBQS/UqFSvPQjOwNq2qyKAxtHRqE=
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b h1:r6VH0faHjZeQy818SGhaone5OnYfxFR/+AzdY3sf5aE=
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs=
-github.com/cockroachdb/pebble v0.0.0-20220817183557-09c6e030a677/go.mod h1:890yq1fUb9b6dGNwssgeUO5vQV9qfXnCPxAJhBQfXw0=
-github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811 h1:ytcWPaNPhNoGMWEhDvS3zToKcDpRsLuRolQJBVGdozk=
-github.com/cockroachdb/pebble v0.0.0-20230209160836-829675f94811/go.mod h1:Nb5lgvnQ2+oGlE/EyZy4+2/CxRh9KfvCXnag1vtpxVM=
-github.com/cockroachdb/redact v1.0.8/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
-github.com/cockroachdb/redact v1.1.3 h1:AKZds10rFSIj7qADf0g46UixK8NNLwWTNdCIGS5wfSQ=
-github.com/cockroachdb/redact v1.1.3/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
-github.com/cockroachdb/sentry-go v0.6.1-cockroachdb.2/go.mod h1:8BT+cPK6xvFOcRlk0R8eg+OTkcqI6baNH4xAkpiYVvQ=
-github.com/codahale/hdrhistogram v0.0.0-20160425231609-f8ad88b59a58/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
-github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
-github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0/go.mod h1:4Zcjuz89kmFXt9morQgcfYZAYZ5n8WHjt81YYWIwtTM=
+github.com/cockroachdb/pebble v0.0.0-20230226194802-02d779ffbc46 h1:yMaoO76pV9knZ6bzEwzPSHnPSCTnrJohwkIQirmii70=
+github.com/cockroachdb/redact v1.1.5 h1:u1PMllDkdFfPWaNGMyLD1+so+aq3uUItthCFqzwPJ30=
+github.com/cockroachdb/redact v1.1.5/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
github.com/coinbase/rosetta-sdk-go/types v1.0.0 h1:jpVIwLcPoOeCR6o1tU+Xv7r5bMONNbHU7MuEHboiFuA=
-github.com/coinbase/rosetta-sdk-go/types v1.0.0/go.mod h1:eq7W2TMRH22GTW0N0beDnN931DW0/WOI1R2sdHNHG4c=
-github.com/cometbft/cometbft-db v0.7.0/go.mod h1:yiKJIm2WKrt6x8Cyxtq9YTEcIMPcEe4XPxhgX59Fzf0=
github.com/cometbft/cometbft-db v0.8.0 h1:vUMDaH3ApkX8m0KZvOFFy9b5DZHBAjsnEuo9AKVZpjo=
github.com/cometbft/cometbft-db v0.8.0/go.mod h1:6ASCP4pfhmrCBpfk01/9E1SI29nD3HfVHrY4PG8x5c0=
github.com/confio/ics23/go v0.9.0 h1:cWs+wdbS2KRPZezoaaj+qBleXgUk5WOQFMP3CQFGTr4=
github.com/confio/ics23/go v0.9.0/go.mod h1:4LPZ2NYqnYIVRklaozjNR1FScgDJ2s5Xrp+e/mYVRak=
-github.com/containerd/aufs v0.0.0-20200908144142-dab0cbea06f4/go.mod h1:nukgQABAEopAHvB6j7cnP5zJ+/3aVcE7hCYqvIwAHyE=
-github.com/containerd/aufs v0.0.0-20201003224125-76a6863f2989/go.mod h1:AkGGQs9NM2vtYHaUen+NljV0/baGCAPELGm2q9ZXpWU=
-github.com/containerd/aufs v0.0.0-20210316121734-20793ff83c97/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU=
-github.com/containerd/aufs v1.0.0/go.mod h1:kL5kd6KM5TzQjR79jljyi4olc1Vrx6XBlcyj3gNv2PU=
-github.com/containerd/btrfs v0.0.0-20201111183144-404b9149801e/go.mod h1:jg2QkJcsabfHugurUvvPhS3E08Oxiuh5W/g1ybB4e0E=
-github.com/containerd/btrfs v0.0.0-20210316141732-918d888fb676/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss=
-github.com/containerd/btrfs v1.0.0/go.mod h1:zMcX3qkXTAi9GI50+0HOeuV8LU2ryCE/V2vG/ZBiTss=
-github.com/containerd/cgroups v0.0.0-20190717030353-c4b9ac5c7601/go.mod h1:X9rLEHIqSf/wfK8NsPqxJmeZgW4pcfzdXITDrUSJ6uI=
-github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod h1:OApqhQ4XNSNC13gXIwDjhOQxjWa/NxkwZXJ1EvqT0ko=
-github.com/containerd/cgroups v0.0.0-20200531161412-0dbf7f05ba59/go.mod h1:pA0z1pT8KYB3TCXK/ocprsh7MAkoW8bZVzPdih9snmM=
-github.com/containerd/cgroups v0.0.0-20200710171044-318312a37340/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo=
-github.com/containerd/cgroups v0.0.0-20200824123100-0b889c03f102/go.mod h1:s5q4SojHctfxANBDvMeIaIovkq29IP48TKAxnhYRxvo=
-github.com/containerd/cgroups v0.0.0-20210114181951-8a68de567b68/go.mod h1:ZJeTFisyysqgcCdecO57Dj79RfL0LNeGiFUqLYQRYLE=
-github.com/containerd/cgroups v1.0.1/go.mod h1:0SJrPIenamHDcZhEcJMNBB85rHcUsw4f25ZfBiPYRkU=
-github.com/containerd/cgroups v1.0.3/go.mod h1:/ofk34relqNjSGyqPrmEULrO4Sc8LJhvJmWbUCUKqj8=
-github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw=
-github.com/containerd/console v0.0.0-20181022165439-0650fd9eeb50/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw=
-github.com/containerd/console v0.0.0-20191206165004-02ecf6a7291e/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE=
-github.com/containerd/console v1.0.0/go.mod h1:8Pf4gM6VEbTNRIT26AyyU7hxdQU3MvAvxVI0sc00XBE=
-github.com/containerd/console v1.0.1/go.mod h1:XUsP6YE/mKtz6bxc+I8UiKKTP04qjQL4qcS3XoQ5xkw=
-github.com/containerd/console v1.0.2/go.mod h1:ytZPjGgY2oeTkAONYafi2kSj0aYggsf8acV1PGKCbzQ=
-github.com/containerd/console v1.0.3/go.mod h1:7LqA/THxQ86k76b8c/EMSiaJ3h1eZkMkXar0TQ1gf3U=
-github.com/containerd/containerd v1.2.10/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.3.1-0.20191213020239-082f7e3aed57/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.3.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.4.0-beta.2.0.20200729163537-40b22ef07410/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.4.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.4.1-0.20201117152358-0edc412565dc/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.4.1/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.4.3/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.4.9/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
-github.com/containerd/containerd v1.5.0-beta.1/go.mod h1:5HfvG1V2FsKesEGQ17k5/T7V960Tmcumvqn8Mc+pCYQ=
-github.com/containerd/containerd v1.5.0-beta.3/go.mod h1:/wr9AVtEM7x9c+n0+stptlo/uBBoBORwEx6ardVcmKU=
-github.com/containerd/containerd v1.5.0-beta.4/go.mod h1:GmdgZd2zA2GYIBZ0w09ZvgqEq8EfBp/m3lcVZIvPHhI=
-github.com/containerd/containerd v1.5.0-rc.0/go.mod h1:V/IXoMqNGgBlabz3tHD2TWDoTJseu1FGOKuoA4nNb2s=
-github.com/containerd/containerd v1.5.1/go.mod h1:0DOxVqwDy2iZvrZp2JUx/E+hS0UNTVn7dJnIOwtYR4g=
-github.com/containerd/containerd v1.5.7/go.mod h1:gyvv6+ugqY25TiXxcZC3L5yOeYgEw0QMhscqVp1AR9c=
-github.com/containerd/containerd v1.5.8/go.mod h1:YdFSv5bTFLpG2HIYmfqDpSYYTDX+mc5qtSuYx1YUb/s=
-github.com/containerd/containerd v1.6.1/go.mod h1:1nJz5xCZPusx6jJU8Frfct988y0NpumIq9ODB0kLtoE=
-github.com/containerd/containerd v1.6.3-0.20220401172941-5ff8fce1fcc6/go.mod h1:WSt2SnDLAGWlu+Vl+EWay37seZLKqgRt6XLjIMy8SYM=
-github.com/containerd/containerd v1.6.6/go.mod h1:ZoP1geJldzCVY3Tonoz7b1IXk8rIX0Nltt5QE4OMNk0=
-github.com/containerd/containerd v1.6.8/go.mod h1:By6p5KqPK0/7/CgO/A6t/Gz+CUYUu2zf1hUaaymVXB0=
-github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y=
-github.com/containerd/continuity v0.0.0-20190815185530-f2a389ac0a02/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y=
-github.com/containerd/continuity v0.0.0-20191127005431-f65d91d395eb/go.mod h1:GL3xCUCBDV3CZiTSEKksMWbLE66hEyuu9qyDOOqM47Y=
-github.com/containerd/continuity v0.0.0-20200710164510-efbc4488d8fe/go.mod h1:cECdGN1O8G9bgKTlLhuPJimka6Xb/Gg7vYzCTNVxhvo=
-github.com/containerd/continuity v0.0.0-20201208142359-180525291bb7/go.mod h1:kR3BEg7bDFaEddKm54WSmrol1fKWDU1nKYkgrcgZT7Y=
-github.com/containerd/continuity v0.0.0-20210208174643-50096c924a4e/go.mod h1:EXlVlkqNba9rJe3j7w3Xa924itAMLgZH4UD/Q4PExuQ=
-github.com/containerd/continuity v0.1.0/go.mod h1:ICJu0PwR54nI0yPEnJ6jcS+J7CZAUXrLh8lPo2knzsM=
-github.com/containerd/continuity v0.2.2/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk=
-github.com/containerd/continuity v0.2.3-0.20220330195504-d132b287edc8/go.mod h1:pWygW9u7LtS1o4N/Tn0FoCFDIXZ7rxcMX7HX1Dmibvk=
-github.com/containerd/continuity v0.3.0/go.mod h1:wJEAIwKOm/pBZuBd0JmeTvnLquTB1Ag8espWhkykbPM=
-github.com/containerd/fifo v0.0.0-20180307165137-3d5202aec260/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI=
-github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod h1:ODA38xgv3Kuk8dQz2ZQXpnv/UZZUHUCL7pnLehbXgQI=
-github.com/containerd/fifo v0.0.0-20200410184934-f15a3290365b/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0=
-github.com/containerd/fifo v0.0.0-20201026212402-0724c46b320c/go.mod h1:jPQ2IAeZRCYxpS/Cm1495vGFww6ecHmMk1YJH2Q5ln0=
-github.com/containerd/fifo v0.0.0-20210316144830-115abcc95a1d/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4=
-github.com/containerd/fifo v1.0.0/go.mod h1:ocF/ME1SX5b1AOlWi9r677YJmCPSwwWnQ9O123vzpE4=
-github.com/containerd/fuse-overlayfs-snapshotter v1.0.2/go.mod h1:nRZceC8a7dRm3Ao6cJAwuJWPFiBPaibHiFntRUnzhwU=
-github.com/containerd/go-cni v1.0.1/go.mod h1:+vUpYxKvAF72G9i1WoDOiPGRtQpqsNW/ZHtSlv++smU=
-github.com/containerd/go-cni v1.0.2/go.mod h1:nrNABBHzu0ZwCug9Ije8hL2xBCYh/pjfMb1aZGrrohk=
-github.com/containerd/go-cni v1.1.0/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA=
-github.com/containerd/go-cni v1.1.3/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA=
-github.com/containerd/go-cni v1.1.4/go.mod h1:Rflh2EJ/++BA2/vY5ao3K6WJRR/bZKsX123aPk+kUtA=
-github.com/containerd/go-cni v1.1.6/go.mod h1:BWtoWl5ghVymxu6MBjg79W9NZrCRyHIdUtk4cauMe34=
-github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0=
-github.com/containerd/go-runc v0.0.0-20190911050354-e029b79d8cda/go.mod h1:IV7qH3hrUgRmyYrtgEeGWJfWbgcHL9CSRruz2Vqcph0=
-github.com/containerd/go-runc v0.0.0-20200220073739-7016d3ce2328/go.mod h1:PpyHrqVs8FTi9vpyHwPwiNEGaACDxT/N/pLcvMSRA9g=
-github.com/containerd/go-runc v0.0.0-20201020171139-16b287bc67d0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok=
-github.com/containerd/go-runc v1.0.0/go.mod h1:cNU0ZbCgCQVZK4lgG3P+9tn9/PaJNmoDXPpoJhDR+Ok=
-github.com/containerd/imgcrypt v1.0.1/go.mod h1:mdd8cEPW7TPgNG4FpuP3sGBiQ7Yi/zak9TYCG3juvb0=
-github.com/containerd/imgcrypt v1.0.4-0.20210301171431-0ae5c75f59ba/go.mod h1:6TNsg0ctmizkrOgXRNQjAPFWpMYRWuiB6dSF4Pfa5SA=
-github.com/containerd/imgcrypt v1.1.1-0.20210312161619-7ed62a527887/go.mod h1:5AZJNI6sLHJljKuI9IHnw1pWqo/F0nGDOuR9zgTs7ow=
-github.com/containerd/imgcrypt v1.1.1/go.mod h1:xpLnwiQmEUJPvQoAapeb2SNCxz7Xr6PJrXQb0Dpc4ms=
-github.com/containerd/imgcrypt v1.1.3/go.mod h1:/TPA1GIDXMzbj01yd8pIbQiLdQxed5ue1wb8bP7PQu4=
-github.com/containerd/imgcrypt v1.1.4/go.mod h1:LorQnPtzL/T0IyCeftcsMEO7AqxUDbdO8j/tSUpgxvo=
-github.com/containerd/nri v0.0.0-20201007170849-eb1350a75164/go.mod h1:+2wGSDGFYfE5+So4M5syatU0N0f0LbWpuqyMi4/BE8c=
-github.com/containerd/nri v0.0.0-20210316161719-dbaa18c31c14/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY=
-github.com/containerd/nri v0.1.0/go.mod h1:lmxnXF6oMkbqs39FiCt1s0R2HSMhcLel9vNL3m4AaeY=
-github.com/containerd/stargz-snapshotter v0.0.0-20201027054423-3a04e4c2c116/go.mod h1:o59b3PCKVAf9jjiKtCc/9hLAd+5p/rfhBfm6aBcTEr4=
-github.com/containerd/stargz-snapshotter v0.11.3/go.mod h1:2j2EAUyvrLU4D9unYlTIwGhDKQIk74KJ9E71lJsQCVM=
-github.com/containerd/stargz-snapshotter/estargz v0.4.1/go.mod h1:x7Q9dg9QYb4+ELgxmo4gBUeJB0tl5dqH1Sdz0nJU1QM=
-github.com/containerd/stargz-snapshotter/estargz v0.11.3/go.mod h1:7vRJIcImfY8bpifnMjt+HTJoQxASq7T28MYbP15/Nf0=
-github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o=
-github.com/containerd/ttrpc v0.0.0-20190828172938-92c8520ef9f8/go.mod h1:PvCDdDGpgqzQIzDW1TphrGLssLDZp2GuS+X5DkEJB8o=
-github.com/containerd/ttrpc v0.0.0-20191028202541-4f1b8fe65a5c/go.mod h1:LPm1u0xBw8r8NOKoOdNMeVHSawSsltak+Ihv+etqsE8=
-github.com/containerd/ttrpc v1.0.1/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y=
-github.com/containerd/ttrpc v1.0.2/go.mod h1:UAxOpgT9ziI0gJrmKvgcZivgxOp8iFPSk8httJEt98Y=
-github.com/containerd/ttrpc v1.1.0/go.mod h1:XX4ZTnoOId4HklF4edwc4DcqskFZuvXB1Evzy5KFQpQ=
-github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc=
-github.com/containerd/typeurl v0.0.0-20190911142611-5eb25027c9fd/go.mod h1:GeKYzf2pQcqv7tJ0AoCuuhtnqhva5LNU3U+OyKxxJpk=
-github.com/containerd/typeurl v1.0.1/go.mod h1:TB1hUtrpaiO88KEK56ijojHS1+NeF0izUACaJW2mdXg=
-github.com/containerd/typeurl v1.0.2/go.mod h1:9trJWW2sRlGub4wZJRTW83VtbOLS6hwcDZXTn6oPz9s=
-github.com/containerd/zfs v0.0.0-20200918131355-0a33824f23a2/go.mod h1:8IgZOBdv8fAgXddBT4dBXJPtxyRsejFIpXoklgxgEjw=
-github.com/containerd/zfs v0.0.0-20210301145711-11e8f1707f62/go.mod h1:A9zfAbMlQwE+/is6hi0Xw8ktpL+6glmqZYtevJgaB8Y=
-github.com/containerd/zfs v0.0.0-20210315114300-dde8f0fda960/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY=
-github.com/containerd/zfs v0.0.0-20210324211415-d5c4544f0433/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY=
-github.com/containerd/zfs v1.0.0/go.mod h1:m+m51S1DvAP6r3FcmYCp54bQ34pyOwTieQDNRIRHsFY=
-github.com/containernetworking/cni v0.7.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY=
-github.com/containernetworking/cni v0.8.0/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY=
-github.com/containernetworking/cni v0.8.1/go.mod h1:LGwApLUm2FpoOfxTDEeq8T9ipbpZ61X79hmU3w8FmsY=
-github.com/containernetworking/cni v1.0.1/go.mod h1:AKuhXbN5EzmD4yTNtfSsX3tPcmtrBI6QcRV0NiNt15Y=
-github.com/containernetworking/cni v1.1.1/go.mod h1:sDpYKmGVENF3s6uvMvGgldDWeG8dMxakj/u+i9ht9vw=
-github.com/containernetworking/plugins v0.8.6/go.mod h1:qnw5mN19D8fIwkqW7oHHYDHVlzhJpcY6TQxn/fUyDDM=
-github.com/containernetworking/plugins v0.9.1/go.mod h1:xP/idU2ldlzN6m4p5LmGiwRDjeJr6FLK6vuiUwoH7P8=
-github.com/containernetworking/plugins v1.0.1/go.mod h1:QHCfGpaTwYTbbH+nZXKVTxNBDZcxSOplJT5ico8/FLE=
-github.com/containernetworking/plugins v1.1.1/go.mod h1:Sr5TH/eBsGLXK/h71HeLfX19sZPp3ry5uHSkI4LPxV8=
-github.com/containers/ocicrypt v1.0.1/go.mod h1:MeJDzk1RJHv89LjsH0Sp5KTY3ZYkjXO/C+bKAeWFIrc=
-github.com/containers/ocicrypt v1.1.0/go.mod h1:b8AOe0YR67uU8OqfVNcznfFpAzu3rdgUV4GP9qXPfu4=
-github.com/containers/ocicrypt v1.1.1/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY=
-github.com/containers/ocicrypt v1.1.2/go.mod h1:Dm55fwWm1YZAjYRaJ94z2mfZikIyIN4B0oB3dj3jFxY=
-github.com/containers/ocicrypt v1.1.3/go.mod h1:xpdkbVAuaH3WzbEabUd5yDsl9SwJA5pABH85425Es2g=
-github.com/coreos/bbolt v1.3.2/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk=
github.com/coreos/etcd v3.3.10+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
-github.com/coreos/etcd v3.3.13+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE=
github.com/coreos/go-etcd v2.0.0+incompatible/go.mod h1:Jez6KQU2B/sWsbdaef3ED8NzMklzPG4d5KIOhIy30Tk=
-github.com/coreos/go-iptables v0.4.5/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU=
-github.com/coreos/go-iptables v0.5.0/go.mod h1:/mVI274lEDI2ns62jHCDnCyBF9Iwsmekav8Dbxlm1MU=
-github.com/coreos/go-iptables v0.6.0/go.mod h1:Qe8Bv2Xik5FyTXwgIbLAnv2sWSBmvWdFETJConOQ//Q=
-github.com/coreos/go-oidc v2.1.0+incompatible/go.mod h1:CgnwVTmzoESiwO9qyAFEMiHoZ1nMCKZlZ9V6mm3/LKc=
github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
-github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk=
-github.com/coreos/go-systemd v0.0.0-20161114122254-48702e0da86b/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
-github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
-github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
-github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
-github.com/coreos/go-systemd v0.0.0-20190620071333-e64a0ec8b42a/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4=
-github.com/coreos/go-systemd/v22 v22.0.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk=
-github.com/coreos/go-systemd/v22 v22.1.0/go.mod h1:xO0FLkIi5MaZafQlIrOotqXZ90ih+1atmu1JpKERPPk=
-github.com/coreos/go-systemd/v22 v22.3.2/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
-github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
-github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
-github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
-github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
-github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA=
github.com/cosmos/btcutil v1.0.5 h1:t+ZFcX77LpKtDBhjucvnOH8C2l2ioGsBNEQ3jef8xFk=
github.com/cosmos/btcutil v1.0.5/go.mod h1:IyB7iuqZMJlthe2tkIFL33xPyzbFYP0XVdS8P5lUPis=
-github.com/cosmos/cosmos-db v0.0.0-20221226095112-f3c38ecb5e32/go.mod h1:kwMlEC4wWvB48zAShGKVqboJL6w4zCLesaNQ3YLU2BQ=
-github.com/cosmos/cosmos-proto v1.0.0-alpha7/go.mod h1:dosO4pSAbJF8zWCzCoTWP7nNsjcvSUBQmniFxDg5daw=
-github.com/cosmos/cosmos-proto v1.0.0-alpha8/go.mod h1:6/p+Bc4O8JKeZqe0VqUGTX31eoYqemTT4C1hLCWsO7I=
-github.com/cosmos/cosmos-proto v1.0.0-beta.1/go.mod h1:8k2GNZghi5sDRFw/scPL8gMSowT1vDA+5ouxL8GjaUE=
-github.com/cosmos/cosmos-proto v1.0.0-beta.2 h1:X3OKvWgK9Gsejo0F1qs5l8Qn6xJV/AzgIWR2wZ8Nua8=
-github.com/cosmos/cosmos-proto v1.0.0-beta.2/go.mod h1:+XRCLJ14pr5HFEHIUcn51IKXD1Fy3rkEQqt4WqmN4V0=
-github.com/cosmos/cosmos-sdk/db v1.0.0-beta.1.0.20220726092710-f848e4300a8a/go.mod h1:c8IO23vgNxueCCJlSI9awQtcxsvc+buzaeThB85qfBU=
+github.com/cosmos/cosmos-proto v1.0.0-beta.3 h1:VitvZ1lPORTVxkmF2fAp3IiA61xVwArQYKXTdEcpW6o=
+github.com/cosmos/cosmos-proto v1.0.0-beta.3/go.mod h1:t8IASdLaAq+bbHbjq4p960BvcTqtwuAxid3b/2rOD6I=
github.com/cosmos/go-bip39 v0.0.0-20180819234021-555e2067c45d/go.mod h1:tSxLoYXyBmiFeKpvmq4dzayMdCjCnu8uqmCysIGBT2Y=
github.com/cosmos/go-bip39 v1.0.0 h1:pcomnQdrdH22njcAatO0yWojsUnCO3y2tNoV1cb6hHY=
github.com/cosmos/go-bip39 v1.0.0/go.mod h1:RNJv0H/pOIVgxw6KS7QeX2a0Uo0aKUlfhZ4xuwvCdJw=
github.com/cosmos/gogogateway v1.2.0 h1:Ae/OivNhp8DqBi/sh2A8a1D0y638GpL3tkmLQAiKxTE=
-github.com/cosmos/gogogateway v1.2.0/go.mod h1:iQpLkGWxYcnCdz5iAdLcRBSw3h7NXeOkZ4GUkT+tbFI=
-github.com/cosmos/gogoproto v1.4.1/go.mod h1:Ac9lzL4vFpBMcptJROQ6dQ4M3pOEK5Z/l0Q9p+LoCr4=
-github.com/cosmos/gogoproto v1.4.2/go.mod h1:cLxOsn1ljAHSV527CHOtaIP91kK6cCrZETRBrkzItWU=
-github.com/cosmos/gogoproto v1.4.3/go.mod h1:0hLIG5TR7IvV1fme1HCFKjfzW9X2x0Mo+RooWXCnOWU=
-github.com/cosmos/gogoproto v1.4.4/go.mod h1:/yl6/nLwsZcZ2JY3OrqjRqvqCG9InUMcXRfRjQiF9DU=
-github.com/cosmos/gogoproto v1.4.6/go.mod h1:VS/ASYmPgv6zkPKLjR9EB91lwbLHOzaGCirmKKhncfI=
github.com/cosmos/gogoproto v1.4.10 h1:QH/yT8X+c0F4ZDacDv3z+xE3WU1P1Z3wQoLMBRJoKuI=
github.com/cosmos/gogoproto v1.4.10/go.mod h1:3aAZzeRWpAwr+SS/LLkICX2/kDFyaYVzckBDzygIxek=
-github.com/cosmos/gorocksdb v1.2.0/go.mod h1:aaKvKItm514hKfNJpUJXnnOWeBnk2GL4+Qw9NHizILw=
-github.com/cosmos/iavl v0.20.0-alpha4/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A=
-github.com/cosmos/iavl v0.20.0 h1:fTVznVlepH0KK8NyKq8w+U7c2L6jofa27aFX6YGlm38=
-github.com/cosmos/iavl v0.20.0/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A=
+github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg=
+github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A=
github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM=
github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0=
-github.com/cosmos/ledger-cosmos-go v0.12.1 h1:sMBxza5p/rNK/06nBSNmsI/WDqI0pVJFVNihy1Y984w=
-github.com/cosmos/ledger-cosmos-go v0.12.1/go.mod h1:dhO6kj+Y+AHIOgAe4L9HL/6NDdyyth4q238I9yFpD2g=
+github.com/cosmos/ledger-cosmos-go v0.12.2 h1:/XYaBlE2BJxtvpkHiBm97gFGSGmYGKunKyF3nNqAXZA=
+github.com/cosmos/ledger-cosmos-go v0.12.2/go.mod h1:ZcqYgnfNJ6lAXe4HPtWgarNEY+B74i+2/8MhZw4ziiI=
github.com/cosmos/rosetta-sdk-go v0.10.0 h1:E5RhTruuoA7KTIXUcMicL76cffyeoyvNybzUGSKFTcM=
-github.com/cosmos/rosetta-sdk-go v0.10.0/go.mod h1:SImAZkb96YbwvoRkzSMQB6noNJXFgWl/ENIznEoYQI4=
github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk=
github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
-github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
-github.com/cpuguy83/go-md2man/v2 v2.0.0/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
-github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
-github.com/creachadair/taskgroup v0.3.2/go.mod h1:wieWwecHVzsidg2CsUnFinW1faVN4+kq+TDlRJQ0Wbk=
github.com/creachadair/taskgroup v0.4.2 h1:jsBLdAJE42asreGss2xZGZ8fJra7WtwnHWeJFxv2Li8=
-github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
-github.com/creack/pty v1.1.11/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
-github.com/cristalhq/acmd v0.8.1/go.mod h1:LG5oa43pE/BbxtfMoImHCQN++0Su7dzipdgBjMCBVDQ=
-github.com/cucumber/common/gherkin/go/v22 v22.0.0 h1:4K8NqptbvdOrjL9DEea6HFjSpbdT9+Q5kgLpmmsHYl0=
-github.com/cucumber/common/gherkin/go/v22 v22.0.0/go.mod h1:3mJT10B2GGn3MvVPd3FwR7m2u4tLhSRhWUqJU4KN4Fg=
-github.com/cucumber/common/messages/go/v17 v17.1.1 h1:RNqopvIFyLWnKv0LfATh34SWBhXeoFTJnSrgm9cT/Ts=
-github.com/cucumber/common/messages/go/v17 v17.1.1/go.mod h1:bpGxb57tDE385Rb2EohgUadLkAbhoC4IyCFi89u/JQI=
-github.com/curioswitch/go-reassign v0.2.0/go.mod h1:x6OpXuWvgfQaMGks2BZybTngWjT84hqJfKoO8Tt/Roc=
-github.com/cyphar/filepath-securejoin v0.2.2/go.mod h1:FpkQEhXnPnOthhzymB7CGsFk2G9VLXONKD9G7QGMM+4=
-github.com/cyphar/filepath-securejoin v0.2.3/go.mod h1:aPGpWjXOXUn2NCNjFvBE6aRxGGx79pTxQpKOJNYHHl4=
-github.com/d2g/dhcp4 v0.0.0-20170904100407-a1d1b6c41b1c/go.mod h1:Ct2BUK8SB0YC1SMSibvLzxjeJLnrYEVLULFNiHY9YfQ=
-github.com/d2g/dhcp4client v1.0.0/go.mod h1:j0hNfjhrt2SxUOw55nL0ATM/z4Yt3t2Kd1mW34z5W5s=
-github.com/d2g/dhcp4server v0.0.0-20181031114812-7d4a0a7f59a5/go.mod h1:Eo87+Kg/IX2hfWJfwxMzLyuSZyxSoAug2nGa1G2QAi8=
-github.com/d2g/hardwareaddr v0.0.0-20190221164911-e7d9fbe030e4/go.mod h1:bMl4RjIciD2oAxI7DmWRx6gbeqrkoLqv3MV0vzNad+I=
-github.com/daixiang0/gci v0.8.1/go.mod h1:EpVfrztufwVgQRXjnX4zuNinEpLj5OmMjtu/+MB0V0c=
-github.com/danieljoos/wincred v1.1.0/go.mod h1:XYlo+eRTsVA9aHGp7NGjFkPla4m+DCL7hqDjlFjiygg=
github.com/danieljoos/wincred v1.1.2 h1:QLdCxFs1/Yl4zduvBdcHB8goaYk9RARS2SgLLRuAyr0=
github.com/danieljoos/wincred v1.1.2/go.mod h1:GijpziifJoIBfYh+S7BbkdUTU4LfM+QnGqR5Vl2tAx0=
-github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
-github.com/davecgh/go-spew v0.0.0-20161028175848-04cdfd42973b/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
@@ -1216,346 +215,81 @@ github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1/go.mod h1:hyedUtir6IdtD/7lIxGeC
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0 h1:HbphB4TFFXpv7MNrT52FGrrgVXF1owhMVTHFZIlnvd4=
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc=
github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218=
-github.com/denis-tingaikin/go-header v0.4.3/go.mod h1:0wOCWuN71D5qIgE2nz9KrKmuYBAC2Mra5RassOIQ2/c=
-github.com/denisenkom/go-mssqldb v0.12.0/go.mod h1:iiK0YP1ZeepvmBQk/QpLEhhTNJgfzrpArPY/aFvc9yU=
-github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0=
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f h1:U5y3Y5UE0w7amNe7Z5G/twsBW0KEalRQXZzf8ufSh9I=
-github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f/go.mod h1:xH/i4TFMt8koVQZ6WFms69WAsDWr2XsYL3Hkl7jkoLE=
-github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY=
-github.com/dgraph-io/badger v1.6.0/go.mod h1:zwt7syl517jmP8s94KqSxTlM6IMsdhYy6psNgSztDR4=
github.com/dgraph-io/badger/v2 v2.2007.4 h1:TRWBQg8UrlUhaFdco01nO2uXwzKS7zd+HVdwV/GHc4o=
github.com/dgraph-io/badger/v2 v2.2007.4/go.mod h1:vSw/ax2qojzbN6eXHIx6KPKtCSHJN/Uz0X0VPruTIhk=
-github.com/dgraph-io/badger/v3 v3.2103.2/go.mod h1:RHo4/GmYcKKh5Lxu63wLEMHJ70Pac2JqZRYGhlyAo2M=
github.com/dgraph-io/ristretto v0.0.3-0.20200630154024-f66de99634de/go.mod h1:KPxhHT9ZxKefz+PCeOGsrHpl1qZ7i70dGTu2u+Ahh6E=
-github.com/dgraph-io/ristretto v0.1.0/go.mod h1:fux0lOrBhrVCJd3lcTHsIJhq1T2rokOu6v9Vcb3Q9ug=
github.com/dgraph-io/ristretto v0.1.1 h1:6CWw5tJNgpegArSHpNHJKldNeq03FQCwYvfMVWajOK8=
github.com/dgraph-io/ristretto v0.1.1/go.mod h1:S1GPSBCYCIhmVNfcth17y2zZtQT6wzkzgwUve0VDWWA=
-github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
-github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
github.com/dgryski/go-farm v0.0.0-20190423205320-6a90982ecee2/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw=
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 h1:fAjc9m62+UWV/WAFKLNi6ZS0675eEUC9y3AlwSbQu1Y=
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13/go.mod h1:SqUrOPUnsFjfmXRMNPybcSiG0BgUW2AuFH8PAnS2iTw=
-github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
-github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
-github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8=
-github.com/dimchansky/utfbom v1.1.1/go.mod h1:SxdoEBH5qIqFocHMyGOXVAybYJdr71b1Q/j0mACtrfE=
-github.com/djherbis/atime v1.1.0/go.mod h1:28OF6Y8s3NQWwacXc5eZTsEsiMzp7LF8MbXE+XJPdBE=
-github.com/dnaeon/go-vcr v1.0.1/go.mod h1:aBB1+wY4s93YsC3HHjMBMrwTj2R9FHDzUr9KyGc8n1E=
-github.com/dnaeon/go-vcr v1.2.0/go.mod h1:R4UdLID7HZT3taECzJs4YgbbH6PIGXB6W/sc5OLb6RQ=
-github.com/docker/cli v0.0.0-20190925022749-754388324470/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
-github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
-github.com/docker/cli v20.10.0-beta1.0.20201029214301-1d20b15adc38+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
-github.com/docker/cli v20.10.13+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
-github.com/docker/cli v20.10.14+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
-github.com/docker/cli v20.10.17+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
-github.com/docker/distribution v0.0.0-20190905152932-14b96e55d84c/go.mod h1:0+TTO4EOBfRPhZXAeF1Vu+W3hHZ8eLp8PgKVZlcvtFY=
-github.com/docker/distribution v2.6.0-rc.1.0.20180327202408-83389a148052+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/distribution v2.7.1-0.20190205005809-0d3efadf0154+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/distribution v2.7.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/distribution v2.8.0+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/distribution v2.8.1+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8=
github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
-github.com/docker/docker v0.0.0-20200511152416-a93e9eb0e95c/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v1.4.2-0.20180531152204-71cd53e4a197/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v1.4.2-0.20190924003213-a8608b5b67c7/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v17.12.0-ce-rc1.0.20200730172259-9f28837c1d93+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v20.10.0-beta1.0.20201110211921-af34b94a78a1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v20.10.3-0.20211208011758-87521affb077+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v20.10.7+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v20.10.17+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker v20.10.19+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk=
-github.com/docker/docker-credential-helpers v0.6.3/go.mod h1:WRaJzqw3CTB9bk10avuGsjVBZsD05qeibJ1/TYlvc0Y=
-github.com/docker/docker-credential-helpers v0.6.4/go.mod h1:ofX3UI0Gz1TteYBjtgs07O36Pyasyp66D2uKT7H8W1c=
-github.com/docker/go-connections v0.4.0/go.mod h1:Gbd7IOopHjR8Iph03tsViu4nIes5XhDvyHbTtUxmeec=
-github.com/docker/go-events v0.0.0-20170721190031-9461782956ad/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
-github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
-github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod h1:/u0gXw0Gay3ceNrsHubL3BtdOL2fHf93USgMTe0W5dI=
-github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw=
-github.com/docker/go-units v0.3.3/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
-github.com/docker/go-units v0.4.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
-github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
-github.com/docker/libnetwork v0.8.0-dev.2.0.20200917202933-d0951081b35f/go.mod h1:93m0aTqz6z+g32wla4l4WxTrdtvBRmVzYRkYvasA5Z8=
-github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod h1:cyGadeNEkKy96OOhEzfZl+yxihPEzKnqJwvfuSUqbZE=
-github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod h1:Qh8CwZgvJUkLughtfhJv5dyTYa91l1fOUCrgjqmcifM=
-github.com/docopt/docopt-go v0.0.0-20180111231733-ee0de3bc6815/go.mod h1:WwZ+bS3ebgob9U8Nd0kOddGdZWjyMGR8Wziv+TBNwSE=
-github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY=
github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=
github.com/dvsekhvalnov/jose2go v1.5.0 h1:3j8ya4Z4kMCwT5nXIKFSV84YS+HdqSSO0VsTQxaLAeM=
github.com/dvsekhvalnov/jose2go v1.5.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=
-github.com/eapache/go-resiliency v1.1.0/go.mod h1:kFI+JgMyC7bLPUVY133qvEBtVayf5mFgVsvEsIPBvNs=
-github.com/eapache/go-xerial-snappy v0.0.0-20180814174437-776d5712da21/go.mod h1:+020luEh2TKB4/GOp8oxxtq0Daoen/Cii55CzbTV6DU=
-github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFPTqq+I=
github.com/edsrzf/mmap-go v1.0.0 h1:CEBF7HpRnUCSJgGUb5h1Gm7e3VkmVDrR8lvWVLtrOFw=
-github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M=
-github.com/eknkc/amber v0.0.0-20171010120322-cdade1c07385/go.mod h1:0vRUJqYpeSZifjYj7uP3BG/gKcuzL9xWVV/Y+cK33KM=
-github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc=
-github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc=
-github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
-github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
-github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
-github.com/envoyproxy/go-control-plane v0.6.9/go.mod h1:SBwIajubJHhxtWwsL9s8ss4safvEdbitLhGGK48rN6g=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
github.com/envoyproxy/go-control-plane v0.9.7/go.mod h1:cwu0lG7PUMfa9snN8LXBig5ynNVH9qI8YYLbd1fK2po=
github.com/envoyproxy/go-control-plane v0.9.9-0.20201210154907-fd9021fe5dad/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
-github.com/envoyproxy/go-control-plane v0.9.9-0.20210217033140-668b12f5399d/go.mod h1:cXg6YxExXjJnVBQHBLXeUAgxn2UodCpnH306RInaBQk=
-github.com/envoyproxy/go-control-plane v0.9.9-0.20210512163311-63b5d3c536b0/go.mod h1:hliV/p42l8fGbc6Y9bQ70uLwIvmJyVE5k4iMKlh8wCQ=
-github.com/envoyproxy/go-control-plane v0.9.10-0.20210907150352-cf90f659a021/go.mod h1:AFq3mo9L8Lqqiid3OhADV3RfLJnjiw63cSpi+fDTRC0=
-github.com/envoyproxy/go-control-plane v0.10.1/go.mod h1:AY7fTTXNdv/aJ2O5jwpxAPOWUZ7hQAEvzN5Pf27BkQQ=
-github.com/envoyproxy/go-control-plane v0.10.2-0.20220325020618-49ff273808a1/go.mod h1:KJwIaB5Mv44NWtYuAOFCVOjcI94vtpEz2JU/D2v6IjE=
-github.com/envoyproxy/go-control-plane v0.10.3/go.mod h1:fJJn/j26vwOu972OllsvAgJJM//w9BV6Fxbg2LuVd34=
-github.com/envoyproxy/go-control-plane v0.11.0/go.mod h1:VnHyVMpzcLvCFt9yUz1UnCwHLhwx1WguiVDV7pTG/tI=
-github.com/envoyproxy/protoc-gen-validate v0.0.14/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c=
-github.com/envoyproxy/protoc-gen-validate v0.6.2/go.mod h1:2t7qjJNvHPx8IjnBOzl9E9/baC+qXE/TeeyBRzgJDws=
-github.com/envoyproxy/protoc-gen-validate v0.6.7/go.mod h1:dyJXwwfPK2VSqiB9Klm1J6romD608Ba7Hij42vrOBCo=
-github.com/envoyproxy/protoc-gen-validate v0.9.1/go.mod h1:OKNgG7TCp5pF4d6XftA0++PMirau2/yoOwVac3AbF2w=
-github.com/envoyproxy/protoc-gen-validate v0.10.0/go.mod h1:DRjgyB0I43LtJapqN6NiRwroiAU2PaFuvk/vjgh61ss=
-github.com/esimonov/ifshort v1.0.4/go.mod h1:Pe8zjlRrJ80+q2CxHLfEOfTwxCZ4O+MuhcHcfgNWTk0=
-github.com/etcd-io/bbolt v1.3.3/go.mod h1:ZF2nL25h33cCyBtcyWeZ2/I3HQOfTP+0PIEvHjkjCrw=
github.com/ethereum/go-ethereum v1.11.5 h1:3M1uan+LAUvdn+7wCEFrcMM4LJTeuxDrPTg/f31a5QQ=
github.com/ethereum/go-ethereum v1.11.5/go.mod h1:it7x0DWnTDMfVFdXcU6Ti4KEFQynLHVRarcSlPr0HBo=
-github.com/ettle/strcase v0.1.1/go.mod h1:hzDLsPC7/lwKyBOywSHEP89nt2pDgdy+No1NBA9o9VY=
-github.com/evanphx/json-patch v4.2.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
-github.com/evanphx/json-patch v4.9.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
-github.com/evanphx/json-patch v4.11.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
-github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk=
-github.com/facebookgo/ensure v0.0.0-20200202191622-63f1cf65ac4c/go.mod h1:Yg+htXGokKKdzcwhuNDwVvN+uBxDGXJ7G/VN1d8fa64=
-github.com/facebookgo/stack v0.0.0-20160209184415-751773369052/go.mod h1:UbMTZqLaRiH3MsBH8va0n7s1pQYcu3uTb8G4tygF4Zg=
-github.com/facebookgo/subset v0.0.0-20200203212716-c811ad88dec4/go.mod h1:5tD+neXqOorC30/tWg0LCSkrqj/AR6gu8yY8/fpw1q0=
-github.com/fasthttp-contrib/websocket v0.0.0-20160511215533-1f3b11f56072/go.mod h1:duJ4Jxv5lDcvg4QuQr0oowTf7dz4/CR8NtyCooz9HL8=
-github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
-github.com/fatih/color v1.9.0/go.mod h1:eQcE1qtQxscV5RaZvpXrrb8Drkc3/DdQ+uUYCNjL+zU=
-github.com/fatih/color v1.10.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
-github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM=
-github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
-github.com/fatih/structs v1.1.0/go.mod h1:9NiDSp5zOcgEDl+j00MP/WkGVPOlPRLejGD8Ga6PJ7M=
-github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94=
-github.com/felixge/httpsnoop v1.0.1/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/felixge/httpsnoop v1.0.2 h1:+nS9g82KMXccJ/wp0zyRW9ZBHFETmMGtkk+2CTTrW4o=
-github.com/felixge/httpsnoop v1.0.2/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
-github.com/firefart/nonamedreturns v1.0.4/go.mod h1:TDhe/tjI1BXo48CmYbUduTV7BdIga8MAO/xbKdcVsGI=
github.com/fjl/memsize v0.0.0-20190710130421-bcb5799ab5e5 h1:FtmdgXiUlNeRsoNMFlKLDt+S+6hbjVMEW6RGQ7aUf7c=
-github.com/flosch/pongo2 v0.0.0-20190707114632-bbf5a6c351f4/go.mod h1:T9YF2M40nIgbVgp3rreNmTged+9HrbNTIQf1PsaIiTA=
-github.com/flosch/pongo2/v4 v4.0.2/go.mod h1:B5ObFANs/36VwxxlgKpdchIJHMvHB562PW+BWPhwZD8=
-github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568/go.mod h1:xEzjJPgXI435gkrCt3MPfRiAkVrwSbHsst4LCFVfpJc=
-github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
-github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
-github.com/form3tech-oss/jwt-go v3.2.2+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
-github.com/form3tech-oss/jwt-go v3.2.3+incompatible/go.mod h1:pbq4aXjuKjdthFRnoDwaVPLA+WlJuPGy+QneDUgJi2k=
-github.com/fortytw2/leaktest v1.2.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
-github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
-github.com/franela/goblin v0.0.0-20200105215937-c9ffbefa60db/go.mod h1:7dvUGVsVBjqR7JHJk0brhHOZYGmfBYOrK0ZhYMEtBr4=
-github.com/franela/goblin v0.0.0-20210519012713-85d372ac71e2/go.mod h1:VzmDKDJVZI3aJmnRI9VjAn9nJ8qPPsN1fqzr9dqInIo=
-github.com/franela/goreq v0.0.0-20171204163338-bcd34c9993f8/go.mod h1:ZhphrRTfi2rbfLwlschooIH4+wKKDR4Pdxhh+TRoA20=
-github.com/frankban/quicktest v1.11.3/go.mod h1:wRf/ReqHper53s+kmmSZizM8NamnL3IM0I9ntUbOk+k=
-github.com/frankban/quicktest v1.14.3/go.mod h1:mgiwOwqx65TmIk1wJ6Q7wvnVMocbUorkibMOrVTHZps=
github.com/frankban/quicktest v1.14.4 h1:g2rn0vABPOOXmZUj+vbmUp0lPoXEMuhTpIluN0XL9UY=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ=
-github.com/fsnotify/fsnotify v1.5.1/go.mod h1:T3375wBYaZdLLcVNkcVbzGHY7f1l/uK5T5Ai1i3InKU=
-github.com/fsnotify/fsnotify v1.5.4/go.mod h1:OVB6XrOHzAwXMpEM7uPOzcehqUV2UqJxmVXmkdnm1bU=
github.com/fsnotify/fsnotify v1.6.0 h1:n+5WquG0fcWoWp6xPWfHdbskMCQaFnG6PfBrh1Ky4HY=
github.com/fsnotify/fsnotify v1.6.0/go.mod h1:sl3t1tCWJFWoRz9R8WJCbQihKKwmorjAbSClcnxKAGw=
-github.com/fullsailor/pkcs7 v0.0.0-20190404230743-d7302db945fa/go.mod h1:KnogPXtdwXqoenmZCw6S+25EAm2MkxbG0deNDu4cbSA=
-github.com/fullstorydev/grpcurl v1.6.0/go.mod h1:ZQ+ayqbKMJNhzLmbpCiurTVlaK2M/3nqZCxaQ2Ze/sM=
-github.com/fzipp/gocyclo v0.6.0/go.mod h1:rXPyn8fnlpa0R2csP/31uerbiVBugk5whMdlyaLkLoA=
-github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY=
-github.com/gavv/httpexpect v2.0.0+incompatible/go.mod h1:x+9tiU1YnrOvnB725RkpoLv1M62hOWzwo5OXotisrKc=
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08 h1:f6D9Hr8xV8uYKlyuj8XIruxlh9WjVjdh1gIicAS7ays=
github.com/gballet/go-libpcsclite v0.0.0-20191108122812-4678299bea08/go.mod h1:x7DCsMOv1taUwEWCzT4cmDeAkigA5/QCwUodaVOe8Ww=
-github.com/getkin/kin-openapi v0.76.0/go.mod h1:660oXbgy5JFMKreazJaQTw7o+X00qeSyhcnluiMv+Xg=
-github.com/getsentry/raven-go v0.2.0/go.mod h1:KungGk8q33+aIAZUIVWZDr2OfAEBsO49PX4NzFV5kcQ=
-github.com/getsentry/sentry-go v0.12.0/go.mod h1:NSap0JBYWzHND8oMbyi0+XZhUalc1TBdRL1M71JZW2c=
-github.com/getsentry/sentry-go v0.17.0/go.mod h1:B82dxtBvxG0KaPD8/hfSV+VcHD+Lg/xUS4JuQn1P4cM=
-github.com/getsentry/sentry-go v0.18.0 h1:MtBW5H9QgdcJabtZcuJG80BMOwaBpkRDZkxRkNC1sN0=
-github.com/getsentry/sentry-go v0.18.0/go.mod h1:Kgon4Mby+FJ7ZWHFUAZgVaIa8sxHtnRJRLTXZr51aKQ=
-github.com/ghemawat/stream v0.0.0-20171120220530-696b145b53b9/go.mod h1:106OIgooyS7OzLDOpUGgm9fA3bQENb/cFSyyBmMoJDs=
-github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
+github.com/getsentry/sentry-go v0.23.0 h1:dn+QRCeJv4pPt9OjVXiMcGIBIefaTJPw/h0bZWO05nE=
+github.com/getsentry/sentry-go v0.23.0/go.mod h1:lc76E2QywIyW8WuBnwl8Lc4bkmQH4+w1gwTf25trprY=
github.com/ghodss/yaml v1.0.0/go.mod h1:4dBDuWmgqj2HViK6kFavaiC9ZROes6MMH2rRYeMEF04=
-github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3/go.mod h1:VJ0WA2NBN22VlZ2dKZQPAPnyWw5XTlK1KymzLKsr59s=
-github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
-github.com/gin-gonic/gin v1.4.0/go.mod h1:OW2EZn3DO8Ln9oIKOvM++LBO+5UPHJJDH72/q/3rZdM=
-github.com/gin-gonic/gin v1.6.3/go.mod h1:75u5sXoLsGZoRN5Sgbi1eraJ4GU3++wFwWzhwvtwp4M=
-github.com/gin-gonic/gin v1.8.1/go.mod h1:ji8BvRH1azfM+SYow9zQ6SZMvR8qOMZHmsCuWR9tTTk=
-github.com/gliderlabs/ssh v0.1.1/go.mod h1:U7qILu1NlMHj9FlMhZLlkCdDnU1DBEAqr0aevW3Awn0=
-github.com/gliderlabs/ssh v0.3.5/go.mod h1:8XB4KraRrX39qHhT6yxPsHedjA08I/uBVwj4xC+/+z4=
-github.com/go-check/check v0.0.0-20180628173108-788fd7840127/go.mod h1:9ES+weclKsC9YodN5RgxqK/VD9HM9JsCSh7rNhMZE98=
-github.com/go-chi/chi/v5 v5.0.7/go.mod h1:DslCQbL2OYiznFReuXYUmQ2hGd1aDpCnlMNITLSKoi8=
-github.com/go-critic/go-critic v0.4.1/go.mod h1:7/14rZGnZbY6E38VEGk2kVhoq6itzc1E68facVDK23g=
-github.com/go-critic/go-critic v0.4.3/go.mod h1:j4O3D4RoIwRqlZw5jJpx0BNfXWWbpcJoKu5cYSe4YmQ=
-github.com/go-critic/go-critic v0.6.5/go.mod h1:ezfP/Lh7MA6dBNn4c6ab5ALv3sKnZVLx37tr00uuaOY=
-github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q=
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=
-github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
-github.com/go-fonts/dejavu v0.1.0/go.mod h1:4Wt4I4OU2Nq9asgDCteaAaWZOV24E+0/Pwo0gppep4g=
-github.com/go-fonts/latin-modern v0.2.0/go.mod h1:rQVLdDMK+mK1xscDwsqM5J8U2jrRa3T0ecnM9pNujks=
-github.com/go-fonts/liberation v0.1.1/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY=
-github.com/go-fonts/liberation v0.2.0/go.mod h1:K6qoJYypsmfVjWg8KOVDQhLc8UDgIK2HYqyqAO9z7GY=
-github.com/go-fonts/stix v0.1.0/go.mod h1:w/c1f0ldAUlJmLBvlbkvVXLAD+tAMqobIIQpmnUIzUY=
-github.com/go-git/gcfg v1.5.0/go.mod h1:5m20vg6GwYabIxaOonVkTdrILxQMpEShl1xiMF4ua+E=
-github.com/go-git/go-billy/v5 v5.3.1/go.mod h1:pmpqyWchKfYfrkb/UVH4otLvyi/5gJlGI4Hb3ZqZ3W0=
-github.com/go-git/go-billy/v5 v5.4.0/go.mod h1:vjbugF6Fz7JIflbVpl1hJsGjSHNltrSw45YK/ukIvQg=
-github.com/go-git/go-git-fixtures/v4 v4.3.1/go.mod h1:8LHG1a3SRW71ettAD/jW13h8c6AqjVSeL11RAdgaqpo=
-github.com/go-git/go-git/v5 v5.5.2/go.mod h1:BE5hUJ5yaV2YMxhmaP4l6RBQ08kMxKSPD4BlxtH7OjI=
github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod h1:vR7hzQXu2zJy9AVAgeJqvqgH9Q5CA+iKCZ2gyEVpxRU=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8=
-github.com/go-ini/ini v1.25.4/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8=
github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
github.com/go-kit/kit v0.9.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as=
-github.com/go-kit/kit v0.10.0/go.mod h1:xUsJbQ/Fp4kEt7AFgCuvyX4a71u8h9jB8tj/ORgOZ7o=
github.com/go-kit/kit v0.12.0 h1:e4o3o3IsBfAKQh5Qbbiqyfu97Ku7jrO/JbohvztANh4=
github.com/go-kit/kit v0.12.0/go.mod h1:lHd+EkCZPIwYItmGDDRdhinkzX2A1sj+M9biaEaizzs=
-github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY=
-github.com/go-kit/log v0.2.0/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0=
github.com/go-kit/log v0.2.1 h1:MRVx0/zhvdseW+Gza6N9rVzU/IVzaeE1SFI4raAhmBU=
github.com/go-kit/log v0.2.1/go.mod h1:NwTd00d/i8cPZ3xOwwiv2PO5MOcx78fFErGNcVmBjv0=
-github.com/go-latex/latex v0.0.0-20210118124228-b3d85cf34e07/go.mod h1:CO1AlKB2CSIqUrmQPqA0gdRIlnLEY0gK5JGjh37zN5U=
-github.com/go-latex/latex v0.0.0-20210823091927-c0d11ff05a81/go.mod h1:SX0U8uGpxhq9o2S/CELCSUxEWWAuoCUcVCQWv7G2OCk=
-github.com/go-lintpack/lintpack v0.5.2/go.mod h1:NwZuYi2nUHho8XEIZ6SIxihrnPoqBTDqfpXvXAN0sXM=
github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE=
github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk=
-github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A=
-github.com/go-logfmt/logfmt v0.5.1/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs=
github.com/go-logfmt/logfmt v0.6.0 h1:wGYYu3uicYdqXVgoYbvnkrPVXkuLM1p1ifugDMEdRi4=
github.com/go-logfmt/logfmt v0.6.0/go.mod h1:WYhtIu8zTZfxdn5+rREduYbwxfcBr/Vr6KEVveWlfTs=
-github.com/go-logr/logr v0.1.0/go.mod h1:ixOQHD9gLJUVQQ2ZOR7zLEifBX6tGkNJF4QyIY7sIas=
-github.com/go-logr/logr v0.2.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
-github.com/go-logr/logr v0.4.0/go.mod h1:z6/tIYblkpsD+a4lm/fGIIU9mZ+XfAiaFtq7xTgseGU=
-github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
-github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI=
-github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
-github.com/go-martini/martini v0.0.0-20170121215854-22fa46961aab/go.mod h1:/P9AEU963A2AYjv4d1V5eVL1CQbEJq6aCNHDDjibzu8=
-github.com/go-ole/go-ole v1.2.1/go.mod h1:7FAglXiTm7HKlQRDeOQ6ZNUHidzCWXuZWq/1dTyBNF8=
github.com/go-ole/go-ole v1.2.5/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
-github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0=
-github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg=
-github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
-github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg=
-github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg=
-github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc=
-github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8=
-github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg=
-github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc=
-github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo=
-github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I=
-github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
-github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk=
-github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ=
-github.com/go-pdf/fpdf v0.5.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M=
-github.com/go-pdf/fpdf v0.6.0/go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M=
-github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4=
-github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8=
-github.com/go-playground/locales v0.14.0/go.mod h1:sawfccIbzZTqEDETgFXqTho0QybSa7l++s0DH+LDiLs=
-github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA=
-github.com/go-playground/universal-translator v0.18.0/go.mod h1:UvRDBj+xPUEGrFYl+lu/H90nyDXpg0fqeB/AQUGNTVA=
-github.com/go-playground/validator/v10 v10.2.0/go.mod h1:uOYAAleCW8F/7oMFd6aG0GOhaH6EGOAJShg8Id5JGkI=
-github.com/go-playground/validator/v10 v10.10.0/go.mod h1:74x4gJWsvQexRdW8Pn3dXSGrTK4nAUsbPlLADvpJkos=
-github.com/go-playground/validator/v10 v10.11.1/go.mod h1:i+3WkQ1FvaUjjxh1kSvIA4dMGDBiPU55YFDl0WbKdWU=
-github.com/go-redis/redis v6.15.8+incompatible/go.mod h1:NAIEuMOZ/fxfXJIrKDQDz8wamY7mA7PouImQ2Jvg6kA=
-github.com/go-redis/redis/v8 v8.11.5/go.mod h1:gREzHqY1hg6oD9ngVRbLStwAWKhA0FEgq8Jd4h5lpwo=
-github.com/go-sql-driver/mysql v1.4.0/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
-github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w=
-github.com/go-sql-driver/mysql v1.5.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
-github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg=
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-stack/stack v1.8.1 h1:ntEHSVwIt7PNXNpgPmVfMrNhLtgjlmnZha2kOpuRiDw=
github.com/go-stack/stack v1.8.1/go.mod h1:dcoOX6HbPZSZptuspn9bctJ+N/CnF5gGygcUP3XYfe4=
-github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0/go.mod h1:fyg7847qk6SyHyPtNmDHnmrv/HOrqktSC+C9fM+CJOE=
-github.com/go-toolsmith/astcast v1.0.0/go.mod h1:mt2OdQTeAQcY4DQgPSArJjHCcOwlX+Wl/kwN+LbLGQ4=
-github.com/go-toolsmith/astcopy v1.0.0/go.mod h1:vrgyG+5Bxrnz4MZWPF+pI4R8h3qKRjjyvV/DSez4WVQ=
-github.com/go-toolsmith/astcopy v1.0.2/go.mod h1:4TcEdbElGc9twQEYpVo/aieIXfHhiuLh4aLAck6dO7Y=
-github.com/go-toolsmith/astequal v0.0.0-20180903214952-dcb477bfacd6/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY=
-github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY=
-github.com/go-toolsmith/astequal v1.0.2/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4=
-github.com/go-toolsmith/astequal v1.0.3/go.mod h1:9Ai4UglvtR+4up+bAD4+hCj7iTo4m/OXVTSLnCyTAx4=
-github.com/go-toolsmith/astfmt v0.0.0-20180903215011-8f8ee99c3086/go.mod h1:mP93XdblcopXwlyN4X4uodxXQhldPGZbcEJIimQHrkg=
-github.com/go-toolsmith/astfmt v1.0.0/go.mod h1:cnWmsOAuq4jJY6Ct5YWlVLmcmLMn1JUPuQIHCY7CJDw=
-github.com/go-toolsmith/astinfo v0.0.0-20180906194353-9809ff7efb21/go.mod h1:dDStQCHtmZpYOmjRP/8gHHnCCch3Zz3oEgCdZVdtweU=
-github.com/go-toolsmith/astp v0.0.0-20180903215135-0af7e3c24f30/go.mod h1:SV2ur98SGypH1UjcPpCatrV5hPazG6+IfNHbkDXBRrk=
-github.com/go-toolsmith/astp v1.0.0/go.mod h1:RSyrtpVlfTFGDYRbrjyWP1pYu//tSFcvdYrA8meBmLI=
-github.com/go-toolsmith/pkgload v0.0.0-20181119091011-e9e65178eee8/go.mod h1:WoMrjiy4zvdS+Bg6z9jZH82QXwkcgCBX6nOfnmdaHks=
-github.com/go-toolsmith/pkgload v1.0.0/go.mod h1:5eFArkbO80v7Z0kdngIxsRXRMTaX4Ilcwuh3clNrQJc=
-github.com/go-toolsmith/pkgload v1.0.2-0.20220101231613-e814995d17c5/go.mod h1:3NAwwmD4uY/yggRxoEjk/S00MIV3A+H7rrE3i87eYxM=
-github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8=
-github.com/go-toolsmith/typep v1.0.0/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU=
-github.com/go-toolsmith/typep v1.0.2/go.mod h1:JSQCQMUPdRlMZFswiq3TGpNp1GMktqkR2Ns5AIQkATU=
-github.com/go-xmlfmt/xmlfmt v0.0.0-20191208150333-d5b6f63a941b/go.mod h1:aUCEOzzezBEjDBbFBoSiya/gduyIiWYRP6CnSFIV8AM=
-github.com/go-zookeeper/zk v1.0.2/go.mod h1:nOB03cncLtlp4t+UAkGSV+9beXP/akpekBwL+UX1Qcw=
-github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
-github.com/gobwas/httphead v0.0.0-20180130184737-2c6c146eadee/go.mod h1:L0fX3K22YWvt/FAX9NnzrNzcI4wNYi9Yku4O0LKYflo=
-github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM=
-github.com/gobwas/pool v0.2.0/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
-github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw=
-github.com/gobwas/ws v1.0.2/go.mod h1:szmBTxLgaFppYjEmNtny/v3w89xOydFnnZMcgRRu/EM=
-github.com/gobwas/ws v1.1.0/go.mod h1:nzvNcVha5eUziGrbxFCo6qFIojQHjJV5cLYIbezhfL0=
-github.com/goccy/go-json v0.9.7/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
-github.com/goccy/go-json v0.9.11/go.mod h1:6MelG93GURQebXPDq3khkgXZkazVtN9CRI+MGFi0w8I=
-github.com/godbus/dbus v0.0.0-20151105175453-c7fdd8b5cd55/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw=
-github.com/godbus/dbus v0.0.0-20180201030542-885f9cc04c9c/go.mod h1:/YcGZj5zSblfDWMMoOzV4fas9FZnQYTkDnsGvmh2Grw=
-github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4=
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0=
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4=
-github.com/godbus/dbus/v5 v5.0.3/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
-github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
-github.com/godbus/dbus/v5 v5.0.6/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
-github.com/gofrs/flock v0.0.0-20190320160742-5135e617513b/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU=
-github.com/gofrs/flock v0.7.3/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU=
github.com/gofrs/flock v0.8.1 h1:+gYjHKf32LDeiEEFhQaotPbLuUXjY5ZqxKgXy7n59aw=
-github.com/gofrs/flock v0.8.1/go.mod h1:F1TvTiK9OcQqauNUHlbJvyl9Qa1QvF/gOUDKA14jxHU=
-github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
-github.com/gofrs/uuid v4.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gofrs/uuid v4.3.0+incompatible h1:CaSVZxm5B+7o45rtab4jC2G37WGYX1zQfuU2i6DSvnc=
github.com/gofrs/uuid v4.3.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
-github.com/gogo/googleapis v0.0.0-20180223154316-0cd9801be74a/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s=
-github.com/gogo/googleapis v1.1.0/go.mod h1:gf4bu3Q80BeJ6H1S1vYPm8/ELATdvryBaNFGgqEef3s=
-github.com/gogo/googleapis v1.2.0/go.mod h1:Njal3psf3qN6dwBtQfUmBZh2ybovJ0tlu3o/AC7HYjU=
-github.com/gogo/googleapis v1.3.2/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c=
-github.com/gogo/googleapis v1.4.0/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c=
-github.com/gogo/googleapis v1.4.1-0.20201022092350-68b0159b7869/go.mod h1:5YRNX2z1oM5gXdAkurHa942MDgEJyk02w4OecKY87+c=
github.com/gogo/googleapis v1.4.1 h1:1Yx4Myt7BxzvUr5ldGSbwYiZG6t9wGBZ+8/fX3Wvtq0=
-github.com/gogo/googleapis v1.4.1/go.mod h1:2lpHqI5OcWCtVElxXnPt+s8oJvMpySlOyM6xDCrzib4=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
-github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
-github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4=
-github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
-github.com/gogo/protobuf v1.3.0/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
-github.com/gogo/protobuf v1.3.1/go.mod h1:SlYgWuQ5SjCEi6WLHjHCa1yvBfUnHcTbrrZtXPKa29o=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
-github.com/gogo/status v1.1.0/go.mod h1:BFv9nrluPLmrS0EmGVvLaPNmRosr9KapBYd5/hpY1WM=
-github.com/golang-jwt/jwt v3.2.2+incompatible h1:IfV12K8xAKAnZqdXVzCZ+TOjboZ2keLg81eXfW3O+oY=
-github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzqecmYZeUEB8OUGHkxJ+I=
-github.com/golang-jwt/jwt/v4 v4.0.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
-github.com/golang-jwt/jwt/v4 v4.1.0/go.mod h1:/xlHOz8bRuivTWchD4jCa+NbatV+wEUSzwAxVc6locg=
github.com/golang-jwt/jwt/v4 v4.3.0 h1:kHL1vqdqWNfATmA0FNMdmZNMyZI1U6O31X4rlIPoBog=
-github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0=
-github.com/golang-sql/sqlexp v0.0.0-20170517235910-f1bb20e5a188/go.mod h1:vXjM/+wXQnTPR4KqTKDgJukSZ6amVRtWMPEjE6sQoK8=
-github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
-github.com/golang/glog v1.0.0/go.mod h1:EWib/APOK0SL3dFbYqvxE3UYd8E6s1ouQ7iEp/0LWV4=
github.com/golang/glog v1.1.0 h1:/d3pCKDPWNnvIWe0vVUpNP32qc8U3PDVxySP/y360qE=
github.com/golang/glog v1.1.0/go.mod h1:pfYeQZ3JWZoXTV5sFc986z3HTpwQs9At6P4ImfuP3NQ=
-github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/groupcache v0.0.0-20190129154638-5b532d6fd5ef/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
-github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
-github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/mock v1.3.1/go.mod h1:sBzyDLLjw3U8JLTeZvSv8jJB+tU5PVekmnlKIyFUx0Y=
@@ -1563,11 +297,7 @@ github.com/golang/mock v1.4.0/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt
github.com/golang/mock v1.4.1/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
github.com/golang/mock v1.4.3/go.mod h1:UOMv5ysSaYNkG+OFQykRIcU/QvvxJf3p21QfJ2Bt3cw=
github.com/golang/mock v1.4.4/go.mod h1:l3mdAwkq5BuhzHwde/uurv3sEJeZMXNpwsxVWU71h+4=
-github.com/golang/mock v1.5.0/go.mod h1:CWnOUgYIOo4TcNZ0wHX3YZCqsaM1I1Jvs6v3mP3KVu8=
github.com/golang/mock v1.6.0 h1:ErTB+efbowRARo13NNdxyJji2egdxLGQhRaY+DUumQc=
-github.com/golang/mock v1.6.0/go.mod h1:p6yTPP+5HYm5mzsMV8JkE6ZKdX+/wYM6Hr+LicevLPs=
-github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.1.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.0/go.mod h1:Qd/q+1AKNOZr9uGQzbzCmRO6sUih6GTPZv6a1/R87v0=
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@@ -1584,50 +314,15 @@ github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QD
github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
-github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
-github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/golang/protobuf v1.5.3 h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=
github.com/golang/protobuf v1.5.3/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
-github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM=
github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
-github.com/golangci/check v0.0.0-20180506172741-cfe4005ccda2/go.mod h1:k9Qvh+8juN+UKMCS/3jFtGICgW8O96FVaZsaxdzDkR4=
-github.com/golangci/dupl v0.0.0-20180902072040-3e9179ac440a/go.mod h1:ryS0uhF+x9jgbj/N71xsEqODy9BN81/GonCZiOzirOk=
-github.com/golangci/errcheck v0.0.0-20181223084120-ef45e06d44b6/go.mod h1:DbHgvLiFKX1Sh2T1w8Q/h4NAI8MHIpzCdnBUDTXU3I0=
-github.com/golangci/go-misc v0.0.0-20180628070357-927a3d87b613/go.mod h1:SyvUF2NxV+sN8upjjeVYr5W7tyxaT1JVtvhKhOn2ii8=
-github.com/golangci/go-misc v0.0.0-20220329215616-d24fe342adfe/go.mod h1:gjqyPShc/m8pEMpk0a3SeagVb0kaqvhscv+i9jI5ZhQ=
-github.com/golangci/goconst v0.0.0-20180610141641-041c5f2b40f3/go.mod h1:JXrF4TWy4tXYn62/9x8Wm/K/dm06p8tCKwFRDPZG/1o=
-github.com/golangci/gocyclo v0.0.0-20180528134321-2becd97e67ee/go.mod h1:ozx7R9SIwqmqf5pRP90DhR2Oay2UIjGuKheCBCNwAYU=
-github.com/golangci/gocyclo v0.0.0-20180528144436-0a533e8fa43d/go.mod h1:ozx7R9SIwqmqf5pRP90DhR2Oay2UIjGuKheCBCNwAYU=
-github.com/golangci/gofmt v0.0.0-20190930125516-244bba706f1a/go.mod h1:9qCChq59u/eW8im404Q2WWTrnBUQKjpNYKMbU4M7EFU=
-github.com/golangci/gofmt v0.0.0-20220901101216-f2edd75033f2/go.mod h1:9wOXstvyDRshQ9LggQuzBCGysxs3b6Uo/1MvYCR2NMs=
-github.com/golangci/golangci-lint v1.23.7/go.mod h1:g/38bxfhp4rI7zeWSxcdIeHTQGS58TCak8FYcyCmavQ=
-github.com/golangci/golangci-lint v1.27.0/go.mod h1:+eZALfxIuthdrHPtfM7w/R3POJLjHDfJJw8XZl9xOng=
-github.com/golangci/golangci-lint v1.50.1/go.mod h1:AQjHBopYS//oB8xs0y0M/dtxdKHkdhl0RvmjUct0/4w=
-github.com/golangci/ineffassign v0.0.0-20190609212857-42439a7714cc/go.mod h1:e5tpTHCfVze+7EpLEozzMB3eafxo2KT5veNg1k6byQU=
-github.com/golangci/lint-1 v0.0.0-20191013205115-297bf364a8e0/go.mod h1:66R6K6P6VWk9I95jvqGxkqJxVWGFy9XlDwLwVz1RCFg=
-github.com/golangci/maligned v0.0.0-20180506175553-b1d89398deca/go.mod h1:tvlJhZqDe4LMs4ZHD0oMUlt9G2LWuDGoisJTBzLMV9o=
-github.com/golangci/misspell v0.0.0-20180809174111-950f5d19e770/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA=
-github.com/golangci/misspell v0.3.5/go.mod h1:dEbvlSfYbMQDtrpRMQU675gSDLDNa8sCPPChZ7PhiVA=
-github.com/golangci/prealloc v0.0.0-20180630174525-215b22d4de21/go.mod h1:tf5+bzsHdTM0bsB7+8mt0GUMvjCgwLpTapNZHU8AajI=
-github.com/golangci/revgrep v0.0.0-20180526074752-d9c87f5ffaf0/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4=
-github.com/golangci/revgrep v0.0.0-20180812185044-276a5c0a1039/go.mod h1:qOQCunEYvmd/TLamH+7LlVccLvUH5kZNhbCgTHoBbp4=
-github.com/golangci/revgrep v0.0.0-20220804021717-745bb2f7c2e6/go.mod h1:0AKcRCkMoKvUvlf89F6O7H2LYdhr1zBh736mBItOdRs=
-github.com/golangci/unconvert v0.0.0-20180507085042-28b1c447d1f4/go.mod h1:Izgrg8RkN3rCIMLGE9CyYmU9pY2Jer6DgANEnZ/L/cQ=
-github.com/gomodule/redigo v1.7.1-0.20190724094224-574c33c3df38/go.mod h1:B4C85qUVwatsJoIUNIfCRsp7qO0iAmpGFZ4EELWSbC4=
-github.com/google/btree v0.0.0-20180124185431-e89373fe6b4a/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
-github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA=
github.com/google/btree v1.1.2 h1:xf4v41cLI2Z6FxbKm+8Bu+m8ifhj15JuZ9sa0jZCMUU=
github.com/google/btree v1.1.2/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4=
-github.com/google/certificate-transparency-go v1.0.21/go.mod h1:QeJfpSbVSfYc7RgB3gJFj9cbuQMMchQxrWXz8Ruopmg=
-github.com/google/certificate-transparency-go v1.1.1/go.mod h1:FDKqPvSXawb2ecErVRrD+nfy23RCzyl7eqVCEmlT1Zs=
-github.com/google/crfs v0.0.0-20191108021818-71d77da419c9/go.mod h1:etGhoOqfwPkooV6aqoX3eBGQOJblqdoc9XvWOeuxpPw=
-github.com/google/flatbuffers v1.12.1/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8=
-github.com/google/flatbuffers v2.0.0+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8=
-github.com/google/flatbuffers v2.0.8+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
@@ -1636,159 +331,47 @@ github.com/google/go-cmp v0.4.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.4/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.7/go.mod h1:n+brtR0CgQNWTVd5ZUFpTBC8YFBDLK/h/bpaJ8/DtOE=
-github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
-github.com/google/go-containerregistry v0.0.0-20191010200024-a3d713f9b7f8/go.mod h1:KyKXa9ciM8+lgMXwOVsXi7UxGrsf9mM61Mzs+xKUrKE=
-github.com/google/go-containerregistry v0.1.2/go.mod h1:GPivBPgdAyd2SU+vf6EpsgOtWDuPqjW0hJZt4rNdTZ4=
-github.com/google/go-containerregistry v0.5.1/go.mod h1:Ct15B4yir3PLOP5jsy0GNeYVaIZs/MK/Jz5any1wFW0=
-github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ=
-github.com/google/go-github/v28 v28.1.1/go.mod h1:bsqJWQX05omyWVmc00nEUql9mhQyv38lDZ8kPZcQVoM=
-github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
-github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
-github.com/google/go-replayers/grpcreplay v0.1.0/go.mod h1:8Ig2Idjpr6gifRd6pNVggX6TC1Zw6Jx74AKp7QNH2QE=
-github.com/google/go-replayers/httpreplay v0.1.0/go.mod h1:YKZViNhiGgqdBlUbI2MwGpq4pXxNmhJLPHQ7cv2b5no=
-github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
github.com/google/gofuzz v0.0.0-20170612174753-24818f796faf/go.mod h1:HP5RmnzzSNb993RKQDq4+1A4ia9nllfqcQFTQJedwGI=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
-github.com/google/gofuzz v1.1.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
-github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
-github.com/google/martian v2.1.1-0.20190517191504-25dcb96d9e51+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
github.com/google/martian/v3 v3.0.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
github.com/google/martian/v3 v3.1.0/go.mod h1:y5Zk1BBys9G+gd6Jrk0W3cC1+ELVxBWuIGO+w/tUAp0=
-github.com/google/martian/v3 v3.2.1/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
-github.com/google/martian/v3 v3.3.2/go.mod h1:oBOf6HBosgwRXnUGWUB05QECsc6uvmMiJ3+6W4l/CUk=
github.com/google/orderedcode v0.0.1 h1:UzfcAexk9Vhv8+9pNOgRu41f16lHq725vPwnSeiG/Us=
-github.com/google/orderedcode v0.0.1/go.mod h1:iVyU4/qPKHY5h/wSd6rZZCDcLJNxiWO6dvsYES2Sb20=
github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
-github.com/google/pprof v0.0.0-20200507031123-427632fa3b1c/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod h1:ZgVRPoUq/hfqzAqh7sHMqb3I9Rq5C59dIz2SbBwJ4eM=
github.com/google/pprof v0.0.0-20201023163331-3e6fc7fc9c4c/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20201203190320-1bf35d6f28c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/pprof v0.0.0-20201218002935-b9804c9f04c2/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
-github.com/google/pprof v0.0.0-20210122040257-d980be63207e/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
-github.com/google/pprof v0.0.0-20210226084205-cbba55b83ad5/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
-github.com/google/pprof v0.0.0-20210407192527-94a9f03dee38/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
-github.com/google/pprof v0.0.0-20210601050228-01bbb1931b22/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
-github.com/google/pprof v0.0.0-20210609004039-a478d1d731e9/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
-github.com/google/pprof v0.0.0-20210720184732-4bb14d4b1be1/go.mod h1:kpwsk12EmLew5upagYY7GY0pfYCcupk39gWOCRROcvE=
github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI=
-github.com/google/rpmpack v0.0.0-20191226140753-aa36bfddb3a0/go.mod h1:RaTPr0KUf2K7fnZYLNDrr8rxAamWs3iNywJLtQ2AzBg=
-github.com/google/s2a-go v0.1.3 h1:FAgZmpLl/SXurPEZyCMPBIiiYeTbqfjlbdnCNTAkbGE=
-github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
-github.com/google/subcommands v1.0.1/go.mod h1:ZjhPrFU+Olkh9WazFPsl27BQ4UPiG37m3yTrtFlrHVk=
-github.com/google/trillian v1.3.11/go.mod h1:0tPraVHrSDkA3BO6vKX67zgLXs6SsOAbHEivX+9mPgw=
-github.com/google/uuid v0.0.0-20161128191214-064e2069ce9c/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
+github.com/google/s2a-go v0.1.4 h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/google/uuid v1.2.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
-github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
-github.com/google/wire v0.3.0/go.mod h1:i1DMg/Lu8Sz5yYl25iOdmc5CT5qusaa+zmRWs16741s=
-github.com/google/wire v0.4.0/go.mod h1:ngWDr9Qvq3yZA10YrxfyGELY/AFWGVpy9c1LTRi1EoU=
-github.com/googleapis/enterprise-certificate-proxy v0.0.0-20220520183353-fd19c99a87aa/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
-github.com/googleapis/enterprise-certificate-proxy v0.1.0/go.mod h1:17drOmN3MwGY7t0e+Ei9b45FFGA3fBs3x36SsCg1hq8=
-github.com/googleapis/enterprise-certificate-proxy v0.2.0/go.mod h1:8C0jb7/mgJe/9KK8Lm7X9ctZC2t60YyIpYEI16jx0Qg=
-github.com/googleapis/enterprise-certificate-proxy v0.2.1/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k=
+github.com/google/uuid v1.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4=
+github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/googleapis/enterprise-certificate-proxy v0.2.3 h1:yk9/cqRKtT9wXZSsRH9aurXEpJX+U6FLtpYTdC3R06k=
-github.com/googleapis/enterprise-certificate-proxy v0.2.3/go.mod h1:AwSRAtLfXpU5Nm3pW+v7rGDHp09LsPtGY9MduiEsR9k=
-github.com/googleapis/gax-go v2.0.0+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY=
-github.com/googleapis/gax-go v2.0.2+incompatible h1:silFMLAnr330+NRuag/VjIGF7TLp/LBrV2CJKFLWEww=
-github.com/googleapis/gax-go v2.0.2+incompatible/go.mod h1:SFVmujtThgffbyetf+mdk2eWhX2bMyUtNHzFKcPA9HY=
github.com/googleapis/gax-go/v2 v2.0.4/go.mod h1:0Wqv26UfaUD9n4G6kQubkQ+KchISgw+vpHVxEJEs9eg=
github.com/googleapis/gax-go/v2 v2.0.5/go.mod h1:DWXyrwAJ9X0FpwwEdw+IPEYBICEFu5mhpdKc/us6bOk=
-github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pfu6SK+H1/DsU0=
-github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM=
-github.com/googleapis/gax-go/v2 v2.2.0/go.mod h1:as02EH8zWkzwUoLbBaFeQ+arQaj/OthfcblKl4IGNaM=
-github.com/googleapis/gax-go/v2 v2.3.0/go.mod h1:b8LNqSzNabLiUpXKkY7HAR5jr6bIT99EXz9pXxye9YM=
-github.com/googleapis/gax-go/v2 v2.4.0/go.mod h1:XOTVJ59hdnfJLIP/dh8n5CGryZR2LxK9wbMD5+iXC6c=
-github.com/googleapis/gax-go/v2 v2.5.1/go.mod h1:h6B0KMMFNtI2ddbGJn3T3ZbwkeT6yqEF02fYlzkUCyo=
-github.com/googleapis/gax-go/v2 v2.6.0/go.mod h1:1mjbznJAPHFpesgE5ucqfYEscaz5kMdcIDwU/6+DDoY=
-github.com/googleapis/gax-go/v2 v2.7.0/go.mod h1:TEop28CZZQ2y+c0VxMUmu1lV+fQx57QpBWsYpwqHJx8=
-github.com/googleapis/gax-go/v2 v2.8.0 h1:UBtEZqx1bjXtOQ5BVTkuYghXrr3N4V123VKJK67vJZc=
-github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
-github.com/googleapis/gnostic v0.2.2/go.mod h1:sJBsCZ4ayReDTBIg8b9dl28c5xFWyhBTVRp3pOg5EKY=
-github.com/googleapis/gnostic v0.4.1/go.mod h1:LRhVm6pbyptWbWbuZ38d1eyptfvIytN3ir6b65WBswg=
-github.com/googleapis/gnostic v0.5.1/go.mod h1:6U4PtQXGIEt/Z3h5MAT7FNofLnw9vXk2cUuW7uA/OeU=
-github.com/googleapis/gnostic v0.5.5/go.mod h1:7+EbHbldMins07ALC74bsA81Ovc97DwqyJO1AENw9kA=
-github.com/googleapis/go-type-adapters v1.0.0/go.mod h1:zHW75FOG2aur7gAO2B+MLby+cLsWGBF62rFAi7WjWO4=
+github.com/googleapis/gax-go/v2 v2.11.0 h1:9V9PWXEsWnPpQhu/PeQIkS4eGzMlTLGgt80cUUI8Ki4=
github.com/googleapis/google-cloud-go-testing v0.0.0-20200911160855-bcd43fbb19e8/go.mod h1:dvDLG8qkwmyD9a/MJJN3XJcT3xFxOKAvTZGvuZmac9g=
-github.com/gookit/color v1.2.4/go.mod h1:AhIE+pS6D4Ql0SQWbBeXPHw7gY0/sjHoA4s/n1KB7xg=
-github.com/gookit/color v1.5.1/go.mod h1:wZFzea4X8qN6vHOSP2apMb4/+w/orMznEzYsIHPaqKM=
-github.com/gophercloud/gophercloud v0.1.0/go.mod h1:vxM41WHh5uqHVBMZHzuwNOHh8XEoIEcSTewFxm1c5g8=
-github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
-github.com/gopherjs/gopherjs v1.17.2/go.mod h1:pRRIvn/QzFLrKfvEz3qUuEhtE/zLCWfreZ6J5gM2i+k=
-github.com/gordonklaus/ineffassign v0.0.0-20200309095847-7953dde2c7bf/go.mod h1:cuNKsD1zp2v6XfE/orVX2QE1LC+i254ceGcVeDT3pTU=
-github.com/gordonklaus/ineffassign v0.0.0-20210914165742-4cc7213b9bc8/go.mod h1:Qcp2HIAYhR7mNUVSIxZww3Guk4it82ghYcEXIAk+QT0=
-github.com/goreleaser/goreleaser v0.136.0/go.mod h1:wiKrPUeSNh6Wu8nUHxZydSOVQ/OZvOaO7DTtFqie904=
-github.com/goreleaser/nfpm v1.2.1/go.mod h1:TtWrABZozuLOttX2uDlYyECfQX7x5XYkVxhjYcR6G9w=
-github.com/goreleaser/nfpm v1.3.0/go.mod h1:w0p7Kc9TAUgWMyrub63ex3M2Mgw88M4GZXoTq5UCb40=
-github.com/gorhill/cronexpr v0.0.0-20180427100037-88b0669f7d75/go.mod h1:g2644b03hfBX9Ov0ZBDgXXens4rxSxmqFBbhvKv2yVA=
-github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
-github.com/gorilla/css v1.0.0/go.mod h1:Dn721qIggHpt4+EFCcTLTU/vk5ySda2ReITrtgBl60c=
-github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod h1:Qkdc/uu4tH4g6mTK6auzZ766c4CA0Ng8+o/OAirnOIQ=
github.com/gorilla/handlers v1.5.1 h1:9lRY6j8DEeeBT10CvO9hGW0gmky0BprnvDI5vfhUHH4=
-github.com/gorilla/handlers v1.5.1/go.mod h1:t8XrUpc4KVXb7HGyJ4/cEnwQiaxrX/hz1Zv/4g96P1Q=
-github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
-github.com/gorilla/mux v1.7.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
-github.com/gorilla/mux v1.7.3/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
-github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
-github.com/gorilla/securecookie v1.1.1/go.mod h1:ra0sb63/xPlUeL+yeDciTfxMRAA+MP+HVt/4epWDjd4=
-github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
-github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
-github.com/gorilla/websocket v1.4.1/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
-github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc=
github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
-github.com/gostaticanalysis/analysisutil v0.0.0-20190318220348-4088753ea4d3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE=
-github.com/gostaticanalysis/analysisutil v0.0.3/go.mod h1:eEOZF4jCKGi+aprrirO9e7WKB3beBRtWgqGunKl6pKE=
-github.com/gostaticanalysis/analysisutil v0.1.0/go.mod h1:dMhHRU9KTiDcuLGdy87/2gTR8WruwYZrKdRq9m1O6uw=
-github.com/gostaticanalysis/analysisutil v0.4.1/go.mod h1:18U/DLpRgIUd459wGxVHE0fRgmo1UgHDcbw7F5idXu0=
-github.com/gostaticanalysis/analysisutil v0.7.1/go.mod h1:v21E3hY37WKMGSnbsw2S/ojApNWb6C1//mXO48CXbVc=
-github.com/gostaticanalysis/comment v1.3.0/go.mod h1:xMicKDx7XRXYdVwY9f9wQpDJVnqWxw9wCauCMKp+IBI=
-github.com/gostaticanalysis/comment v1.4.1/go.mod h1:ih6ZxzTHLdadaiSnF5WY3dxUoXfXAlTaRzuaNDlSado=
-github.com/gostaticanalysis/comment v1.4.2/go.mod h1:KLUTGDv6HOCotCH8h2erHKmpci2ZoR8VPu34YA2uzdM=
-github.com/gostaticanalysis/forcetypeassert v0.1.0/go.mod h1:qZEedyP/sY1lTGV1uJ3VhWZ2mqag3IkWsDHVbplHXak=
-github.com/gostaticanalysis/nilerr v0.1.1/go.mod h1:wZYb6YI5YAxxq0i1+VJbY0s2YONW0HU0GPE3+5PWN4A=
-github.com/gostaticanalysis/testutil v0.3.1-0.20210208050101-bfb5c8eec0e4/go.mod h1:D+FIZ+7OahH3ePw/izIEeH5I06eKs1IKI4Xr64/Am3M=
-github.com/gostaticanalysis/testutil v0.4.0/go.mod h1:bLIoPefWXrRi/ssLFWX1dx7Repi5x3CuviD3dgAZaBU=
-github.com/gotestyourself/gotestyourself v2.2.0+incompatible/go.mod h1:zZKM6oeNM8k+FRljX1mnzVYeS8wiGgQyvST1/GafPbY=
-github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
-github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
-github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
-github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs=
-github.com/grpc-ecosystem/go-grpc-middleware v1.2.0/go.mod h1:mJzapYve32yjrKlk9GbyCZHuPgZsrbyIbyKhSzOpg6s=
-github.com/grpc-ecosystem/go-grpc-middleware v1.2.2/go.mod h1:EaizFBKfUKtMIF5iaDEhniwNedqGo9FuLFzppDr3uwI=
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 h1:+9834+KizmvFV7pXQGSXQTsaWhq2GjuNUt0aUU0YBYw=
github.com/grpc-ecosystem/go-grpc-middleware v1.3.0/go.mod h1:z0ButlSOZa5vEBq9m2m2hlwIgKw+rp3sdCBRoJY+30Y=
-github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk=
-github.com/grpc-ecosystem/grpc-gateway v1.5.0/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw=
-github.com/grpc-ecosystem/grpc-gateway v1.6.2/go.mod h1:RSKVYQBd5MCa4OVpNdGskqpgL2+G+NZTnrVHpWWfpdw=
-github.com/grpc-ecosystem/grpc-gateway v1.8.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
-github.com/grpc-ecosystem/grpc-gateway v1.9.0/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
-github.com/grpc-ecosystem/grpc-gateway v1.9.2/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
-github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY=
-github.com/grpc-ecosystem/grpc-gateway v1.12.1/go.mod h1:8XEsbTttt/W+VvjtQhLACqCisSPWTxCZ7sBRjU6iH9c=
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
-github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0/go.mod h1:hgWBS7lorOAVIJEQMi4ZsPv9hVvWI6+ch50m39Pf2Ks=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 h1:lLT7ZLSzGLI08vc9cpd+tYmNWjdKDqyr/2L+f6U12Fk=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3/go.mod h1:o//XUCC/F+yRGJoPO/VU0GSB0f8Nhgmxx0VIRUvaC0w=
-github.com/grpc-ecosystem/grpc-opentracing v0.0.0-20180507213350-8e809c8a8645/go.mod h1:6iZfnjpejD4L/4DwD7NryNaJyCQdzwWwH2MWhCA90Kw=
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c h1:6rhixN/i8ZofjG1Y75iExal34USq5p+wiN1tpie8IrU=
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c/go.mod h1:NMPJylDgVpX0MLRlPy15sqSwOFv/U1GZ2m21JhFfek0=
github.com/gtank/merlin v0.1.1-0.20191105220539-8318aed1a79f/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s=
@@ -1796,93 +379,27 @@ github.com/gtank/merlin v0.1.1 h1:eQ90iG7K9pOhtereWsmyRJ6RAwcP4tHTDBHXNg+u5is=
github.com/gtank/merlin v0.1.1/go.mod h1:T86dnYJhcGOh5BjZFCJWTDeTK7XW8uE+E21Cy/bIQ+s=
github.com/gtank/ristretto255 v0.1.2 h1:JEqUCPA1NvLq5DwYtuzigd7ss8fwbYay9fi4/5uMzcc=
github.com/gtank/ristretto255 v0.1.2/go.mod h1:Ph5OpO6c7xKUGROZfWVLiJf9icMDwUeIvY4OmlYW69o=
-github.com/hanwen/go-fuse v1.0.0/go.mod h1:unqXarDXqzAk0rt98O2tVndEPIpUgLD9+rwFisZH3Ok=
-github.com/hanwen/go-fuse/v2 v2.0.3/go.mod h1:0EQM6aH2ctVpvZ6a+onrQ/vaykxh2GH7hy3e13vzTUY=
-github.com/hanwen/go-fuse/v2 v2.1.1-0.20220112183258-f57e95bda82d/go.mod h1:B1nGE/6RBFyBRC1RRnf23UpwCdyJ31eukw34oAKukAc=
-github.com/hashicorp/consul/api v1.1.0/go.mod h1:VmuI/Lkw1nC05EYQWNKwWGbkg+FbDBtguAZLlVdkD9Q=
-github.com/hashicorp/consul/api v1.3.0/go.mod h1:MmDNSzIMUjNpY/mQ398R4bk2FnqQLoPndWW5VkKPlCE=
-github.com/hashicorp/consul/api v1.10.1/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M=
-github.com/hashicorp/consul/api v1.11.0/go.mod h1:XjsvQN+RJGWI2TWy1/kqaE16HrR2J/FWgkYjdZQsX9M=
-github.com/hashicorp/consul/api v1.12.0/go.mod h1:6pVBMo0ebnYdt2S3H87XhekM/HHrUoTD2XXb/VrZVy0=
-github.com/hashicorp/consul/api v1.15.3/go.mod h1:/g/qgcoBcEXALCNZgRRisyTW0nY86++L0KbeAMXYCeY=
-github.com/hashicorp/consul/sdk v0.1.1/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
-github.com/hashicorp/consul/sdk v0.3.0/go.mod h1:VKf9jXwCTEY1QZP2MOLRhb5i/I/ssyNV1vwHyQBF0x8=
-github.com/hashicorp/consul/sdk v0.8.0/go.mod h1:GBvyrGALthsZObzUGsfgHZQDXjg4lOjagTIwIR1vPms=
-github.com/hashicorp/consul/sdk v0.11.0/go.mod h1:yPkX5Q6CsxTFMjQQDJwzeNmUUF5NUGGbrDsv9wTb8cw=
-github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
-github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
-github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/go-bexpr v0.1.10 h1:9kuI5PFotCboP3dkDYFr/wi0gg0QVbSNz5oFRpxn4uE=
github.com/hashicorp/go-cleanhttp v0.5.0/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
-github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80=
github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ=
-github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48=
github.com/hashicorp/go-getter v1.7.1 h1:SWiSWN/42qdpR0MdhaOc/bLR48PLuP1ZQtYLRlM69uY=
-github.com/hashicorp/go-getter v1.7.1/go.mod h1:W7TalhMmbPmsSMdNjD0ZskARur/9GJ17cfHTRtXV744=
-github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ=
-github.com/hashicorp/go-hclog v0.12.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
-github.com/hashicorp/go-hclog v0.14.1/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
-github.com/hashicorp/go-hclog v0.16.2/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
-github.com/hashicorp/go-hclog v1.0.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
-github.com/hashicorp/go-hclog v1.2.0/go.mod h1:whpDNt7SSdeAju8AWKIWsul05p54N/39EeqMAyrmvFQ=
github.com/hashicorp/go-immutable-radix v1.0.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
-github.com/hashicorp/go-immutable-radix v1.3.0/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
github.com/hashicorp/go-immutable-radix v1.3.1 h1:DKHmCUm2hRBK510BaiZlwvpD40f8bJFeZnpfm2KLowc=
github.com/hashicorp/go-immutable-radix v1.3.1/go.mod h1:0y9vanUI8NX6FsYoO3zeMjhV/C5i9g4Q3DwcSNZ4P60=
-github.com/hashicorp/go-msgpack v0.5.3/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
-github.com/hashicorp/go-msgpack v0.5.5/go.mod h1:ahLV/dePpqEmjfWmKiqvPkv/twdG7iPBM1vqhUKIvfM=
-github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod h1:JMRHfdO9jKNzS/+BTlxCjKNQHg/jZAft8U7LloJvN7I=
-github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk=
-github.com/hashicorp/go-multierror v1.1.0/go.mod h1:spPvp8C1qA32ftKqdAHm4hHTbPw+vmowP0z+KUhOZdA=
-github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM=
github.com/hashicorp/go-retryablehttp v0.5.3/go.mod h1:9B5zBasrRhHXnJnui7y6sL7es7NDiJgTc6Er0maI1Xs=
-github.com/hashicorp/go-retryablehttp v0.6.4/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
-github.com/hashicorp/go-retryablehttp v0.6.6/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
-github.com/hashicorp/go-retryablehttp v0.7.0/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY=
-github.com/hashicorp/go-rootcerts v1.0.0/go.mod h1:K6zTfqpRlCUIjkwsN4Z+hiSfzSTQa6eBIzfwKfwNnHU=
-github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8=
github.com/hashicorp/go-safetemp v1.0.0 h1:2HR189eFNrjHQyENnQMMpCiBAsRxzbTMIgBhEyExpmo=
-github.com/hashicorp/go-safetemp v1.0.0/go.mod h1:oaerMy3BhqiTbVye6QuFhFtIceqFoDHxNAB65b+Rj1I=
-github.com/hashicorp/go-sockaddr v1.0.0/go.mod h1:7Xibr9yA9JjQq1JpNB2Vw7kxv8xerXegt+ozgdvDeDU=
-github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A=
-github.com/hashicorp/go-syslog v1.0.0/go.mod h1:qPfqrKkXGihmCqbJM2mZgkZGvKG1dFdvsLplgctolz4=
+github.com/hashicorp/go-uuid v1.0.0 h1:RS8zrF7PhGwyNPOtxSClXXj9HA8feRnJzgnI1RJCSnM=
github.com/hashicorp/go-uuid v1.0.0/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
-github.com/hashicorp/go-uuid v1.0.1/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
-github.com/hashicorp/go-uuid v1.0.2 h1:cfejS+Tpcp13yd5nYHWDI6qVCny6wyX2Mt5SGur2IGE=
-github.com/hashicorp/go-uuid v1.0.2/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro=
-github.com/hashicorp/go-version v1.2.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
-github.com/hashicorp/go-version v1.2.1/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mOkIeek=
-github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA=
-github.com/hashicorp/go.net v0.0.1/go.mod h1:hjKkEWcCURg++eb33jQU7oqQcI9XDCnUzHA0oac0k90=
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
-github.com/hashicorp/golang-lru v0.5.3/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
-github.com/hashicorp/golang-lru v0.5.4/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d h1:dg1dEPuWpEqDnvIw251EVy4zlP8gWbsGj4BsUKCRpYs=
github.com/hashicorp/golang-lru v0.5.5-0.20210104140557-80c98217689d/go.mod h1:iADmTwqILo4mZ8BN3D2Q6+9jd8WM5uGBxy+E8yxSoD4=
github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4=
github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ=
-github.com/hashicorp/logutils v1.0.0/go.mod h1:QIAnNjmIWmVIIkWDTG1z5v++HQmx9WQRO+LraFDTW64=
-github.com/hashicorp/mdns v1.0.0/go.mod h1:tL+uN++7HEJ6SQLQ2/p+z2pH24WQKWjBPkE0mNTz8vQ=
-github.com/hashicorp/mdns v1.0.1/go.mod h1:4gW7WsVCke5TE7EPeYliwHlRUyBtfCwuFwuMg2DmyNY=
-github.com/hashicorp/mdns v1.0.4/go.mod h1:mtBihi+LeNXGtG8L9dX59gAEa12BDtBQSp4v/YAJqrc=
-github.com/hashicorp/memberlist v0.1.3/go.mod h1:ajVTdAv/9Im8oMAAj5G31PhhMCZJV2pPBoIllUwCN7I=
-github.com/hashicorp/memberlist v0.2.2/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
-github.com/hashicorp/memberlist v0.3.0/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
-github.com/hashicorp/memberlist v0.3.1/go.mod h1:MS2lj3INKhZjWNqd3N0m3J+Jxf3DAOnAH9VT3Sh9MUE=
-github.com/hashicorp/serf v0.8.2/go.mod h1:6hOLApaqBFA1NXqRQAsxw9QxuDEvNxSQRwA/JwenrHc=
-github.com/hashicorp/serf v0.9.5/go.mod h1:UWDWwZeL5cuWDJdl0C6wrvrUwEqtQ4ZKBKKENpqIUyk=
-github.com/hashicorp/serf v0.9.6/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4=
-github.com/hashicorp/serf v0.9.7/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4=
-github.com/hashicorp/serf v0.9.8/go.mod h1:TXZNMjZQijwlDvp+r0b63xZ45H7JmCmgg4gpTwn9UV4=
-github.com/hashicorp/uuid v0.0.0-20160311170451-ebb0a03e909c/go.mod h1:fHzc09UnyJyqyW+bFuq864eh+wC7dj65aXmXLRe5to0=
-github.com/hdevalence/ed25519consensus v0.0.0-20220222234857-c00d1f31bab3/go.mod h1:5PC6ZNPde8bBqU/ewGZig35+UIZtw9Ytxez8/q5ZyFE=
github.com/hdevalence/ed25519consensus v0.1.0 h1:jtBwzzcHuTmFrQN6xQZn6CQEO/V9f7HsjsjeEZ6auqU=
github.com/hdevalence/ed25519consensus v0.1.0/go.mod h1:w3BHWjwJbFU29IRHL1Iqkw3sus+7FctEyM4RqDxYNzo=
-github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
github.com/holiman/bloomfilter/v2 v2.0.3 h1:73e0e/V0tCydx14a0SCYS/EWCxgwLZ18CZcZKVu0fao=
-github.com/holiman/bloomfilter/v2 v2.0.3/go.mod h1:zpoh+gs7qcpqrHr3dB55AMiJwo0iURXE7ZOP9L9hSkA=
github.com/holiman/uint256 v1.2.2 h1:TXKcSGc2WaxPD2+bmzAsVthL4+pEN0YwXcL5qED83vk=
github.com/holiman/uint256 v1.2.2/go.mod h1:SC8Ryt4n+UBbPbIBKaG9zbbDlp4jOru9xFZmPzLUTxw=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
@@ -1890,877 +407,193 @@ github.com/huandu/go-assert v1.1.5 h1:fjemmA7sSfYHJD7CUqs9qTwwfdNAx7/j2/ZlHXzNB3
github.com/huandu/go-assert v1.1.5/go.mod h1:yOLvuqZwmcHIC5rIzrBhT7D3Q9c3GFnd0JrPVhn/06U=
github.com/huandu/skiplist v1.2.0 h1:gox56QD77HzSC0w+Ws3MH3iie755GBJU1OER3h5VsYw=
github.com/huandu/skiplist v1.2.0/go.mod h1:7v3iFjLcSAzO4fN5B8dvebvo/qsfumiLiDXMrPiHF9w=
-github.com/huandu/xstrings v1.0.0/go.mod h1:4qWG/gcEcfX4z/mBDHJ++3ReCw9ibxbsNJbcucJdbSo=
-github.com/huandu/xstrings v1.2.0/go.mod h1:DvyZB1rfVYsBIigL8HwpZgxHwXozlTgGqn63UyNX5k4=
-github.com/hudl/fargo v1.3.0/go.mod h1:y3CKSmjA+wD2gak7sUSXTAoopbhU08POFhmITJgmKTg=
-github.com/hudl/fargo v1.4.0/go.mod h1:9Ai6uvFy5fQNq6VPKtg+Ceq1+eTY4nKUlR2JElEOcDo=
github.com/huin/goupnp v1.0.3 h1:N8No57ls+MnjlB+JPiCVSOyy/ot7MJTqlo7rn+NYSqQ=
-github.com/hydrogen18/memlistener v0.0.0-20141126152155-54553eb933fb/go.mod h1:qEIFzExnS6016fRpRfxrExeVn2gbClQA99gQhnIcdhE=
-github.com/hydrogen18/memlistener v0.0.0-20200120041712-dcc25e7acd91/go.mod h1:qEIFzExnS6016fRpRfxrExeVn2gbClQA99gQhnIcdhE=
-github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
github.com/ianlancetaylor/demangle v0.0.0-20200824232613-28f6c0f3b639/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc=
-github.com/imdario/mergo v0.3.4/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
-github.com/imdario/mergo v0.3.5/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
-github.com/imdario/mergo v0.3.8/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
-github.com/imdario/mergo v0.3.9/go.mod h1:2EnlNZ0deacrJVfApfmtdGgDfMuh/nq6Ok1EcJh5FfA=
-github.com/imdario/mergo v0.3.10/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
-github.com/imdario/mergo v0.3.11/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
-github.com/imdario/mergo v0.3.12/go.mod h1:jmQim1M+e3UYxmgPu/WyfjB3N3VflVyUjjjwH0dnCYA=
-github.com/imdario/mergo v0.3.13/go.mod h1:4lJ1jqUDcsbIECGy0RUJAXNIhg+6ocWgb1ALK2O4oXg=
-github.com/imkira/go-interpol v1.1.0/go.mod h1:z0h2/2T3XF8kyEPpRgJ3kmNv+C43p+I/CoI+jC3w2iA=
github.com/improbable-eng/grpc-web v0.15.0 h1:BN+7z6uNXZ1tQGcNAuaU1YjsLTApzkjt2tzCixLaUPQ=
-github.com/improbable-eng/grpc-web v0.15.0/go.mod h1:1sy9HKV4Jt9aEs9JSnkWlRJPuPtwNr0l57L4f878wP8=
github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8=
-github.com/inconshreveable/mousetrap v1.0.1/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
-github.com/influxdata/influxdb1-client v0.0.0-20191209144304-8bf82d3c094d/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
-github.com/influxdata/influxdb1-client v0.0.0-20200827194710-b269163b24ab/go.mod h1:qj24IKcXYK6Iy9ceXlo3Tc+vtHo9lIhSX5JddghvEPo=
-github.com/informalsystems/tm-load-test v1.3.0/go.mod h1:OQ5AQ9TbT5hKWBNIwsMjn6Bf4O0U4b1kRc+0qZlQJKw=
-github.com/intel/goresctrl v0.2.0/go.mod h1:+CZdzouYFn5EsxgqAQTEzMfwKwuc0fVdMrT9FCCAVRQ=
-github.com/iris-contrib/blackfriday v2.0.0+incompatible/go.mod h1:UzZ2bDEoaSGPbkg6SAB4att1aAwTmVIx/5gCVqeyUdI=
-github.com/iris-contrib/go.uuid v2.0.0+incompatible/go.mod h1:iz2lgM/1UnEf1kP0L/+fafWORmlnuysV2EMP8MW+qe0=
-github.com/iris-contrib/httpexpect/v2 v2.3.1/go.mod h1:ICTf89VBKSD3KB0fsyyHviKF8G8hyepP0dOXJPWz3T0=
-github.com/iris-contrib/i18n v0.0.0-20171121225848-987a633949d0/go.mod h1:pMCz62A0xJL6I+umB2YTlFRwWXaDFA0jy+5HzGiJjqI=
-github.com/iris-contrib/jade v1.1.3/go.mod h1:H/geBymxJhShH5kecoiOCSssPX7QWYH7UaeZTSWddIk=
-github.com/iris-contrib/jade v1.1.4/go.mod h1:EDqR+ur9piDl6DUgs6qRrlfzmlx/D5UybogqrXvJTBE=
-github.com/iris-contrib/pongo2 v0.0.1/go.mod h1:Ssh+00+3GAZqSQb30AvBRNxBx7rf0GqwkjqxNd0u65g=
-github.com/iris-contrib/schema v0.0.1/go.mod h1:urYA3uvUNG1TIIjOSCzHr9/LmbQo8LrOcOqfqxa4hXw=
-github.com/iris-contrib/schema v0.0.6/go.mod h1:iYszG0IOsuIsfzjymw1kMzTL8YQcCWlm65f3wX8J5iA=
-github.com/ishidawataru/sctp v0.0.0-20191218070446-00ab2ac2db07/go.mod h1:co9pwDoBCm1kGxawmb4sPq0cSIOOWNPT4KnHotMP1Zg=
-github.com/ishidawataru/sctp v0.0.0-20210226210310-f2269e66cdee/go.mod h1:co9pwDoBCm1kGxawmb4sPq0cSIOOWNPT4KnHotMP1Zg=
-github.com/j-keck/arping v0.0.0-20160618110441-2cf9dc699c56/go.mod h1:ymszkNOg6tORTn+6F6j+Jc8TOr5osrynvN6ivFWZ2GA=
-github.com/j-keck/arping v1.0.2/go.mod h1:aJbELhR92bSk7tp79AWM/ftfc90EfEi2bQJrbBFOsPw=
github.com/jackpal/go-nat-pmp v1.0.2 h1:KzKSgb7qkJvOUTqYl9/Hg/me3pWgBmERKrTGD7BdWus=
-github.com/jaguilar/vt100 v0.0.0-20150826170717-2703a27b14ea/go.mod h1:QMdK4dGB3YhEW2BmA1wgGpPYI3HZy/5gD705PXKUVSg=
-github.com/jarcoal/httpmock v1.0.5/go.mod h1:ATjnClrvW/3tijVmpL/va5Z3aAyGvqU3gCT8nX0Txik=
-github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99/go.mod h1:1lJo3i6rXxKeerYnT8Nvf0QmHCRC1n8sfWVwXF2Frvo=
-github.com/jdxcode/netrc v0.0.0-20210204082910-926c7f70242a/go.mod h1:Zi/ZFkEqFHTm7qkjyNJjaWH4LQA9LQhGJyF0lTYGpxw=
-github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1/go.mod h1:E0B/fFc00Y+Rasa88328GlI/XbtyysCtTHZS8h7IrBU=
github.com/jessevdk/go-flags v0.0.0-20141203071132-1679536dcc89/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
github.com/jessevdk/go-flags v1.4.0/go.mod h1:4FA24M0QyGHXBuZZK/XkWh8h0e1EYbRYJSGM75WSRxI=
-github.com/jessevdk/go-flags v1.5.0/go.mod h1:Fw0T6WPc1dYxT4mKEZRfG5kJhaTDP9pj1c2EWnYs/m4=
-github.com/jgautheron/goconst v1.5.1/go.mod h1:aAosetZ5zaeC/2EfMeRswtxUFBpe2Hr7HzkgX4fanO4=
-github.com/jhump/gopoet v0.0.0-20190322174617-17282ff210b3/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI=
-github.com/jhump/gopoet v0.1.0/go.mod h1:me9yfT6IJSlOL3FCfrg+L6yzUEZ+5jW6WHt4Sk+UPUI=
-github.com/jhump/goprotoc v0.5.0/go.mod h1:VrbvcYrQOrTi3i0Vf+m+oqQWk9l72mjkJCYo7UvLHRQ=
-github.com/jhump/protocompile v0.0.0-20220216033700-d705409f108f/go.mod h1:qr2b5kx4HbFS7/g4uYO5qv9ei8303JMsC7ESbYiqr2Q=
-github.com/jhump/protoreflect v1.6.1/go.mod h1:RZQ/lnuN+zqeRVpQigTwO6o0AJUkxbnSnpuG7toUTG4=
-github.com/jhump/protoreflect v1.11.0/go.mod h1:U7aMIjN0NWq9swDP7xDdoMfRHb35uiuTd3Z9nFXJf5E=
-github.com/jhump/protoreflect v1.12.1-0.20220721211354-060cc04fc18b/go.mod h1:JytZfP5d0r8pVNLZvai7U/MCuTWITgrI4tTg7puQFKI=
-github.com/jhump/protoreflect v1.15.1/go.mod h1:jD/2GMKKE6OqX8qTjhADU1e6DShO+gavG9e0Q693nKo=
-github.com/jingyugao/rowserrcheck v0.0.0-20191204022205-72ab7603b68a/go.mod h1:xRskid8CManxVta/ALEhJha/pweKBaVG6fWgc0yH25s=
-github.com/jingyugao/rowserrcheck v1.1.1/go.mod h1:4yvlZSDb3IyDTUZJUmpZfm2Hwok+Dtp+nu2qOq+er9c=
-github.com/jirfag/go-printf-func-name v0.0.0-20191110105641-45db9963cdd3/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0=
-github.com/jirfag/go-printf-func-name v0.0.0-20200119135958-7558a9eaa5af/go.mod h1:HEWGJkRDzjJY2sqdDwxccsGicWEf9BQOZsq2tV+xzM0=
-github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
-github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
github.com/jmespath/go-jmespath v0.0.0-20180206201540-c2b33e8439af/go.mod h1:Nht3zPeWKUH0NzdCt2Blrr5ys8VGpn0CEB0cQHVjt7k=
-github.com/jmespath/go-jmespath v0.3.0/go.mod h1:9QtRXoHjLGCJ5IBSaohpXITPlowMeeYCZ7fLUTSywik=
github.com/jmespath/go-jmespath v0.4.0 h1:BEgLn5cpjn8UN1mAw4NjwDrS35OdebyEtFe+9YPoQUg=
github.com/jmespath/go-jmespath v0.4.0/go.mod h1:T8mJZnbsbmF+m6zOOFylbeCJqk5+pHWvzYPziyZiYoo=
github.com/jmespath/go-jmespath/internal/testify v1.5.1 h1:shLQSRRSCCPj3f2gpwzGwWFoC7ycTf1rcQZHOlsJ6N8=
github.com/jmespath/go-jmespath/internal/testify v1.5.1/go.mod h1:L3OGu8Wl2/fWfCI6z80xFu9LTZmf1ZRjMHUOPmWr69U=
github.com/jmhodges/levigo v1.0.0 h1:q5EC36kV79HWeTBWsod3mG11EgStG3qArTKcvlksN1U=
github.com/jmhodges/levigo v1.0.0/go.mod h1:Q6Qx+uH3RAqyK4rFQroq9RL7mdkABMcfhEI+nNuzMJQ=
-github.com/jmoiron/sqlx v1.2.0/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks=
-github.com/jmoiron/sqlx v1.2.1-0.20190826204134-d7d95172beb5/go.mod h1:1FEQNm3xlJgrMD+FBdI9+xvCksHtbpVBBw5dYhBSsks=
-github.com/joefitzgerald/rainbow-reporter v0.1.0/go.mod h1:481CNgqmVHQZzdIbN52CupLJyoVwB10FQ/IQlF1pdL8=
-github.com/joho/godotenv v1.3.0/go.mod h1:7hK45KPybAkOC6peb+G5yklZfMxEjkZhHbwpqxOKXbg=
-github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo=
-github.com/jonboulle/clockwork v0.2.0/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
-github.com/jonboulle/clockwork v0.2.2/go.mod h1:Pkfl5aHPm1nk2H9h0bjmnJD/BcgbGXUBGnn1kMkgxc8=
-github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFFd8Hwg//Y=
-github.com/josharian/txtarfs v0.0.0-20210218200122-0702f000015a/go.mod h1:izVPOvVRsHiKkeGCT6tYBNWyDVuzj9wAaBb5R9qamfw=
-github.com/jpillora/backoff v0.0.0-20180909062703-3050d21c67d7/go.mod h1:2iMrUgbbvHEiQClaW2NsSzMyGHqN+rDFqY705q49KG0=
-github.com/jpillora/backoff v1.0.0/go.mod h1:J/6gKK9jxlEcS3zixgDgUAsiuZ7yrSoa/FX5e0EB2j4=
github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ=
-github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
-github.com/json-iterator/go v0.0.0-20180701071628-ab8a2e0c74be/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU=
-github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
-github.com/json-iterator/go v1.1.8/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
-github.com/json-iterator/go v1.1.10/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
-github.com/json-iterator/go v1.1.11/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4=
-github.com/json-iterator/go v1.1.12/go.mod h1:e30LSqwooZae/UwlEbR2852Gd8hjQvJoHmT4TnhNGBo=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/jstemmer/go-junit-report v0.9.1/go.mod h1:Brl9GWCQeLvo8nXZwPNNblvFj/XSXhF0NWZEnDohbsk=
-github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
-github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5/go.mod h1:W54LbzXuIE0boCoNJfwqpmkKJ1O4TCTZMetAt6jGk7Q=
-github.com/juju/loggo v0.0.0-20180524022052-584905176618/go.mod h1:vgyd7OREkbtVEN/8IXZe5Ooef3LQePvuBm9UWj6ZL8U=
-github.com/juju/ratelimit v1.0.1/go.mod h1:qapgC/Gy+xNh9UxzV13HGGl/6UXNN+ct+vwSgWNm/qk=
-github.com/juju/testing v0.0.0-20180920084828-472a3e8b2073/go.mod h1:63prj8cnj0tU0S9OHjGJn+b1h0ZghCndfnbQolrYTwA=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
-github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM=
-github.com/julz/importas v0.1.0/go.mod h1:oSFU2R4XK/P7kNBrnL/FEQlDGN1/6WoxXEjSSXO0DV0=
-github.com/jung-kurt/gofpdf v1.0.0/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes=
-github.com/jung-kurt/gofpdf v1.0.3-0.20190309125859-24315acbbda5/go.mod h1:7Id9E/uU8ce6rXgefFLlgrJj/GYY22cpxn+r32jIOes=
-github.com/k0kubun/colorstring v0.0.0-20150214042306-9440f1994b88/go.mod h1:3w7q1U84EfirKl04SVQ/s7nPm1ZPhiXd34z40TNz36k=
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 h1:iQTw/8FWTuc7uiaSepXwyf3o52HaUYcV+Tu66S3F5GA=
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0/go.mod h1:1NbS8ALrpOvjt0rHPNLyCIeMtbizbir8U//inJ+zuB8=
-github.com/kataras/blocks v0.0.6/go.mod h1:UK+Iwk0Oxpc0GdoJja7sEildotAUKK1LYeYcVF0COWc=
-github.com/kataras/blocks v0.0.7/go.mod h1:UJIU97CluDo0f+zEjbnbkeMRlvYORtmc1304EeyXf4I=
-github.com/kataras/golog v0.0.9/go.mod h1:12HJgwBIZFNGL0EJnMRhmvGA0PQGx8VFwrZtM4CqbAk=
-github.com/kataras/golog v0.0.10/go.mod h1:yJ8YKCmyL+nWjERB90Qwn+bdyBZsaQwU3bTVFgkFIp8=
-github.com/kataras/golog v0.1.7/go.mod h1:jOSQ+C5fUqsNSwurB/oAHq1IFSb0KI3l6GMa7xB6dZA=
-github.com/kataras/iris/v12 v12.0.1/go.mod h1:udK4vLQKkdDqMGJJVd/msuMtN6hpYJhg/lSzuxjhO+U=
-github.com/kataras/iris/v12 v12.1.8/go.mod h1:LMYy4VlP67TQ3Zgriz8RE2h2kMZV2SgMYbq3UhfoFmE=
-github.com/kataras/iris/v12 v12.2.0-beta5/go.mod h1:q26aoWJ0Knx/00iPKg5iizDK7oQQSPjbD8np0XDh6dc=
-github.com/kataras/jwt v0.1.8/go.mod h1:Q5j2IkcIHnfwy+oNY3TVWuEBJNw0ADgCcXK9CaZwV4o=
-github.com/kataras/neffos v0.0.10/go.mod h1:ZYmJC07hQPW67eKuzlfY7SO3bC0mw83A3j6im82hfqw=
-github.com/kataras/neffos v0.0.14/go.mod h1:8lqADm8PnbeFfL7CLXh1WHw53dG27MC3pgi2R1rmoTE=
-github.com/kataras/neffos v0.0.20/go.mod h1:srdvC/Uo8mgrApWW0AYtiiLgMbyNPf69qPsd2FhE6MQ=
-github.com/kataras/pio v0.0.0-20190103105442-ea782b38602d/go.mod h1:NV88laa9UiiDuX9AhMbDPkGYSPugBOV6yTZB1l2K9Z0=
-github.com/kataras/pio v0.0.2/go.mod h1:hAoW0t9UmXi4R5Oyq5Z4irTbaTsOemSrDGUtaTl7Dro=
-github.com/kataras/pio v0.0.10/go.mod h1:gS3ui9xSD+lAUpbYnjOGiQyY7sUMJO+EHpiRzhtZ5no=
-github.com/kataras/pio v0.0.11/go.mod h1:38hH6SWH6m4DKSYmRhlrCJ5WItwWgCVrTNU62XZyUvI=
-github.com/kataras/sitemap v0.0.5/go.mod h1:KY2eugMKiPwsJgx7+U103YZehfvNGOXURubcGyk0Bz8=
-github.com/kataras/sitemap v0.0.6/go.mod h1:dW4dOCNs896OR1HmG+dMLdT7JjDk7mYBzoIRwuj5jA4=
-github.com/kataras/tunnel v0.0.4/go.mod h1:9FkU4LaeifdMWqZu7o20ojmW4B7hdhv2CMLwfnHGpYw=
-github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod h1:CzGEWj7cYgsdH8dAjBGEr58BoE7ScuLd+fwFZ44+/x8=
-github.com/kevinburke/ssh_config v1.2.0/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
-github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q=
-github.com/kisielk/errcheck v1.2.0/go.mod h1:/BMXB+zMLi60iA8Vv6Ksmxu/1UDYcXs4uQLJ+jE2L00=
github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
-github.com/kisielk/errcheck v1.6.2/go.mod h1:nXw/i/MfnvRHqXa7XXmQMUB0oNFGuBrNI8d8NLy0LPw=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
-github.com/kkHAIKE/contextcheck v1.1.3/go.mod h1:PG/cwd6c0705/LM0KTr1acO2gORUxkSVWyLJOFW5qoo=
github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4=
-github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE=
-github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
-github.com/klauspost/compress v1.4.1/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
-github.com/klauspost/compress v1.8.2/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
-github.com/klauspost/compress v1.9.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
-github.com/klauspost/compress v1.9.7/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
-github.com/klauspost/compress v1.10.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
-github.com/klauspost/compress v1.11.3/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
-github.com/klauspost/compress v1.11.7/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
-github.com/klauspost/compress v1.11.13/go.mod h1:aoV0uJVorq1K+umq18yTdKaF57EivdYsUV+/s2qKfXs=
github.com/klauspost/compress v1.12.3/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
-github.com/klauspost/compress v1.13.4/go.mod h1:8dP1Hq4DHOhN9w426knH3Rhby4rFm6D8eO+e+Dq5Gzg=
-github.com/klauspost/compress v1.13.5/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
-github.com/klauspost/compress v1.13.6/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
-github.com/klauspost/compress v1.14.4/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
-github.com/klauspost/compress v1.15.0/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
-github.com/klauspost/compress v1.15.1/go.mod h1:/3/Vjq9QcHkK5uEr5lBEmyoZ1iFhe47etQ6QUkpK6sk=
-github.com/klauspost/compress v1.15.9/go.mod h1:PhcZ0MbTNciWF3rruxRgKxI5NkcHHrHUDtV4Yw2GlzU=
-github.com/klauspost/compress v1.15.10/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM=
-github.com/klauspost/compress v1.15.11/go.mod h1:QPwzmACJjUTFsnSHH934V6woptycfrDDJnH7hvFVbGM=
-github.com/klauspost/compress v1.15.15/go.mod h1:ZcK2JAFqKOpnBlxcLsJzYfrS9X1akm9fHZNnD9+Vo/4=
github.com/klauspost/compress v1.16.3 h1:XuJt9zzcnaz6a16/OU53ZjWp/v7/42WcR5t2a0PcNQY=
github.com/klauspost/compress v1.16.3/go.mod h1:ntbaceVETuRiXiv4DpjP66DpAtAGkEQskQzEyD//IeE=
-github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
-github.com/klauspost/cpuid v1.2.0/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
-github.com/klauspost/cpuid v1.2.1/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
-github.com/klauspost/cpuid/v2 v2.0.9/go.mod h1:FInQzS24/EEf25PyTYn52gqo7WaD8xa0213Md/qVLRg=
-github.com/klauspost/pgzip v1.2.5/go.mod h1:Ch1tH69qFZu15pkjo5kYi6mth2Zzwzt50oCQKQE9RUs=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
-github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
-github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
-github.com/kr/pretty v0.2.0/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
-github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
-github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
-github.com/kr/pty v1.1.3/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
-github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA=
-github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/kulti/thelper v0.6.3/go.mod h1:DsqKShOvP40epevkFrvIwkCMNYxMeTNjdWL4dqWHZ6I=
-github.com/kunwardeep/paralleltest v1.0.6/go.mod h1:Y0Y0XISdZM5IKm3TREQMZ6iteqn1YuwCsJO/0kL9Zes=
-github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348/go.mod h1:B69LEHPfb2qLo0BaaOLcbitczOKLWTsrBG9LczfCD4k=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
-github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
-github.com/kyoh86/exportloopref v0.1.8/go.mod h1:1tUcJeiioIs7VWe5gcOObrux3lb66+sBqGZrRkMwPgg=
-github.com/labstack/echo/v4 v4.1.11/go.mod h1:i541M3Fj6f76NZtHSj7TXnyM8n2gaodfvfxNnFqi74g=
-github.com/labstack/echo/v4 v4.5.0/go.mod h1:czIriw4a0C1dFun+ObrXp7ok03xON0N1awStJ6ArI7Y=
-github.com/labstack/echo/v4 v4.9.0/go.mod h1:xkCDAdFCIf8jsFQ5NnbK7oqaF/yU1A1X20Ltm0OvSks=
-github.com/labstack/gommon v0.3.0/go.mod h1:MULnywXg0yavhxWKc+lOruYdAhDwPK9wf0OL7NoOu+k=
-github.com/labstack/gommon v0.3.1/go.mod h1:uW6kP17uPlLJsD3ijUYn3/M5bAxtlZhMI6m3MFxTMTM=
-github.com/ldez/gomoddirectives v0.2.3/go.mod h1:cpgBogWITnCfRq2qGoDkKMEVSaarhdBr6g8G04uz6d0=
-github.com/ldez/tagliatelle v0.3.1/go.mod h1:8s6WJQwEYHbKZDsp/LjArytKOG8qaMrKQQ3mFukHs88=
-github.com/leodido/go-urn v1.2.0/go.mod h1:+8+nEpDfqqsY+g338gtMEUOtuK+4dEMhiQEgxpxOKII=
-github.com/leodido/go-urn v1.2.1/go.mod h1:zt4jvISO2HfUBqxjfIshjdMTYS56ZS/qv49ictyFfxY=
-github.com/leonklingele/grouper v1.1.0/go.mod h1:uk3I3uDfi9B6PeUjsCKi6ndcf63Uy7snXgR4yDYQVDY=
-github.com/letsencrypt/pkcs11key/v4 v4.0.0/go.mod h1:EFUvBDay26dErnNb70Nd0/VW3tJiIbETBPTl9ATXQag=
-github.com/lib/pq v0.0.0-20180327071824-d34b9ff171c2/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
-github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
-github.com/lib/pq v1.1.1/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
-github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
-github.com/lib/pq v1.8.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
-github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
-github.com/lib/pq v1.10.4/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
-github.com/lib/pq v1.10.6/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/lib/pq v1.10.7 h1:p7ZhMD+KsSRozJr34udlUrhboJwWAgCg34+/ZZNvZZw=
-github.com/lib/pq v1.10.7/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=
github.com/libp2p/go-buffer-pool v0.1.0 h1:oK4mSFcQz7cTQIfqbe4MIj9gLW+mnanjyFtc6cdF0Y8=
github.com/libp2p/go-buffer-pool v0.1.0/go.mod h1:N+vh8gMqimBzdKkSMVuydVDq+UV5QTWy5HSiZacSbPg=
-github.com/lightstep/lightstep-tracer-common/golang/gogo v0.0.0-20190605223551-bc2310a04743/go.mod h1:qklhhLq1aX+mtWk9cPHPzaBjWImj5ULL6C7HFJtXQMM=
-github.com/lightstep/lightstep-tracer-go v0.18.1/go.mod h1:jlF1pusYV4pidLvZ+XD0UBX0ZE6WURAspgAczcDHrL4=
-github.com/linuxkit/virtsock v0.0.0-20201010232012-f8cee7dfc7a3/go.mod h1:3r6x7q95whyfWQpmGZTu3gk3v2YkMi05HEzl7Tf7YEo=
-github.com/linxGnu/grocksdb v1.7.10/go.mod h1:0hTf+iA+GOr0jDX4CgIYyJZxqOH9XlBh6KVj8+zmF34=
github.com/linxGnu/grocksdb v1.7.16 h1:Q2co1xrpdkr5Hx3Fp+f+f7fRGhQFQhvi/+226dtLmA8=
github.com/linxGnu/grocksdb v1.7.16/go.mod h1:JkS7pl5qWpGpuVb3bPqTz8nC12X3YtPZT+Xq7+QfQo4=
-github.com/logrusorgru/aurora v0.0.0-20181002194514-a7b3b318ed4e/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
-github.com/lufeee/execinquery v1.2.1/go.mod h1:EC7DrEKView09ocscGHC+apXMIaorh4xqSxS/dy8SbM=
-github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
-github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w=
-github.com/lyft/protoc-gen-star v0.6.0/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA=
-github.com/lyft/protoc-gen-star v0.6.1/go.mod h1:TGAoBVkt8w7MPG72TrKIu85MIdXwDuzJYeZuUPFPNwA=
-github.com/lyft/protoc-gen-star/v2 v2.0.1/go.mod h1:RcCdONR2ScXaYnQC5tUzxzlpA3WVYF7/opLeUgcQs/o=
-github.com/lyft/protoc-gen-validate v0.0.13/go.mod h1:XbGvPuh87YZc5TdIa2/I4pLk0QoUACkjt2znoq26NVQ=
-github.com/magefile/mage v1.14.0/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
-github.com/magiconair/properties v1.8.1/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
-github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
-github.com/magiconair/properties v1.8.6/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY=
github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0=
-github.com/mailgun/raymond/v2 v2.0.46/go.mod h1:lsgvL50kgt1ylcFJYZiULi5fjPBkkhNfj4KA0W54Z18=
-github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
-github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
-github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod h1:C1wdFJiN94OJF2b5HbByQZoLdCWB1Yqtg26g4irojpc=
-github.com/mailru/easyjson v0.7.0/go.mod h1:KAzv3t3aY1NaHWoQz1+4F1ccyAH66Jk7yos7ldAVICs=
-github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
-github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/manifoldco/promptui v0.9.0 h1:3V4HzJk1TtXW1MTZMP7mdlwbBpIinw3HztaIlYthEiA=
github.com/manifoldco/promptui v0.9.0/go.mod h1:ka04sppxSGFAtxX0qhlYQjISsg9mR4GWtQEhdbn6Pgg=
-github.com/maratori/testableexamples v1.0.0/go.mod h1:4rhjL1n20TUTT4vdh3RDqSizKLyXp7K2u6HgraZCGzE=
-github.com/maratori/testpackage v1.0.1/go.mod h1:ddKdw+XG0Phzhx8BFDTKgpWP4i7MpApTE5fXSKAqwDU=
-github.com/maratori/testpackage v1.1.0/go.mod h1:PeAhzU8qkCwdGEMTEupsHJNlQu2gZopMC6RjbhmHeDc=
-github.com/marstr/guid v1.1.0/go.mod h1:74gB1z2wpxxInTG6yaqA7KrtM0NZ+RbrcqDvYHefzho=
-github.com/matoous/godox v0.0.0-20190911065817-5d6d842e92eb/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s=
-github.com/matoous/godox v0.0.0-20210227103229-6504466cf951/go.mod h1:1BELzlh859Sh1c6+90blK8lbYy0kwQf1bYlBhBysy1s=
-github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA=
-github.com/matryer/is v1.4.0/go.mod h1:8I/i5uYgLzgsgEloJE1U6xx5HkBQpAZvepWuujKwMRU=
-github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2/go.mod h1:0KeJpeMD6o+O4hW7qJOT7vyQPKrWmj26uf5wMc/IiIs=
-github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
-github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
-github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
-github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
-github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
-github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
-github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
-github.com/mattn/go-colorable v0.1.11/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
-github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
-github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
-github.com/mattn/go-ieproxy v0.0.0-20190610004146-91bb50d98149/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc=
-github.com/mattn/go-ieproxy v0.0.0-20190702010315-6dee0af9227d/go.mod h1:31jz6HNzdxOmlERGGEc4v/dMssOfmp2p5bT/okiKFFc=
-github.com/mattn/go-ieproxy v0.0.1/go.mod h1:pYabZ6IHcRpFh7vIaLfK7rdcWgFEb3SFJ6/gNWuh88E=
-github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
-github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4=
-github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
-github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
-github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
-github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ=
-github.com/mattn/go-isatty v0.0.10/go.mod h1:qgIWMr58cqv1PHHyhnkY9lrL7etaEgOFcMEpPG5Rm84=
-github.com/mattn/go-isatty v0.0.11/go.mod h1:PhnuNfih5lzO57/f3n+odYbM4JtupLOxQOAqxQCu2WE=
-github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
-github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
-github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
-github.com/mattn/go-isatty v0.0.18 h1:DOKFKCQ7FNG2L1rbrmstDN4QVRdS89Nkh85u68Uwp98=
-github.com/mattn/go-isatty v0.0.18/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
-github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
-github.com/mattn/go-runewidth v0.0.4/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU=
-github.com/mattn/go-runewidth v0.0.6/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
+github.com/mattn/go-isatty v0.0.19 h1:JITubQf0MOLdlGRuRq+jtsDlekdYPia9ZFsB8h/APPA=
+github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
-github.com/mattn/go-shellwords v1.0.3/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o=
-github.com/mattn/go-shellwords v1.0.6/go.mod h1:3xCvwCdWdlDJUrvuMn7Wuy9eWs4pE8vqg+NOMyg4B2o=
-github.com/mattn/go-shellwords v1.0.10/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
-github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
-github.com/mattn/go-sqlite3 v1.9.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
-github.com/mattn/go-sqlite3 v1.14.9/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
-github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
-github.com/mattn/go-zglob v0.0.1/go.mod h1:9fxibJccNxU2cnpIKLRRFA7zX7qhkJIQWBb449FYHOo=
-github.com/mattn/goveralls v0.0.2/go.mod h1:8d1ZMHsd7fW6IRPKQh46F2WRpyib5/X4FOpevwGNQEw=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
-github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=
github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
-github.com/maxbrunsfeld/counterfeiter/v6 v6.2.2/go.mod h1:eD9eIE7cdwcMi9rYluz88Jz2VyhSmden33/aXg4oVIY=
-github.com/mbilski/exhaustivestruct v1.2.0/go.mod h1:OeTBVxQWoEmB2J2JCHmXWPJ0aksxSUOUy+nvtVEfzXc=
-github.com/mediocregopher/mediocre-go-lib v0.0.0-20181029021733-cb65787f37ed/go.mod h1:dSsfyI2zABAdhcbvkXqgxOxrCsbYeHCPgrZkku60dSg=
-github.com/mediocregopher/radix/v3 v3.3.0/go.mod h1:EmfVyvspXz1uZEyPBMyGK+kjWiKQGvsUt6O3Pj+LDCQ=
-github.com/mediocregopher/radix/v3 v3.4.2/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8=
-github.com/mediocregopher/radix/v3 v3.8.0/go.mod h1:8FL3F6UQRXHXIBSPUs5h0RybMF8i4n7wVopoX3x7Bv8=
-github.com/mgechev/dots v0.0.0-20210922191527-e955255bf517/go.mod h1:KQ7+USdGKfpPjXk4Ga+5XxQM4Lm4e3gAogrreFAYpOg=
-github.com/mgechev/revive v1.2.4/go.mod h1:iAWlQishqCuj4yhV24FTnKSXGpbAA+0SckXB8GQMX/Q=
-github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
-github.com/microcosm-cc/bluemonday v1.0.2/go.mod h1:iVP4YcDBq+n/5fb23BhYFvIMq/leAFZyRl6bYmGDlGc=
-github.com/microcosm-cc/bluemonday v1.0.20/go.mod h1:yfBmMi8mxvaZut3Yytv+jTXRY8mxyjJ0/kQBTElld50=
-github.com/microcosm-cc/bluemonday v1.0.21/go.mod h1:ytNkv4RrDrLJ2pqlsSI46O6IVXmZOBBD4SaJyDwwTkM=
-github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
-github.com/miekg/dns v1.1.26/go.mod h1:bPDLeHnStXmXAq1m/Ch/hvfNHr14JKNPMBo3VZKjuso=
-github.com/miekg/dns v1.1.35/go.mod h1:KNUDUusw/aVsxyTYZM1oqvCicbwhgbNgztCETuNZ7xM=
-github.com/miekg/dns v1.1.41/go.mod h1:p6aan82bvRIyn+zDIv9xYNUpwa73JcSh9BKwknJysuI=
-github.com/miekg/dns v1.1.43/go.mod h1:+evo5L0630/F6ca/Z9+GAqzhjGyn8/c+TBaOyfEl0V4=
-github.com/miekg/pkcs11 v1.0.2/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
-github.com/miekg/pkcs11 v1.0.3/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
-github.com/miekg/pkcs11 v1.1.1/go.mod h1:XsNlhZGX73bx86s2hdc/FuaLm2CPZJemRLMA+WTFxgs=
github.com/mimoo/StrobeGo v0.0.0-20181016162300-f8f6d4d2b643/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM=
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0 h1:QRUSJEgZn2Snx0EmT/QLXibWjSUDjKWvXIT19NBVp94=
github.com/mimoo/StrobeGo v0.0.0-20210601165009-122bf33a46e0/go.mod h1:43+3pMjjKimDBf5Kr4ZFNGbLql1zKkbImw+fZbw3geM=
-github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY=
-github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE=
-github.com/minio/highwayhash v1.0.1/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY=
github.com/minio/highwayhash v1.0.2 h1:Aak5U0nElisjDCfPSG79Tgzkn2gl66NxOMspRrKnA/g=
-github.com/minio/highwayhash v1.0.2/go.mod h1:BQskDq+xkJ12lmlUUi7U0M5Swg3EWR+dLTk+kldvVxY=
-github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible/go.mod h1:8AuVvqP/mXw1px98n46wfvcGfQ4ci2FwoAjKYxuo3Z4=
-github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
-github.com/mitchellh/cli v1.1.0/go.mod h1:xcISNoH86gajksDmfB23e/pu+B+GeFRMYmoHXxx3xhI=
-github.com/mitchellh/copystructure v1.0.0/go.mod h1:SNtv71yrdKgLRyLFxmLdkAbkKEFWgYaq1OVrnRcwhnw=
-github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
-github.com/mitchellh/go-ps v0.0.0-20190716172923-621e5597135b/go.mod h1:r1VsdOzOPt1ZSrGZWFoNhsAedKnEd6r9Np1+5blZCWk=
-github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg=
-github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU=
-github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8=
-github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo=
-github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
-github.com/mitchellh/hashstructure v1.0.0/go.mod h1:QjSHrPWS+BGUVBYkbTZWEnOh3G1DutKwClXU/ABz6AQ=
-github.com/mitchellh/hashstructure/v2 v2.0.2/go.mod h1:MG3aRVU/N29oo/V/IhBX8GR/zz4kQkprJgF2EVszyDE=
-github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
-github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
-github.com/mitchellh/mapstructure v1.3.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
-github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
-github.com/mitchellh/mapstructure v1.4.2/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
-github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY=
github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
-github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod h1:OkQIRizQZAeMln+1tSwduZz7+Af5oFlKirV/MSYes2A=
github.com/mitchellh/pointerstructure v1.2.0 h1:O+i9nHnXS3l/9Wu7r4NrEdwA2VFTicjUEN1uBnDo34A=
-github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
-github.com/mitchellh/reflectwalk v1.0.1/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw=
-github.com/moby/buildkit v0.8.1/go.mod h1:/kyU1hKy/aYCuP39GZA9MaKioovHku57N6cqlKZIaiQ=
-github.com/moby/buildkit v0.10.3/go.mod h1:jxeOuly98l9gWHai0Ojrbnczrk/rf+o9/JqNhY+UCSo=
-github.com/moby/buildkit v0.10.4/go.mod h1:Yajz9vt1Zw5q9Pp4pdb3TCSUXJBIroIQGQ3TTs/sLug=
-github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
-github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c=
-github.com/moby/sys/mount v0.1.0/go.mod h1:FVQFLDRWwyBjDTBNQXDlWnSFREqOo3OKX9aqhmeoo74=
-github.com/moby/sys/mount v0.1.1/go.mod h1:FVQFLDRWwyBjDTBNQXDlWnSFREqOo3OKX9aqhmeoo74=
-github.com/moby/sys/mount v0.3.0/go.mod h1:U2Z3ur2rXPFrFmy4q6WMwWrBOAQGYtYTRVM8BIvzbwk=
-github.com/moby/sys/mountinfo v0.1.0/go.mod h1:w2t2Avltqx8vE7gX5l+QiBKxODu2TX0+Syr3h52Tw4o=
-github.com/moby/sys/mountinfo v0.1.3/go.mod h1:w2t2Avltqx8vE7gX5l+QiBKxODu2TX0+Syr3h52Tw4o=
-github.com/moby/sys/mountinfo v0.4.0/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A=
-github.com/moby/sys/mountinfo v0.4.1/go.mod h1:rEr8tzG/lsIZHBtN/JjGG+LMYx9eXgW2JI+6q0qou+A=
-github.com/moby/sys/mountinfo v0.5.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU=
-github.com/moby/sys/mountinfo v0.6.0/go.mod h1:3bMD3Rg+zkqx8MRYPi7Pyb0Ie97QEBmdxbhnCLlSvSU=
-github.com/moby/sys/signal v0.6.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg=
-github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ=
-github.com/moby/sys/symlink v0.2.0/go.mod h1:7uZVF2dqJjG/NsClqul95CqKOBRQyYSNnJ6BMgR/gFs=
-github.com/moby/term v0.0.0-20200312100748-672ec06f55cd/go.mod h1:DdlQx2hp0Ss5/fLikoLlEeIYiATotOjgB//nb973jeo=
-github.com/moby/term v0.0.0-20200915141129-7f0af18e79f2/go.mod h1:TjQg8pa4iejrUrjiz0MCtMV38jdMNW4doKSiBrEvCQQ=
-github.com/moby/term v0.0.0-20201216013528-df9cb8a40635/go.mod h1:FBS0z0QWA44HXygs7VXDUOGoN/1TV3RuWkLO04am3wc=
-github.com/moby/term v0.0.0-20210610120745-9d4ed1856297/go.mod h1:vgPCkQMyxTZ7IDy8SXRufE172gr8+K/JE/7hHFxHW3A=
-github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw=
-github.com/moby/term v0.0.0-20220808134915-39b0c02b01ae/go.mod h1:E2VnQOmVuvZB6UYnnDB0qG5Nq/1tD9acaOpo6xmt0Kw=
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
-github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0=
-github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
-github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5/go.mod h1:caMODM3PzxT8aQXRPkAt8xlV/e7d7w8GM5g0fa5F0D8=
-github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826/go.mod h1:TaXosZuwdSHYgviHp1DAtfrULt5eUgsSMsZf+YrPgl8=
-github.com/moricho/tparallel v0.2.1/go.mod h1:fXEIZxG2vdfl0ZF8b42f5a78EhjjD5mX8qUplsoSU4k=
-github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=
-github.com/moul/http2curl v1.0.0/go.mod h1:8UbvGypXm98wA/IqH45anm5Y2Z6ep6O31QGOAZ3H0fQ=
-github.com/mozilla/scribe v0.0.0-20180711195314-fb71baf557c1/go.mod h1:FIczTrinKo8VaLxe6PWTPEXRXDIHz2QAwiaBaP5/4a8=
-github.com/mozilla/tls-observatory v0.0.0-20190404164649-a3c1b6cfecfd/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk=
-github.com/mozilla/tls-observatory v0.0.0-20200317151703-4fa42e1c2dee/go.mod h1:SrKMQvPiws7F7iqYp8/TX+IhxCYhzr6N/1yb8cwHsGk=
-github.com/mozilla/tls-observatory v0.0.0-20210609171429-7bc42856d2e5/go.mod h1:FUqVoUPHSEdDR0MnFM3Dh8AU0pZHLXUD127SAJGER/s=
-github.com/mrunalp/fileutils v0.0.0-20200520151820-abd8a0e76976/go.mod h1:x8F1gnqOkIEiO4rqoeEEEqQbo7HjGMTvyoq3gej4iT0=
-github.com/mrunalp/fileutils v0.5.0/go.mod h1:M1WthSahJixYnrXQl/DFQuteStB1weuxD2QJNHXfbSQ=
github.com/mtibben/percent v0.2.1 h1:5gssi8Nqo8QU/r2pynCm+hBQHpkB/uNK7BJCFogWdzs=
github.com/mtibben/percent v0.2.1/go.mod h1:KG9uO+SZkUp+VkRHsCdYQV3XSZrrSpR3O9ibNBTZrns=
-github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
-github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
-github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U=
-github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007/go.mod h1:m2XC9Qq0AlmmVksL6FktJCdTYyLk7V3fKyp0sl1yWQo=
-github.com/mwitkow/go-proto-validators v0.2.0/go.mod h1:ZfA1hW+UH/2ZHOWvQ3HnQaU0DtnpXu850MZiy+YUgcc=
-github.com/mwitkow/grpc-proxy v0.0.0-20181017164139-0f1106ef9c76/go.mod h1:x5OoJHDHqxHS801UIuhqGl6QdSAEJvtausosHSdazIo=
-github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
-github.com/nakabonne/nestif v0.3.0/go.mod h1:dI314BppzXjJ4HsCnbo7XzrJHPszZsjnk5wEBSYHI2c=
-github.com/nakabonne/nestif v0.3.1/go.mod h1:9EtoZochLn5iUprVDmDjqGKPofoUEBL8U4Ngq6aY7OE=
-github.com/nats-io/jwt v0.3.0/go.mod h1:fRYCDE99xlTsqUzISS1Bi75UBJ6ljOJQOAAu5VglpSg=
-github.com/nats-io/jwt v0.3.2/go.mod h1:/euKqTS1ZD+zzjYrY7pseZrTtWQSjujC7xjPc8wL6eU=
-github.com/nats-io/jwt v1.2.2/go.mod h1:/xX356yQA6LuXI9xWW7mZNpxgF2mBmGecH+Fj34sP5Q=
-github.com/nats-io/jwt/v2 v2.0.3/go.mod h1:VRP+deawSXyhNjXmxPCHskrR6Mq50BqpEI5SEcNiGlY=
-github.com/nats-io/jwt/v2 v2.2.1-0.20220330180145-442af02fd36a/go.mod h1:0tqz9Hlu6bCBFLWAASKhE5vUA4c24L9KPUUgvwumE/k=
-github.com/nats-io/jwt/v2 v2.3.0/go.mod h1:0tqz9Hlu6bCBFLWAASKhE5vUA4c24L9KPUUgvwumE/k=
-github.com/nats-io/nats-server/v2 v2.1.2/go.mod h1:Afk+wRZqkMQs/p45uXdrVLuab3gwv3Z8C4HTBu8GD/k=
-github.com/nats-io/nats-server/v2 v2.5.0/go.mod h1:Kj86UtrXAL6LwYRA6H4RqzkHhK0Vcv2ZnKD5WbQ1t3g=
-github.com/nats-io/nats-server/v2 v2.8.4/go.mod h1:8zZa+Al3WsESfmgSs98Fi06dRWLH5Bnq90m5bKD/eT4=
-github.com/nats-io/nats.go v1.8.1/go.mod h1:BrFz9vVn0fU3AcH9Vn4Kd7W0NpJ651tD5omQ3M8LwxM=
-github.com/nats-io/nats.go v1.9.1/go.mod h1:ZjDU1L/7fJ09jvUSRVBR2e7+RnLiiIQyqyzEE/Zbp4w=
-github.com/nats-io/nats.go v1.12.1/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w=
-github.com/nats-io/nats.go v1.15.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w=
-github.com/nats-io/nats.go v1.16.0/go.mod h1:BPko4oXsySz4aSWeFgOHLZs3G4Jq4ZAyE6/zMCxRT6w=
-github.com/nats-io/nkeys v0.0.2/go.mod h1:dab7URMsZm6Z/jp9Z5UGa87Uutgc2mVpXLC4B7TDb/4=
-github.com/nats-io/nkeys v0.1.0/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w=
-github.com/nats-io/nkeys v0.1.3/go.mod h1:xpnFELMwJABBLVhffcfd1MZx6VsNRFpEugbxziKVo7w=
-github.com/nats-io/nkeys v0.2.0/go.mod h1:XdZpAbhgyyODYqjTawOnIOI7VlbKSarI9Gfy1tqEu/s=
-github.com/nats-io/nkeys v0.3.0/go.mod h1:gvUNGjVcM2IPr5rCsRsC6Wb3Hr2CQAm08dsxtV6A5y4=
-github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
-github.com/nbutton23/zxcvbn-go v0.0.0-20180912185939-ae427f1e4c1d/go.mod h1:o96djdrsSGy3AWPyBgZMAGfxZNfgntdJG+11KU4QvbU=
-github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod h1:KSVJerMDfblTH7p5MZaTt+8zaT2iEk3AkVb9PQdZuE8=
-github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM=
-github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86/go.mod h1:kHJEU3ofeGjhHklVoIGuVj85JJwZ6kWPaJwCIxgnFmo=
-github.com/neelance/sourcemap v0.0.0-20200213170602-2833bce08e4c/go.mod h1:Qr6/a/Q4r9LP1IltGz7tA7iOK1WonHEYhu1HRBA7ZiM=
-github.com/networkplumbing/go-nft v0.2.0/go.mod h1:HnnM+tYvlGAsMU7yoYwXEVLLiDW9gdMmb5HoGcwpuQs=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
-github.com/nishanths/exhaustive v0.8.3/go.mod h1:qj+zJJUgJ76tR92+25+03oYUhzF4R7/2Wk7fGTfCHmg=
-github.com/nishanths/predeclared v0.0.0-20190419143655-18a43bb90ffc/go.mod h1:62PewwiQTlm/7Rj+cxVYqZvDIUc+JjZq6GHAC1fsObQ=
-github.com/nishanths/predeclared v0.2.2/go.mod h1:RROzoN6TnGQupbC+lqggsOlcgysk3LMK/HI84Mp280c=
github.com/nxadm/tail v1.4.4/go.mod h1:kenIhsEOeOJmVchQTgglprH7qJGnHDVpk1VPCcaMI8A=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
-github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
-github.com/oklog/oklog v0.3.2/go.mod h1:FCV+B7mhrz4o+ueLpx+KqkyXRGMWOYEvfiXtdGtbWGs=
-github.com/oklog/run v1.0.0/go.mod h1:dlhp/R75TPv97u0XWUtDeV/lRKWPKSdTuV0TZvrmrQA=
github.com/oklog/ulid v1.3.1 h1:EGfNDEx6MqHz8B3uNV6QAib1UR2Lm97sHi3ocA6ESJ4=
github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U=
-github.com/oklog/ulid/v2 v2.1.0/go.mod h1:rcEKHmBBKfef9DhnvX7y1HZBYxjXb0cP5ExxNsTT1QQ=
-github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
-github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
-github.com/olekukonko/tablewriter v0.0.2/go.mod h1:rSAaSIOAGT9odnlyGlUfAJaoc5w2fSBUmeGDbRWPxyQ=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
-github.com/onsi/ginkgo v0.0.0-20151202141238-7f8ab55aaf3b/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v1.8.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v1.10.3/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
-github.com/onsi/ginkgo v1.12.0/go.mod h1:oUhWkIvk5aDxtKvDDuw8gItl8pKl42LzjC9KZE0HfGg=
github.com/onsi/ginkgo v1.12.1/go.mod h1:zj2OWP4+oCPe1qIXoGWkgMRwljMUYCdkwsT2108oapk=
-github.com/onsi/ginkgo v1.13.0/go.mod h1:+REjRxOmWfHCjfv9TTWB1jD1Frx4XydAD3zm1lskyM0=
github.com/onsi/ginkgo v1.14.0/go.mod h1:iSB4RoI2tjJc9BBv4NKIKWKya62Rps+oPG/Lv9klQyY=
-github.com/onsi/ginkgo v1.16.2/go.mod h1:CObGmKUOKaSC0RjmoAK7tKyn4Azo5P2IWuoMnvwxz1E=
-github.com/onsi/ginkgo v1.16.4/go.mod h1:dX+/inL/fNMqNlz0e9LfyB9TswhZpCVdJM/Z6Vvnwo0=
-github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
-github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
-github.com/onsi/ginkgo/v2 v2.0.0/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c=
-github.com/onsi/ginkgo/v2 v2.1.3/go.mod h1:vw5CSIxN1JObi/U8gcbwft7ZxR2dgaR70JSE3/PpL4c=
-github.com/onsi/ginkgo/v2 v2.1.4/go.mod h1:um6tUpWM/cxCK3/FK8BXqEiUMUwRgSM4JXG47RKZmLU=
-github.com/onsi/gomega v0.0.0-20151007035656-2152b45fa28a/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
-github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
+github.com/onsi/ginkgo v1.16.4 h1:29JGrr5oVBm5ulCWet69zQkzWipVXIol6ygQUe/EzNc=
github.com/onsi/gomega v1.4.1/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA=
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
-github.com/onsi/gomega v1.5.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
-github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.7.1/go.mod h1:XdKZgCCFLUoM/7CFJVPcG8C1xQ1AJ0vpAezJrB7JYyY=
-github.com/onsi/gomega v1.8.1/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA=
-github.com/onsi/gomega v1.9.0/go.mod h1:Ho0h+IUsWyvy1OpqCwxlQ/21gkhVunqlU8fDGcoTdcA=
github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1ybHNo=
-github.com/onsi/gomega v1.10.3/go.mod h1:V9xEwhxec5O8UDM77eCW8vLymOMltsqPVYWrpDsH8xc=
-github.com/onsi/gomega v1.13.0/go.mod h1:lRk9szgn8TxENtWd0Tp4c3wjlRfMTMH27I+3Je41yGY=
-github.com/onsi/gomega v1.15.0/go.mod h1:cIuvLEne0aoVhAgh/O6ac0Op8WWw9H6eYCriF+tEHG0=
-github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
-github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs=
-github.com/onsi/gomega v1.19.0/go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro=
github.com/onsi/gomega v1.20.0 h1:8W0cWlwFkflGPLltQvLRB7ZVD5HuP6ng320w2IS245Q=
-github.com/onsi/gomega v1.20.0/go.mod h1:DtrZpjmvpn2mPm4YWQa0/ALMDj9v4YxLgojwPeREyVo=
-github.com/op/go-logging v0.0.0-20160315200505-970db520ece7/go.mod h1:HzydrMdWErDVzsI23lYNej1Htcns9BCg93Dk0bBINWk=
-github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
-github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
-github.com/opencontainers/go-digest v1.0.0-rc1/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
-github.com/opencontainers/go-digest v1.0.0-rc1.0.20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
-github.com/opencontainers/image-spec v1.0.0/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
-github.com/opencontainers/image-spec v1.0.1/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
-github.com/opencontainers/image-spec v1.0.2-0.20211117181255-693428a734f5/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
-github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
-github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
-github.com/opencontainers/image-spec v1.1.0-rc2/go.mod h1:3OVijpioIKYWTqjiG0zfF6wvoJ4fAXGbjdZuI2NgsRQ=
-github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U=
-github.com/opencontainers/runc v0.1.1/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U=
-github.com/opencontainers/runc v1.0.0-rc10/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U=
-github.com/opencontainers/runc v1.0.0-rc8.0.20190926000215-3e425f80a8c9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U=
-github.com/opencontainers/runc v1.0.0-rc9/go.mod h1:qT5XzbpPznkRYVz/mWwUaVBUv2rmF59PVA73FjuZG0U=
-github.com/opencontainers/runc v1.0.0-rc92/go.mod h1:X1zlU4p7wOlX4+WRCz+hvlRv8phdL7UqbYD+vQwNMmE=
-github.com/opencontainers/runc v1.0.0-rc93/go.mod h1:3NOsor4w32B2tC0Zbl8Knk4Wg84SM2ImC1fxBuqJ/H0=
-github.com/opencontainers/runc v1.0.2/go.mod h1:aTaHFFwQXuA71CiyxOdFFIorAoemI04suvGRQFzWTD0=
-github.com/opencontainers/runc v1.1.0/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc=
-github.com/opencontainers/runc v1.1.1/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc=
-github.com/opencontainers/runc v1.1.2/go.mod h1:Tj1hFw6eFWp/o33uxGf5yF2BX5yz2Z6iptFpuvbbKqc=
-github.com/opencontainers/runc v1.1.3/go.mod h1:1J5XiS+vdZ3wCyZybsuxXZWGrgSr8fFJHLXuG2PsnNg=
-github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
-github.com/opencontainers/runtime-spec v1.0.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
-github.com/opencontainers/runtime-spec v1.0.2-0.20190207185410-29686dbc5559/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
-github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
-github.com/opencontainers/runtime-spec v1.0.3-0.20200728170252-4d89ac9fbff6/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
-github.com/opencontainers/runtime-spec v1.0.3-0.20200929063507-e6143ca7d51d/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
-github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
-github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod h1:r3f7wjNzSs2extwzU3Y+6pKfobzPh+kKFJ3ofN+3nfs=
-github.com/opencontainers/selinux v1.6.0/go.mod h1:VVGKuOLlE7v4PJyT6h7mNWvq1rzqiriPsEqVhc+svHE=
-github.com/opencontainers/selinux v1.8.0/go.mod h1:RScLhm78qiWa2gbVCcGkC7tCGdgk3ogry1nUQF8Evvo=
-github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xAPP8dBsCoU0KuF8=
-github.com/opencontainers/selinux v1.10.0/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI=
-github.com/opencontainers/selinux v1.10.1/go.mod h1:2i0OySw99QjzBBQByd1Gr9gSjvuho1lHsJxIJ3gGbJI=
-github.com/opentracing-contrib/go-observer v0.0.0-20170622124052-a52f23424492/go.mod h1:Ngi6UdF0k5OKD5t5wlmGhe/EDKPoUM3BXZSSfIuJbis=
-github.com/opentracing-contrib/go-stdlib v1.0.0/go.mod h1:qtI1ogk+2JhVPIXVc6q+NHziSmy2W5GbdQZFUHADCBU=
-github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74=
-github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
-github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc=
-github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxSfWAKL3wpBW7V8scJMt8N8gnaMCS9E/cA=
-github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8=
-github.com/openzipkin/zipkin-go v0.1.3/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8=
-github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw=
-github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4=
-github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4=
-github.com/openzipkin/zipkin-go v0.2.5/go.mod h1:KpXfKdgRDnnhsxw4pNIH9Md5lyFqKUa4YDFlwRYAMyE=
-github.com/ory/dockertest v3.3.5+incompatible/go.mod h1:1vX4m9wsvi00u5bseYwXaSnhNrne+V0E6LAcBILJdPs=
-github.com/ory/dockertest/v3 v3.9.1/go.mod h1:42Ir9hmvaAPm0Mgibk6mBPi7SFvTXxEcnztDYOJ//uM=
-github.com/otiai10/copy v1.2.0/go.mod h1:rrF5dJ5F0t/EWSYODDu4j9/vEeYHMkc8jt0zJChqQWw=
-github.com/otiai10/curr v0.0.0-20150429015615-9b4961190c95/go.mod h1:9qAhocn7zKJG+0mI8eUu6xqkFDYS2kb2saOteoSB3cE=
-github.com/otiai10/curr v1.0.0/go.mod h1:LskTG5wDwr8Rs+nNQ+1LlxRjAtTZZjtJW4rMXl6j4vs=
-github.com/otiai10/mint v1.3.0/go.mod h1:F5AjcsTsWUqX+Na9fpHb52P8pcRX2CI6A3ctIT91xUo=
-github.com/otiai10/mint v1.3.1/go.mod h1:/yxELlJQ0ufhjUwhshSj+wFjZ78CnZ48/1wtmBH1OTc=
-github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM=
-github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY=
github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
-github.com/pborman/getopt v0.0.0-20170112200414-7148bc3a4c30/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o=
-github.com/pborman/uuid v1.2.0/go.mod h1:X/NO0urCmaxf9VXbdlT7C2Yzkj2IKimNn4k+gtPdI/k=
github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
-github.com/pelletier/go-toml v1.8.0/go.mod h1:D6yutnOGMveHEPV7VQOuvI/gXY61bv+9bAOTRnLElKs=
-github.com/pelletier/go-toml v1.8.1/go.mod h1:T2/BmBdy8dvIRq1a/8aqjN41wvWlN4lrapLU/GW4pbc=
-github.com/pelletier/go-toml v1.9.3/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
-github.com/pelletier/go-toml v1.9.4/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
-github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
-github.com/pelletier/go-toml/v2 v2.0.1/go.mod h1:r9LEWfGN8R5k0VXJ+0BkIe7MYkRdwZOjgMj2KwnJFUo=
-github.com/pelletier/go-toml/v2 v2.0.2/go.mod h1:MovirKjgVRESsAvNZlAjtFwV867yGuwRkXbG66OzopI=
-github.com/pelletier/go-toml/v2 v2.0.5/go.mod h1:OMHamSCAODeSsVrwwvcJOaoN0LIUIaFVNZzmWyNfXas=
-github.com/pelletier/go-toml/v2 v2.0.7/go.mod h1:eumQOmlWiOPt5WriQQqoM5y18pDHwha2N+QD+EUNTek=
github.com/pelletier/go-toml/v2 v2.0.8 h1:0ctb6s9mE31h0/lhu+J6OPmVeDxJn+kYnJc2jZR9tGQ=
github.com/pelletier/go-toml/v2 v2.0.8/go.mod h1:vuYfssBdrU2XDZ9bYydBu6t+6a6PYNcZljzZR9VXg+4=
-github.com/performancecopilot/speed v3.0.0+incompatible/go.mod h1:/CLtqpZ5gBg1M9iaPbIdPPGyKcA8hKdoy6hAWba7Yac=
-github.com/performancecopilot/speed/v4 v4.0.0/go.mod h1:qxrSyuDGrTOWfV+uKRFhfxw6h/4HXRGUiZiufxo49BM=
-github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU=
github.com/petermattis/goid v0.0.0-20180202154549-b0b1615b78e5/go.mod h1:jvVRKCrJTQWu0XVbaOlby/2lO20uSCHEMzzplHXte1o=
github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08 h1:hDSdbBuw3Lefr6R18ax0tZ2BJeNB3NehB3trOwYBsdU=
github.com/petermattis/goid v0.0.0-20230317030725-371a4b8eda08/go.mod h1:pxMtw7cyUw6B2bRH0ZBANSPg+AoSud1I1iyJHI69jH4=
-github.com/phayes/checkstyle v0.0.0-20170904204023-bfd46e6a821d/go.mod h1:3OzsM7FXDQlpCiw2j81fOmAwQLnZnLGXVKUzeKQXIAw=
-github.com/phpdave11/gofpdf v1.4.2/go.mod h1:zpO6xFn9yxo3YLyMvW8HcKWVdbNqgIfOOp2dXMnm1mY=
-github.com/phpdave11/gofpdi v1.0.12/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI=
-github.com/phpdave11/gofpdi v1.0.13/go.mod h1:vBmVV0Do6hSBHC8uKUQ71JGW+ZGQq74llk/7bXwjDoI=
-github.com/pierrec/lz4 v1.0.2-0.20190131084431-473cd7ce01a1/go.mod h1:3/3N9NVKO0jef7pBehbT1qWhCMrIgbYNnFAZCqQ5LRc=
-github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
-github.com/pierrec/lz4/v4 v4.1.15/go.mod h1:gZWDp/Ze/IJXGXf23ltt2EXimqmTUXEy0GFuRQyBid4=
github.com/pingcap/errors v0.11.4 h1:lFuQV/oaUMGcD2tqt+01ROSmJs75VG1ToEOkZIZ4nE4=
-github.com/pingcap/errors v0.11.4/go.mod h1:Oi8TUi2kEtXXLMJk9l1cGmz20kV3TaQ0usTwv5KuLY8=
-github.com/pjbgf/sha1cd v0.2.3/go.mod h1:HOK9QrgzdHpbc2Kzip0Q1yi3M2MFGPADtR6HjG65m5M=
-github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4/go.mod h1:4OwLy04Bl9Ef3GJJCoec+30X3LQs/0/m4HFRt/2LUSA=
-github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8/go.mod h1:HKlIX3XHQyzLZPlr7++PzdhaXEj94dEiJgZDTsxEqUI=
github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
-github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
-github.com/pkg/profile v1.2.1/go.mod h1:hJw3o1OdXxsrSjjVksARp5W95eeEaEfptyVZyv6JUPA=
-github.com/pkg/profile v1.5.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18=
-github.com/pkg/profile v1.6.0/go.mod h1:qBsxPvzyUincmltOk6iyRVxHYg4adc0OFOv72ZdLa18=
-github.com/pkg/sftp v1.10.1/go.mod h1:lYOWFsE0bwd1+KfKJaKeuokY15vzFx25BLbzYYoAxZI=
github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg=
-github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/pointlander/compress v1.1.1-0.20190518213731-ff44bd196cc3/go.mod h1:q5NXNGzqj5uPnVuhGkZfmgHqNUhf15VLi6L9kW0VEc0=
-github.com/pointlander/jetset v1.0.1-0.20190518214125-eee7eff80bd4/go.mod h1:RdR1j20Aj5pB6+fw6Y9Ur7lMHpegTEjY1vc19hEZL40=
-github.com/pointlander/peg v1.0.1/go.mod h1:5hsGDQR2oZI4QoWz0/Kdg3VSVEC31iJw/b7WjqCBGRI=
-github.com/polyfloyd/go-errorlint v1.0.5/go.mod h1:APVvOesVSAnne5SClsPxPdfvZTVDojXh1/G3qb5wjGI=
-github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI=
-github.com/posener/complete v1.2.3/go.mod h1:WZIdtGGp+qx0sLrYKtIRAruyNpv6hFCicSgv7Sy7s/s=
-github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
-github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod h1:prYjPmNq4d1NPVmpShWobRqXY3q7Vp+80DqgxxUrUIA=
-github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
-github.com/prometheus/client_golang v0.8.0/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
-github.com/prometheus/client_golang v0.9.3-0.20190127221311-3c4408c8b829/go.mod h1:p2iRAGwDERtqlqzRXnrOVns+ignqQo//hLXqYxZYVNs=
-github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso=
github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo=
-github.com/prometheus/client_golang v1.1.0/go.mod h1:I1FGZT9+L76gKKOs5djB6ezCbFQP1xR9D75/vuwEF3g=
-github.com/prometheus/client_golang v1.3.0/go.mod h1:hJaj2vgQTGQmVCsAACORcieXFeDPbaTKGT+JTgUa3og=
github.com/prometheus/client_golang v1.4.0/go.mod h1:e9GMxYsXl05ICDXkRhurwBS4Q3OK1iX/F2sw+iXX5zU=
-github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP4j5+D6mVACh+pe2M=
-github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
-github.com/prometheus/client_golang v1.11.1/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0=
-github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
-github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY=
-github.com/prometheus/client_golang v1.14.0/go.mod h1:8vpkKitgIVNcqrRBWh1C4TIUQgYNtG/XQE4E/Zae36Y=
-github.com/prometheus/client_golang v1.15.0 h1:5fCgGYogn0hFdhyhLbw7hEsWxufKtY9klyvdNfFlFhM=
-github.com/prometheus/client_golang v1.15.0/go.mod h1:e9yaBhRPU2pPNsZwE+JdQl0KEt1N9XgF6zxWmaC0xOk=
-github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
+github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8=
+github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc=
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
-github.com/prometheus/client_model v0.0.0-20190115171406-56726106282f/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
-github.com/prometheus/client_model v0.1.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.2.0/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.3.0 h1:UBgGFHqYdG/TPFD1B1ogZywDqEkwp3fBMvqdiQ7Xew4=
github.com/prometheus/client_model v0.3.0/go.mod h1:LDGWKZIo7rky3hgvBe+caln+Dr3dPggB5dvjtD7w9+w=
-github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
-github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
-github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
-github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
-github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4=
-github.com/prometheus/common v0.6.0/go.mod h1:eBmuwkDJBwy6iBfxCBob6t6dR6ENT/y+J+Zk0j9GMYc=
-github.com/prometheus/common v0.7.0/go.mod h1:DjGbpBbp5NYNiECxcL/VnbXCCaQpKd3tt26CguLLsqA=
github.com/prometheus/common v0.9.1/go.mod h1:yhUN8i9wzaXS3w1O07YhxHEBxD+W35wd8bs7vj7HSQ4=
-github.com/prometheus/common v0.10.0/go.mod h1:Tlit/dnDKsSWFlCLTWaA1cyBgKHSMdTB80sz/V91rCo=
-github.com/prometheus/common v0.15.0/go.mod h1:U+gB1OBLb1lF3O42bTCL+FK18tX9Oar16Clt/msog/s=
-github.com/prometheus/common v0.26.0/go.mod h1:M7rCNAaPfAosfx8veZJCuw84e35h3Cfd9VFqTh1DIvc=
-github.com/prometheus/common v0.30.0/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
-github.com/prometheus/common v0.32.1/go.mod h1:vu+V0TpY+O6vW9J44gczi3Ap/oXXR10b+M/gUGO4Hls=
-github.com/prometheus/common v0.34.0/go.mod h1:gB3sOl7P0TvJabZpLY5uQMpUqRCPPCyRLCZYc7JZTNE=
-github.com/prometheus/common v0.37.0/go.mod h1:phzohg0JFMnBEFGxTDbfu3QyL5GI8gTQJFhYO5B3mfA=
github.com/prometheus/common v0.42.0 h1:EKsfXEYo4JpWMHH5cg+KOUWeuJSov1Id8zGR8eeI1YM=
github.com/prometheus/common v0.42.0/go.mod h1:xBwqVerjNdUDjgODMpudtOMwlOwf2SaTr1yjz4b7Zbc=
-github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
-github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
-github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
-github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
-github.com/prometheus/procfs v0.0.0-20190522114515-bc1a522cf7b1/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA=
-github.com/prometheus/procfs v0.0.3/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ=
-github.com/prometheus/procfs v0.0.5/go.mod h1:4A/X28fw3Fc593LaREMrKMqOKvUAntwMDaekg4FpcdQ=
github.com/prometheus/procfs v0.0.8/go.mod h1:7Qr8sr6344vo1JqZ6HhLceV9o3AJ1Ff+GxbHq6oeK9A=
-github.com/prometheus/procfs v0.1.3/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
-github.com/prometheus/procfs v0.2.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
-github.com/prometheus/procfs v0.3.0/go.mod h1:lV6e/gmhEcM9IjHGsFOCxxuZ+z1YqCvr4OA4YeYWdaU=
-github.com/prometheus/procfs v0.6.0/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1xBZuNvfVA=
-github.com/prometheus/procfs v0.8.0/go.mod h1:z7EfXMXOkbkqb9IINtpCn86r/to3BnA0uaxHdg830/4=
-github.com/prometheus/procfs v0.9.0 h1:wzCHvIvM5SxWqYvwgVL7yJY8Lz3PKn49KQtpgMYJfhI=
-github.com/prometheus/procfs v0.9.0/go.mod h1:+pB4zwohETzFnmlpe6yd2lSc+0/46IYZRB/chUwxUZY=
-github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU=
-github.com/pseudomuto/protoc-gen-doc v1.3.2/go.mod h1:y5+P6n3iGrbKG+9O04V5ld71in3v/bX88wUwgt+U8EA=
-github.com/pseudomuto/protokit v0.2.0/go.mod h1:2PdH30hxVHsup8KpBTOXTBeMVhJZVio3Q8ViKSAXT0Q=
-github.com/quasilyte/go-consistent v0.0.0-20190521200055-c6f3937de18c/go.mod h1:5STLWrekHfjyYwxBRVRXNOSewLJ3PWfDJd1VyTS21fI=
-github.com/quasilyte/go-ruleguard v0.1.2-0.20200318202121-b00d7a75d3d8/go.mod h1:CGFX09Ci3pq9QZdj86B+VGIdNj4VyCo2iPOGS9esB/k=
-github.com/quasilyte/go-ruleguard v0.3.1-0.20210203134552-1b5a410e1cc8/go.mod h1:KsAh3x0e7Fkpgs+Q9pNLS5XpFSvYCEVl5gP9Pp1xp30=
-github.com/quasilyte/go-ruleguard v0.3.18/go.mod h1:lOIzcYlgxrQ2sGJ735EHXmf/e9MJ516j16K/Ifcttvs=
-github.com/quasilyte/go-ruleguard/dsl v0.3.0/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU=
-github.com/quasilyte/go-ruleguard/dsl v0.3.21/go.mod h1:KeCP03KrjuSO0H1kTuZQCWlQPulDV6YMIXmpQss17rU=
-github.com/quasilyte/go-ruleguard/rules v0.0.0-20201231183845-9e62ed36efe1/go.mod h1:7JTjp89EGyU1d6XfBiXihJNG37wB2VRkd125Q1u7Plc=
-github.com/quasilyte/go-ruleguard/rules v0.0.0-20211022131956-028d6511ab71/go.mod h1:4cgAphtvu7Ftv7vOT2ZOYhC6CvBxZixcasr8qIOTA50=
-github.com/quasilyte/gogrep v0.0.0-20220828223005-86e4605de09f/go.mod h1:Cm9lpz9NZjEoL1tgZ2OgeUKPIxL1meE7eo60Z6Sk+Ng=
-github.com/quasilyte/regex/syntax v0.0.0-20200407221936-30656e2c4a95/go.mod h1:rlzQ04UMyJXu/aOvhd8qT+hvDrFpiwqp8MRXDY9szc0=
-github.com/quasilyte/stdinfo v0.0.0-20220114132959-f7386bf02567/go.mod h1:DWNGW8A4Y+GyBgPuaQJuWiy0XYftx4Xm/y5Jqk9I6VQ=
+github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg=
+github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM=
github.com/rakyll/statik v0.1.7 h1:OF3QCZUuyPxuGEP7B4ypUa7sB/iHtqOTDYZXGM8KOdQ=
-github.com/rakyll/statik v0.1.7/go.mod h1:AlZONWzMtEnMs7W4e/1LURLiI49pIMmp6V9Unghqrcc=
-github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 h1:N/ElC8H3+5XpJzTSTfLsJV/mx9Q9g7kxmchpfZyxgzM=
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
-github.com/regen-network/gocuke v0.6.2 h1:pHviZ0kKAq2U2hN2q3smKNxct6hS0mGByFMHGnWA97M=
-github.com/regen-network/gocuke v0.6.2/go.mod h1:zYaqIHZobHyd0xOrHGPQjbhGJsuZ1oElx150u2o1xuk=
-github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod h1:uYEyJGbgTkfkS4+E/PavXkNJcbFIpEtjt2B0KDQ5+9M=
-github.com/remyoudompheng/bigfft v0.0.0-20200410134404-eec4a21b6bb0/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo=
-github.com/remyoudompheng/go-dbus v0.0.0-20121104212943-b7232d34b1d5/go.mod h1:+u151txRmLpwxBmpYn9z3d1sdJdjRPQpsXuYeY9jNls=
-github.com/remyoudompheng/go-liblzma v0.0.0-20190506200333-81bf2d431b96/go.mod h1:90HvCY7+oHHUKkbeMCiHt1WuFR2/hPJ9QrljDG+v6ls=
-github.com/remyoudompheng/go-misc v0.0.0-20190427085024-2d6ac652a50e/go.mod h1:80FQABjoFzZ2M5uEa6FUaJYEmqU2UOKojlFVak1UAwI=
-github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg=
-github.com/rogpeppe/fastuuid v1.1.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/rogpeppe/go-internal v1.5.2/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
-github.com/rogpeppe/go-internal v1.6.1/go.mod h1:xXDCJY+GAPziupqXw64V24skbSoqbTEfhy4qGm1nDQc=
-github.com/rogpeppe/go-internal v1.8.0/go.mod h1:WmiCO8CzOY8rg0OYDC4/i/2WRWAB6poM+XZ2dLUbcbE=
-github.com/rogpeppe/go-internal v1.8.1/go.mod h1:JeRgkft04UBgHMgCIwADu4Pn6Mtm5d4nPKWu0nJ5d+o=
-github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
-github.com/rs/cors v1.7.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
-github.com/rs/cors v1.8.2/go.mod h1:XyqrcTp5zjWr1wsJ8PIRZssZ8b/WMcMf71DJnit4EMU=
+github.com/rogpeppe/go-internal v1.11.0 h1:cWPaGQEPrBb5/AsnsZesgZZ9yb1OQ+GOISoDNXVBh4M=
+github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUzkipdSkR5nkCZA=
github.com/rs/cors v1.8.3 h1:O+qNyWn7Z+F9M0ILBHgMVPuB1xTOucVd5gtaYyXBpRo=
-github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ=
-github.com/rs/xid v1.3.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
-github.com/rs/xid v1.4.0/go.mod h1:trrq9SKmegXys3aeAKXMUTdJsYXVwGY3RLcfgqegfbg=
-github.com/rs/zerolog v1.27.0/go.mod h1:7frBqO0oezxmnO7GF86FY++uy8I0Tk/If5ni1G9Qc0U=
-github.com/rs/zerolog v1.29.1 h1:cO+d60CHkknCbvzEWxP0S9K6KqyTjrCNUy1LdQLCGPc=
-github.com/rs/zerolog v1.29.1/go.mod h1:Le6ESbR7hc+DP6Lt1THiV8CQSdkkNrd3R0XbEgp3ZBU=
-github.com/rubiojr/go-vhd v0.0.0-20160810183302-0bfd3b39853c/go.mod h1:DM5xW0nvfNNm2uytzsvhI3OnX8uzaRAg8UX/CnDqbto=
+github.com/rs/zerolog v1.30.0 h1:SymVODrcRsaRaSInD9yQtKbtWqwsfoPcRff/oRXLj4c=
+github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo=
github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
-github.com/russross/blackfriday v1.6.0 h1:KqfZb0pUVN2lYqZUYRddxF4OR8ZMURnJIG5Y3VRLtww=
-github.com/russross/blackfriday v1.6.0/go.mod h1:ti0ldHuxg49ri4ksnFxlkCfN+hvslNlmVHqNRXXJNAY=
-github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
-github.com/ruudk/golang-pdf417 v0.0.0-20181029194003-1af4ab5afa58/go.mod h1:6lfFZQK844Gfx8o5WFuvpxWRwnSoipWe/p622j1v06w=
-github.com/ruudk/golang-pdf417 v0.0.0-20201230142125-a7e3863a1245/go.mod h1:pQAZKsJ8yyVxGRWYNEm9oFB8ieLgKFnamEyDmSA0BRk=
-github.com/ryancurrah/gomodguard v1.0.4/go.mod h1:9T/Cfuxs5StfsocWr4WzDL36HqnX0fVb9d5fSEaLhoE=
-github.com/ryancurrah/gomodguard v1.1.0/go.mod h1:4O8tr7hBODaGE6VIhfJDHcwzh5GUccKSJBU0UMXJFVM=
-github.com/ryancurrah/gomodguard v1.2.4/go.mod h1:+Kem4VjWwvFpUJRJSwa16s1tBJe+vbv02+naTow2f6M=
-github.com/ryanrolds/sqlclosecheck v0.3.0/go.mod h1:1gREqxyTGR3lVtpngyFo3hZAgk0KCtEdgEkHwDbigdA=
-github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
-github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
-github.com/safchain/ethtool v0.0.0-20190326074333-42ed695e3de8/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4=
-github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1/go.mod h1:Z0q5wiBQGYcxhMZ6gUqHn6pYNLypFAvaL3UvgZLR0U4=
-github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig=
-github.com/sagikazarmark/crypt v0.6.0/go.mod h1:U8+INwJo3nBv1m6A/8OBXAq7Jnpspk5AxSgDyEQcea8=
-github.com/sagikazarmark/crypt v0.8.0/go.mod h1:TmKwZAo97S4Fy4sfMH/HX/cQP5D+ijra2NyLpNNmttY=
-github.com/samuel/go-zookeeper v0.0.0-20190923202752-2cc03de413da/go.mod h1:gi+0XIa01GRL2eRQVjQkKGqKF3SF9vZR/HnPullcV2E=
-github.com/sanposhiho/wastedassign/v2 v2.0.6/go.mod h1:KyZ0MWTwxxBmfwn33zh3k1dmsbF2ud9pAAGfoLfjhtI=
github.com/sasha-s/go-deadlock v0.3.1 h1:sqv7fDNShgjcaxkO0JNcOAlr8B9+cV5Ey/OB71efZx0=
github.com/sasha-s/go-deadlock v0.3.1/go.mod h1:F73l+cr82YSh10GxyRI6qZiCgK64VaZjwesgfQ1/iLM=
-github.com/sashamelentyev/interfacebloat v1.1.0/go.mod h1:+Y9yU5YdTkrNvoX0xHc84dxiN1iBi9+G8zZIhPVoNjQ=
-github.com/sashamelentyev/usestdlibvars v1.20.0/go.mod h1:0GaP+ecfZMXShS0A94CJn6aEuPRILv8h/VuWI9n1ygg=
-github.com/sassoftware/go-rpmutils v0.0.0-20190420191620-a8f1baeba37b/go.mod h1:am+Fp8Bt506lA3Rk3QCmSqmYmLMnPDhdDUcosQCAx+I=
-github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0=
-github.com/schollz/closestmatch v2.1.0+incompatible/go.mod h1:RtP1ddjLong6gTkbtmuhtR2uUrrJOpYzYRvbcPAid+g=
-github.com/sclevine/agouti v3.0.0+incompatible/go.mod h1:b4WX9W9L1sfQKXeJf1mUTLZKJ48R1S7H23Ji7oFO5Bw=
-github.com/sclevine/spec v1.2.0/go.mod h1:W4J29eT/Kzv7/b9IWLB055Z+qvVC9vt0Arko24q7p+U=
-github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
-github.com/seccomp/libseccomp-golang v0.9.1/go.mod h1:GbW5+tmTXfcxTToHLXlScSlAvWlF4P2Ca7zGrPiEpWo=
-github.com/seccomp/libseccomp-golang v0.9.2-0.20210429002308-3879420cc921/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
-github.com/seccomp/libseccomp-golang v0.9.2-0.20220502022130-f33da4d89646/go.mod h1:JA8cRccbGaA1s33RQf7Y1+q9gHmZX1yB/z9WDN1C6fg=
-github.com/securego/gosec v0.0.0-20200103095621-79fbf3af8d83/go.mod h1:vvbZ2Ae7AzSq3/kywjUDxSNq2SJ27RxCz2un0H3ePqE=
-github.com/securego/gosec v0.0.0-20200401082031-e946c8c39989/go.mod h1:i9l/TNj+yDFh9SZXUTvspXTjbFXgZGP/UvhU1S65A4A=
-github.com/securego/gosec/v2 v2.3.0/go.mod h1:UzeVyUXbxukhLeHKV3VVqo7HdoQR9MrRfFmZYotn8ME=
-github.com/securego/gosec/v2 v2.13.1/go.mod h1:EO1sImBMBWFjOTFzMWfTRrZW6M15gm60ljzrmy/wtHo=
-github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
-github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
-github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
-github.com/serialx/hashring v0.0.0-20190422032157-8b2912629002/go.mod h1:/yeG0My1xr/u+HZrFQ1tOQQQQrOawfyMUH13ai5brBc=
-github.com/shazow/go-diff v0.0.0-20160112020656-b6b7b6733b8c/go.mod h1:/PevMnwAxekIXwN8qQyfc5gl2NlkB3CQlkizAbOkeBs=
-github.com/shirou/gopsutil v0.0.0-20190901111213-e4ec7b275ada/go.mod h1:WWnYX4lzhCH5h/3YBfyVA3VbLYjlMZZAQcW9ojMexNc=
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible h1:Bn1aCHHRnjv4Bl16T8rcaFjYSrGrIZvpiGO6P3Q4GpU=
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible/go.mod h1:5b4v6he4MtMOwMlS0TUMTu2PcXUg8+E1lC7eC3UO/RA=
-github.com/shirou/gopsutil/v3 v3.22.8/go.mod h1:s648gW4IywYzUfE/KjXxUsqrqx/T2xO5VqOXxONeRfI=
-github.com/shirou/gopsutil/v3 v3.22.9/go.mod h1:bBYl1kjgEJpWpxeHmLI+dVHWtyAwfcmSBLDsp2TNT8A=
-github.com/shirou/w32 v0.0.0-20160930032740-bb4de0191aa4/go.mod h1:qsXQc7+bwAM3Q1u/4XEfrquwF8Lw7D7y5cD8CuHnfIc=
github.com/shopspring/decimal v1.2.0 h1:abSATXmQEYyShuxI4/vyW3tV1MrKAJzCZ/0zLUXYbsQ=
github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o=
-github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
-github.com/shurcooL/go v0.0.0-20200502201357-93f07166e636/go.mod h1:TDJrrUr11Vxrven61rcy3hJMUqaf/CLWYhHNPmT14Lk=
-github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041/go.mod h1:N5mDOmsrJOB+vfqUK+7DmDyjhSLIIBnXo9lvZJj3MWQ=
-github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
-github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
-github.com/shurcooL/vfsgen v0.0.0-20200824052919-0d455de96546/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=
-github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
-github.com/sirupsen/logrus v1.0.6/go.mod h1:pMByvHTf9Beacp5x1UXfOR9xyW/9antXMhjMPG0dEzc=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
-github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
-github.com/sirupsen/logrus v1.6.0/go.mod h1:7uNnSEd1DgxDLC74fIahvMZmmYsHGZGEOFrfsX/uA88=
-github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.8.1/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic61uBYv0=
github.com/sirupsen/logrus v1.9.0 h1:trlNQbNUG3OdDrDil03MCb1H2o9nJ1x4/5LYw7byDE0=
github.com/sirupsen/logrus v1.9.0/go.mod h1:naHLuLoDiP4jHNo9R0sCBMtWGeIprob74mVsIT4qYEQ=
-github.com/sivchari/containedctx v1.0.2/go.mod h1:PwZOeqm4/DLoJOqMSIJs3aKqXRX4YO+uXww087KZ7Bw=
-github.com/sivchari/nosnakecase v1.7.0/go.mod h1:CwDzrzPea40/GB6uynrNLiorAlgFRvRbFSgJx2Gs+QY=
-github.com/sivchari/tenv v1.7.0/go.mod h1:64yStXKSOxDfX47NlhVwND4dHwfZDdbp2Lyl018Icvg=
-github.com/skeema/knownhosts v1.1.0/go.mod h1:sKFq3RD6/TKZkSWn8boUbDC7Qkgcv+8XXijpFO6roag=
-github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
-github.com/smartystreets/assertions v1.0.0/go.mod h1:kHHU4qYBaI3q23Pp3VPrmWhuIUrLW/7eUrw0BU5VaoM=
-github.com/smartystreets/assertions v1.2.0/go.mod h1:tcbTF8ujkAEcZ8TElKY+i30BzYlVhC/LOxJk7iOWnoo=
-github.com/smartystreets/assertions v1.13.0/go.mod h1:wDmR7qL282YbGsPy6H/yAsesrxfxaaSlJazyFLYVFx8=
-github.com/smartystreets/go-aws-auth v0.0.0-20180515143844-0c1422d1fdb9/go.mod h1:SnhjPscd9TpLiy1LpzGSKh3bXCfxxXuqd9xmQJy3slM=
-github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
-github.com/smartystreets/goconvey v1.6.4/go.mod h1:syvi0/a8iFYH4r/RixwvyeAJjdLS9QV7WQ/tjFTllLA=
-github.com/smartystreets/goconvey v1.7.2/go.mod h1:Vw0tHAZW6lzCRk3xgdin6fKYcG+G3Pg9vgXWeJpQFMM=
-github.com/smartystreets/gunit v1.0.0/go.mod h1:qwPWnhz6pn0NnRBP++URONOVyNkPyr4SauJk4cUOwJs=
-github.com/snikch/goodman v0.0.0-20171125024755-10e37e294daa/go.mod h1:oJyF+mSPHbB5mVY2iO9KV3pTt/QbIkGaO8gQ2WrDbP4=
-github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM=
-github.com/soheilhy/cmux v0.1.5/go.mod h1:T7TcVDs9LWfQgPlPsdngu6I6QIoyIFZDDC6sNE1GqG0=
-github.com/sonatard/noctx v0.0.1/go.mod h1:9D2D/EoULe8Yy2joDHJj7bv3sZoq9AaSb8B4lqBjiZI=
-github.com/sony/gobreaker v0.4.1/go.mod h1:ZKptC7FHNvhBz7dN2LGjPVBz2sZJmc0/PkyDJOjmxWY=
-github.com/sourcegraph/go-diff v0.5.1/go.mod h1:j2dHj3m8aZgQO8lMTcTnBcXkRRRqi34cd2MNlA9u1mE=
-github.com/sourcegraph/go-diff v0.5.3/go.mod h1:v9JDtjCE4HHHCZGId75rg8gkKKa98RVjBcBGsVmMmak=
-github.com/sourcegraph/go-diff v0.6.1/go.mod h1:iBszgVvyxdc8SFZ7gm69go2KDdt3ag071iBaWPF6cjs=
github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
github.com/spaolacci/murmur3 v1.1.0 h1:7c1g84S4BPRrfL5Xrdp6fOJ206sU9y293DDHaoy0bLI=
github.com/spaolacci/murmur3 v1.1.0/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA=
github.com/spf13/afero v1.1.2/go.mod h1:j4pytiNVoe2o6bmDsKpLACNPDBIoEAkihy7loJ1B0CQ=
-github.com/spf13/afero v1.2.2/go.mod h1:9ZxEEn6pIJ8Rxe320qSDBk6AsU0r9pR7Q4OcevTdifk=
-github.com/spf13/afero v1.3.3/go.mod h1:5KUK8ByomD5Ti5Artl0RtHeI5pTF7MIDuXL3yY520V4=
-github.com/spf13/afero v1.6.0/go.mod h1:Ai8FlHk4v/PARR026UzYexafAt9roJ7LcLMAmO6Z93I=
-github.com/spf13/afero v1.8.2/go.mod h1:CtAatgMJh6bJEIs48Ay/FOnkljP3WeGUG0MC1RfAqwo=
-github.com/spf13/afero v1.9.2/go.mod h1:iUV7ddyEEZPO5gA3zD4fJt6iStLlL+Lg4m2cihcDf8Y=
github.com/spf13/afero v1.9.5 h1:stMpOSZFs//0Lv29HduCmli3GUfpFoF3Y1Q/aXj/wVM=
github.com/spf13/afero v1.9.5/go.mod h1:UBogFpq8E9Hx+xc5CNTTEpTnuHVmXDwZcZcE1eb/UhQ=
github.com/spf13/cast v1.3.0/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
-github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
-github.com/spf13/cast v1.4.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
-github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
github.com/spf13/cast v1.5.1 h1:R+kOtfhWQE6TVQzY+4D7wJLBgkdVasCEFxSUBYBYIlA=
github.com/spf13/cast v1.5.1/go.mod h1:b9PdjNptOpzXr7Rq1q9gJML/2cdGQAo69NKzQ10KN48=
-github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
-github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ=
github.com/spf13/cobra v0.0.5/go.mod h1:3K3wKZymM7VvHMDS9+Akkh4K60UwM26emMESw8tLCHU=
-github.com/spf13/cobra v1.0.0/go.mod h1:/6GTrnGXV9HjY+aR4k0oJ5tcvakLuG6EuKReYlHNrgE=
-github.com/spf13/cobra v1.1.3/go.mod h1:pGADOWyqRD/YMrPZigI/zbliZ2wVD/23d+is3pSWzOo=
-github.com/spf13/cobra v1.2.1/go.mod h1:ExllRjgxM/piMAM+3tAZvg8fsklGAf3tPfi+i8t68Nk=
-github.com/spf13/cobra v1.3.0/go.mod h1:BrRVncBjOJa/eUcVVm9CE+oC6as8k+VYr4NY7WCi9V4=
-github.com/spf13/cobra v1.4.0/go.mod h1:Wo4iy3BUC+X2Fybo0PDqwJIv3dNRiZLHQymsfxlB84g=
-github.com/spf13/cobra v1.5.0/go.mod h1:dWXEIy2H428czQCjInthrTRUg7yKbok+2Qi/yBIJoUM=
-github.com/spf13/cobra v1.6.0/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
-github.com/spf13/cobra v1.6.1/go.mod h1:IOw/AERYS7UzyrGinqmz6HLUo219MORXGxhbaJUqzrY=
github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I=
github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0=
github.com/spf13/jwalterweatherman v1.0.0/go.mod h1:cQK4TGJAtQXfYWX+Ddv3mKDzgVb68N+wFjFa4jdeBTo=
github.com/spf13/jwalterweatherman v1.1.0 h1:ue6voC5bR5F8YxI5S67j9i582FU4Qvo2bmqnqMYADFk=
github.com/spf13/jwalterweatherman v1.1.0/go.mod h1:aNWZUN0dPAAO/Ljvb5BEdw96iTZ0EXowPYD95IqWIGo=
-github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
-github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
-github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.3/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/spf13/viper v1.3.2/go.mod h1:ZiWeW+zYFKm7srdB9IoDzzZXaJaI5eL9QjNiN/DMA2s=
-github.com/spf13/viper v1.4.0/go.mod h1:PTJ7Z/lr49W6bUbkmS1V3by4uWynFiR9p7+dSq/yZzE=
-github.com/spf13/viper v1.6.1/go.mod h1:t3iDnF5Jlj76alVNuyFBk5oUMCvsrkbvZK0WQdfDi5k=
-github.com/spf13/viper v1.7.0/go.mod h1:8WkrPz2fc9jxqZNCJI/76HCieCp4Q8HaLFoCha5qpdg=
-github.com/spf13/viper v1.8.1/go.mod h1:o0Pch8wJ9BVSWGQMbra6iw0oQ5oktSIBaujf1rJH9Ns=
-github.com/spf13/viper v1.10.0/go.mod h1:SoyBPwAtKDzypXNDFKN5kzH7ppppbGZtls1UpIy5AsM=
-github.com/spf13/viper v1.12.0/go.mod h1:b6COn30jlNxbm/V2IqWiNWkJ+vZNiMNksliPCiuKtSI=
-github.com/spf13/viper v1.13.0/go.mod h1:Icm2xNL3/8uyh/wFuB1jI7TiTNKp8632Nwegu+zgdYw=
-github.com/spf13/viper v1.14.0/go.mod h1:WT//axPky3FdvXHzGw33dNdXXXfFQqmEalje+egj8As=
github.com/spf13/viper v1.16.0 h1:rGGH0XDZhdUOryiDWjmIvUSWpbNqisK8Wk0Vyefw8hc=
github.com/spf13/viper v1.16.0/go.mod h1:yg78JgCJcbrQOvV9YLXgkLaZqUidkY9K+Dd1FofRzQg=
-github.com/ssgreg/nlreturn/v2 v2.2.1/go.mod h1:E/iiPB78hV7Szg2YfRgyIrk1AD6JVMTRkkxBiELzh2I=
github.com/status-im/keycard-go v0.2.0 h1:QDLFswOQu1r5jsycloeQh3bVU8n/NatHHaZobtDnDzA=
-github.com/stbenjam/no-sprintf-host-port v0.1.1/go.mod h1:TLhvtIvONRzdmkFiio4O8LHsN9N74I+PhRquPsxpL0I=
-github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980/go.mod h1:AO3tvPzVZ/ayst6UlUKUv6rcPQInYe3IknH3jYhAKu8=
-github.com/stoewer/go-strcase v1.2.0/go.mod h1:IBiWB2sKIp3wVVQ3Y035++gc+knqhUQag1KpM8ahLw8=
-github.com/streadway/amqp v0.0.0-20190404075320-75d898a42a94/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
-github.com/streadway/amqp v0.0.0-20190827072141-edfb9018d271/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
-github.com/streadway/amqp v1.0.0/go.mod h1:AZpEONHx3DKn8O/DFsRAY58/XVQiIPMTMB1SddzLXVw=
-github.com/streadway/handy v0.0.0-20190108123426-d5acb3125c2a/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI=
-github.com/streadway/handy v0.0.0-20200128134331-0f66f006fb2e/go.mod h1:qNTQ5P5JnDBl6z3cMAg/SywNDC5ABu5ApDIw6lUbRmI=
-github.com/stretchr/objx v0.0.0-20180129172003-8a3f7159479f/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
-github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
-github.com/stretchr/objx v0.3.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c=
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
-github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
-github.com/stretchr/testify v0.0.0-20170130113145-4d4bfba8f1d1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
-github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
-github.com/stretchr/testify v1.1.4/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
-github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -2768,394 +601,81 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
-github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals=
-github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
-github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
-github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.3/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
-github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw=
-github.com/subosito/gotenv v1.3.0/go.mod h1:YzJjq/33h7nrwdY+iHMhEOEEbW0ovIz0tB6t6PwAXzs=
-github.com/subosito/gotenv v1.4.0/go.mod h1:mZd6rFysKEcUhUHXJk0C/08wAgyDBFuwEYL7vWWGaGo=
-github.com/subosito/gotenv v1.4.1/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8=
github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
-github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
-github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
-github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww=
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7 h1:epCh84lMvA70Z7CTTCmYQn2CKbY8j86K7/FAIr141uY=
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc=
-github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07/go.mod h1:kDXzergiv9cbyO7IOYJZWg1U88JhDg3PB6klq9Hg2pA=
-github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ23RP/odRBOTVjwp2cDyi6I=
-github.com/tdakkota/asciicheck v0.0.0-20200416190851-d7f85be797a2/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM=
-github.com/tdakkota/asciicheck v0.0.0-20200416200610-e657995f937b/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM=
-github.com/tdakkota/asciicheck v0.1.1/go.mod h1:yHp0ai0Z9gUljN3o0xMhYJnH/IcvkdTBOX2fmJ93JEM=
-github.com/tdewolff/minify/v2 v2.12.1/go.mod h1:p5pwbvNs1ghbFED/ZW1towGsnnWwzvM8iz8l0eURi9g=
-github.com/tdewolff/minify/v2 v2.12.4/go.mod h1:h+SRvSIX3kwgwTFOpSckvSxgax3uy8kZTSF1Ojrr3bk=
-github.com/tdewolff/parse/v2 v2.6.3/go.mod h1:woz0cgbLwFdtbjJu8PIKxhW05KplTFQkOdX78o+Jgrs=
-github.com/tdewolff/parse/v2 v2.6.4/go.mod h1:woz0cgbLwFdtbjJu8PIKxhW05KplTFQkOdX78o+Jgrs=
-github.com/tdewolff/test v1.0.7/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE=
-github.com/tecbot/gorocksdb v0.0.0-20191217155057-f0fad39f321c/go.mod h1:ahpPrc7HpcfEWDQRZEmnXMzHY03mLDYMCxeDzy46i+8=
github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E=
github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME=
-github.com/tenntenn/modver v1.0.1/go.mod h1:bePIyQPb7UeioSRkw3Q0XeMhYZSMx9B8ePqg6SAMGH0=
-github.com/tenntenn/text/transform v0.0.0-20200319021203-7eef512accb3/go.mod h1:ON8b8w4BN/kE1EOhwT0o+d62W65a6aPw1nouo9LMgyY=
-github.com/tetafro/godot v0.3.7/go.mod h1:/7NLHhv08H1+8DNj0MElpAACw1ajsCuf3TKNQxA5S+0=
-github.com/tetafro/godot v0.4.2/go.mod h1:/7NLHhv08H1+8DNj0MElpAACw1ajsCuf3TKNQxA5S+0=
-github.com/tetafro/godot v1.4.11/go.mod h1:LR3CJpxDVGlYOWn3ZZg1PgNZdTUvzsZWu8xaEohUpn8=
github.com/tidwall/btree v1.6.0 h1:LDZfKfQIBHGHWSwckhXI0RPSXzlo+KYdjK7FWSqOzzg=
github.com/tidwall/btree v1.6.0/go.mod h1:twD9XRA5jj9VUQGELzDO4HPQTNJsoWWfYEL+EUQ2cKY=
-github.com/timakin/bodyclose v0.0.0-20190930140734-f7f2e9bca95e/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk=
-github.com/timakin/bodyclose v0.0.0-20200424151742-cb6215831a94/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk=
-github.com/timakin/bodyclose v0.0.0-20210704033933-f49887972144/go.mod h1:Qimiffbc6q9tBWlVV6x0P9sat/ao1xEkREYPPj9hphk=
-github.com/timonwong/loggercheck v0.9.3/go.mod h1:wUqnk9yAOIKtGA39l1KLE9Iz0QiTocu/YZoOf+OzFdw=
-github.com/tj/assert v0.0.0-20171129193455-018094318fb0/go.mod h1:mZ9/Rh9oLWpLLDRpvE+3b7gP/C2YyLFYxNmcLnPTMe0=
-github.com/tj/go-elastic v0.0.0-20171221160941-36157cbbebc2/go.mod h1:WjeM0Oo1eNAjXGDx2yma7uG2XoyRZTq1uv3M/o7imD0=
-github.com/tj/go-kinesis v0.0.0-20171128231115-08b17f58cb1b/go.mod h1:/yhzCV0xPfx6jb1bBgRFjl5lytqVqZXEaeqWP8lTEao=
-github.com/tj/go-spin v1.1.0/go.mod h1:Mg1mzmePZm4dva8Qz60H2lHwmJ2loum4VIrLgVnKwh4=
github.com/tklauser/go-sysconf v0.3.10 h1:IJ1AZGZRWbY8T5Vfk04D9WOA5WSejdflXxP03OUqALw=
github.com/tklauser/go-sysconf v0.3.10/go.mod h1:C8XykCvCb+Gn0oNCWPIlcb0RuglQTYaQ2hGm7jmxEFk=
github.com/tklauser/numcpus v0.4.0 h1:E53Dm1HjH1/R2/aoCtXtPgzmElmn51aOkhCFSuZq//o=
github.com/tklauser/numcpus v0.4.0/go.mod h1:1+UI3pD8NW14VMwdgJNJ1ESk2UnwhAnz5hMwiKKqXCQ=
-github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
-github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
-github.com/tmc/grpc-websocket-proxy v0.0.0-20200427203606-3cfed13b9966/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
-github.com/tmc/grpc-websocket-proxy v0.0.0-20201229170055-e5319fda7802/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U=
-github.com/tomarrell/wrapcheck/v2 v2.7.0/go.mod h1:ao7l5p0aOlUNJKI0qVwB4Yjlqutd0IvAB9Rdwyilxvg=
-github.com/tomasen/realip v0.0.0-20180522021738-f0c99a92ddce/go.mod h1:o8v6yHRoik09Xen7gje4m9ERNah1d1PPsVq1VEx9vE4=
-github.com/tommy-muehle/go-mnd v1.1.1/go.mod h1:dSUh0FtTP8VhvkL1S+gUR1OKd9ZnSaozuI6r3m6wOig=
-github.com/tommy-muehle/go-mnd v1.3.1-0.20200224220436-e6f9a994e8fa/go.mod h1:dSUh0FtTP8VhvkL1S+gUR1OKd9ZnSaozuI6r3m6wOig=
-github.com/tommy-muehle/go-mnd/v2 v2.5.1/go.mod h1:WsUAkMJMYww6l/ufffCD3m+P7LEvr8TnZn9lwVDlgzw=
-github.com/tonistiigi/fsutil v0.0.0-20201103201449-0834f99b7b85/go.mod h1:a7cilN64dG941IOXfhJhlH0qB92hxJ9A1ewrdUmJ6xo=
-github.com/tonistiigi/fsutil v0.0.0-20220115021204-b19f7f9cb274/go.mod h1:oPAfvw32vlUJSjyDcQ3Bu0nb2ON2B+G0dtVN/SZNJiA=
-github.com/tonistiigi/go-actions-cache v0.0.0-20220404170428-0bdeb6e1eac7/go.mod h1:qqvyZqkfwkoJuPU/bw61bItaoO0SJ8YSW0vSVRRvsRg=
-github.com/tonistiigi/go-archvariant v1.0.0/go.mod h1:TxFmO5VS6vMq2kvs3ht04iPXtu2rUT/erOnGFYfk5Ho=
-github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea/go.mod h1:WPnis/6cRcDZSUvVmezrxJPkiO87ThFYsoUiMwWNDJk=
-github.com/tonistiigi/vt100 v0.0.0-20210615222946-8066bb97264f/go.mod h1:ulncasL3N9uLrVann0m+CDlJKWsIAP34MPcOJF6VRvc=
github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
-github.com/tv42/httpunix v0.0.0-20191220191345-2ba4b9c3382c/go.mod h1:hzIxponao9Kjc7aWznkXaL4U4TWaDSs8zcsY4Ka08nM=
github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8=
github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U=
-github.com/uber/jaeger-client-go v2.25.0+incompatible/go.mod h1:WVhlPFC8FDjOFMMWRy2pZqQJSXxYSwNYOkTr/Z6d3Kk=
-github.com/uber/jaeger-lib v2.2.0+incompatible/go.mod h1:ComeNDZlWwrWnDv8aPp0Ba6+uUTzImX/AauajbLI56U=
-github.com/ugorji/go v1.1.4/go.mod h1:uQMGLiO92mf5W77hV/PUCpI3pbzQx3CRekS0kk+RGrc=
-github.com/ugorji/go v1.1.7/go.mod h1:kZn38zHttfInRq0xu/PH0az30d+z6vm202qpg1oXVMw=
-github.com/ugorji/go v1.2.7/go.mod h1:nF9osbDWLy6bDVv/Rtoh6QgnvNDpmCalQV5urGCCS6M=
github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
-github.com/ugorji/go/codec v1.1.7/go.mod h1:Ax+UKWsSmolVDwsd+7N3ZtXu+yMGCf907BLYF3GoBXY=
-github.com/ugorji/go/codec v1.2.7/go.mod h1:WGN1fab3R1fzQlVQTkfxVtIBhWDRqOviHU95kRgeqEY=
-github.com/ulikunitz/xz v0.5.6/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8=
-github.com/ulikunitz/xz v0.5.7/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
-github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/ulikunitz/xz v0.5.11 h1:kpFauv27b6ynzBNT/Xy+1k+fK4WswhN/6PN5WhFAGw8=
-github.com/ulikunitz/xz v0.5.11/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
-github.com/ultraware/funlen v0.0.2/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=
-github.com/ultraware/funlen v0.0.3/go.mod h1:Dp4UiAus7Wdb9KUZsYWZEWiRzGuM2kXM1lPbfaF6xhA=
-github.com/ultraware/whitespace v0.0.4/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
-github.com/ultraware/whitespace v0.0.5/go.mod h1:aVMh/gQve5Maj9hQ/hg+F75lr/X5A89uZnzAmWSineA=
-github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
-github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
-github.com/urfave/cli v1.22.1/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
-github.com/urfave/cli v1.22.2/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
-github.com/urfave/cli v1.22.4 h1:u7tSpNPPswAFymm8IehJhy4uJMlUuU/GmqSkvJ1InXA=
-github.com/urfave/cli v1.22.4/go.mod h1:Gos4lmkARVdJ6EkW0WaNv/tZAAMe9V7XWyB60NtXRu0=
github.com/urfave/cli/v2 v2.17.2-0.20221006022127-8f469abc00aa h1:5SqCsI/2Qya2bCzK15ozrqo2sZxkh0FHynJZOTVoV6Q=
-github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4=
-github.com/uudashr/gocognit v1.0.1/go.mod h1:j44Ayx2KW4+oB6SWMv8KsmHzZrOInQav7D3cQMJ5JUM=
-github.com/uudashr/gocognit v1.0.6/go.mod h1:nAIUuVBnYU7pcninia3BHOvQkpQCeO76Uscky5BOwcY=
-github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
-github.com/valyala/fasthttp v1.2.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s=
-github.com/valyala/fasthttp v1.6.0/go.mod h1:FstJa9V+Pj9vQ7OJie2qMHdwemEDaDiSdBnvPM1Su9w=
-github.com/valyala/fasthttp v1.30.0/go.mod h1:2rsYD01CKFrjjsvFxx75KlEUNpWNBY9JWD3K/7o2Cus=
-github.com/valyala/fasthttp v1.40.0/go.mod h1:t/G+3rLek+CyY9bnIE+YlMRddxVAAGjhxndDB4i4C0I=
-github.com/valyala/fasttemplate v1.0.1/go.mod h1:UQGH1tvbgY+Nz5t2n7tXsz52dQxojPUpymEIMZ47gx8=
-github.com/valyala/fasttemplate v1.2.1/go.mod h1:KHLXt3tVN2HBp8eijSv/kGJopbvo7S+qRAEEKiv+SiQ=
-github.com/valyala/quicktemplate v1.2.0/go.mod h1:EH+4AkTd43SvgIbQHYu59/cJyxDoOVRUAfrukLPuGJ4=
-github.com/valyala/quicktemplate v1.7.0/go.mod h1:sqKJnoaOF88V07vkO+9FL8fb9uZg/VPSJnLYn+LmLk8=
-github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio=
-github.com/valyala/tcplisten v1.0.0/go.mod h1:T0xQ8SeCZGxckz9qRXTfG43PvQ/mcWh7FwZEA7Ioqkc=
-github.com/vbatts/tar-split v0.11.2/go.mod h1:vV3ZuO2yWSVsz+pfFzDG/upWH1JhjOiEaWq6kXyQ3VI=
-github.com/vdemeester/k8s-pkg-credentialprovider v1.17.4/go.mod h1:inCTmtUdr5KJbreVojo06krnTgaeAz/Z7lynpPk/Q2c=
-github.com/vektra/mockery/v2 v2.14.0/go.mod h1:bnD1T8tExSgPD1ripLkDbr60JA9VtQeu12P3wgLZd7M=
-github.com/viki-org/dnscache v0.0.0-20130720023526-c70c1f23c5d8/go.mod h1:dniwbG03GafCjFohMDmz6Zc6oCuiqgH6tGNyXTkHzXE=
-github.com/vishvananda/netlink v0.0.0-20181108222139-023a6dafdcdf/go.mod h1:+SR5DhBJrl6ZM7CoCKvpw5BKroDKQ+PJqOg65H/2ktk=
-github.com/vishvananda/netlink v1.1.0/go.mod h1:cTgwzPIzzgDAYoQrMm0EdrjRUBkTqKYppBueQtXaqoE=
-github.com/vishvananda/netlink v1.1.1-0.20201029203352-d40f9887b852/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho=
-github.com/vishvananda/netlink v1.1.1-0.20210330154013-f5de75959ad5/go.mod h1:twkDnbuQxJYemMlGd4JFIcuhgX83tXhKS2B/PRMpOho=
-github.com/vishvananda/netns v0.0.0-20180720170159-13995c7128cc/go.mod h1:ZjcWmFBXmLKZu9Nxj3WKYEafiSqer2rnvPr0en9UNpI=
-github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df/go.mod h1:JP3t17pCcGlemwknint6hfoeCVQrEMVwxRLRjXpq+BU=
-github.com/vishvananda/netns v0.0.0-20200728191858-db3c7e526aae/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0=
-github.com/vishvananda/netns v0.0.0-20210104183010-2eb08e3e575f/go.mod h1:DD4vA1DwXk04H54A1oHXtwZmA0grkVMdPxx/VGLCah0=
-github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc=
-github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
-github.com/vmware/govmomi v0.20.3/go.mod h1:URlwyTFZX72RmxtxuaFL2Uj3fD1JTvZdx59bHWk6aFU=
-github.com/willf/bitset v1.1.11-0.20200630133818-d5bec3311243/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
-github.com/willf/bitset v1.1.11/go.mod h1:83CECat5yLh5zVOf4P1ErAgKA5UDvKtgyUABdr3+MjI=
-github.com/xanzy/go-gitlab v0.31.0/go.mod h1:sPLojNBn68fMUWSxIJtdVVIP8uSBYqesTfDUseX11Ug=
-github.com/xanzy/go-gitlab v0.32.0/go.mod h1:sPLojNBn68fMUWSxIJtdVVIP8uSBYqesTfDUseX11Ug=
-github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
-github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
-github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU=
-github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod h1:GwrjFmJcFw6At/Gs6z4yjiIwzuJ1/+UwLxMQDVQXShQ=
-github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod h1:5yf86TLmAcydyeJq5YvxkGPE2fm/u4myDekKRoLuqhs=
-github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y=
-github.com/xhit/go-str2duration v1.2.0/go.mod h1:3cPSlfZlUHVlneIVfePFWcJZsuwf+P1v2SRTV4cUmp4=
-github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8/go.mod h1:HUYIGzjTL3rfEspMxjDjgmT5uz5wzYJKVo23qUhYTos=
-github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
-github.com/xo/terminfo v0.0.0-20210125001918-ca9a967f8778/go.mod h1:2MuV+tbUrU1zIOPMxZ5EncGwgmMJsa+9ucAQZXxsObs=
github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 h1:bAn7/zixMGCfxrRTfdpNzjtPYqr8smhKouy9mxVdGPU=
-github.com/yagipy/maintidx v1.0.0/go.mod h1:0qNf/I/CCZXSMhsRsrEPDZ+DkekpKLXAJfsTACwgXLk=
-github.com/yalp/jsonpath v0.0.0-20180802001716-5cc68e5049a0/go.mod h1:/LWChgwKmvncFJFHJ7Gvn9wZArjbV5/FppcK2fKk/tI=
-github.com/yeya24/promlinter v0.2.0/go.mod h1:u54lkmBOZrpEbQQ6gox2zWKKLKu2SGe+2KOiextY+IA=
-github.com/yosssi/ace v0.0.5/go.mod h1:ALfIzm2vT7t5ZE7uoIZqF3TQ7SAOyupFZnkrF5id+K0=
-github.com/yudai/gojsondiff v1.0.0/go.mod h1:AY32+k2cwILAkW1fbgxQ5mUmMiZFgLIV+FBNExI05xg=
-github.com/yudai/golcs v0.0.0-20170316035057-ecda9a501e82/go.mod h1:lgjkn3NuSvDfVJdfcVVdX+jpBxNmX4rDAzaS45IcYoM=
-github.com/yudai/pp v2.0.1+incompatible/go.mod h1:PuxR/8QJ7cyCkFp/aUDS+JY727OFEZkTdatxwunjIkc=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
-github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
-github.com/yuin/goldmark v1.4.0/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
-github.com/yuin/goldmark v1.4.1/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
-github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0=
-github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod h1:aX5oPXxHm3bOH+xeAttToC8pqch2ScQN/JoXYupl6xs=
-github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod h1:NUSPSUX/bi6SeDMUh6brw0nXpxHnc96TguQh0+r/ssA=
-github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod h1:GlGEuHIJweS1mbCqG+7vt2nvWLzLLnRHbXz5JKd/Qbg=
-github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0=
-github.com/zeebo/xxh3 v1.0.2/go.mod h1:5NWz9Sef7zIDm2JHfFlcQvNekmcEl9ekUZQQKCYaDcA=
github.com/zondax/hid v0.9.1 h1:gQe66rtmyZ8VeGFcOpbuH3r7erYtNEAezCAYu8LdkJo=
github.com/zondax/hid v0.9.1/go.mod h1:l5wttcP0jwtdLjqjMMWFVEE7d1zO0jvSPA9OPZxWpEM=
-github.com/zondax/ledger-go v0.14.0/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320=
github.com/zondax/ledger-go v0.14.1 h1:Pip65OOl4iJ84WTpA4BKChvOufMhhbxED3BaihoZN4c=
github.com/zondax/ledger-go v0.14.1/go.mod h1:fZ3Dqg6qcdXWSOJFKMG8GCTnD7slO/RL2feOQv8K320=
-gitlab.com/bosi/decorder v0.2.3/go.mod h1:9K1RB5+VPNQYtXtTDAzd2OEftsZb1oV0IrJrzChSdGE=
-go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
-go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=
-go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
-go.etcd.io/bbolt v1.3.5/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ=
-go.etcd.io/bbolt v1.3.6/go.mod h1:qXsaaIqmgQH0T+OPdb99Bf+PKfBBQVAdyD6TY9G8XM4=
go.etcd.io/bbolt v1.3.7 h1:j+zJOnnEjF/kyHlDDgGnVL/AIqIJPq8UoB2GSNfkUfQ=
go.etcd.io/bbolt v1.3.7/go.mod h1:N9Mkw9X8x5fupy0IKsmuqVtoGDyxsaDlbk4Rd05IAQw=
-go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod h1:dnLIgRNXwCJa5e+c6mIZCrds/GIG4ncV9HhK5PX7jPg=
-go.etcd.io/etcd v0.0.0-20200513171258-e048e166ab9c/go.mod h1:xCI7ZzBfRuGgBXyXO6yfWfDmlWd35khcWpUa4L0xI/k=
-go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg=
-go.etcd.io/etcd/api/v3 v3.5.0/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
-go.etcd.io/etcd/api/v3 v3.5.1/go.mod h1:cbVKeC6lCfl7j/8jBhAK6aIYO9XOjdptoxU/nLQcPvs=
-go.etcd.io/etcd/api/v3 v3.5.4/go.mod h1:5GB2vv4A4AOn3yk7MftYGHkUfGtDHnEraIjym4dYz5A=
-go.etcd.io/etcd/api/v3 v3.5.5/go.mod h1:KFtNaxGDw4Yx/BA4iPPwevUTAuqcsPxzyX8PHydchN8=
-go.etcd.io/etcd/client/pkg/v3 v3.5.0/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
-go.etcd.io/etcd/client/pkg/v3 v3.5.1/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
-go.etcd.io/etcd/client/pkg/v3 v3.5.4/go.mod h1:IJHfcCEKxYu1Os13ZdwCwIUTUVGYTSAM3YSwc9/Ac1g=
-go.etcd.io/etcd/client/pkg/v3 v3.5.5/go.mod h1:ggrwbk069qxpKPq8/FKkQ3Xq9y39kbFR4LnKszpRXeQ=
-go.etcd.io/etcd/client/v2 v2.305.0/go.mod h1:h9puh54ZTgAKtEbut2oe9P4L/oqKCVB6xsXlzd7alYQ=
-go.etcd.io/etcd/client/v2 v2.305.1/go.mod h1:pMEacxZW7o8pg4CrFE7pquyCJJzZvkvdD2RibOCCCGs=
-go.etcd.io/etcd/client/v2 v2.305.4/go.mod h1:Ud+VUwIi9/uQHOMA+4ekToJ12lTxlv0zB/+DHwTGEbU=
-go.etcd.io/etcd/client/v2 v2.305.5/go.mod h1:zQjKllfqfBVyVStbt4FaosoX2iYd8fV/GRy/PbowgP4=
-go.etcd.io/etcd/client/v3 v3.5.0/go.mod h1:AIKXXVX/DQXtfTEqBryiLTUXwON+GuvO6Z7lLS/oTh0=
-go.etcd.io/etcd/client/v3 v3.5.4/go.mod h1:ZaRkVgBZC+L+dLCjTcF1hRXpgZXQPOvnA/Ak/gq3kiY=
-go.etcd.io/etcd/client/v3 v3.5.5/go.mod h1:aApjR4WGlSumpnJ2kloS75h6aHUmAyaPLjHMxpc7E7c=
-go.etcd.io/etcd/pkg/v3 v3.5.0/go.mod h1:UzJGatBQ1lXChBkQF0AuAtkRQMYnHubxAEYIrC3MSsE=
-go.etcd.io/etcd/raft/v3 v3.5.0/go.mod h1:UFOHSIvO/nKwd4lhkwabrTD3cqW5yVyYYf/KlD00Szc=
-go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVdCRJoS4=
-go.etcd.io/gofail v0.1.0/go.mod h1:VZBCXYGZhHAinaBiiqYvuDynvahNsAyLFwB3kEHKz1M=
-go.mozilla.org/mozlog v0.0.0-20170222151521-4bb13139d403/go.mod h1:jHoPAGnDrCy6kaI2tAze5Prf0Nr0w/oNkROt2lw3n3o=
-go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk=
-go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0=
-go.opencensus.io v0.18.0/go.mod h1:vKdFvxhtzZ9onBp9VKHK8z/sRpBMnKAsufL7wlDrCOA=
-go.opencensus.io v0.19.1/go.mod h1:gug0GbSHa8Pafr0d2urOSgoXHZ6x/RUlaiT0d9pqb4A=
-go.opencensus.io v0.19.2/go.mod h1:NO/8qkisMZLZ1FCsKNqtJPwc8/TaclWyY0B6wcYNg9M=
-go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
-go.opencensus.io v0.20.2/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU=
go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8=
go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=
go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk=
-go.opencensus.io v0.23.0/go.mod h1:XItmlyltB5F7CS4xOC1DcqMoFqwtC6OG2xF7mCv7P7E=
go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0=
-go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo=
-go.opentelemetry.io/contrib v0.20.0/go.mod h1:G/EtFaa6qaN7+LxqfIAT3GiZa7Wv5DTBUzl5H4LY0Kc=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.20.0/go.mod h1:oVGt1LRbBOBq1A5BQLlUg9UaU/54aiHw8cgjV3aWZ/E=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.28.0/go.mod h1:vEhqr0m4eTc+DWxfsXoXue2GBgV2uUwVznkGIHW/e5w=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.29.0/go.mod h1:LsankqVDx4W+RhZNA5uWarULII/MBhF5qwCYxTuyXjs=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.33.0/go.mod h1:y/SlJpJQPd2UzfBCj0E9Flk9FDCtTyqUmaCB41qFrWI=
-go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.36.3/go.mod h1:Dts42MGkzZne2yCru741+bFiTMWkIj/LLRizad7b9tw=
-go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.29.0/go.mod h1:vHItvsnJtp7ES++nFLLFBzUWny7fJQSvTlxFcqQGUr4=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.20.0/go.mod h1:2AboqHi0CiIZU0qwhtUfCYD1GeUzvvIXWNkhDt7ZMG4=
-go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.29.0/go.mod h1:tLYsuf2v8fZreBVwp9gVMhefZlLFZaUiNVSq8QxXRII=
-go.opentelemetry.io/otel v0.20.0/go.mod h1:Y3ugLH2oa81t5QO+Lty+zXf8zC9L26ax4Nzoxm/dooo=
-go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVjb2PTs=
-go.opentelemetry.io/otel v1.4.0/go.mod h1:jeAqMFKy2uLIxCtKxoFj0FAL5zAPKQagc3+GtBWakzk=
-go.opentelemetry.io/otel v1.4.1/go.mod h1:StM6F/0fSwpd8dKWDCdRr7uRvEPYdW0hBSlbdTiUde4=
-go.opentelemetry.io/otel v1.8.0/go.mod h1:2pkj+iMj0o03Y+cW6/m8Y4WkRdYN3AvCXCnzRMp9yvM=
-go.opentelemetry.io/otel v1.11.0/go.mod h1:H2KtuEphyMvlhZ+F7tg9GRhAOe60moNx61Ex+WmiKkk=
-go.opentelemetry.io/otel/exporters/jaeger v1.4.1/go.mod h1:ZW7vkOu9nC1CxsD8bHNHCia5JUbwP39vxgd1q4Z5rCI=
-go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM=
-go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4=
-go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.4.1/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.3.0/go.mod h1:hO1KLR7jcKaDDKDkvI9dP/FIhpmna5lkqPUQdEjFAM8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.4.1/go.mod h1:o5RW5o2pKpJLD5dNTCmjF1DorYwMeFJmb/rKr5sLaa8=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.3.0/go.mod h1:keUU7UfnwWTWpJ+FWnyqmogPa82nuU5VUANFq49hlMY=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.4.1/go.mod h1:c6E4V3/U+miqjs/8l950wggHGL1qzlp0Ypj9xoGrPqo=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.3.0/go.mod h1:QNX1aly8ehqqX1LEa6YniTU7VY9I6R3X/oPxhGdTceE=
-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.4.1/go.mod h1:VwYo0Hak6Efuy0TXsZs8o1hnV3dHDPNtDbycG0hI8+M=
-go.opentelemetry.io/otel/internal/metric v0.27.0/go.mod h1:n1CVxRqKqYZtqyTh9U/onvKapPGv7y/rpyOTI+LFNzw=
-go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU=
-go.opentelemetry.io/otel/metric v0.27.0/go.mod h1:raXDJ7uP2/Jc0nVZWQjJtzoyssOYWu/+pjZqRzfvZ7g=
-go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw=
-go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc=
-go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs=
-go.opentelemetry.io/otel/sdk v1.4.1/go.mod h1:NBwHDgDIBYjwK2WNu1OPgsIc2IJzmBXNnvIJxJc8BpE=
-go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE=
-go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE=
-go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw=
-go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKunbvWM4/fEjk=
-go.opentelemetry.io/otel/trace v1.4.0/go.mod h1:uc3eRsqDfWs9R7b92xbQbU42/eTNz4N+gLP8qJCi4aE=
-go.opentelemetry.io/otel/trace v1.4.1/go.mod h1:iYEVbroFCNut9QkwEczV9vMRPHNKSSwYZjulEtsmhFc=
-go.opentelemetry.io/otel/trace v1.8.0/go.mod h1:0Bt3PXY8w+3pheS3hQUt+wow8b1ojPaTBoTCh2zIFI4=
-go.opentelemetry.io/otel/trace v1.11.0/go.mod h1:nyYjis9jy0gytE9LXGU+/m1sHTKbRY0fX0hulNNDP1U=
-go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI=
-go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ=
-go.opentelemetry.io/proto/otlp v0.12.0/go.mod h1:TsIjwGWIx5VFYv9KGVlOpxoBl5Dy+63SUguV7GGvlSQ=
-go.opentelemetry.io/proto/otlp v0.15.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
-go.opentelemetry.io/proto/otlp v0.19.0/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U=
-go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
-go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ=
-go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
-go.uber.org/atomic v1.9.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc=
-go.uber.org/atomic v1.10.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0=
-go.uber.org/goleak v1.1.10/go.mod h1:8a7PlsEVH3e/a/GLqe5IIrQx6GzcnRmZEufDUTk4A7A=
-go.uber.org/goleak v1.1.11-0.20210813005559-691160354723/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
-go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
-go.uber.org/goleak v1.1.12/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
-go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
-go.uber.org/multierr v1.4.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4=
-go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU=
-go.uber.org/multierr v1.7.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak=
-go.uber.org/multierr v1.8.0/go.mod h1:7EAYxJLBy9rStEaz58O2t4Uvip6FSURkq8/ppBp95ak=
-go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA=
go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
-go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM=
-go.uber.org/zap v1.17.0/go.mod h1:MXVU+bhUf/A7Xi2HNOnopQOrmycQ5Ih87HtOu4q5SSo=
-go.uber.org/zap v1.19.1/go.mod h1:j3DNczoxDZroyBnOT1L/Q79cfUMGZxlv/9dzN7SM1rI=
-go.uber.org/zap v1.21.0/go.mod h1:wjWOCqI0f2ZZrJF/UufIOkiC8ii6tm1iqIsLo76RfJw=
-go.uber.org/zap v1.22.0/go.mod h1:H4siCOZOrAolnUPJEkfaSjDqyP+BDS0DdDWzwcgt3+U=
-go.uber.org/zap v1.23.0/go.mod h1:D+nX8jyLsMHMYrln8A0rJjFt/T/9/bGgIhAqxv5URuY=
-go4.org v0.0.0-20180809161055-417644f6feb5/go.mod h1:MkTOUMDaeVYJUOUsaDXIhWPZYa1yOyC1qaOBpL57BhE=
-gocloud.dev v0.19.0/go.mod h1:SmKwiR8YwIMMJvQBKLsC3fHNyMwXLw3PMDO+VVteJMI=
-golang.org/x/build v0.0.0-20190314133821-5284462c4bec/go.mod h1:atTaCNAy0f16Ah5aV1gMSwgiKVHwu/JncqDpuRr7lS4=
golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20180501155221-613d6eafa307/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20181009213950-7c1a557ab941/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20181029021203-45a5f77698d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
-golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
-golang.org/x/crypto v0.0.0-20190923035154-9ee001bba392/go.mod h1:/lpIB1dKB+9EgE3H3cr1v9wB50oz8l4C4h62xy7jSTY=
-golang.org/x/crypto v0.0.0-20191002192127-34f69633bfdc/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20191227163750-53104e6ec876/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.0.0-20200728195943-123391ffb6de/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20201002170205-7f63de1d35b0/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
-golang.org/x/crypto v0.0.0-20201117144127-c1f2f97bffc9/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
-golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
-golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I=
-golang.org/x/crypto v0.0.0-20210314154223-e6e6c4f2bb5b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
-golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4=
-golang.org/x/crypto v0.0.0-20210513164829-c07d793c2f9a/go.mod h1:P+XmwS30IXTQdn5tA2iutPOUgjI07+tq3H3K9MVA1s8=
-golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.0.0-20210915214749-c084706c2272/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
-golang.org/x/crypto v0.0.0-20211202192323-5770296d904e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220214200702-86341886e292/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.0.0-20220926161630-eccd6366d1be/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
-golang.org/x/crypto v0.1.0/go.mod h1:RecgLatLF4+eUMCP1PoPZQb+cVrJcOPbHkTkbkB9sbw=
-golang.org/x/crypto v0.2.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
-golang.org/x/crypto v0.3.0/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
-golang.org/x/crypto v0.4.0/go.mod h1:3quD/ATkf6oY+rnes5c3ExXTbLc8mueNue5/DoinL80=
-golang.org/x/crypto v0.5.0/go.mod h1:NK/OQwhpMQP3MwtdjgLlYHnH9ebylxKWv3e0fK+mkQU=
-golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58=
-golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
-golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g=
-golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0=
-golang.org/x/exp v0.0.0-20180321215751-8460e604b9de/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20180807140117-3d87b88a115f/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
+golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA=
+golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
-golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8=
golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod h1:86+5VVa7VpoJ4kLfm080zCjGlMRFzhUhsZKEZO7MGek=
-golang.org/x/exp v0.0.0-20191002040644-a1355ae1e2c3/go.mod h1:NOZ3BPKG0ec/BKJQgnvsSFpcKLM5xXVWnvZS97DWHgE=
golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod h1:JXzH8nQsPlswgeRAPE3MuO9GYsAcnJvJ4vnMwN/5qkY=
golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4=
golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM=
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU=
-golang.org/x/exp v0.0.0-20200331195152-e8c3332aa8e5/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw=
-golang.org/x/exp v0.0.0-20200513190911-00229845015e/go.mod h1:4M0jN8W1tt0AVLNr8HDosyJCDCDuyL9N9+3m7wDWgKw=
-golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod h1:Kr81I6Kryrl9sr8s2FK3vxD90NdsKWRuOIl2O4CvYbA=
-golang.org/x/exp v0.0.0-20220827204233-334a2380cb91/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE=
-golang.org/x/exp v0.0.0-20221019170559-20944726eadf/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE=
-golang.org/x/exp v0.0.0-20230131160201-f062dba9d201/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
-golang.org/x/exp v0.0.0-20230213192124-5e25df0256eb/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
-golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc h1:mCRnTeVUjcrhlRmO0VK8a6k6Rrf6TF9htwo2pJVSjIU=
-golang.org/x/exp v0.0.0-20230515195305-f3d0a9c9a5cc/go.mod h1:V1LtkGg67GoY2N1AnLN78QLrzxkLyJw7RJb1gzOOz9w=
-golang.org/x/exp/typeparams v0.0.0-20220218215828-6cf2b201936e/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
-golang.org/x/exp/typeparams v0.0.0-20220428152302-39d4317da171/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
-golang.org/x/exp/typeparams v0.0.0-20220613132600-b0d781184e0d/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
-golang.org/x/exp/typeparams v0.0.0-20220827204233-334a2380cb91/go.mod h1:AbB0pIl9nAr9wVwH+Z2ZpaocVmF5I4GyWCDIsVjR0bk=
-golang.org/x/image v0.0.0-20180708004352-c73c2afc3b81/go.mod h1:ux5Hcp/YLpHSI86hEcLt0YII63i6oz57MZXIpbrjZUs=
+golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb h1:xIApU0ow1zwMa2uL1VDNeQlNVFTWMQxZUZCMDy0Q4Us=
+golang.org/x/exp v0.0.0-20230711153332-06a737ee72cb/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc=
golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js=
golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/image v0.0.0-20190910094157-69e4b8554b2a/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/image v0.0.0-20200119044424-58c23975cae1/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/image v0.0.0-20200430140353-33d19683fad8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/image v0.0.0-20200618115811-c13761719519/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/image v0.0.0-20201208152932-35266b937fa6/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/image v0.0.0-20210216034530-4410531fe030/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
-golang.org/x/image v0.0.0-20210607152325-775e3b0c77b9/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM=
-golang.org/x/image v0.0.0-20210628002857-a66eb6448b8d/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM=
-golang.org/x/image v0.0.0-20211028202545-6944b10bf410/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM=
-golang.org/x/image v0.0.0-20220302094943-723b81ca9867/go.mod h1:023OzeP/+EPmXeapQh35lcL3II3LrY8Ic+EFFKVhULM=
-golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
-golang.org/x/lint v0.0.0-20181217174547-8f45f776aaf1/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc=
@@ -3166,7 +686,6 @@ golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod h1:5qLYkcX4OjUUV8bRu
golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/lint v0.0.0-20201208152925-83fdc39ff7b5/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
-golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY=
golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod h1:z+o9i4GpDbdi3rU15maQ/Ox0txvL9dWGYEHz965HBQE=
golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod h1:E/iHnbuqvinMTCcRqshq8CkpyQDoeVncDDYHnLhea+o=
golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc=
@@ -3177,51 +696,23 @@ golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
-golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
-golang.org/x/mod v0.5.0/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
-golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro=
-golang.org/x/mod v0.6.0-dev.0.20220106191415-9b9b3d81d5e3/go.mod h1:3p9vT2HGsQu2K1YbXdKPJLVgG5VJdoTa1poYQBtP1AY=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
-golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
-golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
-golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
-golang.org/x/mod v0.9.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
-golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20180218175443-cbe0f9307d01/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180719180050-a680a1efc54d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181023162649-9b4f9f5ad519/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181029044818-c44066c5c816/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181108082009-03003ca0c849/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181201002055-351d144fa1fc/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
-golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190327091125-710a502c58a2/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190522155817-f3200d17e092/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20190923162816-aa69164e4478/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
-golang.org/x/net v0.0.0-20191112182307-2180aed22343/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
@@ -3229,7 +720,6 @@ golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
-golang.org/x/net v0.0.0-20200421231249-e086a090c8fd/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
@@ -3239,71 +729,19 @@ golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod h1:/O7V0waA8r7cgGh81R
golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20200813134508-3edf25e44fcc/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
-golang.org/x/net v0.0.0-20201006153459-a7d1128ccaa0/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201031054903-ff519b6c9102/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
-golang.org/x/net v0.0.0-20201202161906-c7110b5ffcbb/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201209123823-ac852fbbde11/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
-golang.org/x/net v0.0.0-20210119194325-5f4716e94777/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
-golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4/go.mod h1:RBQZq4jEuRlivfhVLdyRGr576XBO4/greRjx4P4O3yc=
-golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM=
-golang.org/x/net v0.0.0-20210410081132-afb366fc7cd1/go.mod h1:9tjilg8BloeKEkVJvy7fQ90B1CfIiPueXVOjqfkSzI8=
-golang.org/x/net v0.0.0-20210428140749-89ef3d95e781/go.mod h1:OJAsFXCWl8Ukc7SiCT/9KSuxbyM7479/AVlXFRxuMCk=
-golang.org/x/net v0.0.0-20210503060351-7fd8e65b6420/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210510120150-4163338589ed/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210610132358-84b48f89b13b/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210614182718-04defd469f4e/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210805182204-aaa1db679c0d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210825183410-e898025ed96a/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20210917221730-978cfadd31cf/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20211008194852-3b03d305991f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20211015210444-4f30a5c0130f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20211209124913-491a49abca63/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20211216030914-fe4d6282115f/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
-golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220225172249-27dd8689420f/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220325170049-de3da57026de/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220412020605-290c469a71a5/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220425223048-2871e0cb64e4/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
golang.org/x/net v0.0.0-20220517181318-183a9ca12b87/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220520000938-2e3eb7b945c2/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk=
-golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
-golang.org/x/net v0.0.0-20220617184016-355a448f1bc9/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
-golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
-golang.org/x/net v0.0.0-20220726230323-06994584191e/go.mod h1:AaygXjzTFtRAg2ttMY5RMuhpJ3cNnI0XpyFJD1iQRSM=
-golang.org/x/net v0.0.0-20220812174116-3211cb980234/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
-golang.org/x/net v0.0.0-20220826154423-83b083e8dc8b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
-golang.org/x/net v0.0.0-20220909164309-bea034e7d591/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
-golang.org/x/net v0.0.0-20221002022538-bcab6841153b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
-golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
-golang.org/x/net v0.0.0-20221014081412-f15817d10f9b/go.mod h1:YDH+HFinaLZZlnHAfSS6ZXJJ9M9t4Dl22yv3iI2vPwk=
-golang.org/x/net v0.0.0-20221017152216-f25eb7ecb193/go.mod h1:RpDiru2p0u2F0lLpEoqnP2+7xs0ifAuOcJ442g6GU2s=
golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco=
-golang.org/x/net v0.2.0/go.mod h1:KqCZLdyyvdV855qA2rE3GC2aiw5xGR5TEjj8smXukLY=
-golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
-golang.org/x/net v0.4.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
-golang.org/x/net v0.5.0/go.mod h1:DivGGAXEgPSlEBzxGzZI+ZLohi+xUj054jfeKui00ws=
-golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
-golang.org/x/net v0.7.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
-golang.org/x/net v0.8.0/go.mod h1:QVkue5JL9kW//ek3r6jTKnTFis1tRmNAW2P1shuFdJc=
-golang.org/x/net v0.9.0/go.mod h1:d48xBJpPfHeWQsugry2m+kC02ZBRGRgulfHnEXEuWns=
-golang.org/x/net v0.10.0 h1:X2//UzNDwYmtCLn7To6G58Wr6f5ahEAQgKNzv9Y951M=
-golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
-golang.org/x/oauth2 v0.0.0-20180724155351-3d292e4d0cdc/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
+golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50=
+golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
-golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
-golang.org/x/oauth2 v0.0.0-20181106182150-f42d05182288/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
-golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
-golang.org/x/oauth2 v0.0.0-20190402181905-9f3314589c9a/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
@@ -3311,455 +749,160 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ
golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210220000619-9bb904979d93/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210313182246-cd4f82c27b84/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210402161424-2e8d93401602/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210805134026-6f1e6394065a/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20210819190943-2bc19b11175f/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20211005180243-6b3c2da341f1/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc=
-golang.org/x/oauth2 v0.0.0-20220309155454-6242fa91716a/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc=
-golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc=
-golang.org/x/oauth2 v0.0.0-20220608161450-d0670ef3b1eb/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE=
-golang.org/x/oauth2 v0.0.0-20220622183110-fd043fe589d2/go.mod h1:jaDAt6Dkxork7LmZnYtzbRWj0W47D86a3TGe0YHBvmE=
-golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
-golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
-golang.org/x/oauth2 v0.0.0-20221006150949-b44042a4b9c1/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
-golang.org/x/oauth2 v0.0.0-20221014153046-6fdb5e3db783/go.mod h1:h4gKUeWbJ4rQPri7E0u6Gs4e9Ri2zaLxzw5DI5XGrYg=
-golang.org/x/oauth2 v0.1.0/go.mod h1:G9FE4dLTsbXUu90h/Pf85g4w1D+SSAgR+q46nJZ8M4A=
-golang.org/x/oauth2 v0.4.0/go.mod h1:RznEsdpjGAINPTOF0UH/t+xJ75L18YO3Ho6Pyn+uRec=
-golang.org/x/oauth2 v0.5.0/go.mod h1:9/XBHVqLaWO3/BRHs5jbpYCnOZVjj5V0ndyaAM7KB4I=
-golang.org/x/oauth2 v0.6.0/go.mod h1:ycmewcwgD4Rpr3eZJLSB4Kyyljb3qDh40vJ8STE5HKw=
-golang.org/x/oauth2 v0.7.0 h1:qe6s0zUXlPX80/dITx3440hWZ7GwMwgDDyrSGTPJG/g=
-golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852/go.mod h1:JLpeXjPJfIyPr5TlbXLkXWLhP8nz10XfvxElABhCtcw=
+golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20190412183630-56d357773e84/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20220513210516-0976fa681c29/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20220929204114-8fcdb60fdcc0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
-golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
+golang.org/x/sync v0.2.0 h1:PUR+T4wwASmuSTYdKjYHI5TD22Wy5ogLU5qZCOLxBrI=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20181026203630-95b1ffbd15a5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20181029174526-d69651ed3497/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20181218192612-074acd46bca6/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190130150945-aca44879d564/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190606203320-7fc4e5ec1444/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190620070143-6f217b454f45/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190626221950-04f50cda93cb/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190812073006-9eafafc0a87e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190922100055-0a153f010e69/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190924154521-2837fb4f24fe/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191022100944-742c48ecaeb7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191112214154-59a1497f0cea/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191115151921-52ab43148777/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191210023423-ac6580df4449/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20191220142924-d4481acd189f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200120151820-655fe14d7479/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200124204421-9fbb57f87de9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200217220822-9197077df867/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200420163511-1957bb5e6d1f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200519105757-fe76b779f299/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200622214017-ed371f2e16b4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200728102440-3e129f6d46b1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200814200057-3d37ad5750ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200817155316-9781c653f443/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200831180312-196b9ba8737a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200905004654-be1d3432aa8f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200909081042-eff7692f9009/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200916030750-2334cc1a136f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200917073148-efd3b9a0ff20/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200922070232-aee5d888a860/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20200923182605-d9f96fdee20d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201013081832-0aaa2718063a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201112073958-5cba982894dd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201117170446-d9b008d0a637/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201201145000-ef89a241ccb3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201202213521-69691e467435/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20201207223542-d4d67f95c62d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210104204734-6f8348627aad/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210112080510-489259a85091/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210220050731-9a76102bfb43/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210225134936-a50acf3fe073/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210303074136-134d130e1a04/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210304124612-50617c2ba197/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210305230114-8fe3ee5dd75b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210313202042-bd2e13477e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210315160823-c6e025ad8005/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210320140829-1e4c9ba3b0c4/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210324051608-47abb6519492/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210330210617-4fbd30eecc44/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210423185535-09eb48e85fd7/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210426230700-d19ff857e887/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210510120138-977fb7262007/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210514084401-e8d321eab015/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210603125802-9665404d3644/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210616045830-e2b7044e8c71/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210816183151-1e6c022a8912/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210819135213-f52c844e1c1c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210823070655-63515b42dcdf/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210831042530-f4d43177bf5e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210903071746-97244b99971b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210906170528-6f6e22806c34/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210908233432-aa78b53d3365/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210909193231-528a39cd75f3/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210917161153-d61c044b1678/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211019181941-9d821ace8654/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211103235746-7861aae1554b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211105183446-c75c47738b0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211113001501-0c823b97ae02/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211124211545-fe61309f8881/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211205182925-97ca703d548d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20211210111614-af8b64212486/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220111092808-5a964db01320/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220204135822-1c1b9b1eba6a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220209214540-3681064d5158/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220319134239-a9b59b0215f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220328115105-d36c6a25d886/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220405210540-1e041c57c461/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220406163625-3f8b81556e12/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220502124256-b6088ccd6cba/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220610221304-9f5ed59c137d/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220615213510-4f61da869c0c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220624220833-87e55d714810/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220627191245-f75cf1eec38b/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220702020025-31831981b65f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220727055044-e65921a090b8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220817070843-5a390386f1f2/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220829200755-d48e67d00261/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220915200043-7b5979e65e41/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20220928140112-f11e5e49a4ec/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20221010170243-090e33056c14/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.0.0-20221013171732-95e765b1cc43/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/sys v0.8.0 h1:EBmGv8NaZBZTWvrbjNoL6HVt+IVy3QDQpJs7VRIw3tU=
-golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw=
+golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM=
+golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
-golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
-golang.org/x/term v0.0.0-20210615171337-6886f2dfbf5b/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
-golang.org/x/term v0.0.0-20220526004731-065cf7ba2467/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
-golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.1.0/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
-golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
-golang.org/x/term v0.3.0/go.mod h1:q750SLmJuPmVoN1blW3UFBPREJfb1KmY3vwxfr+nFDA=
-golang.org/x/term v0.4.0/go.mod h1:9P2UbLfCdcvo3p/nzKvsmas4TnlujnuoV9hGgYzW1lQ=
-golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
-golang.org/x/term v0.6.0/go.mod h1:m6U89DPEgQRMq3DNkDClhWw02AUbt2daBVO4cn4Hv9U=
-golang.org/x/term v0.7.0/go.mod h1:P32HKFT3hSsZrRxla30E9HqToFYAQPCMs/zFMBUFqPY=
-golang.org/x/term v0.8.0 h1:n5xxQn2i3PC0yLAbjTpNT85q/Kgzcr2gIoX9OrJUols=
-golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
-golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
+golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c=
+golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o=
golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
-golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
-golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ=
golang.org/x/text v0.4.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/text v0.5.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/text v0.6.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
-golang.org/x/text v0.8.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
-golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
-golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
-golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
+golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc=
+golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20200416051211-89c76fbcd5d1/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20201208040808-7e3f01d25324/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20211116232009-f0f3c7e86c11/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20220609170525-579cf78fd858/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20220722155302-e5dcc9cfc0b9/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.0.0-20220922220347-f3bd1da661af/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/time v0.1.0 h1:xYY+Bajn2a7VBmTM5GikTmnK8ZuX8YgnQCqZpbBNtmA=
-golang.org/x/time v0.1.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
-golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20180525024113-a5b4c53f6e8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
+golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181117154741-2ddaf7f79a09/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181219222714-6e267b5cc78e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20181221001348-537d06c36207/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20190110163146-51295c7ec13a/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20190221204921-83362c3779f5/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
-golang.org/x/tools v0.0.0-20190228203856-589c23e65e65/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
-golang.org/x/tools v0.0.0-20190307163923-6a08e3108db3/go.mod h1:25r3+/G6/xytQM8iWZKq3Hn0kr0rgFKPUNVEL/dr3z4=
golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190321232350-e250d351ecad/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190322203728-c1a832b0ad89/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190327201419-c70d86f8b7cf/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190422233926-fe54fb35175b/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190521203540-521d6ed310dd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
-golang.org/x/tools v0.0.0-20190706070813-72ffa07ba3db/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI=
-golang.org/x/tools v0.0.0-20190719005602-e377ae9d6386/go.mod h1:jcCCGcm9btYwXyDqrUWc6MKQKKGJCWEQ3AfLSRIbEuI=
golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20190907020128-2ca718005c18/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20190910044552-dd2b5c81c578/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20190916130336-e45ffcd953cc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20190927191325-030b2cf1153e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191010075000-0337d82405ff/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191108193012-7d206e10da11/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191112195655-aa38f8e97acc/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191113232020-e2727e816f5a/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
-golang.org/x/tools v0.0.0-20191216052735-49a3e744a425/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200102140908-9497f49d5709/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200117220505-0cba7a3a9ee9/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200204192400-7124308813f3/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod h1:o4KQGtdN14AW+yjsvvwRTJJuXz8XRtIHtEnmAXLyFUw=
-golang.org/x/tools v0.0.0-20200324003944-a576cf524670/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
-golang.org/x/tools v0.0.0-20200329025819-fd4102a86c65/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod h1:Sl4aGygMT6LrqrWclx+PTx3U+LnKx/seiNR+3G19Ar8=
-golang.org/x/tools v0.0.0-20200331202046-9d5940d49312/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200414032229-332987a829c3/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200422022333-3d57cf2e726e/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200426102838-f3a5411a4c3b/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200502202811-ed308ab3e770/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200505023115-26f46d2f7ef8/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200616133436-c1934b75d054/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200622203043-20e05c1c8ffa/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200624225443-88f3c62a19ff/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200625211823-6506e20df31f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200626171337-aa94e735be7f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200630154851-b2d8b0336632/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
-golang.org/x/tools v0.0.0-20200706234117-b22de6825cf7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200724022722-7017fd6b1305/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200812195022-5ae4c3c160a0/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200820010801-b793a1359eac/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
-golang.org/x/tools v0.0.0-20200831203904-5a2aa26beb65/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
-golang.org/x/tools v0.0.0-20200916195026-c9a70fc28ce3/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
-golang.org/x/tools v0.0.0-20201001104356-43ebab892c4c/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
-golang.org/x/tools v0.0.0-20201002184944-ecd9fd270d5d/go.mod h1:z6u4i615ZeAfBE4XtMziQW1fSVJXACjjbWkB/mvPzlU=
-golang.org/x/tools v0.0.0-20201023174141-c8cfbd0f21e6/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
-golang.org/x/tools v0.0.0-20201028025901-8cd080b735b3/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
-golang.org/x/tools v0.0.0-20201124115921-2c860bdd6e78/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20201201161351-ac6f37ff4c2a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20201208233053-a543418bbed2/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
-golang.org/x/tools v0.0.0-20201224043029-2b0845dc783e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
-golang.org/x/tools v0.0.0-20201230224404-63754364767c/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20210105154028-b0ab187a4818/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0=
-golang.org/x/tools v0.1.1-0.20210205202024-ef80cdb6ec6d/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU=
-golang.org/x/tools v0.1.1-0.20210302220138-2ac05c832e1a/go.mod h1:9bzcO0MWcOuT0tm1iBGzDVPshzfwoVvREIui8C+MHqU=
-golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
-golang.org/x/tools v0.1.2/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
-golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
-golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
-golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
-golang.org/x/tools v0.1.7/go.mod h1:LGqMHiF4EqQNHR1JncWGqT5BVaXmza+X+BDGol+dOxo=
-golang.org/x/tools v0.1.8/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU=
-golang.org/x/tools v0.1.9-0.20211228192929-ee1ca4ffc4da/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU=
-golang.org/x/tools v0.1.9/go.mod h1:nABZi5QlRsZVlzPpHl034qft6wpY4eDcsTt5AaioBiU=
-golang.org/x/tools v0.1.10/go.mod h1:Uh6Zz+xoGYZom868N8YTex3t7RhtHDBrE8Gzo9bV56E=
-golang.org/x/tools v0.1.11-0.20220513221640-090b14e8501f/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4=
-golang.org/x/tools v0.1.11/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4=
-golang.org/x/tools v0.1.12-0.20220628192153-7743d1d949f1/go.mod h1:SgwaegtQh8clINPpECJMqnxLv9I09HLqnW3RMqW0CA4=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
-golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
-golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k=
-golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
-golang.org/x/tools v0.7.0/go.mod h1:4pg6aUX35JBAogB10C9AtvVL+qowtN4pT3CGSQex14s=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20220411194840-2f41105eb62f/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
-golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
-golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk=
-golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8=
-gonum.org/v1/gonum v0.0.0-20180816165407-929014505bf4/go.mod h1:Y+Yx5eoAFn32cQvJDxZx5Dpnq+c3wtXuadVZAcxbbBo=
-gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod h1:2ltnJ7xHfj0zHS40VVPYEAAMTa3ZGguvHGBSJeRWqE0=
-gonum.org/v1/gonum v0.8.2/go.mod h1:oe/vMfY3deqTw+1EZJhuvEW2iwGF1bW9wwu7XCu0+v0=
-gonum.org/v1/gonum v0.9.3/go.mod h1:TZumC3NeyVQskjXqmyWt4S3bINhy7B4eYwW69EbyX+0=
-gonum.org/v1/gonum v0.11.0/go.mod h1:fSG4YDCxxUZQJ7rKsQrj0gMOg00Il0Z96/qMA4bVQhA=
-gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod h1:wa6Ws7BG/ESfp6dHfk7C6KdzKA7wR7u/rKwOGE66zvw=
-gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod h1:kS+toOQn6AQKjmKJ7gzohV1XkqsFehRA2FbsbkopSuQ=
-gonum.org/v1/plot v0.0.0-20190515093506-e2840ee46a6b/go.mod h1:Wt8AAjI+ypCyYX3nZBvf6cAIx93T+c/OS2HFAYskSZc=
-gonum.org/v1/plot v0.9.0/go.mod h1:3Pcqqmp6RHvJI72kgb8fThyUnav364FOsdDo2aGW5lY=
-gonum.org/v1/plot v0.10.1/go.mod h1:VZW5OlhkL1mysU9vaqNHnsy86inf6Ot+jB3r+BczCEo=
-google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
-google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
-google.golang.org/api v0.0.0-20181030000543-1d582fd0359e/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
-google.golang.org/api v0.0.0-20181220000619-583d854617af/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
-google.golang.org/api v0.2.0/go.mod h1:IfRCZScioGtypHNTlz3gFk67J8uePVW7uDTBzXuIkhU=
-google.golang.org/api v0.3.0/go.mod h1:IuvZyQh8jgscv8qWfQ4ABd8m7hEudgBFM/EdhA3BnXw=
-google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk=
google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
-google.golang.org/api v0.5.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE=
-google.golang.org/api v0.6.0/go.mod h1:btoxGiFvQNVUZQ8W08zLtrVS08CNpINPEfxXxgJL1Q4=
-google.golang.org/api v0.6.1-0.20190607001116-5213b8090861/go.mod h1:btoxGiFvQNVUZQ8W08zLtrVS08CNpINPEfxXxgJL1Q4=
google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M=
google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
google.golang.org/api v0.9.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
-google.golang.org/api v0.10.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg=
google.golang.org/api v0.13.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
google.golang.org/api v0.14.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
google.golang.org/api v0.15.0/go.mod h1:iLdEw5Ide6rF15KTC1Kkl0iskquN2gFfn9o9XIsbkAI=
@@ -3769,91 +912,35 @@ google.golang.org/api v0.19.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/
google.golang.org/api v0.20.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
google.golang.org/api v0.22.0/go.mod h1:BwFmGc8tA3vsd7r/7kR8DY7iEEGSU04BFxCo5jP/sfE=
google.golang.org/api v0.24.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
-google.golang.org/api v0.25.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
google.golang.org/api v0.28.0/go.mod h1:lIXQywCXRcnZPGlsd8NbLnOjtAoL6em04bJ9+z0MncE=
google.golang.org/api v0.29.0/go.mod h1:Lcubydp8VUV7KeIHD9z2Bys/sm/vGKnG1UHuDBSrHWM=
google.golang.org/api v0.30.0/go.mod h1:QGmEvQ87FHZNiUVJkT14jQNYJ4ZJjdRF23ZXz5138Fc=
google.golang.org/api v0.35.0/go.mod h1:/XrVsuzM0rZmrsbjJutiuftIzeuTQcEeaYcSk/mQ1dg=
google.golang.org/api v0.36.0/go.mod h1:+z5ficQTmoYpPn8LCUNVpK5I7hwkpjbcgqA7I34qYtE=
google.golang.org/api v0.40.0/go.mod h1:fYKFpnQN0DsDSKRVRcQSDQNtqWPfM9i+zNPxepjRCQ8=
-google.golang.org/api v0.41.0/go.mod h1:RkxM5lITDfTzmyKFPt+wGrCJbVfniCr2ool8kTBzRTU=
-google.golang.org/api v0.43.0/go.mod h1:nQsDGjRXMo4lvh5hP0TKqF244gqhGcr/YSIykhUk/94=
-google.golang.org/api v0.44.0/go.mod h1:EBOGZqzyhtvMDoxwS97ctnh0zUmYY6CxqXsc1AvkYD8=
-google.golang.org/api v0.47.0/go.mod h1:Wbvgpq1HddcWVtzsVLyfLp8lDg6AA241LmgIL59tHXo=
-google.golang.org/api v0.48.0/go.mod h1:71Pr1vy+TAZRPkPs/xlCf5SsU8WjuAWv1Pfjbtukyy4=
-google.golang.org/api v0.50.0/go.mod h1:4bNT5pAuq5ji4SRZm+5QIkjny9JAyVD/3gaSihNefaw=
-google.golang.org/api v0.51.0/go.mod h1:t4HdrdoNgyN5cbEfm7Lum0lcLDLiise1F8qDKX00sOU=
-google.golang.org/api v0.54.0/go.mod h1:7C4bFFOvVDGXjfDTAsgGwDgAxRDeQ4X8NvUedIt6z3k=
-google.golang.org/api v0.55.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE=
-google.golang.org/api v0.56.0/go.mod h1:38yMfeP1kfjsl8isn0tliTjIb1rJXcQi4UXlbqivdVE=
-google.golang.org/api v0.57.0/go.mod h1:dVPlbZyBo2/OjBpmvNdpn2GRm6rPy75jyU7bmhdrMgI=
-google.golang.org/api v0.59.0/go.mod h1:sT2boj7M9YJxZzgeZqXogmhfmRWDtPzT31xkieUbuZU=
-google.golang.org/api v0.61.0/go.mod h1:xQRti5UdCmoCEqFxcz93fTl338AVqDgyaDRuOZ3hg9I=
-google.golang.org/api v0.62.0/go.mod h1:dKmwPCydfsad4qCH08MSdgWjfHOyfpd4VtDGgRFdavw=
-google.golang.org/api v0.63.0/go.mod h1:gs4ij2ffTRXwuzzgJl/56BdwJaA194ijkfn++9tDuPo=
-google.golang.org/api v0.67.0/go.mod h1:ShHKP8E60yPsKNw/w8w+VYaj9H6buA5UqDp8dhbQZ6g=
-google.golang.org/api v0.70.0/go.mod h1:Bs4ZM2HGifEvXwd50TtW70ovgJffJYw2oRCOFU/SkfA=
-google.golang.org/api v0.71.0/go.mod h1:4PyU6e6JogV1f9eA4voyrTY2batOLdgZ5qZ5HOCc4j8=
-google.golang.org/api v0.74.0/go.mod h1:ZpfMZOVRMywNyvJFeqL9HRWBgAuRfSjJFpe9QtRRyDs=
-google.golang.org/api v0.75.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA=
-google.golang.org/api v0.77.0/go.mod h1:pU9QmyHLnzlpar1Mjt4IbapUCy8J+6HD6GeELN69ljA=
-google.golang.org/api v0.78.0/go.mod h1:1Sg78yoMLOhlQTeF+ARBoytAcH1NNyyl390YMy6rKmw=
-google.golang.org/api v0.80.0/go.mod h1:xY3nI94gbvBrE0J6NHXhxOmW97HG7Khjkku6AFB3Hyg=
-google.golang.org/api v0.81.0/go.mod h1:FA6Mb/bZxj706H2j+j2d6mHEEaHBmbbWnkfvmorOCko=
-google.golang.org/api v0.84.0/go.mod h1:NTsGnUFJMYROtiquksZHBWtHfeMC7iYthki7Eq3pa8o=
-google.golang.org/api v0.85.0/go.mod h1:AqZf8Ep9uZ2pyTvgL+x0D3Zt0eoT9b5E8fmzfu6FO2g=
-google.golang.org/api v0.90.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw=
-google.golang.org/api v0.93.0/go.mod h1:+Sem1dnrKlrXMR/X0bPnMWyluQe4RsNoYfmNLhOIkzw=
-google.golang.org/api v0.95.0/go.mod h1:eADj+UBuxkh5zlrSntJghuNeg8HwQ1w5lTKkuqaETEI=
-google.golang.org/api v0.96.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s=
-google.golang.org/api v0.97.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s=
-google.golang.org/api v0.98.0/go.mod h1:w7wJQLTM+wvQpNf5JyEcBoxK0RH7EDrh/L4qfsuJ13s=
-google.golang.org/api v0.99.0/go.mod h1:1YOf74vkVndF7pG6hIHuINsM7eWwpVTAfNMNiL91A08=
-google.golang.org/api v0.100.0/go.mod h1:ZE3Z2+ZOr87Rx7dqFsdRQkRBk36kDtp/h+QpHbB7a70=
-google.golang.org/api v0.102.0/go.mod h1:3VFl6/fzoA+qNuS1N1/VfXY4LjoXN/wzeIp7TweWwGo=
-google.golang.org/api v0.103.0/go.mod h1:hGtW6nK1AC+d9si/UBhw8Xli+QMOf6xyNAyJw4qU9w0=
-google.golang.org/api v0.106.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY=
-google.golang.org/api v0.107.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY=
-google.golang.org/api v0.108.0/go.mod h1:2Ts0XTHNVWxypznxWOYUeI4g3WdP9Pk2Qk58+a/O9MY=
-google.golang.org/api v0.110.0/go.mod h1:7FC4Vvx1Mooxh8C5HWjzZHcavuS2f6pmJpZx60ca7iI=
-google.golang.org/api v0.122.0 h1:zDobeejm3E7pEG1mNHvdxvjs5XJoCMzyNH+CmwL94Es=
+google.golang.org/api v0.126.0 h1:q4GJq+cAdMAC7XP7njvQ4tvohGLiSlytuL4BQxbIZ+o=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
-google.golang.org/appengine v1.2.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
-google.golang.org/appengine v1.3.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.5.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.1/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
-google.golang.org/appengine v1.6.2/go.mod h1:i06prIuMbXzDqacNJfV5OdTW448YApPu5ww/cMBSeb0=
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.6/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
-google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod h1:0H1ncTHf11KCFhTc/+EFRbzSCOZx+VUbRMk55Yv5MYk=
-google.golang.org/genproto v0.0.0-20170818010345-ee236bd376b0/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
-google.golang.org/genproto v0.0.0-20180518175338-11a468237815/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
-google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
-google.golang.org/genproto v0.0.0-20181107211654-5fc9ac540362/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
-google.golang.org/genproto v0.0.0-20181219182458-5a97ab628bfb/go.mod h1:7Ep/1NZk928CDR8SjdVbjWNpdIf6nzjE3BTgJDr2Atg=
google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190508193815-b515fa19cec8/go.mod h1:VzzqZJRnGkLBvHegQrXjBqPurQTc5/KpmUdxsrq26oE=
-google.golang.org/genproto v0.0.0-20190522204451-c2c4e71fbf69/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
-google.golang.org/genproto v0.0.0-20190530194941-fb225487d101/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
-google.golang.org/genproto v0.0.0-20190620144150-6af8c5fc6601/go.mod h1:z3L6/3dTEVtUr6QSP8miRzeRqwQOioJ9I66odjN4I7s=
google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
-google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8=
google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
-google.golang.org/genproto v0.0.0-20200117163144-32f20d992d24/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod h1:n3cpQtvxv34hfy77yVDNjmbRyujviMdxYliBSkLhpCc=
google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA=
google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
@@ -3868,181 +955,42 @@ google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod h1:55QSHmfG
google.golang.org/genproto v0.0.0-20200513103714-09dca8ec2884/go.mod h1:55QSHmfGQM9UVYDPBsyGGes0y52j32PQ3BqQfXhyH3c=
google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod h1:YsZOwe1myG/8QRHRsmBRE1LrgQY60beZKjly0O1fX9U=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
-google.golang.org/genproto v0.0.0-20200527145253-8367513e4ece/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod h1:jDfRM7FcilCzHH/e9qn6dsT145K34l5v+OpcnNgKAAA=
-google.golang.org/genproto v0.0.0-20200626011028-ee7919e894b5/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20200707001353-8e8330bf89df/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20200904004341-0bd0a958aa1d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20201019141844-1ed22bb0c154/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20201109203340-2640f1f9cdfb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20201110150050-8816d57aaa9a/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20201201144952-b05cb90ed32e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20210126160654-44e461bb6506/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20210222152913-aa3ee6e6a81c/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20210303154014-9728d6b83eeb/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20210310155132-4ce2db91004e/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20210319143718-93e7006c17a6/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no=
-google.golang.org/genproto v0.0.0-20210329143202-679c6ae281ee/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
-google.golang.org/genproto v0.0.0-20210402141018-6c239bbf2bb1/go.mod h1:9lPAdzaEmUacj36I+k7YKbEc5CXzPIeORRgDAUOu28A=
-google.golang.org/genproto v0.0.0-20210513213006-bf773b8c8384/go.mod h1:P3QM42oQyzQSnHPnZ/vqoCdDmzH28fzWByN9asMeM8A=
-google.golang.org/genproto v0.0.0-20210602131652-f16073e35f0c/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
-google.golang.org/genproto v0.0.0-20210604141403-392c879c8b08/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
-google.golang.org/genproto v0.0.0-20210608205507-b6d2f5bf0d7d/go.mod h1:UODoCrxHCcBojKKwX1terBiRUaqAsFqJiF615XL43r0=
-google.golang.org/genproto v0.0.0-20210624195500-8bfb893ecb84/go.mod h1:SzzZ/N+nwJDaO1kznhnlzqS8ocJICar6hYhVyhi++24=
-google.golang.org/genproto v0.0.0-20210713002101-d411969a0d9a/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k=
-google.golang.org/genproto v0.0.0-20210716133855-ce7ef5c701ea/go.mod h1:AxrInvYm1dci+enl5hChSFPOmmUF1+uAa/UsgNRWd7k=
-google.golang.org/genproto v0.0.0-20210728212813-7823e685a01f/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48=
-google.golang.org/genproto v0.0.0-20210805201207-89edb61ffb67/go.mod h1:ob2IJxKrgPT52GcgX759i1sleT07tiKowYBGbczaW48=
-google.golang.org/genproto v0.0.0-20210813162853-db860fec028c/go.mod h1:cFeNkxwySK631ADgubI+/XFU/xp8FD5KIVV4rj8UC5w=
-google.golang.org/genproto v0.0.0-20210821163610-241b8fcbd6c8/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210828152312-66f60bf46e71/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210831024726-fe130286e0e2/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210903162649-d08c68adba83/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210909211513-a8c4777a87af/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210917145530-b395a37504d4/go.mod h1:eFjDcFEctNawg4eG61bRv87N7iHBWyVhJu7u1kqDUXY=
-google.golang.org/genproto v0.0.0-20210924002016-3dee208752a0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211008145708-270636b82663/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211028162531-8db9c33dc351/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211129164237-f09f9a12af12/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211203200212-54befc351ae9/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211206160659-862468c7d6e0/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211208223120-3a66f561d7aa/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20211221195035-429b39de9b1c/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20220207164111-0872dc986b00/go.mod h1:5CzLGKJ67TSI2B9POpiiyGha0AjJvZIUgRMt1dSmuhc=
-google.golang.org/genproto v0.0.0-20220218161850-94dd64e39d7c/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
-google.golang.org/genproto v0.0.0-20220222213610-43724f9ea8cf/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
-google.golang.org/genproto v0.0.0-20220304144024-325a89244dc8/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
-google.golang.org/genproto v0.0.0-20220310185008-1973136f34c6/go.mod h1:kGP+zUP2Ddo0ayMi4YuN7C3WZyJvGLZRh8Z5wnAqvEI=
-google.golang.org/genproto v0.0.0-20220314164441-57ef72a4c106/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E=
-google.golang.org/genproto v0.0.0-20220324131243-acbaeb5b85eb/go.mod h1:hAL49I2IFola2sVEjAn7MEwsja0xp51I0tlGAf9hz4E=
-google.golang.org/genproto v0.0.0-20220329172620-7be39ac1afc7/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220407144326-9054f6ed7bac/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220413183235-5e96e2839df9/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220414192740-2d67ff6cf2b4/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220421151946-72621c1f0bd3/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220429170224-98d788798c3e/go.mod h1:8w6bsBMX6yCPbAVTeqQHvzxW0EIFigd5lZyahWgyfDo=
-google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
-google.golang.org/genproto v0.0.0-20220505152158-f39f71e6c8f3/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
-google.golang.org/genproto v0.0.0-20220518221133-4f43b3371335/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
-google.golang.org/genproto v0.0.0-20220519153652-3a47de7e79bd/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
-google.golang.org/genproto v0.0.0-20220523171625-347a074981d8/go.mod h1:RAyBrSAP7Fh3Nc84ghnVLDPuV51xc9agzmm4Ph6i0Q4=
-google.golang.org/genproto v0.0.0-20220608133413-ed9918b62aac/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA=
-google.golang.org/genproto v0.0.0-20220616135557-88e70c0c3a90/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA=
-google.golang.org/genproto v0.0.0-20220617124728-180714bec0ad/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA=
-google.golang.org/genproto v0.0.0-20220624142145-8cd45d7dbd1f/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA=
-google.golang.org/genproto v0.0.0-20220628213854-d9e0b6570c03/go.mod h1:KEWEmljWE5zPzLBa/oHl6DaEt9LmfH6WtH1OHIvleBA=
-google.golang.org/genproto v0.0.0-20220722212130-b98a9ff5e252/go.mod h1:GkXuJDJ6aQ7lnJcRF+SJVgFdQhypqgl3LB1C9vabdRE=
-google.golang.org/genproto v0.0.0-20220725144611-272f38e5d71b/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc=
-google.golang.org/genproto v0.0.0-20220801145646-83ce21fca29f/go.mod h1:iHe1svFLAZg9VWz891+QbRMwUv9O/1Ww+/mngYeThbc=
-google.golang.org/genproto v0.0.0-20220815135757-37a418bb8959/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk=
-google.golang.org/genproto v0.0.0-20220817144833-d7fd3f11b9b1/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk=
-google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk=
-google.golang.org/genproto v0.0.0-20220829144015-23454907ede3/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk=
-google.golang.org/genproto v0.0.0-20220829175752-36a9c930ecbf/go.mod h1:dbqgFATTzChvnt+ujMdZwITVAJHFtfyN1qUhDqEiIlk=
-google.golang.org/genproto v0.0.0-20220913154956-18f8339a66a5/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo=
-google.golang.org/genproto v0.0.0-20220914142337-ca0e39ece12f/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo=
-google.golang.org/genproto v0.0.0-20220915135415-7fd63a7952de/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo=
-google.golang.org/genproto v0.0.0-20220916172020-2692e8806bfa/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo=
-google.golang.org/genproto v0.0.0-20220919141832-68c03719ef51/go.mod h1:0Nb8Qy+Sk5eDzHnzlStwW3itdNaWoZA5XeSG+R3JHSo=
-google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006/go.mod h1:ht8XFiar2npT/g4vkk7O0WYS1sHOHbdujxbEp7CJWbw=
-google.golang.org/genproto v0.0.0-20220926165614-551eb538f295/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI=
-google.golang.org/genproto v0.0.0-20220926220553-6981cbe3cfce/go.mod h1:woMGP53BroOrRY3xTxlbr8Y3eB/nzAvvFM83q7kG2OI=
-google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e/go.mod h1:3526vdqwhZAwq4wsRUaVG555sVgsNmIjRtO7t/JH29U=
-google.golang.org/genproto v0.0.0-20221014173430-6e2ab493f96b/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM=
-google.golang.org/genproto v0.0.0-20221014213838-99cd37c6964a/go.mod h1:1vXfmgAz9N9Jx0QA82PqRVauvCz1SGSz739p0f183jM=
-google.golang.org/genproto v0.0.0-20221024153911-1573dae28c9c/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s=
-google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s=
-google.golang.org/genproto v0.0.0-20221025140454-527a21cfbd71/go.mod h1:9qHF0xnpdSfF6knlcsnpzUu5y+rpwgbvsyGAZPBMg4s=
-google.golang.org/genproto v0.0.0-20221027153422-115e99e71e1c/go.mod h1:CGI5F/G+E5bKwmfYo09AXuVN4dD894kIKUFmVbP2/Fo=
-google.golang.org/genproto v0.0.0-20221109142239-94d6d90a7d66/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
-google.golang.org/genproto v0.0.0-20221114212237-e4508ebdbee1/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
-google.golang.org/genproto v0.0.0-20221117204609-8f9c96812029/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
-google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
-google.golang.org/genproto v0.0.0-20221201164419-0e50fba7f41c/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
-google.golang.org/genproto v0.0.0-20221201204527-e3fa12d562f3/go.mod h1:rZS5c/ZVYMaOGBfO68GWtjOw/eLaZM1X6iVtgjZ+EWg=
-google.golang.org/genproto v0.0.0-20221202195650-67e5cbc046fd/go.mod h1:cTsE614GARnxrLsqKREzmNYJACSWWpAWdNMwnD7c2BE=
-google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230110181048-76db0878b65f/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230112194545-e10362b5ecf9/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230113154510-dbe35b8444a5/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230123190316-2c411cf9d197/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230124163310-31e0e69b6fc2/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230125152338-dcaf20b6aeaa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230127162408-596548ed4efa/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230202175211-008b39050e57/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230209215440-0dfe4f8abfcc/go.mod h1:RGgjbofJ8xD9Sq1VVhDM1Vok1vRONV+rg+CjzG4SZKM=
-google.golang.org/genproto v0.0.0-20230216225411-c8e22ba71e44/go.mod h1:8B0gmkoRebU8ukX6HP+4wrVQUY1+6PkQ44BSyIlflHA=
-google.golang.org/genproto v0.0.0-20230222225845-10f96fb3dbec/go.mod h1:3Dl5ZL0q0isWJt+FVcfpQyirqemEuLAK/iFvg1UP1Hw=
-google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4/go.mod h1:NWraEVixdDnqcqQ30jipen1STv2r/n24Wb7twVTGR4s=
-google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A=
-google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU=
-google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
-google.golang.org/grpc v1.8.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
-google.golang.org/grpc v1.12.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
-google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
-google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio=
-google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs=
+google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130 h1:Au6te5hbKUV8pIYWHqOUZ1pva5qK/rwbIhoXEUB9Lu8=
+google.golang.org/genproto v0.0.0-20230706204954-ccb25ca9f130/go.mod h1:O9kGHb51iE/nOGvQaDUuadVYqovW56s5emA88lQnj6Y=
+google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529 h1:s5YSX+ZH5b5vS9rnpGymvIyMpLRJizowqDlOuyjXnTk=
+google.golang.org/genproto/googleapis/api v0.0.0-20230629202037-9506855d4529/go.mod h1:vHYtlOoi6TsQ3Uk2yxR7NI5z8uoV+3pZtR4jmHIkRig=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 h1:bVf09lpb+OJbByTj913DRJioFFAjf/ZGxEz7MajTp2U=
+google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
-google.golang.org/grpc v1.20.0/go.mod h1:chYK+tFQF0nDUGJgXMSgLCQk3phJEuONr2DCgLDdAQM=
google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38=
-google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM=
-google.golang.org/grpc v1.22.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
-google.golang.org/grpc v1.23.1/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
-google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.27.1/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.28.0/go.mod h1:rpkK4SK4GF4Ach/+MFLZUBavHOvF2JJB5uozKKal+60=
-google.golang.org/grpc v1.29.0/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk=
google.golang.org/grpc v1.30.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.31.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
-google.golang.org/grpc v1.32.0/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM8pak=
google.golang.org/grpc v1.33.1/go.mod h1:fr5YgcSWrqhRRxogOsw7RzIpsmvOZ6IcH4kBYTpR3n0=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8=
google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
-google.golang.org/grpc v1.36.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
-google.golang.org/grpc v1.36.1/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU=
-google.golang.org/grpc v1.37.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
-google.golang.org/grpc v1.37.1/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
-google.golang.org/grpc v1.38.0/go.mod h1:NREThFqKR1f3iQ6oBuvc5LadQuXVGo9rkm5ZGrQdJfM=
-google.golang.org/grpc v1.39.0/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
-google.golang.org/grpc v1.39.1/go.mod h1:PImNr+rS9TWYb2O4/emRugxiyHZ5JyHW5F+RPnDzfrE=
-google.golang.org/grpc v1.40.0/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
-google.golang.org/grpc v1.40.1/go.mod h1:ogyxbiOoUXAkP+4+xa6PZSE9DZgIHtSpzjDTB9KAK34=
-google.golang.org/grpc v1.41.0/go.mod h1:U3l9uK9J0sini8mHphKoXyaqDA/8VyGnDee1zzIUK6k=
-google.golang.org/grpc v1.42.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
-google.golang.org/grpc v1.43.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
-google.golang.org/grpc v1.44.0/go.mod h1:k+4IHHFw41K8+bbowsex27ge2rCb65oeWqe4jJ590SU=
-google.golang.org/grpc v1.45.0/go.mod h1:lN7owxKUQEqMfSyQikvvk5tf/6zMPsrK+ONuO11+0rQ=
-google.golang.org/grpc v1.46.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk=
-google.golang.org/grpc v1.46.2/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk=
-google.golang.org/grpc v1.47.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk=
-google.golang.org/grpc v1.48.0/go.mod h1:vN9eftEi1UMyUsIF80+uQXhHjbXYbm0uXoFCACuMGWk=
-google.golang.org/grpc v1.49.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
-google.golang.org/grpc v1.50.0/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
-google.golang.org/grpc v1.50.1/go.mod h1:ZgQEeidpAuNRZ8iRrlBKXZQP1ghovWIVhdJRyCDK+GI=
-google.golang.org/grpc v1.51.0/go.mod h1:wgNDFcnuBGmxLKI/qn4T+m5BtEBYXJPvibbUPsAIPww=
-google.golang.org/grpc v1.52.0/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY=
-google.golang.org/grpc v1.52.3/go.mod h1:pu6fVzoFb+NBYNAvQL08ic+lvB2IojljRYuun5vorUY=
-google.golang.org/grpc v1.53.0/go.mod h1:OnIrk0ipVdj4N5d9IUoFUx72/VlD7+jUsHwZgwSMQpw=
-google.golang.org/grpc v1.55.0 h1:3Oj82/tFSCeUrRTg/5E/7d/W5A1tj6Ky1ABAuZuv5ag=
-google.golang.org/grpc v1.55.0/go.mod h1:iYEXKGkEBhg1PjZQvoYEVPTDkHo1/bjTnfwTeGONTY8=
-google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.1.0/go.mod h1:6Kw0yEErY5E/yWrBtf03jp27GLLJujG4z/JK95pnjjw=
+google.golang.org/grpc v1.56.2 h1:fVRFRnXvU+x6C4IlHZewvJOVHoOv1TUuQyoRsYnB4bI=
+google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
@@ -4055,88 +1003,36 @@ google.golang.org/protobuf v1.24.0/go.mod h1:r/3tXBNzIEhYS9I1OUVjXDlt8tc493IdKGj
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
-google.golang.org/protobuf v1.27.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
-google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
-google.golang.org/protobuf v1.28.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-google.golang.org/protobuf v1.28.2-0.20220831092852-f930b1dc76e8/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-google.golang.org/protobuf v1.28.2-0.20230208135220-49eaa78c6c9c/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-google.golang.org/protobuf v1.28.2-0.20230222093303-bc1253ad3743/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng=
-google.golang.org/protobuf v1.30.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
-gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U=
+google.golang.org/protobuf v1.31.0 h1:g0LDEJHgrBl9N9r17Ru3sqWhkIx2NB67okBHPwC7hs8=
+google.golang.org/protobuf v1.31.0/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20200902074654-038fdea0a05b/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
-gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
-gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
-gopkg.in/cheggaaa/pb.v1 v1.0.27/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
-gopkg.in/cheggaaa/pb.v1 v1.0.28/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw=
gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI=
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
-gopkg.in/gcfg.v1 v1.2.0/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o=
-gopkg.in/gcfg.v1 v1.2.3/go.mod h1:yesOnuUOFQAhST5vPY4nbZsb/huCgGGXlipJsBn0b3o=
-gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod h1:Xk6kEKp8OKb+X14hQBKWaSkCsqBpgog8nAV2xsGOxlo=
-gopkg.in/go-playground/assert.v1 v1.2.1/go.mod h1:9RXL0bg/zibRAgZUYszZSwO/z8Y/a8bDuhia5mkpMnE=
-gopkg.in/go-playground/validator.v8 v8.18.2/go.mod h1:RX2a/7Ha8BgOhfk7j780h4/u/RRjR0eouCJSH80/M2Y=
-gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
-gopkg.in/ini.v1 v1.51.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/ini.v1 v1.51.1/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/ini.v1 v1.56.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/ini.v1 v1.62.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/ini.v1 v1.66.2/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/ini.v1 v1.66.4/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/ini.v1 v1.66.6/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
gopkg.in/ini.v1 v1.67.0 h1:Dgnx+6+nfE+IfzjUEISNeydPJh9AXNNsWbGP9KzCsOA=
gopkg.in/ini.v1 v1.67.0/go.mod h1:pNLf8WUiyNEtQjuu5G5vTm06TEv9tsIgeAvK8hOrP4k=
-gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA=
-gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod h1:l0ndWWf7gzL7RNwBG7wST/UCcT4T24xpD6X8LsfU/+k=
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce h1:+JknDZhAj8YMt7GC73Ei8pv4MzjDUNPHgQWJdtMAaDU=
gopkg.in/natefinch/npipe.v2 v2.0.0-20160621034901-c1b8fa8bdcce/go.mod h1:5AcXVHNjg+BDxry382+8OKon8SEWiKktQR07RKPsv1c=
-gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo=
-gopkg.in/square/go-jose.v2 v2.2.2/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
-gopkg.in/square/go-jose.v2 v2.3.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
-gopkg.in/square/go-jose.v2 v2.5.1/go.mod h1:M9dMgbHiYLoDGQrXy7OpJDJWiKiU//h+vD76mk0e1AI=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=
-gopkg.in/warnings.v0 v0.1.1/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
-gopkg.in/warnings.v0 v0.1.2/go.mod h1:jksf8JmL6Qr/oQM2OXTHunEvvTAsrWBLb6OOjuVWRNI=
-gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74=
gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.3/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.4/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.5/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v2 v2.2.6/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
-gopkg.in/yaml.v2 v2.2.7/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.3.0/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.4.0 h1:D8xgwECY7CYvx+Y2n4sBz93Jn9JRvxdiyyo8CTfuKaY=
gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
-gopkg.in/yaml.v3 v3.0.0-20191120175047-4206685974f2/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
-gopkg.in/yaml.v3 v3.0.0/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gotest.tools v2.2.0+incompatible h1:VsBPFP1AI068pPrMxtb/S8Zkgf9xEmTLJjfM+P5UIEo=
-gotest.tools v2.2.0+incompatible/go.mod h1:DsYFclhRJ6vuDpmuTbkuFWG+y2sxOXAzmJt81HFBacw=
-gotest.tools/v3 v3.0.2/go.mod h1:3SzNCllyD9/Y+b5r9JIKQ474KzkZyqLqEfYqMsX94Bk=
-gotest.tools/v3 v3.0.3/go.mod h1:Z7Lb0S5l+klDB31fvDQX8ss/FlKDxtlFlw3Oa8Ymbl8=
-gotest.tools/v3 v3.1.0/go.mod h1:fHy7eyTmJFO5bQbUsEGQ1v4m2J3Jz9eWL54TP2/ZuYQ=
-gotest.tools/v3 v3.2.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A=
-gotest.tools/v3 v3.3.0/go.mod h1:Mcr9QNxkg0uMvy/YElmo4SpXgJKWgQvYrT7Kw5RzJ1A=
-gotest.tools/v3 v3.4.0 h1:ZazjZUfuVeZGLAmlKKuyv3IKP5orXcwtOwDQH6YVr6o=
-gotest.tools/v3 v3.4.0/go.mod h1:CtbdzLSsqVhDgMtKsx03ird5YTGB3ar27v0u/yKBW5g=
-grpc.go4.org v0.0.0-20170609214715-11d0a25b4919/go.mod h1:77eQGdRu53HpSqPFJFmuJdjuHRquDANNeA4x7B8WQ9o=
-honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
-honnef.co/go/tools v0.0.0-20180920025451-e3ad64cb4ed3/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
+gotest.tools/v3 v3.5.0 h1:Ljk6PdHdOhAb5aDMWXjDLMMhph+BpztA4v1QdqEW2eY=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
@@ -4144,158 +1040,11 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg=
honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
-honnef.co/go/tools v0.0.1-2020.1.5/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k=
-honnef.co/go/tools v0.1.3/go.mod h1:NgwopIslSNH47DimFoV78dnkksY2EFtX0ajyb3K/las=
-honnef.co/go/tools v0.3.3/go.mod h1:jzwdWgg7Jdq75wlfblQxO4neNaFFSvgc1tD5Wv8U0Yw=
-k8s.io/api v0.0.0-20180904230853-4e7be11eab3f/go.mod h1:iuAfoD4hCxJ8Onx9kaTIt30j7jUFS00AXQi6QMi99vA=
-k8s.io/api v0.17.4/go.mod h1:5qxx6vjmwUVG2nHQTKGlLts8Tbok8PzHl4vHtVFuZCA=
-k8s.io/api v0.19.0/go.mod h1:I1K45XlvTrDjmj5LoM5LuP/KYrhWbjUKT/SoPG0qTjw=
-k8s.io/api v0.20.1/go.mod h1:KqwcCVogGxQY3nBlRpwt+wpAMF/KjaCc7RpywacvqUo=
-k8s.io/api v0.20.4/go.mod h1:++lNL1AJMkDymriNniQsWRkMDzRaX2Y/POTUi8yvqYQ=
-k8s.io/api v0.20.6/go.mod h1:X9e8Qag6JV/bL5G6bU8sdVRltWKmdHsFUGS3eVndqE8=
-k8s.io/api v0.22.5/go.mod h1:mEhXyLaSD1qTOf40rRiKXkc+2iCem09rWLlFwhCEiAs=
-k8s.io/api v0.23.4/go.mod h1:i77F4JfyNNrhOjZF7OwwNJS5Y1S9dpwvb9iYRYRczfI=
-k8s.io/apimachinery v0.0.0-20180904193909-def12e63c512/go.mod h1:ccL7Eh7zubPUSh9A3USN90/OzHNSVN6zxzde07TDCL0=
-k8s.io/apimachinery v0.17.4/go.mod h1:gxLnyZcGNdZTCLnq3fgzyg2A5BVCHTNDFrw8AmuJ+0g=
-k8s.io/apimachinery v0.19.0/go.mod h1:DnPGDnARWFvYa3pMHgSxtbZb7gpzzAZ1pTfaUNDVlmA=
-k8s.io/apimachinery v0.20.1/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
-k8s.io/apimachinery v0.20.4/go.mod h1:WlLqWAHZGg07AeltaI0MV5uk1Omp8xaN0JGLY6gkRpU=
-k8s.io/apimachinery v0.20.6/go.mod h1:ejZXtW1Ra6V1O5H8xPBGz+T3+4gfkTCeExAHKU57MAc=
-k8s.io/apimachinery v0.22.1/go.mod h1:O3oNtNadZdeOMxHFVxOreoznohCpy0z6mocxbZr7oJ0=
-k8s.io/apimachinery v0.22.5/go.mod h1:xziclGKwuuJ2RM5/rSFQSYAj0zdbci3DH8kj+WvyN0U=
-k8s.io/apimachinery v0.23.4/go.mod h1:BEuFMMBaIbcOqVIJqNZJXGFTP4W6AycEpb5+m/97hrM=
-k8s.io/apiserver v0.17.4/go.mod h1:5ZDQ6Xr5MNBxyi3iUZXS84QOhZl+W7Oq2us/29c0j9I=
-k8s.io/apiserver v0.20.1/go.mod h1:ro5QHeQkgMS7ZGpvf4tSMx6bBOgPfE+f52KwvXfScaU=
-k8s.io/apiserver v0.20.4/go.mod h1:Mc80thBKOyy7tbvFtB4kJv1kbdD0eIH8k8vianJcbFM=
-k8s.io/apiserver v0.20.6/go.mod h1:QIJXNt6i6JB+0YQRNcS0hdRHJlMhflFmsBDeSgT1r8Q=
-k8s.io/apiserver v0.22.5/go.mod h1:s2WbtgZAkTKt679sYtSudEQrTGWUSQAPe6MupLnlmaQ=
-k8s.io/client-go v0.0.0-20180910083459-2cefa64ff137/go.mod h1:7vJpHMYJwNQCWgzmNV+VYUl1zCObLyodBc8nIyt8L5s=
-k8s.io/client-go v0.17.4/go.mod h1:ouF6o5pz3is8qU0/qYL2RnoxOPqgfuidYLowytyLJmc=
-k8s.io/client-go v0.19.0/go.mod h1:H9E/VT95blcFQnlyShFgnFT9ZnJOAceiUHM3MlRC+mU=
-k8s.io/client-go v0.20.1/go.mod h1:/zcHdt1TeWSd5HoUe6elJmHSQ6uLLgp4bIJHVEuy+/Y=
-k8s.io/client-go v0.20.4/go.mod h1:LiMv25ND1gLUdBeYxBIwKpkSC5IsozMMmOOeSJboP+k=
-k8s.io/client-go v0.20.6/go.mod h1:nNQMnOvEUEsOzRRFIIkdmYOjAZrC8bgq0ExboWSU1I0=
-k8s.io/client-go v0.22.5/go.mod h1:cs6yf/61q2T1SdQL5Rdcjg9J1ElXSwbjSrW2vFImM4Y=
-k8s.io/client-go v0.23.4/go.mod h1:PKnIL4pqLuvYUK1WU7RLTMYKPiIh7MYShLshtRY9cj0=
-k8s.io/cloud-provider v0.17.4/go.mod h1:XEjKDzfD+b9MTLXQFlDGkk6Ho8SGMpaU8Uugx/KNK9U=
-k8s.io/code-generator v0.17.2/go.mod h1:DVmfPQgxQENqDIzVR2ddLXMH34qeszkKSdH/N+s+38s=
-k8s.io/code-generator v0.19.7/go.mod h1:lwEq3YnLYb/7uVXLorOJfxg+cUu2oihFhHZ0n9NIla0=
-k8s.io/component-base v0.17.4/go.mod h1:5BRqHMbbQPm2kKu35v3G+CpVq4K0RJKC7TRioF0I9lE=
-k8s.io/component-base v0.20.1/go.mod h1:guxkoJnNoh8LNrbtiQOlyp2Y2XFCZQmrcg2n/DeYNLk=
-k8s.io/component-base v0.20.4/go.mod h1:t4p9EdiagbVCJKrQ1RsA5/V4rFQNDfRlevJajlGwgjI=
-k8s.io/component-base v0.20.6/go.mod h1:6f1MPBAeI+mvuts3sIdtpjljHWBQ2cIy38oBIWMYnrM=
-k8s.io/component-base v0.22.5/go.mod h1:VK3I+TjuF9eaa+Ln67dKxhGar5ynVbwnGrUiNF4MqCI=
-k8s.io/cri-api v0.17.3/go.mod h1:X1sbHmuXhwaHs9xxYffLqJogVsnI+f6cPRcgPel7ywM=
-k8s.io/cri-api v0.20.1/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI=
-k8s.io/cri-api v0.20.4/go.mod h1:2JRbKt+BFLTjtrILYVqQK5jqhI+XNdF6UiGMgczeBCI=
-k8s.io/cri-api v0.20.6/go.mod h1:ew44AjNXwyn1s0U4xCKGodU7J1HzBeZ1MpGrpa5r8Yc=
-k8s.io/cri-api v0.23.1/go.mod h1:REJE3PSU0h/LOV1APBrupxrEJqnoxZC8KWzkBUHwrK4=
-k8s.io/cri-api v0.24.0-alpha.3/go.mod h1:c/NLI5Zdyup5+oEYqFO2IE32ptofNiZpS1nL2y51gAg=
-k8s.io/csi-translation-lib v0.17.4/go.mod h1:CsxmjwxEI0tTNMzffIAcgR9lX4wOh6AKHdxQrT7L0oo=
-k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
-k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
-k8s.io/gengo v0.0.0-20200413195148-3a45101e95ac/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
-k8s.io/gengo v0.0.0-20200428234225-8167cfdcfc14/go.mod h1:ezvh/TsK7cY6rbqRK0oQQ8IAqLxYwwyPxAX1Pzy0ii0=
-k8s.io/gengo v0.0.0-20201113003025-83324d819ded/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
-k8s.io/gengo v0.0.0-20210813121822-485abfe95c7c/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E=
-k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
-k8s.io/klog v0.3.0/go.mod h1:Gq+BEi5rUBO/HRz0bTSXDUcqjScdoY3a9IHpCEIOOfk=
-k8s.io/klog v1.0.0/go.mod h1:4Bi6QPql/J/LkTDqv7R/cd3hPo4k2DG6Ptcz060Ez5I=
-k8s.io/klog/v2 v2.0.0/go.mod h1:PBfzABfn139FHAV07az/IF9Wp1bkk3vpT2XSJ76fSDE=
-k8s.io/klog/v2 v2.2.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
-k8s.io/klog/v2 v2.4.0/go.mod h1:Od+F08eJP+W3HUb4pSrPpgp9DGU4GzlpG/TmITuYh/Y=
-k8s.io/klog/v2 v2.9.0/go.mod h1:hy9LJ/NvuK+iVyP4Ehqva4HxZG/oXyIS3n3Jmire4Ec=
-k8s.io/klog/v2 v2.30.0/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0=
-k8s.io/kube-openapi v0.0.0-20180731170545-e3762e86a74c/go.mod h1:BXM9ceUBTj2QnfH2MK1odQs778ajze1RxcmP6S8RVVc=
-k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod h1:1TqjTSzOxsLGIKfj0lK8EeCP7K1iUG65v09OM0/WG5E=
-k8s.io/kube-openapi v0.0.0-20200805222855-6aeccd4b50c6/go.mod h1:UuqjUnNftUyPE5H64/qeyjQoUZhGpeFDVdxjTeEVN2o=
-k8s.io/kube-openapi v0.0.0-20201113171705-d219536bb9fd/go.mod h1:WOJ3KddDSol4tAGcJo0Tvi+dK12EcqSLqcWsryKMpfM=
-k8s.io/kube-openapi v0.0.0-20210421082810-95288971da7e/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw=
-k8s.io/kube-openapi v0.0.0-20211109043538-20434351676c/go.mod h1:vHXdDvt9+2spS2Rx9ql3I8tycm3H9FDfdUoIuKCefvw=
-k8s.io/kube-openapi v0.0.0-20211115234752-e816edb12b65/go.mod h1:sX9MT8g7NVZM5lVL/j8QyCCJe8YSMW30QvGZWaCIDIk=
-k8s.io/kubernetes v1.11.10/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk=
-k8s.io/kubernetes v1.13.0/go.mod h1:ocZa8+6APFNC2tX1DZASIbocyYT5jHzqFVsY5aoB7Jk=
-k8s.io/legacy-cloud-providers v0.17.4/go.mod h1:FikRNoD64ECjkxO36gkDgJeiQWwyZTuBkhu+yxOc1Js=
-k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew=
-k8s.io/utils v0.0.0-20200729134348-d5654de09c73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
-k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
-k8s.io/utils v0.0.0-20210802155522-efc7438f0176/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
-k8s.io/utils v0.0.0-20210819203725-bdf08cb9a70a/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
-k8s.io/utils v0.0.0-20210930125809-cb0fa318a74b/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
-k8s.io/utils v0.0.0-20211116205334-6203023598ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
-lukechampine.com/uint128 v1.1.1/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
-lukechampine.com/uint128 v1.2.0/go.mod h1:c4eWIwlEGaxC/+H1VguhU4PHXNWDCDMUlWdIWl2j1gk=
-modernc.org/cc v1.0.0/go.mod h1:1Sk4//wdnYJiUIxnW8ddKpaOJCF37yAdqYnkxUpaYxw=
-modernc.org/cc/v3 v3.36.0/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI=
-modernc.org/cc/v3 v3.36.2/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI=
-modernc.org/cc/v3 v3.36.3/go.mod h1:NFUHyPn4ekoC/JHeZFfZurN6ixxawE1BnVonP/oahEI=
-modernc.org/ccgo/v3 v3.0.0-20220428102840-41399a37e894/go.mod h1:eI31LL8EwEBKPpNpA4bU1/i+sKOwOrQy8D87zWUcRZc=
-modernc.org/ccgo/v3 v3.0.0-20220430103911-bc99d88307be/go.mod h1:bwdAnOoaIt8Ax9YdWGjxWsdkPcZyRPHqrOvJxaKAKGw=
-modernc.org/ccgo/v3 v3.16.4/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ=
-modernc.org/ccgo/v3 v3.16.6/go.mod h1:tGtX0gE9Jn7hdZFeU88slbTh1UtCYKusWOoCJuvkWsQ=
-modernc.org/ccgo/v3 v3.16.8/go.mod h1:zNjwkizS+fIFDrDjIAgBSCLkWbJuHF+ar3QRn+Z9aws=
-modernc.org/ccgo/v3 v3.16.9/go.mod h1:zNMzC9A9xeNUepy6KuZBbugn3c0Mc9TeiJO4lgvkJDo=
-modernc.org/ccorpus v1.11.6/go.mod h1:2gEUTrWqdpH2pXsmTM1ZkjeSrUWDpjMu2T6m29L/ErQ=
-modernc.org/golex v1.0.0/go.mod h1:b/QX9oBD/LhixY6NDh+IdGv17hgB+51fET1i2kPSmvk=
-modernc.org/httpfs v1.0.6/go.mod h1:7dosgurJGp0sPaRanU53W4xZYKh14wfzX420oZADeHM=
-modernc.org/libc v0.0.0-20220428101251-2d5f3daf273b/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA=
-modernc.org/libc v1.16.0/go.mod h1:N4LD6DBE9cf+Dzf9buBlzVJndKr/iJHG97vGLHYnb5A=
-modernc.org/libc v1.16.1/go.mod h1:JjJE0eu4yeK7tab2n4S1w8tlWd9MxXLRzheaRnAKymU=
-modernc.org/libc v1.16.17/go.mod h1:hYIV5VZczAmGZAnG15Vdngn5HSF5cSkbvfz2B7GRuVU=
-modernc.org/libc v1.16.19/go.mod h1:p7Mg4+koNjc8jkqwcoFBJx7tXkpj00G77X7A72jXPXA=
-modernc.org/libc v1.17.0/go.mod h1:XsgLldpP4aWlPlsjqKRdHPqCxCjISdHfM/yeWC5GyW0=
-modernc.org/libc v1.17.1/go.mod h1:FZ23b+8LjxZs7XtFMbSzL/EhPxNbfZbErxEHc7cbD9s=
-modernc.org/mathutil v1.0.0/go.mod h1:wU0vUrJsVWBZ4P6e7xtFJEhFSNsfRLJ8H458uRjg03k=
-modernc.org/mathutil v1.2.2/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
-modernc.org/mathutil v1.4.1/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
-modernc.org/mathutil v1.5.0/go.mod h1:mZW8CKdRPY1v87qxC/wUdX5O1qDzXMP5TH3wjfpga6E=
-modernc.org/memory v1.1.1/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw=
-modernc.org/memory v1.2.0/go.mod h1:/0wo5ibyrQiaoUoH7f9D8dnglAmILJ5/cxZlRECf+Nw=
-modernc.org/memory v1.2.1/go.mod h1:PkUhL0Mugw21sHPeskwZW4D6VscE/GQJOnIpCnW6pSU=
-modernc.org/opt v0.1.1/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0=
-modernc.org/opt v0.1.3/go.mod h1:WdSiB5evDcignE70guQKxYUl14mgWtbClRi5wmkkTX0=
-modernc.org/sqlite v1.18.1/go.mod h1:6ho+Gow7oX5V+OiOQ6Tr4xeqbx13UZ6t+Fw9IRUG4d4=
-modernc.org/strutil v1.0.0/go.mod h1:lstksw84oURvj9y3tn8lGvRxyRC1S2+g5uuIzNfIOBs=
-modernc.org/strutil v1.1.1/go.mod h1:DE+MQQ/hjKBZS2zNInV5hhcipt5rLPWkmpbGeW5mmdw=
-modernc.org/strutil v1.1.3/go.mod h1:MEHNA7PdEnEwLvspRMtWTNnp2nnyvMfkimT1NKNAGbw=
-modernc.org/tcl v1.13.1/go.mod h1:XOLfOwzhkljL4itZkK6T72ckMgvj0BDsnKNdZVUOecw=
-modernc.org/token v1.0.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=
-modernc.org/xc v1.0.0/go.mod h1:mRNCo0bvLjGhHO9WsyuKVU4q0ceiDDDoEeWDJHrNx8I=
-modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8=
-moul.io/http2curl v1.0.0/go.mod h1:f6cULg+e4Md/oW1cYmwW4IWQOVl2lGbmCNGOHvzX2kE=
-mvdan.cc/gofumpt v0.4.0/go.mod h1:PljLOHDeZqgS8opHRKLzp2It2VBuSdteAgqUfzMTxlQ=
-mvdan.cc/interfacer v0.0.0-20180901003855-c20040233aed/go.mod h1:Xkxe497xwlCKkIaQYRfC7CSLworTXY9RMqwhhCm+8Nc=
-mvdan.cc/lint v0.0.0-20170908181259-adc824a0674b/go.mod h1:2odslEg/xrtNQqCYg2/jCoyKnw3vv5biOc3JnIcYfL4=
-mvdan.cc/unparam v0.0.0-20190720180237-d51796306d8f/go.mod h1:4G1h5nDURzA3bwVMZIVpwbkw+04kSxk3rAtzlimaUJw=
-mvdan.cc/unparam v0.0.0-20200501210554-b37ab49443f7/go.mod h1:HGC5lll35J70Y5v7vCGb9oLhHoScFwkHDJm/05RdSTc=
-mvdan.cc/unparam v0.0.0-20220706161116-678bad134442/go.mod h1:F/Cxw/6mVrNKqrR2YjFf5CaW0Bw4RL8RfbEf4GRggJk=
nhooyr.io/websocket v1.8.6 h1:s+C3xAMLwGmlI31Nyn/eAehUlZPwfYZu2JXM621Q5/k=
-nhooyr.io/websocket v1.8.6/go.mod h1:B70DZP8IakI65RVQ51MsWP/8jndNma26DVA/nFSCgW0=
-pack.ag/amqp v0.11.2/go.mod h1:4/cbmt4EJXSKlG6LCfWHoqmN0uFdy5i/+YFz+fTfhV4=
-pgregory.net/rapid v0.4.7/go.mod h1:UYpPVyjFHzYBGHIxLFoupi8vwk6rXNzRY9OMvVxFIOU=
-pgregory.net/rapid v0.5.2/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
-pgregory.net/rapid v0.5.3/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
pgregory.net/rapid v0.5.5 h1:jkgx1TjbQPD/feRoK+S/mXw9e1uj6WilpHrXJowi6oA=
pgregory.net/rapid v0.5.5/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
-rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=
rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
-sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.14/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
-sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.15/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
-sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.0.22/go.mod h1:LEScyzhFmoF5pso/YSeBstl57mOzx9xlU9n85RGrDQg=
-sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNzagwnNoseA6OxSUutVw05NhYDRs=
-sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod h1:wWxsB5ozmmv/SG7nM11ayaAW51xMvak/t1r0CSlcokI=
-sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06/go.mod h1:/ULNhyfzRopfcjskuui0cTITekDduZ7ycKN3oUT9R18=
-sigs.k8s.io/structured-merge-diff/v4 v4.0.1/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw=
-sigs.k8s.io/structured-merge-diff/v4 v4.0.2/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw=
-sigs.k8s.io/structured-merge-diff/v4 v4.0.3/go.mod h1:bJZC9H9iH24zzfZ/41RGcq60oK1F7G282QMXDPYydCw=
-sigs.k8s.io/structured-merge-diff/v4 v4.1.2/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4=
-sigs.k8s.io/structured-merge-diff/v4 v4.2.1/go.mod h1:j/nl6xW8vLS49O8YvXW1ocPhZawJtm+Yrr7PPRQ0Vg4=
-sigs.k8s.io/yaml v1.1.0/go.mod h1:UJmg0vDUVViEyp3mgSv9WPwZCDxu4rQW1olrI1uml+o=
-sigs.k8s.io/yaml v1.2.0/go.mod h1:yfXDCHCao9+ENCvLSE62v9VSji2MKu5jeNfTrofGhJc=
sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo=
sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=
-sourcegraph.com/sourcegraph/appdash v0.0.0-20190731080439-ebfcffb1b5c0/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
-sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4/go.mod h1:ketZ/q3QxT9HOBeFhu6RdvsftgpsbFHBF5Cas6cDKZ0=
-sourcegraph.com/sqs/pbtypes v1.0.0/go.mod h1:3AciMUv4qUuRHRHhOG4TZOB+72GdPVz5k+c648qsFS4=
diff --git a/proto/buf.lock b/proto/buf.lock
index c64133e8..139b6d1e 100644
--- a/proto/buf.lock
+++ b/proto/buf.lock
@@ -16,7 +16,7 @@ deps:
- remote: buf.build
owner: cosmwasm
repository: wasmd
- commit: a1300d1deb89456ea5c792cfd6130ce4
+ commit: 3b1ee9981e8c41499afda0b2f53687bb
- remote: buf.build
owner: googleapis
repository: googleapis
diff --git a/proto/buf.yaml b/proto/buf.yaml
index bc667220..d481ce5c 100644
--- a/proto/buf.yaml
+++ b/proto/buf.yaml
@@ -4,7 +4,7 @@ deps:
- buf.build/cosmos/cosmos-proto
- buf.build/cosmos/cosmos-sdk:v0.47.0
- buf.build/cosmos/gogo-proto
- - buf.build/cosmwasm/wasmd
+ - buf.build/cosmwasm/wasmd:e65480838a1ded147ef53d35fa3bd9709a61226f
breaking:
use:
- FILE
diff --git a/proto/injective/exchange/v1beta1/exchange.proto b/proto/injective/exchange/v1beta1/exchange.proto
index 2d9e07b8..1a27e648 100644
--- a/proto/injective/exchange/v1beta1/exchange.proto
+++ b/proto/injective/exchange/v1beta1/exchange.proto
@@ -157,6 +157,8 @@ message Params {
// is_instant_derivative_market_launch_enabled defines whether instant
// derivative market launch is enabled
bool is_instant_derivative_market_launch_enabled = 24;
+
+ int64 post_only_mode_height_threshold = 25;
}
enum MarketStatus {
@@ -465,6 +467,7 @@ message OrderInfo {
(gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
(gogoproto.nullable) = false
];
+ string cid = 5;
}
enum OrderType {
@@ -679,6 +682,7 @@ message TradeLog {
];
bytes order_hash = 5;
bytes fee_recipient_address = 6 [ (gogoproto.nullable) = true ];
+ string cid = 7;
}
message PositionDelta {
@@ -710,6 +714,7 @@ message DerivativeTradeLog {
];
bytes order_hash = 5;
bytes fee_recipient_address = 6 [ (gogoproto.nullable) = true ];
+ string cid = 7;
}
enum ExecutionType {
diff --git a/proto/injective/exchange/v1beta1/proposal.proto b/proto/injective/exchange/v1beta1/proposal.proto
new file mode 100644
index 00000000..c4b09115
--- /dev/null
+++ b/proto/injective/exchange/v1beta1/proposal.proto
@@ -0,0 +1,570 @@
+syntax = "proto3";
+package injective.exchange.v1beta1;
+
+import "cosmos/base/v1beta1/coin.proto";
+import "cosmos/distribution/v1beta1/distribution.proto";
+import "cosmos/msg/v1/msg.proto";
+import "cosmos_proto/cosmos.proto";
+import "gogoproto/gogo.proto";
+import "injective/exchange/v1beta1/exchange.proto";
+import "injective/oracle/v1beta1/oracle.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/exchange/types";
+
+message SpotMarketParamUpdateProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ string market_id = 3;
+
+ // maker_fee_rate defines the trade fee rate for makers on the spot market
+ string maker_fee_rate = 4 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // taker_fee_rate defines the trade fee rate for takers on the spot market
+ string taker_fee_rate = 5 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // relayer_fee_share_rate defines the relayer fee share rate for the spot
+ // market
+ string relayer_fee_share_rate = 6 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ string min_price_tick_size = 7 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ string min_quantity_tick_size = 8 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ MarketStatus status = 9;
+}
+
+enum ExchangeType {
+ EXCHANGE_UNSPECIFIED = 0
+ [ (gogoproto.enumvalue_customname) = "EXCHANGE_UNSPECIFIED" ];
+ SPOT = 1 [ (gogoproto.enumvalue_customname) = "SPOT" ];
+ DERIVATIVES = 2 [ (gogoproto.enumvalue_customname) = "DERIVATIVES" ];
+}
+
+message ExchangeEnableProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+
+ string title = 1;
+ string description = 2;
+
+ ExchangeType exchangeType = 3;
+}
+
+message BatchExchangeModificationProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+
+ repeated SpotMarketParamUpdateProposal spot_market_param_update_proposals = 3;
+ repeated DerivativeMarketParamUpdateProposal
+ derivative_market_param_update_proposals = 4;
+ repeated SpotMarketLaunchProposal spot_market_launch_proposals = 5;
+ repeated PerpetualMarketLaunchProposal perpetual_market_launch_proposals = 6;
+ repeated ExpiryFuturesMarketLaunchProposal
+ expiry_futures_market_launch_proposals = 7;
+ TradingRewardCampaignUpdateProposal trading_reward_campaign_update_proposal =
+ 8;
+ repeated BinaryOptionsMarketLaunchProposal
+ binary_options_market_launch_proposals = 9;
+ repeated BinaryOptionsMarketParamUpdateProposal
+ binary_options_param_update_proposals = 10;
+ UpdateDenomDecimalsProposal denom_decimals_update_proposal = 11;
+
+ FeeDiscountProposal fee_discount_proposal = 12;
+
+ repeated MarketForcedSettlementProposal market_forced_settlement_proposals =
+ 13;
+}
+
+// SpotMarketLaunchProposal defines a SDK message for proposing a new spot
+// market through governance
+message SpotMarketLaunchProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ // Ticker for the spot market.
+ string ticker = 3;
+ // type of coin to use as the base currency
+ string base_denom = 4;
+ // type of coin to use as the quote currency
+ string quote_denom = 5;
+ // min_price_tick_size defines the minimum tick size of the order's price
+ string min_price_tick_size = 6 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ string min_quantity_tick_size = 7 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // maker_fee_rate defines the fee percentage makers pay when trading
+ string maker_fee_rate = 8 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+ // taker_fee_rate defines the fee percentage takers pay when trading
+ string taker_fee_rate = 9 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+}
+
+// PerpetualMarketLaunchProposal defines a SDK message for proposing a new
+// perpetual futures market through governance
+message PerpetualMarketLaunchProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ // Ticker for the derivative market.
+ string ticker = 3;
+ // type of coin to use as the base currency
+ string quote_denom = 4;
+ // Oracle base currency
+ string oracle_base = 5;
+ // Oracle quote currency
+ string oracle_quote = 6;
+ // Scale factor for oracle prices.
+ uint32 oracle_scale_factor = 7;
+ // Oracle type
+ injective.oracle.v1beta1.OracleType oracle_type = 8;
+ // initial_margin_ratio defines the initial margin ratio for the derivative
+ // market
+ string initial_margin_ratio = 9 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+
+ // maintenance_margin_ratio defines the maintenance margin ratio for the
+ // derivative market
+ string maintenance_margin_ratio = 10 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ string maker_fee_rate = 11 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ string taker_fee_rate = 12 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ string min_price_tick_size = 13 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ string min_quantity_tick_size = 14 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+}
+
+message BinaryOptionsMarketLaunchProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ // Ticker for the derivative contract.
+ string ticker = 3;
+ // Oracle symbol
+ string oracle_symbol = 4;
+ // Oracle Provider
+ string oracle_provider = 5;
+ // Oracle type
+ injective.oracle.v1beta1.OracleType oracle_type = 6;
+ // Scale factor for oracle prices.
+ uint32 oracle_scale_factor = 7;
+ // expiration timestamp
+ int64 expiration_timestamp = 8;
+ // expiration timestamp
+ int64 settlement_timestamp = 9;
+ // admin of the market
+ string admin = 10;
+ // Address of the quote currency denomination for the binary options contract
+ string quote_denom = 11;
+ // maker_fee_rate defines the maker fee rate of a binary options market
+ string maker_fee_rate = 12 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // taker_fee_rate defines the taker fee rate of a derivative market
+ string taker_fee_rate = 13 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // min_price_tick_size defines the minimum tick size that the price and margin
+ // required for orders in the market
+ string min_price_tick_size = 14 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // min_quantity_tick_size defines the minimum tick size of the quantity
+ // required for orders in the market
+ string min_quantity_tick_size = 15 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+}
+
+// ExpiryFuturesMarketLaunchProposal defines a SDK message for proposing a new
+// expiry futures market through governance
+message ExpiryFuturesMarketLaunchProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ // Ticker for the derivative market.
+ string ticker = 3;
+ // type of coin to use as the quote currency
+ string quote_denom = 4;
+ // Oracle base currency
+ string oracle_base = 5;
+ // Oracle quote currency
+ string oracle_quote = 6;
+ // Scale factor for oracle prices.
+ uint32 oracle_scale_factor = 7;
+ // Oracle type
+ injective.oracle.v1beta1.OracleType oracle_type = 8;
+ // Expiration time of the market
+ int64 expiry = 9;
+ // initial_margin_ratio defines the initial margin ratio for the derivative
+ // market
+ string initial_margin_ratio = 10 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+
+ // maintenance_margin_ratio defines the maintenance margin ratio for the
+ // derivative market
+ string maintenance_margin_ratio = 11 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ string maker_fee_rate = 12 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ string taker_fee_rate = 13 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ string min_price_tick_size = 14 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ string min_quantity_tick_size = 15 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+}
+
+message DerivativeMarketParamUpdateProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ string market_id = 3;
+
+ // initial_margin_ratio defines the initial margin ratio for the derivative
+ // market
+ string initial_margin_ratio = 4 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // maintenance_margin_ratio defines the maintenance margin ratio for the
+ // derivative market
+ string maintenance_margin_ratio = 5 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ string maker_fee_rate = 6 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ string taker_fee_rate = 7 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // relayer_fee_share_rate defines the relayer fee share rate for the
+ // derivative market
+ string relayer_fee_share_rate = 8 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ string min_price_tick_size = 9 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ string min_quantity_tick_size = 10 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+ // hourly_interest_rate defines the hourly interest rate
+ string HourlyInterestRate = 11 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+ // hourly_funding_rate_cap defines the maximum absolute value of the hourly
+ // funding rate
+ string HourlyFundingRateCap = 12 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ MarketStatus status = 13;
+
+ OracleParams oracle_params = 14;
+}
+
+message MarketForcedSettlementProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ string market_id = 3;
+ string settlement_price = 4 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+}
+
+message UpdateDenomDecimalsProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ repeated DenomDecimals denom_decimals = 3;
+}
+
+message BinaryOptionsMarketParamUpdateProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ string market_id = 3;
+
+ // maker_fee_rate defines the exchange trade fee for makers for the derivative
+ // market
+ string maker_fee_rate = 4 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // taker_fee_rate defines the exchange trade fee for takers for the derivative
+ // market
+ string taker_fee_rate = 5 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // relayer_fee_share_rate defines the relayer fee share rate for the
+ // derivative market
+ string relayer_fee_share_rate = 6 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // min_price_tick_size defines the minimum tick size of the order's price and
+ // margin
+ string min_price_tick_size = 7 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+ // min_quantity_tick_size defines the minimum tick size of the order's
+ // quantity
+ string min_quantity_tick_size = 8 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+
+ // expiration timestamp
+ int64 expiration_timestamp = 9;
+ // expiration timestamp
+ int64 settlement_timestamp = 10;
+ // new price at which market will be settled
+ string settlement_price = 11 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = true
+ ];
+ // admin of the market
+ string admin = 12;
+ MarketStatus status = 13;
+ ProviderOracleParams oracle_params = 14;
+}
+
+message ProviderOracleParams {
+ // Oracle base currency
+ string symbol = 1;
+ // Oracle quote currency
+ string provider = 2;
+ // Scale factor for oracle prices.
+ uint32 oracle_scale_factor = 3;
+ // Oracle type
+ injective.oracle.v1beta1.OracleType oracle_type = 4;
+}
+
+message OracleParams {
+ // Oracle base currency
+ string oracle_base = 1;
+ // Oracle quote currency
+ string oracle_quote = 2;
+ // Scale factor for oracle prices.
+ uint32 oracle_scale_factor = 3;
+ // Oracle type
+ injective.oracle.v1beta1.OracleType oracle_type = 4;
+}
+
+message TradingRewardCampaignLaunchProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ TradingRewardCampaignInfo campaign_info = 3;
+ repeated CampaignRewardPool campaign_reward_pools = 4;
+}
+
+message TradingRewardCampaignUpdateProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ TradingRewardCampaignInfo campaign_info = 3;
+ repeated CampaignRewardPool campaign_reward_pools_additions = 4;
+ repeated CampaignRewardPool campaign_reward_pools_updates = 5;
+}
+
+message RewardPointUpdate {
+ string account_address = 1;
+ // new_points overwrites the current trading reward points for the account
+ string new_points = 12 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+}
+
+message TradingRewardPendingPointsUpdateProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ int64 pending_pool_timestamp = 3;
+ repeated RewardPointUpdate reward_point_updates = 4;
+}
+
+message FeeDiscountProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ FeeDiscountSchedule schedule = 3;
+}
+
+message BatchCommunityPoolSpendProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+ repeated cosmos.distribution.v1beta1.CommunityPoolSpendProposal proposals = 3;
+}
+
+// AtomicMarketOrderFeeMultiplierScheduleProposal defines a SDK message for
+// proposing new atomic take fee multipliers for specified markets
+message AtomicMarketOrderFeeMultiplierScheduleProposal {
+ option (gogoproto.equal) = false;
+ option (gogoproto.goproto_getters) = false;
+ option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
+
+ string title = 1;
+ string description = 2;
+
+ repeated MarketFeeMultiplier market_fee_multipliers = 3;
+}
\ No newline at end of file
diff --git a/proto/injective/exchange/v1beta1/query.proto b/proto/injective/exchange/v1beta1/query.proto
index 773b8d88..cb89c00e 100644
--- a/proto/injective/exchange/v1beta1/query.proto
+++ b/proto/injective/exchange/v1beta1/query.proto
@@ -357,9 +357,12 @@ service Query {
"/injective/exchange/v1beta1/mito_vault_infos";
}
- // QueryMarketIDFromVault returns the market ID for a given vault subaccount ID
- rpc QueryMarketIDFromVault(QueryMarketIDFromVaultRequest) returns (QueryMarketIDFromVaultResponse) {
- option (google.api.http).get = "/injective/exchange/v1beta1/vault_market_id/{vault_address}";
+ // QueryMarketIDFromVault returns the market ID for a given vault subaccount
+ // ID
+ rpc QueryMarketIDFromVault(QueryMarketIDFromVaultRequest)
+ returns (QueryMarketIDFromVaultResponse) {
+ option (google.api.http).get =
+ "/injective/exchange/v1beta1/vault_market_id/{vault_address}";
}
// Retrieves historical trade records for a given market ID
@@ -576,7 +579,6 @@ message QuerySpotMarketRequest {
// method.
message QuerySpotMarketResponse { SpotMarket market = 1; }
-
enum OrderSide {
// will return both
Side_Unspecified = 0;
@@ -1286,10 +1288,9 @@ message MitoVaultInfosResponse {
repeated string cw20_addresses = 4;
}
-// QueryMarketIDFromVaultRequest is the request type for the Query/QueryMarketIDFromVault RPC method.
-message QueryMarketIDFromVaultRequest {
- string vault_address = 1;
-}
+// QueryMarketIDFromVaultRequest is the request type for the
+// Query/QueryMarketIDFromVault RPC method.
+message QueryMarketIDFromVaultRequest { string vault_address = 1; }
// QueryMarketIDFromVaultResponse is the response type for the
// Query/QueryMarketIDFromVault RPC method.
@@ -1306,8 +1307,9 @@ message QueryHistoricalTradeRecordsResponse {
message TradeHistoryOptions {
// TradeGroupingSec of 0 means use the chain's default grouping
uint64 trade_grouping_sec = 1;
- // MaxAge restricts the trade records oldest age in seconds from the current block time to consider.
- // A value of 0 means use all the records present on the chain.
+ // MaxAge restricts the trade records oldest age in seconds from the current
+ // block time to consider. A value of 0 means use all the records present on
+ // the chain.
uint64 max_age = 2;
// If IncludeRawHistory is true, the raw underlying data used for the
// computation is included in the response
diff --git a/proto/injective/exchange/v1beta1/tx.proto b/proto/injective/exchange/v1beta1/tx.proto
index e90848a7..aead9038 100644
--- a/proto/injective/exchange/v1beta1/tx.proto
+++ b/proto/injective/exchange/v1beta1/tx.proto
@@ -129,6 +129,10 @@ service Msg {
rpc LiquidatePosition(MsgLiquidatePosition)
returns (MsgLiquidatePositionResponse);
+ // EmergencySettleMarket defines a method for emergency settling a market
+ rpc EmergencySettleMarket(MsgEmergencySettleMarket)
+ returns (MsgEmergencySettleMarketResponse);
+
// IncreasePositionMargin defines a method for increasing margin of a position
rpc IncreasePositionMargin(MsgIncreasePositionMargin)
returns (MsgIncreasePositionMarginResponse);
@@ -553,6 +557,7 @@ message MsgCancelSpotOrder {
string market_id = 2;
string subaccount_id = 3;
string order_hash = 4;
+ string cid = 5;
}
// MsgCancelSpotOrderResponse defines the Msg/CancelSpotOrder response type.
@@ -705,6 +710,7 @@ message MsgCancelDerivativeOrder {
string subaccount_id = 3;
string order_hash = 4;
int32 order_mask = 5; // bitwise combination of OrderMask enum values
+ string cid = 6;
}
// MsgCancelDerivativeOrderResponse defines the
@@ -722,6 +728,7 @@ message MsgCancelBinaryOptionsOrder {
string subaccount_id = 3;
string order_hash = 4;
int32 order_mask = 5; // bitwise combination of OrderMask enum values
+ string cid = 6;
}
// MsgCancelBinaryOptionsOrderResponse defines the
@@ -733,6 +740,7 @@ message OrderData {
string subaccount_id = 2;
string order_hash = 3;
int32 order_mask = 4; // bitwise combination of OrderMask enum values
+ string cid = 5;
}
// MsgBatchCancelDerivativeOrders defines the Msg/CancelDerivativeOrders
@@ -796,6 +804,18 @@ message MsgLiquidatePosition {
// MsgLiquidatePositionResponse defines the Msg/LiquidatePosition response type.
message MsgLiquidatePositionResponse {}
+// A Cosmos-SDK MsgEmergencySettleMarket
+message MsgEmergencySettleMarket {
+ option (cosmos.msg.v1.signer) = "sender";
+
+ string sender = 1;
+ string subaccount_id = 2;
+ string market_id = 3;
+}
+
+// MsgEmergencySettleMarketResponse defines the Msg/EmergencySettleMarket response type.
+message MsgEmergencySettleMarketResponse {}
+
// A Cosmos-SDK MsgIncreasePositionMargin
message MsgIncreasePositionMargin {
option (cosmos.msg.v1.signer) = "sender";
@@ -846,546 +866,6 @@ message MsgPrivilegedExecuteContractResponse {
];
}
-message SpotMarketParamUpdateProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- string market_id = 3;
-
- // maker_fee_rate defines the trade fee rate for makers on the spot market
- string maker_fee_rate = 4 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // taker_fee_rate defines the trade fee rate for takers on the spot market
- string taker_fee_rate = 5 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // relayer_fee_share_rate defines the relayer fee share rate for the spot
- // market
- string relayer_fee_share_rate = 6 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- string min_price_tick_size = 7 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- string min_quantity_tick_size = 8 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- MarketStatus status = 9;
-}
-
-enum ExchangeType {
- EXCHANGE_UNSPECIFIED = 0
- [ (gogoproto.enumvalue_customname) = "EXCHANGE_UNSPECIFIED" ];
- SPOT = 1 [ (gogoproto.enumvalue_customname) = "SPOT" ];
- DERIVATIVES = 2 [ (gogoproto.enumvalue_customname) = "DERIVATIVES" ];
-}
-
-message ExchangeEnableProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
-
- string title = 1;
- string description = 2;
-
- ExchangeType exchangeType = 3;
-}
-
-message BatchExchangeModificationProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
-
- repeated SpotMarketParamUpdateProposal spot_market_param_update_proposals = 3;
- repeated DerivativeMarketParamUpdateProposal
- derivative_market_param_update_proposals = 4;
- repeated SpotMarketLaunchProposal spot_market_launch_proposals = 5;
- repeated PerpetualMarketLaunchProposal perpetual_market_launch_proposals = 6;
- repeated ExpiryFuturesMarketLaunchProposal
- expiry_futures_market_launch_proposals = 7;
- TradingRewardCampaignUpdateProposal trading_reward_campaign_update_proposal =
- 8;
- repeated BinaryOptionsMarketLaunchProposal
- binary_options_market_launch_proposals = 9;
- repeated BinaryOptionsMarketParamUpdateProposal
- binary_options_param_update_proposals = 10;
- UpdateDenomDecimalsProposal denom_decimals_update_proposal = 11;
-}
-
-// SpotMarketLaunchProposal defines a SDK message for proposing a new spot
-// market through governance
-message SpotMarketLaunchProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- // Ticker for the spot market.
- string ticker = 3;
- // type of coin to use as the base currency
- string base_denom = 4;
- // type of coin to use as the quote currency
- string quote_denom = 5;
- // min_price_tick_size defines the minimum tick size of the order's price
- string min_price_tick_size = 6 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- string min_quantity_tick_size = 7 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // maker_fee_rate defines the fee percentage makers pay when trading
- string maker_fee_rate = 8 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
- // taker_fee_rate defines the fee percentage takers pay when trading
- string taker_fee_rate = 9 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-}
-
-// PerpetualMarketLaunchProposal defines a SDK message for proposing a new
-// perpetual futures market through governance
-message PerpetualMarketLaunchProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- // Ticker for the derivative market.
- string ticker = 3;
- // type of coin to use as the base currency
- string quote_denom = 4;
- // Oracle base currency
- string oracle_base = 5;
- // Oracle quote currency
- string oracle_quote = 6;
- // Scale factor for oracle prices.
- uint32 oracle_scale_factor = 7;
- // Oracle type
- injective.oracle.v1beta1.OracleType oracle_type = 8;
- // initial_margin_ratio defines the initial margin ratio for the derivative
- // market
- string initial_margin_ratio = 9 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-
- // maintenance_margin_ratio defines the maintenance margin ratio for the
- // derivative market
- string maintenance_margin_ratio = 10 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- string maker_fee_rate = 11 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- string taker_fee_rate = 12 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- string min_price_tick_size = 13 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- string min_quantity_tick_size = 14 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-}
-
-message BinaryOptionsMarketLaunchProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- // Ticker for the derivative contract.
- string ticker = 3;
- // Oracle symbol
- string oracle_symbol = 4;
- // Oracle Provider
- string oracle_provider = 5;
- // Oracle type
- injective.oracle.v1beta1.OracleType oracle_type = 6;
- // Scale factor for oracle prices.
- uint32 oracle_scale_factor = 7;
- // expiration timestamp
- int64 expiration_timestamp = 8;
- // expiration timestamp
- int64 settlement_timestamp = 9;
- // admin of the market
- string admin = 10;
- // Address of the quote currency denomination for the binary options contract
- string quote_denom = 11;
- // maker_fee_rate defines the maker fee rate of a binary options market
- string maker_fee_rate = 12 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // taker_fee_rate defines the taker fee rate of a derivative market
- string taker_fee_rate = 13 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // min_price_tick_size defines the minimum tick size that the price and margin
- // required for orders in the market
- string min_price_tick_size = 14 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // min_quantity_tick_size defines the minimum tick size of the quantity
- // required for orders in the market
- string min_quantity_tick_size = 15 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-}
-
-// ExpiryFuturesMarketLaunchProposal defines a SDK message for proposing a new
-// expiry futures market through governance
-message ExpiryFuturesMarketLaunchProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- // Ticker for the derivative market.
- string ticker = 3;
- // type of coin to use as the quote currency
- string quote_denom = 4;
- // Oracle base currency
- string oracle_base = 5;
- // Oracle quote currency
- string oracle_quote = 6;
- // Scale factor for oracle prices.
- uint32 oracle_scale_factor = 7;
- // Oracle type
- injective.oracle.v1beta1.OracleType oracle_type = 8;
- // Expiration time of the market
- int64 expiry = 9;
- // initial_margin_ratio defines the initial margin ratio for the derivative
- // market
- string initial_margin_ratio = 10 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-
- // maintenance_margin_ratio defines the maintenance margin ratio for the
- // derivative market
- string maintenance_margin_ratio = 11 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- string maker_fee_rate = 12 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- string taker_fee_rate = 13 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- string min_price_tick_size = 14 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- string min_quantity_tick_size = 15 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-}
-
-message DerivativeMarketParamUpdateProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
-
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- string market_id = 3;
-
- // initial_margin_ratio defines the initial margin ratio for the derivative
- // market
- string initial_margin_ratio = 4 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // maintenance_margin_ratio defines the maintenance margin ratio for the
- // derivative market
- string maintenance_margin_ratio = 5 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- string maker_fee_rate = 6 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- string taker_fee_rate = 7 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // relayer_fee_share_rate defines the relayer fee share rate for the
- // derivative market
- string relayer_fee_share_rate = 8 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- string min_price_tick_size = 9 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- string min_quantity_tick_size = 10 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
- // hourly_interest_rate defines the hourly interest rate
- string HourlyInterestRate = 11 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
- // hourly_funding_rate_cap defines the maximum absolute value of the hourly
- // funding rate
- string HourlyFundingRateCap = 12 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- MarketStatus status = 13;
-
- OracleParams oracle_params = 14;
-}
-
-message MarketForcedSettlementProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- string market_id = 3;
- string settlement_price = 4 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-}
-
-message UpdateDenomDecimalsProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- repeated DenomDecimals denom_decimals = 3;
-}
-
-message BinaryOptionsMarketParamUpdateProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
-
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- string market_id = 3;
-
- // maker_fee_rate defines the exchange trade fee for makers for the derivative
- // market
- string maker_fee_rate = 4 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // taker_fee_rate defines the exchange trade fee for takers for the derivative
- // market
- string taker_fee_rate = 5 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // relayer_fee_share_rate defines the relayer fee share rate for the
- // derivative market
- string relayer_fee_share_rate = 6 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // min_price_tick_size defines the minimum tick size of the order's price and
- // margin
- string min_price_tick_size = 7 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
- // min_quantity_tick_size defines the minimum tick size of the order's
- // quantity
- string min_quantity_tick_size = 8 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
-
- // expiration timestamp
- int64 expiration_timestamp = 9;
- // expiration timestamp
- int64 settlement_timestamp = 10;
- // new price at which market will be settled
- string settlement_price = 11 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = true
- ];
- // admin of the market
- string admin = 12;
- MarketStatus status = 13;
- ProviderOracleParams oracle_params = 14;
-}
-
-message ProviderOracleParams {
- // Oracle base currency
- string symbol = 1;
- // Oracle quote currency
- string provider = 2;
- // Scale factor for oracle prices.
- uint32 oracle_scale_factor = 3;
- // Oracle type
- injective.oracle.v1beta1.OracleType oracle_type = 4;
-}
-
-message OracleParams {
- // Oracle base currency
- string oracle_base = 1;
- // Oracle quote currency
- string oracle_quote = 2;
- // Scale factor for oracle prices.
- uint32 oracle_scale_factor = 3;
- // Oracle type
- injective.oracle.v1beta1.OracleType oracle_type = 4;
-}
-
-message TradingRewardCampaignLaunchProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- TradingRewardCampaignInfo campaign_info = 3;
- repeated CampaignRewardPool campaign_reward_pools = 4;
-}
-
-message TradingRewardCampaignUpdateProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- TradingRewardCampaignInfo campaign_info = 3;
- repeated CampaignRewardPool campaign_reward_pools_additions = 4;
- repeated CampaignRewardPool campaign_reward_pools_updates = 5;
-}
-
-message RewardPointUpdate {
- string account_address = 1;
- // new_points overwrites the current trading reward points for the account
- string new_points = 12 [
- (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
- (gogoproto.nullable) = false
- ];
-}
-
-message TradingRewardPendingPointsUpdateProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- int64 pending_pool_timestamp = 3;
- repeated RewardPointUpdate reward_point_updates = 4;
-}
-
-message FeeDiscountProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- FeeDiscountSchedule schedule = 3;
-}
-
-message BatchCommunityPoolSpendProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
- repeated cosmos.distribution.v1beta1.CommunityPoolSpendProposal proposals = 3;
-}
-
// A Cosmos-SDK MsgRewardsOptOut
message MsgRewardsOptOut { string sender = 1; }
@@ -1446,16 +926,3 @@ message MsgAdminUpdateBinaryOptionsMarket {
// MsgAdminUpdateBinaryOptionsMarketResponse is the response for
// AdminUpdateBinaryOptionsMarket rpc method
message MsgAdminUpdateBinaryOptionsMarketResponse {}
-
-// AtomicMarketOrderFeeMultiplierScheduleProposal defines a SDK message for
-// proposing new atomic take fee multipliers for specified markets
-message AtomicMarketOrderFeeMultiplierScheduleProposal {
- option (gogoproto.equal) = false;
- option (gogoproto.goproto_getters) = false;
- option (cosmos_proto.implements_interface) = "cosmos.gov.v1beta1.Content";
-
- string title = 1;
- string description = 2;
-
- repeated MarketFeeMultiplier market_fee_multipliers = 3;
-}
\ No newline at end of file
diff --git a/proto/injective/oracle/v1beta1/oracle.proto b/proto/injective/oracle/v1beta1/oracle.proto
index 9d11158e..47ea13dd 100644
--- a/proto/injective/oracle/v1beta1/oracle.proto
+++ b/proto/injective/oracle/v1beta1/oracle.proto
@@ -5,6 +5,7 @@ import "gogoproto/gogo.proto";
import "cosmos/base/v1beta1/coin.proto";
option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/oracle/types";
+option (gogoproto.goproto_registration) = true;
message Params {
option (gogoproto.equal) = true;
@@ -30,7 +31,6 @@ enum OracleType {
message OracleInfo {
string symbol = 1;
OracleType oracle_type = 2;
- uint32 scale_factor = 3;
}
message ChainlinkPriceState {
diff --git a/proto/injective/oracle/v1beta1/query.proto b/proto/injective/oracle/v1beta1/query.proto
index 3e07408b..4673ed48 100644
--- a/proto/injective/oracle/v1beta1/query.proto
+++ b/proto/injective/oracle/v1beta1/query.proto
@@ -103,9 +103,7 @@ service Query {
message QueryPythPriceRequest { string price_id = 1; }
-message QueryPythPriceResponse {
- PythPriceState price_state = 1;
-}
+message QueryPythPriceResponse { PythPriceState price_state = 1; }
// QueryOracleParamsRequest is the request type for the Query/OracleParams RPC
// method.
diff --git a/proto/injective/peggy/v1/query.proto b/proto/injective/peggy/v1/query.proto
index d3cc7828..08ac210d 100644
--- a/proto/injective/peggy/v1/query.proto
+++ b/proto/injective/peggy/v1/query.proto
@@ -108,7 +108,6 @@ service Query {
rpc MissingPeggoNonces(MissingNoncesRequest) returns (MissingNoncesResponse) {
option (google.api.http).get = "/peggy/v1/missing_nonces";
}
-
}
message QueryParamsRequest {}
@@ -210,13 +209,10 @@ message QueryPendingSendToEthResponse {
// RPC method.
message QueryModuleStateRequest {}
-// QueryModuleStateResponse is the response type for the Query/PeggyModuleState RPC method.
-message QueryModuleStateResponse {
- GenesisState state = 1;
-}
+// QueryModuleStateResponse is the response type for the Query/PeggyModuleState
+// RPC method.
+message QueryModuleStateResponse { GenesisState state = 1; }
message MissingNoncesRequest {}
-message MissingNoncesResponse {
- repeated string operator_addresses = 1;
-}
\ No newline at end of file
+message MissingNoncesResponse { repeated string operator_addresses = 1; }
\ No newline at end of file
diff --git a/proto/injective/permissions/v1beta1/events.proto b/proto/injective/permissions/v1beta1/events.proto
new file mode 100644
index 00000000..78818bb1
--- /dev/null
+++ b/proto/injective/permissions/v1beta1/events.proto
@@ -0,0 +1,8 @@
+syntax = "proto3";
+package injective.permissions.v1beta1;
+
+import "gogoproto/gogo.proto";
+import "cosmos/base/v1beta1/coin.proto";
+import "cosmos/bank/v1beta1/bank.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types";
diff --git a/proto/injective/permissions/v1beta1/genesis.proto b/proto/injective/permissions/v1beta1/genesis.proto
new file mode 100644
index 00000000..7890fc27
--- /dev/null
+++ b/proto/injective/permissions/v1beta1/genesis.proto
@@ -0,0 +1,15 @@
+syntax = "proto3";
+package injective.permissions.v1beta1;
+
+import "gogoproto/gogo.proto";
+import "injective/permissions/v1beta1/params.proto";
+import "injective/permissions/v1beta1/permissions.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types";
+
+// GenesisState defines the permissions module's genesis state.
+message GenesisState {
+ // params defines the parameters of the module.
+ Params params = 1 [ (gogoproto.nullable) = false ];
+ repeated Namespace namespaces = 2 [ (gogoproto.nullable) = false ];
+}
\ No newline at end of file
diff --git a/proto/injective/permissions/v1beta1/params.proto b/proto/injective/permissions/v1beta1/params.proto
new file mode 100644
index 00000000..0b054a07
--- /dev/null
+++ b/proto/injective/permissions/v1beta1/params.proto
@@ -0,0 +1,11 @@
+syntax = "proto3";
+package injective.permissions.v1beta1;
+
+import "gogoproto/gogo.proto";
+import "cosmos_proto/cosmos.proto";
+import "cosmos/base/v1beta1/coin.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types";
+
+// Params defines the parameters for the permissions module.
+message Params {}
diff --git a/proto/injective/permissions/v1beta1/permissions.proto b/proto/injective/permissions/v1beta1/permissions.proto
new file mode 100644
index 00000000..7d190ed5
--- /dev/null
+++ b/proto/injective/permissions/v1beta1/permissions.proto
@@ -0,0 +1,47 @@
+syntax = "proto3";
+package injective.permissions.v1beta1;
+
+import "gogoproto/gogo.proto";
+import "cosmos/base/v1beta1/coin.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types";
+
+// Namespace defines a permissions namespace
+message Namespace {
+ string denom = 1; // tokenfactory denom to which this namespace applies to
+ string wasm_hook =
+ 2; // address of smart contract to apply code-based restrictions
+
+ bool mints_paused = 3;
+ bool sends_paused = 4;
+ bool burns_paused = 5;
+
+ map role_permissions = 6; // permissions for each role
+ map address_roles = 7;
+}
+
+// each Action enum value should be a power of two
+enum Action {
+ UNSPECIFIED = 0;
+ MINT = 1;
+ RECEIVE = 2;
+ BURN = 4;
+}
+
+// Role is only used for storage
+message Role {
+ string name = 1;
+ uint32 permissions = 2;
+}
+
+message Roles { repeated string roles = 1; }
+
+// used in storage
+message RoleIDs { repeated uint32 role_ids = 1; }
+
+message Voucher {
+ repeated cosmos.base.v1beta1.Coin coins = 1 [
+ (gogoproto.nullable) = false,
+ (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
+ ];
+}
\ No newline at end of file
diff --git a/proto/injective/permissions/v1beta1/query.proto b/proto/injective/permissions/v1beta1/query.proto
new file mode 100644
index 00000000..0322e301
--- /dev/null
+++ b/proto/injective/permissions/v1beta1/query.proto
@@ -0,0 +1,111 @@
+syntax = "proto3";
+package injective.permissions.v1beta1;
+
+import "gogoproto/gogo.proto";
+import "google/api/annotations.proto";
+import "cosmos/base/query/v1beta1/pagination.proto";
+import "injective/permissions/v1beta1/params.proto";
+import "injective/permissions/v1beta1/genesis.proto";
+import "injective/permissions/v1beta1/permissions.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types";
+
+// Query defines the gRPC querier service.
+service Query {
+ // Params defines a gRPC query method that returns the permissions module's
+ // parameters.
+ rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
+ option (google.api.http).get = "/injective/permissions/v1beta1/params";
+ }
+
+ // AllNamespaces defines a gRPC query method that returns the permissions
+ // module's created namespaces.
+ rpc AllNamespaces(QueryAllNamespacesRequest)
+ returns (QueryAllNamespacesResponse) {
+ option (google.api.http).get =
+ "/injective/permissions/v1beta1/all_namespaces";
+ }
+
+ // NamespaceByDenom defines a gRPC query method that returns the permissions
+ // module's namespace associated with the provided denom.
+ rpc NamespaceByDenom(QueryNamespaceByDenomRequest)
+ returns (QueryNamespaceByDenomResponse) {
+ option (google.api.http).get =
+ "/injective/permissions/v1beta1/namespace_by_denom";
+ }
+
+ // AddressRoles defines a gRPC query method that returns address roles in the
+ // namespace
+ rpc AddressRoles(QueryAddressRolesRequest)
+ returns (QueryAddressRolesResponse) {
+ option (google.api.http).get =
+ "/injective/permissions/v1beta1/addresses_by_role";
+ }
+
+ // AddressesByRole defines a gRPC query method that returns a namespace's
+ // roles associated with the provided address.
+ rpc AddressesByRole(QueryAddressesByRoleRequest)
+ returns (QueryAddressesByRoleResponse) {
+ option (google.api.http).get =
+ "/injective/permissions/v1beta1/addresses_by_role";
+ }
+
+ // VouchersForAddress defines a gRPC query method that returns a map of
+ // vouchers that are held by permissions module for this address, keyed by the
+ // originator address
+ rpc VouchersForAddress(QueryVouchersForAddressRequest)
+ returns (QueryVouchersForAddressResponse) {
+ option (google.api.http).get =
+ "/injective/permissions/v1beta1/vouchers_for_address";
+ }
+}
+
+// QueryParamsRequest is the request type for the Query/Params RPC method.
+message QueryParamsRequest {}
+
+// QueryParamsResponse is the response type for the Query/Params RPC method.
+message QueryParamsResponse {
+ // params defines the parameters of the module.
+ Params params = 1 [ (gogoproto.nullable) = false ];
+}
+
+// QueryAllNamespacesRequest is the request type for the Query/AllNamespaces RPC
+// method.
+message QueryAllNamespacesRequest {}
+
+// QueryAllNamespacesResponse is the response type for the Query/AllNamespaces
+// RPC method.
+message QueryAllNamespacesResponse { repeated Namespace namespaces = 1; }
+
+// QueryNamespaceByDenomRequest is the request type for the
+// Query/NamespaceByDenom RPC method.
+message QueryNamespaceByDenomRequest {
+ string denom = 1;
+ bool include_roles = 2;
+}
+
+// QueryNamespaceByDenomResponse is the response type for the
+// Query/NamespaceByDenom RPC method.
+message QueryNamespaceByDenomResponse { Namespace namespace = 1; }
+
+// QueryAddressesByRoleRequest is the request type for the Query/AddressesByRole
+// RPC method.
+message QueryAddressesByRoleRequest {
+ string denom = 1;
+ string role = 2;
+}
+
+// QueryAddressesByRoleResponse is the response type for the
+// Query/AddressesByRole RPC method.
+message QueryAddressesByRoleResponse { repeated string addresses = 1; }
+
+message QueryAddressRolesRequest {
+ string denom = 1;
+ string address = 2;
+}
+
+message QueryAddressRolesResponse { repeated string roles = 1; }
+
+message QueryVouchersForAddressRequest { string address = 1; }
+
+message QueryVouchersForAddressResponse { map vouchers = 1; }
diff --git a/proto/injective/permissions/v1beta1/tx.proto b/proto/injective/permissions/v1beta1/tx.proto
new file mode 100644
index 00000000..d0c9e97c
--- /dev/null
+++ b/proto/injective/permissions/v1beta1/tx.proto
@@ -0,0 +1,117 @@
+syntax = "proto3";
+package injective.permissions.v1beta1;
+
+import "gogoproto/gogo.proto";
+import "cosmos/base/v1beta1/coin.proto";
+import "cosmos/bank/v1beta1/bank.proto";
+import "cosmos/msg/v1/msg.proto";
+import "cosmos_proto/cosmos.proto";
+import "injective/permissions/v1beta1/params.proto";
+import "injective/permissions/v1beta1/permissions.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/permissions/types";
+
+// Msg defines the permissions module's gRPC message service.
+service Msg {
+ rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
+ rpc CreateNamespace(MsgCreateNamespace) returns (MsgCreateNamespaceResponse);
+ rpc DeleteNamespace(MsgDeleteNamespace) returns (MsgDeleteNamespaceResponse);
+ rpc UpdateNamespace(MsgUpdateNamespace) returns (MsgUpdateNamespaceResponse);
+ rpc UpdateNamespaceRoles(MsgUpdateNamespaceRoles)
+ returns (MsgUpdateNamespaceRolesResponse);
+ rpc RevokeNamespaceRoles(MsgRevokeNamespaceRoles)
+ returns (MsgRevokeNamespaceRolesResponse);
+ rpc ClaimVoucher(MsgClaimVoucher) returns (MsgClaimVoucherResponse);
+}
+
+message MsgUpdateParams {
+ option (cosmos.msg.v1.signer) = "authority";
+
+ // authority is the address of the governance account.
+ string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ];
+
+ // params defines the permissions parameters to update.
+ //
+ // NOTE: All parameters must be supplied.
+ Params params = 2 [ (gogoproto.nullable) = false ];
+}
+
+message MsgUpdateParamsResponse {}
+
+message MsgCreateNamespace {
+ option (cosmos.msg.v1.signer) = "sender";
+ string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
+
+ Namespace namespace = 2 [ (gogoproto.nullable) = false ];
+}
+
+message MsgCreateNamespaceResponse {}
+
+message MsgDeleteNamespace {
+ option (cosmos.msg.v1.signer) = "sender";
+ string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
+
+ string namespace_denom = 2;
+}
+
+message MsgDeleteNamespaceResponse {}
+
+message MsgUpdateNamespace {
+ option (cosmos.msg.v1.signer) = "sender";
+ string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
+
+ string namespace_denom =
+ 2; // namespace denom to which this updates are applied
+
+ message MsgSetWasmHook { string new_value = 1; }
+ MsgSetWasmHook wasm_hook =
+ 3; // address of smart contract to apply code-based restrictions
+
+ message MsgSetMintsPaused { bool new_value = 1; }
+ MsgSetMintsPaused mints_paused = 4;
+
+ message MsgSetSendsPaused { bool new_value = 1; }
+ MsgSetSendsPaused sends_paused = 5;
+
+ message MsgSetBurnsPaused { bool new_value = 1; }
+ MsgSetBurnsPaused burns_paused = 6;
+}
+
+message MsgUpdateNamespaceResponse {}
+
+message MsgUpdateNamespaceRoles {
+ option (cosmos.msg.v1.signer) = "sender";
+ string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
+
+ string namespace_denom =
+ 2; // namespace denom to which this updates are applied
+
+ map role_permissions =
+ 3; // new role definitions or updated permissions for existing roles
+ map address_roles =
+ 4; // new addresses to add or new roles for existing addresses to
+ // overwrite current roles
+}
+
+message MsgUpdateNamespaceRolesResponse {}
+
+message MsgRevokeNamespaceRoles {
+ option (cosmos.msg.v1.signer) = "sender";
+ string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
+
+ string namespace_denom =
+ 2; // namespace denom to which this updates are applied
+ map address_roles_to_revoke =
+ 3; // map of {"address" => array of roles to revoke from this address}
+}
+
+message MsgRevokeNamespaceRolesResponse {}
+
+message MsgClaimVoucher {
+ option (cosmos.msg.v1.signer) = "sender";
+ string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
+
+ string originator = 2; // address of the original voucher sender (typically a module address, a key from VouchersForAddress query response)
+}
+
+message MsgClaimVoucherResponse {}
diff --git a/proto/injective/stream/v1beta1/query.proto b/proto/injective/stream/v1beta1/query.proto
new file mode 100644
index 00000000..d7de75fc
--- /dev/null
+++ b/proto/injective/stream/v1beta1/query.proto
@@ -0,0 +1,205 @@
+syntax = "proto3";
+package injective.stream.v1beta1;
+
+import "cosmos/base/v1beta1/coin.proto";
+import "gogoproto/gogo.proto";
+import "injective/exchange/v1beta1/events.proto";
+import "injective/exchange/v1beta1/exchange.proto";
+
+option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/stream/types";
+
+// ChainStream defines the gRPC streaming service.
+service Stream { rpc Stream(StreamRequest) returns (stream StreamResponse); }
+
+message StreamRequest {
+ BankBalancesFilter bank_balances_filter = 1 [ (gogoproto.nullable) = true ];
+ SubaccountDepositsFilter subaccount_deposits_filter = 2
+ [ (gogoproto.nullable) = true ];
+ TradesFilter spot_trades_filter = 3 [ (gogoproto.nullable) = true ];
+ TradesFilter derivative_trades_filter = 4 [ (gogoproto.nullable) = true ];
+ OrdersFilter spot_orders_filter = 5 [ (gogoproto.nullable) = true ];
+ OrdersFilter derivative_orders_filter = 6 [ (gogoproto.nullable) = true ];
+ OrderbookFilter spot_orderbooks_filter = 7 [ (gogoproto.nullable) = true ];
+ OrderbookFilter derivative_orderbooks_filter = 8
+ [ (gogoproto.nullable) = true ];
+ PositionsFilter positions_filter = 9 [ (gogoproto.nullable) = true ];
+ OraclePriceFilter oracle_price_filter = 10 [ (gogoproto.nullable) = true ];
+}
+
+message StreamResponse {
+ uint64 block_height = 1;
+ int64 block_time = 2;
+ repeated BankBalance bank_balances = 3;
+ repeated SubaccountDeposits subaccount_deposits = 4;
+ repeated SpotTrade spot_trades = 5;
+ repeated DerivativeTrade derivative_trades = 6;
+ repeated SpotOrderUpdate spot_orders = 7;
+ repeated DerivativeOrderUpdate derivative_orders = 8;
+ repeated OrderbookUpdate spot_orderbook_updates = 9;
+ repeated OrderbookUpdate derivative_orderbook_updates = 10;
+ repeated Position positions = 11;
+ repeated OraclePrice oracle_prices = 12;
+}
+
+message OrderbookUpdate {
+ uint64 seq = 1;
+ Orderbook orderbook = 2;
+}
+
+message Orderbook {
+ string market_id = 1;
+ repeated injective.exchange.v1beta1.Level buy_levels = 2;
+ repeated injective.exchange.v1beta1.Level sell_levels = 3;
+}
+
+message BankBalance {
+ string account = 1;
+ repeated cosmos.base.v1beta1.Coin balances = 2 [
+ (gogoproto.nullable) = false,
+ (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
+ ];
+}
+
+message SubaccountDeposits {
+ string subaccount_id = 1;
+ repeated SubaccountDeposit deposits = 2 [ (gogoproto.nullable) = false ];
+}
+
+message SubaccountDeposit {
+ string denom = 1;
+ injective.exchange.v1beta1.Deposit deposit = 2
+ [ (gogoproto.nullable) = false ];
+}
+
+enum OrderUpdateStatus {
+ Unspecified = 0;
+ Booked = 1;
+ Matched = 2;
+ Cancelled = 3;
+}
+
+message SpotOrderUpdate {
+ OrderUpdateStatus status = 1;
+ bytes order_hash = 2;
+ string cid = 3;
+ SpotOrder order = 4;
+}
+
+message SpotOrder {
+ string market_id = 1;
+ injective.exchange.v1beta1.SpotLimitOrder order = 2
+ [ (gogoproto.nullable) = false ];
+}
+
+message DerivativeOrderUpdate {
+ OrderUpdateStatus status = 1;
+ bytes order_hash = 2;
+ string cid = 3;
+ DerivativeOrder order = 4;
+}
+
+message DerivativeOrder {
+ string market_id = 1;
+ injective.exchange.v1beta1.DerivativeLimitOrder order = 2
+ [ (gogoproto.nullable) = false ];
+ bool is_market = 3;
+}
+
+message Position {
+ string market_id = 1;
+ string subaccount_id = 2;
+ bool isLong = 3;
+ string quantity = 4 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ string entry_price = 5 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ string margin = 6 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ string cumulative_funding_entry = 7 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+}
+
+message OraclePrice {
+ string symbol = 1;
+ string price = 2 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ string type = 3;
+}
+
+message SpotTrade {
+ string market_id = 1;
+ bool is_buy = 2;
+ string executionType = 3;
+
+ string quantity = 4 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ string price = 5 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ // bytes32 subaccount ID that executed the trade
+ string subaccount_id = 6;
+ string fee = 7 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ bytes order_hash = 8;
+ string fee_recipient_address = 9 [ (gogoproto.nullable) = true ];
+ string cid = 10;
+ string trade_id = 11;
+}
+
+message DerivativeTrade {
+ string market_id = 1;
+ bool is_buy = 2;
+ string executionType = 3;
+ string subaccount_id = 4;
+ injective.exchange.v1beta1.PositionDelta position_delta = 5;
+ string payout = 6 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ string fee = 7 [
+ (gogoproto.customtype) = "github.com/cosmos/cosmos-sdk/types.Dec",
+ (gogoproto.nullable) = false
+ ];
+ string order_hash = 8;
+ string fee_recipient_address = 9 [ (gogoproto.nullable) = true ];
+ string cid = 10;
+ string trade_id = 11;
+}
+
+message TradesFilter {
+ repeated string subaccount_ids = 1;
+ repeated string market_ids = 2;
+}
+
+message PositionsFilter {
+ repeated string subaccount_ids = 1;
+ repeated string market_ids = 2;
+}
+
+message OrdersFilter {
+ repeated string subaccount_ids = 1;
+ repeated string market_ids = 2;
+}
+
+message OrderbookFilter { repeated string market_ids = 1; }
+
+message BankBalancesFilter { repeated string accounts = 1; }
+
+message SubaccountDepositsFilter { repeated string subaccount_ids = 1; }
+
+message OraclePriceFilter { repeated string symbol = 1; }
diff --git a/proto/injective/tokenfactory/v1beta1/genesis.proto b/proto/injective/tokenfactory/v1beta1/genesis.proto
index cf4c92d2..9227ee2d 100644
--- a/proto/injective/tokenfactory/v1beta1/genesis.proto
+++ b/proto/injective/tokenfactory/v1beta1/genesis.proto
@@ -29,4 +29,6 @@ message GenesisDenom {
(gogoproto.moretags) = "yaml:\"authority_metadata\"",
(gogoproto.nullable) = false
];
+ string name = 3 [ (gogoproto.moretags) = "yaml:\"name\"" ];
+ string symbol = 4 [ (gogoproto.moretags) = "yaml:\"symbol\"" ];
}
diff --git a/proto/injective/tokenfactory/v1beta1/tx.proto b/proto/injective/tokenfactory/v1beta1/tx.proto
index be4af7b0..eef5a90f 100644
--- a/proto/injective/tokenfactory/v1beta1/tx.proto
+++ b/proto/injective/tokenfactory/v1beta1/tx.proto
@@ -40,6 +40,8 @@ message MsgCreateDenom {
string sender = 1 [ (gogoproto.moretags) = "yaml:\"sender\"" ];
// subdenom can be up to 44 "alphanumeric" characters long.
string subdenom = 2 [ (gogoproto.moretags) = "yaml:\"subdenom\"" ];
+ string name = 3 [ (gogoproto.moretags) = "yaml:\"name\"" ];
+ string symbol = 4 [ (gogoproto.moretags) = "yaml:\"symbol\"" ];
}
// MsgCreateDenomResponse is the return value of MsgCreateDenom
diff --git a/proto/injective/wasmx/v1/events.proto b/proto/injective/wasmx/v1/events.proto
index c810cdd3..63ad78bf 100644
--- a/proto/injective/wasmx/v1/events.proto
+++ b/proto/injective/wasmx/v1/events.proto
@@ -2,12 +2,27 @@ syntax = "proto3";
package injective.wasmx.v1;
import "injective/wasmx/v1/wasmx.proto";
+import "injective/wasmx/v1/proposal.proto";
import "gogoproto/gogo.proto";
option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/wasmx/types";
message EventContractExecution {
- string contract_address = 1;
- bytes response = 2;
- string error = 3;
- }
\ No newline at end of file
+ string contract_address = 1;
+ bytes response = 2;
+ string other_error = 3;
+ string execution_error = 4;
+}
+
+message EventContractRegistered {
+ string contract_address = 1;
+ uint64 gas_price = 3;
+ bool should_pin_contract = 4;
+ bool is_migration_allowed = 5;
+ uint64 code_id = 6;
+ string admin_address = 7;
+ string granter_address = 8;
+ FundingMode funding_mode = 9;
+}
+
+message EventContractDeregistered { string contract_address = 1; }
diff --git a/proto/injective/wasmx/v1/query.proto b/proto/injective/wasmx/v1/query.proto
index af95855a..8fce230b 100644
--- a/proto/injective/wasmx/v1/query.proto
+++ b/proto/injective/wasmx/v1/query.proto
@@ -15,9 +15,11 @@ service Query {
option (google.api.http).get = "/injective/wasmx/v1/params";
}
- // Retrieves contract registration info
- rpc ContractRegistrationInfo(QueryContractRegistrationInfoRequest) returns (QueryContractRegistrationInfoResponse) {
- option (google.api.http).get = "/injective/wasmx/v1/registration_info/{contract_address}";
+ // Retrieves contract registration info
+ rpc ContractRegistrationInfo(QueryContractRegistrationInfoRequest)
+ returns (QueryContractRegistrationInfoResponse) {
+ option (google.api.http).get =
+ "/injective/wasmx/v1/registration_info/{contract_address}";
}
// Retrieves the entire wasmx module's state
diff --git a/proto/injective/wasmx/v1/tx.proto b/proto/injective/wasmx/v1/tx.proto
index 77d80b1c..aa18b471 100644
--- a/proto/injective/wasmx/v1/tx.proto
+++ b/proto/injective/wasmx/v1/tx.proto
@@ -21,7 +21,8 @@ service Msg {
rpc ExecuteContractCompat(MsgExecuteContractCompat)
returns (MsgExecuteContractCompatResponse);
rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse);
- rpc RegisterContract(MsgRegisterContract) returns (MsgRegisterContractResponse);
+ rpc RegisterContract(MsgRegisterContract)
+ returns (MsgRegisterContractResponse);
}
// MsgExecuteContractCompat submits the given message data to a smart contract,
@@ -100,7 +101,8 @@ message MsgRegisterContract {
string sender = 1;
- ContractRegistrationRequest contract_registration_request = 2 [ (gogoproto.nullable) = false ];
+ ContractRegistrationRequest contract_registration_request = 2
+ [ (gogoproto.nullable) = false ];
}
message MsgRegisterContractResponse {}
\ No newline at end of file