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§
- BRIDGE_
CONTRACT Instance - A
BRIDGE_CONTRACTinstance. - CODESEP_
POSCall - Function with signature
CODESEP_POS()and selector0xb2497e70. - CODESEP_
POSReturn - Container type for the return parameters of the
CODESEP_POS()function. - Deposit
- Event with signature
Deposit(bytes32,bytes32,address,uint256,uint256)and selector0xa82453ca34121b3ecb910d957824e27c5dc6465315949facd15fb72886490058. - Deposit
Replaced - Event with signature
DepositReplaced(uint256,bytes32,bytes32)and selector0x4d7c644a48da4c7857af62a00bad9806f0388564f22955ed846d938c244047f0. - Deposit
Script Update - Event with signature
DepositScriptUpdate(bytes,bytes)and selector0x80bd1fdfe157286ce420ee763f91748455b249605748e5df12dad9844402bafc. - Deposit
Transfer Failed - Event with signature
DepositTransferFailed(bytes32,bytes32,address,uint256,uint256)and selector0xabd361bc68da04a386a8de9d0fb3044cca0856cbd86e9e4a63237e015b3e4bb9. - EPOCH
Call - Function with signature
EPOCH()and selector0xa0dc2758. - EPOCH
Return - Container type for the return parameters of the
EPOCH()function. - Failed
Deposit Vault Updated - Event with signature
FailedDepositVaultUpdated(address,address)and selector0x79250b96878fd457364d1c1b77a660973c4f4ab67bda5e2fdb42caaa4d515f9d. - INPUT_
INDEX Call - Function with signature
INPUT_INDEX()and selector0x428bcd35. - INPUT_
INDEX Return - Container type for the return parameters of the
INPUT_INDEX()function. - Initialized
- Event with signature
Initialized(uint64)and selector0xc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2. - Invalid
Initialization - Custom error with signature
InvalidInitialization()and selector0xf92ee8a9. - KEY_
VERSION Call - Function with signature
KEY_VERSION()and selector0x1369ac3e. - KEY_
VERSION Return - Container type for the return parameters of the
KEY_VERSION()function. - LIGHT_
CLIENT Call - Function with signature
LIGHT_CLIENT()and selector0xe613ae00. - LIGHT_
CLIENT Return - Container type for the return parameters of the
LIGHT_CLIENT()function. - NotInitializing
- Custom error with signature
NotInitializing()and selector0xd7e6bcf8. - Operator
Updated - Event with signature
OperatorUpdated(address,address)and selector0xfbe5b6cbafb274f445d7fed869dc77a838d8243a22c460de156560e8857cad03. - Ownable
Invalid Owner - Custom error with signature
OwnableInvalidOwner(address)and selector0x1e4fbdf7. - Ownable
Unauthorized Account - Custom error with signature
OwnableUnauthorizedAccount(address)and selector0x118cdaa7. - Ownership
Transfer Started - Event with signature
OwnershipTransferStarted(address,address)and selector0x38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e22700. - Ownership
Transferred - Event with signature
OwnershipTransferred(address,address)and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0. - Replace
Script Update - Event with signature
ReplaceScriptUpdate(bytes,bytes)and selector0x6c9ac69a5e351d3e7ac9be95040d29a264d1ce6a409ca9f042c64c66c3f2a23a. - SCHNORR_
VERIFIER_ PRECOMPILE Call - Function with signature
SCHNORR_VERIFIER_PRECOMPILE()and selector0x9a4f308d. - SCHNORR_
VERIFIER_ PRECOMPILE Return - Container type for the return parameters of the
SCHNORR_VERIFIER_PRECOMPILE()function. - SIGHASH_
ALL_ HASH_ TYPE Call - Function with signature
SIGHASH_ALL_HASH_TYPE()and selector0x0bd89ab7. - SIGHASH_
ALL_ HASH_ TYPE Return - Container type for the return parameters of the
SIGHASH_ALL_HASH_TYPE()function. - SIGHASH_
SINGLE_ ANYONECANPAY_ HASH_ TYPE Call - Function with signature
SIGHASH_SINGLE_ANYONECANPAY_HASH_TYPE()and selector0x6cf7d641. - SIGHASH_
SINGLE_ ANYONECANPAY_ HASH_ TYPE Return - Container type for the return parameters of the
SIGHASH_SINGLE_ANYONECANPAY_HASH_TYPE()function. - SPEND_
TYPE_ EXTCall - Function with signature
SPEND_TYPE_EXT()and selector0x23dacd29. - SPEND_
TYPE_ EXTReturn - Container type for the return parameters of the
SPEND_TYPE_EXT()function. - SPEND_
TYPE_ NO_ EXTCall - Function with signature
SPEND_TYPE_NO_EXT()and selector0x092ac5d4. - SPEND_
TYPE_ NO_ EXTReturn - Container type for the return parameters of the
SPEND_TYPE_NO_EXT()function. - SYSTEM_
CALLER Call - Function with signature
SYSTEM_CALLER()and selector0xd761753e. - SYSTEM_
CALLER Return - Container type for the return parameters of the
SYSTEM_CALLER()function. - Safe
Withdrawal - Event with signature
SafeWithdrawal((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes32,bytes4),uint256)and selector0xd77102e5369b5b1a9db1972cb3de26ee79abc69de5cde41eeaa67fe3939c1c55. - Withdrawal
- Event with signature
Withdrawal((bytes32,bytes4),uint256,uint256)and selector0x3311a04a346a103ac115cca33028a2bc82f1964805860d0d3fc84a2772496ada. - accept
Ownership Call - Function with signature
acceptOwnership()and selector0x79ba5097. - accept
Ownership Return - Container type for the return parameters of the
acceptOwnership()function. - batch
Withdraw Call - Function with signature
batchWithdraw(bytes32[],bytes4[])and selector0x19854623. - batch
Withdraw Return - Container type for the return parameters of the
batchWithdraw(bytes32[],bytes4[])function. - deposit
Amount Call - Function with signature
depositAmount()and selector0x419759f5. - deposit
Amount Return - Container type for the return parameters of the
depositAmount()function. - deposit
Call - Function with signature
deposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),bytes32)and selector0xfb11d7b9. - deposit
Prefix Call - Function with signature
depositPrefix()and selector0x5b4f894d. - deposit
Prefix Return - Container type for the return parameters of the
depositPrefix()function. - deposit
Return - Container type for the return parameters of the
deposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),bytes32)function. - deposit
Suffix Call - Function with signature
depositSuffix()and selector0x8752b6b2. - deposit
Suffix Return - Container type for the return parameters of the
depositSuffix()function. - deposit
TxIds Call - Function with signature
depositTxIds(uint256)and selector0x06592167. - deposit
TxIds Return - Container type for the return parameters of the
depositTxIds(uint256)function. - failed
Deposit Vault Call - Function with signature
failedDepositVault()and selector0xa670e7ed. - failed
Deposit Vault Return - Container type for the return parameters of the
failedDepositVault()function. - getAggregated
KeyCall - Function with signature
getAggregatedKey()and selector0x3c918b6c. - getAggregated
KeyReturn - Container type for the return parameters of the
getAggregatedKey()function. - getWithdrawal
Count Call - Function with signature
getWithdrawalCount()and selector0x781952a8. - getWithdrawal
Count Return - Container type for the return parameters of the
getWithdrawalCount()function. - initialize
Call - Function with signature
initialize(bytes,bytes,uint256)and selector0x41260137. - initialize
Return - Container type for the return parameters of the
initialize(bytes,bytes,uint256)function. - initialized
Call - Function with signature
initialized()and selector0x158ef93e. - initialized
Return - Container type for the return parameters of the
initialized()function. - operator
Call - Function with signature
operator()and selector0x570ca735. - operator
Return - Container type for the return parameters of the
operator()function. - owner
Call - Function with signature
owner()and selector0x8da5cb5b. - owner
Return - Container type for the return parameters of the
owner()function. - pending
Owner Call - Function with signature
pendingOwner()and selector0xe30c3978. - pending
Owner Return - Container type for the return parameters of the
pendingOwner()function. - processed
TxIds Call - Function with signature
processedTxIds(bytes32)and selector0x4379caa5. - processed
TxIds Return - Container type for the return parameters of the
processedTxIds(bytes32)function. - renounce
Ownership Call - Function with signature
renounceOwnership()and selector0x715018a6. - renounce
Ownership Return - Container type for the return parameters of the
renounceOwnership()function. - replace
Deposit Call - Function with signature
replaceDeposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),uint256,bytes32)and selector0x2594f107. - replace
Deposit Return - Container type for the return parameters of the
replaceDeposit((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),uint256,bytes32)function. - replace
Prefix Call - Function with signature
replacePrefix()and selector0x6b0b5a94. - replace
Prefix Return - Container type for the return parameters of the
replacePrefix()function. - replace
Suffix Call - Function with signature
replaceSuffix()and selector0xf42cb4fc. - replace
Suffix Return - Container type for the return parameters of the
replaceSuffix()function. - safe
Withdraw Call - Function with signature
safeWithdraw((bytes4,bytes2,bytes,bytes,bytes,bytes4),(bytes,uint256,uint256),(bytes4,bytes2,bytes,bytes,bytes,bytes4),bytes,bytes)and selector0x9072f747. - safe
Withdraw Return - 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. - setDeposit
Script Call - Function with signature
setDepositScript(bytes,bytes)and selector0xf8e655d2. - setDeposit
Script Return - Container type for the return parameters of the
setDepositScript(bytes,bytes)function. - setFailed
Deposit Vault Call - Function with signature
setFailedDepositVault(address)and selector0x85fb7151. - setFailed
Deposit Vault Return - Container type for the return parameters of the
setFailedDepositVault(address)function. - setOperator
Call - Function with signature
setOperator(address)and selector0xb3ab15fb. - setOperator
Return - Container type for the return parameters of the
setOperator(address)function. - setReplace
Script Call - Function with signature
setReplaceScript(bytes,bytes)and selector0x7ec9732a. - setReplace
Script Return - Container type for the return parameters of the
setReplaceScript(bytes,bytes)function. - transfer
Ownership Call - Function with signature
transferOwnership(address)and selector0xf2fde38b. - transfer
Ownership Return - Container type for the return parameters of the
transferOwnership(address)function. - withdraw
Call - Function with signature
withdraw(bytes32,bytes4)and selector0x8786dba7. - withdraw
Return - Container type for the return parameters of the
withdraw(bytes32,bytes4)function. - withdrawalUTX
OsCall - Function with signature
withdrawalUTXOs(uint256)and selector0x471ba1e3. - withdrawalUTX
OsReturn - Container type for the return parameters of the
withdrawalUTXOs(uint256)function.
Enums§
- BRIDGE_
CONTRACT Calls - Container for all the
BRIDGE_CONTRACTfunction calls. - BRIDGE_
CONTRACT Errors - Container for all the
BRIDGE_CONTRACTcustom errors. - BRIDGE_
CONTRACT Events - Container for all the
BRIDGE_CONTRACTevents.
Statics§
- BYTECODE
- The creation / init bytecode of the contract.
- DEPLOYED_
BYTECODE - The runtime bytecode of the contract, as deployed on the network.
Functions§
- deploy
- Deploys this contract using the given
providerand constructor arguments, if any. - deploy_
builder - Creates a
RawCallBuilderfor deploying this contract using the givenproviderand constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
BRIDGE_CONTRACTcontract instance.