@gala-chain/api ∙ API
API > FeeCodeDefinition
Class: FeeCodeDefinition
Contents
- Extends
- Constructors
- new FeeCodeDefinition()
- Properties
- baseQuantity
- feeAccelerationRate
- feeAccelerationRateType
- feeCode
- feeThresholdTimePeriod
- feeThresholdUses
- isCrossChannel
- maxQuantity
- maxUses
- COMPOSITEKEY_NS
- DECIMAL_PRECISION
- ID_SPLIT_CHAR
- ID_SUB_SPLIT_CHAR
- INDEX_KEY
- MIN_UNICODE_RUNE_VALUE
- Methods
- copy()
- getCompositeKey()
- serialize()
- toPlainObject()
- validate()
- validateOrReject()
- deserialize()
- getCompositeKeyFromParts()
- getStringKeyFromParts()
Extends
Constructors
new FeeCodeDefinition()
new FeeCodeDefinition():
FeeCodeDefinition
Inherited from
Properties
baseQuantity
baseQuantity:
BigNumber
Source
chain-api/src/types/FeeCodeDefinition.ts:52
feeAccelerationRate
feeAccelerationRate:
BigNumber
Source
chain-api/src/types/FeeCodeDefinition.ts:67
feeAccelerationRateType
feeAccelerationRateType:
FeeAccelerationRateType
Source
chain-api/src/types/FeeCodeDefinition.ts:64
feeCode
feeCode:
string
Source
chain-api/src/types/FeeCodeDefinition.ts:39
feeThresholdTimePeriod
feeThresholdTimePeriod:
number
Source
chain-api/src/types/FeeCodeDefinition.ts:48
feeThresholdUses
feeThresholdUses:
BigNumber
Source
chain-api/src/types/FeeCodeDefinition.ts:45
isCrossChannel
isCrossChannel?:
boolean
Source
chain-api/src/types/FeeCodeDefinition.ts:71
maxQuantity
maxQuantity:
BigNumber
Source
chain-api/src/types/FeeCodeDefinition.ts:56
maxUses
maxUses?:
BigNumber
Source
chain-api/src/types/FeeCodeDefinition.ts:61
COMPOSITEKEY_NS
staticCOMPOSITEKEY_NS:string="\x00"
Inherited from
Source
chain-api/src/types/ChainObject.ts:45
DECIMAL_PRECISION
staticDECIMAL_PRECISION:number=8
Source
chain-api/src/types/FeeCodeDefinition.ts:34
ID_SPLIT_CHAR
staticID_SPLIT_CHAR:string="$"
Inherited from
Source
chain-api/src/types/ChainObject.ts:48
ID_SUB_SPLIT_CHAR
staticID_SUB_SPLIT_CHAR:string="|"
Inherited from
Source
chain-api/src/types/ChainObject.ts:50
INDEX_KEY
staticINDEX_KEY:string="GCFD"
Source
chain-api/src/types/FeeCodeDefinition.ts:33
MIN_UNICODE_RUNE_VALUE
staticMIN_UNICODE_RUNE_VALUE:string="\u0000"
Inherited from
ChainObject.MIN_UNICODE_RUNE_VALUE
Source
chain-api/src/types/ChainObject.ts:43
Methods
copy()
copy():
FeeCodeDefinition
Inherited from
Source
chain-api/src/types/ChainObject.ts:72
getCompositeKey()
getCompositeKey():
string
Inherited from
Source
chain-api/src/types/ChainObject.ts:84
serialize()
serialize():
string
Inherited from
Source
chain-api/src/types/ChainObject.ts:52
toPlainObject()
toPlainObject():
Record\<string,unknown>
Inherited from
Source
chain-api/src/types/ChainObject.ts:68
validate()
validate():
Promise\<ValidationError[]>
Inherited from
Source
chain-api/src/types/ChainObject.ts:56
validateOrReject()
validateOrReject():
Promise\<void>
Inherited from
Source
chain-api/src/types/ChainObject.ts:60
deserialize()
staticdeserialize\<T>(constructor,object):T
Type parameters
▪ T
Parameters
▪ constructor: ClassConstructor\<Inferred\<T, ChainObject>>
▪ object: string | Record\<string, unknown> | Record\<string, unknown>[]
Inherited from
Source
chain-api/src/types/ChainObject.ts:77
getCompositeKeyFromParts()
staticgetCompositeKeyFromParts(indexKey,parts):string
Parameters
▪ indexKey: string
▪ parts: unknown[]
Inherited from
ChainObject.getCompositeKeyFromParts
Source
chain-api/src/types/ChainObject.ts:109
getStringKeyFromParts()
staticgetStringKeyFromParts(parts):string
Parameters
▪ parts: string[]
Inherited from
ChainObject.getStringKeyFromParts