/* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers"; import { Provider, TransactionRequest } from "@ethersproject/providers"; import type { Constants, ConstantsInterface } from "../Constants"; const _abi = [ { inputs: [], name: "AAVE_REFERRAL_CODE", outputs: [ { internalType: "uint16", name: "", type: "uint16", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "A_PRECISION", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "BPS_FEE_DENOMINATOR", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "DEFAULT_COPY_BYTES", outputs: [ { internalType: "uint16", name: "", type: "uint16", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "DEFAULT_DEADLINE_EXTENSION", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "DEFAULT_NORMALIZED_DECIMALS", outputs: [ { internalType: "uint8", name: "", type: "uint8", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "EXECUTE_CALLDATA_RESERVE_GAS", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "FEE_DENOMINATOR", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "FUTURE_TIME_BUFFER", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "GOVERNANCE_DELAY", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "INITIAL_AAVE_REFERRAL_CODE", outputs: [ { internalType: "uint16", name: "", type: "uint16", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "INITIAL_LIQUIDITY_FEE_NUMERATOR", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "INITIAL_MAX_ROUTERS", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAXIMUM_POOLED_TOKENS", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAX_A", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAX_ADMIN_FEE", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAX_A_CHANGE", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAX_LOOP_LIMIT", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MAX_SWAP_FEE", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MINIMUM_POOLED_TOKENS", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MIN_RAMP_DELAY", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "MIN_RAMP_TIME", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "ORACLE_VALID_PERIOD", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "POOL_PRECISION_DECIMALS", outputs: [ { internalType: "uint8", name: "", type: "uint8", }, ], stateMutability: "view", type: "function", }, ]; const _bytecode = "0x6105a1610053600b82828239805160001a607314610046577f4e487b7100000000000000000000000000000000000000000000000000000000600052600060045260246000fd5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106101625760003560e01c806360e26bb4116100cd578063c8d5d89e11610086578063c8d5d89e14610383578063d011f918146103a1578063d73792a9146103bf578063dab597ea146103dd578063f1828d56146103fb578063f3de03621461041957610162565b806360e26bb4146102cf578063834f3b70146102ed578063ab3d85441461030b578063ab5ac06114610329578063b0b5489514610347578063c86a23ee1461036557610162565b8063396984151161011f578063396984151461021b57806343bbce5814610239578063443841ef1461025757806351a7b98f1461027557806359f491c8146102935780636037af42146102b157610162565b80630296ab501461016757806305a363de1461018557806306e9481c146101a357806319b693e9146101c157806328c8d10e146101df57806330d356c4146101fd575b600080fd5b61016f610437565b60405161017c91906104e4565b60405180910390f35b61018d61043c565b60405161019a919061051c565b60405180910390f35b6101ab610441565b6040516101b89190610550565b60405180910390f35b6101c9610448565b6040516101d69190610550565b60405180910390f35b6101e761044f565b6040516101f49190610550565b60405180910390f35b610205610455565b6040516102129190610550565b60405180910390f35b61022361045a565b6040516102309190610550565b60405180910390f35b610241610461565b60405161024e9190610550565b60405180910390f35b61025f610466565b60405161026c9190610550565b60405180910390f35b61027d61046b565b60405161028a9190610550565b60405180910390f35b61029b610470565b6040516102a89190610550565b60405180910390f35b6102b9610476565b6040516102c69190610550565b60405180910390f35b6102d761047b565b6040516102e49190610550565b60405180910390f35b6102f5610481565b6040516103029190610550565b60405180910390f35b610313610487565b6040516103209190610550565b60405180910390f35b61033161048f565b60405161033e9190610550565b60405180910390f35b61034f610494565b60405161035c9190610550565b60405180910390f35b61036d61049b565b60405161037a9190610550565b60405180910390f35b61038b6104a1565b604051610398919061051c565b60405180910390f35b6103a96104a7565b6040516103b69190610550565b60405180910390f35b6103c76104ac565b6040516103d49190610550565b60405180910390f35b6103e56104b5565b6040516103f291906104e4565b60405180910390f35b6104036104ba565b604051610410919061051c565b60405180910390f35b6104216104bf565b60405161042e9190610550565b60405180910390f35b601281565b600081565b6212750081565b6201518081565b61271081565b600281565b620f424081565b600381565b603c81565b600581565b610e1081565b601081565b61271081565b61270b81565b6305f5e10081565b600281565b62093a8081565b61010081565b61010081565b606481565b6402540be40081565b601281565b600081565b6402540be40081565b600060ff82169050919050565b6104de816104c8565b82525050565b60006020820190506104f960008301846104d5565b92915050565b600061ffff82169050919050565b610516816104ff565b82525050565b6000602082019050610531600083018461050d565b92915050565b6000819050919050565b61054a81610537565b82525050565b60006020820190506105656000830184610541565b9291505056fea26469706673582212203efe6256091afb8e2107e33a5eaab449485de06d0808fe754bbef2f651ba32ed64736f6c63430008110033"; type ConstantsConstructorParams = | [signer?: Signer] | ConstructorParameters; const isSuperArgs = ( xs: ConstantsConstructorParams ): xs is ConstructorParameters => xs.length > 1; export class Constants__factory extends ContractFactory { constructor(...args: ConstantsConstructorParams) { if (isSuperArgs(args)) { super(...args); } else { super(_abi, _bytecode, args[0]); } } deploy( overrides?: Overrides & { from?: string | Promise } ): Promise { return super.deploy(overrides || {}) as Promise; } getDeployTransaction( overrides?: Overrides & { from?: string | Promise } ): TransactionRequest { return super.getDeployTransaction(overrides || {}); } attach(address: string): Constants { return super.attach(address) as Constants; } connect(signer: Signer): Constants__factory { return super.connect(signer) as Constants__factory; } static readonly bytecode = _bytecode; static readonly abi = _abi; static createInterface(): ConstantsInterface { return new utils.Interface(_abi) as ConstantsInterface; } static connect( address: string, signerOrProvider: Signer | Provider ): Constants { return new Contract(address, _abi, signerOrProvider) as Constants; } }