BridgeGovernance

BridgeGovernance

Owns the Bridge contract and is responsible for updating its governable parameters in respect to governance delay individual for each parameter. The other responsibility is marking a vault address as trusted or no longer trusted.

depositData

struct BridgeGovernanceParameters.DepositData depositData

redemptionData

struct BridgeGovernanceParameters.RedemptionData redemptionData

movingFundsData

struct BridgeGovernanceParameters.MovingFundsData movingFundsData

walletData

struct BridgeGovernanceParameters.WalletData walletData

fraudData

struct BridgeGovernanceParameters.FraudData fraudData

treasuryData

struct BridgeGovernanceParameters.TreasuryData treasuryData

bridge

contract Bridge bridge

governanceDelays

uint256[3] governanceDelays

bridgeGovernanceTransferChangeInitiated

uint256 bridgeGovernanceTransferChangeInitiated

newBridgeGovernance

address newBridgeGovernance

BridgeGovernanceTransferStarted

event BridgeGovernanceTransferStarted(address newBridgeGovernance, uint256 timestamp)

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)

constructor

constructor(contract Bridge _bridge, uint256 _governanceDelay) public

setVaultStatus

function setVaultStatus(address vault, bool isTrusted) external

Allows the Governance to mark the given vault address as trusted or no longer trusted. Vaults are not trusted by default. Trusted vault must meet the following criteria:

  • IVault.receiveBalanceIncrease must have a known, low gas cost,

  • IVault.receiveBalanceIncrease must never revert.

Parameters

setSpvMaintainerStatus

function setSpvMaintainerStatus(address spvMaintainer, bool isTrusted) external

Allows the Governance to mark the given address as trusted or no longer trusted SPV maintainer. Addresses are not trusted as SPV maintainers by default.

Parameters

beginGovernanceDelayUpdate

function beginGovernanceDelayUpdate(uint256 _newGovernanceDelay) external

Begins the governance delay update process.

Can be called only by the contract owner. The event that informs about the start of the governance delay was skipped on purpose to trim the contract size. All the params inside of the governanceDelays array are public and can be easily fetched.

Parameters

finalizeGovernanceDelayUpdate

function finalizeGovernanceDelayUpdate() external

Finalizes the governance delay update process.

Can be called only by the contract owner, after the governance delay elapses. Updated event was skipped on purpose to trim the contract size. All the params inside of the governanceDelays array are public and can be easily fetched.

beginBridgeGovernanceTransfer

function beginBridgeGovernanceTransfer(address _newBridgeGovernance) external

Begins the Bridge governance transfer process.

Can be called only by the contract owner. It is the governance responsibility to validate the correctness of the new Bridge Governance contract. The other reason for not adding this check is to go down with the contract size and leaving only the essential code.

finalizeBridgeGovernanceTransfer

function finalizeBridgeGovernanceTransfer() external

Finalizes the bridge governance transfer process.

Can be called only by the contract owner, after the governance delay elapses. Bridge governance transferred event can be read from the Governable bridge contract 'GovernanceTransferred(old, new)'. Event that informs about the transfer in this function is skipped on purpose to go down with the contract size.

beginDepositDustThresholdUpdate

function beginDepositDustThresholdUpdate(uint64 _newDepositDustThreshold) external

Begins the deposit dust threshold amount update process.

Can be called only by the contract owner.

Parameters

finalizeDepositDustThresholdUpdate

function finalizeDepositDustThresholdUpdate() external

Finalizes the deposit dust threshold amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDepositTreasuryFeeDivisorUpdate

function beginDepositTreasuryFeeDivisorUpdate(uint64 _newDepositTreasuryFeeDivisor) external

Begins the deposit treasury fee divisor amount update process.

Can be called only by the contract owner.

Parameters

finalizeDepositTreasuryFeeDivisorUpdate

function finalizeDepositTreasuryFeeDivisorUpdate() external

Finalizes the deposit treasury fee divisor amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDepositTxMaxFeeUpdate

function beginDepositTxMaxFeeUpdate(uint64 _newDepositTxMaxFee) external

Begins the deposit tx max fee amount update process.

Can be called only by the contract owner.

Parameters

finalizeDepositTxMaxFeeUpdate

function finalizeDepositTxMaxFeeUpdate() external

Finalizes the deposit tx max fee amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginDepositRevealAheadPeriodUpdate

function beginDepositRevealAheadPeriodUpdate(uint32 _newDepositRevealAheadPeriod) external

Begins the deposit reveal ahead period update process.

Can be called only by the contract owner.

Parameters

finalizeDepositRevealAheadPeriodUpdate

function finalizeDepositRevealAheadPeriodUpdate() external

Finalizes the deposit reveal ahead period update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRedemptionDustThresholdUpdate

function beginRedemptionDustThresholdUpdate(uint64 _newRedemptionDustThreshold) external

Begins the redemption dust threshold amount update process.

Can be called only by the contract owner.

Parameters

