@hyperlane-xyz/sdk
Version:
The official SDK for the Hyperlane Network
61 lines • 1.44 kB
TypeScript
/**
* This file was automatically generated by @cosmwasm/ts-codegen@0.35.3.
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
* and run the @cosmwasm/ts-codegen generate command to regenerate this file.
*/
export interface InstantiateMsg {
owner: string;
}
export type ExecuteMsg = {
ownership: OwnableMsg;
} | {
set_remote_gas_data_configs: {
configs: RemoteGasDataConfig[];
};
} | {
set_remote_gas_data: {
config: RemoteGasDataConfig;
};
};
export type OwnableMsg = {
init_ownership_transfer: {
next_owner: string;
};
} | {
revoke_ownership_transfer: {};
} | {
claim_ownership: {};
};
export type Uint128 = string;
export interface RemoteGasDataConfig {
gas_price: Uint128;
remote_domain: number;
token_exchange_rate: Uint128;
}
export type QueryMsg = {
ownable: OwnableQueryMsg;
} | {
oracle: IgpGasOracleQueryMsg;
};
export type OwnableQueryMsg = {
get_owner: {};
} | {
get_pending_owner: {};
};
export type IgpGasOracleQueryMsg = {
get_exchange_rate_and_gas_price: {
dest_domain: number;
};
};
export interface GetExchangeRateAndGasPriceResponse {
exchange_rate: Uint128;
gas_price: Uint128;
}
export type Addr = string;
export interface OwnerResponse {
owner: Addr;
}
export interface PendingOwnerResponse {
pending_owner?: Addr | null;
}
//# sourceMappingURL=IgpOracle.types.d.ts.map