BridgeGovernanceParameters
BridgeGovernanceParameters
TreasuryData
struct TreasuryData {
address newTreasury;
uint256 treasuryChangeInitiated;
}
DepositData
struct DepositData {
uint64 newDepositDustThreshold;
uint256 depositDustThresholdChangeInitiated;
uint64 newDepositTreasuryFeeDivisor;
uint256 depositTreasuryFeeDivisorChangeInitiated;
uint64 newDepositTxMaxFee;
uint256 depositTxMaxFeeChangeInitiated;
uint32 newDepositRevealAheadPeriod;
uint256 depositRevealAheadPeriodChangeInitiated;
}
RedemptionData
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
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
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
struct FraudData {
uint96 newFraudChallengeDepositAmount;
uint256 fraudChallengeDepositAmountChangeInitiated;
uint32 newFraudChallengeDefeatTimeout;
uint256 fraudChallengeDefeatTimeoutChangeInitiated;
uint96 newFraudSlashingAmount;
uint256 fraudSlashingAmountChangeInitiated;
uint32 newFraudNotifierRewardMultiplier;
uint256 fraudNotifierRewardMultiplierChangeInitiated;
}
DepositDustThresholdUpdateStarted
event DepositDustThresholdUpdateStarted(uint64 newDepositDustThreshold, uint256 timestamp)
DepositDustThresholdUpdated
event DepositDustThresholdUpdated(uint64 depositDustThreshold)
DepositTreasuryFeeDivisorUpdateStarted
event DepositTreasuryFeeDivisorUpdateStarted(uint64 depositTreasuryFeeDivisor, uint256 timestamp)
DepositTreasuryFeeDivisorUpdated
event DepositTreasuryFeeDivisorUpdated(uint64 depositTreasuryFeeDivisor)
DepositTxMaxFeeUpdateStarted
event DepositTxMaxFeeUpdateStarted(uint64 newDepositTxMaxFee, uint256 timestamp)
DepositTxMaxFeeUpdated
event DepositTxMaxFeeUpdated(uint64 depositTxMaxFee)
DepositRevealAheadPeriodUpdateStarted
event DepositRevealAheadPeriodUpdateStarted(uint32 newDepositRevealAheadPeriod, uint256 timestamp)
DepositRevealAheadPeriodUpdated
event DepositRevealAheadPeriodUpdated(uint32 depositRevealAheadPeriod)
RedemptionDustThresholdUpdateStarted
event RedemptionDustThresholdUpdateStarted(uint64 newRedemptionDustThreshold, uint256 timestamp)
RedemptionDustThresholdUpdated
event RedemptionDustThresholdUpdated(uint64 redemptionDustThreshold)
RedemptionTreasuryFeeDivisorUpdateStarted
event RedemptionTreasuryFeeDivisorUpdateStarted(uint64 newRedemptionTreasuryFeeDivisor, uint256 timestamp)
RedemptionTreasuryFeeDivisorUpdated
event RedemptionTreasuryFeeDivisorUpdated(uint64 redemptionTreasuryFeeDivisor)
RedemptionTxMaxFeeUpdateStarted
event RedemptionTxMaxFeeUpdateStarted(uint64 newRedemptionTxMaxFee, uint256 timestamp)
RedemptionTxMaxFeeUpdated
event RedemptionTxMaxFeeUpdated(uint64 redemptionTxMaxFee)
RedemptionTxMaxTotalFeeUpdateStarted
event RedemptionTxMaxTotalFeeUpdateStarted(uint64 newRedemptionTxMaxTotalFee, uint256 timestamp)
RedemptionTxMaxTotalFeeUpdated
event RedemptionTxMaxTotalFeeUpdated(uint64 redemptionTxMaxTotalFee)
RedemptionTimeoutUpdateStarted
event RedemptionTimeoutUpdateStarted(uint32 newRedemptionTimeout, uint256 timestamp)
RedemptionTimeoutUpdated
event RedemptionTimeoutUpdated(uint32 redemptionTimeout)
RedemptionTimeoutSlashingAmountUpdateStarted
event RedemptionTimeoutSlashingAmountUpdateStarted(uint96 newRedemptionTimeoutSlashingAmount, uint256 timestamp)
RedemptionTimeoutSlashingAmountUpdated
event RedemptionTimeoutSlashingAmountUpdated(uint96 redemptionTimeoutSlashingAmount)
RedemptionTimeoutNotifierRewardMultiplierUpdateStarted
event RedemptionTimeoutNotifierRewardMultiplierUpdateStarted(uint32 newRedemptionTimeoutNotifierRewardMultiplier, uint256 timestamp)
RedemptionTimeoutNotifierRewardMultiplierUpdated
event RedemptionTimeoutNotifierRewardMultiplierUpdated(uint32 redemptionTimeoutNotifierRewardMultiplier)
MovingFundsTxMaxTotalFeeUpdateStarted
event MovingFundsTxMaxTotalFeeUpdateStarted(uint64 newMovingFundsTxMaxTotalFee, uint256 timestamp)
MovingFundsTxMaxTotalFeeUpdated
event MovingFundsTxMaxTotalFeeUpdated(uint64 movingFundsTxMaxTotalFee)
MovingFundsDustThresholdUpdateStarted
event MovingFundsDustThresholdUpdateStarted(uint64 newMovingFundsDustThreshold, uint256 timestamp)
MovingFundsDustThresholdUpdated
event MovingFundsDustThresholdUpdated(uint64 movingFundsDustThreshold)
MovingFundsTimeoutResetDelayUpdateStarted
event MovingFundsTimeoutResetDelayUpdateStarted(uint32 newMovingFundsTimeoutResetDelay, uint256 timestamp)
MovingFundsTimeoutResetDelayUpdated
event MovingFundsTimeoutResetDelayUpdated(uint32 movingFundsTimeoutResetDelay)
MovingFundsTimeoutUpdateStarted
event MovingFundsTimeoutUpdateStarted(uint32 newMovingFundsTimeout, uint256 timestamp)
MovingFundsTimeoutUpdated
event MovingFundsTimeoutUpdated(uint32 movingFundsTimeout)
MovingFundsTimeoutSlashingAmountUpdateStarted
event MovingFundsTimeoutSlashingAmountUpdateStarted(uint96 newMovingFundsTimeoutSlashingAmount, uint256 timestamp)
MovingFundsTimeoutSlashingAmountUpdated
event MovingFundsTimeoutSlashingAmountUpdated(uint96 movingFundsTimeoutSlashingAmount)
MovingFundsTimeoutNotifierRewardMultiplierUpdateStarted
event MovingFundsTimeoutNotifierRewardMultiplierUpdateStarted(uint32 newMovingFundsTimeoutNotifierRewardMultiplier, uint256 timestamp)
MovingFundsTimeoutNotifierRewardMultiplierUpdated
event MovingFundsTimeoutNotifierRewardMultiplierUpdated(uint32 movingFundsTimeoutNotifierRewardMultiplier)
MovingFundsCommitmentGasOffsetUpdateStarted
event MovingFundsCommitmentGasOffsetUpdateStarted(uint16 newMovingFundsCommitmentGasOffset, uint256 timestamp)
MovingFundsCommitmentGasOffsetUpdated
event MovingFundsCommitmentGasOffsetUpdated(uint16 movingFundsCommitmentGasOffset)
MovedFundsSweepTxMaxTotalFeeUpdateStarted
event MovedFundsSweepTxMaxTotalFeeUpdateStarted(uint64 newMovedFundsSweepTxMaxTotalFee, uint256 timestamp)
MovedFundsSweepTxMaxTotalFeeUpdated
event MovedFundsSweepTxMaxTotalFeeUpdated(uint64 movedFundsSweepTxMaxTotalFee)
MovedFundsSweepTimeoutUpdateStarted
event MovedFundsSweepTimeoutUpdateStarted(uint32 newMovedFundsSweepTimeout, uint256 timestamp)
MovedFundsSweepTimeoutUpdated
event MovedFundsSweepTimeoutUpdated(uint32 movedFundsSweepTimeout)
MovedFundsSweepTimeoutSlashingAmountUpdateStarted
event MovedFundsSweepTimeoutSlashingAmountUpdateStarted(uint96 newMovedFundsSweepTimeoutSlashingAmount, uint256 timestamp)
MovedFundsSweepTimeoutSlashingAmountUpdated
event MovedFundsSweepTimeoutSlashingAmountUpdated(uint96 movedFundsSweepTimeoutSlashingAmount)
MovedFundsSweepTimeoutNotifierRewardMultiplierUpdateStarted
event MovedFundsSweepTimeoutNotifierRewardMultiplierUpdateStarted(uint32 newMovedFundsSweepTimeoutNotifierRewardMultiplier, uint256 timestamp)
MovedFundsSweepTimeoutNotifierRewardMultiplierUpdated
event MovedFundsSweepTimeoutNotifierRewardMultiplierUpdated(uint32 movedFundsSweepTimeoutNotifierRewardMultiplier)
WalletCreationPeriodUpdateStarted
event WalletCreationPeriodUpdateStarted(uint32 newWalletCreationPeriod, uint256 timestamp)
WalletCreationPeriodUpdated
event WalletCreationPeriodUpdated(uint32 walletCreationPeriod)
WalletCreationMinBtcBalanceUpdateStarted
event WalletCreationMinBtcBalanceUpdateStarted(uint64 newWalletCreationMinBtcBalance, uint256 timestamp)
WalletCreationMinBtcBalanceUpdated
event WalletCreationMinBtcBalanceUpdated(uint64 walletCreationMinBtcBalance)
WalletCreationMaxBtcBalanceUpdateStarted
event WalletCreationMaxBtcBalanceUpdateStarted(uint64 newWalletCreationMaxBtcBalance, uint256 timestamp)
WalletCreationMaxBtcBalanceUpdated
event WalletCreationMaxBtcBalanceUpdated(uint64 walletCreationMaxBtcBalance)
WalletClosureMinBtcBalanceUpdateStarted
event WalletClosureMinBtcBalanceUpdateStarted(uint64 newWalletClosureMinBtcBalance, uint256 timestamp)
WalletClosureMinBtcBalanceUpdated
event WalletClosureMinBtcBalanceUpdated(uint64 walletClosureMinBtcBalance)
WalletMaxAgeUpdateStarted
event WalletMaxAgeUpdateStarted(uint32 newWalletMaxAge, uint256 timestamp)
WalletMaxAgeUpdated
event WalletMaxAgeUpdated(uint32 walletMaxAge)
WalletMaxBtcTransferUpdateStarted
event WalletMaxBtcTransferUpdateStarted(uint64 newWalletMaxBtcTransfer, uint256 timestamp)
WalletMaxBtcTransferUpdated
event WalletMaxBtcTransferUpdated(uint64 walletMaxBtcTransfer)
WalletClosingPeriodUpdateStarted
event WalletClosingPeriodUpdateStarted(uint32 newWalletClosingPeriod, uint256 timestamp)
WalletClosingPeriodUpdated
event WalletClosingPeriodUpdated(uint32 walletClosingPeriod)
FraudChallengeDepositAmountUpdateStarted
event FraudChallengeDepositAmountUpdateStarted(uint96 newFraudChallengeDepositAmount, uint256 timestamp)
FraudChallengeDepositAmountUpdated
event FraudChallengeDepositAmountUpdated(uint96 fraudChallengeDepositAmount)
FraudChallengeDefeatTimeoutUpdateStarted
event FraudChallengeDefeatTimeoutUpdateStarted(uint32 newFraudChallengeDefeatTimeout, uint256 timestamp)
FraudChallengeDefeatTimeoutUpdated
event FraudChallengeDefeatTimeoutUpdated(uint32 fraudChallengeDefeatTimeout)
FraudSlashingAmountUpdateStarted
event FraudSlashingAmountUpdateStarted(uint96 newFraudSlashingAmount, uint256 timestamp)
FraudSlashingAmountUpdated
event FraudSlashingAmountUpdated(uint96 fraudSlashingAmount)
FraudNotifierRewardMultiplierUpdateStarted
event FraudNotifierRewardMultiplierUpdateStarted(uint32 newFraudNotifierRewardMultiplier, uint256 timestamp)
FraudNotifierRewardMultiplierUpdated
event FraudNotifierRewardMultiplierUpdated(uint32 fraudNotifierRewardMultiplier)
TreasuryUpdateStarted
event TreasuryUpdateStarted(address newTreasury, uint256 timestamp)
TreasuryUpdated
event TreasuryUpdated(address treasury)
onlyAfterGovernanceDelay
modifier onlyAfterGovernanceDelay(uint256 changeInitiatedTimestamp, uint256 governanceDelay)
Reverts if called before the governance delay elapses.
Parameters
changeInitiatedTimestamp
uint256
Timestamp indicating the beginning of the change.
governanceDelay
uint256
beginDepositDustThresholdUpdate
function beginDepositDustThresholdUpdate(struct BridgeGovernanceParameters.DepositData self, uint64 _newDepositDustThreshold) external
Begins the deposit dust threshold amount update process.
Parameters
self
struct BridgeGovernanceParameters.DepositData
_newDepositDustThreshold
uint64
New deposit dust threshold amount.
finalizeDepositDustThresholdUpdate
function finalizeDepositDustThresholdUpdate(struct BridgeGovernanceParameters.DepositData self, uint256 governanceDelay) external
Finalizes the deposit dust threshold amount update process.
Can be called after the governance delay elapses.
beginDepositTreasuryFeeDivisorUpdate
function beginDepositTreasuryFeeDivisorUpdate(struct BridgeGovernanceParameters.DepositData self, uint64 _newDepositTreasuryFeeDivisor) external
Begins the deposit treasury fee divisor amount update process.
Parameters
self
struct BridgeGovernanceParameters.DepositData
_newDepositTreasuryFeeDivisor
uint64
New deposit treasury fee divisor amount.
finalizeDepositTreasuryFeeDivisorUpdate
function finalizeDepositTreasuryFeeDivisorUpdate(struct BridgeGovernanceParameters.DepositData self, uint256 governanceDelay) external
Finalizes the deposit treasury fee divisor amount update process.
Can be called after the governance delay elapses.
beginDepositTxMaxFeeUpdate
function beginDepositTxMaxFeeUpdate(struct BridgeGovernanceParameters.DepositData self, uint64 _newDepositTxMaxFee) external
Begins the deposit tx max fee amount update process.
Parameters
self
struct BridgeGovernanceParameters.DepositData
_newDepositTxMaxFee
uint64
New deposit tx max fee amount.
finalizeDepositTxMaxFeeUpdate
function finalizeDepositTxMaxFeeUpdate(struct BridgeGovernanceParameters.DepositData self, uint256 governanceDelay) external
Finalizes the deposit tx max fee amount update process.
Can be called after the governance delay elapses.
beginDepositRevealAheadPeriodUpdate
function beginDepositRevealAheadPeriodUpdate(struct BridgeGovernanceParameters.DepositData self, uint32 _newDepositRevealAheadPeriod) external
Begins the deposit reveal ahead period update process.
Parameters
self
struct BridgeGovernanceParameters.DepositData
_newDepositRevealAheadPeriod
uint32
New deposit reveal ahead period.
finalizeDepositRevealAheadPeriodUpdate
function finalizeDepositRevealAheadPeriodUpdate(struct BridgeGovernanceParameters.DepositData self, uint256 governanceDelay) external
Finalizes the deposit reveal ahead period update process.
Can be called after the governance delay elapses.
beginRedemptionDustThresholdUpdate
function beginRedemptionDustThresholdUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint64 _newRedemptionDustThreshold) external
Begins the redemption dust threshold amount update process.
Parameters
self
struct BridgeGovernanceParameters.RedemptionData
_newRedemptionDustThreshold
uint64
New redemption dust threshold amount.
finalizeRedemptionDustThresholdUpdate
function finalizeRedemptionDustThresholdUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint256 governanceDelay) external
Finalizes the redemption dust threshold amount update process.
Can be called after the governance delay elapses.
beginRedemptionTreasuryFeeDivisorUpdate
function beginRedemptionTreasuryFeeDivisorUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint64 _newRedemptionTreasuryFeeDivisor) external
Begins the redemption treasury fee divisor amount update process.
Parameters
self
struct BridgeGovernanceParameters.RedemptionData
_newRedemptionTreasuryFeeDivisor
uint64
New redemption treasury fee divisor amount.
finalizeRedemptionTreasuryFeeDivisorUpdate
function finalizeRedemptionTreasuryFeeDivisorUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint256 governanceDelay) external
Finalizes the redemption treasury fee divisor amount update process.
Can be called after the governance delay elapses.
beginRedemptionTxMaxFeeUpdate
function beginRedemptionTxMaxFeeUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint64 _newRedemptionTxMaxFee) external
Begins the redemption tx max fee amount update process.
Parameters
self
struct BridgeGovernanceParameters.RedemptionData
_newRedemptionTxMaxFee
uint64
New redemption tx max fee amount.
finalizeRedemptionTxMaxFeeUpdate
function finalizeRedemptionTxMaxFeeUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint256 governanceDelay) external
Finalizes the redemption tx max fee amount update process.
Can be called after the governance delay elapses.
beginRedemptionTxMaxTotalFeeUpdate
function beginRedemptionTxMaxTotalFeeUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint64 _newRedemptionTxMaxTotalFee) external
Begins the redemption tx max total fee amount update process.
Parameters
self
struct BridgeGovernanceParameters.RedemptionData
_newRedemptionTxMaxTotalFee
uint64
New redemption tx max total fee amount.
finalizeRedemptionTxMaxTotalFeeUpdate
function finalizeRedemptionTxMaxTotalFeeUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint256 governanceDelay) external
Finalizes the redemption tx max total fee amount update process.
Can be called after the governance delay elapses.
beginRedemptionTimeoutUpdate
function beginRedemptionTimeoutUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint32 _newRedemptionTimeout) external
Begins the redemption timeout amount update process.
Parameters
self
struct BridgeGovernanceParameters.RedemptionData
_newRedemptionTimeout
uint32
New redemption timeout amount.
finalizeRedemptionTimeoutUpdate
function finalizeRedemptionTimeoutUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint256 governanceDelay) external
Finalizes the redemption timeout amount update process.
Can be called after the governance delay elapses.
beginRedemptionTimeoutSlashingAmountUpdate
function beginRedemptionTimeoutSlashingAmountUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint96 _newRedemptionTimeoutSlashingAmount) external
Begins the redemption timeout slashing amount update process.
Parameters
self
struct BridgeGovernanceParameters.RedemptionData
_newRedemptionTimeoutSlashingAmount
uint96
New redemption timeout slashing amount.
finalizeRedemptionTimeoutSlashingAmountUpdate
function finalizeRedemptionTimeoutSlashingAmountUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint256 governanceDelay) external
Finalizes the redemption timeout slashing amount update process.
Can be called after the governance delay elapses.
beginRedemptionTimeoutNotifierRewardMultiplierUpdate
function beginRedemptionTimeoutNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint32 _newRedemptionTimeoutNotifierRewardMultiplier) external
Begins the redemption timeout notifier reward multiplier amount update process.
Parameters
self
struct BridgeGovernanceParameters.RedemptionData
_newRedemptionTimeoutNotifierRewardMultiplier
uint32
New redemption timeout notifier reward multiplier amount.
finalizeRedemptionTimeoutNotifierRewardMultiplierUpdate
function finalizeRedemptionTimeoutNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.RedemptionData self, uint256 governanceDelay) external
Finalizes the redemption timeout notifier reward multiplier amount update process.
Can be called after the governance delay elapses.
beginMovingFundsTxMaxTotalFeeUpdate
function beginMovingFundsTxMaxTotalFeeUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint64 _newMovingFundsTxMaxTotalFee) external
Begins the moving funds tx max total fee amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovingFundsTxMaxTotalFee
uint64
New moving funds tx max total fee amount.
finalizeMovingFundsTxMaxTotalFeeUpdate
function finalizeMovingFundsTxMaxTotalFeeUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moving funds tx max total fee amount update process.
Can be called after the governance delay elapses.
beginMovingFundsDustThresholdUpdate
function beginMovingFundsDustThresholdUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint64 _newMovingFundsDustThreshold) external
Begins the moving funds dust threshold amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovingFundsDustThreshold
uint64
New moving funds dust threshold amount.
finalizeMovingFundsDustThresholdUpdate
function finalizeMovingFundsDustThresholdUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moving funds dust threshold amount update process.
Can be called after the governance delay elapses.
beginMovingFundsTimeoutResetDelayUpdate
function beginMovingFundsTimeoutResetDelayUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint32 _newMovingFundsTimeoutResetDelay) external
Begins the moving funds timeout reset delay amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovingFundsTimeoutResetDelay
uint32
New moving funds timeout reset delay amount.
finalizeMovingFundsTimeoutResetDelayUpdate
function finalizeMovingFundsTimeoutResetDelayUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moving funds timeout reset delay amount update process.
Can be called after the governance delay elapses.
beginMovingFundsTimeoutUpdate
function beginMovingFundsTimeoutUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint32 _newMovingFundsTimeout) external
Begins the moving funds timeout amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovingFundsTimeout
uint32
New moving funds timeout amount.
finalizeMovingFundsTimeoutUpdate
function finalizeMovingFundsTimeoutUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moving funds timeout amount update process.
Can be called after the governance delay elapses.
beginMovingFundsTimeoutSlashingAmountUpdate
function beginMovingFundsTimeoutSlashingAmountUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint96 _newMovingFundsTimeoutSlashingAmount) external
Begins the moving funds timeout slashing amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovingFundsTimeoutSlashingAmount
uint96
New moving funds timeout slashing amount.
finalizeMovingFundsTimeoutSlashingAmountUpdate
function finalizeMovingFundsTimeoutSlashingAmountUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moving funds timeout slashing amount update process.
Can be called after the governance delay elapses.
beginMovingFundsTimeoutNotifierRewardMultiplierUpdate
function beginMovingFundsTimeoutNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint32 _newMovingFundsTimeoutNotifierRewardMultiplier) external
Begins the moving funds timeout notifier reward multiplier amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovingFundsTimeoutNotifierRewardMultiplier
uint32
New moving funds timeout notifier reward multiplier amount.
finalizeMovingFundsTimeoutNotifierRewardMultiplierUpdate
function finalizeMovingFundsTimeoutNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moving funds timeout notifier reward multiplier amount update process.
Can be called after the governance delay elapses.
beginMovingFundsCommitmentGasOffsetUpdate
function beginMovingFundsCommitmentGasOffsetUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint16 _newMovingFundsCommitmentGasOffset) external
Begins the moving funds commitment gas offset update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovingFundsCommitmentGasOffset
uint16
New moving funds commitment gas offset.
finalizeMovingFundsCommitmentGasOffsetUpdate
function finalizeMovingFundsCommitmentGasOffsetUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moving funds commitment gas offset update process.
Can be called after the governance delay elapses.
beginMovedFundsSweepTxMaxTotalFeeUpdate
function beginMovedFundsSweepTxMaxTotalFeeUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint64 _newMovedFundsSweepTxMaxTotalFee) external
Begins the moved funds sweep tx max total fee amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovedFundsSweepTxMaxTotalFee
uint64
New moved funds sweep tx max total fee amount.
finalizeMovedFundsSweepTxMaxTotalFeeUpdate
function finalizeMovedFundsSweepTxMaxTotalFeeUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moved funds sweep tx max total fee amount update process.
Can be called after the governance delay elapses.
beginMovedFundsSweepTimeoutUpdate
function beginMovedFundsSweepTimeoutUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint32 _newMovedFundsSweepTimeout) external
Begins the moved funds sweep timeout amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovedFundsSweepTimeout
uint32
New moved funds sweep timeout amount.
finalizeMovedFundsSweepTimeoutUpdate
function finalizeMovedFundsSweepTimeoutUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moved funds sweep timeout amount update process.
Can be called after the governance delay elapses.
beginMovedFundsSweepTimeoutSlashingAmountUpdate
function beginMovedFundsSweepTimeoutSlashingAmountUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint96 _newMovedFundsSweepTimeoutSlashingAmount) external
Begins the moved funds sweep timeout slashing amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovedFundsSweepTimeoutSlashingAmount
uint96
New moved funds sweep timeout slashing amount.
finalizeMovedFundsSweepTimeoutSlashingAmountUpdate
function finalizeMovedFundsSweepTimeoutSlashingAmountUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moved funds sweep timeout slashing amount update process.
Can be called after the governance delay elapses.
beginMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate
function beginMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint32 _newMovedFundsSweepTimeoutNotifierRewardMultiplier) external
Begins the moved funds sweep timeout notifier reward multiplier amount update process.
Parameters
self
struct BridgeGovernanceParameters.MovingFundsData
_newMovedFundsSweepTimeoutNotifierRewardMultiplier
uint32
New moved funds sweep timeout notifier reward multiplier amount.
finalizeMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate
function finalizeMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.MovingFundsData self, uint256 governanceDelay) external
Finalizes the moved funds sweep timeout notifier reward multiplier amount update process.
Can be called after the governance delay elapses.
beginWalletCreationPeriodUpdate
function beginWalletCreationPeriodUpdate(struct BridgeGovernanceParameters.WalletData self, uint32 _newWalletCreationPeriod) external
Begins the wallet creation period amount update process.
Parameters
self
struct BridgeGovernanceParameters.WalletData
_newWalletCreationPeriod
uint32
New wallet creation period amount.
finalizeWalletCreationPeriodUpdate
function finalizeWalletCreationPeriodUpdate(struct BridgeGovernanceParameters.WalletData self, uint256 governanceDelay) external
Finalizes the wallet creation period amount update process.
Can be called after the governance delay elapses.
beginWalletCreationMinBtcBalanceUpdate
function beginWalletCreationMinBtcBalanceUpdate(struct BridgeGovernanceParameters.WalletData self, uint64 _newWalletCreationMinBtcBalance) external
Begins the wallet creation min btc balance amount update process.
Parameters
self
struct BridgeGovernanceParameters.WalletData
_newWalletCreationMinBtcBalance
uint64
New wallet creation min btc balance amount.
finalizeWalletCreationMinBtcBalanceUpdate
function finalizeWalletCreationMinBtcBalanceUpdate(struct BridgeGovernanceParameters.WalletData self, uint256 governanceDelay) external
Finalizes the wallet creation min btc balance amount update process.
Can be called after the governance delay elapses.
beginWalletCreationMaxBtcBalanceUpdate
function beginWalletCreationMaxBtcBalanceUpdate(struct BridgeGovernanceParameters.WalletData self, uint64 _newWalletCreationMaxBtcBalance) external
Begins the wallet creation max btc balance amount update process.
Parameters
self
struct BridgeGovernanceParameters.WalletData
_newWalletCreationMaxBtcBalance
uint64
New wallet creation max btc balance amount.
finalizeWalletCreationMaxBtcBalanceUpdate
function finalizeWalletCreationMaxBtcBalanceUpdate(struct BridgeGovernanceParameters.WalletData self, uint256 governanceDelay) external
Finalizes the wallet creation max btc balance amount update process.
Can be called after the governance delay elapses.
beginWalletClosureMinBtcBalanceUpdate
function beginWalletClosureMinBtcBalanceUpdate(struct BridgeGovernanceParameters.WalletData self, uint64 _newWalletClosureMinBtcBalance) external
Begins the wallet closure min btc balance amount update process.
Parameters
self
struct BridgeGovernanceParameters.WalletData
_newWalletClosureMinBtcBalance
uint64
New wallet closure min btc balance amount.
finalizeWalletClosureMinBtcBalanceUpdate
function finalizeWalletClosureMinBtcBalanceUpdate(struct BridgeGovernanceParameters.WalletData self, uint256 governanceDelay) external
Finalizes the wallet closure min btc balance amount update process.
Can be called after the governance delay elapses.
beginWalletMaxAgeUpdate
function beginWalletMaxAgeUpdate(struct BridgeGovernanceParameters.WalletData self, uint32 _newWalletMaxAge) external
Begins the wallet max age amount update process.
Parameters
self
struct BridgeGovernanceParameters.WalletData
_newWalletMaxAge
uint32
New wallet max age amount.
finalizeWalletMaxAgeUpdate
function finalizeWalletMaxAgeUpdate(struct BridgeGovernanceParameters.WalletData self, uint256 governanceDelay) external
Finalizes the wallet max age amount update process.
Can be called after the governance delay elapses.
beginWalletMaxBtcTransferUpdate
function beginWalletMaxBtcTransferUpdate(struct BridgeGovernanceParameters.WalletData self, uint64 _newWalletMaxBtcTransfer) external
Begins the wallet max btc transfer amount update process.
Parameters
self
struct BridgeGovernanceParameters.WalletData
_newWalletMaxBtcTransfer
uint64
New wallet max btc transfer amount.
finalizeWalletMaxBtcTransferUpdate
function finalizeWalletMaxBtcTransferUpdate(struct BridgeGovernanceParameters.WalletData self, uint256 governanceDelay) external
Finalizes the wallet max btc transfer amount update process.
Can be called after the governance delay elapses.
beginWalletClosingPeriodUpdate
function beginWalletClosingPeriodUpdate(struct BridgeGovernanceParameters.WalletData self, uint32 _newWalletClosingPeriod) external
Begins the wallet closing period amount update process.
Parameters
self
struct BridgeGovernanceParameters.WalletData
_newWalletClosingPeriod
uint32
New wallet closing period amount.
finalizeWalletClosingPeriodUpdate
function finalizeWalletClosingPeriodUpdate(struct BridgeGovernanceParameters.WalletData self, uint256 governanceDelay) external
Finalizes the wallet closing period amount update process.
Can be called after the governance delay elapses.
beginFraudChallengeDepositAmountUpdate
function beginFraudChallengeDepositAmountUpdate(struct BridgeGovernanceParameters.FraudData self, uint96 _newFraudChallengeDepositAmount) external
Begins the fraud challenge deposit amount update process.
Parameters
self
struct BridgeGovernanceParameters.FraudData
_newFraudChallengeDepositAmount
uint96
New fraud challenge deposit amount.
finalizeFraudChallengeDepositAmountUpdate
function finalizeFraudChallengeDepositAmountUpdate(struct BridgeGovernanceParameters.FraudData self, uint256 governanceDelay) external
Finalizes the fraud challenge deposit amount update process.
Can be called after the governance delay elapses.
beginFraudChallengeDefeatTimeoutUpdate
function beginFraudChallengeDefeatTimeoutUpdate(struct BridgeGovernanceParameters.FraudData self, uint32 _newFraudChallengeDefeatTimeout) external
Begins the fraud challenge defeat timeout amount update process.
Parameters
self
struct BridgeGovernanceParameters.FraudData
_newFraudChallengeDefeatTimeout
uint32
New fraud challenge defeat timeout amount.
finalizeFraudChallengeDefeatTimeoutUpdate
function finalizeFraudChallengeDefeatTimeoutUpdate(struct BridgeGovernanceParameters.FraudData self, uint256 governanceDelay) external
Finalizes the fraud challenge defeat timeout amount update process.
Can be called after the governance delay elapses.
beginFraudSlashingAmountUpdate
function beginFraudSlashingAmountUpdate(struct BridgeGovernanceParameters.FraudData self, uint96 _newFraudSlashingAmount) external
Begins the fraud slashing amount update process.
Parameters
self
struct BridgeGovernanceParameters.FraudData
_newFraudSlashingAmount
uint96
New fraud slashing amount.
finalizeFraudSlashingAmountUpdate
function finalizeFraudSlashingAmountUpdate(struct BridgeGovernanceParameters.FraudData self, uint256 governanceDelay) external
Finalizes the fraud slashing amount update process.
Can be called after the governance delay elapses.
beginFraudNotifierRewardMultiplierUpdate
function beginFraudNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.FraudData self, uint32 _newFraudNotifierRewardMultiplier) external
Begins the fraud notifier reward multiplier amount update process.
Parameters
self
struct BridgeGovernanceParameters.FraudData
_newFraudNotifierRewardMultiplier
uint32
New fraud notifier reward multiplier amount.
finalizeFraudNotifierRewardMultiplierUpdate
function finalizeFraudNotifierRewardMultiplierUpdate(struct BridgeGovernanceParameters.FraudData self, uint256 governanceDelay) external
Finalizes the fraud notifier reward multiplier amount update process.
Can be called after the governance delay elapses.
beginTreasuryUpdate
function beginTreasuryUpdate(struct BridgeGovernanceParameters.TreasuryData self, address _newTreasury) external
Begins the treasury address update process.
It does not perform any parameter validation.
Parameters
self
struct BridgeGovernanceParameters.TreasuryData
_newTreasury
address
New treasury address.
finalizeTreasuryUpdate
function finalizeTreasuryUpdate(struct BridgeGovernanceParameters.TreasuryData self, uint256 governanceDelay) external
Finalizes the treasury address update process.
Can be called after the governance delay elapses.
Last updated
Was this helpful?