XdrSorobanAuthorizedFunctionType
in package
Table of Contents
Constants
- SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN = 0
- SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN = 1
- SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN = 2
Properties
- $value : int
Methods
- __construct() : mixed
- decode() : XdrSorobanAuthorizedFunctionType
- encode() : string
- getValue() : int
- SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN() : XdrSorobanAuthorizedFunctionType
- SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN() : XdrSorobanAuthorizedFunctionType
- SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN() : XdrSorobanAuthorizedFunctionType
Constants
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN
public
mixed
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN
= 0
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN
public
mixed
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN
= 1
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN
public
mixed
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN
= 2
Properties
$value
public
int
$value
Methods
__construct()
public
__construct(int $value) : mixed
Parameters
- $value : int
decode()
public
static decode(XdrBuffer $xdr) : XdrSorobanAuthorizedFunctionType
Parameters
- $xdr : XdrBuffer
Return values
XdrSorobanAuthorizedFunctionTypeencode()
public
encode() : string
Return values
stringgetValue()
public
getValue() : int
Return values
intSOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN()
public
static SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN() : XdrSorobanAuthorizedFunctionType
Return values
XdrSorobanAuthorizedFunctionTypeSOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN()
public
static SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN() : XdrSorobanAuthorizedFunctionType
Return values
XdrSorobanAuthorizedFunctionTypeSOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN()
public
static SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN() : XdrSorobanAuthorizedFunctionType