refactor: x/bank audit changes (#16690)

This commit is contained in:
Likhita Polavarapu
2023-06-27 13:52:23 +00:00
committed by GitHub
parent a067ef6f37
commit 7c8236d2ed
14 changed files with 89 additions and 51 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ type Module struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// blocked_module_accounts configures exceptional module accounts which should be blocked from receiving funds.
// blocked_module_accounts_override configures exceptional module accounts which should be blocked from receiving funds.
// If left empty it defaults to the list of account names supplied in the auth module configuration as
// module_account_permissions
BlockedModuleAccountsOverride []string `protobuf:"bytes,1,rep,name=blocked_module_accounts_override,json=blockedModuleAccountsOverride,proto3" json:"blocked_module_accounts_override,omitempty"`
+1
View File
@@ -11862,6 +11862,7 @@ type QueryParamsResponse struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// params provides the parameters of the bank module.
Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
}
+1
View File
@@ -4133,6 +4133,7 @@ type MsgSetSendEnabled struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// authority is the address that controls the module.
Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"`
// send_enabled is the list of entries to add or update.
SendEnabled []*SendEnabled `protobuf:"bytes,2,rep,name=send_enabled,json=sendEnabled,proto3" json:"send_enabled,omitempty"`