XdrContractIDPreimageType
in package
Table of Contents
Constants
- CONTRACT_ID_PREIMAGE_FROM_ADDRESS : mixed = 0
- CONTRACT_ID_PREIMAGE_FROM_ASSET : mixed = 1
Properties
- $value : int
Methods
- __construct() : mixed
- CONTRACT_ID_PREIMAGE_FROM_ADDRESS() : XdrContractIDPreimageType
- CONTRACT_ID_PREIMAGE_FROM_ASSET() : XdrContractIDPreimageType
- decode() : XdrContractIDPreimageType
- encode() : string
- enumName() : string
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- fromTxRep() : static
- fromTxRepName() : static
- getValue() : int
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : string
- toTxRep() : void
Constants
CONTRACT_ID_PREIMAGE_FROM_ADDRESS
public
mixed
CONTRACT_ID_PREIMAGE_FROM_ADDRESS
= 0
CONTRACT_ID_PREIMAGE_FROM_ASSET
public
mixed
CONTRACT_ID_PREIMAGE_FROM_ASSET
= 1
Properties
$value
public
int
$value
Methods
__construct()
public
__construct(int $value) : mixed
Parameters
- $value : int
CONTRACT_ID_PREIMAGE_FROM_ADDRESS()
public
static CONTRACT_ID_PREIMAGE_FROM_ADDRESS() : XdrContractIDPreimageType
Return values
XdrContractIDPreimageTypeCONTRACT_ID_PREIMAGE_FROM_ASSET()
public
static CONTRACT_ID_PREIMAGE_FROM_ASSET() : XdrContractIDPreimageType
Return values
XdrContractIDPreimageTypedecode()
public
static decode(XdrBuffer $xdr) : XdrContractIDPreimageType
Parameters
- $xdr : XdrBuffer
Return values
XdrContractIDPreimageTypeencode()
public
encode() : string
Return values
stringenumName()
public
enumName() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromJson()
public
static fromJson(string $json) : static
Parameters
- $json : string
Tags
Return values
staticfromJsonValue()
public
static fromJsonValue(mixed $value) : static
Parameters
- $value : mixed
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : static
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
staticfromTxRepName()
public
static fromTxRepName(string $name) : static
Parameters
- $name : string
Return values
staticgetValue()
public
getValue() : int
Return values
inttoBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : string
Return values
stringtoTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>