Use "/" to Search
# proto - sudo
# Table of Contents
# nibiru/sudo/v1/event.proto
# EventUpdateSudoers
Field | Type | Label | Description |
---|---|---|---|
sudoers | Sudoers | ||
action | string | Action is the type of update that occured to the "sudoers" |
# nibiru/sudo/v1/query.proto
# QuerySudoersRequest
# QuerySudoersResponse
QuerySudoersResponse indicates the successful execution of MsgEditSudeors.
Field | Type | Label | Description |
---|---|---|---|
sudoers | Sudoers |
# Query
Query defines the gRPC querier service.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
QuerySudoers | QuerySudoersRequest | QuerySudoersResponse |
# nibiru/sudo/v1/state.proto
# GenesisState
GenesisState defines the module's genesis state.
Field | Type | Label | Description |
---|---|---|---|
sudoers | Sudoers |
# Sudoers
Field | Type | Label | Description |
---|---|---|---|
root | string | Root: The "root" user. | |
contracts | string | repeated | Contracts: The set of contracts with elevated permissions. |
# nibiru/sudo/v1/tx.proto
# MsgChangeRoot
MsgChangeRoot: Msg to update the "Sudoers" state.
Field | Type | Label | Description |
---|---|---|---|
sender | string | Sender: Address for the signer of the transaction. | |
new_root | string | NewRoot: New root address. |
# MsgChangeRootResponse
MsgChangeRootResponse indicates the successful execution of MsgChangeRoot.
# MsgEditSudoers
MsgEditSudoers: Msg to update the "Sudoers" state.
Field | Type | Label | Description |
---|---|---|---|
action | string | Action: identifier for the type of edit that will take place. Using this action field prevents us from needing to create several similar message types. | |
contracts | string | repeated | Contracts: An input payload. |
sender | string | Sender: Address for the signer of the transaction. |
# MsgEditSudoersResponse
MsgEditSudoersResponse indicates the successful execution of MsgEditSudeors.
# Msg
Msg defines the x/sudo module's Msg service. Protobuf Msg
services are
called from BaseApp
instances during DeliverTx
. The Msg
service will be
responsible for processing sdk.Msg
requests.
Method Name | Request Type | Response Type | Description |
---|---|---|---|
EditSudoers | MsgEditSudoers | MsgEditSudoersResponse | EditSudoers updates the "Sudoers" state |
ChangeRoot | MsgChangeRoot | MsgChangeRootResponse |