@augumented-finance/protocol-v1
Version:
Augmented Protocol smart contracts
520 lines • 33 kB
JavaScript
"use strict";
/* Autogenerated file. Do not edit manually. */
/* tslint:disable */
/* eslint-disable */
Object.defineProperty(exports, "__esModule", { value: true });
exports.CompAdapterFactory = void 0;
const contracts_1 = require("@ethersproject/contracts");
class CompAdapterFactory extends contracts_1.ContractFactory {
constructor(signer) {
super(_abi, _bytecode, signer);
}
deploy(controller, originAsset, underlyingAsset, overrides) {
return super.deploy(controller, originAsset, underlyingAsset, overrides || {});
}
getDeployTransaction(controller, originAsset, underlyingAsset, overrides) {
return super.getDeployTransaction(controller, originAsset, underlyingAsset, 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.CompAdapterFactory = CompAdapterFactory;
const _abi = [
{
inputs: [
{
internalType: "address",
name: "controller",
type: "address",
},
{
internalType: "address",
name: "originAsset",
type: "address",
},
{
internalType: "address",
name: "underlyingAsset",
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 = "0x60806040523480156200001157600080fd5b506040516200276938038062002769833981810160405260608110156200003757600080fd5b50805160208083015160409384015184516318160ddd60e01b815294519394919390928592859285926000926001600160a01b038616926318160ddd92600480840193919291829003018186803b1580156200009257600080fd5b505afa158015620000a7573d6000803e3d6000fd5b505050506040513d6020811015620000be57600080fd5b50511162000104576040805162461bcd60e51b815260206004820152600e60248201526d34b73b30b634b21037b934b3b4b760911b604482015290519081900360640190fd5b600180546001600160a01b03199081166001600160a01b039485161790915560008054821694841694909417845560028054909116919092161790556126159350839250620001549150396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c806374478bb3116100b8578063b16a19de1161007c578063b16a19de14610387578063b187bd261461038f578063c9e9ca3c14610397578063df60de9d146103b4578063e0fbdf23146103bc578063fe3c410b146103ec57610142565b806374478bb3146102b15780637a050ea5146102cd5780637f874994146102f357806390c203c51461031f57806399e4a6cd1461036157610142565b80633f0de7421161010a5780633f0de742146101ea57806351231f29146102295780635ec5cf36146102315780635fcb7e8114610239578063615036c11461025f57806365fc09a61461028b57610142565b806306dea8671461014757806316c38b3c1461016b5780631b8b13a71461018c5780633018205f146101945780633c7158d11461019c575b600080fd5b61014f61041a565b604080516001600160a01b039092168252519081900360200190f35b61018a6004803603602081101561018157600080fd5b5035151561042a565b005b61014f61048a565b61014f610499565b6101d8600480360360608110156101b257600080fd5b5080359060208101356001600160a01b0316906040013567ffffffffffffffff166104a8565b60408051918252519081900360200190f35b6102106004803603602081101561020057600080fd5b50356001600160a01b03166105cc565b6040805192835290151560208301528051918290030190f35b61018a610626565b6101d8610684565b6101d86004803603602081101561024f57600080fd5b50356001600160a01b03166106a9565b6101d86004803603604081101561027557600080fd5b50803590602001356001600160a01b03166106fa565b61018a600480360360208110156102a157600080fd5b50356001600160a01b03166107ab565b6102b961081a565b604080519115158252519081900360200190f35b6101d8600480360360208110156102e357600080fd5b50356001600160a01b0316610824565b6102106004803603604081101561030957600080fd5b506001600160a01b038135169060200135610846565b6101d86004803603608081101561033557600080fd5b5080356001600160a01b0316906020810135906040810135906060013567ffffffffffffffff166108a2565b61018a6004803603602081101561037757600080fd5b50356001600160a01b03166109f0565b61014f610a9f565b6102b9610aae565b6101d8600480360360208110156103ad57600080fd5b5035610ab7565b6101d8610ac3565b6103c4610acd565b6040805194855260208501939093528383019190915215156060830152519081900360800190f35b6101d86004803603604081101561040257600080fd5b506001600160a01b0381358116916020013516610af2565b6001546001600160a01b03165b90565b6000546001600160a01b03163314610477576040805162461bcd60e51b815260206004820152601c6024820152600080516020612519833981519152604482015290519081900360640190fd5b600a805460ff1916911515919091179055565b6005546001600160a01b031690565b6000546001600160a01b031690565b6006546000906001600160a01b031615610501576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b600a5460ff1615610542576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6001600160a01b038316610592576040805162461bcd60e51b81526020600482015260126024820152711a1bdb19195c881a5cc81c995c5d5a5c995960721b604482015290519081900360640190fd5b600061059c610d43565b6001549091506105b7906001600160a01b0316853088610dbf565b6105c384828786610e1f565b95945050505050565b600a54600090819060ff1615610612576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b61061d836001610f4f565b91509150915091565b6000546001600160a01b03163314610673576040805162461bcd60e51b815260206004820152601c6024820152600080516020612519833981519152604482015290519081900360640190fd5b600a805461ff001916610100179055565b60006003546000141561069957506000610427565b6106a4600354610427565b905090565b6000600354600014156106be575060006106f5565b6003546008546001600160a01b0384166000908152600460205260409020546106f292916106ec9190611060565b906110b9565b90505b919050565b600080546001600160a01b03163314610748576040805162461bcd60e51b815260206004820152601c6024820152600080516020612519833981519152604482015290519081900360640190fd5b6001600160a01b038216610798576040805162461bcd60e51b81526020600482015260126024820152711a1bdb19195c881a5cc81c995c5d5a5c995960721b604482015290519081900360640190fd5b6107a283836110fb565b90505b92915050565b6000546001600160a01b031633146107f8576040805162461bcd60e51b815260206004820152601c6024820152600080516020612519833981519152604482015290519081900360640190fd5b600580546001600160a01b0319166001600160a01b0392909216919091179055565b60006106a46112b8565b6001600160a01b0381166000908152600460205260408120546106f290610427565b600a54600090819060ff161561088c576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6108968484610f4f565b915091505b9250929050565b6006546000906001600160a01b0316156108fb576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b600a5460ff161561093c576040805162461bcd60e51b81526020600482015260066024820152651c185d5cd95960d21b604482015290519081900360640190fd5b6000546001600160a01b03163314610989576040805162461bcd60e51b815260206004820152601c6024820152600080516020612519833981519152604482015290519081900360640190fd5b6001600160a01b0385166109d9576040805162461bcd60e51b81526020600482015260126024820152711a1bdb19195c881a5cc81c995c5d5a5c995960721b604482015290519081900360640190fd5b6109e585858585610e1f565b90505b949350505050565b6000546001600160a01b03163314610a3d576040805162461bcd60e51b815260206004820152601c6024820152600080516020612519833981519152604482015290519081900360640190fd5b6006546001600160a01b031615610a93576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b610a9c816112e7565b50565b6002546001600160a01b031690565b600a5460ff1690565b60006106f282336110fb565b60006106a4610d43565b600080600080600354600854600954610ae46112fb565b935093509350935090919293565b600080546001600160a01b03163314610b40576040805162461bcd60e51b815260206004820152601c6024820152600080516020612519833981519152604482015290519081900360640190fd5b6001600160a01b038316610b8b576040805162461bcd60e51b815260206004820152600d60248201526c3ab735b737bbb7103a37b5b2b760991b604482015290519081900360640190fd5b6001600160a01b038216610be6576040805162461bcd60e51b815260206004820152601d60248201527f76616c69642064657374696e6174696f6e206973207265717569726564000000604482015290519081900360640190fd5b610bee6112fb565b15610c45576006546001600160a01b0384811691161415610c405760405162461bcd60e51b815260040180806020018281038252602d8152602001806124ec602d913960400191505060405180910390fd5b610cac565b6002546001600160a01b03848116911614801590610c7157506001546001600160a01b03848116911614155b610cac5760405162461bcd60e51b815260040180806020018281038252603781526020018061255a6037913960400191505060405180910390fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015610cfb57600080fd5b505afa158015610d0f573d6000803e3d6000fd5b505050506040513d6020811015610d2557600080fd5b5051905080156107a2576107a26001600160a01b038516848361130c565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610d8e57600080fd5b505afa158015610da2573d6000803e3d6000fd5b505050506040513d6020811015610db857600080fd5b5051905090565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610e19908590611363565b50505050565b6000610e3384610e2d610d43565b9061151b565b9350610e686040518060400160405280600f81526020016e1a5b9d195c9b985b11195c1bdcda5d608a1b81525086868661155d565b83610e75575060006109e8565b6001600160a01b03851660009081526004602052604081205490610e998287611624565b6001600160a01b038816600090815260046020526040812082905560035491925090610ec59088611624565b60038190556005549091506001600160a01b031615610eea57610eea8884848461167e565b6001546040805188815260208101859052815167ffffffffffffffff8916936001600160a01b03808e16949116927f84c7ca3cae0879e95be9cb6ba730d8558c83ee5ccc1a293f8b570e04d2e04796929081900390910190a450939695505050505050565b600080610f5a6112b8565b610f695750600090508061089b565b6001600160a01b03841660009081526004602052604090205480610f955760006001925092505061089b565b6000806001861115610fe757858381610faa57fe5b04915081610fc257600060019450945050505061089b565b506001600160a01b038616600090815260046020526040902081830390819055611004565b6001600160a01b0387166000908152600460205260408120558291505b600980548301905560035461101c576000915061103a565b6110376003546106ec6008548561106090919063ffffffff16565b91505b61104887848360035461167e565b61105282886117ce565b976001975095505050505050565b60008261106f575060006107a5565b8282028284828161107c57fe5b04146107a25760405162461bcd60e51b81526004018080602001828103825260218152602001806125396021913960400191505060405180910390fd5b60006107a283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506117f3565b6006546000906001600160a01b031615611154576040805162461bcd60e51b81526020600482015260156024820152741b5a59dc985d1a5b99c81bdc881b5a59dc985d1959605a1b604482015290519081900360640190fd5b6001600160a01b0382166000908152600460205260409020548061117c5760009150506107a5565b6003546000908161118c84610427565b90508087106111cd576001600160a01b0386166000908152600460205260408120559550856111bb8187611895565b506111c6828561151b565b9150611242565b60006111d98888611895565b9050611217816040518060400160405280600f81526020016e32bc31b2b9b9903a3930b739b332b960891b815250876118b69092919063ffffffff16565b6001600160a01b0388166000908152600460205260409020819055935061123e838261151b565b9250505b60038290556005546001600160a01b031615611264576112648685858561167e565b600154604080518981526020810186905281516001600160a01b03808b169416927fc35681e1ad3bc2dde86d58e740e9d6de0e4b86d5c1972b8e47453c7f7024190a928290030190a3509495945050505050565b60006112c26112fb565b80156112d55750600a54610100900460ff165b80156106a4575050600a5460ff161590565b6112ef611910565b600b55610a9c81611a12565b6006546001600160a01b0316151590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261135e908490611363565b505050565b611375826001600160a01b0316611f08565b6113c6576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106114045780518252601f1990920191602091820191016113e5565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611466576040519150601f19603f3d011682016040523d82523d6000602084013e61146b565b606091505b5091509150816114c2576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610e19578080602001905160208110156114de57600080fd5b5051610e195760405162461bcd60e51b815260040180806020018281038252602a8152602001806125b6602a913960400191505060405180910390fd5b60006107a283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506118b6565b610e19848484846040516024018080602001856001600160a01b03168152602001848152602001838152602001828103825286818151815260200191508051906020019080838360005b838110156115bf5781810151838201526020016115a7565b50505050905090810190601f1680156115ec5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b031663daa394bd60e01b1790529550611f41945050505050565b6000828201838110156107a2576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6116866112fb565b1561172057600554600254600b546040805163de95ce0360e01b81526001600160a01b039384166004820152888416602482015260448101889052606481018790526084810186905260a481019290925251919092169163de95ce039160c480830192600092919082900301818387803b15801561170357600080fd5b505af1158015611717573d6000803e3d6000fd5b50505050610e19565b6005546002546001600160a01b039182169163de95ce03911686868686611745611910565b6040518763ffffffff1660e01b815260040180876001600160a01b03168152602001866001600160a01b031681526020018581526020018481526020018381526020018281526020019650505050505050600060405180830381600087803b1580156117b057600080fd5b505af11580156117c4573d6000803e3d6000fd5b5050505050505050565b60006117d983611f62565b6006549091506107a5906001600160a01b0316838361130c565b6000818361187f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561184457818101518382015260200161182c565b50505050905090810190601f1680156118715780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161188b57fe5b0495945050505050565b6001546000906118af906001600160a01b0316838561130c565b5090919050565b600081848411156119085760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561184457818101518382015260200161182c565b505050900390565b600061191a6124d8565b6040518060200160405280600160009054906101000a90046001600160a01b03166001600160a01b031663182df0f56040518163ffffffff1660e01b815260040160206040518083038186803b15801561197357600080fd5b505afa158015611987573d6000803e3d6000fd5b505050506040513d602081101561199d57600080fd5b5051905290506000806119bc836b033b2e3c9fd0803ce8000000611f76565b909250905060008260038111156119cf57fe5b14611a0b5760405162461bcd60e51b81526004018080602001828103825260258152602001806125916025913960400191505060405180910390fd5b9250505090565b600254604080516358b50cef60e11b815290516001600160a01b039283169283929085169163b16a19de91600480820192602092909190829003018186803b158015611a5d57600080fd5b505afa158015611a71573d6000803e3d6000fd5b505050506040513d6020811015611a8757600080fd5b50516001600160a01b031614611adc576040805162461bcd60e51b81526020600482015260156024820152746d69736d61746368656420756e6465726c79696e6760581b604482015290519081900360640190fd5b600080611ae7611fc9565b915091506000846001600160a01b0316637535d2466040518163ffffffff1660e01b815260040160206040518083038186803b158015611b2657600080fd5b505afa158015611b3a573d6000803e3d6000fd5b505050506040513d6020811015611b5057600080fd5b5051600780546001600160a01b0319166001600160a01b038316179055905082611b9d57505060006008555050600680546001600160a01b0319166001600160a01b038316179055610a9c565b60008211611bf2576040805162461bcd60e51b815260206004820152601760248201527f77697468647261776e206e6f20756e6465726c79696e67000000000000000000604482015290519081900360640190fd5b600354831115611c2f576000611c19846106ec60035487038661106090919063ffffffff16565b90506001811115611c2d5760018103830392505b505b6000856001600160a01b0316631da24f3e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611c7e57600080fd5b505afa158015611c92573d6000803e3d6000fd5b505050506040513d6020811015611ca857600080fd5b50516040805163095ea7b360e01b81526001600160a01b0385811660048301526024820187905291519293509087169163095ea7b3916044808201926020929091908290030181600087803b158015611d0057600080fd5b505af1158015611d14573d6000803e3d6000fd5b505050506040513d6020811015611d2a57600080fd5b50506040805163e8eda9df60e01b81526001600160a01b0387811660048301526024820186905230604483015260006064830181905292519085169263e8eda9df926084808201939182900301818387803b158015611d8857600080fd5b505af1158015611d9c573d6000803e3d6000fd5b505060408051635a3b74b960e01b81526001600160a01b03898116600483015260006024830181905292519087169450635a3b74b993506044808301939282900301818387803b158015611def57600080fd5b505af1158015611e03573d6000803e3d6000fd5b50505050611e8a81876001600160a01b0316631da24f3e306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611e5857600080fd5b505afa158015611e6c573d6000803e3d6000fd5b505050506040513d6020811015611e8257600080fd5b50519061151b565b905060008111611ee1576040805162461bcd60e51b815260206004820152601c60248201527f6465706f7369746564206c657373207468616e20657870656374656400000000604482015290519081900360640190fd5b6008555050600680546001600160a01b0385166001600160a01b0319909116179055505050565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708181148015906109e8575050151592915050565b80516a636f6e736f6c652e6c6f67602083016000808483855afa5050505050565b60006106f2611f6f612310565b8390612364565b6000806000611f836124d8565b611f8d8686612422565b90925090506000826003811115611fa057fe5b14611fb1575091506000905061089b565b6000611fbc8261248a565b9350935050509250929050565b600254600154604080516370a0823160e01b8152306004820152905160009384936001600160a01b039182169391169183916370a08231916024808301926020929190829003018186803b15801561202057600080fd5b505afa158015612034573d6000803e3d6000fd5b505050506040513d602081101561204a57600080fd5b5051604080516370a0823160e01b815230600482015290519194506001600160a01b038316916370a0823191602480820192602092909190829003018186803b15801561209657600080fd5b505afa1580156120aa573d6000803e3d6000fd5b505050506040513d60208110156120c057600080fd5b505160035490945084101561211c576040805162461bcd60e51b815260206004820152601d60248201527f617661696c61626c65206c657373207468616e206465706f7369746564000000604482015290519081900360640190fd5b8361212f5760008093509350505061230c565b806001600160a01b031663db006a75856040518263ffffffff1660e01b815260040180828152602001915050602060405180830381600087803b15801561217557600080fd5b505af1158015612189573d6000803e3d6000fd5b505050506040513d602081101561219f57600080fd5b5051156121f3576040805162461bcd60e51b815260206004820152601960248201527f756e657870656374656420436f6d706f756e64206572726f7200000000000000604482015290519081900360640190fd5b61224483836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611e5857600080fd5b9250806001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561229357600080fd5b505afa1580156122a7573d6000803e3d6000fd5b505050506040513d60208110156122bd57600080fd5b505115612309576040805162461bcd60e51b81526020600482015260156024820152741a5b98dbdb5c1b195d19481dda5d1a191c985dd85b605a1b604482015290519081900360640190fd5b50505b9091565b6007546002546040805163d15e005360e01b81526001600160a01b0392831660048201529051600093929092169163d15e005391602480820192602092909190829003018186803b158015610d8e57600080fd5b6000821580612371575081155b1561237e575060006107a5565b816b019d971e4fe8401e74000000198161239457fe5b0483111560405180604001604052806002815260200161068760f31b815250906123ff5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561184457818101518382015260200161182c565b50506b033b2e3c9fd0803ce800000091026b019d971e4fe8401e74000000010490565b600061242c6124d8565b60008061243d866000015186612499565b9092509050600082600381111561245057fe5b1461246f5750604080516020810190915260008152909250905061089b565b60408051602081019091529081526000969095509350505050565b51670de0b6b3a7640000900490565b600080836124ac5750600090508061089b565b838302838582816124b957fe5b04146124cd5760026000925092505061089b565b60009250905061089b565b604051806020016040528060008152509056fe7461726765742061737365742063616e206e6f74206265207377657074206166746572206d6967726174696f6e63616c6c6572206973206e6f742074686520636f6e74726f6c6c657200000000536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f776f726967696e20616e6420756e6465726c79696e672063616e206f6e6c79206265207377657074206166746572206d6967726174696f6e6f726967696e20666163746f7220636f756c64206e6f742062652063616c63756c617465645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c260baaf416a6fcae6af108031793a37abc8cdf335d4f6c80d58e4c3d5218fcf64736f6c634300060c0033";
//# sourceMappingURL=CompAdapterFactory.js.map