@astonic-io/astonic-bindings-ts
Version:
Astonic type generation and npm package deployment repo
256 lines (255 loc) • 9.31 kB
TypeScript
import { Signer } from "ethers";
import type { Provider } from "@ethersproject/providers";
import type { IChainlinkRelayerFactory0828, IChainlinkRelayerFactory0828Interface } from "../../IChainlinkRelayerFactory.sol/IChainlinkRelayerFactory0828";
export declare class IChainlinkRelayerFactory0828__factory {
static readonly abi: readonly [{
readonly type: "function";
readonly name: "computedRelayerAddress";
readonly inputs: readonly [{
readonly name: "rateFeedId";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "rateFeedDescription";
readonly type: "string";
readonly internalType: "string";
}, {
readonly name: "maxTimestampSpread";
readonly type: "uint256";
readonly internalType: "uint256";
}, {
readonly name: "aggregators";
readonly type: "tuple[]";
readonly internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]";
readonly components: readonly [{
readonly name: "aggregator";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "invert";
readonly type: "bool";
readonly internalType: "bool";
}];
}];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address";
readonly internalType: "address";
}];
readonly stateMutability: "nonpayable";
}, {
readonly type: "function";
readonly name: "deployRelayer";
readonly inputs: readonly [{
readonly name: "rateFeedId";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "rateFeedDescription";
readonly type: "string";
readonly internalType: "string";
}, {
readonly name: "maxTimestampSpread";
readonly type: "uint256";
readonly internalType: "uint256";
}, {
readonly name: "aggregators";
readonly type: "tuple[]";
readonly internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]";
readonly components: readonly [{
readonly name: "aggregator";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "invert";
readonly type: "bool";
readonly internalType: "bool";
}];
}];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address";
readonly internalType: "address";
}];
readonly stateMutability: "nonpayable";
}, {
readonly type: "function";
readonly name: "getRelayer";
readonly inputs: readonly [{
readonly name: "rateFeedId";
readonly type: "address";
readonly internalType: "address";
}];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address";
readonly internalType: "address";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "getRelayers";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address[]";
readonly internalType: "address[]";
}];
readonly stateMutability: "view";
}, {
readonly type: "function";
readonly name: "initialize";
readonly inputs: readonly [{
readonly name: "_sortedOracles";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "_relayerDeployer";
readonly type: "address";
readonly internalType: "address";
}];
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
}, {
readonly type: "function";
readonly name: "redeployRelayer";
readonly inputs: readonly [{
readonly name: "rateFeedId";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "rateFeedDescription";
readonly type: "string";
readonly internalType: "string";
}, {
readonly name: "maxTimestampSpread";
readonly type: "uint256";
readonly internalType: "uint256";
}, {
readonly name: "aggregators";
readonly type: "tuple[]";
readonly internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]";
readonly components: readonly [{
readonly name: "aggregator";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "invert";
readonly type: "bool";
readonly internalType: "bool";
}];
}];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address";
readonly internalType: "address";
}];
readonly stateMutability: "nonpayable";
}, {
readonly type: "function";
readonly name: "relayerDeployer";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address";
readonly internalType: "address";
}];
readonly stateMutability: "nonpayable";
}, {
readonly type: "function";
readonly name: "removeRelayer";
readonly inputs: readonly [{
readonly name: "rateFeedId";
readonly type: "address";
readonly internalType: "address";
}];
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
}, {
readonly type: "function";
readonly name: "setRelayerDeployer";
readonly inputs: readonly [{
readonly name: "_relayerDeployer";
readonly type: "address";
readonly internalType: "address";
}];
readonly outputs: readonly [];
readonly stateMutability: "nonpayable";
}, {
readonly type: "function";
readonly name: "sortedOracles";
readonly inputs: readonly [];
readonly outputs: readonly [{
readonly name: "";
readonly type: "address";
readonly internalType: "address";
}];
readonly stateMutability: "nonpayable";
}, {
readonly type: "event";
readonly name: "RelayerDeployed";
readonly inputs: readonly [{
readonly name: "relayerAddress";
readonly type: "address";
readonly indexed: true;
readonly internalType: "address";
}, {
readonly name: "rateFeedId";
readonly type: "address";
readonly indexed: true;
readonly internalType: "address";
}, {
readonly name: "rateFeedDescription";
readonly type: "string";
readonly indexed: false;
readonly internalType: "string";
}, {
readonly name: "aggregators";
readonly type: "tuple[]";
readonly indexed: false;
readonly internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]";
readonly components: readonly [{
readonly name: "aggregator";
readonly type: "address";
readonly internalType: "address";
}, {
readonly name: "invert";
readonly type: "bool";
readonly internalType: "bool";
}];
}];
readonly anonymous: false;
}, {
readonly type: "event";
readonly name: "RelayerDeployerUpdated";
readonly inputs: readonly [{
readonly name: "newRelayerDeployer";
readonly type: "address";
readonly indexed: true;
readonly internalType: "address";
}, {
readonly name: "oldRelayerDeployer";
readonly type: "address";
readonly indexed: true;
readonly internalType: "address";
}];
readonly anonymous: false;
}, {
readonly type: "event";
readonly name: "RelayerRemoved";
readonly inputs: readonly [{
readonly name: "relayerAddress";
readonly type: "address";
readonly indexed: true;
readonly internalType: "address";
}, {
readonly name: "rateFeedId";
readonly type: "address";
readonly indexed: true;
readonly internalType: "address";
}];
readonly anonymous: false;
}];
static createInterface(): IChainlinkRelayerFactory0828Interface;
static connect(address: string, signerOrProvider: Signer | Provider): IChainlinkRelayerFactory0828;
}