contract

package
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BDepositParametersUpdatedSubscription

type BDepositParametersUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BDepositParametersUpdatedSubscription) OnEvent

func (dpus *BDepositParametersUpdatedSubscription) OnEvent(
	handler bridgeDepositParametersUpdatedFunc,
) subscription.EventSubscription

func (*BDepositParametersUpdatedSubscription) Pipe

type BDepositRevealedSubscription

type BDepositRevealedSubscription struct {
	// contains filtered or unexported fields
}

func (*BDepositRevealedSubscription) OnEvent

func (drs *BDepositRevealedSubscription) OnEvent(
	handler bridgeDepositRevealedFunc,
) subscription.EventSubscription

func (*BDepositRevealedSubscription) Pipe

type BDepositsSweptSubscription

type BDepositsSweptSubscription struct {
	// contains filtered or unexported fields
}

func (*BDepositsSweptSubscription) OnEvent

func (dss *BDepositsSweptSubscription) OnEvent(
	handler bridgeDepositsSweptFunc,
) subscription.EventSubscription

func (*BDepositsSweptSubscription) Pipe

type BFraudChallengeDefeatTimedOutSubscription

type BFraudChallengeDefeatTimedOutSubscription struct {
	// contains filtered or unexported fields
}

func (*BFraudChallengeDefeatTimedOutSubscription) OnEvent

func (fcdtos *BFraudChallengeDefeatTimedOutSubscription) OnEvent(
	handler bridgeFraudChallengeDefeatTimedOutFunc,
) subscription.EventSubscription

func (*BFraudChallengeDefeatTimedOutSubscription) Pipe

type BFraudChallengeDefeatedSubscription

type BFraudChallengeDefeatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BFraudChallengeDefeatedSubscription) OnEvent

func (fcds *BFraudChallengeDefeatedSubscription) OnEvent(
	handler bridgeFraudChallengeDefeatedFunc,
) subscription.EventSubscription

func (*BFraudChallengeDefeatedSubscription) Pipe

type BFraudChallengeSubmittedSubscription

type BFraudChallengeSubmittedSubscription struct {
	// contains filtered or unexported fields
}

func (*BFraudChallengeSubmittedSubscription) OnEvent

func (fcss *BFraudChallengeSubmittedSubscription) OnEvent(
	handler bridgeFraudChallengeSubmittedFunc,
) subscription.EventSubscription

func (*BFraudChallengeSubmittedSubscription) Pipe

type BFraudParametersUpdatedSubscription

type BFraudParametersUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BFraudParametersUpdatedSubscription) OnEvent

func (fpus *BFraudParametersUpdatedSubscription) OnEvent(
	handler bridgeFraudParametersUpdatedFunc,
) subscription.EventSubscription

func (*BFraudParametersUpdatedSubscription) Pipe

type BGovernanceTransferredSubscription

type BGovernanceTransferredSubscription struct {
	// contains filtered or unexported fields
}

func (*BGovernanceTransferredSubscription) OnEvent

func (gts *BGovernanceTransferredSubscription) OnEvent(
	handler bridgeGovernanceTransferredFunc,
) subscription.EventSubscription

func (*BGovernanceTransferredSubscription) Pipe

type BInitializedSubscription

type BInitializedSubscription struct {
	// contains filtered or unexported fields
}

func (*BInitializedSubscription) OnEvent

func (is *BInitializedSubscription) OnEvent(
	handler bridgeInitializedFunc,
) subscription.EventSubscription

func (*BInitializedSubscription) Pipe

type BMovedFundsSweepTimedOutSubscription

type BMovedFundsSweepTimedOutSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovedFundsSweepTimedOutSubscription) OnEvent

func (mfstos *BMovedFundsSweepTimedOutSubscription) OnEvent(
	handler bridgeMovedFundsSweepTimedOutFunc,
) subscription.EventSubscription

func (*BMovedFundsSweepTimedOutSubscription) Pipe

type BMovedFundsSweptSubscription

type BMovedFundsSweptSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovedFundsSweptSubscription) OnEvent

func (mfss *BMovedFundsSweptSubscription) OnEvent(
	handler bridgeMovedFundsSweptFunc,
) subscription.EventSubscription

func (*BMovedFundsSweptSubscription) Pipe

type BMovingFundsBelowDustReportedSubscription

type BMovingFundsBelowDustReportedSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovingFundsBelowDustReportedSubscription) OnEvent

func (mfbdrs *BMovingFundsBelowDustReportedSubscription) OnEvent(
	handler bridgeMovingFundsBelowDustReportedFunc,
) subscription.EventSubscription

func (*BMovingFundsBelowDustReportedSubscription) Pipe

type BMovingFundsCommitmentSubmittedSubscription

type BMovingFundsCommitmentSubmittedSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovingFundsCommitmentSubmittedSubscription) OnEvent

func (mfcss *BMovingFundsCommitmentSubmittedSubscription) OnEvent(
	handler bridgeMovingFundsCommitmentSubmittedFunc,
) subscription.EventSubscription

func (*BMovingFundsCommitmentSubmittedSubscription) Pipe

type BMovingFundsCompletedSubscription

type BMovingFundsCompletedSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovingFundsCompletedSubscription) OnEvent

func (mfcs *BMovingFundsCompletedSubscription) OnEvent(
	handler bridgeMovingFundsCompletedFunc,
) subscription.EventSubscription

func (*BMovingFundsCompletedSubscription) Pipe

type BMovingFundsParametersUpdatedSubscription

type BMovingFundsParametersUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovingFundsParametersUpdatedSubscription) OnEvent

func (mfpus *BMovingFundsParametersUpdatedSubscription) OnEvent(
	handler bridgeMovingFundsParametersUpdatedFunc,
) subscription.EventSubscription

func (*BMovingFundsParametersUpdatedSubscription) Pipe

type BMovingFundsTimedOutSubscription

type BMovingFundsTimedOutSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovingFundsTimedOutSubscription) OnEvent

func (mftos *BMovingFundsTimedOutSubscription) OnEvent(
	handler bridgeMovingFundsTimedOutFunc,
) subscription.EventSubscription

func (*BMovingFundsTimedOutSubscription) Pipe

type BMovingFundsTimeoutResetSubscription

type BMovingFundsTimeoutResetSubscription struct {
	// contains filtered or unexported fields
}

func (*BMovingFundsTimeoutResetSubscription) OnEvent

func (mftrs *BMovingFundsTimeoutResetSubscription) OnEvent(
	handler bridgeMovingFundsTimeoutResetFunc,
) subscription.EventSubscription

func (*BMovingFundsTimeoutResetSubscription) Pipe

type BNewWalletRegisteredSubscription

type BNewWalletRegisteredSubscription struct {
	// contains filtered or unexported fields
}

func (*BNewWalletRegisteredSubscription) OnEvent

func (nwrs *BNewWalletRegisteredSubscription) OnEvent(
	handler bridgeNewWalletRegisteredFunc,
) subscription.EventSubscription

func (*BNewWalletRegisteredSubscription) Pipe

type BNewWalletRequestedSubscription

type BNewWalletRequestedSubscription struct {
	// contains filtered or unexported fields
}

func (*BNewWalletRequestedSubscription) OnEvent

func (nwrs *BNewWalletRequestedSubscription) OnEvent(
	handler bridgeNewWalletRequestedFunc,
) subscription.EventSubscription

func (*BNewWalletRequestedSubscription) Pipe

type BRedemptionParametersUpdatedSubscription

type BRedemptionParametersUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BRedemptionParametersUpdatedSubscription) OnEvent

func (rpus *BRedemptionParametersUpdatedSubscription) OnEvent(
	handler bridgeRedemptionParametersUpdatedFunc,
) subscription.EventSubscription

func (*BRedemptionParametersUpdatedSubscription) Pipe

type BRedemptionRequestedSubscription

type BRedemptionRequestedSubscription struct {
	// contains filtered or unexported fields
}

func (*BRedemptionRequestedSubscription) OnEvent

func (rrs *BRedemptionRequestedSubscription) OnEvent(
	handler bridgeRedemptionRequestedFunc,
) subscription.EventSubscription

func (*BRedemptionRequestedSubscription) Pipe

type BRedemptionTimedOutSubscription

type BRedemptionTimedOutSubscription struct {
	// contains filtered or unexported fields
}

func (*BRedemptionTimedOutSubscription) OnEvent

func (rtos *BRedemptionTimedOutSubscription) OnEvent(
	handler bridgeRedemptionTimedOutFunc,
) subscription.EventSubscription

func (*BRedemptionTimedOutSubscription) Pipe

type BRedemptionsCompletedSubscription

type BRedemptionsCompletedSubscription struct {
	// contains filtered or unexported fields
}

func (*BRedemptionsCompletedSubscription) OnEvent

func (rcs *BRedemptionsCompletedSubscription) OnEvent(
	handler bridgeRedemptionsCompletedFunc,
) subscription.EventSubscription

func (*BRedemptionsCompletedSubscription) Pipe

type BSpvMaintainerStatusUpdatedSubscription

type BSpvMaintainerStatusUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BSpvMaintainerStatusUpdatedSubscription) OnEvent

func (smsus *BSpvMaintainerStatusUpdatedSubscription) OnEvent(
	handler bridgeSpvMaintainerStatusUpdatedFunc,
) subscription.EventSubscription

func (*BSpvMaintainerStatusUpdatedSubscription) Pipe

type BTreasuryUpdatedSubscription

type BTreasuryUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BTreasuryUpdatedSubscription) OnEvent

func (tus *BTreasuryUpdatedSubscription) OnEvent(
	handler bridgeTreasuryUpdatedFunc,
) subscription.EventSubscription

func (*BTreasuryUpdatedSubscription) Pipe

type BVaultStatusUpdatedSubscription

type BVaultStatusUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BVaultStatusUpdatedSubscription) OnEvent

func (vsus *BVaultStatusUpdatedSubscription) OnEvent(
	handler bridgeVaultStatusUpdatedFunc,
) subscription.EventSubscription

func (*BVaultStatusUpdatedSubscription) Pipe

type BWalletClosedSubscription

type BWalletClosedSubscription struct {
	// contains filtered or unexported fields
}

func (*BWalletClosedSubscription) OnEvent

func (wcs *BWalletClosedSubscription) OnEvent(
	handler bridgeWalletClosedFunc,
) subscription.EventSubscription

func (*BWalletClosedSubscription) Pipe

type BWalletClosingSubscription

type BWalletClosingSubscription struct {
	// contains filtered or unexported fields
}

func (*BWalletClosingSubscription) OnEvent

func (wcs *BWalletClosingSubscription) OnEvent(
	handler bridgeWalletClosingFunc,
) subscription.EventSubscription

func (*BWalletClosingSubscription) Pipe

type BWalletMovingFundsSubscription

type BWalletMovingFundsSubscription struct {
	// contains filtered or unexported fields
}

func (*BWalletMovingFundsSubscription) OnEvent

func (wmfs *BWalletMovingFundsSubscription) OnEvent(
	handler bridgeWalletMovingFundsFunc,
) subscription.EventSubscription

func (*BWalletMovingFundsSubscription) Pipe

type BWalletParametersUpdatedSubscription

type BWalletParametersUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BWalletParametersUpdatedSubscription) OnEvent

func (wpus *BWalletParametersUpdatedSubscription) OnEvent(
	handler bridgeWalletParametersUpdatedFunc,
) subscription.EventSubscription

func (*BWalletParametersUpdatedSubscription) Pipe

type BWalletTerminatedSubscription

type BWalletTerminatedSubscription struct {
	// contains filtered or unexported fields
}

func (*BWalletTerminatedSubscription) OnEvent

func (wts *BWalletTerminatedSubscription) OnEvent(
	handler bridgeWalletTerminatedFunc,
) subscription.EventSubscription

func (*BWalletTerminatedSubscription) Pipe

type Bridge

type Bridge struct {
	// contains filtered or unexported fields
}

func NewBridge

func NewBridge(
	contractAddress common.Address,
	chainId *big.Int,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethereum.NonceManager,
	miningWaiter *chainutil.MiningWaiter,
	blockCounter *ethereum.BlockCounter,
	transactionMutex *sync.Mutex,
) (*Bridge, error)

func (*Bridge) ActiveWalletPubKeyHash

func (b *Bridge) ActiveWalletPubKeyHash() ([20]byte, error)

func (*Bridge) ActiveWalletPubKeyHashAtBlock

func (b *Bridge) ActiveWalletPubKeyHashAtBlock(
	blockNumber *big.Int,
) ([20]byte, error)

func (*Bridge) CallDefeatFraudChallenge

