XdrContractIDPreimageType
in package
Table of Contents
Constants
Properties
- $value : int
Methods
- __construct() : mixed
- CONTRACT_ID_PREIMAGE_FROM_ADDRESS() : XdrContractIDPreimageType
- CONTRACT_ID_PREIMAGE_FROM_ASSET() : XdrContractIDPreimageType
- decode() : XdrContractIDPreimageType
- encode() : string
- getValue() : int
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
stringgetValue()
public
getValue() : int