finalizeRedemptionDustThresholdUpdate

function finalizeRedemptionDustThresholdUpdate() external

Finalizes the dust threshold amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRedemptionTreasuryFeeDivisorUpdate

function beginRedemptionTreasuryFeeDivisorUpdate(uint64 _newRedemptionTreasuryFeeDivisor) external

Begins the redemption treasury fee divisor amount update process.

Can be called only by the contract owner.

Parameters

finalizeRedemptionTreasuryFeeDivisorUpdate

function finalizeRedemptionTreasuryFeeDivisorUpdate() external

Finalizes the redemption treasury fee divisor amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRedemptionTxMaxFeeUpdate

function beginRedemptionTxMaxFeeUpdate(uint64 _newRedemptionTxMaxFee) external

Begins the redemption tx max fee amount update process.

Can be called only by the contract owner.

Parameters

finalizeRedemptionTxMaxFeeUpdate

function finalizeRedemptionTxMaxFeeUpdate() external

Finalizes the redemption tx max fee amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRedemptionTxMaxTotalFeeUpdate

function beginRedemptionTxMaxTotalFeeUpdate(uint64 _newRedemptionTxMaxTotalFee) external

Begins the redemption tx max total fee amount update process.

Can be called only by the contract owner.

Parameters

finalizeRedemptionTxMaxTotalFeeUpdate

function finalizeRedemptionTxMaxTotalFeeUpdate() external

Finalizes the redemption tx max total fee amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRedemptionTimeoutUpdate

function beginRedemptionTimeoutUpdate(uint32 _newRedemptionTimeout) external

Begins the redemption timeout amount update process.

Can be called only by the contract owner.

Parameters

finalizeRedemptionTimeoutUpdate

function finalizeRedemptionTimeoutUpdate() external

Finalizes the redemption timeout amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRedemptionTimeoutSlashingAmountUpdate

function beginRedemptionTimeoutSlashingAmountUpdate(uint96 _newRedemptionTimeoutSlashingAmount) external

Begins the redemption timeout slashing amount update process.

Can be called only by the contract owner.

Parameters

finalizeRedemptionTimeoutSlashingAmountUpdate

function finalizeRedemptionTimeoutSlashingAmountUpdate() external

Finalizes the redemption timeout slashing amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginRedemptionTimeoutNotifierRewardMultiplierUpdate

function beginRedemptionTimeoutNotifierRewardMultiplierUpdate(uint32 _newRedemptionTimeoutNotifierRewardMultiplier) external

Begins the redemption timeout notifier reward multiplier amount update process.

Can be called only by the contract owner.

Parameters

finalizeRedemptionTimeoutNotifierRewardMultiplierUpdate

function finalizeRedemptionTimeoutNotifierRewardMultiplierUpdate() external

Finalizes the redemption timeout notifier reward multiplier amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginMovingFundsTxMaxTotalFeeUpdate

function beginMovingFundsTxMaxTotalFeeUpdate(uint64 _newMovingFundsTxMaxTotalFee) external

Begins the moving funds tx max total fee update process.

Can be called only by the contract owner.

Parameters

finalizeMovingFundsTxMaxTotalFeeUpdate

function finalizeMovingFundsTxMaxTotalFeeUpdate() external

Finalizes the moving funds tx max total fee update process.

Can be called only by the contract owner, after the governance delay elapses.

beginMovingFundsDustThresholdUpdate

function beginMovingFundsDustThresholdUpdate(uint64 _newMovingFundsDustThreshold) external

Begins the moving funds dust threshold update process.

Can be called only by the contract owner.

Parameters

finalizeMovingFundsDustThresholdUpdate

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

function beginMovingFundsTimeoutResetDelayUpdate(uint32 _newMovingFundsTimeoutResetDelay) external

Begins the moving funds timeout reset delay update process.

Can be called only by the contract owner.

Parameters

finalizeMovingFundsTimeoutResetDelayUpdate

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

function beginMovingFundsTimeoutUpdate(uint32 _newMovingFundsTimeout) external

Begins the moving funds timeout update process.

Can be called only by the contract owner.

Parameters

finalizeMovingFundsTimeoutUpdate

function finalizeMovingFundsTimeoutUpdate() external

Finalizes the moving funds timeout update process.

Can be called only by the contract owner, after the governance delay elapses.

beginMovingFundsTimeoutSlashingAmountUpdate

function beginMovingFundsTimeoutSlashingAmountUpdate(uint96 _newMovingFundsTimeoutSlashingAmount) external

Begins the moving funds timeout slashing amount update process.

Can be called only by the contract owner.

Parameters

finalizeMovingFundsTimeoutSlashingAmountUpdate

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

function beginMovingFundsTimeoutNotifierRewardMultiplierUpdate(uint32 _newMovingFundsTimeoutNotifierRewardMultiplier) external

Begins the moving funds timeout notifier reward multiplier update process.

Can be called only by the contract owner.

Parameters