func (b *Bridge) CallDefeatFraudChallenge(
	arg_walletPublicKey []byte,
	arg_preimage []byte,
	arg_witness bool,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallDefeatFraudChallengeWithHeartbeat

func (b *Bridge) CallDefeatFraudChallengeWithHeartbeat(
	arg_walletPublicKey []byte,
	arg_heartbeatMessage []byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallEcdsaWalletCreatedCallback

func (b *Bridge) CallEcdsaWalletCreatedCallback(
	arg_ecdsaWalletID [32]byte,
	arg_publicKeyX [32]byte,
	arg_publicKeyY [32]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallEcdsaWalletHeartbeatFailedCallback

func (b *Bridge) CallEcdsaWalletHeartbeatFailedCallback(
	arg0 [32]byte,
	arg_publicKeyX [32]byte,
	arg_publicKeyY [32]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallInitialize

func (b *Bridge) CallInitialize(
	arg__bank common.Address,
	arg__relay common.Address,
	arg__treasury common.Address,
	arg__ecdsaWalletRegistry common.Address,
	arg__reimbursementPool common.Address,
	arg__txProofDifficultyFactor *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallNotifyFraudChallengeDefeatTimeout

func (b *Bridge) CallNotifyFraudChallengeDefeatTimeout(
	arg_walletPublicKey []byte,
	arg_walletMembersIDs []uint32,
	arg_preimageSha256 []byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallNotifyMovedFundsSweepTimeout

func (b *Bridge) CallNotifyMovedFundsSweepTimeout(
	arg_movingFundsTxHash [32]byte,
	arg_movingFundsTxOutputIndex uint32,
	arg_walletMembersIDs []uint32,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallNotifyMovingFundsBelowDust

func (b *Bridge) CallNotifyMovingFundsBelowDust(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallNotifyMovingFundsTimeout

func (b *Bridge) CallNotifyMovingFundsTimeout(
	arg_walletPubKeyHash [20]byte,
	arg_walletMembersIDs []uint32,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallNotifyRedemptionTimeout

func (b *Bridge) CallNotifyRedemptionTimeout(
	arg_walletPubKeyHash [20]byte,
	arg_walletMembersIDs []uint32,
	arg_redeemerOutputScript []byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallNotifyWalletCloseable

func (b *Bridge) CallNotifyWalletCloseable(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallNotifyWalletClosingPeriodElapsed

func (b *Bridge) CallNotifyWalletClosingPeriodElapsed(
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallReceiveBalanceApproval

func (b *Bridge) CallReceiveBalanceApproval(
	arg_balanceOwner common.Address,
	arg_amount *big.Int,
	arg_redemptionData []byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallRequestNewWallet

func (b *Bridge) CallRequestNewWallet(
	arg_activeWalletMainUtxo abi.BitcoinTxUTXO,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallRequestRedemption

func (b *Bridge) CallRequestRedemption(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_redeemerOutputScript []byte,
	arg_amount uint64,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallResetMovingFundsTimeout

func (b *Bridge) CallResetMovingFundsTimeout(
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallRevealDeposit

func (b *Bridge) CallRevealDeposit(
	arg_fundingTx abi.BitcoinTxInfo,
	arg_reveal abi.DepositDepositRevealInfo,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallRevealDepositWithExtraData

func (b *Bridge) CallRevealDepositWithExtraData(
	arg_fundingTx abi.BitcoinTxInfo,
	arg_reveal abi.DepositDepositRevealInfo,
	arg_extraData [32]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSetSpvMaintainerStatus

func (b *Bridge) CallSetSpvMaintainerStatus(
	arg_spvMaintainer common.Address,
	arg_isTrusted bool,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSetVaultStatus

func (b *Bridge) CallSetVaultStatus(
	arg_vault common.Address,
	arg_isTrusted bool,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSubmitDepositSweepProof

func (b *Bridge) CallSubmitDepositSweepProof(
	arg_sweepTx abi.BitcoinTxInfo,
	arg_sweepProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_vault common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSubmitFraudChallenge

func (b *Bridge) CallSubmitFraudChallenge(
	arg_walletPublicKey []byte,
	arg_preimageSha256 []byte,
	arg_signature abi.BitcoinTxRSVSignature,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSubmitMovedFundsSweepProof

func (b *Bridge) CallSubmitMovedFundsSweepProof(
	arg_sweepTx abi.BitcoinTxInfo,
	arg_sweepProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSubmitMovingFundsCommitment

func (b *Bridge) CallSubmitMovingFundsCommitment(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO,
	arg_walletMembersIDs []uint32,
	arg_walletMemberIndex *big.Int,
	arg_targetWallets [][20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSubmitMovingFundsProof

func (b *Bridge) CallSubmitMovingFundsProof(
	arg_movingFundsTx abi.BitcoinTxInfo,
	arg_movingFundsProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallSubmitRedemptionProof

func (b *Bridge) CallSubmitRedemptionProof(
	arg_redemptionTx abi.BitcoinTxInfo,
	arg_redemptionProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallTransferGovernance

func (b *Bridge) CallTransferGovernance(
	arg_newGovernance common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallUpdateDepositParameters

func (b *Bridge) CallUpdateDepositParameters(
	arg_depositDustThreshold uint64,
	arg_depositTreasuryFeeDivisor uint64,
	arg_depositTxMaxFee uint64,
	arg_depositRevealAheadPeriod uint32,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallUpdateFraudParameters

func (b *Bridge) CallUpdateFraudParameters(
	arg_fraudChallengeDepositAmount *big.Int,
	arg_fraudChallengeDefeatTimeout uint32,
	arg_fraudSlashingAmount *big.Int,
	arg_fraudNotifierRewardMultiplier uint32,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallUpdateMovingFundsParameters

func (b *Bridge) CallUpdateMovingFundsParameters(
	arg_movingFundsTxMaxTotalFee uint64,
	arg_movingFundsDustThreshold uint64,
	arg_movingFundsTimeoutResetDelay uint32,
	arg_movingFundsTimeout uint32,
	arg_movingFundsTimeoutSlashingAmount *big.Int,
	arg_movingFundsTimeoutNotifierRewardMultiplier uint32,
	arg_movingFundsCommitmentGasOffset uint16,
	arg_movedFundsSweepTxMaxTotalFee uint64,
	arg_movedFundsSweepTimeout uint32,
	arg_movedFundsSweepTimeoutSlashingAmount *big.Int,
	arg_movedFundsSweepTimeoutNotifierRewardMultiplier uint32,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallUpdateRedemptionParameters

func (b *Bridge) CallUpdateRedemptionParameters(
	arg_redemptionDustThreshold uint64,
	arg_redemptionTreasuryFeeDivisor uint64,
	arg_redemptionTxMaxFee uint64,
	arg_redemptionTxMaxTotalFee uint64,
	arg_redemptionTimeout uint32,
	arg_redemptionTimeoutSlashingAmount *big.Int,
	arg_redemptionTimeoutNotifierRewardMultiplier uint32,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallUpdateTreasury

func (b *Bridge) CallUpdateTreasury(
	arg_treasury common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) CallUpdateWalletParameters

func (b *Bridge) CallUpdateWalletParameters(
	arg_walletCreationPeriod uint32,
	arg_walletCreationMinBtcBalance uint64,
	arg_walletCreationMaxBtcBalance uint64,
	arg_walletClosureMinBtcBalance uint64,
	arg_walletMaxAge uint32,
	arg_walletMaxBtcTransfer uint64,
	arg_walletClosingPeriod uint32,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*Bridge) ContractReferences

func (b *Bridge) ContractReferences() (contractReferences, error)

func (*Bridge) ContractReferencesAtBlock

func (b *Bridge) ContractReferencesAtBlock(
	blockNumber *big.Int,
) (contractReferences, error)

func (*Bridge) DefeatFraudChallenge

func (b *Bridge) DefeatFraudChallenge(
	arg_walletPublicKey []byte,
	arg_preimage []byte,
	arg_witness bool,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) DefeatFraudChallengeGasEstimate

func (b *Bridge) DefeatFraudChallengeGasEstimate(
	arg_walletPublicKey []byte,
	arg_preimage []byte,
	arg_witness bool,
) (uint64, error)

func (*Bridge) DefeatFraudChallengeWithHeartbeat

func (b *Bridge) DefeatFraudChallengeWithHeartbeat(
	arg_walletPublicKey []byte,
	arg_heartbeatMessage []byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) DefeatFraudChallengeWithHeartbeatGasEstimate

func (b *Bridge) DefeatFraudChallengeWithHeartbeatGasEstimate(
	arg_walletPublicKey []byte,
	arg_heartbeatMessage []byte,
) (uint64, error)

func (*Bridge) DepositParameters

func (b *Bridge) DepositParameters() (depositParameters, error)

func (*Bridge) DepositParametersAtBlock

func (b *Bridge) DepositParametersAtBlock(
	blockNumber *big.Int,
) (depositParameters, error)

func (*Bridge) DepositParametersUpdatedEvent

func (b *Bridge) DepositParametersUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *BDepositParametersUpdatedSubscription

func (*Bridge) DepositRevealedEvent

func (b *Bridge) DepositRevealedEvent(
	opts *ethereum.SubscribeOpts,
	depositorFilter []common.Address,
	walletPubKeyHashFilter [][20]byte,
) *BDepositRevealedSubscription

func (*Bridge) Deposits

func (b *Bridge) Deposits(
	arg_depositKey *big.Int,
) (abi.DepositDepositRequest, error)

func (*Bridge) DepositsAtBlock

func (b *Bridge) DepositsAtBlock(
	arg_depositKey *big.Int,
	blockNumber *big.Int,
) (abi.DepositDepositRequest, error)

func (*Bridge) DepositsSweptEvent

func (b *Bridge) DepositsSweptEvent(
	opts *ethereum.SubscribeOpts,
) *BDepositsSweptSubscription

func (*Bridge) EcdsaWalletCreatedCallback

func (b *Bridge) EcdsaWalletCreatedCallback(
	arg_ecdsaWalletID [32]byte,
	arg_publicKeyX [32]byte,
	arg_publicKeyY [32]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) EcdsaWalletCreatedCallbackGasEstimate

func (b *Bridge) EcdsaWalletCreatedCallbackGasEstimate(
	arg_ecdsaWalletID [32]byte,
	arg_publicKeyX [32]byte,
	arg_publicKeyY [32]byte,
) (uint64, error)

func (*Bridge) EcdsaWalletHeartbeatFailedCallback

func (b *Bridge) EcdsaWalletHeartbeatFailedCallback(
	arg0 [32]byte,
	arg_publicKeyX [32]byte,
	arg_publicKeyY [32]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) EcdsaWalletHeartbeatFailedCallbackGasEstimate

func (b *Bridge) EcdsaWalletHeartbeatFailedCallbackGasEstimate(
	arg0 [32]byte,
	arg_publicKeyX [32]byte,
	arg_publicKeyY [32]byte,
) (uint64, error)

func (*Bridge) FraudChallengeDefeatTimedOutEvent

func (b *Bridge) FraudChallengeDefeatTimedOutEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BFraudChallengeDefeatTimedOutSubscription

func (*Bridge) FraudChallengeDefeatedEvent

func (b *Bridge) FraudChallengeDefeatedEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BFraudChallengeDefeatedSubscription

func (*Bridge) FraudChallengeSubmittedEvent

func (b *Bridge) FraudChallengeSubmittedEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BFraudChallengeSubmittedSubscription

func (*Bridge) FraudChallenges

func (b *Bridge) FraudChallenges(
	arg_challengeKey *big.Int,
) (abi.FraudFraudChallenge, error)

func (*Bridge) FraudChallengesAtBlock

func (b *Bridge) FraudChallengesAtBlock(
	arg_challengeKey *big.Int,
	blockNumber *big.Int,
) (abi.FraudFraudChallenge, error)

func (*Bridge) FraudParameters

func (b *Bridge) FraudParameters() (fraudParameters, error)

func (*Bridge) FraudParametersAtBlock

func (b *Bridge) FraudParametersAtBlock(
	blockNumber *big.Int,
) (fraudParameters, error)

func (*Bridge) FraudParametersUpdatedEvent

func (b *Bridge) FraudParametersUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *BFraudParametersUpdatedSubscription

func (*Bridge) Governance

func (b *Bridge) Governance() (common.Address, error)

func (*Bridge) GovernanceAtBlock

func (b *Bridge) GovernanceAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*Bridge) GovernanceTransferredEvent

func (b *Bridge) GovernanceTransferredEvent(
	opts *ethereum.SubscribeOpts,
) *BGovernanceTransferredSubscription

func (*Bridge) Initialize

func (b *Bridge) Initialize(
	arg__bank common.Address,
	arg__relay common.Address,
	arg__treasury common.Address,
	arg__ecdsaWalletRegistry common.Address,
	arg__reimbursementPool common.Address,
	arg__txProofDifficultyFactor *big.Int,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) InitializeGasEstimate

func (b *Bridge) InitializeGasEstimate(
	arg__bank common.Address,
	arg__relay common.Address,
	arg__treasury common.Address,
	arg__ecdsaWalletRegistry common.Address,
	arg__reimbursementPool common.Address,
	arg__txProofDifficultyFactor *big.Int,
) (uint64, error)

func (*Bridge) InitializedEvent

func (b *Bridge) InitializedEvent(
	opts *ethereum.SubscribeOpts,
) *BInitializedSubscription

func (*Bridge) IsVaultTrusted

func (b *Bridge) IsVaultTrusted(
	arg_vault common.Address,
) (bool, error)

func (*Bridge) IsVaultTrustedAtBlock

func (b *Bridge) IsVaultTrustedAtBlock(
	arg_vault common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*Bridge) LiveWalletsCount

func (b *Bridge) LiveWalletsCount() (uint32, error)

func (*Bridge) LiveWalletsCountAtBlock

func (b *Bridge) LiveWalletsCountAtBlock(
	blockNumber *big.Int,
) (uint32, error)

func (*Bridge) MovedFundsSweepRequests

func (b *Bridge) MovedFundsSweepRequests(
	arg_requestKey *big.Int,
) (abi.MovingFundsMovedFundsSweepRequest, error)

func (*Bridge) MovedFundsSweepRequestsAtBlock

func (b *Bridge) MovedFundsSweepRequestsAtBlock(
	arg_requestKey *big.Int,
	blockNumber *big.Int,
) (abi.MovingFundsMovedFundsSweepRequest, error)

func (*Bridge) MovedFundsSweepTimedOutEvent

func (b *Bridge) MovedFundsSweepTimedOutEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BMovedFundsSweepTimedOutSubscription

func (*Bridge) MovedFundsSweptEvent

func (b *Bridge) MovedFundsSweptEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BMovedFundsSweptSubscription

func (*Bridge) MovingFundsBelowDustReportedEvent

func (b *Bridge) MovingFundsBelowDustReportedEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BMovingFundsBelowDustReportedSubscription

func (*Bridge) MovingFundsCommitmentSubmittedEvent

func (b *Bridge) MovingFundsCommitmentSubmittedEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BMovingFundsCommitmentSubmittedSubscription

func (*Bridge) MovingFundsCompletedEvent

func (b *Bridge) MovingFundsCompletedEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BMovingFundsCompletedSubscription

func (*Bridge) MovingFundsParameters

func (b *Bridge) MovingFundsParameters() (movingFundsParameters, error)

func (*Bridge) MovingFundsParametersAtBlock

func (b *Bridge) MovingFundsParametersAtBlock(
	blockNumber *big.Int,
) (movingFundsParameters, error)

func (*Bridge) MovingFundsParametersUpdatedEvent

func (b *Bridge) MovingFundsParametersUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *BMovingFundsParametersUpdatedSubscription

func (*Bridge) MovingFundsTimedOutEvent

func (b *Bridge) MovingFundsTimedOutEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BMovingFundsTimedOutSubscription

func (*Bridge) MovingFundsTimeoutResetEvent

func (b *Bridge) MovingFundsTimeoutResetEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BMovingFundsTimeoutResetSubscription

func (*Bridge) NewWalletRegisteredEvent

func (b *Bridge) NewWalletRegisteredEvent(
	opts *ethereum.SubscribeOpts,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) *BNewWalletRegisteredSubscription

func (*Bridge) NewWalletRequestedEvent

func (b *Bridge) NewWalletRequestedEvent(
	opts *ethereum.SubscribeOpts,
) *BNewWalletRequestedSubscription

func (*Bridge) NotifyFraudChallengeDefeatTimeout

func (b *Bridge) NotifyFraudChallengeDefeatTimeout(
	arg_walletPublicKey []byte,
	arg_walletMembersIDs []uint32,
	arg_preimageSha256 []byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) NotifyFraudChallengeDefeatTimeoutGasEstimate

func (b *Bridge) NotifyFraudChallengeDefeatTimeoutGasEstimate(
	arg_walletPublicKey []byte,
	arg_walletMembersIDs []uint32,
	arg_preimageSha256 []byte,
) (uint64, error)

func (*Bridge) NotifyMovedFundsSweepTimeout

func (b *Bridge) NotifyMovedFundsSweepTimeout(
	arg_movingFundsTxHash [32]byte,
	arg_movingFundsTxOutputIndex uint32,
	arg_walletMembersIDs []uint32,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) NotifyMovedFundsSweepTimeoutGasEstimate

func (b *Bridge) NotifyMovedFundsSweepTimeoutGasEstimate(
	arg_movingFundsTxHash [32]byte,
	arg_movingFundsTxOutputIndex uint32,
	arg_walletMembersIDs []uint32,
) (uint64, error)

func (*Bridge) NotifyMovingFundsBelowDust

func (b *Bridge) NotifyMovingFundsBelowDust(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) NotifyMovingFundsBelowDustGasEstimate

func (b *Bridge) NotifyMovingFundsBelowDustGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO,
) (uint64, error)

func (*Bridge) NotifyMovingFundsTimeout

func (b *Bridge) NotifyMovingFundsTimeout(
	arg_walletPubKeyHash [20]byte,
	arg_walletMembersIDs []uint32,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) NotifyMovingFundsTimeoutGasEstimate

func (b *Bridge) NotifyMovingFundsTimeoutGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_walletMembersIDs []uint32,
) (uint64, error)

func (*Bridge) NotifyRedemptionTimeout

func (b *Bridge) NotifyRedemptionTimeout(
	arg_walletPubKeyHash [20]byte,
	arg_walletMembersIDs []uint32,
	arg_redeemerOutputScript []byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) NotifyRedemptionTimeoutGasEstimate

func (b *Bridge) NotifyRedemptionTimeoutGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_walletMembersIDs []uint32,
	arg_redeemerOutputScript []byte,
) (uint64, error)

func (*Bridge) NotifyWalletCloseable

func (b *Bridge) NotifyWalletCloseable(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) NotifyWalletCloseableGasEstimate

func (b *Bridge) NotifyWalletCloseableGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO,
) (uint64, error)

func (*Bridge) NotifyWalletClosingPeriodElapsed

func (b *Bridge) NotifyWalletClosingPeriodElapsed(
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) NotifyWalletClosingPeriodElapsedGasEstimate

func (b *Bridge) NotifyWalletClosingPeriodElapsedGasEstimate(
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*Bridge) PastDepositParametersUpdatedEvents

func (b *Bridge) PastDepositParametersUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeDepositParametersUpdated, error)

func (*Bridge) PastDepositRevealedEvents

func (b *Bridge) PastDepositRevealedEvents(
	startBlock uint64,
	endBlock *uint64,
	depositorFilter []common.Address,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeDepositRevealed, error)

func (*Bridge) PastDepositsSweptEvents

func (b *Bridge) PastDepositsSweptEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeDepositsSwept, error)

func (*Bridge) PastFraudChallengeDefeatTimedOutEvents

func (b *Bridge) PastFraudChallengeDefeatTimedOutEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeFraudChallengeDefeatTimedOut, error)

func (*Bridge) PastFraudChallengeDefeatedEvents

func (b *Bridge) PastFraudChallengeDefeatedEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeFraudChallengeDefeated, error)

func (*Bridge) PastFraudChallengeSubmittedEvents

func (b *Bridge) PastFraudChallengeSubmittedEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeFraudChallengeSubmitted, error)

func (*Bridge) PastFraudParametersUpdatedEvents

func (b *Bridge) PastFraudParametersUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeFraudParametersUpdated, error)

func (*Bridge) PastGovernanceTransferredEvents

func (b *Bridge) PastGovernanceTransferredEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeGovernanceTransferred, error)

func (*Bridge) PastInitializedEvents

func (b *Bridge) PastInitializedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeInitialized, error)

func (*Bridge) PastMovedFundsSweepTimedOutEvents

func (b *Bridge) PastMovedFundsSweepTimedOutEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeMovedFundsSweepTimedOut, error)

func (*Bridge) PastMovedFundsSweptEvents

func (b *Bridge) PastMovedFundsSweptEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeMovedFundsSwept, error)

func (*Bridge) PastMovingFundsBelowDustReportedEvents

func (b *Bridge) PastMovingFundsBelowDustReportedEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeMovingFundsBelowDustReported, error)

func (*Bridge) PastMovingFundsCommitmentSubmittedEvents

func (b *Bridge) PastMovingFundsCommitmentSubmittedEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeMovingFundsCommitmentSubmitted, error)

func (*Bridge) PastMovingFundsCompletedEvents

func (b *Bridge) PastMovingFundsCompletedEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeMovingFundsCompleted, error)

func (*Bridge) PastMovingFundsParametersUpdatedEvents

func (b *Bridge) PastMovingFundsParametersUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeMovingFundsParametersUpdated, error)

func (*Bridge) PastMovingFundsTimedOutEvents

func (b *Bridge) PastMovingFundsTimedOutEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeMovingFundsTimedOut, error)

func (*Bridge) PastMovingFundsTimeoutResetEvents

func (b *Bridge) PastMovingFundsTimeoutResetEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeMovingFundsTimeoutReset, error)

func (*Bridge) PastNewWalletRegisteredEvents

func (b *Bridge) PastNewWalletRegisteredEvents(
	startBlock uint64,
	endBlock *uint64,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeNewWalletRegistered, error)

func (*Bridge) PastNewWalletRequestedEvents

func (b *Bridge) PastNewWalletRequestedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeNewWalletRequested, error)

func (*Bridge) PastRedemptionParametersUpdatedEvents

func (b *Bridge) PastRedemptionParametersUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeRedemptionParametersUpdated, error)

func (*Bridge) PastRedemptionRequestedEvents

func (b *Bridge) PastRedemptionRequestedEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
	redeemerFilter []common.Address,
) ([]*abi.BridgeRedemptionRequested, error)

func (*Bridge) PastRedemptionTimedOutEvents

func (b *Bridge) PastRedemptionTimedOutEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeRedemptionTimedOut, error)

func (*Bridge) PastRedemptionsCompletedEvents

func (b *Bridge) PastRedemptionsCompletedEvents(
	startBlock uint64,
	endBlock *uint64,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeRedemptionsCompleted, error)

func (*Bridge) PastSpvMaintainerStatusUpdatedEvents

func (b *Bridge) PastSpvMaintainerStatusUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
	spvMaintainerFilter []common.Address,
) ([]*abi.BridgeSpvMaintainerStatusUpdated, error)

func (*Bridge) PastTreasuryUpdatedEvents

func (b *Bridge) PastTreasuryUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeTreasuryUpdated, error)

func (*Bridge) PastVaultStatusUpdatedEvents

func (b *Bridge) PastVaultStatusUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
	vaultFilter []common.Address,
) ([]*abi.BridgeVaultStatusUpdated, error)

func (*Bridge) PastWalletClosedEvents

func (b *Bridge) PastWalletClosedEvents(
	startBlock uint64,
	endBlock *uint64,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeWalletClosed, error)

func (*Bridge) PastWalletClosingEvents

func (b *Bridge) PastWalletClosingEvents(
	startBlock uint64,
	endBlock *uint64,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeWalletClosing, error)

func (*Bridge) PastWalletMovingFundsEvents

func (b *Bridge) PastWalletMovingFundsEvents(
	startBlock uint64,
	endBlock *uint64,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeWalletMovingFunds, error)

func (*Bridge) PastWalletParametersUpdatedEvents

func (b *Bridge) PastWalletParametersUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.BridgeWalletParametersUpdated, error)

func (*Bridge) PastWalletTerminatedEvents

func (b *Bridge) PastWalletTerminatedEvents(
	startBlock uint64,
	endBlock *uint64,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) ([]*abi.BridgeWalletTerminated, error)

func (*Bridge) PendingRedemptions

func (b *Bridge) PendingRedemptions(
	arg_redemptionKey *big.Int,
) (abi.RedemptionRedemptionRequest, error)

func (*Bridge) PendingRedemptionsAtBlock

func (b *Bridge) PendingRedemptionsAtBlock(
	arg_redemptionKey *big.Int,
	blockNumber *big.Int,
) (abi.RedemptionRedemptionRequest, error)

func (*Bridge) ReceiveBalanceApproval

func (b *Bridge) ReceiveBalanceApproval(
	arg_balanceOwner common.Address,
	arg_amount *big.Int,
	arg_redemptionData []byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) ReceiveBalanceApprovalGasEstimate

func (b *Bridge) ReceiveBalanceApprovalGasEstimate(
	arg_balanceOwner common.Address,
	arg_amount *big.Int,
	arg_redemptionData []byte,
) (uint64, error)

func (*Bridge) RedemptionParameters

func (b *Bridge) RedemptionParameters() (redemptionParameters, error)

func (*Bridge) RedemptionParametersAtBlock

func (b *Bridge) RedemptionParametersAtBlock(
	blockNumber *big.Int,
) (redemptionParameters, error)

func (*Bridge) RedemptionParametersUpdatedEvent

func (b *Bridge) RedemptionParametersUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *BRedemptionParametersUpdatedSubscription

func (*Bridge) RedemptionRequestedEvent

func (b *Bridge) RedemptionRequestedEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
	redeemerFilter []common.Address,
) *BRedemptionRequestedSubscription

func (*Bridge) RedemptionTimedOutEvent

func (b *Bridge) RedemptionTimedOutEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BRedemptionTimedOutSubscription

func (*Bridge) RedemptionsCompletedEvent

func (b *Bridge) RedemptionsCompletedEvent(
	opts *ethereum.SubscribeOpts,
	walletPubKeyHashFilter [][20]byte,
) *BRedemptionsCompletedSubscription

func (*Bridge) RequestNewWallet

func (b *Bridge) RequestNewWallet(
	arg_activeWalletMainUtxo abi.BitcoinTxUTXO,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) RequestNewWalletGasEstimate

func (b *Bridge) RequestNewWalletGasEstimate(
	arg_activeWalletMainUtxo abi.BitcoinTxUTXO,
) (uint64, error)

func (*Bridge) RequestRedemption

func (b *Bridge) RequestRedemption(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_redeemerOutputScript []byte,
	arg_amount uint64,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) RequestRedemptionGasEstimate

func (b *Bridge) RequestRedemptionGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_redeemerOutputScript []byte,
	arg_amount uint64,
) (uint64, error)

func (*Bridge) ResetMovingFundsTimeout

func (b *Bridge) ResetMovingFundsTimeout(
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) ResetMovingFundsTimeoutGasEstimate

func (b *Bridge) ResetMovingFundsTimeoutGasEstimate(
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*Bridge) RevealDeposit

func (b *Bridge) RevealDeposit(
	arg_fundingTx abi.BitcoinTxInfo,
	arg_reveal abi.DepositDepositRevealInfo,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) RevealDepositGasEstimate

func (b *Bridge) RevealDepositGasEstimate(
	arg_fundingTx abi.BitcoinTxInfo,
	arg_reveal abi.DepositDepositRevealInfo,
) (uint64, error)

func (*Bridge) RevealDepositWithExtraData

func (b *Bridge) RevealDepositWithExtraData(
	arg_fundingTx abi.BitcoinTxInfo,
	arg_reveal abi.DepositDepositRevealInfo,
	arg_extraData [32]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) RevealDepositWithExtraDataGasEstimate

func (b *Bridge) RevealDepositWithExtraDataGasEstimate(
	arg_fundingTx abi.BitcoinTxInfo,
	arg_reveal abi.DepositDepositRevealInfo,
	arg_extraData [32]byte,
) (uint64, error)

func (*Bridge) SetSpvMaintainerStatus

func (b *Bridge) SetSpvMaintainerStatus(
	arg_spvMaintainer common.Address,
	arg_isTrusted bool,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SetSpvMaintainerStatusGasEstimate

func (b *Bridge) SetSpvMaintainerStatusGasEstimate(
	arg_spvMaintainer common.Address,
	arg_isTrusted bool,
) (uint64, error)

func (*Bridge) SetVaultStatus

func (b *Bridge) SetVaultStatus(
	arg_vault common.Address,
	arg_isTrusted bool,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SetVaultStatusGasEstimate

func (b *Bridge) SetVaultStatusGasEstimate(
	arg_vault common.Address,
	arg_isTrusted bool,
) (uint64, error)

func (*Bridge) SpentMainUTXOs

func (b *Bridge) SpentMainUTXOs(
	arg_utxoKey *big.Int,
) (bool, error)

func (*Bridge) SpentMainUTXOsAtBlock

func (b *Bridge) SpentMainUTXOsAtBlock(
	arg_utxoKey *big.Int,
	blockNumber *big.Int,
) (bool, error)

func (*Bridge) SpvMaintainerStatusUpdatedEvent

func (b *Bridge) SpvMaintainerStatusUpdatedEvent(
	opts *ethereum.SubscribeOpts,
	spvMaintainerFilter []common.Address,
) *BSpvMaintainerStatusUpdatedSubscription

func (*Bridge) SubmitDepositSweepProof

func (b *Bridge) SubmitDepositSweepProof(
	arg_sweepTx abi.BitcoinTxInfo,
	arg_sweepProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_vault common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SubmitDepositSweepProofGasEstimate

func (b *Bridge) SubmitDepositSweepProofGasEstimate(
	arg_sweepTx abi.BitcoinTxInfo,
	arg_sweepProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_vault common.Address,
) (uint64, error)

func (*Bridge) SubmitFraudChallenge

func (b *Bridge) SubmitFraudChallenge(
	arg_walletPublicKey []byte,
	arg_preimageSha256 []byte,
	arg_signature abi.BitcoinTxRSVSignature,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SubmitFraudChallengeGasEstimate

func (b *Bridge) SubmitFraudChallengeGasEstimate(
	arg_walletPublicKey []byte,
	arg_preimageSha256 []byte,
	arg_signature abi.BitcoinTxRSVSignature,
) (uint64, error)

func (*Bridge) SubmitMovedFundsSweepProof

func (b *Bridge) SubmitMovedFundsSweepProof(
	arg_sweepTx abi.BitcoinTxInfo,
	arg_sweepProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SubmitMovedFundsSweepProofGasEstimate

func (b *Bridge) SubmitMovedFundsSweepProofGasEstimate(
	arg_sweepTx abi.BitcoinTxInfo,
	arg_sweepProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
) (uint64, error)

func (*Bridge) SubmitMovingFundsCommitment

func (b *Bridge) SubmitMovingFundsCommitment(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO,
	arg_walletMembersIDs []uint32,
	arg_walletMemberIndex *big.Int,
	arg_targetWallets [][20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SubmitMovingFundsCommitmentGasEstimate

func (b *Bridge) SubmitMovingFundsCommitmentGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO,
	arg_walletMembersIDs []uint32,
	arg_walletMemberIndex *big.Int,
	arg_targetWallets [][20]byte,
) (uint64, error)

func (*Bridge) SubmitMovingFundsProof

func (b *Bridge) SubmitMovingFundsProof(
	arg_movingFundsTx abi.BitcoinTxInfo,
	arg_movingFundsProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SubmitMovingFundsProofGasEstimate

func (b *Bridge) SubmitMovingFundsProofGasEstimate(
	arg_movingFundsTx abi.BitcoinTxInfo,
	arg_movingFundsProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*Bridge) SubmitRedemptionProof

func (b *Bridge) SubmitRedemptionProof(
	arg_redemptionTx abi.BitcoinTxInfo,
	arg_redemptionProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) SubmitRedemptionProofGasEstimate

func (b *Bridge) SubmitRedemptionProofGasEstimate(
	arg_redemptionTx abi.BitcoinTxInfo,
	arg_redemptionProof abi.BitcoinTxProof,
	arg_mainUtxo abi.BitcoinTxUTXO,
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*Bridge) TimedOutRedemptions

func (b *Bridge) TimedOutRedemptions(
	arg_redemptionKey *big.Int,
) (abi.RedemptionRedemptionRequest, error)

func (*Bridge) TimedOutRedemptionsAtBlock

func (b *Bridge) TimedOutRedemptionsAtBlock(
	arg_redemptionKey *big.Int,
	blockNumber *big.Int,
) (abi.RedemptionRedemptionRequest, error)

func (*Bridge) TransferGovernance

func (b *Bridge) TransferGovernance(
	arg_newGovernance common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) TransferGovernanceGasEstimate

func (b *Bridge) TransferGovernanceGasEstimate(
	arg_newGovernance common.Address,
) (uint64, error)

func (*Bridge) Treasury

func (b *Bridge) Treasury() (common.Address, error)

func (*Bridge) TreasuryAtBlock

func (b *Bridge) TreasuryAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*Bridge) TreasuryUpdatedEvent

func (b *Bridge) TreasuryUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *BTreasuryUpdatedSubscription

func (*Bridge) TxProofDifficultyFactor

func (b *Bridge) TxProofDifficultyFactor() (*big.Int, error)

func (*Bridge) TxProofDifficultyFactorAtBlock

func (b *Bridge) TxProofDifficultyFactorAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*Bridge) UpdateDepositParameters

func (b *Bridge) UpdateDepositParameters(
	arg_depositDustThreshold uint64,
	arg_depositTreasuryFeeDivisor uint64,
	arg_depositTxMaxFee uint64,
	arg_depositRevealAheadPeriod uint32,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) UpdateDepositParametersGasEstimate

func (b *Bridge) UpdateDepositParametersGasEstimate(
	arg_depositDustThreshold uint64,
	arg_depositTreasuryFeeDivisor uint64,
	arg_depositTxMaxFee uint64,
	arg_depositRevealAheadPeriod uint32,
) (uint64, error)

func (*Bridge) UpdateFraudParameters

func (b *Bridge) UpdateFraudParameters(
	arg_fraudChallengeDepositAmount *big.Int,
	arg_fraudChallengeDefeatTimeout uint32,
	arg_fraudSlashingAmount *big.Int,
	arg_fraudNotifierRewardMultiplier uint32,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) UpdateFraudParametersGasEstimate

func (b *Bridge) UpdateFraudParametersGasEstimate(
	arg_fraudChallengeDepositAmount *big.Int,
	arg_fraudChallengeDefeatTimeout uint32,
	arg_fraudSlashingAmount *big.Int,
	arg_fraudNotifierRewardMultiplier uint32,
) (uint64, error)

func (*Bridge) UpdateMovingFundsParameters

func (b *Bridge) UpdateMovingFundsParameters(
	arg_movingFundsTxMaxTotalFee uint64,
	arg_movingFundsDustThreshold uint64,
	arg_movingFundsTimeoutResetDelay uint32,
	arg_movingFundsTimeout uint32,
	arg_movingFundsTimeoutSlashingAmount *big.Int,
	arg_movingFundsTimeoutNotifierRewardMultiplier uint32,
	arg_movingFundsCommitmentGasOffset uint16,
	arg_movedFundsSweepTxMaxTotalFee uint64,
	arg_movedFundsSweepTimeout uint32,
	arg_movedFundsSweepTimeoutSlashingAmount *big.Int,
	arg_movedFundsSweepTimeoutNotifierRewardMultiplier uint32,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) UpdateMovingFundsParametersGasEstimate

func (b *Bridge) UpdateMovingFundsParametersGasEstimate(
	arg_movingFundsTxMaxTotalFee uint64,
	arg_movingFundsDustThreshold uint64,
	arg_movingFundsTimeoutResetDelay uint32,
	arg_movingFundsTimeout uint32,
	arg_movingFundsTimeoutSlashingAmount *big.Int,
	arg_movingFundsTimeoutNotifierRewardMultiplier uint32,
	arg_movingFundsCommitmentGasOffset uint16,
	arg_movedFundsSweepTxMaxTotalFee uint64,
	arg_movedFundsSweepTimeout uint32,
	arg_movedFundsSweepTimeoutSlashingAmount *big.Int,
	arg_movedFundsSweepTimeoutNotifierRewardMultiplier uint32,
) (uint64, error)

func (*Bridge) UpdateRedemptionParameters

func (b *Bridge) UpdateRedemptionParameters(
	arg_redemptionDustThreshold uint64,
	arg_redemptionTreasuryFeeDivisor uint64,
	arg_redemptionTxMaxFee uint64,
	arg_redemptionTxMaxTotalFee uint64,
	arg_redemptionTimeout uint32,
	arg_redemptionTimeoutSlashingAmount *big.Int,
	arg_redemptionTimeoutNotifierRewardMultiplier uint32,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) UpdateRedemptionParametersGasEstimate

func (b *Bridge) UpdateRedemptionParametersGasEstimate(
	arg_redemptionDustThreshold uint64,
	arg_redemptionTreasuryFeeDivisor uint64,
	arg_redemptionTxMaxFee uint64,
	arg_redemptionTxMaxTotalFee uint64,
	arg_redemptionTimeout uint32,
	arg_redemptionTimeoutSlashingAmount *big.Int,
	arg_redemptionTimeoutNotifierRewardMultiplier uint32,
) (uint64, error)

func (*Bridge) UpdateTreasury

func (b *Bridge) UpdateTreasury(
	arg_treasury common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) UpdateTreasuryGasEstimate

func (b *Bridge) UpdateTreasuryGasEstimate(
	arg_treasury common.Address,
) (uint64, error)

func (*Bridge) UpdateWalletParameters

func (b *Bridge) UpdateWalletParameters(
	arg_walletCreationPeriod uint32,
	arg_walletCreationMinBtcBalance uint64,
	arg_walletCreationMaxBtcBalance uint64,
	arg_walletClosureMinBtcBalance uint64,
	arg_walletMaxAge uint32,
	arg_walletMaxBtcTransfer uint64,
	arg_walletClosingPeriod uint32,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*Bridge) UpdateWalletParametersGasEstimate

func (b *Bridge) UpdateWalletParametersGasEstimate(
	arg_walletCreationPeriod uint32,
	arg_walletCreationMinBtcBalance uint64,
	arg_walletCreationMaxBtcBalance uint64,
	arg_walletClosureMinBtcBalance uint64,
	arg_walletMaxAge uint32,
	arg_walletMaxBtcTransfer uint64,
	arg_walletClosingPeriod uint32,
) (uint64, error)

func (*Bridge) VaultStatusUpdatedEvent

func (b *Bridge) VaultStatusUpdatedEvent(
	opts *ethereum.SubscribeOpts,
	vaultFilter []common.Address,
) *BVaultStatusUpdatedSubscription

func (*Bridge) WalletClosedEvent

func (b *Bridge) WalletClosedEvent(
	opts *ethereum.SubscribeOpts,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) *BWalletClosedSubscription

func (*Bridge) WalletClosingEvent

func (b *Bridge) WalletClosingEvent(
	opts *ethereum.SubscribeOpts,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) *BWalletClosingSubscription

func (*Bridge) WalletMovingFundsEvent

func (b *Bridge) WalletMovingFundsEvent(
	opts *ethereum.SubscribeOpts,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) *BWalletMovingFundsSubscription

func (*Bridge) WalletParameters

func (b *Bridge) WalletParameters() (walletParameters, error)

func (*Bridge) WalletParametersAtBlock

func (b *Bridge) WalletParametersAtBlock(
	blockNumber *big.Int,
) (walletParameters, error)

func (*Bridge) WalletParametersUpdatedEvent

func (b *Bridge) WalletParametersUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *BWalletParametersUpdatedSubscription

func (*Bridge) WalletTerminatedEvent

func (b *Bridge) WalletTerminatedEvent(
	opts *ethereum.SubscribeOpts,
	ecdsaWalletIDFilter [][32]byte,
	walletPubKeyHashFilter [][20]byte,
) *BWalletTerminatedSubscription

func (*Bridge) Wallets

func (b *Bridge) Wallets(
	arg_walletPubKeyHash [20]byte,
) (abi.WalletsWallet, error)

func (*Bridge) WalletsAtBlock

func (b *Bridge) WalletsAtBlock(
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) (abi.WalletsWallet, error)

type CurrentAndPrevEpochDifficulty

type CurrentAndPrevEpochDifficulty struct {
	Current  *big.Int
	Previous *big.Int
}

type LightRelay

type LightRelay struct {
	// contains filtered or unexported fields
}

func NewLightRelay

func NewLightRelay(
	contractAddress common.Address,
	chainId *big.Int,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethereum.NonceManager,
	miningWaiter *chainutil.MiningWaiter,
	blockCounter *ethereum.BlockCounter,
	transactionMutex *sync.Mutex,
) (*LightRelay, error)

func (*LightRelay) AuthorizationRequired

func (lr *LightRelay) AuthorizationRequired() (bool, error)

func (*LightRelay) AuthorizationRequiredAtBlock

func (lr *LightRelay) AuthorizationRequiredAtBlock(
	blockNumber *big.Int,
) (bool, error)

func (*LightRelay) AuthorizationRequirementChangedEvent

func (lr *LightRelay) AuthorizationRequirementChangedEvent(
	opts *ethereum.SubscribeOpts,
) *LrAuthorizationRequirementChangedSubscription

func (*LightRelay) Authorize

func (lr *LightRelay) Authorize(
	arg_submitter common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) AuthorizeGasEstimate

func (lr *LightRelay) AuthorizeGasEstimate(
	arg_submitter common.Address,
) (uint64, error)

func (*LightRelay) CallAuthorize

func (lr *LightRelay) CallAuthorize(
	arg_submitter common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CallDeauthorize

func (lr *LightRelay) CallDeauthorize(
	arg_submitter common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CallGenesis

func (lr *LightRelay) CallGenesis(
	arg_genesisHeader []byte,
	arg_genesisHeight *big.Int,
	arg_genesisProofLength uint64,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CallRenounceOwnership

func (lr *LightRelay) CallRenounceOwnership(
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CallRetarget

func (lr *LightRelay) CallRetarget(
	arg_headers []byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CallSetAuthorizationStatus

func (lr *LightRelay) CallSetAuthorizationStatus(
	arg_status bool,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CallSetProofLength

func (lr *LightRelay) CallSetProofLength(
	arg_newLength uint64,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CallTransferOwnership

func (lr *LightRelay) CallTransferOwnership(
	arg_newOwner common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelay) CurrentEpoch

func (lr *LightRelay) CurrentEpoch() (uint64, error)

func (*LightRelay) CurrentEpochAtBlock

func (lr *LightRelay) CurrentEpochAtBlock(
	blockNumber *big.Int,
) (uint64, error)

func (*LightRelay) Deauthorize

func (lr *LightRelay) Deauthorize(
	arg_submitter common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) DeauthorizeGasEstimate

func (lr *LightRelay) DeauthorizeGasEstimate(
	arg_submitter common.Address,
) (uint64, error)

func (*LightRelay) Genesis

func (lr *LightRelay) Genesis(
	arg_genesisHeader []byte,
	arg_genesisHeight *big.Int,
	arg_genesisProofLength uint64,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) GenesisEpoch

func (lr *LightRelay) GenesisEpoch() (uint64, error)

func (*LightRelay) GenesisEpochAtBlock

func (lr *LightRelay) GenesisEpochAtBlock(
	blockNumber *big.Int,
) (uint64, error)

func (*LightRelay) GenesisEvent

func (lr *LightRelay) GenesisEvent(
	opts *ethereum.SubscribeOpts,
) *LrGenesisSubscription

func (*LightRelay) GenesisGasEstimate

func (lr *LightRelay) GenesisGasEstimate(
	arg_genesisHeader []byte,
	arg_genesisHeight *big.Int,
	arg_genesisProofLength uint64,
) (uint64, error)

func (*LightRelay) GetBlockDifficulty

func (lr *LightRelay) GetBlockDifficulty(
	arg_blockNumber *big.Int,
) (*big.Int, error)

func (*LightRelay) GetBlockDifficultyAtBlock

func (lr *LightRelay) GetBlockDifficultyAtBlock(
	arg_blockNumber *big.Int,
	blockNumber *big.Int,
) (*big.Int, error)

func (*LightRelay) GetCurrentAndPrevEpochDifficulty

func (lr *LightRelay) GetCurrentAndPrevEpochDifficulty() (CurrentAndPrevEpochDifficulty, error)

func (*LightRelay) GetCurrentAndPrevEpochDifficultyAtBlock

func (lr *LightRelay) GetCurrentAndPrevEpochDifficultyAtBlock(
	blockNumber *big.Int,
) (CurrentAndPrevEpochDifficulty, error)

func (*LightRelay) GetCurrentEpochDifficulty

func (lr *LightRelay) GetCurrentEpochDifficulty() (*big.Int, error)

func (*LightRelay) GetCurrentEpochDifficultyAtBlock

func (lr *LightRelay) GetCurrentEpochDifficultyAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*LightRelay) GetEpochDifficulty

func (lr *LightRelay) GetEpochDifficulty(
	arg_epochNumber *big.Int,
) (*big.Int, error)

func (*LightRelay) GetEpochDifficultyAtBlock

func (lr *LightRelay) GetEpochDifficultyAtBlock(
	arg_epochNumber *big.Int,
	blockNumber *big.Int,
) (*big.Int, error)

func (*LightRelay) GetPrevEpochDifficulty

func (lr *LightRelay) GetPrevEpochDifficulty() (*big.Int, error)

func (*LightRelay) GetPrevEpochDifficultyAtBlock

func (lr *LightRelay) GetPrevEpochDifficultyAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*LightRelay) GetRelayRange

func (lr *LightRelay) GetRelayRange() (RelayRange, error)

func (*LightRelay) GetRelayRangeAtBlock

func (lr *LightRelay) GetRelayRangeAtBlock(
	blockNumber *big.Int,
) (RelayRange, error)

func (*LightRelay) IsAuthorized

func (lr *LightRelay) IsAuthorized(
	arg0 common.Address,
) (bool, error)

func (*LightRelay) IsAuthorizedAtBlock

func (lr *LightRelay) IsAuthorizedAtBlock(
	arg0 common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*LightRelay) Owner

func (lr *LightRelay) Owner() (common.Address, error)

func (*LightRelay) OwnerAtBlock

func (lr *LightRelay) OwnerAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*LightRelay) OwnershipTransferredEvent

func (lr *LightRelay) OwnershipTransferredEvent(
	opts *ethereum.SubscribeOpts,
	previousOwnerFilter []common.Address,
	newOwnerFilter []common.Address,
) *LrOwnershipTransferredSubscription

func (*LightRelay) PastAuthorizationRequirementChangedEvents

func (lr *LightRelay) PastAuthorizationRequirementChangedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelayAuthorizationRequirementChanged, error)

func (*LightRelay) PastGenesisEvents

func (lr *LightRelay) PastGenesisEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelayGenesis, error)

func (*LightRelay) PastOwnershipTransferredEvents

func (lr *LightRelay) PastOwnershipTransferredEvents(
	startBlock uint64,
	endBlock *uint64,
	previousOwnerFilter []common.Address,
	newOwnerFilter []common.Address,
) ([]*abi.LightRelayOwnershipTransferred, error)

func (*LightRelay) PastProofLengthChangedEvents

func (lr *LightRelay) PastProofLengthChangedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelayProofLengthChanged, error)

func (*LightRelay) PastRetargetEvents

func (lr *LightRelay) PastRetargetEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelayRetarget, error)

func (*LightRelay) PastSubmitterAuthorizedEvents

func (lr *LightRelay) PastSubmitterAuthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelaySubmitterAuthorized, error)

func (*LightRelay) PastSubmitterDeauthorizedEvents

func (lr *LightRelay) PastSubmitterDeauthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelaySubmitterDeauthorized, error)

func (*LightRelay) ProofLength

func (lr *LightRelay) ProofLength() (uint64, error)

func (*LightRelay) ProofLengthAtBlock

func (lr *LightRelay) ProofLengthAtBlock(
	blockNumber *big.Int,
) (uint64, error)

func (*LightRelay) ProofLengthChangedEvent

func (lr *LightRelay) ProofLengthChangedEvent(
	opts *ethereum.SubscribeOpts,
) *LrProofLengthChangedSubscription

func (*LightRelay) Ready

func (lr *LightRelay) Ready() (bool, error)

func (*LightRelay) ReadyAtBlock

func (lr *LightRelay) ReadyAtBlock(
	blockNumber *big.Int,
) (bool, error)

func (*LightRelay) RenounceOwnership

func (lr *LightRelay) RenounceOwnership(

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) RenounceOwnershipGasEstimate

func (lr *LightRelay) RenounceOwnershipGasEstimate() (uint64, error)

func (*LightRelay) Retarget

func (lr *LightRelay) Retarget(
	arg_headers []byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) RetargetEvent

func (lr *LightRelay) RetargetEvent(
	opts *ethereum.SubscribeOpts,
) *LrRetargetSubscription

func (*LightRelay) RetargetGasEstimate

func (lr *LightRelay) RetargetGasEstimate(
	arg_headers []byte,
) (uint64, error)

func (*LightRelay) SetAuthorizationStatus

func (lr *LightRelay) SetAuthorizationStatus(
	arg_status bool,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) SetAuthorizationStatusGasEstimate

func (lr *LightRelay) SetAuthorizationStatusGasEstimate(
	arg_status bool,
) (uint64, error)

func (*LightRelay) SetProofLength

func (lr *LightRelay) SetProofLength(
	arg_newLength uint64,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) SetProofLengthGasEstimate

func (lr *LightRelay) SetProofLengthGasEstimate(
	arg_newLength uint64,
) (uint64, error)

func (*LightRelay) SubmitterAuthorizedEvent

func (lr *LightRelay) SubmitterAuthorizedEvent(
	opts *ethereum.SubscribeOpts,
) *LrSubmitterAuthorizedSubscription

func (*LightRelay) SubmitterDeauthorizedEvent

func (lr *LightRelay) SubmitterDeauthorizedEvent(
	opts *ethereum.SubscribeOpts,
) *LrSubmitterDeauthorizedSubscription

func (*LightRelay) TransferOwnership

func (lr *LightRelay) TransferOwnership(
	arg_newOwner common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelay) TransferOwnershipGasEstimate

func (lr *LightRelay) TransferOwnershipGasEstimate(
	arg_newOwner common.Address,
) (uint64, error)

func (*LightRelay) ValidateChain

func (lr *LightRelay) ValidateChain(
	arg_headers []byte,
) (validateChain, error)

func (*LightRelay) ValidateChainAtBlock

func (lr *LightRelay) ValidateChainAtBlock(
	arg_headers []byte,
	blockNumber *big.Int,
) (validateChain, error)

type LightRelayMaintainerProxy

type LightRelayMaintainerProxy struct {
	// contains filtered or unexported fields
}

func NewLightRelayMaintainerProxy

func NewLightRelayMaintainerProxy(
	contractAddress common.Address,
	chainId *big.Int,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethereum.NonceManager,
	miningWaiter *chainutil.MiningWaiter,
	blockCounter *ethereum.BlockCounter,
	transactionMutex *sync.Mutex,
) (*LightRelayMaintainerProxy, error)

func (*LightRelayMaintainerProxy) Authorize

func (lrmp *LightRelayMaintainerProxy) Authorize(
	arg_maintainer common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) AuthorizeGasEstimate

func (lrmp *LightRelayMaintainerProxy) AuthorizeGasEstimate(
	arg_maintainer common.Address,
) (uint64, error)

func (*LightRelayMaintainerProxy) CallAuthorize

func (lrmp *LightRelayMaintainerProxy) CallAuthorize(
	arg_maintainer common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) CallDeauthorize

func (lrmp *LightRelayMaintainerProxy) CallDeauthorize(
	arg_maintainer common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) CallRenounceOwnership

func (lrmp *LightRelayMaintainerProxy) CallRenounceOwnership(
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) CallRetarget

func (lrmp *LightRelayMaintainerProxy) CallRetarget(
	arg_headers []byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) CallTransferOwnership

func (lrmp *LightRelayMaintainerProxy) CallTransferOwnership(
	arg_newOwner common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) CallUpdateLightRelay

func (lrmp *LightRelayMaintainerProxy) CallUpdateLightRelay(
	arg__lightRelay common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) CallUpdateReimbursementPool

func (lrmp *LightRelayMaintainerProxy) CallUpdateReimbursementPool(
	arg__reimbursementPool common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) CallUpdateRetargetGasOffset

func (lrmp *LightRelayMaintainerProxy) CallUpdateRetargetGasOffset(
	arg_newRetargetGasOffset *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*LightRelayMaintainerProxy) Deauthorize

func (lrmp *LightRelayMaintainerProxy) Deauthorize(
	arg_maintainer common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) DeauthorizeGasEstimate

func (lrmp *LightRelayMaintainerProxy) DeauthorizeGasEstimate(
	arg_maintainer common.Address,
) (uint64, error)

func (*LightRelayMaintainerProxy) IsAuthorized

func (lrmp *LightRelayMaintainerProxy) IsAuthorized(
	arg0 common.Address,
) (bool, error)

func (*LightRelayMaintainerProxy) IsAuthorizedAtBlock

func (lrmp *LightRelayMaintainerProxy) IsAuthorizedAtBlock(
	arg0 common.Address,
	blockNumber *big.Int,
) (bool, error)

func (*LightRelayMaintainerProxy) LightRelay

func (lrmp *LightRelayMaintainerProxy) LightRelay() (common.Address, error)

func (*LightRelayMaintainerProxy) LightRelayAtBlock

func (lrmp *LightRelayMaintainerProxy) LightRelayAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*LightRelayMaintainerProxy) LightRelayUpdatedEvent

func (*LightRelayMaintainerProxy) MaintainerAuthorizedEvent

func (lrmp *LightRelayMaintainerProxy) MaintainerAuthorizedEvent(
	opts *ethereum.SubscribeOpts,
	maintainerFilter []common.Address,
) *LrmpMaintainerAuthorizedSubscription

func (*LightRelayMaintainerProxy) MaintainerDeauthorizedEvent

func (lrmp *LightRelayMaintainerProxy) MaintainerDeauthorizedEvent(
	opts *ethereum.SubscribeOpts,
	maintainerFilter []common.Address,
) *LrmpMaintainerDeauthorizedSubscription

func (*LightRelayMaintainerProxy) Owner

func (lrmp *LightRelayMaintainerProxy) Owner() (common.Address, error)

func (*LightRelayMaintainerProxy) OwnerAtBlock

func (lrmp *LightRelayMaintainerProxy) OwnerAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*LightRelayMaintainerProxy) OwnershipTransferredEvent

func (lrmp *LightRelayMaintainerProxy) OwnershipTransferredEvent(
	opts *ethereum.SubscribeOpts,
	previousOwnerFilter []common.Address,
	newOwnerFilter []common.Address,
) *LrmpOwnershipTransferredSubscription

func (*LightRelayMaintainerProxy) PastLightRelayUpdatedEvents

func (lrmp *LightRelayMaintainerProxy) PastLightRelayUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelayMaintainerProxyLightRelayUpdated, error)

func (*LightRelayMaintainerProxy) PastMaintainerAuthorizedEvents

func (lrmp *LightRelayMaintainerProxy) PastMaintainerAuthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
	maintainerFilter []common.Address,
) ([]*abi.LightRelayMaintainerProxyMaintainerAuthorized, error)

