diff --git a/solidity/deployments/mainnet/WalletCoordinator.json b/solidity/deployments/mainnet/WalletCoordinator.json deleted file mode 100644 index 3e5b15065..000000000 --- a/solidity/deployments/mainnet/WalletCoordinator.json +++ /dev/null @@ -1,1107 +0,0 @@ -{ - "address": "0x64EA4b84e2BdfD313428b96658260E495a420093", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "CoordinatorAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "CoordinatorRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint32", - "name": "depositSweepProposalValidity", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "depositMinAge", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "depositRefundSafetyMargin", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "depositSweepMaxSize", - "type": "uint16" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "depositSweepProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "DepositSweepProposalParametersUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "indexed": false, - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - }, - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "DepositSweepProposalSubmitted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint32", - "name": "heartbeatRequestValidity", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "heartbeatRequestGasOffset", - "type": "uint32" - } - ], - "name": "HeartbeatRequestParametersUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "message", - "type": "bytes" - }, - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "HeartbeatRequestSubmitted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionProposalValidity", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionRequestMinAge", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionRequestTimeoutSafetyMargin", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "redemptionMaxSize", - "type": "uint16" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "RedemptionProposalParametersUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "indexed": false, - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - }, - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "RedemptionProposalSubmitted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "newReimbursementPool", - "type": "address" - } - ], - "name": "ReimbursementPoolUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - } - ], - "name": "WalletManuallyUnlocked", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "addCoordinator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "bridge", - "outputs": [ - { - "internalType": "contract Bridge", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositMinAge", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositRefundSafetyMargin", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositSweepMaxSize", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositSweepProposalSubmissionGasOffset", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositSweepProposalValidity", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "heartbeatRequestGasOffset", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "heartbeatRequestValidity", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract Bridge", - "name": "_bridge", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "isCoordinator", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionMaxSize", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionProposalSubmissionGasOffset", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionProposalValidity", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionRequestMinAge", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionRequestTimeoutSafetyMargin", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "reimbursementPool", - "outputs": [ - { - "internalType": "contract ReimbursementPool", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "removeCoordinator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes", - "name": "message", - "type": "bytes" - } - ], - "name": "requestHeartbeat", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes", - "name": "message", - "type": "bytes" - } - ], - "name": "requestHeartbeatWithReimbursement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitDepositSweepProposal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitDepositSweepProposalWithReimbursement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitRedemptionProposal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitRedemptionProposalWithReimbursement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - } - ], - "name": "unlockWallet", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint32", - "name": "_depositSweepProposalValidity", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_depositMinAge", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_depositRefundSafetyMargin", - "type": "uint32" - }, - { - "internalType": "uint16", - "name": "_depositSweepMaxSize", - "type": "uint16" - }, - { - "internalType": "uint32", - "name": "_depositSweepProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "updateDepositSweepProposalParameters", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint32", - "name": "_heartbeatRequestValidity", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_heartbeatRequestGasOffset", - "type": "uint32" - } - ], - "name": "updateHeartbeatRequestParameters", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint32", - "name": "_redemptionProposalValidity", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_redemptionRequestMinAge", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_redemptionRequestTimeoutSafetyMargin", - "type": "uint32" - }, - { - "internalType": "uint16", - "name": "_redemptionMaxSize", - "type": "uint16" - }, - { - "internalType": "uint32", - "name": "_redemptionProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "updateRedemptionProposalParameters", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract ReimbursementPool", - "name": "_reimbursementPool", - "type": "address" - } - ], - "name": "updateReimbursementPool", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - }, - { - "components": [ - { - "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" - }, - { - "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": "struct WalletCoordinator.DepositExtraInfo[]", - "name": "depositsExtraInfo", - "type": "tuple[]" - } - ], - "name": "validateDepositSweepProposal", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "validateRedemptionProposal", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "", - "type": "bytes20" - } - ], - "name": "walletLock", - "outputs": [ - { - "internalType": "uint32", - "name": "expiresAt", - "type": "uint32" - }, - { - "internalType": "enum WalletCoordinator.WalletAction", - "name": "cause", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - } - ], - "transactionHash": "0x0a8cd2034987664518ad1583c484fb43031f73edcd8e5e3d38dafc08de6f6bb1", - "receipt": { - "to": null, - "from": "0x123694886DBf5Ac94DDA07135349534536D14cAf", - "contractAddress": "0x64EA4b84e2BdfD313428b96658260E495a420093", - "transactionIndex": 35, - "gasUsed": "723585", - "logsBloom": "0x00000000000000000000000000000000400000000000000000800000000000000000000000000000000000000000000000000000000000000000000000000400000000000000000020040000000002000001000000000000000000000000000000000000020000002000000000000800000000800000000000000000000000400000000000000000000000000000000000000000000080000000000000800000000000000000000020000000000400000000000000000004000000400000000000000020000000000000000000440000000000000400000000000000000020000000000000000000000000000000000000000000000000000000000000000000", - "blockHash": "0x13d48fd27c9bc628d729cd2b79b4791b2ae0039fdbc4a7cfa823b9a04e628b19", - "transactionHash": "0x0a8cd2034987664518ad1583c484fb43031f73edcd8e5e3d38dafc08de6f6bb1", - "logs": [ - { - "transactionIndex": 35, - "blockNumber": 17285662, - "transactionHash": "0x0a8cd2034987664518ad1583c484fb43031f73edcd8e5e3d38dafc08de6f6bb1", - "address": "0x64EA4b84e2BdfD313428b96658260E495a420093", - "topics": [ - "0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b", - "0x0000000000000000000000009eae6e8e99d27d377f1ea0659b0cb16ce8ad32ba" - ], - "data": "0x", - "logIndex": 188, - "blockHash": "0x13d48fd27c9bc628d729cd2b79b4791b2ae0039fdbc4a7cfa823b9a04e628b19" - }, - { - "transactionIndex": 35, - "blockNumber": 17285662, - "transactionHash": "0x0a8cd2034987664518ad1583c484fb43031f73edcd8e5e3d38dafc08de6f6bb1", - "address": "0x64EA4b84e2BdfD313428b96658260E495a420093", - "topics": [ - "0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0", - "0x0000000000000000000000000000000000000000000000000000000000000000", - "0x000000000000000000000000123694886dbf5ac94dda07135349534536d14caf" - ], - "data": "0x", - "logIndex": 189, - "blockHash": "0x13d48fd27c9bc628d729cd2b79b4791b2ae0039fdbc4a7cfa823b9a04e628b19" - }, - { - "transactionIndex": 35, - "blockNumber": 17285662, - "transactionHash": "0x0a8cd2034987664518ad1583c484fb43031f73edcd8e5e3d38dafc08de6f6bb1", - "address": "0x64EA4b84e2BdfD313428b96658260E495a420093", - "topics": [ - "0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498" - ], - "data": "0x0000000000000000000000000000000000000000000000000000000000000001", - "logIndex": 190, - "blockHash": "0x13d48fd27c9bc628d729cd2b79b4791b2ae0039fdbc4a7cfa823b9a04e628b19" - }, - { - "transactionIndex": 35, - "blockNumber": 17285662, - "transactionHash": "0x0a8cd2034987664518ad1583c484fb43031f73edcd8e5e3d38dafc08de6f6bb1", - "address": "0x64EA4b84e2BdfD313428b96658260E495a420093", - "topics": [ - "0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f" - ], - "data": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016a76d3cd3c1e3ce843c6680d6b37e9116b5c706", - "logIndex": 191, - "blockHash": "0x13d48fd27c9bc628d729cd2b79b4791b2ae0039fdbc4a7cfa823b9a04e628b19" - } - ], - "blockNumber": 17285662, - "cumulativeGasUsed": "7053979", - "status": 1, - "byzantium": true - }, - "numDeployments": 3, - "implementation": "0x10Fb5943E2F4F67Ee6a533DaE49B6d4cC443ffE5", - "devdoc": "Contract deployed as upgradable proxy" -} \ No newline at end of file diff --git a/solidity/export.json b/solidity/export.json index b0f7ba2f1..af3c07792 100644 --- a/solidity/export.json +++ b/solidity/export.json @@ -12170,1042 +12170,6 @@ } ] }, - "WalletCoordinator": { - "address": "0x64EA4b84e2BdfD313428b96658260E495a420093", - "abi": [ - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "CoordinatorAdded", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "CoordinatorRemoved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint32", - "name": "depositSweepProposalValidity", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "depositMinAge", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "depositRefundSafetyMargin", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "depositSweepMaxSize", - "type": "uint16" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "depositSweepProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "DepositSweepProposalParametersUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "indexed": false, - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - }, - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "DepositSweepProposalSubmitted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint32", - "name": "heartbeatRequestValidity", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "heartbeatRequestGasOffset", - "type": "uint32" - } - ], - "name": "HeartbeatRequestParametersUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "indexed": false, - "internalType": "bytes", - "name": "message", - "type": "bytes" - }, - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "HeartbeatRequestSubmitted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint8", - "name": "version", - "type": "uint8" - } - ], - "name": "Initialized", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "address", - "name": "previousOwner", - "type": "address" - }, - { - "indexed": true, - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "OwnershipTransferred", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionProposalValidity", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionRequestMinAge", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionRequestTimeoutSafetyMargin", - "type": "uint32" - }, - { - "indexed": false, - "internalType": "uint16", - "name": "redemptionMaxSize", - "type": "uint16" - }, - { - "indexed": false, - "internalType": "uint32", - "name": "redemptionProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "RedemptionProposalParametersUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "indexed": false, - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - }, - { - "indexed": true, - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "RedemptionProposalSubmitted", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "address", - "name": "newReimbursementPool", - "type": "address" - } - ], - "name": "ReimbursementPoolUpdated", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - } - ], - "name": "WalletManuallyUnlocked", - "type": "event" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "addCoordinator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "bridge", - "outputs": [ - { - "internalType": "contract Bridge", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositMinAge", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositRefundSafetyMargin", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositSweepMaxSize", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositSweepProposalSubmissionGasOffset", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "depositSweepProposalValidity", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "heartbeatRequestGasOffset", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "heartbeatRequestValidity", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract Bridge", - "name": "_bridge", - "type": "address" - } - ], - "name": "initialize", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "name": "isCoordinator", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "owner", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionMaxSize", - "outputs": [ - { - "internalType": "uint16", - "name": "", - "type": "uint16" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionProposalSubmissionGasOffset", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionProposalValidity", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionRequestMinAge", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "redemptionRequestTimeoutSafetyMargin", - "outputs": [ - { - "internalType": "uint32", - "name": "", - "type": "uint32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "reimbursementPool", - "outputs": [ - { - "internalType": "contract ReimbursementPool", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "coordinator", - "type": "address" - } - ], - "name": "removeCoordinator", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "renounceOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes", - "name": "message", - "type": "bytes" - } - ], - "name": "requestHeartbeat", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes", - "name": "message", - "type": "bytes" - } - ], - "name": "requestHeartbeatWithReimbursement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitDepositSweepProposal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitDepositSweepProposalWithReimbursement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitRedemptionProposal", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "submitRedemptionProposalWithReimbursement", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "newOwner", - "type": "address" - } - ], - "name": "transferOwnership", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - } - ], - "name": "unlockWallet", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint32", - "name": "_depositSweepProposalValidity", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_depositMinAge", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_depositRefundSafetyMargin", - "type": "uint32" - }, - { - "internalType": "uint16", - "name": "_depositSweepMaxSize", - "type": "uint16" - }, - { - "internalType": "uint32", - "name": "_depositSweepProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "updateDepositSweepProposalParameters", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint32", - "name": "_heartbeatRequestValidity", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_heartbeatRequestGasOffset", - "type": "uint32" - } - ], - "name": "updateHeartbeatRequestParameters", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint32", - "name": "_redemptionProposalValidity", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_redemptionRequestMinAge", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "_redemptionRequestTimeoutSafetyMargin", - "type": "uint32" - }, - { - "internalType": "uint16", - "name": "_redemptionMaxSize", - "type": "uint16" - }, - { - "internalType": "uint32", - "name": "_redemptionProposalSubmissionGasOffset", - "type": "uint32" - } - ], - "name": "updateRedemptionProposalParameters", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "contract ReimbursementPool", - "name": "_reimbursementPool", - "type": "address" - } - ], - "name": "updateReimbursementPool", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "fundingTxHash", - "type": "bytes32" - }, - { - "internalType": "uint32", - "name": "fundingOutputIndex", - "type": "uint32" - } - ], - "internalType": "struct WalletCoordinator.DepositKey[]", - "name": "depositsKeys", - "type": "tuple[]" - }, - { - "internalType": "uint256", - "name": "sweepTxFee", - "type": "uint256" - }, - { - "internalType": "uint256[]", - "name": "depositsRevealBlocks", - "type": "uint256[]" - } - ], - "internalType": "struct WalletCoordinator.DepositSweepProposal", - "name": "proposal", - "type": "tuple" - }, - { - "components": [ - { - "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" - }, - { - "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": "struct WalletCoordinator.DepositExtraInfo[]", - "name": "depositsExtraInfo", - "type": "tuple[]" - } - ], - "name": "validateDepositSweepProposal", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "components": [ - { - "internalType": "bytes20", - "name": "walletPubKeyHash", - "type": "bytes20" - }, - { - "internalType": "bytes[]", - "name": "redeemersOutputScripts", - "type": "bytes[]" - }, - { - "internalType": "uint256", - "name": "redemptionTxFee", - "type": "uint256" - } - ], - "internalType": "struct WalletCoordinator.RedemptionProposal", - "name": "proposal", - "type": "tuple" - } - ], - "name": "validateRedemptionProposal", - "outputs": [ - { - "internalType": "bool", - "name": "", - "type": "bool" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "bytes20", - "name": "", - "type": "bytes20" - } - ], - "name": "walletLock", - "outputs": [ - { - "internalType": "uint32", - "name": "expiresAt", - "type": "uint32" - }, - { - "internalType": "enum WalletCoordinator.WalletAction", - "name": "cause", - "type": "uint8" - } - ], - "stateMutability": "view", - "type": "function" - } - ] - }, "Wallets": { "address": "0xc989d3E486AAe6355F65281B4d0bde08c8e32fBC", "abi": [