1+ syntax = "proto3" ;
2+ package pob.builder.v1 ;
3+
4+ import "gogoproto/gogo.proto" ;
5+ import "google/api/annotations.proto" ;
6+ import "cosmos/base/v1beta1/coin.proto" ;
7+ import "pob/builder/v1/genesis.proto" ;
8+ import "cosmos_proto/cosmos.proto" ;
9+ import "cosmos/msg/v1/msg.proto" ;
10+ import "amino/amino.proto" ;
11+
12+ option go_package = "github.com/persistenceOne/persistence-sdk/v6/x/pob/types" ;
13+
14+ // Msg defines the x/builder Msg service.
15+ service Msg {
16+ option deprecated = true ;
17+ option (cosmos.msg.v1.service ) = true ;
18+
19+ // AuctionBid defines a method for sending bids to the x/builder module.
20+ rpc AuctionBid (MsgAuctionBid ) returns (MsgAuctionBidResponse ) {
21+ option (google.api.http ).post = "/pob/builder/v1/bid" ;
22+ };
23+
24+ // UpdateParams defines a governance operation for updating the x/builder
25+ // module parameters. The authority is hard-coded to the x/gov module account.
26+ rpc UpdateParams (MsgUpdateParams ) returns (MsgUpdateParamsResponse );
27+ }
28+
29+ // MsgAuctionBid defines a request type for sending bids to the x/builder
30+ // module.
31+ message MsgAuctionBid {
32+ option deprecated = true ;
33+ option (cosmos.msg.v1.signer ) = "bidder" ;
34+ option (amino.name ) = "pob/x/builder/MsgAuctionBid" ;
35+
36+ option (gogoproto.equal ) = false ;
37+
38+ // bidder is the address of the account that is submitting a bid to the
39+ // auction.
40+ string bidder = 1 [ (cosmos_proto.scalar ) = "cosmos.AddressString" ];
41+ // bid is the amount of coins that the bidder is bidding to participate in the
42+ // auction.
43+ cosmos.base.v1beta1.Coin bid = 2
44+ [ (gogoproto.nullable ) = false , (amino.dont_omitempty ) = true ];
45+ // transactions are the bytes of the transactions that the bidder wants to
46+ // bundle together.
47+ repeated bytes transactions = 3 ;
48+ }
49+
50+ // MsgAuctionBidResponse defines the Msg/AuctionBid response type.
51+ message MsgAuctionBidResponse {
52+ option deprecated = true ;
53+ }
54+
55+ // MsgUpdateParams defines a request type for updating the x/builder module
56+ // parameters.
57+ message MsgUpdateParams {
58+ option deprecated = true ;
59+ option (cosmos.msg.v1.signer ) = "authority" ;
60+ option (amino.name ) = "pob/x/builder/MsgUpdateParams" ;
61+
62+ option (gogoproto.equal ) = false ;
63+
64+ // authority is the address of the account that is authorized to update the
65+ // x/builder module parameters.
66+ string authority = 1 [ (cosmos_proto.scalar ) = "cosmos.AddressString" ];
67+ // params is the new parameters for the x/builder module.
68+ Params params = 2 [ (gogoproto.nullable ) = false ];
69+ }
70+
71+ // MsgUpdateParamsResponse defines the Msg/UpdateParams response type.
72+ message MsgUpdateParamsResponse {
73+ option deprecated = true ;
74+ }
0 commit comments