func (*LightRelayMaintainerProxy) PastMaintainerDeauthorizedEvents

func (lrmp *LightRelayMaintainerProxy) PastMaintainerDeauthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
	maintainerFilter []common.Address,
) ([]*abi.LightRelayMaintainerProxyMaintainerDeauthorized, error)

func (*LightRelayMaintainerProxy) PastOwnershipTransferredEvents

func (lrmp *LightRelayMaintainerProxy) PastOwnershipTransferredEvents(
	startBlock uint64,
	endBlock *uint64,
	previousOwnerFilter []common.Address,
	newOwnerFilter []common.Address,
) ([]*abi.LightRelayMaintainerProxyOwnershipTransferred, error)

func (*LightRelayMaintainerProxy) PastReimbursementPoolUpdatedEvents

func (lrmp *LightRelayMaintainerProxy) PastReimbursementPoolUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelayMaintainerProxyReimbursementPoolUpdated, error)

func (*LightRelayMaintainerProxy) PastRetargetGasOffsetUpdatedEvents

func (lrmp *LightRelayMaintainerProxy) PastRetargetGasOffsetUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.LightRelayMaintainerProxyRetargetGasOffsetUpdated, error)

func (*LightRelayMaintainerProxy) ReimbursementPool

func (lrmp *LightRelayMaintainerProxy) ReimbursementPool() (common.Address, error)

