Threshold Network 백서

Threshold Network

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 36쪽 중 15쪽

ovingFundsDustThreshold) external ``` Begins the moving funds dust threshold update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ----------------------------- | ------ | -------------------------------- | | \_newMovingFundsDustThreshold | uint64 | New moving funds dust threshold. | ### finalizeMovingFundsDustThresholdUpdate ```solidity function finalizeMovingFundsDustThresholdUpdate() external ``` Finalizes the moving funds dust threshold update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovingFundsTimeoutResetDelayUpdate ```solidity function beginMovingFundsTimeoutResetDelayUpdate(uint32 _newMovingFundsTimeoutResetDelay) external ``` Begins the moving funds timeout reset delay update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | --------------------------------- | ------ | ------------------------------------- | | \_newMovingFundsTimeoutResetDelay | uint32 | New moving funds timeout reset delay. | ### finalizeMovingFundsTimeoutResetDelayUpdate ```solidity function finalizeMovingFundsTimeoutResetDelayUpdate() external ``` Finalizes the moving funds timeout reset delay update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovingFundsTimeoutUpdate ```solidity function beginMovingFundsTimeoutUpdate(uint32 _newMovingFundsTimeout) external ``` Begins the moving funds timeout update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ----------------------- | ------ | ------------------------- | | \_newMovingFundsTimeout | uint32 | New moving funds timeout. | ### finalizeMovingFundsTimeoutUpdate ```solidity function finalizeMovingFundsTimeoutUpdate() external ``` Finalizes the moving funds timeout update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovingFundsTimeoutSlashingAmountUpdate ```solidity function beginMovingFundsTimeoutSlashingAmountUpdate(uint96 _newMovingFundsTimeoutSlashingAmount) external ``` Begins the moving funds timeout slashing amount update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ------------------------------------- | ------ | ----------------------------------------- | | \_newMovingFundsTimeoutSlashingAmount | uint96 | New moving funds timeout slashing amount. | ### finalizeMovingFundsTimeoutSlashingAmountUpdate ```solidity function finalizeMovingFundsTimeoutSlashingAmountUpdate() external ``` Finalizes the moving funds timeout slashing amount update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovingFundsTimeoutNotifierRewardMultiplierUpdate ```solidity function beginMovingFundsTimeoutNotifierRewardMultiplierUpdate(uint32 _newMovingFundsTimeoutNotifierRewardMultiplier) external ``` Begins the moving funds timeout notifier reward multiplier update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ----------------------------------------------- | ------ | ---------------------------------------------------- | | \_newMovingFundsTimeoutNotifierRewardMultiplier | uint32 | New moving funds timeout notifier reward multiplier. | ### finalizeMovingFundsTimeoutNotifierRewardMultiplierUpdate ```solidity function finalizeMovingFundsTimeoutNotifierRewardMultiplierUpdate() external ``` Finalizes the moving funds timeout notifier reward multiplier update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovingFundsCommitmentGasOffsetUpdate ```solidity function beginMovingFundsCommitmentGasOffsetUpdate(uint16 _newMovingFundsCommitmentGasOffset) external ``` Begins the moving funds commitment gas offset update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ----------------------------------- | ------ | --------------------------------------- | | \_newMovingFundsCommitmentGasOffset | uint16 | New moving funds commitment gas offset. | ### finalizeMovingFundsCommitmentGasOffsetUpdate ```solidity function finalizeMovingFundsCommitmentGasOffsetUpdate() external ``` Finalizes the moving funds commitment gas offset update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovedFundsSweepTxMaxTotalFeeUpdate ```solidity function beginMovedFundsSweepTxMaxTotalFeeUpdate(uint64 _newMovedFundsSweepTxMaxTotalFee) external ``` Begins the moved funds sweep tx max total fee update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | --------------------------------- | ------ | --------------------------------------- | | \_newMovedFundsSweepTxMaxTotalFee | uint64 | New moved funds sweep tx max total fee. | ### finalizeMovedFundsSweepTxMaxTotalFeeUpdate ```solidity function finalizeMovedFundsSweepTxMaxTotalFeeUpdate() external ``` Finalizes the moved funds sweep tx max total fee update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovedFundsSweepTimeoutUpdate ```solidity function beginMovedFundsSweepTimeoutUpdate(uint32 _newMovedFundsSweepTimeout) external ``` Begins the moved funds sweep timeout update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | --------------------------- | ------ | ------------------------------ | | \_newMovedFundsSweepTimeout | uint32 | New moved funds sweep timeout. | ### finalizeMovedFundsSweepTimeoutUpdate ```solidity function finalizeMovedFundsSweepTimeoutUpdate() external ``` Finalizes the moved funds sweep timeout update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovedFundsSweepTimeoutSlashingAmountUpdate ```solidity function beginMovedFundsSweepTimeoutSlashingAmountUpdate(uint96 _newMovedFundsSweepTimeoutSlashingAmount) external ``` Begins the moved funds sweep timeout slashing amount update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ----------------------------------------- | ------ | ---------------------------------------------- | | \_newMovedFundsSweepTimeoutSlashingAmount | uint96 | New moved funds sweep timeout slashing amount. | ### finalizeMovedFundsSweepTimeoutSlashingAmountUpdate ```solidity function finalizeMovedFundsSweepTimeoutSlashingAmountUpdate() external ``` Finalizes the moved funds sweep timeout slashing amount update process. Can be called only by the contract owner, after the governance delay elapses. ### beginMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate ```solidity function beginMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate(uint32 _newMovedFundsSweepTimeoutNotifierRewardMultiplier) external ``` Begins the moved funds sweep timeout notifier reward multiplier update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | --------------------------------------------------- | ------ | --------------------------------------------------------- | | \_newMovedFundsSweepTimeoutNotifierRewardMultiplier | uint32 | New moved funds sweep timeout notifier reward multiplier. | ### finalizeMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate ```solidity function finalizeMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate() external ``` Finalizes the moved funds sweep timeout notifier reward multiplier update process. Can be called only by the contract owner, after the governance delay elapses. ### beginWalletCreationPeriodUpdate ```solidity function beginWalletCreationPeriodUpdate(uint32 _newWalletCreationPeriod) external ``` Begins the wallet creation period update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ------------------------- | ------ | --------------------------- | | \_newWalletCreationPeriod | uint32 | New wallet creation period. | ### finalizeWalletCreationPeriodUpdate ```solidity function finalizeWalletCreationPeriodUpdate() external ``` Finalizes the wallet creation period update process. Can be called only by the contract owner, after the governance delay elapses. ### beginWalletCreationMinBtcBalanceUpdate ```solidity function beginWalletCreationMinBtcBalanceUpdate(uint64 _newWalletCreationMinBtcBalance) external ``` Begins the wallet creation min btc balance update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | -------------------------------- | ------ | ------------------------------------ | | \_newWalletCreationMinBtcBalance | uint64 | New wallet creation min btc balance. | ### finalizeWalletCreationMinBtcBalanceUpdate ```solidity function finalizeWalletCreationMinBtcBalanceUpdate() external ``` Finalizes the wallet creation min btc balance update process. Can be called only by the contract owner, after the governance delay elapses. ### beginWalletCreationMaxBtcBalanceUpdate ```solidity function beginWalletCreationMaxBtcBalanceUpdate(uint64 _newWalletCreationMaxBtcBalance) external ``` Begins the wallet creation max btc balance update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | -------------------------------- | ------ | ------------------------------------ | | \_newWalletCreationMaxBtcBalance | uint64 | New wallet creation max btc balance. | ### finalizeWalletCreationMaxBtcBalanceUpdate ```solidity function finalizeWalletCreationMaxBtcBalanceUpdate() external ``` Finalizes the wallet creation max btc balance update process. Can be called only by the contract owner, after the governance delay elapses. ### beginWalletClosureMinBtcBalanceUpdate ```solidity function beginWalletClosureMinBtcBalanceUpdate(uint64 _newWalletClosureMinBtcBalance) external ``` Begins the wallet closure min btc balance update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ------------------------------- | ------ | ----------------------------------- | | \_newWalletClosureMinBtcBalance | uint64 | New wallet closure min btc balance. | ### finalizeWalletClosureMinBtcBalanceUpdate ```solidity function finalizeWalletClosureMinBtcBalanceUpdate() external ``` Finalizes the wallet closure min btc balance update process. Can be called only by the contract owner, after the governance delay elapses. ### beginWalletMaxAgeUpdate ```solidity function beginWalletMaxAgeUpdate(uint32 _newWalletMaxAge) external ``` Begins the wallet max age update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ----------------- | ------ | ------------------- | | \_newWalletMaxAge | uint32 | New wallet max age. | ### finalizeWalletMaxAgeUpdate ```solidity function finalizeWalletMaxAgeUpdate() external ``` Finalizes the wallet max age update process. Can be called only by the contract owner, after the governance delay elapses. ### beginWalletMaxBtcTransferUpdate ```solidity function beginWalletMaxBtcTransferUpdate(uint64 _newWalletMaxBtcTransfer) external ``` Begins the wallet max btc transfer amount update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ------------------------- | ------ | ---------------------------- | | \_newWalletMaxBtcTransfer | uint64 | New wallet max btc transfer. | ### finalizeWalletMaxBtcTransferUpdate ```solidity function finalizeWalletMaxBtcTransferUpdate() external ``` Finalizes the wallet max btc transfer amount update process. Can be called only by the contract owner, after the governance delay elapses. ### beginWalletClosingPeriodUpdate ```solidity function beginWalletClosingPeriodUpdate(uint32 _newWalletClosingPeriod) external ``` Begins the wallet closing period update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ------------------------ | ------ | -------------------------- | | \_newWalletClosingPeriod | uint32 | New wallet closing period. | ### finalizeWalletClosingPeriodUpdate ```solidity function finalizeWalletClosingPeriodUpdate() external ``` Finalizes the wallet closing period update process. Can be called only by the contract owner, after the governance delay elapses. ### beginFraudChallengeDepositAmountUpdate ```solidity function beginFraudChallengeDepositAmountUpdate(uint96 _newFraudChallengeDepositAmount) external ``` Begins the fraud challenge deposit amount update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | -------------------------------- | ------ | ----------------------------------- | | \_newFraudChallengeDepositAmount | uint96 | New fraud challenge deposit amount. | ### finalizeFraudChallengeDepositAmountUpdate ```solidity function finalizeFraudChallengeDepositAmountUpdate() external ``` Finalizes the fraud challenge deposit amount update process. Can be called only by the contract owner, after the governance delay elapses. ### beginFraudChallengeDefeatTimeoutUpdate ```solidity function beginFraudChallengeDefeatTimeoutUpdate(uint32 _newFraudChallengeDefeatTimeout) external ``` Begins the fraud challenge defeat timeout update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | -------------------------------- | ------ | ----------------------------------- | | \_newFraudChallengeDefeatTimeout | uint32 | New fraud challenge defeat timeout. | ### finalizeFraudChallengeDefeatTimeoutUpdate ```solidity function finalizeFraudChallengeDefeatTimeoutUpdate() external ``` Finalizes the fraud challenge defeat timeout update process. Can be called only by the contract owner, after the governance delay elapses. ### beginFraudSlashingAmountUpdate ```solidity function beginFraudSlashingAmountUpdate(uint96 _newFraudSlashingAmount) external ``` Begins the fraud slashing amount update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ------------------------ | ------ | -------------------------- | | \_newFraudSlashingAmount | uint96 | New fraud slashing amount. | ### finalizeFraudSlashingAmountUpdate ```solidity function finalizeFraudSlashingAmountUpdate() external ``` Finalizes the fraud slashing amount update process. Can be called only by the contract owner, after the governance delay elapses. ### beginFraudNotifierRewardMultiplierUpdate ```solidity function beginFraudNotifierRewardMultiplierUpdate(uint32 _newFraudNotifierRewardMultiplier) external ``` Begins the fraud notifier reward multiplier update process. Can be called only by the contract owner. #### Parameters | Name | Type | Description | | ---------------------------------- | ------ | ------------------------------------- | | \_newFraudNotifierRewardMultiplier | uint32 | New fraud notifier reward multiplier. | ### finalizeFraudNotifierRewardMultiplierUpdate ```solidity function finalizeFraudNotifierRewardMultiplierUpdate() external ``` Finalizes the fraud notifier reward multiplier update process. Can be called only by the contract owner, after the governance delay elapses. ### beginTreasuryUpdate ```solidity function beginTreasuryUpdate(address _newTreasury) external ``` Begins the treasury address update process. Can be called only by the contract owner. It does not perform any parameter validation. #### Parameters | Name | Type | Description | | ------------- | ------- | --------------------- | | \_newTreasury | address | New treasury address. | ### finalizeTreasuryUpdate ```solidity function finalizeTreasuryUpdate() external ``` Finalizes the treasury address update process. Can be called only by the contract owner, after the governance delay elapses. ### governanceDelay ```solidity function governanceDelay() internal view returns (uint256) ``` Gets the governance delay parameter. # BridgeGovernanceParameters ## BridgeGovernanceParameters ### TreasuryData ```solidity struct TreasuryData { address newTreasury; uint256 treasuryChangeInitiated; } ``` ### DepositData ```solidity struct DepositData { uint64 newDepositDustThreshold; uint256 depositDustThresholdChangeInitiated; uint64 newDepositTreasuryFeeDivisor; uint256 depositTreasuryFeeDivisorChangeInitiated; uint64 newDepositTxMaxFee; uint256 depositTxMaxFeeChangeInitiated; uint32 newDepositRevealAheadPeriod; uint256 depositRevealAheadPeriodChangeInitiated; } ``` ### RedemptionData ```solidity struct RedemptionData { uint64 newRedemptionDustThreshold; uint256 redemptionDustThresholdChangeInitiated; uint64 newRedemptionTreasuryFeeDivisor; uint256 redemptionTreasuryFeeDivisorChangeInitiated; uint64 newRedemptionTxMaxFee; uint256 redemptionTxMaxFeeChangeInitiated; uint64 newRedemptionTxMaxTotalFee; uint256 redemptionTxMaxTotalFeeChangeInitiated; uint32 newRedemptionTimeout; uint256 redemptionTimeoutChangeInitiated; uint96 newRedemptionTimeoutSlashingAmount; uint256 redemptionTimeoutSlashingAmountChangeInitiated; uint32 newRedemptionTimeoutNotifierRewardMultiplier; uint256 redemptionTimeoutNotifierRewardMultiplierChangeInitiated; } ``` ### MovingFundsData ```solidity struct MovingFundsData { uint64 newMovingFundsTxMaxTotalFee; uint256 movingFundsTxMaxTotalFeeChangeInitiated; uint64 newMovingFundsDustThreshold; uint256 movingFundsDustThresholdChangeInitiated; uint32 newMovingFundsTimeoutResetDelay; uint256 movingFundsTimeoutResetDelayChangeInitiated; uint32 newMovingFundsTimeout; uint256 movingFundsTimeoutChangeInitiated; uint96 newMovingFundsTimeoutSlashingAmount; uint256 movingFundsTimeoutSlashingAmountChangeInitiated; uint32 newMovingFundsTimeoutNotifierRewardMultiplier; uint256 movingFundsTimeoutNotifierRewardMultiplierChangeInitiated; uint16 newMovingFundsCommitmentGasOffset; uint256 movingFundsCommitmentGasOffsetChangeInitiated; uint64 newMovedFundsSweepTxMaxTotalFee; uint256 movedFundsSweepTxMaxTotalFeeChangeInitiated; uint32 newMovedFundsSweepTimeout; uint256 movedFundsSweepTimeoutChangeInitiated; uint96 newMovedFundsSweepTimeoutSlashingAmount; uint256 movedFundsSweepTimeoutSlashingAmountChangeInitiated; uint32 newMovedFundsSweepTimeoutNotifierRewardMultiplier; uint256 movedFundsSweepTimeoutNotifierRewardMultiplierChangeInitiated; } ``` ### WalletData ```solidity struct WalletData { uint32 newWalletCreationPeriod; uint256 walletCreationPeriodChangeInitiated; uint64 newWalletCreationMinBtcBalance; uint256 walletCreationMinBtcBalanceChangeInitiated; uint64 newWalletCreationMaxBtcBalance; uint256 walletCreationMaxBtcBalanceChangeInitiated; uint64 newWalletClosureMinBtcBalance; uint256 walletClosureMinBtcBalanceChangeInitiated; uint32 newWalletMaxAge; uint256 walletMaxAgeChangeInitiated; uint64 newWalletMaxBtcTransfer; uint256 walletMaxBtcTransferChangeInitiated; uint32 newWalletClosingPeriod; uint256 walletClosingPeriodChangeInitiated; } ``` ### FraudData ```solidity struct FraudData { uint96 newFraudChallengeDepositAmount; uint256 fraudChallengeDepositAmountChangeInitiated; uint32 newFraudChallengeDefeatTimeout; uint256 fraudChallengeDefeatTimeoutChangeInitiated; uint96 newFraudSlashingAmount; uint256 fraudSlashingAmountChangeInitiated; uint32 newFraudNotifierRewardMultiplier; uint256 fraudNotifierRewardMultiplierChangeInitiated; } ``` ### DepositDustThresholdUpdateStarted ```solidity event DepositDustThresholdUpdateStarted(uint64 newDepositDustThreshold, uint256 timestamp) ``` ### DepositDustThresholdUpdated ```solidity event DepositDustThresholdUpdated(uint64 depositDustThreshold) ``` ### DepositTreasuryFeeDivisorUpdateStarted ```solidity event DepositTreasuryFeeDivisor
프로젝트로 돌아가기