[ { "inputs": [ { "internalType": "address", "name": "_asset", "type": "address" }, { "internalType": "address", "name": "_pair", "type": "address" }, { "internalType": "string", "name": "_name", "type": "string" }, { "internalType": "uint256", "name": "_depositThreshold", "type": "uint256" }, { "internalType": "uint256", "name": "_timeToUnlock", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "stateMutability": "nonpayable", "type": "fallback" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "availableDepositLimit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" } ], "name": "availableWithdrawLimit", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "collateral", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "deployFunds", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "depositThreshold", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "freeFunds", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "freezeTimeToUnlock", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "freezeUnlock", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "harvestAndReport", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "maxLTV", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "pair", "outputs": [ { "internalType": "contract ISturdyPair", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_newTime", "type": "uint256" } ], "name": "setTimeToUnlock", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "shutdownWithdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_totalIdle", "type": "uint256" } ], "name": "tendThis", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "tendTrigger", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" }, { "internalType": "bytes", "name": "", "type": "bytes" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "thresholdMet", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "timeToUnlock", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "tokenizedStrategyAddress", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]
6101006040523480156200001257600080fd5b5060405162001a8338038062001a838339810160408190526200003591620005c6565b6001600160a01b03851660a05230608052604051859084906200009e906200006a9084908490339081908190602401620006e5565b60408051601f198184030181529190526020810180516001600160e01b03908116632ecfe31560e01b179091526200010e16565b505073dfc8cd9f2f2d306b7c0d109f005df661e14f4ff27f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55506001600160a01b0380851660c081905260e084905260018390556200010391871690600019620001a2565b505050505062000799565b606060008073dfc8cd9f2f2d306b7c0d109f005df661e14f4ff26001600160a01b03168460405162000141919062000728565b600060405180830381855af49150503d80600081146200017e576040519150601f19603f3d011682016040523d82523d6000602084013e62000183565b606091505b5091509150816200019b576040513d806000833e8082fd5b9392505050565b801580620002205750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015620001f8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200021e919062000746565b155b620002985760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527f20746f206e6f6e2d7a65726f20616c6c6f77616e63650000000000000000000060648201526084015b60405180910390fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152620002f0918591620002f516565b505050565b6040805180820190915260208082527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65649082015260009062000344906001600160a01b038516908490620003c9565b90508051600014806200036857508080602001905181019062000368919062000760565b620002f05760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016200028f565b6060620003da8484600085620003e2565b949350505050565b606082471015620004455760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016200028f565b600080866001600160a01b0316858760405162000463919062000728565b60006040518083038185875af1925050503d8060008114620004a2576040519150601f19603f3d011682016040523d82523d6000602084013e620004a7565b606091505b509092509050620004bb87838387620004c6565b979650505050505050565b606083156200053a57825160000362000532576001600160a01b0385163b620005325760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016200028f565b5081620003da565b620003da8383815115620005515781518083602001fd5b8060405162461bcd60e51b81526004016200028f919062000784565b80516001600160a01b03811681146200058557600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60005b83811015620005bd578181015183820152602001620005a3565b50506000910152565b600080600080600060a08688031215620005df57600080fd5b620005ea866200056d565b9450620005fa602087016200056d565b60408701519094506001600160401b03808211156200061857600080fd5b818801915088601f8301126200062d57600080fd5b8151818111156200064257620006426200058a565b604051601f8201601f19908116603f011681019083821181831017156200066d576200066d6200058a565b816040528281528b60208487010111156200068757600080fd5b6200069a836020830160208801620005a0565b60608b01516080909b0151999c989b509998979650505050505050565b60008151808452620006d1816020860160208601620005a0565b601f01601f19169290920160200192915050565b600060018060a01b03808816835260a060208401526200070960a0840188620006b7565b9581166040840152938416606083015250911660809091015292915050565b600082516200073c818460208701620005a0565b9190910192915050565b6000602082840312156200075957600080fd5b5051919050565b6000602082840312156200077357600080fd5b815180151581146200019b57600080fd5b6020815260006200019b6020830184620006b7565b60805160a05160c05160e05161123262000851600039600081816102280152610c2a0152600081816102750152818161031701528181610677015281816106fb015281816107e401528181610880015281816109be01528181610a4b01528181610bf101528181610c8101528181610cc601528181610d6601528181610e030152610e9901526000818161033f0152610b4d0152600081816103ac0152818161043e0152818161051401526105f001526112326000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c8063734daaa1116100a2578063bfbdc77211610071578063bfbdc772146102af578063d19a3bb8146102b7578063d8dfeb45146102d2578063f384bd05146102da578063fde813a8146102e257610116565b8063734daaa1146102235780637a2b4f811461024a5780639d7fb70c1461025d578063a8aa1b311461027057610116565b806342c5ddc4116100e957806342c5ddc4146101b057806346aa2f12146101bd57806349317f1d146101d2578063503160d9146101da5780635d265d3f146101ed57610116565b806304bd4629146101515780631e957a23146101775780632ee9f969146101805780633d6cb5751461019d575b73dfc8cd9f2f2d306b7c0d109f005df661e14f4ff23660008037600080366000845af43d6000803e80801561014a573d6000f35b3d6000fd5b005b61016461015f366004610f40565b6102f5565b6040519081526020015b60405180910390f35b61016460015481565b60025461018d9060ff1681565b604051901515815260200161016e565b61014f6101ab366004610f5d565b6104c3565b60005461018d9060ff1681565b6101646101cb366004610f40565b5060001990565b6101646104d7565b61014f6101e8366004610f5d565b6104ee565b60408051600481526024810182526020810180516001600160e01b031663440368a360e01b179052905161016e91600091610f76565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b61014f610258366004610f5d565b6104ff565b61014f61026b366004610f5d565b6105d3565b6102977f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200161016e565b61014f6105db565b61029773dfc8cd9f2f2d306b7c0d109f005df661e14f4ff281565b610297610673565b6101646106f7565b61014f6102f0366004610f5d565b61077b565b6000600154421061043c576040516370a0823160e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610386573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103aa9190610fce565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639aa7df946040518163ffffffff1660e01b8152600401602060405180830381865afa158015610408573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042c9190610fce565b6104369190610fe7565b92915050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316639aa7df946040518163ffffffff1660e01b8152600401602060405180830381865afa15801561049a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104369190610fce565b919050565b6104cb61078c565b6104d4816107c5565b50565b60006104e161078c565b6104e96109a5565b905090565b6104f661078c565b6104d481610bca565b604051631d818fc560e31b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ec0c7e2890602401602060405180830381865afa158015610563573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105879190611008565b5060025460ff16156105ce5760405162461bcd60e51b815260206004820152600b60248201526a3637b1b590333937bd32b760a91b60448201526064015b60405180910390fd5b600155565b6104d461078c565b604051631d818fc560e31b81523360048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ec0c7e2890602401602060405180830381865afa15801561063f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106639190611008565b506002805460ff19166001179055565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c6e1c7c96040518163ffffffff1660e01b8152600401602060405180830381865afa1580156106d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e9919061102a565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f384bd056040518163ffffffff1660e01b8152600401602060405180830381865afa158015610757573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104e99190610fce565b61078361078c565b6104d481610cb0565b3330146107c35760405162461bcd60e51b815260206004820152600560248201526410b9b2b63360d91b60448201526064016105c5565b565b600154421061097357604051631c6c959760e01b8152600060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690631c6c959790602401610180604051808303816000875af1158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190611136565b5050604051631c2591d360e01b81526004810186905260006024820181905260448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316945063ba0876529350849250631c2591d39150606401602060405180830381865afa1580156108db573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108ff9190610fce565b6040516001600160e01b031960e084901b1681526004810191909152306024820181905260448201526064015b6020604051808303816000875af115801561094b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061096f9190610fce565b5050565b60405162461bcd60e51b81526020600482015260076024820152664c6f636b65642160c81b60448201526064016105c5565b604051631c6c959760e01b8152600060048201819052907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690631c6c959790602401610180604051808303816000875af1158015610a10573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a349190611136565b50506040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169450637d37bdd793508492506370a082319150602401602060405180830381865afa158015610aa6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aca9190610fce565b6040516001600160e01b031960e084901b16815260048101919091526000602482018190526044820152606401602060405180830381865afa158015610b14573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b389190610fce565b6040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa158015610b9c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bc09190610fce565b6104e99190610fe7565b60005460ff1615610c2857604051636e553f6560e01b8152600481018290523060248201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690636e553f659060440161092c565b7f00000000000000000000000000000000000000000000000000000000000000008111156104d4576000805460ff19166001179055604051636e553f6560e01b8152600481018290523060248201526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636e553f659060440161092c565b604051631c6c959760e01b8152600060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690631c6c959790602401610180604051808303816000875af1158015610d18573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d3c9190611136565b5050604051631c2591d360e01b8152600481018690526001602482015260006044820181905294507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169350631c2591d392506064019050602060405180830381865afa158015610db9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddd9190610fce565b6040516370a0823160e01b8152306004820152909150610e739082906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a0823190602401602060405180830381865afa158015610e4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e6e9190610fce565b610f13565b604051635d043b2960e11b815260048101829052306024820181905260448201529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ba087652906064016020604051808303816000875af1158015610eea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f0e9190610fce565b505050565b6000818310610f225781610f24565b825b9392505050565b6001600160a01b03811681146104d457600080fd5b600060208284031215610f5257600080fd5b8135610f2481610f2b565b600060208284031215610f6f57600080fd5b5035919050565b821515815260006020604081840152835180604085015260005b81811015610fac57858101830151858201606001528201610f90565b506000606082860101526060601f19601f830116850101925050509392505050565b600060208284031215610fe057600080fd5b5051919050565b8082018082111561043657634e487b7160e01b600052601160045260246000fd5b60006020828403121561101a57600080fd5b81518015158114610f2457600080fd5b60006020828403121561103c57600080fd5b8151610f2481610f2b565b60405160a0810167ffffffffffffffff8111828210171561107857634e487b7160e01b600052604160045260246000fd5b60405290565b805163ffffffff811681146104be57600080fd5b805167ffffffffffffffff811681146104be57600080fd5b80516fffffffffffffffffffffffffffffffff811681146104be57600080fd5b6000604082840312156110dc57600080fd5b6040516040810181811067ffffffffffffffff8211171561110d57634e487b7160e01b600052604160045260246000fd5b60405290508061111c836110aa565b815261112a602084016110aa565b60208201525092915050565b60008060008060008086880361018081121561115157600080fd5b87519650602088015195506040880151945060a0605f198201121561117557600080fd5b5061117e611047565b61118a6060890161107e565b81526111986080890161107e565b60208201526111a960a08901611092565b60408201526111ba60c08901611092565b60608201526111cb60e08901611092565b608082015292506111e08861010089016110ca565b91506111f08861014089016110ca565b9050929550929550929556fea2646970667358221220029836e027891d7b19afe73e0bb9b05919194be58555068aab47858636502c3b64736f6c63430008150033000000000000000000000000f939e0a03fb07f59a73314e73794be0e57ac1b4e000000000000000000000000d1eed9475ec923cff04028d5920766784ae6500600000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000003635c9adc5dea0000000000000000000000000000000000000000000000000000000000000659c5dcf000000000000000000000000000000000000000000000000000000000000002c537475726479206372765553442f7965616e20637572766520465241582d637276555344204c502073696c6f0000000000000000000000000000000000000000