Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StoreCodeProposal

StoreCodeProposal gov proposal content type to submit WASM code to the system

Hierarchy

Index

Constructors

  • new StoreCodeProposal(title: string, description: string, run_as: string, wasm_byte_code: string, instantiate_permission?: AccessConfig): StoreCodeProposal
  • Parameters

    • title: string

      a short summary

    • description: string

      a human readable text

    • run_as: string

      the address that is passed to the contract's environment as sender

    • wasm_byte_code: string

      can be raw or gzip compressed

    • Optional instantiate_permission: AccessConfig

      to apply on contract creation, optional

    Returns StoreCodeProposal

Properties

description: string
instantiate_permission?: AccessConfig
run_as: string
title: string
wasm_byte_code: 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): StoreCodeProposal