Skip to content

Commit

Permalink
chore: new types
Browse files Browse the repository at this point in the history
  • Loading branch information
H3xept committed Oct 17, 2022
1 parent e86b0c1 commit 3e2e414
Show file tree
Hide file tree
Showing 116 changed files with 23,140 additions and 0 deletions.
5 changes: 5 additions & 0 deletions @axelar-network/axelar-cgp-solidity/contracts/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type * as interfaces from "./interfaces";
export type { interfaces };
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
import type {
BaseContract,
BigNumber,
BigNumberish,
BytesLike,
CallOverrides,
ContractTransaction,
Overrides,
PopulatedTransaction,
Signer,
utils,
} from "ethers";
import type { FunctionFragment, Result } from "@ethersproject/abi";
import type { Listener, Provider } from "@ethersproject/providers";
import type {
TypedEventFilter,
TypedEvent,
TypedListener,
OnEvent,
} from "../../../../common";

export interface IAxelarExecutableInterface extends utils.Interface {
functions: {
"execute(bytes32,string,string,bytes)": FunctionFragment;
"executeWithToken(bytes32,string,string,bytes,string,uint256)": FunctionFragment;
"gateway()": FunctionFragment;
};

getFunction(
nameOrSignatureOrTopic: "execute" | "executeWithToken" | "gateway"
): FunctionFragment;

encodeFunctionData(
functionFragment: "execute",
values: [BytesLike, string, string, BytesLike]
): string;
encodeFunctionData(
functionFragment: "executeWithToken",
values: [BytesLike, string, string, BytesLike, string, BigNumberish]
): string;
encodeFunctionData(functionFragment: "gateway", values?: undefined): string;

decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result;
decodeFunctionResult(
functionFragment: "executeWithToken",
data: BytesLike
): Result;
decodeFunctionResult(functionFragment: "gateway", data: BytesLike): Result;

events: {};
}

export interface IAxelarExecutable extends BaseContract {
connect(signerOrProvider: Signer | Provider | string): this;
attach(addressOrName: string): this;
deployed(): Promise<this>;

interface: IAxelarExecutableInterface;

queryFilter<TEvent extends TypedEvent>(
event: TypedEventFilter<TEvent>,
fromBlockOrBlockhash?: string | number | undefined,
toBlock?: string | number | undefined
): Promise<Array<TEvent>>;

listeners<TEvent extends TypedEvent>(
eventFilter?: TypedEventFilter<TEvent>
): Array<TypedListener<TEvent>>;
listeners(eventName?: string): Array<Listener>;
removeAllListeners<TEvent extends TypedEvent>(
eventFilter: TypedEventFilter<TEvent>
): this;
removeAllListeners(eventName?: string): this;
off: OnEvent<this>;
on: OnEvent<this>;
once: OnEvent<this>;
removeListener: OnEvent<this>;

functions: {
execute(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;

executeWithToken(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
tokenSymbol: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;

gateway(overrides?: CallOverrides): Promise<[string]>;
};

execute(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;

executeWithToken(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
tokenSymbol: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<ContractTransaction>;

gateway(overrides?: CallOverrides): Promise<string>;

callStatic: {
execute(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
overrides?: CallOverrides
): Promise<void>;

executeWithToken(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
tokenSymbol: string,
amount: BigNumberish,
overrides?: CallOverrides
): Promise<void>;

gateway(overrides?: CallOverrides): Promise<string>;
};

filters: {};

estimateGas: {
execute(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;

executeWithToken(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
tokenSymbol: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<BigNumber>;

gateway(overrides?: CallOverrides): Promise<BigNumber>;
};

populateTransaction: {
execute(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;

executeWithToken(
commandId: BytesLike,
sourceChain: string,
sourceAddress: string,
payload: BytesLike,
tokenSymbol: string,
amount: BigNumberish,
overrides?: Overrides & { from?: string | Promise<string> }
): Promise<PopulatedTransaction>;

gateway(overrides?: CallOverrides): Promise<PopulatedTransaction>;
};
}
Loading

0 comments on commit 3e2e414

Please sign in to comment.