Skip to content

Commit 7252ffd

Browse files
committed
updated abi
1 parent e10d2d8 commit 7252ffd

File tree

1 file changed

+5
-2
lines changed
  • target_chains/stylus/contracts/pyth-receiver/src

1 file changed

+5
-2
lines changed

target_chains/stylus/contracts/pyth-receiver/src/lib.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,11 @@ use pythnet_sdk::{wire::{v1::{
2323
};
2424

2525
sol_interface! {
26-
interface IWormhole {
27-
function parseAndVerifyVm(bytes calldata encodedVaa) external returns (bytes memory);
26+
interface IWormholeContract {
27+
function initialize(address[] memory initial_guardians, uint16 chain_id, uint16 governance_chain_id, address governance_contract) external;
28+
function getGuardianSet(uint32 index) external view returns (uint8[] memory);
29+
function parseAndVerifyVm(uint8[] memory encoded_vaa) external view returns (uint8[] memory);
30+
function quorum(uint32 num_guardians) external pure returns (uint32);
2831
}
2932
}
3033

0 commit comments

Comments
 (0)