github.com/InjectiveLabs/sdk-go@v1.53.0/proto/injective/auction/v1beta1/tx.proto (about) 1 syntax = "proto3"; 2 package injective.auction.v1beta1; 3 4 import "gogoproto/gogo.proto"; 5 import "cosmos/base/v1beta1/coin.proto"; 6 import "cosmos/msg/v1/msg.proto"; 7 import "cosmos_proto/cosmos.proto"; 8 import "injective/auction/v1beta1/auction.proto"; 9 import "amino/amino.proto"; 10 11 option go_package = "github.com/InjectiveLabs/injective-core/injective-chain/modules/auction/types"; 12 13 // Msg defines the auction Msg service. 14 service Msg { 15 option (cosmos.msg.v1.service) = true; 16 17 // Bid defines a method for placing a bid for an auction 18 rpc Bid(MsgBid) returns (MsgBidResponse); 19 20 rpc UpdateParams(MsgUpdateParams) returns (MsgUpdateParamsResponse); 21 } 22 23 // Bid defines a SDK message for placing a bid for an auction 24 message MsgBid { 25 option (gogoproto.equal) = false; 26 option (gogoproto.goproto_getters) = false; 27 option (amino.name) = "auction/MsgBid"; 28 29 option (cosmos.msg.v1.signer) = "sender"; 30 31 string sender = 1; 32 // amount of the bid in INJ tokens 33 cosmos.base.v1beta1.Coin bid_amount = 2 [ (gogoproto.nullable) = false ]; 34 // the current auction round being bid on 35 uint64 round = 3; 36 } 37 38 message MsgBidResponse {} 39 40 message MsgUpdateParams { 41 option (cosmos.msg.v1.signer) = "authority"; 42 option (amino.name) = "auction/MsgUpdateParams"; 43 44 // authority is the address of the governance account. 45 string authority = 1 [ (cosmos_proto.scalar) = "cosmos.AddressString" ]; 46 47 // params defines the ocr parameters to update. 48 // 49 // NOTE: All parameters must be supplied. 50 Params params = 2 [ (gogoproto.nullable) = false ]; 51 } 52 53 message MsgUpdateParamsResponse {}