@augmentedfinance/protocol-v1
Version:
Augmented Protocol smart contracts
107 lines • 4.24 kB
JavaScript
;
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.MockUniEthPairFactory = void 0;
const contracts_1 = require("@ethersproject/contracts");
class MockUniEthPairFactory extends contracts_1.ContractFactory {
constructor(signer) {
super(_abi, _bytecode, signer);
}
deploy(firstToken, secondToken, reserve0, reserve1, overrides) {
return super.deploy(firstToken, secondToken, reserve0, reserve1, overrides || {});
}
getDeployTransaction(firstToken, secondToken, reserve0, reserve1, overrides) {
return super.getDeployTransaction(firstToken, secondToken, reserve0, reserve1, 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.MockUniEthPairFactory = MockUniEthPairFactory;
const _abi = [
{
inputs: [
{
internalType: "address",
name: "firstToken",
type: "address",
},
{
internalType: "address",
name: "secondToken",
type: "address",
},
{
internalType: "uint112",
name: "reserve0",
type: "uint112",
},
{
internalType: "uint112",
name: "reserve1",
type: "uint112",
},
],
stateMutability: "nonpayable",
type: "constructor",
},
{
inputs: [],
name: "getReserves",
outputs: [
{
internalType: "uint112",
name: "reserve0",
type: "uint112",
},
{
internalType: "uint112",
name: "reserve1",
type: "uint112",
},
{
internalType: "uint32",
name: "timestamp",
type: "uint32",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "token0",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
{
inputs: [],
name: "token1",
outputs: [
{
internalType: "address",
name: "",
type: "address",
},
],
stateMutability: "view",
type: "function",
},
];
const _bytecode = "0x61010060405234801561001157600080fd5b506040516102893803806102898339810160408190526100309161009f565b6001600160601b0319606094851b81166080529290931b90911660a0526001600160901b0319609091821b811660c05291901b1660e0526100f2565b80516001600160a01b038116811461008357600080fd5b919050565b80516001600160701b038116811461008357600080fd5b600080600080608085870312156100b4578384fd5b6100bd8561006c565b93506100cb6020860161006c565b92506100d960408601610088565b91506100e760608601610088565b905092959194509250565b60805160601c60a05160601c60c05160901c60e05160901c6101566101336000396000608001526000605b0152600060fc0152600060c201526101566000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80630902f1ac146100465780630dfe1681146100c0578063d21220a7146100fa575b600080fd5b604080516dffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000811682527f000000000000000000000000000000000000000000000000000000000000000016602082015263ffffffff4216918101919091526060015b60405180910390f35b7f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100b7565b7f00000000000000000000000000000000000000000000000000000000000000006100e256fea2646970667358221220b981fc23ce161765c076751053302c06436d2afa613168910b91e4a5253e497864736f6c63430008040033";
//# sourceMappingURL=MockUniEthPairFactory.js.map