UNPKG

nimiq-rpc-client-ts

Version:
70 lines (67 loc) 2.94 kB
var HashAlgorithm = /* @__PURE__ */ ((HashAlgorithm2) => { HashAlgorithm2[HashAlgorithm2["Blake2b"] = 1] = "Blake2b"; HashAlgorithm2[HashAlgorithm2["Sha256"] = 3] = "Sha256"; HashAlgorithm2[HashAlgorithm2["Sha512"] = 4] = "Sha512"; return HashAlgorithm2; })(HashAlgorithm || {}); var AccountType = /* @__PURE__ */ ((AccountType2) => { AccountType2["Basic"] = "basic"; AccountType2["Vesting"] = "vesting"; AccountType2["HTLC"] = "htlc"; AccountType2["Staking"] = "staking"; return AccountType2; })(AccountType || {}); var InherentType = /* @__PURE__ */ ((InherentType2) => { InherentType2["Reward"] = "reward"; InherentType2["Jail"] = "jail"; InherentType2["Penalize"] = "penalize"; return InherentType2; })(InherentType || {}); var BlockType = /* @__PURE__ */ ((BlockType2) => { BlockType2["Micro"] = "micro"; BlockType2["Macro"] = "macro"; return BlockType2; })(BlockType || {}); var BlockSubscriptionType = /* @__PURE__ */ ((BlockSubscriptionType2) => { BlockSubscriptionType2["Macro"] = "macro"; BlockSubscriptionType2["Micro"] = "micro"; BlockSubscriptionType2["Election"] = "election"; return BlockSubscriptionType2; })(BlockSubscriptionType || {}); var RetrieveType = /* @__PURE__ */ ((RetrieveType2) => { RetrieveType2["Full"] = "full"; RetrieveType2["Partial"] = "partial"; RetrieveType2["Hash"] = "hash"; return RetrieveType2; })(RetrieveType || {}); var LogType = /* @__PURE__ */ ((LogType2) => { LogType2["PayFee"] = "pay-fee"; LogType2["Transfer"] = "transfer"; LogType2["HtlcCreate"] = "htlc-create"; LogType2["HtlcTimeoutResolve"] = "htlc-timeout-resolve"; LogType2["HtlcRegularTransfer"] = "htlc-regular-transfer"; LogType2["HtlcEarlyResolve"] = "htlc-early-resolve"; LogType2["VestingCreate"] = "vesting-create"; LogType2["CreateValidator"] = "create-validator"; LogType2["UpdateValidator"] = "update-validator"; LogType2["ValidatorFeeDeduction"] = "validator-fee-deduction"; LogType2["DeactivateValidator"] = "deactivate-validator"; LogType2["ReactivateValidator"] = "reactivate-validator"; LogType2["RetireValidator"] = "retire-validator"; LogType2["DeleteValidator"] = "delete-validator"; LogType2["CreateStaker"] = "create-staker"; LogType2["Stake"] = "stake"; LogType2["UpdateStaker"] = "update-staker"; LogType2["SetActiveStake"] = "set-active-stake"; LogType2["RetireStake"] = "retire-stake"; LogType2["RemoveStake"] = "remove-stake"; LogType2["DeleteStaker"] = "delete-staker"; LogType2["StakerFeeDeduction"] = "staker-fee-deduction"; LogType2["PayoutReward"] = "payout-reward"; LogType2["Penalize"] = "penalize"; LogType2["JailValidator"] = "jail-validator"; LogType2["RevertContract"] = "revert-contract"; LogType2["FailedTransaction"] = "failed-transaction"; return LogType2; })(LogType || {}); export { AccountType, BlockSubscriptionType, BlockType, HashAlgorithm, InherentType, LogType, RetrieveType };