@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
107 lines • 3.36 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockAggregatorFactory = void 0;
const contracts_1 = require("@ethersproject/contracts");
class MockAggregatorFactory extends contracts_1.ContractFactory {
constructor(signer) {
super(_abi, _bytecode, signer);
}
deploy(_initialAnswer, overrides) {
return super.deploy(_initialAnswer, overrides || {});
}
getDeployTransaction(_initialAnswer, overrides) {
return super.getDeployTransaction(_initialAnswer, overrides || {});
}
attach(address) {
return super.attach(address);
}
connect(signer) {
return super.connect(signer);
}
static connect(address, signerOrProvider) {
return new contracts_1.Contract(address, _abi, signerOrProvider);
}
}
exports.MockAggregatorFactory = MockAggregatorFactory;
const _abi = [
{
inputs: [
{
internalType: "int256",
name: "_initialAnswer",
type: "int256",
},
],
stateMutability: "nonpayable",
type: "constructor",
},
{
anonymous: false,
inputs: [
{
indexed: true,
internalType: "int256",
name: "current",
type: "int256",
},
{
indexed: true,
internalType: "uint256",
name: "roundId",
type: "uint256",
},
{
indexed: false,
internalType: "uint256",
name: "timestamp",
type: "uint256",
},
],
name: "AnswerUpdated",
type: "event",
},
{
inputs: [],
name: "getTokenType",
outputs: [
{
internalType: "uint256",
name: "",
type: "uint256",
},
],
stateMutability: "pure",
type: "function",
},
{
inputs: [],
name: "latestAnswer",
outputs: [
{
internalType: "int256",
name: "",
type: "int256",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "latestRound",
outputs: [
{
internalType: "int256",
name: "",
type: "int256",
},
],
stateMutability: "pure",
type: "function",
},
];
const _bytecode = "0x608060405234801561001057600080fd5b5060405161012838038061012883398101604081905261002f9161006f565b600081815560405142815282907f0559884fd3a460db3073b7fc896cc77986f16e378210ded43186175bf646fc5f9060200160405180910390a350610087565b600060208284031215610080578081fd5b5051919050565b6093806100956000396000f3fe6080604052348015600f57600080fd5b5060043610603c5760003560e01c806350d25bcd146041578063668a0f02146057578063fcab1819146057575b600080fd5b6000545b60405190815260200160405180910390f35b6001604556fea26469706673582212204e9fed602cb8c6ae29b5fd735a780f333f751fa1d4f670d5308de65c42ab8c4164736f6c63430008040033";
//# sourceMappingURL=MockAggregatorFactory.js.map