# Type alias Wormhole

Wormhole: {
accounts: [{
name: "PostedMessage";
type: {
fields: [{
name: "vaaVersion";
type: "u8";
}, {
name: "consistencyLevel";
type: "u8";
}, {
name: "vaaTime";
type: "u32";
}, {
name: "vaaSignatureAccount";
type: "publicKey";
}, {
name: "submissionTime";
type: "u32";
}, {
name: "nonce";
type: "u32";
}, {
name: "sequence";
type: "u64";
}, {
name: "emitterChain";
type: "u16";
}, {
name: "emitterAddress";
type: {
array: ["u8", 32];
};
}, {
name: "payload";
type: "bytes";
}];
kind: "struct";
};
}, {
name: "PostedVAA";
type: {
fields: [{
name: "vaaVersion";
type: "u8";
}, {
name: "consistencyLevel";
type: "u8";
}, {
name: "vaaTime";
type: "u32";
}, {
name: "vaaSignatureAccount";
type: "publicKey";
}, {
name: "submissionTime";
type: "u32";
}, {
name: "nonce";
type: "u32";
}, {
name: "sequence";
type: "u64";
}, {
name: "emitterChain";
type: "u16";
}, {
name: "emitterAddress";
type: {
array: ["u8", 32];
};
}, {
name: "payload";
type: "bytes";
}];
kind: "struct";
};
}];
instructions: [{
accounts: [{
isMut: true;
isSigner: false;
name: "bridge";
}, {
isMut: true;
isSigner: false;
name: "guardianSet";
}, {
isMut: true;
isSigner: false;
name: "feeCollector";
}, {
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: false;
isSigner: false;
name: "clock";
}, {
isMut: false;
isSigner: false;
name: "rent";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [{
name: "guardianSetExpirationTime";
type: "u32";
}, {
name: "fee";
type: "u64";
}, {
name: "initialGuardians";
type: {
vec: {
array: ["u8", 20];
};
};
}];
name: "initialize";
}, {
accounts: [{
isMut: true;
isSigner: false;
name: "bridge";
}, {
isMut: true;
isSigner: true;
name: "message";
}, {
isMut: false;
isSigner: true;
name: "emitter";
}, {
isMut: true;
isSigner: false;
name: "sequence";
}, {
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: true;
isSigner: false;
name: "feeCollector";
}, {
isMut: false;
isSigner: false;
name: "clock";
}, {
isMut: false;
isSigner: false;
name: "rent";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [{
name: "nonce";
type: "u32";
}, {
name: "payload";
type: "bytes";
}, {
name: "consistencyLevel";
type: "u8";
}];
name: "postMessage";
}, {
accounts: [{
isMut: false;
isSigner: false;
name: "guardianSet";
}, {
isMut: false;
isSigner: false;
name: "bridge";
}, {
isMut: false;
isSigner: false;
name: "signatureSet";
}, {
isMut: true;
isSigner: false;
name: "vaa";
}, {
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: false;
isSigner: false;
name: "clock";
}, {
isMut: false;
isSigner: false;
name: "rent";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [{
name: "version";
type: "u8";
}, {
name: "guardianSetIndex";
type: "u32";
}, {
name: "timestamp";
type: "u32";
}, {
name: "nonce";
type: "u32";
}, {
name: "emitterChain";
type: "u16";
}, {
name: "emitterAddress";
type: {
array: ["u8", 32];
};
}, {
name: "sequence";
type: "u64";
}, {
name: "consistencyLevel";
type: "u8";
}, {
name: "payload";
type: "bytes";
}];
name: "postVaa";
}, {
accounts: [{
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: true;
isSigner: false;
name: "bridge";
}, {
isMut: false;
isSigner: false;
name: "vaa";
}, {
isMut: true;
isSigner: false;
name: "claim";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [];
name: "setFees";
}, {
accounts: [{
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: true;
isSigner: false;
name: "bridge";
}, {
isMut: false;
isSigner: false;
name: "vaa";
}, {
isMut: true;
isSigner: false;
name: "claim";
}, {
isMut: true;
isSigner: false;
name: "feeCollector";
}, {
isMut: true;
isSigner: false;
name: "recipient";
}, {
isMut: false;
isSigner: false;
name: "rent";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [];
name: "transferFees";
}, {
accounts: [{
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: true;
isSigner: false;
name: "bridge";
}, {
isMut: false;
isSigner: false;
name: "vaa";
}, {
isMut: true;
isSigner: false;
name: "claim";
}, {
isMut: false;
isSigner: false;
name: "upgradeAuthority";
}, {
isMut: true;
isSigner: false;
name: "spill";
}, {
isMut: true;
isSigner: false;
name: "implementation";
}, {
isMut: true;
isSigner: false;
name: "programData";
}, {
isMut: true;
isSigner: false;
name: "wormholeProgram";
}, {
isMut: false;
isSigner: false;
name: "rent";
}, {
isMut: false;
isSigner: false;
name: "clock";
}, {
isMut: false;
isSigner: false;
name: "bpfLoaderUpgradeable";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [];
name: "upgradeContract";
}, {
accounts: [{
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: true;
isSigner: false;
name: "bridge";
}, {
isMut: false;
isSigner: false;
name: "vaa";
}, {
isMut: true;
isSigner: false;
name: "claim";
}, {
isMut: true;
isSigner: false;
name: "guardianSetOld";
}, {
isMut: true;
isSigner: false;
name: "guardianSetNew";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [];
name: "upgradeGuardianSet";
}, {
accounts: [{
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: false;
isSigner: false;
name: "guardianSet";
}, {
isMut: true;
isSigner: true;
name: "signatureSet";
}, {
isMut: false;
isSigner: false;
name: "instructions";
}, {
isMut: false;
isSigner: false;
name: "rent";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [{
name: "signatureStatus";
type: {
array: ["i8", 19];
};
}];
name: "verifySignatures";
}, {
accounts: [{
isMut: true;
isSigner: false;
name: "bridge";
}, {
isMut: true;
isSigner: true;
name: "message";
}, {
isMut: false;
isSigner: true;
name: "emitter";
}, {
isMut: true;
isSigner: false;
name: "sequence";
}, {
isMut: true;
isSigner: true;
name: "payer";
}, {
isMut: true;
isSigner: false;
name: "feeCollector";
}, {
isMut: false;
isSigner: false;
name: "clock";
}, {
isMut: false;
isSigner: false;
name: "rent";
}, {
isMut: false;
isSigner: false;
name: "systemProgram";
}];
args: [{
name: "nonce";
type: "u32";
}, {
name: "payload";
type: "bytes";
}, {
name: "consistencyLevel";
type: "u8";
}];
name: "postMessageUnreliable";
}];
name: "wormhole";
version: "0.1.0";
}

#### Type declaration

- ##### accounts: [{
  name: "PostedMessage";
  type: {
  fields: [{
  name: "vaaVersion";
  type: "u8";
  }, {
  name: "consistencyLevel";
  type: "u8";
  }, {
  name: "vaaTime";
  type: "u32";
  }, {
  name: "vaaSignatureAccount";
  type: "publicKey";
  }, {
  name: "submissionTime";
  type: "u32";
  }, {
  name: "nonce";
  type: "u32";
  }, {
  name: "sequence";
  type: "u64";
  }, {
  name: "emitterChain";
  type: "u16";
  }, {
  name: "emitterAddress";
  type: {
  array: ["u8", 32];
  };
  }, {
  name: "payload";
  type: "bytes";
  }];
  kind: "struct";
  };
  }, {
  name: "PostedVAA";
  type: {
  fields: [{
  name: "vaaVersion";
  type: "u8";
  }, {
  name: "consistencyLevel";
  type: "u8";
  }, {
  name: "vaaTime";
  type: "u32";
  }, {
  name: "vaaSignatureAccount";
  type: "publicKey";
  }, {
  name: "submissionTime";
  type: "u32";
  }, {
  name: "nonce";
  type: "u32";
  }, {
  name: "sequence";
  type: "u64";
  }, {
  name: "emitterChain";
  type: "u16";
  }, {
  name: "emitterAddress";
  type: {
  array: ["u8", 32];
  };
  }, {
  name: "payload";
  type: "bytes";
  }];
  kind: "struct";
  };
  }]

- ##### instructions: [{
  accounts: [{
  isMut: true;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: true;
  isSigner: false;
  name: "guardianSet";
  }, {
  isMut: true;
  isSigner: false;
  name: "feeCollector";
  }, {
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: false;
  isSigner: false;
  name: "clock";
  }, {
  isMut: false;
  isSigner: false;
  name: "rent";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [{
  name: "guardianSetExpirationTime";
  type: "u32";
  }, {
  name: "fee";
  type: "u64";
  }, {
  name: "initialGuardians";
  type: {
  vec: {
  array: ["u8", 20];
  };
  };
  }];
  name: "initialize";
  }, {
  accounts: [{
  isMut: true;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: true;
  isSigner: true;
  name: "message";
  }, {
  isMut: false;
  isSigner: true;
  name: "emitter";
  }, {
  isMut: true;
  isSigner: false;
  name: "sequence";
  }, {
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: true;
  isSigner: false;
  name: "feeCollector";
  }, {
  isMut: false;
  isSigner: false;
  name: "clock";
  }, {
  isMut: false;
  isSigner: false;
  name: "rent";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [{
  name: "nonce";
  type: "u32";
  }, {
  name: "payload";
  type: "bytes";
  }, {
  name: "consistencyLevel";
  type: "u8";
  }];
  name: "postMessage";
  }, {
  accounts: [{
  isMut: false;
  isSigner: false;
  name: "guardianSet";
  }, {
  isMut: false;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: false;
  isSigner: false;
  name: "signatureSet";
  }, {
  isMut: true;
  isSigner: false;
  name: "vaa";
  }, {
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: false;
  isSigner: false;
  name: "clock";
  }, {
  isMut: false;
  isSigner: false;
  name: "rent";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [{
  name: "version";
  type: "u8";
  }, {
  name: "guardianSetIndex";
  type: "u32";
  }, {
  name: "timestamp";
  type: "u32";
  }, {
  name: "nonce";
  type: "u32";
  }, {
  name: "emitterChain";
  type: "u16";
  }, {
  name: "emitterAddress";
  type: {
  array: ["u8", 32];
  };
  }, {
  name: "sequence";
  type: "u64";
  }, {
  name: "consistencyLevel";
  type: "u8";
  }, {
  name: "payload";
  type: "bytes";
  }];
  name: "postVaa";
  }, {
  accounts: [{
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: true;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: false;
  isSigner: false;
  name: "vaa";
  }, {
  isMut: true;
  isSigner: false;
  name: "claim";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [];
  name: "setFees";
  }, {
  accounts: [{
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: true;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: false;
  isSigner: false;
  name: "vaa";
  }, {
  isMut: true;
  isSigner: false;
  name: "claim";
  }, {
  isMut: true;
  isSigner: false;
  name: "feeCollector";
  }, {
  isMut: true;
  isSigner: false;
  name: "recipient";
  }, {
  isMut: false;
  isSigner: false;
  name: "rent";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [];
  name: "transferFees";
  }, {
  accounts: [{
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: true;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: false;
  isSigner: false;
  name: "vaa";
  }, {
  isMut: true;
  isSigner: false;
  name: "claim";
  }, {
  isMut: false;
  isSigner: false;
  name: "upgradeAuthority";
  }, {
  isMut: true;
  isSigner: false;
  name: "spill";
  }, {
  isMut: true;
  isSigner: false;
  name: "implementation";
  }, {
  isMut: true;
  isSigner: false;
  name: "programData";
  }, {
  isMut: true;
  isSigner: false;
  name: "wormholeProgram";
  }, {
  isMut: false;
  isSigner: false;
  name: "rent";
  }, {
  isMut: false;
  isSigner: false;
  name: "clock";
  }, {
  isMut: false;
  isSigner: false;
  name: "bpfLoaderUpgradeable";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [];
  name: "upgradeContract";
  }, {
  accounts: [{
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: true;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: false;
  isSigner: false;
  name: "vaa";
  }, {
  isMut: true;
  isSigner: false;
  name: "claim";
  }, {
  isMut: true;
  isSigner: false;
  name: "guardianSetOld";
  }, {
  isMut: true;
  isSigner: false;
  name: "guardianSetNew";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [];
  name: "upgradeGuardianSet";
  }, {
  accounts: [{
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: false;
  isSigner: false;
  name: "guardianSet";
  }, {
  isMut: true;
  isSigner: true;
  name: "signatureSet";
  }, {
  isMut: false;
  isSigner: false;
  name: "instructions";
  }, {
  isMut: false;
  isSigner: false;
  name: "rent";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [{
  name: "signatureStatus";
  type: {
  array: ["i8", 19];
  };
  }];
  name: "verifySignatures";
  }, {
  accounts: [{
  isMut: true;
  isSigner: false;
  name: "bridge";
  }, {
  isMut: true;
  isSigner: true;
  name: "message";
  }, {
  isMut: false;
  isSigner: true;
  name: "emitter";
  }, {
  isMut: true;
  isSigner: false;
  name: "sequence";
  }, {
  isMut: true;
  isSigner: true;
  name: "payer";
  }, {
  isMut: true;
  isSigner: false;
  name: "feeCollector";
  }, {
  isMut: false;
  isSigner: false;
  name: "clock";
  }, {
  isMut: false;
  isSigner: false;
  name: "rent";
  }, {
  isMut: false;
  isSigner: false;
  name: "systemProgram";
  }];
  args: [{
  name: "nonce";
  type: "u32";
  }, {
  name: "payload";
  type: "bytes";
  }, {
  name: "consistencyLevel";
  type: "u8";
  }];
  name: "postMessageUnreliable";
  }]

- ##### name: "wormhole"

- ##### version: "0.1.0"

- Defined in types.ts:1

Generated using TypeDoc