-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
116 changed files
with
23,140 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }; |
191 changes: 191 additions & 0 deletions
191
@axelar-network/axelar-cgp-solidity/contracts/interfaces/IAxelarExecutable.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; | ||
}; | ||
} |
Oops, something went wrong.