finalizeMovingFundsTimeoutNotifierRewardMultiplierUpdate

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

function beginMovingFundsCommitmentGasOffsetUpdate(uint16 _newMovingFundsCommitmentGasOffset) external

Begins the moving funds commitment gas offset update process.

Can be called only by the contract owner.

Parameters

finalizeMovingFundsCommitmentGasOffsetUpdate

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

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

finalizeMovedFundsSweepTxMaxTotalFeeUpdate

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

function beginMovedFundsSweepTimeoutUpdate(uint32 _newMovedFundsSweepTimeout) external

Begins the moved funds sweep timeout update process.

Can be called only by the contract owner.

Parameters

finalizeMovedFundsSweepTimeoutUpdate

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

function beginMovedFundsSweepTimeoutSlashingAmountUpdate(uint96 _newMovedFundsSweepTimeoutSlashingAmount) external

Begins the moved funds sweep timeout slashing amount update process.

Can be called only by the contract owner.

Parameters

finalizeMovedFundsSweepTimeoutSlashingAmountUpdate

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

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

finalizeMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate

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

function beginWalletCreationPeriodUpdate(uint32 _newWalletCreationPeriod) external

Begins the wallet creation period update process.

Can be called only by the contract owner.

Parameters

finalizeWalletCreationPeriodUpdate

function finalizeWalletCreationPeriodUpdate() external

Finalizes the wallet creation period update process.

Can be called only by the contract owner, after the governance delay elapses.

beginWalletCreationMinBtcBalanceUpdate

function beginWalletCreationMinBtcBalanceUpdate(uint64 _newWalletCreationMinBtcBalance) external

Begins the wallet creation min btc balance update process.

Can be called only by the contract owner.

Parameters

finalizeWalletCreationMinBtcBalanceUpdate

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

function beginWalletCreationMaxBtcBalanceUpdate(uint64 _newWalletCreationMaxBtcBalance) external

Begins the wallet creation max btc balance update process.

Can be called only by the contract owner.

Parameters

finalizeWalletCreationMaxBtcBalanceUpdate

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

function beginWalletClosureMinBtcBalanceUpdate(uint64 _newWalletClosureMinBtcBalance) external

Begins the wallet closure min btc balance update process.

Can be called only by the contract owner.

Parameters

finalizeWalletClosureMinBtcBalanceUpdate

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

function beginWalletMaxAgeUpdate(uint32 _newWalletMaxAge) external

Begins the wallet max age update process.

Can be called only by the contract owner.

Parameters

finalizeWalletMaxAgeUpdate

function finalizeWalletMaxAgeUpdate() external

Finalizes the wallet max age update process.

Can be called only by the contract owner, after the governance delay elapses.

beginWalletMaxBtcTransferUpdate

function beginWalletMaxBtcTransferUpdate(uint64 _newWalletMaxBtcTransfer) external

Begins the wallet max btc transfer amount update process.

Can be called only by the contract owner.

Parameters

finalizeWalletMaxBtcTransferUpdate

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

function beginWalletClosingPeriodUpdate(uint32 _newWalletClosingPeriod) external

Begins the wallet closing period update process.

Can be called only by the contract owner.

Parameters

finalizeWalletClosingPeriodUpdate

function finalizeWalletClosingPeriodUpdate() external

Finalizes the wallet closing period update process.

Can be called only by the contract owner, after the governance delay elapses.

beginFraudChallengeDepositAmountUpdate

function beginFraudChallengeDepositAmountUpdate(uint96 _newFraudChallengeDepositAmount) external

Begins the fraud challenge deposit amount update process.

Can be called only by the contract owner.

Parameters

finalizeFraudChallengeDepositAmountUpdate

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

function beginFraudChallengeDefeatTimeoutUpdate(uint32 _newFraudChallengeDefeatTimeout) external

Begins the fraud challenge defeat timeout update process.

Can be called only by the contract owner.

Parameters

finalizeFraudChallengeDefeatTimeoutUpdate

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

function beginFraudSlashingAmountUpdate(uint96 _newFraudSlashingAmount) external

Begins the fraud slashing amount update process.

Can be called only by the contract owner.

Parameters

finalizeFraudSlashingAmountUpdate

function finalizeFraudSlashingAmountUpdate() external

Finalizes the fraud slashing amount update process.

Can be called only by the contract owner, after the governance delay elapses.

beginFraudNotifierRewardMultiplierUpdate

function beginFraudNotifierRewardMultiplierUpdate(uint32 _newFraudNotifierRewardMultiplier) external

Begins the fraud notifier reward multiplier update process.

Can be called only by the contract owner.

Parameters

finalizeFraudNotifierRewardMultiplierUpdate

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

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

finalizeTreasuryUpdate

function finalizeTreasuryUpdate() external

Finalizes the treasury address update process.

Can be called only by the contract owner, after the governance delay elapses.

governanceDelay

function governanceDelay() internal view returns (uint256)

Gets the governance delay parameter.

Last updated