Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UpdateAdminProposal

UpdateAdminProposal gov proposal content type to set an admin for a contract.

Hierarchy

Index

Constructors

  • new UpdateAdminProposal(title: string, description: string, contract: string, new_admin: string): UpdateAdminProposal
  • Parameters

    • title: string

      a short summary

    • description: string

      a human readable text

    • contract: string

      the address of the smart contract

    • new_admin: string

      address to be set

    Returns UpdateAdminProposal

Properties

contract: string
description: string
new_admin: string
title: string

Methods

  • packAny(isClassic?: boolean): Any
  • toAminoJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toJSON(isClassic?: boolean): string
  • Parameters

    • Optional isClassic: boolean

    Returns string

  • toProto(isClassic?: boolean): UpdateAdminProposal