Skip to content

Commit

Permalink
fix: update bridge interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Luisfc68 committed Jul 22, 2024
1 parent 65d47b7 commit 8310fc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ interface Bridge {

function getFederatorPublicKey(int256 index) external view returns (bytes memory);

function getFederatorPublicKeyOfType(int256 index, string calldata atype) external returns (bytes memory);
function getFederatorPublicKeyOfType(int256 index, string calldata atype) external view returns (bytes memory);

function getFederationCreationTime() external view returns (int256);

Expand Down Expand Up @@ -111,7 +111,7 @@ interface Bridge {
function registerBtcCoinbaseTransaction(bytes calldata btcTxSerialized, bytes32 blockHash,
bytes calldata pmtSerialized, bytes32 witnessMerkleRoot, bytes32 witnessReservedValue) external;

function hasBtcBlockCoinbaseTransactionInformation(bytes32 blockHash) external returns (bool);
function hasBtcBlockCoinbaseTransactionInformation(bytes32 blockHash) external view returns (bool);

function registerFastBridgeBtcTransaction(bytes calldata btcTxSerialized, uint256 height,
bytes calldata pmtSerialized, bytes32 derivationArgumentsHash,
Expand Down

0 comments on commit 8310fc3

Please sign in to comment.