@astonic-io/astonic-bindings-ts
Version:
Astonic type generation and npm package deployment repo
344 lines (343 loc) • 9.38 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.IChainlinkRelayerFactory0828__factory = void 0;
var ethers_1 = require("ethers");
var _abi = [
{
type: "function",
name: "computedRelayerAddress",
inputs: [
{
name: "rateFeedId",
type: "address",
internalType: "address",
},
{
name: "rateFeedDescription",
type: "string",
internalType: "string",
},
{
name: "maxTimestampSpread",
type: "uint256",
internalType: "uint256",
},
{
name: "aggregators",
type: "tuple[]",
internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]",
components: [
{
name: "aggregator",
type: "address",
internalType: "address",
},
{
name: "invert",
type: "bool",
internalType: "bool",
},
],
},
],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "nonpayable",
},
{
type: "function",
name: "deployRelayer",
inputs: [
{
name: "rateFeedId",
type: "address",
internalType: "address",
},
{
name: "rateFeedDescription",
type: "string",
internalType: "string",
},
{
name: "maxTimestampSpread",
type: "uint256",
internalType: "uint256",
},
{
name: "aggregators",
type: "tuple[]",
internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]",
components: [
{
name: "aggregator",
type: "address",
internalType: "address",
},
{
name: "invert",
type: "bool",
internalType: "bool",
},
],
},
],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "nonpayable",
},
{
type: "function",
name: "getRelayer",
inputs: [
{
name: "rateFeedId",
type: "address",
internalType: "address",
},
],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "view",
},
{
type: "function",
name: "getRelayers",
inputs: [],
outputs: [
{
name: "",
type: "address[]",
internalType: "address[]",
},
],
stateMutability: "view",
},
{
type: "function",
name: "initialize",
inputs: [
{
name: "_sortedOracles",
type: "address",
internalType: "address",
},
{
name: "_relayerDeployer",
type: "address",
internalType: "address",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "redeployRelayer",
inputs: [
{
name: "rateFeedId",
type: "address",
internalType: "address",
},
{
name: "rateFeedDescription",
type: "string",
internalType: "string",
},
{
name: "maxTimestampSpread",
type: "uint256",
internalType: "uint256",
},
{
name: "aggregators",
type: "tuple[]",
internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]",
components: [
{
name: "aggregator",
type: "address",
internalType: "address",
},
{
name: "invert",
type: "bool",
internalType: "bool",
},
],
},
],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "nonpayable",
},
{
type: "function",
name: "relayerDeployer",
inputs: [],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "nonpayable",
},
{
type: "function",
name: "removeRelayer",
inputs: [
{
name: "rateFeedId",
type: "address",
internalType: "address",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "setRelayerDeployer",
inputs: [
{
name: "_relayerDeployer",
type: "address",
internalType: "address",
},
],
outputs: [],
stateMutability: "nonpayable",
},
{
type: "function",
name: "sortedOracles",
inputs: [],
outputs: [
{
name: "",
type: "address",
internalType: "address",
},
],
stateMutability: "nonpayable",
},
{
type: "event",
name: "RelayerDeployed",
inputs: [
{
name: "relayerAddress",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "rateFeedId",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "rateFeedDescription",
type: "string",
indexed: false,
internalType: "string",
},
{
name: "aggregators",
type: "tuple[]",
indexed: false,
internalType: "struct IChainlinkRelayer.ChainlinkAggregator[]",
components: [
{
name: "aggregator",
type: "address",
internalType: "address",
},
{
name: "invert",
type: "bool",
internalType: "bool",
},
],
},
],
anonymous: false,
},
{
type: "event",
name: "RelayerDeployerUpdated",
inputs: [
{
name: "newRelayerDeployer",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "oldRelayerDeployer",
type: "address",
indexed: true,
internalType: "address",
},
],
anonymous: false,
},
{
type: "event",
name: "RelayerRemoved",
inputs: [
{
name: "relayerAddress",
type: "address",
indexed: true,
internalType: "address",
},
{
name: "rateFeedId",
type: "address",
indexed: true,
internalType: "address",
},
],
anonymous: false,
},
];
var IChainlinkRelayerFactory0828__factory = /** @class */ (function () {
function IChainlinkRelayerFactory0828__factory() {
}
IChainlinkRelayerFactory0828__factory.createInterface = function () {
return new ethers_1.utils.Interface(_abi);
};
IChainlinkRelayerFactory0828__factory.connect = function (address, signerOrProvider) {
return new ethers_1.Contract(address, _abi, signerOrProvider);
};
IChainlinkRelayerFactory0828__factory.abi = _abi;
return IChainlinkRelayerFactory0828__factory;
}());
exports.IChainlinkRelayerFactory0828__factory = IChainlinkRelayerFactory0828__factory;