{ "address": "0x5e4861a80B55f035D899f66772117F00FA0E8e7B", "abi": [ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "depositDustThreshold", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "depositTreasuryFeeDivisor", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "depositTxMaxFee", "type": "uint64" }, { "indexed": false, "internalType": "uint32", "name": "depositRevealAheadPeriod", "type": "uint32" } ], "name": "DepositParametersUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes32", "name": "fundingTxHash", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "fundingOutputIndex", "type": "uint32" }, { "indexed": true, "internalType": "address", "name": "depositor", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "amount", "type": "uint64" }, { "indexed": false, "internalType": "bytes8", "name": "blindingFactor", "type": "bytes8" }, { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes20", "name": "refundPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes4", "name": "refundLocktime", "type": "bytes4" }, { "indexed": false, "internalType": "address", "name": "vault", "type": "address" } ], "name": "DepositRevealed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "uint256", "name": "depositKey", "type": "uint256" }, { "indexed": false, "internalType": "address", "name": "newVault", "type": "address" } ], "name": "DepositVaultFixed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "sweepTxHash", "type": "bytes32" } ], "name": "DepositsSwept", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "sighash", "type": "bytes32" } ], "name": "FraudChallengeDefeatTimedOut", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "sighash", "type": "bytes32" } ], "name": "FraudChallengeDefeated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "sighash", "type": "bytes32" }, { "indexed": false, "internalType": "uint8", "name": "v", "type": "uint8" }, { "indexed": false, "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "indexed": false, "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "FraudChallengeSubmitted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint96", "name": "fraudChallengeDepositAmount", "type": "uint96" }, { "indexed": false, "internalType": "uint32", "name": "fraudChallengeDefeatTimeout", "type": "uint32" }, { "indexed": false, "internalType": "uint96", "name": "fraudSlashingAmount", "type": "uint96" }, { "indexed": false, "internalType": "uint32", "name": "fraudNotifierRewardMultiplier", "type": "uint32" } ], "name": "FraudParametersUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldGovernance", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newGovernance", "type": "address" } ], "name": "GovernanceTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" } ], "name": "Initialized", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "movingFundsTxHash", "type": "bytes32" }, { "indexed": false, "internalType": "uint32", "name": "movingFundsTxOutputIndex", "type": "uint32" } ], "name": "MovedFundsSweepTimedOut", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "sweepTxHash", "type": "bytes32" } ], "name": "MovedFundsSwept", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "MovingFundsBelowDustReported", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes20[]", "name": "targetWallets", "type": "bytes20[]" }, { "indexed": false, "internalType": "address", "name": "submitter", "type": "address" } ], "name": "MovingFundsCommitmentSubmitted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "movingFundsTxHash", "type": "bytes32" } ], "name": "MovingFundsCompleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "movingFundsTxMaxTotalFee", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "movingFundsDustThreshold", "type": "uint64" }, { "indexed": false, "internalType": "uint32", "name": "movingFundsTimeoutResetDelay", "type": "uint32" }, { "indexed": false, "internalType": "uint32", "name": "movingFundsTimeout", "type": "uint32" }, { "indexed": false, "internalType": "uint96", "name": "movingFundsTimeoutSlashingAmount", "type": "uint96" }, { "indexed": false, "internalType": "uint32", "name": "movingFundsTimeoutNotifierRewardMultiplier", "type": "uint32" }, { "indexed": false, "internalType": "uint16", "name": "movingFundsCommitmentGasOffset", "type": "uint16" }, { "indexed": false, "internalType": "uint64", "name": "movedFundsSweepTxMaxTotalFee", "type": "uint64" }, { "indexed": false, "internalType": "uint32", "name": "movedFundsSweepTimeout", "type": "uint32" }, { "indexed": false, "internalType": "uint96", "name": "movedFundsSweepTimeoutSlashingAmount", "type": "uint96" }, { "indexed": false, "internalType": "uint32", "name": "movedFundsSweepTimeoutNotifierRewardMultiplier", "type": "uint32" } ], "name": "MovingFundsParametersUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "MovingFundsTimedOut", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "MovingFundsTimeoutReset", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "ecdsaWalletID", "type": "bytes32" }, { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "NewWalletRegistered", "type": "event" }, { "anonymous": false, "inputs": [], "name": "NewWalletRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldRebateStaking", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newRebateStaking", "type": "address" } ], "name": "RebateStakingRepaired", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "rebateStaking", "type": "address" } ], "name": "RebateStakingSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint64", "name": "redemptionDustThreshold", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "redemptionTreasuryFeeDivisor", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "redemptionTxMaxFee", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "redemptionTxMaxTotalFee", "type": "uint64" }, { "indexed": false, "internalType": "uint32", "name": "redemptionTimeout", "type": "uint32" }, { "indexed": false, "internalType": "uint96", "name": "redemptionTimeoutSlashingAmount", "type": "uint96" }, { "indexed": false, "internalType": "uint32", "name": "redemptionTimeoutNotifierRewardMultiplier", "type": "uint32" } ], "name": "RedemptionParametersUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes", "name": "redeemerOutputScript", "type": "bytes" }, { "indexed": true, "internalType": "address", "name": "redeemer", "type": "address" }, { "indexed": false, "internalType": "uint64", "name": "requestedAmount", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "treasuryFee", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "txMaxFee", "type": "uint64" } ], "name": "RedemptionRequested", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes", "name": "redeemerOutputScript", "type": "bytes" } ], "name": "RedemptionTimedOut", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "redemptionWatchtower", "type": "address" } ], "name": "RedemptionWatchtowerSet", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "indexed": false, "internalType": "bytes32", "name": "redemptionTxHash", "type": "bytes32" } ], "name": "RedemptionsCompleted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "spvMaintainer", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "isTrusted", "type": "bool" } ], "name": "SpvMaintainerStatusUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "treasury", "type": "address" } ], "name": "TreasuryUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "vault", "type": "address" }, { "indexed": false, "internalType": "bool", "name": "isTrusted", "type": "bool" } ], "name": "VaultStatusUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "ecdsaWalletID", "type": "bytes32" }, { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "WalletClosed", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "ecdsaWalletID", "type": "bytes32" }, { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "WalletClosing", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "ecdsaWalletID", "type": "bytes32" }, { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "WalletMovingFunds", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "uint32", "name": "walletCreationPeriod", "type": "uint32" }, { "indexed": false, "internalType": "uint64", "name": "walletCreationMinBtcBalance", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "walletCreationMaxBtcBalance", "type": "uint64" }, { "indexed": false, "internalType": "uint64", "name": "walletClosureMinBtcBalance", "type": "uint64" }, { "indexed": false, "internalType": "uint32", "name": "walletMaxAge", "type": "uint32" }, { "indexed": false, "internalType": "uint64", "name": "walletMaxBtcTransfer", "type": "uint64" }, { "indexed": false, "internalType": "uint32", "name": "walletClosingPeriod", "type": "uint32" } ], "name": "WalletParametersUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "ecdsaWalletID", "type": "bytes32" }, { "indexed": true, "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "WalletTerminated", "type": "event" }, { "inputs": [ { "internalType": "bytes32", "name": "ecdsaWalletID", "type": "bytes32" }, { "internalType": "bytes32", "name": "publicKeyX", "type": "bytes32" }, { "internalType": "bytes32", "name": "publicKeyY", "type": "bytes32" } ], "name": "__ecdsaWalletCreatedCallback", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" }, { "internalType": "bytes32", "name": "publicKeyX", "type": "bytes32" }, { "internalType": "bytes32", "name": "publicKeyY", "type": "bytes32" } ], "name": "__ecdsaWalletHeartbeatFailedCallback", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "activeWalletPubKeyHash", "outputs": [ { "internalType": "bytes20", "name": "", "type": "bytes20" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "contractReferences", "outputs": [ { "internalType": "contract Bank", "name": "bank", "type": "address" }, { "internalType": "contract IRelay", "name": "relay", "type": "address" }, { "internalType": "contract IWalletRegistry", "name": "ecdsaWalletRegistry", "type": "address" }, { "internalType": "contract ReimbursementPool", "name": "reimbursementPool", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "walletPublicKey", "type": "bytes" }, { "internalType": "bytes", "name": "preimage", "type": "bytes" }, { "internalType": "bool", "name": "witness", "type": "bool" } ], "name": "defeatFraudChallenge", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "walletPublicKey", "type": "bytes" }, { "internalType": "bytes", "name": "heartbeatMessage", "type": "bytes" } ], "name": "defeatFraudChallengeWithHeartbeat", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "depositParameters", "outputs": [ { "internalType": "uint64", "name": "depositDustThreshold", "type": "uint64" }, { "internalType": "uint64", "name": "depositTreasuryFeeDivisor", "type": "uint64" }, { "internalType": "uint64", "name": "depositTxMaxFee", "type": "uint64" }, { "internalType": "uint32", "name": "depositRevealAheadPeriod", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "depositKey", "type": "uint256" } ], "name": "deposits", "outputs": [ { "components": [ { "internalType": "address", "name": "depositor", "type": "address" }, { "internalType": "uint64", "name": "amount", "type": "uint64" }, { "internalType": "uint32", "name": "revealedAt", "type": "uint32" }, { "internalType": "address", "name": "vault", "type": "address" }, { "internalType": "uint64", "name": "treasuryFee", "type": "uint64" }, { "internalType": "uint32", "name": "sweptAt", "type": "uint32" }, { "internalType": "bytes32", "name": "extraData", "type": "bytes32" } ], "internalType": "struct Deposit.DepositRequest", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "challengeKey", "type": "uint256" } ], "name": "fraudChallenges", "outputs": [ { "components": [ { "internalType": "address", "name": "challenger", "type": "address" }, { "internalType": "uint256", "name": "depositAmount", "type": "uint256" }, { "internalType": "uint32", "name": "reportedAt", "type": "uint32" }, { "internalType": "bool", "name": "resolved", "type": "bool" } ], "internalType": "struct Fraud.FraudChallenge", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "fraudParameters", "outputs": [ { "internalType": "uint96", "name": "fraudChallengeDepositAmount", "type": "uint96" }, { "internalType": "uint32", "name": "fraudChallengeDefeatTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "fraudSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "fraudNotifierRewardMultiplier", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRebateStaking", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "getRedemptionWatchtower", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "governance", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_bank", "type": "address" }, { "internalType": "address", "name": "_relay", "type": "address" }, { "internalType": "address", "name": "_treasury", "type": "address" }, { "internalType": "address", "name": "_ecdsaWalletRegistry", "type": "address" }, { "internalType": "address payable", "name": "_reimbursementPool", "type": "address" }, { "internalType": "uint96", "name": "_txProofDifficultyFactor", "type": "uint96" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "initializeV2_FixVaultZeroDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newRebateStaking", "type": "address" } ], "name": "initializeV5_RepairRebateStaking", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "vault", "type": "address" } ], "name": "isVaultTrusted", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "liveWalletsCount", "outputs": [ { "internalType": "uint32", "name": "", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "requestKey", "type": "uint256" } ], "name": "movedFundsSweepRequests", "outputs": [ { "components": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "internalType": "uint64", "name": "value", "type": "uint64" }, { "internalType": "uint32", "name": "createdAt", "type": "uint32" }, { "internalType": "enum MovingFunds.MovedFundsSweepRequestState", "name": "state", "type": "uint8" } ], "internalType": "struct MovingFunds.MovedFundsSweepRequest", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "movingFundsParameters", "outputs": [ { "internalType": "uint64", "name": "movingFundsTxMaxTotalFee", "type": "uint64" }, { "internalType": "uint64", "name": "movingFundsDustThreshold", "type": "uint64" }, { "internalType": "uint32", "name": "movingFundsTimeoutResetDelay", "type": "uint32" }, { "internalType": "uint32", "name": "movingFundsTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "movingFundsTimeoutSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "movingFundsTimeoutNotifierRewardMultiplier", "type": "uint32" }, { "internalType": "uint16", "name": "movingFundsCommitmentGasOffset", "type": "uint16" }, { "internalType": "uint64", "name": "movedFundsSweepTxMaxTotalFee", "type": "uint64" }, { "internalType": "uint32", "name": "movedFundsSweepTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "movedFundsSweepTimeoutSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "movedFundsSweepTimeoutNotifierRewardMultiplier", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "walletPublicKey", "type": "bytes" }, { "internalType": "uint32[]", "name": "walletMembersIDs", "type": "uint32[]" }, { "internalType": "bytes", "name": "preimageSha256", "type": "bytes" } ], "name": "notifyFraudChallengeDefeatTimeout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "movingFundsTxHash", "type": "bytes32" }, { "internalType": "uint32", "name": "movingFundsTxOutputIndex", "type": "uint32" }, { "internalType": "uint32[]", "name": "walletMembersIDs", "type": "uint32[]" } ], "name": "notifyMovedFundsSweepTimeout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "mainUtxo", "type": "tuple" } ], "name": "notifyMovingFundsBelowDust", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "internalType": "uint32[]", "name": "walletMembersIDs", "type": "uint32[]" } ], "name": "notifyMovingFundsTimeout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "internalType": "uint32[]", "name": "walletMembersIDs", "type": "uint32[]" }, { "internalType": "bytes", "name": "redeemerOutputScript", "type": "bytes" } ], "name": "notifyRedemptionTimeout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "internalType": "bytes", "name": "redeemerOutputScript", "type": "bytes" } ], "name": "notifyRedemptionVeto", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "walletMainUtxo", "type": "tuple" } ], "name": "notifyWalletCloseable", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "notifyWalletClosingPeriodElapsed", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "redemptionKey", "type": "uint256" } ], "name": "pendingRedemptions", "outputs": [ { "components": [ { "internalType": "address", "name": "redeemer", "type": "address" }, { "internalType": "uint64", "name": "requestedAmount", "type": "uint64" }, { "internalType": "uint64", "name": "treasuryFee", "type": "uint64" }, { "internalType": "uint64", "name": "txMaxFee", "type": "uint64" }, { "internalType": "uint32", "name": "requestedAt", "type": "uint32" } ], "internalType": "struct Redemption.RedemptionRequest", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "balanceOwner", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" }, { "internalType": "bytes", "name": "redemptionData", "type": "bytes" } ], "name": "receiveBalanceApproval", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "redemptionParameters", "outputs": [ { "internalType": "uint64", "name": "redemptionDustThreshold", "type": "uint64" }, { "internalType": "uint64", "name": "redemptionTreasuryFeeDivisor", "type": "uint64" }, { "internalType": "uint64", "name": "redemptionTxMaxFee", "type": "uint64" }, { "internalType": "uint64", "name": "redemptionTxMaxTotalFee", "type": "uint64" }, { "internalType": "uint32", "name": "redemptionTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "redemptionTimeoutSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "redemptionTimeoutNotifierRewardMultiplier", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "activeWalletMainUtxo", "type": "tuple" } ], "name": "requestNewWallet", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "mainUtxo", "type": "tuple" }, { "internalType": "bytes", "name": "redeemerOutputScript", "type": "bytes" }, { "internalType": "uint64", "name": "amount", "type": "uint64" } ], "name": "requestRedemption", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "resetMovingFundsTimeout", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes4", "name": "version", "type": "bytes4" }, { "internalType": "bytes", "name": "inputVector", "type": "bytes" }, { "internalType": "bytes", "name": "outputVector", "type": "bytes" }, { "internalType": "bytes4", "name": "locktime", "type": "bytes4" } ], "internalType": "struct BitcoinTx.Info", "name": "fundingTx", "type": "tuple" }, { "components": [ { "internalType": "uint32", "name": "fundingOutputIndex", "type": "uint32" }, { "internalType": "bytes8", "name": "blindingFactor", "type": "bytes8" }, { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "internalType": "bytes20", "name": "refundPubKeyHash", "type": "bytes20" }, { "internalType": "bytes4", "name": "refundLocktime", "type": "bytes4" }, { "internalType": "address", "name": "vault", "type": "address" } ], "internalType": "struct Deposit.DepositRevealInfo", "name": "reveal", "type": "tuple" } ], "name": "revealDeposit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes4", "name": "version", "type": "bytes4" }, { "internalType": "bytes", "name": "inputVector", "type": "bytes" }, { "internalType": "bytes", "name": "outputVector", "type": "bytes" }, { "internalType": "bytes4", "name": "locktime", "type": "bytes4" } ], "internalType": "struct BitcoinTx.Info", "name": "fundingTx", "type": "tuple" }, { "components": [ { "internalType": "uint32", "name": "fundingOutputIndex", "type": "uint32" }, { "internalType": "bytes8", "name": "blindingFactor", "type": "bytes8" }, { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "internalType": "bytes20", "name": "refundPubKeyHash", "type": "bytes20" }, { "internalType": "bytes4", "name": "refundLocktime", "type": "bytes4" }, { "internalType": "address", "name": "vault", "type": "address" } ], "internalType": "struct Deposit.DepositRevealInfo", "name": "reveal", "type": "tuple" }, { "internalType": "bytes32", "name": "extraData", "type": "bytes32" } ], "name": "revealDepositWithExtraData", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "rebateStaking", "type": "address" } ], "name": "setRebateStaking", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "redemptionWatchtower", "type": "address" } ], "name": "setRedemptionWatchtower", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spvMaintainer", "type": "address" }, { "internalType": "bool", "name": "isTrusted", "type": "bool" } ], "name": "setSpvMaintainerStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "vault", "type": "address" }, { "internalType": "bool", "name": "isTrusted", "type": "bool" } ], "name": "setVaultStatus", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "utxoKey", "type": "uint256" } ], "name": "spentMainUTXOs", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes4", "name": "version", "type": "bytes4" }, { "internalType": "bytes", "name": "inputVector", "type": "bytes" }, { "internalType": "bytes", "name": "outputVector", "type": "bytes" }, { "internalType": "bytes4", "name": "locktime", "type": "bytes4" } ], "internalType": "struct BitcoinTx.Info", "name": "sweepTx", "type": "tuple" }, { "components": [ { "internalType": "bytes", "name": "merkleProof", "type": "bytes" }, { "internalType": "uint256", "name": "txIndexInBlock", "type": "uint256" }, { "internalType": "bytes", "name": "bitcoinHeaders", "type": "bytes" }, { "internalType": "bytes32", "name": "coinbasePreimage", "type": "bytes32" }, { "internalType": "bytes", "name": "coinbaseProof", "type": "bytes" } ], "internalType": "struct BitcoinTx.Proof", "name": "sweepProof", "type": "tuple" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "mainUtxo", "type": "tuple" }, { "internalType": "address", "name": "vault", "type": "address" } ], "name": "submitDepositSweepProof", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes", "name": "walletPublicKey", "type": "bytes" }, { "internalType": "bytes", "name": "preimageSha256", "type": "bytes" }, { "components": [ { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" }, { "internalType": "uint8", "name": "v", "type": "uint8" } ], "internalType": "struct BitcoinTx.RSVSignature", "name": "signature", "type": "tuple" } ], "name": "submitFraudChallenge", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes4", "name": "version", "type": "bytes4" }, { "internalType": "bytes", "name": "inputVector", "type": "bytes" }, { "internalType": "bytes", "name": "outputVector", "type": "bytes" }, { "internalType": "bytes4", "name": "locktime", "type": "bytes4" } ], "internalType": "struct BitcoinTx.Info", "name": "sweepTx", "type": "tuple" }, { "components": [ { "internalType": "bytes", "name": "merkleProof", "type": "bytes" }, { "internalType": "uint256", "name": "txIndexInBlock", "type": "uint256" }, { "internalType": "bytes", "name": "bitcoinHeaders", "type": "bytes" }, { "internalType": "bytes32", "name": "coinbasePreimage", "type": "bytes32" }, { "internalType": "bytes", "name": "coinbaseProof", "type": "bytes" } ], "internalType": "struct BitcoinTx.Proof", "name": "sweepProof", "type": "tuple" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "mainUtxo", "type": "tuple" } ], "name": "submitMovedFundsSweepProof", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "walletMainUtxo", "type": "tuple" }, { "internalType": "uint32[]", "name": "walletMembersIDs", "type": "uint32[]" }, { "internalType": "uint256", "name": "walletMemberIndex", "type": "uint256" }, { "internalType": "bytes20[]", "name": "targetWallets", "type": "bytes20[]" } ], "name": "submitMovingFundsCommitment", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes4", "name": "version", "type": "bytes4" }, { "internalType": "bytes", "name": "inputVector", "type": "bytes" }, { "internalType": "bytes", "name": "outputVector", "type": "bytes" }, { "internalType": "bytes4", "name": "locktime", "type": "bytes4" } ], "internalType": "struct BitcoinTx.Info", "name": "movingFundsTx", "type": "tuple" }, { "components": [ { "internalType": "bytes", "name": "merkleProof", "type": "bytes" }, { "internalType": "uint256", "name": "txIndexInBlock", "type": "uint256" }, { "internalType": "bytes", "name": "bitcoinHeaders", "type": "bytes" }, { "internalType": "bytes32", "name": "coinbasePreimage", "type": "bytes32" }, { "internalType": "bytes", "name": "coinbaseProof", "type": "bytes" } ], "internalType": "struct BitcoinTx.Proof", "name": "movingFundsProof", "type": "tuple" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "mainUtxo", "type": "tuple" }, { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "submitMovingFundsProof", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "components": [ { "internalType": "bytes4", "name": "version", "type": "bytes4" }, { "internalType": "bytes", "name": "inputVector", "type": "bytes" }, { "internalType": "bytes", "name": "outputVector", "type": "bytes" }, { "internalType": "bytes4", "name": "locktime", "type": "bytes4" } ], "internalType": "struct BitcoinTx.Info", "name": "redemptionTx", "type": "tuple" }, { "components": [ { "internalType": "bytes", "name": "merkleProof", "type": "bytes" }, { "internalType": "uint256", "name": "txIndexInBlock", "type": "uint256" }, { "internalType": "bytes", "name": "bitcoinHeaders", "type": "bytes" }, { "internalType": "bytes32", "name": "coinbasePreimage", "type": "bytes32" }, { "internalType": "bytes", "name": "coinbaseProof", "type": "bytes" } ], "internalType": "struct BitcoinTx.Proof", "name": "redemptionProof", "type": "tuple" }, { "components": [ { "internalType": "bytes32", "name": "txHash", "type": "bytes32" }, { "internalType": "uint32", "name": "txOutputIndex", "type": "uint32" }, { "internalType": "uint64", "name": "txOutputValue", "type": "uint64" } ], "internalType": "struct BitcoinTx.UTXO", "name": "mainUtxo", "type": "tuple" }, { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "submitRedemptionProof", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "redemptionKey", "type": "uint256" } ], "name": "timedOutRedemptions", "outputs": [ { "components": [ { "internalType": "address", "name": "redeemer", "type": "address" }, { "internalType": "uint64", "name": "requestedAmount", "type": "uint64" }, { "internalType": "uint64", "name": "treasuryFee", "type": "uint64" }, { "internalType": "uint64", "name": "txMaxFee", "type": "uint64" }, { "internalType": "uint32", "name": "requestedAt", "type": "uint32" } ], "internalType": "struct Redemption.RedemptionRequest", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "newGovernance", "type": "address" } ], "name": "transferGovernance", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "treasury", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "txProofDifficultyFactor", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "depositDustThreshold", "type": "uint64" }, { "internalType": "uint64", "name": "depositTreasuryFeeDivisor", "type": "uint64" }, { "internalType": "uint64", "name": "depositTxMaxFee", "type": "uint64" }, { "internalType": "uint32", "name": "depositRevealAheadPeriod", "type": "uint32" } ], "name": "updateDepositParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint96", "name": "fraudChallengeDepositAmount", "type": "uint96" }, { "internalType": "uint32", "name": "fraudChallengeDefeatTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "fraudSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "fraudNotifierRewardMultiplier", "type": "uint32" } ], "name": "updateFraudParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "movingFundsTxMaxTotalFee", "type": "uint64" }, { "internalType": "uint64", "name": "movingFundsDustThreshold", "type": "uint64" }, { "internalType": "uint32", "name": "movingFundsTimeoutResetDelay", "type": "uint32" }, { "internalType": "uint32", "name": "movingFundsTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "movingFundsTimeoutSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "movingFundsTimeoutNotifierRewardMultiplier", "type": "uint32" }, { "internalType": "uint16", "name": "movingFundsCommitmentGasOffset", "type": "uint16" }, { "internalType": "uint64", "name": "movedFundsSweepTxMaxTotalFee", "type": "uint64" }, { "internalType": "uint32", "name": "movedFundsSweepTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "movedFundsSweepTimeoutSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "movedFundsSweepTimeoutNotifierRewardMultiplier", "type": "uint32" } ], "name": "updateMovingFundsParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint64", "name": "redemptionDustThreshold", "type": "uint64" }, { "internalType": "uint64", "name": "redemptionTreasuryFeeDivisor", "type": "uint64" }, { "internalType": "uint64", "name": "redemptionTxMaxFee", "type": "uint64" }, { "internalType": "uint64", "name": "redemptionTxMaxTotalFee", "type": "uint64" }, { "internalType": "uint32", "name": "redemptionTimeout", "type": "uint32" }, { "internalType": "uint96", "name": "redemptionTimeoutSlashingAmount", "type": "uint96" }, { "internalType": "uint32", "name": "redemptionTimeoutNotifierRewardMultiplier", "type": "uint32" } ], "name": "updateRedemptionParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "treasury", "type": "address" } ], "name": "updateTreasury", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint32", "name": "walletCreationPeriod", "type": "uint32" }, { "internalType": "uint64", "name": "walletCreationMinBtcBalance", "type": "uint64" }, { "internalType": "uint64", "name": "walletCreationMaxBtcBalance", "type": "uint64" }, { "internalType": "uint64", "name": "walletClosureMinBtcBalance", "type": "uint64" }, { "internalType": "uint32", "name": "walletMaxAge", "type": "uint32" }, { "internalType": "uint64", "name": "walletMaxBtcTransfer", "type": "uint64" }, { "internalType": "uint32", "name": "walletClosingPeriod", "type": "uint32" } ], "name": "updateWalletParameters", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "walletParameters", "outputs": [ { "internalType": "uint32", "name": "walletCreationPeriod", "type": "uint32" }, { "internalType": "uint64", "name": "walletCreationMinBtcBalance", "type": "uint64" }, { "internalType": "uint64", "name": "walletCreationMaxBtcBalance", "type": "uint64" }, { "internalType": "uint64", "name": "walletClosureMinBtcBalance", "type": "uint64" }, { "internalType": "uint32", "name": "walletMaxAge", "type": "uint32" }, { "internalType": "uint64", "name": "walletMaxBtcTransfer", "type": "uint64" }, { "internalType": "uint32", "name": "walletClosingPeriod", "type": "uint32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes20", "name": "walletPubKeyHash", "type": "bytes20" } ], "name": "wallets", "outputs": [ { "components": [ { "internalType": "bytes32", "name": "ecdsaWalletID", "type": "bytes32" }, { "internalType": "bytes32", "name": "mainUtxoHash", "type": "bytes32" }, { "internalType": "uint64", "name": "pendingRedemptionsValue", "type": "uint64" }, { "internalType": "uint32", "name": "createdAt", "type": "uint32" }, { "internalType": "uint32", "name": "movingFundsRequestedAt", "type": "uint32" }, { "internalType": "uint32", "name": "closingStartedAt", "type": "uint32" }, { "internalType": "uint32", "name": "pendingMovedFundsSweepRequestsCount", "type": "uint32" }, { "internalType": "enum Wallets.WalletState", "name": "state", "type": "uint8" }, { "internalType": "bytes32", "name": "movingFundsTargetWalletsCommitmentHash", "type": "bytes32" } ], "internalType": "struct Wallets.Wallet", "name": "", "type": "tuple" } ], "stateMutability": "view", "type": "function" } ], "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced", "receipt": { "to": "0x16A76d3cd3C1e3CE843C6680d6B37E9116b5C706", "from": "0x123694886DBf5Ac94DDA07135349534536D14cAf", "contractAddress": null, "transactionIndex": 144, "gasUsed": "38748", "logsBloom": "0x00000000000000000000000000000000400000000000000000000000000000000000000000000000000000000200000000000000000000020000000000000000100000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000001000000000020000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", "blockHash": "0x3042ecc12f13d8a45f547456da41ee726fc960ab5e430bfe1184823d94439094", "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced", "logs": [ { "transactionIndex": 144, "blockNumber": 16399102, "transactionHash": "0xa2980d644ed3713ca5ebd545dbd4daee76745ebaff4aca2e4222b859a8400ced", "address": "0x5e4861a80B55f035D899f66772117F00FA0E8e7B", "topics": [ "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", "0x0000000000000000000000008d014903bf7867260584d714e11809fea5293234" ], "data": "0x", "logIndex": 167, "blockHash": "0x3042ecc12f13d8a45f547456da41ee726fc960ab5e430bfe1184823d94439094" } ], "blockNumber": 16399102, "cumulativeGasUsed": "8682572", "status": 1, "byzantium": true }, "numDeployments": 6, "libraries": { "Deposit": "0xE83bcc22A723f693eF0fEB7044F61aeC8c79fe02", "DepositSweep": "0x392635646Bc22FC13C86859d1f02B27974aC9b95", "Redemption": "0x1D13858f4C21cF33c9916eC5E332ebe72656E9A4", "Wallets": "0xc989d3E486AAe6355F65281B4d0bde08c8e32fBC", "Fraud": "0x51bBeF1c7cC3a1D3bC5E64CE6C3BA6E66fbA3559", "MovingFunds": "0x3E0407765FaC663d391aE738f3Aa0c98EAb67a90" }, "implementation": "0x7D43c9259bAe6e594EC5C2fc1121ad67eD601677", "devdoc": "Contract deployed as upgradable proxy" }