Expand description
Generated by the following Solidity interface…
library Bridge {
struct MerkleProof {
bytes intermediateNodes;
uint256 blockHeight;
uint256 index;
}
struct Transaction {
bytes4 version;
bytes2 flag;
bytes vin;
bytes vout;
bytes witness;
bytes4 locktime;
}
struct UTXO {
bytes32 txId;
bytes4 outputId;
}
}
interface BRIDGE_CONTRACT {
error InvalidInitialization();
error NotInitializing();
error OwnableInvalidOwner(address owner);
error OwnableUnauthorizedAccount(address account);
event Deposit(bytes32 wtxId, bytes32 txId, address recipient, uint256 timestamp, uint256 depositId);
event DepositReplaced(uint256 index, bytes32 oldTxId, bytes32 newTxId);
event DepositScriptUpdate(bytes depositPrefix, bytes depositSuffix);
event DepositTransferFailed(bytes32 wtxId, bytes32 txId, address recipient, uint256 timestamp, uint256 depositId);
event FailedDepositVaultUpdated(address oldVault, address newVault);
event Initialized(uint64 version);
event OperatorUpdated(address oldOperator, address newOperator);
event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
event ReplaceScriptUpdate(bytes replacePrefix, bytes replaceSuffix);
event SafeWithdrawal(Bridge.Transaction payoutTx, Bridge.UTXO spentUtxo, uint256 index);
event Withdrawal(Bridge.UTXO utxo, uint256 index, uint256 timestamp);
function CODESEP_POS() external view returns (bytes memory);
function EPOCH() external view returns (bytes memory);
function INPUT_INDEX() external view returns (bytes memory);
function KEY_VERSION() external view returns (bytes memory);
function LIGHT_CLIENT() external view returns (address);
function SCHNORR_VERIFIER_PRECOMPILE() external view returns (address);
function SIGHASH_ALL_HASH_TYPE() external view returns (bytes memory);
function SIGHASH_SINGLE_ANYONECANPAY_HASH_TYPE() external view returns (bytes memory);
function SPEND_TYPE_EXT() external view returns (bytes memory);
function SPEND_TYPE_NO_EXT() external view returns (bytes memory);
function SYSTEM_CALLER() external view returns (address);
function acceptOwnership() external;
function batchWithdraw(bytes32[] memory txIds, bytes4[] memory outputIds) external payable;
function deposit(Bridge.Transaction memory moveTx, Bridge.MerkleProof memory proof, bytes32 shaScriptPubkeys) external;
function depositAmount() external view returns (uint256);
function depositPrefix() external view returns (bytes memory);
function depositSuffix() external view returns (bytes memory);
function depositTxIds(uint256) external view returns (bytes32);
function failedDepositVault() external view returns (address);
function getAggregatedKey() external view returns (bytes memory);
function getWithdrawalCount() external view returns (uint256);
function initialize(bytes memory _depositPrefix, bytes memory _depositSuffix, uint256 _depositAmount) external;
function initialized() external view returns (bool);
function operator() external view returns (address);
function owner() external view returns (address);
function pendingOwner() external view returns (address);
function processedTxIds(bytes32) external view returns (bool);
function renounceOwnership() external;
function replaceDeposit(Bridge.Transaction memory replaceTx, Bridge.MerkleProof memory proof, uint256 idToReplace, bytes32 shaScriptPubkeys) external;
function replacePrefix() external view returns (bytes memory);
function replaceSuffix() external view returns (bytes memory);
function safeWithdraw(Bridge.Transaction memory prepareTx, Bridge.MerkleProof memory prepareProof, Bridge.Transaction memory payoutTx, bytes memory blockHeader, bytes memory scriptPubKey) external payable;
function setDepositScript(bytes memory _depositPrefix, bytes memory _depositSuffix) external;
function setFailedDepositVault(address _failedDepositVault) external;
function setOperator(address _operator) external;
function setReplaceScript(bytes memory _replacePrefix, bytes memory _replaceSuffix) external;
function transferOwnership(address newOwner) external;
function withdraw(bytes32 txId, bytes4 outputId) external payable;
function withdrawalUTXOs(uint256) external view returns (bytes32 txId, bytes4 outputId);
}
…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "CODESEP_POS",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "EPOCH",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "INPUT_INDEX",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "KEY_VERSION",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "LIGHT_CLIENT",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "contract BitcoinLightClient"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "SCHNORR_VERIFIER_PRECOMPILE",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "SIGHASH_ALL_HASH_TYPE",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "SIGHASH_SINGLE_ANYONECANPAY_HASH_TYPE",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "SPEND_TYPE_EXT",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "SPEND_TYPE_NO_EXT",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "SYSTEM_CALLER",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "acceptOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "batchWithdraw",
"inputs": [
{
"name": "txIds",
"type": "bytes32[]",
"internalType": "bytes32[]"
},
{
"name": "outputIds",
"type": "bytes4[]",
"internalType": "bytes4[]"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "deposit",
"inputs": [
{
"name": "moveTx",
"type": "tuple",
"internalType": "struct Bridge.Transaction",
"components": [
{
"name": "version",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "flag",
"type": "bytes2",
"internalType": "bytes2"
},
{
"name": "vin",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "vout",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "witness",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "locktime",
"type": "bytes4",
"internalType": "bytes4"
}
]
},
{
"name": "proof",
"type": "tuple",
"internalType": "struct Bridge.MerkleProof",
"components": [
{
"name": "intermediateNodes",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "blockHeight",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "index",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "shaScriptPubkeys",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "depositAmount",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "depositPrefix",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "depositSuffix",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "depositTxIds",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "failedDepositVault",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getAggregatedKey",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getWithdrawalCount",
"inputs": [],
"outputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "initialize",
"inputs": [
{
"name": "_depositPrefix",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_depositSuffix",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_depositAmount",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "initialized",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "operator",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "pendingOwner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "processedTxIds",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "bool",
"internalType": "bool"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "replaceDeposit",
"inputs": [
{
"name": "replaceTx",
"type": "tuple",
"internalType": "struct Bridge.Transaction",
"components": [
{
"name": "version",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "flag",
"type": "bytes2",
"internalType": "bytes2"
},
{
"name": "vin",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "vout",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "witness",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "locktime",
"type": "bytes4",
"internalType": "bytes4"
}
]
},
{
"name": "proof",
"type": "tuple",
"internalType": "struct Bridge.MerkleProof",
"components": [
{
"name": "intermediateNodes",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "blockHeight",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "index",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "idToReplace",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "shaScriptPubkeys",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "replacePrefix",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "replaceSuffix",
"inputs": [],
"outputs": [
{
"name": "",
"type": "bytes",
"internalType": "bytes"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "safeWithdraw",
"inputs": [
{
"name": "prepareTx",
"type": "tuple",
"internalType": "struct Bridge.Transaction",
"components": [
{
"name": "version",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "flag",
"type": "bytes2",
"internalType": "bytes2"
},
{
"name": "vin",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "vout",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "witness",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "locktime",
"type": "bytes4",
"internalType": "bytes4"
}
]
},
{
"name": "prepareProof",
"type": "tuple",
"internalType": "struct Bridge.MerkleProof",
"components": [
{
"name": "intermediateNodes",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "blockHeight",
"type": "uint256",
"internalType": "uint256"
},
{
"name": "index",
"type": "uint256",
"internalType": "uint256"
}
]
},
{
"name": "payoutTx",
"type": "tuple",
"internalType": "struct Bridge.Transaction",
"components": [
{
"name": "version",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "flag",
"type": "bytes2",
"internalType": "bytes2"
},
{
"name": "vin",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "vout",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "witness",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "locktime",
"type": "bytes4",
"internalType": "bytes4"
}
]
},
{
"name": "blockHeader",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "scriptPubKey",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "setDepositScript",
"inputs": [
{
"name": "_depositPrefix",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_depositSuffix",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setFailedDepositVault",
"inputs": [
{
"name": "_failedDepositVault",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setOperator",
"inputs": [
{
"name": "_operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "setReplaceScript",
"inputs": [
{
"name": "_replacePrefix",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "_replaceSuffix",
"type": "bytes",
"internalType": "bytes"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "withdraw",
"inputs": [
{
"name": "txId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "outputId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [],
"stateMutability": "payable"
},
{
"type": "function",
"name": "withdrawalUTXOs",
"inputs": [
{
"name": "",
"type": "uint256",
"internalType": "uint256"
}
],
"outputs": [
{
"name": "txId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "outputId",
"type": "bytes4",
"internalType": "bytes4"
}
],
"stateMutability": "view"
},
{
"type": "event",
"name": "Deposit",
"inputs": [
{
"name": "wtxId",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
},
{
"name": "txId",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
},
{
"name": "recipient",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "timestamp",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "depositId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "DepositReplaced",
"inputs": [
{
"name": "index",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "oldTxId",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
},
{
"name": "newTxId",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
}
],
"anonymous": false
},
{
"type": "event",
"name": "DepositScriptUpdate",
"inputs": [
{
"name": "depositPrefix",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "depositSuffix",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "DepositTransferFailed",
"inputs": [
{
"name": "wtxId",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
},
{
"name": "txId",
"type": "bytes32",
"indexed": false,
"internalType": "bytes32"
},
{
"name": "recipient",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "timestamp",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "depositId",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "FailedDepositVaultUpdated",
"inputs": [
{
"name": "oldVault",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "newVault",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Initialized",
"inputs": [
{
"name": "version",
"type": "uint64",
"indexed": false,
"internalType": "uint64"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OperatorUpdated",
"inputs": [
{
"name": "oldOperator",
"type": "address",
"indexed": false,
"internalType": "address"
},
{
"name": "newOperator",
"type": "address",
"indexed": false,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferStarted",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
},
{
"type": "event",
"name": "ReplaceScriptUpdate",
"inputs": [
{
"name": "replacePrefix",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
},
{
"name": "replaceSuffix",
"type": "bytes",
"indexed": false,
"internalType": "bytes"
}
],
"anonymous": false
},
{
"type": "event",
"name": "SafeWithdrawal",
"inputs": [
{
"name": "payoutTx",
"type": "tuple",
"indexed": false,
"internalType": "struct Bridge.Transaction",
"components": [
{
"name": "version",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "flag",
"type": "bytes2",
"internalType": "bytes2"
},
{
"name": "vin",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "vout",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "witness",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "locktime",
"type": "bytes4",
"internalType": "bytes4"
}
]
},
{
"name": "spentUtxo",
"type": "tuple",
"indexed": false,
"internalType": "struct Bridge.UTXO",
"components": [
{
"name": "txId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "outputId",
"type": "bytes4",
"internalType": "bytes4"
}
]
},
{
"name": "index",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "event",
"name": "Withdrawal",
"inputs": [
{
"name": "utxo",
"type": "tuple",
"indexed": false,
"internalType": "struct Bridge.UTXO",
"components": [
{
"name": "txId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "outputId",
"type": "bytes4",
"internalType": "bytes4"
}
]
},
{
"name": "index",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
},
{
"name": "timestamp",
"type": "uint256",
"indexed": false,
"internalType": "uint256"
}
],
"anonymous": false
},
{
"type": "error",
"name": "InvalidInitialization",
"inputs": []
},
{
"type": "error",
"name": "NotInitializing",
"inputs": []
},
{
"type": "error",
"name": "OwnableInvalidOwner",
"inputs": [
{
"name": "owner",
"type": "address",
"internalType": "address"
}
]
},
{
"type": "error",
"name": "OwnableUnauthorizedAccount",
"inputs": [
{
"name": "account",
"type": "address",
"internalType": "address"
}
]
}
]
Structs§
- A
BRIDGE_CONTRACT
instance. - Function with signature
CODESEP_POS()
and selector0xb2497e70
. - Container type for the return parameters of the
CODESEP_POS()
function. - Event with signature
Deposit(bytes32,bytes32,address,uint256,uint256)
and selector0xa82453ca34121b3ecb910d957824e27c5dc6465315949facd15fb72886490058
. - Event with signature
DepositReplaced(uint256,bytes32,bytes32)
and selector0x4d7c644a48da4c7857af62a00bad9806f0388564f22955ed846d938c244047f0
. - Event with signature
DepositScriptUpdate(bytes,bytes)
and selector0x80bd1fdfe157286ce420ee763f91748455b249605748e5df12dad9844402bafc
. - Event with signature
DepositTransferFailed(bytes32,bytes32,address,uint256,uint256)
and selector0xabd361bc68da04a386a8de9d0fb3044cca0856cbd86e9e4a63237e015b3e4bb9
. - Function with signature
EPOCH()
and selector0xa0dc2758
. - Container type for the return parameters of the
EPOCH()
function. - Event with signature
FailedDepositVaultUpdated(address,address)
and selector0x79250b96878fd457364d1c1b77a660973c4f4ab67bda5e2fdb42caaa4d515f9d
. - Function with signature
INPUT_INDEX()
and selector0x428bcd35
. - Container type for the return parameters of the
INPUT_INDEX()
function. - Event with signature
Initialized(uint64)
and selector0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2
. - Custom error with signature
InvalidInitialization()
and selector0xf92ee8a9
. - Function with signature
KEY_VERSION()
and selector0x1369ac3e
. - Container type for the return parameters of the
KEY_VERSION()
function. - Function with signature
LIGHT_CLIENT()
and selector0xe613ae00
. - Container type for the return parameters of the
LIGHT_CLIENT()
function. - Custom error with signature
NotInitializing()
and selector0xd7e6bcf8
. - Event with signature
OperatorUpdated(address,address)
and selector0xfbe5b6cbafb274f445d7fed869dc77a838d8243a22c460de156560e8857cad03
. - Custom error with signature
OwnableInvalidOwner(address)
and selector0x1e4fbdf7
. - Custom error with signature
OwnableUnauthorizedAccount(address)
and selector0x118cdaa7
. - Event with signature
OwnershipTransferStarted(address,address)
and selector0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700
. - Event with signature
OwnershipTransferred(address,address)
and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
. - Event with signature
ReplaceScriptUpdate(bytes,bytes)
and selector0x6c9ac69a5e351d3e7ac9be95040d29a264d1ce6a409ca9f042c64c66c3f2a23a
. - Function with signature
SCHNORR_VERIFIER_PRECOMPILE()
and selector0x9a4f308d
. - Container type for the return parameters of the
SCHNORR_VERIFIER_PRECOMPILE()
function. - Function with signature
SIGHASH_ALL_HASH_TYPE()
and selector0x0bd89ab7
. - Container type for the return parameters of the
SIGHASH_ALL_HASH_TYPE()
function. - Function with signature
SIGHASH_SINGLE_ANYONECANPAY_HASH_TYPE()
and selector0x6cf7d641
. - Container type for the return parameters of the
SIGHASH_SINGLE_ANYONECANPAY_HASH_TYPE()
function. - Function with signature
SPEND_TYPE_EXT()
and selector0x23dacd29
. - Container type for the return parameters of the
SPEND_TYPE_EXT()
function. - Function with signature
SPEND_TYPE_NO_EXT()
and selector0x092ac5d4
. - Container type for the return parameters of the
SPEND_TYPE_NO_EXT()
function. - Function with signature
SYSTEM_CALLER()
and selector0xd761753e
. - Container type for the return parameters of the
SYSTEM_CALLER()
function. - Event with signature
SafeWithdrawal((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes32,bytes4),uint256)
and selector0xd77102e5369b5b1a9db1972cb3de26ee79abc69de5cde41eeaa67fe3939c1c55
. - Event with signature
Withdrawal((bytes32,bytes4),uint256,uint256)
and selector0x3311a04a346a103ac115cca33028a2bc82f1964805860d0d3fc84a2772496ada
. - Function with signature
acceptOwnership()
and selector0x79ba5097
. - Container type for the return parameters of the
acceptOwnership()
function. - Function with signature
batchWithdraw(bytes32[],bytes4[])
and selector0x19854623
. - Container type for the return parameters of the
batchWithdraw(bytes32[],bytes4[])
function. - Function with signature
depositAmount()
and selector0x419759f5
. - Container type for the return parameters of the
depositAmount()
function. - Function with signature
deposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),bytes32)
and selector0xfb11d7b9
. - Function with signature
depositPrefix()
and selector0x5b4f894d
. - Container type for the return parameters of the
depositPrefix()
function. - Container type for the return parameters of the
deposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),bytes32)
function. - Function with signature
depositSuffix()
and selector0x8752b6b2
. - Container type for the return parameters of the
depositSuffix()
function. - Function with signature
depositTxIds(uint256)
and selector0x06592167
. - Container type for the return parameters of the
depositTxIds(uint256)
function. - Function with signature
failedDepositVault()
and selector0xa670e7ed
. - Container type for the return parameters of the
failedDepositVault()
function. - Function with signature
getAggregatedKey()
and selector0x3c918b6c
. - Container type for the return parameters of the
getAggregatedKey()
function. - Function with signature
getWithdrawalCount()
and selector0x781952a8
. - Container type for the return parameters of the
getWithdrawalCount()
function. - Function with signature
initialize(bytes,bytes,uint256)
and selector0x41260137
. - Container type for the return parameters of the
initialize(bytes,bytes,uint256)
function. - Function with signature
initialized()
and selector0x158ef93e
. - Container type for the return parameters of the
initialized()
function. - Function with signature
operator()
and selector0x570ca735
. - Container type for the return parameters of the
operator()
function. - Function with signature
owner()
and selector0x8da5cb5b
. - Container type for the return parameters of the
owner()
function. - Function with signature
pendingOwner()
and selector0xe30c3978
. - Container type for the return parameters of the
pendingOwner()
function. - Function with signature
processedTxIds(bytes32)
and selector0x4379caa5
. - Container type for the return parameters of the
processedTxIds(bytes32)
function. - Function with signature
renounceOwnership()
and selector0x715018a6
. - Container type for the return parameters of the
renounceOwnership()
function. - Function with signature
replaceDeposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),uint256,bytes32)
and selector0x2594f107
. - Container type for the return parameters of the
replaceDeposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),uint256,bytes32)
function. - Function with signature
replacePrefix()
and selector0x6b0b5a94
. - Container type for the return parameters of the
replacePrefix()
function. - Function with signature
replaceSuffix()
and selector0xf42cb4fc
. - Container type for the return parameters of the
replaceSuffix()
function. - Function with signature
safeWithdraw((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),(bytes4,bytes2,bytes,bytes,bytes,bytes4),bytes,bytes)
and selector0x9072f747
. - Container type for the return parameters of the
safeWithdraw((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),(bytes4,bytes2,bytes,bytes,bytes,bytes4),bytes,bytes)
function. - Function with signature
setDepositScript(bytes,bytes)
and selector0xf8e655d2
. - Container type for the return parameters of the
setDepositScript(bytes,bytes)
function. - Function with signature
setFailedDepositVault(address)
and selector0x85fb7151
. - Container type for the return parameters of the
setFailedDepositVault(address)
function. - Function with signature
setOperator(address)
and selector0xb3ab15fb
. - Container type for the return parameters of the
setOperator(address)
function. - Function with signature
setReplaceScript(bytes,bytes)
and selector0x7ec9732a
. - Container type for the return parameters of the
setReplaceScript(bytes,bytes)
function. - Function with signature
transferOwnership(address)
and selector0xf2fde38b
. - Container type for the return parameters of the
transferOwnership(address)
function. - Function with signature
withdraw(bytes32,bytes4)
and selector0x8786dba7
. - Container type for the return parameters of the
withdraw(bytes32,bytes4)
function. - Function with signature
withdrawalUTXOs(uint256)
and selector0x471ba1e3
. - Container type for the return parameters of the
withdrawalUTXOs(uint256)
function.
Enums§
- Container for all the
BRIDGE_CONTRACT
function calls. - Container for all the
BRIDGE_CONTRACT
custom errors. - Container for all the
BRIDGE_CONTRACT
events.
Statics§
- The creation / init bytecode of the contract.
- The runtime bytecode of the contract, as deployed on the network.
Functions§
- Deploys this contract using the given
provider
and constructor arguments, if any. - Creates a
RawCallBuilder
for deploying this contract using the givenprovider
and constructor arguments, if any. - Creates a new wrapper around an on-chain
BRIDGE_CONTRACT
contract instance.