DAO-Only Access: All admin module message types can only be executed by the DAO through WebAssembly bindings.
Messages
MsgDeleteAdmin
Deletes an existing admin from the Neutron network, ensuring that the particular admin no longer has governance rights or permissions. Parameters:creator
:string
- The originator or sender of this message. It’s usually the address of the entity proposing the removal of the admin.admin
:string
- The target admin’s address to be revoked from its administrative rights.
MsgDeleteAdminResponse
The standard response message after processingMsgDeleteAdmin
. If successful, it confirms the deletion of the specified admin.
(No fields)
MsgAddAdmin
Facilitates the addition of a new admin. This admin, once added, will be endowed with governance and operational rights as per the Neutron network’s configuration. Parameters:creator
:string
- The initiator or sender of this message. Typically, the address of the entity proposing the addition of a new admin.admin
:string
- The address of the new admin to be onboarded.
MsgAddAdminResponse
The definitive response message after processingMsgAddAdmin
. A successful response ensures the addition of the specified admin into the Neutron network’s governance mechanism.
(No fields)
MsgSubmitProposalLegacy
Leveraging the legacy mechanisms, this message type is tailored for submitting proposals structured before the SDK 0.47 update. This ensures backward compatibility and a wider range of proposal support. Parameters:content
:google.protobuf.Any
- The intrinsic content of the proposal. Typically aligns with theContent
interface specifications.proposer
:string
- The address of the entity submitting the proposal.
MsgSubmitProposalLegacyResponse
The response message confirming the processing ofMsgSubmitProposalLegacy
.
Fields:
proposal_id
:uint64
- The unique identifier assigned to the submitted proposal. This ID serves as a reference for future operations or queries related to this proposal.
MsgSubmitProposal
In line with the updates in SDK 0.47, this message type provides a structure for submitting proposals using the revamped message structures. It encapsulates a diverse array of actions and changes. Parameters:messages
:Array<google.protobuf.Any>
- A collection of arbitrary messages detailing the changes or actions proposed. These messages are executed contingent upon the proposal’s approval.proposer
:string
- The originator’s address proposing the changes.
MsgSubmitProposalResponse
The standardized response message post-processingMsgSubmitProposal
.
Fields:
proposal_id
:uint64
- A unique identifier for the newly submitted proposal. It serves as a pivotal reference for all related actions, queries, or updates.