Skip to content

Latest commit

 

History

History
820 lines (628 loc) · 14.1 KB

02_messages.md

File metadata and controls

820 lines (628 loc) · 14.1 KB

Messages

Burn

aura.v1.MsgBurn

A message that burns USDY from a user.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgBurn",
        "signer": "noble1signer",
        "from": "noble1user",
        "amount": "1000000000000000000"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • from — The Noble address to burn USDY from.
  • amount — The amount of USDY to burn.

Requirements

  • Signer must be one of the allowed burners.
  • Burner must have enough allowance.

State Changes

  • burners
  • User balance via x/bank module.

Events Emitted

Mint

aura.v1.MsgMint

A message that mints USDY to a user.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgMint",
        "signer": "noble1signer",
        "to": "noble1user",
        "amount": "1000000000000000000"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • to — The Noble address to mint USDY to.
  • amount — The amount of USDY to mint.

Requirements

  • Signer must be one of the allowed minters.
  • Minter must have enough allowance.

State Changes

  • minters
  • User balance via x/bank module.

Events Emitted

Pause

aura.v1.MsgPause

A message that pauses USDY.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgPause",
        "signer": "noble1signer"
      }
    ],
    "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

  • Signer must be one of the allowed pausers.

State Changes

Events Emitted

Unpause

aura.v1.MsgUnpause

A message that unpauses USDY.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgUnpause",
        "signer": "noble1signer"
      }
    ],
    "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

  • Signer must be the current owner.

State Changes

Events Emitted

Transfer Ownership

aura.v1.MsgTransferOwnership

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

{
  "body": {
    "messages": [
      {
        "@type": "/aura.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.v1.MsgAcceptOwnership

A message that finalizes an ownership transfer.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.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 Burner

aura.v1.MsgAddBurner

A message that adds a new burner, with an initial allowance.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgAddBurner",
        "signer": "noble1signer",
        "burner": "noble1burner",
        "allowance": "0"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • burner — The Noble address to add as a new burner.
  • allowance — The initial burn allowance of this new burner.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Remove Burner

aura.v1.MsgRemoveBurner

A message that removes a burner.

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

Arguments

  • burner — The Noble address to remove as a burner.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Set Burner Allowance

aura.v1.MsgSetBurnerAllowance

A message that sets the allowance of a burner.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgSetBurnerAllowance",
        "signer": "noble1signer",
        "burner": "noble1burner",
        "allowance": "1000000000000000000"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • burner — The Noble address to update the burn allowance for.
  • allowance — The burn allowance to update to.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Add Minter

aura.v1.MsgAddMinter

A message that adds a new minter, with an initial allowance.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgAddMinter",
        "signer": "noble1signer",
        "minter": "noble1minter",
        "allowance": "0"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • minter — The Noble address to add as a new minter.
  • allowance — The initial mint allowance of this new minter.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Remove Minter

aura.v1.MsgRemoveMinter

A message that removes a minter.

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

Arguments

  • minter — The Noble address to remove as a minter.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Set Minter Allowance

aura.v1.MsgSetMinterAllowance

A message that sets the allowance of a minter.

{
  "body": {
    "messages": [
      {
        "@type": "/aura.v1.MsgSetMinterAllowance",
        "signer": "noble1signer",
        "minter": "noble1minter",
        "allowance": "1000000000000000000"
      }
    ],
    "memo": "",
    "timeout_height": "0",
    "extension_options": [],
    "non_critical_extension_options": []
  },
  "auth_info": {
    "signer_infos": [],
    "fee": {
      "amount": [],
      "gas_limit": "200000",
      "payer": "",
      "granter": ""
    }
  },
  "signatures": []
}

Arguments

  • minter — The Noble address to update the mint allowance for.
  • allowance — The mint allowance to update to.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Add Pauser

aura.v1.MsgAddPauser

A message that adds a new pauser.

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

Arguments

  • pauser — The Noble address to add as a new pauser.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Remove Pauser

aura.v1.MsgRemovePauser

A message that removes a pauser.

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

Arguments

  • pauser — The Noble address to remove as a pauser.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Add Blocked Channel

aura.v1.MsgAddBlockedChannel

A message that adds a blocked channel.

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

Arguments

  • channel — The IBC channel to block.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted

Remove Blocked Channel

aura.v1.MsgRemoveBlockedChannel

A message that removes a blocked channel.

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

Arguments

  • channel — The IBC channel to unblock.

Requirements

  • Signer must be the current owner.

State Changes

Events Emitted