Casper.Network.SDK
Show / Hide Table of Contents

Class ModuleBytesDeployItem

Deploy item with the capacity to contain executable code (e.g. a contract).

Inheritance
System.Object
ExecutableDeployItem
ModuleBytesDeployItem
Inherited Members
ExecutableDeployItem.RuntimeArgs
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class ModuleBytesDeployItem : ExecutableDeployItem

Constructors

ModuleBytesDeployItem()

Declaration
public ModuleBytesDeployItem()

ModuleBytesDeployItem(BigInteger)

Creates a deploy item to specify a payment amount with origin the main purse of the caller's account.

Declaration
public ModuleBytesDeployItem(BigInteger amount)
Parameters
Type Name Description
BigInteger amount

Payment amount in motes

ModuleBytesDeployItem(Byte[], List<NamedArg>)

Creates a deploy item with binary code to execute and a list of named arguments.

Declaration
public ModuleBytesDeployItem(byte[] moduleBytes, List<NamedArg> args = null)
Parameters
Type Name Description
System.Byte[] moduleBytes
List<NamedArg> args

Properties

ModuleBytes

wasm Bytes

Declaration
public byte[] ModuleBytes { get; set; }
Property Value
Type Description
System.Byte[]

Methods

JsonPropertyName()

Declaration
public override string JsonPropertyName()
Returns
Type Description
System.String
Overrides
ExecutableDeployItem.JsonPropertyName()

Tag()

Declaration
public override byte Tag()
Returns
Type Description
System.Byte
Overrides
ExecutableDeployItem.Tag()
In This Article
  • Constructors
    • ModuleBytesDeployItem()
    • ModuleBytesDeployItem(BigInteger)
    • ModuleBytesDeployItem(Byte[], List<NamedArg>)
  • Properties
    • ModuleBytes
  • Methods
    • JsonPropertyName()
    • Tag()
Back to top Maintained by MAKE Technology LLC