UNPKG

@augumented-finance/protocol-v1

Version:

Augmented Protocol smart contracts

515 lines 33.6 kB
"use strict"; /* Autogenerated file. Do not edit manually. */ /* tslint:disable */ /* eslint-disable */ Object.defineProperty(exports, "__esModule", { value: true }); exports.AaveAdapterFactory = void 0; const contracts_1 = require("@ethersproject/contracts"); class AaveAdapterFactory extends contracts_1.ContractFactory { constructor(signer) { super(_abi, _bytecode, signer); } deploy(controller, originAsset, overrides) { return super.deploy(controller, originAsset, overrides || {}); } getDeployTransaction(controller, originAsset, overrides) { return super.getDeployTransaction(controller, originAsset, 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.AaveAdapterFactory = AaveAdapterFactory; const _abi = [ { inputs: [ { internalType: "address", name: "controller", type: "address", }, { internalType: "contract IRedeemableToken", name: "originAsset", type: "address", }, ], stateMutability: "nonpayable", type: "constructor", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address", }, { indexed: true, internalType: "address", name: "holder", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: false, internalType: "uint256", name: "internalBalance", type: "uint256", }, { indexed: true, internalType: "uint64", name: "referralCode", type: "uint64", }, ], name: "DepositedForMigrate", type: "event", }, { anonymous: false, inputs: [ { indexed: true, internalType: "address", name: "token", type: "address", }, { indexed: true, internalType: "address", name: "holder", type: "address", }, { indexed: false, internalType: "uint256", name: "amount", type: "uint256", }, { indexed: false, internalType: "uint256", name: "internalBalance", type: "uint256", }, ], name: "WithdrawnFromMigrate", type: "event", }, { inputs: [], name: "ORIGIN_ASSET_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "UNDERLYING_ASSET_ADDRESS", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "admin_enableClaims", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract ILendableToken", name: "targetAsset", type: "address", }, ], name: "admin_migrateAll", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "contract IBalanceHook", name: "rewardPool", type: "address", }, ], name: "admin_setRewardPool", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "token", type: "address", }, { internalType: "address", name: "to", type: "address", }, ], name: "admin_sweepToken", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "holder", type: "address", }, ], name: "balanceForMigrate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "holder", type: "address", }, ], name: "balanceMigrated", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "holder", type: "address", }, ], name: "claimMigrated", outputs: [ { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "bool", name: "claimable", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "address", name: "holder", type: "address", }, { internalType: "uint256", name: "divisor", type: "uint256", }, ], name: "claimMigratedPortion", outputs: [ { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "bool", name: "claimable", type: "bool", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "address", name: "holder", type: "address", }, { internalType: "uint64", name: "referralCode", type: "uint64", }, ], name: "depositToMigrate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getController", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "getRewardPool", outputs: [ { internalType: "address", name: "", type: "address", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "isClaimable", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "isPaused", outputs: [ { internalType: "bool", name: "", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "address", name: "holder", type: "address", }, { internalType: "uint256", name: "preBalance", type: "uint256", }, { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "uint64", name: "referralCode", type: "uint64", }, ], name: "postDepositOnBehalf", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "preDepositOnBehalf", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "bool", name: "paused", type: "bool", }, ], name: "setPaused", outputs: [], stateMutability: "nonpayable", type: "function", }, { inputs: [], name: "totalBalanceForMigrate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "view", type: "function", }, { inputs: [], name: "totalScaledBalances", outputs: [ { internalType: "uint256", name: "totalDeposited", type: "uint256", }, { internalType: "uint256", name: "totalMigrated", type: "uint256", }, { internalType: "uint256", name: "totalClaimed", type: "uint256", }, { internalType: "bool", name: "migrated", type: "bool", }, ], stateMutability: "view", type: "function", }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256", }, ], name: "withdrawFromMigrate", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, { inputs: [ { internalType: "uint256", name: "amount", type: "uint256", }, { internalType: "address", name: "holder", type: "address", }, ], name: "withdrawFromMigrateOnBehalf", outputs: [ { internalType: "uint256", name: "", type: "uint256", }, ], stateMutability: "nonpayable", type: "function", }, ]; const _bytecode = "0x60806040523480156200001157600080fd5b50604051620028e7380380620028e7833981810160405260408110156200003757600080fd5b508051602091820151604080516358b50cef60e11b8152905192939192849284926001600160a01b0384169263b16a19de92600480840193919291829003018186803b1580156200008757600080fd5b505afa1580156200009c573d6000803e3d6000fd5b505050506040513d6020811015620000b357600080fd5b5051604080516318160ddd60e01b815290516000916001600160a01b038516916318160ddd91600480820192602092909190829003018186803b158015620000fa57600080fd5b505afa1580156200010f573d6000803e3d6000fd5b505050506040513d60208110156200012657600080fd5b5051116200016c576040805162461bcd60e51b815260206004820152600e60248201526d34b73b30b634b21037b934b3b4b760911b604482015290519081900360640190fd5b600180546001600160a01b03199081166001600160a01b039485161790915560008054821694841694909417909355600280549093169082161790915560408051633a9ae92360e11b8152905191831691637535d24691600480820192602092909190829003018186803b158015620001e457600080fd5b505afa158015620001f9573d6000803e3d6000fd5b505050506040513d60208110156200021057600080fd5b5051600a805462010000600160b01b031916620100006001600160a01b039384168102919091179182905590041662000285576040805162461bcd60e51b81526020600482015260126024820152711d5b9adb9bdddb88185cdcd95d081c1bdbdb60721b604482015290519081900360640190fd5b505061265080620002976000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806374478bb3116100b8578063b16a19de1161007c578063b16a19de14610387578063b187bd261461038f578063c9e9ca3c14610397578063df60de9d146103b4578063e0fbdf23146103bc578063fe3c410b146103ec57610142565b806374478bb3146102b15780637a050ea5146102cd5780637f874994146102f357806390c203c51461031f57806399e4a6cd1461036157610142565b80633f0de7421161010a5780633f0de742146101ea57806351231f29146102295780635ec5cf36146102315780635fcb7e8114610239578063615036c11461025f57806365fc09a61461028b57610142565b806306dea8671461014757806316c38b3c1461016b5780631b8b13a71461018c5780633018205f146101945780633c7158d11461019c575b600080fd5b61014f61041a565b604080516001600160a01b039092168252519081900360200190f35b61018a6004803603602081101561018157600080fd5b5035151561042a565b005b61014f61048a565b61014f610499565b6101d8600480360360608110156101b257600080fd5b5080359060208101356001600160a01b0316906040013567ffffffffffffffff166104a8565b60408051918252519081900360200190f35b6102106004803603602081101561020057600080fd5b50356001600160a01b03166105cc565b6040805192835290151560208301528051918290030190f35b61018a610626565b6101d8610684565b6101d86004803603602081101561024f57600080fd5b50356001600160a01b03166106a9565b6101d86004803603604081101561027557600080fd5b50803590602001356001600160a01b03166106fa565b61018a600480360360208110156102a157600080fd5b50356001600160a01b03166107ab565b6102b961081a565b604080519115158252519081900360200190f35b6101d8600480360360208110156102e357600080fd5b50356001600160a01b0316610824565b6102106004803603604081101561030957600080fd5b506001600160a01b038135169060200135610846565b6101d86004803603608081101561033557600080fd5b5080356001600160a01b0316906020810135906040810135906060013567ffffffffffffffff166108a2565b61018a6004803603602081101561037757600080fd5b50356001600160a01b03166109f0565b61014f610a9f565b6102b9610aae565b6101d8600480360360208110156103ad57600080fd5b5035610ab7565b6101d8610ac3565b6103c4610acd565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b6101d86004803603604081101561040257600080fd5b506001600160a01b0381358116916020013516610af2565b6001546001600160a01b03165b90565b6000546001600160a01b03163314610477576040805162461bcd60e51b815260206004820152601c6024820152600080516020612579833981519152604482015290519081900360640190fd5b600a805460ff1916911515919091179055565b6005546001600160a01b031690565b6000546001600160a01b031690565b6006546000906001600160a01b031615610501576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b600a5460ff1615610542576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6001600160a01b038316610592576040805162461bcd60e51b81526020600482015260126024820152711a1bdb19195c881a5cc81c995c5d5a5c995960721b604482015290519081900360640190fd5b600061059c610d43565b6001549091506105b7906001600160a01b0316853088610dbf565b6105c384828786610e1f565b95945050505050565b600a54600090819060ff1615610612576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b61061d836001610f4f565b91509150915091565b6000546001600160a01b03163314610673576040805162461bcd60e51b815260206004820152601c6024820152600080516020612579833981519152604482015290519081900360640190fd5b600a805461ff001916610100179055565b60006003546000141561069957506000610427565b6106a4600354611060565b905090565b6000600354600014156106be575060006106f5565b6003546008546001600160a01b0384166000908152600460205260409020546106f292916106ec9190611074565b906110cd565b90505b919050565b600080546001600160a01b03163314610748576040805162461bcd60e51b815260206004820152601c6024820152600080516020612579833981519152604482015290519081900360640190fd5b6001600160a01b038216610798576040805162461bcd60e51b81526020600482015260126024820152711a1bdb19195c881a5cc81c995c5d5a5c995960721b604482015290519081900360640190fd5b6107a2838361110f565b90505b92915050565b6000546001600160a01b031633146107f8576040805162461bcd60e51b815260206004820152601c6024820152600080516020612579833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60006106a46112cc565b6001600160a01b0381166000908152600460205260408120546106f290611060565b600a54600090819060ff161561088c576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6108968484610f4f565b915091505b9250929050565b6006546000906001600160a01b0316156108fb576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b600a5460ff161561093c576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6000546001600160a01b03163314610989576040805162461bcd60e51b815260206004820152601c6024820152600080516020612579833981519152604482015290519081900360640190fd5b6001600160a01b0385166109d9576040805162461bcd60e51b81526020600482015260126024820152711a1bdb19195c881a5cc81c995c5d5a5c995960721b604482015290519081900360640190fd5b6109e585858585610e1f565b90505b949350505050565b6000546001600160a01b03163314610a3d576040805162461bcd60e51b815260206004820152601c6024820152600080516020612579833981519152604482015290519081900360640190fd5b6006546001600160a01b031615610a93576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b610a9c816112fb565b50565b6002546001600160a01b031690565b600a5460ff1690565b60006106f2823361110f565b60006106a4610d43565b600080600080600354600854600954610ae461130f565b935093509350935090919293565b600080546001600160a01b03163314610b40576040805162461bcd60e51b815260206004820152601c6024820152600080516020612579833981519152604482015290519081900360640190fd5b6001600160a01b038316610b8b576040805162461bcd60e51b815260206004820152600d60248201526c3ab735b737bbb7103a37b5b2b760991b604482015290519081900360640190fd5b6001600160a01b038216610be6576040805162461bcd60e51b815260206004820152601d60248201527f76616c69642064657374696e6174696f6e206973207265717569726564000000604482015290519081900360640190fd5b610bee61130f565b15610c45576006546001600160a01b0384811691161415610c405760405162461bcd60e51b815260040180806020018281038252602d81526020018061254c602d913960400191505060405180910390fd5b610cac565b6002546001600160a01b03848116911614801590610c7157506001546001600160a01b03848116911614155b610cac5760405162461bcd60e51b81526004018080602001828103825260378152602001806125ba6037913960400191505060405180910390fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cfb57600080fd5b505afa158015610d0f573d6000803e3d6000fd5b505050506040513d6020811015610d2557600080fd5b5051905080156107a2576107a26001600160a01b0385168483611320565b60015460408051630ed1279f60e11b815230600482015290516000926001600160a01b031691631da24f3e916024808301926020929190829003018186803b158015610d8e57600080fd5b505afa158015610da2573d6000803e3d6000fd5b505050506040513d6020811015610db857600080fd5b5051905090565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610e19908590611377565b50505050565b6000610e3384610e2d610d43565b9061152f565b9350610e686040518060400160405280600f81526020016e1a5b9d195c9b985b11195c1bdcda5d608a1b815250868686611571565b83610e75575060006109e8565b6001600160a01b03851660009081526004602052604081205490610e998287611638565b6001600160a01b038816600090815260046020526040812082905560035491925090610ec59088611638565b60038190556005549091506001600160a01b031615610eea57610eea88848484611692565b6001546040805188815260208101859052815167ffffffffffffffff8916936001600160a01b03808e16949116927f84c7ca3cae0879e95be9cb6ba730d8558c83ee5ccc1a293f8b570e04d2e04796929081900390910190a450939695505050505050565b600080610f5a6112cc565b610f695750600090508061089b565b6001600160a01b03841660009081526004602052604090205480610f955760006001925092505061089b565b6000806001861115610fe757858381610faa57fe5b04915081610fc257600060019450945050505061089b565b506001600160a01b038616600090815260046020526040902081830390819055611004565b6001600160a01b0387166000908152600460205260408120558291505b600980548301905560035461101c576000915061103a565b6110376003546106ec6008548561107490919063ffffffff16565b91505b611048878483600354611692565b61105282886117e2565b976001975095505050505050565b60006106f261106d611807565b8390611860565b600082611083575060006107a5565b8282028284828161109057fe5b04146107a25760405162461bcd60e51b81526004018080602001828103825260218152602001806125996021913960400191505060405180910390fd5b60006107a283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061195b565b6006546000906001600160a01b031615611168576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b6001600160a01b038216600090815260046020526040902054806111905760009150506107a5565b600354600090816111a0846119c0565b90508087106111e1576001600160a01b0386166000908152600460205260408120559550856111cf81876119d4565b506111da828561152f565b9150611256565b60006111ed88886119d4565b905061122b816040518060400160405280600f81526020016e32bc31b2b9b9903a3930b739b332b960891b81525087611ae49092919063ffffffff16565b6001600160a01b03881660009081526004602052604090208190559350611252838261152f565b9250505b60038290556005546001600160a01b0316156112785761127886858585611692565b600154604080518981526020810186905281516001600160a01b03808b169416927fc35681e1ad3bc2dde86d58e740e9d6de0e4b86d5c1972b8e47453c7f7024190a928290030190a3509495945050505050565b60006112d661130f565b80156112e95750600a54610100900460ff165b80156106a4575050600a5460ff161590565b611303611807565b600b55610a9c81611b3e565b6006546001600160a01b0316151590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611372908490611377565b505050565b611389826001600160a01b0316612034565b6113da576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114185780518252601f1990920191602091820191016113f9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461147a576040519150601f19603f3d011682016040523d82523d6000602084013e61147f565b606091505b5091509150816114d6576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610e19578080602001905160208110156114f257600080fd5b5051610e195760405162461bcd60e51b815260040180806020018281038252602a8152602001806125f1602a913960400191505060405180910390fd5b60006107a283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611ae4565b610e19848484846040516024018080602001856001600160a01b03168152602001848152602001838152602001828103825286818151815260200191508051906020019080838360005b838110156115d35781810151838201526020016115bb565b50505050905090810190601f1680156116005780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b031663daa394bd60e01b179052955061206d945050505050565b6000828201838110156107a2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b61169a61130f565b1561173457600554600254600b546040805163de95ce0360e01b81526001600160a01b039384166004820152888416602482015260448101889052606481018790526084810186905260a481019290925251919092169163de95ce039160c480830192600092919082900301818387803b15801561171757600080fd5b505af115801561172b573d6000803e3d6000fd5b50505050610e19565b6005546002546001600160a01b039182169163de95ce03911686868686611759611807565b6040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b031681526020018581526020018481526020018381526020018281526020019650505050505050600060405180830381600087803b1580156117c457600080fd5b505af11580156117d8573d6000803e3d6000fd5b5050505050505050565b60006117ed8361208e565b6006549091506107a5906001600160a01b03168383611320565b600a546002546040805163d15e005360e01b81526001600160a01b03928316600482015290516000936201000090049092169163d15e005391602480820192602092909190829003018186803b158015610d8e57600080fd5b600082158061186d575081155b1561187a575060006107a5565b816b019d971e4fe8401e74000000198161189057fe5b0483111560405180604001604052806002815260200161068760f31b815250906119385760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156118fd5781810151838201526020016118e5565b50505050905090810190601f16801561192a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50506b033b2e3c9fd0803ce800000091026b019d971e4fe8401e74000000010490565b600081836119aa5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118fd5781810151838201526020016118e5565b5060008385816119b657fe5b0495945050505050565b60006106f26119cd611807565b839061209b565b60015460408051630ed1279f60e11b815230600482015290516000926001600160a01b031691631da24f3e916024808301926020929190829003018186803b158015611a1f57600080fd5b505afa158015611a33573d6000803e3d6000fd5b505050506040513d6020811015611a4957600080fd5b5051600154909150611a65906001600160a01b03168385611320565b60015460408051630ed1279f60e11b815230600482015290516107a2926001600160a01b031691631da24f3e916024808301926020929190829003018186803b158015611ab157600080fd5b505afa158015611ac5573d6000803e3d6000fd5b505050506040513d6020811015611adb57600080fd5b5051829061152f565b60008184841115611b365760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118fd5781810151838201526020016118e5565b505050900390565b600254604080516358b50cef60e11b815290516001600160a01b039283169283929085169163b16a19de91600480820192602092909190829003018186803b158015611b8957600080fd5b505afa158015611b9d573d6000803e3d6000fd5b505050506040513d6020811015611bb357600080fd5b50516001600160a01b031614611c08576040805162461bcd60e51b81526020600482015260156024820152746d69736d61746368656420756e6465726c79696e6760581b604482015290519081900360640190fd5b600080611c136121a2565b915091506000846001600160a01b0316637535d2466040518163ffffffff1660e01b815260040160206040518083038186803b158015611c5257600080fd5b505afa158015611c66573d6000803e3d6000fd5b505050506040513d6020811015611c7c57600080fd5b5051600780546001600160a01b0319166001600160a01b038316179055905082611cc957505060006008555050600680546001600160a01b0319166001600160a01b038316179055610a9c565b60008211611d1e576040805162461bcd60e51b815260206004820152601760248201527f77697468647261776e206e6f20756e6465726c79696e67000000000000000000604482015290519081900360640190fd5b600354831115611d5b576000611d45846106ec60035487038661107490919063ffffffff16565b90506001811115611d595760018103830392505b505b6000856001600160a01b0316631da24f3e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611daa57600080fd5b505afa158015611dbe573d6000803e3d6000fd5b505050506040513d6020811015611dd457600080fd5b50516040805163095ea7b360e01b81526001600160a01b0385811660048301526024820187905291519293509087169163095ea7b3916044808201926020929091908290030181600087803b158015611e2c57600080fd5b505af1158015611e40573d6000803e3d6000fd5b505050506040513d6020811015611e5657600080fd5b50506040805163e8eda9df60e01b81526001600160a01b0387811660048301526024820186905230604483015260006064830181905292519085169263e8eda9df926084808201939182900301818387803b158015611eb457600080fd5b505af1158015611ec8573d6000803e3d6000fd5b505060408051635a3b74b960e01b81526001600160a01b03898116600483015260006024830181905292519087169450635a3b74b993506044808301939282900301818387803b158015611f1b57600080fd5b505af1158015611f2f573d6000803e3d6000fd5b50505050611fb681876001600160a01b0316631da24f3e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611f8457600080fd5b505afa158015611f98573d6000803e3d6000fd5b505050506040513d6020811015611fae57600080fd5b50519061152f565b90506000811161200d576040805162461bcd60e51b815260206004820152601c60248201527f6465706f7369746564206c657373207468616e20657870656374656400000000604482015290519081900360640190fd5b6008555050600680546001600160a01b0385166001600160a01b0319909116179055505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906109e8575050151592915050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b60006106f261106d6124f7565b604080518082019091526002815261035360f41b6020820152600090826121035760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118fd5781810151838201526020016118e5565b5060408051808201909152600280825261068760f31b60208301528304906b033b2e3c9fd0803ce800000082190485111561217f5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156118fd5781810151838201526020016118e5565b5082816b033b2e3c9fd0803ce80000008602018161219957fe5b04949350505050565b60025460015460408051630ed1279f60e11b8152306004820152905160009384936001600160a01b03918216939116918291631da24f3e916024808301926020929190829003018186803b1580156121f957600080fd5b505afa15801561220d573d6000803e3d6000fd5b505050506040513d602081101561222357600080fd5b505160035490945084101561227f576040805162461bcd60e51b815260206004820152601d60248201527f617661696c61626c65206c657373207468616e206465706f7369746564000000604482015290519081900360640190fd5b604080516370a0823160e01b815230600482015290516001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156122c557600080fd5b505afa1580156122d9573d6000803e3d6000fd5b505050506040513d60208110156122ef57600080fd5b5051600a5460408051631a4ca37b60e21b81526001600160a01b0386811660048301526000196024830152306044830152915193965060009362010000909304909116916369328dec9160648082019260209290919082900301818787803b15801561235a57600080fd5b505af115801561236e573d6000803e3d6000fd5b505050506040513d602081101561238457600080fd5b5051604080516370a0823160e01b815230600482015290519192506123d69186916001600160a01b038716916370a0823191602480820192602092909190829003018186803b158015611f8457600080fd5b9350600181901c600185901c14612434576040805162461bcd60e51b815260206004820152601760248201527f696e636f6e73697374656e74207769746864726177616c000000000000000000604482015290519081900360640190fd5b60408051630ed1279f60e11b815230600482015290516001600160a01b03841691631da24f3e916024808301926020929190829003018186803b15801561247a57600080fd5b505afa15801561248e573d6000803e3d6000fd5b505050506040513d60208110156124a457600080fd5b5051156124f0576040805162461bcd60e51b81526020600482015260156024820152741a5b98dbdb5c1b195d19481dda5d1a191c985dd85b605a1b604482015290519081900360640190fd5b5050509091565b6007546002546040805163d15e005360e01b81526001600160a01b0392831660048201529051600093929092169163d15e005391602480820192602092909190829003018186803b158015610d8e57600080fdfe7461726765742061737365742063616e206e6f74206265207377657074206166746572206d6967726174696f6e63616c6c6572206973206e6f742074686520636f6e74726f6c6c657200000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776f726967696e20616e6420756e6465726c79696e672063616e206f6e6c79206265207377657074206166746572206d6967726174696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122009c245ed60df914b16ff9d08ca64f35bbf497315e3ef3c465f445044ff3b05d964736f6c634300060c0033"; //# sourceMappingURL=AaveAdapterFactory.js.map