2022-01-08 01:59:34 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package cosmos.bank.v1beta1;
|
|
|
|
|
2024-02-06 22:54:10 +00:00
|
|
|
import "amino/amino.proto";
|
2022-01-08 01:59:34 +00:00
|
|
|
import "gogoproto/gogo.proto";
|
|
|
|
import "cosmos_proto/cosmos.proto";
|
|
|
|
import "cosmos/base/v1beta1/coin.proto";
|
|
|
|
|
|
|
|
option go_package = "github.com/cosmos/cosmos-sdk/x/bank/types";
|
|
|
|
|
|
|
|
// SendAuthorization allows the grantee to spend up to spend_limit coins from
|
|
|
|
// the granter's account.
|
|
|
|
//
|
|
|
|
// Since: cosmos-sdk 0.43
|
|
|
|
message SendAuthorization {
|
2024-02-06 22:54:10 +00:00
|
|
|
option (cosmos_proto.implements_interface) = "cosmos.authz.v1beta1.Authorization";
|
|
|
|
option (amino.name) = "cosmos-sdk/SendAuthorization";
|
2022-01-08 01:59:34 +00:00
|
|
|
|
2024-02-06 22:54:10 +00:00
|
|
|
repeated cosmos.base.v1beta1.Coin spend_limit = 1 [
|
|
|
|
(gogoproto.nullable) = false,
|
|
|
|
(amino.dont_omitempty) = true,
|
|
|
|
(gogoproto.castrepeated) = "github.com/cosmos/cosmos-sdk/types.Coins"
|
|
|
|
];
|
|
|
|
|
|
|
|
// allow_list specifies an optional list of addresses to whom the grantee can send tokens on behalf of the
|
|
|
|
// granter. If omitted, any recipient is allowed.
|
|
|
|
//
|
|
|
|
// Since: cosmos-sdk 0.47
|
|
|
|
repeated string allow_list = 2 [(cosmos_proto.scalar) = "cosmos.AddressString"];
|
2022-01-08 01:59:34 +00:00
|
|
|
}
|