polytone-voice 1.0.0

The Polytone Voice contract, recieving notes over IBC and vocalizing them on the host chain via account proxy contracts.
Documentation
use cosmwasm_std::{Instantiate2AddressError, StdError};
use cw_utils::ParseReplyError;
use thiserror::Error;

#[derive(Error, Debug, PartialEq)]
pub enum ContractError {
    #[error(transparent)]
    Std(#[from] StdError),

    #[error(transparent)]
    Parse(#[from] ParseReplyError),

    #[error(transparent)]
    Instantiate2(#[from] Instantiate2AddressError),

    #[error(transparent)]
    Handshake(#[from] polytone::handshake::error::HandshakeError),

    #[error("only the contract itself may call this method")]
    NotSelf,

    #[error("Proxy code id can't be zero")]
    CodeIdCantBeZero,

    #[error("ACK_GAS_NEEDED can't be higher then BLOCK_MAX_GAS")]
    GasLimitsMismatch,
}