Constructors

Properties

Methods

Constructors

Properties

abi: readonly [{
    inputs: readonly [{
        internalType: "address";
        name: "_aggregator";
        type: "address";
    }, {
        internalType: "address";
        name: "_accessController";
        type: "address";
    }];
    stateMutability: "nonpayable";
    type: "constructor";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "int256";
        name: "current";
        type: "int256";
    }, {
        indexed: true;
        internalType: "uint256";
        name: "roundId";
        type: "uint256";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "updatedAt";
        type: "uint256";
    }];
    name: "AnswerUpdated";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "uint256";
        name: "roundId";
        type: "uint256";
    }, {
        indexed: true;
        internalType: "address";
        name: "startedBy";
        type: "address";
    }, {
        indexed: false;
        internalType: "uint256";
        name: "startedAt";
        type: "uint256";
    }];
    name: "NewRound";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        indexed: true;
        internalType: "address";
        name: "to";
        type: "address";
    }];
    name: "OwnershipTransferRequested";
    type: "event";
}, {
    anonymous: false;
    inputs: readonly [{
        indexed: true;
        internalType: "address";
        name: "from";
        type: "address";
    }, {
        indexed: true;
        internalType: "address";
        name: "to";
        type: "address";
    }];
    name: "OwnershipTransferred";
    type: "event";
}, {
    inputs: readonly [];
    name: "acceptOwnership";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [];
    name: "accessController";
    outputs: readonly [{
        internalType: "contract AccessControllerInterface";
        name: "";
        type: "address";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "aggregator";
    outputs: readonly [{
        internalType: "address";
        name: "";
        type: "address";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "_aggregator";
        type: "address";
    }];
    name: "confirmAggregator";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [];
    name: "decimals";
    outputs: readonly [{
        internalType: "uint8";
        name: "";
        type: "uint8";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "description";
    outputs: readonly [{
        internalType: "string";
        name: "";
        type: "string";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "uint256";
        name: "_roundId";
        type: "uint256";
    }];
    name: "getAnswer";
    outputs: readonly [{
        internalType: "int256";
        name: "";
        type: "int256";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "uint80";
        name: "_roundId";
        type: "uint80";
    }];
    name: "getRoundData";
    outputs: readonly [{
        internalType: "uint80";
        name: "roundId";
        type: "uint80";
    }, {
        internalType: "int256";
        name: "answer";
        type: "int256";
    }, {
        internalType: "uint256";
        name: "startedAt";
        type: "uint256";
    }, {
        internalType: "uint256";
        name: "updatedAt";
        type: "uint256";
    }, {
        internalType: "uint80";
        name: "answeredInRound";
        type: "uint80";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "uint256";
        name: "_roundId";
        type: "uint256";
    }];
    name: "getTimestamp";
    outputs: readonly [{
        internalType: "uint256";
        name: "";
        type: "uint256";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "latestAnswer";
    outputs: readonly [{
        internalType: "int256";
        name: "";
        type: "int256";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "latestRound";
    outputs: readonly [{
        internalType: "uint256";
        name: "";
        type: "uint256";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "latestRoundData";
    outputs: readonly [{
        internalType: "uint80";
        name: "roundId";
        type: "uint80";
    }, {
        internalType: "int256";
        name: "answer";
        type: "int256";
    }, {
        internalType: "uint256";
        name: "startedAt";
        type: "uint256";
    }, {
        internalType: "uint256";
        name: "updatedAt";
        type: "uint256";
    }, {
        internalType: "uint80";
        name: "answeredInRound";
        type: "uint80";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "latestTimestamp";
    outputs: readonly [{
        internalType: "uint256";
        name: "";
        type: "uint256";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "owner";
    outputs: readonly [{
        internalType: "address payable";
        name: "";
        type: "address";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "uint16";
        name: "";
        type: "uint16";
    }];
    name: "phaseAggregators";
    outputs: readonly [{
        internalType: "contract AggregatorV2V3Interface";
        name: "";
        type: "address";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "phaseId";
    outputs: readonly [{
        internalType: "uint16";
        name: "";
        type: "uint16";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "_aggregator";
        type: "address";
    }];
    name: "proposeAggregator";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [];
    name: "proposedAggregator";
    outputs: readonly [{
        internalType: "contract AggregatorV2V3Interface";
        name: "";
        type: "address";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "uint80";
        name: "_roundId";
        type: "uint80";
    }];
    name: "proposedGetRoundData";
    outputs: readonly [{
        internalType: "uint80";
        name: "roundId";
        type: "uint80";
    }, {
        internalType: "int256";
        name: "answer";
        type: "int256";
    }, {
        internalType: "uint256";
        name: "startedAt";
        type: "uint256";
    }, {
        internalType: "uint256";
        name: "updatedAt";
        type: "uint256";
    }, {
        internalType: "uint80";
        name: "answeredInRound";
        type: "uint80";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [];
    name: "proposedLatestRoundData";
    outputs: readonly [{
        internalType: "uint80";
        name: "roundId";
        type: "uint80";
    }, {
        internalType: "int256";
        name: "answer";
        type: "int256";
    }, {
        internalType: "uint256";
        name: "startedAt";
        type: "uint256";
    }, {
        internalType: "uint256";
        name: "updatedAt";
        type: "uint256";
    }, {
        internalType: "uint80";
        name: "answeredInRound";
        type: "uint80";
    }];
    stateMutability: "view";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "_accessController";
        type: "address";
    }];
    name: "setController";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [{
        internalType: "address";
        name: "_to";
        type: "address";
    }];
    name: "transferOwnership";
    outputs: readonly [];
    stateMutability: "nonpayable";
    type: "function";
}, {
    inputs: readonly [];
    name: "version";
    outputs: readonly [{
        internalType: "uint256";
        name: "";
        type: "uint256";
    }];
    stateMutability: "view";
    type: "function";
}] = _abi

Methods

  • Parameters

    • address: string
    • signerOrProvider: Provider | Signer

    Returns EACAggregatorProxy