Stellar PHP SDK API Documentation

XdrContractCostType
in package

Table of Contents

Constants

Bls12381DecodeFp  : mixed = 46
Bls12381EncodeFp  : mixed = 45
Bls12381FrAddSub  : mixed = 66
Bls12381FrFromU256  : mixed = 64
Bls12381FrInv  : mixed = 69
Bls12381FrMul  : mixed = 67
Bls12381FrPow  : mixed = 68
Bls12381FrToU256  : mixed = 65
Bls12381G1Add  : mixed = 53
Bls12381G1CheckPointInSubgroup  : mixed = 48
Bls12381G1CheckPointOnCurve  : mixed = 47
Bls12381G1Msm  : mixed = 55
Bls12381G1Mul  : mixed = 54
Bls12381G1ProjectiveToAffine  : mixed = 51
Bls12381G2Add  : mixed = 58
Bls12381G2CheckPointInSubgroup  : mixed = 50
Bls12381G2CheckPointOnCurve  : mixed = 49
Bls12381G2Msm  : mixed = 60
Bls12381G2Mul  : mixed = 59
Bls12381G2ProjectiveToAffine  : mixed = 52
Bls12381HashToG1  : mixed = 57
Bls12381HashToG2  : mixed = 62
Bls12381MapFp2ToG2  : mixed = 61
Bls12381MapFpToG1  : mixed = 56
Bls12381Pairing  : mixed = 63
Bn254DecodeFp  : mixed = 71
Bn254EncodeFp  : mixed = 70
Bn254FrAddSub  : mixed = 81
Bn254FrFromU256  : mixed = 79
Bn254FrInv  : mixed = 84
Bn254FrMul  : mixed = 82
Bn254FrPow  : mixed = 83
Bn254FrToU256  : mixed = 80
Bn254G1Add  : mixed = 76
Bn254G1CheckPointOnCurve  : mixed = 72
Bn254G1Msm  : mixed = 85
Bn254G1Mul  : mixed = 77
Bn254G1ProjectiveToAffine  : mixed = 75
Bn254G2CheckPointInSubgroup  : mixed = 74
Bn254G2CheckPointOnCurve  : mixed = 73
Bn254Pairing  : mixed = 78
ChaCha20DrawBytes  : mixed = 22
ComputeEd25519PubKey  : mixed = 9
ComputeKeccak256Hash  : mixed = 14
ComputeSha256Hash  : mixed = 8
DecodeEcdsaCurve256Sig  : mixed = 15
DispatchHostFunction  : mixed = 4
InstantiateWasmDataSegmentBytes  : mixed = 42
InstantiateWasmDataSegments  : mixed = 38
InstantiateWasmElemSegments  : mixed = 39
InstantiateWasmExports  : mixed = 41
InstantiateWasmFunctions  : mixed = 34
InstantiateWasmGlobals  : mixed = 35
InstantiateWasmImports  : mixed = 40
InstantiateWasmInstructions  : mixed = 33
InstantiateWasmTableEntries  : mixed = 36
InstantiateWasmTypes  : mixed = 37
Int256AddSub  : mixed = 17
Int256Div  : mixed = 19
Int256Mul  : mixed = 18
Int256Pow  : mixed = 20
Int256Shift  : mixed = 21
InvokeVMFunction  : mixed = 13
MemAlloc  : mixed = 1
MemCmp  : mixed = 3
MemCpy  : mixed = 2
ParseWasmDataSegmentBytes  : mixed = 32
ParseWasmDataSegments  : mixed = 28
ParseWasmElemSegments  : mixed = 29
ParseWasmExports  : mixed = 31
ParseWasmFunctions  : mixed = 24
ParseWasmGlobals  : mixed = 25
ParseWasmImports  : mixed = 30
ParseWasmInstructions  : mixed = 23
ParseWasmTableEntries  : mixed = 26
ParseWasmTypes  : mixed = 27
RecoverEcdsaSecp256k1Key  : mixed = 16
Sec1DecodePointUncompressed  : mixed = 43
ValDeser  : mixed = 7
ValSer  : mixed = 6
VerifyEcdsaSecp256r1Sig  : mixed = 44
VerifyEd25519Sig  : mixed = 10
VisitObject  : mixed = 5
VmCachedInstantiation  : mixed = 12
VmInstantiation  : mixed = 11
WasmInsnExec  : mixed = 0

Properties

$value  : int

Methods