func (*LightRelayMaintainerProxy) ReimbursementPoolAtBlock

func (lrmp *LightRelayMaintainerProxy) ReimbursementPoolAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*LightRelayMaintainerProxy) ReimbursementPoolUpdatedEvent

func (lrmp *LightRelayMaintainerProxy) ReimbursementPoolUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *LrmpReimbursementPoolUpdatedSubscription

func (*LightRelayMaintainerProxy) RenounceOwnership

func (lrmp *LightRelayMaintainerProxy) RenounceOwnership(

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) RenounceOwnershipGasEstimate

func (lrmp *LightRelayMaintainerProxy) RenounceOwnershipGasEstimate() (uint64, error)

func (*LightRelayMaintainerProxy) Retarget

func (lrmp *LightRelayMaintainerProxy) Retarget(
	arg_headers []byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) RetargetGasEstimate

func (lrmp *LightRelayMaintainerProxy) RetargetGasEstimate(
	arg_headers []byte,
) (uint64, error)

func (*LightRelayMaintainerProxy) RetargetGasOffset

func (lrmp *LightRelayMaintainerProxy) RetargetGasOffset() (*big.Int, error)

func (*LightRelayMaintainerProxy) RetargetGasOffsetAtBlock

func (lrmp *LightRelayMaintainerProxy) RetargetGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*LightRelayMaintainerProxy) RetargetGasOffsetUpdatedEvent

