Stellar PHP SDK API Documentation

XdrSorobanAuthorizedFunctionType
in package

Table of Contents

Constants

SOROBAN_AUTHORIZED_FUNCTION_TYPE_CONTRACT_FN  : mixed = 0
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_HOST_FN  : mixed = 1
SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN  : mixed = 2

Properties

$value  : int

Methods

__construct()  : mixed
decode()  : XdrSorobanAuthorizedFunctionType
encode()  : string
enumName()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
fromTxRep()  : static
fromTxRepName()  : static
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
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
toTxRep()  : void

Constants

SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN

public mixed SOROBAN_AUTHORIZED_FUNCTION_TYPE_CREATE_CONTRACT_V2_HOST_FN = 2

Properties

Methods

fromJson()

public static fromJson(string $json) : static
Parameters
$json : string
Tags
throws
JsonException

If $json is not syntactically valid JSON.

InvalidArgumentException

If the JSON shape does not match this type.

Return values
static

fromTxRep()

public static fromTxRep(array<string|int, mixed> $map, string $prefix) : static
Parameters
$map : array<string|int, mixed>
$prefix : string
Return values
static

toJson()

public toJson() : string
Tags
throws
JsonException

If the value contains structures that cannot be encoded as JSON.

Return values
string

toTxRep()

public toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
$prefix : string
$lines : array<string|int, mixed>
On this page

Search results