XdrHostFunctionType
in package
Table of Contents
Constants
- HOST_FUNCTION_TYPE_CREATE_CONTRACT = 1
- HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2 = 3
- HOST_FUNCTION_TYPE_INVOKE_CONTRACT = 0
- HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM = 2
Properties
- $value : int
Methods
- __construct() : mixed
- CREATE_CONTRACT() : XdrHostFunctionType
- CREATE_CONTRACT_V2() : XdrHostFunctionType
- decode() : XdrHostFunctionType
- encode() : string
- getValue() : int
- INVOKE_CONTRACT() : XdrHostFunctionType
- UPLOAD_CONTRACT_WASM() : XdrHostFunctionType
Constants
HOST_FUNCTION_TYPE_CREATE_CONTRACT
public
mixed
HOST_FUNCTION_TYPE_CREATE_CONTRACT
= 1
HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2
public
mixed
HOST_FUNCTION_TYPE_CREATE_CONTRACT_V2
= 3
HOST_FUNCTION_TYPE_INVOKE_CONTRACT
public
mixed
HOST_FUNCTION_TYPE_INVOKE_CONTRACT
= 0
HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM
public
mixed
HOST_FUNCTION_TYPE_UPLOAD_CONTRACT_WASM
= 2
Properties
$value
public
int
$value
Methods
__construct()
public
__construct(int $value) : mixed
Parameters
- $value : int
CREATE_CONTRACT()
public
static CREATE_CONTRACT() : XdrHostFunctionType
Return values
XdrHostFunctionTypeCREATE_CONTRACT_V2()
public
static CREATE_CONTRACT_V2() : XdrHostFunctionType
Return values
XdrHostFunctionTypedecode()
public
static decode(XdrBuffer $xdr) : XdrHostFunctionType
Parameters
- $xdr : XdrBuffer
Return values
XdrHostFunctionTypeencode()
public
encode() : string
Return values
stringgetValue()
public
getValue() : int
Return values
intINVOKE_CONTRACT()
public
static INVOKE_CONTRACT() : XdrHostFunctionType
Return values
XdrHostFunctionTypeUPLOAD_CONTRACT_WASM()
public
static UPLOAD_CONTRACT_WASM() : XdrHostFunctionType