func (lrmp *LightRelayMaintainerProxy) RetargetGasOffsetUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *LrmpRetargetGasOffsetUpdatedSubscription

func (*LightRelayMaintainerProxy) TransferOwnership

func (lrmp *LightRelayMaintainerProxy) TransferOwnership(
	arg_newOwner common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) TransferOwnershipGasEstimate

func (lrmp *LightRelayMaintainerProxy) TransferOwnershipGasEstimate(
	arg_newOwner common.Address,
) (uint64, error)

func (*LightRelayMaintainerProxy) UpdateLightRelay

func (lrmp *LightRelayMaintainerProxy) UpdateLightRelay(
	arg__lightRelay common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) UpdateLightRelayGasEstimate

func (lrmp *LightRelayMaintainerProxy) UpdateLightRelayGasEstimate(
	arg__lightRelay common.Address,
) (uint64, error)

func (*LightRelayMaintainerProxy) UpdateReimbursementPool

func (lrmp *LightRelayMaintainerProxy) UpdateReimbursementPool(
	arg__reimbursementPool common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) UpdateReimbursementPoolGasEstimate

func (lrmp *LightRelayMaintainerProxy) UpdateReimbursementPoolGasEstimate(
	arg__reimbursementPool common.Address,
) (uint64, error)

func (*LightRelayMaintainerProxy) UpdateRetargetGasOffset

