Casper.Network.SDK
Show / Hide Table of Contents

Class ModuleBytesDeployItem

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

Inheritance
object
ExecutableDeployItem
ModuleBytesDeployItem
Inherited Members
ExecutableDeployItem.RuntimeArgs
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class ModuleBytesDeployItem : ExecutableDeployItem

Constructors

| Edit this page View Source

ModuleBytesDeployItem()

Declaration
public ModuleBytesDeployItem()
| Edit this page View Source

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
byte[] moduleBytes
List<NamedArg> args
| Edit this page View Source

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

Properties

| Edit this page View Source

ModuleBytes

wasm Bytes

Declaration
[JsonPropertyName("module_bytes")]
[JsonConverter(typeof(HexBytesConverter))]
public byte[] ModuleBytes { get; init; }
Property Value
Type Description
byte[]

Methods

| Edit this page View Source

JsonPropertyName()

Declaration
public override string JsonPropertyName()
Returns
Type Description
string
Overrides
ExecutableDeployItem.JsonPropertyName()
| Edit this page View Source

Tag()

Declaration
public override byte Tag()
Returns
Type Description
byte
Overrides
ExecutableDeployItem.Tag()
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC