XdrPreconditionsV2
in package
Table of Contents
Properties
- $extraSigners : array<string|int, mixed>
- $ledgerBounds : XdrLedgerBounds|null
- $minSeqAge : int
- $minSeqLedgerGap : int
- $minSeqNum : XdrSequenceNumber|null
- $timeBounds : XdrTimeBounds|null
Methods
- __construct() : mixed
- decode() : XdrPreconditionsV2
- encode() : string
- fromBase64Xdr() : static
- fromJson() : static
- fromJsonValue() : static
- fromTxRep() : XdrPreconditionsV2
- getExtraSigners() : array<string|int, mixed>
- getLedgerBounds() : XdrLedgerBounds|null
- getMinSeqAge() : int
- getMinSeqLedgerGap() : int
- getMinSeqNum() : XdrSequenceNumber|null
- getTimeBounds() : XdrTimeBounds|null
- setExtraSigners() : void
- setLedgerBounds() : void
- setMinSeqAge() : void
- setMinSeqLedgerGap() : void
- setMinSeqNum() : void
- setTimeBounds() : void
- toBase64Xdr() : string
- toJson() : string
- toJsonValue() : array<string|int, mixed>
- toTxRep() : void
Properties
$extraSigners
public
array<string|int, mixed>
$extraSigners
$ledgerBounds
public
XdrLedgerBounds|null
$ledgerBounds
= null
$minSeqAge
public
int
$minSeqAge
$minSeqLedgerGap
public
int
$minSeqLedgerGap
$minSeqNum
public
XdrSequenceNumber|null
$minSeqNum
= null
$timeBounds
public
XdrTimeBounds|null
$timeBounds
= null
Methods
__construct()
public
__construct(int $minSeqAge, int $minSeqLedgerGap, array<string|int, mixed> $extraSigners[, XdrTimeBounds|null $timeBounds = null ][, XdrLedgerBounds|null $ledgerBounds = null ][, XdrSequenceNumber|null $minSeqNum = null ]) : mixed
Parameters
- $minSeqAge : int
- $minSeqLedgerGap : int
- $extraSigners : array<string|int, mixed>
- $timeBounds : XdrTimeBounds|null = null
- $ledgerBounds : XdrLedgerBounds|null = null
- $minSeqNum : XdrSequenceNumber|null = null
decode()
public
static decode(XdrBuffer $xdr) : XdrPreconditionsV2
Parameters
- $xdr : XdrBuffer
Return values
XdrPreconditionsV2encode()
public
encode() : string
Return values
stringfromBase64Xdr()
public
static fromBase64Xdr(string $xdr) : static
Parameters
- $xdr : string
Return values
staticfromJson()
public
static fromJson(string $json) : static
Parameters
- $json : string
Tags
Return values
staticfromJsonValue()
public
static fromJsonValue(mixed $value) : static
Parameters
- $value : mixed
Return values
staticfromTxRep()
public
static fromTxRep(array<string|int, mixed> $map, string $prefix) : XdrPreconditionsV2
Parameters
- $map : array<string|int, mixed>
- $prefix : string
Return values
XdrPreconditionsV2getExtraSigners()
public
getExtraSigners() : array<string|int, mixed>
Return values
array<string|int, mixed>getLedgerBounds()
public
getLedgerBounds() : XdrLedgerBounds|null
Return values
XdrLedgerBounds|nullgetMinSeqAge()
public
getMinSeqAge() : int
Return values
intgetMinSeqLedgerGap()
public
getMinSeqLedgerGap() : int
Return values
intgetMinSeqNum()
public
getMinSeqNum() : XdrSequenceNumber|null
Return values
XdrSequenceNumber|nullgetTimeBounds()
public
getTimeBounds() : XdrTimeBounds|null
Return values
XdrTimeBounds|nullsetExtraSigners()
public
setExtraSigners(array<string|int, mixed> $extraSigners) : void
Parameters
- $extraSigners : array<string|int, mixed>
setLedgerBounds()
public
setLedgerBounds(XdrLedgerBounds|null $ledgerBounds) : void
Parameters
- $ledgerBounds : XdrLedgerBounds|null
setMinSeqAge()
public
setMinSeqAge(int $minSeqAge) : void
Parameters
- $minSeqAge : int
setMinSeqLedgerGap()
public
setMinSeqLedgerGap(int $minSeqLedgerGap) : void
Parameters
- $minSeqLedgerGap : int
setMinSeqNum()
public
setMinSeqNum(XdrSequenceNumber|null $minSeqNum) : void
Parameters
- $minSeqNum : XdrSequenceNumber|null
setTimeBounds()
public
setTimeBounds(XdrTimeBounds|null $timeBounds) : void
Parameters
- $timeBounds : XdrTimeBounds|null
toBase64Xdr()
public
toBase64Xdr() : string
Return values
stringtoJson()
public
toJson() : string
Tags
Return values
stringtoJsonValue()
public
toJsonValue() : array<string|int, mixed>
Return values
array<string|int, mixed>toTxRep()
public
toTxRep(string $prefix, array<string|int, mixed> &$lines) : void
Parameters
- $prefix : string
- $lines : array<string|int, mixed>