__construct()  : mixed
Bls12381DecodeFp()  : XdrContractCostType
Bls12381EncodeFp()  : XdrContractCostType
Bls12381FrAddSub()  : XdrContractCostType
Bls12381FrFromU256()  : XdrContractCostType
Bls12381FrInv()  : XdrContractCostType
Bls12381FrMul()  : XdrContractCostType
Bls12381FrPow()  : XdrContractCostType
Bls12381FrToU256()  : XdrContractCostType
Bls12381G1Add()  : XdrContractCostType
Bls12381G1CheckPointInSubgroup()  : XdrContractCostType
Bls12381G1CheckPointOnCurve()  : XdrContractCostType
Bls12381G1Msm()  : XdrContractCostType
Bls12381G1Mul()  : XdrContractCostType
Bls12381G1ProjectiveToAffine()  : XdrContractCostType
Bls12381G2Add()  : XdrContractCostType
Bls12381G2CheckPointInSubgroup()  : XdrContractCostType
Bls12381G2CheckPointOnCurve()  : XdrContractCostType
Bls12381G2Msm()  : XdrContractCostType
Bls12381G2Mul()  : XdrContractCostType
Bls12381G2ProjectiveToAffine()  : XdrContractCostType
Bls12381HashToG1()  : XdrContractCostType
Bls12381HashToG2()  : XdrContractCostType
Bls12381MapFp2ToG2()  : XdrContractCostType
Bls12381MapFpToG1()  : XdrContractCostType
Bls12381Pairing()  : XdrContractCostType
Bn254DecodeFp()  : XdrContractCostType
Bn254EncodeFp()  : XdrContractCostType
Bn254FrAddSub()  : XdrContractCostType
Bn254FrFromU256()  : XdrContractCostType
Bn254FrInv()  : XdrContractCostType
Bn254FrMul()  : XdrContractCostType
Bn254FrPow()  : XdrContractCostType
Bn254FrToU256()  : XdrContractCostType
Bn254G1Add()  : XdrContractCostType
Bn254G1CheckPointOnCurve()  : XdrContractCostType
Bn254G1Msm()  : XdrContractCostType
Bn254G1Mul()  : XdrContractCostType
Bn254G1ProjectiveToAffine()  : XdrContractCostType
Bn254G2CheckPointInSubgroup()  : XdrContractCostType
Bn254G2CheckPointOnCurve()  : XdrContractCostType
Bn254Pairing()  : XdrContractCostType
ChaCha20DrawBytes()  : XdrContractCostType
ComputeEd25519PubKey()  : XdrContractCostType
ComputeKeccak256Hash()  : XdrContractCostType
ComputeSha256Hash()  : XdrContractCostType
decode()  : XdrContractCostType
DecodeEcdsaCurve256Sig()  : XdrContractCostType
DispatchHostFunction()  : XdrContractCostType
encode()  : string
fromBase64Xdr()  : static
fromJson()  : static
fromJsonValue()  : static
getValue()  : int
InstantiateWasmDataSegmentBytes()  : XdrContractCostType
InstantiateWasmDataSegments()  : XdrContractCostType
InstantiateWasmElemSegments()  : XdrContractCostType
InstantiateWasmExports()  : XdrContractCostType
InstantiateWasmFunctions()  : XdrContractCostType
InstantiateWasmGlobals()  : XdrContractCostType
InstantiateWasmImports()  : XdrContractCostType
InstantiateWasmInstructions()  : XdrContractCostType
InstantiateWasmTableEntries()  : XdrContractCostType
InstantiateWasmTypes()  : XdrContractCostType
Int256AddSub()  : XdrContractCostType
Int256Div()  : XdrContractCostType
Int256Mul()  : XdrContractCostType
Int256Pow()  : XdrContractCostType
Int256Shift()  : XdrContractCostType
InvokeVMFunction()  : XdrContractCostType
MemAlloc()  : XdrContractCostType
MemCmp()  : XdrContractCostType
MemCpy()  : XdrContractCostType
ParseWasmDataSegmentBytes()  : XdrContractCostType
ParseWasmDataSegments()  : XdrContractCostType
ParseWasmElemSegments()  : XdrContractCostType
ParseWasmExports()  : XdrContractCostType
ParseWasmFunctions()  : XdrContractCostType
ParseWasmGlobals()  : XdrContractCostType
ParseWasmImports()  : XdrContractCostType
ParseWasmInstructions()  : XdrContractCostType
ParseWasmTableEntries()  : XdrContractCostType
ParseWasmTypes()  : XdrContractCostType
RecoverEcdsaSecp256k1Key()  : XdrContractCostType
Sec1DecodePointUncompressed()  : XdrContractCostType
toBase64Xdr()  : string
toJson()  : string
toJsonValue()  : string
ValDeser()  : XdrContractCostType
ValSer()  : XdrContractCostType
VerifyEcdsaSecp256r1Sig()  : XdrContractCostType
VerifyEd25519Sig()  : XdrContractCostType
VisitObject()  : XdrContractCostType
VmCachedInstantiation()  : XdrContractCostType
VmInstantiation()  : XdrContractCostType
WasmInsnExec()  : XdrContractCostType

Constants

Properties

Methods

fromBase64Xdr()

public static fromBase64Xdr(string $xdr) : static
Parameters
$xdr : string
Return values
static

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

fromJsonValue()

public static fromJsonValue(mixed $value) : static
Parameters
$value : mixed
Return values
static

toJson()

public toJson() : string
Tags
throws
JsonException

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

Return values
string
On this page

Search results