vesting
The vesting
module is responsible for handling the vesting account implementation used by Mars Hub.
For more information, visit https://docs.cosmos.network/main/modules/vesting/
Message Types
Msg
defines the bank Msg service.
_11 // CreateVestingAccount defines a method that enables creating a vesting
_11 rpc CreateVestingAccount(MsgCreateVestingAccount) returns (MsgCreateVestingAccountResponse);
_11 // CreatePermanentLockedAccount defines a method that enables creating a permanent
_11 rpc CreatePermanentLockedAccount(MsgCreatePermanentLockedAccount) returns (MsgCreatePermanentLockedAccountResponse);
_11 // CreatePeriodicVestingAccount defines a method that enables creating a
_11 // periodic vesting account.
_11 rpc CreatePeriodicVestingAccount(MsgCreatePeriodicVestingAccount) returns (MsgCreatePeriodicVestingAccountResponse);
MsgCreateVestingAccount
MsgCreateVestingAccount
defines a message that enables creating a vesting account.
_13message MsgCreateVestingAccount {
_13 option (cosmos.msg.v1.signer) = "from_address";
_13 option (gogoproto.equal) = true;
_13 string from_address = 1 [(cosmos_proto.scalar) = "cosmos.AddressString"];
_13 string to_address = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
_13 repeated cosmos.base.v1beta1.Coin amount = 3
_13 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
MsgCreateVestingAccountResponse
MsgCreateVestingAccountResponse
defines the Msg/CreateVestingAccount
response type.
_1message MsgCreateVestingAccountResponse {}
MsgCreatePermanentLockedAccount
MsgCreatePermanentLockedAccount
defines a message that enables creating a permanent locked account.
_8message MsgCreatePermanentLockedAccount {
_8 option (gogoproto.equal) = true;
_8 string from_address = 1 [(gogoproto.moretags) = "yaml:\"from_address\""];
_8 string to_address = 2 [(gogoproto.moretags) = "yaml:\"to_address\""];
_8 repeated cosmos.base.v1beta1.Coin amount = 3
_8 [(gogoproto.nullable) = false, (gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"];
MsgCreatePermanentLockedAccountResponse
MsgCreatePermanentLockedAccountResponse
defines the Msg/CreatePermanentLockedAccount
response type.
_1message MsgCreatePermanentLockedAccountResponse {}
MsgCreateVestingAccount
MsgCreateVestingAccount
defines a message that enables creating a vesting account.
_10message MsgCreatePeriodicVestingAccount {
_10 option (cosmos.msg.v1.signer) = "from_address";
_10 option (gogoproto.equal) = false;
_10 string from_address = 1;
_10 string to_address = 2;
_10 int64 start_time = 3;
_10 repeated Period vesting_periods = 4 [(gogoproto.nullable) = false];
MsgCreateVestingAccountResponse
MsgCreateVestingAccountResponse
defines the Msg/CreatePeriodicVestingAccount
response type.
_1message MsgCreatePeriodicVestingAccountResponse {}