func (lrmp *LightRelayMaintainerProxy) UpdateRetargetGasOffset(
	arg_newRetargetGasOffset *big.Int,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*LightRelayMaintainerProxy) UpdateRetargetGasOffsetGasEstimate

func (lrmp *LightRelayMaintainerProxy) UpdateRetargetGasOffsetGasEstimate(
	arg_newRetargetGasOffset *big.Int,
) (uint64, error)

type LrAuthorizationRequirementChangedSubscription

type LrAuthorizationRequirementChangedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrAuthorizationRequirementChangedSubscription) OnEvent

func (arcs *LrAuthorizationRequirementChangedSubscription) OnEvent(
	handler lightRelayAuthorizationRequirementChangedFunc,
) subscription.EventSubscription

func (*LrAuthorizationRequirementChangedSubscription) Pipe

type LrGenesisSubscription

type LrGenesisSubscription struct {
	// contains filtered or unexported fields
}

func (*LrGenesisSubscription) OnEvent

func (gs *LrGenesisSubscription) OnEvent(
	handler lightRelayGenesisFunc,
) subscription.EventSubscription

func (*LrGenesisSubscription) Pipe

type LrOwnershipTransferredSubscription

type LrOwnershipTransferredSubscription struct {
	// contains filtered or unexported fields
}

func (*LrOwnershipTransferredSubscription) OnEvent

func (ots *LrOwnershipTransferredSubscription) OnEvent(
	handler lightRelayOwnershipTransferredFunc,
) subscription.EventSubscription

func (*LrOwnershipTransferredSubscription) Pipe

type LrProofLengthChangedSubscription

type LrProofLengthChangedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrProofLengthChangedSubscription) OnEvent

func (plcs *LrProofLengthChangedSubscription) OnEvent(
	handler lightRelayProofLengthChangedFunc,
) subscription.EventSubscription

func (*LrProofLengthChangedSubscription) Pipe

type LrRetargetSubscription

type LrRetargetSubscription struct {
	// contains filtered or unexported fields
}

func (*LrRetargetSubscription) OnEvent

func (rs *LrRetargetSubscription) OnEvent(
	handler lightRelayRetargetFunc,
) subscription.EventSubscription

func (*LrRetargetSubscription) Pipe

type LrSubmitterAuthorizedSubscription

type LrSubmitterAuthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrSubmitterAuthorizedSubscription) OnEvent

func (sas *LrSubmitterAuthorizedSubscription) OnEvent(
	handler lightRelaySubmitterAuthorizedFunc,
) subscription.EventSubscription

func (*LrSubmitterAuthorizedSubscription) Pipe

type LrSubmitterDeauthorizedSubscription

type LrSubmitterDeauthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrSubmitterDeauthorizedSubscription) OnEvent

func (sds *LrSubmitterDeauthorizedSubscription) OnEvent(
	handler lightRelaySubmitterDeauthorizedFunc,
) subscription.EventSubscription

func (*LrSubmitterDeauthorizedSubscription) Pipe

type LrmpLightRelayUpdatedSubscription

type LrmpLightRelayUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrmpLightRelayUpdatedSubscription) OnEvent

func (lrus *LrmpLightRelayUpdatedSubscription) OnEvent(
	handler lightRelayMaintainerProxyLightRelayUpdatedFunc,
) subscription.EventSubscription

func (*LrmpLightRelayUpdatedSubscription) Pipe

type LrmpMaintainerAuthorizedSubscription

type LrmpMaintainerAuthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrmpMaintainerAuthorizedSubscription) OnEvent

func (mas *LrmpMaintainerAuthorizedSubscription) OnEvent(
	handler lightRelayMaintainerProxyMaintainerAuthorizedFunc,
) subscription.EventSubscription

func (*LrmpMaintainerAuthorizedSubscription) Pipe

type LrmpMaintainerDeauthorizedSubscription

type LrmpMaintainerDeauthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrmpMaintainerDeauthorizedSubscription) OnEvent

func (mds *LrmpMaintainerDeauthorizedSubscription) OnEvent(
	handler lightRelayMaintainerProxyMaintainerDeauthorizedFunc,
) subscription.EventSubscription

func (*LrmpMaintainerDeauthorizedSubscription) Pipe

type LrmpOwnershipTransferredSubscription

type LrmpOwnershipTransferredSubscription struct {
	// contains filtered or unexported fields
}

func (*LrmpOwnershipTransferredSubscription) OnEvent

func (ots *LrmpOwnershipTransferredSubscription) OnEvent(
	handler lightRelayMaintainerProxyOwnershipTransferredFunc,
) subscription.EventSubscription

func (*LrmpOwnershipTransferredSubscription) Pipe

type LrmpReimbursementPoolUpdatedSubscription

type LrmpReimbursementPoolUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrmpReimbursementPoolUpdatedSubscription) OnEvent

func (rpus *LrmpReimbursementPoolUpdatedSubscription) OnEvent(
	handler lightRelayMaintainerProxyReimbursementPoolUpdatedFunc,
) subscription.EventSubscription

func (*LrmpReimbursementPoolUpdatedSubscription) Pipe

type LrmpRetargetGasOffsetUpdatedSubscription

type LrmpRetargetGasOffsetUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*LrmpRetargetGasOffsetUpdatedSubscription) OnEvent

func (rgous *LrmpRetargetGasOffsetUpdatedSubscription) OnEvent(
	handler lightRelayMaintainerProxyRetargetGasOffsetUpdatedFunc,
) subscription.EventSubscription

func (*LrmpRetargetGasOffsetUpdatedSubscription) Pipe

type MaintainerProxy

type MaintainerProxy struct {
	// contains filtered or unexported fields
}

func NewMaintainerProxy

func NewMaintainerProxy(
	contractAddress common.Address,
	chainId *big.Int,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethereum.NonceManager,
	miningWaiter *chainutil.MiningWaiter,
	blockCounter *ethereum.BlockCounter,
	transactionMutex *sync.Mutex,
) (*MaintainerProxy, error)

func (*MaintainerProxy) AllSpvMaintainers

func (mp *MaintainerProxy) AllSpvMaintainers() ([]common.Address, error)

func (*MaintainerProxy) AllSpvMaintainersAtBlock

func (mp *MaintainerProxy) AllSpvMaintainersAtBlock(
	blockNumber *big.Int,
) ([]common.Address, error)

func (*MaintainerProxy) AllWalletMaintainers

func (mp *MaintainerProxy) AllWalletMaintainers() ([]common.Address, error)

func (*MaintainerProxy) AllWalletMaintainersAtBlock

func (mp *MaintainerProxy) AllWalletMaintainersAtBlock(
	blockNumber *big.Int,
) ([]common.Address, error)

func (*MaintainerProxy) AuthorizeSpvMaintainer

func (mp *MaintainerProxy) AuthorizeSpvMaintainer(
	arg_maintainer common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) AuthorizeSpvMaintainerGasEstimate

func (mp *MaintainerProxy) AuthorizeSpvMaintainerGasEstimate(
	arg_maintainer common.Address,
) (uint64, error)

func (*MaintainerProxy) AuthorizeWalletMaintainer

func (mp *MaintainerProxy) AuthorizeWalletMaintainer(
	arg_maintainer common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) AuthorizeWalletMaintainerGasEstimate

func (mp *MaintainerProxy) AuthorizeWalletMaintainerGasEstimate(
	arg_maintainer common.Address,
) (uint64, error)

func (*MaintainerProxy) Bridge

func (mp *MaintainerProxy) Bridge() (common.Address, error)

func (*MaintainerProxy) BridgeAtBlock

func (mp *MaintainerProxy) BridgeAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*MaintainerProxy) BridgeUpdatedEvent

func (mp *MaintainerProxy) BridgeUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *MpBridgeUpdatedSubscription

func (*MaintainerProxy) CallAuthorizeSpvMaintainer

