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

MovingFundsData

WalletData

FraudData

DepositDustThresholdUpdateStarted

DepositDustThresholdUpdated

DepositTreasuryFeeDivisorUpdateStarted

DepositTreasuryFeeDivisorUpdated

DepositTxMaxFeeUpdateStarted

DepositTxMaxFeeUpdated

DepositRevealAheadPeriodUpdateStarted

DepositRevealAheadPeriodUpdated

RedemptionDustThresholdUpdateStarted

RedemptionDustThresholdUpdated

RedemptionTreasuryFeeDivisorUpdateStarted

RedemptionTreasuryFeeDivisorUpdated

RedemptionTxMaxFeeUpdateStarted

RedemptionTxMaxFeeUpdated

RedemptionTxMaxTotalFeeUpdateStarted

RedemptionTxMaxTotalFeeUpdated

RedemptionTimeoutUpdateStarted

RedemptionTimeoutUpdated

RedemptionTimeoutSlashingAmountUpdateStarted

RedemptionTimeoutSlashingAmountUpdated

RedemptionTimeoutNotifierRewardMultiplierUpdateStarted

RedemptionTimeoutNotifierRewardMultiplierUpdated

MovingFundsTxMaxTotalFeeUpdateStarted

MovingFundsTxMaxTotalFeeUpdated

MovingFundsDustThresholdUpdateStarted

MovingFundsDustThresholdUpdated

MovingFundsTimeoutResetDelayUpdateStarted

MovingFundsTimeoutResetDelayUpdated

MovingFundsTimeoutUpdateStarted

MovingFundsTimeoutUpdated

MovingFundsTimeoutSlashingAmountUpdateStarted

MovingFundsTimeoutSlashingAmountUpdated

MovingFundsTimeoutNotifierRewardMultiplierUpdateStarted

MovingFundsTimeoutNotifierRewardMultiplierUpdated

MovingFundsCommitmentGasOffsetUpdateStarted

MovingFundsCommitmentGasOffsetUpdated

MovedFundsSweepTxMaxTotalFeeUpdateStarted

MovedFundsSweepTxMaxTotalFeeUpdated

MovedFundsSweepTimeoutUpdateStarted

MovedFundsSweepTimeoutUpdated

MovedFundsSweepTimeoutSlashingAmountUpdateStarted

MovedFundsSweepTimeoutSlashingAmountUpdated

MovedFundsSweepTimeoutNotifierRewardMultiplierUpdateStarted

MovedFundsSweepTimeoutNotifierRewardMultiplierUpdated

WalletCreationPeriodUpdateStarted

WalletCreationPeriodUpdated

WalletCreationMinBtcBalanceUpdateStarted

WalletCreationMinBtcBalanceUpdated

WalletCreationMaxBtcBalanceUpdateStarted

WalletCreationMaxBtcBalanceUpdated

WalletClosureMinBtcBalanceUpdateStarted

WalletClosureMinBtcBalanceUpdated

WalletMaxAgeUpdateStarted

WalletMaxAgeUpdated

WalletMaxBtcTransferUpdateStarted

WalletMaxBtcTransferUpdated

WalletClosingPeriodUpdateStarted

WalletClosingPeriodUpdated

FraudChallengeDepositAmountUpdateStarted

FraudChallengeDepositAmountUpdated

FraudChallengeDefeatTimeoutUpdateStarted

FraudChallengeDefeatTimeoutUpdated

FraudSlashingAmountUpdateStarted

FraudSlashingAmountUpdated

FraudNotifierRewardMultiplierUpdateStarted

FraudNotifierRewardMultiplierUpdated

TreasuryUpdateStarted

TreasuryUpdated

onlyAfterGovernanceDelay

Reverts if called before the governance delay elapses.

Parameters

Name
Type
Description

changeInitiatedTimestamp

uint256

Timestamp indicating the beginning of the change.

governanceDelay

uint256

beginDepositDustThresholdUpdate

Begins the deposit dust threshold amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.DepositData

_newDepositDustThreshold

uint64

New deposit dust threshold amount.

finalizeDepositDustThresholdUpdate

Finalizes the deposit dust threshold amount update process.

Can be called after the governance delay elapses.

beginDepositTreasuryFeeDivisorUpdate

Begins the deposit treasury fee divisor amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.DepositData

_newDepositTreasuryFeeDivisor

uint64

New deposit treasury fee divisor amount.

finalizeDepositTreasuryFeeDivisorUpdate

Finalizes the deposit treasury fee divisor amount update process.

Can be called after the governance delay elapses.

beginDepositTxMaxFeeUpdate

Begins the deposit tx max fee amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.DepositData

_newDepositTxMaxFee

uint64

New deposit tx max fee amount.

finalizeDepositTxMaxFeeUpdate

Finalizes the deposit tx max fee amount update process.

Can be called after the governance delay elapses.

beginDepositRevealAheadPeriodUpdate

Begins the deposit reveal ahead period update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.DepositData

_newDepositRevealAheadPeriod

uint32

New deposit reveal ahead period.

finalizeDepositRevealAheadPeriodUpdate

Finalizes the deposit reveal ahead period update process.

Can be called after the governance delay elapses.

beginRedemptionDustThresholdUpdate

Begins the redemption dust threshold amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.RedemptionData

_newRedemptionDustThreshold

uint64

New redemption dust threshold amount.

finalizeRedemptionDustThresholdUpdate

Finalizes the redemption dust threshold amount update process.

Can be called after the governance delay elapses.

beginRedemptionTreasuryFeeDivisorUpdate

Begins the redemption treasury fee divisor amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.RedemptionData

_newRedemptionTreasuryFeeDivisor

uint64

New redemption treasury fee divisor amount.

finalizeRedemptionTreasuryFeeDivisorUpdate

Finalizes the redemption treasury fee divisor amount update process.

Can be called after the governance delay elapses.

beginRedemptionTxMaxFeeUpdate

Begins the redemption tx max fee amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.RedemptionData

_newRedemptionTxMaxFee

uint64

New redemption tx max fee amount.

finalizeRedemptionTxMaxFeeUpdate

Finalizes the redemption tx max fee amount update process.

Can be called after the governance delay elapses.

beginRedemptionTxMaxTotalFeeUpdate

Begins the redemption tx max total fee amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.RedemptionData

_newRedemptionTxMaxTotalFee

uint64

New redemption tx max total fee amount.

finalizeRedemptionTxMaxTotalFeeUpdate

Finalizes the redemption tx max total fee amount update process.

Can be called after the governance delay elapses.

beginRedemptionTimeoutUpdate

Begins the redemption timeout amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.RedemptionData

_newRedemptionTimeout

uint32

New redemption timeout amount.

finalizeRedemptionTimeoutUpdate

Finalizes the redemption timeout amount update process.

Can be called after the governance delay elapses.

beginRedemptionTimeoutSlashingAmountUpdate

Begins the redemption timeout slashing amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.RedemptionData

_newRedemptionTimeoutSlashingAmount

uint96

New redemption timeout slashing amount.

finalizeRedemptionTimeoutSlashingAmountUpdate

Finalizes the redemption timeout slashing amount update process.

Can be called after the governance delay elapses.

beginRedemptionTimeoutNotifierRewardMultiplierUpdate

Begins the redemption timeout notifier reward multiplier amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.RedemptionData

_newRedemptionTimeoutNotifierRewardMultiplier

uint32

New redemption timeout notifier reward multiplier amount.

finalizeRedemptionTimeoutNotifierRewardMultiplierUpdate

Finalizes the redemption timeout notifier reward multiplier amount update process.

Can be called after the governance delay elapses.

beginMovingFundsTxMaxTotalFeeUpdate

Begins the moving funds tx max total fee amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovingFundsTxMaxTotalFee

uint64

