Stellar PHP SDK API Documentation

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
enumName()  : string
fromBase64Xdr()  : static
fromTxRep()  : static
fromTxRepName()  : static
getValue()  : int
INVOKE_CONTRACT()  : XdrHostFunctionType
toBase64Xdr()  : string
toTxRep()  : void
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

Methods

fromBase64Xdr()

public static fromBase64Xdr(string $xdr) : static
Parameters
$xdr : string
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

fromTxRepName()

public static fromTxRepName(string $name) : static
Parameters
$name : string
Return values
static

toTxRep()

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

        
On this page

Search results