func (mp *MaintainerProxy) CallAuthorizeSpvMaintainer(
	arg_maintainer common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallAuthorizeWalletMaintainer

func (mp *MaintainerProxy) CallAuthorizeWalletMaintainer(
	arg_maintainer common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallDefeatFraudChallenge

func (mp *MaintainerProxy) CallDefeatFraudChallenge(
	arg_walletPublicKey []byte,
	arg_preimage []byte,
	arg_witness bool,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallDefeatFraudChallengeWithHeartbeat

func (mp *MaintainerProxy) CallDefeatFraudChallengeWithHeartbeat(
	arg_walletPublicKey []byte,
	arg_heartbeatMessage []byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallNotifyMovingFundsBelowDust

func (mp *MaintainerProxy) CallNotifyMovingFundsBelowDust(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallNotifyWalletCloseable

func (mp *MaintainerProxy) CallNotifyWalletCloseable(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO2,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallNotifyWalletClosingPeriodElapsed

func (mp *MaintainerProxy) CallNotifyWalletClosingPeriodElapsed(
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallRenounceOwnership

func (mp *MaintainerProxy) CallRenounceOwnership(
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallRequestNewWallet

func (mp *MaintainerProxy) CallRequestNewWallet(
	arg_activeWalletMainUtxo abi.BitcoinTxUTXO2,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallResetMovingFundsTimeout

func (mp *MaintainerProxy) CallResetMovingFundsTimeout(
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallSubmitDepositSweepProof

func (mp *MaintainerProxy) CallSubmitDepositSweepProof(
	arg_sweepTx abi.BitcoinTxInfo3,
	arg_sweepProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_vault common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallSubmitMovedFundsSweepProof

func (mp *MaintainerProxy) CallSubmitMovedFundsSweepProof(
	arg_sweepTx abi.BitcoinTxInfo3,
	arg_sweepProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallSubmitMovingFundsProof

func (mp *MaintainerProxy) CallSubmitMovingFundsProof(
	arg_movingFundsTx abi.BitcoinTxInfo3,
	arg_movingFundsProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallSubmitRedemptionProof

func (mp *MaintainerProxy) CallSubmitRedemptionProof(
	arg_redemptionTx abi.BitcoinTxInfo3,
	arg_redemptionProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_walletPubKeyHash [20]byte,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallTransferOwnership

func (mp *MaintainerProxy) CallTransferOwnership(
	arg_newOwner common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallUnauthorizeSpvMaintainer

func (mp *MaintainerProxy) CallUnauthorizeSpvMaintainer(
	arg_maintainerToUnauthorize common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallUnauthorizeWalletMaintainer

func (mp *MaintainerProxy) CallUnauthorizeWalletMaintainer(
	arg_maintainerToUnauthorize common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallUpdateBridge

func (mp *MaintainerProxy) CallUpdateBridge(
	arg__bridge common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallUpdateGasOffsetParameters

func (mp *MaintainerProxy) CallUpdateGasOffsetParameters(
	arg_newSubmitDepositSweepProofGasOffset *big.Int,
	arg_newSubmitRedemptionProofGasOffset *big.Int,
	arg_newResetMovingFundsTimeoutGasOffset *big.Int,
	arg_newSubmitMovingFundsProofGasOffset *big.Int,
	arg_newNotifyMovingFundsBelowDustGasOffset *big.Int,
	arg_newSubmitMovedFundsSweepProofGasOffset *big.Int,
	arg_newRequestNewWalletGasOffset *big.Int,
	arg_newNotifyWalletCloseableGasOffset *big.Int,
	arg_newNotifyWalletClosingPeriodElapsedGasOffset *big.Int,
	arg_newDefeatFraudChallengeGasOffset *big.Int,
	arg_newDefeatFraudChallengeWithHeartbeatGasOffset *big.Int,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) CallUpdateReimbursementPool

func (mp *MaintainerProxy) CallUpdateReimbursementPool(
	arg__reimbursementPool common.Address,
	blockNumber *big.Int,
) error

Non-mutating call, not a transaction submission.

func (*MaintainerProxy) DefeatFraudChallenge

func (mp *MaintainerProxy) DefeatFraudChallenge(
	arg_walletPublicKey []byte,
	arg_preimage []byte,
	arg_witness bool,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) DefeatFraudChallengeGasEstimate

func (mp *MaintainerProxy) DefeatFraudChallengeGasEstimate(
	arg_walletPublicKey []byte,
	arg_preimage []byte,
	arg_witness bool,
) (uint64, error)

func (*MaintainerProxy) DefeatFraudChallengeGasOffset

func (mp *MaintainerProxy) DefeatFraudChallengeGasOffset() (*big.Int, error)

func (*MaintainerProxy) DefeatFraudChallengeGasOffsetAtBlock

func (mp *MaintainerProxy) DefeatFraudChallengeGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) DefeatFraudChallengeWithHeartbeat

func (mp *MaintainerProxy) DefeatFraudChallengeWithHeartbeat(
	arg_walletPublicKey []byte,
	arg_heartbeatMessage []byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) DefeatFraudChallengeWithHeartbeatGasEstimate

func (mp *MaintainerProxy) DefeatFraudChallengeWithHeartbeatGasEstimate(
	arg_walletPublicKey []byte,
	arg_heartbeatMessage []byte,
) (uint64, error)

func (*MaintainerProxy) DefeatFraudChallengeWithHeartbeatGasOffset

func (mp *MaintainerProxy) DefeatFraudChallengeWithHeartbeatGasOffset() (*big.Int, error)

func (*MaintainerProxy) DefeatFraudChallengeWithHeartbeatGasOffsetAtBlock

func (mp *MaintainerProxy) DefeatFraudChallengeWithHeartbeatGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) GasOffsetParametersUpdatedEvent

func (mp *MaintainerProxy) GasOffsetParametersUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *MpGasOffsetParametersUpdatedSubscription

func (*MaintainerProxy) IsSpvMaintainer

func (mp *MaintainerProxy) IsSpvMaintainer(
	arg0 common.Address,
) (*big.Int, error)

func (*MaintainerProxy) IsSpvMaintainerAtBlock

func (mp *MaintainerProxy) IsSpvMaintainerAtBlock(
	arg0 common.Address,
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) IsWalletMaintainer

func (mp *MaintainerProxy) IsWalletMaintainer(
	arg0 common.Address,
) (*big.Int, error)

func (*MaintainerProxy) IsWalletMaintainerAtBlock

func (mp *MaintainerProxy) IsWalletMaintainerAtBlock(
	arg0 common.Address,
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) NotifyMovingFundsBelowDust

func (mp *MaintainerProxy) NotifyMovingFundsBelowDust(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO2,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) NotifyMovingFundsBelowDustGasEstimate

func (mp *MaintainerProxy) NotifyMovingFundsBelowDustGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_mainUtxo abi.BitcoinTxUTXO2,
) (uint64, error)

func (*MaintainerProxy) NotifyMovingFundsBelowDustGasOffset

func (mp *MaintainerProxy) NotifyMovingFundsBelowDustGasOffset() (*big.Int, error)

func (*MaintainerProxy) NotifyMovingFundsBelowDustGasOffsetAtBlock

func (mp *MaintainerProxy) NotifyMovingFundsBelowDustGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) NotifyWalletCloseable

func (mp *MaintainerProxy) NotifyWalletCloseable(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO2,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) NotifyWalletCloseableGasEstimate

func (mp *MaintainerProxy) NotifyWalletCloseableGasEstimate(
	arg_walletPubKeyHash [20]byte,
	arg_walletMainUtxo abi.BitcoinTxUTXO2,
) (uint64, error)

func (*MaintainerProxy) NotifyWalletCloseableGasOffset

func (mp *MaintainerProxy) NotifyWalletCloseableGasOffset() (*big.Int, error)

func (*MaintainerProxy) NotifyWalletCloseableGasOffsetAtBlock

func (mp *MaintainerProxy) NotifyWalletCloseableGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) NotifyWalletClosingPeriodElapsed

func (mp *MaintainerProxy) NotifyWalletClosingPeriodElapsed(
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) NotifyWalletClosingPeriodElapsedGasEstimate

func (mp *MaintainerProxy) NotifyWalletClosingPeriodElapsedGasEstimate(
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*MaintainerProxy) NotifyWalletClosingPeriodElapsedGasOffset

func (mp *MaintainerProxy) NotifyWalletClosingPeriodElapsedGasOffset() (*big.Int, error)

func (*MaintainerProxy) NotifyWalletClosingPeriodElapsedGasOffsetAtBlock

func (mp *MaintainerProxy) NotifyWalletClosingPeriodElapsedGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) Owner

func (mp *MaintainerProxy) Owner() (common.Address, error)

func (*MaintainerProxy) OwnerAtBlock

func (mp *MaintainerProxy) OwnerAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*MaintainerProxy) OwnershipTransferredEvent

func (mp *MaintainerProxy) OwnershipTransferredEvent(
	opts *ethereum.SubscribeOpts,
	previousOwnerFilter []common.Address,
	newOwnerFilter []common.Address,
) *MpOwnershipTransferredSubscription

func (*MaintainerProxy) PastBridgeUpdatedEvents

func (mp *MaintainerProxy) PastBridgeUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.MaintainerProxyBridgeUpdated, error)

func (*MaintainerProxy) PastGasOffsetParametersUpdatedEvents

func (mp *MaintainerProxy) PastGasOffsetParametersUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.MaintainerProxyGasOffsetParametersUpdated, error)

func (*MaintainerProxy) PastOwnershipTransferredEvents

func (mp *MaintainerProxy) PastOwnershipTransferredEvents(
	startBlock uint64,
	endBlock *uint64,
	previousOwnerFilter []common.Address,
	newOwnerFilter []common.Address,
) ([]*abi.MaintainerProxyOwnershipTransferred, error)

func (*MaintainerProxy) PastReimbursementPoolUpdatedEvents

func (mp *MaintainerProxy) PastReimbursementPoolUpdatedEvents(
	startBlock uint64,
	endBlock *uint64,
) ([]*abi.MaintainerProxyReimbursementPoolUpdated, error)

func (*MaintainerProxy) PastSpvMaintainerAuthorizedEvents

func (mp *MaintainerProxy) PastSpvMaintainerAuthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
	maintainerFilter []common.Address,
) ([]*abi.MaintainerProxySpvMaintainerAuthorized, error)

func (*MaintainerProxy) PastSpvMaintainerUnauthorizedEvents

func (mp *MaintainerProxy) PastSpvMaintainerUnauthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
	maintainerFilter []common.Address,
) ([]*abi.MaintainerProxySpvMaintainerUnauthorized, error)

func (*MaintainerProxy) PastWalletMaintainerAuthorizedEvents

func (mp *MaintainerProxy) PastWalletMaintainerAuthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
	maintainerFilter []common.Address,
) ([]*abi.MaintainerProxyWalletMaintainerAuthorized, error)

func (*MaintainerProxy) PastWalletMaintainerUnauthorizedEvents

func (mp *MaintainerProxy) PastWalletMaintainerUnauthorizedEvents(
	startBlock uint64,
	endBlock *uint64,
	maintainerFilter []common.Address,
) ([]*abi.MaintainerProxyWalletMaintainerUnauthorized, error)

func (*MaintainerProxy) ReimbursementPool

func (mp *MaintainerProxy) ReimbursementPool() (common.Address, error)

func (*MaintainerProxy) ReimbursementPoolAtBlock

func (mp *MaintainerProxy) ReimbursementPoolAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*MaintainerProxy) ReimbursementPoolUpdatedEvent

func (mp *MaintainerProxy) ReimbursementPoolUpdatedEvent(
	opts *ethereum.SubscribeOpts,
) *MpReimbursementPoolUpdatedSubscription

func (*MaintainerProxy) RenounceOwnership

func (mp *MaintainerProxy) RenounceOwnership(

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) RenounceOwnershipGasEstimate

func (mp *MaintainerProxy) RenounceOwnershipGasEstimate() (uint64, error)

func (*MaintainerProxy) RequestNewWallet

func (mp *MaintainerProxy) RequestNewWallet(
	arg_activeWalletMainUtxo abi.BitcoinTxUTXO2,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) RequestNewWalletGasEstimate

func (mp *MaintainerProxy) RequestNewWalletGasEstimate(
	arg_activeWalletMainUtxo abi.BitcoinTxUTXO2,
) (uint64, error)

func (*MaintainerProxy) RequestNewWalletGasOffset

func (mp *MaintainerProxy) RequestNewWalletGasOffset() (*big.Int, error)

func (*MaintainerProxy) RequestNewWalletGasOffsetAtBlock

func (mp *MaintainerProxy) RequestNewWalletGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) ResetMovingFundsTimeout

func (mp *MaintainerProxy) ResetMovingFundsTimeout(
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) ResetMovingFundsTimeoutGasEstimate

func (mp *MaintainerProxy) ResetMovingFundsTimeoutGasEstimate(
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*MaintainerProxy) ResetMovingFundsTimeoutGasOffset

func (mp *MaintainerProxy) ResetMovingFundsTimeoutGasOffset() (*big.Int, error)

func (*MaintainerProxy) ResetMovingFundsTimeoutGasOffsetAtBlock

func (mp *MaintainerProxy) ResetMovingFundsTimeoutGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) SpvMaintainerAuthorizedEvent

func (mp *MaintainerProxy) SpvMaintainerAuthorizedEvent(
	opts *ethereum.SubscribeOpts,
	maintainerFilter []common.Address,
) *MpSpvMaintainerAuthorizedSubscription

func (*MaintainerProxy) SpvMaintainerUnauthorizedEvent

func (mp *MaintainerProxy) SpvMaintainerUnauthorizedEvent(
	opts *ethereum.SubscribeOpts,
	maintainerFilter []common.Address,
) *MpSpvMaintainerUnauthorizedSubscription

func (*MaintainerProxy) SpvMaintainers

func (mp *MaintainerProxy) SpvMaintainers(
	arg0 *big.Int,
) (common.Address, error)

func (*MaintainerProxy) SpvMaintainersAtBlock

func (mp *MaintainerProxy) SpvMaintainersAtBlock(
	arg0 *big.Int,
	blockNumber *big.Int,
) (common.Address, error)

func (*MaintainerProxy) SubmitDepositSweepProof

func (mp *MaintainerProxy) SubmitDepositSweepProof(
	arg_sweepTx abi.BitcoinTxInfo3,
	arg_sweepProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_vault common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) SubmitDepositSweepProofGasEstimate

func (mp *MaintainerProxy) SubmitDepositSweepProofGasEstimate(
	arg_sweepTx abi.BitcoinTxInfo3,
	arg_sweepProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_vault common.Address,
) (uint64, error)

func (*MaintainerProxy) SubmitDepositSweepProofGasOffset

func (mp *MaintainerProxy) SubmitDepositSweepProofGasOffset() (*big.Int, error)

func (*MaintainerProxy) SubmitDepositSweepProofGasOffsetAtBlock

func (mp *MaintainerProxy) SubmitDepositSweepProofGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) SubmitMovedFundsSweepProof

func (mp *MaintainerProxy) SubmitMovedFundsSweepProof(
	arg_sweepTx abi.BitcoinTxInfo3,
	arg_sweepProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) SubmitMovedFundsSweepProofGasEstimate

func (mp *MaintainerProxy) SubmitMovedFundsSweepProofGasEstimate(
	arg_sweepTx abi.BitcoinTxInfo3,
	arg_sweepProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
) (uint64, error)

func (*MaintainerProxy) SubmitMovedFundsSweepProofGasOffset

func (mp *MaintainerProxy) SubmitMovedFundsSweepProofGasOffset() (*big.Int, error)

func (*MaintainerProxy) SubmitMovedFundsSweepProofGasOffsetAtBlock

func (mp *MaintainerProxy) SubmitMovedFundsSweepProofGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) SubmitMovingFundsProof

func (mp *MaintainerProxy) SubmitMovingFundsProof(
	arg_movingFundsTx abi.BitcoinTxInfo3,
	arg_movingFundsProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) SubmitMovingFundsProofGasEstimate

func (mp *MaintainerProxy) SubmitMovingFundsProofGasEstimate(
	arg_movingFundsTx abi.BitcoinTxInfo3,
	arg_movingFundsProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*MaintainerProxy) SubmitMovingFundsProofGasOffset

func (mp *MaintainerProxy) SubmitMovingFundsProofGasOffset() (*big.Int, error)

func (*MaintainerProxy) SubmitMovingFundsProofGasOffsetAtBlock

func (mp *MaintainerProxy) SubmitMovingFundsProofGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) SubmitRedemptionProof

func (mp *MaintainerProxy) SubmitRedemptionProof(
	arg_redemptionTx abi.BitcoinTxInfo3,
	arg_redemptionProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_walletPubKeyHash [20]byte,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) SubmitRedemptionProofGasEstimate

func (mp *MaintainerProxy) SubmitRedemptionProofGasEstimate(
	arg_redemptionTx abi.BitcoinTxInfo3,
	arg_redemptionProof abi.BitcoinTxProof2,
	arg_mainUtxo abi.BitcoinTxUTXO2,
	arg_walletPubKeyHash [20]byte,
) (uint64, error)

func (*MaintainerProxy) SubmitRedemptionProofGasOffset

func (mp *MaintainerProxy) SubmitRedemptionProofGasOffset() (*big.Int, error)

func (*MaintainerProxy) SubmitRedemptionProofGasOffsetAtBlock

func (mp *MaintainerProxy) SubmitRedemptionProofGasOffsetAtBlock(
	blockNumber *big.Int,
) (*big.Int, error)

func (*MaintainerProxy) TransferOwnership

func (mp *MaintainerProxy) TransferOwnership(
	arg_newOwner common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) TransferOwnershipGasEstimate