New moving funds tx max total fee amount.

finalizeMovingFundsTxMaxTotalFeeUpdate

Finalizes the moving funds tx max total fee amount update process.

Can be called after the governance delay elapses.

beginMovingFundsDustThresholdUpdate

Begins the moving funds dust threshold amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovingFundsDustThreshold

uint64

New moving funds dust threshold amount.

finalizeMovingFundsDustThresholdUpdate

Finalizes the moving funds dust threshold amount update process.

Can be called after the governance delay elapses.

beginMovingFundsTimeoutResetDelayUpdate

Begins the moving funds timeout reset delay amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovingFundsTimeoutResetDelay

uint32

New moving funds timeout reset delay amount.

finalizeMovingFundsTimeoutResetDelayUpdate

Finalizes the moving funds timeout reset delay amount update process.

Can be called after the governance delay elapses.

beginMovingFundsTimeoutUpdate

Begins the moving funds timeout amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovingFundsTimeout

uint32

New moving funds timeout amount.

finalizeMovingFundsTimeoutUpdate

Finalizes the moving funds timeout amount update process.

Can be called after the governance delay elapses.

beginMovingFundsTimeoutSlashingAmountUpdate

Begins the moving funds timeout slashing amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovingFundsTimeoutSlashingAmount

uint96

New moving funds timeout slashing amount.

finalizeMovingFundsTimeoutSlashingAmountUpdate

Finalizes the moving funds timeout slashing amount update process.

Can be called after the governance delay elapses.

beginMovingFundsTimeoutNotifierRewardMultiplierUpdate

Begins the moving funds timeout notifier reward multiplier amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovingFundsTimeoutNotifierRewardMultiplier

uint32

New moving funds timeout notifier reward multiplier amount.

finalizeMovingFundsTimeoutNotifierRewardMultiplierUpdate

Finalizes the moving funds timeout notifier reward multiplier amount update process.

Can be called after the governance delay elapses.

beginMovingFundsCommitmentGasOffsetUpdate

Begins the moving funds commitment gas offset update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovingFundsCommitmentGasOffset

uint16

New moving funds commitment gas offset.

finalizeMovingFundsCommitmentGasOffsetUpdate

Finalizes the moving funds commitment gas offset update process.

Can be called after the governance delay elapses.

beginMovedFundsSweepTxMaxTotalFeeUpdate

Begins the moved funds sweep tx max total fee amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovedFundsSweepTxMaxTotalFee

uint64

New moved funds sweep tx max total fee amount.

finalizeMovedFundsSweepTxMaxTotalFeeUpdate

Finalizes the moved funds sweep tx max total fee amount update process.

Can be called after the governance delay elapses.

beginMovedFundsSweepTimeoutUpdate

Begins the moved funds sweep timeout amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovedFundsSweepTimeout

uint32

New moved funds sweep timeout amount.

finalizeMovedFundsSweepTimeoutUpdate

Finalizes the moved funds sweep timeout amount update process.

Can be called after the governance delay elapses.

beginMovedFundsSweepTimeoutSlashingAmountUpdate

Begins the moved funds sweep timeout slashing amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovedFundsSweepTimeoutSlashingAmount

uint96

New moved funds sweep timeout slashing amount.

finalizeMovedFundsSweepTimeoutSlashingAmountUpdate

Finalizes the moved funds sweep timeout slashing amount update process.

Can be called after the governance delay elapses.

beginMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate

Begins the moved funds sweep timeout notifier reward multiplier amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.MovingFundsData

_newMovedFundsSweepTimeoutNotifierRewardMultiplier

uint32

New moved funds sweep timeout notifier reward multiplier amount.

finalizeMovedFundsSweepTimeoutNotifierRewardMultiplierUpdate

Finalizes the moved funds sweep timeout notifier reward multiplier amount update process.

Can be called after the governance delay elapses.

beginWalletCreationPeriodUpdate

Begins the wallet creation period amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.WalletData

