1 line
45 KiB
JSON
1 line
45 KiB
JSON
{"abi":[{"type":"constructor","inputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"UPGRADE_INTERFACE_VERSION","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"getPrice","inputs":[{"name":"_token","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"initialize","inputs":[{"name":"_usdcAddress","type":"address","internalType":"address"},{"name":"_usdcPriceFeed","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"owner","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"function","name":"priceStalenesThreshold","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"proxiableUUID","inputs":[],"outputs":[{"name":"","type":"bytes32","internalType":"bytes32"}],"stateMutability":"view"},{"type":"function","name":"renounceOwnership","inputs":[],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setPriceStalenessThreshold","inputs":[{"name":"_threshold","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"setUsdcAddress","inputs":[{"name":"_usdcAddress","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"transferOwnership","inputs":[{"name":"newOwner","type":"address","internalType":"address"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"function","name":"upgradeToAndCall","inputs":[{"name":"newImplementation","type":"address","internalType":"address"},{"name":"data","type":"bytes","internalType":"bytes"}],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"usdcAddress","inputs":[],"outputs":[{"name":"","type":"address","internalType":"address"}],"stateMutability":"view"},{"type":"event","name":"Initialized","inputs":[{"name":"version","type":"uint64","indexed":false,"internalType":"uint64"}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"name":"previousOwner","type":"address","indexed":true,"internalType":"address"},{"name":"newOwner","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"event","name":"Upgraded","inputs":[{"name":"implementation","type":"address","indexed":true,"internalType":"address"}],"anonymous":false},{"type":"error","name":"AddressEmptyCode","inputs":[{"name":"target","type":"address","internalType":"address"}]},{"type":"error","name":"ERC1967InvalidImplementation","inputs":[{"name":"implementation","type":"address","internalType":"address"}]},{"type":"error","name":"ERC1967NonPayable","inputs":[]},{"type":"error","name":"FailedCall","inputs":[]},{"type":"error","name":"InvalidChainlinkPrice","inputs":[]},{"type":"error","name":"InvalidInitialization","inputs":[]},{"type":"error","name":"InvalidUsdcAddress","inputs":[]},{"type":"error","name":"InvalidUsdcPriceFeedAddress","inputs":[]},{"type":"error","name":"NotInitializing","inputs":[]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"name":"owner","type":"address","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"name":"account","type":"address","internalType":"address"}]},{"type":"error","name":"StalePrice","inputs":[]},{"type":"error","name":"UUPSUnauthorizedCallContext","inputs":[]},{"type":"error","name":"UUPSUnsupportedProxiableUUID","inputs":[{"name":"slot","type":"bytes32","internalType":"bytes32"}]}],"bytecode":{"object":"0x60a080604052346100c257306080525f516020610bec5f395f51905f525460ff8160401c166100b3576002600160401b03196001600160401b03821601610060575b604051610b2590816100c7823960805181818161024b015261031b0152f35b6001600160401b0319166001600160401b039081175f516020610bec5f395f51905f525581527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d290602090a15f80610041565b63f92ee8a960e01b5f5260045ffd5b5f80fdfe6080806040526004361015610012575f80fd5b5f3560e01c90816302d45457146107295750806341976e09146106fe578063485cc955146105455780634915a858146104d05780634f1ef2861461029f57806352d1902d14610239578063715018a6146101d25780638da5cb5b1461019e578063ad3cb1cc14610140578063b3b8a99414610123578063d38bcdee146100cf5763f2fde38b146100a0575f80fd5b346100cb5760203660031901126100cb576100c96100bc61074b565b6100c46109d3565b61094b565b005b5f80fd5b346100cb5760203660031901126100cb576100e861074b565b6100f06109d3565b6001600160a01b03168015610114576001600160601b0360a01b5f5416175f555f80f35b633c80384560e21b5f5260045ffd5b346100cb575f3660031901126100cb576020600254604051908152f35b346100cb575f3660031901126100cb57604080519061015f8183610761565b600582526020820191640352e302e360dc1b83528151928391602083525180918160208501528484015e5f828201840152601f01601f19168101030190f35b346100cb575f3660031901126100cb575f516020610a905f395f51905f52546040516001600160a01b039091168152602090f35b346100cb575f3660031901126100cb576101ea6109d3565b5f516020610a905f395f51905f5280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100cb575f3660031901126100cb577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036102905760206040515f516020610ab05f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b60403660031901126100cb576102b361074b565b6024359067ffffffffffffffff82116100cb57366023830112156100cb578160040135906102e082610797565b916102ee6040519384610761565b808352602083019336602483830101116100cb57815f926024602093018737840101526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163081149081156104ae575b50610290576103536109d3565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa5f918161047a575b506103955784634c9c8ce360e01b5f5260045260245ffd5b805f516020610ab05f395f51905f528692036104685750823b15610456575f516020610ab05f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a282511561043d575f80916100c9945190845af43d15610435573d9161041983610797565b926104276040519485610761565b83523d5f602085013e610a31565b606091610a31565b5050503461044757005b63b398979f60e01b5f5260045ffd5b634c9c8ce360e01b5f5260045260245ffd5b632a87526960e21b5f5260045260245ffd5b9091506020813d6020116104a6575b8161049660209383610761565b810103126100cb5751908661037d565b3d9150610489565b5f516020610ab05f395f51905f52546001600160a01b03161415905084610346565b346100cb5760203660031901126100cb576004356104ec6109d3565b80151580610538575b156104ff57600255005b60405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606490fd5b5062093a808111156104f5565b346100cb5760403660031901126100cb5761055e61074b565b6024356001600160a01b038116908190036100cb575f516020610ad05f395f51905f52549160ff8360401c16159267ffffffffffffffff8116801590816106f6575b60011490816106ec575b1590816106e3575b506106d45767ffffffffffffffff1981166001175f516020610ad05f395f51905f5255836106a8575b506105e4610a06565b6105ec610a06565b6105f4610a06565b6105fd3361094b565b6001600160a01b03168015610114578115610699576001600160601b0360a01b5f5416175f556001600160601b0360a01b6001541617600155610e1060025561064257005b68ff0000000000000000195f516020610ad05f395f51905f5254165f516020610ad05f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b6339ab5ef760e11b5f5260045ffd5b68ffffffffffffffffff191668010000000000000001175f516020610ad05f395f51905f5255836105db565b63f92ee8a960e01b5f5260045ffd5b905015856105b2565b303b1591506105aa565b8591506105a0565b346100cb5760203660031901126100cb57602061072161071c61074b565b6107b3565b604051908152f35b346100cb575f3660031901126100cb575f546001600160a01b03168152602090f35b600435906001600160a01b03821682036100cb57565b90601f8019910116810190811067ffffffffffffffff82111761078357604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff811161078357601f01601f191660200190565b5f546001600160a01b039182169116811461082b5760206004916040519283809263adcc40cb60e01b82525afa908115610820575f916107f1575090565b90506020813d602011610818575b8161080c60209383610761565b810103126100cb575190565b3d91506107ff565b6040513d5f823e3d90fd5b50600154604051633fabe5a360e21b81529060a090829060049082906001600160a01b03165afa908115610820575f915f925f925f926108f5575b505f8413156108e65782156108d75769ffffffffffffffffffff8091169116106108d75742034281116108c357600254106108d75769021e19e0c9bab240000081029080820469021e19e0c9bab240000014901517156108c35790565b634e487b7160e01b5f52601160045260245ffd5b630cd5fa0760e11b5f5260045ffd5b638002905d60e01b5f5260045ffd5b935050505060a0813d60a011610943575b8161091360a09383610761565b810103126100cb57610924816109bc565b602082015161093a6080606085015194016109bc565b9092915f610866565b3d9150610906565b6001600160a01b031680156109a9575f516020610a905f395f51905f5280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b519069ffffffffffffffffffff821682036100cb57565b5f516020610a905f395f51905f52546001600160a01b031633036109f357565b63118cdaa760e01b5f523360045260245ffd5b60ff5f516020610ad05f395f51905f525460401c1615610a2257565b631afcd79f60e31b5f5260045ffd5b90610a555750805115610a4657602081519101fd5b63d6bda27560e01b5f5260045ffd5b81511580610a86575b610a66575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15610a5e56fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122056f167714363d40647577ecad4354501a3ad4c581ef586e07d5e341ccb64bee064736f6c634300081e0033f0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00","sourceMap":"367:2517:14:-:0;;;;;;;1171:4:46;1163:13;;-1:-1:-1;;;;;;;;;;;367:2517:14;;;;;;7894:76:45;;-1:-1:-1;;;;;;;;;;;367:2517:14;;7983:34:45;7979:146;;-1:-1:-1;367:2517:14;;;;;;;;1163:13:46;367:2517:14;;;;;;;;;;;7979:146:45;-1:-1:-1;;;;;;367:2517:14;-1:-1:-1;;;;;367:2517:14;;;-1:-1:-1;;;;;;;;;;;367:2517:14;;;8085:29:45;;367:2517:14;;8085:29:45;7979:146;;;;7894:76;7936:23;;;-1:-1:-1;7936:23:45;;-1:-1:-1;7936:23:45;367:2517:14;;;","linkReferences":{}},"deployedBytecode":{"object":"0x6080806040526004361015610012575f80fd5b5f3560e01c90816302d45457146107295750806341976e09146106fe578063485cc955146105455780634915a858146104d05780634f1ef2861461029f57806352d1902d14610239578063715018a6146101d25780638da5cb5b1461019e578063ad3cb1cc14610140578063b3b8a99414610123578063d38bcdee146100cf5763f2fde38b146100a0575f80fd5b346100cb5760203660031901126100cb576100c96100bc61074b565b6100c46109d3565b61094b565b005b5f80fd5b346100cb5760203660031901126100cb576100e861074b565b6100f06109d3565b6001600160a01b03168015610114576001600160601b0360a01b5f5416175f555f80f35b633c80384560e21b5f5260045ffd5b346100cb575f3660031901126100cb576020600254604051908152f35b346100cb575f3660031901126100cb57604080519061015f8183610761565b600582526020820191640352e302e360dc1b83528151928391602083525180918160208501528484015e5f828201840152601f01601f19168101030190f35b346100cb575f3660031901126100cb575f516020610a905f395f51905f52546040516001600160a01b039091168152602090f35b346100cb575f3660031901126100cb576101ea6109d3565b5f516020610a905f395f51905f5280546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b346100cb575f3660031901126100cb577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031630036102905760206040515f516020610ab05f395f51905f528152f35b63703e46dd60e11b5f5260045ffd5b60403660031901126100cb576102b361074b565b6024359067ffffffffffffffff82116100cb57366023830112156100cb578160040135906102e082610797565b916102ee6040519384610761565b808352602083019336602483830101116100cb57815f926024602093018737840101526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163081149081156104ae575b50610290576103536109d3565b6040516352d1902d60e01b81526001600160a01b0382169390602081600481885afa5f918161047a575b506103955784634c9c8ce360e01b5f5260045260245ffd5b805f516020610ab05f395f51905f528692036104685750823b15610456575f516020610ab05f395f51905f5280546001600160a01b031916821790557fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b5f80a282511561043d575f80916100c9945190845af43d15610435573d9161041983610797565b926104276040519485610761565b83523d5f602085013e610a31565b606091610a31565b5050503461044757005b63b398979f60e01b5f5260045ffd5b634c9c8ce360e01b5f5260045260245ffd5b632a87526960e21b5f5260045260245ffd5b9091506020813d6020116104a6575b8161049660209383610761565b810103126100cb5751908661037d565b3d9150610489565b5f516020610ab05f395f51905f52546001600160a01b03161415905084610346565b346100cb5760203660031901126100cb576004356104ec6109d3565b80151580610538575b156104ff57600255005b60405162461bcd60e51b8152602060048201526011602482015270125b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606490fd5b5062093a808111156104f5565b346100cb5760403660031901126100cb5761055e61074b565b6024356001600160a01b038116908190036100cb575f516020610ad05f395f51905f52549160ff8360401c16159267ffffffffffffffff8116801590816106f6575b60011490816106ec575b1590816106e3575b506106d45767ffffffffffffffff1981166001175f516020610ad05f395f51905f5255836106a8575b506105e4610a06565b6105ec610a06565b6105f4610a06565b6105fd3361094b565b6001600160a01b03168015610114578115610699576001600160601b0360a01b5f5416175f556001600160601b0360a01b6001541617600155610e1060025561064257005b68ff0000000000000000195f516020610ad05f395f51905f5254165f516020610ad05f395f51905f52557fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d2602060405160018152a1005b6339ab5ef760e11b5f5260045ffd5b68ffffffffffffffffff191668010000000000000001175f516020610ad05f395f51905f5255836105db565b63f92ee8a960e01b5f5260045ffd5b905015856105b2565b303b1591506105aa565b8591506105a0565b346100cb5760203660031901126100cb57602061072161071c61074b565b6107b3565b604051908152f35b346100cb575f3660031901126100cb575f546001600160a01b03168152602090f35b600435906001600160a01b03821682036100cb57565b90601f8019910116810190811067ffffffffffffffff82111761078357604052565b634e487b7160e01b5f52604160045260245ffd5b67ffffffffffffffff811161078357601f01601f191660200190565b5f546001600160a01b039182169116811461082b5760206004916040519283809263adcc40cb60e01b82525afa908115610820575f916107f1575090565b90506020813d602011610818575b8161080c60209383610761565b810103126100cb575190565b3d91506107ff565b6040513d5f823e3d90fd5b50600154604051633fabe5a360e21b81529060a090829060049082906001600160a01b03165afa908115610820575f915f925f925f926108f5575b505f8413156108e65782156108d75769ffffffffffffffffffff8091169116106108d75742034281116108c357600254106108d75769021e19e0c9bab240000081029080820469021e19e0c9bab240000014901517156108c35790565b634e487b7160e01b5f52601160045260245ffd5b630cd5fa0760e11b5f5260045ffd5b638002905d60e01b5f5260045ffd5b935050505060a0813d60a011610943575b8161091360a09383610761565b810103126100cb57610924816109bc565b602082015161093a6080606085015194016109bc565b9092915f610866565b3d9150610906565b6001600160a01b031680156109a9575f516020610a905f395f51905f5280546001600160a01b0319811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3565b631e4fbdf760e01b5f525f60045260245ffd5b519069ffffffffffffffffffff821682036100cb57565b5f516020610a905f395f51905f52546001600160a01b031633036109f357565b63118cdaa760e01b5f523360045260245ffd5b60ff5f516020610ad05f395f51905f525460401c1615610a2257565b631afcd79f60e31b5f5260045ffd5b90610a555750805115610a4657602081519101fd5b63d6bda27560e01b5f5260045ffd5b81511580610a86575b610a66575090565b639996b31560e01b5f9081526001600160a01b0391909116600452602490fd5b50803b15610a5e56fe9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbcf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00a264697066735822122056f167714363d40647577ecad4354501a3ad4c581ef586e07d5e341ccb64bee064736f6c634300081e0033","sourceMap":"367:2517:14:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;367:2517:14;;;;2357:1:44;367:2517:14;;:::i;:::-;2303:62:44;;:::i;:::-;2357:1;:::i;:::-;367:2517:14;;;;;;;;;;;-1:-1:-1;;367:2517:14;;;;;;:::i;:::-;2303:62:44;;:::i;:::-;-1:-1:-1;;;;;367:2517:14;1504:26;;1500:59;;-1:-1:-1;;;;;367:2517:14;;;;;;;;;;;1500:59;1064:20;;;367:2517;1539:20;367:2517;;1539:20;367:2517;;;;;;-1:-1:-1;;367:2517:14;;;;;569:37;367:2517;;;;;;;;;;;;;-1:-1:-1;;367:2517:14;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;367:2517:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;367:2517:14;;;;;;;;;;;;;-1:-1:-1;;367:2517:14;;;;-1:-1:-1;;;;;;;;;;;367:2517:14;;;-1:-1:-1;;;;;367:2517:14;;;;;;;;;;;;;;-1:-1:-1;;367:2517:14;;;;2303:62:44;;:::i;:::-;-1:-1:-1;;;;;;;;;;;367:2517:14;;-1:-1:-1;;;;;;367:2517:14;;;;;;;-1:-1:-1;;;;;367:2517:14;3975:40:44;367:2517:14;;3975:40:44;367:2517:14;;;;;;;-1:-1:-1;;367:2517:14;;;;5090:6:46;-1:-1:-1;;;;;367:2517:14;5081:4:46;5073:23;5069:145;;367:2517:14;;;-1:-1:-1;;;;;;;;;;;367:2517:14;;;5069:145:46;4844:29;;;367:2517:14;5174:29:46;367:2517:14;;5174:29:46;367:2517:14;;;-1:-1:-1;;367:2517:14;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;4667:6:46;367:2517:14;4658:4:46;4650:23;;;:120;;;;367:2517:14;4633:251:46;;;2303:62:44;;:::i;:::-;367:2517:14;;-1:-1:-1;;;6131:52:46;;-1:-1:-1;;;;;367:2517:14;;;;;;;;;6131:52:46;;367:2517:14;;6131:52:46;;;367:2517:14;-1:-1:-1;6127:437:46;;1805:47:59;;;;367:2517:14;6493:60:46;367:2517:14;;;;6493:60:46;6127:437;6225:40;-1:-1:-1;;;;;;;;;;;6225:40:46;;;6221:120;;1748:29:59;;;:34;1744:119;;-1:-1:-1;;;;;;;;;;;367:2517:14;;-1:-1:-1;;;;;;367:2517:14;;;;;2407:36:59;-1:-1:-1;;2407:36:59;367:2517:14;;2458:15:59;:11;;367:2517:14;4065:25:66;;4107:55;4065:25;;;;;;367:2517:14;;;;;;;;;:::i;:::-;;;;;;;;:::i;:::-;;;;;;;;;4107:55:66;:::i;367:2517:14:-;;;4107:55:66;:::i;2454:148:59:-;6163:9;;;;6159:70;;367:2517:14;6159:70:59;6199:19;;;367:2517:14;6199:19:59;367:2517:14;;6199:19:59;1744:119;1805:47;;;367:2517:14;1805:47:59;367:2517:14;;;;1805:47:59;6221:120:46;6292:34;;;367:2517:14;6292:34:46;367:2517:14;;;;6292:34:46;6131:52;;;;367:2517:14;6131:52:46;;367:2517:14;6131:52:46;;;;;;367:2517:14;6131:52:46;;;:::i;:::-;;;367:2517:14;;;;;6131:52:46;;;;;;;-1:-1:-1;6131:52:46;;4650:120;-1:-1:-1;;;;;;;;;;;367:2517:14;-1:-1:-1;;;;;367:2517:14;4728:42:46;;;-1:-1:-1;4650:120:46;;;367:2517:14;;;;;;-1:-1:-1;;367:2517:14;;;;;;2303:62:44;;:::i;:::-;1847:14:14;;;:38;;;367:2517;;;;1917:35;367:2517;;;;;-1:-1:-1;;;367:2517:14;;;;;;;;;;;;-1:-1:-1;;;367:2517:14;;;;;;;1847:38;1865:20;1879:6;1865:20;;;1847:38;;367:2517;;;;;;-1:-1:-1;;367:2517:14;;;;;;:::i;:::-;;;-1:-1:-1;;;;;367:2517:14;;;;;;;;-1:-1:-1;;;;;;;;;;;367:2517:14;;;;;;;4301:16:45;367:2517:14;;;;4724:16:45;;:34;;;;367:2517:14;4803:1:45;4788:16;:50;;;;367:2517:14;4853:13:45;:30;;;;367:2517:14;4849:91:45;;;-1:-1:-1;;367:2517:14;;4803:1:45;367:2517:14;-1:-1:-1;;;;;;;;;;;367:2517:14;;4977:67:45;;367:2517:14;6891:76:45;;;:::i;:::-;;;:::i;:::-;;;:::i;:::-;6959:1;1004:10:14;6959:1:45;:::i;:::-;-1:-1:-1;;;;;367:2517:14;1029:26;;1025:59;;1098:28;;1094:70;;-1:-1:-1;;;;;367:2517:14;;;;;;;;-1:-1:-1;;;;;367:2517:14;;4803:1:45;367:2517:14;;;4803:1:45;367:2517:14;1301:4;1276:29;367:2517;5064:101:45;;367:2517:14;5064:101:45;367:2517:14;;-1:-1:-1;;;;;;;;;;;367:2517:14;;-1:-1:-1;;;;;;;;;;;367:2517:14;5140:14:45;367:2517:14;;;4803:1:45;367:2517:14;;5140:14:45;367:2517:14;1094:70;1135:29;;;367:2517;1135:29;367:2517;;1135:29;4977:67:45;-1:-1:-1;;367:2517:14;;;-1:-1:-1;;;;;;;;;;;367:2517:14;4977:67:45;;;4849:91;4906:23;;;367:2517:14;4906:23:45;367:2517:14;;4906:23:45;4853:30;4870:13;;;4853:30;;;4788:50;4816:4;4808:25;:30;;-1:-1:-1;4788:50:45;;4724:34;;;-1:-1:-1;4724:34:45;;367:2517:14;;;;;;-1:-1:-1;;367:2517:14;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;-1:-1:-1;;367:2517:14;;;;;;-1:-1:-1;;;;;367:2517:14;;;;;;;;;;-1:-1:-1;;;;;367:2517:14;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;-1:-1:-1;367:2517:14;;;;;-1:-1:-1;367:2517:14;;;;;;;;;-1:-1:-1;;367:2517:14;;;;:::o;1969:204::-;367:2517;;-1:-1:-1;;;;;367:2517:14;;;;;2049:21;;2045:74;;2135:31;;367:2517;;;;;;;;;;2135:31;;;;;;;;;367:2517;2135:31;;;2128:38;1969:204;:::o;2135:31::-;;;;;;;;;;;;;;;;;:::i;:::-;;;367:2517;;;;;1969:204;:::o;2135:31::-;;;-1:-1:-1;2135:31:14;;;367:2517;;;;;;;;;2045:74;-1:-1:-1;367:2517:14;;;;-1:-1:-1;;;2417:31:14;;367:2517;2417:31;;367:2517;;2417:31;;367:2517;;-1:-1:-1;;;;;367:2517:14;2417:31;;;;;;;367:2517;;;;;;;2417:31;;;2045:74;2504:10;367:2517;2504:10;;;2500:46;;2626:14;;2622:39;;367:2517;;;;;;2675:25;2671:50;;2735:15;367:2517;2735:15;367:2517;;;;2765:22;367:2517;-1:-1:-1;2731:77:14;;2851:4;367:2517;;;;;;2851:4;367:2517;;;;;;;2086:22;:::o;367:2517::-;;;;;;;2417:31;367:2517;;;;2731:77;2649:12;;;367:2517;2796:12;2417:31;367:2517;2796:12;2500:46;2523:23;;;367:2517;2523:23;2417:31;367:2517;2523:23;2417:31;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;367:2517;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;2417:31;;;;;;;;;-1:-1:-1;2417:31:14;;3405:215:44;-1:-1:-1;;;;;367:2517:14;3489:22:44;;3485:91;;-1:-1:-1;;;;;;;;;;;367:2517:14;;-1:-1:-1;;;;;;367:2517:14;;;;;;;-1:-1:-1;;;;;367:2517:14;3975:40:44;-1:-1:-1;;3975:40:44;3405:215::o;3485:91::-;3534:31;;;3509:1;3534:31;3509:1;3534:31;367:2517:14;;3509:1:44;3534:31;367:2517:14;;;;;;;;;;:::o;2658:162:44:-;-1:-1:-1;;;;;;;;;;;367:2517:14;-1:-1:-1;;;;;367:2517:14;966:10:48;2717:23:44;2713:101;;2658:162::o;2713:101::-;2763:40;;;-1:-1:-1;2763:40:44;966:10:48;2763:40:44;367:2517:14;;-1:-1:-1;2763:40:44;7082:141:45;367:2517:14;-1:-1:-1;;;;;;;;;;;367:2517:14;;;;7148:18:45;7144:73;;7082:141::o;7144:73::-;7189:17;;;-1:-1:-1;7189:17:45;;-1:-1:-1;7189:17:45;4437:582:66;;4609:8;;-1:-1:-1;367:2517:14;;5690:21:66;:17;;5815:105;;;;;;5686:301;5957:19;;;5710:1;5957:19;;5710:1;5957:19;4605:408;367:2517:14;;4857:22:66;:49;;;4605:408;4853:119;;4985:17;;:::o;4853:119::-;-1:-1:-1;;;4878:1:66;4933:24;;;-1:-1:-1;;;;;367:2517:14;;;;4933:24:66;367:2517:14;;;4933:24:66;4857:49;4883:18;;;:23;4857:49;","linkReferences":{},"immutableReferences":{"51233":[{"start":587,"length":32},{"start":795,"length":32}]}},"methodIdentifiers":{"UPGRADE_INTERFACE_VERSION()":"ad3cb1cc","getPrice(address)":"41976e09","initialize(address,address)":"485cc955","owner()":"8da5cb5b","priceStalenesThreshold()":"b3b8a994","proxiableUUID()":"52d1902d","renounceOwnership()":"715018a6","setPriceStalenessThreshold(uint256)":"4915a858","setUsdcAddress(address)":"d38bcdee","transferOwnership(address)":"f2fde38b","upgradeToAndCall(address,bytes)":"4f1ef286","usdcAddress()":"02d45457"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.30+commit.73712a01\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"}],\"name\":\"AddressEmptyCode\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"ERC1967InvalidImplementation\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ERC1967NonPayable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidChainlinkPrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidInitialization\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidUsdcAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidUsdcPriceFeedAddress\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotInitializing\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"OwnableInvalidOwner\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"OwnableUnauthorizedAccount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"StalePrice\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UUPSUnauthorizedCallContext\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"slot\",\"type\":\"bytes32\"}],\"name\":\"UUPSUnsupportedProxiableUUID\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint64\",\"name\":\"version\",\"type\":\"uint64\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"UPGRADE_INTERFACE_VERSION\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"}],\"name\":\"getPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_usdcAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_usdcPriceFeed\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"priceStalenesThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_threshold\",\"type\":\"uint256\"}],\"name\":\"setPriceStalenessThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_usdcAddress\",\"type\":\"address\"}],\"name\":\"setUsdcAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"usdcAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"errors\":{\"AddressEmptyCode(address)\":[{\"details\":\"There's no code at `target` (it is not a contract).\"}],\"ERC1967InvalidImplementation(address)\":[{\"details\":\"The `implementation` of the proxy is invalid.\"}],\"ERC1967NonPayable()\":[{\"details\":\"An upgrade function sees `msg.value > 0` that may be lost.\"}],\"FailedCall()\":[{\"details\":\"A call to an address target failed. The target may have reverted.\"}],\"InvalidInitialization()\":[{\"details\":\"The contract is already initialized.\"}],\"NotInitializing()\":[{\"details\":\"The contract is not initializing.\"}],\"OwnableInvalidOwner(address)\":[{\"details\":\"The owner is not a valid owner account. (eg. `address(0)`)\"}],\"OwnableUnauthorizedAccount(address)\":[{\"details\":\"The caller account is not authorized to perform an operation.\"}],\"UUPSUnauthorizedCallContext()\":[{\"details\":\"The call is from an unauthorized context.\"}],\"UUPSUnsupportedProxiableUUID(bytes32)\":[{\"details\":\"The storage `slot` is unsupported as a UUID.\"}]},\"events\":{\"Initialized(uint64)\":{\"details\":\"Triggered when the contract has been initialized or reinitialized.\"},\"Upgraded(address)\":{\"details\":\"Emitted when the implementation is upgraded.\"}},\"kind\":\"dev\",\"methods\":{\"constructor\":{\"custom:oz-upgrades-unsafe-allow\":\"constructor\"},\"owner()\":{\"details\":\"Returns the address of the current owner.\"},\"proxiableUUID()\":{\"details\":\"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\"},\"renounceOwnership()\":{\"details\":\"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner.\"},\"setPriceStalenessThreshold(uint256)\":{\"params\":{\"_threshold\":\"\\u9608\\u503c\\uff08\\u79d2\\uff09\\uff0c\\u4f8b\\u5982\\uff1a3600 = 1\\u5c0f\\u65f6\\uff0c86400 = 24\\u5c0f\\u65f6\"}},\"transferOwnership(address)\":{\"details\":\"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner.\"},\"upgradeToAndCall(address,bytes)\":{\"custom:oz-upgrades-unsafe-allow-reachable\":\"delegatecall\",\"details\":\"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{\"priceStalenesThreshold()\":{\"notice\":\"\\u4ef7\\u683c\\u8fc7\\u671f\\u9608\\u503c\\uff08\\u79d2\\uff09\"},\"setPriceStalenessThreshold(uint256)\":{\"notice\":\"\\u8bbe\\u7f6e\\u4ef7\\u683c\\u8fc7\\u671f\\u9608\\u503c\"}},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/ytLending/LendingPriceFeed.sol\":\"LendingPriceFeed\"},\"evmVersion\":\"prague\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":true,\"runs\":200},\"remappings\":[\":@arbitrum/=node_modules/@arbitrum/\",\":@chainlink/=node_modules/@chainlink/\",\":@ensdomains/=node_modules/@ensdomains/\",\":@eth-optimism/=node_modules/@chainlink/contracts/node_modules/@eth-optimism/\",\":@offchainlabs/=node_modules/@offchainlabs/\",\":@openzeppelin/=node_modules/@openzeppelin/\",\":@scroll-tech/=node_modules/@scroll-tech/\",\":@zksync/=node_modules/@zksync/\",\":forge-std/=lib/forge-std/src/\",\":hardhat/=node_modules/hardhat/\",\":solady/=node_modules/solady/\"],\"viaIR\":true},\"sources\":{\"contracts/interfaces/IYTAssetVault.sol\":{\"keccak256\":\"0xb0a83f0d960d0739bc31898eb3e04d817984a708c53c8b0eaa38c10cf79ce503\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://2036d1b7de81fb909e5af2842d97e5a5a55a9b43f1023ec3642c521c592d0f6e\",\"dweb:/ipfs/Qma3adh7SavnDX84zoyizeSQ7bS1NeihWCcnzqEw4rT9nE\"]},\"contracts/ytLending/LendingPriceFeed.sol\":{\"keccak256\":\"0x47fe946f3fc5a02269dc6591323011912897453f105c5e7537022a3667f63ece\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://16726e5f1dad55473e489463c5b85403af352774963fd55cf60941bed09677db\",\"dweb:/ipfs/QmWEKzazxVNgRc448TXw3tYaXhbKBze5YFCr4xPgw2Tx4z\"]},\"node_modules/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol\":{\"keccak256\":\"0x257a8d28fa83d3d942547c8e129ef465e4b5f3f31171e7be4739a4c98da6b4f0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://6d39e11b1dc7b9b8ccdabbc9be442ab7cda4a81c748f57e316dcb1bcb4a28bf9\",\"dweb:/ipfs/QmaG6vz6W6iEUBsbHSBob5mdcitYxWjoygxREHpsJHfWrS\"]},\"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\":{\"keccak256\":\"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6\",\"dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2\"]},\"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\":{\"keccak256\":\"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ab7b6d5b9e2b88176312967fe0f0e78f3d9a1422fa5e4b64e2440c35869b5d08\",\"dweb:/ipfs/QmXKYWWyzcLg1B2k7Sb1qkEXgLCYfXecR9wYW5obRzWP1Q\"]},\"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\":{\"keccak256\":\"0x574a7451e42724f7de29e2855c392a8a5020acd695169466a18459467d719d63\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://5bc189f63b639ee173dd7b6fecc39baf7113bf161776aea22b34c57fdd1872ec\",\"dweb:/ipfs/QmZAf2VtjDLRULqjJkde6LNsxAg12tUqpPqgUQQZbAjgtZ\"]},\"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\":{\"keccak256\":\"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9\",\"dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV\"]},\"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol\":{\"keccak256\":\"0xbf2aefe54b76d7f7bcd4f6da1080b7b1662611937d870b880db584d09cea56b5\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f5e7e2f12e0feec75296e57f51f82fdaa8bd1551f4b8cc6560442c0bf60f818c\",\"dweb:/ipfs/QmcW9wDMaQ8RbQibMarfp17a3bABzY5KraWe2YDwuUrUoz\"]},\"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol\":{\"keccak256\":\"0x82f757819bf2429a0d4db141b99a4bbe5039e4ef86dfb94e2e6d40577ed5b28b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://37c30ed931e19fb71fdb806bb504cfdb9913b7127545001b64d4487783374422\",\"dweb:/ipfs/QmUBHpv4hm3ZmwJ4GH8BeVzK4mv41Q6vBbWXxn8HExPXza\"]},\"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol\":{\"keccak256\":\"0xa1ad192cd45317c788618bef5cb1fb3ca4ce8b230f6433ac68cc1d850fb81618\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b43447bb85a53679d269a403c693b9d88d6c74177dfb35eddca63abaf7cf110a\",\"dweb:/ipfs/QmXSDmpd4bNZj1PDgegr6C4w1jDaWHXCconC3rYiw9TSkQ\"]},\"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol\":{\"keccak256\":\"0x20462ddb2665e9521372c76b001d0ce196e59dbbd989de9af5576cad0bd5628b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://f417fd12aeec8fbfaceaa30e3a08a0724c0bc39de363e2acf6773c897abbaf6d\",\"dweb:/ipfs/QmU4Hko6sApdweVM92CsiuLKkCk8HfyBeutF89PCTz5Tye\"]},\"node_modules/@openzeppelin/contracts/utils/Address.sol\":{\"keccak256\":\"0x6d0ae6e206645341fd122d278c2cb643dea260c190531f2f3f6a0426e77b00c0\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://032d1201d839435be2c85b72e33206b3ea980c569d6ebf7fa57d811ab580a82f\",\"dweb:/ipfs/QmeqQjAtMvdZT2tG7zm39itcRJkuwu8AEReK6WRnLJ18DD\"]},\"node_modules/@openzeppelin/contracts/utils/Errors.sol\":{\"keccak256\":\"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf\",\"dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB\"]},\"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol\":{\"keccak256\":\"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b\",\"dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.30+commit.73712a01"},"language":"Solidity","output":{"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"type":"error","name":"AddressEmptyCode"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"type":"error","name":"ERC1967InvalidImplementation"},{"inputs":[],"type":"error","name":"ERC1967NonPayable"},{"inputs":[],"type":"error","name":"FailedCall"},{"inputs":[],"type":"error","name":"InvalidChainlinkPrice"},{"inputs":[],"type":"error","name":"InvalidInitialization"},{"inputs":[],"type":"error","name":"InvalidUsdcAddress"},{"inputs":[],"type":"error","name":"InvalidUsdcPriceFeedAddress"},{"inputs":[],"type":"error","name":"NotInitializing"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"type":"error","name":"OwnableInvalidOwner"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"type":"error","name":"OwnableUnauthorizedAccount"},{"inputs":[],"type":"error","name":"StalePrice"},{"inputs":[],"type":"error","name":"UUPSUnauthorizedCallContext"},{"inputs":[{"internalType":"bytes32","name":"slot","type":"bytes32"}],"type":"error","name":"UUPSUnsupportedProxiableUUID"},{"inputs":[{"internalType":"uint64","name":"version","type":"uint64","indexed":false}],"type":"event","name":"Initialized","anonymous":false},{"inputs":[{"internalType":"address","name":"previousOwner","type":"address","indexed":true},{"internalType":"address","name":"newOwner","type":"address","indexed":true}],"type":"event","name":"OwnershipTransferred","anonymous":false},{"inputs":[{"internalType":"address","name":"implementation","type":"address","indexed":true}],"type":"event","name":"Upgraded","anonymous":false},{"inputs":[],"stateMutability":"view","type":"function","name":"UPGRADE_INTERFACE_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"stateMutability":"view","type":"function","name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"_usdcAddress","type":"address"},{"internalType":"address","name":"_usdcPriceFeed","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"initialize"},{"inputs":[],"stateMutability":"view","type":"function","name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"priceStalenesThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}]},{"inputs":[],"stateMutability":"nonpayable","type":"function","name":"renounceOwnership"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"setPriceStalenessThreshold"},{"inputs":[{"internalType":"address","name":"_usdcAddress","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"setUsdcAddress"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"function","name":"transferOwnership"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"stateMutability":"payable","type":"function","name":"upgradeToAndCall"},{"inputs":[],"stateMutability":"view","type":"function","name":"usdcAddress","outputs":[{"internalType":"address","name":"","type":"address"}]}],"devdoc":{"kind":"dev","methods":{"constructor":{"custom:oz-upgrades-unsafe-allow":"constructor"},"owner()":{"details":"Returns the address of the current owner."},"proxiableUUID()":{"details":"Implementation of the ERC-1822 {proxiableUUID} function. This returns the storage slot used by the implementation. It is used to validate the implementation's compatibility when performing an upgrade. IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier."},"renounceOwnership()":{"details":"Leaves the contract without owner. It will not be possible to call `onlyOwner` functions. Can only be called by the current owner. NOTE: Renouncing ownership will leave the contract without an owner, thereby disabling any functionality that is only available to the owner."},"setPriceStalenessThreshold(uint256)":{"params":{"_threshold":"阈值(秒),例如:3600 = 1小时,86400 = 24小时"}},"transferOwnership(address)":{"details":"Transfers ownership of the contract to a new account (`newOwner`). Can only be called by the current owner."},"upgradeToAndCall(address,bytes)":{"custom:oz-upgrades-unsafe-allow-reachable":"delegatecall","details":"Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call encoded in `data`. Calls {_authorizeUpgrade}. Emits an {Upgraded} event."}},"version":1},"userdoc":{"kind":"user","methods":{"priceStalenesThreshold()":{"notice":"价格过期阈值(秒)"},"setPriceStalenessThreshold(uint256)":{"notice":"设置价格过期阈值"}},"version":1}},"settings":{"remappings":["@arbitrum/=node_modules/@arbitrum/","@chainlink/=node_modules/@chainlink/","@ensdomains/=node_modules/@ensdomains/","@eth-optimism/=node_modules/@chainlink/contracts/node_modules/@eth-optimism/","@offchainlabs/=node_modules/@offchainlabs/","@openzeppelin/=node_modules/@openzeppelin/","@scroll-tech/=node_modules/@scroll-tech/","@zksync/=node_modules/@zksync/","forge-std/=lib/forge-std/src/","hardhat/=node_modules/hardhat/","solady/=node_modules/solady/"],"optimizer":{"enabled":true,"runs":200},"metadata":{"bytecodeHash":"ipfs"},"compilationTarget":{"contracts/ytLending/LendingPriceFeed.sol":"LendingPriceFeed"},"evmVersion":"prague","libraries":{},"viaIR":true},"sources":{"contracts/interfaces/IYTAssetVault.sol":{"keccak256":"0xb0a83f0d960d0739bc31898eb3e04d817984a708c53c8b0eaa38c10cf79ce503","urls":["bzz-raw://2036d1b7de81fb909e5af2842d97e5a5a55a9b43f1023ec3642c521c592d0f6e","dweb:/ipfs/Qma3adh7SavnDX84zoyizeSQ7bS1NeihWCcnzqEw4rT9nE"],"license":"MIT"},"contracts/ytLending/LendingPriceFeed.sol":{"keccak256":"0x47fe946f3fc5a02269dc6591323011912897453f105c5e7537022a3667f63ece","urls":["bzz-raw://16726e5f1dad55473e489463c5b85403af352774963fd55cf60941bed09677db","dweb:/ipfs/QmWEKzazxVNgRc448TXw3tYaXhbKBze5YFCr4xPgw2Tx4z"],"license":"MIT"},"node_modules/@chainlink/contracts/src/v0.8/shared/interfaces/AggregatorV3Interface.sol":{"keccak256":"0x257a8d28fa83d3d942547c8e129ef465e4b5f3f31171e7be4739a4c98da6b4f0","urls":["bzz-raw://6d39e11b1dc7b9b8ccdabbc9be442ab7cda4a81c748f57e316dcb1bcb4a28bf9","dweb:/ipfs/QmaG6vz6W6iEUBsbHSBob5mdcitYxWjoygxREHpsJHfWrS"],"license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol":{"keccak256":"0xc163fcf9bb10138631a9ba5564df1fa25db9adff73bd9ee868a8ae1858fe093a","urls":["bzz-raw://9706d43a0124053d9880f6e31a59f31bc0a6a3dc1acd66ce0a16e1111658c5f6","dweb:/ipfs/QmUFmfowzkRwGtDu36cXV9SPTBHJ3n7dG9xQiK5B28jTf2"],"license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol":{"keccak256":"0xdb4d24ee2c087c391d587cd17adfe5b3f9d93b3110b1388c2ab6c7c0ad1dcd05","urls":["bzz-raw://ab7b6d5b9e2b88176312967fe0f0e78f3d9a1422fa5e4b64e2440c35869b5d08","dweb:/ipfs/QmXKYWWyzcLg1B2k7Sb1qkEXgLCYfXecR9wYW5obRzWP1Q"],"license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol":{"keccak256":"0x574a7451e42724f7de29e2855c392a8a5020acd695169466a18459467d719d63","urls":["bzz-raw://5bc189f63b639ee173dd7b6fecc39baf7113bf161776aea22b34c57fdd1872ec","dweb:/ipfs/QmZAf2VtjDLRULqjJkde6LNsxAg12tUqpPqgUQQZbAjgtZ"],"license":"MIT"},"node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol":{"keccak256":"0xdbef5f0c787055227243a7318ef74c8a5a1108ca3a07f2b3a00ef67769e1e397","urls":["bzz-raw://08e39f23d5b4692f9a40803e53a8156b72b4c1f9902a88cd65ba964db103dab9","dweb:/ipfs/QmPKn6EYDgpga7KtpkA8wV2yJCYGMtc9K4LkJfhKX2RVSV"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/IERC1967.sol":{"keccak256":"0xbf2aefe54b76d7f7bcd4f6da1080b7b1662611937d870b880db584d09cea56b5","urls":["bzz-raw://f5e7e2f12e0feec75296e57f51f82fdaa8bd1551f4b8cc6560442c0bf60f818c","dweb:/ipfs/QmcW9wDMaQ8RbQibMarfp17a3bABzY5KraWe2YDwuUrUoz"],"license":"MIT"},"node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol":{"keccak256":"0x82f757819bf2429a0d4db141b99a4bbe5039e4ef86dfb94e2e6d40577ed5b28b","urls":["bzz-raw://37c30ed931e19fb71fdb806bb504cfdb9913b7127545001b64d4487783374422","dweb:/ipfs/QmUBHpv4hm3ZmwJ4GH8BeVzK4mv41Q6vBbWXxn8HExPXza"],"license":"MIT"},"node_modules/@openzeppelin/contracts/proxy/ERC1967/ERC1967Utils.sol":{"keccak256":"0xa1ad192cd45317c788618bef5cb1fb3ca4ce8b230f6433ac68cc1d850fb81618","urls":["bzz-raw://b43447bb85a53679d269a403c693b9d88d6c74177dfb35eddca63abaf7cf110a","dweb:/ipfs/QmXSDmpd4bNZj1PDgegr6C4w1jDaWHXCconC3rYiw9TSkQ"],"license":"MIT"},"node_modules/@openzeppelin/contracts/proxy/beacon/IBeacon.sol":{"keccak256":"0x20462ddb2665e9521372c76b001d0ce196e59dbbd989de9af5576cad0bd5628b","urls":["bzz-raw://f417fd12aeec8fbfaceaa30e3a08a0724c0bc39de363e2acf6773c897abbaf6d","dweb:/ipfs/QmU4Hko6sApdweVM92CsiuLKkCk8HfyBeutF89PCTz5Tye"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Address.sol":{"keccak256":"0x6d0ae6e206645341fd122d278c2cb643dea260c190531f2f3f6a0426e77b00c0","urls":["bzz-raw://032d1201d839435be2c85b72e33206b3ea980c569d6ebf7fa57d811ab580a82f","dweb:/ipfs/QmeqQjAtMvdZT2tG7zm39itcRJkuwu8AEReK6WRnLJ18DD"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/Errors.sol":{"keccak256":"0x6afa713bfd42cf0f7656efa91201007ac465e42049d7de1d50753a373648c123","urls":["bzz-raw://ba1d02f4847670a1b83dec9f7d37f0b0418d6043447b69f3a29a5f9efc547fcf","dweb:/ipfs/QmQ7iH2keLNUKgq2xSWcRmuBE5eZ3F5whYAkAGzCNNoEWB"],"license":"MIT"},"node_modules/@openzeppelin/contracts/utils/StorageSlot.sol":{"keccak256":"0xcf74f855663ce2ae00ed8352666b7935f6cddea2932fdf2c3ecd30a9b1cd0e97","urls":["bzz-raw://9f660b1f351b757dfe01438e59888f31f33ded3afcf5cb5b0d9bf9aa6f320a8b","dweb:/ipfs/QmarDJ5hZEgBtCmmrVzEZWjub9769eD686jmzb2XpSU1cM"],"license":"MIT"}},"version":1},"id":14} |