github.com/Finschia/finschia-sdk@v0.49.1/proto/cosmos/vesting/v1beta1/tx.proto (about) 1 syntax = "proto3"; 2 package cosmos.vesting.v1beta1; 3 4 import "gogoproto/gogo.proto"; 5 import "cosmos/base/v1beta1/coin.proto"; 6 7 option go_package = "github.com/Finschia/finschia-sdk/x/auth/vesting/types"; 8 9 // Msg defines the bank Msg service. 10 service Msg { 11 // CreateVestingAccount defines a method that enables creating a vesting 12 // account. 13 rpc CreateVestingAccount(MsgCreateVestingAccount) returns (MsgCreateVestingAccountResponse); 14 } 15 16 // MsgCreateVestingAccount defines a message that enables creating a vesting 17 // account. 18 message MsgCreateVestingAccount { 19 option (gogoproto.equal) = true; 20 21 string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""]; 22 string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""]; 23 repeated cosmos.base.v1beta1.Coin amount = 3 24 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/Finschia/finschia-sdk/types.Coins"]; 25 26 int64 end_time = 4 [(gogoproto.moretags) = "yaml:\"end_time\""]; 27 bool delayed = 5; 28 } 29 30 // MsgCreateVestingAccountResponse defines the Msg/CreateVestingAccount response type. 31 message MsgCreateVestingAccountResponse {}