Skip to content

Latest commit

 

History

History
214 lines (166 loc) · 4.25 KB

02_messages_blocklist.md

File metadata and controls

214 lines (166 loc) · 4.25 KB

Blocklist Messages

Transfer Ownership

aura.blocklist.v1.MsgTransferOwnership

A message that initiates an ownership transfer to a provided address.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.blocklist.v1.MsgTransferOwnership",
        "signer": "noble1signer",
        "new_owner": "noble1owner"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • new_owner — The Noble address to initiate an ownership transfer to.

Requirements

  • Signer must be the current owner.
  • new_owner must not be the current owner.

State Changes

Events Emitted

Accept Ownership

aura.blocklist.v1.MsgAcceptOwnership

A message that finalizes an ownership transfer.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.blocklist.v1.MsgAcceptOwnership",
        "signer": "noble1owner"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

This message takes no arguments.

Requirements

State Changes

Events Emitted

Add To Blocklist

aura.blocklist.v1.MsgAddToBlocklist

A message that adds addresses to Aura's blocklist.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.blocklist.v1.MsgAddToBlocklist",
        "signer": "noble1signer",
        "accounts": [
          "noble1alice",
          "noble1bob",
          "noble1charlie"
        ]
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • accounts — A list of Noble address to add to the blocklist.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Remove From Blocklist

aura.blocklist.v1.MsgRemoveFromBlocklist

A message that removes addresses from Aura's blocklist.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.blocklist.v1.MsgRemoveFromBlocklist",
        "signer": "noble1signer",
        "accounts": [
          "noble1alice",
          "noble1bob",
          "noble1charlie"
        ]
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • accounts — A list of Noble address to remove from the blocklist.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted