TON SDK Documentation - v15.3.1duck0.0.3
Preparing search index...
parseFullConfig
Function parseFullConfig
parseFullConfig
(
configs
:
Map
<
number
,
Slice
>
,
)
:
{
bridges
:
{
binance
:
|
null
|
{
bridgeAddress
:
Address
;
externalChainAddress
:
Buffer
;
oracleMultisigAddress
:
Address
;
oracles
:
Map
<
string
,
Buffer
>
;
}
;
ethereum
:
|
null
|
{
bridgeAddress
:
Address
;
externalChainAddress
:
Buffer
;
oracleMultisigAddress
:
Address
;
oracles
:
Map
<
string
,
Buffer
>
;
}
;
polygon
:
|
null
|
{
bridgeAddress
:
Address
;
externalChainAddress
:
Buffer
;
oracleMultisigAddress
:
Address
;
oracles
:
Map
<
string
,
Buffer
>
;
}
;
}
;
burningConfig
:
{
blackholeAddr
:
null
|
Address
;
feeBurnDenominator
:
number
;
feeBurnNominator
:
number
;
}
;
catchain
:
|
{
flags
?:
undefined
;
masterCatchainLifetime
:
number
;
shardCatchainLifetime
:
number
;
shardValidatorsCount
:
number
;
shardValidatorsLifetime
:
number
;
suffleMasterValidators
?:
undefined
;
}
|
{
flags
:
number
;
masterCatchainLifetime
:
number
;
shardCatchainLifetime
:
number
;
shardValidatorsCount
:
number
;
shardValidatorsLifetime
:
number
;
suffleMasterValidators
:
boolean
;
}
;
configAddress
:
Address
;
consensus
:
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
?:
undefined
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
?:
undefined
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
?:
undefined
;
nextCandidateDelay
:
number
;
protoVersion
?:
undefined
;
roundCandidates
:
number
;
}
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
?:
undefined
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
:
number
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
:
boolean
;
nextCandidateDelay
:
number
;
protoVersion
?:
undefined
;
roundCandidates
:
number
;
}
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
?:
undefined
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
:
number
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
:
boolean
;
nextCandidateDelay
:
number
;
protoVersion
:
number
;
roundCandidates
:
number
;
}
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
:
number
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
:
number
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
:
boolean
;
nextCandidateDelay
:
number
;
protoVersion
:
number
;
roundCandidates
:
number
;
}
;
dnsRootAddress
:
null
|
Address
;
electorAddress
:
Address
;
feeCollectorAddress
:
null
|
Address
;
gasPrices
:
{
masterchain
:
{
flatGasPrice
:
bigint
;
flatLimit
:
bigint
;
other
:
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
:
bigint
;
}
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
?:
undefined
;
}
;
}
;
workchain
:
{
flatGasPrice
:
bigint
;
flatLimit
:
bigint
;
other
:
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
:
bigint
;
}
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
?:
undefined
;
}
;
}
;
}
;
globalVersion
:
{
capabilities
:
bigint
;
version
:
number
}
;
minterAddress
:
null
|
Address
;
msgPrices
:
{
masterchain
:
{
bitPrice
:
bigint
;
cellPrice
:
bigint
;
firstFrac
:
number
;
ihrPriceFactor
:
number
;
lumpPrice
:
bigint
;
nextFrac
:
number
;
}
;
workchain
:
{
bitPrice
:
bigint
;
cellPrice
:
bigint
;
firstFrac
:
number
;
ihrPriceFactor
:
number
;
lumpPrice
:
bigint
;
nextFrac
:
number
;
}
;
}
;
storagePrices
:
StoragePrices
[]
;
validators
:
{
electorsEndBefore
:
number
;
electorsStartBefore
:
number
;
maxMainValidators
:
number
;
maxStake
:
bigint
;
maxStakeFactor
:
number
;
maxValidators
:
number
;
minStake
:
bigint
;
minTotalStake
:
bigint
;
minValidators
:
number
;
stakeHeldFor
:
number
;
validatorsElectedFor
:
number
;
}
;
validatorSets
:
{
currentTempValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
currentValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
nextTempValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
nextValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
prevTempValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
prevValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
}
;
validatorsPunish
:
|
null
|
{
defaultFlatFine
:
bigint
;
defaultProportionaFine
:
bigint
;
longFlatMult
:
number
;
longInterval
:
number
;
longProportionalMult
:
number
;
mediumFlatMult
:
number
;
mediumInterval
:
number
;
mediumProportionalMult
:
number
;
severityFlatMult
:
number
;
severityProportionalMult
:
number
;
unfunishableInterval
:
number
;
}
;
voting
:
{
criticalParams
:
{
bitPrice
:
number
;
cellPrice
:
number
;
maxLoses
:
number
;
maxStoreSec
:
number
;
maxTotalRounds
:
number
;
minStoreSec
:
number
;
minTotalRounds
:
number
;
minWins
:
number
;
}
;
normalParams
:
{
bitPrice
:
number
;
cellPrice
:
number
;
maxLoses
:
number
;
maxStoreSec
:
number
;
maxTotalRounds
:
number
;
minStoreSec
:
number
;
minTotalRounds
:
number
;
minWins
:
number
;
}
;
}
;
workchains
:
Dictionary
<
number
,
WorkchainDescriptor
>
;
}
Parameters
configs
:
Map
<
number
,
Slice
>
Returns
{
bridges
:
{
binance
:
|
null
|
{
bridgeAddress
:
Address
;
externalChainAddress
:
Buffer
;
oracleMultisigAddress
:
Address
;
oracles
:
Map
<
string
,
Buffer
>
;
}
;
ethereum
:
|
null
|
{
bridgeAddress
:
Address
;
externalChainAddress
:
Buffer
;
oracleMultisigAddress
:
Address
;
oracles
:
Map
<
string
,
Buffer
>
;
}
;
polygon
:
|
null
|
{
bridgeAddress
:
Address
;
externalChainAddress
:
Buffer
;
oracleMultisigAddress
:
Address
;
oracles
:
Map
<
string
,
Buffer
>
;
}
;
}
;
burningConfig
:
{
blackholeAddr
:
null
|
Address
;
feeBurnDenominator
:
number
;
feeBurnNominator
:
number
;
}
;
catchain
:
|
{
flags
?:
undefined
;
masterCatchainLifetime
:
number
;
shardCatchainLifetime
:
number
;
shardValidatorsCount
:
number
;
shardValidatorsLifetime
:
number
;
suffleMasterValidators
?:
undefined
;
}
|
{
flags
:
number
;
masterCatchainLifetime
:
number
;
shardCatchainLifetime
:
number
;
shardValidatorsCount
:
number
;
shardValidatorsLifetime
:
number
;
suffleMasterValidators
:
boolean
;
}
;
configAddress
:
Address
;
consensus
:
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
?:
undefined
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
?:
undefined
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
?:
undefined
;
nextCandidateDelay
:
number
;
protoVersion
?:
undefined
;
roundCandidates
:
number
;
}
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
?:
undefined
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
:
number
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
:
boolean
;
nextCandidateDelay
:
number
;
protoVersion
?:
undefined
;
roundCandidates
:
number
;
}
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
?:
undefined
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
:
number
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
:
boolean
;
nextCandidateDelay
:
number
;
protoVersion
:
number
;
roundCandidates
:
number
;
}
|
{
attemptDuration
:
number
;
catchainMaxBlocksCoeff
:
number
;
catchainMaxDeps
:
number
;
consensusTimeout
:
number
;
fastAttempts
:
number
;
flags
:
number
;
maxBlockBytes
:
number
;
maxColaltedBytes
:
number
;
newCatchainIds
:
boolean
;
nextCandidateDelay
:
number
;
protoVersion
:
number
;
roundCandidates
:
number
;
}
;
dnsRootAddress
:
null
|
Address
;
electorAddress
:
Address
;
feeCollectorAddress
:
null
|
Address
;
gasPrices
:
{
masterchain
:
{
flatGasPrice
:
bigint
;
flatLimit
:
bigint
;
other
:
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
:
bigint
;
}
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
?:
undefined
;
}
;
}
;
workchain
:
{
flatGasPrice
:
bigint
;
flatLimit
:
bigint
;
other
:
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
:
bigint
;
}
|
{
blockGasLimit
:
bigint
;
deleteDueLimit
:
bigint
;
freezeDueLimit
:
bigint
;
gasCredit
:
bigint
;
gasLimit
:
bigint
;
gasPrice
:
bigint
;
specialGasLimit
?:
undefined
;
}
;
}
;
}
;
globalVersion
:
{
capabilities
:
bigint
;
version
:
number
}
;
minterAddress
:
null
|
Address
;
msgPrices
:
{
masterchain
:
{
bitPrice
:
bigint
;
cellPrice
:
bigint
;
firstFrac
:
number
;
ihrPriceFactor
:
number
;
lumpPrice
:
bigint
;
nextFrac
:
number
;
}
;
workchain
:
{
bitPrice
:
bigint
;
cellPrice
:
bigint
;
firstFrac
:
number
;
ihrPriceFactor
:
number
;
lumpPrice
:
bigint
;
nextFrac
:
number
;
}
;
}
;
storagePrices
:
StoragePrices
[]
;
validators
:
{
electorsEndBefore
:
number
;
electorsStartBefore
:
number
;
maxMainValidators
:
number
;
maxStake
:
bigint
;
maxStakeFactor
:
number
;
maxValidators
:
number
;
minStake
:
bigint
;
minTotalStake
:
bigint
;
minValidators
:
number
;
stakeHeldFor
:
number
;
validatorsElectedFor
:
number
;
}
;
validatorSets
:
{
currentTempValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
currentValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
nextTempValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
nextValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
prevTempValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
prevValidators
:
|
undefined
|
null
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
null
;
}
|
{
list
:
Dictionary
<
number
,
{
adnlAddress
:
null
|
Buffer
;
publicKey
:
Buffer
;
weight
:
bigint
}
,
>
;
main
:
number
;
timeSince
:
number
;
timeUntil
:
number
;
total
:
number
;
totalWeight
:
bigint
;
}
;
}
;
validatorsPunish
:
|
null
|
{
defaultFlatFine
:
bigint
;
defaultProportionaFine
:
bigint
;
longFlatMult
:
number
;
longInterval
:
number
;
longProportionalMult
:
number
;
mediumFlatMult
:
number
;
mediumInterval
:
number
;
mediumProportionalMult
:
number
;
severityFlatMult
:
number
;
severityProportionalMult
:
number
;
unfunishableInterval
:
number
;
}
;
voting
:
{
criticalParams
:
{
bitPrice
:
number
;
cellPrice
:
number
;
maxLoses
:
number
;
maxStoreSec
:
number
;
maxTotalRounds
:
number
;
minStoreSec
:
number
;
minTotalRounds
:
number
;
minWins
:
number
;
}
;
normalParams
:
{
bitPrice
:
number
;
cellPrice
:
number
;
maxLoses
:
number
;
maxStoreSec
:
number
;
maxTotalRounds
:
number
;
minStoreSec
:
number
;
minTotalRounds
:
number
;
minWins
:
number
;
}
;
}
;
workchains
:
Dictionary
<
number
,
WorkchainDescriptor
>
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
TON SDK Documentation - v15.3.1duck0.0.3
Loading...