func (mp *MaintainerProxy) TransferOwnershipGasEstimate(
	arg_newOwner common.Address,
) (uint64, error)

func (*MaintainerProxy) UnauthorizeSpvMaintainer

func (mp *MaintainerProxy) UnauthorizeSpvMaintainer(
	arg_maintainerToUnauthorize common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) UnauthorizeSpvMaintainerGasEstimate

func (mp *MaintainerProxy) UnauthorizeSpvMaintainerGasEstimate(
	arg_maintainerToUnauthorize common.Address,
) (uint64, error)

func (*MaintainerProxy) UnauthorizeWalletMaintainer

func (mp *MaintainerProxy) UnauthorizeWalletMaintainer(
	arg_maintainerToUnauthorize common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) UnauthorizeWalletMaintainerGasEstimate

func (mp *MaintainerProxy) UnauthorizeWalletMaintainerGasEstimate(
	arg_maintainerToUnauthorize common.Address,
) (uint64, error)

func (*MaintainerProxy) UpdateBridge

func (mp *MaintainerProxy) UpdateBridge(
	arg__bridge common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) UpdateBridgeGasEstimate

func (mp *MaintainerProxy) UpdateBridgeGasEstimate(
	arg__bridge common.Address,
) (uint64, error)

func (*MaintainerProxy) UpdateGasOffsetParameters

func (mp *MaintainerProxy) UpdateGasOffsetParameters(
	arg_newSubmitDepositSweepProofGasOffset *big.Int,
	arg_newSubmitRedemptionProofGasOffset *big.Int,
	arg_newResetMovingFundsTimeoutGasOffset *big.Int,
	arg_newSubmitMovingFundsProofGasOffset *big.Int,
	arg_newNotifyMovingFundsBelowDustGasOffset *big.Int,
	arg_newSubmitMovedFundsSweepProofGasOffset *big.Int,
	arg_newRequestNewWalletGasOffset *big.Int,
	arg_newNotifyWalletCloseableGasOffset *big.Int,
	arg_newNotifyWalletClosingPeriodElapsedGasOffset *big.Int,
	arg_newDefeatFraudChallengeGasOffset *big.Int,
	arg_newDefeatFraudChallengeWithHeartbeatGasOffset *big.Int,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) UpdateGasOffsetParametersGasEstimate

func (mp *MaintainerProxy) UpdateGasOffsetParametersGasEstimate(
	arg_newSubmitDepositSweepProofGasOffset *big.Int,
	arg_newSubmitRedemptionProofGasOffset *big.Int,
	arg_newResetMovingFundsTimeoutGasOffset *big.Int,
	arg_newSubmitMovingFundsProofGasOffset *big.Int,
	arg_newNotifyMovingFundsBelowDustGasOffset *big.Int,
	arg_newSubmitMovedFundsSweepProofGasOffset *big.Int,
	arg_newRequestNewWalletGasOffset *big.Int,
	arg_newNotifyWalletCloseableGasOffset *big.Int,
	arg_newNotifyWalletClosingPeriodElapsedGasOffset *big.Int,
	arg_newDefeatFraudChallengeGasOffset *big.Int,
	arg_newDefeatFraudChallengeWithHeartbeatGasOffset *big.Int,
) (uint64, error)

func (*MaintainerProxy) UpdateReimbursementPool

func (mp *MaintainerProxy) UpdateReimbursementPool(
	arg__reimbursementPool common.Address,

	transactionOptions ...chainutil.TransactionOptions,
) (*types.Transaction, error)

Transaction submission.

func (*MaintainerProxy) UpdateReimbursementPoolGasEstimate

func (mp *MaintainerProxy) UpdateReimbursementPoolGasEstimate(
	arg__reimbursementPool common.Address,
) (uint64, error)

func (*MaintainerProxy) WalletMaintainerAuthorizedEvent

func (mp *MaintainerProxy) WalletMaintainerAuthorizedEvent(
	opts *ethereum.SubscribeOpts,
	maintainerFilter []common.Address,
) *MpWalletMaintainerAuthorizedSubscription

func (*MaintainerProxy) WalletMaintainerUnauthorizedEvent

func (mp *MaintainerProxy) WalletMaintainerUnauthorizedEvent(
	opts *ethereum.SubscribeOpts,
	maintainerFilter []common.Address,
) *MpWalletMaintainerUnauthorizedSubscription

func (*MaintainerProxy) WalletMaintainers

func (mp *MaintainerProxy) WalletMaintainers(
	arg0 *big.Int,
) (common.Address, error)

func (*MaintainerProxy) WalletMaintainersAtBlock

func (mp *MaintainerProxy) WalletMaintainersAtBlock(
	arg0 *big.Int,
	blockNumber *big.Int,
) (common.Address, error)

type MpBridgeUpdatedSubscription

type MpBridgeUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*MpBridgeUpdatedSubscription) OnEvent

func (bus *MpBridgeUpdatedSubscription) OnEvent(
	handler maintainerProxyBridgeUpdatedFunc,
) subscription.EventSubscription

func (*MpBridgeUpdatedSubscription) Pipe

type MpGasOffsetParametersUpdatedSubscription

type MpGasOffsetParametersUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*MpGasOffsetParametersUpdatedSubscription) OnEvent

func (gopus *MpGasOffsetParametersUpdatedSubscription) OnEvent(
	handler maintainerProxyGasOffsetParametersUpdatedFunc,
) subscription.EventSubscription

func (*MpGasOffsetParametersUpdatedSubscription) Pipe

type MpOwnershipTransferredSubscription

type MpOwnershipTransferredSubscription struct {
	// contains filtered or unexported fields
}

func (*MpOwnershipTransferredSubscription) OnEvent

func (ots *MpOwnershipTransferredSubscription) OnEvent(
	handler maintainerProxyOwnershipTransferredFunc,
) subscription.EventSubscription

func (*MpOwnershipTransferredSubscription) Pipe

type MpReimbursementPoolUpdatedSubscription

type MpReimbursementPoolUpdatedSubscription struct {
	// contains filtered or unexported fields
}

func (*MpReimbursementPoolUpdatedSubscription) OnEvent

func (rpus *MpReimbursementPoolUpdatedSubscription) OnEvent(
	handler maintainerProxyReimbursementPoolUpdatedFunc,
) subscription.EventSubscription

func (*MpReimbursementPoolUpdatedSubscription) Pipe

type MpSpvMaintainerAuthorizedSubscription

type MpSpvMaintainerAuthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*MpSpvMaintainerAuthorizedSubscription) OnEvent

func (smas *MpSpvMaintainerAuthorizedSubscription) OnEvent(
	handler maintainerProxySpvMaintainerAuthorizedFunc,
) subscription.EventSubscription

func (*MpSpvMaintainerAuthorizedSubscription) Pipe

type MpSpvMaintainerUnauthorizedSubscription

type MpSpvMaintainerUnauthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*MpSpvMaintainerUnauthorizedSubscription) OnEvent

func (smus *MpSpvMaintainerUnauthorizedSubscription) OnEvent(
	handler maintainerProxySpvMaintainerUnauthorizedFunc,
) subscription.EventSubscription

func (*MpSpvMaintainerUnauthorizedSubscription) Pipe

type MpWalletMaintainerAuthorizedSubscription

type MpWalletMaintainerAuthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*MpWalletMaintainerAuthorizedSubscription) OnEvent

func (wmas *MpWalletMaintainerAuthorizedSubscription) OnEvent(
	handler maintainerProxyWalletMaintainerAuthorizedFunc,
) subscription.EventSubscription

func (*MpWalletMaintainerAuthorizedSubscription) Pipe

type MpWalletMaintainerUnauthorizedSubscription

type MpWalletMaintainerUnauthorizedSubscription struct {
	// contains filtered or unexported fields
}

func (*MpWalletMaintainerUnauthorizedSubscription) OnEvent

func (wmus *MpWalletMaintainerUnauthorizedSubscription) OnEvent(
	handler maintainerProxyWalletMaintainerUnauthorizedFunc,
) subscription.EventSubscription

func (*MpWalletMaintainerUnauthorizedSubscription) Pipe

type RelayRange

type RelayRange struct {
	RelayGenesis    *big.Int
	CurrentEpochEnd *big.Int
}

type WalletProposalValidator

type WalletProposalValidator struct {
	// contains filtered or unexported fields
}

func NewWalletProposalValidator

func NewWalletProposalValidator(
	contractAddress common.Address,
	chainId *big.Int,
	accountKey *keystore.Key,
	backend bind.ContractBackend,
	nonceManager *ethereum.NonceManager,
	miningWaiter *chainutil.MiningWaiter,
	blockCounter *ethereum.BlockCounter,
	transactionMutex *sync.Mutex,
) (*WalletProposalValidator, error)

func (*WalletProposalValidator) Bridge

func (wpv *WalletProposalValidator) Bridge() (common.Address, error)

func (*WalletProposalValidator) BridgeAtBlock

func (wpv *WalletProposalValidator) BridgeAtBlock(
	blockNumber *big.Int,
) (common.Address, error)

func (*WalletProposalValidator) DEPOSITMINAGE

func (wpv *WalletProposalValidator) DEPOSITMINAGE() (uint32, error)

func (*WalletProposalValidator) DEPOSITMINAGEAtBlock

func (wpv *WalletProposalValidator) DEPOSITMINAGEAtBlock(
	blockNumber *big.Int,
) (uint32, error)

func (*WalletProposalValidator) DEPOSITREFUNDSAFETYMARGIN

func (wpv *WalletProposalValidator) DEPOSITREFUNDSAFETYMARGIN() (uint32, error)

func (*WalletProposalValidator) DEPOSITREFUNDSAFETYMARGINAtBlock

func (wpv *WalletProposalValidator) DEPOSITREFUNDSAFETYMARGINAtBlock(
	blockNumber *big.Int,
) (uint32, error)

func (*WalletProposalValidator) DEPOSITSWEEPMAXSIZE

func (wpv *WalletProposalValidator) DEPOSITSWEEPMAXSIZE() (uint16, error)

func (*WalletProposalValidator) DEPOSITSWEEPMAXSIZEAtBlock

func (wpv *WalletProposalValidator) DEPOSITSWEEPMAXSIZEAtBlock(
	blockNumber *big.Int,
) (uint16, error)

func (*WalletProposalValidator) REDEMPTIONMAXSIZE

func (wpv *WalletProposalValidator) REDEMPTIONMAXSIZE() (uint16, error)

func (*WalletProposalValidator) REDEMPTIONMAXSIZEAtBlock

func (wpv *WalletProposalValidator) REDEMPTIONMAXSIZEAtBlock(
	blockNumber *big.Int,
) (uint16, error)

func (*WalletProposalValidator) REDEMPTIONREQUESTMINAGE

func (wpv *WalletProposalValidator) REDEMPTIONREQUESTMINAGE() (uint32, error)

func (*WalletProposalValidator) REDEMPTIONREQUESTMINAGEAtBlock

func (wpv *WalletProposalValidator) REDEMPTIONREQUESTMINAGEAtBlock(
	blockNumber *big.Int,
) (uint32, error)

func (*WalletProposalValidator) REDEMPTIONREQUESTTIMEOUTSAFETYMARGIN

func (wpv *WalletProposalValidator) REDEMPTIONREQUESTTIMEOUTSAFETYMARGIN() (uint32, error)

func (*WalletProposalValidator) REDEMPTIONREQUESTTIMEOUTSAFETYMARGINAtBlock

func (wpv *WalletProposalValidator) REDEMPTIONREQUESTTIMEOUTSAFETYMARGINAtBlock(
	blockNumber *big.Int,
) (uint32, error)

func (*WalletProposalValidator) ValidateDepositSweepProposal

func (wpv *WalletProposalValidator) ValidateDepositSweepProposal(
	arg_proposal abi.WalletProposalValidatorDepositSweepProposal,
	arg_depositsExtraInfo []abi.WalletProposalValidatorDepositExtraInfo,
) (bool, error)

func (*WalletProposalValidator) ValidateDepositSweepProposalAtBlock

func (wpv *WalletProposalValidator) ValidateDepositSweepProposalAtBlock(
	arg_proposal abi.WalletProposalValidatorDepositSweepProposal,
	arg_depositsExtraInfo []abi.WalletProposalValidatorDepositExtraInfo,
	blockNumber *big.Int,
) (bool, error)

func (*WalletProposalValidator) ValidateHeartbeatProposal

func (wpv *WalletProposalValidator) ValidateHeartbeatProposal(
	arg_proposal abi.WalletProposalValidatorHeartbeatProposal,
) (bool, error)

func (*WalletProposalValidator) ValidateHeartbeatProposalAtBlock

func (wpv *WalletProposalValidator) ValidateHeartbeatProposalAtBlock(
	arg_proposal abi.WalletProposalValidatorHeartbeatProposal,
	blockNumber *big.Int,
) (bool, error)

func (*WalletProposalValidator) ValidateMovingFundsProposal

func (wpv *WalletProposalValidator) ValidateMovingFundsProposal(
	arg_proposal abi.WalletProposalValidatorMovingFundsProposal,
	arg_walletMainUtxo abi.BitcoinTxUTXO3,
) (bool, error)

func (*WalletProposalValidator) ValidateMovingFundsProposalAtBlock

func (wpv *WalletProposalValidator) ValidateMovingFundsProposalAtBlock(
	arg_proposal abi.WalletProposalValidatorMovingFundsProposal,
	arg_walletMainUtxo abi.BitcoinTxUTXO3,
	blockNumber *big.Int,
) (bool, error)

func (*WalletProposalValidator) ValidateRedemptionProposal

func (wpv *WalletProposalValidator) ValidateRedemptionProposal(
	arg_proposal abi.WalletProposalValidatorRedemptionProposal,
) (bool, error)

func (*WalletProposalValidator) ValidateRedemptionProposalAtBlock

func (wpv *WalletProposalValidator) ValidateRedemptionProposalAtBlock(
	arg_proposal abi.WalletProposalValidatorRedemptionProposal,
	blockNumber *big.Int,
) (bool, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL