ContractCostParamEntryXdr

data class ContractCostParamEntryXdr(val ext: ExtensionPointXdr, val constTerm: Int64Xdr, val linearTerm: Int64Xdr)

XDR Source: struct ContractCostParamEntry { // use ext to add more terms (e.g. higher order polynomials) in the future ExtensionPoint ext;

int64 constTerm;
int64 linearTerm;

};

Constructors

Link copied to clipboard
constructor(ext: ExtensionPointXdr, constTerm: Int64Xdr, linearTerm: Int64Xdr)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

use ext to add more terms (e.g. higher order polynomials) in the future

Link copied to clipboard

Functions

Link copied to clipboard
fun encode(writer: XdrWriter)