XdrConfigSettingContractLedgerCostExtV0
in package
Ledger access settings for contracts.
Table of Contents
Properties
- $feeWrite1KB : int
- $txMaxFootprintEntries : int
Methods
- __construct() : mixed
- decode() : XdrConfigSettingContractLedgerCostExtV0
- encode() : string
- getFeeWrite1KB() : int
- getTxMaxFootprintEntries() : int
- setFeeWrite1KB() : void
- setTxMaxFootprintEntries() : void
Properties
$feeWrite1KB
public
int
$feeWrite1KB
(int64) Fee per 1 KB of data written to the ledger. Unlike the rent fee, this is a flat fee that is charged for any ledger write, independent of the type of the entry being written.
$txMaxFootprintEntries
public
int
$txMaxFootprintEntries
(uint32) Maximum number of RO+RW entries in the transaction footprint.
Methods
__construct()
public
__construct(int $txMaxFootprintEntries, int $feeWrite1KB) : mixed
Parameters
- $txMaxFootprintEntries : int
-
(uint32) Maximum number of RO+RW entries in the transaction footprint.
- $feeWrite1KB : int
-
(int64) Fee per 1 KB of data written to the ledger. Unlike the rent fee, this is a flat fee that is charged for any ledger write, independent of the type of the entry being written.
decode()
public
static decode(XdrBuffer $xdr) : XdrConfigSettingContractLedgerCostExtV0
Parameters
- $xdr : XdrBuffer
Return values
XdrConfigSettingContractLedgerCostExtV0encode()
public
encode() : string
Return values
stringgetFeeWrite1KB()
public
getFeeWrite1KB() : int
Return values
intgetTxMaxFootprintEntries()
public
getTxMaxFootprintEntries() : int
Return values
intsetFeeWrite1KB()
public
setFeeWrite1KB(int $feeWrite1KB) : void
Parameters
- $feeWrite1KB : int
setTxMaxFootprintEntries()
public
setTxMaxFootprintEntries(int $txMaxFootprintEntries) : void
Parameters
- $txMaxFootprintEntries : int