_newWalletCreationPeriod

uint32

New wallet creation period amount.

finalizeWalletCreationPeriodUpdate

Finalizes the wallet creation period amount update process.

Can be called after the governance delay elapses.

beginWalletCreationMinBtcBalanceUpdate

Begins the wallet creation min btc balance amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.WalletData

_newWalletCreationMinBtcBalance

uint64

New wallet creation min btc balance amount.

finalizeWalletCreationMinBtcBalanceUpdate

Finalizes the wallet creation min btc balance amount update process.

Can be called after the governance delay elapses.

beginWalletCreationMaxBtcBalanceUpdate

Begins the wallet creation max btc balance amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.WalletData

_newWalletCreationMaxBtcBalance

uint64

New wallet creation max btc balance amount.

finalizeWalletCreationMaxBtcBalanceUpdate

Finalizes the wallet creation max btc balance amount update process.

Can be called after the governance delay elapses.

beginWalletClosureMinBtcBalanceUpdate

Begins the wallet closure min btc balance amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.WalletData

_newWalletClosureMinBtcBalance

uint64

New wallet closure min btc balance amount.

finalizeWalletClosureMinBtcBalanceUpdate

Finalizes the wallet closure min btc balance amount update process.

Can be called after the governance delay elapses.

beginWalletMaxAgeUpdate

Begins the wallet max age amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.WalletData

_newWalletMaxAge

uint32

New wallet max age amount.

finalizeWalletMaxAgeUpdate

Finalizes the wallet max age amount update process.

Can be called after the governance delay elapses.

beginWalletMaxBtcTransferUpdate

Begins the wallet max btc transfer amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.WalletData

_newWalletMaxBtcTransfer

uint64

New wallet max btc transfer amount.

finalizeWalletMaxBtcTransferUpdate

Finalizes the wallet max btc transfer amount update process.

Can be called after the governance delay elapses.

beginWalletClosingPeriodUpdate

Begins the wallet closing period amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.WalletData

_newWalletClosingPeriod

uint32

New wallet closing period amount.

finalizeWalletClosingPeriodUpdate

Finalizes the wallet closing period amount update process.

Can be called after the governance delay elapses.

beginFraudChallengeDepositAmountUpdate

Begins the fraud challenge deposit amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.FraudData

_newFraudChallengeDepositAmount

uint96

New fraud challenge deposit amount.

finalizeFraudChallengeDepositAmountUpdate

Finalizes the fraud challenge deposit amount update process.

Can be called after the governance delay elapses.

beginFraudChallengeDefeatTimeoutUpdate

Begins the fraud challenge defeat timeout amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.FraudData

_newFraudChallengeDefeatTimeout

uint32

New fraud challenge defeat timeout amount.

finalizeFraudChallengeDefeatTimeoutUpdate

Finalizes the fraud challenge defeat timeout amount update process.

Can be called after the governance delay elapses.

beginFraudSlashingAmountUpdate

Begins the fraud slashing amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.FraudData

_newFraudSlashingAmount

uint96

New fraud slashing amount.

finalizeFraudSlashingAmountUpdate

Finalizes the fraud slashing amount update process.

Can be called after the governance delay elapses.

beginFraudNotifierRewardMultiplierUpdate

Begins the fraud notifier reward multiplier amount update process.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.FraudData

_newFraudNotifierRewardMultiplier

uint32

New fraud notifier reward multiplier amount.

finalizeFraudNotifierRewardMultiplierUpdate

Finalizes the fraud notifier reward multiplier amount update process.

Can be called after the governance delay elapses.

beginTreasuryUpdate

Begins the treasury address update process.

It does not perform any parameter validation.

Parameters

Name
Type
Description

self

struct BridgeGovernanceParameters.TreasuryData

_newTreasury

address

New treasury address.

finalizeTreasuryUpdate

Finalizes the treasury address update process.

Can be called after the governance delay elapses.

Last updated

Was this helpful?