diff --git a/proto/valorem/trade/v1/auth.proto b/proto/valorem/trade/v1/auth.proto index 9498355..3e4aa69 100644 --- a/proto/valorem/trade/v1/auth.proto +++ b/proto/valorem/trade/v1/auth.proto @@ -1,6 +1,7 @@ syntax = "proto3"; import "types.proto"; +import "google/protobuf/wrappers.proto"; package valorem.trade.v1; @@ -17,6 +18,9 @@ service Auth { // Used to check if a given connection is authenticated, returns the address which is authenticated for a nonce cookie rpc Authenticate (Empty) returns (H160); + // Used to check if a given connection is geofenced. If access is restricted, returns true, otherwise false. + rpc Geofenced (Empty) returns (google.protobuf.BoolValue); + // Returns the SIWE Session for the request's sessionId rpc Session (Empty) returns (SiweSession); @@ -40,4 +44,4 @@ message VerifyText { message SiweSession { H160 address = 1; H256 chain_id = 2; -} \ No newline at end of file +}