XdrSCSpecType
in package
Table of Contents
Constants
- SC_SPEC_TYPE_ADDRESS : mixed = 19
- SC_SPEC_TYPE_BOOL : mixed = 1
- SC_SPEC_TYPE_BYTES : mixed = 14
- SC_SPEC_TYPE_BYTES_N : mixed = 1006
- SC_SPEC_TYPE_DURATION : mixed = 9
- SC_SPEC_TYPE_ERROR : mixed = 3
- SC_SPEC_TYPE_I128 : mixed = 11
- SC_SPEC_TYPE_I256 : mixed = 13
- SC_SPEC_TYPE_I32 : mixed = 5
- SC_SPEC_TYPE_I64 : mixed = 7
- SC_SPEC_TYPE_MAP : mixed = 1004
- SC_SPEC_TYPE_MUXED_ADDRESS : mixed = 20
- SC_SPEC_TYPE_OPTION : mixed = 1000
- SC_SPEC_TYPE_RESULT : mixed = 1001
- SC_SPEC_TYPE_STRING : mixed = 16
- SC_SPEC_TYPE_SYMBOL : mixed = 17
- SC_SPEC_TYPE_TIMEPOINT : mixed = 8
- SC_SPEC_TYPE_TUPLE : mixed = 1005
- SC_SPEC_TYPE_U128 : mixed = 10
- SC_SPEC_TYPE_U256 : mixed = 12
- SC_SPEC_TYPE_U32 : mixed = 4
- SC_SPEC_TYPE_U64 : mixed = 6
- SC_SPEC_TYPE_UDT : mixed = 2000
- SC_SPEC_TYPE_VAL : mixed = 0
- SC_SPEC_TYPE_VEC : mixed = 1002
- SC_SPEC_TYPE_VOID : mixed = 2
Properties
- $value : int
Methods
- __construct() : mixed
- ADDRESS() : XdrSCSpecType
- BOOL() : XdrSCSpecType
- BYTES() : XdrSCSpecType
- BYTES_N() : XdrSCSpecType
- decode() : XdrSCSpecType
- DURATION() : XdrSCSpecType
- encode() : string
- ERROR() : XdrSCSpecType
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- getValue() : int
- I128() : XdrSCSpecType
- I256() : XdrSCSpecType
- I32() : XdrSCSpecType
- I64() : XdrSCSpecType
- MAP() : XdrSCSpecType
- MUXED_ADDRESS() : XdrSCSpecType
- OPTION() : XdrSCSpecType
- RESULT() : XdrSCSpecType
- STRING() : XdrSCSpecType
- SYMBOL() : XdrSCSpecType
- TIMEPOINT() : XdrSCSpecType
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : string
- TUPLE() : XdrSCSpecType
- U128() : XdrSCSpecType
- U256() : XdrSCSpecType
- U32() : XdrSCSpecType
- U64() : XdrSCSpecType
- UDT() : XdrSCSpecType
- VAL() : XdrSCSpecType
- VEC() : XdrSCSpecType
- VOID() : XdrSCSpecType
Constants
SC_SPEC_TYPE_ADDRESS
public
mixed
SC_SPEC_TYPE_ADDRESS
= 19
SC_SPEC_TYPE_BOOL
public
mixed
SC_SPEC_TYPE_BOOL
= 1
SC_SPEC_TYPE_BYTES
public
mixed
SC_SPEC_TYPE_BYTES
= 14
SC_SPEC_TYPE_BYTES_N
public
mixed
SC_SPEC_TYPE_BYTES_N
= 1006
SC_SPEC_TYPE_DURATION
public
mixed
SC_SPEC_TYPE_DURATION
= 9
SC_SPEC_TYPE_ERROR
public
mixed
SC_SPEC_TYPE_ERROR
= 3
SC_SPEC_TYPE_I128
public
mixed
SC_SPEC_TYPE_I128
= 11
SC_SPEC_TYPE_I256
public
mixed
SC_SPEC_TYPE_I256
= 13
SC_SPEC_TYPE_I32
public
mixed
SC_SPEC_TYPE_I32
= 5
SC_SPEC_TYPE_I64
public
mixed
SC_SPEC_TYPE_I64
= 7
SC_SPEC_TYPE_MAP
public
mixed
SC_SPEC_TYPE_MAP
= 1004
SC_SPEC_TYPE_MUXED_ADDRESS
public
mixed
SC_SPEC_TYPE_MUXED_ADDRESS
= 20
SC_SPEC_TYPE_OPTION
public
mixed
SC_SPEC_TYPE_OPTION
= 1000
SC_SPEC_TYPE_RESULT
public
mixed
SC_SPEC_TYPE_RESULT
= 1001
SC_SPEC_TYPE_STRING
public
mixed
SC_SPEC_TYPE_STRING
= 16
SC_SPEC_TYPE_SYMBOL
public
mixed
SC_SPEC_TYPE_SYMBOL
= 17
SC_SPEC_TYPE_TIMEPOINT
public
mixed
SC_SPEC_TYPE_TIMEPOINT
= 8
SC_SPEC_TYPE_TUPLE
public
mixed
SC_SPEC_TYPE_TUPLE
= 1005
SC_SPEC_TYPE_U128
public
mixed
SC_SPEC_TYPE_U128
= 10
SC_SPEC_TYPE_U256
public
mixed
SC_SPEC_TYPE_U256
= 12
SC_SPEC_TYPE_U32
public
mixed
SC_SPEC_TYPE_U32
= 4
SC_SPEC_TYPE_U64
public
mixed
SC_SPEC_TYPE_U64
= 6
SC_SPEC_TYPE_UDT
public
mixed
SC_SPEC_TYPE_UDT
= 2000
SC_SPEC_TYPE_VAL
public
mixed
SC_SPEC_TYPE_VAL
= 0
SC_SPEC_TYPE_VEC
public
mixed
SC_SPEC_TYPE_VEC
= 1002
SC_SPEC_TYPE_VOID
public
mixed
SC_SPEC_TYPE_VOID
= 2
Properties
$value
public
int
$value
Methods
__construct()
public
__construct(int $value) : mixed
Parameters
- $value : int
ADDRESS()
public
static ADDRESS() : XdrSCSpecType
Return values
XdrSCSpecTypeBOOL()
public
static BOOL() : XdrSCSpecType
Return values
XdrSCSpecTypeBYTES()
public
static BYTES() : XdrSCSpecType
Return values
XdrSCSpecTypeBYTES_N()
public
static BYTES_N() : XdrSCSpecType
Return values
XdrSCSpecTypedecode()
public
static decode(XdrBuffer $xdr) : XdrSCSpecType
Parameters
- $xdr : XdrBuffer
Return values
XdrSCSpecTypeDURATION()
public
static DURATION() : XdrSCSpecType
Return values
XdrSCSpecTypeencode()
public
encode() : string
Return values
stringERROR()
public
static ERROR() : XdrSCSpecType
Return values
XdrSCSpecTypefromBase64Xdr()
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
staticgetValue()
public
getValue() : int
Return values
intI128()
public
static I128() : XdrSCSpecType
Return values
XdrSCSpecTypeI256()
public
static I256() : XdrSCSpecType
Return values
XdrSCSpecTypeI32()
public
static I32() : XdrSCSpecType
Return values
XdrSCSpecTypeI64()
public
static I64() : XdrSCSpecType
Return values
XdrSCSpecTypeMAP()
public
static MAP() : XdrSCSpecType
Return values
XdrSCSpecTypeMUXED_ADDRESS()
public
static MUXED_ADDRESS() : XdrSCSpecType
Return values
XdrSCSpecTypeOPTION()
public
static OPTION() : XdrSCSpecType
Return values
XdrSCSpecTypeRESULT()
public
static RESULT() : XdrSCSpecType
Return values
XdrSCSpecTypeSTRING()
public
static STRING() : XdrSCSpecType
Return values
XdrSCSpecTypeSYMBOL()
public
static SYMBOL() : XdrSCSpecType
Return values
XdrSCSpecTypeTIMEPOINT()
public
static TIMEPOINT() : XdrSCSpecType
Return values
XdrSCSpecTypetoBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : string
Return values
stringTUPLE()
public
static TUPLE() : XdrSCSpecType
Return values
XdrSCSpecTypeU128()
public
static U128() : XdrSCSpecType
Return values
XdrSCSpecTypeU256()
public
static U256() : XdrSCSpecType
Return values
XdrSCSpecTypeU32()
public
static U32() : XdrSCSpecType
Return values
XdrSCSpecTypeU64()
public
static U64() : XdrSCSpecType
Return values
XdrSCSpecTypeUDT()
public
static UDT() : XdrSCSpecType
Return values
XdrSCSpecTypeVAL()
public
static VAL() : XdrSCSpecType
Return values
XdrSCSpecTypeVEC()
public
static VEC() : XdrSCSpecType
Return values
XdrSCSpecTypeVOID()
public
static VOID() : XdrSCSpecType